Lamp lighting circuit with sound control function

文档序号:1820418 发布日期:2021-11-09 浏览:24次 中文

阅读说明:本技术 一种带声音控制亮灯电路 (Lamp lighting circuit with sound control function ) 是由 吴凤明 闫丛丛 艾成华 夏梦梦 于 2021-09-09 设计创作,主要内容包括:本发明提供一种带声音控制亮灯电路,涉及灯具控制电路技术领域;包括:声音传感器的一端与信号控制模块的输入端连接,信号控制模块的输出端与逻辑与门的第一输入端连接,逻辑与门的第二输入端与光敏电阻的一端连接,逻辑与门的输出端与开关控制模块的控制端连接,开关电路模块的输入端与灯珠的一端连接,灯珠的另一端与第一电源端连接,声音传感器的另一端、光敏电阻的另一端以及开关控制模块的输出端均接地。本发明的优点在于:声音传感器感应周围的声音,光敏电阻感应周围的光线明暗,结合光控与声控实现灯具的亮起,在周围光线变暗且周围有声音时灯珠才发光,节约电能。(The invention provides a circuit with a voice control light-up function, and relates to the technical field of lamp control circuits; the method comprises the following steps: one end of the sound sensor is connected with the input end of the signal control module, the output end of the signal control module is connected with the first input end of the logic AND gate, the second input end of the logic AND gate is connected with one end of the photoresistor, the output end of the logic AND gate is connected with the control end of the switch control module, the input end of the switch circuit module is connected with one end of the lamp bead, the other end of the lamp bead is connected with the first power supply end, and the other end of the sound sensor, the other end of the photoresistor and the output end of the switch control module are all grounded. The invention has the advantages that: sound sensor response surrounding sound, light brightness around the photosensitive resistor response combines light-operated and acoustic control to realize the light-on of lamps and lanterns, and the lamp pearl is luminous just when light becomes dark and sound around and, practices thrift the electric energy.)

1. A circuit with voice control for lighting is characterized by comprising:

the device comprises a sound sensor, a signal control module, a logic AND gate, a photoresistor, a switch control module and a lamp bead;

one end of the sound sensor is connected with the input end of the signal control module, the output end of the signal control module is connected with the first input end of the logic AND gate, the second input end of the logic AND gate is connected with one end of the photoresistor, the output end of the logic AND gate is connected with the control end of the switch control module, the input end of the switch circuit module is connected with one end of the lamp bead, the other end of the lamp bead is connected with the first power supply end, and the other end of the sound sensor, the other end of the photoresistor and the output end of the switch control module are all grounded;

when the input end of the signal control module receives the signal of the sound sensor, the output end of the signal control module sends a high level to the logic AND gate, and when the input end of the signal control module does not receive the signal of the sound sensor, the output end of the signal control module sends a low level to the logic AND gate;

when the control end of the switch control module receives a high level, the input end and the output end of the switch control module are connected, and when the control end of the switch control module receives a low level, the input end and the output end of the switch control module are disconnected.

2. The circuit with sound control lighting of claim 1, wherein:

the signal control module comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a capacitor C1, a capacitor C2, an NPN type triode VT1, an NPN type triode VT2, a diode VD1 and a second power supply end;

one end of the sound sensor is connected with one end of a resistor R1 and one end of a capacitor C1, the other end of a capacitor C1 is connected with one end of a resistor R2 and a base of an NPN type triode VT1, a collector of the NPN type triode VT1 is connected with one end of a capacitor C2 and one end of a resistor R3, the other end of the resistor R1 is connected with the other end of a resistor R2, the other end of the resistor R3 and one end of a resistor R4, the other end of the capacitor C2 is connected with a cathode of a diode VD1 and a base of the NPN type triode VT2, a collector of the NPN type triode VT2 is connected with the other end of the resistor R4 and a second power supply end, an emitter of the NPN type triode VT2 is connected with one end of the resistor R5 and a first input end of the logic AND gate, and an emitter of the NPN type triode VT1, an anode of the diode VD1 and the other end of the resistor R5 are all grounded.

