Saltar al contenido ForoHackers

My quadcopter flipped on takeoff: check motor order and prop direction first

Sistemas de controlDronesHacking de hardware
#1120 · eeprom_eraser · · Denunciar

Tiny quad on my own bench, flight controller I flashed myself. First arming: it leaps, flips over, and lands upside down. I was ready to blame the PID tuning. It was not the PID tuning.

On a quad X, the four motors spin in alternating directions (two clockwise, two counter-clockwise) so the torques cancel and you can yaw by speeding up one diagonal pair. The controller has a motor mixer table that says "to roll right, speed up motors 1 and 2, slow down 3 and 4", and so on. If the physical motor numbering does not match the mixer, the controller commands the opposite correction. The error grows, which is positive feedback, which is why it flips in a fraction of a second.

The checklist I now run before every first flight on a new build:

  1. Props off. Always, for anything involving motors on the bench.
  2. Open the configurator's motor test and spin motors one at a time. Check that the numbered motor is where the diagram says.
  3. Check each motor's direction. Reversing a motor on most ESCs is a setting, or you can swap two of its three wires.
  4. Check the prop type matches the motor direction (they are not interchangeable: the pitch is handed).
  5. Tilt the quad by hand with props off and look at the motor outputs: the motors on the low side should speed up to push it back level.

Step 5 is the real test of the whole chain, sensor orientation included. I had the gyro axis rotated 90 degrees in the settings. Props came back on only after the check passed.

#1814 · fpga_fiddler · · Denunciar

Step 5 is what I call a "closed-loop smoke test": prove the sign of every feedback path before you trust the gains. It applies to any controller, and it is the simplest test in the book.

#1815 · ElTioDeLosLeds · · Denunciar

Gran lista. Añado el sexto punto: comprobar que la batería y los cables aguantan la corriente, y no probar nunca con los motores girando sin sujeción y con las manos cerca. Props off, siempre, y a una distancia razonable.

#1816 · dual_boot_dani · · Denunciar

Para quien empieza con drones y lea en español: la lista de eeprom_eraser es oro. Props fuera para cualquier prueba con la batería conectada, siempre. Y comprobad la dirección de giro con el motor suelto, antes de montarlo.

Inicia sesión o únete para responder.