I disagree with your disagreement, my friend always cheat on the trails by using their throttles but somehow I always manage to make it without one, think of this as a challengeRafe said:On the subject of the throttle I do disagree with jbalat that they are not needed on torque drives as I often find myself on sections of track with ruts where pedalling is not possible.
This is great info for all to take on board. I haven’t had any issues but seems a few others have tried everything and still can’t get a good connection....rts and pulling anything from other ports that might drain power, in the end I gave up with lap top and now use a PC USB port connected directly to the MB and then a USB extension lead to the STlink dongle and on the odd occasion it still does not work I have to restart the PC.
No throttle is the default, just use the compile scripts and you should be fine :wink:jbalat said:EC I wast to upgrade to 14.2 but I want to include my changes for high cadence.
How do I compile it for no throttle version after I make the changes ?
jbalat said:EC I wast to upgrade to 14.2 but I want to include my changes for high cadence.
How do I compile it for no throttle version after I make the changes ?
Human power = torque sensor * pedal cadence.bart1006 said:jbalat said:EC I wast to upgrade to 14.2 but I want to include my changes for high cadence.
How do I compile it for no throttle version after I make the changes ?
Little question maybe it has been asked before but I can't find it.
How does PAS max cadence exactly work? By default it is 110 but what if I put it on 90 or 125?
I have a shimano nexus 8 gear and was playing around with it but I can not really feel a difference.
casainho said:Human power = torque sensor * pedal cadence.bart1006 said:jbalat said:EC I wast to upgrade to 14.2 but I want to include my changes for high cadence.
How do I compile it for no throttle version after I make the changes ?
Little question maybe it has been asked before but I can't find it.
How does PAS max cadence exactly work? By default it is 110 but what if I put it on 90 or 125?
I have a shimano nexus 8 gear and was playing around with it but I can not really feel a difference.
Pedal cadece is in percentage, where the value defined on LCD5 represents 100%.
Motor current is human power * some others values.
If you lower the pedal cadence value on setup options, you will get max assistance part due to pedal cadence earlier.
gaber said:Quick question/request - I see FOC and SOC referenced a lot, but have not been able to figure out what they mean - help? On that note, it might be helpful to have a quick glossary reference to the wiki (under FAQ?) - thoughts?
gaber said:Quick question/request - I see FOC and SOC referenced a lot, but have not been able to figure out what they mean - help? On that note, it might be helpful to have a quick glossary reference to the wiki (under FAQ?) - thoughts?
int cadence = readCadence();
int torque = readTorque();
torque = (torque > config_min_torque) ? torque : config_min_torque;
cadence = (cadence > config_min_ cad) ? cadence : config_min_cad;
int human_power = torque * cadence;
jbalat said:FOC is field oriented control, its a new way of driving the motor which is more efficient
SOC forgot what it stands for but its the percentage readout of home much battery is remaining. You can access it by pressing the middle and bottom buttons together.
StuRat said:SOC = State Of Charge
Did you try startup power boost??maximusdm said:What I meant with the code is that I propose to have some minimal values for min torque and min cadence in the power calculation. In this way you always get at least some minimal power at pedaling start (from stop or in movement).
For example:
1. I have 10 km/h resting on pedals and start pushing very slow(candence and torque).
P = min_cadence*min_torque
This power is bigger from what I am doing.
2. I have 10km/h and push hard but I have slow cadence
P= min_cadence * my_torque
3. I have 40km/h and I have cadence ok but torque is small.
P = my_ cadence * min_torque.
As a conclusion I am trying to increase the simulated human power in corner cases and leave the default behavior in rest which is good.
jbalat said:Low cadence.. I have some really simple tweaks that give me 120+ cadence, it is really cool being able to wind out the motor rather than have to change gears all the time. The motor actually becomes very smooth above 90rpm and more powerful with my settings. Endless Cadence said he will add a high cadence option in the next release so you can try it yourself.
Still waiting for an answer, I only received some hex files from youEndlessCadence said:@jbalat
Can you create a Github issue with your custom FOC settings? Then I'm happy to create the experimental motor profile for you![]()
Yes, it is if you have a Github account (free). I've created a page for you! You can find it here:gaber said:jbalat said:FOC is field oriented control, its a new way of driving the motor which is more efficient
SOC forgot what it stands for but its the percentage readout of home much battery is remaining. You can access it by pressing the middle and bottom buttons together.
StuRat said:SOC = State Of Charge
Thank you both! Is the wiki open for editing? I would be happy to think about the best place for a glossary and add it. There have been a number of posts/information I've had to dig for that I thought would be nice to have logged in the wiki. Not having dev chops, I would be happy to contribute via documentation.
Ok created this issueEndlessCadence said:Still waiting for an answer, I only received some hex files from you
When I have the settings confirmed it will be easy to create and release an experimental high cadence version (36V motor).
Have you tried your changes with a 14.x firmware version already?
maximusdm said:What I meant with the code is that I propose to have some minimal values for min torque and min cadence in the power calculation. In this way you always get at least some minimal power at pedaling start (from stop or in movement).
For example:
1. I have 10 km/h resting on pedals and start pushing very slow(candence and torque).
P = min_cadence*min_torque
This power is bigger from what I am doing.
2. I have 10km/h and push hard but I have slow cadence
P= min_cadence * my_torque
3. I have 40km/h and I have cadence ok but torque is small.
P = my_ cadence * min_torque.
As a conclusion I am trying to increase the simulated human power in corner cases and leave the default behavior in rest which is good.
Thanks jbalat!jbalat said:Ok created this issueEndlessCadence said:Still waiting for an answer, I only received some hex files from you
When I have the settings confirmed it will be easy to create and release an experimental high cadence version (36V motor).
Have you tried your changes with a 14.x firmware version already?
https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/issues/27
I have been using these settings on the original 14.x but not on the 2 latest versions with no throttle
Probably a very silly question but did you program the controller with the same version of the firmware? I only read something about programming the LCD...Doctor Al said:Any ideas greatly appreciated.