Roadster Conversion to J1772
Last Updated June 22, 2011
We are converting our Tesla Roadster to use the J1772 standard inlet. The Roadster was produced before the standard was established, so has a different physical connector. The electrical protocol for the "pilot" signal is the same, so it would seem to be a simple matter of just replacing the physical connection device.
Except... the J1772 standard uses a "proximity switch" to alert the car when it's about to be unplugged. When this happens, the car has a very brief amount of time to stop pulling power. If the car is continuing to pull power when it is unplugged, it can cause arcing and potentially damage the contacts. The original Tesla connector solves this problem by cutting the pilot signal when the connector is unlatched, so the Roadster detects the loss of the pilot signal as a trigger to stop charging.
We have successfully converted the car to use a J1772 inlet and have charged from numerous J1772 stations. Each time, we're careful to stop charging manually (at either the station or on the car's touch screen), but we'd like a more robust solution so that we don't risk damage if someone else unplugs the car.
Goal: Use the J1772 proximity signal to detect when the car is about to be unplugged, and cut the pilot signal.
The Process / States
Here's a summary of the changes that happen to various signals during the charging process.
Powering our device
We decided to get power from the EVSE. When the car is charging, we can tap into the 120 V or 240 V supply to power our device. But, when we're first plugging in, there is no power available. It doesn't appear until the car asks for it, and the car needs the pilot signal in order to do this.
This means that we need to be sure that the pilot signal is always passed through when we don't have power.
Handling the Pilot Signal
We're using a Form B relay. The two pilot signal wires will be connected to its outputs. This will let the pilot signal through when our circuit is disabled (no-power state until the car starts charging). When the proximity switch is opened, we'll energize the relay, which will result in the output being disabled, cutting the pilot signal.
When the pilot signal is interrupted, the Roadster will know to stop charging. Also, since the car's diode and resistors have been removed from the pilot circuit, the EVSE will interpret this to mean that the car has been disconnected. Both of these conditions will trigger current to stop flowing in the charge circuit.
But, when the EVSE cuts power, our circuit loses power, too!
Maintaining Power after Disconnect
After we lose power from the 120/240 V supply, we still need to power the relay circuit for a brief period in order to keep the relay open (pilot signal interrupted) while the connector is fully removed. We're using a capacitor to provide this power.
When the proximity switch is opened, the voltage measured on the proximity signal will rise. We detect this with a comparator (using an internal reference voltage and a nice wide hysteresis band) and use the output from the comparator as an input to the relay.
Here's the board:
We tested it with an oscilloscope to ensure that it was reacting as we expected.
We were hoping that at startup, the output from the comparator (pink) would closely
match the input supply (yellow). If the comparator didn't supply a high enough output,
it would trigger the relay and interrupt the pilot signal. The results were beautiful,
including a nice steady connection through the relay (shown by the green trace).
The blue trace is the proximity switch voltage.
This screen shows the result when the J1772 connector's latch is pressed. The blue trace shows the
proximity switch voltage changing when the switch is opened. It's just under 2 ms before the
comparator (pink) reacts, which it does with a nice sharp change, and then only about 200 μs
until the relay has opened (shown by the change in the green trace).
After we were satisfied that the circuit was working as intended, we hooked it up to the
car and EVSE. It started charging just fine, and stopped when we pressed the release button on the
|©2000-2016 Idle Loop Software Design, LLC. You may not copy or reproduce any content from this site without our consent.|