CN101989376B - Intelligent home control system - Google Patents

Intelligent home control system Download PDF

Info

Publication number
CN101989376B
CN101989376B CN 200910164481 CN200910164481A CN101989376B CN 101989376 B CN101989376 B CN 101989376B CN 200910164481 CN200910164481 CN 200910164481 CN 200910164481 A CN200910164481 A CN 200910164481A CN 101989376 B CN101989376 B CN 101989376B
Authority
CN
China
Prior art keywords
control
power line
home equipment
level
coded data
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.)
Expired - Fee Related
Application number
CN 200910164481
Other languages
Chinese (zh)
Other versions
CN101989376A (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.)
Ningbo Jiatianxia Intelligent System Co Ltd
Original Assignee
Ningbo Jiatianxia Intelligent System Co Ltd
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 Ningbo Jiatianxia Intelligent System Co Ltd filed Critical Ningbo Jiatianxia Intelligent System Co Ltd
Priority to CN 200910164481 priority Critical patent/CN101989376B/en
Publication of CN101989376A publication Critical patent/CN101989376A/en
Application granted granted Critical
Publication of CN101989376B publication Critical patent/CN101989376B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention relates to the electrical control technology, in particular to an intelligent home control system and a home device controller for improving the scalability of the intelligent home control system. In the intelligent home control system provided by the embodiment of the invention, each type of the home device is correspondingly provided with a home device controller which plays a central control role on the home device controller with the corresponding type, a sensing relay plays a role of forwarding signaling and data, and the home device controller needs to be respectively set according to the types of the home devices, therefore, corresponding home device controllers and control terminals only need to be added in the system when the control of new type of the home device needs to be added, and thus, the system has good expansibility. In addition, most of the signals in the system are transmitted through an electric power network, therefore, great convenience is broughtfor network deployment of the intelligent home control system.

Description

