Intelligent control system for power communication and working method thereof

文档序号:509736 发布日期:2021-05-28 浏览:2次 中文

阅读说明:本技术 用于电力通信的智能控制系统及其工作方法 (Intelligent control system for power communication and working method thereof ) 是由 刘睿妍 于 2020-01-17 设计创作,主要内容包括:本发明提出了一种用于电力通信的智能控制系统及其工作方法,其智能终端登录云端服务器的方式为:第一步,在智能终端上输入登录账号和登录密码,在云端服务器上预存有鉴权账号和与鉴权账号相对应的鉴权密码;第二步,对输入的登录账号和登录密码进行哈希算法,得到验证账号和与验证账号相对应的验证密码,将得到的验证账号和与验证账号相对应的验证密码发送至云端服务器;第三步,若验证账号和与验证账号相对应的验证密码与鉴权账号和与鉴权账号相对应的鉴权密码不一致,则重新登陆登录账号和登录密码。本发明有利于防止云端服务器的鉴权账号和鉴权密码泄漏,也难以知道其用户的实际登录账号和登录密码,安全可靠。(The invention provides an intelligent control system for power communication and a working method thereof, wherein the mode of logging in a cloud server by an intelligent terminal is as follows: the method comprises the steps that firstly, a login account and a login password are input on an intelligent terminal, and an authentication account and an authentication password corresponding to the authentication account are prestored on a cloud server; secondly, performing a hash algorithm on the input login account and the login password to obtain a verification account and a verification password corresponding to the verification account, and sending the obtained verification account and the verification password corresponding to the verification account to the cloud server; and thirdly, if the verification account and the verification password corresponding to the verification account are inconsistent with the authentication account and the authentication password corresponding to the authentication account, logging in the login account and the login password again. The invention is beneficial to preventing the leakage of the authentication account and the authentication password of the cloud server, is difficult to know the actual login account and the login password of the user, and is safe and reliable.)

1. An intelligent control system for power communication is characterized by comprising a master controller, a communication module, a detection module, an on-off module and an alarm module; the detection module comprises a gas detection unit and a temperature detection unit, and the on-off module comprises a gas on-off unit and an electric power on-off unit;

the gas monitoring signal input end of the gas detection unit is connected with the gas monitoring signal input end of the master controller, the temperature monitoring signal output end of the temperature detection unit is connected with the temperature monitoring signal input end of the master controller, the network connection end of the master controller is connected with the network connection end of the communication module, the gas on-off signal output end of the master controller is connected with the gas on-off signal input end of the gas on-off module, the power on-off signal output end of the master controller is connected with the power on-off signal input end of the power on-off module, and the alarm signal output end of the master controller is connected with the alarm signal input end of the alarm module; the master controller is connected with the intelligent terminal through the communication module;

the gas on-off unit is arranged on a gas pipeline house-entering pipeline, and blocks house-entering gas when the gas on-off unit receives a gas closing command signal, and changes the house-entering gas from a blocking state to a leading-in state when the gas on-off unit receives a gas opening command signal; the power on-off unit is arranged on a power line house entrance line, when the power on-off unit receives a power off input command signal, the power on-off unit cuts off house entrance power, and when the power on-off unit receives a power on input command signal, the power on-off unit changes the house entrance power from a cut-off state to a connected state;

the method for logging in the cloud server by the intelligent terminal comprises the following steps:

the method comprises the steps that firstly, a login account and a login password are input on an intelligent terminal, and an authentication account and an authentication password corresponding to the authentication account are prestored on a cloud server;

and secondly, carrying out a Hash algorithm on the input login account and the login password to obtain a verification account and a verification password corresponding to the verification account, wherein the calculation method of the verification account and the verification password comprises the following steps:

Qaccount number=Hash(Q0) Of which Q0The input login account is selected;

Qcipher code=Hash(Q1) Of which Q1For entered login password, QCipher codeObtaining a verification password;

sending the obtained verification account and the verification password corresponding to the verification account to a cloud server;

thirdly, the cloud server judges whether the obtained verification account and the verification password corresponding to the verification account are consistent with the authentication password prestored on the cloud server and corresponding to the authentication account:

if the verification account number and the verification password corresponding to the verification account number are consistent with the authentication account number and the authentication password corresponding to the authentication account number, the intelligent terminal passes the verification;

if the verification account and the verification password corresponding to the verification account are inconsistent with the authentication account and the authentication password corresponding to the authentication account, logging in the login account and the login password again;

when the master controller receives a gas blocking signal sent by the intelligent terminal or the master controller sends a gas closing command signal to the gas on-off unit and a gas alarm command signal to the alarm module according to the gas leakage value monitored by the gas detection unit; at the moment, the gas alarm module sends out a frequency fGas combustionThe sound and light alarm is carried out; when the master controller receives a gas starting signal sent by the intelligent terminal, a gas starting command signal is sent to the gas on-off unit;

when the master controller receives a power cut-off signal sent by the intelligent terminal, or the master controller sends a power input closing command signal to the power on-off unit and sends a power alarm command signal to the alarm module according to a gas leakage value monitored by the gas detection unit and a temperature value monitored by the temperature detection unit; at the moment, the gas alarm module sends out a frequency fElectric powerThe sound and light alarm is carried out; f isElectric power=fGas combustion+ f, said f being a positive number; when the master controller receives a power input starting command signal sent by the intelligent terminal, the power input starting command signal is sent to the power on-off unit.

2. The intelligent control system for power communication of claim 1, wherein the temperature detection unit comprises a temperature sensor U2, a power supply terminal V of the temperature sensor U2CCThe temperature sensor U2 has a temperature signal output end Vout connected to a first end of an adjustable resistor R21 and a first end of a capacitor C22, a second end of a capacitor C22 is connected to a power ground, a second end of an adjustable resistor R21 is connected to a first end of a resistor R22 and a first end of a capacitor C23, a second end of a capacitor C23 is connected to the power ground, and a second end of a resistor R22 is connected to a non-inverting input terminal of the amplifier U1; a first end of the resistor R23 is connected with an inverting input end of the amplifier U1, a second end of the resistor R23 is respectively connected with a first end of the adjustable resistor R24 and a power ground, and a second end of the adjustable resistor R24 is respectively connected with a first end of the capacitor C24The terminal, the output terminal of the amplifier U1 and the non-inverting input terminal of the amplifier U3 are connected, the second terminal of the capacitor C24 is connected with the power ground, and the inverting input terminal of the amplifier U3 is connected with the output terminal of the amplifier U3 and the temperature monitoring signal input terminal of the general controller respectively.

3. The intelligent control system for power communication according to claim 1, wherein the gas on-off unit comprises a gas solenoid valve, a gas inlet end and a gas outlet end of the gas solenoid valve are installed on a gas pipeline household inlet pipeline, a first power end of the gas solenoid valve is connected with a first power ground, a second power end of the gas solenoid valve is connected with an emitter of the triode, a collector of the triode is connected with the first power, and a base of the triode is connected with a gas on-off signal output end of the master controller.

