Control System
Now that we’ve talked about how the electrical system is supposed to go together from a power perspective, I wanted to touch on my specific system and how the control signals for the throttle and motor are connected to my motor controller.
I started out building the system on my workbench. Below, you can see the contactor (black box on the white paper) hooked up to the batteries (yellow) with a keyed ignition switch. Attached to one of the terminals of the contactor is a fuse (white cylinder). Here, I was purely testing out the functionality of the contactor along with the ignition switch.
In addition to all of the main electrical power setup that I detailed in my previous post, the control signals need to be hooked up to the motor controller as well. For my Kelly KEB72601 controller, everything connects using a “J2″ plug. From the Kelly manual, the pinout for the connector is:
The wiring diagram for how to use these pins from the manual is below:
Interpreting the wiring diagram above, the important pins for base level functionality (no regenerative breaking) are:Â
1 (power from the battery, mentioned in previous post)
2 (ground, used for the throttle)
5 (0-5V signal coming from the throttle)
7 (5V output for the throttle and the motor sensors)
11, 12, and 13 (Hall effect sensors from the motor)
14 (ground for the motor sensors)
Below is a beautiful blurry photo of the J2 connector (metal cylinder below the socket wrench with a mess of wires coming out from it) as I crimped on some small connectors to the end of the wires noted above for quick connect/disconnect to the motor sensors and to the throttle.
Connecting the Throttle
The throttle I selected was a 3-wire potentiometer throttle. The idea here is that you send a ground (0V) and high (5V) signal on two wires, and the output wire will sweep from 0-5V based on the throttle position. At rest, the throttle will output 0V, and at wide-open throttle (WOT), the throttle will output 5V. So, pin 7 connects to the max throttle wire (5V), pin 2 connects to the resting voltage wire (0V), and pin 5 connects to the sweeping output voltage wire of the throttle.
For my specific throttle, I purchased a Magura throttle from Electric Motorsport. You shouldn’t. Their “documentation” was not super clear, but more importantly the throttle I received simply didn’t work. I thought I had made a mistake wiring the system when it didn’t work, but in fact the maximum voltage the throttle out out was so low that the motor controller didn’t even register it. Fortunately, I had another throttle from the XM Chinese scooter I had dismantled earlier and was able to use to that instead. Below is a video of me trying out the Magura throttle and nothing happening :(
Once I wired of the functional throttle, I was able to test out the wiring of my motor sensors...
Connecting the Motor Sensors
For brushless motors, there are Hall effect sensors in the motor that detect the current position of the rotor (spinning part). This provides the motor controller with the information it needs such that in can send the right power signals at the right time to the electromagnets on the stator (stationary part). These 3 Hall effect sensors will have output wires running from the motor to be connected to the controller, in this case pins 11, 12, and 13 of the J2 connector. You will also need to run power (pin 7) and ground (pin 14) to the appropriate wires coming from the motor. In the case of my motor, there was a diagram that indicated the different pins on a connector coming from the motor -- 3 Hall sensors, power, and ground. The diagram for my motor wasn’t super clear on the order (A, B, C) of the Hall effect sensors, and the diagram Kelly had for my motor confused the issue some more. I actually ended up trying all combinations of Hall sensor inputs to my controller in order to determine what setup actually worked. Below is a shot of the white board in my garage. In the bottom right corner, you can see the table I made for each combination of wires (letters indicated the color of wires I was connecting to one another). The starred line is was the one that worked best and that I went with going forward.
Up next, I’ll talk about putting the system on the Sachs frame and testing it out!













