A control circuit with power down detection

CN224923391UActive Publication Date: 2026-10-30GUANGDONG CHUANGSHUO INTELLIGENT POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521615219.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2026-10-30
Estimated Expiration
2035-07-31

AI Technical Summary

Technical Problem

现有控制电路常因供电电压突然掉落,而导致控制系统工作异常,出现数据丢失、系统故障等风险,从而给设备运行带来诸多风险

Benefits of technology

1.本实用新型提出的控制电路,通过掉电检测模块就能实时监测供电模块的输出电压,在输出电压掉落时,能及时控制综合控制模块停止工作,避免因供电不稳定导致控制系统工作异常或数据丢失等问题,减少因掉电而引起的故障风险,提高整个控制系统的可靠性和稳定性;其次,在供电恢复正常后,综合控制模块通过PWM调控模块进行色光切换,使得用户能够通过色光的颜色变换直观地知道当前供电已恢复正常,且色光变换的提醒方式,能够更加直接且醒目地提醒用户,大大增强状态提示的效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224923391U_ABST
    Figure CN224923391U_ABST
Patent Text Reader

Abstract

The application discloses a control circuit with power failure detection, comprising a power supply module, a power failure detection module, a comprehensive control module and a PWM control module, the input end of the power failure detection module is connected with the power output end of the power supply module, the power failure detection module is used for monitoring the output voltage of the power supply module in real time, and outputs a restart signal when the output voltage falls and then restores to the initial voltage, the control signal input end of the comprehensive control module is connected with the output end of the power failure detection module, the comprehensive control module outputs a color light switching signal when receiving the restart signal, the color light switching end of the PWM control module is connected with the control signal output end of the comprehensive control module, and the PWM control module executes color light switching operation after receiving the color light switching signal. The power failure detection module of the application outputs a restart signal when the power supply recovers to normal, so that the comprehensive control module performs color light switching through the PWM control module, and users can intuitively know that the current power supply has recovered to normal through the color transformation of the color light.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field] This utility model relates to the field of signal control circuit technology, and in particular to a control circuit with power failure detection. [Background Technology] In many fields, such as industrial control systems, power supply stability has always been a critical issue. Existing control circuits often experience malfunctions due to sudden drops in power supply voltage, leading to risks such as data loss and system failures, thus posing numerous risks to equipment operation.

[0001] Therefore, the introduction of power failure detection is of great significance. However, existing power failure detection circuits fail to provide timely and intuitive status prompts after power is restored, making it difficult for users to quickly know the current power supply status and affecting the user experience. [Utility Model Content] To solve the above-mentioned technical problems, this utility model provides a control circuit with power failure detection.

[0002] To achieve the above objectives, this utility model is implemented by the following technical solution: A control circuit with power failure detection includes: The power supply module is used to provide a stable operating voltage for the control system; A power failure detection module is provided, the input terminal of which is connected to the power output terminal of the power supply module. The power failure detection module is used to monitor the output voltage of the power supply module in real time, and output a power failure signal when the output voltage drops. If the output voltage recovers to the initial voltage after the drop, a restart signal is output. The integrated control module has its control signal input terminal connected to the output terminal of the power failure detection module. When the integrated control module receives the power failure signal, it stops working. When the integrated control module receives the restart signal, it resumes normal operation and outputs a color light switching signal. The PWM control module has its color light switching terminal connected to the control signal output terminal of the integrated control module. After receiving the color light switching signal, the PWM control module performs a color light switching operation.

[0003] By adopting the above technical solution, the power failure detection module monitors the output voltage of the power supply module in real time. When the output voltage drops, it can promptly control the integrated control module to stop working, avoiding problems such as abnormal operation of the control system or data loss due to unstable power supply, reducing the risk of failure caused by power failure, and improving the reliability and stability of the entire control system. Secondly, after the power supply is restored to normal, the integrated control module switches the color light through the PWM control module, so that users can intuitively know that the power supply has been restored to normal through the color change of the light. Moreover, the color light change reminder method can more directly and eye-catchingly remind users, greatly enhancing the effect of status prompts.

[0004] As described above, a control circuit with power failure detection is provided, wherein the integrated control module includes: A signal receiving control unit, wherein the input terminal of the signal receiving control unit is connected to the output terminal of the power failure detection module, and the signal receiving control unit is used to receive the power failure signal or restart signal output by the power failure detection module, and output the corresponding stop signal or run signal; An output control unit is provided, the input terminal of which is connected to the output terminal of the signal receiving control unit, and the output terminal of which is connected to the color light switching terminal of the PWM control module. When the output control unit receives the stop signal, it stops working. When the output control unit receives the run signal, it resumes normal operation and outputs the color light switching signal.

[0005] As described above, a control circuit with power failure detection includes a power failure detection module comprising a detection chip U1, resistors R21, R22, and R23. The power output terminal of the power supply module is connected to one end of resistor R21, the other end of resistor R21 is connected to one end of resistor R23, the other end of resistor R23 is grounded, the other end of resistor R21 is also connected to one end of resistor R22, the other end of resistor R22 is connected to the input terminal of the detection chip U1, and the output terminal of the detection chip U1 is connected to the input terminal of the signal receiving and control unit.

