# Simulink Voltage angle measurement problem

조회 수: 68(최근 30일)
Simon Nagy 17 Dec 2020
답변: Raunak Gupta 27 Dec 2020
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.

댓글을 달려면 로그인하십시오.

### 답변(1개)

Raunak Gupta 27 Dec 2020
Hi,
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