3. The circuit with sound control lighting of claim 2, wherein:

the switch control module comprises a resistor R6 and a unidirectional thyristor;

the output end of the logic AND gate is connected with one end of a resistor R6, the other end of the resistor R6 is connected with the control electrode of the unidirectional thyristor, the positive electrode of the unidirectional thyristor is connected with one end of the lamp bead, and the negative electrode of the unidirectional thyristor is grounded.

4. The circuit with sound control lighting of claim 1, wherein:

the sound sensor is an electret condenser microphone.

5. The circuit of claim 2, further comprising: the anode of the diode VD2 is connected with the first power supply end, and the cathode of the diode VD2 is connected with the second power supply end.

6. The circuit of claim 5, further comprising: the positive pole of the battery is connected with the first power supply end, and the negative pole of the battery is grounded.

7. The circuit of claim 2, further comprising: one end of the capacitor C3 is connected to one end of the resistor R4, and the other end of the capacitor C3 is grounded.

8. The circuit of claim 2, further comprising: one end of the capacitor C4 is connected to the second power supply terminal, and the other end of the capacitor C4 is grounded.

Technical Field

The invention relates to a lamp control circuit, in particular to a lamp lighting circuit with sound control.

Background

The existing lamps, especially the light-operated lamps, are widely applied, the light-operated lamps are automatically turned on and off according to the intensity of light, unmanned automatic control can be achieved, waste of social resources is reduced, and energy is effectively saved. The light-operated lamp is preset with a light-on threshold and a light-off threshold, the light intensity of the environment where the light-operated lamp is located is detected through a photosensitive sensor arranged on the light-operated lamp, and the light is automatically turned on according to the light intensity reaching the preset light-on threshold.

The existing light-operated lamp has the following defects: if the light-operated lamp is installed in an indoor corridor, when ambient light becomes dark, the light-operated lamp is turned on, and at night, even if no person exists in the corridor, the light can be turned on all the night, and electric energy is wasted.

There is therefore a need in life for such a luminaire: not only can sense the brightness degree of surrounding light, but also can sense the activities of surrounding people, such as sound; in the daytime, the lamp does not work, and at night, the lamp can automatically light up when sensing sound around. How to obtain such a lamp is a technical problem to be solved by the skilled person.

Disclosure of Invention

The invention aims to solve the technical problem of providing a circuit with a voice control light-on function, which combines light control and voice control to realize the light-on of a lamp and save electric energy.

The invention is realized by the following steps: a circuit with voice controlled lighting, comprising:

the device comprises a sound sensor, a signal control module, a logic AND gate, a photoresistor, a switch control module and a lamp bead;

one end of the sound sensor is connected with the input end of the signal control module, the output end of the signal control module is connected with the first input end of the logic AND gate, the second input end of the logic AND gate is connected with one end of the photoresistor, the output end of the logic AND gate is connected with the control end of the switch control module, the input end of the switch circuit module is connected with one end of the lamp bead, the other end of the lamp bead is connected with the first power supply end, and the other end of the sound sensor, the other end of the photoresistor and the output end of the switch control module are all grounded;

when the input end of the signal control module receives the signal of the sound sensor, the output end of the signal control module sends a high level to the logic AND gate, and when the input end of the signal control module does not receive the signal of the sound sensor, the output end of the signal control module sends a low level to the logic AND gate;

when the control end of the switch control module receives a high level, the input end and the output end of the switch control module are connected, and when the control end of the switch control module receives a low level, the input end and the output end of the switch control module are disconnected.

Further, the signal control module comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a capacitor C1, a capacitor C2, an NPN type triode VT1, an NPN type triode VT2, a diode VD1 and a second power supply end;

