Skip to main content
cyt
Associate II
May 23, 2019
Question

FOC+Hall question

  • May 23, 2019
  • 3 replies
  • 1439 views

I use FOC+Hall sensor(STM32F030RE MCU, ihm08m1 power board, MC lib 5.3.2) and set default mode to torque mode(Iq = 15A, Id = 0). Motor nominal current is 15A

When I try to go uphill by this Ebike, the motor can not go uphill sucessfully.

How to improve? adjust PID(speed PID or/both current PID) or something else?

What is the difference among MC API MC_ProgramSpeedRampMotor1(), MC_ProgramTorqueRampMotor1(),

MC_SetCurrentReferenceMotor1()?

For "go uphill" scenario, which API I should use?

Thanks

This topic has been closed for replies.

3 replies

Laurent Ca...
Senior III
June 28, 2021

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards

CKlei.1
Associate II
November 29, 2021

A very interesting question!!!

I also could not find a good, understandable answer to the essential differences of the three methods mentioned.

Does the "MC_SetCurrentReference" method affect the other two?

To be honest, I am quite disappointed with the support quality of ST in the SMT32 Motor Control Forum... or have any of you guys ever received a useful answer from ST?

llm
Associate III
November 30, 2021

I am agree with you. I had asked three question, but none sloved.