Smart home device with control system

By designing a smart home device with main control, dimming and power metering functions, the shortcomings of LED light brightness control and power measurement in the prior art are solved, and convenient lighting control and precise energy management are achieved.

CN113473666BActive Publication Date: 2025-04-04JINGRUN TECHNOLOGY (BEIJING) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110809807.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-17
Publication Date
2025-04-04
Estimated Expiration
2041-07-17

AI Technical Summary

Technical Problem

Existing household LED lighting control devices cannot easily control the brightness of the LED lamp, and cannot accurately measure the electrical energy consumed by the LED lamp.

Method used

Design a smart home device with a control system, including a power supply module, a main control module, a switch control module, an electronic dimming module and an electric energy metering module. Communication with the main control module through the mobile APP is achieved to adjust the switch and brightness of the LED lamp, and accurately measure the power consumed by the LED lamp through the power metering module.

Benefits of technology

It realizes convenient switching and brightness adjustment of LED lamps, and can accurately measure the power consumption of LED lamps, improving the convenience of home lighting control and the accuracy of energy management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113473666B_ABST
    Figure CN113473666B_ABST
Patent Text Reader

Abstract

The invention discloses a smart home with a control system, comprising: a power module, a main control module, a switch control module, an electronic dimming module and an electric energy metering module, wherein the main control module comprises a chip U7, an indicator light circuit, a serial port circuit and a debugging interface circuit, the power module can provide a stable 3.3V power supply for the system, the power module comprises an ACDC conversion circuit, a main control power supply circuit and a power supply filter circuit, the switch control module controls the switch of an LED lamp driving power supply, the electronic dimming module can dim the LED lamp, and the electric energy metering module can accurately measure the electric energy consumed by the LED driving power supply; the invention has a simple and reasonable structure, can realize dimming and switching of LED lamps through a mobile phone APP, has an electric energy measurement function, and has good market application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart home, in particular to a smart home device with a control system. Background Art

[0002] LED lamps are widely used in household lighting due to their good energy-saving effect and high brightness. Most household LED lamps are controlled by wall switches, which is not convenient enough. Existing lighting remote controls can only control the lighting switches but cannot control the brightness of LED lamps or accurately measure the power consumed by LED lamps. Summary of the invention

[0003] In view of the shortcomings of existing household LED lighting control devices, the present invention provides a household intelligent LED lamp control circuit which can realize dimming and switching of LED lamps through a mobile phone APP and has an electric energy measurement function.

[0004] The technical solution adopted by the present invention to solve its technical problem is:

[0005] Provided is a smart home device with a control system, comprising: a power module, a main control module, a switch control module, an electronic dimming module and an electric energy metering module, wherein the main control module comprises a chip U7, an indicator light circuit, a serial port circuit and a debugging interface circuit, the power module can provide a stable 3.3V power supply for the system, the power module comprises an ACDC conversion circuit, a main control power supply circuit and a power supply filter circuit, the switch control module is connected to the output end of the main control module, the switch control module controls the switch of an LED lamp driving power supply, the electronic dimming module is connected to the output end of the main control module, the electronic dimming module can dim the LED lamp, the electric energy metering module is connected to the output end of the main control module, and the electric energy metering module can accurately measure the electric energy consumed by the LED driving power supply.

[0006] Furthermore, pins 1 and 10 of the chip U7 are grounded, pin 2 of the chip U7 is connected to a 3.3V power supply, the first lead of pin 22 of the chip U7 is connected to a 3.3V power supply via a resistor R24, and the second lead is grounded via a resistor C19. The model of the chip U7 is XR806.

[0007] Further, the indicator light circuit includes a light emitting diode D2, the anode of the light emitting diode D2 is connected to a 3.3V power supply, and the cathode is connected to pin 21 of the chip U7 via a resistor R3. The serial port circuit includes a connector JP10, the first lead of pin 1 of the connector JP10 is connected to the 3.3V power supply, and the second lead is grounded via parallel capacitors C78 and C79, the first lead of pin 2 of the connector JP10 is connected to pin 9 of the chip U7, the second lead is grounded via a capacitor C76, and the third lead is connected to the 3.3V power supply via a resistor R4, the first lead of pin 3 of the connector JP10 is connected to pin 8 of the chip U7, the second lead is grounded via a capacitor C75, and the third lead is connected to the 3.3V power supply via a resistor R6, and the debugging interface circuit includes a connector JP1, pins 1 and 2 of the connector JP1 are respectively connected to pins 26 and 25 of the chip U7, and pin 3 of the connector JP1 is grounded.

