Single-fire switch double-control system and method

文档序号:1190366 发布日期:2020-08-28 浏览:8次 中文

阅读说明:本技术 单火开关双控系统及方法 (Single-fire switch double-control system and method ) 是由 何超平 李嘉杰 于 2020-05-30 设计创作,主要内容包括:本发明提供了一种单火开关双控系统,包括:继电器;功率检测模块,其设置于继电器的回路中,适于检测该回路中微电流值;微控制单元,其至少通信连接功率检测模块,适于接收微电流值,并控制继电器切换电路;按键和/或通信模块,其与微控制单元信号连接;电源采集模块,其适于单火取电,并向微控制单元,功率检测模块,及继电器和按键和/或通信模块负载供电。该技术方案适于快速获取正确的双控状态。另外,本发明还提供了一种基于该单火开关双控系统的单火开关双控方法。(The invention provides a single fire switch double-control system, comprising: a relay; the power detection module is arranged in a loop of the relay and is suitable for detecting a micro-current value in the loop; the micro control unit is at least in communication connection with the power detection module, is suitable for receiving the micro current value and controls the relay switching circuit; the key and/or communication module is in signal connection with the micro control unit; and the power supply acquisition module is suitable for single fire power acquisition and supplies power to the micro control unit, the power detection module, the relay, the key and/or the communication module load. The technical scheme is suitable for rapidly acquiring the correct double-control state. In addition, the invention also provides a single-fire switch double-control method based on the single-fire switch double-control system.)

1. A single fire switch dual control system comprising:

a relay;

the power detection module is arranged in a loop of the relay and is suitable for detecting a micro-current value in the loop;

the micro control unit is at least in communication connection with the power detection module, is suitable for receiving the micro current value and controls the relay switching circuit;

the key and/or communication module is in signal connection with the micro control unit;

and the power supply acquisition module is suitable for single fire power acquisition and supplies power to the micro control unit, the power detection module and the relay and the key and/or the communication module load.

2. The single fire switch dual control system according to claim 1, wherein: the communication module is suitable for being in communication connection with the user terminal and reporting and receiving data in the gateway or the server.

3. The single fire switch dual control system according to claim 2, wherein: the communication module comprises a 433mHz wireless module and/or a Bluetooth and/or wifi wireless module.

4. A single fire switch dual control system according to any one of claims 1 to 3, wherein: the micro-control unit is connected with the power supply, and the micro-control unit is connected with the power supply.

5. The single fire switch dual control system according to claim 1, wherein: the single fire switch double control system at least comprises one input and a pair of outputs, wherein the inputs are respectively a fire line input (IN L), a fire line output A (OUT A) and a fire line output B (OUTB).

6. The single fire switch dual control system according to claim 5, wherein: the single-fire switch double-control system and the mechanical switch are combined into the same channel, one point of the mechanical switch is connected to the fire wire output A (OUT A), and the other point of the mechanical switch is connected to the fire wire output B (OUT B).

7. A single fire switch double control method comprises the following steps:

s1: power-on initialization;

s2: the power detection module detects a micro-current value in the relay loop and sends and inputs the micro-current value to the micro-control unit;

s3: the micro control unit acquires a micro current value of the power detection module and compares the micro current value with a preset threshold value;

if the threshold is not exceeded, then S2 and S3 continue to be repeated;

and if the threshold value is exceeded, switching the relay control signal to control the on/off state of the load, and reporting the on/off state of the load through the communication module.

8. The single fire switch double control method according to claim 7, characterized in that: the threshold is 3 mA.

9. The single fire switch double control method according to claim 7, characterized in that: in step S3, the micro control unit obtains the micro current value of the power detection module, compares the micro current value with a preset threshold, and if the micro current value exceeds the preset threshold, switches the relay control signal to control the on/off state of the load, and reports the load state through the communication module and changes the indicator light.

10. The single fire switch double control method according to claim 7, characterized in that: the method further comprises at least one of the following 3 modes of operation;

operation mode a, operation single fire switch control mode:

the micro control unit switches a relay control signal after detecting that a key signal is received, controls the on/off state of a load and reports the state through the communication module;

operation mode b, operation mechanical switch control mode:

operating a mechanical switch, switching a relay control signal after the micro control unit detects that a trigger signal is received, controlling the on/off state of a load, and reporting the state through a communication module;

operation mode c, operation user terminal mode:

and operating the user terminal, sending a signal to the communication module, and switching the relay control signal to control the on/off state of the load after the micro control unit processes data.

