By utilizing PWM modulation and amplitude technology, the interactive control problem between EVs and charging stations is solved, and communication is achieved.
This technology ensures charging safety and efficiency through the following methods:
- State recognition: Use the voltage amplitude change of the CP signal (12V → 9V → 6V) to determine the charging stage, for example, 12V indicates idle, 9V indicates connected, and 6V indicates ready for charging.
- Current control: The maximum output current information of the charging pile is transmitted through the duty cycle of a 1kHz PWM wave (such as a duty cycle of 53% corresponding to a current of 32A), achieving dynamic adjustment.
- Real-time monitoring: Continuously detect the PWM amplitude during the charging process. If the signal is abnormal (such as not 6V), immediately cut off the power to avoid safety hazards.
This design follows standards such as GB/T 18487, Encoding through the combination of signal amplitude and duty cycle, ensuring the reliable execution of the handshake protocol between the charging station and the vehicle, solving the overload caused by communication errors、Short circuit, and other issues.
Non-contact IC card technology:
When swiping the card at the charging station to start, stop, and deduct fees, to ensure safety and convenience, we also need to control costs, make data read and write stable and reliable. To meet these requirements, enable smooth card swiping and charging of charging stations, I have decided to use non-contact IC card technology to solve the problem.
Non-contact IC card equipped with an EEPROM storage circuit, Capable of storing a balance. Its storage sector has an encryption function that can effectively prevent data from being tampered with to a certain extent. In addition, the chip comes with a built-in security mechanism, which further achieves highly secure storage and processing of data.
Design of an electric energy metering unit
HLW8032 is a high-precision energy metering IC, adopting a CMOS manufacturing process, mainly used for single-phase applications. It can measure line voltage and current. And can calculate active power, visual power, and power factor. The device integrates two ∑ Δ-type ADCs and a high-precision energy metering core internally. By using the HLW8032 energy metering chip in combination with the selected Mingmingxi ZMPT107-1 voltage transformer and the upward electronic DL-CT525BW current transformer. Realize precise sampling and isolation of AC voltage and current, and output the data of the electric meter to the microprocessor through the serial port. Further realizing the function of electricity metering.

Design of onboard relay unit
This design uses the Hongfa HF165FD power relay as the on/off controller for the charging circuit. Compared to conventional AC contactor solutions, this power relay has a cost advantage and can significantly reduce the overall design cost. The rated voltage of the coil of this power relay is 12V, Capable of switching between 40A contacts, and can meet the requirements of 7KW/32A output control. Given the issue of mismatched levels between microprocessor pins and relay coils.Selecting field-effect transistors for driving control. When the microprocessor outputs a high-level signal to the designated GPIO pin for controlling the charging circuit. This control signal will cause the driving field-effect transistor SI2306 to conduct. At this time, the 12V DC power supply is outputting. Contact closure of the power relay, Charging circuit connected, Start outputting charging power. On the contrary, when the microprocessor outputs a low-level signal to the GPIO pin, the contacts of the power relay are disconnected, and the charging circuit is also disconnected, stopping the charging process.
