Feedback circuit for single live wire power-taking switch state

文档序号:425067 发布日期:2021-12-21 浏览:19次 中文

阅读说明:本技术 一种用于单火取电开关状态的反馈电路 (Feedback circuit for single live wire power-taking switch state ) 是由 任献普 李斌 徐西印 于 2021-09-30 设计创作,主要内容包括:本发明提供了一种用于单火取电开关状态的反馈电路,包括单火取电单元、开关状态检测电路、无线模块单元;单火取电单元一端与开关状态检测电路一端连接,开关状态检测电路的另一端与无线模块单元连接,单火取电单元用于给开关状态检测电路、无线模块单元供电,开关状态检测电路用于检测火线上电压状态并反馈给无线模块单元,无线模块单元用于根据火线电压状态控制开关状态以及同步给APP端。本发明所述的一种用于单火取电开关状态的反馈电路,使用较少的元器件并且对系统功耗负担极低(33ua/3.3V),可以反馈每路灯具状态,也可以适用于多路开关的设备,可以有效避免单火开关在取电异常的情况下可能导致的灯具状态和app端状态的不一致现象。(The invention provides a feedback circuit for the state of a single live wire power-taking switch, which comprises a single live wire power-taking unit, a switch state detection circuit and a wireless module unit, wherein the single live wire power-taking unit is connected with the wireless module unit; single fire is got electric unit one end and is connected with on-off state detection circuit one end, and on-off state detection circuit's the other end and wireless module unit connection, single fire are got electric unit and are used for giving on-off state detection circuit, wireless module unit power supply, and on-off state detection circuit is used for detecting live wire on voltage state and feeds back to wireless module unit, and wireless module unit is used for giving APP end according to live wire voltage state control on-off state and in step. The feedback circuit for the state of the single live wire power-taking switch, disclosed by the invention, uses fewer components, has extremely low burden (33ua/3.3V) on system power consumption, can feed back the state of each lamp, is also suitable for equipment of a multi-way switch, and can effectively avoid the phenomenon of inconsistency between the state of the lamp and the state of an app end, which is possibly caused by the condition that the single live wire switch is abnormal in power taking.)

1. A feedback circuit for a single live wire power-taking switch state is characterized by comprising a single live wire power-taking unit (1), a switch state detection circuit (2) and a wireless module unit (3);

single fire gets electric unit (1) one end and is connected with on-off state detection circuit (2) one end, the other end and the wireless module unit (3) of on-off state detection circuit (2) are connected, single fire gets electric unit (1) and is used for giving on-off state detection circuit (2), wireless module unit (3) power supply, on-off state detection circuit (2) are used for detecting voltage state on the live wire and feed back to wireless module unit (3), wireless module unit (3) are used for giving APP end according to live wire voltage state control switch state and synchronization.

2. The feedback circuit for the single live wire switch state according to claim 1, wherein: the switch state detection circuit (2) comprises a magnetic latching RELAY RELAY, a first resistor R1, a second resistor R2, a first Schottky diode D1, an NMOS tube Q1 and a third resistor R3, the first end of the magnetic latching RELAY RELAY is connected with a single-fire power supply, the second end of the magnetic latching RELAY RELAY is connected to a lamp end, the third end of the magnetic latching RELAY RELAY is connected with the first end of a first resistor R1, the second end of a first resistor R1 is connected with the first end of an NMOS tube Q1, the first end of a first Schottky diode D1 is connected with the second end of the first resistor R1, the second end of the first Schottky diode D1 is connected with the first end of a second resistor R2, the second end of the second resistor R2 is connected with a power supply, the second end of the NMOS tube Q1 is grounded, the third end of the NMOS tube Q1 is connected with the first end of a third resistor R3, the second end of the third resistor R3 is connected with the power supply, and the third end of the NMOS tube Q1 is further provided with a Zero _ det port and is connected with the wireless module unit through the Zero _ det port.

3. The feedback circuit for the single live wire switch state according to claim 2, wherein: single fire gets electric unit (1) and includes NMOS chip (4), chip (6) is put to fortune, LDO chip (7), NMOS chip (4) first end is connected with magnetic latching relay (5) first end, NMOS chip (4) second end is put the first end of chip (6) with fortune and is connected, the second end of chip (6) is put to fortune is connected with the first end of LDO chip (7), the second end of LDO chip (7) is connected with the third end of NMOS chip (4), the third end and the wireless module unit connection of LDO chip (7), the second section and the on-off state detection circuitry (2) of magnetic latching relay (5) are connected.

4. A feedback circuit for single live switch state as claimed in claim 3, wherein: the NMOS chip (4) is an NMOS tube Q41, the operational amplifier chip (6) is an operational amplifier chip U17, the LDO chip (7) is an LDO chip U18, the D pole of the NMOS tube Q41 is connected with live current, the S pole is an output end L _ OUT, a Schottky diode D36 is connected in series between the D pole and the S pole, the S pole is simultaneously connected with the input end of the LDO chip U18 through a Schottky diode D37 and a Schottky diode D38 in sequence, the output end of the LDO chip U18 is connected with the negative end of the operational amplifier chip U17 through a voltage dividing resistor R62, and the positive end of the operational amplifier chip U17 is connected with the negative electrode of the Schottky diode D37 through a voltage stabilizing tube D35; the output end of the operational amplifier chip U17 is connected with the G pole of an NMOS transistor Q41 through a current-limiting resistor R61, grounded through a pull-down resistor R60, and connected with the base electrode of a triode Q40 through a current-limiting resistor R63, the collector electrode of the triode Q40 is connected with the negative end of the operational amplifier chip U17 through a resistor R64, and the emitter electrode of the triode Q40 is grounded.

Technical Field

The invention belongs to the technical field of electronics, and particularly relates to a feedback circuit for a state of a single live wire power-taking switch.

Background

The electricity-taking mode of the intelligent switch in the market at present needs to be achieved through a single live wire, most switches do not have a feedback circuit of a switch state, and therefore the problem that the state of the lamp and the state of the user app end are inconsistent under the condition that the lamp control fails due to the fact that the single live wire electricity-taking state is abnormal can be caused.

Based on this problem, this scheme is for increasing lamps and lanterns state detection circuit on the single fire gets the electric circuit, gives the control unit with the state result feedback after switching the lamps and lanterns state at every turn to give app end by the control unit synchronization, thereby guarantee the unanimity of lamps and lanterns state and app end state.

Disclosure of Invention

In view of this, the present invention is directed to provide a feedback circuit for a single live wire power switch state, so as to solve the problem that a lamp state detection circuit is added to a single live wire power circuit, a state result is fed back to a control unit after a lamp state is switched each time, and the control unit synchronously sends the state result to an app end, so that the consistency between the lamp state and the app end state is ensured.

In order to achieve the purpose, the technical scheme of the invention is realized as follows:

a feedback circuit for the state of a single live wire power-taking switch comprises a single live wire power-taking unit, a switch state detection circuit and a wireless module unit;

single fire is got electric unit one end and is connected with on-off state detection circuit one end, and on-off state detection circuit's the other end and wireless module unit connection, single fire are got electric unit and are used for giving on-off state detection circuit, wireless module unit power supply, and on-off state detection circuit is used for detecting live wire on voltage state and feeds back to wireless module unit, and wireless module unit is used for giving APP end according to live wire voltage state control on-off state and in step.

Further, the switch state detection circuit comprises a magnetic latching RELAY RELAY, a first resistor R1 and a second resistor R2, the wireless module comprises a first Schottky diode D1, an NMOS tube Q1 and a third resistor R3, wherein a first end of a magnetic latching RELAY RELAY is connected with a single fire power supply, a second end of the magnetic latching RELAY RELAY is connected to a lamp end, a third end of the magnetic latching RELAY RELAY is connected with a first end of a first resistor R1, a second end of a first resistor R1 is connected with a first end of an NMOS tube Q1, a first end of a first Schottky diode D1 is connected with a second end of a first resistor R1, a second end of a first Schottky diode D1 is connected with a first end of a second resistor R2, a second end of a second resistor R2 is connected with the power supply, a second end of an NMOS tube Q1 is grounded, a third end of the NMOS tube Q1 is connected with a first end of a third resistor R3, a second end of a third resistor R3 is connected with the power supply, and a third end of an NMOS tube Q1 is further provided with a Zero _ det and is connected with the wireless module unit through a Zero _ det.

Furthermore, the single-fire electricity taking unit comprises an NMOS chip, an operational amplifier chip and an LDO chip, wherein a first end of the NMOS chip is connected with a first end of the magnetic latching relay, a second end of the NMOS chip is connected with a first end of the operational amplifier chip, a second end of the operational amplifier chip is connected with a first end of the LDO chip, a second end of the LDO chip is connected with a third end of the NMOS chip, a third end of the LDO chip is connected with the wireless module unit, and a second section of the magnetic latching relay is connected with the switch state detection circuit;

the magnetic latching RELAY is a magnetic latching RELAY RELAY.

Furthermore, the NMOS chip is an NMOS tube Q41, the operational amplifier chip is an operational amplifier chip U17, the LDO chip is an LDO chip U18, the D pole of the NMOS tube Q41 is connected with live wire current, the S pole is an output end L _ OUT, a Schottky diode D36 is connected in series between the D pole and the S pole, the S pole is simultaneously connected with the input end of the LDO chip U18 through a Schottky diode D37 and a Schottky diode D38 in sequence, the output end of the LDO chip U18 is connected with the negative end of the operational amplifier chip U17 through a voltage dividing resistor R62, and meanwhile, the positive end of the operational amplifier chip U17 is connected with the negative electrode of the Schottky diode D37 through a voltage stabilizing tube D35; the output end of the operational amplifier chip U17 is connected with the G pole of an NMOS transistor Q41 through a current-limiting resistor R61, grounded through a pull-down resistor R60, and connected with the base electrode of a triode Q40 through a current-limiting resistor R63, the collector electrode of the triode Q40 is connected with the negative end of the operational amplifier chip U17 through a resistor R64, and the emitter electrode of the triode Q40 is grounded.

Compared with the prior art, the feedback circuit for the state of the single live wire power switch has the following beneficial effects:

the feedback circuit for the state of the single live wire power-taking switch provided by the invention uses fewer components, has extremely low burden (33ua) on system power consumption, can feed back the state of each lamp, is also suitable for equipment of a multi-way switch, and can effectively avoid the phenomenon of inconsistency between the state of the lamp and the state of an app end, which is possibly caused by the condition that the single live wire switch abnormally takes power.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:

fig. 1 is a structural diagram of a feedback circuit for a single live wire power switch state according to an embodiment of the present invention;

fig. 2 is a structural diagram of a single live wire power taking module according to an embodiment of the invention;

FIG. 3 is a circuit diagram of an ON-state detection circuit according to an embodiment of the present invention;

fig. 4 is a circuit diagram of a single live wire power module according to an embodiment of the invention.

Description of reference numerals:

1. a single fire electricity taking unit; 2. a switch state detection circuit; 3. a wireless module unit; 4. an NMOS chip; 5. a magnetic latching relay; 6. carrying out operational amplifier chip; 7. LDO chip.

Detailed Description

It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.

In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.

In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.

The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.

As shown in fig. 1, a feedback circuit for a single live wire power-taking switch state comprises a single live wire power-taking unit 1, a switch state detection circuit 2 and a wireless module unit 3;

single fire is got 1 one end of unit and is connected with on-off state detection circuit 2 one end, on-off state detection circuit 2's the other end and is connected with wireless module unit 3, single fire is got unit 1 and is used for giving on-off state detection circuit 2, wireless module unit 3 power supply, on-off state detection circuit 2 is used for detecting live wire on voltage state and feeds back to wireless module unit 3, wireless module unit 3 is used for giving APP end according to live wire voltage state control on-off state and in step.

As shown in fig. 3, the switch state detection circuit 2 includes a magnetic latching RELAY, a first resistor R1, a second resistor R2, the wireless module comprises a first Schottky diode D1, an NMOS tube Q1 and a third resistor R3, wherein the first end of a magnetic latching RELAY RELAY is connected with a single-fire power-taking power supply, the second end of the magnetic latching RELAY RELAY is connected to a lamp end, the third end of the magnetic latching RELAY RELAY is connected with the first end of a first resistor R1, the second end of the first resistor R1 is connected with the first end of an NMOS tube Q1, the first end of a first Schottky diode D1 is connected with the second end of a first resistor R1, the second end of the first Schottky diode D1 is connected with the first end of a second resistor R2, the second end of the second resistor R2 is connected with the power supply, the second end of the NMOS tube Q1 is grounded, the third end of the NMOS tube Q1 is connected with the first end of a third resistor R3, the second end of the third resistor R3 is connected with the power supply, and the third end of the NMOS tube Q1 is provided with a Zero _ det and connected with the wireless module unit through Zero _ det;

the switch state detection circuit 2 includes a switching type magnetic latching RELAY 5RELAY, a first resistor R1, a second resistor R2, a first Schottky diode D1, an NMOS transistor Q1 chip BLM3400, and a third resistor R3. Wherein, Pin3 of the magnetic latching Relay is connected with input Relay _ in of the single live wire electricity taking unit 1. Pin5 is connected to Relay _ out, which leaves the user free to connect to one end of the light fixture. Pin4 is connected to one end of a first resistor R1, the other end is connected to the cathode of D1, one end of a second resistor R2 is connected with a system power supply 3.3V, and the other end is connected with the anode of D1. While the cathode of D1 is connected to the G terminal of Q1. The terminal S of the Q1 is grounded, the terminal D is connected with one end of a third resistor R3 and is connected with Zero _ det on the detection IO of the wireless module, and the other end of the R3 is connected with a system power supply 3.3V.

As shown in fig. 2, the single fire electricity taking unit 1 includes an NMOS chip 4, an operational amplifier chip 6, and an LDO chip 7, wherein a first end of the NMOS chip 4 is connected to a first end of the magnetic latching relay 5, a second end of the NMOS chip 4 is connected to a first end of the operational amplifier chip 6, a second end of the operational amplifier chip 6 is connected to a first end of the LDO chip 7, a second end of the LDO chip 7 is connected to a third end of the NMOS chip 4, a third end of the LDO chip 7 is connected to the wireless module unit, and a second end of the magnetic latching relay 5 is connected to the on-off state detection circuit 2; the magnetic latching RELAY is a magnetic latching RELAY RELAY.

The single live wire electricity taking unit 1 comprises an NMOS chip 4 STD85N3LH5, a magnetic latching relay 5, an operational amplifier chip 6 LM321, an LDO chip 7 LD2981ABU33TR, other resistance-capacitance elements, diodes and the like. After the single live wire electricity taking unit 1 works IN the closed magnetic latching Relay 5, live wire current flows IN from L _ IN and flows into the magnetic latching Relay after passing through the DS end of the MOS tube, and then flows out from the Relay _ out end due to the closing of the Relay to drive the lamp to work, so that a lamp power supply loop is formed, and the current direction is opposite when the period is a negative period because commercial power is an alternating current signal. When power is taken, the amplifier chip LM321 controls the MOS chip STD85N3LH5 to chop the power supply circuit of the lamp, obtains partial current from the power supply circuit of the lamp, sends the current to the LDO chip LD2981ABU33TR after rectification and filtering, and converts the current into 3.3V to supply power to the system and the wireless module unit 3. Meanwhile, the wireless module unit 3IO is connected to the feedback signal of the switch state detection circuit 2. The switch state detection circuit 2 and the magnetic latching relay 5 jointly form a complete switch state detection circuit system.

As shown in fig. 4, the NMOS chip 4 is an NMOS transistor Q41, the operational amplifier chip 6 is an operational amplifier chip U17, the LDO chip 7 is an LDO chip U18, a D pole of the NMOS transistor Q41 is connected to a live current, an S pole is an output terminal L _ OUT, a schottky diode D36 is connected in series between the D pole and the S pole, the S pole is simultaneously connected to an input terminal of the LDO chip U18 through a schottky diode D37 and a schottky diode D38 in sequence, the output terminal of the LDO chip U18 is connected to a negative terminal of the operational amplifier chip U17 through a voltage dividing resistor R62, and a positive terminal of the operational amplifier chip U17 is connected to a negative terminal of the schottky diode D37 through a voltage regulator transistor D35; the output end of the operational amplifier chip U17 is connected with the G pole of an NMOS transistor Q41 through a current-limiting resistor R61, grounded through a pull-down resistor R60, and connected with the base electrode of a triode Q40 through a current-limiting resistor R63, the collector electrode of the triode Q40 is connected with the negative end of the operational amplifier chip U17 through a resistor R64, and the emitter electrode of the triode Q40 is grounded.

The NMOS chip is an NMOS tube, the single fire electricity taking unit 3 comprises an NMOS tube Q41, an operational amplifier chip U17 and an LDO chip U18, a D pole of the NMOS tube Q41 is connected with live wire current, an S pole is an output end L _ OUT, the S pole is simultaneously connected with an input end of the LDO chip U18 through a Schottky diode D37 and a Schottky diode D38 in sequence, an output end of the LDO chip U18 is connected with a negative end of the operational amplifier chip U17 through a voltage dividing resistor R62, and a positive end of the operational amplifier chip U17 is connected with a negative electrode of the Schottky diode D37 through a voltage stabilizing tube D35; the output end of the operational amplifier chip U17 is connected with the G pole of an NMOS transistor Q41 through a current-limiting resistor R61, grounded through a pull-down resistor R60, and connected with the base electrode of a triode Q40 through a current-limiting resistor R63, the collector electrode of the triode Q40 is connected with the negative end of the operational amplifier chip U17 through a resistor R64, and the emitter electrode of the triode Q40 is grounded.

The working principle of the circuit is as follows: the live wire current flows IN from L _ IN, flows OUT from L _ OUT after passing through the DS end of an NMOS tube Q41 (model number is CSD17308Q3), and a diode D36 with the model number of B340LB-13-F is connected IN parallel with the DS end of the NMOS tube Q41 and is used for a path of live wire large current. The schottky diode D37 with the model number of SM4007PL-TP is used for forming a power-taking loop from a live wire, current of the power-taking loop flows through a diode D37 and then forms 5V output voltage through a voltage regulator tube D35 (the model number of MMSZ5242B-7-F), then the 5V output voltage is generated through the schottky diode D38 (the model number of SM4003PL-TP) after being filtered by a capacitor C10 (relative to the ground L _ IN), then the 5V output voltage flows into an LDO chip U18 (the model number of LD2981ABU33TR) through a filter capacitor C24 and a filter capacitor C25 to generate 3.3V output voltage, and then the 3V output voltage is divided by a current limiting resistor R62 and a current limiting resistor R64 after passing through the filter capacitor C27 and then enters a negative end of an operational amplifier chip U17 (the model number of LM321 MF). Meanwhile, the positive end of the operational amplifier chip U17 is connected with a delay circuit composed of a resistor R59 and a capacitor C9, the output end of the operational amplifier chip U17 is controlled by matching with a voltage regulator tube D35, and the output end of the operational amplifier chip U17 controls a collector and an emitter of a triode Q40 (the model is MMBT3904) after passing through a pull-down resistor R60 and a current-limiting resistor R63, so that the voltage of the negative end of the operational amplifier chip U17 is controlled. Meanwhile, the output end of the operational amplifier chip U17 is connected to the grid of the NMOS transistor Q41 through a current limiting resistor R61, so that the power-taking time of the NMOS transistor Q41 is controlled.

The circuit detection principle is as follows:

when the lamp is off, the Pin3 and the Pin4 of the Relay are shorted together, the Relay _ in is continuously low (one-key intelligent switch), the Q1 is cut off, and the Zero _ det is continuously high.

When the lamp is on, the Pin3 and Pin5 of the relay are shorted together, and the Q1 is the default conducting state of the system, so Zero _ det is a continuous low level.

It is considered herein that when the device supports 2 or more switches, there may be a phenomenon that 2 or more lamp states are different, and there are 2 states of the level of Relay _ in:

one is that all lamps are off, the level of Relay _ in is a continuous low level, and thus Zero _ det is a continuous high level;

one is that some lamps are on and some lamps are off, the level of the Relay _ in is a square wave with the duty ratio less than 10%, and the high level of the square wave is 12V (mos power taking level), so the Zero _ det level is an inverted square wave.

In summary, by detecting the level of Zero _ det, if it is continuously high, it indicates that Pin3 and Pin5 of the relay are shorted together, i.e. the relay is in a conducting state, and the circuit is lighted. Conversely, if the level of Zero _ det is continuously low or in a square wave state, it indicates that Pin3 and Pin4 of the relay are shorted together, i.e., the relay is in an open state and the circuit is off.

D1 in fig. 3 is an anti-reverse diode, which prevents the influence of the 12V level on the system power supply 3.3V.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智慧照明灯具的综合控制系统以及控制方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!