[0006] As described above, in a control circuit with power-down detection, the PWM control module includes: The LED light-emitting unit has its input terminal connected to the control signal output terminal of the output control unit. When the LED light-emitting unit receives the color light switching signal, it performs a color light switching operation. The LED control unit has its input terminal connected to the LED control terminal of the output control unit, and its output terminal connected to the input terminal of the LED light-emitting unit. The LED control unit is used to control the switching and luminous intensity of the LED light-emitting unit.

[0007] As described above, a control circuit with power-off detection includes an LED light-emitting unit comprising a resistor R9, LED1, LED2, a first color light Y, and a second color light W. The first control signal output terminal of the output control unit is connected to the negative terminal of LED1, and is also connected to the positive terminal of LED2. The first control signal output terminal of the output control unit is also connected to the first color light Y. The positive terminal of LED1 is connected to the negative terminal of LED2. The positive terminal of LED1 is also connected to one end of the resistor R9, and the other end of the resistor R9 is connected to the second color light W. The second control signal output terminal of the output control unit is connected to the second color light W.

[0008] As described above, a control circuit with power-off detection is provided. The LED control unit includes field-effect transistors Q5, Q6, Q7, and Q8, diodes D10, D11, D12, and D13, resistors R30, R31, R32, R33, and R59. The first LED control terminal of the output control unit is connected to one end of resistor R30. The first LED control terminal of the output control unit is also connected to the negative terminal of diode D10. The positive terminal of diode D10 is connected to the other end of resistor R30. The other end of resistor R30 is connected to the controlled terminal of field-effect transistor Q5. The first conducting terminal of field-effect transistor Q5 is connected to the power output terminal of the power supply module, and the second conducting terminal of field-effect transistor Q5 is connected to the first input terminal of the LED light-emitting unit. The second LED control terminal of the output control unit is connected to one end of the resistor R31. The second LED control terminal of the output control unit is also connected to the negative terminal of the diode D11. The positive terminal of the diode D11 is connected to the other end of the resistor R31. The other end of the resistor R31 is connected to the controlled terminal of the field-effect transistor Q6. The first conducting terminal of the field-effect transistor Q6 is connected to the first input terminal of the LED light-emitting unit. The second conducting terminal of the field-effect transistor Q6 is connected to one end of the resistor R59. The other end of the resistor R59 is grounded. The third LED control terminal of the output control unit is connected to one end of the resistor R32. The third LED control terminal of the output control unit is also connected to the negative terminal of the diode D12. The positive terminal of the diode D12 is connected to the other end of the resistor R32. The other end of the resistor R32 is connected to the controlled terminal of the field-effect transistor Q7. The first conducting terminal of the field-effect transistor Q7 is connected to the power output terminal of the power supply module. The second conducting terminal of the field-effect transistor Q7 is connected to the second input terminal of the LED light-emitting unit. The fourth LED control terminal of the output control unit is connected to one end of the resistor R33. The fourth LED control terminal of the output control unit is also connected to the negative terminal of the diode D13. The positive terminal of the diode D13 is connected to the other end of the resistor R33. The other end of the resistor R33 is connected to the controlled terminal of the field-effect transistor Q8. The first conducting terminal of the field-effect transistor Q8 is connected to the second input terminal of the LED light-emitting unit. The second conducting terminal of the field-effect transistor Q8 is connected to one end of the resistor R59. The other end of the resistor R59 is grounded.

[0009] The control circuit with power failure detection described above further includes a start-stop module. The input terminal of the start-stop module is connected to the power output terminal of the power supply module, and the output terminal of the start-stop module is connected to the start-stop control terminal of the integrated control module. The start-stop module is used to output a stop operation signal when the output voltage of the power supply module drops, so as to control the integrated control module to stop working.

[0010] As described above, in a control circuit with power failure detection, the start / stop module includes: A startup unit is provided, wherein the input terminal of the startup unit is connected to the power output terminal of the power supply module, and the output terminal of the startup unit is connected to the startup terminal of the output control unit. The startup unit is used to output a startup signal when the output voltage of the power supply module is normal. The stop unit has its input terminal connected to the power output terminal of the power supply module and its output terminal connected to the stop terminal of the output control unit. The stop unit is used to output a stop signal when the output voltage of the power supply module drops.

[0011] As described above, a control circuit with power-down detection includes a startup unit comprising transistors Q11 and Q12, a resistor R58, and a capacitor CE3. The power output terminal of the power supply module is connected to the collector of transistor Q12. The power output terminal of the power supply module is also connected to one end of the resistor R58. The other end of the resistor R58 is connected to the base of transistor Q12. The other end of the resistor R58 is also connected to the collector of transistor Q11. The emitter of transistor Q12 is connected to the base of transistor Q11. The emitter of transistor Q12 is also connected to one end of the resistor R58. The other end of the resistor R58 and the emitter of transistor Q11 are both connected to one end of the capacitor CE3. The other end of the capacitor CE3 is grounded. The other end of the resistor R58 is also connected to the startup terminal of the output control unit.

