Search found 453 matches

by buba
Aug 25 2019 9:24am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

I think that is better the power function but that takes in consideration the speed. Example 60rpm*1nm-(5kmh) 55w 60rpm*1nm-(40kmh) 20w you can let the users to choose the exponential of the speed positive or negative Example 60rpm*1nm- (5kmh)^-1 60rpm*1nm-(5kmh)^2 This can change the orientation o...
by buba
Aug 25 2019 7:46am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

honestly, I am not motivated to update. I don't like the logic of emtb ... and the walk assist is fine as it was before. What you would want(?): Motor power = (Pedal torque * pedal cadence * [assist multiplier]) ^ X yes, I'd give it a chance :-) however as I said it is not a big problem for me, I f...
by buba
Aug 25 2019 6:09am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Hi Buba, installed A8, all ok. The debounce on walk assist in now perfect. :wink: Thanks The eMtb was impoved a lot but ,for me, It Is only usabile in certain situation. :thumb: I am very glad to hear that you are happy with the A8, Vadda! Thank YOU! :D And if you do not mind me asking, when is eMT...
by buba
Aug 25 2019 5:56am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Hey all, Enjoying the 20 beta 3. Have a question - if my display is set to Imperial, is EVERY applicable menu item in imperial units? Specifically, is the torque sensor reading in menu 10 in pounds? I was checking my calibration with a digital luggage scale, and it appears to be bang on - if the re...
by buba
Aug 25 2019 5:51am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Sorry Buba because I realise you have put a lot of work in. The mod to the walk assist which means that the bike carries on for another three feet after releasing the button is not acceptable for me. I need the bike to stop as soon as I release the button especially on a route I use which has secti...
by buba
Aug 25 2019 5:47am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Re A8, Sorry Buba because I realise you have put a lot of work in. The mod to the walk assist which means that the bike carries on for another three feet after releasing the button is not acceptable for me. I need the bike to stop as soon as I release the button especially on a route I use which ha...
by buba
Aug 23 2019 9:53am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

btslo wrote:
Aug 23 2019 8:55am
Do I need to reconfigure if I update from beta 7? (Will it wipe the settings?)
It will not wipe anything! Just update and you are set! :)
by buba
Aug 23 2019 9:52am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Alpha 8 is ready for you! Buba, I saw that your tables of for emtb are really big, even more then the ones already existing the previous firmware version (the ones used for the motor controller). Why don't you use the way smaller table of 8 points as I implemented for torque sensor full calibration...
by buba
Aug 23 2019 8:32am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Alpha 8 is ready for you! ------------------------ Here is the wiki (work in progress): https://github.com/OpenSource-EBike-firmware/TSDZ2_wiki/wiki/0.20.0-(DEVELOPMENT)-%7C-KT-LCD3-%7C-TSDZ2-%7C-Manual ------------------------ Here is my Google Drive folder with the Alpha 8: https://drive.google.c...
by buba
Aug 23 2019 8:25am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

emyr666 wrote:
Aug 23 2019 8:10am
When will there be a beta in GitHub so we can get access to the code?
You can already access the source code. And I just pushed the Alpha 8 if you wish to see the latest changes:

https://github.com/leon927/TSDZ2-Smart- ... ng-pwm-acc
by buba
Aug 23 2019 6:08am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Hi Buba, I was reviewing and trying to understand the eMBT code. At the start you define some strings for each level of eMBT assist ... what are these values and how are they used? Hello, Mctubster! Those values are in an array called a lookup table . We use that whenever there is are heavy computa...
by buba
Aug 22 2019 7:45pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Hi Buba, it's possibile to have more filtered values in sub-field where it's show the istantaneous Amp absorbed and fill the First character with a symbol like "A" ? I think it's a good thinks fill, where it's possibile, all the first character of any sub-field to improve readibility. Thanks That i...
by buba
Aug 22 2019 5:47pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

