Is it possible to run this setup(hacked controller+simpleFoc lib) for e.bike 3 wires motor(with no hall sensors) with 6pwm steps and reading back EMF?
I just have few Lishui bldc conttoller from E.Scooters. they have Stm32f103c8. And I have made reverse schematic. I have run succesfully german opensource FOC firmware for Lishui controllers(from Pedelec-forum.de). But unfortunately with sensorless FOC I am still struggling.
Maybe someone could make me a advise, how to run just for test this library with old facioned 6step PWM commutation and back EMF closed loop.
My scooter controllers have 3 shunts on the low sides of mosfet. Voltage is 36v.
PWM phase wiring very standard for stm32: PA8,PB13 – PA9,PB14—PA10,PB15 pwm pairs.
The current sensors after OPamps go to ADCs: PA4, PA5, PA6
The mosfet drivers are IR2103s, and have deadtime already set fixed. So maybe I dont need to worry about it in the code?
Thanks for any advise how to start. I have seen some docs, but didnt find about BackEmf
Regards,
Fluctuator