[0012] As described above, a control circuit with power-down detection includes a stop unit comprising a transistor Q9, a capacitor C36, a transistor Q10, resistors R53 and R54. The power output terminal of the power supply module is connected to the emitter of transistor Q10. The power output terminal of the power supply module is also connected to one end of resistor R53. The other end of resistor R53 is connected to the base of transistor Q10. The other end of resistor R53 is also connected to the emitter of transistor Q9. Resistor R54 is connected between the collector of transistor Q10 and ground. The collector of transistor Q10 is also connected to the base of transistor Q9. The capacitor C36 is connected between the collector of transistor Q9 and the power output terminal of the power supply module. The collector of transistor Q9 is also connected to the stop terminal of the output control unit.

[0013] Compared with the prior art, the control circuit with power failure detection proposed in this utility model has the following beneficial effects: 1. The control circuit proposed in this utility model can monitor the output voltage of the power supply module in real time through the power failure detection module. When the output voltage drops, it can promptly control the integrated control module to stop working, avoiding problems such as abnormal operation of the control system or data loss due to unstable power supply, reducing the risk of failure caused by power failure, and improving the reliability and stability of the entire control system. Secondly, after the power supply is restored to normal, the integrated control module switches the color light through the PWM control module, so that the user can intuitively know that the power supply has been restored to normal through the color change of the light. Moreover, the color light change reminder method can more directly and eye-catchingly remind the user, greatly enhancing the effect of status prompts. [Attached Image Description] To more clearly illustrate the technical solutions in the embodiments of this utility model, the accompanying drawings used in the description of the embodiments will be briefly introduced below.

[0014] Figure 1 This is a block diagram illustrating the circuit principle structure of this utility model; Figure 2 This is another circuit principle structure block diagram of this utility model; Figure 3 This is a schematic diagram of the control circuit part of this utility model.

Detailed Implementation Methods

[0015] Specific embodiments, combined with Figures 1 to 3 As shown, further illustrating the technical solution of this utility model, a control circuit with power failure detection includes a power supply module 100, a power failure detection module 200, a comprehensive control module 300, and a PWM control module 400. The power supply module 100 provides a stable operating voltage for the control system. The input terminal of the power failure detection module 200 is connected to the power output terminal of the power supply module 100. The power failure detection module 200 monitors the output voltage of the power supply module 100 in real time and outputs a power failure signal when the output voltage drops. If the output voltage drops, When the voltage is restored to the initial value, a restart signal is output. The control signal input terminal of the integrated control module 300 is connected to the output terminal of the power failure detection module 200. When the integrated control module 300 receives the power failure signal, it stops working. When the integrated control module 300 receives the restart signal, it resumes normal operation and outputs a color light switching signal. The color light switching terminal of the PWM control module 400 is connected to the control signal output terminal of the integrated control module 300. After receiving the color light switching signal, the PWM control module 400 performs a color light switching operation.

[0016] The power supply module 100 has an output voltage of 24V.

[0017] In this embodiment, the power failure detection module monitors the output voltage of the power supply module in real time. When the output voltage drops, it can promptly control the integrated control module to stop working, avoiding problems such as abnormal operation of the control system or data loss due to unstable power supply, reducing the risk of failure caused by power failure, and improving the reliability and stability of the entire control system. Secondly, after the power supply is restored to normal, the integrated control module switches the color light through the PWM control module, so that the user can intuitively know that the power supply has been restored to normal through the color change of the light. Moreover, the color light change reminder method can more directly and eye-catchingly remind the user, greatly enhancing the effect of status prompts.

[0018] Furthermore, as a preferred embodiment of this solution and not a limitation, the integrated control module 300 includes a signal receiving control unit 310 and an output control unit 320. The input terminal of the signal receiving control unit 310 is connected to the output terminal of the power failure detection module 200. The signal receiving control unit 310 is used to receive the power failure signal or restart signal output by the power failure detection module 200 and output a corresponding stop signal or run signal. The input terminal of the output control unit 320 is connected to the output terminal of the signal receiving control unit 310, and the output terminal of the output control unit 320 is connected to the color light switching terminal of the PWM control module 400. When the output control unit 320 receives the stop signal, it stops working. After receiving the run signal, the output control unit 320 resumes normal operation and outputs a color light switching signal.

[0019] In a preferred embodiment, the signal receiving control unit 310 includes a signal receiving chip J1, which is preferably a Mijia control chip.

[0020] In a preferred embodiment, the output control unit 320 includes a main control chip J2, which can be implemented using, for example, an MCU (Micro controller Unit), a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), or a SOC (System on Chip).