[0008] Further, the ACDC conversion circuit includes a chip U2, wherein the 1st and 3rd pins of the chip U2 are respectively connected to the 3rd and 2nd pins of the I-shaped inductor T1, the capacitor CX2 is connected in parallel between the 1st and 3rd pins of the chip U2, the 1st pin of the I-shaped inductor T1 is connected to the live wire of 220VAC via the thermistor FUSE1, the 4th pin of the I-shaped inductor T1 is connected to the neutral wire of 220VAC, the capacitor CX1 and the varistor MOV3 are respectively connected in parallel between the 1st and 4th pins of the I-shaped inductor T1, the 5th pin of the chip U2 is connected to the live wire of 220VAC via the thermistor FUSE1, the 4th pin of the I-shaped inductor T1 is connected to the neutral wire of 220VAC, the capacitor CX1 and the varistor MOV3 are respectively connected in parallel between the 1st and 4th pins of the I-shaped inductor T1, and the 5th pin of the chip U2 is connected to the live wire of 220VAC via the capacitor C6. Pin 7 of chip U2, pin 7 of the chip U2 is connected to pin 10 of the chip U2 via capacitor C7, the first lead of pin 10 of the chip U2 is grounded, the second lead is connected to pin 12 of the chip U2 via capacitor C1, pin 12 of the chip U2 is connected to the first end of inductor L1, the first lead of the second end of the inductor L1 is connected to a 12V power supply, the second lead is grounded via diode D20, capacitors C46, ​​C2 and C3 are arranged in parallel between the 12V power supply and ground, and the model of the chip U2 is LS03-15B12SR2S.

[0009] Furthermore, the main control power supply circuit includes a chip U11, the first lead of the 4-pin of the chip U11 is grounded via a resistor R38, the second lead is connected to the 5-pin of the chip U11 via a resistor R37, the first lead of the 5-pin of the chip U11 is connected to a 12V power supply, the second lead is grounded via parallel capacitors C34 and C35, the 3-pin of the chip U11 is grounded via a resistor R40, the 1-pin of the chip U11 is connected to the 6-pin of the chip U11 via a capacitor C32, and the 6-pin of the chip U11 is connected to the 6-pin of the chip U11 via a capacitor C33. Pin, pin 6 of the chip U11 is connected to the first end of the inductor L5, the first lead of the second end of the inductor L5 is connected to the 3.3V power supply, the second lead is connected to pin 3 of the chip U11 via a capacitor C36 and a resistor R39 in parallel, the filter capacitors C37 and C38 are respectively arranged between the 3.3V power supply and the ground, the model of the chip U11 is SY8113, and in the power supply filter circuit, the 3.3V power supply is grounded via parallel capacitors C12, C17 and C16.

[0010] Furthermore, the switch control module includes a relay K1, pin 3 of the relay K1 is connected to the live wire of 220VAC, pin 1 is connected to the load, a diode D4 is connected in parallel between pins 4 and 5 of the relay K1, pin 4 of the relay K1 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the first lead of the base of the transistor Q1 is grounded via a resistor R8, and the second lead is connected to pin 19 of the chip U7 via a resistor R11.

[0011] Further, the electronic dimming module includes a photocoupler U14, a transistor Q7, a transistor Q8, an operational amplifier U16A, an operational amplifier U16B and a light-emitting diode LED2, the first lead of the base of the transistor Q8 is grounded via a resistor R50, the second lead is connected to pin 18 of the chip U7, the emitter of the transistor Q8 is grounded, the first lead of the collector of the transistor Q8 is connected to a 12V power supply via a resistor R51, the second lead is connected to pin 1 of the photocoupler U14, the pin 2 of the photocoupler U14 is grounded, the first lead of pin 3 of the photocoupler U14 is grounded via an inductor L9, and the second lead is connected to the dimming The negative electrode of the power supply, the first lead of the 4-pin of the photoelectric coupler U14 is connected to the positive electrode of the dimming power supply, the second lead is connected to the first end of the resistor R53, the second end of the resistor R53 is connected to the cathode of the diode D9, the anode of the diode D9 is grounded, the emitter of the transistor Q7 is grounded, the base is connected to the 4-pin of the photoelectric coupler U14 through the resistor R54, the first lead of the collector of the transistor Q7 is connected to the first end of the resistor R57, the second lead is connected to the first end of the resistor R55, the first lead of the second end of the resistor R55 is connected to the 12V power supply through the resistor R56, the second lead is connected to the cathode of the diode D9, the resistor R5 The second end of the resistor R57 is connected to the first end of the resistor R58, the filter capacitor C56 is arranged between the second end of the resistor R57 and the ground, the second end of the resistor R58 is connected to the 3 pin of the operational amplifier U16A, the filter capacitor C57 is arranged between the second end of the resistor R58 and the ground, the first lead of the 2 pin of the operational amplifier U16A is grounded via the resistor R60, the second lead is connected to the second end of the resistor R53 via the resistor R59, the first lead of the 8 pin of the operational amplifier U16A is grounded via the parallel capacitors C42 and C43, the second lead is connected to the 12V power supply via the inductor L4, the 4 pin of the operational amplifier U16A is grounded, the 1 pin of the operational amplifier U16A is grounded, The first lead of the pin is connected to pin 2 of the operational amplifier U16A via resistor R61, the second lead is connected to pin 5 of the operational amplifier U16B via resistor R62, pin 6 of the operational amplifier U16B is grounded via resistor R63, the first lead of pin 7 of the operational amplifier U16B is connected to pin 6 of the operational amplifier U16B via resistor R64, the second lead is connected to the positive electrode of the dimming power supply, the anode of the light-emitting diode LED2 is connected to the positive electrode of the dimming power supply, and the cathode is connected to the negative electrode of the dimming power supply via resistor R5, the model of the photocoupler U14 is PS2701-1, and the models of the operational amplifier U16A and the operational amplifier U16B are LM358DT.

