Intelligent switch with induction night lamp

文档序号:73668 发布日期:2021-10-01 浏览:34次 中文

阅读说明:本技术 一种带感应夜灯的智能开关 (Intelligent switch with induction night lamp ) 是由 林磊 于 2021-07-02 设计创作,主要内容包括:本发明提供一种带感应夜灯的智能开关,涉及智能家居技术领域,包括:光敏检测电路,用以对外部环境的光线强度进行检测,得到光敏信号;微波感应电路,用以对外部环境中的人体移动进行检测,得到感应信号;控制电路,分别连接微波感应电路和光敏检测电路,用以在光敏信号小于预设阈值且感应信号表明存在人体移动时生成第一驱动信号;驱动电路,分别连接控制电路和夜灯LED电路,用以根据第一驱动信号驱动夜灯LED电路开启夜灯照明。有益效果是通过结合光敏采样电路和微波感应电路检测到的光敏信号和感应信号,实现对夜灯LED电路及图标LED电路的自动控制,增加夜灯照明功能的基础上,降低了夜间灯光的对睡眠状态的影响,有效提升智能开关的使用舒适性。(The invention provides an intelligent switch with an induction night lamp, which relates to the technical field of intelligent home furnishing and comprises the following components: the photosensitive detection circuit is used for detecting the light intensity of the external environment to obtain a photosensitive signal; the microwave induction circuit is used for detecting the movement of a human body in an external environment to obtain an induction signal; the control circuit is respectively connected with the microwave sensing circuit and the photosensitive detection circuit and used for generating a first driving signal when the photosensitive signal is smaller than a preset threshold value and the sensing signal indicates that human body movement exists; and the driving circuit is respectively connected with the control circuit and the night lamp LED circuit and used for driving the night lamp LED circuit to turn on night lamp illumination according to the first driving signal. The beneficial effects are that through photosensitive signal and the inductive signal that combines photosensitive sampling circuit and microwave induction circuit to detect, realize the automatic control to night-light LED circuit and icon LED circuit, on the basis of increasing night-light illumination function, reduced the influence to the sleep state of night light, effectively promote intelligent switch's use travelling comfort.)

1. An intelligent switch of night-light is responded to in area, its characterized in that includes:

the photosensitive detection circuit is used for detecting the light intensity of the external environment in real time to obtain a photosensitive signal;

the microwave sensing circuit is used for detecting the movement of the human body in the external environment in real time to obtain a sensing signal;

the control circuit is respectively connected with the microwave sensing circuit and the photosensitive detection circuit and is used for generating a first driving signal when the photosensitive signal is smaller than a preset threshold value and the sensing signal indicates that human body movement exists;

and the driving circuit is respectively connected with the control circuit and the night lamp LED circuit and is used for driving the night lamp LED circuit to open night lamp illumination according to the first driving signal.

2. The intelligent switch according to claim 1, further comprising a power circuit, respectively connected to the photosensitive detection circuit, the microwave sensing circuit, the control circuit and the driving circuit, for respectively providing power to the photosensitive detection circuit, the microwave sensing circuit, the control circuit and the driving circuit.

3. The intelligent switch according to claim 1, further comprising an icon LED circuit connected to the driving circuit, wherein the control circuit generates a second driving signal when the sensing signal indicates that there is a movement of a human body, and the driving circuit drives the icon LED circuit to illuminate the key icon on the intelligent switch according to the second driving signal.

4. The intelligent switch of claim 2, wherein the power circuit comprises:

a rectifying circuit for converting an AC voltage to a DC voltage;

a transformer coupling loop for coupling the DC voltage into a low voltage signal according to a switching state;

the driving chip is connected with the transformer coupling loop and used for generating the switch state and carrying out feedback detection on the low-voltage signal;

the first power supply chip is connected with the output end of the transformer coupling loop and used for converting the low-voltage signal into a first working voltage;

the second power supply chip is connected with the output end of the transformer coupling loop and used for converting the voltage signal into a second working voltage;

the first filter circuit is connected with the output end of the first power supply chip and is used for filtering the first working voltage;

and the second filter circuit is connected with the output end of the second power supply chip and is used for filtering the second working voltage.

5. The intelligent switch of claim 3, wherein the drive circuit comprises:

the input end of the first switch circuit is connected with the control circuit, and the output end of the first switch circuit is connected with the night lamp LED circuit and used for controlling the on-off of the night lamp LED circuit;

and the output end of the second switch circuit is connected with the control circuit, and the output end of the second switch circuit is connected with the icon LED circuit and is used for controlling the on-off of the icon LED circuit.

6. The intelligent switch according to claim 2, further comprising a button circuit respectively connected to the control circuit and the power circuit for controlling the operating state of the control circuit.

7. The intelligent switch of claim 1, wherein the control circuit comprises:

the micro control chip is preset with a plurality of control pins;

the micro control chip is respectively connected with the power supply circuit, the driving circuit, the photosensitive detection circuit, the microwave detection circuit and the driving circuit through the plurality of control pins;

and the crystal oscillator is connected with the micro control chip through one control pin and is used for providing clock frequency for the micro control chip.

8. The intelligent switch of claim 7, wherein the photosensitive detection circuit comprises:

the input end of the photosensitive element is connected with the output end of the first power supply chip, and the output end of the photosensitive element is connected with the control pin of the micro control chip.

9. The intelligent switch of claim 4, wherein the microwave sensing circuit comprises:

a microwave inductive antenna circuit, comprising:

the input end of the serial voltage division circuit is connected with the output end of the second power supply chip, and the output end of the serial voltage division circuit is grounded;

the base electrode, the collector electrode and the emitter electrode of the triode are respectively provided with a microwave induction antenna;

and the base electrode of the triode is connected with a voltage division node of the serial voltage division circuit, and the collector electrode of the triode is connected with the output end of the second power supply chip.

10. The intelligent switch of claim 9, wherein the microwave sensing circuit further comprises:

a signal processing circuit, comprising:

the input end of the first amplifying circuit is connected with the emitting electrode of the triode;

and the input end of the second amplifying circuit is connected with the output end of the first amplifying circuit, and the output end of the second amplifying circuit is connected with the control pin of the micro control chip.

Technical Field

The invention relates to the field of intelligent home furnishing, in particular to an intelligent switch with an induction night lamp.

Background

The intelligent switch is a unit which utilizes the combination and programming of a control panel and an electronic component to realize the control of the intelligent switch of the circuit.

At present, intelligent switches on the market generally do not have the function of an induction night lamp due to higher difficulty of technical synthesis. Meanwhile, the wall-embedded night lamp or induction night lamp on the market generally has the functions of night illumination or induction illumination and cannot be controlled by the intelligent switch.

Disclosure of Invention

Aiming at the problems in the prior art, the invention provides an intelligent switch with an induction night lamp, which comprises:

the photosensitive detection circuit is used for detecting the light intensity of the external environment in real time to obtain a photosensitive signal;

the microwave sensing circuit is used for detecting the movement of the human body in the external environment in real time to obtain a sensing signal;

the control circuit is respectively connected with the microwave sensing circuit and the photosensitive detection circuit and is used for generating a first driving signal when the photosensitive signal is smaller than a preset threshold value and the sensing signal indicates that human body movement exists;

and the driving circuit is respectively connected with the control circuit and the night lamp LED circuit and is used for driving the night lamp LED circuit to open night lamp illumination according to the first driving signal.

Preferably, the microwave oven further comprises a power circuit, which is respectively connected to the photosensitive detection circuit, the microwave induction circuit, the control circuit and the driving circuit, and is used for respectively providing power for the photosensitive detection circuit, the microwave induction circuit, the control circuit and the driving circuit.

Preferably, the intelligent switch further comprises an icon LED circuit connected to the driving circuit, the control circuit generates a second driving signal when the sensing signal indicates that there is human body movement, and the driving circuit drives the icon LED circuit to light up the key icon on the intelligent switch according to the second driving signal.

Preferably, the power supply circuit includes:

a rectifying circuit for converting an AC voltage to a DC voltage;

a transformer coupling loop for coupling the DC voltage into a low voltage signal according to a switching state;

the driving chip is connected with the transformer coupling loop and used for generating the switch state and carrying out feedback detection on the low-voltage signal;

the first power supply chip is connected with the output end of the transformer coupling loop and used for converting the low-voltage signal into a first working voltage;

the second power supply chip is connected with the output end of the transformer coupling loop and used for converting the voltage signal into a second working voltage;

the first filter circuit is connected with the output end of the first power supply chip and is used for filtering the first working voltage;

and the second filter circuit is connected with the output end of the second power supply chip and is used for filtering the second working voltage.

Preferably, the drive circuit includes:

the input end of the first switch circuit is connected with the control circuit, and the output end of the first switch circuit is connected with the night lamp LED circuit and used for controlling the on-off of the night lamp LED circuit;

and the output end of the second switch circuit is connected with the control circuit, and the output end of the second switch circuit is connected with the icon LED circuit and is used for controlling the on-off of the icon LED circuit.

Preferably, the portable electronic device further comprises a key circuit which is respectively connected with the control circuit and the power circuit and used for controlling the working state of the control circuit.

Preferably, the control circuit includes:

the micro control chip is preset with a plurality of control pins;

the micro control chip is respectively connected with the power supply circuit, the driving circuit, the photosensitive detection circuit, the microwave detection circuit and the driving circuit through the plurality of control pins;

and the crystal oscillator is connected with the micro control chip through one control pin and is used for providing clock frequency for the micro control chip.

Preferably, the photosensitive detection circuit includes:

the input end of the photosensitive element is connected with the output end of the first power supply chip, and the output end of the photosensitive element is connected with the control pin of the micro control chip.

Preferably, the microwave induction circuit includes:

a microwave inductive antenna circuit, comprising:

the input end of the serial voltage division circuit is connected with the output end of the second power supply chip, and the output end of the serial voltage division circuit is grounded;

the base electrode, the collector electrode and the emitter electrode of the triode are respectively provided with a microwave induction antenna;

and the base electrode of the triode is connected with a voltage division node of the serial voltage division circuit, and the collector electrode of the triode is connected with the output end of the second power supply chip.

Preferably, the microwave induction circuit further comprises:

a signal processing circuit, comprising:

the input end of the first amplifying circuit is connected with the emitting electrode of the triode;

and the input end of the second amplifying circuit is connected with the output end of the first amplifying circuit, and the output end of the second amplifying circuit is connected with the control pin of the micro control chip.

The technical scheme has the following advantages or beneficial effects:

this technical scheme is through photosensitive signal and the inductive signal that combines photosensitive sampling circuit and microwave induction circuit to detect, realizes the automatic control to night-light LED circuit and icon LED circuit, has reduced the influence to the sleep state of night light, has effectively promoted intelligent switch's use travelling comfort night.

Drawings

FIG. 1 is a schematic diagram of an overall structure of an intelligent switch according to a preferred embodiment of the present invention;

FIG. 2 is a schematic circuit diagram of a power circuit according to a preferred embodiment of the present invention;

FIG. 3 is a schematic circuit diagram of a driving circuit according to a preferred embodiment of the present invention;

FIG. 4 is a schematic circuit diagram of a keying circuit in accordance with a preferred embodiment of the present invention;

FIG. 5 is a schematic circuit diagram of a control circuit according to a preferred embodiment of the present invention;

FIG. 6 is a schematic circuit diagram of a photosensitive detection circuit according to a preferred embodiment of the present invention;

FIG. 7 is a schematic circuit diagram of a microwave inductive antenna circuit in accordance with a preferred embodiment of the present invention;

FIG. 8 is a schematic circuit diagram of a signal processing circuit according to a preferred embodiment of the present invention;

FIG. 9 is a schematic circuit diagram of the LED circuit of the night light in accordance with the preferred embodiment of the present invention;

FIG. 10 is a schematic circuit diagram of an LED circuit according to the preferred embodiment of the present invention.

Detailed Description

The invention is described in detail below with reference to the figures and specific embodiments. The present invention is not limited to the embodiment, and other embodiments may be included in the scope of the present invention as long as the gist of the present invention is satisfied.

In accordance with the above-mentioned problems of the prior art, there is provided an intelligent switch with an inductive night light, as shown in fig. 1, comprising:

a photosensitive detection circuit 1 for detecting the light intensity of the external environment in real time to obtain a photosensitive signal;

the microwave induction circuit 2 is used for detecting the movement of the human body in the external environment in real time to obtain an induction signal;

the control circuit 3 is respectively connected with the microwave sensing circuit 2 and the photosensitive detection circuit 1 and is used for generating a first driving signal when the photosensitive signal is smaller than a preset threshold value and the sensing signal indicates that the human body moves;

and the driving circuit 4 is respectively connected with the control circuit 3 and a night lamp LED circuit 5 and is used for driving the night lamp LED circuit 5 to turn on night lamp illumination according to the first driving signal.

Specifically, in this embodiment, the intelligent switch is installed on a wall surface. In the technical scheme, the light intensity of the wall surface in the space environment is detected in real time through the photosensitive detection circuit 1, and a photosensitive signal is obtained and sent to the control circuit 3. The human body movement condition in the detection range of the intelligent panel is detected in real time through the microwave induction circuit 2, and an induction signal is obtained and sent to the control circuit 3. After receiving the photosensitive signal and the sensing signal, the control circuit 3 respectively analyzes the photosensitive signal and the sensing signal: comparing the photosensitive signal with a preset threshold value, and starting a night light function when the photosensitive signal is smaller than the preset threshold value; and when the photosensitive signal is not less than the preset threshold value, the function of the night lamp is not started. After the night lamp function is started, if the induction signal indicates that the human body is detected to move, the control circuit 3 generates a first driving signal and sends the first driving signal to the driving circuit 4 so as to drive the night lamp LED circuit 5, a night lamp LED lamp bead group in the night lamp LED circuit 5 is lightened, and the night lamp is started to illuminate; after the night-light function is opened, if the sensing signal shows that human body can not be detected and when removing, control circuit 3 generates a stop signal and sends to drive circuit 4 to stop driving night-light LED circuit 5, make night-light LED lamp pearl group in night-light LED circuit 5 extinguish.

Further, the microwave induction circuit 2 may be replaced by other induction circuits, including:

an infrared pyroelectric induction circuit, a sound control circuit or an infrared sensor circuit.

In a preferred embodiment of the present invention, the present invention further comprises a power circuit 6, which is respectively connected to the photosensitive detection circuit 1, the microwave sensing circuit 2, the control circuit 3 and the driving circuit 4, and is used for respectively providing power for the photosensitive detection circuit 1, the microwave sensing circuit 2, the control circuit 3 and the driving circuit 4.

In a preferred embodiment of the present invention, the intelligent switch further comprises an icon LED circuit 7 connected to the driving circuit 4, the control circuit 3 generates a second driving signal when the sensing signal indicates that there is human body movement, and the driving circuit 4 drives the icon LED circuit 7 to light the key icon on the intelligent switch according to the second driving signal.

Specifically, in this embodiment, when the sensing signal detected by the microwave sensing circuit 2 indicates that the movement of the human body is detected, a second driving signal is generated and sent to the icon LED circuit 7, so that the icon LED lamp bead group in the icon LED circuit 7 is turned on, and further the key icon on the intelligent switch is turned on; when the induction signal detected by the microwave induction circuit 2 indicates that the human body movement cannot be detected, a second stop signal is generated and sent to the icon LED circuit 7 to stop driving the icon LED circuit 7, so that the icon LED lamp bead group in the icon LED circuit 7 is turned off, and further the key icon on the intelligent switch is turned off.

This technical scheme is through photosensitive signal and the sensing signal that combines photosensitive sampling circuit and microwave induction circuit 2 to detect, realizes the automatic control to night lamp LED circuit 5 and icon LED circuit 7, has reduced the influence to the sleep state of night light, has effectively promoted intelligent switch's use travelling comfort night.

In a preferred embodiment of the present invention, as shown in fig. 2, the power supply circuit 6 includes:

a rectifying circuit 61 for converting an ac voltage into a dc voltage HV;

a transformer coupling loop 62 for coupling the dc voltage HV into a low voltage signal V + according to a switching state;

the driving chip 63 is connected with the transformer coupling loop 62 and used for generating a switching state and carrying out feedback detection on the low-voltage signal V +;

a first power chip 64 connected to the output end of the transformer coupling loop 62 for converting the low voltage signal V + into a first working voltage VCC;

a second power chip 65 connected to the output end of the transformer coupling loop 62 for converting the voltage signal into a second working voltage REF;

a first filter circuit 66 connected to the output terminal of the first power chip 64 for filtering the first operating voltage VCC;

a second filter circuit 67 connected to the output terminal of the second power chip 65 for filtering the second operating voltage REF.

Specifically, in the present embodiment, the rectifying circuit 61 includes a rectifying chip, and the transformer coupling circuit 62 includes a transformer. The input end of the rectifying chip inputs 220V alternating voltage. The output end of the rectifying chip outputs direct-current voltage HV. The driver chip 63 includes 8 pins. A high-voltage MOS tube is preset among the No. 4 pin, the No. 5 pin and the No. 6 pin of the driving chip 63, the driving chip 63 enables the winding between the No. 5 pin and the No. 6 pin to generate a high-frequency switching state through switching the high-voltage MOS tube, and the high-frequency switching state is coupled into a low-voltage signal V + through a transformer. And the low-voltage signal V + of the output winding of the transformer is detected by the driving chip 63, so that the low-voltage signal V + is in a voltage-stabilizing state.

In a preferred embodiment of the present invention, as shown in fig. 5, the control circuit 3 includes:

the micro control chip MCU is preset with a plurality of control pins;

the micro control chip MCU is respectively connected with the power supply circuit 6, the drive circuit 4, the photosensitive detection circuit 1, the microwave detection circuit and the drive circuit 4 through a plurality of control pins;

and the crystal oscillator X1 is connected with the micro control chip MCU through a control pin and is used for providing clock frequency for the micro control chip MCU.

Specifically, in this embodiment, the crystal oscillator X1 is arranged to provide a working clock signal for the micro control chip MCU, so as to ensure the micro control chip MCU to operate normally.

In a preferred embodiment of the present invention, as shown in fig. 3, the driving circuit 4 includes:

the input end of the first switch circuit 41 is connected with the control circuit 3, and the output end of the first switch circuit is connected with the night lamp LED circuit 5 and used for controlling the on-off of the night lamp LED circuit 5;

and the output end of the second switch circuit 42 is connected with the control circuit 3, and the output end of the second switch circuit is connected with the icon LED circuit 7 for controlling the on-off of the icon LED circuit 7.

Specifically, in this embodiment, the first switch circuit 41 includes a first MOS transistor, a gate of the first MOS transistor is connected to pin 29 of the micro control chip MCU, and a source of the first MOS transistor is grounded.

Further, as shown in fig. 9, the night lamp LED circuit 5 includes two strings of LED lamp bead sets connected in parallel. The input end of the two LED lamp bead groups is connected with a low-voltage signal V +, and the output end of the two LED lamp bead groups is connected to the drain electrode of the first MOS tube through a resistor. When the No. 29 pin of little control chip MCU exported first drive signal, first MOS pipe was switched on, and two cluster LED lamp pearl groups in night-light LED circuit 5 were lighted this moment, opened the night-light illumination.

The second switch circuit 42 includes a second MOS transistor, and a gate of the second MOS transistor is connected to pin No. 9 of the micro control chip MCU.

Further, as shown in fig. 10, the illustrated LED circuit 7 includes 6 LED light-emitting circuits connected in parallel, an input end of each LED light-emitting circuit is connected to the drain of the second MOS transistor, and an output end of each LED light-emitting circuit is grounded.

Each LED light-emitting circuit comprises two in-phase light-emitting diodes which are connected in series, two resistors are connected between the two light-emitting diodes in series, and a voltage division node between the two resistors is connected with a control pin of the MCU.

In the preferred embodiment of the present invention, as shown in fig. 4, the present invention further includes a key circuit 8, which is respectively connected to the control circuit 3 and the power circuit 6, for controlling the operating status of the control circuit 3.

Specifically, in this embodiment, the output terminal of the key circuit 8 is connected to the first operating voltage VCC, and the output terminal of the key circuit 8 is grounded. Further, the key circuit 8 includes two key branches 81. Each key branch 81 comprises a resistor and a switch contact in series. And a control node is arranged between the switch contact and the resistor and is connected with a control pin of the MCU. Through the switching of the switch contact in the control button branch 81, a corresponding switch signal is generated and sent to the micro control chip MCU, and the working states of the micro control chip MCU such as opening and resetting are controlled.

In a preferred embodiment of the present invention, as shown in fig. 6, the photosensitive detection circuit 1 includes:

and the input end of the photosensitive element 11 is connected with the output end of the first power supply chip 64, and the output end of the photosensitive element 11 is connected with a control pin of the micro control chip MCU.

Specifically, in the present embodiment, the photosensitive element 11 may be a photo resistor, a photo transistor, or a photo diode. In a preferred embodiment, the light sensitive element 11 is a phototransistor. The collector of the phototriode inputs a first working voltage VCC, the emitter of the phototriode is grounded through a resistor, and meanwhile, the emitter of the phototriode is also connected with a control pin of the MCU. When the light intensity of the photosensitive triode changes, the current output by the emitter correspondingly changes, the voltage drop formed by the current on the resistor changes, the micro control chip MCU detects the voltage value on the resistor in real time, the voltage value is the photosensitive signal, and the micro control chip MCU judges the intensity of the light according to the detected voltage value, namely the process of comparing the photosensitive signal with the preset threshold value.

In a preferred embodiment of the present invention, as shown in fig. 7, the microwave induction circuit 2 includes:

a microwave inductive antenna circuit 21, comprising:

the input end of the serial voltage division circuit is connected with the output end of the second power supply chip 65, and the output end of the serial voltage division circuit is grounded;

a triode, wherein the base electrode, the collector electrode and the emitter electrode of the triode are respectively provided with a microwave induction antenna;

the base of the triode is connected with a voltage division node of the series voltage division circuit, and the collector of the triode is connected with the output end of the second power supply chip 65.

Specifically, in the present embodiment, when the microwave sensing antenna senses that there is a movement of a human body, the microwave sensing antenna circuit 21 generates a radar signal in a wave state, and outputs the radar signal to the signal processing circuit 22; when the microwave induction antenna does not sense the movement of the human body, the microwave induction antenna circuit 21 generates a radar signal in a stable state and outputs the radar signal to the signal processing circuit 22.

In a preferred embodiment of the present invention, as shown in fig. 8, the microwave sensing circuit 2 further includes:

a signal processing circuit 22, comprising:

the input end of the first amplifying circuit 221 is connected with the emitting electrode of the triode;

and an input end of the second amplifying circuit 222 is connected to an output end of the first amplifying circuit 221, and an output end of the second amplifying circuit 222 is connected to a control pin of the micro control chip MCU.

Specifically, in this embodiment, after receiving the radar signal sent by the microwave antenna sensing circuit, the signal processing circuit 22 sequentially performs amplification and filtering processing through the first amplification circuit 221 and the second amplification circuit 222 to obtain a corresponding sensing signal, and sends the sensing signal to the MCU.

While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种人脸识别摄像头开关LED红外灯滞环控制方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!