Convenient charging pile with early warning function
By integrating components such as microcontroller control circuits and power detection circuits into the charging pile, the charging status can be monitored in real time and early warning information can be sent, thus solving the problems of power outages and theft of charging piles and realizing a safe and reliable charging service.
Patent Information
- Application Number
- CN202411260422.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-26
AI Technical Summary
Existing charging stations cannot detect and alarm in a timely manner when power is off, leading to inconvenience or safety hazards, and cannot effectively warn of theft or damage to charging stations.
The system, composed of a microcontroller control circuit, a power detection circuit, a plug detection circuit, a voltage detection circuit, a cloud server, and an LTE module, monitors the charging status in real time and sends early warning information in case of a fault. Combined with battery power supply, it ensures system reliability and allows for timely maintenance through a smartphone APP and platform server.
It enables accurate detection and timely alarm of the power supply status of charging piles, ensuring safe use by users, reducing inconvenience caused by power outages or theft, and improving the maintenance efficiency and safety of charging piles.
Smart Images

Figure CN119017974A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging piles, and in particular to a convenient charging pile with early warning function. Background Art
[0002] In recent years, electric vehicles have become one of the main means of transportation for people. Limited by the space of the vehicle body, the battery capacity of electric vehicles is usually not very large and needs to be charged frequently. Every year, more than 70% of fire accidents caused by charging of electric vehicles are caused by large casualties and property losses. With the continuous increase in the number of electric vehicle users, the safety of charging electric vehicles has received more and more attention. In order to avoid the heating problem caused by long-term charging, the charging pile is equipped with a remote switch function, or through automatic power off when full, overload protection and other measures, the probability of battery fire and explosion can be reduced to a certain extent. However, the power-off status of the charging pile cannot be effectively known, resulting in the failure to timely repair the charging pile when it is damaged and the power is off, which delays its use or is stolen, causing power outages and no warning. Summary of the invention
[0003] Therefore, in order to solve the above problems, the present invention proposes a convenient charging pile with early warning function, which can accurately detect the power supply status of the charging pile and alarm the power failure of the charging pile, so as to facilitate timely maintenance and make it convenient for users to use.
[0004] To solve this technical problem, the present invention adopts the following scheme: A convenient charging pile with early warning function, comprising a charging seat, a single-chip microcomputer control circuit arranged on the charging seat, a power socket, an AC-to-DC output circuit, and a relay output control circuit. The city power is connected to the input end of the AC-to-DC output circuit, and the output end of the AC-to-DC output circuit is connected to the power socket via the relay output control circuit. The output end of the single-chip microcomputer control circuit is connected to and controls the relay output control circuit to control the power off and power on of the power socket. It also includes a database, a power detection circuit, a plug detection circuit, a power off switching switch, a battery, a battery charging circuit, a voltage detection circuit, a cloud server, a platform server, a smart phone APP and an LTE module. The output end of the AC-to-DC output circuit is respectively connected to the single-chip microcomputer control circuit, the LTE module, the battery charging circuit and the power off switching switch. The battery charging circuit is connected to the battery to charge the battery. The battery supplies power to the single-chip microcomputer control circuit and the LTE module via the power off switching switch. The power detection circuit is arranged between the AC-to-DC output circuit and the relay output control circuit to detect the power consumption of each power socket respectively. The output end of the power detection circuit is connected to the input end of the single-chip control circuit, the single-chip control circuit is connected to the database and records and stores the charging amount and charging time of each electric vehicle respectively. When the charging amount of the same electric vehicle in the same unit time stored in the database differs to a set threshold, the single-chip control circuit sends the electric vehicle battery abnormal fault information to the LTE module, and the LTE module sends the electric vehicle battery abnormal fault warning information to the user's smart phone APP of the electric vehicle via the cloud server to remind the user to maintain the battery of the electric vehicle. The voltage detection circuit detects the voltage of the battery charging circuit in real time and the output end of the voltage detection circuit is connected to the input end of the single-chip control circuit. The plug detection circuit is connected to the power socket to detect whether the power socket is inserted with a charging plug and the plug detection circuit is connected to the input end of the single-chip control circuit. The single-chip control circuit determines the power failure of the charging seat according to the power supply status of the battery combined with the detection information of the plug detection circuit and the voltage detection circuit and sends the alarm information to the LTE module. The LTE module sends the warning information to the platform server via the cloud server to alarm.
[0005] Further, the plug detection circuit includes at least one group of plug detection units, each group of plug detection units includes a diode D7, a resistor R23, a resistor R24, a resistor R25, a resistor R26, a resistor R27, a resistor R28, a capacitor C11 and a transistor Q10, the positive end of the diode D7 is connected to the positive end of the power socket, the negative end of the diode D7 is connected to one end of the resistor R23, the other end of the resistor R23 is connected to one end of the resistor R24, the other end of the resistor R24 is connected to one end of the resistor R25, the other end of the resistor R25 is connected to one end of the resistor R26, one end of the capacitor C11 and the base of the transistor Q10, the other end of the resistor R26, the other end of the capacitor C11 and the emitter of the transistor Q10 are all grounded, the collector of the transistor Q10 is connected to one end of the resistor R27 and one end of the resistor R28, the other end of the resistor R27 is connected to the power supply, and the other end of the resistor R28 is connected to the input end of the single-chip control circuit.
[0006] Furthermore, the single chip microcomputer control circuit is a HC32F176KATA chip and its peripheral circuits.
[0007] Furthermore, the LTE module is an ML307A chip and its peripheral circuits.
[0008] Furthermore, it also includes a smartphone APP for maintenance personnel, and the platform server communicates with the smartphone APP of the maintenance personnel to transmit power outage warning information.
[0009] Furthermore, it also includes an anti-disassembly detection circuit and an audible and visual alarm. The anti-disassembly detection circuit is installed between the charging base and the mounting frame of the charging base, and the output end of the anti-disassembly detection circuit is connected to the input end of the single-chip control circuit. The audible and visual alarm is connected to and controlled by the single-chip control circuit.
[0010] Furthermore, the anti-disassembly detection circuit includes a micro switch K1 and a resistor R5. The micro switch K1 is pressed against the rear cover of the shell or the mounting frame of the charging base to make the two ends conductive. One end of the micro switch K1 is grounded, and the other end of the micro switch K1 is connected to one end of the resistor R5 and the input end of the single-chip control circuit, and the other end of the resistor R5 is connected to the power supply.
[0011] Furthermore, it also includes a fault indicator light, and the output end of the single-chip control circuit is connected to the fault indicator light for displaying power-off faults.
[0012] By adopting the above technical scheme, the beneficial effects of the present invention are as follows: by arranging a database, a power detection circuit, a plug detection circuit, a power-off switch, a battery, a battery charging circuit, a voltage detection circuit, a power detection circuit, a cloud server, a platform server and an LTE module in the charging seat of the existing charging pile, the power detection circuit is used to respectively detect the power consumption of each power socket and send it to the single-chip microcomputer control circuit, the single-chip microcomputer control circuit is connected to the database and the charging amount and charging time of each electric vehicle collected by the power detection circuit are respectively recorded and stored, when the single-chip microcomputer control circuit is based on the same unit time of the same electric vehicle stored in the database When the difference between the internal charge amount and the set threshold, the abnormal fault information of the electric vehicle battery is sent to the LTE module. The LTE module sends the abnormal fault warning information of the electric vehicle battery to the user's smartphone APP via the cloud server to remind the user to maintain the battery of the electric vehicle, so that the user can also understand the battery usage status when charging the electric vehicle, to ensure the user's effective charging, and avoid the battery failure or charger damage that fails to charge the battery effectively and cannot use the electric vehicle; when the line is damaged or other faults cause power outages or theft causes power outages, the voltage detection circuit detects that the battery charging circuit that charges the battery has no voltage, and the AC to DC output circuit is powered off. The power-off switch is switched to the battery to power the MCU control circuit and the LTE module, and the plug detection circuit detects that the charging plug is inserted into the power socket and the user has swiped a card or scanned a QR code to complete the connection to the MCU control circuit to charge the electric vehicle. At this time, the MCU control circuit can accurately determine that it is a power outage fault of the charging pile based on the battery power supply status combined with the detection information of the plug detection circuit and the voltage detection circuit. At this time, the MCU control circuit immediately sends an alarm message of the power off fault of the charging stand to the LTE module, and the LTE module then sends the power off fault alarm message to the platform server via the cloud server for alarm; and when the plug detection circuit If the charging plug is not detected, the voltage detection circuit detects that there is no voltage and the battery is powering the single-chip microcomputer control circuit. It is inferred that the charging seat may be damaged or stolen, causing a power outage or a fault warning of the charging seat being damaged. At this time, the single-chip microcomputer control circuit immediately sends the charging seat fault warning information to the LTE module, and the LTE module then sends the fault warning information to the platform server via the cloud server for warning, so that the background maintenance personnel can immediately repair the charging pile that has a power outage or eliminate the fault warning. It can effectively detect the power supply status of the charging pile and alarm the power outage of the charging pile, which is convenient for timely maintenance and convenient for users.Through further settings, that is, the settings of the smartphone APP, the platform server can quickly notify the corresponding maintenance personnel to carry out maintenance. The setting of the anti-dismantling detection circuit can quickly detect whether the charging pile has been damaged, dismantled or stolen, and alarm can be issued by controlling the sound and light alarm through the single-chip control circuit to issue an on-site alarm, so that the dismantling, damage or theft can be dealt with in time to enhance protection. The fault indicator light is used to display the power failure of the power socket that has not been repaired, which can be widely promoted and applied. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a circuit principle block diagram of an embodiment of the present invention; Figure 2 It is a schematic diagram of a single chip control circuit and a database in an embodiment of the present invention; Figure 3 is a schematic diagram of an LTE module circuit according to an embodiment of the present invention; Figure 4 is a schematic diagram of a relay output control circuit according to an embodiment of the present invention; Figure 5 is a schematic diagram of a power detection circuit according to an embodiment of the present invention; Figure 6 is a schematic diagram of a plug detection circuit according to an embodiment of the present invention; Figure 7 is a schematic diagram of an anti-disassembly alarm circuit according to an embodiment of the present invention; Figure 8 is a schematic diagram of a storage battery and a battery charging circuit according to an embodiment of the present invention; Fig. 9 is a schematic diagram of a voltage detection circuit according to an embodiment of the present invention; Fig.10 It is a schematic diagram of an AC-to-DC output circuit according to an embodiment of the present invention. DETAILED DESCRIPTION
[0014] The present invention is further described in conjunction with the accompanying drawings and specific implementation methods, wherein the power-off switch, power detection circuit, cloud server, platform server, and sound and light alarm are existing module circuits, and the platform server is a server for background applications for the management, maintenance, and operation of the entire charging pile system.
[0015] refer to Figure 1-Figure 10The convenient charging pile with early warning function of the present invention preferably includes a charging seat, a single-chip control circuit 1 arranged on the charging seat, two power sockets, an AC to DC output circuit 2, a relay output control circuit 3, a power-off switch 4, a battery 5, a battery charging circuit 6, a voltage detection circuit 7, a power detection circuit 8, a cloud server 9, a platform server 10, an LTE module 11, a plug detection circuit 12, an anti-disassembly detection circuit 13, an audible and visual alarm and a database 14, wherein the single-chip control circuit 1 is a HC32F176KATA chip and its peripheral circuits, the LTE module 11 is a ML307A chip and its peripheral circuits, the mains and AC to DC output circuits are connected to the LTE module 11, and the AC to DC output circuits are connected to the LTE module 11. The input end of the DC output circuit 2 is connected, the output end of the AC to DC output circuit 2 is connected to the power socket via the relay output control circuit 3, the output end of the single-chip control circuit 1 is connected to and controls the relay output control circuit 3 to control the power off and power on of the power socket, the output end of the AC to DC output circuit 2 is respectively connected to the single-chip control circuit 1, the LTE module 11, the battery charging circuit 6 and the power off switch 4, the battery charging circuit 6 is connected to the battery 5 to charge the battery 5, the battery 5 supplies power to the single-chip control circuit 1 and the LTE module 11 via the power off switch 4, and the power off switch 4 is closed when the city power is off to make the battery 5 is used to power the single-chip control circuit 1 and the LTE module 11. The power detection circuit 8 is arranged between the AC-DC output circuit 2 and the relay output control circuit 3 to detect the power consumption of each power socket respectively, and the output end of the power detection circuit 8 is connected to the input end of the single-chip control circuit 1. The single-chip control circuit 1 is connected to the database 15 and records and stores the charging amount and charging time of each electric vehicle respectively. When the charging amount of the same electric vehicle in the same unit time stored in the database 15 differs to a set threshold, the single-chip control circuit 1 sends the electric vehicle battery abnormal fault information to the LTE module 11, and the LTE module 11 transmits the electric vehicle battery abnormal fault warning information to the LTE module 11. The cloud server 9 sends an APP to the user's smartphone of the electric vehicle to remind the user to maintain the battery of the electric vehicle. The voltage detection circuit 7 detects the voltage of the battery charging circuit 6 in real time, and the output end of the voltage detection circuit 7 is measured by the power detection circuit 8 and sent to the input end of the single-chip control circuit 1. The single-chip control circuit 1 combines the detection information of the voltage detection circuit 7 and the single-chip control circuit 1 uses the battery 5 to comprehensively judge whether the charging seat is powered off and sends an alarm message to the LTE module 11. The LTE module 11 sends the warning information to the platform server 10 via the cloud server 9 to alarm. At the same time, the single-chip control circuit 1 controls the sound and light alarm to alarm on the spot.
[0016] The power detection circuit 8 includes a BL0939 chip and its peripheral circuits, and the plug detection circuit 12 includes two groups of plug detection units adapted to two power sockets, one group of plug detection units includes a diode D7, a resistor R23, a resistor R24, a resistor R25, a resistor R26, a resistor R27, a resistor R28, a capacitor C11 and a transistor Q10, the positive terminal of the diode D7 is connected to the positive terminal N2 of the power socket, the negative terminal of the diode D7 is connected to one end of the resistor R23, and the resistor R23 The other end is connected to one end of resistor R24, the other end of resistor R24 is connected to one end of resistor R25, the other end of resistor R25 is connected to one end of resistor R26, one end of capacitor C11 and the base of transistor Q10, the other end of resistor R26, the other end of capacitor C11 and the emitter of transistor Q10 are all grounded, the collector of transistor Q10 is connected to one end of resistor R27 and one end of resistor R28, the other end of resistor R27 is connected to the power supply, and the other end of resistor R28 is connected to pin 25 of the HC32F176KATA chip of the microcontroller control circuit. Another group of plug detection units includes a diode D6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R15, a resistor R16, a capacitor C9 and a transistor Q9, wherein the positive terminal of the diode D6 is connected to the positive terminal N1 of another power socket, the negative terminal of the diode D6 is connected to one end of the resistor R7, the other end of the resistor R7 is connected to one end of the resistor R8, the other end of the resistor R8 is connected to one end of the resistor R9, the other end of the resistor R9 is connected to one end of the resistor R10, one end of the capacitor C9 and the base of the transistor Q9, the other end of the resistor R10, the other end of the capacitor C9 and the emitter of the transistor Q9 are all grounded, the collector of the transistor Q9 is connected to one end of the resistor R15 and one end of the resistor R16, the other end of the resistor R15 is connected to the power supply, and the other end of the resistor R16 is connected to the 21st pin of the HC32F176KATA chip of the single-chip microcomputer control circuit. The anti-disassembly detection circuit includes a micro switch K1 and a resistor R5. The micro switch K1 is pressed against the rear cover of the housing or the mounting frame of the charging base to make both ends conductive. One end of the micro switch K1 is grounded, and the other end of the micro switch K1 is connected to one end of the resistor R5 and the 54th pin of the HC32F176KATA chip of the single-chip control circuit. The other end of the resistor R5 is connected to the power supply.
[0017] refer to Figure 4, the relay output control circuit 3 is divided into two groups of control outputs connected to two power sockets respectively. The first group consists of transistor Q1, relay REL1, resistors R61 and R71; the second group consists of transistor Q2, relay REL2, resistors R62 and R72. The HC32F176KATA chip of the single-chip control circuit 1 controls the transistor Q1 or transistor Q2 to turn on or off by pulling up or down the base of the transistor Q1 or transistor Q2, so that the relay REL1 or relay REL2 coil is energized / de-energized, achieving the effect of attracting or disconnecting the relay REL1 or relay REL2. When the relay REL1 or relay REL2 is attracted, the neutral line of the power socket output circuit is energized, and the external charging device can be powered; when the relay REL1 or relay REL2 is disconnected, the neutral line of the power socket output circuit is disconnected, and no external power can be supplied.
[0018] refer to Figure 5 , the power detection circuit 8 is divided into two routes for detecting power. The first route is composed of resistors R1, R2, R21, capacitors C1, C2 and the third and fourth pins IO ports of the measurement detection chip U6; the second route is composed of resistors R3, R4, R22, capacitors C3, C4 and the fifth and sixth pins IO ports of the measurement detection chip U6. When the charging port of the power socket connected to the first route supplies power to the outside, a voltage will be generated at both ends of the resistor R21 and transmitted to the third and fourth pins IO ports of the measurement detection chip U6 respectively. The measurement detection chip U6 calculates the real-time current currently passing through the resistor R21, thereby obtaining the corresponding power, and transmits the real-time charging power and the total charging power through the serial port and the HC32F176KATA chip of the single-chip control circuit 1. The principle of the second route is the same as the first route.
[0019] refer to Fig. 9 The voltage detection circuit 7 is composed of resistors R44, R45, R46, R47, R48, R49 and capacitor C21. Resistors R44, R45, R46, R47 and R48 are connected in series, and resistor R49 is connected to resistor R48 to divide the voltage to the ground, and a voltage is obtained and transmitted to the metering detection chip U6 of the power detection circuit 8. The metering detection chip U6 of the power detection circuit 8 calculates the current AC voltage and transmits it to the HC32F176KATA chip of the single-chip control circuit 1 through the serial port.
[0020] refer to Figure 6The plug detection circuit 12 is divided into two detection paths. The first detection path is composed of a diode D6, a transistor Q9, resistors R7, R8, R9, R10, R15, R16, and a capacitor C11; the second detection path is composed of a diode D7, a transistor Q10, resistors R23, R24, R25, R26, R27, R28, and a capacitor C12. When the power socket is not connected to a plug, there is no voltage at the base of transistor Q9 or transistor Q10, transistor Q9 or transistor Q10 is not turned on, the collector is at a high level, and the IO port of the HC32F176KATA chip of the connected single-chip control circuit 1 is also at a high level; when the power socket is plugged in, the base voltage of transistor Q9 or transistor Q10 is high, transistor Q9 or transistor Q10 is turned on, the collector is at a low level, and the IO port of the HC32F176KATA chip of the connected single-chip control circuit 1 is also at a low level, and the HC32F176KATA chip of the single-chip control circuit 1 determines that the power socket has been plugged in with a charging plug to be charged.
[0021] refer to Figure 7 The anti-disassembly detection circuit 13 is composed of a resistor R5 and a micro switch K1. When the device casing is closed, the micro switch K1 presses against the back cover of the casing to make the two ends conductive, and the IO port of the HC32F176KATA chip of the single-chip control circuit 1 is at a low level. When the casing is opened, the micro switch K1 pops up, the two ends are short-circuited, and the IO port of the HC32F176KATA chip of the single-chip control circuit 1 is at a high level.
[0022] refer to Fig.10 , AC to DC circuit 2 is composed of resistors R80, R81, R82, R83, capacitors C101, C102, C103, C10, C60, C61, diodes D3, D4, D8, inductors L1, L2, varistor RV1, square fuse F1, glass tube fuse F2, safety capacitor C110 and dedicated AC-DC integrated chip U7. After the AC passes through the square fuse F1 and the glass tube fuse F2, it passes through a filter circuit composed of capacitors C101, C102 and inductor L1, and enters the dedicated AC-DC integrated chip, which is converted into DC12V output to power the whole machine.
[0023] refer to Figure 8The battery charging circuit 6 is composed of resistors R50, R52, R88, R89, capacitor E1, diode D12, field effect transistor Q12, and dedicated charging chip U12. When the AC power supply is normal, the device is powered by the DC12V converted from the AC, and the dedicated charging chip U12 generates a voltage to charge the battery 5 BATT. At this time, because the field effect transistor Q12 is cut off, the battery 5 is only charged but not powered. When the AC power is cut off, the field effect transistor Q12 is forward-conducted, and the battery 5 supplies power to the device, ensuring that the device can transmit the AC power-off information to the HC32F176KATA chip of the single-chip control circuit 1 and notify the user of the AC power-off information through the LTE module, timely troubleshooting, and restore AC power.
[0024] Working principle: The AC to DC output circuit converts the mains power into a DC voltage to provide the working voltage required for the power socket, battery charging circuit, single-chip control circuit and LTE module, and charges the backup battery through the battery charging circuit. When charging an electric vehicle, the user only needs to scan the QR code or swipe the card to connect the single-chip control circuit. The single-chip control circuit controls the relay output control circuit to close, so that the city power supplies power to the electric vehicle charger plug on the power socket through the relay output control circuit, and then charges the battery of the electric vehicle; the power detection circuit detects the power consumption of each power socket and sends it to the metering chip, communicates with the single-chip control circuit through the serial port, and monitors the charging situation in real time. The single-chip control circuit is connected to the database and records and stores the charging amount and charging time of each electric vehicle collected by the power detection circuit. When the charging amount of the same electric vehicle in the same unit time stored in the database differs to the set threshold, the single-chip control circuit sends the electric vehicle battery abnormal fault information to the LTE module. The LTE module sends the electric vehicle battery abnormal fault warning information to the user's smartphone APP of the electric vehicle through the cloud server to remind the user to maintain the battery of the electric vehicle. The plug detection circuit detects whether the power socket is inserted with a charging plug in real time and sends it to the single-chip control circuit. The voltage detection circuit detects the voltage of the battery charging circuit in real time and sends it to the single-chip control circuit after being measured by the power detection circuit. When the plug detection circuit detects that the charging plug is inserted into the power socket, and the metering detection circuit collects no voltage information, it will remind the user to swipe the card or scan the code to charge. When the single-chip control circuit can accurately determine the mains power failure of the charging pile based on the battery power supply status combined with the detection information of the plug detection circuit and the voltage detection circuit, when the AC power of the equipment is cut off, the internal backup battery will keep the equipment working, and promptly notify the administrator of the AC power failure information to troubleshoot the equipment or AC circuit failure. When the anti-disassembly detection circuit is triggered or the plug detection circuit does not detect the charging plug, and the voltage detection circuit detects that there is no voltage and the battery is powering the single-chip computer control circuit, it is inferred that the charging seat may be damaged or stolen, causing a power outage or a fault warning of the charging seat being damaged. When the single-chip computer control circuit determines that it is a power off fault alarm or a fault warning, it immediately sends the charging seat power off fault alarm or fault warning information to the LTE module, and then the LTE module sends the power off fault alarm or fault warning information to the platform server via the cloud server for alarm or warning, so that the background maintenance personnel can immediately repair the charging pile that has a power off fault or eliminate the fault warning, so that the background maintenance personnel can immediately repair the charging pile that has a fault.
[0025] The voltage value detected by the voltage detection circuit in the above embodiment can also be directly transmitted to the single-chip control circuit to collect the detected voltage value data. The micro switch of the anti-disassembly detection circuit can also directly support the mounting frame of the charging seat, and the detection can also be triggered when the charging seat is separated from the mounting frame of the charging seat. It is also possible to set one power socket on the charging seat, or three, four or more power sockets can be set. It is only necessary to match a plug detection circuit with each power socket for detection. At the same time, the relay output control circuit is also set according to the number of power sockets. The number of control output terminals is set accordingly; a smart phone APP can also be added, that is, the platform server communicates with the smart phone APP to transmit power failure warning information, so that the alarm can be quickly sent to the relevant responsible personnel of the charging pile to immediately handle the alarm and quickly handle the power failure of the charging pile. A fault indicator light can also be added, and the output end of the single-chip control circuit is connected to the fault indicator light for power failure display.
[0026] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.
Claims
1. A convenient charging pile with early warning function, comprising a charging seat, a single-chip control circuit arranged on the charging seat, one or more power sockets, an AC-to-DC output circuit, and a relay output control circuit, wherein the city power is connected to the input end of the AC-to-DC output circuit, the output end of the AC-to-DC output circuit is connected to the power socket via the relay output control circuit, the output end of the single-chip control circuit is connected to and controls the relay output control circuit to control the power off and power on of the power socket, and is characterized in that: It also includes a database, a power detection circuit, a plug detection circuit, a power-off switch, a battery, a battery charging circuit, a voltage detection circuit, a cloud server, a platform server, a smart phone APP and an LTE module. The output end of the AC-to-DC output circuit is respectively connected to the single-chip control circuit, the LTE module, the battery charging circuit and the power-off switch. The battery charging circuit is connected to the battery to charge the battery. The battery supplies power to the single-chip control circuit and the LTE module through the power-off switch. The power detection circuit is arranged between the AC-to-DC output circuit and the relay output control circuit to respectively detect the power consumption of each power socket and the output end of the power detection circuit is connected to the input end of the single-chip control circuit. The single-chip control circuit is connected to the database and records and stores the charging amount and charging time of each electric vehicle respectively. When the single-chip control circuit detects the charging amount and charging time of each electric vehicle according to the database When the stored charging amount of the same electric vehicle within the same unit time differs to a set threshold, an abnormal fault information of the electric vehicle battery is sent to the LTE module. The LTE module sends the abnormal fault warning information of the electric vehicle battery to the user's smartphone APP of the electric vehicle via the cloud server to remind the user to maintain the battery of the electric vehicle. The voltage detection circuit detects the voltage of the battery charging circuit in real time and the output end of the voltage detection circuit is connected to the input end of the single-chip control circuit. The plug detection circuit is connected to the power socket to detect whether the power socket is inserted with a charging plug and the plug detection circuit is connected to the input end of the single-chip control circuit. The single-chip control circuit determines the power failure of the charging stand according to the power supply status of the battery combined with the detection information of the plug detection circuit and the voltage detection circuit and sends an alarm information to the LTE module. The LTE module sends the warning information to the platform server via the cloud server to alarm.
2. The convenient charging pile with early warning function according to claim 1 is characterized in that: The plug detection circuit includes at least one group of plug detection units, each group of plug detection units includes a diode D7, a resistor R23, a resistor R24, a resistor R25, a resistor R26, a resistor R27, a resistor R28, a capacitor C11 and a transistor Q10, the positive terminal of the diode D7 is connected to the positive terminal of the power socket, the negative terminal of the diode D7 is connected to one end of the resistor R23, the other end of the resistor R23 is connected to one end of the resistor R24, the other end of the resistor R24 is connected to one end of the resistor R25, the other end of the resistor R25 is connected to one end of the resistor R26, one end of the capacitor C11 and the base of the transistor Q10, the other end of the resistor R26, the other end of the capacitor C11 and the emitter of the transistor Q10 are all grounded, the collector of the transistor Q10 is connected to one end of the resistor R27 and one end of the resistor R28, the other end of the resistor R27 is connected to the power supply, and the other end of the resistor R28 is connected to the input end of the single-chip control circuit.
3. The convenient charging pile with early warning function according to claim 1 is characterized in that: The single chip control circuit is a HC32F176KATA chip and its peripheral circuits.
4. The convenient charging pile with early warning function according to claim 1, characterized in that: The LTE module is an ML307A chip and its peripheral circuits.
5. The convenient charging pile with early warning function according to claim 1 is characterized in that: It also includes a smartphone APP for maintenance personnel, and the platform server communicates with the smartphone APP of the maintenance personnel to transmit power outage warning information.
6. The convenient charging pile with early warning function according to claim 1, characterized in that: The anti-disassembly detection circuit includes a micro switch K1 and a resistor R5. The micro switch K1 is pressed against the rear cover of the housing or the mounting frame of the charging base to make both ends conductive. One end of the micro switch K1 is grounded, and the other end of the micro switch K1 is connected to one end of the resistor R5 and the input end of the single-chip control circuit. The other end of the resistor R5 is connected to the power supply.
7. The convenient charging pile with early warning function according to claim 6 is characterized in that: The anti-disassembly detection circuit includes a switch K1 and a resistor R5. One end of the switch K1 is grounded and the grounded end of the switch K1 is arranged on the mounting frame of the charging base. The other end of the switch K1 is connected to one end of the resistor R5 and the input end of the single-chip control circuit. The other end of the resistor R5 is connected to the power supply.
8. The convenient charging pile with early warning function according to claim 1, characterized in that: It also includes a fault indicator light, and the output end of the single-chip control circuit is connected to the fault indicator light for power-off fault display.
