CN108594780A - A kind of intelligent home control device and its control method based on PLC - Google Patents

A kind of intelligent home control device and its control method based on PLC Download PDF

Info

Publication number
CN108594780A
CN108594780A CN201810636586.9A CN201810636586A CN108594780A CN 108594780 A CN108594780 A CN 108594780A CN 201810636586 A CN201810636586 A CN 201810636586A CN 108594780 A CN108594780 A CN 108594780A
Authority
CN
China
Prior art keywords
plc controller
plc
module
sensor
infrared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810636586.9A
Other languages
Chinese (zh)
Inventor
林学伟
王建伟
黄闽海
李清者
林娴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Normal University
Original Assignee
Fujian Normal University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Normal University filed Critical Fujian Normal University
Priority to CN201810636586.9A priority Critical patent/CN108594780A/en
Publication of CN108594780A publication Critical patent/CN108594780A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/4186Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to a kind of intelligent home control device and its control method based on PLC, including PLC controller, touch screen panel, sensor assembly, WIFI module, infrared forwarding module and with above-mentioned each module be electrical connected to the power module powered;The output end of sensor assembly is connected with the input terminal of PLC controller, to be handled in the data transmission to PLC controller by detection;The output end of touch screen panel is connected with the input terminal of the PLC controller, and control instruction is transmitted in PLC controller;The output end of infrared forwarding module is connected with the input terminal of the PLC controller, to according to the instruction of PLC controller come remote controlled electrical household appliances;The output end of PLC controller is electrical connected with more than one household electrical appliances, to be controlled the working condition of household electrical appliances according to the data received and instruction.The present invention can improve the stability and anti-interference ability of control device using PLC controller.

Description

