- added abstarct PID APid
- added PidFactory - use variable args for factory
This commit is contained in:
@@ -26,11 +26,27 @@
|
||||
function retval = results()
|
||||
|
||||
load brewpi.mat
|
||||
|
||||
close all;
|
||||
|
||||
figure(1)
|
||||
|
||||
set(0, "defaultlinelinewidth", 1.5);
|
||||
subplot(3,1,1)
|
||||
plot(time, tc_temp_soll, time, tc_temp_ist); grid
|
||||
legend("Temp_{soll}","Temp_{ist}")
|
||||
subplot(3,1,2)
|
||||
plot(time, tc_temp_ist-tc_temp_soll, "ro"); grid
|
||||
legend("Temp_{ist} - dTemp_{soll}")
|
||||
subplot(3,1,3)
|
||||
plot(time, heater_power); grid
|
||||
legend("Power_{Heater}")
|
||||
|
||||
figure(2)
|
||||
subplot(3,1,1)
|
||||
plot(time, tc_temp_soll, time, tc_temp_ist); grid
|
||||
legend("Temp_{soll}","Temp_{ist}")
|
||||
subplot(3,1,2)
|
||||
plot(time, tc_dtemp_soll, time, tc_dtemp_ist, time, tc_dtemp_commanded); grid
|
||||
legend("dTemp_{soll}","dTemp_{ist}","dTemp_{cmd}")
|
||||
subplot(3,1,3)
|
||||
|
||||
Reference in New Issue
Block a user