4. The intelligent control system for power communication according to claim 1, wherein the power on-off unit comprises a circuit breaker, a power input end of the circuit breaker is connected with a 220V mains supply, a power output end of the circuit breaker is connected with a power line house-service line, and a trigger signal input end of the circuit breaker is connected with a power on-off signal output end of the general controller.

5. The intelligent control system for power communication of claim 1, wherein the alarm module comprises a buzzer SPK, a first end of the buzzer SPK is connected to a first end of a resistor R1, and a second end of a resistor R1 is connected to a collector of a transistor Q1, a first end of a resistor R3, an emitter of a transistor Q3, a positive electrode of a power supply BAT, an emitter of a transistor Q6, and a first end of an input loop of a relay J2, respectively; an emitter of the triode Q1 is respectively connected with a first end of an adjustable resistor R5 and a first end of an adjustable resistor R10, a second end of the adjustable resistor R5 is respectively connected with a first end of an adjustable resistor R2 and a base of the triode Q2, a second end of the adjustable resistor R2 is respectively connected with a base of the triode Q1, a second end of the resistor R3 and a first end of a resistor R4, a collector of the triode Q2 is connected with a base of the triode Q3 and a first collector of the triode Q3, a second collector of the triode Q3 is connected with a base of the triode Q4, an emitter of the triode Q2 is connected with a first end of a resistor R6, and a second end of the resistor R6 is respectively connected with a first end of a resistor R7, a first end of a resistor R8, a first end of an output loop of a relay J1, a first end of a capacitor C1 and a second end of a buzzer SPK; a second end of the capacitor C1 is respectively connected with a first end of the capacitor C2, a second end of the resistor R4, a collector of the triode Q4 and a cathode of the diode D1, and a second end of the capacitor C2 is connected with a second end of an output loop of the relay J1; an emitter of the triode Q4 is connected with a first end of an output circuit of the relay J2, an emitter of the triode Q5, an anode of the diode D1, a second end of the adjustable resistor R10, a first end of the resistor R9, a second end of the resistor R7 and a first end of an input circuit of the relay J1 respectively, a second end of the input circuit of the relay J1 is connected with a collector of the triode Q6, a second end of the resistor R9 is connected with a second end of the resistor R8, a second end of the output circuit of the relay J2 is connected with a cathode of a power supply BAT, a second end of the input circuit of the relay J2 is connected with a collector of the triode Q5, a base of the triode Q5 is connected with a first frequency alarm signal of the master controller, and a base of the triode Q6 is connected with a second frequency alarm signal of the master controller.

6. The intelligent control system for power communication of claim 5, further comprising a light group comprising K light emitting diodes, respectively LED1Light Emitting Diode (LED)2Light Emitting Diode (LED)3… …, light emitting diode LEDKLight Emitting Diode (LED)kAnd the buzzer SPK is connected in parallel, and K is a positive integer less than or equal to K.

7. The intelligent control system for power communication according to claim 4, further comprising a power metering unit, wherein a power input end of the power metering unit is connected with 220V mains supply, a power output end of the power metering unit is connected with a power input end of the circuit breaker, and a power consumption signal output end of the power metering unit is connected with a power consumption signal input end of the master controller;

and the gas consumption signal output end of the gas metering unit is connected with the gas consumption signal input end of the master controller.

8. The working method of the intelligent control system for power communication according to any one of claims 1 to 7, characterized by comprising the following steps:

s1, initializing the system;

and S2, the intelligent terminal sends a control signal to the master controller to control the on-off module to work correspondingly, and the master controller controls the on-off module to work correspondingly according to the signal monitored by the detection module and sends an alarm signal to the intelligent terminal.

9. The operating method of an intelligent control system for power communication according to claim 8, wherein the step S1 includes the steps of:

s11, the master controller sends cut-off signals to the base electrode of the triode Q5 and the base electrode of the triode Q6, so that the triode Q5 and the triode Q6 are in cut-off states;

s12, the intelligent terminal sends a test signal to the master controller:

s121, the intelligent terminal sends a gas test signal to the master controller:

s1211, the intelligent terminal sends a gas closing test signal to the master controller, and after the master controller receives the gas closing test signal sent by the intelligent terminal, the master controller sends a cut-off level to the base of the triode, so that a gas electromagnetic valve of the triode is powered off, and a gas pipeline is in a blocking state; if the intelligent terminal receives the feedback signal of the master controller, and the gas electromagnetic valve is powered off, executing S1212; the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, the remote control is prompted to be started abnormally;

s1212, the intelligent terminal sends a gas starting test signal to the master controller, and after the master controller receives the gas starting test signal sent by the intelligent terminal, the master controller sends a conduction level to the base of the triode, so that the gas electromagnetic valve is powered on, and the gas pipeline is in a conduction state; if the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, S1213 is executed; when the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is in power-off state, the remote control is prompted to be started abnormally;

s1213, the intelligent terminal sends a gas closing test signal to the master controller, and after the master controller receives the gas closing test signal sent by the intelligent terminal, the master controller sends a cut-off level to the base of the triode, so that the gas electromagnetic valve is powered off, and the gas pipeline is in a blocked state; if the intelligent terminal receives the feedback signal of the master controller, and the gas electromagnetic valve is in power-off state, S122 is executed; the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, the remote control is prompted to be started abnormally;

s122, the intelligent terminal sends a power test signal to the master controller:

s1221, the intelligent terminal sends a power-off test signal to the master controller, and after the master controller receives the power-off test signal sent by the intelligent terminal, the master controller sends a breaker-off signal to a trigger signal input end of a breaker to enable the breaker to cut off power; if the intelligent terminal receives the feedback signal of the master controller, that the circuit breaker is in the off state, S1222 is executed; if the intelligent terminal receives a feedback signal of the master controller, that the circuit breaker is in a closed state, the remote control is prompted to be started abnormally;

s1222, the intelligent terminal sends a power-on test signal to the master controller, and after the master controller receives the power-on test signal sent by the intelligent terminal, the master controller sends a circuit breaker closing signal to a trigger signal input end of a circuit breaker to enable the circuit breaker to communicate power; if the intelligent terminal receives the feedback signal of the master controller and the circuit breaker is in a communicated state, S1223 is executed; if the intelligent terminal receives a feedback signal of the master controller and the circuit breaker is in a disconnection state, the intelligent terminal prompts that the remote control is not normally started;

s1223, the intelligent terminal sends a power-off test signal to the master controller, and after the master controller receives the power-off test signal sent by the intelligent terminal, the master controller sends a breaker-off signal to a trigger signal input end of a breaker to enable the breaker to cut off power; the intelligent terminal receives a feedback signal of the master controller, if the circuit breaker is in a disconnection state, the test is finished; and if the intelligent terminal receives a feedback signal of the master controller, the circuit breaker is in a closed state, and the remote control is prompted to be started abnormally.

