Simulink Voltage angle measurement problem

조회 수: 14(최근 30일)
Simon Nagy
Simon Nagy 2020년 12월 17일
답변: Raunak Gupta 2020년 12월 27일
Hi Everyone,
i have to measure the angle of voltage. I use a "Complex to Magnitude-Angle block". The output of the voltage measurement unit is a coplex, but i can't measure the angle. I used also a " Complex to Real-Imag" block to better understand what is the problem with the output signal of voltage measurement.
Here is a picture about the simulation:
That should looks like so:
I would be very thanksfull, if somebody can me explain, why don't work the output signal of the voltage measurement as a complex number.


Raunak Gupta
Raunak Gupta 2020년 12월 27일
The voltage you are measuring is actually the voltage across the AC Source which is a real number. That is why measuring the voltage using both the techniques are giving real values. I understand you want to calculate the angle of voltage (either it is lagging or leading the AC Source), for that you need to find the voltage across the active component which is the resistor and the reactive components which are LC part.
You may find the power_seriesload example useful for doing the same. You can open the example by running
On the command window. Also, the documentation about series RLC load can help.


Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by