Motor control with MCSDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-17 12:18 AM
Hi everyone:
We tried the MCSDK and deployed it in stm32f407. But we got a problem, for example:
- We use the motor control GUI trigger the motor to 20k rpm.
- We press the stop button.
- The motor go into free run status.
- When the motor speed decrease and not reach to zero , may be 10k rpm.
- Than we start motor again, wish to reach 20k rpm.
- But the motor speed is higher than 20k rpm. And the speed indicator of GUI is not correct .
Solved! Go to Solution.
- Labels:
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-06 9:33 AM
Dear James,
Sorry for the delay.
Your issue is reproduced, and will be fixed in the next release.
You can already test it by commenting the line 205 of the file hall_speed_pos_fdbk.c :
// pHandle->ElSpeedSum = 0;
Let me know if it does the job.
Regards
Cedric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-18 6:29 AM
Hello James,
Are you using the STM3240G-EVAL from ST or some custom board?
Can you please also indicates which SDK version you are using?
It should help us to reproduce your problem.
Thanks,
Claire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-20 5:27 PM
Hello Claire,
We are using the STM32f4Discovery and IHM08m1 3Sh from ST. And the problem also appear in the combination of Nucleo-F302R8 and IHM08m1 3Sh. We've used SDK 5.12, 5.20 and 5.32, they have the same results.
​
Thanks,
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-21 4:20 AM
Dear James,
Could you confirm that your issue appears only when you start your motor from a non zero speed ?
Could you describe your configuration : are you sensorless ? Do you use an encoder or a hall sensors ?
when your issue appears, what is the speed indicated by the WB ? Are you able from this stage to stop the motor and to re-start after a 0 speed into a correct state ( correct speed )
Did you enable the On the fly parameter in the Workbench ?
Regards
Cedric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-21 5:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-22 12:43 AM
Dear James,
Thank you for the information.
We will try to reproduce your issue and keep you aware of our findings.
Regards
Cedric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-10 7:11 PM
Hi Credric,
Is our issue can be reproduced?
Thanks,
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-06 9:33 AM
Dear James,
Sorry for the delay.
Your issue is reproduced, and will be fixed in the next release.
You can already test it by commenting the line 205 of the file hall_speed_pos_fdbk.c :
// pHandle->ElSpeedSum = 0;
Let me know if it does the job.
Regards
Cedric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-18 10:55 PM
Hi Credric,
This fix can work well and helpful.
Thanks,
James