10. The operating method of an intelligent control system for power communication according to claim 8, wherein in step S2, the method comprises the following steps:

s21, the intelligent terminal sends a control signal to the master controller to control the on-off module to work correspondingly:

s211, the intelligent terminal judges whether a gas closing or opening trigger signal is received:

if the intelligent terminal receives a gas closing trigger signal, the intelligent terminal sends a gas closing signal to the master controller; step S213 is executed;

if the intelligent terminal receives a gas starting trigger signal, the intelligent terminal sends a gas starting signal to the master controller; step S214 is executed;

if the intelligent terminal does not receive the gas closing or opening trigger signal, the intelligent terminal continues to wait for the gas closing or opening trigger signal; returning to step S21;

s212, the intelligent terminal judges whether a power-off or power-on trigger signal is received:

if the intelligent terminal receives a power-off triggering signal, the intelligent terminal sends a power-off signal to the master controller; step S215 is performed;

if the intelligent terminal receives a power starting triggering signal, the intelligent terminal sends a power starting signal to the master controller; step S216 is executed;

if the intelligent terminal does not receive the power closing or opening trigger signal, the intelligent terminal continues to wait for the power closing or opening trigger signal; returning to step S21;

s213, the master controller receives a gas closing signal sent by the intelligent terminal, and sends a cut-off level to the base of the triode, so that the gas electromagnetic valve is powered off, and the gas pipeline is switched on and off;

s214, the master controller receives a gas starting signal sent by the intelligent terminal, and sends a conducting level to the base of the triode, so that a gas electromagnetic valve is powered on, and a gas pipeline is changed into a conducting state from a blocking state;

s215, the master controller receives a power-off signal sent by the intelligent terminal, and sends a breaker-off signal to a trigger signal input end of the breaker to enable the breaker to cut off the power;

s216, the master controller receives a starting power signal sent by the intelligent terminal, and sends a circuit breaker closing signal to a trigger signal input end of the circuit breaker to enable the circuit breaker to communicate power;

s22, the master controller controls the on-off module to work correspondingly according to the signal monitored by the detection module, and sends an alarm signal to the intelligent terminal:

s221, the master controller judges whether the gas leakage value monitored by the gas detection unit is greater than or equal to a preset gas leakage threshold value:

if the gas leakage value monitored by the gas detection unit is greater than or equal to the preset gas leakage threshold value, the master controller sends a cut-off level to the base electrode of the triode, so that the gas electromagnetic valve is powered off, and the gas pipeline is changed from a conduction state to a blocking state; and sends a conduction level to the base of the triode Q5 to make the buzzer SPK send out a frequency fGas combustionThe alarm sound of (2); executing step S222 or step S223;

at the moment, the master controller sends a first alarm prompt to the intelligent terminal, wherein the first alarm prompt is gas blocking information; the master controller receives a gas starting signal sent by the intelligent terminal, and then sends a first alarm prompt to the intelligent terminal to check whether gas leaks;

s222, the master controller judges whether the temperature value monitored by the temperature detection unit is greater than or equal to a preset temperature threshold value:

if the temperature value monitored by the temperature detection unit is greater than or equal to the preset temperature threshold value, the master controller sends a breaker disconnection signal to a trigger signal input end of the breaker, so that the breaker cuts off the power; and sends a conduction level to the base of the triode Q6 to make the buzzer SPK send out a frequency fElectric powerThe alarm sound of (2); step S223

At the moment, the master controller sends a second alarm prompt to the intelligent terminal, wherein the second alarm prompt is gas blocking and power cut-off information; the master controller receives a power-on signal or a gas signal sent by the intelligent terminal, and then sends a second alarm prompt to the intelligent terminal to check whether gas is leaked;

and S223, the master controller receives a gas reset signal sent by a gas reset button arranged on the gas on-off unit, and the master controller resets the system.

Technical Field

The invention relates to the technical field of intelligent control, in particular to an intelligent control system for power communication and a working method thereof.

Background

The power communication network is developed to ensure safe and stable operation of the power system. There are potential and resource advantages to the development of telecommunications for power systems. The potential is that power communication has a private communication network covering the national power system, and has abundant communication network infrastructure. The resource advantage is firstly embodied in the aspect of long-distance transmission, and the long-distance communication capability can be quickly formed by using special power cables such as a ground wire winding optical cable (gwop), a self-supporting optical cable (adss), a ground wire composite optical cable (opgw) and the like laid by a power transmission line. The electric power special optical cable is low in possibility of being damaged by external force, high in reliability and mature in technology, and particularly the opgw technology is widely applied in China. And secondly, in the aspect of local transmission, poles and channels of an electric power system in a city can be used for communication service, and play an important role in the aspect of broadband access networks. With the progress of communication technology and the development of society, digital communication and power communication are increasingly fused, and because power communication has inherent networking advantages and long-distance transmission advantages in China, power carrier communication is used as an input of an entrance, more and more places are used, people often forget to close indoor electrical equipment after going out, so that the virtual consumption of power consumption is caused, not only is the living cost of people increased, but also the generated power virtual consumption can increase the national power generation cost and waste, and more likely to cause accidents such as indoor fire and the like due to power short circuit or other reasons, so that the alarm cannot be given in time to cause property loss or personal injury to users, and due to the rise of power communication, the power communication can be used on the entrance of power to further control the operating state of indoor electrical equipment, so that convenience and energy conservation are realized, compared with the equipment such as smart homes, the intelligent home monitoring system is lower in cost, can monitor indoor environment in real time, and can give an alarm when necessary.

Disclosure of Invention

The invention aims to at least solve the technical problems in the prior art, and particularly innovatively provides an intelligent control system for power communication and a working method thereof.

In order to achieve the above purpose, the invention provides an intelligent control system for power communication, which comprises a master controller, a communication module, a detection module, a switching module and an alarm module; the detection module comprises a gas detection unit and a temperature detection unit, and the on-off module comprises a gas on-off unit and an electric power on-off unit;

the gas monitoring signal input end of the gas detection unit is connected with the gas monitoring signal input end of the master controller, the temperature monitoring signal output end of the temperature detection unit is connected with the temperature monitoring signal input end of the master controller, the network connection end of the master controller is connected with the network connection end of the communication module, the gas on-off signal output end of the master controller is connected with the gas on-off signal input end of the gas on-off module, the power on-off signal output end of the master controller is connected with the power on-off signal input end of the power on-off module, and the alarm signal output end of the master controller is connected with the alarm signal input end of the alarm module; the master controller is connected with the intelligent terminal through the communication module;

the gas on-off unit is arranged on a gas pipeline house-entering pipeline, and blocks house-entering gas when the gas on-off unit receives a gas closing command signal, and changes the house-entering gas from a blocking state to a leading-in state when the gas on-off unit receives a gas opening command signal; the power on-off unit is arranged on a power line house entrance line, when the power on-off unit receives a power off input command signal, the power on-off unit cuts off house entrance power, and when the power on-off unit receives a power on input command signal, the power on-off unit changes the house entrance power from a cut-off state to a connected state;

