cancel
Showing results for 
Search instead for 
Did you mean: 

Strange current waveform driving a BLDC motor using the IHM08M1 with the Nucleo F303

der.ule
Associate III

I keep investigating why I have problems driving my motor with negative speeds.

I captured the phase voltage directly on the motor leads (yellow, cyan and magenta channels) and the current on the DAC output (Ia or Ib) and I noticed this peaks on the current waveform.

0693W00000JODPSQA5.png 

Zooming in, the currents themselves don't look bad at all

0693W00000JODMoQAP.png 

However I do not understand where does peaks are coming from

0693W00000JODRdQAP.pngAny ideas will be greatly appreciated.

34 REPLIES 34
MK.1
Senior

why does your oscilloscope show a negative current value on a positive half-wave? sorry, didn't look there

MK.1
Senior

Please bring the oscillogram of the Hall sensors to the Back EMF Phase_U

I'm not sure what I am suppose to do as I am not using an observer, but the hall sensors.

MK.1
Senior

I think your problem with the reverse rotation of the motor is due to the incorrect electrical angle of the shift of the Hall sensors. This can be easily checked with an oscilloscope. Draw a diagram.

MK.1
Senior

0693W00000JQ1ITQA1.jpgspin the motor by hand and watch BEMF

Well I was sure I had done this measurement before (after all this is how I calculated my kV, but only with one phase), I could not find any of my old information, so I repeated the measurements today.

Three phases (P1: Yellow, P2: Cyan, P3: Magenta) and H10693W00000KaHmdQAF.pngThree phases (P1: Yellow, P2: Cyan, P3: Magenta) and H2

0693W00000KaHmTQAV.pngThree phases (P1: Yellow, P2: Cyan, P3: Magenta) and H3

0693W00000KaHmOQAV.pngThree halls (H1: Blue, H2: Cyan, H3: Magenta) and phase 1 (U/L1/P1)

0693W00000KaHm4QAF.pngThree halls (H1: Blue, H2: Cyan, H3: Magenta) and phase 2 (V/L2/P2)

0693W00000KaHluQAF.pngThree halls (H1: Blue, H2: Cyan, H3: Magenta) and phase 3 (W/L3/P3)

0693W00000KaHlkQAF.pngI used the motor calculator from ST to calculate the kV which turns out to be this time 2,53 Vrms/kRPM (I had a value closer to 4 last time, not sure if those resistors to form the virtual ground have an influence in my measurement)

0693W00000KaHkIQAV.png EDIT: I don't know why but my images did not appeared in the post the first time.

Thanks a lot for the link!

Still I don't get it, reading the post that you linked and having the following measurement (where P1: yellow, H1: blue, H2, cyan and H3 magenta):

0693W00000KaLwcQAF.pngI understand that the "placement of electrical angle" should be ~75° (if I consider that each division is around 30°).

However this picture from the UM1052, tells me that the angle should be around 155° :dizzy_face:

0693W00000KaLyEQAV.png 

Hello, sorry for the long silence. Set the angle to 240 degrees.

Nothing to be sorry about, I greatly appreciate the time you are taking helping me out, however, could you explain me how did you come up with 240° ?