How can I compute envelope for three phase current?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rajeev Kumar
am 24 Sep. 2022
Bearbeitet: Rajeev Kumar
am 26 Sep. 2022
I stuck in a very small step i.e. the envelope identification of three phase current signal. In matlab when I used the predefined envelope function, it computed the three individual envelope plots instead of one plot for three phase current signal.
Please guide me, how can I plot the single envelope for all the three phase wave?.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 24 Sep. 2022
I am not certain what you want.
Perhaps this —
Fs = 0.0001;
t = linspace(0, 1, 1/Fs)/Fs;
s = sin(2*pi*t*60 + deg2rad([0; 120; 240]))
[seu,sel] = envelope(s, 1, 'peak')
figure
plot(t, s)
hold on
plot(t, max(seu), '-r', 'LineWidth',2)
plot(t, min(sel), '-g', 'LineWidth',2)
hold off
xlim([0 250])
figure
plot(t, s)
hold on
plot(t, max(s), '-r', 'LineWidth',2)
plot(t, min(s), '-g', 'LineWidth',2)
hold off
xlim([0 250])
.
5 Kommentare
Star Strider
am 24 Sep. 2022
The type of envelope result you get depends on the arguments to the envelope function. I chose the 'peak' option with the number of points equalling 1, although larger numbers (for example, 10) also worked. Experiment with the function to get the result you want, since I am not certain what that is.
Fs = 0.0001;
t = linspace(0, 1, 1/Fs)/Fs;
s = sin(2*pi*t*60 + deg2rad([0; 120; 240]))
[seu,sel] = envelope(s, 150, 'analytic')
figure
plot(t, s)
hold on
plot(t, max(seu), '-r', 'LineWidth',2)
plot(t, min(sel), '-g', 'LineWidth',2)
hold off
xlim([0 500])
If you want to duplicate the result in the posted image exactly, you will need to experiment. I am using calculated representations of the three-phase signal, while the image appears to be a sampled signal with an uneven baseline and slightly varying amplitude. I am not certain how that was calculated, however using polyfit (and polyval) on the peak amplitudes (using the max or abs functions to determine the peak amplitudes) might be an approach that would duplicate it, since it does not appear to be an envelope function result.
.
Weitere Antworten (1)
Sam Chak
am 24 Sep. 2022
You can try if the envelope function works for you.
https://www.mathworks.com/help/signal/ref/envelope.html
0 Kommentare
Siehe auch
Kategorien
Mehr zu Parametric Spectral Estimation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!