the method for logging in the cloud server by the intelligent terminal comprises the following steps:

the method comprises the steps that firstly, a login account and a login password are input on an intelligent terminal, and an authentication account and an authentication password corresponding to the authentication account are prestored on a cloud server;

and secondly, carrying out a Hash algorithm on the input login account and the login password to obtain a verification account and a verification password corresponding to the verification account, wherein the calculation method of the verification account and the verification password comprises the following steps:

Qaccount number=Hash(Q0) Of which Q0The input login account is selected;

Qcipher code=Hash(Q1) Of which Q1For entered login password, QCipher codeObtaining a verification password;

sending the obtained verification account and the verification password corresponding to the verification account to a cloud server;

thirdly, the cloud server judges whether the obtained verification account and the verification password corresponding to the verification account are consistent with the authentication password prestored on the cloud server and corresponding to the authentication account:

if the verification account number and the verification password corresponding to the verification account number are consistent with the authentication account number and the authentication password corresponding to the authentication account number, the intelligent terminal passes the verification;

if the verification account and the verification password corresponding to the verification account are inconsistent with the authentication account and the authentication password corresponding to the authentication account, logging in the login account and the login password again;

when the master controller receives a gas blocking signal sent by the intelligent terminal or the master controller sends a gas closing command signal to the gas on-off unit and a gas alarm command signal to the alarm module according to the gas leakage value monitored by the gas detection unit; at the moment, the gas alarm module sends out a frequency fGas combustionThe sound and light alarm is carried out; when the master controller receives a gas starting signal sent by the intelligent terminal, a gas starting command signal is sent to the gas on-off unit;

when the master controller receives a power cut-off signal sent by the intelligent terminal, or the master controller sends a power input closing command signal to the power on-off unit and sends a power alarm command signal to the alarm module according to a gas leakage value monitored by the gas detection unit and a temperature value monitored by the temperature detection unit; at the moment, the gas alarm module sends out a frequency fElectric powerThe sound and light alarm is carried out; f isElectric power=fGas combustion+ f, said f being a positive number; when the master controller receives a power on input command signal sent by the intelligent terminal, the master controller sends a power on/off command signal to the power on/off unitThe power input command signal. When an accident occurs, the alarm module gives an alarm by sound and light alarms with different frequencies, so that the accident is prevented from further expanding.

In a preferred embodiment of the present invention, the temperature sensing unit includes a temperature sensor U2, a power source terminal V of a temperature sensor U2CCThe temperature sensor U2 has a temperature signal output end Vout connected to a first end of an adjustable resistor R21 and a first end of a capacitor C22, a second end of a capacitor C22 is connected to a power ground, a second end of an adjustable resistor R21 is connected to a first end of a resistor R22 and a first end of a capacitor C23, a second end of a capacitor C23 is connected to the power ground, and a second end of a resistor R22 is connected to a non-inverting input terminal of the amplifier U1; the first end of the resistor R23 is connected with the inverting input end of the amplifier U1, the second end of the resistor R23 is respectively connected with the first end of the adjustable resistor R24 and the power ground, the second end of the adjustable resistor R24 is respectively connected with the first end of the capacitor C24, the output end of the amplifier U1 and the non-inverting input end of the amplifier U3, the second end of the capacitor C24 is connected with the power ground, and the inverting input end of the amplifier U3 is respectively connected with the output end of the amplifier U3 and the temperature monitoring signal input end of the master controller. The real-time accurate monitoring of the indoor temperature is realized.

In a preferred embodiment of the present invention, the gas on-off unit includes a gas solenoid valve, a gas inlet end and a gas outlet end of the gas solenoid valve are installed on a gas pipeline house-entry pipeline, a first end of a power supply of the gas solenoid valve is connected to a first power supply ground, a second end of the power supply of the gas solenoid valve is connected to an emitter of the triode, a collector of the triode is connected to the first power supply, and a base of the triode is connected to a gas on-off signal output end of the main controller. The gas solenoid valve realizes the break-make to the gas, prevents that the gas from leaking the expansion.

In a preferred embodiment of the present invention, the power on-off unit includes a circuit breaker, a power input end of the circuit breaker is connected to the 220V mains, a power output end of the circuit breaker is connected to the home-in line of the power line, and a trigger signal input end of the circuit breaker is connected to a power on-off signal output end of the general controller. The circuit breaker realizes the on-off of the electric power.

In a preferred embodiment of the present invention, the alarm module includes a buzzer SPK, a first end of the buzzer SPK is connected to a first end of a resistor R1, and a second end of the resistor R1 is connected to a collector of a transistor Q1, a first end of a resistor R3, an emitter of a transistor Q3, a positive electrode of a power supply BAT, an emitter of a transistor Q6, and a first end of an input loop of a relay J2, respectively; an emitter of the triode Q1 is respectively connected with a first end of an adjustable resistor R5 and a first end of an adjustable resistor R10, a second end of the adjustable resistor R5 is respectively connected with a first end of an adjustable resistor R2 and a base of the triode Q2, a second end of the adjustable resistor R2 is respectively connected with a base of the triode Q1, a second end of the resistor R3 and a first end of a resistor R4, a collector of the triode Q2 is connected with a base of the triode Q3 and a first collector of the triode Q3, a second collector of the triode Q3 is connected with a base of the triode Q4, an emitter of the triode Q2 is connected with a first end of a resistor R6, and a second end of the resistor R6 is respectively connected with a first end of a resistor R7, a first end of a resistor R8, a first end of an output loop of a relay J1, a first end of a capacitor C1 and a second end of a buzzer SPK; a second end of the capacitor C1 is respectively connected with a first end of the capacitor C2, a second end of the resistor R4, a collector of the triode Q4 and a cathode of the diode D1, and a second end of the capacitor C2 is connected with a second end of an output loop of the relay J1; an emitter of the triode Q4 is connected with a first end of an output circuit of the relay J2, an emitter of the triode Q5, an anode of the diode D1, a second end of the adjustable resistor R10, a first end of the resistor R9, a second end of the resistor R7 and a first end of an input circuit of the relay J1 respectively, a second end of the input circuit of the relay J1 is connected with a collector of the triode Q6, a second end of the resistor R9 is connected with a second end of the resistor R8, a second end of the output circuit of the relay J2 is connected with a cathode of a power supply BAT, a second end of the input circuit of the relay J2 is connected with a collector of the triode Q5, a base of the triode Q5 is connected with a first frequency alarm signal of the master controller, and a base of the triode Q6 is connected with a second frequency alarm signal of the master controller. The buzzer when transistor Q5 is on (saturated) and transistor Q6 is offSPK at frequency fGas combustionSending an alarm sound; the buzzer SPK is at a frequency f when the transistor Q5 is off and the transistor Q6 is on (saturated)Electric powerGiving an alarm.

