Hi Bill and thanks for the continued feedback:
OK good to know. I've increased the noise bounds even 50% farther in the current build, and we'll see if this eliminates it entirely for you.
Whoopsy, I'm glad you pointed this out since I only ever glanced at my wh/km screen after travelling a certain distance when the numbers were all stable. This turns out to be just a single typo in one line of code which has been fixed.
The actual threshold would be at 83.88 watt-hours (2^23)
In the end I'm thinking of having thermal rollback moved entirely to the power limit, rather than doing both amps and power, but this is a low priority switch over.
This might have been mentioned before but can you clarify if you have your ebrake circuit going both to the Cycle Analyst and the regen motor controller, or just to the CA3, or just to the controller?
I have experienced the issue where if you are pedaling while slowing down with regen, then you stop pedaling and then release the ebrakes at the same time, there will be a short power burst because the pedal stopping hasn't fully registered in the CA3 yet, so it's assuming that you are still pedaling and doing what it should do (pedaling, and no ebrakes, let's power!). If you increase the value of the StopRPM Threshold, then the CA will be quicker to respond to the pedals no longer turning and this effect will be reduced.
I've got a few ideas for a clean way to eliminate this glitch and once I play with that and confirm it then I'll have a firmware to share that should address your points 1,2, and 4.
mrbill said:1) The unbidden appearance of the AuxLevel screen when in regen still occasionally occurs, but it is now much less frequent. Maybe 1 out of 20 instances where with Prelim8 it occurred in 1 out of 3 instances. This problem is now a trifling nuisance, but I felt I should mention it as the problem has not entirely disappeared.
OK good to know. I've increased the noise bounds even 50% farther in the current build, and we'll see if this eliminates it entirely for you.
2) During the first regen (while the controller's e-brake switch is closed and current is flowing into the battery) the wh/mi display goes crazy, showing a random selection of positive and negative numbers, then as the ride progresses, the display eventually settles down to a reasonable figure.
Whoopsy, I'm glad you pointed this out since I only ever glanced at my wh/km screen after travelling a certain distance when the numbers were all stable. This turns out to be just a single typo in one line of code which has been fixed.
After riding more with Prelim9 I see that wh/mi remains zero in the absence of any regen until somewhere between 80 and 100 watt-hours consumed. At some point that I have not yet been able to observe--I do need to keep my eyes on the road some of the time--the wh/mi display jumps from 0.0 to a reasonable value.
The actual threshold would be at 83.88 watt-hours (2^23)
3) Thermal rollback is only current- and not current- or power-based.
In the end I'm thinking of having thermal rollback moved entirely to the power limit, rather than doing both amps and power, but this is a low priority switch over.
4) I observe a brief and disconcerting surge of full-throttle (750 watts, in this case) upon coming out of regen mode (controller's e-brake circuit changing state from "closed" to "open") while pedaling while in PAS throttle mode when the PAS Watts is adjusted to a modest value like 200 watts. This might occur as I approach a red light that will soon change to green as I continue to soft-pedal while using regen to reduce speed. The light turns green, I release the regen button (open the controller's e-brake circuit), and motor spins up to PAS Watts or it does following the brief surge. If I stop pedaling while in regen, release the regen button, then resume pedaling there is no surge.
This might have been mentioned before but can you clarify if you have your ebrake circuit going both to the Cycle Analyst and the regen motor controller, or just to the CA3, or just to the controller?
I have experienced the issue where if you are pedaling while slowing down with regen, then you stop pedaling and then release the ebrakes at the same time, there will be a short power burst because the pedal stopping hasn't fully registered in the CA3 yet, so it's assuming that you are still pedaling and doing what it should do (pedaling, and no ebrakes, let's power!). If you increase the value of the StopRPM Threshold, then the CA will be quicker to respond to the pedals no longer turning and this effect will be reduced.
I've got a few ideas for a clean way to eliminate this glitch and once I play with that and confirm it then I'll have a firmware to share that should address your points 1,2, and 4.