[0021] It should be noted that, in addition to receiving the power failure signal and restart signal output by the power failure detection module 200, the aforementioned signal receiving control unit 310 can also receive control commands output by the Mi Home APP to control the light intensity and light switch of the control system. The signal transmission method between the Mi Home APP and the signal receiving control unit 310 is the same as the method of sending remote control commands to the control module on the device through the APP software on the mobile phone. It is a very mature existing technology and is not the inventive point of this application. Therefore, this application will not elaborate on the specific implementation method of signal transmission between the Mi Home APP and the signal receiving control unit 310.

[0022] Furthermore, as a preferred embodiment of this solution and not a limitation, the power failure detection module 200 includes a detection chip U1, resistors R21, R22, and R23. The power output terminal of the power supply module 100 is connected to one end of resistor R21, the other end of resistor R21 is connected to one end of resistor R23, the other end of resistor R23 is grounded, the other end of resistor R21 is also connected to one end of resistor R22, the other end of resistor R22 is connected to the input terminal (i.e., pin 2) of the detection chip U1, and the output terminal (i.e., pin 5) of the detection chip U1 is connected to the input terminal of the signal receiving and control unit 310.

[0023] The preferred model of the detection chip U1 is MC32P7.

[0024] Specifically, the 24V output voltage of the power supply module 100 is divided by resistors R21 and R23 in series and then applied to resistor R22. The input terminal (pin 5) of the detection chip U1 can read the 24V output voltage of the power supply module in real time through resistor R22. When the 24V output voltage of the power supply module drops, the voltage after the series division by resistors R21 and R23 will also decrease accordingly. That is, the voltage read by the input terminal (pin 5) of the detection chip U1 will be lower than the normal voltage range. Thus, the detection chip U1 detects the drop in the 24V output voltage of the power supply module and outputs a power failure signal to the output signal receiving and control unit 310.

[0025] In this embodiment, the voltage divider circuit composed of resistors R21 and R23 can adjust the output voltage of the power supply module to the range that the detection chip U1 can detect, and can avoid the situation where inaccurate detection is not possible due to voltage fluctuations. This allows the detection chip U1 to accurately determine whether the output voltage has dropped, thus improving the accuracy of power failure detection. Secondly, the design of the voltage divider circuit can limit the voltage read from the input terminal of the detection chip U1, preventing the detection chip U1 from being damaged by excessively high voltage.

[0026] Furthermore, as a preferred embodiment of this solution and not a limitation, the PWM control module 400 includes an LED light-emitting unit 410 and an LED control unit 420. The input terminal of the LED light-emitting unit 410 is connected to the control signal output terminal of the output control unit 320. When the LED light-emitting unit 410 receives the color light switching signal, it performs a color light switching operation. The input terminal of the LED control unit 420 is connected to the LED control terminal of the output control unit 320, and the output terminal of the LED control unit 420 is connected to the input terminal of the LED light-emitting unit 410. The LED control unit 420 is used to control the switching and luminous intensity of the LED light-emitting unit 410.

[0027] In this embodiment, after receiving the color light switching signal, the LED light-emitting unit can quickly switch the color light, allowing users to intuitively know that the power supply has been restored to normal through the color change of the light. When the power supply module is supplying power normally, the user can send control commands to the signal receiving control unit through the Mi Home APP. The output control unit outputs control signals to the LED light-emitting unit according to the control commands received by the signal receiving control unit, so as to accurately adjust the light intensity and on / off of the LED light-emitting unit, which helps to achieve energy-saving and comfortable lighting effects.

[0028] In a preferred embodiment, the LED light-emitting unit 410 includes a resistor R9, LED1, LED2, a first color light Y, and a second color light W. The first control signal output terminal (i.e., pin 7) of the output control unit 320 is connected to the negative terminal of LED1. The first control signal output terminal (i.e., pin 7) of the output control unit 320 is also connected to the positive terminal of LED2. The first control signal output terminal (i.e., pin 7) of the output control unit 320 is also connected to the first color light Y. The positive terminal of LED1 is connected to the negative terminal of LED2. The positive terminal of LED1 is also connected to one end of the resistor R9. The other end of the resistor R9 is connected to the second color light W. The second control signal output terminal (i.e., pin 4) of the output control unit 320 is connected to the second color light W.

[0029] Wherein, the first color light Y emits yellow light, the second color light W emits white light, and the default initial state of the control circuit is that the first color light Y emits light.

[0030] Specifically, when the 24V output voltage of the power supply module 100 drops and then returns to its initial voltage state, the power failure detection module 200 sends a restart signal to the signal receiving control unit 310. After receiving the restart signal, the signal receiving control unit sends a color light switching signal to the output control unit 320. At this time, the first control signal output terminal of the output control unit 320 outputs a low-level signal, and the second control signal output terminal outputs a high-level signal. The first color light Y is in the cutoff state due to receiving the low-level signal and does not emit yellow light, while the second color light W is in the conducting state due to receiving the high-level signal and emits white light. That is, the initial yellow light is switched to white light. If the 24V output voltage of the power supply module 100 drops again and then returns to the initial voltage state, the first control signal output terminal of the output control unit 320 outputs a high-level signal and the second control signal output terminal outputs a low-level signal. The first color light Y, receiving the high-level signal, is in the conducting state and emits yellow light, while the second color light W, receiving the low-level signal, is in the cut-off state and does not emit white light. That is, it switches from white light to yellow light. And so on, alternating between white light and yellow light each time the color light changes.

