Design a Yaw Controller for a Toy Quad-Copter

  • Thread starter Thread starter stosw
  • Start date Start date
  • Tags Tags
    Controller
AI Thread Summary
A user is developing a yaw controller for a programmable toy quad-copter to navigate to specified coordinates. They are currently calculating the necessary turning angle using the starting and destination points, which works well for stationary targets. However, the quad-copter struggles to maintain its position while rotating, complicating the yaw control. The discussion emphasizes the interdependence of roll, pitch, and yaw, noting that they should not be considered in isolation. A referenced paper provides insights on tuning the control loops for better performance.
stosw
Messages
19
Reaction score
0
I've been currently playing around with a toy quad-copter that you can write your own programs for and was attempting to make it go to a set of coordinates that are specified. I was wondering if someone could help me design a controller for the yaw component.

I am currently calculating the angle needed to turn by take the two points, starting and destination, and using a triangle to find the angle. This works great for a stationary object and turns to the desired angle. The problem comes from the toy not staying directly in place while rotating.

Any input would be greatly appreciated.
 
Engineering news on Phys.org
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Back
Top