Simulink vector space alpha beta transformation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Cdz
Messages
20
Reaction score
1
<< Thread moved to the HH forums from the technical engineering forums, so no HH Template is shown >>[/color]

The model:
model.PNG

reference generation subsystem.png

The goal:
1. Create a three phase voltage
2. Do a alpha-beta transformation
3. Do a Cartesian to Polar transformation
4 Check the output angle
The expected result:
Since the space vector rotates counter-clock wise the angle should from 0 to 180o and drop to -180o(instantly!) and rise again and repeat.
But the actual result is:
result.PNG

As you can see it does not reach 180 or -180 sometimes..I need your help.
 

Attachments

  • result.PNG
    result.PNG
    28.6 KB · Views: 628
  • reference generation subsystem.png
    reference generation subsystem.png
    51.6 KB · Views: 860
Last edited by a moderator:
Physics news on Phys.org
I changed three phase voltage generation part to a Three Phase Sine Generator and the angle output is as I expected.
So the problem lies in three phase voltage generation.
But i can not figure out how that is wrong. Help!
 
Problem solved. The problem is that the scope is running with too low a sample rate. I changed the sample rate from 0.01(default) to 0.00002 and the result is good.