Technical Field

The invention relates to a single-fire switch double-control system and a single-fire switch double-control method.

Background

The double-control switch is a switch with two contacts (namely a pair) which are normally open and normally closed at the same time. Two double-control switches are usually used to control a lamp or other electrical appliances, which means that two switches can be used to control the switches of electrical appliances such as lamps, for example, two switches in a corridor can turn on or off the same lamp in the corridor, however, the existing double-control scheme is implemented by using a traditional mechanical switch.

With the development of technology and the improvement of living standard, single-live-wire switch panels that realize switching functions by means of touch and the like are gradually emerging. The touch switch has the advantages that the touch switch is more intelligent, functions such as timing switch, brightness adjustment, wireless remote control and the like are achieved, the use by a user is greatly facilitated, and meanwhile, the switch is made of various materials serving as a panel, such as a glass panel, so that the switch is more fashionable and attractive. Therefore, the single-live-wire switch panel is a development trend of the wall switch and is more and more popular.

Disclosure of Invention

The invention aims to provide a single fire switch double-control system suitable for quickly acquiring a correct double-control state.

The invention provides a single fire switch double-control system, which comprises:

a relay;

the power detection module is arranged in a loop of the relay and is suitable for detecting a micro-current value in the loop;

the micro control unit is at least in communication connection with the power detection module, is suitable for receiving the micro current value and controls the relay switching circuit;

the key and/or communication module is in signal connection with the micro control unit;

and the power supply acquisition module is suitable for single fire power acquisition and supplies power to the micro control unit, the power detection module and the relay and the key and/or the communication module load.

Preferably, the communication module is adapted to be in communication connection with a user terminal, and report and receive data in a gateway or a server.

Preferably, the communication module comprises a 433mHz radio module and/or a bluetooth and/or wifi radio module.

Preferably, the system further comprises an indicator light, and the indicator light is in signal connection with the micro control unit.

Preferably, the single fire switch dual control system comprises at least one input and a pair of outputs, which are respectively a fire line input (inl), a fire line output a (outa) and a fire line output b (out b).

Preferably, the single fire switch dual control system and the mechanical switch are combined into the same channel, and one point of the mechanical switch is connected to the fire line output a (outa) and the other point is connected to the fire line output b (out b).

Compared with the prior art, the single-live-wire switch can be realized only by additionally adding the power detection module, the feedback of the single-live-wire double-control state is quickly realized in a power detection mode, the closed state of the switch is detected, the normal state of the load of the same loop is fed back to the micro control unit, and the communication module informs the gateway and the user terminal of the current equipment state.

In addition, the invention also provides a single-fire switch double-control method, which comprises the following steps:

s1: power-on initialization;

s2: the power detection module detects a micro-current value in the relay loop and sends and inputs the micro-current value to the micro-control unit;

s3: the micro control unit acquires a micro current value of the power detection module and compares the micro current value with a preset threshold value;

if the threshold is not exceeded, then S2 and S3 continue to be repeated;

and if the threshold value is exceeded, switching the relay control signal to control the on/off state of the load, and reporting the on/off state of the load through the communication module.

Preferably, wherein the threshold is 3 mA.

Preferably, in step S3, the micro control unit obtains the micro current value of the power detection module, compares the micro current value with a preset threshold, and if the micro current value exceeds the preset threshold, switches the relay control signal to control the on/off state of the load, and reports the load state through the communication module and changes the indicator light.

Preferably, wherein the method further comprises at least one of the following 3 modes of operation;

operation mode a, operation single fire switch control mode:

the micro control unit switches a relay control signal after detecting that a key signal is received, controls the on/off state of a load and reports the state through the communication module;

operation mode b, operation mechanical switch control mode:

operating a mechanical switch, switching a relay control signal after the micro control unit detects that a trigger signal is received, controlling the on/off state of a load, and reporting the state through a communication module;

operation mode c, operation user terminal mode:

and operating the user terminal, sending a signal to the communication module, and switching the relay control signal to control the on/off state of the load after the micro control unit processes data.

Compared with the prior art, the single-fire switch double-control method has all the beneficial technical effects of the single-fire switch double-control system, and the remote switch supports the adoption of a physical and electrical switch, so that the cost is low, and the method is compatible with most double-control transformation.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

FIG. 1: a schematic block diagram of the principles of a specific embodiment of the present invention;

FIG. 2: a workflow diagram of a specific embodiment of the invention;

