step_pid

Simulation of a PID controlled system for a reference step input.
149.0 次下载
更新时间 2021/5/31

View step_pid on File Exchange

step_pid

Simulation of a PID controlled system for a reference step input. Input arguments are process dynamics and PID parameters. Output parameters are step response data and state trajectories.

This function is an extension of the conventional step function designed to simulate closed loop systems. Process dynamics defined using function handle, state space model and transfer function are accepted. The controlled variable must be the first state.

Syntax

[y,x] = step_pid(sys,t,Kp,Ki,Kd,N,R)

[y,x] = step_pid(sys,t,Kp,Ki,Kd,N,R,S)

Input Arguments:

sys - Function handle, state space of transfer function.

t - time vector

Kp, Ki, Kd - Controller gains

N - Derivative filter coefficient

R - Step amplitude

S - Number of state variables (Only for sys=function handle)

Output Arguments:

y - Step response data

x - State trajectories

Logo

Model

引用格式

André de Souza Mendes (2024). step_pid (https://github.com/andresmendes/step_pid/releases/tag/1.0.3), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.3

See release notes for this release on GitHub: https://github.com/andresmendes/step_pid/releases/tag/1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/andresmendes/step_pid/releases/tag/1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/andresmendes/step_pid/releases/tag/1.0.1

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库