Motor control codes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Motor control codes

2,157 Views
ozgungunay
Contributor II

I am doing a motor control project and I preferred HVP-MC3PH: High-Voltage Development Platform with HVP-KV46F150M mcu.

Because, it is written in the document "The platform enables development of 3-phase PMSM, BLDC and ACIM motor control and power factor correction solutions in a safe high-voltage environment."

In real life, The kit comes with "PMSM_Sensorless_FOC" sample IAR project.

It seems no need additional library, right?

Where are the rest PMSM, BLDC and IC sensorless/sensored sample codes?

What is kinetis motor suite? Why kinetis motor suite has a Microcontroller Driver Suite v10.4?

Where are the motor control codes?

Labels (1)
0 Kudos
Reply
3 Replies

1,264 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Gunay,

Regarding the remark "The platform enables development of 3-phase PMSM, BLDC and ACIM motor control and power factor correction solutions in a safe high-voltage environment.", it means that user can use the board to control PMSM, BLDC, ACIM motor and the HVP-KV46F150M board can do PFC with boost mode.

If you want to control a sine-type motor such as PMSM and ACIM based on FOC algorithms, you have to get the current of the three branches, then do clark and park transformation to decouple the flux exciting component and the torque component, the HVP-KV46F150M board has embedded the current sensing resistors on each branches and corresponding signal adjusting circuit so that mcu can test the current of each branches, that is why the board can control PMSM and ACIM. If user wants to control BLDC, the branches current sensing resistors are unnecessary, but one BUS current sensing resistor is necessary, so the board also embedded one bus current sensing resistor and corresponding signal adjusting circuit to disable PWM once the current exceeds limit. The board can control BLDC.

We have provided the motor control library for Cortex-M5 and Cortex-M0 plus cores, the library provides the following functions in motor control application:

Clark/reverse clark transformation

Park/reverse park transforamtion

SVM modulation function which can transform the (Alpha,Beta) voltage components to 3 phase PWM duty cycles

PI or PID controller lib

sine/cose lut... function

all above functiions focus on sine-type motor based on FOC

For BLDC, only PID function is necessary.

For the "Microcontroller Driver Suite v10.4", it is a PE tools, for the above functions, we also provides beans such as PID bean, clark bean..., in the case, you do not need to  add the motor control library if you use PE beans.

Regarding the code based on HVP-KV46F150M, currently we only provides the PMSM sensorless example based on KV46, but there are a lot of BLDC code and PMSM code based on encoder or resolver sensors as position sensor which are not based on the HVP-KV46F150M board. The PFC code has not finished yet based on the HVP-KV46F150M board.

For the motor control lib, pls download from the website:

http://tinyurl.com/jzrvak8

BR

XiangJun Rong

0 Kudos
Reply

1,264 Views
svenalmgren
Contributor I

Any updates regarding the PFC code for HVP-KV46F150M?

0 Kudos
Reply

1,264 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Seven,

It seems that we have not developed the PFC code yet although the boards of  HVP-MC3PH plus HVP-KV46F150M support PFC.

BR

Xiangjun rong

0 Kudos
Reply