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!