dual independent motor control s32k324

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

dual independent motor control s32k324

Jump to solution
179 Views
michelet1
Contributor II

good morning everyone,

i've started working with the microcontroller s32k324 using the following reference design:

https://www.nxp.com/design/training/s32k324-triple-permanent-magnet-synchronous-motor-control-refere...


Two different observations/doubts emerged regarding this code:

1)is it possibile to manage the FOC(intended as part of the current control algorithm) in a 1:N ratio with the PWM cycle with some peripheral/hardware automation?

for example there are application note i.mx FOC=PWM/2. Can something similar be managed on the K3 using existing peripherals?

2)In case you have motors with different characteristics(speed,pp etc....) and you want to drive them independently with different PWM frequencies, we would like to know if it is possible to have two different driving frequencies, with this HW architecture. are there any limitations on the hardware/peripherals microcontroller that prevent this strategy?


Thanks in advance for any help and guidance.

Best regards

0 Kudos
1 Solution
135 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

Regarding your questions:

1. Yes! It is possible with S32K3 devices to manage FOC frequency in a 1:N ratio with the PWM frequency. In AN13767 perform a FOC:PWM/2 frequency ratio which provides more free CPU time for custom applications use (see Figure 12. Time Diagram of PWM and ADC Synchronization). UG10052 perform a 1:1 ratio (at 10 KHz) just because CPU can.
2. It is also possible, but you will need to solve the new synchronization for different frequencies to perform the FOC algorithm and analogue data capturing at different times.

Hope it helps you.

Have a nice day!

View solution in original post

0 Kudos
1 Reply
136 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

Regarding your questions:

1. Yes! It is possible with S32K3 devices to manage FOC frequency in a 1:N ratio with the PWM frequency. In AN13767 perform a FOC:PWM/2 frequency ratio which provides more free CPU time for custom applications use (see Figure 12. Time Diagram of PWM and ADC Synchronization). UG10052 perform a 1:1 ratio (at 10 KHz) just because CPU can.
2. It is also possible, but you will need to solve the new synchronization for different frequencies to perform the FOC algorithm and analogue data capturing at different times.

Hope it helps you.

Have a nice day!

0 Kudos