[0031] It is worth noting that this application pre-sets the number of color light switching times. When the number of color light switching times reaches the preset number, the reset terminal (i.e., pin 4) of the signal receiving control unit 310 sends a reset signal to the reset terminal (i.e., pin 11) of the output control unit 320. That is, the first control signal output terminal of the output control unit 320 outputs a high-level signal, and the second control signal output terminal outputs a low-level signal, that is, it is reset to the initial yellow light emission state.

[0032] In a preferred embodiment, the LED control unit 420 includes field-effect transistors Q5, Q6, Q7, and Q8, diodes D10, D11, D12, and D13, resistors R30, R31, R32, R33, and R59. The first LED control terminal (pin 8) of the output control unit 320 is connected to one end of resistor R30. The first LED control terminal (pin 8) of the output control unit 320 is also connected to the negative terminal of diode D10. The positive terminal of diode D10 is connected to the other end of resistor R30. The other end of resistor R30 is connected to the controlled terminal of field-effect transistor Q5. The first conducting terminal of field-effect transistor Q5 is connected to the power output terminal (+24V terminal) of the power supply module 100, and the second conducting terminal of field-effect transistor Q5 is connected to the first input terminal of the LED light-emitting unit 410. The second LED control terminal (i.e., pin 6) of the output control unit 320 is connected to one end of the resistor R31. The second LED control terminal (i.e., pin 6) of the output control unit 320 is also connected to the negative terminal of the diode D11. The positive terminal of the diode D11 is connected to the other end of the resistor R31. The other end of the resistor R31 is connected to the controlled terminal of the field-effect transistor Q6. The first conducting terminal of the field-effect transistor Q6 is connected to the first input terminal of the LED light-emitting unit 410. The second conducting terminal of the field-effect transistor Q6 is connected to one end of the resistor R59. The other end of the resistor R59 is grounded. The third LED control terminal (i.e., pin 5) of the output control unit 320 is connected to one end of the resistor R32. The third LED control terminal (i.e., pin 5) of the output control unit 320 is also connected to the negative terminal of the diode D12. The positive terminal of the diode D12 is connected to the other end of the resistor R32. The other end of the resistor R32 is connected to the controlled terminal of the field-effect transistor Q7. The first conducting terminal of the field-effect transistor Q7 is connected to the power output terminal (i.e., +24V terminal) of the power supply module 100. The second conducting terminal of the field-effect transistor Q7 is connected to the second input terminal of the LED light-emitting unit 410. The fourth LED control terminal (i.e., pin 3) of the output control unit 320 is connected to one end of the resistor R33. The fourth LED control terminal (i.e., pin 3) of the output control unit 320 is also connected to the negative terminal of the diode D13. The positive terminal of the diode D13 is connected to the other end of the resistor R33. The other end of the resistor R33 is connected to the controlled terminal of the field-effect transistor Q8. The first conducting terminal of the field-effect transistor Q8 is connected to the second input terminal of the LED light-emitting unit 410. The second conducting terminal of the field-effect transistor Q8 is connected to one end of the resistor R59. The other end of the resistor R59 is grounded.

[0033] Specifically, when the first LED control terminal (pin 8) and the fourth LED control terminal (pin 3) of the output control unit 320 output a high-level signal, and the second LED control terminal (pin 6) and the third LED control terminal (pin 5) of the output control unit 320 output a low-level signal, the controlled terminals of the field-effect transistors Q5 and Q8 are turned on after receiving the high-level signal. Since the light-emitting diodes LED1 in the LED light-emitting unit 410 are connected in reverse, the conduction current will flow from the positive terminal of the light-emitting diode LED2 in the LED light-emitting unit 410 and flow out from the negative terminal of the light-emitting diode LED2, and be grounded through the field-effect transistor Q8. Thus, the light-emitting diode LED2 emits light, while the light-emitting diode LED1 does not emit light. When the first LED control terminal (pin 8) and the fourth LED control terminal (pin 3) of the output control unit 320 output low-level signals, and the second LED control terminal (pin 6) and the third LED control terminal (pin 5) of the output control unit 320 output high-level signals, the controlled terminals of the field-effect transistors Q6 and Q7 are turned on after receiving the high-level signals. Since the light-emitting diodes LED2 in the LED light-emitting unit 410 are connected in reverse, the conduction current will flow into the positive terminal of the light-emitting diode LED1 in the LED light-emitting unit 410 and flow out from the negative terminal of the light-emitting diode LED1, and be grounded through the field-effect transistor Q6. Thus, the light-emitting diode LED1 emits light, while the light-emitting diode LED2 does not emit light.