one end of the sound sensor is connected with one end of a resistor R1 and one end of a capacitor C1, the other end of a capacitor C1 is connected with one end of a resistor R2 and a base of an NPN type triode VT1, a collector of the NPN type triode VT1 is connected with one end of a capacitor C2 and one end of a resistor R3, the other end of the resistor R1 is connected with the other end of a resistor R2, the other end of the resistor R3 and one end of a resistor R4, the other end of the capacitor C2 is connected with a cathode of a diode VD1 and a base of the NPN type triode VT2, a collector of the NPN type triode VT2 is connected with the other end of the resistor R4 and a second power supply end, an emitter of the NPN type triode VT2 is connected with one end of the resistor R5 and a first input end of the logic AND gate, and an emitter of the NPN type triode VT1, an anode of the diode VD1 and the other end of the resistor R5 are all grounded.

Further, the switch control module comprises a resistor R6 and a unidirectional thyristor;

the output end of the logic AND gate is connected with one end of a resistor R6, the other end of the resistor R6 is connected with the control electrode of the unidirectional thyristor, the positive electrode of the unidirectional thyristor is connected with one end of the lamp bead, and the negative electrode of the unidirectional thyristor is grounded.

Further, the sound sensor is an electret condenser microphone.

Further, still include: the anode of the diode VD2 is connected with the first power supply end, and the cathode of the diode VD2 is connected with the second power supply end.

Further, still include: the positive pole of the battery is connected with the first power supply end, and the negative pole of the battery is grounded.

Further, still include: one end of the capacitor C3 is connected to one end of the resistor R4, and the other end of the capacitor C3 is grounded.

Further, still include: one end of the capacitor C4 is connected to the second power supply terminal, and the other end of the capacitor C4 is grounded.

The invention has the advantages that: 1. sound sensor response surrounding sound, light brightness around the photosensitive resistor response combines light-operated and acoustic control to realize the light-on of lamps and lanterns, and the lamp pearl is luminous just when light becomes dark and sound around and, practices thrift the electric energy. 2. The delay control function is achieved through the charging and discharging of the capacitor C1 and the capacitor C2. 3. And an electret capacitor microphone with higher sensitivity is adopted, so that the sound control capability is improved.

Drawings

The invention will be further described with reference to the following examples with reference to the accompanying drawings.

Fig. 1 is a schematic structural diagram of a lighting circuit with sound control according to the present invention.

Fig. 2 is a circuit diagram of the lighting circuit with sound control according to the present invention.

Detailed Description

The embodiment of the invention provides the circuit for lighting the lamp with the voice control, overcomes the defects of the light control lamp in the prior art, and realizes the technical effect of lighting the lamp by combining the light control and the voice control.

In order to solve the above disadvantages, the technical solution in the embodiment of the present invention has the following general idea:

the photoresistor senses the brightness of surrounding light, when the surrounding light becomes dark, the second input end of the logic AND gate is at a high level, and when the surrounding light becomes bright, the second input end of the logic AND gate is at a low level; the sound sensor senses surrounding sound, when the surrounding sound exists, the first input end of the logic AND gate is at a high level, and when the surrounding sound does not exist, the first input end of the logic AND gate is at a low level; when ambient light becomes dark and sound exists around, the logic AND gate outputs high level to control the lamp beads to emit light.

For better understanding of the above technical solutions, the following detailed descriptions will be provided in conjunction with the drawings and the detailed description of the embodiments.

Referring to fig. 1 and 2, a preferred embodiment of the present invention is shown.

A circuit with voice controlled lighting, comprising: the device comprises a sound sensor BM, a signal control module U1, a logic AND gate IC-1, a photoresistor RG, a switch control module U2 and a lamp bead EL; the sound sensor BM is an electret capacitor microphone, the sensitivity of the electret capacitor microphone is high, and the sound control capability is improved.