A kind of intelligent home control device and its control method based on PLC
Technical field
The present invention relates to smart home field, especially a kind of intelligent home control device and its controlling party based on PLC Method.
Background technology
Smart home is to have both Architectural Equipment, network communication, information household appliances and equipment automatization using house as platform, collection Efficient, comfortable, safe and convenient, the environmentally friendly living environment that system, structure, service, management are integrated.Current smart home Control system is mainly realized home wiring control, signal light control, indoor and outdoor remote control, curtain automatic control, burglar alarm, computer control, is determined When the control and functions such as telephone remote.Existing intelligent home control system mostly uses microcomputer development, but microcontroller It is easy, by external interference, can not accurately execute control instruction at work.
Invention content
In view of this, the purpose of the present invention is to propose to a kind of intelligent home control device and its control method based on PLC, The stability and anti-interference ability of control device can be improved by PLC controller.
The present invention is realized using following scheme:A kind of intelligent home control device based on PLC, including PLC controller, touch Touch panel plate, sensor assembly, WIFI module, infrared forwarding module and with above-mentioned each module be electrical connected powering Power module;
The output end of the sensor assembly is connected with the input terminal of the PLC controller, to the data that will be got It is transmitted in PLC controller and is handled;The output end of the touch screen panel is connected with the input terminal of the PLC controller, Control instruction to be transmitted in PLC controller;The infrared forwarding module is connected with the communication of the IR remote controller of household electrical appliances, uses To learn the infrared control instruction that IR remote controller is sent out, output end and the PLC controller of the infrared forwarding module Input terminal is connected, to be communicated and according to the instruction of PLC controller come remote controlled electrical household appliances with PLC controller;The PLC controller warp The WIFI module is connected with server communication, and the server is connected with communication of mobile terminal, to make the PLC controller Data interaction is carried out with the mobile terminal;The output end of the PLC controller is electrical connected with more than one household electrical appliances, to The working condition of household electrical appliances is controlled according to the data received and instruction.
Further, the sensor assembly includes photosensitive sensor, temperature sensor, door status sensor, CO detection biographies Sensor, Smoke Detection sensor and curtain detection sensor;The household electrical appliances include headlamp, air-conditioning, lock for theft-proof door, CO Safety device, smog security protection device and curtain control device.
Since the price of small PLC becomes closer to singlechip controller, the intelligence relative to the exploitation of microcontroller small PLC House system, which has, programs simple strong interference immunity, stable advantage, therefore in the present invention, control device uses PLC Controller can improve the stability and anti-interference ability of control device;In addition, the touch screen panel substitutes traditional switch, It can realize that any one control panel can control any one household electrical appliances, increase the convenience of user's manipulation, infrared The distant control function of household electrical appliances can be learnt and by being communicated the site address of infrared forwarding module and by key address with PLC by practising module It is sent to PLC controller, PLC control signals is received and carrys out remote controlled electrical household appliances, both improve the intelligent level of control device;It passes Sensor module includes that (specific number is needed by the detection of intelligent domestic system and PLC controller for more than one sensor Input counts to determine), each sensor can be acquired all kinds of household electrical appliances digital quantities and analog data and input PLC controls In device processed;By above-mentioned module, which does main website by way of having line traffic control by PLC, touch screen panel with it is infrared Forwarding module does slave station, PLC controller to each household electrical appliances (particular number by intelligent domestic system need the electric appliance quantity controlled and The output of PLC controller counts to determine) it is controlled, to realize to illumination, air-conditioning, antitheft, household electrical appliances, CO security protections, smog The control of the household electrical appliances such as security protection, curtain;In addition, the control device can also be monitored household electrical appliances by way of wireless control, PLC controller carries out data interaction by wireless network and mobile terminal, and wireless control directives are sent to PLC and controlled by mobile terminal In device processed, the working condition of household electrical appliances is controlled by PLC controller, mobile terminal is mobile phone, tablet etc..
Further, the PLC controller uses the PLC controller of model EC2N-48MR.
Further, the quantity of the touch screen panel is more than one;The PLC controller includes more than one RS485 communication interfaces;In the PLC controller ports A, the ports B of each RS485 communication interfaces respectively with each touch screen panel The ports A of RS485 communication interfaces, each touch screen panel the ports B of RS485 communication interfaces be connected;In the PLC controller The ports A of each RS485 communication interfaces, the ports B respectively with the ports A of the RS485 communication interfaces of infrared forwarding module, infrared turn The ports B for sending out the RS485 communication interfaces of module are connected;Each touch screen panel is communicated with infrared forwarding mould RS485 in the block The ports A of interface are connected with each other, the ports the B phase of each touch screen panel and infrared forwarding mould RS485 communication interfaces in the block It connects;Each touch screen panel, infrared forwarding module the ports GND be connected with the cathode of power module, the power supply The cathode of module is also connected with the COM input terminals of the PLC controller, the touch screen panel, infrared forwarding module and PLC The 24V power inputs of controller are connected with the positive terminal of power module.
Particularly, PLC controller has 2 RS485 communication interfaces, the RS485 of the PLC controller logical under normal conditions Using five class double shields, 8 core cable is surpassed between communication interface and touch screen panel, wherein 4 are respectively power cord positive and negative electrode and RS485 Communication interface, the ports A, the ports B, in addition 4 it is spare.
Preferably, the quantity for the household electrical appliances that the quantity of the touch screen panel is controlled as needed determines, the PLC controls Device processed can connect more than one touch screen panel.
Further, the photosensitive sensor, temperature sensor, CO detection sensors, Smoke Detection sensor are three Line sensor, the door status sensor, curtain detection sensor are two-wire system sensor;The sensor assembly further includes Starting switch and shutdown switch, the signal of one end of the starting switch, one end of shutdown switch and each two-wire system sensor Output end is connected with the input terminal of the PLC controller, the other end of the starting switch, the other end of shutdown switch and The ends GND of the sensor of each two-wire system are connected with the ends COM of the PLC controller;The signal of the sensor of each three-wire system Output end is connected with the input terminal of the PLC controller, the ends GND of the sensor of three-wire system with the ends the COM phase of PLC controller Even, the power end of the sensor of three-wire system is connected with the 24V power inputs of the PLC controller.
Further, an input terminal of the headlamp, an input terminal of air-conditioning are defeated with the PLC controller Outlet is connected, another input terminal of the headlamp, the other end of air-conditioning are connected with the zero line of 220V AC powers, The ends COM2 of PLC controller are connected with the zero line side of 220V AC powers;The lock for theft-proof door, CO safety devices, smog One input terminal of safety device and curtain control device is connected with the output end of the PLC controller, safe-guard door lock dress Set, the other end of CO safety devices, smog security protection device and curtain control device is connected with the positive terminal of power module, The ends COM5 of the PLC controller are connected with the negative pole end of power module.
Further, the model USR-W600 of the WIFI module, the WIFI module have RS485 communication interfaces, and And support ap mode, STA mode and AP+STA patterns;The power module is switched using the 24V of model NES-100-24 Power supply.
Further, the touch screen panel uses 3.5 cun of touch screens of model MT6037H, touch screen panel tool There are RS485 communication interfaces, and support MODBUS transport protocols, is assisted for transmitting the control instruction got by MODBUS View is transmitted in the PLC controller.
Further, the infrared forwarding module uses serial ports learning type infrared remote-controller controller ER-IR-M01, this is red Outer forwarding module passes through MODBUS to learn the infrared control command signal of the IR remote controller of household electrical appliances after learning success Transport protocol communicates with PLC controller and is sent to PLC controller the site address of infrared forwarding module and by key address, together When PLC controller according to the input signal of touch screen panel, send instruction control infrared forwarding module, infrared forwarding module according to The control instruction of reception is remotely controlled control to household electrical appliances.
The present invention also uses following methods to realize:A kind of control method of the intelligent home control device based on PLC, specifically Include the following steps:
Step S1:Sensor die each sensor in the block acquires Various types of data and is transmitted to the PLC controls in real time In device processed;
Step S2:The infrared forwarding module learns the infrared control command signal of the remote controler of household electrical appliances in advance, infrared turn Communicated by MODBUS transport protocols and PLC controller after sending out module learning success and the site address of infrared forwarding module and It is sent to PLC controller by key address, while it is red to send instruction control according to the input signal of touch screen panel for PLC controller Outer forwarding module, infrared forwarding module are remotely controlled control according to the control instruction of reception to household electrical appliances;
Step S3:The PLC controller according to the input signal of touch screen panel, sensor assembly, infrared forwarding module, Each household electrical appliances of output end connection are controlled;Meanwhile the PLC controller also passes through wireless network and shifting through WIFI module Dynamic terminal carries out data interaction, and wireless control directives are sent in the PLC controller by the mobile terminal, by described PLC controller controls the working condition of household electrical appliances.
In the control method, the PLC controller in control device is using wired communication mode and communication pair The working condition of household electrical appliances is controlled;Wherein, the wired communication mode is specially:The PLC controller is described as main website For touch screen panel with infrared forwarding module as slave station, sensor die each sensor in the block acquires Various types of data in real time And it is transmitted in the PLC controller;The infrared forwarding module learns the infrared control instruction letter of the remote controler of household electrical appliances in advance Number, it is communicated and infrared forwarding module by MODBUS transport protocols and PLC controller after infrared forwarding module learning success Site address and it is sent to PLC controller by key address, while PLC controller is sent according to the input signal of touch screen panel Instruction control infrared forwarding module, infrared forwarding module are remotely controlled control, the PLC according to the control instruction of reception to household electrical appliances Controller is according to the input signal of touch screen panel, sensor assembly, infrared forwarding module, each household electrical appliances connected to output end It is controlled;The communication is specially:The PLC controller is connected through the WIFI module with server communication, The server is connected with communication of mobile terminal, and the PLC controller carries out data by wireless network and the mobile terminal Interaction, wireless control directives are sent in the PLC controller by the mobile terminal, by the PLC controller to household electrical appliances Working condition controlled.
Compared with prior art, the present invention has following advantageous effect:Intelligent home control device provided by the invention be with PLC controller, touch screen panel, infrared forwarding module, WIFI module etc. have more preferable as platform development, PLC controller Stability and anti-interference ability, therefore the device has open and reliable sexual clorminance;Control device has line traffic control in use When mode, main station controller is done by PLC, touch screen panel does slave station with infrared forwarding module, and PLC controller is assisted by MODBUS View can carry out information exchange with multiple slave stations, considerably increase the scalability of system, and touch screen panel substitutes tradition There is switch interconnection mutual control function, i.e. any one control panel can control any one electric appliance, can increase user's manipulation Convenience;In addition, when using wireless control mode, PLC controls can be connected by WIFI module with mobile terminal, be realized The remote monitoring function of control device so that device is with good stability.
Description of the drawings
Fig. 1 is the circuit theory schematic diagram of intelligent home control device in the present invention.
Fig. 2 is PLC controller and touch screen panel, the connection circuit diagram of infrared forwarding module in the present invention.
Fig. 3 is PLC controller and sensor assembly, the connection circuit diagram of each household electrical appliances in the present invention.
Specific implementation mode
With reference to embodiment, the present invention will be further described with embodiment.
As shown in Figure 1, present embodiment provides a kind of intelligent home control device based on PLC, including PLC controller, Touch screen panel, sensor assembly, WIFI module, infrared forwarding module and with above-mentioned each module be electrical connected powering Power module;
The output end of the sensor assembly is connected with the input terminal of the PLC controller, to the data that will be got It is transmitted in PLC controller and is handled;The output end of the touch screen panel is connected with the input terminal of the PLC controller, Control instruction to be transmitted in PLC controller;The infrared forwarding module is connected with the communication of the IR remote controller of household electrical appliances, uses To learn the infrared control instruction that IR remote controller is sent out, output end and the PLC controller of the infrared forwarding module Input terminal is connected, to be communicated and according to the instruction of PLC controller come remote controlled electrical household appliances with PLC controller;The PLC controller warp The WIFI module is connected with server communication, and the server is connected with communication of mobile terminal, to make the PLC controller Data interaction is carried out with the mobile terminal;The output end of the PLC controller is electrical connected with more than one household electrical appliances, to The working condition of household electrical appliances is controlled according to the data received and instruction.
In the present embodiment, the sensor assembly includes photosensitive sensor, temperature sensor, door status sensor, CO inspections Survey sensor, Smoke Detection sensor and curtain detection sensor;The household electrical appliances include headlamp, air-conditioning, safe-guard door lock dress It sets, CO safety devices, smog security protection device and curtain control device.Wherein, sensor is adopted with household electrical appliances and its control device With existing model.
Since the price of small PLC becomes closer to singlechip controller, the intelligence relative to the exploitation of microcontroller small PLC House system, which has, programs simple strong interference immunity, stable advantage, therefore in the present invention, control device uses PLC Controller can improve the stability and anti-interference ability of control device;In addition, the touch screen panel substitutes traditional switch, It can realize that any one control panel can control any one household electrical appliances, increase the convenience of user's manipulation, infrared The control signal that module can learn the remote control work(of household electrical appliances while receive PLC by being communicated with PLC controller is practised, is both improved The intelligent level of control device;Sensor assembly includes that (specific number is by smart home system for more than one sensor The detection of system needs and the input of PLC controller is counted to determine), each sensor can be to all kinds of household electrical appliances digital quantities and simulation Amount data are acquired and input in PLC controller;By above-mentioned module, the control device by way of having line traffic control by PLC does main website, and touch screen panel does slave station with infrared forwarding module, and (particular number is by intelligent family to each household electrical appliances for PLC controller Occupying system needs the output of the electric appliance quantity and PLC controller that control to count to determine) it is controlled, to realize to illuminating, The control of the household electrical appliances such as air-conditioning, antitheft, household electrical appliances, CO security protections, smog security protection, curtain;In addition, the control device can also be by wireless The mode of control is monitored household electrical appliances, and PLC controller carries out data interaction, mobile terminal by wireless network and mobile terminal Wireless control directives are sent in PLC controller, the working condition of household electrical appliances is controlled by PLC controller, it is mobile whole End is mobile phone, tablet etc..
In the present embodiment, the PLC controller uses the PLC controller of model EC2N-48MR.
In the present embodiment, as shown in Fig. 2, the quantity of the touch screen panel is more than one;The PLC controller packet Include more than one RS485 communication interfaces;In the PLC controller ports A, the ports B of each RS485 communication interfaces respectively with The ports A of the RS485 communication interfaces of each touch screen panel, the ports B of the RS485 communication interfaces of each touch screen panel are connected;Institute State the ports A, the ports B of each RS485 communication interfaces in PLC controller respectively with the RS485 communication interfaces of infrared forwarding module The ports A, infrared forwarding module RS485 communication interfaces the ports B be connected;Each touch screen panel and infrared forwarding module In the ports A of RS485 communication interfaces be connected with each other, each touch screen panel and infrared forwarding mould RS485 in the block are communicated The ports B of interface are connected with each other;Each touch screen panel, infrared forwarding module the ports GND with the cathode of power module It is connected, the cathode of the power module is also connected with the COM input terminals of the PLC controller, the touch screen panel, infrared turn The 24V power inputs of hair module and PLC controller are connected with the positive terminal of power module.
In the present embodiment, particularly, PLC controller has 2 RS485 communication interfaces, the PLC controls under normal conditions Using five class double shields, 8 core cable is surpassed between the RS485 communication interfaces and touch screen panel of device processed, wherein 4 are respectively power cord Positive and negative electrode and RS485 communication interfaces, the ports A, the ports B, in addition 4 it is spare.
In the present embodiment, preferably, the quantity for the household electrical appliances that the quantity of the touch screen panel is controlled as needed It determines, the PLC controller can connect more than one touch screen panel.
In the present embodiment, the photosensitive sensor, temperature sensor, CO detection sensors, Smoke Detection sensor are equal For three-wire system sensor, the door status sensor, curtain detection sensor are two-wire system sensor;The sensor assembly is also Including starting switch and shutdown switch, one end of the starting switch, one end of shutdown switch and each two-wire system sensor Signal output end is connected with the input terminal of the PLC controller, the other end of the starting switch, the other end of shutdown switch And the ends GND of the sensor of each two-wire system are connected with the ends COM of the PLC controller;The sensor of each three-wire system Signal output end is connected with the input terminal of the PLC controller, the ends GND of the sensor of three-wire system with the COM of PLC controller End is connected, and the power end of the sensor of three-wire system is connected with the 24V power inputs of the PLC controller.
In the present embodiment, as shown in figure 3, an input terminal of the headlamp, air-conditioning an input terminal and institute State PLC controller output end be connected, another input terminal of the headlamp, the other end of air-conditioning with 220V alternating currents The zero line in source is connected, and the ends COM2 of PLC controller are connected with the zero line side of 220V AC powers;The lock for theft-proof door, Output end of one input terminal of CO safety devices, smog security protection device and curtain control device with the PLC controller Be connected, lock for theft-proof door, CO safety devices, smog security protection device and curtain control device other end with power supply mould The positive terminal of block is connected, and the ends COM5 of the PLC controller are connected with the negative pole end of power module.
In the present embodiment, there is RS485 communications to connect for the model USR-W600 of the WIFI module, the WIFI module Mouthful, and support ap mode, STA mode and AP+STA patterns;The power module uses the 24V of model NES-100-24 Switching Power Supply.
In the present embodiment, the touch screen panel uses 3.5 cun of touch screens of model MT6037H, the touch screen panel Plate has RS485 communication interfaces, and supports MODBUS transport protocols, for passing the control instruction got by MODBUS Defeated agreement is transmitted in the PLC controller.
In the present embodiment, the infrared forwarding module uses serial ports learning type infrared remote-controller controller ER-IR-M01, The infrared forwarding module passes through to the infrared control command signal for the IR remote controller for learning household electrical appliances after learning success MODBUS transport protocols communicate the site address of infrared forwarding module with PLC controller and are sent to PLC controls by key address Device, while PLC controller sends instruction control infrared forwarding module, infrared forwarding mould according to the input signal of touch screen panel Root tuber is remotely controlled control according to the control instruction of reception to household electrical appliances.
In the present embodiment, a kind of control method of the intelligent home control device based on PLC, specifically includes following step Suddenly:
Step S1:Sensor die each sensor in the block acquires Various types of data and is transmitted to the PLC controls in real time In device processed;
Step S2:The infrared forwarding module learns the infrared control command signal of the remote controler of household electrical appliances in advance, infrared turn Communicated by MODBUS transport protocols and PLC controller after sending out module learning success and the site address of infrared forwarding module and It is sent to PLC controller by key address, while it is red to send instruction control according to the input signal of touch screen panel for PLC controller Outer forwarding module, infrared forwarding module are remotely controlled control according to the control instruction of reception to household electrical appliances;
Step S3:The PLC controller according to the input signal of touch screen panel, sensor assembly, infrared forwarding module, Each household electrical appliances of output end connection are controlled;Meanwhile the PLC controller also passes through wireless network and shifting through WIFI module Dynamic terminal carries out data interaction, and wireless control directives are sent in the PLC controller by the mobile terminal, by described PLC controller controls the working condition of household electrical appliances.
In the present embodiment, in the control method, PLC controller in control device using wired communication mode with it is wireless Communication mode controls the working condition of household electrical appliances;Wherein, the wired communication mode is specially:The PLC controller is made For main website, for the touch screen panel with infrared forwarding module as slave station, sensor die each sensor in the block is real-time Acquisition Various types of data is simultaneously transmitted in the PLC controller;The infrared forwarding module learns the red of the remote controler of household electrical appliances in advance Outer control command signal, by MODBUS transport protocols and PLC controller communication and red after infrared forwarding module learning success The site address of outer forwarding module and it is sent to PLC controller by key address, while PLC controller is according to the defeated of touch screen panel Enter signal, send instruction control infrared forwarding module, infrared forwarding module is remotely controlled household electrical appliances according to the control instruction of reception Control, the PLC controller connect output end according to the input signal of touch screen panel, sensor assembly, infrared forwarding module The each household electrical appliances connect are controlled;The communication is specially:The PLC controller is through the WIFI module and service Device communication is connected, and the server is connected with communication of mobile terminal, and the PLC controller is whole by wireless network and the movement End carries out data interaction, and wireless control directives are sent in the PLC controller, are controlled by the PLC by the mobile terminal Device processed controls the working condition of household electrical appliances.
In the present embodiment, the intelligent home control device be with PLC controller, touch screen panel, infrared forwarding module, WIFI module etc. is as platform development, and PLC controller has better stability and anti-interference ability, therefore the device has Open and reliable sexual clorminance;Control device does main station controller, touch screen panel when using wired control mode by PLC Slave station is done with infrared forwarding module, PLC controller can carry out information exchange with multiple slave stations by MODBUS agreements, increase The scalability of system is added, and touch screen panel substitutes traditional switch, there is interconnection mutual control function, i.e. any one control Panel can control any one electric appliance, can increase the convenience of user's manipulation;In addition, when using wireless control mode, PLC controls can be connected by WIFI module with mobile terminal, realize the remote monitoring function of control device so that device has Good stability.
The foregoing is merely presently preferred embodiments of the present invention, all equivalent changes done according to scope of the present invention patent with Modification should all belong to the covering scope of the present invention.

