Why all the plots from my program originate from (0,0).
Show older comments
I am building a state-space feedback controller for a single phase bipolar inverter by using MATLAB Simulink.
I want to extact the angle of the output voltage as part of the control strategy. However, I found out all the voltage plots originate from (0,0). In such a case, how to tell the phase difference and which voltage is the reference?
I attempted to use code "Angle(V)" and FFT function block. It either give me 0 degree or 180 degrees.
I have also tried to use "phasor solver", however, my IGBT switches are not compatible with this mode.
Anybody has experience of extracting phase anlge of a voltage in MATLAB Simulink? I really appreciate any suggestions and it is urgent.
5 Comments
Lei
on 17 Sep 2012
Jan
on 17 Sep 2012
The term "urgent" is an anti-pattern in this forum. It reduces the chance to get an answer by 73%. On the other hand your problem concerns Simulink, but you did neither specify this in the Tags nor in the Prodcuts nor in the title. I have the impression that Simulink users are not active in this foum frequently, and without a corresponding hint it is unlikely that their attention is caught.
Therefore I suggest to brush-up the question, remove the "urgent" and the meaningless answer, which is only a BUMP.
Azzi Abdelmalek
on 18 Sep 2012
Edited: Azzi Abdelmalek
on 18 Sep 2012
when you said phase voltage, compared to what? when do you consider that the phase is zero?, is your signal sinusoidal?
Lei
on 20 Sep 2012
Daniel Shub
on 24 Sep 2012
Lei, please do not add meaningless bumps. Further, if you insist on bumps, don't add them as answers since this reduces the likelihood of people looking at the question (since it is already answered).
Accepted Answer
More Answers (1)
If your question is "how do I change the display on my scope", this blog post may help. But I likely misunderstand what you are asking for help on.
Categories
Find more on Switches and Breakers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!