![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Kode Taker 2018
Dependencies: mbed PS_PAD encoderKRAI Motor_1 millis
pidTune.m.txt@1:1dc7c9cb4f8c, 2018-07-03 (annotated)
- Committer:
- gatulz
- Date:
- Tue Jul 03 13:52:06 2018 +0000
- Revision:
- 1:1dc7c9cb4f8c
- Parent:
- 0:8c6f29487664
tambah pad lingkaran.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gatulz | 0:8c6f29487664 | 1 | %Definisi sistem dan inisiasi |
gatulz | 0:8c6f29487664 | 2 | s=tf('s'); |
gatulz | 0:8c6f29487664 | 3 | |
gatulz | 0:8c6f29487664 | 4 | %Sistem |
gatulz | 0:8c6f29487664 | 5 | %y(t) = A(1-EXP(-t/T)) -> Y(s) = A(v(s)) |
gatulz | 0:8c6f29487664 | 6 | % https://www.symbolab.com/solver/laplace-calculator |
gatulz | 0:8c6f29487664 | 7 | y=(14/s)-(1260/(90*s+1)) |
gatulz | 0:8c6f29487664 | 8 | x=0.6*(1/s); %pwm*(1/s) |
gatulz | 0:8c6f29487664 | 9 | h=y/x; |
gatulz | 0:8c6f29487664 | 10 | |
gatulz | 0:8c6f29487664 | 11 | pidTuner(h) |