[0012] Further, the electric energy metering module includes a current sensor T2, a voltage sensor T3, a chip U1 and a MOS tube Q9, the first lead of pin 1 of the current sensor T2 is grounded via a resistor R30, the second lead is connected to pin 3 of the chip U1 via a resistor R31, the first lead of pin 2 of the current sensor T2 is grounded via a resistor R28, the second lead is connected to pin 4 of the chip U1 via a resistor R26, the capacitor C23 is arranged between pins 3 and 4 of the chip U1, the capacitor C22 is arranged between pins 4 of the chip U1 and ground, the capacitor C24 is arranged between pin 3 of the chip U1 and ground, the first lead of pin 3 of the voltage sensor T3 is grounded via a resistor R35, the second lead is connected to pin 6 of the chip U1 via a resistor R36, the first lead of pin 4 of the voltage sensor T3 is grounded via a resistor R33, and the second lead is connected to pin 5 of the chip U1 via a resistor R32 , capacitor C28 is arranged between pins 5 and 6 of the chip U1, capacitor C27 is arranged between pin 5 of the chip U1 and ground, capacitor C29 is arranged between pin 6 of the chip U1 and ground, pins 9, 11, 12 and 13 of the chip U1 are connected to pins 7, 6, 5 and 4 of the chip U7 respectively, a first lead of the gate of the MOS tube Q9 is grounded via a resistor R75, and a second lead is connected to pin 13 of the chip U7, a source of the MOS tube Q9 is connected to a 3.3V power supply via an inductor L18, a first lead of the drain of the MOS tube Q9 is connected to pin 1 of the chip U1, and a second lead is connected to pin 10 of the chip U1 via a resistor R27, wherein capacitors C73 and C21 are filter capacitors, the model of the current sensor T2 is ZMCT103C, the model of the voltage sensor T3 is ZMPT107-1, and the model of the chip U1 is BL0940.

[0013] Compared with the prior art, the present invention has the following beneficial effects:

[0014] It can not only control the switch of the LED lamp driving power supply, but also adjust the driving power supply through the electronic dimming module, thereby adjusting the brightness of the LED lamp. The main control module has Bluetooth function and can communicate with the mobile phone to realize the switch and brightness adjustment of the LED lamp on the mobile phone APP. The power metering module can accurately measure the power consumed by the LED lamp. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Attached Figure 1 This is a schematic diagram of the principle structure of the main control module of the present invention;

[0016] Attached Figure 2 It is a schematic diagram of the principle structure of the ACDC conversion circuit of the present invention;

[0017] Attached Figure 3 This is a schematic diagram of the principle structure of the main control power supply circuit of the present invention;

[0018] Attached Figure 4 It is a schematic diagram of the principle structure of the power supply filter circuit of the present invention;

[0019] Attached Figure 5 This is a schematic diagram of the principle structure of the switch control module of the present invention;

[0020] Attached Figure 6 This is a schematic diagram of the principle structure of the electronic dimming module of the present invention;

[0021] Attached Figure 7 It is a schematic diagram of the principle structure of the electric energy metering module of the present invention. DETAILED DESCRIPTION

[0022] In order to facilitate the understanding of the present invention, the present invention is described in more detail below in conjunction with the accompanying drawings and specific embodiments. The preferred embodiments of the present invention are given in the accompanying drawings, but the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0023] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0024] The following is combined with Figure 1-7 The present invention is described in detail below.

