root/applications/dual/SIDP/SIDPS/motor_sidps/PI_controler.m
@
1305
| Revision 1249, 132 bytes (checked in by zimamiro, 15 years ago) |
|---|
| Line | |
|---|---|
| 1 | function [x system]=PI_controler(eps,system,co) |
| 2 | S=system.S(co); |
| 3 | x=system.P(co)*eps+system.I(co)*(S+eps); |
| 4 | system.S(co)=S+eps; |
| 5 | end |
Note: See TracBrowser
for help on using the browser.
