Compute sensor/actuator constants

This commit is contained in:
tdehaeze committed 2021-06-07 18:43:31 +02:00
1 parent fe52c24729
commit e051f58428
52 files changed
+12501 -1194

No files matched your search

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

+4 -26
View File
@@ -27,7 +27,7 @@ V_noise = generateShapedNoise('Ts', 1/Fs, ...
%% Sweep Sine
gc = 0.1;
xi = 0.5;
wn = 2*pi*92.7;
wn = 2*pi*94.3;
% Notch filter at the resonance of the APA
G_sweep = 0.2*(s^2 + 2*gc*xi*wn*s + wn^2)/(s^2 + 2*xi*wn*s + wn^2);
@@ -41,15 +41,6 @@ V_sweep = generateSweepExc('Ts', Ts, ...
'sweep_type', 'log', ...
'V_exc', G_sweep*1/(1 + s/2/pi/500));
V_sweep_lf = generateSweepExc('Ts', Ts, ...
'f_start', 0.1, ...
'f_end', 10, ...
'V_mean', 3.25, ...
't_start', Trec_start, ...
'exc_duration', Trec_dur, ...
'sweep_type', 'log', ...
'V_exc', 0.2);
%% High Frequency Shaped Noise
[b,a] = cheby1(10, 2, 2*pi*[300 2e3], 'bandpass', 's');
wL = 0.005*tf(b, a);
@@ -70,19 +61,6 @@ V_sin = generateSinIncreasingAmpl('Ts', 1/Fs, ...
't_start', Trec_start, ...
'smooth_ends', true);
%% Zero Excitation
% Trec_start = 10; % Start time for Recording [s]
% Trec_dur = 40; % Recording Duration [s]
%
% Tsim = 2*Trec_start + Trec_dur; % Simulation Time [s]
V_zero = generateShapedNoise('Ts', 1/Fs, ...
'V_mean', 3.25, ...
't_start', Trec_start, ...
'exc_duration', Trec_dur, ...
'smooth_ends', true, ...
'V_exc', tf(0));
%% Select the excitation signal
V_exc = timeseries(V_noise(2,:), V_noise(1,:));
@@ -91,12 +69,12 @@ figure;
tiledlayout(1, 2, 'TileSpacing', 'Normal', 'Padding', 'None');
ax1 = nexttile;
plot(V_exc.Time, squeeze(V_exc.Data));
plot(V_exc(1,:), V_exc(2,:));
xlabel('Time [s]'); ylabel('Amplitude [V]');
ax2 = nexttile;
win = hanning(floor(length(squeeze(V_exc.Data))/8));
[pxx, f] = pwelch(squeeze(V_exc.Data), win, 0, [], Fs);
win = hanning(floor(length(V_exc)/8));
[pxx, f] = pwelch(V_exc(2,:), win, 0, [], Fs);
plot(f, pxx)
xlabel('Frequency [Hz]'); ylabel('Power Spectral Density [$V^2/Hz$]');
set(gca, 'xscale', 'log'); set(gca, 'yscale', 'log');
File renamed without changes.
Internal Server Error - Gitea
500 Internal Server Error

An error occurred:

An error occurred

Gitea Version: 28.1.0