One end of a sound sensor BM is connected with an input end of a signal control module U1, an output end of a signal control module U1 is connected with a first input end of a logic AND gate IC-1, a second input end of the logic AND gate IC-1 is connected with one end of a photoresistor RG, an output end of the logic AND gate IC-1 is connected with a control end of a switch control module U2, an input end of the switch circuit module is connected with one end of a lamp bead EL, the other end of the lamp bead EL is connected with a first power supply end, and the other end of the sound sensor BM, the other end of the photoresistor RG and an output end of the switch control module U2 are all grounded; the logic and gate IC-1 operates in such a manner that the output terminal is at a high level when both the first input terminal and the second input terminal are at a high level, and the output terminal is at a low level when the first input terminal or the second input terminal is at a low level.

The sound sensor BM senses surrounding sound, and emits a signal when the surrounding sound exists, and does not emit a signal when the surrounding sound does not exist; when the input end of the signal control module U1 receives the signal of the sound sensor BM, the output end of the signal control module U1 sends a high level to the logic and gate IC-1, and when the input end of the signal control module U1 does not receive the signal of the sound sensor BM, the output end of the signal control module U1 sends a low level to the logic and gate IC-1.

The light dependent resistor RG senses the brightness of ambient light, and the second input terminal of the logic and gate IC-1 is at a high level when the ambient light becomes dark, and at a low level when the ambient light becomes bright.

When the control end of the switch control module U2 receives a high level, the input end and the output end of the switch control module U2 are conducted, and at the moment, the lamp bead EL is turned on; when the control end of the switch control module U2 receives a low level, the input end and the output end of the switch control module U2 are disconnected, and at the moment, the lamp bead EL is extinguished.

The signal control module U1 includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a capacitor C1, a capacitor C2, an NPN transistor VT1, an NPN transistor VT2, a diode VD1, and a second power supply terminal VCC; one end of the sound sensor BM is connected to one end of a resistor R1 and one end of a capacitor C1, the other end of a capacitor C1 is connected to one end of a resistor R2 and a base of an NPN-type triode VT1, a collector of the NPN-type triode VT1 is connected to one end of a capacitor C2 and one end of a resistor R3, the other end of the resistor R1 is connected to the other end of a resistor R2, the other end of the resistor R3 and one end of a resistor R4, the other end of the capacitor C2 is connected to a cathode of a diode VD1 and a base of the NPN-type triode VT2, a collector of the NPN-type triode VT2 is connected to the other end of the resistor R4 and a second power source VCC, an emitter of the NPN-type triode VT2 is connected to one end of the resistor R5 and a first input end of the logic and gate IC-1, and an emitter of the NPN-type triode VT1, an anode of the diode VD1 and the other end of the resistor R5 are all grounded.

The switch control module U2 comprises a resistor R6 and a unidirectional thyristor VS; the output end of the logic AND gate IC-1 is connected with one end of a resistor R6, the other end of the resistor R6 is connected with the control electrode of a unidirectional thyristor VS, the anode of the unidirectional thyristor VS is connected with one end of the lamp bead EL, and the cathode of the unidirectional thyristor VS is grounded. If the control level of the unidirectional thyristor VS is high, the unidirectional thyristor VS is conducted, and if the control level of the unidirectional thyristor is low, the unidirectional thyristor VS is cut off.

When sound sensor BM senses sound, the circuit that sound sensor BM is located is closed, when not sensing sound, the circuit that sound sensor BM is located is disconnected. In an initial state, a circuit where the sound sensor BM is located is disconnected, the second power supply terminal VCC charges the capacitor C1 through the resistor R1, the second power supply terminal VCC acts on the base of the NPN-type triode VT1 through the resistor R2, so that the base of the NPN-type triode VT1 is at a high level, the NPN-type triode VT1 is turned on, the left end of the capacitor C2 is equivalent to ground, the base of the NPN-type triode VT2 is at a low level, the NPN-type triode VT2 is turned off, no voltage is output from the resistor R5, and the first input end of the logic and gate IC-1 is at a low level; at this time, no matter whether the ambient light is bright or dark, the output end of the logic AND gate IC-1 is at a low level, the unidirectional thyristor VS is cut off, and the lamp bead EL is in an off state.

