How can I compute envelope for three phase current?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Star Strider
2022-9-24
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 个评论
Star Strider
2022-9-24
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.
.
更多回答(1 个)
Sam Chak
2022-9-24
You can try if the envelope function works for you.
https://www.mathworks.com/help/signal/ref/envelope.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parametric Spectral Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!