About PWMSVM01 APP at DAVE Ver.3.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
u-s
Level 4
Level 4
Distributor - Macnica (Japan)
50 sign-ins 25 replies posted First like received
Hi,

I want use the PWMSVM01 APP at DAVE Ver.3.

In this APP provided the function void PWMSVM01_SVM(const PWMSVM01_HandleType* HandlePtr, uint16_t Amplitude, uint16_t Angle);
About the argument(Amplitude) I have the following question:

- What is the unit of this argument?
I defined a value as .kMaxAmplitude = (uint16_t) 5999 in initialization.
With this setting, PWM can generate a sin wave.
I want to adjust this sin wave the P-P ofto 0.8 times.
I change the argumet Amplitude to 5399(5999 - 2999 * (1 - 0.8)).
Is this method correct?

Please referens to the attached image for details.
Thank you for your support.

Best regards
Xingwei
0 Likes
2 Replies
u-s
Level 4
Level 4
Distributor - Macnica (Japan)
50 sign-ins 25 replies posted First like received
Hi,

Could you tell me some updates on this subject?

Best regards
Xingwei
0 Likes
u-s
Level 4
Level 4
Distributor - Macnica (Japan)
50 sign-ins 25 replies posted First like received
Hi, All

Would anyone like to try and answer this problem?

Best regards
Xingwei
0 Likes