In a preferred embodiment of the present invention, the LED further comprises a light group, wherein the light group comprises K light emitting diodes, each of which is a light emitting diode LED1Light Emitting Diode (LED)2Light Emitting Diode (LED)3… …, light emitting diode LEDKLight Emitting Diode (LED)kAnd the buzzer SPK is connected in parallel, and K is a positive integer less than or equal to K. The buzzer SPK and the light set are at a frequency f when the transistor Q5 is on (saturated) and the transistor Q6 is offGas combustionSending out alarm sound and light; the buzzer SPK and the light set are at frequency f when the transistor Q5 is off and the transistor Q6 is on (saturated)Electric powerAnd giving out alarm sound and light. The light emitting group emits red light to play a warning role when being lightened.

In a preferred embodiment of the invention, the electric quantity measuring device further comprises an electric quantity measuring unit, wherein a power supply input end of the electric quantity measuring unit is connected with 220V mains supply, a power supply output end of the electric quantity measuring unit is connected with a power supply input end of the circuit breaker, and a power consumption signal output end of the electric quantity measuring unit is connected with a power consumption signal input end of the master controller; the electricity metering unit realizes statistics of electricity consumption and knows historical electricity consumption.

And the gas consumption signal output end of the gas metering unit is connected with the gas consumption signal input end of the master controller. The gas metering unit realizes statistics of gas consumption and learns historical gas consumption.

The invention also discloses a working method of the intelligent control system for power communication, which comprises the following steps:

s1, initializing the system;

and S2, the intelligent terminal sends a control signal to the master controller to control the on-off module to work correspondingly, and the master controller controls the on-off module to work correspondingly according to the signal monitored by the detection module and sends an alarm signal to the intelligent terminal.

In a preferred embodiment of the present invention, step S1 includes the following steps:

s11, the master controller sends cut-off signals to the base electrode of the triode Q5 and the base electrode of the triode Q6, so that the triode Q5 and the triode Q6 are in cut-off states;

s12, the intelligent terminal sends a test signal to the master controller:

s121, the intelligent terminal sends a gas test signal to the master controller:

s1211, the intelligent terminal sends a gas closing test signal to the master controller, and after the master controller receives the gas closing test signal sent by the intelligent terminal, the master controller sends a cut-off level to the base of the triode, so that a gas electromagnetic valve of the triode is powered off, and a gas pipeline is in a blocking state; if the intelligent terminal receives the feedback signal of the master controller, and the gas electromagnetic valve is powered off, executing S1212; the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, the remote control is prompted to be started abnormally;

s1212, the intelligent terminal sends a gas starting test signal to the master controller, and after the master controller receives the gas starting test signal sent by the intelligent terminal, the master controller sends a conduction level to the base of the triode, so that the gas electromagnetic valve is powered on, and the gas pipeline is in a conduction state; if the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, S1213 is executed; when the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is in power-off state, the remote control is prompted to be started abnormally;

s1213, the intelligent terminal sends a gas closing test signal to the master controller, and after the master controller receives the gas closing test signal sent by the intelligent terminal, the master controller sends a cut-off level to the base of the triode, so that the gas electromagnetic valve is powered off, and the gas pipeline is in a blocked state; if the intelligent terminal receives the feedback signal of the master controller, and the gas electromagnetic valve is in power-off state, S122 is executed; the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, the remote control is prompted to be started abnormally;

s122, the intelligent terminal sends a power test signal to the master controller:

s1221, the intelligent terminal sends a power-off test signal to the master controller, and after the master controller receives the power-off test signal sent by the intelligent terminal, the master controller sends a breaker-off signal to a trigger signal input end of a breaker to enable the breaker to cut off power; if the intelligent terminal receives the feedback signal of the master controller, that the circuit breaker is in the off state, S1222 is executed; if the intelligent terminal receives a feedback signal of the master controller, that the circuit breaker is in a closed state, the remote control is prompted to be started abnormally;

s1222, the intelligent terminal sends a power-on test signal to the master controller, and after the master controller receives the power-on test signal sent by the intelligent terminal, the master controller sends a circuit breaker closing signal to a trigger signal input end of a circuit breaker to enable the circuit breaker to communicate power; if the intelligent terminal receives the feedback signal of the master controller and the circuit breaker is in a communicated state, S1223 is executed; if the intelligent terminal receives a feedback signal of the master controller and the circuit breaker is in a disconnection state, the intelligent terminal prompts that the remote control is not normally started;

s1223, the intelligent terminal sends a power-off test signal to the master controller, and after the master controller receives the power-off test signal sent by the intelligent terminal, the master controller sends a breaker-off signal to a trigger signal input end of a breaker to enable the breaker to cut off power; the intelligent terminal receives a feedback signal of the master controller, if the circuit breaker is in a disconnection state, the test is finished; and if the intelligent terminal receives a feedback signal of the master controller, the circuit breaker is in a closed state, and the remote control is prompted to be started abnormally.

In a preferred embodiment of the present invention, step S2 includes the following steps:

s21, the intelligent terminal sends a control signal to the master controller to control the on-off module to work correspondingly:

s211, the intelligent terminal judges whether a gas closing or opening trigger signal is received:

if the intelligent terminal receives a gas closing trigger signal, the intelligent terminal sends a gas closing signal to the master controller; step S213 is executed;

if the intelligent terminal receives a gas starting trigger signal, the intelligent terminal sends a gas starting signal to the master controller; step S214 is executed;

if the intelligent terminal does not receive the gas closing or opening trigger signal, the intelligent terminal continues to wait for the gas closing or opening trigger signal; returning to step S21;

s212, the intelligent terminal judges whether a power-off or power-on trigger signal is received:

if the intelligent terminal receives a power-off triggering signal, the intelligent terminal sends a power-off signal to the master controller; step S215 is performed;

if the intelligent terminal receives a power starting triggering signal, the intelligent terminal sends a power starting signal to the master controller; step S216 is executed;

if the intelligent terminal does not receive the power closing or opening trigger signal, the intelligent terminal continues to wait for the power closing or opening trigger signal; returning to step S21;

s213, the master controller receives a gas closing signal sent by the intelligent terminal, and sends a cut-off level to the base of the triode, so that the gas electromagnetic valve is powered off, and the gas pipeline is switched on and off;

s214, the master controller receives a gas starting signal sent by the intelligent terminal, and sends a conducting level to the base of the triode, so that a gas electromagnetic valve is powered on, and a gas pipeline is changed into a conducting state from a blocking state;

s215, the master controller receives a power-off signal sent by the intelligent terminal, and sends a breaker-off signal to a trigger signal input end of the breaker to enable the breaker to cut off the power;

s216, the master controller receives a starting power signal sent by the intelligent terminal, and sends a circuit breaker closing signal to a trigger signal input end of the circuit breaker to enable the circuit breaker to communicate power;

s22, the master controller controls the on-off module to work correspondingly according to the signal monitored by the detection module, and sends an alarm signal to the intelligent terminal:

s221, the master controller judges whether the gas leakage value monitored by the gas detection unit is greater than or equal to a preset gas leakage threshold value:

if the gas leakage value monitored by the gas detection unit is greater than or equal to the preset gas leakage threshold value, the master controller sends a cut-off level to the base electrode of the triode, so that the gas electromagnetic valve is powered off, and the gas pipeline is changed from a conduction state to a blocking state; and sends a conduction level to the base of the triode Q5 to make the buzzer SPK send out a frequency fGas combustionThe alarm sound of (2); executing step S222 or step S223;

at the moment, the master controller sends a first alarm prompt to the intelligent terminal, wherein the first alarm prompt is gas blocking information; the master controller receives a gas starting signal sent by the intelligent terminal, and then sends a first alarm prompt to the intelligent terminal to check whether gas leaks;

s222, the master controller judges whether the temperature value monitored by the temperature detection unit is greater than or equal to a preset temperature threshold value:

if the temperature value monitored by the temperature detection unit is greater than or equal to the preset temperature threshold value, the master controller sends a breaker disconnection signal to a trigger signal input end of the breaker, so that the breaker cuts off the power; and sends a conduction level to the base of the triode Q6 to make the buzzer SPK send out a frequency fElectric powerThe alarm sound of (2); step S223

At the moment, the master controller sends a second alarm prompt to the intelligent terminal, wherein the second alarm prompt is gas blocking and power cut-off information; the master controller receives a power-on signal or a gas signal sent by the intelligent terminal, and then sends a second alarm prompt to the intelligent terminal to check whether gas is leaked;

and S223, the master controller receives a gas reset signal sent by a gas reset button arranged on the gas on-off unit, and the master controller resets the system.

In summary, by adopting the technical scheme, the invention solves the problems that the leakage of the authentication account and the authentication password of the cloud server is favorably prevented by encrypting the login account and the login password, the actual login account and the login password of the user are difficult to know, the security and the reliability are high, meanwhile, people often forget to close indoor electrical equipment after going out, the virtual consumption of power consumption is caused, the living cost of people is increased, the generated virtual consumption of power can increase the national power generation cost and generate waste, and the indoor fire accident such as fire accident caused by power short circuit or other reasons (such as gas leakage) is more likely to cause the failure of timely alarm, and the property loss or the personal injury is caused to the user.

Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

Drawings

The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1 is a schematic block diagram of the connection of the present invention.

FIG. 2 is a schematic diagram of the alarm module circuit connection of the present invention.

FIG. 3 is a schematic circuit diagram of the temperature detecting unit according to the present invention.

Detailed Description

Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.

The invention provides an intelligent control system for power communication, which comprises a master controller, a communication module, a detection module, a switching module and an alarm module, wherein the master controller is connected with the communication module; the detection module comprises a gas detection unit and a temperature detection unit, and the on-off module comprises a gas on-off unit and an electric power on-off unit;

the gas monitoring signal input end of the gas detection unit is connected with the gas monitoring signal input end of the master controller, the temperature monitoring signal output end of the temperature detection unit is connected with the temperature monitoring signal input end of the master controller, the network connection end of the master controller is connected with the network connection end of the communication module, the gas on-off signal output end of the master controller is connected with the gas on-off signal input end of the gas on-off module, the power on-off signal output end of the master controller is connected with the power on-off signal input end of the power on-off module, and the alarm signal output end of the master controller is connected with the alarm signal input end of the alarm module; the master controller is connected with the intelligent terminal through the communication module;

the gas on-off unit is arranged on a gas pipeline house lead-in pipeline, when the gas on-off unit receives a gas closing command signal, the gas on-off unit changes house lead-in gas from a lead-in state or a blocking state into a blocking state (namely, the gas is in the blocking state), and when the gas on-off unit receives a gas opening command signal, the gas on-off unit changes house lead-in gas from the blocking state or the lead-in state into the lead-in state (namely, the gas is in the lead-in state); the power on-off unit is arranged on a power line house line, when the power on-off unit receives a power off input command signal, the power on-off unit changes house power from a connected state or a disconnected state to a disconnected state (namely, the power is in the disconnected state), and when the power on-off unit receives a power on input command signal, the power on-off unit changes the house power from the disconnected state to the connected state (namely, the power is in the connected state);

the method for logging in the cloud server by the intelligent terminal comprises the following steps:

the method comprises the steps that firstly, a login account and a login password are input on an intelligent terminal, and an authentication account and an authentication password corresponding to the authentication account are prestored on a cloud server;

and secondly, carrying out a Hash algorithm on the input login account and the login password to obtain a verification account and a verification password corresponding to the verification account, wherein the calculation method of the verification account and the verification password comprises the following steps:

Qaccount number=Hash(Q0) Of which Q0The input login account is selected;

Qcipher code=Hash(Q1) Of which Q1For entered login password, QCipher codeObtaining a verification password;

sending the obtained verification account and the verification password corresponding to the verification account to a cloud server;

thirdly, the cloud server judges whether the obtained verification account and the verification password corresponding to the verification account are consistent with the authentication password prestored on the cloud server and corresponding to the authentication account:

if the verification account number and the verification password corresponding to the verification account number are consistent with the authentication account number and the authentication password corresponding to the authentication account number, the intelligent terminal passes the verification;

if the verification account and the verification password corresponding to the verification account are inconsistent with the authentication account and the authentication password corresponding to the authentication account, logging in the login account and the login password again; by encrypting the login account and the login password, the leakage of the authentication account and the authentication password of the cloud server is prevented, the actual login account and the actual login password of the user are difficult to know, and the method is safe and reliable.

When the master controller receives a gas blocking signal sent by the intelligent terminal or the master controller sends a gas closing command signal to the gas on-off unit and a gas alarm command signal to the alarm module according to the gas leakage value monitored by the gas detection unit; at the moment, the gas alarm module sends out a frequency fGas combustionThe sound and light alarm is carried out; when the master controller receives a gas starting signal sent by the intelligent terminal, a gas starting command signal is sent to the gas on-off unit;

when the master controller receives a power cut-off signal sent by the intelligent terminal, or the master controller sends a power input closing command signal to the power on-off unit and sends a power alarm command signal to the alarm module according to a gas leakage value monitored by the gas detection unit and a temperature value monitored by the temperature detection unit; at the moment, the gas alarm module sends out a frequency fElectric powerThe sound and light alarm is carried out;f isElectric power=fGas combustion+ f, said f being a positive number; when the master controller receives a power input starting command signal sent by the intelligent terminal, the power input starting command signal is sent to the power on-off unit.