[0034] The signal output by the LED control terminal of the aforementioned output control unit 320 is controlled by the Mi Home APP. That is, the user can control the LED control terminal of the output control unit 320 through the Mi Home APP, thereby controlling the light emission of LED1 or LED2. Of course, the user can also control the duty cycle of the four field-effect transistors through the LED control terminal of the output control unit 320 to adjust the light intensity of LED1 or LED2.

[0035] In this embodiment, by utilizing the unidirectional conductivity of the light-emitting diode and the switching characteristics of the field-effect transistor, the path of the conduction current can be precisely controlled, thereby achieving precise control of the light emission of the light-emitting diode LED1 or LED2. Secondly, the field-effect transistor has high input impedance characteristics, which reduces interference to the control signal and avoids false triggering or control errors caused by interference, ensuring the accuracy of the light emission state.

[0036] Furthermore, as a preferred embodiment of this solution and not a limitation, it also includes a start-stop module 500. The input terminal of the start-stop module 500 is connected to the power output terminal of the power supply module 100, and the output terminal of the start-stop module 500 is connected to the start-stop control terminal of the integrated control module 300. The start-stop module 500 is used to output a stop operation signal when the output voltage of the power supply module 100 drops, so as to control the integrated control module 300 to stop working.

[0037] In a preferred embodiment, the start / stop module 500 includes a start unit 510 and a stop unit 520. The input terminal of the start unit 510 is connected to the power output terminal of the power supply module 100, and the output terminal of the start unit 510 is connected to the start terminal of the output control unit 320. The start unit 510 is used to output a start signal when the output voltage of the power supply module 100 is normal. The input terminal of the stop unit 520 is connected to the power output terminal of the power supply module 100, and the output terminal of the stop unit 520 is connected to the stop terminal of the output control unit 320. The stop unit 520 is used to output a stop signal when the output voltage of the power supply module 100 drops.

[0038] In this embodiment, the start / stop module monitors the power supply status. When an abnormality occurs in the power supply, the stop unit can promptly stop the operation of the integrated control module, avoiding problems such as abnormal operation of the control system or data loss due to unstable power supply, reducing the risk of failure caused by power outages, and improving the reliability and stability of the entire control system.

[0039] Alternatively, the startup unit 510 includes transistors Q11 and Q12, resistor R58, and capacitor CE3. The power output terminal (i.e., +24V terminal) of the power supply module 100 is connected to the collector of transistor Q12. The power output terminal of the power supply module 100 is also connected to one end of resistor R58. The other end of resistor R58 is connected to the base of transistor Q12. The other end of resistor R58 is also connected to the collector of transistor Q11. The emitter of transistor Q12 is connected to the base of transistor Q11. The emitter of transistor Q12 is also connected to one end of resistor R58. The other end of resistor R58 and the emitter of transistor Q11 are both connected to one end of capacitor CE3. The other end of capacitor CE3 is grounded. The other end of resistor R58 is also connected to the startup terminal (i.e., pin 10) of the output control unit 320.

[0040] Specifically, when the 24V output voltage of the power supply module 100 is normal, the current flowing through resistor R58 will provide a bias current to the base of transistor Q12, causing transistor Q12 to conduct. The current will flow out from the emitter of transistor Q12, providing a bias current to the base of transistor Q11, causing transistor Q11 to conduct as well. At this time, after the start-up terminal (pin 10) of the output control unit 320 receives the conduction current, it maintains the normal operation of the output control unit. If the 24V output voltage of the power supply module 100 drops, the bias current provided to the transistor Q12 through resistor R58 cannot make the transistor Q12 enter the saturation conduction state, and the transistor Q12 is in the cutoff state, so the start terminal (pin 10) of the output control unit 320 cannot receive the conduction current.

[0041] Alternatively, the stop unit 520 includes transistor Q9, capacitor C36, transistor Q10, resistor R53, and resistor R54. The power output terminal (i.e., +24V terminal) of the power supply module 100 is connected to the emitter of transistor Q10. The power output terminal (i.e., +24V terminal) of the power supply module 100 is also connected to one end of resistor R53, and the other end of resistor R53 is connected to the base of transistor Q10. The other end is also connected to the emitter of the transistor Q9. The collector of the transistor Q10 is connected to ground by the resistor R54. The collector of the transistor Q10 is also connected to the base of the transistor Q9. The collector of the transistor Q9 is connected to the power output terminal (i.e., +24V terminal) of the power supply module 100 by the capacitor C36. The collector of the transistor Q9 is also connected to the stop terminal (i.e., pin 9) of the output control unit 320.

[0042] Specifically, when the 24V output voltage of the power supply module 100 is normal, the current flowing through resistor R53 will provide bias current to the base of transistor Q10, causing transistor Q12 to conduct. At this time, since the collector of transistor Q10 is grounded through resistor R54, the current output from its collector will flow through the ground, causing transistor Q9 to be cut off. At this time, no stop signal is output, and the output control unit 320 maintains normal operation. When the 24V output voltage of the power supply module 100 drops, the base voltage of transistor Q10 also decreases, causing transistor Q10 to be cut off. Meanwhile, capacitor C36 connected between the collector of transistor Q9 and the power output terminal (+24V terminal) of the power supply module 100 begins to charge, causing the emitter of transistor Q9 to conduct in the forward direction, thus making transistor Q9 a conducting state. At this time, the stop terminal (pin 9) of the output control unit 320 can receive a stop signal, thereby stopping the operation of the output control unit 320.

