mrbill said:
As I mentioned a few posts above, I was able to get the throttle to respond. But I still have a few problems for which I cannot yet find a solution.
1) The motor remains inactive until throttle voltage reaches about 2.7 volts. Then the motor suddenly spins up to one power level and then latches at that level no matter how high throttle voltage goes until throttle voltage drops below about 2.0 volts. I cannot vary torque (when wheel is under load), just one "on" state, and "off". When under load the motor draws 75 watts and no more. If I increase Kp I can get about 250 watts under load, but then the motor coughs a bit as the RPM deceases.
2) I have the throttle wired through the eBrake circuit (Pin 6) and have left Pin 7 floating as in Justin's photo of the large MX150 connector wiring. Do I need to wire the throttle in parallel to Pin 7 so that I the throttle parameters I have set are in effect?
3) At 50 volts I should be able to spin the motor up to almost 7000 RPM, but at no load I have not seen more than 2700 RPM, and this decreases when I place the motor under load. Why is RPM limited?
4) The controller appears to lock up the motor to prevent backward spinning. Since I'm starting out by installing this controller on a mid-drive, I'd like to disable this function so that I can roll the bike backwards. How can I do this?
I solved issue (3) and part of (1). I had my "Gear ratio" in Motor Nameplate Ratings set to 1:1. I changed it to 30:1, and in the Vehicle pane I set the wheel diameter to 650mm and the maximum speed to 99 km/hr, allowing the motor to spin as fast as it wants. I want the ASI controller to function just like a dumb Infineon (Grinfineon, Lyen, etc.) so I can continue to do all limiting from the CAV3.
I can now spin the motor up to 6500 RPM, which is the maximum given the half-charged voltage of my battery. I also confirmed that the motor can draw 2000 watts under load and runs smoothly at that power. So, I think the motor is tuned OK. "Maximum Field Weakening current" in the Advanced Motor tab, is 0%.
Although my Throttle sensor source is the eBrake circuit (Pin 6), I still cannot get the throttle to function as anything other than as binary on/off. Even at partial throttle, the motor spins up as if the throttle is pegged, and it does so when the eBrake signal crosses about 2.7 volts. Then it continues to spin until throttle voltage drops below 2.0 volts. My throttle voltage range as set in the Throttle pane is 1.15v to 3.5v.
I cannot find a setting in BACDoor that configures the throttle to function as a speed throttle instead of a torque throttle.
I also tested a couple of configuration changes (e.g. setting engine braking torque to 0%, disabling analog braking in the Features bitmap, and increasing "vehicle jog speed2" in the Anti-Theft tab--) so that I could roll the bike backwards. None of these changes worked, neither singly nor in combination. The motor appears to be locked when not driving.
So, I have two remaining issues before I can use this controller:
1) How do I get throttle function over the voltage range I set in BACDoor and not as an on/off switch?
I was about to try wiring Pin 6 (eBrake) in parallel with Pin 7 (throttle), something that is NOT shown in Justin's wiring photo, but before I try that I thought I'd ask if anyone else had found a software solution. As a bonus I'd like to find a way to configure the throttle as a speed throttle, but if I can get the throttle to adjust torque linearly I can probably manage with the latter as the throttle signal sent from the CAV3 is essentially managing torque by adjusting throttle to a set amount of power drawn from the battery.
2) How do I get the BAC2000 to release the motor and allow it to spin passively at low speed when the system is idle but powered so that I can walk the bike backward? (Since this is a mid-drive, the bike can be walked forward without any resistance due to the rear wheel freewheel mechanism.)
I have attached my latest XML file.