In a preferred embodiment of the present invention, as shown in fig. 2, the temperature sensing unit includes a temperature sensor U2, a power source terminal V of a temperature sensor U2CCThe temperature sensor U2 has a temperature signal output end Vout connected to a first end of an adjustable resistor R21 and a first end of a capacitor C22, a second end of a capacitor C22 is connected to a power ground, a second end of an adjustable resistor R21 is connected to a first end of a resistor R22 and a first end of a capacitor C23, a second end of a capacitor C23 is connected to the power ground, and a second end of a resistor R22 is connected to a non-inverting input terminal of the amplifier U1; the first end of the resistor R23 is connected with the inverting input end of the amplifier U1, the second end of the resistor R23 is respectively connected with the first end of the adjustable resistor R24 and the power ground, the second end of the adjustable resistor R24 is respectively connected with the first end of the capacitor C24, the output end of the amplifier U1 and the non-inverting input end of the amplifier U3, the second end of the capacitor C24 is connected with the power ground, and the inverting input end of the amplifier U3 is respectively connected with the output end of the amplifier U3 and the temperature monitoring signal input end of the master controller. In this embodiment, the resistance of the adjustable resistor R21 is 30K, the resistance of the resistor R22 is 5K, the resistance of the resistor R23 is 15K, the resistance of the adjustable resistor R24 is 35K, the capacitance of each of the capacitor C21 and the capacitor C23 is 0.1uF, the capacitance of each of the capacitor C22 and the capacitor C24 is 0.47uF, the model of the temperature sensor U2 is LM35, and the amplifier U1 and the amplifier U3 are four-way operational amplifiers, the model of which is LM 324. In the embodiment, the smoke monitoring system further comprises a smoke sensor, wherein a smoke signal output end of the smoke sensor is connected with a smoke signal input end of the master controller, and when a smoke value monitored by the smoke sensor is greater than or equal to a preset smoke value, the master controller sends a cut-off level to a base electrode of the triode, so that a gas electromagnetic valve of the triode is powered off, and a gas pipeline is in a cut-off state; and sending a circuit breaker opening signal to a trigger signal input terminal of the circuit breaker to make itThe breaker cuts off the power; preventing the fire from further expanding.

In a preferred embodiment of the present invention, the gas on-off unit includes a gas solenoid valve, a gas inlet end and a gas outlet end of the gas solenoid valve are installed on a gas pipeline house-entry pipeline, a first end of a power supply of the gas solenoid valve is connected to a first power supply ground, a second end of the power supply of the gas solenoid valve is connected to an emitter of the triode, a collector of the triode is connected to the first power supply, and a base of the triode is connected to a gas on-off signal output end of the main controller.

In a preferred embodiment of the present invention, the power on-off unit includes a circuit breaker, a power input end of the circuit breaker is connected to the 220V mains, a power output end of the circuit breaker is connected to the home-in line of the power line, and a trigger signal input end of the circuit breaker is connected to a power on-off signal output end of the general controller.

In a preferred embodiment of the present invention, as shown in fig. 3, the alarm module includes a buzzer SPK, a first end of the buzzer SPK is connected to a first end of a resistor R1, a second end of a resistor R1 is respectively connected to a collector of a transistor Q1, a first end of a resistor R3, an emitter of a transistor Q3, an anode of a power supply BAT, an emitter of a transistor Q6, and a first end of an input loop of a relay J2; an emitter of the triode Q1 is respectively connected with a first end of an adjustable resistor R5 and a first end of an adjustable resistor R10, a second end of the adjustable resistor R5 is respectively connected with a first end of an adjustable resistor R2 and a base of the triode Q2, a second end of the adjustable resistor R2 is respectively connected with a base of the triode Q1, a second end of the resistor R3 and a first end of a resistor R4, a collector of the triode Q2 is connected with a base of the triode Q3 and a first collector of the triode Q3, a second collector of the triode Q3 is connected with a base of the triode Q4, an emitter of the triode Q2 is connected with a first end of a resistor R6, and a second end of the resistor R6 is respectively connected with a first end of a resistor R7, a first end of a resistor R8, a first end of an output loop of a relay J1, a first end of a capacitor C1 and a second end of a buzzer SPK; a second end of the capacitor C1 is respectively connected with a first end of the capacitor C2, a second end of the resistor R4, a collector of the triode Q4 and a cathode of the diode D1, and a second end of the capacitor C2 is connected with a second end of an output loop of the relay J1; an emitter of the triode Q4 is connected with a first end of an output circuit of the relay J2, an emitter of the triode Q5, an anode of the diode D1, a second end of the adjustable resistor R10, a first end of the resistor R9, a second end of the resistor R7 and a first end of an input circuit of the relay J1 respectively, a second end of the input circuit of the relay J1 is connected with a collector of the triode Q6, a second end of the resistor R9 is connected with a second end of the resistor R8, a second end of the output circuit of the relay J2 is connected with a cathode of a power supply BAT, a second end of the input circuit of the relay J2 is connected with a collector of the triode Q5, a base of the triode Q5 is connected with a first frequency alarm signal of the master controller, and a base of the triode Q6 is connected with a second frequency alarm signal of the master controller. In this embodiment, the resistance of the resistor R1 is 12 Ω, the resistance of the adjustable resistor R2 is 30K, the resistances of the resistors R3 and R4 are 400 Ω, the resistance of the adjustable resistor R5 is 20K, the resistance of the resistor R6 is 100 Ω, the resistance of the resistor R7 is 1K, the resistance of the resistor R8 is 6K, the resistance of the resistor R9 is 3K, the resistance of the adjustable resistor R10 is 25K, the transistor Q1, the transistor Q2, the transistor Q4, the transistor Q5 are NPN transistors, the transistor Q3 and the transistor Q6 are PNP transistors, and the types of the transistors Q1 to Q6 can be selected according to actual conditions.

In a preferred embodiment of the present invention, the LED further comprises a light group, wherein the light group comprises K light emitting diodes, each of which is a light emitting diode LED1Light Emitting Diode (LED)2Light Emitting Diode (LED)3… …, light emitting diode LEDKLight Emitting Diode (LED)kAnd the buzzer SPK is connected in parallel, and K is a positive integer less than or equal to K. The light emitting diode emits red light to play a role in warning when being lightened.

In a preferred embodiment of the invention, the electric quantity measuring device further comprises an electric quantity measuring unit, wherein a power supply input end of the electric quantity measuring unit is connected with 220V mains supply, a power supply output end of the electric quantity measuring unit is connected with a power supply input end of the circuit breaker, and a power consumption signal output end of the electric quantity measuring unit is connected with a power consumption signal input end of the master controller;

and the gas consumption signal output end of the gas metering unit is connected with the gas consumption signal input end of the master controller.

The invention also discloses a working method of the intelligent control system for power communication, which comprises the following steps:

s1, initializing the system;

and S2, the intelligent terminal sends a control signal to the master controller to control the on-off module to work correspondingly, and the master controller controls the on-off module to work correspondingly according to the signal monitored by the detection module and sends an alarm signal to the intelligent terminal.

In a preferred embodiment of the present invention, step S1 includes the following steps:

s11, the master controller sends cut-off signals to the base electrode of the triode Q5 and the base electrode of the triode Q6, so that the triode Q5 and the triode Q6 are in cut-off states;

s12, the intelligent terminal sends a test signal to the master controller:

s121, the intelligent terminal sends a gas test signal to the master controller:

s1211, the intelligent terminal sends a gas closing test signal to the master controller, and after the master controller receives the gas closing test signal sent by the intelligent terminal, the master controller sends a cut-off level to the base of the triode, so that a gas electromagnetic valve of the triode is powered off, and a gas pipeline is in a blocking state; if the intelligent terminal receives the feedback signal of the master controller, and the gas electromagnetic valve is powered off, executing S1212; the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, the remote control is prompted to be started abnormally;

s1212, the intelligent terminal sends a gas starting test signal to the master controller, and after the master controller receives the gas starting test signal sent by the intelligent terminal, the master controller sends a conduction level to the base of the triode, so that the gas electromagnetic valve is powered on, and the gas pipeline is in a conduction state; if the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, S1213 is executed; when the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is in power-off state, the remote control is prompted to be started abnormally;

s1213, the intelligent terminal sends a gas closing test signal to the master controller, and after the master controller receives the gas closing test signal sent by the intelligent terminal, the master controller sends a cut-off level to the base of the triode, so that the gas electromagnetic valve is powered off, and the gas pipeline is in a blocked state; if the intelligent terminal receives the feedback signal of the master controller, and the gas electromagnetic valve is in power-off state, S122 is executed; the intelligent terminal receives a feedback signal of the master controller, if the gas electromagnetic valve is powered on, the remote control is prompted to be started abnormally; the gas on-off unit is tested, and the gas on-off unit is prevented from being started.

S122, the intelligent terminal sends a power test signal to the master controller:

s1221, the intelligent terminal sends a power-off test signal to the master controller, and after the master controller receives the power-off test signal sent by the intelligent terminal, the master controller sends a breaker-off signal to a trigger signal input end of a breaker to enable the breaker to cut off power; if the intelligent terminal receives the feedback signal of the master controller, that the circuit breaker is in the off state, S1222 is executed; if the intelligent terminal receives a feedback signal of the master controller, that the circuit breaker is in a closed state, the remote control is prompted to be started abnormally;

s1222, the intelligent terminal sends a power-on test signal to the master controller, and after the master controller receives the power-on test signal sent by the intelligent terminal, the master controller sends a circuit breaker closing signal to a trigger signal input end of a circuit breaker to enable the circuit breaker to communicate power; if the intelligent terminal receives the feedback signal of the master controller and the circuit breaker is in a communicated state, S1223 is executed; if the intelligent terminal receives a feedback signal of the master controller and the circuit breaker is in a disconnection state, the intelligent terminal prompts that the remote control is not normally started;

s1223, the intelligent terminal sends a power-off test signal to the master controller, and after the master controller receives the power-off test signal sent by the intelligent terminal, the master controller sends a breaker-off signal to a trigger signal input end of a breaker to enable the breaker to cut off power; the intelligent terminal receives a feedback signal of the master controller, if the circuit breaker is in a disconnection state, the test is finished; and if the intelligent terminal receives a feedback signal of the master controller, the circuit breaker is in a closed state, and the remote control is prompted to be started abnormally. The power on-off unit is tested, and the power on-off unit is prevented from being started.

In a preferred embodiment of the present invention, step S2 includes the following steps:

s21, the intelligent terminal sends a control signal to the master controller to control the on-off module to work correspondingly:

s211, the intelligent terminal judges whether a gas closing or opening trigger signal is received:

if the intelligent terminal receives a gas closing trigger signal, the intelligent terminal sends a gas closing signal to the master controller; step S213 is executed;

if the intelligent terminal receives a gas starting trigger signal, the intelligent terminal sends a gas starting signal to the master controller; step S214 is executed;

if the intelligent terminal does not receive the gas closing or opening trigger signal, the intelligent terminal continues to wait for the gas closing or opening trigger signal; returning to step S21;

s212, the intelligent terminal judges whether a power-off or power-on trigger signal is received:

if the intelligent terminal receives a power-off triggering signal, the intelligent terminal sends a power-off signal to the master controller; step S215 is performed;

if the intelligent terminal receives a power starting triggering signal, the intelligent terminal sends a power starting signal to the master controller; step S216 is executed;

if the intelligent terminal does not receive the power closing or opening trigger signal, the intelligent terminal continues to wait for the power closing or opening trigger signal; returning to step S21;

s213, the master controller receives a gas closing signal sent by the intelligent terminal, and sends a cut-off level to the base of the triode, so that a gas electromagnetic valve is powered off, and a gas pipeline is in a blocked state;

s214, the master controller receives a gas starting signal sent by the intelligent terminal, and sends a conducting level to the base of the triode, so that a gas electromagnetic valve is powered on, and a gas pipeline is in a conducting state;

s215, the master controller receives a power-off signal sent by the intelligent terminal, and sends a breaker-off signal to a trigger signal input end of the breaker to enable the breaker to cut off the power;

s216, the master controller receives a starting power signal sent by the intelligent terminal, and sends a circuit breaker closing signal to a trigger signal input end of the circuit breaker to enable the circuit breaker to communicate power;

s22, the master controller controls the on-off module to work correspondingly according to the signal monitored by the detection module, and sends an alarm signal to the intelligent terminal:

s221, the master controller judges whether the gas leakage value monitored by the gas detection unit is greater than or equal to a preset gas leakage threshold value:

if the gas leakage value monitored by the gas detection unit is greater than or equal to a preset gas leakage threshold value, the master controller sends a cut-off level to the base electrode of the triode, so that the gas electromagnetic valve is powered off, and a gas pipeline is in a blocked state; and sends a conduction level to the base of the triode Q5 to make the buzzer SPK send out a frequency fGas combustionThe alarm sound of (2); executing step S222 or step S223;

at the moment, the master controller sends a first alarm prompt to the intelligent terminal, wherein the first alarm prompt is gas blocking information; the master controller receives a gas starting signal sent by the intelligent terminal, and then sends a first alarm prompt to the intelligent terminal to check whether gas leaks;

s222, the master controller judges whether the temperature value monitored by the temperature detection unit is greater than or equal to a preset temperature threshold value:

if the temperature value monitored by the temperature detection unit is greater than or equal to the preset temperature threshold value, the master controller sends a circuit breaker disconnection signal to the trigger signal input end of the circuit breaker to disconnect the circuit breakerThe circuit breaker cuts off the power; and sends a conduction level to the base of the triode Q6 to make the buzzer SPK send out a frequency fElectric powerThe alarm sound of (2); step S223

At the moment, the master controller sends a second alarm prompt to the intelligent terminal, wherein the second alarm prompt is gas blocking and power cut-off information; the master controller receives a power-on signal or a gas signal sent by the intelligent terminal, and then sends a second alarm prompt to the intelligent terminal to check whether gas is leaked;

and S223, the master controller receives a gas reset signal sent by a gas reset button arranged on the gas on-off unit, and the master controller resets the system.

While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电磁炉炉面温度控制电路及方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!