Ok so I had a Sunwin 72V 1500W controller for a year now on my e-bike. It took me a long time to get a hang on why and how delay occurs.
For all you that don't know a lot of sunwin controllers have lag built in. Mine has a terrible one. I think it's the more powerfull ones that have it. It's a 1 second delay and it gets wores with higher speeds. Basicaly a throttle has a sort of a filter bulit in controller, my guess for safety reasons. Filter allows mximum throttle rump up speead, which is ok, and cheap sloution, when you give it a full throttle to have a decent aceleration. The thing is if you go for example 50kmh, let go of the throttle and twist it again, the throttle resests to 0 and has to rump up the voltage slowly to your speed to get a torque buliding up (DC motors basic understanding required). Only when applied voltage gets higher than corresponding motor speed torque occurs.
Solution:
I intercepted a throttle signal with arduino, and if throttle is let go and the wheel is spinning, an arduino sends an analog signal value that makes controller make a voltage on a motor that coresponds to it's rotational speed minus 5kmh slower. That way a signal on controler is always a bit lower than the speed of motor and never resetting no 0, only when you stop, and it's anticipating / waiting for throttle twist. A rump up filter is still there it's just that it has a much smaller voltage gap to rump up so it rumps up much quicker.
There is also a delay on a take off and it is solwed by setting a lowest signal voltage a bit higher than it is on standard throttle, also with arduino.
It's a bit complicated so if furrther explaining is needed, just say
p.s. Also If someone is using a Sunwin, please post if it has a delay and what model it is
Tags: bike bicycle electric ebike controler delay lag throttle
For all you that don't know a lot of sunwin controllers have lag built in. Mine has a terrible one. I think it's the more powerfull ones that have it. It's a 1 second delay and it gets wores with higher speeds. Basicaly a throttle has a sort of a filter bulit in controller, my guess for safety reasons. Filter allows mximum throttle rump up speead, which is ok, and cheap sloution, when you give it a full throttle to have a decent aceleration. The thing is if you go for example 50kmh, let go of the throttle and twist it again, the throttle resests to 0 and has to rump up the voltage slowly to your speed to get a torque buliding up (DC motors basic understanding required). Only when applied voltage gets higher than corresponding motor speed torque occurs.
Solution:
I intercepted a throttle signal with arduino, and if throttle is let go and the wheel is spinning, an arduino sends an analog signal value that makes controller make a voltage on a motor that coresponds to it's rotational speed minus 5kmh slower. That way a signal on controler is always a bit lower than the speed of motor and never resetting no 0, only when you stop, and it's anticipating / waiting for throttle twist. A rump up filter is still there it's just that it has a much smaller voltage gap to rump up so it rumps up much quicker.
There is also a delay on a take off and it is solwed by setting a lowest signal voltage a bit higher than it is on standard throttle, also with arduino.
It's a bit complicated so if furrther explaining is needed, just say
p.s. Also If someone is using a Sunwin, please post if it has a delay and what model it is
Tags: bike bicycle electric ebike controler delay lag throttle