Oscilloscope VI and pid simulator
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
#define WIFI_SSID "SSID"
|
#define WIFI_SSID "SSID"
|
||||||
#define WIFI_PSK "secret"
|
#define WIFI_PSK "secret"
|
||||||
BIN
Code/Oscilloscope.vi
Normal file
BIN
Code/Oscilloscope.vi
Normal file
Binary file not shown.
20
Documentation/pidTuner/simulator.m
Normal file
20
Documentation/pidTuner/simulator.m
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
close all; clc;
|
||||||
|
|
||||||
|
kp = 0.0017198;
|
||||||
|
ki = 0.04662;
|
||||||
|
kd = 0;
|
||||||
|
|
||||||
|
s = tf('s');
|
||||||
|
|
||||||
|
PID = kp + ki/s + kd*s;
|
||||||
|
G = 1108.7/(1+0.073597*s);
|
||||||
|
|
||||||
|
SYS = feedback(series(PID, G), 1);
|
||||||
|
|
||||||
|
opt = stepDataOptions;
|
||||||
|
opt.StepAmplitude = 500;
|
||||||
|
|
||||||
|
step(SYS, opt);
|
||||||
|
t = [0.005:0.01:0.295];
|
||||||
|
hold on;
|
||||||
|
plot(t, output03);
|
||||||
BIN
LabVIEW Data.zip
Normal file
BIN
LabVIEW Data.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user