[0025] Embodiment 1, as Figure 1-7 As shown, a smart home device with a control system is provided, including: a power module, a main control module, a switch control module, an electronic dimming module and an electric energy metering module, the main control module includes a chip U7, an indicator light circuit, a serial port circuit and a debugging interface circuit, the power module can provide a stable 3.3V power supply for the system, the power module includes an ACDC conversion circuit, a main control power supply circuit and a power supply filter circuit, the switch control module is connected to the output end of the main control module, the switch control module controls the switch of the LED lamp driving power supply, the electronic dimming module is connected to the output end of the main control module, the electronic dimming module can dim the LED lamp, the electric energy metering module is connected to the output end of the main control module, and the electric energy metering module can accurately measure the electric energy consumed by the LED driving power supply.

[0026] Embodiment 2, as Figure 1As shown, the 1 and 10 pins of the chip U7 are grounded, the 2 pin of the chip U7 is connected to a 3.3V power supply, the first lead of the 22 pin of the chip U7 is connected to a 3.3V power supply via a resistor R24, and the second lead is grounded via a resistor C19. The model of the chip U7 is XR806; XR806 is a low-power, long-distance, high-speed main control module with main control as well as Bluetooth and WIFI wireless communication functions. The chip U7 can communicate with a mobile phone, allowing the user to control the system on the mobile phone APP.

[0027] Embodiment 3, as Figure 1 As shown, the indicator light circuit includes a light emitting diode D2, the anode of the light emitting diode D2 is connected to a 3.3V power supply, and the cathode is connected to the 21-pin of the chip U7 via a resistor R3. The serial port circuit includes a connector JP10, the first lead of the 1-pin of the connector JP10 is connected to the 3.3V power supply, and the second lead is grounded via parallel capacitors C78 and C79, the first lead of the 2-pin of the connector JP10 is connected to the 9-pin of the chip U7, the second lead is grounded via a capacitor C76, and the third lead is connected to the 3.3V power supply via a resistor R4. The connector JP The first lead of the 3-pin of 10 is connected to the 8-pin of the chip U7, the second lead is grounded via capacitor C75, and the third lead is connected to a 3.3V power supply via resistor R6. The debugging interface circuit includes a connector JP1, and the 1 and 2 pins of the connector JP1 are respectively connected to the 26 and 25 pins of the chip U7, and the 3 pin of the connector JP1 is grounded; the indicator light can indicate the working status of the main control module, and the communication between the main control module and the host computer can be realized through the serial port circuit. Through the debugging interface circuit module, the program in the chip U7 can be simulated and debugged.

[0028] Embodiment 4, as Figure 2As shown, the ACDC conversion circuit includes a chip U2, wherein the 1st and 3rd pins of the chip U2 are respectively connected to the 3rd and 2nd pins of the I-shaped inductor T1, the capacitor CX2 is connected in parallel between the 1st and 3rd pins of the chip U2, the 1st pin of the I-shaped inductor T1 is connected to the live wire of 220VAC via the thermistor FUSE1, the 4th pin of the I-shaped inductor T1 is connected to the neutral wire of 220VAC, the capacitor CX1 and the varistor MOV3 are respectively connected in parallel between the 1st and 4th pins of the I-shaped inductor T1, the 5th pin of the chip U2 is connected to the 7th pin of the chip U2 via the capacitor C6, the 7th pin of the chip U2 is connected to the 10th pin of the chip U2 via the capacitor C7, and the chip U The first lead of the 10-pin of 2 is grounded, and the second lead is connected to the 12-pin of the chip U2 via the capacitor C1. The 12-pin of the chip U2 is connected to the first end of the inductor L1. The first lead of the second end of the inductor L1 is connected to the 12V power supply, and the second lead is grounded via the diode D20. Capacitors C46, ​​C2 and C3 are arranged in parallel between the 12V power supply and the ground. The model of the chip U2 is LS03-15B12SR2S; the ACDC conversion circuit can convert 220V electricity and output 12V voltage. The I-shaped inductor T1 can effectively stabilize the current and filter the signal. The thermistor FUSE1 and the varistor MOV3 protect the entire circuit.

