Skip to content
View in the app

A better way to browse. Learn more.

Pedelecs Electric Bike Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Making a torque throttle instead of a speed throttle for a cheap controller

Featured Replies

  • 7 months later...
  • Replies 84
  • Views 32.6k
  • Created
  • Last Reply

Top Posters In This Topic

Posted Images

can anyone tell me what current the contacles current sensor should measure?

I've been working on and off on this device, tried to contact the Author without success. I need proper torque control for my projects and plan to get stuck in again this week, so if your still interested, would be happy to compare observations. Oh yes, regarding the current sunsor, it implies it is sensing motor current but I,ve been thinking of trying sensing battery current which may be more stable.

Most controllers have a shunt in them to measure current. You could easily use that rather than add another device to measure the current. There's normally a shunt in the battery's BMS that you could use too.
I'm seeking assistance from someone who has experience in programming an Arduino. The attached program for a torque throttle, when switched on, ramps the output voltage to the controller to 3.81V and just stayes there. Sorry to say I've run out of ideas.

scooter torque throttle.txt

  • 3 months later...

Reference my request for assistance programming an Arduino, problem solved, reason too embarrassing to admit in Public!

 

Just stumbled onto this thread while researching converting my speed control to Torque control as well- you problem was it related to your code or wiring?

 

Also the link to the Current sensor the OP posted right back at the begining is no longer valid. Any one that has a had a go at this have any further in formation ?

  • 3 years later...

I have a yosepower 250w 36v kit which servers my needs but would like to be able to limit the thumb throttles speed from the standard 15mph to say 6mph so as to be somewhere near the legal 4mph limit. i don’t have the electrical expertise you guys have so it would need to be something simple.

I did consider constructing a simple manual throttle stop but suspect this would give different speeds on the flat and on inclines.

The other option is whether the throttle can be configured to only work when pedalling so that when needed I can get a quick boost when pulling away.

any simple suggestions welcome.

I have a yosepower 250w 36v kit which servers my needs but would like to be able to limit the thumb throttles speed from the standard 15mph to say 6mph so as to be somewhere near the legal 4mph limit. i don’t have the electrical expertise you guys have so it would need to be something simple.

I did consider constructing a simple manual throttle stop but suspect this would give different speeds on the flat and on inclines.

The other option is whether the throttle can be configured to only work when pedalling so that when needed I can get a quick boost when pulling away.

any simple suggestions welcome.

The older Yose kits have KT controllers, which can do all that in the settings. If you have one of the later crappy LiShui ones, the easiest solution would be change to KT.

If one disconnects the throttle doee the Lishui display not have the walk assist mode by depressing the minus button ?

If one disconnects the throttle doee the Lishui display not have the walk assist mode by depressing the minus button ?

It does.

The kit I have has a lishui controller which is integrated with the battery docking unit and a KD21C display.

It does have a walk assist mode by pressing the - button but it’s only enough power to power the bike and not with my fat @rse on it.

which display would one need with a KT controller and would that allow the throttle speed to be adjusted.

I also want to be able to customise the numbers of pedal assist as I prefer 7 levels which I then customise at increments of 14%, 14, 28, 42 etc

The kit I have has a lishui controller which is integrated with the battery docking unit and a KD21C display.

It does have a walk assist mode by pressing the - button but it’s only enough power to power the bike and not with my fat @rse on it.

which display would one need with a KT controller and would that allow the throttle speed to be adjusted.

I also want to be able to customise the numbers of pedal assist as I prefer 7 levels which I then customise at increments of 14%, 14, 28, 42 etc

KT controller can be set as follows:

1. Set the global speed limit of 25 km/hr or whatever you want.

2. Set P4=1 KT description is nin-zero startup, which means (normally) the throttle only works when you pedal but is subject to C$ setting

3. Set C4=3 The throttle will work independently until 6km/hr, then if you pedal, the throttle is interpreted as level 5 pedal assist. To work like that P4 must be set to one.

 

All that can be interpreted as the throttle will work without pedalling until 6km/hr, and if you operate it when pedalling it works as a maximum power boost button so that you can air pedal. As soon as you let go of it, your power reverts to whatever level you have set in the LCD for pedal assist. It's a much more logical control system that what the Lishui has.

 

