cnpcshangbo / simscapeFOPD

Simscape drone altitude control with fractional order proportional derivate controller
Other
12 stars 5 forks source link

How to run the Simulation to get a speed loop performance curve? #2

Open cnpcshangbo opened 6 years ago

cnpcshangbo commented 6 years ago

As title.

cnpcshangbo commented 6 years ago

To run the simulation, we need to

When running with an IOPID controller, you just need to do those steps above. If you are running with an FOPD controller, you'll get and error saying that some parameters have not been defined. Then you'll need to run a script that has definition of those variables.

cnpcshangbo commented 6 years ago

speed performance curve and itae

cnpcshangbo commented 6 years ago

The motors haven't get saturated. Motor saturation 4. motor

cnpcshangbo commented 6 years ago

I've got the speed loop curve better by increasing speed integrator. speed improved My question is whether this will help improve the altitude control performance for both FOPD and IOPID. Before re-tuning the position loop, I'll need to make sure the speed loop is the best and controller output is getting saturated.

cnpcshangbo commented 6 years ago

Then I increased P in speed controller. image