2025-05-26 5:25 AM
I am trying to run a custom board using MCSDK micro STM32G4 series, using cube monitor took the waveforms i have queries on the waveforms pls help me if they are correct or abnormal
a. Phase currents are not correct, i am not sure why are not overlapping, i mean 120 phase shifted.
b.
CntPhA, CntPhB, CntPhC look to be ok for me but the problem i am observing is the duty cycle is going upto 5000 i have set the system at 15Khz hence the max count is 5666, does it mean it already got saturated, i am running the motor at 26V the motor is run at 60V in the vehicle.
Vq graph
c. Vq also going upto 25000.
d.
/*** Noise parameters ***/
#define TNOISE_NS 500
#define TRISE_NS 200
i have never measured the above values on the scope including the Dead Time for my system,
is it mandatory to measure the above values and input to the system.
2025-05-28 8:05 AM
Hello @STuser2,
Phase current signals are available on STMC Motor pilot.
2025-05-29 9:10 PM
Thank you for reply, i have added a hardware filter with cut off at 110KHz and performing PWM switching frequency of 15Khz. My understanding is Phase A and noise on Phase B current waveforms are different even i use the same filter. The problem is at 40V after few seconds the over voltage protection fault is triggered, and the motor is stopped. I don't know how do i debug it. Any suggestions before i change the filter again to around cut off 230KHz.
2025-05-29 11:02 PM - edited 2025-05-30 12:31 AM
One other observation is when i run the system in open loop at very low RPM and i plot in cube monitor Ia, Ib currents
The Ib current is having an offset i tested in 2 different boards with different filter capacitors, any mistake in the software that i have done?
Just a doubt is Ia proper or Ib proper waveform?
Iapha and IBeta waveforms in open loop. I have doubt on Ialpha which shall be sinusoidal.