Tuning of PID controller gains using Signal Constraint in MATLAB/SIMULINK

Описание к видео Tuning of PID controller gains using Signal Constraint in MATLAB/SIMULINK

Tuning of PID controller gains using Signal Constraint
Hello everyone! welcome to Thesis123! learn and teach online

Now I am going to teach you how to tune gains of the PID controller or Multiple controllers i.e, proportional gain Kp, integral gain Ki and Derivative gain Kd. Using 'signal constraint block' in Matlab simulink. Or even simple gain or multiple gains in matlab simulink.

If you like this video, please click on like or visit website thesis123.com for more videos in future

Step 1:
Take any model and connect or build in MATLAB simulink with the help of your required blocks as per the problem.
For example

Step 2: Connect the PID controller or controllers in the model from simulink extras, additional linear block.

then give the names for gains as Kp, Ki and Kd or as you wish or define different names as Kp1 Ki1 Kd1 etc.,

Step 3:
Go to Simulink Response Optimization and take the block signal constraint and connect to the place where you want to optimize your response. if you have more than one response, take multiple signal constraint blocks but define controller gains with different names.

Step 4:
Initialize the gains if you know already or give all values to zero and give range if you know. otherwise it will take -inf to +inf, generally pid controllers gains to be taken from zero.

Step 5: go optimization in signal constraint block and click on tuned parameters and add the gains from workspace which are already defined in the command window or from any file.

Step 6: adjust the exis as per your requirement as explained also reference line... then simulate. you will get the required gains.


All the best,
Thank you for watching this video and dont forget to click 'like'
and visit to website and email us for any queries [email protected]
Tuning of pid controller
Optimization of controllers gains in MATLAB simulink

Комментарии

Информация по комментариям в разработке