Close

The architecture & Emergency stop

A project log for Hubmotor ESC - Project Momiji

Yet another motor controller, but made specifically for hoverboard motors

phil-weaselPhil Weasel 07/23/2025 at 14:220 Comments

So the blocks are quite straight forward.

Supply voltages in the front, controller in the middle, Power stage and sensors on the output side.

However i added a over-current and a shutdown block in the middle.

The thought is that if i force the HIGH-side mosfet low eg. off, i wont be able to do anything with the motor except maybe braking.

Thus in a overcurrent event, or when i pull the enable, the motor will stop producing torque no matter what.

Also the Drive enable ... a key or emergency off switch will be directly connected to the shutdown. (Drive_Enable and Enable_PWR will be directly connected, the µC will only be able to read the signal)

Drive_Enable = Low then means shutdown of the output stage via hardware. So no fear of acceleration in case of software bugs.

Discussions