Safety control system based on power-down delay of controller
By constructing a closed-loop control energy storage module and a power failure detection module, the problems of insufficient fast response and anti-disturbance capability of the robot controller's power failure delay circuit are solved, and stable power supply and data preservation are achieved in the event of power failure.
Patent Information
- Application Number
- CN202411175801.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-15
AI Technical Summary
The power-down delay circuit of the existing robot controller has an open-loop control logic, which makes it unable to respond quickly to external interference. Furthermore, it does not take into account the instability of the power supply voltage when powered on, resulting in insufficient reliability and disturbance rejection capability.
A closed-loop control system is constructed using an energy storage module, a charging control module, and a power failure detection module. It achieves rapid response and stable power supply through a slow-opening and fast-closing module and a comparator module. The system includes components such as a supercapacitor module, a boost module, diodes, Zener diodes, resistors, and comparators to ensure data preservation and stable power supply.
It enables rapid response in the event of a power outage, reduces load consumption, enhances the system's anti-disturbance capability and reliability, avoids abnormal power outages, and ensures data preservation and power supply stability.
Smart Images

Figure CN118971322A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of robot controllers, and in particular to a safety control system based on controller power-off delay. Background Art
[0002] As one of the core components of industrial robots, the robot controller has a decisive influence on the performance of the robot. The stability of the power supply circuit of the robot controller is a necessary condition for maintaining the normal operation of the robot controller. In order to prevent abnormal power failure and cause the loss of controller data, most controller power supply circuits currently have a power-off delay function, which can still maintain normal power supply for a period of time after power failure, maintain the normal operation of the controller, and save data information.
[0003] At present, most power-off delay circuits include modules such as power-off detection, charging switch, energy storage device, discharge switch and boost circuit, but there are also the following shortcomings: First, the control logic between the above modules is in an open-loop state, and the signals for controlling each module are uniformly derived from the control module. There is no feedback mechanism, and it is impossible to respond quickly. It is greatly affected by external interference and other factors. Second, the existing power-off holding circuit does not take into account the instability and timing of the power supply voltage when power is on, which can easily cause the power-off delay system to misjudge and cause harm to the subsequent circuits. The reliability is not strong. Based on the above two points, the existing power-off delay circuit lacks responsiveness, anti-disturbance ability and safety and reliability. Summary of the invention
[0004] The present application provides a safety control system based on controller power-off delay, which has the advantages of being able to maintain normal power supply for a period of time during an abnormal power outage, maintain normal operation of the controller, and save data information. It has the characteristics of rapid response, strong anti-disturbance capability, and high reliability.
[0005] The above-mentioned object of the present application is achieved through the following technical solutions, a safety control system based on controller power-off delay, comprising: Controller; An energy storage module, the energy storage module is charged by a main power supply, and the output end of the energy storage module is connected to the main power supply circuit; A charging control module, which is arranged at the charging side of the energy storage module and is used to judge whether to turn on or off charging of the energy storage module; And a power failure detection module, the power failure detection module is used for main power supply power failure detection and sends a power failure detection signal to the controller.
[0006] Furthermore, the energy storage module includes a supercapacitor module, a boost module and a diode D2, and the supercapacitor module is connected to the main power supply circuit through the boost module and the diode D2.
[0007] Furthermore, the power-off detection module includes a voltage regulator tube D1, a resistor R1 and a comparison module A; the cathode of the voltage regulator tube D1 is connected to the main power supply, the anode is connected to one end of the resistor R1, and the other end of the resistor R1 is grounded; the comparison input at one end of the comparison module A is connected to the anode of the voltage regulator tube D1, and the comparison input at the other end is connected to the output voltage V3 of the boost module in the energy storage module, and the comparison module A is connected to the controller; The comparison module A is configured as follows: When the voltage at the anode of the voltage regulator tube D1 is higher than the output voltage V3 of the boost module, a high level is output; When the voltage at the anode of the voltage regulator tube D1 is lower than the output voltage V3 of the boost module, a low level is output.
[0008] Furthermore, the output end of the comparison module A is connected to a slow opening and fast closing module, and the comparison module A is connected to the controller through the slow opening and fast closing module, and the slow opening and fast closing module is configured as follows: When the slow opening and fast closing module detects that the comparison module A outputs a high level and the high level remains for a period of time, the slow opening and fast closing module sends a main power supply normal signal to the controller; When power failure is detected, the slow opening and fast closing module immediately sends a power failure signal to the controller, and the controller immediately saves the information data.
[0009] Furthermore, after detecting a power failure, the power failure detection signal output by the slow opening and fast closing module is at a low level.
[0010] Furthermore, the charging control module includes a reference voltage module, a comparison module B and a charging switch module; wherein the input end of the charging switch module is connected to the main power supply, and the output end is connected to the supercapacitor module in the energy storage module; the comparison input at one end of the comparison module B is connected to the output end of the reference voltage module, and the comparison input at the other end is connected to the output voltage V5 of the supercapacitor module of the energy storage module; the output end of the comparison module B is connected to the charging switch module, and the output signal of the comparison module B is used to control the charging switch module to be turned on or off; The comparison module B is configured as follows: when the main power supply is normal, the supercapacitor module output voltage V5 is 0V, at this time the reference voltage module output voltage V4 is greater than the supercapacitor module output voltage, the comparison module B output end controls the charging switch module to be in a closed state, and the supercapacitor module starts charging. When the supercapacitor module is charged to a certain voltage value, the output voltage V5 exceeds the reference value of the reference voltage module output voltage V4. At this time, the comparison module B output end controls the charging switch module to be in a disconnected state, ending the charging of the supercapacitor module. When the power is off, the reference voltage module output voltage V4 is 0V, and at this time the comparison module B output end controls the charging switch module to be in a disconnected state.
[0011] Furthermore, the input end of the reference voltage module is connected to the anode of the Zener diode D1, and the reference voltage module is configured as follows: when the main power supply voltage is normal, the anode voltage V2 of the Zener diode D1 passes through the reference voltage module, and the reference voltage V4 is output to the reference value; otherwise, the reference voltage V4 output by the reference voltage module is 0V.
[0012] Furthermore, the controller is connected to the boost module in the energy storage module and is used to control the opening or closing of the boost module. The controller is configured to save the information data when receiving the power-off detection signal output by the power-off detection module. After the controller completes saving the information data, the controller issues an instruction to turn off the power supply of the boost module in the energy storage module.
[0013] In summary, the beneficial effects of this application are: 1. When the main power supply voltage fluctuates within the normal range, the voltage regulator D1 remains in a breakdown state, and the power-off detection circuit does not judge it, thereby enhancing the anti-interference ability of the power-off detection circuit.
[0014] 2. After the main power supply voltage is powered on, the power-off detection signal has the characteristics of slow opening and fast closing, which avoids abnormal power failure caused by instability when the power is powered on, and improves the safety and reliability of the overall circuit.
[0015] 3. The power-off delay circuit system proposed in this application realizes closed-loop control of the system by feeding back the output of the rear-stage module to the signal detection and charging control of the front-stage through each module.
[0016] 4 The power-off delay circuit system proposed in this application only supplies power to the subsequent controller through the energy storage module after power failure, and the power-off delay circuit system does not generate load consumption, thereby reducing the load path.
[0017] 5. After the controller completes the storage of information data, the power-off delay circuit system proposed in this application actively shuts down the power supply path of the energy storage module to eliminate the voltage fluctuation effect on the subsequent controller when the voltage of the energy storage module is too low. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of the overall structure of the system mentioned in a specific embodiment of the present application; Figure 2 is a schematic diagram of a system closed-loop feedback signal of a system proposed in a specific embodiment of the present application; Figure 3 1 is a schematic diagram of the system power-on and power-off timing of the system proposed in a specific embodiment of the present application. DETAILED DESCRIPTION
[0019] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.
[0020] Embodiment: A safety control system based on controller power-off delay, referring to Figure 1-2 , including a controller, an energy storage module, a charging control module and a power-off detection module.
[0021] The energy storage module is charged by the main power supply, and the output end of the energy storage module is connected to the main power supply circuit. The energy storage module includes a super capacitor module, a boost module and a diode D2, and the super capacitor module is connected to the main power supply circuit through the boost module and the diode D2.
[0022] The supercapacitor module is configured according to the working energy required by the controller when power is off. The boost module converts the energy of the supercapacitor module into the lowest working voltage V6 of the subsequent load circuit and then connects it to the anode of the diode D2. The cathode of the diode D2 is connected to the main power supply circuit. When the main power supply works normally, the cathode voltage of the diode D2 is greater than the anode voltage. At this time, the diode D2 is not turned on, and the main power supply supplies power to the subsequent controller. On the contrary, after power is off, the diode D2 is turned on, and the energy storage module automatically supplies power to the controller.
[0023] The power failure detection module is used for detecting power failure of the main power supply and sending a power failure detection signal to the controller.
[0024] The power-off detection module includes a voltage regulator tube D1, a resistor R1 and a comparison module A; the cathode of the voltage regulator tube D1 is connected to the main power supply, the anode is connected to one end of the resistor R1, and the other end of the resistor R1 is grounded; the comparison input at one end of the comparison module A is connected to the anode of the voltage regulator tube D1, and the comparison input at the other end is connected to the output voltage V3 of the boost module in the energy storage module, and the comparison module A is connected to the controller.
[0025] The comparison module A is configured as follows: When the voltage at the anode of the voltage regulator tube D1 is higher than the output voltage V3 of the boost module, a high level is output; When the voltage at the anode of the voltage regulator tube D1 is lower than the output voltage V3 of the boost module, a low level is output.
[0026] The output end of the comparison module A is connected to a slow opening and fast closing module, and the comparison module A is connected to the controller through the slow opening and fast closing module. The slow opening and fast closing module is configured as follows: When the slow opening and fast closing module detects that the comparison module A outputs a high level and the high level remains for a period of time, the slow opening and fast closing module sends a main power supply normal signal to the controller; When power failure is detected, the slow opening and fast closing module immediately sends a power failure signal to the controller, and the controller immediately saves the information data.
[0027] After detecting power failure, the power failure detection signal output by the slow opening and fast closing module is low level, thereby reducing the load path after power failure.
[0028] As an example, in a specific embodiment, the slow opening and fast closing module includes an RC circuit, and the "slow charging and fast discharging" characteristics of the RC circuit capacitor are utilized. When the comparison module A outputs a high level, the capacitor is slowly charged through the resistor, and after a period of time, the comparison threshold voltage is reached and a signal is sent to the controller to achieve delayed signal sending. When the comparison module A outputs a low level, the capacitor is quickly discharged through a small impedance path, and a signal is immediately sent to the controller, so that the power-off signal is immediately sent to the controller, wherein the small impedance path includes but is not limited to paths such as transistors or diodes and resistors.
[0029] The charging control module is arranged at the charging side of the energy storage module, and is used to judge whether to turn on or off charging of the energy storage module.
[0030] The charging control module includes a reference voltage module, a comparison module B and a charging switch module; wherein the input end of the charging switch module is connected to the main power supply, and the output end is connected to the supercapacitor module in the energy storage module; the comparison input at one end of the comparison module B is connected to the output end of the reference voltage module, and the comparison input at the other end is connected to the supercapacitor module output voltage V5 of the energy storage module; the output end of the comparison module B is connected to the charging switch module, and the output signal of the comparison module B is used to control the charging switch module to be turned on or off.
[0031] The comparison module B is configured as follows: when the main power supply is normal, the output voltage V5 of the supercapacitor module is 0V, at this time the output voltage V4 of the reference voltage module is greater than the output voltage of the supercapacitor module, the output end of the comparison module B controls the charging switch module to be in a closed state, and the supercapacitor module starts charging. When the supercapacitor module is charged to a certain voltage value (for a certain supercapacitor module, this value is known), the output voltage V5 exceeds the reference value of the output voltage V4 of the reference voltage module. At this time, the output end of the comparison module B controls the charging switch module to be in a disconnected state, and the charging of the supercapacitor module is terminated. When the power is off, the output voltage V4 of the reference voltage module is 0V, and at this time the output end of the comparison module B controls the charging switch module to be in a disconnected state.
[0032] The reference voltage module input end is connected to the anode of the voltage regulator tube D1, and the reference voltage module is configured as follows: when the main power supply voltage is normal, the anode voltage V2 of the voltage regulator tube D1 passes through the reference voltage module, and the reference voltage V4 is output to the reference value, otherwise the reference voltage V4 output by the reference voltage module is 0 V. At this time, the output end of the comparison module B controls the charging switch module to be in the disconnected state, ensuring that the energy storage module will not reversely charge the supercapacitor after power failure, thereby reducing the load path.
[0033] The controller is connected to the boost module in the energy storage module and is used to control the opening or closing of the boost module. The controller is configured to save information data when receiving a power-off detection signal output by the power-off detection module. After the controller completes saving the information data, the controller issues an instruction to turn off the power supply of the boost module in the energy storage module.
[0034] The signal timing diagram of the system in this embodiment during power-on and power-off is as follows: Figure 3 As shown. Figure 3 It can be seen that the slow opening and fast closing module sends a high level signal to the controller after a period of time after the power-on moment. At the power-off moment, the controller can keep the power supply state until the control actively shuts off the power supply of the energy storage module.
[0035] The above is only a preferred implementation of the present application. It should be pointed out that a person skilled in the art can make several modifications and improvements without departing from the inventive concept of the present application, and these all fall within the scope of protection of the present application.
Claims
1. A safety control system based on controller power-off delay, characterized in that: include: Controller; An energy storage module, the energy storage module is charged by a main power supply, and the output end of the energy storage module is connected to the main power supply circuit; A charging control module, which is arranged at the charging side of the energy storage module and is used to judge whether to turn on or off charging of the energy storage module; And a power failure detection module, the power failure detection module is used for main power supply power failure detection and sends a power failure detection signal to the controller.
2. The safety control system based on controller power-off delay according to claim 1 is characterized in that: The energy storage module includes a super capacitor module, a boost module and a diode D2. The super capacitor module is connected to a main power supply circuit through the boost module and the diode D2.
3. The safety control system based on controller power-off delay according to claim 1 is characterized in that: The power-off detection module includes a voltage regulator tube D1, a resistor R1 and a comparison module A; the cathode of the voltage regulator tube D1 is connected to the main power supply, the anode is connected to one end of the resistor R1, and the other end of the resistor R1 is grounded; the comparison input at one end of the comparison module A is connected to the anode of the voltage regulator tube D1, and the comparison input at the other end is connected to the output voltage V3 of the boost module in the energy storage module, and the comparison module A is connected to the controller; The comparison module A is configured as follows: When the voltage at the anode of the voltage regulator tube D1 is higher than the output voltage V3 of the boost module, a high level is output; When the voltage at the anode of the voltage regulator tube D1 is lower than the output voltage V3 of the boost module, a low level is output.
4. The safety control system based on controller power-off delay according to claim 3 is characterized in that: The output end of the comparison module A is connected to a slow opening and fast closing module, and the comparison module A is connected to the controller through the slow opening and fast closing module. The slow opening and fast closing module is configured as follows: When the slow opening and fast closing module detects that the comparison module A outputs a high level and the high level remains for a period of time, the slow opening and fast closing module sends a main power supply normal signal to the controller; When power failure is detected, the slow opening and fast closing module immediately sends a power failure signal to the controller, and the controller immediately saves the information data.
5. The safety control system based on controller power-off delay according to claim 4 is characterized in that: After detecting power failure, the power failure detection signal output by the slow opening and fast closing module is low level.
6. The safety control system based on controller power-off delay according to claim 1 is characterized in that: The charging control module includes a reference voltage module, a comparison module B and a charging switch module; wherein the input end of the charging switch module is connected to the main power supply, and the output end is connected to the supercapacitor module in the energy storage module; the comparison input at one end of the comparison module B is connected to the output end of the reference voltage module, and the comparison input at the other end is connected to the supercapacitor module output voltage V5 of the energy storage module; the output end of the comparison module B is connected to the charging switch module, and the output signal of the comparison module B is used to control the charging switch module to be turned on or off; The comparison module B is configured as follows: when the main power supply is normal, the supercapacitor module output voltage V5 is 0V, at this time the reference voltage module output voltage V4 is greater than the supercapacitor module output voltage, the comparison module B output end controls the charging switch module to be in a closed state, and the supercapacitor module starts charging. When the supercapacitor module is charged to a certain voltage value, the output voltage V5 exceeds the reference value of the reference voltage module output voltage V4. At this time, the comparison module B output end controls the charging switch module to be in a disconnected state, ending the charging of the supercapacitor module. When the power is off, the reference voltage module output voltage V4 is 0V, and at this time the comparison module B output end controls the charging switch module to be in a disconnected state.
7. The safety control system based on controller power-off delay according to claim 1 is characterized in that: The input end of the reference voltage module is connected to the anode of the voltage regulator tube D1. The reference voltage module is configured as follows: when the main power supply voltage is normal, the anode voltage V2 of the voltage regulator tube D1 passes through the reference voltage module, and the reference voltage V4 is output to the reference value. Otherwise, the reference voltage V4 output by the reference voltage module is 0V.
8. The safety control system based on controller power-off delay according to claim 1 is characterized in that: The controller is connected to the boost module in the energy storage module and is used to control the opening or closing of the boost module. The controller is configured to save information data when receiving a power-off detection signal output by the power-off detection module. After the controller completes saving the information data, the controller issues an instruction to turn off the power supply of the boost module in the energy storage module.