KT controllers work differently to yours. Each pedal assist level is a different power, and all allow you to reach the global maximum speed you set. For your Lishui one, each level allows maximum power, but has a different speed limit.

 

When you have a bike with large wheels, the 6km/hr is still a bit weak due to the low rpm, where hub-motors can't work efficiently, and also because of the probable ramping down as you approach 6km/hr, but when you have a bike with small wheels, it gives more meaningful torque, partly because the small wheels give more torque, but also because the higher RPM lets the motor work more efficiently.

> KT controllers work differently to yours. Each pedal assist level is a different power, and all allow you to reach the global maximum speed you set. For your Lishui one, each level allows maximum power, but has a different speed limit.

 

That depends on the firmware. Lishui controllers I've used have current control [*]-- at any PAS level one can reach the max speed if the load is low enough. While riding, it may feel like max speed is dependent on the PAS level only because the speed maxes out due to the load. Especially so on low power controllers. Test on a stand to know whether its current/power limited or speed limited.

 

[*] Loosely called torque control which is a misnomer as what it controls is the battery current not the phase current. Power control would be a better word.

> KT controllers work differently to yours. Each pedal assist level is a different power, and all allow you to reach the global maximum speed you set. For your Lishui one, each level allows maximum power, but has a different speed limit.

 

That depends on the firmware. Lishui controllers I've used have current control [*]-- at any PAS level one can reach the max speed if the load is low enough. While riding, it may feel like max speed is dependent on the PAS level only because the speed maxes out due to the load. Especially so on low power controllers. Test on a stand to know whether its current/power limited or speed limited.

 

[*] Loosely called torque control which is a misnomer as what it controls is the battery current not the phase current. Power control would be a better word.

He has a Yose kit with speed control controller. That's what he wants to change. It doesn't matter what's on other bikes.

He has a Yose kit with speed control controller. That's what he wants to change. It doesn't matter what's on other bikes.

yeah, I missed the qualifier "for your Lishui one".

Thanks for feedback.

So from what I understand I would need to replace the existing battery mount that has the integrated lishui controller and source a plain battery mount with a pos and neg wire to supply a replacement controller and source a display suited the replacement controller.

The existing motor, brake levers, PAS sensor, light, display and throttle all have Juliet connectors.

Would you know of a particular matched controller and display that I could£ plug the existing components into.

My current KD21C display allows programming of the number of pedal assist modes and percentage of power in each of the levels of pedal assist which I would like to still have along with a throttle that can be programmed to say 6mph.

Any advice gratefully received.

Thanks for feedback.

So from what I understand I would need to replace the existing battery mount that has the integrated lishui controller and source a plain battery mount with a pos and neg wire to supply a replacement controller and source a display suited the replacement controller.

The existing motor, brake levers, PAS sensor, light, display and throttle all have Juliet connectors.

Would you know of a particular matched controller and display that I could£ plug the existing components into.

My current KD21C display allows programming of the number of pedal assist modes and percentage of power in each of the levels of pedal assist which I would like to still have along with a throttle that can be programmed to say 6mph.

Any advice gratefully received.

You have a choice. You can either use an external controller in a bag or box, or you can get the correct fitting Hailong type controller from Topbikekit that slots straight in to your mount. You just need to unsolder your battery connector and solder the wires to the new one.

Thanks for that.

Forgive my ignorance, but to make sure I’m understanding this right, I take the existing luishi controller out of the existing battery holder and solder in a replacement KT controller?

Would the existing KD12C display work with the Kt controller or would I need to change the display to suit the KT controller.

Thanks for that.

Forgive my ignorance, but to make sure I’m understanding this right, I take the existing luishi controller out of the existing battery holder and solder in a replacement KT controller?

Would the existing KD12C display work with the Kt controller or would I need to change the display to suit the KT controller.

 

One replaces the Lishui controller unit like for like with a KT controller unit, simply unbolt/unscrew the controller unit from the battery mount rail. (One of course has to buy the correct controller unit for the battery).

One will need to buy a KT LCD for compatibility.

Edited by Nealh

Thanks for that.

