diff --git a/disturbance-measurement/run_test.m b/disturbance-measurement/run_test.m deleted file mode 100644 index 8ce9477..0000000 --- a/disturbance-measurement/run_test.m +++ /dev/null @@ -1,53 +0,0 @@ -%% -Tsim = 100; % [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('disturbance_measurement'); - - %% Run the application - disp('Starting the Application'); - tg.start; - pause(Tsim); - tg.stop; - end -else - error("The target computer is not connected"); -end - -%% -f = SimulinkRealTime.openFTP(tg); -cd(f, 'data/disturbance_measurement/'); -mget(f, 'data_001.dat', 'data'); -close(f); - -data = SimulinkRealTime.utils.getFileScopeData('data/data_001.dat').data; - -%% -n = 17; - -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'); diff --git a/disturbance-measurement/setup.m b/disturbance-measurement/setup.m deleted file mode 100644 index e69de29..0000000 diff --git a/disturbance-ty-sr/index.html b/disturbance-ty-sr/index.html new file mode 100644 index 0000000..5267a16 --- /dev/null +++ b/disturbance-ty-sr/index.html @@ -0,0 +1,452 @@ + + + + + + + +Vibrations induced by simultaneous scans of the translation stage and of the slip-ring + + + + + + + + + + + + + +
+ UP + | + HOME +
+

Vibrations induced by simultaneous scans of the translation stage and of the slip-ring

+
+

Table of Contents

+ +
+ +
+

1 Measurement description

+
+

+Setup: +All the stages are OFF except the translation stage and the Slip-Ring. +

+ +

+Each of the signal is amplified by voltage amplifiers with the following settings: +

+
    +
  • Gain: 40dB
  • +
  • AC/DC option: AC
  • +
  • Low pass filter: 1kHz
  • +
+ +

+The slip-ring is rotating at 60rpm. At the same time, scans with the translation stage are done at 1Hz with an amplitude of 600000cnt (= 3mm). +

+ +

+Two geophones are used to measure the motion in the vertical direction of the marble and of the sample. +

+

+Goal: +

+
    +
  • The goal is to estimate the vibrations induced by the simultaneous scans of the spindle (here the slip-ring is used as the spindle is not fully functional yet) and of the translation stage
  • +
+

+Measurements: +

+ +

+Three measurements are done: +

+ + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + +
Measurement FileDescription
mat/data_050.matSlip-Ring at 1Hz, Ty OFF
mat/data_051.matSlip-Ring at 1Hz, Ty ON (The current and cnt error of Ty is also registered)
mat/data_052.matSlip-Ring at 1Hz, Ty 1Hz 600000cnt
+ +

+Each of the measurement mat file contains one data array with 3 columns: +

+ + + +++ ++ + + + + + + + + + + + + + + + + + + + + + + +
Column numberDescription
1Geophone on the marble
2Geophone at the sample location
3Time
+
+
+ +
+

2 Data Analysis

+
+

+ +

+
+

+All the files (data and Matlab scripts) are accessible here. +

+ +
+
+ +
+

2.1 Load data

+
+
+
ty_off = load('mat/data_050.mat', 'data'); ty_off = ty_off.data;
+ty_on  = load('mat/data_051.mat', 'data'); ty_on  = ty_on.data;
+ty_1hz = load('mat/data_052.mat', 'data'); ty_1hz = ty_1hz.data;
+
+
+
+
+ +
+

2.2 Time domain plots

+
+
+
figure;
+hold on;
+plot(ty_1hz(:, 3), ty_1hz(:, 1), 'DisplayName', 'Marble - Z');
+plot(ty_on(:, 3),  ty_on(:, 1),  'DisplayName', 'Marble - Z');
+plot(ty_off(:, 3), ty_off(:, 1), 'DisplayName', 'Marble - Z');
+hold off;
+xlabel('Time [s]'); ylabel('Voltage [V]');
+xlim([0, 100]); ylim([-5, 5]);
+legend('Location', 'northeast');
+
+
+ +
+
xlim([0, 1]);
+
+
+ +
+
figure;
+hold on;
+plot(ty_1hz(:, 3), ty_1hz(:, 2), 'DisplayName', 'Marble - Z');
+plot(ty_on(:, 3),  ty_on(:, 2),  'DisplayName', 'Marble - Z');
+plot(ty_off(:, 3), ty_off(:, 2), 'DisplayName', 'Marble - Z');
+hold off;
+xlabel('Time [s]'); ylabel('Voltage [V]');
+xlim([0, 100]); ylim([-5, 5]);
+legend('Location', 'northeast');
+
+
+ +
+
xlim([0, 1]);
+
+
+
+
+
+
+
+

Author: Dehaeze Thomas

+

Created: 2019-05-15 mer. 08:38

+

Validate

+
+ + diff --git a/equipment/equipment.html b/equipment/index.html similarity index 87% rename from equipment/equipment.html rename to equipment/index.html index 3368bd5..14ed9c5 100644 --- a/equipment/equipment.html +++ b/equipment/index.html @@ -3,12 +3,12 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Equipment used to make the measurements - + + + + + + + + -
+
+ UP + | + HOME +

Equipment used to make the measurements

-
-

1 Geophone

+
+

1 Geophone

L22 @@ -263,20 +274,21 @@ L22

-
-

2 Speedgoat

+
+

2 Speedgoat

-

-ADC and DAC: -

+
    +
  • ADC: 16bits
  • +
  • DAC: 16bits
  • +
-
-

3 Voltage amplifier

+
+

3 Voltage amplifier

-
+

DLPVA_W_R2.jpg

Figure 1: Picture of the voltage amplifier DLPVA

@@ -297,14 +309,18 @@ ADC and DAC:

-The documentation of the voltage amplifier is accessible here. +The documentation of the voltage amplifier is accessible here. +

+ +

+The exact model is DLPVA-100-B-D

-

Author: Thomas Dehaeze

-

Created: 2019-05-02 jeu. 15:17

+

Author: Dehaeze Thomas

+

Created: 2019-05-15 mer. 08:42

Validate

diff --git a/equipment/equipment.org b/equipment/index.org similarity index 100% rename from equipment/equipment.org rename to equipment/index.org diff --git a/index.html b/index.html index ce7edc7..e586635 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Measurement of the ID31 Micro-Station @@ -254,9 +254,9 @@ for the JavaScript code in this tag.

Table of Contents

@@ -265,8 +265,8 @@ for the JavaScript code in this tag. This web-page gathers all the measurements done on the ID31 Micro Station.

-
-

1 Measurements of the dynamics of the station

+
+

1 Measurements of the dynamics of the station

-
-

2 Measurements of perturbations

+
+

2 Measurements of perturbations

-
-

3 Other

+
+

3 Other

@@ -312,7 +312,7 @@ This web-page gathers all the measurements done on the ID31 Micro Station.

Author: Thomas Dehaeze

-

Created: 2019-05-14 mar. 23:06

+

Created: 2019-05-15 mer. 08:43

Validate

diff --git a/index.org b/index.org index a83f132..219344e 100644 --- a/index.org +++ b/index.org @@ -37,5 +37,5 @@ This web-page gathers all the measurements done on the ID31 Micro Station. - [[file:slip-ring-electrical-noise/index.org][Slip Ring - Noise measurement]] - [[file:static-measurements/index.org][Control System Measurement]] - [[file:actuators-sensors/index.org][Actuators and Sensors]] -- [[file:equipment/equipment.org][Equipment used for the measurements]] +- [[file:equipment/index.org][Equipment used for the measurements]] - [[file:src/index.org][Matlab functions used for the data analysis]] diff --git a/disturbance-measurement/disturbance_measurement.slx b/speedgoat-measurement/disturbance_measurement.slx similarity index 100% rename from disturbance-measurement/disturbance_measurement.slx rename to speedgoat-measurement/disturbance_measurement.slx