[0043] Furthermore, as a preferred embodiment of this solution and not a limitation, it also includes a step-down module 600, the input terminal of which is connected to the power output terminal of the power supply module 100, and the output terminal of which is connected to the power input terminal of the integrated control module 300. The step-down module 600 is used to convert the output voltage of the power supply module 100 into a driving voltage to drive the integrated control module 300 to work.

[0044] The driving voltage is 3.3V.

[0045] In a preferred embodiment, the step-down module 600 includes a step-down converter U2. The power output terminal (i.e., +24V terminal) of the power supply module 100 is connected to the input terminal (i.e., VIN terminal) of the step-down converter U2. The output terminal (i.e., VOUT terminal) of the step-down converter U2 is connected to the power input terminal (i.e., pin 1) of the signal receiving control unit 310. The output terminal (i.e., VOUT terminal) of the step-down converter U2 is also connected to the power input terminal (i.e., pin 13) of the output control unit 320.

[0046] The preferred model of the step-down converter U2 is KP521403.

[0047] In this embodiment, the buck converter U2 steadily reduces the input +24V voltage to +3.3V, providing a stable +3.3V drive power supply for the signal receiving control unit and the output control unit, thus preventing the signal receiving control unit and the output control unit from burning out due to excessively high drive voltage. Secondly, the buck converter U2 has built-in multiple protection functions such as overcurrent protection, overvoltage protection, and overheat protection, which can protect the control chip and control system from damage and improve the reliability of the control system.

[0048] Those skilled in the art should understand that the above description is one embodiment provided in conjunction with specific content, and does not imply that the specific implementation of this utility model is limited to these descriptions. Furthermore, due to differences in industry naming conventions, it is not limited to the above names or English names. Any methods or structures similar to or identical to those of this utility model, or any technical deductions or substitutions made based on the concept of this utility model, should be considered within the scope of protection of this utility model.

Claims

1. A control circuit with power failure detection, characterized in that, include: The power supply module is used to provide a stable operating voltage for the control system; A power failure detection module is provided, the input terminal of which is connected to the power output terminal of the power supply module. The power failure detection module is used to monitor the output voltage of the power supply module in real time, and output a power failure signal when the output voltage drops. If the output voltage recovers to the initial voltage after the drop, a restart signal is output. The integrated control module has its control signal input terminal connected to the output terminal of the power failure detection module. When the integrated control module receives the power failure signal, it stops working. When the integrated control module receives the restart signal, it resumes normal operation and outputs a color light switching signal. The PWM control module has its color light switching terminal connected to the control signal output terminal of the integrated control module. After receiving the color light switching signal, the PWM control module performs a color light switching operation. The power failure detection module includes a detection chip U1, resistors R21, R22, and R23. The power output terminal of the power supply module is connected to one end of resistor R21, the other end of resistor R21 is connected to one end of resistor R23, the other end of resistor R23 is grounded, the other end of resistor R21 is also connected to one end of resistor R22, the other end of resistor R22 is connected to the input terminal of the detection chip U1, and the output terminal of the detection chip U1 is connected to the input terminal of the signal receiving and control unit.

2. The control circuit with power failure detection according to claim 1, characterized in that, The integrated control module includes: A signal receiving control unit, wherein the input terminal of the signal receiving control unit is connected to the output terminal of the power failure detection module, and the signal receiving control unit is used to receive the power failure signal or restart signal output by the power failure detection module, and output the corresponding stop signal or run signal; An output control unit is provided, the input terminal of which is connected to the output terminal of the signal receiving control unit, and the output terminal of which is connected to the color light switching terminal of the PWM control module. When the output control unit receives the stop signal, it stops working. When the output control unit receives the run signal, it resumes normal operation and outputs the color light switching signal.

3. A control circuit with power failure detection according to claim 2, characterized in that, The PWM control module includes: The LED light-emitting unit has its input terminal connected to the control signal output terminal of the output control unit. When the LED light-emitting unit receives the color light switching signal, it performs a color light switching operation. The LED control unit has its input terminal connected to the LED control terminal of the output control unit, and its output terminal connected to the input terminal of the LED light-emitting unit. The LED control unit is used to control the switching and luminous intensity of the LED light-emitting unit.

4. A control circuit with power failure detection according to claim 3, characterized in that, The LED light-emitting unit includes a resistor R9, LED1, LED2, a first color light Y, and a second color light W. The first control signal output terminal of the output control unit is connected to the negative terminal of LED1, the first control signal output terminal of the output control unit is also connected to the positive terminal of LED2, the first control signal output terminal of the output control unit is also connected to the first color light Y, the positive terminal of LED1 is connected to the negative terminal of LED2, the positive terminal of LED1 is also connected to one end of the resistor R9, the other end of the resistor R9 is connected to the second color light W, and the second control signal output terminal of the output control unit is connected to the second color light W.

