Tuned PID motor controller leads to a slow response
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am modelling an Electronic Throttle with the aim of choosing the right sized motor. I have tried to implement a PID control to my motor controller but it is leading to a slower response than expected. When I remove the PID controller and run the motor simply the response it much faster. I have used the tune function on matlab but it is still not as fast as it should be. I have attached the simulink model and some images describing my issue.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/873455/image.png)
My model including the PID control, leads to the follwing response.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/873460/image.png)
Ideally the settling time should be <0.25s for this kind of input
Now the same mechanical model with a simple step input is much much faster in responding
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/873465/image.png)
Its response
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/873470/image.png)
Zoomed in
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/873475/image.png)
You can see the response to 50deg in this case is ~0.1s.
Is there anything I can do? on the PID tuner workspace I get the settling time should be 0.011s. Maybe I should control the brake port on the H bridge controller with a second derative?
Thanks for your help
0 comentarios
Respuestas (1)
Neelanshu
el 6 de Mayo de 2024
Hi IRO,
The response of the model with PID controller is much faster than the one with only step input.
In the case of PID controller rise time, defined as the time the response takes to rise from 10% to 90% of the way from the initial value to the steady-state value, is less than 0.5 sec much lower than rise time, between 1.08 and 1.1 sec, in the case of only step input. Furthermore, the settling time for the case with PID controller, between 1.5 and 2 sec, is far better than the case with only step input block.
You may refer to the following documentation to learn more about rise time and settling time:
Hope this helps
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!