2024-04-02 9:52 PM
Hi team.
I want to implement 6-step sensor less voltage mode on stm32g474. So, I referred the MCSDK V6.2.1, 6-step sensor less Voltage mode with stm32g431 with IHM03 code.
But I couldn't understand how to commutate timing is controlled.
Also, I read the "md_docs_2six-step-firmware-algorithm.html" at MCSKD installed folder, but no mention.
The reason why I want to know the commutation timing is because PWM overrun occurs at high speeds commutaion.
Currently, I am using a code to check the commutation timing on every PWM cycle. Actually this cycle is Tim1's CH4 compare interrupt.
The commutation waveforms at low speed and high speed are as follows.
What kind of control and timing should be used to perform commutation successfully?
fig1. Commutation at low speed
fig2. Commutation at high speed
2025-06-24 8:19 PM
Hi KenJi1,
Which instrument do you use? logic analyzer ? because my LA will disconnect when start motor
2025-06-24 10:31 PM - edited 2025-06-26 9:52 PM
Hi, @walen -san
I'm using Saleae Logic Pro 16 and Pro 8.
Saleae's logic analyzer can analyze digital and analog signals.
I can't do my job without this tool.
This is a capture figure of ESC control for drone, using Logic Por.
Also, I'm using Kingst LA2016.
This analyzer is digital only.
Analog Discovery 3 and Pro 3000 for analyzing servo control.
Digilent – Start Smart, Build Brilliant.
Ofcourse, I use 8-Ch Oscilloscope and .
You can use, DSLogic Series too.