Design, Build, Test, Iterate

Posts Tagged ‘PD’

Tricopter controlled flight!

Or, the best one-line bug fix ever. For two months, I had been thinking I was running my flight controller at 166 Hz while actually running it at a measly 31 Hz. I don’t want to go into detail about how that happened, but I have fixed the problem, and now it works. I am […]

A better alternative to position PID for multirotor control

Some systems can be controlled with a simple P controller, where a given offset is translated directly to some actuator output. Other systems, like the flight orientation control of micro aerial vehicles (MAVs), may require a damping term on the position to prevent a divergent oscillation of the vehicle’s angular position. However, the D controller […]

Tricopter: working PD control

The I gain is zero for now, but basic attitude control works. In the video, I first change the attitude by slowly moving the joystick back and forth. At around 0:43, I move the joystick faster and let go to see how quickly the tricopter can stabilize. The P and D gains are a bit […]