IMC102T-F064 speed control via UART issue - Motor speed doesn't change.

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

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

cross mob
sudip_k
Level 2
Level 2
25 sign-ins 10 replies posted 10 questions asked

Hi,

I am able to run the motor via UART1 by giving the command "0x01, 0x03, 0x00, 0x00, 0x01, 0x01, 0xFE, 0xFB " (to run at 275RPM). But the motor runs at lower speed at 100RPM aprox. 

Even if I give another speed command "0x01, 0x03, 0x00, 0x00, 0xE8, 0x03, 0x17, 0xF9" to run at 1000RPM, it still runs at the same 100RPM. However, I am able to stop the motor by giving the command "0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFC "(0RPM).

I cant control the speed of the Motor it always runs at the same low RPM. Please help!

Device used: EVAL-M3-102T

 

 

 

0 Likes
1 Solution
ninad_w
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted First like given

Hi @sudip_k ,

 

Please refer to the Motor speed scaling factor from the Table 26 Variable Scaling Table from software reference manual 

https://www.infineon.com/dgdl/Infineon-MCESW-RM-UserManual-v01_03-EN.pdf?fileId=5546d462719b59230171...

According to the SRM, actual target speed factor is as follows:

Motor RPM = (𝑀𝑎𝑥𝑖𝑚𝑢𝑚 𝑆𝑝𝑒𝑒𝑑 / 16384 ) * (target speed)

The maximum speed is the speed configured in the MCEWizard (question number 8: Motor max RPM).

Please change the target motor speed to some higher value so that the motor speed can easily be observed.

Thank you!

Best regards,

Ninad

View solution in original post

0 Likes
3 Replies
ninad_w
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted First like given

Hi @sudip_k ,

 

Please refer to the Motor speed scaling factor from the Table 26 Variable Scaling Table from software reference manual 

https://www.infineon.com/dgdl/Infineon-MCESW-RM-UserManual-v01_03-EN.pdf?fileId=5546d462719b59230171...

According to the SRM, actual target speed factor is as follows:

Motor RPM = (𝑀𝑎𝑥𝑖𝑚𝑢𝑚 𝑆𝑝𝑒𝑒𝑑 / 16384 ) * (target speed)

The maximum speed is the speed configured in the MCEWizard (question number 8: Motor max RPM).

Please change the target motor speed to some higher value so that the motor speed can easily be observed.

Thank you!

Best regards,

Ninad

0 Likes
sudip_k
Level 2
Level 2
25 sign-ins 10 replies posted 10 questions asked

Hi, 

My requirement is that the motor must not exceed 1500RPM. So I set "1500" as my Motor Max RPM(in question no8). 

So lets say, if I set my target speed via UART = 500

Based on the equation,

Motor RPM = (1500/16384) * 500

                       = 0.091 * 500

                     = 45 RPM

Is that right?

If not please use an example to explain.

 

0 Likes
ninad_w
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted First like given

@sudip_k 

Yes, it is correct. Based on the equation and values you have entered you will get motor RPM as 45.

Thank you,

Best regards,

Ninad