A kind of intelligent home control system
Technical field
The present invention relates to Electrical Control Technology, particularly a kind of intelligent home control system.
Background technology
Smart Home is to be platform with the dwelling house, has both intelligent building, network service, information household appliances, light fixture robotization, and collecting system, structure, service, management are efficient, comfortable, safety, the facility of one, the living environment of environmental protection.Intelligent home control system just transforms from existing second generation intelligent home control system to third generation intelligent home control system, can not be called system on the second generation intelligent home control system stricti jurise, it is the set of a series of simple function equipment, such as security light fixture, video intercom, automatic curtain, the clothing etc. that dries in the air automatically, these all are single equipments, do not form communication and networking each other.
Third generation intelligent home control system is attempted the triangular web of these second generation intelligent home control systems is carried out integrated on the basis of second generation intelligent home control system, and to set up with the home server be the integral intelligent house control system of core.
Intelligent home control system need carry out Based Intelligent Control to electrical equipment and the device of a plurality of applicating categories in the domestic environment, concrete Based Intelligent Control classification has: light fixture Based Intelligent Control, security protection Based Intelligent Control, door and window Based Intelligent Control, the control of household instrument, amusement and recreation Based Intelligent Control, home appliance Based Intelligent Control etc., this intelligent home control system carries out integrated management to all these control informations simultaneously, realizes operated from a distance and information feedback.
The shortcoming of existing intelligent home control system is that the design deficiency is used in integration, is difficult to the expansion according to the enhancement row respective control function of home equipment.
Summary of the invention
The embodiment of the invention provides a kind of intelligent home control system, is used for improving the extendability of intelligent home control system.
A kind of intelligent home control system is used for control and is distributed in the not home equipment of chummery, comprising:
The home equipment controller of each type, connect power line network, be used for generating the home equipment steering order and pass through described power line network transmission, and the home equipment state updating information that receives described power line network transmission, and according to the local home equipment status information of preserving of this home equipment state updating information renewal;
The control terminal of each home equipment, connect described power line network, be used for receiving the home equipment steering order of described power line network transmission, resolve described home equipment steering order and control the home equipment state according to analysis result, and when the household equipment state changes, transmit the home equipment state updating information by described power line network.
Described intelligent home control system also comprises: described intelligent home control system also comprises:
At least one sensing repeater is separately positioned on not in the chummery, connects described power line network, is used for receiving using straighforward operation information that the short distance wireless communication technology sends and by described power line network transmission;
Telepilot, described telepilot uses the short distance wireless communication technology to communicate by letter with described sensing repeater, being used for receiving the user controls the straighforward operation information of home equipment state and uses the short distance wireless communication technology to send to the sensing repeater, described sensing repeater transmits the straighforward operation information that receives by power line network, described home equipment controller receives straighforward operation information by power line network, and generates corresponding home equipment steering order and send by power line network according to this straighforward operation information; And
Described sensing repeater also is used for receiving the home equipment state updating information of power line network transmission, and uses described the short distance wireless communication technology to send to telepilot.
Described home equipment control system also comprises: master controller, connect each home equipment controller respectively, wherein:
Described master controller is used for receiving the operated from a distance information of the Long-distance Control household equipment of submitting to by the Long-distance Control webpage and being transmitted to described home equipment controller as telnet server;
Described home equipment controller is also for generating corresponding home equipment steering order according to the operated from a distance information that receives and sending by power line network.
Described home equipment control system also comprises: at least one sensor, and each sensor links to each other with one of them sensing repeater, is used for gathering the ambient condition sensing data and sending to described sensing repeater;
Described sensing repeater also is used for transmitting described ambient condition sensing data by power line network;
Described home equipment controller also be used for to receive the ambient condition sensing data of power line network transmission, generates corresponding home equipment steering order and by described power line network transmission according to the automatic control mode of ambient condition sensing data and setting.
Described home equipment control system, also comprise: the manual physical switch of each home equipment, be connected between earth terminal and the corresponding home equipment control terminal, described home equipment control terminal detects the level value by manual physical switch input, and when described level value changes, generate the level value state change information and transmit by power line network;
Described home equipment controller also is used for receiving the level value state change information that power line network transmits, and generates corresponding home equipment steering order and passes through described power line network transmission according to the level value state change information.
Described telepilot also is used for using the short distance wireless communication technology to send the control model switching command according to user's automatic control mode and the switching command between the manual control model;
Described sensing repeater also is used for receiving control of remote controller pattern switching command and transmitting by power line network;
Described home equipment controller, also be used for receiving the control model switching command by the power line network transmission, and determine to be operated in automatic control mode or manual control model according to described control model switching command, and when at the work automatic control mode, automatic control mode according to described ambient condition sensing data and setting generates the home equipment steering order and passes through described power line network transmission, when being operated in manual control model, according to straighforward operation information, operated from a distance information or level value state change information generate the home equipment steering order and transmit by described power line network.
Described home equipment controller, when also being used for when being operated in automatic control mode, receiving straighforward operation information, operated from a distance information or level value state change information, switching to manual control model immediately and generate the home equipment steering order also by described power line network transmission according to the information that receives.
Described home equipment control system also comprises: the manual physical switch of each home equipment, be connected between earth terminal and the corresponding home equipment control terminal, the home equipment control terminal detects the level value by manual physical switch input, when level value is high level, the control home equipment is closed, otherwise the control home equipment is opened.
In the described home equipment control system, described sensing repeater also is used for using when initialization described the short distance wireless communication technology to send the registration request;
Described telepilot receives the registration request that each sensing repeater sends, according to pre-configured room distribution plan and room, sensing repeater place, the sensing repeater that is request registration distributes room number and device number, generates to carry institute and distributes the registration of room number and device number to respond and use described the short distance wireless communication technology transmission; And be recorded in allocation result in the device distribution information and when device distribution information changes, use described the short distance wireless communication technology to send device distribution information after upgrading;
Described sensing repeater receives the registration response that telepilot sends, and wherein room number and device number are recorded in the local device distribution information, and described sensing repeater also receives the remote controller equipment distributed intelligence and transmits by power line network;
Described home equipment controller receives the device distribution information of power line network transmission and preserves.
In the described home equipment control system, the control terminal of described each home equipment also is used for generating respectively the registration request and transmits by power line network when initialization;
Described sensing repeater receives the registration request of power line network transmission and uses the short distance wireless communication technology to send to described telepilot;
When described telepilot receives the control terminal registration request of each home equipment, according to pre-configured room distribution plan, home equipment type and room, place, the control terminal that is request registration distributes room number and device number, generates to carry institute and distributes the corresponding registration of room number and device number to respond and use described the short distance wireless communication technology transmission; And be updated to allocation result in the device distribution information and use described the short distance wireless communication technology to send device distribution information after upgrading;
Described sensing repeater receives each registration response of telepilot transmission and transmits by power line network;
Each control terminal responds by the registration that power line network receives oneself, and wherein room number and device number are recorded in the local device distribution information.
Described intelligent home control system also comprises:
Telepilot, described telepilot uses the short distance wireless communication technology to communicate by letter with described sensing repeater, be used for receiving the operation information of user's remote control home equipment state, generate corresponding home equipment steering order and use the short distance wireless communication technology that the home equipment steering order is sent to the sensing repeater according to described operation information;
Described home equipment controller also is used for device distribution information and status information of equipment are sent to master controller; Described master controller is shown to device distribution information and the status information of equipment that receives on the webpage.
Described home equipment is light fixture, and described control terminal is the light fixture control terminal, and this light fixture control terminal specifically comprises:
Power line signal coupling module, power line signal processing module, embedded microprocessor and at least one switch module, wherein:
Described power line signal coupling module connects power line network, described power line signal processing module links to each other with the power line signal coupling module, and connect the signal input part of embedded microprocessor by serial line interface, the signal output part of described embedded microprocessor connects the control end of each switch module, and each switch module is used for the feed circuit of one or one group light fixture of control;
Described power line signal coupling module is used for receiving modulation from power line network to be had the power line carrier signal of light fixture control command and is transmitted to the power line signal processing module;
Described power line signal processing module demodulates the light fixture control command for the power line carrier signal of transmitting from the power line signal coupled circuit and sends to the signal input part of embedded microprocessor by serial line interface;
The light fixture control command that described embedded microprocessor receives according to signal input part generates the control signal of switch module, and exports to switch module by signal output part, is used for the feed circuit that the gauge tap module is opened or closure is controlled.
Described light fixture control terminal also comprises: the hand switch that the feed circuit that corresponding each switch module is controlled arrange, wherein: an end of each hand switch connects earth terminal, and the other end connects a data input end of described embedded microprocessor respectively;
Described embedded microprocessor also is connected with the level value of the data input pin of hand switch for detection of each, when level value is high level, controls corresponding switch module and disconnect, otherwise control corresponding switch module closure.
Described switch module is solid-state relay, described light fixture control terminal also comprises: zero-crossing detector, connect described power line network by line of electric force, for detection of the zero point in each cycle of alternating current, and the zero passage detection signal input part to described embedded microprocessor is imported the zero cross fired signal when detecting zero point, when described embedded microprocessor instructs for the light fixture light modulation in described control command, according to the conducting angle of the described solid-state relay of zero cross fired signal controlling in each ac period.
Described telepilot comprises:
Display module, the interface is controlled in the operation that is used for the demonstration intelligent home control system;
Close range wireless communication module is used for realizing wireless near field communication;
The infrared signal transceiver module, the telepilot that is used for the reception intelligent home device sends infrared encoded signal and the forwarding of different control functions;
First embedded microprocessor, connect described display module by the LCD data bus, and connect described infrared signal transceiver module by signal wire, be used for according to the infrared encoded signal learn command of controlling the interface input by the operation of described module, detect the high level or low level rising edge and the negative edge that comprise in the infrared encoded signal of described infrared signal transceiver module reception, replace high level and low level level width value and the appearance order that occurs according to the testing result record, generate the coded data of the infrared encoded signal of respectively controlling the function correspondence according to the record result, and when receiving the operation information of remote control home equipment by described operation control interface, infrared encoded signal coded data according to control function correspondence, generate corresponding steering order and output, wherein: described infrared encoded signal can comprise infrared coding control signal and steering signal, also can include only the infrared coding control signal, what occur for the first time in the infrared coding control signal is high level;
Second embedded microprocessor, be connected between described first embedded microprocessor and the close range wireless communication module unit by serial line interface respectively, send for the steering order that receives described first embedded microprocessor output and by close range wireless communication module.
Described first embedded microprocessor specifically comprises:
Record sub module, be used for connecting described infrared signal transceiver module by signal wire, according to the infrared encoded signal learn command of importing by the operation control interface of described module, detect the high level or low level rising edge and the negative edge that comprise in the infrared encoded signal of described infrared signal transceiver module reception, replace high level and low level level width value and the appearance order that occurs according to the testing result record;
The coding submodule is used for according to recording the coded data that the result generates the infrared encoded signal of respectively controlling the function correspondence;
Sub module stored is for the coding result of the described coding submodule of storage;
The reduction submodule, be connected described second embedded microprocessor by serial line interface, when being used for receiving the operation information of remote control home equipment by described operation control interface, from described sub module stored, obtain the infrared encoded signal coded data of respective control function, generate corresponding steering order and export to described second embedded microprocessor.
Described coding submodule specifically comprises:
Be used for the size according to all level width values that obtain, big or small identical level width value wherein is encoded to level width coding data, and all level width coding data are combined as the unit of level width coding serial data, the byte number that each level width coding data takies is first setting value, and the total bytes that level width code data string takies is second setting value;
Be used for putting in order according to described level width coding each level width coding data of serial data, determine the ranking of each high level or low level level width value correspondence in described level width coding serial data, the ranking of determining encoded and according to each high level with low levelly the unit that sequential combination is level width index coded data string occurs, the byte number that the coded data of each ranking takies is the 3rd setting value;
Be used for carrier cycle is encoded to the unit of carrier cycle coded data, the byte number that described carrier cycle coded data takies is the 4th setting value;
Be used for forming the unit of the coded data of telepilot infrared encoded signal according to setting the described level width coding of sequential combination serial data, carrier cycle coded data and level width index coded data string; And
Described reduction submodule specifically comprises:
Be used for according to putting in order of setting, the byte number that each level width coding data takies, the total bytes that level width code data string takies, the byte number that the coded data of each ranking takies, and the byte number that takies of described carrier cycle coded data, from the coded data of telepilot infrared encoded signal, obtain level width coding serial data, the unit of carrier cycle coded data and level width index coded data string, wherein, described level width coding serial data comprises a plurality of level width value codings that size is inequality, the coded data that comprises each high level and low level level width value corresponding ranking in described level width coding serial data in the infrared coding control signal in the described level width index coded data string, and according to each high level and low level the appearance in the infrared coding control signal is arranged in proper order;
Be used for according to described level width index coded data string, according to each high level and the tactic level width of the appearance of low level in infrared coding control signal index coded data, and the level width coding data in the corresponding ranking in the described level width coding serial data, determine the unit of each high level and low level level width and shooting sequence in the described infrared coding control signal;
Be used for determining according to described carrier cycle coded data the unit of the carrier frequency of emission telepilot infrared coding control signal;
Be used for according to described each high level of infrared coding control signal and low level level width and shooting sequence, export high level and low level unit successively according to described carrier frequency.
Described coding submodule specifically comprises:
Be used for when each the level width value that obtains all has been recorded in the mapping table of level width value coded data and level width value index, carrying out next step, otherwise continue the unit of next step behind the coded data of the level width value that interpolation is not recorded in described mapping table and the level width value index thereof;
For determining each high level or low level level width value at the level width value index of described mapping table correspondence and encoding, according to each high level and low level appearance order level width value index coded data is combined as the unit of level width index coded data string, the byte number that the coded data of each ranking takies is the 3rd setting value;
Be used for carrier cycle is encoded to the unit of carrier cycle coded data, the byte number that described carrier cycle coded data takies is the 4th setting value;
Be used for forming the unit of the coded data of telepilot infrared encoded signal according to setting the described carrier cycle coded data of sequential combination and level width index coded data string; And
Described reduction submodule specifically comprises:
Be used for the byte number that the coded data according to putting in order of setting, each ranking takies, and the byte number that takies of carrier cycle coded data, from the coded data of telepilot infrared encoded signal, obtain the unit of carrier cycle coded data and level width index coded data string, wherein, the index that comprises each high level and low level level width value in the infrared coding control signal in the described level width index coded data string, and according to each high level and low level the appearance in the infrared coding control signal is arranged in proper order;
Be used for according to described level width index coded data string, according to each high level and the tactic level width of the appearance of low level in infrared coding control signal index coded data, and the mapping table of level width value coded data and level width value index, determine the unit of each high level and low level level width value and shooting sequence in the described infrared coding control signal;
Be used for determining according to described carrier cycle coded data the unit of the carrier frequency of emission telepilot infrared coding control signal;
Be used for according to described each high level of infrared coding control signal and low level level width value and shooting sequence, launch the unit of high level and low level infrared encoded signal according to described carrier frequency successively.
Home equipment controller in a kind of intelligent home control system comprises:
The power line signal coupling module, connect power line network by line of electric force, being used for receiving modulation from described power line network has the power line carrier signal of home equipment operation information and transmits, and the power line carrier signal that receives is coupled transmits to described power line network;
The power line signal processing module, be used for demodulating the home equipment operation information and transmitting from the power line carrier signal that described power line signal coupling module is transmitted, and be transmitted to described power line signal coupling module after the home equipment control signal that receives is modulated to the power line carrier signal;
Embedded microprocessor, described embedded microprocessor specifically comprises:
First receiving element connects described power line signal processing module by serial line interface, is used for the operation information of the remote control home equipment state of the described power line signal processing module forwarding of reception;
The first first-in first-out FIFO buffer unit connects first receiving element, is used for the operation information that described first receiving element of storage receives;
Processing unit and the 2nd FIFO buffer unit, described processing unit is connected between a FIFO buffer unit and the 2nd FIFO buffer unit, be used for from a described FIFO buffer unit according to storage order read operation information successively, generate corresponding home equipment steering order and be saved in described the 2nd FIFO buffer unit according to described generating run information;
First transmitting element is used for the storage order according to the home equipment steering order, reads the home equipment steering order successively and send to described power line signal processing module by serial line interface from described the 2nd FIFO buffer unit.
Described home equipment controller also comprises:
Second receiving element by the master controller in the serial line interface connection intelligent home control system, is used for receiving described master controller as the operation information of the Long-distance Control household equipment state of telnet server reception and forwarding;
A described FIFO buffer unit also connects second receiving element and is used for the operation information that described second receiving element of storage receives.
Described home equipment controller also comprises: the control model storage unit, connect described processing unit, and be used for the automatic control mode parameter configuration of storage home equipment;
Described first receiving element also is used for receiving the ambient condition sensing data of described power line signal processing module forwarding and being transmitted to described processing unit;
Described processing unit is further according to the automatic control mode parameter configuration of storing in the ambient condition sensing data that receives and the control model storage unit, generates corresponding home equipment steering order and stores in described the 2nd FIFO buffer unit.
In the described home equipment controller, described first receiving element also is used for receiving device distribution signal and the status information of equipment that described power line signal processing module is transmitted, and is saved in the described data storage cell.
Described home equipment controller also comprises:
Second transmitting element connects described data storage cell, is used for reading data that described data storage cell stores and is transmitted to described master controller by serial line interface.
The said system that provides according to the embodiment of the invention, the home equipment of each type should have a home equipment controller mutually, home equipment to respective type plays the core control action, the sensing repeater plays the forwarding capability of signaling and data, do not need to arrange respectively according to the type of home equipment, when therefore needing to increase the control of newtype home equipment in the system, only need to increase corresponding home equipment controller and control terminal, therefore has favorable expansibility, and the most of signal in the system transmits by electric power networks, brings great convenience for the networking of intelligent home control system;
Further, can utilize the telepilot with learning functionality to learn the control signal of each home equipment, thereby the function of all telepilots can be integrated on the telepilot, simplify control and made things convenient for use.
Description of drawings
A kind of intelligent home control system that Fig. 1 a, 1b, 1c and 1d provide for the embodiment of the invention.The structural representation of home equipment controller and home equipment control terminal;
Realization principle and the structural representation of the universal remote control that Fig. 2 a and 2b provide for the embodiment of the invention;
The realization principle schematic of the lamp control system that Fig. 3 a, 3b, 3c provide for the embodiment of the invention;
The structural representation of master controller in the lamp control system that Fig. 4 a, 4b and 4c provide for the embodiment of the invention;
The software architecture synoptic diagram of lamp controller in the lamp control system that Fig. 5 a, 5b, 5c provide for the embodiment of the invention;
The structural representation of sensing repeater in the lamp control system that Fig. 6 provides for the embodiment of the invention;
The structural representation of light fixture control terminal in the lamp control system that Fig. 7 provides for the embodiment of the invention.
Embodiment
Intelligent home control system
The embodiment of the invention provides a kind of home equipment control system, can be used in the household, also can be used in the office space of a plurality of workplaces, is used for control and is distributed in the not home equipment of chummery, and the home equipment control mode generally has following four kinds of demands:
■ controls home equipment by the home equipment control interface of hand-held remote controller;
■ controls home equipment by login remote web page control interface;
■ controls home equipment by the physics hand switch;
■ controls the carrying out of home equipment automatically according to the control model of setting.
Wherein, first three kind demand is manually control, and last a kind of demand is control automatically.
As shown in Figure 1a, for realizing above-mentioned first kind of function, a kind of intelligent home control system that the embodiment of the invention provides is used for control and is distributed in the not home equipment of chummery, comprising:
The home equipment controller 11 of each type connects power line network, for generation home equipment steering order and by the power line network transmission, and the also preservation of home equipment state updating information that receives the power line network transmission;
The control terminal 13 of each home equipment, connect power line network, be used for receiving the home equipment steering order of power line network transmission, resolve the home equipment steering order and control the home equipment state according to analysis result, and when the household equipment state changes, transmit the home equipment state updating information by power line network.
For realizing the function of remote control home equipment, intelligent home control system also comprises:
At least one sensing repeater 12 is separately positioned on not in the chummery, connects power line network, is used for using the short distance wireless communication technology to communicate by letter with telepilot 10;
Telepilot 10, telepilot 10 uses the short distance wireless communication technology to communicate by letter with sensing repeater 12, being used for receiving the user controls the straighforward operation information of home equipment state and uses the short distance wireless communication technology to send to sensing repeater 12, sensing repeater 12 transmits the straighforward operation information that receives by power line network, home equipment controller 11 receives straighforward operation information by power line network, and generates corresponding home equipment steering order and send by power line network according to this straighforward operation information; And
Sensing repeater 12 also is used for receiving the home equipment state updating information of power line network transmission, and uses the short distance wireless communication technology to send to telepilot 10.
For realizing that intelligent home control system also further comprises by the function of network remote control home equipment: master controller 14, connect each home equipment controller 11 respectively, wherein:
Master controller 14 is used for receiving the operated from a distance information of the Long-distance Control household equipment of submitting to by the Long-distance Control webpage and being transmitted to home equipment controller 11 as telnet server;
Home equipment controller 11 is also for generating corresponding home equipment steering order according to the operated from a distance information that receives and sending by power line network.
Home equipment controller 11 can be distinguished and directly connects power line network, also can connect power line networks by master controller 14, and Fig. 1 a only is the networking structure synoptic diagram of first kind of situation.In a kind of networking structure in back, home equipment controller 11 must could operate as normal after primary controller starts.
Automatically control according to ambient condition in the household apparatus control system, realizing, can further include: at least one sensor, each sensor links to each other with one of them sensing repeater 12, is used for gathering the ambient condition sensing data and sending to sensing repeater 12;
Sensing repeater 12 also is used for by power line network transmission environment state sensing data;
Home equipment controller 11 also be used for to receive the ambient condition sensing data of power line network transmission, generates corresponding home equipment steering order and transmits by power line network according to the automatic control mode of ambient condition sensing data and setting.
For realizing traditional demand for control of hand switch, the home equipment control system also comprises: the manual physical switch of each home equipment, be connected between earth terminal and the corresponding home equipment control terminal 13, home equipment control terminal 13 detects the level value by manual physical switch input, when level value is high level, the control home equipment is closed, otherwise the control home equipment is opened.
Perhaps, home equipment control terminal 13 detects the level value by manual physical switch input, and when described level value changes, and generation level value state change information also transmits by power line network; Home equipment controller 11 also is used for receiving the level value state change information that power line network transmits, and generates corresponding home equipment steering order and passes through described power line network transmission according to the level value state change information.
In this case, the direct gauge tap state of level value that home equipment control terminal 13 is not imported according to manual physical switch, but the level state change information is reported home equipment control terminal 13, home equipment control terminal 13 carries out centralized control again, has embodied the core the driver's seat of home equipment control terminal 13 more.
For in the household apparatus control system, realizing the unified management of equipment, ability operate as normal after each sensing repeater 12 and home equipment control terminal 13 need be registered in the system, registration process is finished by telepilot utilization control interface control, the final device distribution informational needs of collecting in registration process is aggregated on each home equipment controller 11 and the master controller 14, therefore:
Sensing repeater 12 also is used for using when initialization the short distance wireless communication technology to send the registration request;
Telepilot 10 receives the registration request that each sensing repeater 12 sends, according to pre-configured room distribution plan and room, sensing repeater 12 place, the sensing repeater 12 that is request registration distributes room number and device numbers, generates to carry registration response and the transmission of use the short distance wireless communication technology that institute distributes room number and device number; And be recorded in allocation result in the device distribution information and the device distribution information after the use the short distance wireless communication technology transmission renewal when device distribution information changes;
Sensing repeater 12 receives the registration response that telepilot 10 sends, and wherein room number and device number are recorded in the local device distribution information, and sensing repeater 12 also receives telepilot 10 device distribution information and transmits by power line network;
Home equipment controller 11 receives the device distribution information of power line network transmission and preserves.
Further, the control terminal 13 of each home equipment also is used for generating respectively the registration request and transmits by power line network when initialization;
Sensing repeater 12 receives the registration request of power line network transmission and uses the short distance wireless communication technology to send to telepilot 10;
When telepilot 10 receives the control terminal 13 registration requests of each home equipment, according to pre-configured room distribution plan, home equipment type and room, place, the control terminal 13 that is request registration distributes room number and device numbers, generates to carry corresponding registration response and the transmission of use the short distance wireless communication technology that institute distributes room number and device number; And be updated to allocation result in the device distribution information and use the short distance wireless communication technology send to upgrade after device distribution information;
Sensing repeater 12 receives each registration response of telepilot 10 transmissions and transmits by power line network;
Each control terminal 13 responds by the registration that power line network receives oneself, and wherein room number and device number are recorded in the local device distribution information.
In the another one embodiment, telepilot can directly generate steering order and send to sensing repeater 13, and distant control function does not need home equipment controller 11 to participate in, and is concrete:
Telepilot 10, telepilot 10 uses the short distance wireless communication technology to communicate by letter with sensing repeater 12, be used for receiving the operation information of user's remote control home equipment state, generate corresponding home equipment steering order and use the short distance wireless communication technology that the home equipment steering order is sent to sensing repeater 12 according to operation information;
Sensing repeater 12 also is used for the home equipment steering order is transmitted by power line network.
The deletion of each sensing repeater 12 and home equipment control terminal 13 is equivalent to one and goes the process registered, idiographic flow and registration class are seemingly, need the distributed intelligence of updating the equipment after deletion, the detailed technology details is well known to those skilled in the art does not here give unnecessary details in detail.
Home equipment controller 11 receives all devices distributed intelligence, and status information of equipment can be given master controller 14 by synchronized transmission, and primary controller 14 synchronous refreshs are checked for the user to webpage.
In the embodiment of the invention, control switching controls pattern that can also be by telepilot 10, and the control model switching command sent to home equipment controller 11 by the sensing repeater, home equipment controller 11 are determined mode of operation according to switching command, and carry out corresponding control, concrete:
Telepilot 10 also is used for using the short distance wireless communication technology to send the control model switching command according to user's automatic control mode and the switching command between the manual control model;
Sensing repeater 12 also is used for receiving control of remote controller pattern switching command and transmitting by power line network;
Home equipment controller 11, reception is by the control model switching command of power line network transmission, and determine to be operated in automatic control mode or manual control model according to described control model switching command, and when at the work automatic control mode, automatic control mode according to described ambient condition sensing data and setting generates the home equipment steering order and passes through described power line network transmission, when being operated in manually with regard to control model, according to straighforward operation information, operated from a distance information or level value state change information generate the home equipment steering order and transmit by described power line network.
Certainly, home equipment controller 11 can also be worked as when being operated in automatic control mode, according to any one the straighforward operation information, operated from a distance information or the level value state change information that receive, switch to manual control model immediately and generate the home equipment steering order also by described power line network transmission according to the information that receives.
The said system that provides according to the embodiment of the invention, the home equipment of each type should have a home equipment controller mutually, home equipment to respective type plays the core control action, the sensing repeater plays the forwarding capability of signaling and data, do not need to arrange respectively according to the type of home equipment, when therefore needing to increase the control of newtype home equipment in the system, only need to increase corresponding home equipment controller and control terminal, therefore has favorable expansibility, and the most of signal in the system transmits by electric power networks, brings great convenience to networking.
According to above-mentioned intelligent home control system, the concrete structure of the home equipment controller 11 in a kind of intelligent home control system that the embodiment of the invention provides comprises shown in Fig. 1 b:
Power line signal coupling module 111, connect power line network by line of electric force, being used for receiving modulation from power line network has the power line carrier signal of home equipment operation information and transmits, and the power line carrier signal that receives is coupled transmits to power line network;
Power line signal processing module 112, be used for demodulating the home equipment operation information and transmitting from the power line carrier signal that power line signal coupling module 111 is transmitted, and be transmitted to power line signal coupling module 111 after the home equipment control signal that receives is modulated to the power line carrier signal;
If home equipment controller 11 connects power line network by master controller 14, then do not comprise power line signal coupling module 111.
As described in Fig. 1 c, a kind of concrete structure of embedded microprocessor 113 wherein comprises:
First receiving element 1131 connects power line signal processing module 112 by serial line interface, is used for the operation information of the remote control home equipment state of reception power line signal processing module 112 forwardings;
The first first-in first-out FIFO buffer unit 1132 connects first receiving element 1131, is used for the operation information that storage first receiving element 1131 receives;
Processing unit 1133 and the 2nd FIFO buffer unit 1134, processing unit is connected between a FIFO buffer unit 1132 and the 2nd FIFO buffer unit 1134, be used for from a FIFO buffer unit according to storage order read operation information successively, generate corresponding home equipment steering order and be saved in the 2nd FIFO buffer unit 1134 according to generating run information;
First transmitting element 1135 is used for the storage order according to the home equipment steering order, reads the home equipment steering order successively and send to power line signal processing module 112 by serial line interface from the 2nd FIFO buffer unit 1134.
Further home equipment controller also comprises:
Second receiving element 1136 by the master controller in the serial line interface connection intelligent home control system, is used for receiving master controller as the operation information of the Long-distance Control household equipment state of telnet server reception and forwarding;
The one FIFO buffer unit 1132 also connects second receiving element 1136 and is used for the operation information that storage second receiving element 1136 receives.
Further home equipment controller 113 also comprises: control model storage unit 1138, connect processing unit 1133, and be used for the automatic control mode parameter configuration of storage home equipment;
First transmitting element 1135 also is used for receiving the ambient condition sensing data of power line signal processing module 112 forwardings and being transmitted to processing unit 1133;
Processing unit 1133 is further according to the automatic control mode parameter configuration of storage in the ambient condition sensing data that receives and the control model storage unit 1138, generates corresponding home equipment steering order and stores in the 2nd FIFO buffer unit 1134.
Further, first receiving element 1131 also is used for receiving device distribution signal and the status information of equipment that power line signal processing module 112 is transmitted, and is saved in the data storage cell 1139.
Further, device controller 11 also comprises:
Second transmitting element 1137 connects data storage cell 1139, is used for reading the data of data storage cell 1139 storages and is transmitted to master controller by serial line interface.
Home equipment control terminal 13 mainly is the corresponding execution terminal of control command, home equipment is carried out the final topworks of actions such as switch, adjusting, application model configuration, and shown in Fig. 1 d, a kind of concrete structure of home equipment control terminal 13 comprises:
Power line signal coupling module 131, power line signal processing module 132, embedded microprocessor 133 and at least one switch module 134, wherein:
Power line signal coupling module 131 connects power line network, power line signal processing module 132 links to each other with power line signal coupling module 131, and connect the signal input part of embedded microprocessor 133 by serial line interface, the signal output part of embedded microprocessor 133 connects the control end of each switch module 134, and each switch module 134 is used for the feed circuit of one or one group home equipment of control;
The power line signal coupling is used for receiving modulation from power line network to be had the power line carrier signal of home equipment control command and is transmitted to power line signal processing module 132;
Power line signal processing module 132 demodulates the home equipment control command for the power line carrier signal of transmitting from the power line signal coupled circuit and sends to the signal input part of embedded microprocessor 133 by serial line interface;
The home equipment control command that embedded microprocessor 133 receives according to signal input part generates the control signal of switch module 134, and export to switch module 134 by signal output part, be used for that gauge tap module 134 is opened or the closed feed circuit of controlling.
For realizing traditional manual control function, the home equipment control terminal also comprises: the hand switch 135 that the feed circuit that corresponding each switch module 134 is controlled arrange, wherein: an end of each hand switch 135 connects earth terminal, and the other end connects a data input end of embedded microprocessor 133 respectively; Embedded microprocessor 133 also is connected with the level value of the data input pin of hand switch 135 for detection of each, when level value is high level, controls corresponding switch module 134 and disconnect, otherwise control corresponding switch module 134 closures.
Further, embedded microprocessor 133 also is used for record home equipment status information, and when the household equipment state changes, sends home equipment state and home equipment system control model lastest imformation by serial line interface to line of electric force processing module 132;
After line of electric force processing module 132 is modulated to the power line carrier signal with the home equipment state updating information, be coupled to the power line network transmission by power line signal coupling module 131.
Universal remote control
For intelligent home control system, universal remote control with learning functionality is extremely important, the embodiment of the invention provides a kind of telepilot with learning functionality, can learn the infrared encoded signal of various telepilots, and according to learning outcome reduction infrared encoded signal corresponding home equipment is controlled, below introduce earlier the realization principle of the universal remote control that the embodiment of the invention provides in detail.
Shown in Fig. 2 a, be the structural representation of the infrared encoded signal of telepilot emission, infrared encoded signal comprises the square-wave signal of being made up of a series of high-low levels, and launches with the particular carrier wave frequency.Wherein infrared encoded signal can comprise infrared coding control signal and steering signal, also can include only the infrared coding control signal, the square wave number that comprises according to the infrared coding control signal and the width of high-low level, distinguish different control functions, steering signal is used for notifying controlled electric equipment to prepare to accept the infrared coding control signal, and steering signal comprises at least two high level and low level.The infrared coding control signal begins with high level, can finish with high level, also can finish with low level.
The basic skills of study infrared encoded signal is, the width of the carrier cycle of the infrared encoded signal that record will be learnt, all high-low levels that comprise and shooting sequence, then when corresponding electric appliance equipment is controlled, launch and original the same infrared encoded signal according to learning outcome, thereby reach the control function.
Infrared encoded signal shown in the analysis chart 2a can be found, wherein level 6 is the same with the width of level 8, level 7 is the same with the width of level 8, the probability that this situation occurs is very high, utilize the high level of four kinds of width and the infrared coding control signal that low level is combined to form, even can satisfy the functional requirement of any electric equipment.
Thus, the embodiment of the invention is in the process of study infrared encoded signal, in order to compress the infrared coding that arrives of study reducing storage space, the overall level number that forms with four kinds of width level value is that the infrared encoded signal of n is example, and the Learning Principle of infrared encoded signal comprises:
I) receive the infrared encoded signal that to learn, detect its carrier cycle, and according to rise and fall along measuring all high level and low level level width value, and according to the format record of similar following table 1, wherein, according to the maximal value of maximum carrier cycle and level width, the coded data of carrier cycle and each level width value takies 16bit, because preceding two level may be infrared steering signal, the level width might be very big, therefore takies 32bit respectively:
Table 1.
Figure GDA0000160016940000201
Ii) in the analytical table 1 record data, preceding two level may be infrared steering signal, need compile and be the pilot codes data, other level values are the level in the infrared coding control signal, a kind of have four kinds of level width values, wherein equal at can thinking of setting range for error, and for example the level of difference about smaller or equal to 50 μ s (microsecond) thinks that all size is identical, encode according to a kind of form as shown in table 2 below then, form the signal coded data:
Table 2.
Figure GDA0000160016940000211
Table 2 comprises three partial contents, is specially:
First's content be numbered 0~3, comprise the level width value coded data string that four kinds of level width value coded datas form, in level width value coded data string, the ranking of each level width value coded data is fixed, and utilizes scale-of-two four rankings respectively can be designated 00,01,10,11;
Need to prove that the bit number that each level width value coded data takies is to set according to the maximum level value in advance, total bit number that level width value coded data string takies also is to set according to maximum level value quantity maximal values that may occur.If the level width value is less than four kinds situation, the part volume that then will not take gets final product for invalid data or arbitrary data.
For more than four kinds situation, only need adaptability according to the length of the maximum quantity expansion first of level width value.
Second portion be numbered 4~7, comprise the total number of level, carrier cycle and pilot codes coded data;
Need to prove that the bit number that the total number of level, carrier cycle and pilot codes coded data take respectively also is predefined.
Third part be numbered 8, in this part, appearance order according to each high-low level in the infrared coding control signal, and the ranking of level width value correspondence in first, the corresponding ranking in first of level width value can be used as the index code of determining the actual level width value in first's coded data string, therefore the ranking of the correspondence of all each high-low level width values is encoded and the appearance sequential combination according to high-low level after the serial data that forms can be called level width index coded data string.Like this, each level width index coded data only need take 2bit, and 48 bytes then can be deposited 192 level width value index coded datas, and is enough fully for electric equipment commonly used.
Still need to prove, the bit number that each level width value index coded data takies, and total bit number that level width index coded data string takies also needs to preestablish.
When according to three partial contents in the predefined storage list 2 in turn of putting in order, then can be according to the setting that puts in order of three partial contents in the later stage, and aforesaid bit number occupancy, can from the coded data of storage, obtain all required data of reduction infrared encoded signal.Putting in order of three partial contents is not to be defined in the form that table 2 provides, and can arrange according to the order of arbitary convention, and later stage order is according to a preconcerted arrangement resolved coded data and got final product.
Also need to prove, owing to implied the total number of level in the infrared coding control signal in the level width index coded data string, so the total number of the level in table 1 and the table 2 can not need.
Also need to prove, owing to do not contain steering signal in some infrared encoded signal, so the pilot codes in the second portion neither be necessary.
Embodiment one
Based on above-mentioned concrete example, the learning method of a kind of telepilot infrared encoded signal that embodiment one provides comprises the steps:
Step 1, be recorded in the level width value of at least two pilot codes that receive successively before the infrared coding control signal respectively;
At least two pilot codes are that high-low level alternately occurs, and wherein first pilot codes is high level, and last pilot codes is low level, if there is not steering signal, then this step can be omitted.
The infrared coding control signal that the telepilot that step 2, reception will be learnt sends, obtain the carrier cycle of infrared coding control signal, and high level and low level appearance order and level width value in the infrared coding control signal, what wherein occur for the first time in the infrared coding control signal is high level;
Step 3, according to the size of all level width values that obtain, big or small identical level width value wherein is encoded to level width coding data, and all level width coding data are combined as level width coding serial data, the byte number that each level width coding data takies is first setting value, and the total bytes that level width code data string takies is second setting value;
Step 4, putting in order according to each level width coding data in the level width coding serial data, determine the ranking of each high level or low level level width value correspondence in level width coding serial data, the ranking of determining is encoded in proper order according to each high level and low level appearance and be combined as level width index coded data string, the byte number that the coded data of each ranking takies is the 3rd setting value;
Step 5, carrier cycle is encoded to the carrier cycle coded data, the byte number that the carrier cycle coded data takies is the 4th setting value;
Step 6, the level width value of at least two pilot codes is encoded respectively and be combined into pilot codes coded data string, the byte number that each pilot codes coded data takies is the 5th setting value, and the total bytes that pilot codes coded data string takies is the 6th setting value
Step 7, according to setting sequential combination level width coding serial data, carrier cycle coded data, pilot codes coded data string and level width index coded data string, form the coded data of telepilot infrared encoded signal.
Certainly, can also add up all high level and low level total number, and total number is encoded to total number coded data, the byte number that total coded data takies is the 7th setting value; And in the signal coded data, comprise total number coded data.
Embodiment one provides a kind of launching technique of corresponding telepilot infrared encoded signal according to the signal coded data, comprises the steps:
Step 1, from the coded data of infrared encoded signal, obtain level width coding serial data, pilot codes coded data string, carrier cycle coded data and level width index coded data string;
Concrete:
According to the putting in order in the signal coded data of first in the table 1, the byte number that each level width coding data takies, the total bytes that level width code data string takies, obtain level width coding serial data, and each level width code data;
According to the putting in order in the signal coded data of second portion in the table 1, the total bytes that the byte number that the byte number that the bit number that the coded data of total number of level takies, carrier cycle coded data take, each pilot codes coded data take and pilot codes coded data string take obtains coded data, carrier cycle coded data and each pilot codes coded data of the total number of level respectively.
According to the putting in order in the signal coded data of third part in the table 1, the byte number that each level width index coded data takies, the total bytes that level width index coded data string takies is determined the level width index coded data of the level width of each;
Step 2, determine each high level and low level level width and shooting sequence in the infrared coding control signal;
In level width index coded data string, according to each high level and the tactic level width of the appearance of low level in infrared coding control signal index coded data, and the level width coding data in the corresponding ranking in the level width coding serial data, determine each high level and low level level width and shooting sequence in the infrared coding control signal;
Step 3, determine the carrier frequency of emission telepilot infrared coding control signal according to the carrier cycle coded data;
Step 4, according to each high level in the infrared coding control signal and low level level width and shooting sequence, launch high level and the low level signal that steering signal and infrared coding control signal comprise successively according to carrier frequency.
If comprise steering signal in the infra-red code signal, then also need according to pilot codes coded data reduction steering signal and before control signal, send.
Embodiment two
Further for saving amount of coded data, can also set up level width value coded data as shown in table 3 below and the mapping table between the index for the telepilot that a quilt is learnt:
Table 3.
Level width value index Level width value coded data
001 Level width value coded data 1
010 Level width value coded data 2
011 Level width value coded data 3
100 Level width value coded data 4
101 Level width value coded data 5
...... ......
Unified level width value coded data and the index deposited in mapping table, do not need in the coded data of each infrared encoded signal, to preserve again level width code data string, the bit number that index value in the mapping table takies rule of thumb is worth definite, and the level width value that satisfies maximum quantity gets final product.
Based on this, the learning method of executing a kind of telepilot infrared encoded signal that example two provides specifically comprises the steps:
Step 1, receive the infrared coding control signal that the telepilot that will learn sends, obtain the carrier cycle of infrared coding control signal, and high level and low level appearance order and level width value in the infrared coding control signal;
In the infrared coding control signal, high-low level alternately occurs, and what occur for the first time is high level.
Each level width value that step 2, judgement obtain all has been recorded in the mapping table of level width value coded data and level width value index, if then carry out next step 4, otherwise execution in step 3;
Step 3, in mapping table, add coded data and the level width value index thereof of the level width value be not recorded, continue next step 4;
Step 4, determine each high level or low level level width value corresponding level width value index and encoding in mapping table;
Step 5, according to each high level and low level appearance order level width value index coded data is combined as level width index coded data string;
Wherein: the byte number that the coded data of each ranking takies is the 3rd setting value;
Step 6, carrier cycle is encoded to the carrier cycle coded data;
Wherein: the byte number that the carrier cycle coded data takies is the 4th setting value;
Step 7, according to setting sequential combination carrier cycle coded data and level width index coded data string, form the coded data of telepilot infrared encoded signal.
Further, before receiving the telepilot infrared coding control signal that to learn, can also comprise: the level width value that is recorded at least two pilot codes that receive successively before the infrared coding control signal respectively, wherein at least two pilot codes comprise the high-low level that alternately occurs, first pilot codes is high level, and last pilot codes is low level;
Also comprise before forming the coded data of telepilot infrared encoded signal: the level width value of at least two pilot codes is encoded respectively and be combined into pilot codes coded data string, the byte number that each pilot codes coded data takies is the 5th setting value, and the total bytes that pilot codes coded data string takies is the 6th setting value; And
In the coded data of outside line telepilot infrared encoded signal, also comprise pilot codes coded data string in the setting ordering.
Further, when receiving the telepilot infrared coding control signal that to learn, also can also comprise: all high level of accumulative total and low level total number; And
The coded data that forms the telepilot infrared encoded signal also comprises before: total number is encoded to total number coded data, and the byte number that total coded data takies is the 7th setting value; And
In the coded data of outside line telepilot infrared encoded signal, also comprise total number coded data in the setting ordering.
According to above-mentioned learning method, the launching technique of a kind of telepilot infrared encoded signal that the embodiment of the invention two provides comprises the steps:
Step 1, from the coded data of telepilot infrared encoded signal, obtain carrier cycle coded data and level width index coded data string;
The concrete byte number that takies according to the coded data of putting in order of setting, each ranking, and the byte number that the carrier cycle coded data takies determines carrier cycle coded data and the position of level width index coded data string in coded data, and obtains the data coding that needs from the relevant position.
The index that comprises each high level and low level level width value in the infrared coding control signal in the level width index coded data string, and according to each high level and low level the appearance in the infrared coding control signal is arranged in proper order.
Step 2, determine each high level and low level level width value and shooting sequence in the infrared coding control signal;
Concrete, according to the level width index coded data in the level width index coded data string, from mapping table, find out the level width value coded data of each high-low level, and according to the putting in order of level width index coded data in the level width index coded data string, determine each high level and the low level appearance order in the infrared coding control signal.
Step 3, determine the carrier frequency of emission telepilot infrared coding control signal according to the carrier cycle coded data;
Step 4, according to each high level in the infrared coding control signal and low level level width value and shooting sequence, launch high level and low level signal successively according to carrier frequency.
Further, if also comprise pilot codes coded data string in the coded data, then also the desired location from the coded data of telepilot infrared encoded signal obtains pilot codes coded data string; And before the emission infrared coding control signal, according to the signal of at least two pilot codes of transmit frequency.
Further, if also comprise the coded data of all high level and low level total number in the coded data, then also the desired location from the coded data of telepilot infrared encoded signal obtains the coded data of all high level and low level total number; And when launching high level and low level signal successively according to carrier frequency, according to total number of total number coded data correspondence, determine high level and low level total number of launching.
Embodiment three
When needing the infrared encoded signal of different remote of a plurality of equipment of study, further for saving amount of coded data, can also set up level width value coded data as shown in table 4 below and the mapping table between the index:
Table 4.
Figure GDA0000160016940000271
Figure GDA0000160016940000281
Wherein, level width value index comprises group number and numbering, and group number is illustrated in the level width value that study is first arrived in the infrared encoded signal, the sequencing that number-mark level width value is learned in this infrared encoded signal.Concrete, in first infrared encoded signal study to the group number of level width value be 00, all study to four level width value serial numbers be 00,01,10,11.The follow-up varying level width value sequential organization group number that study is arrived in other infrared encoded signal, for example in second infrared encoded signal, learn to 6 level width values, wherein four identical with the level width value that arrives of study in first infrared encoded signal, repeated storage no longer, only storage is wherein different two, and respective settings group number 01 and number 00,01, and the like.Be combined as complete level width value index by group number and numbering like this, be used for distinguishing each different level width value.
Unified level width value coded data and the index deposited in mapping table, do not need in the coded data of each infrared encoded signal, to preserve again level width code data string, the bit number that index value in the mapping table takies rule of thumb is worth definite, and the level width value that satisfies maximum quantity gets final product.Compare embodiment two, can further save storage space.
The study of infrared encoded signal and step of transmitting can repeat no more here referring to the description of embodiment three.
Embodiment four
Considering that the identical probability of level width value that occurs in the unlike signal of different remote is very high, also can be that group is set up level width value coded data as shown in table 5 below and the mapping table between the index with the infrared encoded signal:
Table 5.
Figure GDA0000160016940000282
Figure GDA0000160016940000291
Wherein, one group of level width value numbering for study in different infrared encoded signal is arrived is called level width value index group number, does not have at least one level width value inequality between a plurality of level width values on the same group.Like this in learning process, if the level width value that occurs in the infrared encoded signal that is being learnt by wherein one group all contain, then can utilize the information that has been recorded in the table 5 to encode, otherwise in table 5, encode again behind one group of new level width value of record.
The coded format example is as shown in table 6 below, in the signal coded data, increase a level width value index group number coding, be used for the group number in the corresponding level width value coded data of table 5 inquiry, further according to level width value index coded data string, determine each high level or low level level width value one by one again.Compare with embodiment four, although increased level width value index group number coding in the signal coded data, but the bit number that each level width value index takies can correspondingly reduce, and total data volume is corresponding minimizing also, thereby has further saved storage space.
Table 6
Figure GDA0000160016940000292
Be also to comprise in the mapping table, the group number for the coded data according to the one group of level width value that records in the same infrared encoded signal arranges does not have at least a level width value coded data inequality in a plurality of level width value coded datas on the same group; And in the infrared encoded signal coded data, also comprise: the group number coded data that contains all level width value coded data respective sets in the control signal of this infrared encoded signal.
The study of infrared encoded signal and step of transmitting can repeat no more here referring to the description of embodiment three.
Based on above-mentioned principle, shown in Fig. 2 b, the universal remote control in a kind of intelligent home control system that the embodiment of the invention provides comprises:
Display module 21, the interface is controlled in the operation that is used for the demonstration intelligent home control system; The display module of telepilot can be liquid crystal touch screen, and is designed to the control interface of icon drag, is convenient to operation.
Close range wireless communication module 22 is used for realizing wireless near field communication;
Infrared signal transceiver module 23, the telepilot that is used for the reception intelligent home device sends infrared encoded signal and the forwarding of different control functions;
First embedded microprocessor 24, connect display module 21 by the LCD data bus, and by signal wire connection infrared signal transceiver module 23, be used for according to the infrared encoded signal learn command of controlling the interface input by the operation of display module, detect the high level or low level rising edge and the negative edge that comprise in the infrared encoded signal of infrared signal transceiver module reception, replace high level and low level level width value and the appearance order that occurs according to the testing result record, generate the coded data of the infrared encoded signal of respectively controlling the function correspondence according to the record result, and when receiving the operation information of remote control home equipment by operation control interface, infrared encoded signal coded data according to control function correspondence, generate corresponding steering order and output, wherein: what occur for the first time in the infrared coding control signal is high level;
Second embedded microprocessor 25, be connected between first embedded microprocessor 24 and the close range wireless communication module unit 22 by serial line interface respectively, also send by close range wireless communication module 22 for receiving first steering order that embeds the processing 24 devices output that declines.
Further first embedded microprocessor 24 specifically comprises:
Record sub module, be used for connecting the infrared signal transceiver module by signal wire, according to the infrared encoded signal learn command of importing by the operation control interface of module, detect the high level or low level rising edge and the negative edge that comprise in the infrared encoded signal of infrared signal transceiver module reception, replace high level and low level level width value and the appearance order that occurs according to the testing result record;
The coding submodule is used for according to recording the coded data that the result generates the infrared encoded signal of respectively controlling the function correspondence;
Sub module stored is for the coding result of memory encoding submodule;
The reduction submodule, be connected second embedded microprocessor by serial line interface, when being used for receiving the operation information of remote control home equipment by operation control interface, from sub module stored, obtain the infrared encoded signal coded data of respective control function, generate corresponding steering order and export to second embedded microprocessor.
According to aforesaid infrared signal coding principle and reduction principle, the coding submodule specifically comprises:
Be used for the size according to all level width values that obtain, big or small identical level width value wherein is encoded to level width coding data, and all level width coding data are combined as the unit of level width coding serial data, the byte number that each level width coding data takies is first setting value, and the total bytes that level width code data string takies is second setting value;
Be used for putting in order according to level width coding each level width coding data of serial data, determine the ranking of each high level or low level level width value correspondence in level width coding serial data, the ranking of determining encoded and according to each high level with low levelly the unit that sequential combination is level width index coded data string occurs, the byte number that the coded data of each ranking takies is the 3rd setting value;
Be used for carrier cycle is encoded to the unit of carrier cycle coded data, the byte number that the carrier cycle coded data takies is the 4th setting value;
Be used for forming the unit of the coded data of telepilot infrared encoded signal according to setting sequential combination level width coding serial data, carrier cycle coded data and level width index coded data string; And
The reduction submodule specifically comprises:
Be used for according to putting in order of setting, the byte number that each level width coding data takies, the total bytes that level width code data string takies, the byte number that the coded data of each ranking takies, and the byte number that takies of carrier cycle coded data, from the coded data of telepilot infrared encoded signal, obtain level width coding serial data, the unit of carrier cycle coded data and level width index coded data string, wherein, level width coding serial data comprises a plurality of level width value codings that size is inequality, the coded data that comprises each high level and low level level width value corresponding ranking in level width coding serial data in the infrared coding control signal in the level width index coded data string, and according to each high level and low level the appearance in the infrared coding control signal is arranged in proper order;
Be used for according to level width index coded data string, according to each high level and the tactic level width of the appearance of low level in infrared coding control signal index coded data, and the level width coding data in the corresponding ranking in the level width coding serial data, determine the unit of each high level and low level level width and shooting sequence in the infrared coding control signal;
Be used for determining according to the carrier cycle coded data unit of the carrier frequency of emission telepilot infrared coding control signal;
Be used for according to each high level of infrared coding control signal and low level level width and shooting sequence, export high level and low level unit successively according to carrier frequency.
Perhaps, the coding submodule specifically comprises:
Be used for when each the level width value that obtains all has been recorded in the mapping table of level width value coded data and level width value index, carrying out next step, otherwise continue the unit of next step behind the coded data of the level width value that interpolation is not recorded in mapping table and the level width value index thereof;
For determining each high level or low level level width value at the level width value index of mapping table correspondence and encoding, according to each high level and low level appearance order level width value index coded data is combined as the unit of level width index coded data string, the byte number that the coded data of each ranking takies is the 3rd setting value;
Be used for carrier cycle is encoded to the unit of carrier cycle coded data, the byte number that the carrier cycle coded data takies is the 4th setting value;
Be used for forming the unit of the coded data of telepilot infrared encoded signal according to setting sequential combination carrier cycle coded data and level width index coded data string; And
The reduction submodule specifically comprises:
Be used for the byte number that the coded data according to putting in order of setting, each ranking takies, and the byte number that takies of carrier cycle coded data, from the coded data of telepilot infrared encoded signal, obtain the unit of carrier cycle coded data and level width index coded data string, wherein, the index that comprises each high level and low level level width value in the infrared coding control signal in the level width index coded data string, and according to each high level and low level the appearance in the infrared coding control signal is arranged in proper order;
Be used for according to level width index coded data string, according to each high level and the tactic level width of the appearance of low level in infrared coding control signal index coded data, and the mapping table of level width value coded data and level width value index, determine the unit of each high level and low level level width value and shooting sequence in the infrared coding control signal;
Be used for determining according to the carrier cycle coded data unit of the carrier frequency of emission telepilot infrared coding control signal;
Be used for according to each high level of infrared coding control signal and low level level width value and shooting sequence, launch the unit of high level and low level infrared encoded signal according to carrier frequency successively.
The intelligent home control system that the embodiment of the invention provides, purpose are to realize the unified control of home equipment, for example:
TV remote controller study and the principle of controlling by system:
By having the telepilot of infrared learning function, learn original TV remote controller infrared coding;
For the infrared encoded signal of learning the back and be stored on the corresponding home equipment controller is worked out a code;
Corresponding control terminal has the power line carrier module and can connect line of electric force, and has memory module in order to storage and synchronous infrared coding and its code of corresponding home equipment controller; And has infrared transmission module;
Telepilot finish study and and corresponding home equipment controller synchronously after, only preserve the code that corresponding home equipment controller is given.
Telepilot sends to sensing repeater with control routine by close range wireless communication according to user instruction; The sensing repeater is transmitted to corresponding home equipment controller; Corresponding home equipment controller is transmitted to corresponding control terminal; Corresponding control terminal is according to the corresponding infrared coding of receiving of code emission.
Automatically control example as:
Suppose, connect optical sensor, temperature sensor, humidity sensor, human body sensor on the sensing repeater;
Suppose that corresponding home equipment controller such as door and window control, curtain control, air-conditioning control, light control has been installed by system; Emphasized strong when optical sensor collects illumination; Human body sensor collects indoor unmanned; Temperature sensor collects temperature and suits; Humidity sensor collects humidity and suits; At this moment, each corresponding home equipment controller can both receive that the sensing repeater sends information; Need carry out following control:
Because indoor unmanned, door and window can be in (locking) state of closing;
Because intensity of illumination is too high, curtain can be pulled on automatically;
Because temperature is suitable, air-conditioning quits work;
Because indoor unmanned, and intensity of illumination is too high, and illuminator is closed;
To collect intensity of illumination low excessively when optical sensor; Human body sensor collects the indoor people of having; Temperature sensor collects temperature and crosses cold or overheated; Humidity sensor collects humidity height (arriving the rainfall standard); At this moment, each corresponding home equipment controller can both receive that the sensing repeater sends information; Need following control:
Because indoor have a people, door can be in unlatching (not locking) state;
Because just in rainfall, window can be in closed condition;
Because intensity of illumination is low excessively, curtain can be opened automatically;
Because temperature is crossed cold or overheated, air-conditioning is started working;
Because indoor have the people, though intensity of illumination is low excessively, after opening, curtain may intensity of illumination can change, illuminator is awaited orders;
By above description as seen, automatically control singly is not according to the different corresponding home equipment controller of environmental data control, and each corresponding home equipment controller also can offer other corresponding home equipment controller as a kind of environmental data, selects exectorial reference frame as it.
The intelligence lamp control system
Specific implementation with the lamp control system in the Smart Home control is that example is elaborated below.In the present embodiment, remote command can directly be controlled the light fixture control terminal.
The embodiment of the invention provides a kind of lamp control system, can be used in the household, also can be used in the office space of a plurality of workplaces, is used for control and is distributed in the not light fixture of chummery, and the light fixture control mode generally has following four kinds of demands:
■ controls light fixture by the light fixture control interface of hand-held remote controller;
■ controls light fixture by login remote web page control interface;
■ controls light fixture by the physics hand switch;
■ controls the carrying out of light fixture automatically according to the control model of setting.
Wherein, first three kind demand is manually control, and last a kind of demand is control automatically.
Also be elaborated by reference to the accompanying drawings with specific embodiment below.
Shown in Fig. 3 a, the embodiment of the invention is at first for realizing first kind of light fixture demand for control, the lamp control system that provides mainly comprises: telepilot 31, be arranged at least one the sensing repeater 32 in the chummery not, and at least one light fixture control terminal 33 of controlling each light fixture state, wherein:
Adopt the short distance wireless communication technology to communicate between telepilot 31 and the sensing repeater 32, for example use the free frequency range of public 2.4G to carry out wireless near field communication, and pass through power line network between sensing repeater 32 and the light fixture control terminal 33, the use power carrier signal communicates, at first, first function that the lamp control system that the embodiment of the invention provides is realized is: in any one room all, the user can understand the state of the different lamps that is distributed in each room by the control interface of hand-held remote controller 31, and can utilize the control interface of telepilot 31 that light fixture is controlled, each device need possess following function accordingly:
Telepilot 31, be used for receiving the operation information that the user controls the light fixture state, generate corresponding lamp remote-control instruction and use the short distance wireless communication technology to send to sensing repeater 32 according to operation information, and receive the light fixture state updating information of using the short distance wireless communication technology to transmit;
Sensing repeater 32, use the short distance wireless communication technology to communicate by letter with telepilot 31, and connection power line network, be used for receiving the telecommand that telepilot 31 sends, and by the instruction of power line network transmission lamp remote-control, and the light fixture state updating information that receives the power line network transmission, preserve the light fixture state updating information and use the short distance wireless communication technology to be transmitted to telepilot 31;
Light fixture control terminal 33, connect power line network, be used for the lamp remote-control instruction that the reception power line network transmits, resolve the lamp remote-control instruction and control the light fixture state according to analysis result, and when the light fixture state changes, transmit the light fixture state updating information by power line network.
Pass through said system, when being arranged on sensing repeater 32 in any one room and receiving the lamp remote-control instruction of telepilot 31, transmit by power line network in the capital, light fixture control terminal 33 receives the light fixture telecommand by power line network, instruction is resolved to lamp remote-control, if analysis result is that the light fixture of oneself controlling is controlled, carry out the instruction of this lamp remote-control and when the state of controlled corresponding light fixture changes, by power line network the light fixture state updating information is returned to telepilot 31, the state of all light fixtures of telepilot 31 record also in time upgrades recorded information according to the light fixture state updating information that receives, thereby makes the user understand the current state of all light fixtures and control as required by the control interface of telepilot 31.
Further for realizing second kind of demand of light fixture being controlled by the Long-distance Control webpage, the lamp control system that the embodiment of the invention provides, can also comprise: master controller 35, and be connected lamp controller 34 between power line network and the master controller 35, wherein:
Master controller 35 receives the long-range light fixture steering order of submitting to by the Long-distance Control webpage and is transmitted to lamp controller 34 as telnet server;
Lamp controller 34 also is used for transmitting long-range light fixture steering order by power line network;
Light fixture control terminal 33 also is used for receiving power line network and transmits long-range light fixture steering order, resolves long-range light fixture steering order and controls the light fixture state according to analysis result;
Lamp controller 34 also is used for receiving the light fixture state updating information of power line network transmission, and is transmitted to master controller 35.
For realizing the third demand for control, the lamp control system that the embodiment of the invention provides further comprises: the lamp switch of each light fixture, be connected between earth terminal and the corresponding light fixture control terminal 33, the level value that light fixture control terminal 33 detects by the lamp switch input, when level value is high level, the control light fixture is closed, otherwise the control light fixture is opened.
At last for realizing the 4th kind of automatic demand for control of light fixture being set pattern according to the ambient condition sensing data, the lamp control system that the embodiment of the invention provides can also comprise: sensor, connect sensing repeater 32, be used for gathering the ambient condition sensing data and sending to sensing repeater 32;
Sensing repeater 32 also is used for by power line network the ambient condition sensing data being transferred to lamp controller 34;
Lamp controller 34 also is used for generating automatic steering order according to the automatic control mode of ambient condition sensing data and setting, and is transferred to lamp controller 34 by power line network;
Light fixture control terminal 33 also is used for receiving the automatic steering order that power line network transmits, and resolves automatic steering order and controls the light fixture state according to analysis result.
For example when environment temperature or humidity reach setting range, open light fixture, close light fixture or adjust lamp brightness etc., the user can set the automatic control mode that needs as required flexibly, and disposes corresponding temperature sensor, humidity sensor, optical sensor and infrared human body induction pick-up etc.
Below with the lamp control system of realizing above-mentioned four kinds of demands simultaneously as preferred embodiment, describe the present invention in detail.Wherein, the short distance wireless communication technology between telepilot 31 and the sensing repeater 32 is specially the 2.4G wireless network, and steering order and state updating information are transmitted with the packets of information of setting form.
First. the management of equipment and light fixture
For realizing equipment such as sensing repeater 32, light fixture control terminal 33, and the management of light fixture, can be on telepilot 31 in advance according to the house type distribution plan of application luminaire control system, the design management interface, in the facility registration process, for being installed in the not corresponding room rate sign indicating number of devices allocation and the device code of chummery, when light fixture control terminal 33 is controlled each light fixture, also further divide gamete light fixture sign indicating number for each light fixture, telepilot 31 is recorded in the device distribution information the allocation result distribution, and gives master controller 35 with the device distribution information synchronization.By administration interface, can when initialization or newly added equipment, equipment be added in the lamp control system, also can dismounting equipment after, deletion relevant device and relevant light fixture from system.Be elaborated below:
1). sensing repeater 32 is added in the lamp control system
A sensing repeater 32 is put in each room generally speaking, is used for gathering the environmental variance sensing data in this room and the forwarding of packets of information.Must register sensing repeater 32 earlier in the lamp control system, could register other light fixture control terminals 33, light fixture and sensor and be registered in this room.
Shown in Fig. 3 b, it is as follows that a sensing repeater 32 is registered to a certain room process:
1. by the human-computer interaction interface of telepilot 31, set up the house type distribution plan of using this lamp control system, and distribute house code automatically for the room.
2. unregistered sensing repeater 32 powers on, and sensing repeater 32 sends registration request bag by the 2.4G wireless network to telepilot 31.
3. after telepilot 31 receives registration request bag, by the interface prompt user sensing repeater 32 request registration are arranged, the user by interface operation with 32 drag and drop of sensing repeater to the corresponding room, automatically be sensing repeater 32 distributing equipment sign indicating numbers, and allocation result is kept in the local facility information;
4. after telepilot 31 main users click the accreditation verification button, to sensing repeater 32 transmitting apparatus registration respond packet, wherein comprise house code and device code by the 2.4G wireless network.
5. after sensing repeater 32 is received the facility registration respond packet, telepilot 31 is kept in the device distribution information for the house code of its distribution and device code, and is labeled as registered state;
6. sensing repeater 32 sends the bag that succeeds in registration to telepilot 31;
7. telepilot 31 receives the bag that succeeds in registration.
Can successively each sensing repeater 32 be added in each room of lamp control system according to above order.
2). a light fixture control terminal 33 is added in this lamp control system, and set up corresponding relation with the actual physics light fixture of controlling
Each light fixture can also use switch enclosure to realize manually control, in the lamp control system provided by the invention, according to the light fixture of controlling, the corresponding light fixture control terminal 33 of each switch enclosure arranges, corresponding light fixture control terminal 33 device numbers of light fixture control terminal 33 configurations.Because a switch enclosure can comprise a plurality of switches, be respectively applied to control different light fixtures, therefore the light fixture of each switch control in the switch enclosure can be in control flow corresponding logic light fixture, each logic light fixture, a sub-light fixture number can be disposed, a logic light fixture can be uniquely determined by light fixture control terminal 33 device numbers, house code and sub-light fixture number (for example from 1 to 4).
Shown in Fig. 3 c, the flow process that first logic light fixture on the light fixture control terminal 33 is registered in the lamp control system comprises the steps:
1. the switch that connects on the action light fixture control terminal 33, light fixture control terminal 33 sends registration request bag and sends by power line network;
2. sensing repeater 32 receives registration request bag by power line network;
3. sensing repeater 32 request of will registering is wrapped and is forwarded in the telepilot 31 by the 2.4G wireless network;
4. after telepilot 31 receives registration request bag, by the interface prompt user light fixture request registration is arranged, and pass through interface operation the user, behind the relevant position with the corresponding room of lamp drag and drop, be light fixture control terminal 33 automatic distributor light fixture control terminal 33 device codes and sub-light fixture number, and allocation result is recorded in the local facility information of preserving;
5. after telepilot 31 main users click the accreditation verification button, by the 2.4G wireless network registration respond packet is sent to sensing repeater 32;
6. sensing repeater 32 should be registered respond packet and send to light fixture control terminal 33 by power line network, wherein comprised room number, device code and the sub-light fixture number in room, light fixture control terminal 33 place;
7. after light fixture control terminal 33 is received the registration respond packet, wherein room number, device code and sub-light fixture number are saved in the device distribution information of local record, and the corresponding light fixture of mark is registered state;
8~9. light fixture control terminals 33 send the bag that succeeds in registration by sensing repeater 32 to telepilot 31, and after telepilot 31 was received the bag that succeeds in registration, the logic light fixture succeeded in registration.
10~12. light fixture control terminals 33 are undertaken the device distribution information of oneself record synchronously by power line network broadcasting.
The registration process of other logic light fixtures in the light fixture control terminal 33 is similar, and difference has: in the first step, and the device code that the light fixture in the registration request that light fixture control terminal 33 sends has distributed when being numbered first registration; In second step, lamp control system no longer is light fixture control terminal 33 distributing equipment sign indicating numbers.Just all logic light fixtures can be registered in the lamp control system by above method.
3). a logic light fixture is deleted from lamp control system
With reference to the register flow path synoptic diagram, its concrete course of work is as follows:
In the light fixture administration interface of telepilot 31, the light fixture that selection will be deleted, click delete button then, telepilot 31 sends to sensing repeater 32 by the 2.4G wireless network with light fixture removal request bag, by sensing repeater 32 this packet is forwarded in the corresponding light fixture control terminal 33 by power line network again.
After light fixture control terminal 33 is received the light fixture removal request, change this lamp into unregistered state, simultaneously house code is set to 0; If deletion is last light fixture of this terminal, also device code is set to 0, represent that this device code is for empty; Light fixture control terminal 33 sends light fixture by sensing repeater 32 to telepilot 31 and deletes successfully bag then, and when the device distribution information that oneself records changes, is broadcast to power line network again and carries out synchronously.
Telepilot 31 is deleted this light fixture after receiving that deletion is successfully wrapped from lamp control system, and upgrades local device distribution information of preserving.
4). a sensing repeater 32 is deleted from lamp control system.
Sensing repeater 32 is data acquisition and the retransmission centers in a room, must register sensing repeater 32 earlier in the lamp control system, could register other light fixtures in this room.For security and maintainable consideration, if the sensing repeater 32 in a room is deleted, all light fixtures in this room also will be deleted from lamp control system.With reference to the register flow path synoptic diagram, its concrete course of work is as follows:
Telepilot 31 selects to delete the sensing repeater 32 in room in the light fixture administration interface, click delete button then, and telepilot 31 sends light fixture removal request bag to the sensing repeater 32 in this room.
This sensing repeater 32 sends to all light fixture removal request bags of room in each light fixture control terminal 33 by the mode of power line network broadcasting.
After light fixture control terminal 33 is received all light fixture removal request bags of room of being broadcasted by sensing repeater 32, detect the light fixture whether this room is arranged, change this light fixture into unregistered state if having, and to put house code be 0, if this light fixture is last light fixture in this light fixture control terminal 33, putting its device code is 0.When light fixture control terminal 33 changes in the device distribution information that oneself records, be broadcast to power line network again and carry out synchronously.
This sensing repeater 32 is set to unregistered state after receiving the deletion respond packet of all light fixtures in this room, and to put house code be 0, and device code is 0, and successfully wraps to the deletion that telepilot 31 sends sensing repeaters 32.
After telepilot 31 receives that sensing repeater 32 is deleted successfully, from lamp control system, this sensing repeater 32 is deleted, and upgraded local device distribution information of preserving.
Sensing repeater 32 can the light fixture control terminal 33 that only synchronous and own house code is identical status information of equipment, only preserve the status information of equipment with the light fixture control terminal 33 in own same room like this on each sensor.Sensing repeater 32 also can all carry out the device distribution information of all light fixture control terminal 33 broadcasting synchronously, and the device distribution information on each repeater is the distributed intelligence of total system complete device like this.
Through above-mentioned synchronizing process, in can maintenance system on actual device distribution and sensing repeater 32, the telepilot 31 the device distribution information of record be consistent.
Certainly, device distribution information also can only be stored on the telepilot 31, and status information of equipment mainly is stored in sensing repeater 32.
Second portion. the lamp operation control section
The control that this part content is mainly introduced light fixture control terminal 33 realizes, and how to realize that actual light fixture status information is with the light fixture state synchronization in telepilot 31, the remote web page control interface.
As previously mentioned, the control mode of light fixture has following four kinds of approach, and first three is planted control mode and is manual control mode.Then light fixture has following six kinds of states:
Automatically turn on light, turn off the light automatically, with an automatic light meter, manually turn on light, manually turn off the light, manually light modulation;
First three plants lamp state is the state that takes place when lamp is in automatic control mode, and back three kinds of states are states that lamp takes place when being in manual control model.
Transmission course to the light fixture state updating information bag of lamp control system registration is:
After light fixture control terminal 33 receives lamp control command (comprising lamp remote-control order and remote control command), switch or the light modulation of control lamp, and by the current state information bag of power line network to light control lamp controller 34 and sensing repeater 32 these lamps of transmission.
After the sensing repeater 32 (sensing repeater 32 is safeguarded the last state of all light fixtures of room, place) in room, light fixture control terminal 33 place is received light fixture state updating information bag, send the condition responsive bag to light fixture control terminal 33, and the lamp state data packets is forwarded in the telepilot 31; And after the sensing repeater 32 in other rooms receives light fixture state updating information bag, by the 2.4G wireless network light fixture state updating information bag is dealt into telepilot 31.
Lamp controller 34 is forwarded to master controller 35 with this packet after receiving light fixture state updating information bag, can show correct lamp state accordingly in the remote web page control
After master controller 35 is received light fixture state updating information bag, upgrade the state of this lamp in the buffer memory, and send the condition responsive bags to the sensing repeater 32 in the room at this lamp place.
After telepilot 31 is received light fixture state updating information bag, upgrade the state of this lamp in the buffer memory, and the sensing repeater 32 transmission lamp condition responsive bags by wireless room to this lamp place.If will be forwarded in the sensing repeater 32 in room, light fixture place by line of electric force after the sensing repeater 32 in other rooms is received lamp condition responsive bag.
If the sensing repeater 32 in room, light fixture place is not received the condition responsive bag of master controller 35 or telepilot 31, with the retransmission mechanism that starts in the sensing repeater 32, guarantee that master controller 35 and telepilot 31 can both receive light fixture state updating information bag.
Introduce concrete light fixture control procedure in all cases below respectively:
1). by physics hand switch control light fixture process
Referring to shown in Figure 1, when the physics hand switch on the action light fixture control terminal 33 was controlled opening or closing of light fixture, light fixture control terminal 33 can detect the level of physics hand switch one end, closes light fixture during high level, opens light fixture during low level.And carry out the renewal of light fixture state and system's control model mode to telepilot 31 and master controller 35 according to the state variation of light fixture.
Because the physics hand switch no longer directly links to each other with electric power networks, thereby can not bring Danger Electric shock risk to the operation user, improve the security of manual control light fixture.
2). the light fixture control interface by telepilot 31 is controlled light fixture
The light fixture that selection will be controlled in the light fixture control interface of telepilot 31, select control command (manually to turn on light, manually turn off the light, manually light modulation, manual pattern is switched), and command packet sent to sensing repeater 32 by the 2.4G wireless network, be forwarded in the light fixture control terminal 33 by sensing repeater 32 again, control light fixture by light fixture control terminal 33 controls at this lamp place according to order, and send the status information bag of response.Operational order can for: manually turn on light, manually turn off the light, manually light modulation is turned on light automatically, is turned off the light automatically, six orders with an automatic light meter.
3). by remote web page control interface light fixture is controlled
The light fixture that selection will be controlled in the light fixture control interface of user in webpage, select control command (manually to turn on light, manually turn off the light, manually light modulation, manual pattern is switched), master controller 35 sends to lamp controller 34 with command packet, sent in the corresponding light fixture control terminal 33 by power line network by lamp controller 34 again, control light fixture by light fixture control terminal 33 controls at this lamp place according to order, and send the status information bag of response.
4). the control that lamp controller 34 carries out light fixture by automatic control mode
Lamp controller 34 is according to the variable data of automatic control mode and current room environment, automatically control being in light fixture under the automatic mode (namely send turn on light automatically, turn off the light automatically, order with an automatic light meter wrap light fixture control terminal 33), and send the status information of response.Wherein automatic control mode is judged by the ambient condition sensing data that sensing repeater 32 collects based on lamp controller 34, preset threshold before being lower than such as the room monochrome information that collects, then the automatic control mode lamp of turning on this room etc. that plays a role.
In above-mentioned control procedure, as required, in relevant control signaling, carry house code, device code or the sub-light fixture sign indicating number of control object, for sensing repeater 32 or light fixture control terminal 33 identification controlled devices.
Third part. keep room information, device distribution information and light fixture status information thereof in the master controller 35 consistent with reality
Depositing the concrete light fixture information such as (numbering of light fixture, the parameters of position) in house type distribution plan, each room in the telepilot 31, and sensing repeater 32 is being deposited the latest state information of all light fixtures of room, place.Master controller 35 obtains required device distribution information and light fixture status information from telepilot 31, sensing repeater 32.
1). master controller 35 active request obtain the room devices distributed intelligence
Device distribution information (not comprising status information) generally first install or situation that master controller 35 re-powers under use during initialization, during operate as normal, the master controller 35 of lamp control system also can safeguard that automatically device distribution information and the total system actual conditions of oneself preserving are consistent by lamp controller 34 in real time by the device distribution information of electric power networks transmission.
Master controller 35 also can send room light fixture request bag to telepilot 31, if house code is the device distribution information in all rooms of expression request 0, if house code is greater than the device distribution information in this room of expression request 0.
After telepilot 31 is received room light fixture request bag, judge whether house code is 0.
If house code=0, telepilot 31 send the device distribution information in this room to master controller 35.
If house code>0, telepilot 31 sends the device distribution information in each rooms successively to master controller 35, and sends a key turn-on data bag (press a key and can open a plurality of light fixtures that the user has set) at last and represent that the device distribution information in all rooms has sent and finish.
After master controller 35 is whenever received a room devices distributed intelligence bag, to telepilot 31 room devices distributed intelligence respond packet takes place, this information has been received in expression.
After master controller 35 is received a key turn-on data bag, send a key to telepilot 31 and open respond packet, this information has been received in expression.
By above process, master controller 35 obtains all devices distributed intelligence (light fixture type, numbering, position etc.) in a room or a plurality of rooms by the mode of active request.
2). master controller 35 active request obtain the detailed process of room light fixture status information
In the lamp system course of normal operation, master controller 35 can receive the status information of equipment of electric power networks transmission in real time by lamp controller 34, and safeguards that automatically status information of equipment and the total system actual conditions of oneself preserving are consistent.
Master controller 35 also can regularly initiatively send room light fixture state request bag to each sensing repeater 32, if the status information of equipment in house code=all rooms of expression request 0, if the device distribution information in house code>this room of expression request 0.
After each sensing repeater 32 is received room light fixture state request bag, detect whether the house code field is 0
If house code=0, each sensing repeater 32 sends the light fixture status information in room separately to master controller 35 respectively, need to prove, the house code of closing all light fixtures also can be other particular identification code;
If house code>0, only the sensing repeater 32 in this room sends the light fixture status information in room to master controller 35;
After master controller 35 is whenever received a room status information bag, send the room status information respond packet to phase inductive sensing repeater 32, this information has been received in expression.
By above process, master controller 35 obtains the latest state information of the light fixture in a room or a plurality of rooms by the mode of active request.
3). when the maintenance of lamp control system operate as normal to the room devices distributed intelligence in the master controller 35, light fixture status information
Mainly contain the following aspects:
Behind telepilot 31 interpolations or the deletion light fixture, can initiatively send room devices distributed intelligence bags to master controller 35.
After telepilot 31 modifications one key is opened and arranged, can initiatively send key unlatching packets of information to master controller 35.
After any light fixture state changes, all can send the current state information of these light fixtures to master controller 35.
All packets of lamp control system all have retransmission mechanism, to guarantee the reliability of lamp control system communication.
The 4th part. other
1). a key closing function
When the user goes out for a long time or need close whole light fixture because of other reasons, can realize this function by telepilot 31 or by the key X button in the webpage Long-distance Control.
It is as follows to close implementation procedure by telepilot 31 1 keys:
Telepilot 31 sends a key shutdown command bag (if cut out all compartment lamps, then house code=0 to sensing repeater 32; If only close all lamps of room, then house code is corresponding house code).
After sensing repeater 32 is received a key shutdown command bag, to each light fixture control terminal 33 these order of broadcasting, close respond packet to telepilot 31 and master controller 35 transmissions one key by power line network simultaneously.
After each light fixture control terminal 33 is received a key shutdown command, if light fixture is separately then closed in house code=0 or be the house code of oneself.
2). a key open function
The user can release the button by telepilot 31 or by the key in the webpage Long-distance Control and open a plurality of light fixtures (turning on light or light modulation) that pre-set.Its concrete course of work is as follows:
The user arranges the light fixture that needs a key to open by telepilot 31 interfaces, and telepilot 31 can send to master controller 35 to the key information of opening with the form of packet simultaneously, and is synchronous to keep both.
Click the key open command in the telepilot 31, telepilot 31 is according to the open command that sends each light fixture successively is set;
After sensing repeater 32 is received open command, forward the command to corresponding light fixture control terminal 33, open light fixture.
3). the transmission of ambient condition sensing data
Sensing repeater 32 timing acquiring indoor temperatures, humidity, brightness, whether a series of ambient condition sensing datas such as people are arranged, initiatively (or when receiving the sensing data request) mails to lamp controller 34, master controller 35 and telepilot 31 as required.
After lamp controller 34, master controller 35 or telepilot 31 are received the ambient condition sensing data, send the sensing data respond packet to sensing repeater 32.
Each module is introduced in detail
First. the master controller 35 of light fixture intelligence control system
Master controller 35 has two major functions: the one, realize home gateway (home gateway) function, and realize that automatically PPPOE dials up on the telephone; The 2nd, realize telnet server, and communicate by letter with status data with lamp controller 34 realization Smart Home controls.
Shown in Fig. 4 a, master controller 35 primary structures comprise embedded microprocessor 351 and link layer network chip 352, wherein:
Link layer network chip 351 is used for realizing network service;
Embedded microprocessor 352, be used for receiving the long-range light fixture steering order of submitting to by behind the link layer network chip login Long-distance Control webpage, long-range light fixture steering order is sent to lamp controller 34, and receive the light fixture state updating information that lamp controller 34 is transmitted, and according to the described light fixture state updating information status information of new lamp more.
Embedded microprocessor 352 can adopt the ARM9 embedded microprocessor, the link layer network chip can comprise that two 100M Ethernet chip realize the function of home gateway, simultaneously with the logical path of plate level serial data bus spi bus as master controller 35 and lamp controller 34.
Master controller 35 softwares can be with embedded Linux 2.6 versions as the lamp control system platform architecture, open required DHCP service, route service and the PPPOE dial-up service of network service, and having added Lighttpd WEB server, the integrated SPI of bottom drives.Whole master controller 35 software platform structured flowcharts are shown in Fig. 4 b.
Consider that webpage part will call the bottom spi bus and the interface that provides is provided sends with receiving control information to lamp controller 34, thereby adopt the mode development of C language+CGI; Simultaneously because webpage does not have real-time monitoring capacity, the supporting other background monitor that designed with it, carry out information interchange by FIFO (named pipes) and file between the two, when webpage has control information to send, earlier control information is write FIFO, in a single day background monitor is found among the FIFO meaningful, calls SPI driving interface immediately and forwards information to lamp controller 34; Find control information when background monitor and send from the SPI driving, accept at once and write in the file, after webpage refreshes, can from file, read control information, with log-on message and each status information of equipment of correct each equipment of demonstration.
Therefore, a kind of concrete structure of embedded microprocessor 352 comprises shown in Fig. 4 c: webpage control module 3521, the first first-in first-out FIFO storage unit 3522, the 2nd FIFO storage unit 3523 and background monitoring unit 3524, wherein:
Webpage control module 3521, connect link layer network chip 351, be used for to receive the remote operation instruction of submitting to by the Long-distance Control webpage and store a FIFO storage unit 3522 into, and from the 2nd FIFO storage unit 3523, read the light fixture state updating information and flush on the Long-distance Control webpage;
Background monitoring unit 3524, connect lamp controller 34 by serial bus interface, read the remote operation instruction in the FIFO storage unit 3522 successively and send to lamp controller 34, and receive lamp controller 34 and return with the light fixture state updating information and store in the 2nd FIFO storage unit 3523;
Further, the background monitoring unit further is by lamp controller 34 receiving equipment log-on messages and store in the 2nd FIFO storage unit, the webpage control module is fetch equipment log-on message and flushing on the Long-distance Control webpage from the 2nd FIFO storage unit also, so that the user in time understands registration scenarios and the current state of each equipment in the lamp control system.
The Long-distance Control webpage is flexible design as required, can show for the different icon of each room design according to house structure, clicks the light fixture device distribution information inspection page that corresponding room icon can enter corresponding room.The different state of light fixture also can have different icons to show, in webpage, still manually open for opening automatically for distinguishing current turning on light simultaneously, mouse moves to and will have concrete prompting on the icon as " opening automatically " or " manually opening ", and light modulation and turn-off are also distinguished automatically and manually and respectively and pointed out.Click the page that arranges that corresponding lamp icon will enter this light fixture equipment.Current light fixture equipment state can opened automatically, closing automatically, with an automatic light meterly, manual open, close by hand, switch between the manual light modulation.Concrete page designing technique is well known to those skilled in the art, and repeats no more here.
Second portion. lamp controller 34:
The major function of lamp controller 34 is to be responsible for the management of light fixture, realize the Based Intelligent Control of light fixture, simultaneously to power line network transmission network remote control commands, perhaps to master controller 35 feedback light fixture status informations, device distribution information, and according to the automatic control control model of ambient condition sensing data and setting light fixture is controlled automatically.
Shown in Fig. 5 a, lamp controller 34 comprises line of electric force coupling module 341, power line signal processing module 342 and embedded microprocessor 343, wherein:
Power line signal coupling module 341, connect power line network by line of electric force, being used for receiving modulation from power line network has the power line carrier signal of light fixture state updating information and transmits, and the power line carrier signal that receives is coupled transmits to power line network;
Power line signal processing module 342, be used for demodulating the light fixture state updating information and transmitting from the power line carrier signal that power line signal coupling module 341 is transmitted, and be transmitted to power line signal coupling module 341 after the light fixture remote control signal that receives is modulated to the power line carrier signal;
Embedded microprocessor 343, connect power line signal processing module 342 by serial line interface, be used for receiving the light fixture remote control signal and being transmitted to power line signal processing module 342 from the master controller 35 of lamp control system, and the light fixture state updating information that power line signal processing module 342 is transmitted sends to master controller 35.
Further, for realizing the automatic control of 34 pairs of each light fixtures of lamp controller, power line signal coupling module 341 also is used for receiving to modulate the power line carrier signal of ambient condition sensing data being arranged and being transmitted to power line signal processing module 342;
Power line signal processing module 342 is used for demodulating the ambient condition sensing data and being transmitted to embedded microprocessor 343 from the power line carrier signal that power line signal coupling module 341 is transmitted;
Embedded microprocessor 343, also be used for generating automatic steering order according to ambient condition sensing data and automatic control mode, power line signal processing module 342 also is modulated to automatic steering order in the power line carrier signal and is coupled on the power line network by line of electric force coupling module 341 and sends.
Certainly, understand ambient condition in order to make the user pass through master controller 35, embedded microprocessor 343 can also be transmitted to the ambient condition sensing data master controller 35 synchronously to be shown to the user or to inquire about for the user.
For realize device distribution information on the master controller 35 synchronously, power line signal coupling module 341 also is used for receiving modulation to be had the power line carrier signal of device distribution information and is transmitted to power line signal processing module 342;
Power line signal processing module 342 is used for demodulating device distribution information and being transmitted to embedded microprocessor 343 from the power line carrier signal that power line signal coupling module 341 is transmitted;
Embedded microprocessor 343 also is used for device distribution information is transmitted to master controller 35.
Shown in Fig. 5 b, a kind of concrete structure of embedded microprocessor 343 comprises:
First receiving element 3431, the first first-in first-out FIFO buffer 3432 and first processing unit 3433, first receiving element 3431 connects master controller 35 by serial line interface, first processing unit connects power line signal processing module 342 by serial line interface, first receiving element 3431 is used for reading remote control commands successively and send to power line signal processing module 342 by serial line interface from a FIFO buffer 3432 from master controller 35 receiving remote steering orders and according to receiving the storage order of sequential storage to a FIFO buffer 3432, the first processing units according to remote control commands;
Second receiving element 3434, the 2nd FIFO buffer 3435 and second processing unit 3436, second receiving element 3434 connects power line signal processing module 342 by serial line interface, processing unit connects master controller 35 by serial line interface, second receiving element 3434 is used for from power line signal processing module 342 reception data and according to receiving sequential storage to the two FIFO buffers 3435, second processing unit 3436 reads data successively according to the storage order of data from the 2nd FIFO buffer 3435, when the data that read are light fixture state updating information and device distribution information, the data that read are transmitted to master controller 35 by serial line interface, when the data that read are the ambient condition sensing data, generate automatic steering order according to ambient condition sensing data and automatic control mode, and by serial line interface automatic steering order is sent to power line signal processing module 342.
Preferable, shown in Fig. 5 c, second processing unit 3436 specifically comprises: data read subelement, data validation subelement, data are transmitted subelement, are controlled subelement and order transmission subelement automatically, wherein:
The data read subelement connects the 2nd FIFO buffer 3435, is used for reading data and sending to the data validation subelement from the 2nd FIFO buffer 3435 successively according to the storage order of data;
The data validation subelement, when be used for confirming that data that the data read subelement reads are light fixture state updating information and device distribution information, transmit subelement by data and be transmitted to master controller 35, when confirming that data are the ambient condition sensing data, be transmitted to automatic control subelement;
Automatically the control subelement generates automatic steering order and sends to order transmission subelement according to ambient condition sensing data and automatic control mode;
Order sends subelement and by serial line interface automatic steering order is sent to power line signal processing module 342.
Wherein, the data validation subelement, the ambient condition sensing data that also is used for confirming is transmitted subelement by data and is transmitted to master controller 35.
Embedded microprocessor 343 can adopt the ARM9 embedded microprocessor as the control core equally, carries serial data bus by plate between ARM9 embedded microprocessor and the power line signal processing module and connects.
Third part. sensing repeater 32
Sensing repeater 32 major functions are to be responsible for wireless and power line network data forwarding before, are responsible for various sensors (temperature sensor, humidity sensor, luminance sensor etc.) data acquisition simultaneously.So sensing repeater 32 is integrated close range wireless communication module and power line carrier signal processing module, peripheral integrated various types of other sensor simultaneously.
As shown in Figure 6, the sensing repeater 32 in the lamp control system mainly comprises:
Close range wireless communication module 321 is used for receiving light fixture telecommand and forwarding from telepilot 31, and receives the light fixture state updating information and send to telepilot 31;
Embedded microprocessor 322, connect close range wireless communication module 321 by serial line interface, receive lamp remote-control instruction and output that close range wireless communication module 321 is transmitted, and receive and preservation light fixture state updating information, and the light fixture state updating information is transmitted to close range wireless communication module 321;
Power line signal processing module 323, connect embedded microprocessor 322 by serial line interface, continue to transmit after the lamp remote-control instruction of embedded microprocessor 322 output is modulated to the power line carrier signal, and from the power line carrier signal that receives, demodulate the light fixture state updating information and be transmitted to embedded microprocessor 322;
Power line signal coupling module 324, be connected between power line network and the power line signal processing module 323, be used for the power line carrier signal that power line signal processing module 323 is transmitted is transmitted by power line network, and the power line carrier of light fixture state updating information arranged and be transmitted to power line signal processing module 323 from power line network reception modulation.
For realizing collection and the forwarding of ambient condition sensing data, sensing repeater 32 also further comprises:
At least one sensor, the output terminal of each sensor connects the data input pin of embedded microprocessor 322 respectively, is used for gathering the ambient condition sensing data and being transferred to embedded microprocessor 322;
Embedded microprocessor 322 also is used for preserving the ambient condition sensing data and being transmitted to power line signal processing module 323;
Power line signal processing module 323 also is used for the ambient condition sensing data is modulated to the power line carrier signal, and the power line carrier signal that will modulate the ambient condition sensing data continues to be transmitted to power line signal coupling module 324;
Power line signal coupling module 324, the power line carrier signal that also is used for having modulated the ambient condition sensing data is coupled on the power line network and sends.
Further synchronous for the collection that realizes registering functional and device distribution information:
Embedded microprocessor 322 also is used for generating sensing repeater 32 in the back that powers on and registers request and send to telepilot 31 by close range wireless communication module 321;
Close range wireless communication module 321 also responds and is transmitted to embedded microprocessor 322 for sensing repeater 32 registrations that reception telepilot 31 returns;
Embedded microprocessor 322, also being used for obtaining telepilot 31 from the 32 registration responses of sensing repeater is house code and the device code that sensing repeater 32 distributes, and is recorded in the device distribution information.
For the collection of the registration that realizes other light fixture control terminals 33 and light fixture control terminal 33 device distribution information and synchronously:
Power line signal coupling module 324, also being used for receiving modulation from power line network has the power line carrier signal of light fixture control terminal 33 registration requests and sends to power line signal processing module 323, power line signal processing module 323 therefrom demodulates light fixture control terminal 33 registration request and is transmitted to embedded microprocessor 322, and embedded microprocessor 322 sends to telepilot 31 by close range wireless communication module 321 with the registration request of light fixture control terminal 33; And
Close range wireless communication module 321, also light fixture control terminal 33 registrations of returning for reception telepilot 31 respond and are transmitted to the power line carrier signal by embedded microprocessor 322, the power line carrier signal is modulated to light fixture control terminal 33 registration response on the power line carrier signal, and is coupled to by power line signal coupling module 324 and is transferred to light fixture control terminal 33 on the power line network;
Power line signal coupling module 324, also being used for receiving modulation from power line network has the power line carrier signal of light fixture control terminal 33 device distribution information and sends to power line signal processing module 323, power line signal processing module 323 therefrom demodulates light fixture control terminal 33 device distribution information and is transmitted to embedded microprocessor 322, and embedded microprocessor 322 is recorded to light fixture control terminal 33 device distribution information in the local device distribution information.
Preferable, embedded microprocessor 322 be the AVR series monolithic.Serial line interface is the RS232 serial line interface.Sensor comprises at least: humidity sensor, temperature sensor, optical sensor or infrared induction sensor.
For guaranteeing the transmission of equipment state lastest imformation, sensing repeater 32 can be saved in all status information of equipment bags from power line network in the status information bag chained list, if relevant device or telepilot 31 are beamed back the response confirmation bag, then in the respond packet chained list, add the respond packet of this equipment, represent that this status information transmission enters into force.Suppose that relevant device or telepilot 31 do not beam back the response confirmation bag, sensing repeater 32 keeps chaining search respond packet chained list, do not receive when the response confirmation bag that retrieves this terminal device, then after matching status packets of information linked list data, the renewal of the equipment status information is retransmitted.This flow process guarantees to produce under the more intense disturbed condition in the external world, still can safeguard the consistance of entire equipment status information.Certainly its number of retransmissions has certain upper limit, and this can be changed according to concrete circumstance complication degree.
The handling principle of corresponding registration request and response is identical, and when not receiving the registration information respond packet, setting-up time for example sent the registration information bag in 1 minute again at interval.After arriving the request number of times upper limit, then stop to send this packets of information.
Owing to stored complete device distributed intelligence and light fixture status information in the sensing repeater 32, when telepilot 31 is restarted when resetting, can from sensing repeater 32, obtain device distribution information and light fixture status information by equipment state and login state request bag, improve the man-machine interaction of system.
The 4th part. control terminal
The major function of control terminal is the corresponding control terminal of control command of Smart Home control network, the final topworks that light fixture is carried out actions such as switch, adjusting, application model configuration, and the work state information of extraction light fixture feeds back to power line network.The light fixture control terminal 33 general functions such as switch, light modulation and light status information feedback that realize four street lamp light of existing design.
As shown in Figure 9, the light fixture control terminal 33 in a kind of lamp control system comprises: power line signal coupling module, power line signal processing module, embedded microprocessor and at least one switch module, wherein:
The power line signal coupling module connects power line network, the power line signal processing module links to each other with the power line signal coupling module, and connect the signal input part of embedded microprocessor by serial line interface, the signal output part of embedded microprocessor connects the control end of each switch module, and each switch module is used for the feed circuit of one or one group light fixture of control;
The power line signal coupling is used for receiving modulation from power line network to be had the power line carrier signal of light fixture control command and is transmitted to the power line signal processing module;
The power line signal processing module demodulates the light fixture control command for the power line carrier signal of transmitting from the power line signal coupled circuit and sends to the signal input part of embedded microprocessor by serial line interface;
The light fixture control command that embedded microprocessor receives according to signal input part generates the control signal of switch module, and exports to switch module by signal output part, is used for the feed circuit that the gauge tap module is opened or closure is controlled.
Further manually control for realizing, the hand switch that the feed circuit that corresponding each switch module is controlled arrange, wherein: an end of each hand switch connects earth terminal, and the other end connects a data input end of embedded microprocessor respectively;
Embedded microprocessor also is connected with the level value of the data input pin of hand switch for detection of each, when level value is high level, controls corresponding switch module and disconnect, otherwise control corresponding switch module closure.
Further for realizing brightness adjustment control, switch module can be selected solid-state relay, light fixture control terminal 33 also comprises: zero-crossing detector, connect power line network by line of electric force, for detection of the zero point in each cycle of alternating current, and the zero passage detection signal input part to embedded microprocessor is imported the zero cross fired signal when detecting zero point, when embedded microprocessor instructs for the light fixture light modulation in control command, according to the conducting angle of zero cross fired signal controlling solid-state relay in each ac period.
For realizing the feedback of light fixture status information, embedded microprocessor also is used for record light fixture status information, and when the light fixture state changes, sends the light fixture state updating information by serial line interface to the line of electric force processing module;
After the line of electric force processing module is modulated to the power line carrier signal with the light fixture state updating information, be coupled to the power line network transmission by the power line signal coupling module.
The major function of intelligent terminal is the corresponding control terminal of control command of Smart Home control network, home appliance to each classification carries out the final topworks that switch, adjusting, application model configuration etc. are moved, and the work state information of extraction home appliance feeds back to power line network.The light intelligent terminal of existing design is realized the functions such as switch, light modulation and light status information feedback of four street lamp light.
Because it is reasonable in design, the intelligent terminal advantage is also embodied in to be used and installs, when intelligent terminal is installed, need only existing light switch panel is unloaded, then intelligent terminal is packed in the middle of existing switch 86 boxes, do not need to change the light switch panel, the intelligent terminal of newly packing into has well kept original switch, and use-pattern and operating characteristic there are not change, the user can not feel to have installed intelligent terminal with why not together having originally, and because switch key no longer contacts the line of electric force live wire, so more more safe and reliable than originally.
Controlling four lamps respectively with four solid-state relays below is example, describes control principle in detail, utilizes 0 two break in service functions of external interrupt and timer to realize.Principal function partly is responsible for the transmission of data in the detection of switch motion and the buffer memory.Serial line interface interrupts being responsible for the reception of system applies protocol command information.
1). initialization section
The physics hand switch of 4 lamps all is open mode when initial;
The state that 4 lamps are set is physics hand switch state and preserves;
Read original levels state and the preservation of four data input ports that connect respectively of 4 switches;
The level state of four data input ports that 4 lamps connect is set, makes each solid-state relay be in closed condition, namely lamp is in closed condition;
2). the principal function part
The level state of four data input ports that 4 switches of poll connect, if the level of corresponding data-in port and the level that read last time change then illustrate that action has taken place the corresponding physical hand switch, namely the state of Dui Ying lamp will change (if off status is then opened lamp; If lamp is out state, then lamp is closed; If lamp is to be in dimming state, then lamp is closed).The level state of the data-in port that the state after changing is connected with switch is all preserved, and the light fixture status information is deposited in the buffer memory.After 4 physics hand switches all detected and finish, whether in buffer memory had status information, have then to send by serial line interface if then detecting.
3). the external interrupt function
The adjusting of light realizes by the conduction angle of controlling each power frequency period solid-state relay.Open state: the basis at current solid-state relay conduction angle increases a bit (advance the external interrupt function, the increase of solid-state relay conduction angle is 0 up to the total conduction delay of solid-state relay a bit at every turn); Off status: a bit (advance the external interrupt function, the solid-state relay conduction angle reduces a bit at every turn, is 0 up to the solid-state relay conduction delay) reduced on the basis at current solid-state relay conduction angle; Dimming state: if order the current brightness height of desired brightness ratio, then increase on the basis of current solid-state relay conduction angle and a bit (advance the external interrupt function at every turn, the increase of solid-state relay conduction angle a bit is the desired conduction delay of order up to the solid-state relay conduction delay); If order the current brightness of desired brightness ratio low, then reduce on the basis of current solid-state relay conduction angle and a bit (advance the external interrupt function at every turn, the solid-state relay conduction angle reduces a bit, is the desired conduction delay of order up to the solid-state relay conduction delay);
After executing top step, start timer 0.
4). timer 0 interrupts
Cumulative time, when the solid-state relay conduction delay of corresponding lamp then, the solid-state relay of conducting at once.After the whole conductings of the solid-state relay of 4 lamps, stop timer 0.
The 5th part. the interface design of telepilot
First of telepilot 31 embeds to decline to handle can select the STC single-chip microcomputer for use, second embeds the processing that declines can select the AVR single-chip microcomputer for use, telepilot 31 softwares with embedded Linux 2.6 versions as the system platform framework, the integrated liquid crystal display driving of bottom, touch-screen driving, battery management and Charge Management drive, infrared reception study and sending drives, with the operation-interface driving of AVR single-chip microcomputer etc., and the AVR single-chip microcomputer is responsible for the wireless communication protocol management.The QT3.4 version is adopted in the interface design.
Set forth the design of telepilot 31 software interfaces from the system applies angle below:
Telepilot 31 major functions:
A) room management: the interpolation in room, deletion, the selection of room location, type and modification.
B) equipment control: need register the equipment of interpolation, deletion user family, change equipment position in the room by the user.
C) equipment control: provide equipment control function to the user as required.
● conventional control: to equipment turn on light, turn off the light, light modulation, controls such as pattern switching.
● quick control: a key is opened, a key is closed, common equipment control
D) equipment state is checked: the state that the equipment of checking is current
E) room state is checked: the environmental information such as temperature, humidity, brightness of checking certain room
F) infrared coding study: study (having infrared remote receiver) equipment control required infrared coding, and the control function is provided.
Room management: by the room administration interface, according to the house type in actual conditions design house, determine the type position in each room.
● the room adds function:
I) start the back and enter the room administration interface from main interface
Ii) select the room type that to add in the room administration interface
Iii) drag the room type icon chosen correct position in the distributed areas, room
● the room delete function:
I) enter the room administration interface, the room icon that selection will be deleted
Ii) drag the room icon in dustbin
Iii) if there is device prompts to want first sweep equipment in the room, otherwise the room deletion.
● mobile room location function:
I) enter the room administration interface, selection will be deleted mobile room icon
Ii) drag the room icon to suitable position
Equipment control: the functions such as interpolation (registration), deletion, movement that realize equipment by the equipment control interface
Equipment adds (registration)
I) receive interpolation (registration) the request bag of equipment after, telepilot 31 interface prompts have new equipment will register (the icon flicker in the upper left corner at main interface requesting service type shows requesting service type icon in the lower left corner at equipment control interface).
Ii) access arrangement place room devices administration interface, drag the appliance icon in the lower left corner to the correct position (can be corresponding with the position of this physical equipment in the room) in device distribution zone, can demonstration question mark represent also do not add (registration) finish on this icon this moment.
Iii) choose this appliance icon, click reg (registration) button, telepilot 31 adds respond packet by wireless transmission device.
Iv) telepilot 31 receives that the interpolation of this equipment successfully wraps, and equipment adds (registration) to be finished, and appliance icon is become normal device icon (namely removing question mark).
Annotate: must add the sensing repeater earlier in the room, could normally add other equipment.
Unit deletion:
I) in the equipment control interface, choose the equipment that to delete, click delete button.
Ii) whether telepilot 31 promptings want sweep equipment, by determining or cancellation.
Iii) by after determining, telepilot 31 is by the wireless transmission device removal request.
Iv) receive the unit deletion respond packet, the sweep equipment success is deleted equipment from system.
Annotate:
If unregistered equipment, repeat to send 3 secondary device removal requests after, direct sweep equipment;
If the sensing repeater, receive the unit deletion respond packet after, delete all devices in this room.The position of change equipment in the room:
I) in the equipment control interface, choose the appliance icon that will move.
Ii) drag and choose icon to arrive other positions in this room.
Equipment operation control
The equipment that selection will be controlled
Method one:
I) control knob by main interface enters distribution interface, room;
Ii) in distribution interface, room, select room, equipment place, click access arrangement distribution interface;
Iii) in the device distribution interface, can check the distribution situation of this room devices and current state, need select the equipment of control, click and enter the control interface.
Iv) in the control interface, can select other equipment in this room by the arrow up and down of clicking the left side.
Method two:
Certain equipment is set to common equipment, enters the control interface of this equipment then by the common equipment interface
I) in the control interface, select corresponding equipment by arrow about sliding;
Ii) switch automatic or manual button switching working mode;
Iii) switch, the light modulation of shift knob, light modulation slide block control lamp apparatus;
One key of equipment is opened a key of setting and equipment and is opened
I) browse a key in setting (set) and open the equipment that interface first row are provided with key unlatching attribute that arranges;
Ii) set in advance opening the light and brightness of lamp by secondary series and the 3rd row;
Iii) check preset content at (display);
Iv) a key is released the button and can be activated the state of all default lamps after being selected in the main interface.
One key close key: then it goes without doing sets in advance for X button, is responsible for closing all lamps
The common equipment interface: by the common equipment interface can navigate to fast equipment commonly used and directly enter control the interface it is controlled.
The program design of telepilot 31 packets of information transmitting-receiving
Following flow process is the overall process of telepilot 31Qt routine processes packets of information.A certain category information bag can both be independently handled at each interface flexibly.Because the method for some program is more similar, so just do not simplified some descriptions for burdensome.Now adding (registration) with equipment is that example is set forth:
I) equipment interpolation request packet is issued telepilot 31, and decoding judges that information type also enters corresponding accreditation process in main interface;
Ii) judge whether to satisfy the condition of registration at main interface, if do not satisfy then do not handle, the relevant device icon otherwise main interface begins to glimmer, and information sent to the room administration interface;
Iii) the room administration interface sends to the equipment control interface to facility information;
Iv) show the appliance icon of wanting queued for log-on in the lower left at equipment control interface, judge whether equipment and some necessary conditions in this room when dragging icon, if do not satisfy then needs withdraw from current room adds equipment again otherwise will being drawn in the room to correct room and go, being dragged in the room afterwards has question mark (indication equipment is unregistered) on the icon;
V) selecting unregisteredly namely has the equipment of question mark to click registration button, and telepilot 31 transmitting apparatus add (registration) response message;
Vi) the external world beams back interpolation (registration) success packet to telepilot 31, judges that in the decoding of main interface information type also enters accreditation process;
Vii) judge whether to satisfy the condition of registration at main interface, if do not satisfy then do not handle otherwise continues to judge whether register interface is opened, register otherwise information is imported into the room administration interface if do not open then finish at main interface;
Viii) registered equipment records and continued judge whether register interface is opened at the room administration interface, if do not open or enter wrong simultaneously the room and just do not handle otherwise specifically information pass to the equipment control interface;
Ix) the equipment control interface judges that the room that enters is exactly the equipment room when pre-treatment, disappears if then can see the question mark on this equipment, namely succeeds in registration;
Obviously, those skilled in the art can carry out various changes and modification to the embodiment of the invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (18)

