root/applications/dual/SIDP/SIDPS/motor_sidps/PI_controler.asv
@
1264
Revision 1249, 121 bytes (checked in by zimamiro, 14 years ago) |
---|
Line | |
---|---|
1 | function x=PI_controler(eps,system,co) |
2 | switch(co) |
3 | case 'i_q' |
4 | S=system.S; |
5 | x=P*eps+I*(S+eps); |
6 | system.S=S+eps; |
7 | end |
Note: See TracBrowser
for help on using the browser.