casainho said:So I would say there is a short circuit on the motor coils or on the 3 motor phase wires. Disconnect the phase wires from the motor controller and test again. The motor will resist to turn by hand while it is in short circuit.hefest said:Another thing, motor is resisting pushing the bike back (when unpowered).
You could subtract 30 and then divide by 2. So 87 Fahrenheit becomes 28 centigrade. Decent approximation especially given the circumstances.casainho said:No.Jonesm32 said:Does anyone know if it is possible to display imperial units for distance (miles, MPH etc) whilst also displaying temperature in degrees C. These are the preferred units here in UK. I cant get my head around the Fahrenheit scale any more. Thanks
Make a pull request and let´s discuss there the details of the implementation. I will accept the pull request as long it follows current logic of the firmware, I mean it can not be a quick hack but instead a structured implementation.James Broadhurst said:You could subtract 30 and then divide by 2. So 87 Fahrenheit becomes 28 centigrade. Decent approximation especially given the circumstances.casainho said:No.Jonesm32 said:Does anyone know if it is possible to display imperial units for distance (miles, MPH etc) whilst also displaying temperature in degrees C. These are the preferred units here in UK. I cant get my head around the Fahrenheit scale any more. Thanks
I need to write about this. I consider the firmware is mostly finished by now and so it is a good time to write about all this.izeman said:Could someone please give me the info about higher cadence software? I read it once but can't find it anymore.
And what's the reason to stop motor power at 90rpm? That's too low for my finding. If you do a fast downhill you can pedal much faster, and same goes for very slow uphill in lowest gear.
Is it a controller limitation or a personal deciscion do it that way?
Thanks
Is this a new installation or after a firmware update?AZUR said:Hi,
Error brakes.jpg
I can´t solve "Error Brakes" in the start up.
Any ideas?
Regards
casainho said:Is this a new installation or after a firmware update?AZUR said:Hi,
Error brakes.jpg
I can´t solve "Error Brakes" in the start up.
Any ideas?
Regards
Thanks for elaborating the topic in this depth.casainho said:I need to write about this. I consider the firmware is mostly finished by now and so it is a good time to write about all this.
cadence 90 RPM = 512 motor ERPS / 4000 RPM (motor RPM nominal value)
1. the motor itself, should achieve the 512 motor ERPS (cadence 90 RPM) at 48V battery voltage but without providing torque... motor torque is max at startup and 0 at the 512 ERPS, considering a battery voltage equal to motor voltage.
Brakes error means there is no communication from the TSDZ2 controller to display, can be for various reasons but once installation is done and ok, the problem is mostly probably because brakes are pressed at startup.And last time I use the bike the battery went down to the empty state. No motor power on. And after this, with the battery full, I think the display did not communicate with the motor because after power up the screen stayed in the same screen I sent today. There was no error message because was 0.6.5 release.
No controller failures!! Only during development.AZUR said:The problem is with controller. The same display on the other bike works. With other display the controller doesn´t work also.
Maybe the problem, I had last time with this bike, was the controller. Also it was not easy to download, this time, the firmware in the controller.
I thought the problem was the battery became empty and the motor shut down. But maybe it was not the case. It was the first time I use the battery. It was a new one.
Casainho, did you have any controller failure during a ride? Its very strange.
Yes and what now? what is needed is developers to implement the step 1., 2. and 3. Because I think we can divide the problem in this 3 steps and get value even if is possible only the first or second steps.izeman said:I assume, and you wrote it, CPU seems limited with this controller, but I think field wakening is the only way to go to get support at higher cadence. 90 is a good rpm for long time pedaling, but as mentioned it can be much higher for shorter periods. The other advantage is, that you can gear the bike lower, being able to climb higher mountains, and still get higher top speed if you pedal faster.
Did I sum it up correctly?
Just wanted to be sure to understand the issue and sum it up correctlycasainho said:Yes and what now? what is needed is developers to implement the step 1., 2. and 3. Because I think we can divide the problem in this 3 steps and get value even if is possible only the first or second steps.izeman said:I assume, and you wrote it, CPU seems limited with this controller, but I think field wakening is the only way to go to get support at higher cadence. 90 is a good rpm for long time pedaling, but as mentioned it can be much higher for shorter periods. The other advantage is, that you can gear the bike lower, being able to climb higher mountains, and still get higher top speed if you pedal faster.
Did I sum it up correctly?
volatile uint16_t ui16_adc_pedal_torque_offset = 25;
Ok I understand. So that is why I want to explain this on the wiki and that is why was important for me to implement the visualization on the graph of the technical variables like motor ERPS speed, PWM value, battery current, motor current, motor FOC angle, etc and also the threshold values that changes the graph color gradient from regular blue to yellow and finally to red.izeman said:Just wanted to be sure to understand the issue and sum it up correctlyI always can handle a situation much better if i know the underlying reasons. That's all ...
You need to do a better work on explaining other way you are not helping.maximusdm said:Hello,
I installed a new torque sensor. I calibrated it but if I set it around 110, the standby value is increasing steady in use until it reaches max torque sensor value or the range is max 30 units. In this case the motor no longer engages.
I managed to make the value stable but the value on standby is 35.
The good part is that the torque range/resolution is huge (240 units).
The not so good part is that the software only supports values above 100 on standby and I get ERROR.
Seems you did an ugly hack, that you are doing things without really understand them, why do you expect them to work??maximusdm said:I tried to understand how the torque sensor soft operates and I manged to fix the error by modifying the offset from 100.
The error is no longer present and I am able to get 700w+ on hard pedal press. The problem now is that I am getting very little assistance between 35-100 units. In can no longer use high cadence because the torque value is too low and motor is almost not engaged. After 100 it works excellent.Code:volatile uint16_t ui16_adc_pedal_torque_offset = 25;
Does the software has some limitation on values lower of torque? Any idea what can I do to fix this?
I will rephrase. Let me know if you require more info.casainho said:In sum, you need to give way more details of any issue you found so it can help me to understand and together we can workout a solution.
casainho said:I need to write about this. I consider the firmware is mostly finished by now and so it is a good time to write about all this.
cadence 90 RPM = 512 motor ERPS / 4000 RPM (motor RPM nominal value) ...
I know that you should install our OpenSource firmware and discuss here only the issues with it. For other firmwares, use their specific threads or create a specific one.maximusdm said:I will rephrase. Let me know if you require more info.casainho said:In sum, you need to give way more details of any issue you found so it can help me to understand and together we can workout a solution.
Torque sensor read idle is 35 units. With the unmodified software I get 2- torque sensor error and the motor is not operating.
In the calibration guide you made, you say that the idle value must be around 110. This was not possible in my case. As you know, 2 sensors are never the same or can be calibrated in same manner.
What can I do to make it work in this case?
That mode is kind of a hack to make 1. and 2., as also kind of 3., by not making the motor phase voltage signals with the minimum quality recommended (so probably using some more energy) and also keep the motor always working with less torque but higher speed and so less optimized in efficiency.ilu said:casainho said:I need to write about this. I consider the firmware is mostly finished by now and so it is a good time to write about all this.
cadence 90 RPM = 512 motor ERPS / 4000 RPM (motor RPM nominal value) ...
Could you also explain what the "experimental high cadence mode" in current firmware does regarding the cadence limit?