[0029] Embodiment 5, as Figure 3-4 As shown, the main control power supply circuit includes a chip U11, the first lead of the 4-pin of the chip U11 is grounded via a resistor R38, the second lead is connected to the 5-pin of the chip U11 via a resistor R37, the first lead of the 5-pin of the chip U11 is connected to a 12V power supply, the second lead is grounded via parallel capacitors C34 and C35, the 3-pin of the chip U11 is grounded via a resistor R40, the 1-pin of the chip U11 is connected to the 6-pin of the chip U11 via a capacitor C32, and the 6-pin of the chip U11 is connected to an inductor L 5, the first lead of the second end of the inductor L5 is connected to the 3.3V power supply, the second lead is connected to the 3 pin of the chip U11 through the parallel capacitor C36 and the resistor R39, the filter capacitors C37 and C38 are respectively set between the 3.3V power supply and the ground, the model of the chip U11 is SY8113, and in the power supply filter circuit, the 3.3V power supply is grounded through the parallel capacitors C12, C17 and C16; the main control power supply circuit converts the 12V input into a stable 3.3V output for use by the subsequent circuit.

[0030] Embodiment 6, as Figure 5As shown, the switch control module includes a relay K1, wherein the 3rd pin of the relay K1 is connected to the live wire of 220VAC, the 1st pin is connected to the load, the diode D4 is connected in parallel between the 4th and 5th pins of the relay K1, the 4th pin of the relay K1 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the first lead of the base of the transistor Q1 is grounded via a resistor R8, and the second lead is connected to the 19th pin of the chip U7 via a resistor R11; the two sides of the contact of the relay K1 are respectively connected to the live wire of 220V and the driving power supply of the LED lamp, and the main control module sends a control signal to control the pull-in state of the coil of the relay K1 to realize the switching of the LED driving power supply.

[0031] Embodiment 7, as Figure 6As shown, the electronic dimming module includes a photocoupler U14, a transistor Q7, a transistor Q8, an operational amplifier U16A, an operational amplifier U16B and a light-emitting diode LED2. The first lead of the base of the transistor Q8 is grounded via a resistor R50, and the second lead is connected to the 18th pin of the chip U7. The emitter of the transistor Q8 is grounded, the first lead of the collector of the transistor Q8 is connected to a 12V power supply via a resistor R51, the second lead is connected to the 1st pin of the photocoupler U14, the 2nd pin of the photocoupler U14 is grounded, the first lead of the 3rd pin of the photocoupler U14 is grounded via an inductor L9, and the second lead is connected to the dimming power supply The negative electrode of the photocoupler U14, the first lead of the 4-pin of the photoelectric coupler U14 is connected to the positive electrode of the dimming power supply, the second lead is connected to the first end of the resistor R53, the second end of the resistor R53 is connected to the cathode of the diode D9, the anode of the diode D9 is grounded, the emitter of the transistor Q7 is grounded, the base is connected to the 4-pin of the photoelectric coupler U14 through the resistor R54, the first lead of the collector of the transistor Q7 is connected to the first end of the resistor R57, the second lead is connected to the first end of the resistor R55, the first lead of the second end of the resistor R55 is connected to the 12V power supply through the resistor R56, the second lead is connected to the cathode of the diode D9, the resistor R57 The second end of the operational amplifier U16A is connected to the first end of the resistor R58, the filter capacitor C56 is arranged between the second end of the resistor R57 and the ground, the second end of the resistor R58 is connected to the 3 pin of the operational amplifier U16A, the filter capacitor C57 is arranged between the second end of the resistor R58 and the ground, the first lead of the 2 pin of the operational amplifier U16A is grounded via the resistor R60, the second lead is connected to the second end of the resistor R53 via the resistor R59, the first lead of the 8 pin of the operational amplifier U16A is grounded via the parallel capacitors C42 and C43, the second lead is connected to the 12V power supply via the inductor L4, the 4 pin of the operational amplifier U16A is grounded, the 1 pin of the operational amplifier U16A is The first lead of the pin is connected to the 2nd pin of the operational amplifier U16A via a resistor R61, the second lead is connected to the 5th pin of the operational amplifier U16B via a resistor R62, the 6th pin of the operational amplifier U16B is grounded via a resistor R63, the first lead of the 7th pin of the operational amplifier U16B is connected to the 6th pin of the operational amplifier U16B via a resistor R64, the second lead is connected to the positive electrode of the dimming power supply, the anode of the light-emitting diode LED2 is connected to the positive electrode of the dimming power supply, and the cathode is connected to the negative electrode of the dimming power supply via a resistor R5, the model of the photoelectric coupler U14 is PS2701-1, and the models of the operational amplifier U16A and the operational amplifier U16B are LM358DT;The PWM signal sent by chip U7 is isolated, filtered and amplified by the circuit and becomes a 0-10V adjustable voltage. The 0-10V voltage can dim the LED lamp. The specific dimming method is: use the 0-10V voltage to control the 0-10V dimming power supply, such as the dimming power supply SY-AHV100-24. The dimming power supply input is connected to the 220V driving power supply, and the output end is connected to the LED lamp. As the 0-10V voltage changes, the output current of the dimming power supply will be controlled, and the brightness of the LED lamp will change with the current. ;

