Hello!
Please help with the answer to the question of the right choice of TI and TD parameters for PID FB41 block.
I have a process model in Matlab-simulink, the PID controller is in Step7, FB41 block. Data communication takes place on the OPC protocol. The output of the PID controller (Step7) enters the object in Matlab, where I see the result of the process to scope.
Рlease help me deal with the electric drive model and the PID controller. I calculated all the parameters of the model, the engine.
I'm using an OPC connection between the matlab (model) and step7 (PID controller FB41)
Please tell me why the process diagrams may differ so much?
Is there something wrong in setting up the PID controller (CONT_C)?
I calculated the PID regulator coefficients like this:
Kp = 4
Ki = 2.5
Kd = 1
The values for the S7 would be:
Gain = Kp = 4
Ti = Kp/Ki = 4/2.5 = 1.6
Td = Kd/Kp = 1/2.5 = 0.25
In the future, I want to speed up the speed regulator's electric drive, improve it to a two-loop model with a speed regulator and current regulator and explore the system.
Screenshots of the block and model settings I showed you below:
Scope 2 - Results, only Matlab (good)
Scope 1 - Results, Matlab - PLCSIM using OPC (wrong)
Thank you for the answer!
Best Regards, Yuri.
Please help with the answer to the question of the right choice of TI and TD parameters for PID FB41 block.
I have a process model in Matlab-simulink, the PID controller is in Step7, FB41 block. Data communication takes place on the OPC protocol. The output of the PID controller (Step7) enters the object in Matlab, where I see the result of the process to scope.
Рlease help me deal with the electric drive model and the PID controller. I calculated all the parameters of the model, the engine.
I'm using an OPC connection between the matlab (model) and step7 (PID controller FB41)
Please tell me why the process diagrams may differ so much?
Is there something wrong in setting up the PID controller (CONT_C)?
I calculated the PID regulator coefficients like this:
Kp = 4
Ki = 2.5
Kd = 1
The values for the S7 would be:
Gain = Kp = 4
Ti = Kp/Ki = 4/2.5 = 1.6
Td = Kd/Kp = 1/2.5 = 0.25
In the future, I want to speed up the speed regulator's electric drive, improve it to a two-loop model with a speed regulator and current regulator and explore the system.
Screenshots of the block and model settings I showed you below:
Scope 2 - Results, only Matlab (good)
Scope 1 - Results, Matlab - PLCSIM using OPC (wrong)
Thank you for the answer!
Best Regards, Yuri.