cancel
Showing results for 
Search instead for 
Did you mean: 

Close this topic...move to other place.

ausera uirwaij
Associate III

Thank you.

22 REPLIES 22
Cristiana SCARAMEL
ST Employee

Hello @ausera uirwaij​,

which driving topology are you using: full-bridge or single half-bridge?

Could you share your schematic?

The DC motor current have a strange shape, please share an oscilloscope waveforms showing the current and voltage phase.

If you feel a post has answered your question, please click "Accept as Solution"

Hello

Hi @ausera uirwaij so you are using a three-phase motor​, good to know.

In the 6Step_Lib.c:

  • Voltage Mode: speed loop output is the duty cycle (on-time) of the phase. So an increase of the speed corresponds to an increase of the duty cycle of the PWM output. With this driving mode the output current peak may change along the step.
  • Current Mode: speed loop output is the duty cycle of the current reference of the current limiter. With this driving mode the output current peak is maintained at a constant level, controlled by the current reference. The duty cycle of the output phase is not constant since the phase is turned off as soon as the load current threshold is reached.

With current mode, the current is limited thanks to an external comparator (whose inputs are the reference and the voltage across the sense resistor) that triggers the start of the decay time. So a firmware current loop is not needed since the speed loop is the one that controls the current by means of the current reference connected to the comparator.

For further support in the original question please share the above requested oscilloscope waveforms showing the current and voltage phase.

If you feel a post has answered your question, please click "Accept as Solution"

Hi @ausera uirwaij​ there are any updates about your support?

If you feel a post has answered your question, please click "Accept as Solution"

Hello @Cristiana SCARAMEL​ ,

Good day,

I'm so sorry I didn't pay attention to my notifications.

​ ​My phase current is bigger compared to commercial drive board with same speed and motor. Capture 3 & Capture 4 show that my board has higher I_pp.

Hi @ausera uirwaij​,

I don’t have enough information to answer your questions.

What is the difference between "your board" and the "commercial drive board"?

Which drivers are you using?

How are you generating PWM signals?

It seems that the PWM signal is affected by noise generated by the switching of the other phases.

If you feel a post has answered your question, please click "Accept as Solution"

Hello @Cristiana SCARAMEL​ 

Thank you very much for your kindly reply.

Hi @ausera uirwaij​,

I noted that the Hall effect sensors have a different high voltage level in the two boards (5 V in your and 3.3 in the other).

The trigger point of the Hall sensor could change with the supply voltage causing a load angle error.

If you feel a post has answered your question, please click "Accept as Solution"