I would have bet a month' salary on that reply


I would have bet a month' salary on that reply
I know they're not a legal requirement, but I was just pointing out that some people might feel a bit safer riding if they can kill the motor by pulling on the brake levers at any time.izeman wrote: ↑Jun 01 2020 10:52amBrake sensors are not a legal thing. Never heard of an obligation to have them anywhere around the world.HughF wrote: ↑Jun 01 2020 10:43amPeople say you must have brake sensors, personally I think it's fine to just hold the bike on the brakes and rest a little pressure on the pedal*, no different to a hill start in a manual transmission car. You soon get used to the behaviour. I'll go on record and say I don't have brake sensors installed.
*not a lawyer, you might want brake sensors if it makes you feel happier on the bike
Brake sensors are RECOMMENDED to save your motor, especially the blue gear. If you break hard and the motor doesn't "realize" that (hence brake sensor read out) then it could still run full power into a non moving bike and this puts a lot of stress on the motor components.
Especially for the "awop" mode: Imagine waiting at the red light with your foot on one pedal to start off and you hold the bike with the breaks (without brake sensors): The motor will engage all the time trying to push the bike forward - very bad idea
lol...
First read it and then post your questions about the battery configurations. Let's try to improve the wiki for new users.
If you mean by "configuration page" this page https://github.com/OpenSource-EBike-fir ... ons_screen, it says NOTHING about the issue I see. And if it may hide inside the SOC menu, then, well, it's broken as others have stated before.casainho wrote: ↑Jun 01 2020 11:05amFirst read it and then post your questions about the battery configurations. Let's try to improve the wiki for new users.
To find what you are looking for, you can:
Casainho, I don't want to rude, but this still isn't helpful. Believe me, I am quite sure I know 99.5% of all pages on github/wiki, but I don't find anything about my issue. It may be easy for you as you wrote that stuff, but RTFM is NOT the answer to all support questions.
izeman wrote: ↑Jun 01 2020 10:44amSince I upgraded to 1.0 there are "slight" differences between what my BMS knows about SOC and what 850C THINKS about the battery.
I don't know where this comes from. The battery is set to 14S, but even at 16S it shows 90%+ which obviously is completely wrong. The LVC is set to 42V (3.0V per cell) . I haven't found anything about battery calibration.
The TOC has 2 entries for topics about the battery and battery SOC configuration:izeman wrote: ↑Jun 01 2020 11:26amCasainho, I don't want to rude, but this still isn't helpful. Believe me, I am quite sure I know 99.5% of all pages on github/wiki, but I don't find anything about my issue. It may be easy for you as you wrote that stuff, but RTFM is NOT the answer to all support questions.
TOC doesn't give a hint, and ah yes: NOW i see it: Under support there is link to this forum!! And now I'm here
No really, just let me know if I should stop posting here, and stop reporting issues and feedback, or tell me where my issue and the solution is decribed.
HiAZUR wrote: ↑May 31 2020 12:02pmvshitikov wrote: ↑May 17 2020 1:35pmTry to reflash option bytes that most probably also got corrupted you can download them from eco cycles for your motor. Then reflash casainho firmware again.AZUR wrote: ↑May 17 2020 9:13amHi,
The first thing I did was to re-install FW through STLink. It was difficult to download from FW, it gave an error many times, but after several attempts I managed to download. But it did not work. The display did not communicate with the controller. I replaced the controller and everything was ok.
Hi Vshitikov
You were right. The problem was not with the controller.
Therefore, the fact of having a battery with 15S and 63 V did not affect the capacitors of the controller.
I am using ST Link.
In fact the Option Bytes were corrupted in the Controller and the FW of the Casainho does not contain the Option Bytes.
That is why the controller did not work, even with the FW ok.
I went to a controller that had the correct Option bytes and loaded them into the ST Virtual Programmer.
Then, first I loaded the correct Option Bytes in the Controller and then I loaded the FW from Casainho.
Everything was working perfectly.
Thank you.
Maybe a specific page with explanation of the sysptoms, why that happens and the solution. That page could be linked both from configurations battery cut off voltage and FAQ.
So can someone confirm that what I suspect is true? Am I just too stupid to understand how this works? Or have I really not read every single wiki's article?izeman wrote: ↑Jun 01 2020 1:01pmDid you read my whole post and other's? Opening SOC sub menu leads to a crash. And still i don't see what needs to be setup to avoid my problem.
I can set Wh used and reset voltage. And those values have been set before.
So the only thing i can imagine (as it's not described elsewhere) is that you need to fully charge the battery to get a valid SOC reading??? I would have thought it also takes Voltage into the calculation. At 3V/cell i would have considered any Lithium battery empty.
I will do. I first need to understand how to do it properly. Do I fork the wiki and create a pull request for wiki just like for a code?
you need to find a sweet spot to reset the battery state to 100%. For example fo my 36V battery it is around 42.5V. It is approximate and really depends on the battery configuration,age of the battery (internal resistance) and the temperature.izeman wrote: ↑Jun 01 2020 3:30pmSo can someone confirm that what I suspect is true? Am I just too stupid to understand how this works? Or have I really not read every single wiki's article?izeman wrote: ↑Jun 01 2020 1:01pmDid you read my whole post and other's? Opening SOC sub menu leads to a crash. And still i don't see what needs to be setup to avoid my problem.
I can set Wh used and reset voltage. And those values have been set before.
So the only thing i can imagine (as it's not described elsewhere) is that you need to fully charge the battery to get a valid SOC reading??? I would have thought it also takes Voltage into the calculation. At 3V/cell i would have considered any Lithium battery empty.
Will the SOC be reset to 100% at a full charge only, and does not take voltage into calculation at all?
So after every upgrade of the software you first need to do a full recharge to "re-calibrate" SOC?
Well, a brass gear is not that of a great idea. Blue gear is not a problem but a feature. If you disassemble expensive Bosch CX motors you will still find a nylon gear inside. If you change your blue gear by brass, you might destroy something more expensive inside of the motor, like a clutch bearing or things that are harder to replace.HughF wrote: ↑Jun 01 2020 11:04amI know they're not a legal requirement, but I was just pointing out that some people might feel a bit safer riding if they can kill the motor by pulling on the brake levers at any time.izeman wrote: ↑Jun 01 2020 10:52amBrake sensors are not a legal thing. Never heard of an obligation to have them anywhere around the world.HughF wrote: ↑Jun 01 2020 10:43amPeople say you must have brake sensors, personally I think it's fine to just hold the bike on the brakes and rest a little pressure on the pedal*, no different to a hill start in a manual transmission car. You soon get used to the behaviour. I'll go on record and say I don't have brake sensors installed.
*not a lawyer, you might want brake sensors if it makes you feel happier on the bike
Brake sensors are RECOMMENDED to save your motor, especially the blue gear. If you break hard and the motor doesn't "realize" that (hence brake sensor read out) then it could still run full power into a non moving bike and this puts a lot of stress on the motor components.
Especially for the "awop" mode: Imagine waiting at the red light with your foot on one pedal to start off and you hold the bike with the breaks (without brake sensors): The motor will engage all the time trying to push the bike forward - very bad idea
As for awop mode killing the blue gear, the most motor power I have ever seen when resting my foot on the pedal and holding the motor on the brake is about 30w according to the motor power display on the SW102. If you hold it for too long it errors out with a torque sensor error anyway, so I don't think there is a problem with possible blue gear destruction. Besides, everyone should expect to be running a brass gear after a while anyway![]()
Thank you, I swapped to these settings tonight. I also found out that I have the alpha version, but i have the firmware install cables on the way so hopefully I can get it done this weekend!!HughF wrote: ↑Jun 01 2020 10:43amAssist without pedal rotation - exactly that. You just rest your foot on the pedal and the motor starts you moving. This is exactly what 90% of people are expecting from a pedelec style eBike (my guess) but it must be enabled on a tsdz2 because of the cadence sensor lower rpm limit. Without it, and with motor current control set to 'power' mode, you will need 2-3 or perhaps more pedal rotations before the assist cuts in (which I wager is not what people are expecting from a pedelec eBike)
People say you must have brake sensors, personally I think it's fine to just hold the bike on the brakes and rest a little pressure on the pedal*, no different to a hill start in a manual transmission car. You soon get used to the behaviour. I'll go on record and say I don't have brake sensors installed.
*not a lawyer, you might want brake sensors if it makes you feel happier on the bike
For the best hill start performance I would setup as the following:
Motor current control = torque
Assist w/o pedal = enable
Startup BOOST = disable
Startup BOOST duration = 5
Startup BOOST fade = 6.5
Motor current ramp = 10a (maximum)
Calibrate your torque sensor then enable calibrations
Motor current max = 20a
Thanks vshitikov, this was the reply i was hoping for. No words about that in the wiki. But it makes sense once you know it.vshitikov wrote: ↑Jun 01 2020 3:36pmyou need to find a sweet spot to reset the battery state to 100%. For example fo my 36V battery it is around 42.5V. It is approximate and really depends on the battery configuration,age of the battery (internal resistance) and the temperature.
Once battery is reset to 100% the FW starts to calculate the amount of Wh that you consumed based on the voltage and measured battery current. If you upgrade your diplay firmware it wipes out all the stored information in EEPROM so you have to charge it fully again to make it work. and you have to set battery OCV again for your exact battery model
Yes, go ahead and improve the information that could help you and then it will help the next ones.izeman wrote: ↑Jun 02 2020 2:19amThanks vshitikov, this was the reply i was hoping for. No words about that in the wiki. But it makes sense once you know it.vshitikov wrote: ↑Jun 01 2020 3:36pmyou need to find a sweet spot to reset the battery state to 100%. For example fo my 36V battery it is around 42.5V. It is approximate and really depends on the battery configuration,age of the battery (internal resistance) and the temperature.
Once battery is reset to 100% the FW starts to calculate the amount of Wh that you consumed based on the voltage and measured battery current. If you upgrade your diplay firmware it wipes out all the stored information in EEPROM so you have to charge it fully again to make it work. and you have to set battery OCV again for your exact battery model
Maybe this should be added to the configuration wiki as well?
I'm just doing it. One more question: Does the firmware build an internal table to compare voltage and SOC once it's done one full cycle? Or do you need to always recharge it to reset to counter and set SOC to 100%? What I mean: Will the SOC% be accurate even if i only charge, let's say from 20% to 70% (after the initial charge/discharge)? I guess so?!
I don't think it will be accurate. The firmware waits till the voltage crosses the threshold, that you have configured, to reset the gauge to 100%. If you didn't reach the threshold while charging the firmware will keep substracting Watt hours and will show 0%. So you must recharge it fully to reset the counter. If you don't want to fully recharge the battery - say 90%, you may set your threshold lower so it resets while charged to 90%.izeman wrote: ↑Jun 02 2020 2:33amI'm just doing it. One more question: Does the firmware build an internal table to compare voltage and SOC once it's done one full cycle? Or do you need to always recharge it to reset to counter and set SOC to 100%? What I mean: Will the SOC% be accurate even if i only charge, let's say from 20% to 70% (after the initial charge/discharge)? I guess so?!
There is only one SOC counter, that get´s reset only when you fully charge the battery - this is the concept. You can see the value of that counter on configurations and set any value if you prefer, like 0 effectively reset it.izeman wrote: ↑Jun 02 2020 2:33amI'm just doing it. One more question: Does the firmware build an internal table to compare voltage and SOC once it's done one full cycle? Or do you need to always recharge it to reset to counter and set SOC to 100%? What I mean: Will the SOC% be accurate even if i only charge, let's say from 20% to 70% (after the initial charge/discharge)? I guess so?!
If that really is the case, then i'd call it useless (for my application). For battery life, I very seldemly charge to 100% (or even 90%). I try to keep my SOC at 50% and then top up a little and only fully charge if i'm unsure about the needed capacity.
Yes for you the current implementation will be inaccurate. As you said the best for you is to keep eye on the battery voltage and have a rough estimate. This is what your internal BMS is doing anyways. There is no way to estimate state of charge without putting sophisticated BMS inside of the battery with Microcontroller and EEPROM and allways keep track of charges discharges. This is not possible in current implementation where people using their own batteries.izeman wrote: ↑Jun 02 2020 2:54amIf that really is the case, then i'd call it useless (for my application). For battery life, I very seldemly charge to 100% (or even 90%). I try to keep my SOC at 50% and then top up a little and only fully charge if i'm unsure about the needed capacity.
Building an internal table that relates every (loaded) voltage to a specific SOC would at least give a very good estimate, that would need recalibration every now and then.
Let's say you have entered a 1000Wh battery, and 60V 100% SOC, with a LVC of 42V. And as you count Wh, note the voltage at 100Wh used (90%), then 200Wh (80%) used etc.
I know this is very simplified and getting the exact voltage is difficult, but you would get at least a rough guess. Showing a 80% charged battery as EMPTY, just because you didn't charge over the threshold??
Or if nothing else you could use predefined discharge curves for li-ion, li-fepo4, li-mn etc and rely on unloaded voltage only (still for a rought guess)