Rotor position intermittent missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-06 3:02 AM
I have generated the code with workbench 6.1.2 planning to migrate to 6.2.0 but meanwhile i am finding one issue consistently. I am using digital hall sensors and i am constantly getting a gap as below in the rotor angle after every some duration. Is it normal this is the cube monitor logging?
I have captured the phase current and i find a small glitch which happens consistently.
If it is related to the rotor position. Please help to solve this issue.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-11 5:14 AM
Indeed, you need to enable the Motor Control Protocol from the "User Interface" section of the MC Workbench to be able to communicate with the MC Pilot.
Regards
Cedric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-09 2:15 AM
Dear Redd.5,
If the motor spins correctly, it means that the rotor position is correctly handled internally (otherwise, a speed feedback error could be trigged). Maybe some data are missing with Cube Monitor interface...
Is-it possible for you to try with the "ST Motor Pilot"?
Best regards.
GMA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-09 5:13 AM
My board is a custom board so i think i cannot connect the ST motor pilot. When i plot with DAC i do not see such gap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-10 2:34 AM
Hello @SRedd.5,
You should be able to connect the ST motor pilot if you have a way to connect an UART of the STM32 to your USB PC socket. One way is through the STLink virtual com port at the condition that UART RX & TX pins are accessible.
Regarding the fact that with DAC you do not see such gap, it confirms @GMA hypothesis. You lose data with Cube Monitor. It is a monitoring issue not a Motor control firmware issue.
Regards
Cedric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-10 8:50 AM
@cedric H wrote:Hello @SRedd.5,
You should be able to connect the ST motor pilot if you have a way to connect an UART of the STM32 to your USB PC socket. One way is through the STLink virtual com port at the condition that UART RX & TX pins are accessible.
Regards
Cedric
But i am worried that i need to integrate the complete UART code of motor pilot , iam already using CAN. I do have access to UART pins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-11 5:14 AM
Indeed, you need to enable the Motor Control Protocol from the "User Interface" section of the MC Workbench to be able to communicate with the MC Pilot.
Regards
Cedric