Claims (10)

1. a kind of intelligent home control device based on PLC, it is characterised in that:Including PLC controller, touch screen panel, sensing Device module, WIFI module, infrared forwarding module and with above-mentioned each module be electrical connected to the power module powered;
The output end of the sensor assembly is connected with the input terminal of the PLC controller, extremely to the data transmission that will detect It is handled in PLC controller;The output end of the touch screen panel is connected with the input terminal of the PLC controller, to incite somebody to action Control instruction is transmitted in PLC controller;The infrared forwarding module is connected with the communication of the IR remote controller of household electrical appliances, to learn The infrared control instruction that IR remote controller is sent out, the input terminal of the output end and the PLC controller of the infrared forwarding module It is connected, to be communicated and according to the instruction of PLC controller come remote controlled electrical household appliances with PLC controller;Described in the PLC controller warp WIFI module is connected with server communication, and the server is connected with communication of mobile terminal, to make the PLC controller and institute It states mobile terminal and carries out data interaction;The output end of the PLC controller is electrical connected with more than one household electrical appliances, to basis The data received control the working condition of household electrical appliances with instruction.
2. a kind of intelligent home control device based on PLC according to claim 1, it is characterised in that:The sensor Module includes photosensitive sensor, temperature sensor, door status sensor, CO detection sensors, Smoke Detection sensor and curtain Detection sensor;The household electrical appliances include headlamp, air-conditioning, lock for theft-proof door, CO safety devices, smog security protection device and window Curtain control device.
3. a kind of intelligent home control device based on PLC according to claim 1, it is characterised in that:The PLC controls Device uses the PLC controller of model EC2N-48MR.
4. a kind of intelligent home control device based on PLC according to claim 1, it is characterised in that:The touch screen The quantity of panel is more than one;The PLC controller includes more than one RS485 communication interfaces;In the PLC controller The ports A, the ports B of each RS485 communication interfaces are touched with the ports A of the RS485 communication interfaces of each touch screen panel, respectively respectively The ports B of the RS485 communication interfaces of panel plate are connected;The ports A, the ends B of each RS485 communication interfaces in the PLC controller Mouth respectively with the ports A of the RS485 communication interfaces of infrared forwarding module, the ports B of the RS485 communication interfaces of infrared forwarding module It is connected;The ports A of each touch screen panel and infrared forwarding mould RS485 communication interfaces in the block are connected with each other, described each tactile It touches panel plate and the ports B of infrared forwarding mould RS485 communication interfaces in the block is connected with each other;It is each touch screen panel, infrared The ports GND of forwarding module are connected with the cathode of power module, and the cathode of the power module is also defeated with the PLC controller The COM for entering end is connected, the 24V power inputs of each touch screen panel, infrared forwarding module and PLC controller with electricity The positive terminal of source module is connected.
5. a kind of intelligent home control device based on PLC according to claim 2, it is characterised in that:The photosensitive biography Sensor, temperature sensor, CO detection sensors, Smoke Detection sensor are three-wire system sensor, the door status sensor, window Curtain detection sensor is two-wire system sensor;The sensor assembly further includes starting switch and shutdown switch, the startup The signal output end of one end of switch, one end of shutdown switch and each two-wire system sensor is defeated with the PLC controller Enter end to be connected, the ends GND of the sensor of the other end of the starting switch, the other end of shutdown switch and each two-wire system with The ends COM of the PLC controller are connected;The input terminal of the signal output end of the sensor of each three-wire system and the PLC controller It is connected, the ends GND of the sensor of each three-wire system are connected with the ends COM of PLC controller, the power end of the sensor of each three-wire system It is connected with the 24V power inputs of the PLC controller.
6. a kind of intelligent home control device based on PLC according to claim 2, it is characterised in that:The headlamp An input terminal, air-conditioning an input terminal be connected with the output end of the PLC controller, the headlamp another Input terminal, air-conditioning other end be connected with the zero line of 220V AC powers, the ends COM2 of PLC controller are exchanged with 220V The zero line side of power supply is connected;The one of the lock for theft-proof door, CO safety devices, smog security protection device and curtain control device A input terminal is connected with the output end of the PLC controller, lock for theft-proof door, CO safety devices, smog security protection device with And the other end of curtain control device is connected with the positive terminal of power module, the ends COM5 of the PLC controller and power supply The negative pole end of module is connected.
7. a kind of intelligent home control device based on PLC according to claim 1, it is characterised in that:The WIFI moulds The model USR-W600 of block, which has RS485 communication interfaces, and supports ap mode, STA mode and AP+ STA mode;The power module uses the 24V Switching Power Supplies of model NES-100-24.
8. a kind of intelligent home control device based on PLC according to claim 1, it is characterised in that:The touch screen Panel uses 3.5 cun of touch screens of model MT6037H, which has RS485 communication interfaces, and supports MODBUS transport protocols, for the control instruction got to be transmitted to by MODBUS transport protocols in the PLC controller.
9. a kind of intelligent home control device based on PLC according to claim 1, it is characterised in that:Described infrared turn It sends out module and uses serial ports learning type infrared remote-controller controller ER-IR-M01, the infrared forwarding module is learning the red of household electrical appliances The infrared control command signal of outer remote controler passes through MODBUS transport protocols and PLC controller communication and handle after learning success The site address of infrared forwarding module and it is sent to PLC controller by key address, while PLC controller is according to touch screen panel Input signal, sends instruction control infrared forwarding module, and infrared forwarding module carries out household electrical appliances according to the control instruction of reception distant Control control.
10. a kind of control method of the intelligent home control device according to claim 1 based on PLC, it is characterised in that: Specifically include following steps:
Step S1:Sensor die each sensor in the block acquires Various types of data and is transmitted to the PLC controller in real time In;
Step S2:The infrared forwarding module learns the infrared control command signal of the remote controler of household electrical appliances, infrared forwarding mould in advance It is communicated and the site address and button of infrared forwarding module by MODBUS transport protocols and PLC controller after block learning success Address is sent to PLC controller, while PLC controller sends infrared turn of instruction control according to the input signal of touch screen panel Module is sent out, infrared forwarding module is remotely controlled control according to the control instruction of reception to household electrical appliances;
Step S3:The PLC controller is according to the input signal of touch screen panel, sensor assembly, infrared forwarding module, to defeated Each household electrical appliances of outlet connection are controlled;Meanwhile the PLC controller is also whole with movement by wireless network through WIFI module End carries out data interaction, and wireless control directives are sent in the PLC controller, are controlled by the PLC by the mobile terminal Device processed controls the working condition of household electrical appliances.
CN201810636586.9A 2018-06-20 2018-06-20 A kind of intelligent home control device and its control method based on PLC Pending CN108594780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810636586.9A CN108594780A (en) 2018-06-20 2018-06-20 A kind of intelligent home control device and its control method based on PLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810636586.9A CN108594780A (en) 2018-06-20 2018-06-20 A kind of intelligent home control device and its control method based on PLC

