This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PMSM Motor Control

Dear Friends,

I'm working on PMSM Motor Control Project (with Encoder + FOC). 

For that, I've imported the HVPM Sensored code (version 1.7) from control-suit. Now I've to configure the Code as per my PMSM Motor Specification and for that I've to edit in File name:  HVPM_Sensored-Settings.H

Everything is working perfectly, but there is a line in HVPM_Sensored-Settings.H file, 

#define BASE_VOLTAGE 236.140         // Base peak phase voltage (volt)
#define BASE_CURRENT 10                   // Base peak phase current (amp)

I've checked the entire code, but no where I can find these lines.

If I want to rotate the two different PMSM Motors by using the same code, 

1. PMSM Motor: Pole = 16, RPM = 165, Base Freq. = 22, Base Volt. = 24V &

2. PMSM Motor: Pole = 16, RPM = 165, Base Freq. = 22, Base Volt. = 65V

then where I've to change in the code? 

How it will handle the PWM Duty Cycle to different rating Motor? 

Can I set the limit of applied DC Bus Power in the code?

What should I do?