I've found a Simulink file of quadcopter pid simulation. This is the image of simulink block diagram.
Simulink Block Diagram of Quadcopter Simulation
I have few questions about it.
When I press tune button in P or PI control block, it says plant cannot be linearlized. What does it mean and how can I fix it?
Does P and PI block derivates the input? At the image, the inputs(x,y,z position, phi, theta, psi angle) gets derivated and it goes to other fuction blocks' input. I wanted to make does P and PI blocks into PID blocks but I failed to because of this things.
How can I make those P and PI blocks into PID blocks which can be auto tuned and gives the input( ex) phi, phi_dot, phi_2dot... ) of other function blocks?