what's the logic of new emtb? Thank's for your hard work! Thank's for your hard work! Thank's for your hard work! Thank's for your hard work! Thank's for your hard work! Thank's for your hard work! Thank's for your hard work! Thank you, thank you and thank you! :) It is the same logic as before and...
by buba
Aug 22 2019 3:34pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Alpha 8 is soon here! Alpha 8 will introduce a better eMTB with more options for sensitivity. At the same time it will be drastically space and speed optimized. That means it takes up less program space and executes faster. So the result is that we will have much more available space in the motor c...
by buba
Aug 22 2019 2:25pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Press the POWER button a little longer on the display when you want to start it up. When you have verified that everything works then you can try to build the .ihx from my branch. Start by checking the SDCC version you have installed: sdcc -v Install the 3.9.0 if you have an earlier version. Let me...
by buba
Aug 22 2019 8:32am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Will take a look and come up with something! +1 :thumb: I think this would be useful as well as its easy to have your fingers bounced of the button for a short time and loose all walk assist when you are needing it most. Just a couple of suggestions for the walk assist, buba please evaluate if this...
by buba
Aug 22 2019 8:31am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

And may I ask how large the average difference is between the right and left pedals when comparing on several bikes? Is there an absolute need to calibrate both sides and have the user always start with the pedals in a certain position? I am thinking that maybe the majority has "good enough" values...
by buba
Aug 22 2019 6:38am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

Speaking of the torque calibration, is it correct for me to look at this branch to get the latest code? This is so I am looking at the latest changes and the finished implementation. Motor controller: https://github.com/OpenSource-EBike-firmware/TSDZ2-Smart-EBike/tree/torque_sensor_calibration Disp...
by buba
Aug 22 2019 6:26am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

1. "In the classic system, each level of assistance provides a certain power calculated as a percentage of the power delivered by the cyclist. For example, the Tour level provides 120%; this means that if the cyclist pushes to 100W, the engine delivers another 120; if the cyclist pushes 200W, the e...
by buba
Aug 22 2019 6:19am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

First try installing the Alpha 7 from my Google Drive: https://drive.google.com/open?id=1CPGT-V1ZX7FCzfhgbrPMYfbYtY4_JH2R Press the POWER button a little longer on the display when you want to start it up. When you have verified that everything works then you can try to build the .ihx from my branc...
by buba
Aug 22 2019 6:10am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

For me Buba the greatest thing you have achieved with version 20 is to make it possible to go back to the blue gear again. The power is still there but is now delivered in a controlled manner. A couple of hundred miles of testing has given me the confidence to take the metal gear out and put the pl...
by buba
Aug 22 2019 5:52am
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

With the new mode Bosch e-mtb instead the logic of operation is very different. In a simple stretch, when the cyclist pushes little, his power is multiplied to 120%. When it is pushing to the maximum, its power is multiplied to 300%. With all the gradations between one extreme and the other. It's l...
by buba
Aug 21 2019 7:17pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

in practice in an extremely simplified way: 1) normal mode Motor power =uman_torque* multiplier 2) emtb Motor power=uman_torque (multiplier*uman_torque) As the pressure on the pedals increases, the power multiplier grows. Obvious extremely simplified! What might not be so obvious is that the "power...
by buba
Aug 21 2019 7:09pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

A (translated) description of the emtb bosch system. It seems very clear but different from what you want to get on the tsdz2 or as usual I didn't understand ... :-( "In the classic system, each level of assistance provides a certain power calculated as a percentage of the power delivered by the cy...
by buba
Aug 21 2019 6:53pm
Forum: Motor Technology
Topic: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor
Replies: 3461
Views: 159111

Re: TSDZ2 mid drive -- Flexible OpenSource firmware for TongSheng TSDZ2 mid drive motor

I build the hex from the code, leon's branch with release.bat. Motor flash is ok. On LCD i get Adress XXXX is out of range and will be ignored! I am using SM8 x6 to write. Any ideas? Also tryed to flash the *.ihx files alpha7 from the google drive. The LCD does not boot at all. I am using ST visual...