how to get RMalS,peak values for control algorithm from model.

2 visualizzazioni (ultimi 30 giorni)
I am developing wind energy conversion system.I am using hill climb searching algorithm for which i want to sample the inverter current,Inverter power output, its difference like 'I(n)-I(n-1)'.My problem is that my inverter current is sinusoidal, i want to get either RMS value or peak value of it.I have used simpowersystem for developing the model. Please someone help me in this........

Risposte (2)

Wayne King
Wayne King il 4 Mar 2012
Do you happen to have the DSP System Toolbox? There are RMS and Maximum blocks in that product.
In R2012a in the Signal Processing Toolbox, there are a number of new measurement functions including: peak2peak and rms, which you can use in a MATLAB function block.

Girisha Joshi
Girisha Joshi il 6 Mar 2012
Thank u so much...I used 'continuous RMS' block which gave me the RMS value,from which maximum value can also be obtained by multiplying by squre root of 2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by