FIG. 3: the principle of a modification mode I of the specific embodiment of the invention is shown schematically;

FIG. 4: the invention discloses a schematic diagram of a second principle of a modification mode of a specific embodiment.

Detailed Description

The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in fig. 1 and 2, a single fire switch double control system includes:

a relay;

the power detection module is arranged in a loop of the relay and is suitable for detecting a micro-current value in the loop;

the micro control unit is at least in communication connection with the power detection module, is suitable for receiving the micro current value and controls the relay switching circuit;

the key and/or communication module is in signal connection with the micro control unit;

and the power supply acquisition module is suitable for single fire power acquisition and supplies power to the micro control unit, the power detection module and the relay and the key and/or the communication module load.

Specifically, the relay preferably employs a single pole double throw relay (SPDT) including a coil, a common terminal, a normally closed terminal, and a normally open terminal; when the coil is not energized, the common terminal and the normally closed terminal are connected.

The power supply acquisition module acquires effective electric energy on a live wire through a differential pressure circuit, an energy storage circuit and the like in the single-live switch, and has the advantages of low power consumption, high efficiency and the like;

the communication module is suitable for being in communication connection with a user terminal and reporting and receiving data in a gateway or a server; the communication module comprises a 433mHz wireless module and/or a Bluetooth and/or wifi wireless module, and is particularly responsible for reporting and receiving data in a gateway or a server.

In addition, the system also comprises an indicator light which is in signal connection with the micro-control unit.

In addition, it is worth mentioning:

the single fire switch double control system at least comprises one input and a pair of outputs, wherein the inputs are respectively a fire line input (IN L), a fire line output A (OUTA) and a fire line output B (OUT B).

As shown in fig. 3 and 4, the single fire switch dual control system and the mechanical switch are combined into the same path, and one point of the mechanical switch is connected to the fire line output a (outa) and the other point is connected to the fire line output b (out b). Namely:

the single fire switch can be used as a main switch or a slave switch to carry OUT double-control transformation, and a mechanical switch B point at the other end is required to be connected with an OUTA point of the single fire switch, and a mechanical switch c point is required to be connected with an OUT B point of the single fire switch.

It should be noted that:

the main switch is a switch which is connected with a live wire in the same path;

the slave switch is a switch which is in the same path and is close to the load;

the single-path transformation refers to the transformation of a switch of a main path or a slave path in the double-control circuit;

the double-circuit modification refers to the modification of both the master switch and the slave switch in the double-control circuit.

Compared with the prior art, the single-live-wire switch can be realized only by additionally adding the power detection module, the feedback of the single-live-wire double-control state is quickly realized in a power detection mode, the closed state of the switch is detected, the normal state of the load of the same loop is fed back to the micro control unit, and the communication module informs the gateway and the user terminal of the current equipment state.

In addition, the invention also provides a single-fire switch double-control method, which comprises the following steps:

s1: power-on initialization;

s2: the power detection module detects a micro-current value in the relay loop and sends and inputs the micro-current value to the micro-control unit;

s3: the micro control unit acquires a micro current value of the power detection module and compares the micro current value with a preset threshold value;

if the threshold is not exceeded, then S2 and S3 continue to be repeated;

and if the threshold value is exceeded, switching the relay control signal to control the on/off state of the load, and reporting the on/off state of the load through the communication module.

Preferably, wherein the threshold is 3 mA.

Preferably, in step S3, the micro control unit obtains the micro current value of the power detection module, compares the micro current value with a preset threshold, and if the micro current value exceeds the preset threshold, switches the relay control signal to control the on/off state of the load, and reports the load state through the communication module and changes the indicator light.

Preferably, wherein the method further comprises at least one of the following 3 modes of operation;

operation mode a, operation single fire switch control mode:

the micro control unit switches a relay control signal after detecting that a key signal is received, controls the on/off state of a load and reports the state through the communication module;

operation mode b, operation mechanical switch control mode:

operating a mechanical switch, switching a relay control signal after the micro control unit detects that a trigger signal is received, controlling the on/off state of a load, and reporting the state through a communication module;

operation mode c, operation user terminal mode:

and operating the user terminal, sending a signal to the communication module, and switching the relay control signal to control the on/off state of the load after the micro control unit processes data.

Compared with the prior art, the single-fire switch double-control method has all the beneficial technical effects of the single-fire switch double-control system, and the remote switch supports the adoption of a physical and electrical switch, so that the cost is low, and the method is compatible with most double-control transformation.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电感接近开关用传感器系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类