Publications (1)

Publication Number Publication Date
CN108594780A true CN108594780A (en) 2018-09-28

Family

ID=63628774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810636586.9A Pending CN108594780A (en) 2018-06-20 2018-06-20 A kind of intelligent home control device and its control method based on PLC

Country Status (1)

Country Link
CN (1) CN108594780A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110232811A (en) * 2019-07-04 2019-09-13 广东科徕尼智能科技有限公司 A kind of intelligence line traffic control panel and its control method
CN110533877A (en) * 2019-10-10 2019-12-03 厦门市超前智能化系统工程有限公司 A kind of smart home security system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855744A (en) * 2012-08-31 2013-01-02 林述颖 Infrared household appliance management system and method based on smartphone
CN102882775A (en) * 2012-09-26 2013-01-16 广东美的暖通设备有限公司 Touch screen air-conditioning gateway system
CN102938729A (en) * 2012-10-30 2013-02-20 鸿富锦精密工业(深圳)有限公司 Remote control method for intelligent gateway, intelligent home system and appliances
CN103345211A (en) * 2013-06-07 2013-10-09 中山菲柯特电子电器有限公司 Intelligent home control system and control method
CN103885432A (en) * 2014-04-02 2014-06-25 侯凤存 Intelligent home furnishing control system
CN104331041A (en) * 2014-10-16 2015-02-04 纳普(上海)软件有限公司 Intelligent home system structure and control method thereof
CN204389961U (en) * 2015-02-27 2015-06-10 晏文临 A kind of integrated monitoring socket and jack system
CN105353794A (en) * 2015-11-05 2016-02-24 上海应用技术学院 Embedded multifunctional temperature control system and control method
CN106020153A (en) * 2016-07-07 2016-10-12 福建船政交通职业学院 Remote home control system based on WIFI and infrared technology and method for realizing the same
CN205644085U (en) * 2016-05-16 2016-10-12 北京中电网信息技术有限公司 Internet monitored control system based on everything internet
CN206388045U (en) * 2017-01-23 2017-08-08 济南赛英立德电子科技有限公司 intelligent controller based on embedded system
CN208298008U (en) * 2018-06-20 2018-12-28 福建师范大学福清分校 A kind of intelligent home control device based on PLC

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855744A (en) * 2012-08-31 2013-01-02 林述颖 Infrared household appliance management system and method based on smartphone
CN102882775A (en) * 2012-09-26 2013-01-16 广东美的暖通设备有限公司 Touch screen air-conditioning gateway system
CN102938729A (en) * 2012-10-30 2013-02-20 鸿富锦精密工业(深圳)有限公司 Remote control method for intelligent gateway, intelligent home system and appliances
CN103345211A (en) * 2013-06-07 2013-10-09 中山菲柯特电子电器有限公司 Intelligent home control system and control method
CN103885432A (en) * 2014-04-02 2014-06-25 侯凤存 Intelligent home furnishing control system
CN104331041A (en) * 2014-10-16 2015-02-04 纳普(上海)软件有限公司 Intelligent home system structure and control method thereof
CN204389961U (en) * 2015-02-27 2015-06-10 晏文临 A kind of integrated monitoring socket and jack system
CN105353794A (en) * 2015-11-05 2016-02-24 上海应用技术学院 Embedded multifunctional temperature control system and control method
CN205644085U (en) * 2016-05-16 2016-10-12 北京中电网信息技术有限公司 Internet monitored control system based on everything internet
CN106020153A (en) * 2016-07-07 2016-10-12 福建船政交通职业学院 Remote home control system based on WIFI and infrared technology and method for realizing the same
CN206388045U (en) * 2017-01-23 2017-08-08 济南赛英立德电子科技有限公司 intelligent controller based on embedded system
CN208298008U (en) * 2018-06-20 2018-12-28 福建师范大学福清分校 A kind of intelligent home control device based on PLC

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110232811A (en) * 2019-07-04 2019-09-13 广东科徕尼智能科技有限公司 A kind of intelligence line traffic control panel and its control method
CN110533877A (en) * 2019-10-10 2019-12-03 厦门市超前智能化系统工程有限公司 A kind of smart home security system

