How to convert an output signal of a PLL block of simulink (triangular ramp) into a continuos ascending signal?

4 Ansichten (letzte 30 Tage)
Hi,
I'm using a 3 phase pll block to track the phase of a voltage signal. The output "wt" of this block it's a triangular ramp varying between 0 and 2pi and I need a continuos signal not limited to 2pi. I need to convert this signal in order to get a continuos growing signal. How do I do this?
Regards

Antworten (2)

João Oliveira
João Oliveira am 19 Jun. 2014
Bearbeitet: João Oliveira am 19 Jun. 2014
Help!
This is the output of the pll block (varying between 0 and 2pi). How can I get this signal, not limited in the 2*pi? I thought to make a counter that counts every time that the signal reach the value 2*pi but as u can see in the image sometimes the signal doesn't reach the 2*pi value so the results of the counter would be erroneous...

João Oliveira
João Oliveira am 19 Jun. 2014
Just to clarify what I need because my post can be a little confusing.
This signal is the phase of a voltage, so this block gives it in a triangular format which it's comprise between 0 and 2pi. This signal represent an angle in radians that's why it's limited between 0 and 2pi. But I need the value of this angle without being in this format, for example in my circuit I've an asynchronous machine wich gives me the rotor angle also in radianos but in a normal format like the image bellow. In this picture you can see that the angle reach almost 30 radians in the end, if I wanted to convert this angle to a similar angle between 0 and 2*pi, like the triangular ramp does, it would be easy. It would be just:
30 rad/ 2*pi = 4.77465 so: 0.77465*2pi= 4.86727 rads
30 rads it's equivalent to 4.86727 rads (sin(30)=-0.988=sin(4.8627))
Now, I need to do just the opposite to the triangular ramp...I know the math I just don't know how to implement it on simulink because the counter it wont work =\

Kategorien

Mehr zu Electrical Block Libraries finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by