add noise measurement due to feedback loop
This commit is contained in:
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.
@@ -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
|
||||
@@ -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]');
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user