A voltage detection circuit
Patent Information
- Application Number
- CN202521905611.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-05
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2035-09-05
AI Technical Summary
[0003]目前,输入电压监测主要采用分立元器件搭建的检测方案,此方案存在以下缺点:(1)电网难以避免存在浪涌、电磁波动干扰的情况,易造成检测信号抖动,导致系统误判控制;(2)掉电时,电路难以维持检测信号的稳定输出,系统无法正确识别掉电状态,造成LED灯误动作;(3)检测、驱动和控制功能往往独立设计,器件较多,电路复杂,可靠性不足
其一,通过在电路中集成滤波、整流、驱动、检测和控制五个模块,形成了一个完整、稳定、抗干扰强且具备自动控制功能的系统,可实现对LED灯的智能化控制;
Smart Images

Figure CN224732033U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the technical field of electrical testing, and more specifically, to a voltage detection circuit. Background Technology
[0002] In modern electronic devices, voltage detection is one of the core technologies in power management, overvoltage protection, and undervoltage protection. By detecting voltage in real time, protective measures can be taken promptly when voltage abnormalities occur, preventing circuit damage or equipment failure.
[0003] At present, the input voltage monitoring mainly adopts the detection scheme built with discrete components. This scheme has the following disadvantages: (1) The power grid is difficult to avoid the situation of surge and electromagnetic fluctuation interference, which can easily cause the detection signal to jitter and lead to the system misjudgment and control; (2) When the power is off, the circuit is difficult to maintain the stable output of the detection signal, and the system cannot correctly identify the power off state, causing the LED to malfunction; (3) The detection, driving and control functions are often designed independently, with many components, complex circuits and insufficient reliability. Utility Model Content
[0004] To address the shortcomings of existing technologies, the purpose of this utility model is to provide a voltage detection circuit that has the advantages of intelligent control of LED lights and strong anti-interference capabilities.
[0005] The above-mentioned technical objective of this utility model is achieved through the following technical solution: a voltage detection circuit, comprising: The filtering module is used to suppress electromagnetic interference and surges in the input AC voltage. A rectifier-filter module, connected to the filter module, is used to rectify and filter the AC voltage and convert it into DC voltage; The LED driver module is connected to the rectifier and filter module to provide operating voltage and drive the LED lights to work. The detection module, connected to the filtering module and the LED driving module, is used to acquire voltage signals and compare them with a set threshold, and output a detection signal. The control module, connected to the detection module and the LED driver module, is used to receive detection signals and control the working state of the LED driver module.
[0006] In one embodiment, the filtering module includes a fuse F1, a varistor VR1, a common-mode inductor LF2, and a cross-line capacitor CX2 connected in sequence. Both the rectifier filtering module and the detection module are connected to the output terminal of the cross-line capacitor CX2.
[0007] In one embodiment, the rectifier filter module includes a rectifier bridge BD1, an inductor L1, a resistor R1, a capacitor CB1, and a capacitor CB2; The AC input terminal of the rectifier bridge BD1 is connected to the output terminal of the filter module. The inductor L1 and the resistor R1 are connected in parallel between the positive output terminal of the rectifier bridge BD1 and the input terminal of the LED driver module. The capacitor CB1 is connected between the positive output terminal of the rectifier bridge BD1 and ground. The capacitor CB2 is connected between the input terminal of the LED driver module and ground.
[0008] In one embodiment, the LED driving module includes a boost unit and a buck unit; The boost unit includes a transformer T1A, a control chip U2, a diode D2, and a capacitor CE1. One end of the transformer T1A is connected to the DC output terminal of the rectifier and filter module, and the other end is connected to both the switch terminal of the control chip U2 and the anode of the diode D2. The cathode of the diode D2 is connected to both the capacitor CE1 and the input terminal of the buck unit. The other end of the capacitor CE1 is connected to the detection module. The step-down unit includes a driver chip U1, a transformer T2, a diode D3, and a capacitor EC1. The input terminal of the driver chip U1 is connected to the cathode of the diode D2 and the anode of the capacitor EC1. The control terminal of the driver chip U1 is connected to the output terminal of the control module. The switching terminal of the driver chip U1 is connected to one end of the transformer T2 and the anode of the diode D3. The other end of the transformer T2 is connected to the cathode of the capacitor EC1. The capacitor EC1 is connected in parallel with the LED.
[0009] In one embodiment, the step-down unit further includes a resistor R3, which is connected in parallel with the capacitor EC1 to stabilize the voltage of the capacitor EC1; The boost unit also includes a resistor R4, which is connected between the cathode of the diode D2 and the feedback terminal of the control chip U2, and is used to provide feedback regulation for the boost output voltage.
[0010] In one embodiment, the control chip U2 is a KP2803X chip or a BP2636XG chip, and the driver chip U1 is a KP1463X chip or a BP2958X chip.
[0011] In one embodiment, the detection module includes a detection chip U4, a resistor R24, and a resistor R30; The detection terminal of the detection chip U4 is connected to the output terminal of the filter module via the resistor R30, the power supply terminal of the detection chip U4 is connected to the LED driver module via the resistor R24, and the output terminal of the detection chip U4 is connected to the input terminal of the control module.
[0012] In one embodiment, the detection chip U4 is an S4523B chip or an S4523RB chip; The detection module also includes a pull-up resistor, and the output terminal of the detection chip U4 is connected to a 5V power supply through the pull-up resistor.
[0013] In one embodiment, the detection chip U4 is a switch-adjustable color temperature control chip, and its voltage detection threshold is 120V.
[0014] In one embodiment, the control module is a microcontroller or an Internet of Things (IoT) unit, wherein the microcontroller is an MM32G0001 microcontroller or a CMS32L051 microcontroller.
[0015] The voltage detection circuit described above has the following beneficial effects: Firstly, by integrating five modules—filtering, rectification, driving, detection, and control—into the circuit, a complete, stable, anti-interference, and automatic control system is formed, which can realize intelligent control of LED lights. Secondly, through the reasonable combination of the filtering module and the rectifier filtering module, the surge and electromagnetic interference in the power grid are effectively suppressed, the anti-interference performance of the circuit is improved, and the subsequent detection module obtains a stable voltage signal input, thereby improving the accuracy of detection. Third, the detection module judges the output signal by the voltage threshold, and the control module directly controls the LED driver module according to the detection result, thereby realizing the automatic start and stop or state switching of the LED lamp without manual intervention. Attached Figure Description
[0016] Figure 1 This is the circuit schematic diagram of this utility model; Figure 2 This is an overall schematic diagram of the present invention. Detailed Implementation
[0017] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0018] In the description of this utility model, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this utility model, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this utility model.
[0019] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this utility model, "a plurality of" means at least two, unless otherwise explicitly specified.
[0020] In this utility model, unless otherwise explicitly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this utility model according to the specific circumstances.
[0021] In this utility model, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0022] A voltage detection circuit, such as Figure 1 and Figure 2 As shown, it includes a filtering module, a rectifier filtering module, an LED driver module, a detection module, and a control module; The system includes a filtering module for suppressing electromagnetic interference and surges in the input AC voltage; a rectifier-filter module connected to the filtering module for rectifying and filtering the AC voltage and converting it to DC voltage; an LED driver module connected to the rectifier-filter module for providing the operating voltage to drive the LED; a detection module connected to the filtering module and the LED driver module for acquiring voltage signals, comparing them with a set threshold, and outputting a detection signal; and a control module connected to the detection module and the LED driver module for receiving the detection signal and controlling the operating state of the LED driver module.
[0023] First, this invention effectively suppresses surges and electromagnetic interference in the power grid through a reasonable combination of a filtering module and a rectifier filtering module, improving the anti-interference performance of the circuit and enabling the subsequent detection module to obtain a stable voltage signal input, thereby improving the accuracy of detection. Second, the detection module judges the output signal based on the voltage threshold, and the control module directly controls the LED driver module based on the detection results, thereby realizing automatic start-stop or state switching of the LED lights without manual intervention.
[0024] This invention integrates five modules—filtering, rectification, driving, detection, and control—into a circuit, forming a complete, stable, highly interference-resistant system with automatic control functions, enabling intelligent control of LED lights.
[0025] Specifically, the filtering module includes a fuse F1, a varistor VR1, a common-mode inductor LF2, and a cross-line capacitor CX2 connected in sequence. The rectifier filtering module and the detection module are both connected to the output terminal of the cross-line capacitor CX2.
[0026] In practical applications, fuse F1 is connected in series with the live wire for overcurrent / short circuit protection; varistor VR1 is connected between the live wire and the neutral wire to absorb surges; common-mode inductor LF2 is connected in series with both the live wire and the neutral wire to filter out common-mode interference; and cross-line capacitor CX2 is connected between the live wire and the neutral wire to absorb differential-mode interference. After the input voltage signal is processed by the filtering module, it is output from the cross-line capacitor CX2 to the detection module for monitoring and to the rectification and filtering module for further processing.
[0027] Specifically, the rectifier and filter module includes a rectifier bridge BD1, an inductor L1, a resistor R1, a capacitor CB1, and a capacitor CB2; The AC input terminal of rectifier bridge BD1 is connected to the output terminal of the filter module. Inductor L1 and resistor R1 are connected in parallel between the positive output terminal of rectifier bridge BD1 and the input terminal of LED driver module. Capacitor CB1 is connected between the positive output terminal of rectifier bridge BD1 and ground. Capacitor CB2 is connected between the input terminal of LED driver module and ground.
[0028] The voltage signal processed by the filter module first enters the rectifier bridge BD1, which rectifies the AC voltage into a pulsating DC voltage, which is the basis for subsequent filtering. Then, the current is smoothed, high-frequency ripple is filtered out, and current is limited by inductor L1 and resistor R1. Finally, the ripple voltage is reduced by capacitors CB1 and CB2 to ensure the stable operation of the LED driver module.
[0029] Specifically, the LED driver module includes a boost unit and a buck unit; The boost unit includes a transformer T1A, a control chip U2, a diode D2, and a capacitor CE1. One end of the transformer T1A is connected to the DC output terminal of the rectifier filter module, and the other end is connected to both the switch terminal of the control chip U2 and the anode of the diode D2. The cathode of the diode D2 is connected to both the capacitor CE1 and the input terminal of the buck unit. The other end of the capacitor CE1 is connected to the detection module. The step-down unit includes a driver chip U1, a transformer T2, a diode D3, and a capacitor EC1. The input terminal of the driver chip U1 is connected to the cathode of the diode D2 and the anode of the capacitor EC1. The control terminal of the driver chip U1 is connected to the output terminal of the control module. The switching terminal of the driver chip U1 is connected to one end of the transformer T2 and the anode of the diode D3. The other end of the transformer T2 is connected to the cathode of the capacitor EC1. The capacitor EC1 is connected in parallel with the LED.
[0030] After receiving the DC voltage processed by the rectifier and filter module, the LED driver module utilizes a boost + buck topology. That is, it provides the working voltage to the detection module through the boost unit, provides a stable working current to the LED through the buck unit, and is responsible for receiving control signals from the control module to change the working state of the LED.
[0031] Furthermore, the step-down unit also includes a resistor R3, which is connected in parallel with the capacitor EC1 to stabilize the voltage of the capacitor EC1. The boost unit also includes a resistor R4, which is connected between the cathode of diode D2 and the feedback terminal of control chip U2, and is used to provide feedback regulation for the boost output voltage.
[0032] Furthermore, the control chip U2 is a KP2803X chip or a BP2636XG chip, and the driver chip U1 is a KP1463X chip or a BP2958X chip.
[0033] Specifically, the detection module includes detection chip U4, resistor R24, and resistor R30; The detection terminal of the detection chip U4 is connected to the output terminal of the filter module via resistor R30, the power supply terminal of the detection chip U4 is connected to the LED driver module via resistor R24, and the output terminal of the detection chip U4 is connected to the input terminal of the control module.
[0034] Furthermore, the detection chip U4 is an S4523B chip or an S4523RB chip; The detection module also includes pull-up resistors, and the output of the detection chip U4 is connected to a 5V power supply through the pull-up resistors.
[0035] like Figure 1As shown, pins 1 and 3 of the detection chip U4 are signal output terminals, pin 2 is the ground terminal, pin 4 is the detection terminal, and pin 6 is the power supply terminal. Pin 6 of the detection chip U4 is connected to capacitor CE1 in the LED driver module through resistor R24 to obtain the operating voltage of the detection chip U4. Its internal state retention time is 12 seconds, ensuring state recording even during prolonged power outages. Pins 1 and 3 of the detection chip U4 are connected to the main control chip pins of the control module. When a power-off signal is generated, both pins output signals to the control module. After internal processing, the control module outputs signals to control the LED driver module. In this embodiment, the pull-up resistors are resistors R25 and R26. Resistor R25 connects pin 1 of the detection chip U4 to the 5V power supply, and resistor R26 connects pin 3 of the detection chip U4 to the 5V power supply.
[0036] Furthermore, the detection chip U4 is a switch-adjustable color temperature control chip, and its voltage detection threshold is 120V.
[0037] In practical applications, when the detected AC voltage is below 120V and remains below 120V for 70ms, the detection chip U4 determines that the power is off. The 70ms is the debouncing time, effectively shielding against power grid interference and providing an accurate power-down signal. The detection chip U4 has a voltage detection function; when the voltage detection threshold is reached, the voltage on the output pin can be reduced.
[0038] Specifically, the control module is a microcontroller or an Internet of Things (IoT) unit.
[0039] The microcontroller used is either an MM32G0001 or a CMS32L051 microcontroller. The microcontroller receives the output signal from the detection module via pins, processes this signal internally, and then outputs a signal to control the LED driver module, thereby controlling the state of the LED light. The mechanical switch, after closing, generates a power-off signal upon opening and closing. The microcontroller in the control module can adjust the brightness or color temperature of the light based on this signal.
[0040] In practical applications, IoT units consist of components such as Bluetooth and Wi-Fi. When the control module is an IoT unit, a normally closed switch is used to ensure the IoT unit is powered on and online. Each activation of the normally closed switch generates a power-off signal, which the IoT unit uses to control the light's on / off state, dimming, color adjustment, etc. Since the state of the detection chip U4 is stored for 12 seconds, even if the normally closed switch remains open for an extended period, causing the IoT unit to power off and restart, it will continue to read the state held by the detection chip U4 and maintain the previous control state, thus achieving accurate control of the lighting fixture.
[0041] The embodiments described above are merely illustrative of several implementations of this utility model, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of this utility model patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this utility model, and these all fall within the protection scope of this utility model. Therefore, the protection scope of this utility model patent should be determined by the appended claims.
Claims
1. A voltage detection circuit, characterized in that, include: The filtering module is used to suppress electromagnetic interference and surges in the input AC voltage. A rectifier-filter module, connected to the filter module, is used to rectify and filter the AC voltage and convert it into DC voltage; The LED driver module is connected to the rectifier and filter module to provide operating voltage and drive the LED lights to work. The detection module, connected to the filtering module and the LED driving module, is used to acquire voltage signals and compare them with a set threshold, and output a detection signal. The control module, connected to the detection module and the LED driver module, is used to receive detection signals and control the working state of the LED driver module.
2. The voltage detection circuit according to claim 1, characterized in that: The filtering module includes a fuse F1, a varistor VR1, a common-mode inductor LF2, and a cross-line capacitor CX2 connected in sequence. The rectifier filtering module and the detection module are both connected to the output terminal of the cross-line capacitor CX2.
3. The voltage detection circuit according to claim 1, characterized in that: The rectifier and filter module includes a rectifier bridge BD1, an inductor L1, a resistor R1, a capacitor CB1, and a capacitor CB2; The AC input terminal of the rectifier bridge BD1 is connected to the output terminal of the filter module. The inductor L1 and the resistor R1 are connected in parallel between the positive output terminal of the rectifier bridge BD1 and the input terminal of the LED driver module. The capacitor CB1 is connected between the positive output terminal of the rectifier bridge BD1 and ground. The capacitor CB2 is connected between the input terminal of the LED driver module and ground.
4. A voltage detection circuit according to claim 1, characterized in that: The LED driver module includes a boost unit and a buck unit; The boost unit includes a transformer T1A, a control chip U2, a diode D2, and a capacitor CE1. One end of the transformer T1A is connected to the DC output terminal of the rectifier and filter module, and the other end is connected to both the switch terminal of the control chip U2 and the anode of the diode D2. The cathode of the diode D2 is connected to both the capacitor CE1 and the input terminal of the buck unit. The other end of the capacitor CE1 is connected to the detection module. The step-down unit includes a driver chip U1, a transformer T2, a diode D3, and a capacitor EC1. The input terminal of the driver chip U1 is connected to the cathode of the diode D2 and the anode of the capacitor EC1. The control terminal of the driver chip U1 is connected to the output terminal of the control module. The switching terminal of the driver chip U1 is connected to one end of the transformer T2 and the anode of the diode D3. The other end of the transformer T2 is connected to the cathode of the capacitor EC1. The capacitor EC1 is connected in parallel with the LED.
5. A voltage detection circuit according to claim 4, characterized in that: The step-down unit also includes a resistor R3, which is connected in parallel with the capacitor EC1 to stabilize the voltage of the capacitor EC1; The boost unit also includes a resistor R4, which is connected between the cathode of the diode D2 and the feedback terminal of the control chip U2, and is used to provide feedback regulation for the boost output voltage.
6. A voltage detection circuit according to claim 4, characterized in that: The control chip U2 is a KP2803X chip or a BP2636XG chip, and the driver chip U1 is a KP1463X chip or a BP2958X chip.
7. A voltage detection circuit according to claim 1, characterized in that: The detection module includes a detection chip U4, a resistor R24, and a resistor R30; The detection terminal of the detection chip U4 is connected to the output terminal of the filter module via the resistor R30, the power supply terminal of the detection chip U4 is connected to the LED driver module via the resistor R24, and the output terminal of the detection chip U4 is connected to the input terminal of the control module.
8. A voltage detection circuit according to claim 7, characterized in that: The detection chip U4 is an S4523B chip or an S4523RB chip; The detection module also includes a pull-up resistor, and the output terminal of the detection chip U4 is connected to a 5V power supply through the pull-up resistor.
9. A voltage detection circuit according to claim 8, characterized in that: The detection chip U4 is a switch-adjustable color temperature control chip, and its voltage detection threshold is 120V.
10. A voltage detection circuit according to claim 1, characterized in that: The control module is a microcontroller or an Internet of Things (IoT) unit, wherein the microcontroller is an MM32G0001 microcontroller or a CMS32L051 microcontroller.