Test runs

This commit is contained in:
2025-12-03 20:43:55 +01:00
parent 5dcb617991
commit ad33d47794
5 changed files with 3069 additions and 12 deletions

BIN
001rec.bin Normal file

Binary file not shown.

3037
001rec_ADC_data.csv Normal file

File diff suppressed because it is too large Load Diff

23
001rec_SI.csv Normal file
View File

@@ -0,0 +1,23 @@
3601,PING
314696,PING
397567,SET_ST_SPEED
428427,PING
509624,START_STREAM
878205,ARM
878207,ENTER_ARM
895800,STATIC_FIRE3
895800,EXIT_ARM
895803,ENTER_STATIC_FIRE
900817,NITROGEN_OPEN_FULL
905320,ETHANOL_OPEN
905627,LOX_OPEN
907331,ETHANOL_OPEN_FULL
907337,LOX_OPEN_FULL
911840,ETHANOL_FULL_CLOSED
911840,LOX_FULL_CLOSED
917347,ETHANOL_DRAIN_OPEN
917349,LOX_DRAIN_OPEN
919351,NITROGEN_FULL_CLOSED
920111,EXIT_STATIC_FIRE
949806,STOP_STREAM
1553500,START_USB
1 3601 PING
2 314696 PING
3 397567 SET_ST_SPEED
4 428427 PING
5 509624 START_STREAM
6 878205 ARM
7 878207 ENTER_ARM
8 895800 STATIC_FIRE3
9 895800 EXIT_ARM
10 895803 ENTER_STATIC_FIRE
11 900817 NITROGEN_OPEN_FULL
12 905320 ETHANOL_OPEN
13 905627 LOX_OPEN
14 907331 ETHANOL_OPEN_FULL
15 907337 LOX_OPEN_FULL
16 911840 ETHANOL_FULL_CLOSED
17 911840 LOX_FULL_CLOSED
18 917347 ETHANOL_DRAIN_OPEN
19 917349 LOX_DRAIN_OPEN
20 919351 NITROGEN_FULL_CLOSED
21 920111 EXIT_STATIC_FIRE
22 949806 STOP_STREAM
23 1553500 START_USB

5
run1.m
View File

@@ -1,6 +1,6 @@
close all close all
result = readmatrix("SaveData/2025_12_03_16_23_RUN1_ADC.csv"); result = readmatrix("001rec_ADC_data.csv");
%result = result(14430:end, : ); %result = result(14430:end, : );
result(:,14) = result(:,14)./2; result(:,14) = result(:,14)./2;
time = result(:,1); time = result(:,1);
@@ -17,7 +17,6 @@ scatter(time,weight,10)
title("load cell in Kg") title("load cell in Kg")
xlabel("Time in ms") xlabel("Time in ms")
ylabel("KG") ylabel("KG")
xlim([1101179 1134450+5000])
for x = 1:7 for x = 1:7
figure() figure()
@@ -25,7 +24,6 @@ for x = 1:7
title(sprintf("Pressure channel %d",x)) title(sprintf("Pressure channel %d",x))
xlabel("Time in ms") xlabel("Time in ms")
ylabel("Pressure") ylabel("Pressure")
xlim([1101179 1134450+5000])
end end
for x = 1:6 for x = 1:6
@@ -34,5 +32,4 @@ for x = 1:6
title(sprintf("temperature channel %d",x)) title(sprintf("temperature channel %d",x))
xlabel("Time in ms") xlabel("Time in ms")
ylabel("Temprature in C") ylabel("Temprature in C")
xlim([1101179 1134450+5000])
end end

16
run2.m
View File

@@ -1,9 +1,9 @@
close all close all
result = readmatrix("SaveData/2025_12_03_13_26_COLD_FIRE_ADC.csv"); result = readmatrix("SaveData/2025_12_03_17_40_RUN2_ADC.csv");
%result = result(14430:end, : ); %result = result(14430:end, : );
result(:,14) = result(:,14)./2; result(:,14) = result(:,14)./2;
time = result(:,1); time = result(:,1)./1000;
temp = 0.000111 .* result(:,4:9) + 2.31991; temp = 0.000111 .* result(:,4:9) + 2.31991;
@@ -15,24 +15,24 @@ weight = -1.166759307845543e-04 .* 0.5.*(load_cell(:,1) + load_cell(:,2)) + 4.97
figure() figure()
scatter(time,weight,10) scatter(time,weight,10)
title("load cell in Kg") title("load cell in Kg")
xlabel("Time in ms") xlabel("Time in s")
ylabel("KG") ylabel("KG")
xlim([1038760 1082100+5000]) xlim([878.207 920.111+5.000])
for x = 1:7 for x = 1:7
figure() figure()
scatter(time,pressure(:,x),10) scatter(time,pressure(:,x),10)
title(sprintf("Pressure channel %d",x)) title(sprintf("Pressure channel %d",x))
xlabel("Time in ms") xlabel("Time in s")
ylabel("Pressure") ylabel("Pressure")
xlim([1038760 1082100+5000]) xlim([878.207 920.111+5.000])
end end
for x = 1:6 for x = 1:6
figure() figure()
scatter(time,temp(:,x),10) scatter(time,temp(:,x),10)
title(sprintf("temperature channel %d",x)) title(sprintf("temperature channel %d",x))
xlabel("Time in ms") xlabel("Time in s")
ylabel("Temprature in C") ylabel("Temprature in C")
xlim([1038760 1082100+5000]) xlim([878.207 920.111+5.000])
end end