1. an intelligent home control system is used for control and is distributed in the not home equipment of chummery, it is characterized in that, comprising:
The home equipment controller of each type, connect power line network, be used for generating the home equipment steering order and pass through described power line network transmission, and the home equipment state updating information that receives described power line network transmission, and according to the local home equipment status information of preserving of this home equipment state updating information renewal;
The control terminal of each home equipment, connect described power line network, be used for receiving the home equipment steering order of described power line network transmission, resolve described home equipment steering order and control the home equipment state according to analysis result, and when the household equipment state changes, transmit the home equipment state updating information by described power line network;
Telepilot, described telepilot uses the short distance wireless communication technology to communicate by letter with described sensing repeater, being used for receiving the user controls the straighforward operation information of home equipment state and uses the short distance wireless communication technology to send to the sensing repeater, described sensing repeater transmits the straighforward operation information that receives by power line network, described home equipment controller receives straighforward operation information by power line network, and generates corresponding home equipment steering order and send by power line network according to this straighforward operation information; And
At least one sensing repeater is separately positioned on not in the chummery, connects described power line network, is used for receiving using straighforward operation information that the short distance wireless communication technology sends and by described power line network transmission; Also be used for receiving the home equipment state updating information of power line network transmission, and use described the short distance wireless communication technology to send to telepilot;
Wherein: described telepilot comprises:
Display module, the interface is controlled in the operation that is used for the demonstration intelligent home control system;
Close range wireless communication module is used for realizing wireless near field communication;
The infrared signal transceiver module, infrared encoded signal and the forwarding of sending different control functions for the telepilot that receives the home equipment of being learnt;
First embedded microprocessor, connect described display module by the LCD data bus, and connect described infrared signal transceiver module by signal wire, be used for according to the infrared encoded signal learn command of controlling the interface input by the operation of described module, detect the high level or low level rising edge and the negative edge that comprise in the infrared encoded signal of described infrared signal transceiver module reception, replace high level and low level level width value and the appearance order that occurs according to the testing result record, generate the coded data of the infrared encoded signal of respectively controlling the function correspondence according to the record result, and when receiving the operation information of remote control home equipment by described operation control interface, infrared encoded signal coded data according to control function correspondence, generate corresponding steering order and output, wherein: described infrared encoded signal can comprise infrared coding control signal and steering signal, also can include only the infrared coding control signal, what occur for the first time in the infrared coding control signal is high level;
Second embedded microprocessor, be connected between described first embedded microprocessor and the close range wireless communication module unit by serial line interface respectively, send for the steering order that receives described first embedded microprocessor output and by close range wireless communication module.
2. home equipment control system as claimed in claim 1 is characterized in that, also comprises: master controller, connect each home equipment controller respectively, wherein:
Described master controller is used for receiving the operated from a distance information of the Long-distance Control household equipment of submitting to by the Long-distance Control webpage and being transmitted to described home equipment controller as telnet server;
Described home equipment controller is also for generating corresponding home equipment steering order according to the operated from a distance information that receives and sending by power line network.
3. home equipment control system as claimed in claim 2 is characterized in that, each home equipment controller connects described power line network and receives relevant information by master controller.
4. home equipment control system as claimed in claim 2 is characterized in that, also comprises: at least one sensor, and each sensor links to each other with one of them sensing repeater, is used for gathering the ambient condition sensing data and sending to described sensing repeater;
Described sensing repeater also is used for transmitting described ambient condition sensing data by power line network;
Described home equipment controller also be used for to receive the ambient condition sensing data of power line network transmission, generates corresponding home equipment steering order and by described power line network transmission according to the automatic control mode of ambient condition sensing data and setting.
5. home equipment control system as claimed in claim 4, it is characterized in that, also comprise: the manual physical switch of each home equipment, be connected between earth terminal and the corresponding home equipment control terminal, described home equipment control terminal detects the level value by manual physical switch input, and when described level value changes, generate the level value state change information and transmit by power line network;
Described home equipment controller also is used for receiving the level value state change information that power line network transmits, and generates corresponding home equipment steering order and passes through described power line network transmission according to the level value state change information.
6. home equipment control system as claimed in claim 5 is characterized in that:
Described telepilot also is used for using the short distance wireless communication technology to send the control model switching command according to user's automatic control mode and the switching command between the manual control model;
Described sensing repeater also is used for receiving control of remote controller pattern switching command and transmitting by power line network;
Described home equipment controller, also be used for receiving the control model switching command by the power line network transmission, and determine to be operated in automatic control mode or manual control model according to described control model switching command, and when at the work automatic control mode, automatic control mode according to described ambient condition sensing data and setting generates the home equipment steering order and passes through described power line network transmission, when being operated in manual control model, according to straighforward operation information, operated from a distance information or level value state change information generate the home equipment steering order and transmit by described power line network.
7. home equipment control system as claimed in claim 6, it is characterized in that, described home equipment controller, when also being used for when being operated in automatic control mode, receiving straighforward operation information, operated from a distance information or level value state change information, switching to manual control model immediately and generate the home equipment steering order also by described power line network transmission according to the information that receives.
8. home equipment control system as claimed in claim 2, it is characterized in that, also comprise: the manual physical switch of each home equipment, be connected between earth terminal and the corresponding home equipment control terminal, the home equipment control terminal detects the level value by manual physical switch input, when level value was high level, the control home equipment was closed, otherwise the control home equipment is opened.
9. intelligent home control system as claimed in claim 1 is characterized in that, also comprises:
At least one sensing repeater is separately positioned on not in the chummery, connects described power line network, is used for receiving using home equipment steering order that the short distance wireless communication technology sends and transmitting by power line network;
Telepilot, use the short distance wireless communication technology to communicate by letter with described sensing repeater, be used for receiving the operation information of user's remote control home equipment state, generate corresponding home equipment steering order and use the short distance wireless communication technology that the home equipment steering order is sent to the sensing repeater according to described operation information.
10. as claim 2,4,8 or 9 described home equipment control system, it is characterized in that described sensing repeater also is used for using described the short distance wireless communication technology to send the registration request when initialization;
Described telepilot receives the registration request that each sensing repeater sends, according to pre-configured room distribution plan and room, sensing repeater place, the sensing repeater that is request registration distributes room number and device number, generates to carry institute and distributes the registration of room number and device number to respond and use described the short distance wireless communication technology transmission; And be recorded in allocation result in the device distribution information and when device distribution information changes, use described the short distance wireless communication technology to send device distribution information after upgrading;
Described sensing repeater receives the registration response that telepilot sends, and wherein room number and device number are recorded in the local device distribution information, and described sensing repeater also receives the remote controller equipment distributed intelligence and transmits by power line network;
Described home equipment controller receives the device distribution information of power line network transmission and preserves.
11. home equipment control system as claimed in claim 10 is characterized in that, the control terminal of described each home equipment also is used for generating respectively the registration request and transmits by power line network when initialization;
Described sensing repeater receives the registration request of power line network transmission and uses the short distance wireless communication technology to send to described telepilot;
When described telepilot receives the control terminal registration request of each home equipment, according to pre-configured room distribution plan, home equipment type and room, place, the control terminal that is request registration distributes room number and device number, generates to carry institute and distributes the corresponding registration of room number and device number to respond and use described the short distance wireless communication technology transmission; And be updated to allocation result in the device distribution information and use described the short distance wireless communication technology to send device distribution information after upgrading;
Described sensing repeater receives each registration response of telepilot transmission and transmits by power line network;
Each control terminal responds by the registration that power line network receives oneself, and wherein room number and device number are recorded in the local device distribution information.
12. home equipment control system as claimed in claim 11 is characterized in that, described home equipment controller also is used for device distribution information and status information of equipment are sent to master controller;
Described master controller is shown to device distribution information and the status information of equipment that receives on the webpage.
13. intelligent home control system as claimed in claim 1 is characterized in that, described home equipment is light fixture, and described control terminal is the light fixture control terminal, and this light fixture control terminal specifically comprises:
Power line signal coupling module, power line signal processing module, embedded microprocessor and at least one switch module, wherein:
Described power line signal coupling module connects power line network, described power line signal processing module links to each other with the power line signal coupling module, and connect the signal input part of embedded microprocessor by serial line interface, the signal output part of described embedded microprocessor connects the control end of each switch module, and each switch module is used for the feed circuit of one or one group light fixture of control;
Described power line signal coupling module is used for receiving modulation from power line network to be had the power line carrier signal of light fixture control command and is transmitted to the power line signal processing module;
Described power line signal processing module demodulates the light fixture control command for the power line carrier signal of transmitting from the power line signal coupled circuit and sends to the signal input part of embedded microprocessor by serial line interface;
The light fixture control command that described embedded microprocessor receives according to signal input part generates the control signal of switch module, and exports to switch module by signal output part, is used for the feed circuit that the gauge tap module is opened or closure is controlled.
14. intelligent home control system as claimed in claim 13, it is characterized in that, described light fixture control terminal also comprises: the hand switch that the feed circuit that corresponding each switch module is controlled arrange, wherein: an end of each hand switch connects earth terminal, and the other end connects a data input end of described embedded microprocessor respectively;
Described embedded microprocessor also is connected with the level value of the data input pin of hand switch for detection of each, when level value is high level, controls corresponding switch module and disconnect, otherwise control corresponding switch module closure.
15. as claim 13 or 14 described intelligent home control systems, it is characterized in that, described switch module is solid-state relay, described light fixture control terminal also comprises: zero-crossing detector, connect described power line network by line of electric force, for detection of the zero point in each cycle of alternating current, and the zero passage detection signal input part to described embedded microprocessor is imported the zero cross fired signal when detecting zero point, when described embedded microprocessor instructs for the light fixture light modulation in described control command, according to the conducting angle of the described solid-state relay of zero cross fired signal controlling in each ac period.
16. intelligent home control system as claimed in claim 1 is characterized in that, described first embedded microprocessor specifically comprises:
Record sub module, be used for connecting described infrared signal transceiver module by signal wire, according to the infrared encoded signal learn command of importing by the operation control interface of described module, detect the high level or low level rising edge and the negative edge that comprise in the infrared encoded signal of described infrared signal transceiver module reception, replace high level and low level level width value and the appearance order that occurs according to the testing result record;
The coding submodule is used for according to recording the coded data that the result generates the infrared encoded signal of respectively controlling the function correspondence;
Sub module stored is for the coding result of the described coding submodule of storage;
The reduction submodule, be connected described second embedded microprocessor by serial line interface, when being used for receiving the operation information of remote control home equipment by described operation control interface, from described sub module stored, obtain the infrared encoded signal coded data of respective control function, generate corresponding steering order and export to described second embedded microprocessor.
17. intelligent home control system as claimed in claim 16 is characterized in that, described coding submodule specifically comprises:
Be used for the size according to all level width values that obtain, big or small identical level width value wherein is encoded to level width coding data, and all level width coding data are combined as the unit of level width coding serial data, the byte number that each level width coding data takies is first setting value, and the total bytes that level width code data string takies is second setting value;
Be used for putting in order according to described level width coding each level width coding data of serial data, determine the ranking of each high level or low level level width value correspondence in described level width coding serial data, the ranking of determining encoded and according to each high level with low levelly the unit that sequential combination is level width index coded data string occurs, the byte number that the coded data of each ranking takies is the 3rd setting value;
Be used for carrier cycle is encoded to the unit of carrier cycle coded data, the byte number that described carrier cycle coded data takies is the 4th setting value;
Be used for forming the unit of the coded data of telepilot infrared encoded signal according to setting the described level width coding of sequential combination serial data, carrier cycle coded data and level width index coded data string; And
Described reduction submodule specifically comprises:
Be used for according to putting in order of setting, the byte number that each level width coding data takies, the total bytes that level width code data string takies, the byte number that the coded data of each ranking takies, and the byte number that takies of described carrier cycle coded data, from the coded data of telepilot infrared encoded signal, obtain level width coding serial data, the unit of carrier cycle coded data and level width index coded data string, wherein, described level width coding serial data comprises a plurality of level width value codings that size is inequality, the coded data that comprises each high level and low level level width value corresponding ranking in described level width coding serial data in the infrared coding control signal in the described level width index coded data string, and according to each high level and low level the appearance in the infrared coding control signal is arranged in proper order;
Be used for according to described level width index coded data string, according to each high level and the tactic level width of the appearance of low level in infrared coding control signal index coded data, and the level width coding data in the corresponding ranking in the described level width coding serial data, determine the unit of each high level and low level level width and shooting sequence in the described infrared coding control signal;
Be used for determining according to described carrier cycle coded data the unit of the carrier frequency of emission telepilot infrared coding control signal;
Be used for according to described each high level of infrared coding control signal and low level level width and shooting sequence, export high level and low level unit successively according to described carrier frequency.
18. intelligent home control system as claimed in claim 16 is characterized in that, described coding submodule specifically comprises:
Be used for when each the level width value that obtains all has been recorded in the mapping table of level width value coded data and level width value index, carrying out next step, otherwise continue the unit of next step behind the coded data of the level width value that interpolation is not recorded in described mapping table and the level width value index thereof;
For determining each high level or low level level width value at the level width value index of described mapping table correspondence and encoding, according to each high level and low level appearance order level width value index coded data is combined as the unit of level width index coded data string, the byte number that the coded data of each ranking takies is the 3rd setting value;
Be used for carrier cycle is encoded to the unit of carrier cycle coded data, the byte number that described carrier cycle coded data takies is the 4th setting value;
Be used for forming the unit of the coded data of telepilot infrared encoded signal according to setting the described carrier cycle coded data of sequential combination and level width index coded data string; And
Described reduction submodule specifically comprises:
Be used for the byte number that the coded data according to putting in order of setting, each ranking takies, and the byte number that takies of carrier cycle coded data, from the coded data of telepilot infrared encoded signal, obtain the unit of carrier cycle coded data and level width index coded data string, wherein, the index that comprises each high level and low level level width value in the infrared coding control signal in the described level width index coded data string, and according to each high level and low level the appearance in the infrared coding control signal is arranged in proper order;
Be used for according to described level width index coded data string, according to each high level and the tactic level width of the appearance of low level in infrared coding control signal index coded data, and the mapping table of level width value coded data and level width value index, determine the unit of each high level and low level level width value and shooting sequence in the described infrared coding control signal;
Be used for determining according to described carrier cycle coded data the unit of the carrier frequency of emission telepilot infrared coding control signal;
Be used for according to described each high level of infrared coding control signal and low level level width value and shooting sequence, launch the unit of high level and low level infrared encoded signal according to described carrier frequency successively.
CN 200910164481 2009-07-31 2009-07-31 Intelligent home control system Expired - Fee Related CN101989376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910164481 CN101989376B (en) 2009-07-31 2009-07-31 Intelligent home control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910164481 CN101989376B (en) 2009-07-31 2009-07-31 Intelligent home control system

Publications (2)

Publication Number Publication Date
CN101989376A CN101989376A (en) 2011-03-23
CN101989376B true CN101989376B (en) 2013-08-14

Family

ID=43745901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910164481 Expired - Fee Related CN101989376B (en) 2009-07-31 2009-07-31 Intelligent home control system

Country Status (1)

Country Link
CN (1) CN101989376B (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891783A (en) * 2011-07-19 2013-01-23 郭良 Intelligent home system networked by power lines and establishment method thereof
CN103023681B (en) * 2011-09-22 2016-03-02 北京天成信宇科技有限责任公司 Smart home control device, update method
CN103292414B (en) * 2012-03-01 2016-06-08 珠海格力电器股份有限公司 Data interaction method and device of air conditioning unit
CN103777590A (en) * 2012-10-25 2014-05-07 浙江风向标科技有限公司 Control system for household electrical appliances
CN104035389B (en) * 2013-03-06 2017-03-01 华硕电脑股份有限公司 Smart home control system
CN103383808B (en) * 2013-06-29 2016-01-27 青岛东软载波科技股份有限公司 Based on 360 degree of learning-oriented infrared repeater systems and the method for carrier communication
CN104270293A (en) * 2014-09-17 2015-01-07 国家电网公司 Smart home system based on power line carriers
KR102410903B1 (en) * 2015-06-12 2022-06-21 삼성전자 주식회사 Room management system and service setting method
CN105042775A (en) * 2015-07-13 2015-11-11 冯山泉 Central monitoring system
CN105005203B (en) * 2015-07-27 2016-10-12 慧锐通智能科技股份有限公司 Intelligent home control system based on control panel and method
ITUB20153445A1 (en) * 2015-09-07 2017-03-07 Fincantieri Spa SYSTEM AND METHOD OF CHECKING INFORMATION REPRESENTATIVE OF USE BY ONE OR MORE USERS OF ONE OR MORE HABITABLE ENVIRONMENTS OF A SHIP
CN105242557A (en) * 2015-10-29 2016-01-13 江苏惠居乐信息科技有限公司 Intelligent home control system
CN105559406B (en) * 2016-01-25 2019-01-01 嘉兴维特拉电气科技有限公司 Novel massage sofa
CN105559408B (en) * 2016-01-25 2019-04-02 嘉兴维特拉电气科技有限公司 Multifunctional massage sofa rack
CN106027609B (en) * 2016-05-05 2019-04-02 深圳大数点科技有限公司 A kind of internet of things service system
CN105847095B (en) * 2016-05-11 2019-04-19 百度在线网络技术(北京)有限公司 Smart home platform is applied to storage equipment access device therein and method
CN106054636B (en) * 2016-06-27 2019-03-19 国网河南省电力公司南阳供电公司 Intelligent control system for household appliances based on carrier technology
CN106341459A (en) * 2016-08-26 2017-01-18 刘翔 Electronic device remote control system
CN106909110A (en) * 2017-03-31 2017-06-30 福建省光速达物联网科技股份有限公司 Device management method and system based on automatic triggering
CN107393291A (en) * 2017-07-07 2017-11-24 青岛酷控网络科技有限公司 A kind of compression of red outer code data and decompression method
CN107592560A (en) * 2017-09-29 2018-01-16 北京盛世辉科技有限公司 Control method, device, intelligent remote controller and computer-readable recording medium
CN108427315A (en) * 2018-06-01 2018-08-21 武汉科技大学 A kind of intelligent home control system and its control method based on mobile phone A pp
CN108427317A (en) * 2018-06-08 2018-08-21 星络科技有限公司 Home equipment control method and device
CN108828966B (en) * 2018-06-15 2021-07-20 青岛海信智慧家居系统股份有限公司 Method and device for displaying equipment information in smart home system
CN108932831A (en) * 2018-07-20 2018-12-04 温州埃浦特摩尔智能科技有限公司 A kind of intelligent distant control method, apparatus and system
CN109195285B (en) * 2018-09-21 2020-04-28 北京凌阳伟业科技有限公司 Control method, remote controller and controller of street lamp system
CN110324217B (en) * 2019-05-24 2023-05-30 深圳绿米联创科技有限公司 Equipment triggering control method and device, electronic equipment and storage medium
CN112445143A (en) * 2019-09-04 2021-03-05 深圳市云海物联科技有限公司 Control signal transmission method and device
CN115542825B (en) * 2022-11-24 2023-03-14 北京北投智慧城市科技有限公司 Intelligent building equipment monitoring and early warning system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471190A (en) * 1989-07-20 1995-11-28 Timothy D. Schoechle Method and apparatus for resource allocation in a communication network system
CN2554740Y (en) * 2002-06-29 2003-06-04 海信集团有限公司 Power carrier home controller
CN1538356A (en) * 2003-10-22 2004-10-20 上海广电信息产业股份有限公司 Sysmtem of realizing intellight mode control for domestic electric appliance through power line
CN2653793Y (en) * 2003-06-23 2004-11-03 山东富臣发展有限公司 Household network intelligent terminal
KR20060008772A (en) * 2004-07-24 2006-01-27 주식회사 대우일렉트로닉스 Home network system and method using power line
CN101052262A (en) * 2006-03-23 2007-10-10 三菱电机株式会社 Discharge lamp lighting apparatus, illumination control system and control management system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471190A (en) * 1989-07-20 1995-11-28 Timothy D. Schoechle Method and apparatus for resource allocation in a communication network system
CN2554740Y (en) * 2002-06-29 2003-06-04 海信集团有限公司 Power carrier home controller
CN2653793Y (en) * 2003-06-23 2004-11-03 山东富臣发展有限公司 Household network intelligent terminal
CN1538356A (en) * 2003-10-22 2004-10-20 上海广电信息产业股份有限公司 Sysmtem of realizing intellight mode control for domestic electric appliance through power line
KR20060008772A (en) * 2004-07-24 2006-01-27 주식회사 대우일렉트로닉스 Home network system and method using power line
CN101052262A (en) * 2006-03-23 2007-10-10 三菱电机株式会社 Discharge lamp lighting apparatus, illumination control system and control management system

Also Published As

Publication number Publication date
CN101989376A (en) 2011-03-23

Similar Documents

Publication Publication Date Title
CN101989376B (en) Intelligent home control system
CN101989072B (en) Household equipment controller
CN101990334B (en) Lamp control system, method thereof, main controller and lamp control terminal
CN201504341U (en) Universal remote controller of intelligent household control system
CN101990335B (en) Universal remote controller in intelligent household control system
CN201590145U (en) Intelligent household control system
CN201589946U (en) Household equipment control terminal
CN103092172B (en) Wire arrangement type intelligent home integrated control device based on cloud service platform
CN201589976U (en) Intelligent home system based on ZigBee technology
CN105867145A (en) Intelligent household equipment control method and apparatus
CN204925670U (en) Intelligence household electrical appliances control system based on singlechip and bluetooth of mobile phone communication
CN102355390A (en) Intelligent home system
CN104597882A (en) Intelligent electrical appliance, mobile communication device, intelligent electrical appliance control system and method
CN106154845A (en) A kind of intelligent domestic system
CN201590917U (en) Lamp control system
CN108810061A (en) A kind of intelligent domestic system
CN103970097A (en) Smart home internet-of-things system based on EIB/KNX bus
CN106154993A (en) A kind of device controller
CN112866068A (en) Intelligent interaction system, interaction terminal and control platform
CN106163022A (en) Lamp switch device with ammeter function and intelligent lamp control system
CN204989807U (en) Home automation control system who integrates
CN201590918U (en) Sensing repeater in intelligent household control system
CN104914730A (en) Novel intelligent household operation interface automatic switching control system and method
CN101990340B (en) Sensing repeater in intelligent household control system
CN110337019A (en) It is a kind of for controlling the remote controler of smart home 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130814

Termination date: 20160731