190 likes | 432 Views
Simulation of the 2-dof Helicopter. Maryam Alizadeh May 25 th 2011. Contents:. Why the simulation is needed? How is it implemented? More details about blocks Future works. Why the simulation is needed?. Testing different approaches to find the best solution is necessary.
E N D
Simulation of the 2-dof Helicopter MaryamAlizadeh May 25th 2011
Contents: • Why the simulation is needed? • How is it implemented? • More details about blocks • Future works
Why the simulation is needed? Testing different approaches to find the best solution is necessary. Advantages of simulation: • Decreasing the numbers of test with the real system • Time and Cost effectiveness
Real System Block Diagram Ball position in the Image << Θinc,Ψinc Image Processing Angles Calculation LQR Controller Voltages Model Helicopter & Attached Camera New Image and information
Challenges • Dealing with different coordinate systems Camera frame and World Frame • Multi-rates blocks (1 ms for controller part and 100 ms for image processing part) The solution is rate transition blocks
Simulation block Diagram Camera Projection Model Θinc,Ψinc Xp , Yp Helicopter Model Plant Controller Ball Position in World Frame Desired Point (120,160) Helicopter & Camera position
Camera Projection Model Camera Projection Model Θinc,Ψinc Xp , Yp Helicopter Model Plant Controller Ball Position in World Frame Desired Point (120,160) Helicopter & Camera position
Camera Projection Model ΘΨ Xp , Yp Ball position in the image
Helicopter Model Camera Projection Model Θinc,Ψinc Xp , Yp Helicopter Model Plant Controller Ball Position in World Frame Desired Point (120,160) Helicopter & Camera position
Helicopter Model M ECG Modeling Helicopter Model PD Controller Quintic Polynomial Trajectory Planning
Helicopter Model Θinc,Ψinc Xp , Yp Ball position in the image
Controller & Plant Camera Projection Model Θinc,Ψinc Xp , Yp Helicopter Model Plant Controller Camera Projection Model Ball Position in World Frame Desired Point (120,160) Helicopter & Camera position
Controller & Plant Θinc,Ψinc
Future work • Working on the other parts of Helicopter model (PD Controller & Trajectory Planning) • Modification in Projection Model to get the best results
The only part which is in common with real model is LQR Controller, so we need to model them in simulation • In this regard we need a coordinate system which be able to define ball position either in world or regarding to camera position • In simulation, we just know the initia; position of the ball