MATLAB based PID controller

버전 1.0.0.0 (2.07 KB) 작성자: Mohammad Saadeh
A very simple and effective way to build a PID controller in a single m.code
다운로드 수: 8.7K
업데이트 날짜: 2012/2/20

라이선스 보기

This code generates a PID controller in MATLAB environment without using any built-in commands or simulink blocks.
Tune this PID by changing the Kp, Ki, Kd, simulation time, or the desired set value.
The uniqueness of this code is that you can replace the two integrators with your model/system. You will find a note at that location in the code.
I used this code instead of Real Time Workshop (RTW) to simulate a system with a hardware-in-the-Loop (HIL), it worked just fine. You need to set your time properly so your system has enough of it to come to rest/settle.

인용 양식

Mohammad Saadeh (2024). MATLAB based PID controller (https://www.mathworks.com/matlabcentral/fileexchange/35163-matlab-based-pid-controller), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0