How to generate first value for Kp, Ki of PID in current controller
Show older comments
How to generate first value for Kp, Ki of PID for Id,Iq in current controller.Now I put random values for initial kp,ki values.For Example ,For Many projects ,I put kp =1,Ki = 10.After that ,I have to tune using auto tuning method.So,Do you have any method or formula for generate initial value for Kp,Ki of PID in current controller.
2 Comments
Sam Chak
on 6 Jul 2023
Can you show the mathematical model of the plant or system?
The initial values for the control gains can be generated when the nominal model is available.
How you want to tune them later to fit the control objectives is another story.
Aquatris
on 22 Jul 2023
This depends on a lot of things. However if you know nothing about the system, there is no way to do this. You can try to follow certain PID tuning methods (ziegler nichols is the most popular for simple systems) but then you need to know the order of magnitude of your gains regardsless.
Accepted Answer
More Answers (1)
MathWorks Motor Control Blockset Team
on 2 Apr 2025
1 vote
Communities
More Answers in the Power Electronics Control
Categories
Find more on Real-Time PID Autotuning 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!