When the sound sensor BM senses sound, a circuit where the sound sensor BM is located is closed, the left end of the capacitor C1 is grounded through the BM for discharging, the right end of the capacitor C1 generates negative voltage, the base of the NPN type triode VT1 becomes low level, the NPN type triode VT1 is cut off, the second power supply VCC charges the capacitor C2 through the resistor R3, the voltage at two ends of the capacitor C2 gradually rises, when the base of the NPN type triode VT2 becomes high level, the NPN type triode VT2 is turned on, the resistor R5 is voltage output, and the first input end of the logic AND gate IC-1 becomes high level; at this time, if the ambient light is bright, the second input end of the logic and gate IC-1 is at a low level, the output end of the logic and gate IC-1 is at a low level, if the ambient light is dark, the second input end of the logic and gate IC-1 is at a high level, the output end of the logic and gate IC-1 is at a high level, the unidirectional thyristor VS is switched on, and the lamp bead EL is lighted.

When ambient sound disappears, the circuit where the sound sensor BM is located is disconnected again, the second power supply terminal VCC charges the capacitor C1 through the resistor R1, the second power supply terminal VCC acts on the base of the NPN-type triode VT1 through the resistor R2, so that the base of the NPN-type triode VT1 is at a high level, the NPN-type triode VT1 is turned on, the left end of the capacitor C2 starts to discharge, the diode VD1 provides reverse charges, the voltage at the two ends of the capacitor C2 gradually decreases, when the base of the NPN-type triode VT2 becomes at a low level, the NPN-type triode VT2 is turned off, the resistor R5 does not output voltage, and the first input terminal of the logic and gate IC-1 becomes at a low level. In the discharging process of the capacitor C2, the time for changing the base electrode of the NPN type triode VT2 from high level to low level is the light-emitting time of the lamp bead EL.

The lighting time of the lamp bead EL can be adjusted by the resistance value of the resistor R1 or the capacity of the capacitor C1. According to the existing RC circuitCalculation of the spacing constant disclosure Vt=V0+(Vu-V0)*[1-exp(-t/RC)]In which a power supply V is assumeduCharging a capacitor C through a resistor R, V0Is the initial voltage value, V, on the capacitoruIs the voltage value, V, of the capacitor after full chargetThe voltage value of the capacitor at any time T; it can be known that R1 and capacitor C1 form a time constant, and the charging and discharging time of the capacitor can be changed by adjusting the resistance of resistor R1 or the capacity of capacitor C1, so as to change the off-state time of NPN type triode VT1 and indirectly change the lighting time of lamp bead EL.

The anode of the diode VD2 is connected to the first power supply terminal, and the cathode of the diode VD2 is connected to the second power supply terminal VCC. The positive electrode of the battery GB is connected with the first power supply end, and the negative electrode of the battery GB is grounded. The voltage of the battery GB is 6V, namely the first power supply end is 6V, and the second power supply end VCC is connected after 0.7V is reduced through the diode VD.

One end of the capacitor C3 is connected to one end of the resistor R4, and the other end of the capacitor C3 is grounded. One end of the capacitor C4 is connected to the second power supply terminal VCC, and the other end of the capacitor C4 is grounded. The capacitor C3 and the capacitor C4 are used for power supply filtering to stabilize the working voltage.

The circuit with the sound control lighting function can ensure that the lamp beads EL can only light when the ambient light becomes dark and sound exists around the lamp beads EL, is applied to indoor corridors, has dark ambient light at night, and can automatically control the lamp beads EL to light up after a person makes a sound, thereby saving electric energy; light is bright around daytime, and lamp pearl EL can not light.

Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:网络设备的网络形成方法及系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!