Detection circuit of charging station and detection device of charging station
By adopting a dual-controller architecture detection mechanism in the charging station, the problem of the charging station failing to automatically power off and restart due to single-threaded anomalies is solved, realizing automated anomaly detection and restart, reducing labor costs and improving stability and efficiency.
Patent Information
- Application Number
- CN201910559826.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-21
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2039-06-21
AI Technical Summary
In existing charging stations, the failure to automatically power off and restart when a single thread malfunctions results in the charging station malfunctioning, increasing labor costs and affecting work efficiency.
The system adopts a dual-controller architecture. The first controller detects the operating status of the second controller and controls the power supply of the second controller to shut down and restart in case of an anomaly, and vice versa. This mutual detection ensures the stability of the charging station and automatic restart.
It enables automatic power-off and restart when the charging station malfunctions, reducing labor costs and improving the stability and efficiency of the charging station.
Smart Images

Figure CN110198065B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of charging stations, and in particular to a detection circuit of a charging station and a detection device of a charging station. Background Art
[0002] Current charging stations include at least one controller for data collection, network communication, etc. The controller is often in a multi-threaded working state. In order to avoid crashes caused by memory overflow, thread jamming, etc., an additional thread is created to feed the built-in watchdog of the controller to achieve the purpose of power-off and restart.
[0003] However, in actual applications, a single thread may get stuck while the dog feeding thread is normal, that is, the charging station can no longer work normally, but because the dog feeding thread is normal, at this time, it is necessary to manually force the charging station to power off and restart, which will increase labor costs, and the charging station cannot be powered off and restarted in time, affecting the working efficiency of the charging station. Summary of the invention
[0004] The present invention provides a detection circuit of a charging station and a detection device of the charging station, aiming to solve the problem that the charging station cannot be powered off and restarted due to a single thread exception.
[0005] To achieve the above object, the present invention provides a detection circuit of a charging station, the detection circuit of the charging station comprising:
[0006] The detection circuit of the charging station includes a first controller, a second controller, a first power supply circuit and a second power supply circuit; the power input end of the first controller is connected to the output end of the first power supply circuit, and the control end of the first controller is connected to the control signal input end of the second power supply circuit; the power input end of the second controller is connected to the output end of the second power supply circuit, and the control end of the second controller is connected to the control signal input end of the first power supply circuit; the first controller and the second controller are connected through a serial port module; wherein,
[0007] The second controller is used to transmit the operation status information of the charging station to the first controller, and control the first power circuit to power off and restart when no response information returned by the first controller is received within a preset time;
[0008] The first controller is used to transmit the operating status information of the charging station to the background server, transmit the response information returned by the background server to the second controller, and control the second power supply circuit to power off and restart when the operating status information output by the second controller is not received within a preset time.
[0009] Optionally, the detection circuit of the charging station further includes a first communication module, and the first controller is communicatively connected to the background server via the first communication module.
[0010] Optionally, when the control signal input terminal of the first power supply circuit is converted from a low level to a high level, the first controller is powered off, and when the control signal input terminal of the first power supply circuit is converted from a high level to a low level, the first controller is powered on;
[0011] When the control signal input terminal of the second power supply circuit is converted from a low level to a high level, the second controller is powered off, and when the control signal input terminal of the second power supply circuit is converted from a high level to a low level, the second controller is powered on.
[0012] Optionally, the first controller is further configured to pull up and maintain the level of the control signal input terminal of the second power supply circuit when the number of times the second controller is powered off and restarted is greater than a preset number;
[0013] The second controller is further configured to increase and maintain the level of the control signal input terminal of the first power supply circuit when the number of times the first controller is powered off and restarted is greater than the preset number.
[0014] Optionally, the first controller is further used to obtain the operating status information of the charging station when the level of the control signal input terminal of the second power supply circuit is raised for a set period of time, and transmit the operating status information of the charging station to the background server.
[0015] Optionally, the detection circuit of the charging station further includes a second communication module; the second controller is connected to the background server through the second communication module;
[0016] The second controller is further configured to transmit the operating status information of the charging station to the background server when the level of the control signal input terminal of the first power supply circuit is pulled high for a set period of time.
[0017] Optionally, the detection circuit of the charging station further includes a first alarm device, and the first alarm device is electrically connected to the second controller;
[0018] The second controller is further configured to control the first alarm device to output an alarm prompt when the level of the control signal input terminal of the first power supply circuit is pulled high for the set time period.
[0019] Optionally, the detection circuit of the charging station further includes a second alarm device, and the second alarm device is electrically connected to the first controller;
[0020] The first controller is further configured to control the second alarm device to output an alarm prompt when the level of the control signal input terminal of the second power supply circuit is pulled high for the set time period.
[0021] Optionally, the first controller is further used to generate abnormal log information of the second controller and transmit the abnormal log information of the second controller to the background server when the operating status information output by the second controller is not received within the preset time.
[0022] To achieve the above object, the present invention further provides a detection device for a charging station, wherein the detection device for a charging station comprises a detection circuit for a charging station as described in any one of the above items.
[0023] The technical solution of the present invention detects the operating state of the second controller through the first controller, and when the second controller operates abnormally, controls the power supply of the second controller to be powered off and restarted; at the same time, the operating state of the first controller is detected by the second controller, and when the first controller operates abnormally, controls the power supply of the first controller to be powered off and restarted. By mutual detection between the first controller and the second controller, abnormal operation of the charging station can be discovered in time, with low labor cost and high stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0025] Figure 1 It is a structural block diagram of an embodiment of a detection circuit of a charging station of the present invention;
[0026] Figure 2 is a structural block diagram of another embodiment of the detection circuit of the charging station of the present invention;
[0027] Figure 3 This is a structural block diagram of another embodiment of the detection circuit of the charging station of the present invention.
[0028] Description of Figure Numbers:
[0029] 00 Backend Server 10 First Controller 20 Second controller 30 First power supply circuit 40 Second power supply circuit 50 First alarm device 60 Second alarm device 70 First communication module 80 Second communication module 90 Serial port module
[0030] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0033] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0034] The invention provides a detection circuit for a charging station.
[0035] Reference Figure 1 , Figure 1 The circuit structure block diagram of an embodiment of a detection circuit of a charging station of the present invention.
[0036] In this embodiment, the detection circuit of the charging station includes a first controller 10, a second controller 20, a first power supply circuit 30 and a second power supply circuit 40; the power input end of the first controller 10 is connected to the output end of the first power supply circuit 30, and the control end of the first controller 10 is connected to the control signal input end of the second power supply circuit 40; the power input end of the second controller 20 is connected to the output end of the second power supply circuit 40, and the control end of the second controller 20 is connected to the control signal input end of the first power supply circuit 30; the first controller 10 and the second controller 20 are communicatively connected via a serial port module 90.
[0037] The second controller 20 is used to transmit the operating status information of the charging station to the first controller 10, and control the first power supply circuit 30 to power off and restart when no response information returned by the first controller 10 is received within a preset time; wherein, timing can be performed by a timer, and the timer can be built into the second controller 20.
[0038] The first controller 10 is used to transmit the operation status information of the charging station to the background server 00, transmit the response information returned by the background server 00 to the second controller 20, and control the second power supply circuit 40 to power off and restart when the operation status information output by the second controller 20 is not received within a preset time. The timing can be performed by a timer, and the timer can be built in the first controller 10.
[0039] Specifically, an IO port of the first controller 10 is connected to the control signal input end of the second power circuit 40, an IO port of the second controller 20 is connected to the control signal input end of the first power circuit 30, and the first controller 10 and the second controller 20 are connected through a serial port module 90, such as RS232 serial port communication. Its working process is that the second controller 20 obtains the operating status information of the charging station, such as the real-time power of each charging port of the charging station, the switch status of each charging port, and other information, and transmits it to the first controller 10 through the serial port module 90 in the form of a heartbeat packet, and the first controller 10 uploads the operating status information of the charging station to the background server 00. Further, when the background server 00 receives the operating status information of the charging station, the background server 00 outputs corresponding response information to the first controller 10, and the first controller 10 transmits the returned response information to the second controller 20 through the serial port module 90, and the communication is repeated according to this rule. Among them, the first controller 10 and the background server 00 can be connected through the first communication module 70. The first communication module 70 can be optionally a wireless communication module, such as a WI-FI module, a Zigbee module and a 4G module. The first communication module 70 can also be a wired communication module, such as an Internet cable.
[0040] If the second controller 20 operates abnormally, for example, the second controller 20 crashes, the second controller 20 cannot normally output the operating status information of the charging station to the first controller 10. In other words, if the first controller 10 does not receive the operating status information of the charging station output by the second controller 20 within the preset time, the first controller 10 determines that the second controller 20 operates abnormally; for example, according to the rule, the second controller 20 sends the operating status information of the charging station to the first controller 10 once a minute in the form of a heartbeat packet, and the first controller 10 starts timing after receiving the operating status information of the charging station output by the second controller 20. When the timer reaches the preset time, the preset time can be 5 minutes, 10 minutes or other time, and the first controller 10 does not receive the operating status information of the charging station output by the second controller 20 again, the first controller 10 determines that the second controller operates abnormally. At this time, the first controller 10 controls the second power circuit 40 to power off through the IO port. When the second power circuit 40 is powered off for a set time, for example, the first controller 10 starts timing when the second power circuit 40 is powered off. When the timer reaches 10 seconds or 1 minute, the first controller 10 controls the second power circuit 40 to power on again. That is, when the second controller 20 operates abnormally, the power supply of the second controller 20 is controlled by the first controller 10 to power off and restart.
[0041] If the first controller 10 operates abnormally, for example, the first controller 10 crashes, the first controller 10 cannot normally transmit the operating status information of the charging station to the background server 00. In other words, if the second controller 20 does not receive the response information returned by the first controller 10 within the preset time after outputting the operating status information of the charging station, the second controller 20 determines that the first controller 10 operates abnormally; for example, according to the rule, the second controller 20 starts timing when outputting the operating status information of the charging station, and when the timer reaches the preset time, the second controller 20 does not receive the response information returned by the first controller 10, then the second controller 20 determines that the first controller 10 operates abnormally. At this time, the second controller 20 controls the first power circuit 30 to be powered off through the IO port, and when the first power circuit 30 is powered off for a preset time, for example, the second controller 20 starts timing when the first power circuit 30 is powered off, and when the timer reaches 10 seconds or 1 minute, the second controller 20 controls the first power circuit 30 to be powered on again, that is, when the first controller 10 operates abnormally, the power supply of the first controller 10 is controlled by the second controller 20 to be powered off and restarted. With such a configuration, no matter whether the functional part of the charging station or the communication function part is abnormal, the detection circuit of the charging station can detect the abnormality in time and control the corresponding power circuit to power off and restart. There is no need to manually control the power off and restart of the charging station, the labor cost is low and the efficiency of the charging station is high.
[0042] Among them, it can be set that when the control signal input terminal of the first power supply circuit 30 is converted from a low level to a high level, the first controller 10 is powered off, and when the control signal input terminal of the first power supply circuit 30 is converted from a high level to a low level, the first controller 10 is powered on; when the control signal input terminal of the second power supply circuit 40 is converted from a low level to a high level, the second controller 20 is powered off, and when the control signal input terminal of the second power supply circuit 40 is converted from a high level to a low level, the second controller 20 is powered on.
[0043] When the first controller 10 operates abnormally, the second controller 20 pulls up the level of the control signal input terminal of the first power supply circuit 30 to power off the first controller 10; after the first controller 10 is powered off for a set time, the second controller 20 pulls down the level of the control signal input terminal of the first power supply circuit 30 to power on the first controller 30 again. When the second controller 20 operates abnormally, the first controller 10 pulls up the level of the control signal input terminal of the second power supply circuit 40 to power off the second controller 20; after the second controller 20 is powered off for a set time, the first controller 10 pulls down the level of the control signal input terminal of the second power supply circuit 40 to power on the second controller 20 again. By controlling the level of the control signal input terminal of the power supply circuit to control the power off or power on of the controller, such a setting is simple to operate and has high reliability.
[0044] The technical solution of the present invention detects the operating state of the second controller 20 through the first controller 10, and controls the second controller 20 to power off and restart when the second controller 20 operates abnormally; at the same time, the operating state of the first controller 10 is detected by the second controller 20, and controls the first controller 10 to power off and restart when the first controller 10 operates abnormally. The first controller 10 and the second controller 20 detect each other, which can avoid irreversible crash problems, reduce labor costs, and have high stability.
[0045] In one embodiment, the first controller 10 is further used to increase the level of the control signal input terminal of the second power supply circuit 40 and control the level of the control signal input terminal of the second power supply circuit 40 to remain at a high level when the number of times the second controller 20 is powered off and restarted is greater than a preset number.
[0046] That is to say, in one embodiment, it can also be set that when the second controller 20 operates abnormally, the first controller 10 controls the second controller 20 to power off and restart. If the first controller 10 still does not receive the operating status information output by the second controller 20 within a certain period of time after the second controller 20 is powered off and restarted, the first controller 10 can control the second controller 20 to power off and restart again, and the cycle is regular. If the first controller 10 detects that the number of times the second controller 20 is powered off and restarted is greater than the preset number of times, the number of times the second controller 20 is powered off and restarted can be counted by the built-in counter of the first controller 10. After the second controller 20 is powered off and then powered on, the counter +1, the preset number of times can be 3 times, 4 times, 5 times, or other times, the first controller 10 still does not receive the operating status information of the charging station output by the second controller 20 within a certain period of time, indicating that the second controller 20 cannot be restored to normal by powering off and restarting. At this time, the first controller 10 pulls up the level of the control signal input terminal of the second power supply circuit 40, and controls the level of the control signal input terminal of the second power supply circuit 40 to remain at a high level, so that the second controller 20 is powered off.
[0047] In one embodiment, the second controller 20 is further used to increase the level of the control signal input terminal of the first power supply 30 and control the level of the control signal input terminal of the first power supply 30 to remain at a high level when the number of times the first controller 10 is powered off and restarted is greater than a preset number.
[0048] That is to say, in one embodiment, it can also be set that when the first controller 10 runs abnormally, the second controller 20 controls the first controller 10 to power off and restart. If the second controller 20 outputs the operation status information of the charging station to the first controller 10 again after the first controller 10 is powered off and restarted, and still does not receive the response information returned by the first controller 10 within a certain period of time, the second controller 20 can control the first controller 10 to power off and restart again, and the cycle is regular. If the second controller 20 detects that the number of times the first controller 10 is powered off and restarted is greater than the preset number of times, the number of times the first controller 10 is powered off and restarted can be counted by the built-in counter of the second controller 20. After the first controller 10 is powered off and then powered on, the counter is +1. The preset number of times can be 3 times, 4 times, 5 times, or other times. After the second controller 20 outputs the operation status information of the charging station, it still does not receive the response information returned by the first controller 10 within a certain period of time. At this time, the second controller 20 pulls up the level of the control signal input terminal of the first power supply circuit 30, and controls the level of the control signal input terminal of the first power supply circuit 30 to remain at a high level, so that the first controller 10 is powered off.
[0049] In this embodiment, when the first controller 10 operates abnormally, the second controller 20 controls the first controller 10 to power off and restart multiple times. If the first controller 10 still does not return to normal after being powered off and restarted multiple times, the second controller 20 pulls up and maintains the level of the control signal input end of the first power supply circuit 30 at a high level to control the first controller 10 to be powered off for a long time; when the second controller 20 operates abnormally, the first controller 10 controls the second controller 20 to power off and restart multiple times. If the second controller 20 still does not return to normal after being powered off and restarted multiple times, the first controller 10 pulls up and maintains the level of the control signal input end of the second power supply circuit 40 at a high level to control the second controller 20 to be powered off for a long time, thereby reducing the power consumption of the charging station and saving electricity.
[0050] In one embodiment, the first controller 10 is further used to obtain the operating status information of the charging station when the level of the control signal input terminal of the second power supply circuit 40 is raised for a set period of time, and transmit the operating status information of the charging station to the background server 00.
[0051] Specifically, when the second controller 20 operates abnormally, and the second controller 20 has not returned to normal after being powered off and restarted for multiple times, the first controller 10 pulls up the level of the control signal input end of the second power supply circuit 40 and maintains it at a high level, so that the second controller 20 is powered off for a long time. When the second controller 20 is powered off for a set period of time, for example, the first controller 10 enables the timer, and starts timing from the time when the second controller 20 is powered off. When the timer reaches the set time, the first controller 10 obtains the operating status information of the charging station and uploads the operating status information of the charging station to the background server 00 in the form of a heartbeat packet. Furthermore, the first controller 10 uploads the abnormal information of the second controller 20 to the background server 00 while uploading the operating status information of the charging station, so that maintenance personnel can repair it in time. With this arrangement, when the second controller 20 of the charging station operates abnormally and cannot be restored by powering off and restarting, the background server 00 can still receive the operating status information of the charging station.
[0052] Reference Figure 2 , Figure 2 This is a circuit structure block diagram of another embodiment of the detection circuit of the charging station of the present invention.
[0053] Based on the above embodiment, the detection circuit of the charging station further includes a second communication module 80; the second communication module 80 is used to realize the communication connection between the second controller 20 and the background server 00;
[0054] The second controller 20 is further configured to transmit the operating status information of the charging station to the background server 00 when the level of the control signal input terminal of the first power supply circuit 10 is pulled up for a set period of time.
[0055] In this embodiment, when the first controller 10 operates abnormally, and the first controller 10 has not returned to normal after multiple power-off and restart, the second controller 20 pulls up the level of the control signal input end of the first power supply circuit 30 and maintains it at a high level, so that the first controller 10 is powered off for a long time. When the first controller 10 is powered off for a set time, for example, the second controller 20 enables the timer, and starts timing from the power-off of the first controller 10. When the timer reaches the set time, the second controller 20 enables the second communication module 80 to communicate with the background server 00, and the second controller 20 uploads the operating status information of the charging station to the background server 00 through the second communication module 80. Further, the second controller 20 uploads the abnormal information of the first controller 10 to the background server 00 while uploading the operating status information of the charging station, so that the maintenance personnel can repair it in time. In this way, when the first controller 10 of the charging station operates abnormally and cannot be restored by power off and restart, the background server 00 can still receive the operating status information of the charging station.
[0056] The second communication module 80 can be selected as a wireless communication module, such as a WI-FI module, a Zigbee module and a 4G module. The second communication module 80 can also be a wired communication module, such as an Internet cable.
[0057] Optionally, in one embodiment, the first controller 10 is also used to generate abnormal log information of the second controller 20 when the operating status information output by the second controller 20 is not received within a preset time, and transmit the abnormal log information of the second controller 20 to the background server 00.
[0058] In this embodiment, the first controller 10 is also used to generate abnormal log information of the second controller 20 when the operating status information output by the second controller 20 is not received within a preset time. For example, abnormal log information including the cause of the abnormality, the date of the abnormality, the ID information of the abnormal device, etc. is generated, and the generated abnormal log information is transmitted to the background server to provide a basis for the staff to analyze the cause of the abnormality.
[0059] Reference Figure 3 , Figure 3 This is a circuit structure block diagram of another embodiment of the detection circuit of the charging station of the present invention.
[0060] Based on the above embodiment, the detection circuit of the charging station further includes a first alarm device 50 , and the first alarm device 50 is electrically connected to the second controller 20 .
[0061] In this embodiment, the detection circuit of the charging station further includes a first alarm device 50, which is used to issue an alarm when the first controller 10 operates abnormally. The first alarm device 50 can be a buzzer, an artificial voice device, an indicator light or a display screen, etc. The first alarm device 50 is electrically connected to the second controller 20.
[0062] Specifically, when the first controller 10 operates abnormally, for example, the first controller 10 crashes, the first controller 10 cannot normally transmit the operating status information of the charging station to the background server 00. In other words, the second controller 20 starts timing when outputting the operating status information of the charging station. When the timer reaches the preset time, and the second controller 20 does not receive the response information returned by the first controller 10 during this period, the second controller 20 determines that the first controller 10 operates abnormally. At this time, the second controller 20 controls the first controller 10 to power off and restart once or multiple times. When the first controller 10 cannot be restored by powering off and restarting, the second controller 20 pulls up and maintains the level of the control signal input end of the first power supply circuit 30 to power off the first controller 10. When the power-off duration of the first controller 10 reaches the set duration, the second controller 20 controls the first alarm device 50 through another IO port to issue an alarm prompt, for example, a buzzer rings, an indicator light flashes, etc. That is, in the technical solution of this embodiment, when the first controller 10 operates abnormally and cannot be restored to normal by power off and restart, the second controller 20 will also control the alarm device of the first controller 10 to issue an alarm prompt to provide an abnormal prompt.
[0063] Reference Figure 3 , Figure 3 This is a circuit structure block diagram of another embodiment of the detection circuit of the charging station of the present invention.
[0064] Based on the above embodiment, the detection circuit of the charging station further includes a second alarm device 60 , and the second alarm device 60 is electrically connected to the first controller 10 .
[0065] In this embodiment, the detection circuit of the charging station further includes a second alarm device 60, which is used to issue an alarm when the second controller 20 operates abnormally. The second alarm device 60 can be a buzzer, an artificial voice device, etc. The second alarm device 60 is electrically connected to the first controller 10.
[0066] Specifically, when the second controller 20 operates abnormally, for example, the second controller 20 crashes, the second controller 20 cannot normally output the operating status information of the charging station to the first controller 10. In other words, the first controller 10 starts timing from the last time it receives the operating status information of the charging station output by the second controller 20. When the timer reaches the preset time, and the first controller 10 does not receive the operating status information of the charging station output by the second controller 20 during this period, the first controller 10 determines that the second controller 20 operates abnormally. At this time, the first controller 20 controls the second controller 20 to power off and restart once or multiple times. When the second controller 20 cannot be restored by powering off and restarting, the first controller 10 pulls up and maintains the level of the control signal input end of the second power supply circuit 40 to power off the second controller 20. When the power-off duration of the second controller 20 reaches the set duration, the first controller 10 controls the second alarm device 20 through another IO port to issue an alarm prompt, for example, a buzzer rings, an indicator light flashes, etc. That is, according to the technical solution of this embodiment, when the second controller 20 operates abnormally and cannot be restored to normal by power off and restart, the first controller 10 will also control the alarm device of the second controller 20 to issue an alarm prompt to provide an abnormal prompt.
[0067] The present invention further proposes a detection device for a charging station, wherein the detection device for a charging station comprises the detection circuit for the charging station as described above. The detailed structure of the detection circuit for the charging station may refer to the above-mentioned embodiment and will not be described in detail here. It can be understood that since the detection circuit for the charging station is used in the detection device for a charging station of the present invention, the embodiments of the detection device for a charging station of the present invention include all technical solutions of all embodiments of the detection circuit for the charging station and the technical effects achieved are also exactly the same and will not be described in detail here.
[0068] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A detection circuit for a charging station, It is characterized in that The detection circuit of the charging station includes a first controller, a second controller, a first power supply circuit and a second power supply circuit; the power input end of the first controller is connected to the output end of the first power supply circuit, and the control end of the first controller is connected to the control signal input end of the second power supply circuit; the power input end of the second controller is connected to the output end of the second power supply circuit, and the control end of the second controller is connected to the control signal input end of the first power supply circuit; the first controller and the second controller are connected through a serial port module; wherein, The second controller is used to transmit the operation status information of the charging station to the first controller, and control the first power circuit to power off and restart when no response information returned by the first controller is received within a preset time; The first controller is used to transmit the operating status information of the charging station to the background server, transmit the response information returned by the background server to the second controller, and control the second power supply circuit to power off and restart when the operating status information output by the second controller is not received within a preset time; The detection circuit of the charging station further includes a first communication module, and the first controller is connected to the background server through the first communication module; The detection circuit of the charging station further includes a second communication module; the second controller is connected to the background server through the second communication module; When the control signal input terminal of the first power supply circuit is converted from a low level to a high level, the first controller is powered off, and when the control signal input terminal of the first power supply circuit is converted from a high level to a low level, the first controller is powered on; The first controller is further configured to pull up and maintain the level of the control signal input terminal of the second power supply circuit when the number of times the second controller is powered off and restarted is greater than a preset number; The second controller is further configured to transmit the operating status information of the charging station to the background server when the level of the control signal input terminal of the first power supply circuit is pulled high for a set period of time.
2. The detection circuit of the charging station as claimed in claim 1, It is characterized in that When the control signal input terminal of the second power supply circuit is converted from a low level to a high level, the second controller is powered off, and when the control signal input terminal of the second power supply circuit is converted from a high level to a low level, the second controller is powered on.
3. The detection circuit of the charging station as claimed in claim 2, It is characterized in that The second controller is further configured to increase and maintain the level of the control signal input terminal of the first power supply circuit when the number of times the first controller is powered off and restarted is greater than the preset number.
4. The detection circuit of the charging station as claimed in claim 3, It is characterized in that The first controller is further used to obtain the operating status information of the charging station when the level of the control signal input terminal of the second power supply circuit is pulled high for a set period of time, and transmit the operating status information of the charging station to the background server.
5. The detection circuit of the charging station as claimed in claim 3, It is characterized in that The detection circuit of the charging station further includes a first alarm device, and the first alarm device is electrically connected to the second controller; The second controller is further configured to control the first alarm device to output an alarm prompt when the level of the control signal input terminal of the first power supply circuit is pulled high for the set time period.
6. The detection circuit of the charging station as claimed in claim 4, It is characterized in that The detection circuit of the charging station further includes a second alarm device, and the second alarm device is electrically connected to the first controller; The first controller is further configured to control the second alarm device to output an alarm prompt when the level of the control signal input terminal of the second power supply circuit is pulled high for the set time period.
7. The detection circuit of the charging station according to any one of claims 1 to 6, It is characterized in that The first controller is further configured to generate abnormal log information of the second controller and transmit the abnormal log information of the second controller to the background server when the first controller fails to receive the operating status information output by the second controller within the preset time.
8. A detection device for a charging station, It is characterized in that The detection device of the charging station comprises the detection circuit of the charging station according to any one of claims 1 to 7.