Similar Documents

Publication Publication Date Title
CN208298008U (en) A kind of intelligent home control device based on PLC
CN102164065B (en) Electric link bus system
CN103217963A (en) General intelligent housing system
CN205103641U (en) Smart home systems based on MSP430 singlechip
CN203054541U (en) Household appliance control system
CN107995073A (en) A kind of apparatus and method for controlling smart home device
CN102088380A (en) Intelligent multi-robot network system taking household service robot as core
CN204440151U (en) A kind of intelligent home control device
CN104460625A (en) Intelligent home switching system based on wireless network
CN105465954A (en) Central air-conditioning ad-hoc network control system based on Zigbee modules and wifi module
CN203573142U (en) Intelligent home system based on Internet of things
KR101738784B1 (en) Intelligent integrated switch coupled wireless network function for constructing IoT environment and control method using the same
CN105204358A (en) Smart home electric energy online management device based on remote communication of CDMA network
CN108594780A (en) A kind of intelligent home control device and its control method based on PLC
CN104216309B (en) A kind of devices and methods therefor with intelligent standby power on/off function
CN203275958U (en) Wiring intelligent home integrated control device control device based on cloud service platform
CN208589996U (en) Intelligent home control system based on radio network technique
CN207908884U (en) Intelligent domestic control device with power-off protection function
CN203661358U (en) DALI intelligent electrical-appliance control system based on wireless sensing technology
CN107621785A (en) Based on wireless fully-automatic intelligent house system
CN106681159A (en) Smart home system based on ZigBee
CN110955155A (en) Intelligent household wireless network communication equipment
CN205620790U (en) Intelligence dormitory weak current control system
CN105116778A (en) Dry contact conversion module and control system and method therefor
CN205264961U (en) Smart jack based on zigbee technique

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination