CN105223820B - A kind of multifunctional intellectual house control system - Google Patents

A kind of multifunctional intellectual house control system Download PDF

Info

Publication number
CN105223820B
CN105223820B CN201510608352.XA CN201510608352A CN105223820B CN 105223820 B CN105223820 B CN 105223820B CN 201510608352 A CN201510608352 A CN 201510608352A CN 105223820 B CN105223820 B CN 105223820B
Authority
CN
China
Prior art keywords
module
infrared
zigbee
client
control box
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.)
Active
Application number
CN201510608352.XA
Other languages
Chinese (zh)
Other versions
CN105223820A (en
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.)
South China Normal University
Shenzhen Guohua Optoelectronics Co Ltd
Academy of Shenzhen Guohua Optoelectronics
Original Assignee
South China Normal University
Shenzhen Guohua Optoelectronics Co Ltd
Academy of Shenzhen Guohua Optoelectronics
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 South China Normal University, Shenzhen Guohua Optoelectronics Co Ltd, Academy of Shenzhen Guohua Optoelectronics filed Critical South China Normal University
Priority to CN201510608352.XA priority Critical patent/CN105223820B/en
Publication of CN105223820A publication Critical patent/CN105223820A/en
Application granted granted Critical
Publication of CN105223820B publication Critical patent/CN105223820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The invention discloses a kind of multifunctional intellectual house control system, including:Client, remote server, intelligent gateway control box, infrared electrical nodes and controllable color change light node, client by with remote server and then with intelligent gateway control box wireless connection, the client is also connected by local area network with intelligent gateway control box, and intelligent gateway control box is connected with infrared electrical nodes and controllable color change light node respectively by way of Zigbee radio communications.The present invention is integrated with the intelligent gateway control box with learning functionality, more convenient;Provided with remote server, remote wireless control can be carried out to household electrical appliance and illuminator, it is very convenient;Provided with controllable color change light node, intelligent control can be carried out to Color-changing lamp by unified Zigbee communication interface and PWM drive waveforms, it is more flexibly and diversified.It the composite can be widely applied to field of intelligent control.

Description

A kind of multifunctional intellectual house control system
Technical field
The present invention relates to field of intelligent control, especially a kind of multifunctional intellectual house control system.
Background technology
In the current electrified and information-based epoch, household electrical appliance have widely come into the life of people, into For indispensable part in people's daily life, brought great convenience for the life of people.
With the development of household electric appliances, the control mode of household electrical appliance and illuminator by original simple switch control by Walk to the higher intelligent control method transition of controllability, such as worked by infrared radio frequency come remote control electrical appliance, or pass through acoustic control Sensor controls the switch of electric light.But there are still following defect or deficiency for these intelligent control methods:(1)Various household electrics Device and illuminator still need to use respective remote control, are stored inconveniently and use;(2)The manipulation of remote control apart from limited, It is difficult to remote wireless control;(3)Communication interface and instruction format disunity, it is difficult to need to convert whenever and wherever possible by user The chroma-luminance of illuminator, time switch etc., underaction and variation.
The content of the invention
In order to solve the above-mentioned technical problem, the purpose of the present invention is:A kind of convenient, flexible and diversified, more work(are provided Can intelligent home control system.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of multifunctional intellectual house control system, including:
Client, for sending the control data of user, and receive and store the data of intelligent gateway control box feedback;
Remote server, interacted for carrying out long-distance radio communication with client, and transmit control data to intelligent network Close control box;
Intelligent gateway control box, collection WIFI route technologies, serial port communication technology, the I2C communication technologys, Zigbee communication skill Art, infrared learning and infrared forwarding technology in one, for according to the control data of reception generate infrared remote instruction data or PWM drive waveforms, and generation infrared remote instruction data or PWM drive waveforms are sent by way of Zigbee radio communications To infrared electrical nodes or controllable color change light node;
Infrared electrical nodes, for infrared remote instruction data to be sent into corresponding household electric in the form of infrared radio frequency Device, to be controlled to household electrical appliance;
Controllable color change light node, for carrying out intelligent control to Color-changing lamp according to PWM drive waveforms;
The client with remote server and then with intelligent gateway control box wireless connection, the client by also leading to Cross local area network to be connected with intelligent gateway control box, the intelligent gateway control box is divided by way of Zigbee radio communications It is not connected with infrared electrical nodes and controllable color change light node.
Further, the remote server is cloud server, and the cloud server includes:
Communications Processor Module, decrypt according to being encrypted for paired domination number and carried out according to communication protocol at coding and decoding Reason;
Recording equipment module, for will initiate the implementor name of connection request and receive IP address and the end of control data Slogan corresponding record is to database;
Remote control module, for according to IP address and end of the control data received in data base querying to corresponding device Slogan, then control data is dealt into the IP inquired and port;
Pushing module is broadcasted, corresponding to the data to be fed back inquire in database according to intelligent gateway control box Client ip address and port, then the data of feedback are returned to IP and the port of client;
The Communications Processor Module, recording equipment module, remote control module and broadcast pushing module are connected in parallel to visitor Between family end and intelligent gateway control box.
Further, the intelligent gateway control box includes:
WIFI module, for being connected by way of being communicated WIFI with user client communication;
RJ45 interfaces, for being connected by LAN or wide area network with user client communication;
Infrared learning module, for parsing the code value of infrared remote instruction from the control data of reception, and will parsing The code value gone out is sent to the storage of the first Zigbee module;
Infrared transmission module, for the infrared remote instruction code value of storage to be launched;
First Zigbee module, for generating PWM drive waveforms according to the control data of reception, and by infrared remote instruction Code value or PWM drive waveforms infrared electrical nodes or controllable color change Lantern Festival are sent to by way of Zigbee radio communications Point;
The client is connected by way of WIFI communications or RJ45 interface communications with WIFI module, and described first Zigbee module is connected by way of UART serial communications with WIFI module, and first Zigbee module passes through I2C buses The mode of communication is connected with infrared learning module and infrared transmission module respectively, and first Zigbee module also passes through Zigbee The mode of radio communication is connected with infrared electrical nodes and controllable color change light node respectively.
Further, the infrared electrical nodes include the second Zigbee module and for the code value of infrared remote instruction to be turned The infrared forwarding module of corresponding household electrical appliance is issued, the controllable color change light node includes the 3rd Zigbee module and intelligence is controllable Color-changing lamp, second Zigbee module and the 3rd Zigbee module are by way of Zigbee radio communications with first Zigbee module is connected, and second Zigbee module is connected by way of UART serial communications with infrared forwarding module, institute The output end for stating the 3rd Zigbee module is connected with the input of intelligent controllable variable color lamp.
Further, first Zigbee module, the second Zigbee module and the 3rd Zigbee module use CC2530 Chip.
Further, the intelligent gateway control box includes:
Network insertion chip, single-chip microprocessor MCU is sent for accessing network, and by control data;
Single-chip microprocessor MCU, handled for the control data according to reception, generate infrared remote instruction data or PWM drives Dynamic waveform;
Wireless main controller, for generation infrared remote instruction data or PWM drive waveforms to be passed through into Zigbee channel radios The mode of letter is sent to infrared electrical nodes or controllable color change light node;
The network insertion chip is connected with client, the network insertion chip by single-chip microprocessor MCU and then with it is wireless Master controller connects, the wireless main controller by way of Zigbee radio communications respectively with infrared electrical nodes and controllable The light node that changes colour connection.
Further, the network insertion chip uses DM9000 network chips, and the single-chip microprocessor MCU uses STM32 chips; The wireless main controller is made up of CC2530 chips and peripheral circuit, and the peripheral circuit is by external clock reference, electrification reset Circuit, pwm signal output end and RFX2041C RF transceivers composition.
Further, the controllable color change light node include AC-DC power module, lowering and stabilizing blood pressure module, radio node MCU, DC-DC constant currents conversion module and LED, the first output end of the AC-DC power module pass sequentially through lowering and stabilizing blood pressure module, nothing Line node M CU and then it is connected with the first input end of DC-DC constant current conversion modules, the second output of the AC-DC power module End is connected with the second input of DC-DC constant current conversion modules, the output end of the DC-DC constant currents conversion module and LED Input is connected, and the radio node MCU is also connected with intelligent gateway control box.
Further, the AC-DC power module uses FT838D switching power source chips, the DC-DC constant currents conversion module Using PAM2861 chips, the radio node MCU uses CC2530 chips.
Further, the infrared electrical nodes are also associated with for controlling the infrared radio of infrared household electrical appliance to control electricity Road, the infrared radio control circuit is by infrared receiving terminal, controller, relay, the first power supply circuit interface and the second power supply Circuit interface is formed, and the infrared receiving terminal is connected by way of infrared radio with infrared electrical nodes, the infrared receiver Head is connected by controller with relay, and the relay also connects with the first power supply circuit interface and the second power supply circuit respectively Mouth connection.
The beneficial effects of the invention are as follows:The intelligent gateway control box with learning functionality is integrated with, household electric can be learnt The function of device and all remote controls of illuminator, possibility is brought for household electrical appliance and being uniformly controlled for illuminator, be advantageous into Row storage and use, it is more convenient;Provided with remote server, long distance wireless control can be carried out to household electrical appliance and illuminator System, it is very convenient;, can be by unified Zigbee communication interface and PWM drive waveforms to discoloration provided with controllable color change light node Lamp carries out intelligent control, facilitates user to convert chroma-luminance, time switch of illuminator etc. whenever and wherever possible as needed, more It is flexibly and diversified.Further, intelligent gateway control box is integrated with WIFI module and CC2530 chips, WIFI module and CC2530 Chip directly by UART serial communications, simplifies data transmission and processing, and itself can realize router feature, it is not necessary to extra only Vertical router, more efficient and cost are relatively low.
Brief description of the drawings
The invention will be further described with reference to the accompanying drawings and examples.
Fig. 1 is a kind of overall structure figure of multifunctional intellectual house control system of the present invention;
Fig. 2 is the structured flowchart of cloud server of the present invention;
Fig. 3 is the structured flowchart of intelligent gateway control box of the present invention, infrared electrical nodes and controllable color change light node;
Fig. 4 is a kind of structured flowchart of intelligent gateway control box of the present invention;
Fig. 5 is the circuit theory diagrams of wireless main controller of the present invention;
Fig. 6 is the concrete structure diagram of controllable color change light node of the present invention;
Fig. 7 is the circuit theory diagrams of infrared radio control circuit of the present invention;
Fig. 8 is the global design block diagram of the intelligent domestic system of the embodiment of the present invention one;
Fig. 9 is the particular flow sheet that one infrared electrical nodes of the embodiment of the present invention learn forwarding;
Figure 10 is the concrete function implementation process figure of the intelligent controllable color change light node of the embodiment of the present invention one;
Figure 11 is the global design block diagram of the cloud server of the embodiment of the present invention two.
Embodiment
Reference picture 1, a kind of multifunctional intellectual house control system, including:
Client, for sending the control data of user, and receive and store the data of intelligent gateway control box feedback;
Remote server, interacted for carrying out long-distance radio communication with client, and transmit control data to intelligent network Close control box;
Intelligent gateway control box, collection WIFI route technologies, serial port communication technology, the I2C communication technologys, Zigbee communication skill Art, infrared learning and infrared forwarding technology in one, for according to the control data of reception generate infrared remote instruction data or PWM drive waveforms, and generation infrared remote instruction data or PWM drive waveforms are sent by way of Zigbee radio communications To infrared electrical nodes or controllable color change light node;
Infrared electrical nodes, for infrared remote instruction data to be sent into corresponding household electric in the form of infrared radio frequency Device, to be controlled to household electrical appliance;
Controllable color change light node, for carrying out intelligent control to Color-changing lamp according to PWM drive waveforms;
The client with remote server and then with intelligent gateway control box wireless connection, the client by also leading to Cross local area network to be connected with intelligent gateway control box, the intelligent gateway control box is divided by way of Zigbee radio communications It is not connected with infrared electrical nodes and controllable color change light node.
Reference picture 2, is further used as preferred embodiment, and the remote server is cloud server, the high in the clouds Server includes:
Communications Processor Module, decrypt according to being encrypted for paired domination number and carried out according to communication protocol at coding and decoding Reason;
Recording equipment module, for will initiate the implementor name of connection request and receive IP address and the end of control data Slogan corresponding record is to database;
Remote control module, for according to IP address and end of the control data received in data base querying to corresponding device Slogan, then control data is dealt into the IP inquired and port;
Pushing module is broadcasted, corresponding to the data to be fed back inquire in database according to intelligent gateway control box Client ip address and port, then the data of feedback are returned to IP and the port of client;
The Communications Processor Module, recording equipment module, remote control module and broadcast pushing module are connected in parallel to visitor Between family end and intelligent gateway control box.
Reference picture 3, is further used as preferred embodiment, and the intelligent gateway control box includes:
WIFI module, for being connected by way of being communicated WIFI with user client communication;
RJ45 interfaces, for being connected by LAN or wide area network with user client communication;
Infrared learning module, for parsing the code value of infrared remote instruction from the control data of reception, and will parsing The code value gone out is sent to the storage of the first Zigbee module;
Infrared transmission module, for the infrared remote instruction code value of storage to be launched;
First Zigbee module, for generating PWM drive waveforms according to the control data of reception, and by infrared remote instruction Code value or PWM drive waveforms infrared electrical nodes or controllable color change Lantern Festival are sent to by way of Zigbee radio communications Point;
The client is connected by way of WIFI communications or RJ45 interface communications with WIFI module, and described first Zigbee module is connected by way of UART serial communications with WIFI module, and first Zigbee module passes through I2C buses The mode of communication is connected with infrared learning module and infrared transmission module respectively, and first Zigbee module also passes through Zigbee The mode of radio communication is connected with infrared electrical nodes and controllable color change light node respectively.
Reference picture 3, is further used as preferred embodiment, the infrared electrical nodes include the second Zigbee module and For the code value of infrared remote instruction to be transmitted to the infrared forwarding module of corresponding household electrical appliance, the controllable color change light node bag The 3rd Zigbee module and intelligent controllable variable color lamp are included, second Zigbee module and the 3rd Zigbee module pass through The mode of Zigbee radio communications is connected with the first Zigbee module, and second Zigbee module passes through UART serial communications Mode is connected with infrared forwarding module, and the output end of the 3rd Zigbee module connects with the input of intelligent controllable variable color lamp Connect.
It is further used as preferred embodiment, first Zigbee module, the second Zigbee module and the 3rd Zigbee module uses CC2530 chips.
Reference picture 4, is further used as preferred embodiment, and the intelligent gateway control box includes:
Network insertion chip, single-chip microprocessor MCU is sent for accessing network, and by control data;
Single-chip microprocessor MCU, handled for the control data according to reception, generate infrared remote instruction data or PWM drives Dynamic waveform;
Wireless main controller, for generation infrared remote instruction data or PWM drive waveforms to be passed through into Zigbee channel radios The mode of letter is sent to infrared electrical nodes or controllable color change light node;
The network insertion chip is connected with client, the network insertion chip by single-chip microprocessor MCU and then with it is wireless Master controller connects, the wireless main controller by way of Zigbee radio communications respectively with infrared electrical nodes and controllable The light node that changes colour connection.
Reference picture 5, preferred embodiment being further used as, the network insertion chip uses DM9000 network chips, The single-chip microprocessor MCU uses STM32 chips;The wireless main controller is made up of CC2530 chips and peripheral circuit, described outer Circuit is enclosed to be made up of external clock reference, electrification reset circuit, pwm signal output end and RFX2041C RF transceivers.
Reference picture 6, is further used as preferred embodiment, the controllable color change light node include AC-DC power module, Lowering and stabilizing blood pressure module, radio node MCU, DC-DC constant current conversion module and LED, the first output of the AC-DC power module End passes sequentially through lowering and stabilizing blood pressure module, radio node MCU and then is connected with the first input end of DC-DC constant current conversion modules, institute The second output end for stating AC-DC power module is connected with the second input of DC-DC constant current conversion modules, the DC-DC constant currents The output end of conversion module and the input of LED are connected, and the radio node MCU is also connected with intelligent gateway control box.
Preferred embodiment is further used as, the AC-DC power module uses FT838D switching power source chips, described DC-DC constant currents conversion module uses PAM2861 chips, and the radio node MCU uses CC2530 chips.
Reference picture 7, is further used as preferred embodiment, and the infrared electrical nodes are also associated with infrared for controlling The infrared radio control circuit of household electrical appliance, the infrared radio control circuit is by infrared receiving terminal, controller, relay, One power supply circuit interface and the second power supply circuit interface composition, the infrared receiving terminal by way of infrared radio with infrared family Electrical nodes are connected, and the infrared receiving terminal is connected by controller with relay, and the relay is also powered with first respectively Circuit interface and the connection of the second power supply circuit interface.
The present invention is described in further detail with reference to Figure of description and specific embodiment.
Embodiment one
The multifunctional intellectual house control system of the present invention mainly realizes the work of Local or Remote remote controlled electrical household appliances and intelligence The function of illumination, as shown in figure 8, the system mainly includes client, intelligent gateway control box and intelligent node this three parts, This three parts is introduced one by one below.
(1)Client
Client is to be mounted with the mobile devices such as mobile phone and the flat board of the system APP applications, or is visited by internet Ask other networked devices or program of the system(As used EXE client-side program on computer), or send out in the form of a web page Play the remote server of the upper system of request connection(The intelligent gateway control box that the remote server is established during TCP connections are got home enters Row communication, and send corresponding command remote control household electrical appliances and be operated).Wherein APP Mobile solutions and other client-side program can The remote server of login system after user account is inputted, also can directly carry out local area network connection.In client-side program The control interface of various infrared type household electrical appliance and illuminator is integrated with, can learn and preserve different domestic electrical equipment remote controllers to press The code value of key instruction, or self-defined multifunctional combination key, brand and the model that can also be directed to specific electrical equipment are first directly from service The instruction code storehouse of respective remote control is downloaded at device end, and the UI interfaces for entering back into this electrical equipment are clicked on virtual remote control and operated.Separately It is outer be directed to intelligent illuminating system, the face of the invention that portable lighter can also be entered by virtual remote control in the control interface of illuminator Discoloration changes control, brightness regulation and time switching operation, and can directly observe the feedback effects of operation.
(2)Intelligent gateway control box
Intelligent gateway control box collection WIFI route technologies, serial port communication technology, the I2C communication technologys, Zigbee communication technology, Infrared learning and retransmission technique can be connected in the control box of one, client by local area network or remote server with it Connect.The infrared remote instruction code value that infrared learning module learns can be fed back to client and be stored by the control box;It is and objective After family end sends manipulation instruction to intelligent gateway control box, intelligent gateway control box will be forwarded instructions to by ZigBee technology Existing intelligent node, to reach the effect of control household electrical appliances and intelligent lighting.
(3)Intelligent node
Intelligent node includes infrared forwarding node and controllable color change light node, CC2530 chips and intelligence on the two nodes Energy gateway control box is communicated by Zigbee protocol.As shown in figure 9, the CC2530 chips of infrared forwarding node receive director data Afterwards, it is transferred to infrared transponder through serial communication(It is made up of infrared learning module and infrared forwarding module), infrared transponder is again Infrared type household electrical appliance are issued into instruction in the form of infrared radio frequency, to be controlled to household electrical appliance.And controllable color change light node The data that receive of CC2530 chips be PWM drive waveforms data for RGB LEDs, the data are transmitted to accordingly through I/O port Drive module, and then drive RGB LEDs shown, as shown in Figure 10.Wherein, according to different PWM waveforms, in theory RGB LEDs can carry out colour switching, brightness regulation and the time switch of 16,000,000 colors according to drive waveforms data.
The present embodiment integrated router, infrared learning forwarding, Zigbee communication, distributed node, the controllable intelligence of intelligent color-changing Energy lamp technology realizes Local or Remote overall-in-one control schema infrared type household electrical appliances at any time, and intelligent power saving and personalization in one Illumination functions.
Embodiment two
The present embodiment illustrates to cloud server.
Cloud server is to client(Cell phone software or PC desktop programs)With the communication connection of intelligent gateway control box And the household remote control based on this connection is I/O intensive applications.The cloud server of the system is based on Apache Mina Network Communication Framework, the high scalability network I/O of the non-block type of multichannel is realized using Java NIO technologies, have performance it is high, can By autgmentability it is strong the advantages of, suitable for the application scenarios of thousands of family's high concurrent connection requests.
As shown in figure 11, cloud server system operation is carried out in public network with client and intelligent gateway control box Two-way communication, its functional module mainly include:
(1)Communications Processor Module:Coding and decoding processing is carried out including the encrypting and decrypting to data, according to communication protocol.Should Module can be further subdivided into:
A encrypting and decrypting units
Smart home is very high using the requirement to security, and the system of cloud server uses in communication process The Transport Layer Security SSL of TCP/IP security systems ensures communication security.The program of cloud server make use of Apache The SslFilter filters of Mina frameworks realize ssl protocol, first create and initialize SSLContext factory class, obtain SSLContext objects generate SslFilter filters, then are added in the filter chain of Apache Mina frameworks, I/O Data flow during the transmission of Apache Mina frame communications by that can be encrypted decryption.
B coding and decoding units
The system of cloud server is communicated using TCP, and its data received and dispatched is byte stream, customized communication protocols Heading shows the type of agreement in view, and data field includes the relevant informations such as instruction type, device id, control instruction.High in the clouds takes The system of business device uses the ProtoclCodecFilter filters in Apache Mina frameworks, according to custom protocol form Different data are taken into byte one by one, an array is then encapsulated into and is sent to specified IP and port, or from a byte Array takes out the data for being parsed into corresponding mark one by one, to complete the coding and decoding of data.
(2)Recording equipment module:Client and intelligent gateway initiate connection request to server, and server will receive data IP address and the corresponding implementor name for initiating request of port numbers recorded database.
When client or intelligent gateway control box initiate connection request to cloud server, in cloud server IOHandler will receive connection request data, and connection request data obtain request end after decrypting and decoding filter process Implementor name, IP address and port, then according to the obtained database of result queries cloud server and be updated storage.
(3)Remote control module:When client will be controlled to household electrical appliances, cloud server refers to according to the control received Instruction, in the IP address and port numbers of data base querying to corresponding device, is then dealt into accordingly by order according to the result of inquiry IP and port.
Client sends household appliance control instruction, and the IOHandler in cloud server receives control instruction data, data warp After crossing decryption and decoding filter process, the implementor name to be performed and specific operation are parsed, then this is found into database The newest IP address of equipment and port are simultaneously combined, and are then filtered again by ProtoclCodecFilter and SslFilter Device, the intelligent gateway control box remotely connected is sent to after being packaged into the packet encrypted, intelligent gateway control box will be received again The data arrived parse gives household electrical appliances node device through Zigbee or infrared forwarding.
(4)Broadcast pushing module:When intelligent gateway control box has message to feed back, server end is transmitted data to, is taken Business device forwards the data to the corresponding client ip address and port that inquiry obtains in database again.
The function of pushing module is broadcasted similar to the remote control module of client, only it is by intelligent gateway control box Message is sent out to client.The operation of main electrical nodes is finished or during stateful renewal, and intelligence is notified by Zigbee communication Can gateway control box, intelligent gateway control box issues cloud server after encapsulating data, cloud server is decrypted again, Client is fed back to after the sequence of operations such as decoding, coding, encryption.
Embodiment three
The present embodiment illustrates to the control process of controllable color change light node.
The intelligent gateway control box and controllable variable color lamp intra-node of the present invention is all integrated with CC2530 chips.Intelligent gateway The structure of control box has two kinds:The first is to use to carry WIFI module and the structure of RJ45 network interfaces, as shown in figure 3, now intelligence Energy gateway control box itself can be achieved with the function of router, it is not necessary to which external router, CC2530 chips are mainly used in realizing Zigbee communication;It is for second the structure for continuing to use the external router of tradition, mainly by network insertion chip, single-chip microprocessor MCU, wireless Master controller forms, as shown in figure 4, now need the external network insertion chip for serving as router, and single-chip microprocessor MCU and wireless The function of master controller is then realized by CC2530 chips.The present embodiment is using second of structure come to controllable color change light node Carry out Intelligent adjustment.Wherein, the network access facility of intelligent gateway control box(That is router)It is real using DM9000 network chips It is existing, after its DM9000 network chip gives network data to single-chip microprocessor MCU progress dissection process, then it is sent to and is used as by serial ports The wireless main controller of Zigbee is wireless telegon, meanwhile, wireless main controller by the feedback of the information of node to single-chip microprocessor MCU, Client is sent back to eventually through DM9000 network chips(Such as the APP ends of mobile phone)To show current state.
Corresponding with intelligent gateway control box, the controllable color change light node of the present embodiment includes AC-DC power module, decompression Voltage stabilizing module, radio node MCU, DC-DC constant current conversion module and LED, as shown in Figure 6.
The CC2530 chips of controllable color change light node(Equivalent to radio node MCU), can as route full-function device Automatic networking carries out two-way communication, but also as the route terminal of telecommunication, realizes the multi-hop transparent transmission of data.Such as Fig. 5 Shown, the peripheral circuit of CC2530 chips mainly includes external clock reference, electrification reset circuit, PWM output ends and radio frequency and received Send out device.RF transceiver employs RFX2401 chips to increase transmission power, improves wireless coverage.And intelligent gateway The CC2530 chips of control box export 4 tunnel PWM modulation signals, controlled respectively via P1_0, P1_2, P1_3, this four I/O ports of P0_6 The lamp bead of four kinds of colors of RGB LEDs processed.
The AC-DC power module of the present embodiment controllable color change light node employs the switch electricity that operating efficiency is high, low in energy consumption Source chip FT838D, it can be applied to 1W to 18W Power Management Design.The quality that electric capacity is chosen in Power Management Design uses the longevity to product Life influence is great, and the present embodiment chooses the electric capacity of ruby brand, and its loadlife is 5000 hours, by the calculating of power source life Formula:
Lx=Ld*(2^((Tc-Tx)/10 (1)
Wherein, Ld is the basic life-span (unit hour) of capacitor, and Tx is observed temperature, and Tc is operation temperature.Calculate Go out, when Tc=105 DEG C, Tx=60 DEG C, power source life is Lx=113137 hour, the long lifespan of power supply, improves the matter of product Measure reliability.
The DC-DC constant current conversion modules of the present embodiment controllable color change light node(That is the LED lamp bead of light node)Using constant current Drive scheme, it can not only realize that lamp bead long-time stable works, moreover it is possible to reach good illuminating effect.DC-DC constant currents convert Module uses PAM2861 chips, and the chip is the buck converter of a high efficiency, height output, and output current is up to 1A, its turn Efficiency high is changed up to 90%, and with the small advantage of chip volume.
Example IV
The present embodiment illustrates to the control process of infrared receiving/transmission node.
The intelligent gateway control box and infrared receiving/transmission node of the present invention is all integrated with infrared transceiver module, when intelligent gateway control When box processed receives household remote instruction(The code value of the remote controlled electrical household appliances included in instruction is obtained by learning remote control, or from correlation Extracted in the code storehouse that manufacturer provides, corresponding to the household electrical appliances of specific brand concrete model), household remote director data is passed through infrared Diode emitter hair is shot out, and household electrical appliances is performed corresponding operating after receiving ultra-red order.What infrared receiving/transmission node can control Household electrical appliances include TV, set top box, DVD, fan, air-conditioning etc..
For not possessing the traditional home appliance of Radio Control Function, can be realized by installing Zigbee module or infrared module additional Controlled in wireless.For example, traditional super bath water heater, electrically driven curtain, socket etc., are not possess function of wireless remote control, and this is System can pass through Zigbee module(Mainly CC2530 chips)And infrared transceiver module(Head and red is mainly received by HEG838-09 Outer diode composition)The transmitting-receiving of wireless data, the electrical equipment for having installed wireless module additional is set to perform corresponding operating according to the data received.
If intelligent node uses Zigbee wireless solutions, customized data are transmitted by CC2530 chips(As PWM drives Wave data)To realize the intelligent control of light, or CC2530 chips are attached in the electrical equipment such as electric cooker, micro-wave oven and realized More complicated Radio Control Function.
If infrared receiving/transmission node uses simple electric appliance wireless switching manipulation, the infrared radio control shown in Fig. 7 can be used Circuit processed.Intelligent gateway control box after infrared diode is launched, is passed through the data of controlling switch by control circuit HEG838-09 receives head and received, and is then closed or broken according to data control relay K1 by SN25011 singlechip chips again Open.Wherein, J1, J2 are the power supply circuit interface of electrical equipment, and electrical equipment is started working when K1 is closed, and electrical equipment is stopped when K1 disconnects.
Controller together as one of the invention by a variety of infrared type household electrical appliances, the infrared node for playing control action can flexible distributed In each room, while networked devices can need to only be used by the self-defined control illuminator of controllable light node, user(Such as mobile phone or Computer)Locally or remotely operating, required control instruction is sent by network, just can be whenever and wherever possible by household electrical appliance and photograph Bright system is controlled in hand.
Above is the preferable implementation to the present invention is illustrated, but the invention is not limited to the implementation Example, those skilled in the art can also make a variety of equivalent variations on the premise of without prejudice to spirit of the invention or replace Change, these equivalent deformations or replacement are all contained in the application claim limited range.

Claims (7)

  1. A kind of 1. multifunctional intellectual house control system, it is characterised in that:Including:
    Client, for sending the control data of user, and receive and store the data of intelligent gateway control box feedback;
    Remote server, interacted for carrying out long-distance radio communication with client, and transmit control data to intelligent gateway control Box processed;
    Intelligent gateway control box, it is collection WIFI route technologies, serial port communication technology, the I2C communication technologys, Zigbee communication technology, red Outer study and infrared forwarding technology are in one, for generating infrared remote instruction data or PWM drives according to the control data of reception Dynamic waveform, and will generation infrared remote instruction data or PWM drive waveforms be sent to by way of Zigbee radio communications it is red Outer electrical nodes or controllable color change light node;
    Infrared electrical nodes, for infrared remote instruction data to be sent into corresponding household electrical appliance in the form of infrared radio frequency, To be controlled to household electrical appliance;
    Controllable color change light node, for carrying out intelligent control to Color-changing lamp according to PWM drive waveforms;
    The client and then with intelligent gateway control box wireless connection, the client with remote server by also passing through this Ground LAN is connected with intelligent gateway control box, the intelligent gateway control box by way of Zigbee radio communications respectively with Infrared electrical nodes and the connection of controllable color change light node;
    The intelligent gateway control box includes:
    WIFI module, for being connected by way of being communicated WIFI with user client communication;
    RJ45 interfaces, for being connected by LAN or wide area network with user client communication;
    Infrared learning module, for parsing the code value of infrared remote instruction from the control data of reception, and it will parse Code value is sent to the storage of the first Zigbee module;
    Infrared transmission module, for the infrared remote instruction code value of storage to be launched;
    First Zigbee module, for generating PWM drive waveforms according to the control data of reception, and by the code of infrared remote instruction Value or PWM drive waveforms are sent to infrared electrical nodes or controllable color change light node by way of Zigbee radio communications;
    The client is connected by way of WIFI communications or RJ45 interface communications with WIFI module, the first Zigbee moulds Block is connected by way of UART serial communications with WIFI module, the side that first Zigbee module passes through I2C bus communications Formula is connected with infrared learning module and infrared transmission module respectively, and first Zigbee module also passes through Zigbee radio communications Mode be connected respectively with infrared electrical nodes and controllable color change light node;
    The infrared electrical nodes include the second Zigbee module and for the code value of infrared remote instruction to be transmitted into corresponding family The infrared forwarding module of electrical appliance, the controllable color change light node include the 3rd Zigbee module and intelligent controllable variable color lamp, institute The second Zigbee module and the 3rd Zigbee module is stated by way of Zigbee radio communications with the first Zigbee module to connect Connect, second Zigbee module is connected by way of UART serial communications with infrared forwarding module, the 3rd Zigbee The output end of module is connected with the input of intelligent controllable variable color lamp;
    First Zigbee module, the second Zigbee module and the 3rd Zigbee module use CC2530 chips.
  2. A kind of 2. multifunctional intellectual house control system according to claim 1, it is characterised in that:The remote server For cloud server, the cloud server includes:
    Communications Processor Module, decryption is encrypted for paired domination number evidence and coding and decoding processing is carried out according to communication protocol;
    Recording equipment module, for will initiate the implementor name of connection request and receive the IP address and port numbers of control data Corresponding record is to database;
    Remote control module, for according to IP address and port of the control data received in data base querying to corresponding device Number, then control data is dealt into the IP inquired and port;
    Pushing module is broadcasted, corresponding client is inquired in database for the data to be fed back according to intelligent gateway control box IP address and port are held, then the data of feedback are returned to IP and the port of client;
    The Communications Processor Module, recording equipment module, remote control module and broadcast pushing module are connected in parallel to client Between intelligent gateway control box.
  3. A kind of 3. multifunctional intellectual house control system according to claim 1, it is characterised in that:The intelligent gateway control Box processed includes:
    Network insertion chip, single-chip microprocessor MCU is sent for accessing network, and by control data;
    Single-chip microprocessor MCU, handled for the control data according to reception, generate infrared remote instruction data or PWM driving ripples Shape;
    Wireless main controller, for generation infrared remote instruction data or PWM drive waveforms to be passed through into Zigbee radio communications Mode is sent to infrared electrical nodes or controllable color change light node;
    The network insertion chip is connected with client, the network insertion chip by single-chip microprocessor MCU and then with wireless master control Device processed connection, the wireless main controller by way of Zigbee radio communications respectively with infrared electrical nodes and controllable color change Light node connects.
  4. A kind of 4. multifunctional intellectual house control system according to claim 3, it is characterised in that:The network insertion core Piece uses DM9000 network chips, and the single-chip microprocessor MCU uses STM32 chips;The wireless main controller is by CC2530 chips With peripheral circuit form, the peripheral circuit by external clock reference, electrification reset circuit, pwm signal output end and RFX2041C RF transceivers form.
  5. A kind of 5. multifunctional intellectual house control system according to claim 1, it is characterised in that:The controllable variable color lamp Node includes AC-DC power module, lowering and stabilizing blood pressure module, radio node MCU, DC-DC constant current conversion module and LED, described First output end of AC-DC power module passes sequentially through lowering and stabilizing blood pressure module, radio node MCU and then converted with DC-DC constant currents The first input end connection of module, the second output end of the AC-DC power module and the second of DC-DC constant current conversion modules defeated Enter end connection, the input of the output end of the DC-DC constant currents conversion module and LED connects, the radio node MCU also with Intelligent gateway control box connects.
  6. A kind of 6. multifunctional intellectual house control system according to claim 5, it is characterised in that:The AC-DC power supplys Module uses FT838D switching power source chips, and the DC-DC constant currents conversion module uses PAM2861 chips, the radio node MCU uses CC2530 chips.
  7. A kind of 7. multifunctional intellectual house control system according to claim any one of 1-6, it is characterised in that:It is described red Outer electrical nodes are also associated with the infrared radio control circuit for controlling infrared household electrical appliance, the infrared radio control circuit It is made up of infrared receiving terminal, controller, relay, the first power supply circuit interface and the second power supply circuit interface, it is described infrared to connect Receive head to be connected with infrared electrical nodes by way of infrared radio, the infrared receiving terminal is connected by controller with relay Connect, the relay is also connected with the first power supply circuit interface and the second power supply circuit interface respectively.
CN201510608352.XA 2015-09-22 2015-09-22 A kind of multifunctional intellectual house control system Active CN105223820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510608352.XA CN105223820B (en) 2015-09-22 2015-09-22 A kind of multifunctional intellectual house control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510608352.XA CN105223820B (en) 2015-09-22 2015-09-22 A kind of multifunctional intellectual house control system

Publications (2)

Publication Number Publication Date
CN105223820A CN105223820A (en) 2016-01-06
CN105223820B true CN105223820B (en) 2018-03-02

Family

ID=54992857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510608352.XA Active CN105223820B (en) 2015-09-22 2015-09-22 A kind of multifunctional intellectual house control system

Country Status (1)

Country Link
CN (1) CN105223820B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807620A (en) * 2016-03-06 2016-07-27 上海日进电气有限公司 Smart equipment control APP system and implementation method thereof
CN105681360A (en) * 2016-04-01 2016-06-15 北京奇虎科技有限公司 Smart home communication method and device
CN106211424A (en) * 2016-07-06 2016-12-07 华南师范大学 A kind of LED intelligent illumination system based on Z Wave control protocol
CN106341318A (en) * 2016-08-30 2017-01-18 深圳市智慧猫软件技术有限公司 Infrared forwarding method and infrared transponder
CN106488606A (en) * 2016-08-30 2017-03-08 苏州英克迈信息科技有限公司 A kind of Wireless Light modulating toning intelligent illuminating system
CN106685774B (en) * 2017-01-05 2020-10-13 深圳大学 Smart home management method, device and system
CN107124339A (en) * 2017-04-27 2017-09-01 上海斐讯数据通信技术有限公司 Radio network gateway and smart machine combination control method and system in a kind of smart home
CN109391652B (en) * 2017-08-08 2021-09-28 关隆股份有限公司 Data transmission method for radio system
CN108390803A (en) * 2018-02-09 2018-08-10 成都欧督系统科技有限公司 For the computer implemented method based on embedded chip
CN108417010A (en) * 2018-03-16 2018-08-17 深圳市国华光电科技有限公司 A kind of indoor infrared remote control system
CN109185206A (en) * 2018-07-17 2019-01-11 广东工业大学 A kind of ceiling fan intelligent controlling device and control method and ceiling fan speed regulation method
CN108818564A (en) * 2018-07-18 2018-11-16 福州大学 A kind of household robot control system and its control method
CN109302471A (en) * 2018-09-26 2019-02-01 四川长虹电器股份有限公司 A kind of Intelligent household scene control system and method
CN109450749B (en) * 2018-11-26 2020-06-30 美的集团武汉制冷设备有限公司 Communication switching electric control board, household electrical appliance and household electrical appliance control system
CN110012534A (en) * 2019-02-18 2019-07-12 生迪智慧科技有限公司 Equipment state synchronous method, device, equipment and computer readable storage medium
CN109932921A (en) * 2019-03-29 2019-06-25 四川虹美智能科技有限公司 The control method and system of a kind of intelligent appliance and the first client
CN111399406A (en) * 2020-03-03 2020-07-10 青岛海信智慧家居系统股份有限公司 Control system of multi-functional row zigBee switch that allies oneself with
CN111711553B (en) * 2020-08-19 2020-12-18 杭州并坚科技有限公司 Two bus communication and power supply MCU systems
CN115119369B (en) * 2022-08-23 2022-11-18 惠州市创舰实业有限公司 Wall lamp is washed in information intellectuality based on thing networking

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201557305U (en) * 2009-11-26 2010-08-18 王睿哲 Light adjusting controller based on zigbee technology
CN103236960A (en) * 2013-04-18 2013-08-07 重庆邮电大学 Method and system for data interaction between home server and plurality of terminals
CN203178784U (en) * 2013-03-29 2013-09-04 广州中国科学院软件应用技术研究所 Intelligent household control system based on Internet of Things
CN203276006U (en) * 2013-06-03 2013-11-06 陕西科技大学 Intelligent home appliance power control system
CN203745876U (en) * 2014-01-28 2014-07-30 宁波杜亚机电技术有限公司 Intelligent household control device
CN204539555U (en) * 2015-03-20 2015-08-05 杭州物高科技有限公司 The lamp controller of intelligent road-lamp and street lamp

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853221B2 (en) * 2004-11-12 2010-12-14 Homerun Holdings Corp. Network bridge device and methods for programming and using the same
TW200803292A (en) * 2005-09-30 2008-01-01 Koninkl Philips Electronics Nv Wireless building automation and control network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201557305U (en) * 2009-11-26 2010-08-18 王睿哲 Light adjusting controller based on zigbee technology
CN203178784U (en) * 2013-03-29 2013-09-04 广州中国科学院软件应用技术研究所 Intelligent household control system based on Internet of Things
CN103236960A (en) * 2013-04-18 2013-08-07 重庆邮电大学 Method and system for data interaction between home server and plurality of terminals
CN203276006U (en) * 2013-06-03 2013-11-06 陕西科技大学 Intelligent home appliance power control system
CN203745876U (en) * 2014-01-28 2014-07-30 宁波杜亚机电技术有限公司 Intelligent household control device
CN204539555U (en) * 2015-03-20 2015-08-05 杭州物高科技有限公司 The lamp controller of intelligent road-lamp and street lamp

Also Published As

Publication number Publication date
CN105223820A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105223820B (en) A kind of multifunctional intellectual house control system
CN103220858B (en) A kind of LED light device and LED illumination control system
CN204241946U (en) A kind of control system using signal light control intelligent appliance based on high in the clouds Internet of Things
CN103987173B (en) Indoor illumination control system and indoor intelligent control system
CN201766739U (en) Intelligent home LED lighting system based on ZigBee and ARM techniques
CN203896554U (en) Indoor illumination control system and indoor intelligent control system
CN203537606U (en) WIFI and PLC based LED illumination control system
CN205750334U (en) A kind of household appliances intelligent control system
CN103889115A (en) Illumination control system
CN104820366A (en) General intelligent household mobile phone wireless remote control system
CN102159011B (en) Method for remotely and wirelessly controlling illumination end
CN104159377A (en) Wireless intelligent LED lighting system based on 2.4 GHz
CN103313487A (en) Illumination control system, lighting device and wifi controller
CN102573232A (en) LED illumination system controlled by Internet
CN105960071A (en) ZLL (ZigBee light link) technology based intelligent streetlamp interconnection system and control method
CN203104865U (en) WIFI lighting control system
CN205196004U (en) Control system of relaying lamp
CN105045161A (en) Intelligent switch based on hybrid network
CN204836707U (en) LED drive device that wireless control can adjust luminance and mix colours
CN105323926A (en) Dimming system and method
CN203231133U (en) LED (light-emitting diode) lighting device and LED lighting control system
CN111354179A (en) Intelligent household appliance control system based on power line carrier communication and infrared remote control
CN204681646U (en) Novel intelligent gesture switching system
CN203748080U (en) Illumination control system
CN207706486U (en) A kind of light adjusting controller and dimming control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant