The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
Such asfigure 1 As shown, a multifunctional electric vehicle charger of the present invention includes an MCU processing module 100, an interface module 101, a detection module 102, a function expansion module 103, a charging and discharging module 104, an adjustment module 105, and a sampling module 106; wherein the MCU The processing module 100 is connected to the interface module 101, the detection module 102, the charge and discharge module 104, the adjustment module 105, the sampling module 106, and the protection module 107, respectively, and the charge and discharge module 104 is connected to the function expansion module 103, the adjustment module 105, and the protection module 107, respectively , The sampling module 106 is connected to the adjustment module 105.
Further, the interface module 101 includes a charging interface and a discharging interface, which are used to charge or discharge the rechargeable battery, and the model of the interface module 101 may be configured with mature products on the market as required.
Further, the detection module 102 is used to collect the front-end charging status data information and transmit it to the MCU processing module 100 to analyze, process, generate control signals and transmit to the charge and discharge module 104, the adjustment module 105, the sampling module 106 or the protection module 107 to perform corresponding control. Signal instructions. Specifically, after the electric vehicle battery charging interface is connected to the interface module 101, after the voltage detection unit (voltage sensor 1022) of the detection module 102 detects that the electric vehicle battery is connected and connected, the current sensor 1023 sends the current data information generated by the connection to the MCU The processing module 100 sends that the MCU processing module 100 obtains the current temperature of the charging and discharging module 104 and the electric vehicle battery from the temperature sensor 1021 of the detection module 102 at the same time, and compares the current temperature of the electric vehicle battery with a preset temperature threshold, according to the comparison As a result, the charge and discharge module 103, the adjustment module 105, the sampling module 106, and the protection module 107 are controlled to work.
Further, more specifically, the MCU processing module 100 obtains the current power of the electric vehicle battery through the sampling module 106, and when the current power of the electric vehicle battery reaches a preset power value, the MCU processing module 100 sends an instruction to control the charging and discharging module 106 to cut off and The connection of the utility power does not charge the battery of the electric vehicle anymore. During the charging process, the sampling module 106 samples the charging current and charging voltage of the rechargeable battery in real time. At the same time, the temperature sensor of the detection module 102 detects the temperature of the rechargeable battery in real time. When the detected temperature exceeds the preset temperature value, the MCU The processing module 100 immediately sends a protection charger instruction to the protection module 107, and the protection module 107 automatically cuts off the connection between the charging and discharging module 106 and the mains, and no longer charges the electric vehicle battery.
Further, the function expansion module 103 is to modify the interface on the contact port of the interface module 101 according to different charging objects. The charging objects can be mobile phones, LED lights, projectors and other small electrical equipment to meet the charging needs of household electronic devices. .
Further, the charging and discharging module 104 includes a charging circuit and a discharging circuit, where the charging circuit is a circuit with a constant current/constant voltage linear charging property, and when the charging voltage reaches the final floating charging voltage, the charging will automatically stop. In this embodiment, a charging chip with the model number U6119 or NCN5201DX is further preferred. The peripheral circuit can simply adopt the existing technology, and the signal control pin can be directly connected to the control pin of the MCU processing module 101 for direct connection to the electric vehicle Recharge. A charging circuit with a model of TP4056 can also be used, and the output charging voltage and current are small to match the requirements of the function expansion module 103. The discharge circuit preferably uses MEM2306SG as the discharge management circuit.
Further, the charging and discharging module 104 may also adopt a charging and discharging integrated circuit module, for example, a CN3052A charging and discharging chip is selected, which is a charger circuit that can realize constant current/constant voltage charging of the rechargeable battery. The device includes power transistors inside, and does not require external current detection resistors and blocking diodes in application.
Further, the MCU processing module 100 is the main control module of the charger system of the present invention, which mainly performs intelligent control of the charger, so that the modules cooperate with each other to complete the work. Among them, the charging and discharging module is realized by the current control method/voltage control method. The specific current control method is to adopt the gas detection element, and then check and calculate the gas rate of the battery. When the detected gas reaches the standard value, the gas detection element The parameters will change accordingly to generate a control signal to the charging and discharging module to control the charging current in time. The voltage control method is to detect and control the voltage during battery charging. When the battery voltage reaches the maximum value, it indicates that the battery is full. When the voltage reaches the specified value, the charging circuit should be cut off immediately.
Further, the adjustment module 106 performs current/voltage adjustment when the MCU processing module 100 performs constant current/constant voltage charging, so as to further stabilize the operation of each module. Specifically, in the constant current charging control (when the MCU processing module selects the current control method), the current signal collected from the detection module 102 is subjected to a voltage regulator tube and filtered as a positive input signal, and the control signal generated by the MCU processing module 100 The inverting input signal, and the output adjustment signal through the proportional differentiation circuit, mainly plays a role of phase compensation, to realize the constant current control of the output current by the single-chip microcomputer. The principle of voltage regulation is the same as the principle of constant current control. When adjusting the circuit, the load battery voltage must be controlled by limiting voltage. When the voltage value is within the set value range, the load battery constant current can be controlled by constant current, and when the control conditions are met, the voltage can limit other voltage values. When the circuit voltage exceeds the set value, the MCU processing module 100 will send an alarm signal in time, and the alarm 1024 will give an alarm to reach the voltage limit protection, thereby completing the adjustment control.
Further, in this embodiment, the MCU processing module 100 is a single-chip microcomputer system. The preferred single-chip microcomputer system at least includes a microprocessor, memory, editor, A/D conversion, I/O ports and registers. Modulation is required, for example, the control chip of HT46R064, STC89C51 control chip, etc. can be selected.
The multifunctional electric vehicle charger of the present invention takes the MCU processing module as the core, and controls the division of labor of each part of the module to complete the charging and discharging process. After the MCU processing module is energized, according to the control principle of the present invention, the MCU processing module starts to initialize, and then detects the voltage and temperature connected to the battery periodically, and compares with the set value of the initial state to determine that the battery of the electric vehicle should be At which stage of charging, the voltage and temperature are collected, sampled, and stored at the same time, and then analyzed, processed, and converted by the MCU processing module for real-time charge and discharge control. On the other hand, the collected voltage is provided to the adjustment module as the input reference voltage, so that the collected voltage value is passed through the reset current of the MCU processing module and the reference value of the voltage signal value, and the feedback and reference value of the adjustment module are generated by the PID algorithm Deviation, to achieve modulation of different voltage differences to output a stable voltage and current value. During this process, the charging and discharging module can charge the internal lithium battery with a constant current/constant voltage linear charger, and can automatically stop the charging cycle. It also includes functions such as temperature detection, undervoltage lockout, and automatic recharging. The protection circuit completes the lithium battery protection function.
In summary, the charger of the present invention has simple structure and operation, good human-computer interaction interface, low price, small size, and multiple functions and has a broad market. When the electric vehicle is charged, the electric vehicle is automatically disconnected from the mains, which has the advantages of energy saving and safety. At the same time, the battery temperature and voltage when the electric vehicle is charged can be monitored, which can effectively avoid potential safety hazards during charging. The charging and discharging process adjustment module modulates the MCU processing module at all times, so that the MCU processing module has a stable control output and ensures the stable and safe operation of the charger.
The circuit connection relationship, working principle, etc. that are not described in this embodiment are all implemented by using the existing technology, and will not be repeated here.
It should be noted that in this article, terms such as "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements , And also include other elements not explicitly listed, or elements inherent to this process, method, article or equipment.
Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, and substitutions can be made to these embodiments without departing from the principle and spirit of the present invention. And variations, the scope of the present invention is defined by the appended claims and their equivalents.