parrot miniquadcopter simulink model

2 views (last 30 days)
Hoàng
Hoàng on 31 Oct 2023
Commented: Hoàng on 1 Nov 2023
I am trying to test my new controller for quadcopter using parrot mambo miniquadcopter model in Quadcopter project of matlab/simulink. However when I look at drone parameters in file vehicleVar.m there are some parameters that I dont understand. Can you explain for me the meaning of motor command? is it a physical term such as velocity or thrust? As I know, the thrust command can be trasform to motor velocity command directly, why in this project the thrust command need to be transform to motor command then to velocity.
Thank you very much!

Answers (1)

recent works
recent works on 31 Oct 2023
In the MATLAB/Simulink Quadcopter project with the Parrot Mambo miniquadcopter model, the "motor command" is not a standard physical term like velocity or thrust but is used as an abstraction for the control input to the quadcopter's motors. It represents the control signals sent to each of the quadcopter's motors to control its behavior, typically ranging from 0 to 1.
The reason why the "thrust command" needs to be transformed into "motor command" before being used to control motor velocity is because it provides an intermediate step in the control process. The flight controller calculates the motor commands based on the desired thrust and other factors like desired orientation, stability, and control inputs. These motor commands are then used to adjust the motor speeds to achieve the desired thrust and attitude.
This transformation is necessary because the quadcopter's control system is more complex than a simple linear relationship between thrust and motor velocity. It takes into account various factors like the quadcopter's orientation, the motor dynamics, and the flight controller's control algorithms. The "motor command" values are used to ensure that the quadcopter can achieve stable and controlled flight based on the desired thrust and attitude.
  1 Comment
Hoàng
Hoàng on 1 Nov 2023
So you mean that because of the dynamic of the motor, the thrust command can not be transform directly to velocity command and the motor command works as a delay right?

Sign in to comment.

Categories

Find more on Parrot Minidrones in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!