
Lebowski wrote:I would love some input on how the algorithm works with different motors. It's not ready for it at the moment as
the video was literally made 5 minutes after I got it to work, but maybe it's an idea to mail some programmed
30F4011 chips around so people can try it in their own controllers (you would need to build the power stage etc
yourself or do a brain transplant on a Lyen controller)...? Your motor has to be able to deal with field weakening
though (I read somewhere that field weaking can damage the permanent magnets but I don't know how tricky this is).



Lebowski wrote:...
I think it would work in a standard controller. You need to de-solder the microcontroller, connect the 30F4011 the correct
way (halls, 6 signals to the 6 FET drivers, 5 V supply) and add two high-current current sensors. I think
these sensors would work:
http://ch.farnell.com/allegro-microsyst ... dp/1791392
(it needs to be a sensor that for 0 amps gives out 2.5V from a 5V supply with 5V out for 50 Amps and 0V out
for -50 Amps. there's also 200amps versions)

gtadmin wrote:Lebowski wrote:...
I think it would work in a standard controller. You need to de-solder the microcontroller, connect the 30F4011 the correct
way (halls, 6 signals to the 6 FET drivers, 5 V supply) and add two high-current current sensors. I think
these sensors would work:
http://ch.farnell.com/allegro-microsyst ... dp/1791392
(it needs to be a sensor that for 0 amps gives out 2.5V from a 5V supply with 5V out for 50 Amps and 0V out
for -50 Amps. there's also 200amps versions)
This looks good, well done mate. These current sensors are the ones I use, and available from the US (more applicable to Arlo1 though)




Alan B wrote:I was wondering if the algorithm could be configured so the halls and the BEMF were both used together in an intelligent fashion. Perhaps the halls for coarse lock and the BEMF for fine tuning. Then it could not get too far out of sync.

parabellum wrote:Lebowski, how is your throttle working in given case? Changing multiplication factor to BEMF and then chip modifies PWM accordingly?














Alan B wrote:Seems reasonable.
Might want to have a failsafe timing out the throttle input. Out of control motor controllers are not fun.
Is a throttle illegal, or is there just a requirement to be pedaling?

Users browsing this forum: No registered users and 9 guests