add noise measurement due to feedback loop

This commit is contained in:
tdehaeze committed 2019-04-30 15:40:20 +02:00
1 parent eb51305100
commit d2c2c45d1c
13 files changed
+101

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
tg = slrt;
%% TODO - Build this application if updated
%%
if tg.Connected == "Yes"
if tg.Status == "running"
disp('Target is Running, Stopping...');
tg.stop;
while tg.Status == "running"
pause(1);
end
disp('Target is Stopped');
end
if tg.Status == "stopped"
disp('Load the Application');
tg.load('measure_channels');
%% Run the application
disp('Starting the Application');
tg.start;
slrtexplr;
end
end
+56
View File
@@ -0,0 +1,56 @@
%%
Tsim = 50; % [s]
%%
tg = slrt;
%% TODO - Build this application if updated
%%
if tg.Connected == "Yes"
if tg.Status == "running"
disp('Target is Running, Stopping...');
tg.stop;
while tg.Status == "running"
pause(1);
end
disp('Target is Stopped');
end
if tg.Status == "stopped"
disp('Load the Application');
tg.load('measure_channels');
%% Run the application
disp('Starting the Application');
tg.start;
pause(Tsim);
tg.stop;
end
end
%%
f = SimulinkRealTime.openFTP(tg);
cd(f, 'data/measure_channels/');
mget(f, 'data_001.dat', 'data');
close(f);
%%
data = SimulinkRealTime.utils.getFileScopeData('data/data_001.dat').data;
%%
n = 009;
if isfile(['mat/data_', num2str(n, '%03d'), '.mat'])
disp('File exists.');
else
save(['mat/data_', num2str(n, '%03d'), '.mat'], 'data');
end
%%
% figure;
% hold on;
% plot(t, x1);
% plot(t, x2);
% hold off
% xlabel('Time [s]');
% ylabel('Voltage [V]');
+21
View File
@@ -0,0 +1,21 @@
Contains usefull scripts and simulink files for the SpeedGoat.
Signal of top hexapod goes through Slip-Ring
Effect of control of each stage:
| Ty on | data_001 |
| Ty off | data_002 |
* Measurement when signal from top geophone does not go trought the slip-ring
| Ty | Ry | Slip Ring | Spindle | Hexapod | Meas. |
| X | X | X | X | X | 003 |
| | X | X | X | X | 004 |
| | | X | X | X | 005 |
| | | | X | X | 006 |
| | | | | X | 007 |
| | | | | | 008 |
Meas009: everything off with signal goes through the slip-ring