Using MATLAB simulink and STM32 for PID controller
10 views (last 30 days)
Show older comments
Hi,
I am design PID controller for constant temperature using STM32F4 (Using DSP libnrary). Is it possible to use MATLAB as simulink for my application? If yes, can you point me to some vidoes? My main concern is to check the response of my system and tune my Kp,Kd,Ki constants.
0 Comments
Answers (1)
Anudeep Kumar
on 11 Mar 2025
Hey Rosy,
I recently worked on a similar project, and I found a couple of resources incredibly helpful. There's a video on YouTube that explains how to tune a PID controller in Simulink using the PID Tuner tool. You can check it out here: https://www.youtube.com/watch?v=_CjirdeKxUY.
Additionally, the MATLAB documentation offers a wealth of examples for designing a PID controller tailored to your needs. You can explore those examples here: https://www.mathworks.com/help/slcontrol/examples.html?s_tid=CRUX_topnav&category=cat-scd-pid-controller-tuning.
For STM32 support, MATLAB/Simulink provides examples and documentation specifically for that. Here's the link for more details: https://www.mathworks.com/help/ecoder/stm32-spkg.html
I hope these resources prove to be as useful for you as they were for me!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!