Welcome~深圳市芯橙科技有限公司
Language: 中文版 ∷  英文版

NEWS

How to do the CP circuit of the charging pile motherboard: PWM generation, amplitude detection, diode/resistor status recognition?

The CP circuit is a communication channel between the communication station and the vehicle, with three core functions: converting MCU instructions into standard signals, reading back the vehicle's status, and identifying the resistance and diode configuration at the vehicle end through hardware circuits.

1、 PWM generation: Convert 3.3V logic into ± 12V pilot signal

  • The PWM output by MCU is a 3.3V logic level and cannot be directly loaded onto the vehicle.

  • First, pass through an operational amplifier or comparator, and use a ± 12V dual power supply to amplify the square wave to positive and negative 12V.

  • Then isolation must be carried out, either optocoupler or capacitor isolation. The low-voltage control side and vehicle interface must be electrically disconnected to prevent high-voltage reverse series from damaging the main control.

  • After isolation, the signal is further clamped with TVS and filtered with RC to suppress transients and ringing, ensuring that the waveform sent to the muzzle is clean and the amplitude is accurate.

2、 Amplitude detection: safely read the ± 12V signal back to the MCU

  • The vehicle adjusts the resistance voltage division on the CP line to set the voltage to different gears: 12V unconnected, 9V connected but not ready, 6V ready, 3V requiring ventilation, 0V fault.

  • What the motherboard needs to do is attenuate and shift the ± 12V signal to the range of 0 to 3.3V, and send it to the ADC.

  • First, isolate with a high impedance follower to avoid the detection circuit itself affecting the CP signal; Then use a resistor network to divide the voltage and apply bias; Finally, RC filtering is used for denoising.

  • The MCU reads the voltage value and compares it with the standard gear to determine the current state of the vehicle.

3、 Diode and resistor state recognition: active diagnosis at the hardware level

  • Light reading voltage can only determine the state of the vehicle, but it does not know if there are any abnormalities in the vehicle's switches and resistors.

  • A more in-depth approach is to use hardware circuits to actively 'query'.

  • There is a diode and resistor network on the CP line of the vehicle. The motherboard can change the circuit topology by controlling the MOS transistor, or detect the logic level of specific nodes, and infer in reverse whether the vehicle end switch is closed, whether the resistor drifts, and whether the diode has failed.

  • This hardware level recognition does not rely on ADC accuracy and directly judges the status of components through circuit logic, which can detect hidden faults that cannot be read by software voltage reading.

Summary:

  • PWM generation solves the problem of "how the pile speaks", amplitude detection solves the problem of "how the pile understands", and diode resistance recognition solves the problem of "how the pile determines whether the vehicle end components are normal".

  • Only by stacking three layers can the CP circuit complete both the basic handshake and diagnostic capabilities.

The communication charging pile motherboard produced by Xincheng Technology is of high quality and beautiful price. Welcome to inquire and purchase!

s