[0032] Embodiment 8, as Figure 7 As shown, the electric energy metering module includes a current sensor T2, a voltage sensor T3, a chip U1 and a MOS tube Q9. The first lead of the 1st pin of the current sensor T2 is grounded via a resistor R30, and the second lead is connected to the 3rd pin of the chip U1 via a resistor R31. The first lead of the 2nd pin of the current sensor T2 is grounded via a resistor R28, and the second lead is connected to the 4th pin of the chip U1 via a resistor R26. The capacitor C23 is arranged between the 3rd and 4th pins of the chip U1, and the capacitor C22 is arranged between the 4th pin of the chip U1 and the ground. The capacitor C24 is arranged between the 3rd pin of the chip U1 and the ground, the first lead of the 3rd pin of the voltage sensor T3 is grounded via a resistor R35, and the second lead is connected to the 6th pin of the chip U1 via a resistor R36, the first lead of the 4th pin of the voltage sensor T3 is grounded via a resistor R33, and the second lead is connected to the 5th pin of the chip U1 via a resistor R32, the capacitor C28 is arranged between the 5th and 6th pins of the chip U1, the capacitor C27 is arranged between the 5th pin of the chip U1 and the ground, and the capacitor C29 is arranged between the 5th pin of the chip U1 and the ground. 1 and ground, the 9, 11, 12 and 13 pins of the chip U1 are connected to the 7, 6, 5 and 4 pins of the chip U7 respectively, the first lead of the gate of the MOS tube Q9 is grounded via a resistor R75, and the second lead is connected to the 13 pin of the chip U7, the source of the MOS tube Q9 is connected to a 3.3V power supply via an inductor L18, the first lead of the drain of the MOS tube Q9 is connected to the 1 pin of the chip U1, and the second lead is connected to the 10 pin of the chip U1 via a resistor R27, wherein the capacitors C73 and C21 are filtering The capacitor, the model of the current sensor T2 is ZMCT103C, the model of the voltage sensor T3 is ZMPT107-1, and the model of the chip U1 is BL0940; the current sensor T2 and the voltage sensor T3 detect the current passing through the LED lamp and the voltage across the LED lamp, and the chip U1 receives the output signals of the current sensor T2 and the voltage sensor T3. BL0940 is a calibration-free energy metering chip with a built-in clock, which can accurately measure the energy consumed by the LED driving power supply and transmit the data to the main control module.

[0033] Working principle of the present invention:

[0034] 1. When turning on the LED light, the main control module receives the control information sent by the mobile phone APP via Bluetooth, sends a signal to control the attraction state of relay K1 in the switch control module, thereby turning on and off the LED drive power supply.

[0035] 2. When the brightness of the LED lamp needs to be adjusted, the main control module receives the control information sent by the mobile phone APP via Bluetooth and outputs a PWM signal. After filtering and amplification by the electronic dimming module, it is converted into a 0-10V voltage signal to adjust the LED drive power supply and achieve the adjustment of the brightness of the LED lamp.

[0036] 3. In the power metering module, chip U1 detects the current passing through the LED lamp and the voltage across the LED lamp through the current sensor T2 and the voltage sensor T3, so as to accurately obtain the power consumed by the LED driving power supply and transmit the data to the main control module. The main control module communicates with the mobile phone through Bluetooth, so that the user can view the power consumed by the LED lamp on the mobile phone APP.

