This morning, before heading out to work, I rewired the Borg. The Magura throttle adapter pc board was removed, a plug with a 470 ohm resistor on the +5 side to the pot installed (so an open ground can be sensed and shutdown the power) and the throttle routed to the Cycle Analyst V3. On the other end, an adapter was prepared that intercepted the throttle output from the CA-DP plug and routed it to the Controller's throttle input. This is necessary for motor controllers that have the V2 type diode-coupled override type input (newer controllers have a different arrangement and can accept throttle from the CA-DP cable directly).
I programmed the CAv3 for the input throttle voltage range (0 to 4.5 volts) and the throttle overvoltage (4.7). The output voltage range defaults were about right, so they were not changed and a quick test showed that throttle-through mode worked, and we had basically the same PWM type throttle as before. Then I enabled the current control throttle (at 40 amps) with speed (at twenty-something) limit. I used the default feedback parameters to start with.
I did a couple of wheel-off-the-ground tests, and then, wearing safety gear, did some street testing. All seemed well, so I suited up and headed to work, about an hour late.
All I can say is that I should have done this a long time ago. It has been on my list, but early on I didn't want to try beta code on the 24 FET controller. Now I'm on the 12 FET which is a better power level to test at, and the CAv3 code is very stable, the 3.0 prelim 6 release has been out and tested for a long time. So both of my excuses are voided. With good stable code even the 24 FET will not be a problem.
So now I have a very gentle torque-type throttle (battery current is not quite torque, but it is similar in effect, just some scaling differences), and have an easily adjustable speed limit without setting up the laptop to mess with the controller. It is much easier on the wrist (not extra-sensitive to small changes). It is also easier on the motor and dropouts to avoid those surges of acceleration that are fun but hard on equipment. Of course you can reprogram for through-throttle in a moment, and get back to what you had before, so there are lots of options and it puts you in control of how the system responds.
I can feel the throttle feedback loops occasionally, such as when letting off the throttle sensing a very slight delay before power drops or when it hits the speed limit and overshoots slightly, but it is not a problem. Tuning the loop parameters can improve this, but it is not even necessary. They have chosen good default values.
Riding the CroBorg now feels a bit more like the Zero Motorcycle I test drove. Gentle throttle with mild acceleration at low throttle settings, but hidden behind that is a lot of power when the throttle is opened wide. Nice and smooth. Controllable. Can't wait to try it on the 24 FET controller!
If you haven't tried a Cycle Analyst version 3, consider it. It is a nice upgrade. It has a lot more features I'm not even using yet!
Good job Justin!!