Forgive my ignorance, but to make sure I’m understanding this right, I take the existing luishi controller out of the existing battery holder and solder in a replacement KT controller?

Would the existing KD12C display work with the Kt controller or would I need to change the display to suit the KT controller.

You definitely need to replace the LCD. Your brakes and pedal sensor have a chance of working with it, but quite often the connectors are wired differently even though they look like they match.

 

The controller clips into the battery holder. With the battery removed, there are two small screws in the plastic cover. Take them off and lift up the back a bit to peek inside, then you can see exactly which controller you have to check that the size and shape matches the TBK one. You have to remove the holder from your downtube completely to remove the controller or to get a better look at it, which is still only two or three screws more.

I had a look at KT controllers and displays but they don’t seem to allow much adjustment of the levels of pedal assist as my current set up does.

Seeing as the main issue with my current set up is that the throttle goes from 0 to 15mph which is illegal in the uk i’m wondering if some resistors could be added between the throttle and controller to reduce the maximum throttle speed to say 6mph which would be fast enough to allow the pedal assist to kick in and me to get my balance.

I had a look at KT controllers and displays but they don’t seem to allow much adjustment of the levels of pedal assist as my current set up does.

Seeing as the main issue with my current set up is that the throttle goes from 0 to 15mph which is illegal in the uk i’m wondering if some resistors could be added between the throttle and controller to reduce the maximum throttle speed to say 6mph which would be fast enough to allow the pedal assist to kick in and me to get my balance.

All you need is a small potentiometer on the throttle signal wire. Connect one side to the signal wire coming from the throttle, the other side to ground and the wiper to the controller. A 10k one should work. If you install it at the controller end, nobody will know it's there. You will able to set the maximum speed at whatever you want less than what you already have, as it will only adjust downwards.

https://www.ebay.co.uk/itm/182781822254?chn=ps&_ul=GB&var=690095893983&_trkparms=ispr%3D1&amdata=enc%3A1U0anbSelQ7CmpulBlZNS4g13&norover=1&mkevt=1&mkrid=710-134428-41853-0&mkcid=2&mkscid=101&itemid=690095893983_182781822254&targetid=2405654676673&device=c&mktype=pla&googleloc=1007151&poi=&campaignid=21697391927&mkgroupid=177203736618&rlsatarget=pla-2405654676673&abcId=10027104&merchantid=119207815&gad_source=1&gclid=CjwKCAjwtdi_BhACEiwA97y8BCfuLXJHXHHQ8Ho_hu5ylz7fKxAEx1KnI9aaVy2e4oaa9EHFEW0W1hoCNVEQAvD_BwE

 

You can also make a 6km/hr start up button with one. One side goes to ground, the other side to the red 5v wire via a push button switch, and the wiper goes to the controller as the throttle signal. You can then adjust the potentiometer to set the speed the bike goes when you push the button. I made a cruise control like that before we had decent controllers. I had the potentiometer on my handlebars. I used a three-pole switch to switch from normal throttle to the potentiometer one for cruise. Post #2 here 13 years ago!

https://www.pedelecs.co.uk/forum/threads/looking-for-daahub-style-micro-throttle-cruise-control-for-cyclezee-mk1-kit.12496/

Edited by saneagle

Thanks very much for this, as this seems an ideal solution. The illustration in your older post is good, as even with my limited electrical knowledge I can understand and replicate it.

Sadly, walk in shops such as Maplins and Tandy’s disappeared off the high street some years ago, as they were always good for purchasing electrical components.

The five current levels though not adjustable one can can theorectically lessened any power by using C5.

The set current levels give approx. 13%, 20%, 33%, 50% & 100% power in each of the PAS levels.

One advantage about the KD21C that came with my Yosepower kit is that you have the option of PAS settings 0-5, 0-7 and 0-9 and the power percentage within each level can be customised. The thumb throttle irrespective of these setting remains unchanged ranging from 0-15 mph. Using the the suggested potentiometer method reducing my throttle to 4mph will make it road legal. I will in fact be limiting the throttle to 6mph but I can’t see police being to concerned about an additional 2mph.

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...
Background Picker
Customize Layout

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.