Forgive my absence, Just come back from work. My parts have arrived and ill be able to accurately determine the rotor RPM and hence the torque.
The Gyro and Acc will measure the angular velocity and position, they're both already calibrated and have been determined as accurate. this is what will be fed back into the system.
I believe that is sufficient for my design (correct me if I'm wrong.).
OK, so my interpretation of this is that there are 4 independent inputs that you can control. There will be various conversions you will implement in software to convert various parameters and system controls into the equivalent inputs of the mathematical model. The inputs to the mathematical model are u, Tψ, Tθ and Tβ.
The Gyro and Acc will measure the angular velocity and position, they're both already calibrated and have been determined as accurate. this is what will be fed back into the system.
I believe that is sufficient for my design (correct me if I'm wrong.).
Each motor is treated as a separate input which is what allows for the attitudes of ψ, θ and β (pitch, yaw and roll) to be achieved, These inputs are sent from a microcontroller via PWM. Therefore the average voltage seen in the motors (duty cycle) is what will determine how fast the motors spin, so I believe I may be right in saying that the input to the system is Velocity of each motor.
However the assumption being made is that Torque is the square of the angular velocity, which is why it is being used in these equations.
Each motor is treated as a separate input which is what allows for the attitudes of ψ, θ and β (pitch, yaw and roll) to be achieved, These inputs are sent from a microcontroller via PWM. Therefore the average voltage seen in the motors (duty cycle) is what will determine how fast the motors spin, so I believe I may be right in saying that the input to the system is Velocity of each motor.
However the assumption being made is that Torque is the square of the angular velocity, which is why it is being used in these equations. This is also the reason that I am building the tachometer so that i can graph the angular velocity at different PWM inputs. However after tinkering for two days, and having tested in a known good circuit. I realise that i have been delivered faulty transistors.
This all sounds reasonable. I would probably proceed in a similar way. Sometimes it is difficult to visualize and foresee everything with a complex control problem like this. However, as you dive into it, everything will become clearer. The equations tell you what you need to know and as you become more familiar and comfortable with the equations you will begin to visualize better. Then, the Matlab modeling will teach you even more things that may not have been obvious to you from the equations.I have definitely been unclear, and you are correct in your assumption. My aim is not to control the position of the vehicle along the x,y and z axis. When i said angular velocity and position. I should have said angular velocity and angular position.
Initially I want to be able to achieve stable flight within particular angular limits and return to a steady hover/ assent/ decent on command. Accurate measurement of angular position would allow me to through an integration of the gyroscopic data. In this instance monitoring angular velocity itself is advantageous because it will allow the software to determine whether the craft is out of control i.e in the instance of a motor fault at altitude (or just poor pilot control) resulting in a wild spinning free fall.
I will also be using the accelerometer data to determine the speed of the craft, probably for user display or data logging at this stage. At a later stage I (once im more comfortable with the theory) I will attempt to use this data to aid control of the x,y,z positions.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?