[0037] It should be noted that the above-mentioned technical features are further combined with each other to form various embodiments not listed above, which are all deemed to be within the scope of the present invention; and, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A smart home device with a control system, characterized in that: include: A power module, a main control module, a switch control module, an electronic dimming module and an electric energy metering module. The main control module includes a chip U7, an indicator light circuit, a serial port circuit and a debugging interface circuit. The power module can provide a stable 3.3V power supply for the system. The power module includes an ACDC conversion circuit, a main control power supply circuit and a power supply filter circuit. The switch control module is connected to the output end of the main control module. The switch control module controls the switch of the LED lamp driving power supply. The electronic dimming module is connected to the output end of the main control module. The electronic dimming module can dim the LED lamp. The electric energy metering module is connected to the output end of the main control module. The electric energy metering module can accurately measure the electric energy consumed by the LED driving power supply. The electronic dimming module includes a photoelectric coupler U14, a transistor Q7, a transistor Q8, an operational amplifier U16A, an operational amplifier U16B and a light-emitting diode LED2. The first lead of the base of the transistor Q8 is grounded via a resistor R50, and the second lead is connected to pin 18 of the chip U7. The emitter of the transistor Q8 is grounded. The first lead of the collector of the transistor Q8 is connected to a 12V power supply via a resistor R51, and the second lead is connected to pin 1 of the photoelectric coupler U14. Pin 2 of the photoelectric coupler U14 is grounded. The first lead of pin 3 of the photoelectric coupler U14 is grounded via an inductor L9, and the second lead is connected to the negative pole of the dimming power supply. The first lead of the 4-pin of the photoelectric coupler U14 is connected to the positive electrode of the dimming power supply, the second lead is connected to the first end of the resistor R53, the second end of the resistor R53 is connected to the cathode of the diode D9, the anode of the diode D9 is grounded, the emitter of the transistor Q7 is grounded, the base is connected to the 4-pin of the photoelectric coupler U14 through the resistor R54, the first lead of the collector of the transistor Q7 is connected to the first end of the resistor R57, the second lead is connected to the first end of the resistor R55, the first lead of the second end of the resistor R55 is connected to the 12V power supply through the resistor R56, the second lead is connected to the cathode of the diode D9, the first lead of the collector of the transistor Q7 is connected to the first end of the resistor R57, the second lead is connected to the first end of the resistor R55, the first lead of the second end of the resistor R55 is connected to the 12V power supply through the resistor R56, the second lead is connected to the cathode of the diode D9, the first lead of the collector of the transistor R5 ... The second terminal is connected to the first end of the resistor R58, the filter capacitor C56 is arranged between the second end of the resistor R57 and the ground, the second end of the resistor R58 is connected to the 3 pin of the operational amplifier U16A, the filter capacitor C57 is arranged between the second end of the resistor R58 and the ground, the first lead of the 2 pin of the operational amplifier U16A is grounded via the resistor R60, the second lead is connected to the second end of the resistor R53 via the resistor R59, the first lead of the 8 pin of the operational amplifier U16A is grounded via the parallel capacitors C42 and C43, the second lead is connected to the 12V power supply via the inductor L4, the 4 pin of the operational amplifier U16A is grounded, and the 1 pin of the operational amplifier U16A is grounded. The first lead is connected to pin 2 of the operational amplifier U16A via resistor R61, the second lead is connected to pin 5 of the operational amplifier U16B via resistor R62, pin 6 of the operational amplifier U16B is grounded via resistor R63, the first lead of pin 7 of the operational amplifier U16B is connected to pin 6 of the operational amplifier U16B via resistor R64, the second lead is connected to the positive electrode of the dimming power supply, the anode of the light-emitting diode LED2 is connected to the positive electrode of the dimming power supply, and the cathode is connected to the negative electrode of the dimming power supply via resistor R5, the model of the optocoupler U14 is PS2701-1, and the models of the operational amplifier U16A and the operational amplifier U16B are LM358DT.

2. The smart home device with a control system according to claim 1, characterized in that: Pins 1 and 10 of the chip U7 are grounded, pin 2 of the chip U7 is connected to a 3.3V power supply, the first lead of pin 22 of the chip U7 is connected to a 3.3V power supply via a resistor R24, and the second lead is grounded via a resistor C19. The model of the chip U7 is SKB501.

3. The smart home device with a control system according to claim 1, characterized in that: The indicator light circuit includes a light emitting diode D2, an anode of the light emitting diode D2 is connected to a 3.3V power supply, and a cathode is connected to pin 21 of the chip U7 via a resistor R3. The serial port circuit includes a connector JP10, a first lead of pin 1 of the connector JP10 is connected to a 3.3V power supply, and a second lead is grounded via parallel capacitors C78 and C79, a first lead of pin 2 of the connector JP10 is connected to pin 9 of the chip U7, a second lead is grounded via a capacitor C76, and a third lead is connected to the 3.3V power supply via a resistor R4, a first lead of pin 3 of the connector JP10 is connected to pin 8 of the chip U7, a second lead is grounded via a capacitor C75, and a third lead is connected to the 3.3V power supply via a resistor R6, and the debugging interface circuit includes a connector JP1, pins 1 and 2 of the connector JP1 are respectively connected to pins 26 and 25 of the chip U7, and pin 3 of the connector JP1 is grounded.

