![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Buat agip
Dependencies: Motor_1 encoderKRAI mbed millis
Fork of Robo_Taker_Nasional_2018 by
pidTune.m.txt@12:9f56ff893897, 2018-05-26 (annotated)
- Committer:
- MarchioKevin
- Date:
- Sat May 26 08:19:01 2018 +0000
- Revision:
- 12:9f56ff893897
- Parent:
- 0:22acd37ed695
Waini;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Fathoni17 | 0:22acd37ed695 | 1 | %Definisi sistem dan inisiasi |
Fathoni17 | 0:22acd37ed695 | 2 | s=tf('s'); |
Fathoni17 | 0:22acd37ed695 | 3 | |
Fathoni17 | 0:22acd37ed695 | 4 | %Sistem |
Fathoni17 | 0:22acd37ed695 | 5 | %y(t) = A(1-EXP(-t/T)) -> Y(s) = A(v(s)) |
Fathoni17 | 0:22acd37ed695 | 6 | % https://www.symbolab.com/solver/laplace-calculator |
Fathoni17 | 0:22acd37ed695 | 7 | y=(14/s)-(1260/(90*s+1)) |
Fathoni17 | 0:22acd37ed695 | 8 | x=0.6*(1/s); %pwm*(1/s) |
Fathoni17 | 0:22acd37ed695 | 9 | h=y/x; |
Fathoni17 | 0:22acd37ed695 | 10 | |
Fathoni17 | 0:22acd37ed695 | 11 | pidTuner(h) |