Intelligent switching power supply with sensor
By integrating the sensor and microcontroller onto the circuit board and exposing them in the housing, combined with a split, detachable power supply housing design, the complexity and reliability issues of traditional constant voltage switching power supply systems are solved, achieving low-cost, high-reliability intelligent power control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- GUANGDONG WORLD OPTO-ELECTRONIC CO LTD
- Filing Date
- 2025-05-20
- Publication Date
- 2026-04-21
AI Technical Summary
Traditional constant voltage switching power supplies require external controllers and sensors to achieve automatic control functions, resulting in complex systems, high costs, and low reliability. Furthermore, the housing design is inflexible, maintenance is cumbersome, and the components are prone to loosening.
The sensor, microcontroller unit, and output shutdown circuit are integrated into the circuit board. The sensor is exposed on the surface of the housing. The microcontroller has a built-in signal processing module and directly controls the feedback loop of the constant voltage switching power supply through the output shutdown circuit. The power supply housing adopts a split and detachable structure with exposed wiring terminals.
It reduces system costs, decreases failure rate, improves ease of operation and reliability, and ensures stable output of constant voltage in complex environments.
Smart Images

Figure CN224154121U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to switching power supplies, and more particularly to an intelligent switching power supply with a sensor. Background Technology
[0002] Traditional constant voltage switching power supplies typically rely on external controllers or relay modules to achieve automatic control functions. For example, in outdoor advertising light boxes and smart lighting applications, external photosensitive sensors and timer controllers are needed for ambient light control, external human body sensors for human body detection, or other types of external sensors to control the power supply output based on different external input signals. However, this approach has significant drawbacks: First, external controllers and sensors require additional installation and wiring, leading to system complexity, high costs, and the risk of poor contact and short circuits during wiring. Second, the external controller is separated from the main power supply unit and is exposed to humid, high-temperature, or dusty environments for extended periods, making its circuitry susceptible to corrosion or interference, significantly reducing reliability. Furthermore, existing power supply housing designs lack flexibility; the wiring terminals are usually enclosed within the housing, requiring complete disassembly for maintenance or adjustment. This is not only cumbersome but can also cause the housing structure to loosen due to frequent disassembly, further exacerbating sealing and durability issues. Utility Model Content
[0003] To address the shortcomings of the aforementioned technologies, this invention provides an intelligent switching power supply with a sensor.
[0004] To solve the above technical problems, the technical solution adopted by this utility model is: an intelligent switching power supply with a sensor, including a circuit board, on which are provided:
[0005] A sensor unit that detects and converts external signals;
[0006] A microcontroller unit that connects to a sensor unit to process sensor signals and generate control signals according to preset logic;
[0007] A constant voltage switching power supply unit that outputs a constant voltage.
[0008] The output shutdown circuit unit is connected between the microcontroller unit and the constant voltage switching power supply unit. The output shutdown circuit unit turns the constant voltage switching power supply output on or off according to the control signal.
[0009] The circuit board is located within the housing of the power supply housing, which includes a bottom shell with a front opening and a top opening. The circuit board is installed inside the bottom shell. The power terminals of the constant voltage switching power supply unit are exposed and arranged on the front side of the circuit board and aligned with the front opening of the bottom shell. The top cover is detachably mounted to the top opening of the bottom shell, and an independent detachable rectangular cover plate is provided in the area corresponding to the power terminals.
[0010] Furthermore, the sensor unit is a single sensor that is soldered to the edge of the circuit board to receive external signals and is exposed on the surface of the power supply housing.
[0011] Furthermore, the microcontroller unit includes a sensor signal processing module and a control module that are electrically connected. The sensor signal processing module is connected to the sensor to process the sensor signal, and the control module is connected to the sensor signal processing module to control the output shutdown circuit unit according to the signal processed by the microcontroller program.
[0012] Furthermore, the base of the transistor in the output shutdown circuit unit is connected to the control pin of the microcontroller unit to receive logic level signals from the microcontroller; the collector of the transistor in the output shutdown circuit unit is connected to the feedback loop or enable terminal of the constant voltage switching power supply unit, and the on / off control of the power output is realized by changing the voltage state of this node; the emitter of the transistor in the output shutdown circuit unit is grounded.
[0013] This invention effectively addresses the pain points of existing technologies through innovative technology integration and structural design. Firstly, the sensor, microcontroller unit, and output shutdown circuit are directly integrated onto the circuit board, forming an integrated intelligent control core. The sensor is soldered to the edge of the circuit board and exposed on the housing surface, allowing direct sensing of external environmental signals. The microcontroller unit has built-in signal conditioning, analog-to-digital conversion, and logic judgment modules, enabling real-time processing of sensor signals and generation of control commands. The output shutdown circuit directly regulates the feedback loop of the constant voltage switching power supply, achieving intelligent power output switching without an external controller. This design not only reduces system costs but also decreases the failure rate by eliminating external wiring. Secondly, the power supply housing adopts a split, detachable structure. The design of the front opening of the bottom shell and the independent rectangular cover of the top cover exposes the power terminals and supports partial maintenance. For example, users do not need to disassemble the entire top cover; they only need to remove the rectangular cover to quickly connect or replace the power cord, significantly improving operational convenience. Simultaneously, the top cover is fixed with screws or clips, balancing sealing and disassembly efficiency, avoiding the sealing failure problems caused by frequent disassembly of traditional housings. Furthermore, the constant voltage switching power supply unit employs LLC resonant technology, combined with optimized filtering circuitry, to stably output a constant voltage even in complex environments, ensuring reliable power supply to the load. This patent, through hardware integration and structural innovation, reduces costs, simplifies installation, and improves reliability, while providing an efficient and durable technical foundation for the widespread application of intelligent power supplies. Attached Figure Description
[0014] Figure 1 This is an exploded view of the structure of this utility model.
[0015] Figure 2 This is a block diagram illustrating the electrical principle of this utility model.
[0016] In the diagram: 100, sensor unit; 200, microcontroller unit; 300, constant voltage switching power supply unit; 400, output shutdown circuit unit; 500, power supply housing; 600, circuit board; 100a, sensor; 300a, power supply terminal block; 501, bottom shell; 502, top cover; 503, rectangular cover plate. Detailed Implementation
[0017] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0018] This utility model discloses an intelligent switching power supply with a sensor, such as... Figure 2 As shown, the intelligent switching power supply includes a sensor unit 100, a microcontroller unit 200, a constant voltage switching power supply unit 300, and an output shutdown circuit unit 400. All units are mounted on a circuit board 600, which is placed within the housing space of the power supply housing 500.
[0019] In this embodiment, the sensor unit 100 is a series of sensors (such as a photoresistor of model GL5539, a pyroelectric human infrared sensor of model D204B, a temperature and humidity sensor of model BME280, etc.). In other embodiments, multiple photosensitive sensors 100a can also be used as the sensor unit 100. It is soldered to the edge of the circuit board 600, so that the photoresistor is exposed on the surface of the power supply housing 500 in order to receive external light signals. Its main function is to detect external environmental signals and transmit the detected signals to the microcontroller unit 200.
[0020] The microcontroller unit 200 uses a NY8BE62D microcontroller, which includes a sensor signal processing module and a control module electrically connected to each other. The signal processing pins of the sensor signal processing module are directly connected to the sensor unit 100, responsible for processing the sensor signals. The control pins of the control module are connected to the output shutdown circuit unit 400, controlling the output shutdown circuit unit 400 according to the signal processed by the microcontroller program. After receiving the signal from the sensor unit 100, the sensor signal processing module performs digital-to-analog conversion and judges the converted signal according to the preset program, thereby generating the corresponding control signal through the control module. The sensor signal processing module includes a signal conditioning circuit and an analog-to-digital conversion circuit. The signal conditioning circuit includes a voltage divider resistor network and a filter capacitor, used to convert the analog signals output by the sensors (such as the resistance change of the photoresistor GL5539 or the signal change of the human body sensor D204B, etc., different types of sensor signals) into a voltage range suitable for microcontroller processing (such as 0-3.3V), and filter out high-frequency noise. The analog-to-digital converter (ADC) circuit, integrated within the microcontroller, converts the filtered analog signal into a digital signal, enabling the microcontroller's internal digital circuitry to process and analyze the signal. The control module includes a logic judgment circuit and a signal output circuit. The logic judgment circuit performs a logical judgment based on a preset program and the converted digital signal to determine whether control operation is needed on the output shutdown circuit unit 400. The logic judgment circuit typically consists of the microcontroller's internal central processing unit (CPU) and memory, which stores preset programs and threshold information. The signal output circuit includes the microcontroller's GPIO pins and their peripheral driving circuits (such as pull-up resistors and current-limiting resistors) to generate logic level signals (high / low levels) to control the output shutdown circuit unit 400 (SS8050).
[0021] The constant voltage switching power supply unit 300 uses the LZC3106A as its main control IC and is specifically designed for LLC half-bridge resonant circuit control applications. The constant voltage switching power supply unit 300 includes an LLC resonant generation circuit (composed of a resonant inductor and a resonant capacitor) and an output rectifier and filter circuit (including a freewheeling diode and a filter capacitor). The main control IC drives the half-bridge switching transistors to conduct alternately, generating a high-frequency square wave voltage input to the resonant cavity (Lr + Cr). The resonant inductor (Lr) and capacitor (Cr) form a resonant circuit, converting the square wave voltage into a sinusoidal resonant current. This resonant current is coupled to the secondary side through a transformer, completing energy transfer. The freewheeling diode (such as a fast recovery diode) rectifies the high-frequency AC current on the transformer secondary side into a full-wave or half-wave current, converting it into pulsating DC current. The filter capacitor (such as a combination of an electrolytic capacitor and a ceramic capacitor) absorbs high-frequency ripple, smoothing the output voltage and ensuring voltage stability at the load end. The final output is a constant voltage, which powers the microcontroller unit 200 and is connected to an external load to provide power.
[0022] The output shutdown circuit unit 400 uses an SS8050 transistor circuit, connected between the microcontroller unit 200 and the constant voltage switching power supply unit 300. The base of the transistor is connected to the control pin of the microcontroller unit 200 to receive logic level signals from the microcontroller; the collector of the transistor is connected to the feedback loop or enable terminal of the constant voltage switching power supply unit 300. The power output is controlled by changing the voltage state of this node, and the emitter of the transistor is grounded. When the microcontroller unit 200 sends a shutdown signal, the transistor conducts, and the constant voltage switching power supply unit 300 stops supplying power to the external load; when the microcontroller unit 200 sends an enable signal, the transistor turns off, and the constant voltage switching power supply unit 300 resumes supplying power to the load.
[0023] When the intelligent switching power supply is powered, the sensor unit 100 acquires external signals and transmits them to the microcontroller unit 200. The microcontroller unit 200 detects, converts digital signals to analog signals, and makes judgments. If the signal is higher than a set threshold, the microcontroller unit 200 controls the output shutdown circuit unit 400 to shut down, thereby turning off the output of the constant voltage switching power supply unit 300. If the signal is lower than the set threshold, the microcontroller unit 200 controls the output shutdown circuit unit 400 to open, thereby turning on the output of the constant voltage switching power supply unit 300. In this way, the system automatically detects the signal strength based on external signals and automatically controls the external load to work or stop working.
[0024] In the structural design of the power supply housing 500, the power supply housing 500 includes a bottom shell 501 and a top cover 502 as shown in the figure. The bottom shell 501 has a front opening and a top opening. The circuit board 600 is installed inside the bottom shell 501. The power supply terminals 300a of the constant voltage switching power supply unit are exposed on the front side of the circuit board 600 and aligned with the front opening of the bottom shell 501. The top cover 502 is detachably assembled at the top opening of the bottom shell 501, and an independent detachable rectangular cover plate 503 is provided in the area corresponding to the power supply terminals 300a.
[0025] In this embodiment, the top cover 502 and the bottom shell 501 are assembled by screws. Screw holes are pre-drilled at positions corresponding to the opening on the upper side of the bottom shell 501 on the edge of the top cover 502. The top cover 502 is then fixed to the bottom shell 501 using screws (such as M3 self-tapping screws). In other embodiments, a snap-fit structure can be used. Elastic snaps (such as barbs or protrusions) are designed on the inner wall of the top cover 502, and corresponding slots are provided on the edge of the opening on the upper side of the bottom shell 501. This allows for quick installation and removal of the top cover 502 by pressing or pushing / pulling. Alternatively, slide rails can be designed on both sides of the top cover 502, and corresponding guide grooves can be provided on the inner wall of the opening on the upper side of the bottom shell 501. The top cover 502 is then pushed into the grooves along the slide rails and fixed.
[0026] In this embodiment, the independent rectangular cover plate 503 is assembled by setting screw holes on the edge of the rectangular cover plate 503 and fixing it to the top cover 502 with micro screws (such as M2). In other embodiments, the rectangular cover plate 503 and the top cover 502 are designed separately and can be independently fixed to the reserved opening of the top cover 502 by snaps or magnetic attraction.
[0027] The exposed terminal block design conforms to user operating habits, allowing power cord plugging and unplugging to be completed without tools. The rectangular cover plate 503 can be removed independently, providing a "local maintenance access" for the frequently operated terminal block area, reducing interference with other modules inside the power supply.
[0028] The above embodiments are not intended to limit the present invention. Unless otherwise explicitly specified and limited, the terms "set," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; a mechanical connection or an electrical connection; a direct connection or an indirect connection through an intermediate medium; or a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. The present invention is not limited to the examples above. Changes, modifications, additions, or substitutions made by those skilled in the art within the scope of the technical solution of the present invention are also within the protection scope of the present invention. Furthermore, the technical features involved in the different embodiments of the present application described above can be combined with each other as long as they do not conflict with each other.
Claims
1. A smart switch power supply with sensor, characterized by, Includes a circuit board, on which are set: A sensor unit that detects and converts external signals; A microcontroller unit connected to the sensor unit to process sensor signals and generate control signals according to preset logic; A constant voltage switching power supply unit that outputs a constant voltage. An output shutdown circuit unit is connected between the microcontroller unit and the constant voltage switching power supply unit. The output shutdown circuit unit turns on or off the output of the constant voltage switching power supply according to the control signal. The circuit board is located within the housing of the power supply housing. The power supply housing includes a bottom shell with a front opening and a top opening. The circuit board is installed inside the bottom shell. The power terminals of the constant voltage switching power supply unit are exposed and arranged on the front side of the circuit board and aligned with the front opening of the bottom shell. The top cover is detachably mounted to the top opening of the bottom shell, and an independent detachable rectangular cover plate is provided in the area corresponding to the power terminals.
2. The smart switch-mode power supply with sensor according to claim 1, characterized in that: The sensor unit is a single sensor that is soldered to the edge of the circuit board to receive external signals and is exposed on the surface of the power supply housing.
3. The smart switch-mode power supply with sensor according to claim 2, characterized in that: The microcontroller unit includes a sensor signal processing module and a control module that are electrically connected. The sensor signal processing module is connected to a photosensitive sensor to process sensor signals, and the control module is connected to the sensor signal processing module to control the output shutdown circuit unit according to the signal processed by the microcontroller program.
4. The smart switch-mode power supply with sensor according to claim 3, characterized in that: The base of the transistor in the output shutdown circuit unit is connected to the control pin of the microcontroller unit to receive logic level signals from the microcontroller; the collector of the transistor in the output shutdown circuit unit is connected to the feedback loop or enable terminal of the constant voltage switching power supply unit; and the emitter of the transistor in the output shutdown circuit unit is grounded.