lot of measurements
This commit is contained in:
parent
f7b4a29c96
commit
c56271c261
@ -75,3 +75,7 @@ Then, the =f= object can be used to access the filesystem on the target computer
|
|||||||
| rename | | |
|
| rename | | |
|
||||||
| rmdir | | |
|
| rmdir | | |
|
||||||
| close | | |
|
| close | | |
|
||||||
|
|
||||||
|
|
||||||
|
* ELMO
|
||||||
|
tutorials: https://www.elmomc.com/products/application-studio/easii/easii-tutorials/
|
||||||
|
BIN
slip-ring-test/mat/data_003.mat
Normal file
BIN
slip-ring-test/mat/data_003.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_004.mat
Normal file
BIN
slip-ring-test/mat/data_004.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_005.mat
Normal file
BIN
slip-ring-test/mat/data_005.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_006.mat
Normal file
BIN
slip-ring-test/mat/data_006.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_007.mat
Normal file
BIN
slip-ring-test/mat/data_007.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_008.mat
Normal file
BIN
slip-ring-test/mat/data_008.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_009.mat
Normal file
BIN
slip-ring-test/mat/data_009.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_010.mat
Normal file
BIN
slip-ring-test/mat/data_010.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_011.mat
Normal file
BIN
slip-ring-test/mat/data_011.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_012.mat
Normal file
BIN
slip-ring-test/mat/data_012.mat
Normal file
Binary file not shown.
BIN
slip-ring-test/mat/data_013.mat
Normal file
BIN
slip-ring-test/mat/data_013.mat
Normal file
Binary file not shown.
62
slip-ring-test/readme.org
Normal file
62
slip-ring-test/readme.org
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
* Measure of the noise of the Voltage Amplifier
|
||||||
|
- The two inputs (differential) of the voltage amplifier are shunted with 50Ohms
|
||||||
|
- The AC/DC option of the Voltage amplifier is on AC
|
||||||
|
- The low pass filter is set to 1hHz
|
||||||
|
|
||||||
|
Measure: Second Column
|
||||||
|
|
||||||
|
meas3: Ampli OFF
|
||||||
|
meas4: Ampli ON 20dB
|
||||||
|
meas5: Ampli ON 40dB
|
||||||
|
meas6: Ampli ON 60dB
|
||||||
|
meas7: Ampli ON 80dB
|
||||||
|
|
||||||
|
* Measure of the noise induced by the Slip-Ring
|
||||||
|
Setup:
|
||||||
|
- 0V is generated by the DAC of the Speedgoat
|
||||||
|
- Using a T, one part goes to ADC
|
||||||
|
- the other part goes to the slip-ring 2 times and then to the ADC
|
||||||
|
- Gain of the Voltage Amplifier: 80dB, AC, 1kHz
|
||||||
|
- Everything is OFF
|
||||||
|
|
||||||
|
We had some diffuculties to not have a lot of noise on the measurement.
|
||||||
|
|
||||||
|
First column: Direct measure
|
||||||
|
Second column: Slip-ring measure
|
||||||
|
|
||||||
|
Measurements:
|
||||||
|
- meas8: Slip-Ring OFF
|
||||||
|
- meas9: Slip-Ring ON
|
||||||
|
- meas10: Slip-Ring ON and omega=6rpm
|
||||||
|
- meas11: Slip-Ring ON and omega=60rpm
|
||||||
|
|
||||||
|
* Measure of the noise induced by the slip ring when using a geophone
|
||||||
|
|
||||||
|
The geophone is located at the sample location
|
||||||
|
The two Voltage amplifiers have the following settings:
|
||||||
|
- AC
|
||||||
|
- 60dB
|
||||||
|
- 1kHz
|
||||||
|
|
||||||
|
The signal from the geophone is split into two using a T-BNC.
|
||||||
|
On part goes directly to the voltage amplifier and then to the ADC.
|
||||||
|
The other part goes to the slip-ring=>voltage amplifier=>ADC.
|
||||||
|
|
||||||
|
The other two cables that go through the slip ring have 50Ohms resistors at one end, the other end is open circuit.
|
||||||
|
|
||||||
|
|
||||||
|
First column: Direct measure
|
||||||
|
Second column: Slip-ring measure
|
||||||
|
|
||||||
|
- meas12: Slip-Ring OFF
|
||||||
|
- meas13: Slip-Ring ON
|
||||||
|
|
||||||
|
* Measure of the influence of the AC/DC option on the voltage amplifiers
|
||||||
|
|
||||||
|
One geophone is located on the marble.
|
||||||
|
It's signal goes to two voltage amplifiers with a gain of 60dB.
|
||||||
|
On voltage amplifier is on the AC option, the other on the DC option.
|
||||||
|
|
||||||
|
- meas14
|
||||||
|
|
||||||
|
|
@ -1,49 +1,52 @@
|
|||||||
|
%%
|
||||||
|
Tsim = 100; % [s]
|
||||||
|
|
||||||
|
%%
|
||||||
tg = slrt;
|
tg = slrt;
|
||||||
|
|
||||||
%% TODO - Build this application if updated
|
%% TODO - Build this application if updated
|
||||||
|
|
||||||
%%
|
%%
|
||||||
if tg.Connected == "Yes"
|
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"
|
if tg.Status == "stopped"
|
||||||
%% Load the application
|
disp('Load the Application');
|
||||||
tg.load('slip_ring_test');
|
tg.load('slip_ring_test');
|
||||||
|
|
||||||
%% Run the application
|
%% Run the application
|
||||||
|
disp('Starting the Application');
|
||||||
tg.start;
|
tg.start;
|
||||||
pause(10);
|
pause(Tsim);
|
||||||
tg.stop;
|
tg.stop;
|
||||||
|
|
||||||
%% Load the data
|
|
||||||
f = SimulinkRealTime.openFTP(tg);
|
|
||||||
cd(f, 'data/slip_ring_test/');
|
|
||||||
mget(f, 'data_001.dat', 'data');
|
|
||||||
close(f);
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
data = SimulinkRealTime.utils.getFileScopeData('data/data_001.dat').data;
|
%%
|
||||||
|
f = SimulinkRealTime.openFTP(tg);
|
||||||
size(data)
|
cd(f, 'data/slip_ring_test/');
|
||||||
|
mget(f, 'data_001.dat', 'data');
|
||||||
t = data(:, end);
|
close(f);
|
||||||
x1 = data(:, 1);
|
|
||||||
x2 = data(:, 2);
|
|
||||||
|
|
||||||
save('mat/data_002.mat', 't', 'x1', 'x2');
|
|
||||||
|
|
||||||
%% Plot the data
|
|
||||||
figure;
|
|
||||||
hold on;
|
|
||||||
plot(t, x1);
|
|
||||||
plot(t, x2);
|
|
||||||
hold off
|
|
||||||
xlabel('Time [s]');
|
|
||||||
ylabel('Voltage [V]');
|
|
||||||
|
|
||||||
%%
|
%%
|
||||||
figure;
|
data = SimulinkRealTime.utils.getFileScopeData('data/data_001.dat').data;
|
||||||
hold on;
|
|
||||||
plot(t, x1-x2);
|
%%
|
||||||
hold off
|
n = 13;
|
||||||
xlabel('Time [s]');
|
|
||||||
ylabel('Voltage [V]');
|
while isfile(['mat/data_', num2str(n, '%03d'), '.mat'])
|
||||||
|
disp('File exists.');
|
||||||
|
if input(['Are you sure you want to override the file ', 'mat/data_', ...
|
||||||
|
num2str(n, '%03d'), '.mat', ' ? [Y/n]']) == 'Y'
|
||||||
|
break;
|
||||||
|
end
|
||||||
|
n = input('What should be the measurement number?');
|
||||||
|
end
|
||||||
|
|
||||||
|
save(['mat/data_', num2str(n, '%03d'), '.mat'], 'data');
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
Ts = 1e-3; % [s]
|
|
||||||
|
|
||||||
%%
|
%%
|
||||||
% tg = slrt;
|
% tg = slrt;
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user