Different implementation between 2015b and 2017b for SVPWM Generator

1 view (last 30 days)
Good evening.
Making some test on a Simulink model, I found out that there is a different implementation in the SVPWM Generator block between the version 2015b and 2017b. In particular there is phase difference of the corresponding output equal to pi/2, given the same input. Moreover I did no found any information related to this aspect in the Help page. Am I correct?
Just as an example, I developed two identical model, one with the 2015b version and the other with the 2017b version. Each of them has to be run with the corresponding Matlab version. Given same input for SVPWM, output are different.
Di anyone experienced the same problem? Thank for any help
Alberto

Answers (1)

vijaya lakshmi
vijaya lakshmi on 28 Feb 2018
Hi Albert,
There is a bug in previous releases which have been fixed in MATLAB 2016a.
As a workaround in previous releases, follow these steps.
  1. Feed the 'Alpha' signal to 'Beta' input port of 'SVPWM Generator (2-Level)' block.
  2. Feed the 'Beta' signal to the 'Alpha' input port of 'SVPWM Generator (2-Level)' block with a sign change. You can use 'Gain' block with a gain of -1 to flip the sign of this signal.
It is also important to keep in mind that to make the 'SVPWM Generator (2-Level)' block work correctly.
  1. The alpha signal should lead the beta signal by 90 degree.
  2. The input alpha and beta signal should be in the range of [-1, 1].
So, I suggest you use latest releases from MATLAB 2016a.

Community Treasure Hunt

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

Start Hunting!