shift sine wave by 90 degree

5 views (last 30 days)
Saif Zahran
Saif Zahran on 23 Feb 2019
Commented: Image Analyst on 23 Feb 2019
hello,
I have sine wave supply and i want to get alpha and beta, alpha is the orginal sine wave but beta should be shifted by 90 degree.
how can i shift the sine wave by 90 degree ?
thanks

Answers (2)

Star Strider
Star Strider on 23 Feb 2019
Take the derivative of it.

Image Analyst
Image Analyst on 23 Feb 2019
So you have x and y values for your "alpha" curve and you want a "beta" curve that looks like your alpha curve but is shifted 90 degrees, or pi/2, to theright or left? So, do you mean like this
betax = alphax - pi/2;
betay = alphay;
plot(betax, betay, 'b-');
grid on;
  2 Comments
Saif Zahran
Saif Zahran on 23 Feb 2019
alpha and beta to control the current and they are coming from lcl filter connected to grid system. then those signals will be feeden to park transformation to get DC values for active and reactive power.
i am not able to get the appropriate result
thanks
Image Analyst
Image Analyst on 23 Feb 2019
Sorry -- I don't use Simulink. I've added it to the product list at the right. Next time you can add it yourself when you first make the post.

Sign in to comment.

Categories

Find more on Simulink 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!