4. The smart home device with a control system according to claim 1, characterized in that: The ACDC conversion circuit includes a chip U2, wherein the 1st and 3rd pins of the chip U2 are respectively connected to the 3rd and 2nd pins of the I-shaped inductor T1, the capacitor CX2 is connected in parallel between the 1st and 3rd pins of the chip U2, the 1st pin of the I-shaped inductor T1 is connected to the live wire of 220VAC via the thermistor FUSE1, the 4th pin of the I-shaped inductor T1 is connected to the neutral wire of 220VAC, the capacitor CX1 and the varistor MOV3 are respectively connected in parallel between the 1st and 4th pins of the I-shaped inductor T1, and the 5th pin of the chip U2 is connected to the 2nd pin of the chip U2 via the capacitor C6. Pin 7 of the chip U2, pin 7 of the chip U2 is connected to pin 10 of the chip U2 via capacitor C7, the first lead of pin 10 of the chip U2 is grounded, the second lead is connected to pin 12 of the chip U2 via capacitor C1, pin 12 of the chip U2 is connected to the first end of the inductor L1, the first lead of the second end of the inductor L1 is connected to a 12V power supply, the second lead is grounded via a diode D20, capacitors C46, ​​C2 and C3 are arranged in parallel between the 12V power supply and ground, and the model of the chip U2 is LS03-15B12SR2S.

5. The smart home device with a control system according to claim 1, characterized in that: The main control power supply circuit includes a chip U11, a first lead of the 4th pin of the chip U11 is grounded via a resistor R38, a second lead is connected to the 5th pin of the chip U11 via a resistor R37, a first lead of the 5th pin of the chip U11 is connected to a 12V power supply, a second lead is grounded via parallel capacitors C34 and C35, a 3rd pin of the chip U11 is grounded via a resistor R40, a 1st pin of the chip U11 is connected to the 6th pin of the chip U11 via a capacitor C32, Pin 6 of the chip U11 is connected to the first end of the inductor L5, the first lead of the second end of the inductor L5 is connected to the 3.3V power supply, the second lead is connected to pin 3 of the chip U11 via a capacitor C36 and a resistor R39 in parallel, and filter capacitors C37 and C38 are respectively arranged between the 3.3V power supply and the ground. The model of the chip U11 is SY8113. In the power supply filter circuit, the 3.3V power supply is grounded via parallel capacitors C12, C17 and C16.

6. The smart home device with a control system according to claim 1, characterized in that: The switch control module includes a relay K1, wherein pin 3 of the relay K1 is connected to the live wire of 220VAC, pin 1 is connected to the load, a diode D4 is connected in parallel between pins 4 and 5 of the relay K1, pin 4 of the relay K1 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the first lead of the base of the transistor Q1 is grounded via a resistor R8, and the second lead is connected to pin 19 of the chip U7 via a resistor R11.

7. The smart home device with a control system according to claim 1, characterized in that: The electric energy metering module includes a current sensor T2, a voltage sensor T3, a chip U1 and a MOS tube Q9. The first lead of pin 1 of the current sensor T2 is grounded via a resistor R30, and the second lead is connected to pin 3 of the chip U1 via a resistor R31. The first lead of pin 2 of the current sensor T2 is grounded via a resistor R28, and the second lead is connected to pin 4 of the chip U1 via a resistor R26. A capacitor C23 is arranged between pins 3 and 4 of the chip U1, a capacitor C22 is arranged between pins 4 of the chip U1 and ground, and a capacitor C24 is arranged between pin 3 of the chip U1 and ground. The first lead of pin 3 of the voltage sensor T3 is grounded via a resistor R35, and the second lead is connected to pin 6 of the chip U1 via a resistor R36. The first lead of pin 4 of the voltage sensor T3 is grounded via a resistor R33, and the second lead is connected to pin 5 of the chip U1 via a resistor R32. Capacitor C28 is arranged between pins 5 and 6 of the chip U1, capacitor C27 is arranged between pin 5 of the chip U1 and ground, capacitor C29 is arranged between pin 6 of the chip U1 and ground, pins 9, 11, 12 and 13 of the chip U1 are connected to pins 7, 6, 5 and 4 of the chip U7 respectively, a first lead of the gate of the MOS tube Q9 is grounded via a resistor R75, and a second lead is connected to pin 13 of the chip U7, a source of the MOS tube Q9 is connected to a 3.3V power supply via an inductor L18, a first lead of the drain of the MOS tube Q9 is connected to pin 1 of the chip U1, and a second lead is connected to pin 10 of the chip U1 via a resistor R27, wherein capacitors C73 and C21 are filter capacitors, the model of the current sensor T2 is ZMCT103C, the model of the voltage sensor T3 is ZMPT107-1, and the model of the chip U1 is BL0940.

Citation Information

Patent Citations

  • Intelligent dimming switch

    CN209914138U