5. A control circuit with power failure detection according to claim 3, characterized in that, The LED control unit includes field-effect transistors Q5, Q6, Q7, and Q8, diodes D10, D11, D12, and D13, resistors R30, R31, R32, R33, and R59. The first LED control terminal of the output control unit is connected to one end of resistor R30. The first LED control terminal of the output control unit is also connected to the negative terminal of diode D10. The positive terminal of diode D10 is connected to the other end of resistor R30. The other end of resistor R30 is connected to the controlled terminal of field-effect transistor Q5. The first conducting terminal of field-effect transistor Q5 is connected to the power output terminal of the power supply module, and the second conducting terminal of field-effect transistor Q5 is connected to the first input terminal of the LED light-emitting unit. The second LED control terminal of the output control unit is connected to one end of the resistor R31. The second LED control terminal of the output control unit is also connected to the negative terminal of the diode D11. The positive terminal of the diode D11 is connected to the other end of the resistor R31. The other end of the resistor R31 is connected to the controlled terminal of the field-effect transistor Q6. The first conducting terminal of the field-effect transistor Q6 is connected to the first input terminal of the LED light-emitting unit. The second conducting terminal of the field-effect transistor Q6 is connected to one end of the resistor R59. The other end of the resistor R59 is grounded. The third LED control terminal of the output control unit is connected to one end of the resistor R32. The third LED control terminal of the output control unit is also connected to the negative terminal of the diode D12. The positive terminal of the diode D12 is connected to the other end of the resistor R32. The other end of the resistor R32 is connected to the controlled terminal of the field-effect transistor Q7. The first conducting terminal of the field-effect transistor Q7 is connected to the power output terminal of the power supply module. The second conducting terminal of the field-effect transistor Q7 is connected to the second input terminal of the LED light-emitting unit. The fourth LED control terminal of the output control unit is connected to one end of the resistor R33. The fourth LED control terminal of the output control unit is also connected to the negative terminal of the diode D13. The positive terminal of the diode D13 is connected to the other end of the resistor R33. The other end of the resistor R33 is connected to the controlled terminal of the field-effect transistor Q8. The first conducting terminal of the field-effect transistor Q8 is connected to the second input terminal of the LED light-emitting unit. The second conducting terminal of the field-effect transistor Q8 is connected to one end of the resistor R59. The other end of the resistor R59 is grounded.

6. A control circuit with power failure detection according to claim 2, characterized in that, It also includes a start-stop module, the input of which is connected to the power output of the power supply module, and the output of which is connected to the start-stop control terminal of the integrated control module. The start-stop module is used to output a stop operation signal when the output voltage of the power supply module drops, so as to control the integrated control module to stop working.

7. A control circuit with power failure detection according to claim 6, characterized in that, The start / stop module includes: A startup unit is provided, wherein the input terminal of the startup unit is connected to the power output terminal of the power supply module, and the output terminal of the startup unit is connected to the startup terminal of the output control unit. The startup unit is used to output a startup signal when the output voltage of the power supply module is normal. The stop unit has its input terminal connected to the power output terminal of the power supply module and its output terminal connected to the stop terminal of the output control unit. The stop unit is used to output a stop signal when the output voltage of the power supply module drops.

8. A control circuit with power failure detection according to claim 7, characterized in that, The startup unit includes transistors Q11 and Q12, resistor R58, and capacitor CE3. The power output terminal of the power supply module is connected to the collector of transistor Q12. The power output terminal of the power supply module is also connected to one end of resistor R58. The other end of resistor R58 is connected to the base of transistor Q12. The other end of resistor R58 is also connected to the collector of transistor Q11. The emitter of transistor Q12 is connected to the base of transistor Q11. The emitter of transistor Q12 is also connected to one end of resistor R58. The other end of resistor R58 and the emitter of transistor Q11 are both connected to one end of capacitor CE3. The other end of capacitor CE3 is grounded. The other end of resistor R58 is also connected to the startup terminal of the output control unit.

9. A control circuit with power failure detection according to claim 7, characterized in that, The stop unit includes transistor Q9, capacitor C36, transistor Q10, resistor R53, and resistor R54. The power output terminal of the power supply module is connected to the emitter of transistor Q10. The power output terminal of the power supply module is also connected to one end of resistor R53. The other end of resistor R53 is connected to the base of transistor Q10. The other end of resistor R53 is also connected to the emitter of transistor Q9. Resistor R54 is connected between the collector of transistor Q10 and ground. The collector of transistor Q10 is also connected to the base of transistor Q9. Capacitor C36 is connected between the collector of transistor Q9 and the power output terminal of the power supply module. The collector of transistor Q9 is also connected to the stop terminal of the output control unit.