CN101989072B - Household equipment controller - Google Patents

Household equipment controller Download PDF

Info

Publication number
CN101989072B
CN101989072B CN200910164476A CN200910164476A CN101989072B CN 101989072 B CN101989072 B CN 101989072B CN 200910164476 A CN200910164476 A CN 200910164476A CN 200910164476 A CN200910164476 A CN 200910164476A CN 101989072 B CN101989072 B CN 101989072B
Authority
CN
China
Prior art keywords
power line
control
light fixture
home equipment
signal
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
CN200910164476A
Other languages
Chinese (zh)
Other versions
CN101989072A (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 CN200910164476A priority Critical patent/CN101989072B/en
Publication of CN101989072A publication Critical patent/CN101989072A/en
Application granted granted Critical
Publication of CN101989072B publication Critical patent/CN101989072B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a household equipment controller in an intelligent household control system, which are used for making the extension of the intelligent household control system possible. The household equipment controller in an intelligent household control system comprises a power line signal processing module and an embedded microprocessor. The embedded microprocessor specifically comprises a first receiving unit, a first first-in first-out (FIFO) buffer unit, a processing unit, a second FIFO buffer unit and a first transmitting unit.

Description

A kind of home equipment controller
Technical field
The present invention relates to the home furnishings intelligent system, home equipment control terminal in particularly a kind of intelligent lamp control system and home equipment controller.
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 to third generation intelligent home control system from existing second 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, form communication and networking each other.
Third generation intelligent home control system is attempted to carry out the triangular web of these second generation intelligent home control systems 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 the 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, household electrical appliances light fixture 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 integration Application Design is not enough, 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 home equipment control terminal and the home equipment controller in a kind of intelligent home control system, with thinking that the expansion of intelligent home control system provides possibility.
Home equipment control terminal in a kind of intelligent home control system comprises: power line signal coupling module, power line signal processing module, embedded microprocessor and at least one switch module, wherein:
Said power line signal coupling module connects power line network; Said 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 through serial line interface; The signal output part of said embedded microprocessor connects the control end of each switch module, and each switch module is used to control the feed circuit of one or one group home equipment;
Said 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 the power line signal processing module;
Said power line signal processing module is used for demodulating the home equipment control command and sending to the signal input part of embedded microprocessor through serial line interface from the power line carrier signal that the power line signal coupled circuit is transmitted;
The home equipment control command that said embedded microprocessor receives according to signal input part generates the control signal of switch module, and exports to switch module through signal output part, is used for the feed circuit that the CS module is opened or closure is controlled.
Described home equipment control terminal also comprises: the hand switch that the feed circuit that corresponding each switch module is controlled are provided with; Wherein: an end of each hand switch connects earth terminal, and the other end connects a data input end of said embedded microprocessor respectively;
Said embedded microprocessor also is used to detect the level signal that each is connected with the data input pin of hand switch, when level signal is high level, control corresponding switch module and break off, otherwise it is closed to control corresponding switch module.
In the described home equipment control terminal; Said embedded microprocessor also is used to write down the home equipment status information; And when the household equipment state changes, send home equipment state and home equipment system control model lastest imformation to the line of electric force processing module through serial line interface;
After said line of electric force processing module is modulated to the power line carrier signal with the home equipment state updating information, be coupled to the power line network transmission through said power line signal coupling module.
In the described home equipment control terminal; When said home equipment is light fixture; Said switch module is a solid-state relay, and said home equipment control terminal also comprises: zero-crossing detector connects said power line network through line of electric force; Be used to detect the zero point in each cycle of alternating current; And the zero passage detection signal input part to said embedded microprocessor is imported the zero cross fired signal when detecting zero point, when said embedded microprocessor instructs for the light fixture light modulation in said control command, according to the conducting angle of the said solid-state relay of zero cross fired signal controlling in each ac period.
Home equipment controller in a kind of intelligent home control system comprises:
The power line signal processing module is used to receive the home equipment operation information and transmits, and transmits after the home equipment control signal that receives is modulated to the power line carrier signal;
Embedded microprocessor, said embedded microprocessor specifically comprises:
First receiving element connects said power line signal processing module through serial line interface, is used to receive the operation information of the remote control home equipment state that said power line signal processing module transmits;
The first FIFO FIFO buffer unit connects first receiving element, is used to store the operation information that said first receiving element receives;
Processing unit and the 2nd FIFO buffer unit; Said processing unit is connected between a FIFO buffer unit and the 2nd FIFO buffer unit; Be used for from a said FIFO buffer unit according to storage order read operation information successively, generate corresponding home equipment steering order and be saved in said the 2nd FIFO buffer unit according to said generating run information;
First transmitting element is used for the storage order according to the home equipment steering order, from said the 2nd FIFO buffer unit, reads the home equipment steering order successively and sends to said power line signal processing module through serial line interface.
Described home equipment controller also comprises:
The power line signal coupling module; Connect power line network through line of electric force; Being used for receiving modulation from said power line network has the power line carrier signal of home equipment operation information and is transmitted to the power line signal processing module, and receives power line carrier signal that said power line signal processing module transmits and be coupled and transmit to said power line network.
Described embedded microprocessor also comprises:
Second receiving element through the master controller in the serial line interface connection of intelligent house control system, is used to receive the operation information of said master controller as the Long-distance Control household equipment state of telnet server reception and forwarding;
A said FIFO buffer unit also connects second receiving element and is used to store the operation information that said second receiving element receives.
Described home equipment controller also comprises: the control model storage unit, connect said processing unit, and be used to store the automatic control mode parameter configuration of home equipment;
Said first receiving element also is used to receive the ambient condition sensing data of said power line signal processing module forwarding and be transmitted to said processing unit;
Said processing unit is further according to the automatic control mode parameter configuration of storing in ambient condition sensing data that receives and the control model storage unit, generates corresponding home equipment steering order and stores in said the 2nd FIFO buffer unit.
In the home equipment controller, said first receiving element also is used to receive device distribution signal and the status information of equipment that said power line signal processing module is transmitted, and is saved in the said data storage cell.
Described embedded microprocessor also comprises:
Second transmitting element connects said data storage cell, is used for reading data that said data storage cell stores and is transmitted to said master controller through serial line interface.
Home equipment control terminal that the embodiment of the invention provides and home equipment controller can be used to control one type home equipment flexibly, for the flexible expansion of intelligent domestic system provides possibility.
Description of drawings
Fig. 1 a, 1b, 1c and 1d are a kind of intelligent home control system that the embodiment of the invention provides.The structural representation of home equipment controller and home equipment control terminal;
Fig. 2 a and 2b are the realization principle and the structural representation of the universal remote control that provides of the embodiment of the invention;
Fig. 3 a, 3b, 3c are the realization principle schematic of the lamp control system that provides of the embodiment of the invention;
Fig. 4 a, 4b and 4c are the structural representation of master controller in the lamp control system that provides of the embodiment of the invention;
Fig. 5 a, 5b, 5c are the software architecture synoptic diagram of lamp controller in the lamp control system that provides of 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 controlling being distributed in the not home equipment of chummery, and the home equipment control mode generally has following four kinds of demands:
■ controls home equipment through the home equipment control interface of hand-held remote controller;
■ controls home equipment through login remote web page control interface;
■ controls home equipment through the physics hand switch;
■ controls the carrying out of home equipment according to the control model of setting automatically.
Wherein, the first three demand is manually control, and last a kind of demand is control automatically.
Shown in Fig. 1 a, 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 controlling and is distributed in the not home equipment of chummery, comprising:
The home equipment controller 11 of each type connects power line network, and be used to generate the home equipment steering order and pass through the power line network transmission, and the home equipment state updating information and the preservation that receive the power line network transmission;
The control terminal 13 of each home equipment; Connect power line network; Be used to receive the home equipment steering order of power line network transmission; Resolve the home equipment steering order and control the home equipment state, and when the household equipment state changes, transmit the home equipment state updating information through power line network according to analysis result.
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 to use 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 to receive 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 through power line network; Home equipment controller 11 receives straighforward operation information through power line network, and generates corresponding home equipment steering order and pass through the power line network transmission according to this straighforward operation information; And
Sensing repeater 12 also is used to receive 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 through the function of network remote control home equipment: master controller 14, connect each home equipment controller 11 respectively, wherein:
Master controller 14 is used to receive the operated from a distance information of the Long-distance Control household equipment of submitting to through the Long-distance Control webpage and be transmitted to home equipment controller 11 as telnet server;
Home equipment controller 11 also is used for generating corresponding home equipment steering order and passing through the power line network transmission according to the operated from a distance information that receives.
Home equipment controller 11 can be distinguished direct connection power line network, also can connect power line network through 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 to gather the ambient condition sensing data and sends to sensing repeater 12;
Sensing repeater 12 also is used for through power line network transmission environment state sensing data;
Home equipment controller 11 also is used to receive the ambient condition sensing data of power line network transmission, generates corresponding home equipment steering order and through the power line network transmission 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 through 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 through manual physical switch input, and when said level value changes, generates the level value state change information also through the power line network transmission; Home equipment controller 11 also is used to receive the level value state change information that power line network transmits, and generates corresponding home equipment steering order and passes through said power line network transmission according to the level value state change information.
In this case; The direct CS 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 need be registered in the system with home equipment control terminal 13; Registration process is accomplished by remote controllers use control interface control; The final device distribution informational needs of in registration process, collecting is aggregated on each home equipment controller 11 and the master controller 14, therefore:
Sensing repeater 12 also is used for when initialization, using the short distance wireless communication technology to send register requirement;
Telepilot 10 receives the register requirement 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 institute and distribute the register response of room number and device number and use the short distance wireless communication technology transmission; And be recorded in the device distribution information allocation result 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 register 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 also through the power line network transmission;
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 when initialization, generating respectively register requirement and transmits through power line network;
Sensing repeater 12 receives the register requirement of power line network transmission and uses the short distance wireless communication technology to send to telepilot 10;
When telepilot 10 receives control terminal 13 register requirement 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 institute and distribute the corresponding register response of room number and device number and use the short distance wireless communication technology transmission; And with allocation result be updated 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 register response of telepilot 10 transmissions and transmits through power line network;
Each control terminal 13 passes through power line network and receives the register response of 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 to receive 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 through the power line network transmission.
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; The distributed intelligence of after deletion, need updating the equipment, 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 supply the user to check to webpage.
In the embodiment of the invention; Control switching controls pattern that can also be through telepilot 10, and the control model switching command sent to home equipment controller 11 through the sensing repeater, home equipment controller 11 are confirmed 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 to receive the instruction of control of remote controller mode switch and passes through the power line network transmission;
Home equipment controller 11; Receive control model switching command through the power line network transmission; And confirm to be operated in automatic control mode or manual control model according to said control model switching command; And when the time at the work automatic control mode; Automatic control mode according to said ambient condition sensing data and setting generates the home equipment steering order and passes through said power line network transmission, when being operated in manually with regard to control model, transmits according to straighforward operation information, operated from a distance information or level value state change information generation home equipment steering order and through said 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 through said 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, and the home equipment of respective type is played the core control action, and the sensing repeater plays signaling and forwarding of data function; Need not be provided with 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 have favorable expansibility; And the most of signal in the system brings great convenience to networking through the electric power networks transmission.
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 through 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, 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 from the power line carrier signal that power line signal coupling module 111 is transmitted;
If home equipment controller 11 connects power line network through master controller 14, then do not comprise power line signal coupling module 111.
Of 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 through serial line interface, is used to receive the operation information of the remote control home equipment state that power line signal processing module 112 transmits;
The first FIFO FIFO buffer unit 1132 connects first receiving element 1131, is used to store the operation information that 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, from the 2nd FIFO buffer unit 1134, reads the home equipment steering order successively and sends to power line signal processing module 112 through serial line interface.
Further home equipment controller also comprises:
Second receiving element 1136 through the master controller in the serial line interface connection of intelligent house control system, is used to receive the operation information of master controller as 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 to store the operation information that second receiving element 1136 receives.
Further home equipment controller 113 also comprises: control model storage unit 1138, connection processing unit 1133, the automatic control mode parameter configuration that is used to store home equipment;
First transmitting element 1135 also is used to receive the ambient condition sensing data of power line signal processing module 112 forwardings and be transmitted to processing unit 1133;
Processing unit 1133 is further according to the automatic control mode parameter configuration of storage in 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 to receive 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 the data of reading of data storage unit 1139 storages and is transmitted to master controller through 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 through 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 to control the feed circuit of one or one group home equipment;
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 is used for demodulating the home equipment control command and sending to the signal input part of embedded microprocessor 133 through serial line interface from the power line carrier signal that the power line signal coupled circuit is transmitted;
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 through signal output part, be used for that CS module 134 is opened or the closed feed circuit of being controlled.
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 are provided with; 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 used to detect the level value that each is connected with the data input pin of hand switch 135, when level value is high level, controls corresponding switch module 134 and breaks off, otherwise control corresponding switch module 134 closures.
Further, embedded microprocessor 133 also is used to write down the home equipment status information, and when the household equipment state changes, sends home equipment state and home equipment system control model lastest imformation through 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 through 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 ir encoded signal of various telepilots, and corresponding home equipment controlled according to learning outcome reduction ir encoded signal, 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 ir encoded signal of telepilot emission, ir encoded signal comprises the square-wave signal of being made up of a series of high-low levels, and with the particular carrier wave frequency emission.Wherein ir 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 is comprised according to the infrared coding control signal and the width of high-low level; Difference Different control function, steering signal are used to notify 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 ir encoded signal is; The width and the shooting sequence of the carrier cycle of the ir encoded signal that record will be learnt, all high-low levels that comprised; Then when corresponding electric appliance equipment is controlled; According to learning outcome emission and original the same ir encoded signal, thereby reach control function.
Ir 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, utilizes 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 ir encoded signal; In order to compress the infrared coding learnt reducing storage space, the overall level number that forms with four kinds of width level value is that the ir encoded signal of n is an example, and the Learning Principle of ir encoded signal comprises:
I) receive the ir encoded signal that to learn, detect its carrier cycle, and measure all high level and low level level width value according to the rise and fall edge; 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 possibly be infrared steering signal, the level width might be very big, therefore takies 32bit respectively:
Table 1.
Figure GDA00001810441100131
Ii) data recorded in the analytical table 1, preceding two level possibly be infrared steering signal, need compile to 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 encoding data:
Table 2.
Figure GDA00001810441100141
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 can four rankings respectively 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 possibly 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 the length of adaptability according to 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 in first's coded data string, confirming the actual level width value, 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 need preestablish.
When according to three partial contents in the predefined storage list 2 in order 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 ir encoded signal.Putting in order of three partial contents is not to be defined in the form that table 2 provides, can be according to the series arrangement of arbitary convention, and later stage order is according to a preconcerted arrangement resolved coded data and is 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 ir 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 ir 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 a high level, and last pilot codes is a 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 be level width coding serial data with all level width coding data combinations; The byte number of each level width coding data occupancy is first setting value, and the total bytes that level width code data string takies is second setting value;
Step 4, according to each level width coding alignment sequence of data in the level width coding serial data; Confirm 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 is combined as level width index coded data string, and 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 is 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 ir 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 encoding data, comprise total number coded data.
Embodiment one provides a kind of launching technique of corresponding telepilot ir encoded signal according to the signal encoding data, comprises the steps:
Step 1, from the coded data of ir 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 encoding data of first in the table 1, the byte number of each level width coding data occupancy, 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 encoding data of second portion in the table 1; The total bytes that 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 encoding 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 confirmed the level width index coded data of the level width of each;
Step 2, confirm 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, confirm each high level and low level level width and shooting sequence in the infrared coding control signal;
Step 3, confirm 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 and before control signal, send according to pilot codes coded data reduction steering signal.
Embodiment two
Further, 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 for saving amount of coded data:
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
[0164]
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 ir 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 example two a kind of telepilot ir encoded signal of providing 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 the coded data and the level width value index thereof of the level width value do not write down, continue next step 4;
Step 4, confirm each high level or low level level width value corresponding level width value index and encoding in mapping table;
Step 5, level width value index coded data is combined as level width index coded data string according to each high level and low level appearance order;
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 ir 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, and first pilot codes is a high level, and last pilot codes is a low level;
Also comprise before forming the coded data of telepilot ir encoded signal: the level width value of at least two pilot codes is encoded respectively and is 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 ir encoded signal, also in the setting ordering, comprise pilot codes coded data string.
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 ir 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 ir encoded signal, also in the setting ordering, comprise total number coded data.
According to above-mentioned learning method, the launching technique of a kind of telepilot ir encoded signal that the embodiment of the invention two provides comprises the steps:
Step 1, from the coded data of telepilot ir encoded signal, obtain carrier cycle coded data and level width index coded data string;
The byte number that specifically 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 confirms carrier cycle coded data and the position of level width index coded data string in coded data, and the digital coding that acquisition 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 the appearance series arrangement of low level in the infrared coding control signal.
Step 2, confirm 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, confirm each high level and the low level appearance order in the infrared coding control signal according to the putting in order of level width index coded data in the level width index coded data string.
Step 3, confirm 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 ir 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 ir 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, the total number corresponding according to total number coded data confirmed high level and low level total number of being launched.
Embodiment three
When needing the ir encoded signal of different remote of a plurality of equipment of study, further, can also set up level width value coded data as shown in table 4 below and the mapping table between the index for saving amount of coded data:
Table 4.
Figure GDA00001810441100211
Wherein, level width value index comprises group number and numbering, and group number is illustrated in the level width value of learning first in the ir encoded signal, the sequencing that number-mark level width value is learned in this ir encoded signal.Concrete, the group number of the level width value of in first ir encoded signal, learning is 00, all four level width value serial numbers learning are 00,01,10,11.The follow-up varying level width value sequential organization group number of in other ir encoded signal, learning; For example in second ir encoded signal, learn 6 level width values; Wherein four with first ir encoded signal in the level width value learnt identical, repeated storage no longer, only wherein different two of storage; And respective settings group number 01 and number 00,01, and the like.Be combined as complete level width value index through group number and numbering like this, be used to distinguish 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 ir 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 ir encoded signal and step of transmitting can repeat no more referring to the description of embodiment three here.
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 ir encoded signal:
Table 5.
Figure GDA00001810441100221
Wherein, the one group of level width value numbering in different ir encoded signal, learning is called level width value index group number, does not have at least one level width value inequality between on the same group a plurality of level width values.Like this in learning process; If the level width value that occurs in the ir 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 encoding data, increase a level width value index group number coding; Be used for group number in the corresponding level width value coded data of table 5 inquiry; Further according to level width value index coded data string, confirm 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 encoding data; But the bit number that each level width value index takies can correspondingly reduce, the also corresponding minimizing of total data volume, thus further saved storage space.
Table 6
Figure GDA00001810441100222
Figure GDA00001810441100231
Be also to comprise in the mapping table, be the group number that is provided with according to the coded data of the one group of level width value that is write down in the same ir encoded signal, do not have at least a level width value coded data inequality on the same group a plurality of level width value coded datas; And in the ir 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 ir encoded signal.
The study of ir encoded signal and step of transmitting can repeat no more referring to the description of embodiment three here.
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 is used to show the interface that controls of intelligent home control system; The display module of telepilot can be a 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 to realize wireless near field communication;
Infrared signal transceiver module 23, the telepilot that is used to receive intelligent home device sends the ir encoded signal of different control functions and transmits;
First embedded microprocessor 24; Connect display module 21 through the LCD data bus; And through signal wire connection infrared signal transceiver module 23; Be used for according to the ir encoded signal learn command that controls the interface input through display module; Detect the high level or low level rising edge and the negative edge that comprise in the ir encoded signal of infrared signal transceiver module reception,, generate the coded data of the ir encoded signal of each control function correspondence according to the record result according to high level and low level level width value and the appearance order that the testing result record alternately occurs; And through controling the interface when receiving the operation information of remote control home equipment; The ir encoded signal coded data corresponding according to control function generates control corresponding instruction and output, and 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 through serial line interface respectively, be used to receive first and embed the steering order of handling the output of 24 devices and send of declining through close range wireless communication module 22.
Further first embedded microprocessor 24 specifically comprises:
Record sub module; Be used for connecting the ir encoded signal receiver module through signal wire; According to the ir encoded signal learn command that controls the interface input through module; Detect the high level or low level rising edge and the negative edge that comprise in the ir 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 writing down the coded data that the result generates the corresponding ir encoded signal of each control function;
Sub module stored is used for the coding result of memory encoding submodule;
The reduction submodule; Be connected second embedded microprocessor through serial line interface; Be used for through controling the interface when receiving the operation information of remote control home equipment; From sub module stored, obtain the ir encoded signal coded data of respective control function, generate the control corresponding instruction and export to second embedded microprocessor.
According to aforesaid infrared signal coding principle and reduction principle, the coding submodule specifically comprises:
Be used for 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 be the unit of level width coding serial data with all level width coding data combinations; The byte number of each level width coding data occupancy is first setting value, and the total bytes that level width code data string takies is second setting value;
Be used for according to each level width coding alignment sequence of data of level width coding serial data; Confirm 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 and the unit that sequential combination is a level width index coded data string occurred according to each high level and low level, and 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 ir 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 the byte number that the coded data of the byte number according to putting in order of setting, each level width coding data occupancy, total bytes that level width code data string takies, each ranking takies; And the byte number that takies of carrier cycle coded data; From the coded data of telepilot ir encoded signal, obtain the unit of level width coding serial data, 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 the appearance series arrangement of low level in the infrared coding control signal;
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, confirm the unit of each high level and low level level width and shooting sequence in the infrared coding control signal;
Be used for confirming the unit of the carrier frequency of emission telepilot infrared coding control signal according to the carrier cycle coded data;
Be used for exporting high level and low level unit successively according to carrier frequency according to each high level of infrared coding control signal and low level level width and shooting sequence.
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 in mapping table, add the coded data of the level width value that is not write down and the unit of level width value index continued next step thereof;
Be used for confirming that each high level or low level level width value are at the corresponding level width value index of mapping table and encode; 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 ir 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 ir 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 the appearance series arrangement of low level in the infrared coding control signal;
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, confirm the unit of each high level and low level level width value and shooting sequence in the infrared coding control signal;
Be used for confirming the unit of the carrier frequency of emission telepilot infrared coding control signal according to the carrier cycle coded data;
Be used for launching the unit of high level and low level ir encoded signal successively according to carrier frequency according to each high level of infrared coding control signal and low level level width value and shooting sequence.
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 through system:
Through having the telepilot of infrared learning function, learn original TV remote controller infrared coding;
For learning the back and being stored in the code of ir encoded signal establishment on the corresponding home equipment controller;
The control corresponding terminal has the power line carrier module can connect line of electric force, and has memory module in order to the storage infrared coding and its code synchronous with corresponding home equipment controller; And has infrared transmission module;
Telepilot accomplish study and with 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 through 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 the control corresponding terminal; Corresponding infrared coding is launched according to the code of receiving in the control corresponding terminal.
Automatically control is for example:
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; Stressed 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 control as follows:
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 possibly intensity of illumination can change, illuminator is awaited orders;
Visible through above description; 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
The example that specifically is embodied as with the lamp control system in the Smart Home control 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 controlling being distributed in the not light fixture of chummery, and the light fixture control mode generally has following four kinds of demands:
■ controls light fixture through the light fixture control interface of hand-held remote controller;
■ controls light fixture through login remote web page control interface;
■ controls light fixture through the physics hand switch;
■ controls the carrying out of light fixture according to the control model of setting automatically.
Wherein, the first three demand is manually control, and last a kind of demand is control automatically.
Below with specific embodiment and combine accompanying drawing to be elaborated.
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 electrification 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 through the control interface of hand-held remote controller 31, and can utilize the control interface of telepilot 31 that light fixture is controlled, and each device need possess following function in view of the above:
Telepilot 31; Be used to receive 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 the connection power line network, be used to receive the telecommand that telepilot 31 sends, and through 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 to receive the lamp remote-control instruction that power line network transmits, resolve the lamp remote-control instruction and control the light fixture state, and when the light fixture state changes, pass through power line network transmission light fixture state updating information according to analysis result.
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 through power line network in the capital; Light fixture control terminal 33 receives the lamp remote-control instruction through power line network, and 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; Through 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 through the control interface of telepilot 31.
Further for realizing second kind of demand of light fixture being controlled through 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 the 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 through 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 through power line network;
Light fixture control terminal 33 also is used to receive 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 to receive 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 through the lamp switch input is 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 to gather the ambient condition sensing data and send to sensing repeater 32;
Sensing repeater 32 also is used for through 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 through power line network;
Light fixture control terminal 33 also is used to receive 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 adjustment 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, specify the present invention.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 what allocation result was distributed, and gives master controller 35 with the device distribution information synchronization.Through 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 to gather 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 following that a sensing repeater 32 is registered to a certain room process:
1. through 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 the register requirement bag through the 2.4G wireless network to telepilot 31.
3. after telepilot 31 receives the register requirement bag; Through the interface prompt user sensing repeater 32 request registration are arranged; The user through 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 register response bags, wherein comprise house code and device code through 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 being controlled
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 being controlled, the corresponding light fixture control terminal 33 of each switch enclosure is provided with, 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 for the different light fixture of control; 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 can dispose a sub-light fixture number, can uniquely confirm a logic light fixture through 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 send the register requirement bag and send through power line network;
2. sensing repeater 32 receives the register requirement bag through power line network;
3. sensing repeater 32 is forwarded to the register requirement bag in the telepilot 31 through the 2.4G wireless network;
4. after telepilot 31 receives the register requirement bag; Through 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, send to sensing repeater 32 to the register response bag through the 2.4G wireless network;
6. sensing repeater 32 sends to light fixture control terminal 33 with this register response bag through power line network, wherein comprises 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 register response bag, 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 a registered state;
8~9. light fixture control terminals 33 send the bag that succeeds in registration through 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 carry out the device distribution information of oneself record synchronously through 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 register requirement 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 can all logic light fixtures be registered in the lamp control system through 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 following:
In the light fixture administration interface of telepilot 31; The light fixture that selection will be deleted; Click delete button then; Telepilot 31 is deleted request package through the 2.4G wireless network with light fixture and is sent to sensing repeater 32, by sensing repeater 32 this packet is forwarded in the corresponding light fixture control terminal 33 through power line network again.
Light fixture control terminal 33 changes this lamp into unregistered state after receiving light fixture deletion request, simultaneously house code is changed to 0; If deletion is last light fixture at this terminal, also device code is changed to 0, represent that this device code is for empty; Light fixture control terminal 33 sends light fixture through sensing repeater 32 to telepilot 31 and deletes successfully bag then, and when the device distribution information that oneself writes down 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 the 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 following:
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 deletion request package to the sensing repeater 32 in this room.
This sensing repeater 32 sends to all light fixture deletion request package of room in each light fixture control terminal 33 through the mode of power line network broadcasting.
After light fixture control terminal 33 is received all the light fixture deletion request package of room by 32 broadcasting of sensing repeater; 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 writes down, be broadcast to power line network again and carry out synchronously.
This sensing repeater 32 is changed 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.
The status information of equipment of the light fixture control terminal 33 that sensing repeater 32 is can only synchronous and own house code identical is only preserved 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, the device distribution information that writes down on actual device distribution and sensing repeater 32, the telepilot 31 in can maintenance system is 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 the first three control mode 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 lamp state is the state that when lamp is in automatic control mode, takes place, 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); The switch or the light modulation of control lamp, and through 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 in room, light fixture control terminal 33 place (sensing repeater 32 is safeguarded the last state of all light fixtures of room, place) is received light fixture state updating information bag; To light fixture control terminal 33 transmit status respond packet, 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, light fixture state updating information bag is dealt into telepilot 31 through the 2.4G wireless network.
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 in view of the above 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 to the sensing repeater 32 transmit status respond packet 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 send lamp condition responsive bags through wireless sensing repeater 32 to the room that this lamp belongs to.If the sensing repeater 32 in other rooms will be forwarded in the sensing repeater 32 in room, light fixture place through line of electric force after receiving 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,, guarantee that master controller 35 and telepilot 31 can both receive light fixture state updating information bag with the retransmission mechanism that starts in the sensing repeater 32.
Be presented in the concrete light fixture control procedure under the various situation below respectively:
1). through 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, improve the security of manual control light fixture the operation user.
2). the light fixture control interface through 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 turn on light, manually turn off the light, manually light modulation, manual mode switch); And command packet sent to sensing repeater 32 through 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). through 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 turn on light, manually turn off the light, manually light modulation, manual mode switch); Master controller 35 sends to lamp controller 34 with command packet; Send in the corresponding light fixture control terminal 33 through 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 through 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 (promptly 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 through 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 controlling 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 that belongs to all light fixtures of room.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 the device distribution information and the total system actual conditions of oneself preserving are consistent through lamp controller 34 in real time through the device distribution information of electric power networks transmission.
Master controller 35 also can be to telepilot 31 transmission room light fixture request package, 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 package, judge whether house code is 0.
If house code=0, the device distribution information that telepilot 31 sends 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 (by 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 been 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 open response bag to telepilot 31, this information has been received in expression.
Through above process, master controller 35 obtains all devices distributed intelligence (light fixture type, numbering, position etc.) in a room or a plurality of rooms through 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 through lamp controller 34, and safeguards that automatically the status information of equipment and the total system actual conditions of oneself preserving are consistent.
Master controller 35 also can be regularly initiatively to each sensing repeater 32 transmission room light fixture state request bag, if the status information of equipment in house code=all rooms of expression request 0, if house code>the device distribution information in 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 is to the light fixture status information in master controller transmission rooms 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.
Through above process, master controller 35 obtains the latest state information of the light fixture in a room or a plurality of rooms through the mode of active request.
3). when of 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 is provided with, 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 through telepilot 31 or through the key X button in the webpage Long-distance Control.
It is following to close implementation procedure through 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, should order to each light fixture control terminal 33 broadcasting, send a key response closing bag to telepilot 31 and master controller 35 simultaneously through power line network.
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 through telepilot 31 or through 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 following:
The user is provided with the light fixture that needs a key to open through 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 of sending 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) mail 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 to realize network service;
Embedded microprocessor 352; Be used to receive the long-range light fixture steering order of submitting to through 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 said 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 webpage part to call the bottom spi bus drive the interface that provides send 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 with it other background monitor that designed; Carry out information interchange through FIFO (named pipes) and file between the two, when webpage has control information to send, write FIFO to control information earlier; In a single day background monitor is found among the FIFO meaningful, calls the SPI driving interface immediately and forwards information to lamp controller 34; Find control information when background monitor and send, 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 from the SPI driving.
Therefore, a kind of concrete structure of embedded microprocessor 352 comprises shown in Fig. 4 c: webpage control module 3521, the first FIFO 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 receiving the remote operation instruction of submitting to through 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 through 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 through 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 the 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 click the light fixture device distribution information inspection page that corresponding room icon can get into corresponding room according to house structure for the different icon display of each room design.The light fixture different state also can have different icon display; In webpage, still manually open for opening automatically simultaneously for distinguishing current turning on light; Mouse moves to and will have concrete prompting on the icon and perhaps " manually open " like " opening automatically ", light modulation and turn-off also distinguish automatically with manually and prompting respectively.Click the page that is provided with that corresponding lamp icon will get into 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 layout design technology 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 through 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, 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 from the power line carrier signal that power line signal coupling module 341 is transmitted;
Embedded microprocessor 343; Connect power line signal processing module 342 through serial line interface; Be used for receiving the light fixture remote control signal and being transmitted to power line signal processing module 342, and the light fixture state updating information that power line signal processing module 342 is transmitted sends to master controller 35 from the master controller 35 of lamp control system.
Further, be the automatic control of 34 pairs of each light fixtures of realization lamp controller, power line signal coupling module 341, also being used to receive modulation has the power line carrier signal of ambient condition sensing data and is 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 through 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 master controller 35 to be shown to the user or to supply user inquiring synchronously with the ambient condition sensing data.
For realize device distribution information on the master controller 35 synchronously, power line signal coupling module 341 also is used to receive 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 FIFO FIFO buffer 3432 and first processing unit 3433; First receiving element 3431 connects master controller 35 through serial line interface; First processing unit connects power line signal processing module 342 through serial line interface; First receiving element 3431 is used for from a FIFO buffer 3432, reading remote control commands successively and sending to power line signal processing module 342 through serial line interface 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 through serial line interface; Processing unit connects master controller 35 through 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 is according to the storage order of data reading of data from the 2nd FIFO buffer 3435 successively; 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 through 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 automatic steering order is sent to power line signal processing module 342 through serial line interface.
Preferable, shown in Fig. 5 c, second processing unit 3436 specifically comprises: data read subelement, data validation subelement, data forwarding subelement, automatic control sub unit and order and send subelement, wherein:
Data read subelement, connect the 2nd FIFO buffer 3435, are used for according to the storage order of data successively from the 2nd FIFO buffer 3435 reading of data and send to the data validation subelement;
The data validation subelement; When being used to confirm that data read data that subelement reads and are light fixture state updating information and device distribution information; Be transmitted to master controller 35 through the data forwarding subelement, when confirming that data are the ambient condition sensing data, be transmitted to automatic control sub unit;
Automatically control sub unit generates automatic steering order and sends to order transmission subelement according to ambient condition sensing data and automatic control mode;
Order is sent subelement and through serial line interface automatic steering order is sent to power line signal processing module 342.
Wherein, the data validation subelement also is used for the ambient condition sensing data of confirming is transmitted to master controller 35 through the data forwarding subelement.
Embedded microprocessor 343 can adopt the ARM9 embedded microprocessor as the control core equally, carries serial data bus through 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 simultaneously integrated various types of other sensor.
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 lamp remote-control instruction 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 through 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 through serial line interface; The lamp remote-control instruction of embedded microprocessor 322 outputs is modulated to the forwarding of power line carrier signal continued, and from the power line carrier signal that receives, demodulates 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 through 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 the 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 to gather the ambient condition sensing data and is transferred to embedded microprocessor 322;
Embedded microprocessor 322 also is used to preserve the ambient condition sensing data and is 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 also is used for the power line carrier signal of having modulated the ambient condition sensing data is coupled on the power line network and sends.
Further synchronous for realizing registering functional and device distribution information collecting:
Embedded microprocessor 322 also is used for generating sensing repeater 32 register requirement and sending to telepilot 31 through close range wireless communication module 321 in the back that powers on;
Close range wireless communication module 321 also is used to receive sensing repeater 32 register response that telepilot 31 returns and is transmitted to embedded microprocessor 322;
Embedded microprocessor 322 also is used for obtaining house code and the device code that telepilot 31 distributes for sensing repeater 32 from sensing repeater 32 register response, and is recorded in the device distribution information.
For the registration that realizes other light fixture control terminals 33 and light fixture control terminal 33 device distribution information collecting with 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 register requirement and sends to power line signal processing module 323; Power line signal processing module 323 therefrom demodulates light fixture control terminal 33 register requirement and is transmitted to embedded microprocessor 322, and embedded microprocessor 322 sends to telepilot 31 through close range wireless communication module 321 with the register requirement of light fixture control terminal 33; And
Close range wireless communication module 321; Also be used to receive light fixture control terminal 33 register response that telepilot 31 returns and be transmitted to the power line carrier signal through embedded microprocessor 322; The power line carrier signal is modulated to light fixture control terminal 33 register response on the power line carrier signal, and is coupled to through 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 records 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 register requirement 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 once more 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 through equipment state and login state request package, improve the man-machine interaction of system.
The 4th part. control terminal
The major function of control terminal is the control command control corresponding terminal of Smart Home Control Network, light fixture is carried out the final topworks of 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 through serial line interface; The signal output part of embedded microprocessor connects the control end of each switch module, and each switch module is used to control the feed circuit of one or one group light fixture;
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 is used for demodulating the light fixture control command and sending to the signal input part of embedded microprocessor through serial line interface from the power line carrier signal that the power line signal coupled circuit is transmitted;
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 through signal output part, is used for the feed circuit that the CS 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 are provided with, 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 used to detect the level value that each is connected with the data input pin of hand switch, when level value is high level, control corresponding switch module and break off, otherwise it is closed to control corresponding switch module.
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 through line of electric force, be used to detect the zero point in each cycle of alternating current, and when detecting zero point to the zero passage detection signal input part input zero cross fired signal of embedded microprocessor; 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 to write down the light fixture status information, and when the light fixture state changes, sends the light fixture state updating information through 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 through the power line signal coupling module.
The major function of intelligent terminal is the control command control corresponding terminal 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, as long as unload existing light switch panel, packing intelligent terminal into then has now in the middle of switch 86 boxes when intelligent terminal is installed; Need not 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, user can not to 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, specifies control principle, 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 detection and the buffer memory of switch motion.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 an open mode when initial;
The state that 4 lamps are set is physics hand switch state and preserves;
Read the original levels state and the preservation of four data input ports that connect respectively of 4 switches;
The level state of 4 four data input ports that lamp connected is set, makes each solid-state relay be in closed condition, promptly lamp is in closed condition;
2). the principal function part
The level state of 4 four data input ports that switch connected of poll; If the level of corresponding data-in port and the level that read last time change then explain that action has taken place the corresponding physical hand switch; Promptly the state of corresponding lamp will change (if off status is then opened lamp; If lamp is out state, then close lamp; If lamp is to be in dimming state, then close lamp).The level state of the data-in port that is connected the state after changing with switch is all preserved, and deposits the light fixture status information in the buffer memory in.After 4 physics hand switches all detected and finish, whether in buffer memory had status information, have then to send through serial line interface if then detecting.
3). the external interrupt function
The adjusting of light realizes through the conduction angle of controlling each power frequency period solid-state relay.Open state: on the basis of current solid-state relay conduction angle, increase 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: on the basis of current solid-state relay conduction angle, reduce 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); Dimming state: if order the current brightness of desired brightness ratio high; Then on the basis of current solid-state relay conduction angle, increase 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 on the basis of current solid-state relay conduction angle, reduce 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.INTERFACE DESIGN adopts the QT3.4 version.
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 in interpolation, the deletion users home, change equipment position in the room by the user.
C) device control: to the user device control function is provided as required.
● conventional control: to equipment turn on light, turn off the light, light modulation, controls such as mode switch.
● quick control: a key is opened, a key is closed, common equipment control
D) equipment state is checked: check the equipment current states
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) the required infrared coding of device control, and control function is provided.
Room management:,, confirm the type position in each room according to the house type in actual conditions design house through the room administration interface.
● the room adds function:
I) start the back and get into the room administration interface from main interface
The room type that ii) selection will be added in the room administration interface
Iii) drag the room type icon chosen correct position in the distributed areas, room
● the room delete function:
I) get into 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.
● move the room location function:
I) get into the room administration interface, selection will be deleted mobile room icon
Ii) drag the room icon to suitable position
Equipment control: realize the interpolation (registration), deletion of equipment, function such as mobile through the equipment control interface
Equipment adds (registration)
I) receive interpolation (registration) request package of equipment after, telepilot 31 interface prompts have new equipment will register (icon of the requesting service type flicker in the upper left corner at main interface shows requesting service type icon in the lower left corner at equipment control interface).
Ii) access arrangement belongs to the room devices administration interface; Drag the correct position (can with this physical equipment position in room corresponding) of the appliance icon in the lower left corner to the device distribution zone, can demonstration question mark represent also do not add (registration) accomplish on this icon this moment.
Iii) choose this appliance icon, click reg (registration) button, telepilot 31 adds respond packet through wireless transmission device.
Iv) telepilot 31 receives that the interpolation of this equipment successfully wraps, and equipment adds (registration) completion, and appliance icon is become normal device icon (promptly 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 confirming or cancellation.
Iii) by after confirming, telepilot 31 is through wireless transmission device deletion request.
Iv) receive the unit deletion respond packet, the sweep equipment success is deleted equipment from system.
Annotate:
If unregistered equipment, repeat to send the deletion request of 3 secondary devices 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.
Operation of equipment control
The equipment that selection will be controlled
Method one:
I) control knob through main interface gets into distribution interface, room;
Ii) access arrangement distribution interface is clicked in room, selection equipment place in distribution interface, room;
Iii) in the device distribution interface, can check the distribution situation and the current states of this room devices, selection needs the equipment of control, clicks to get into the control interface.
Iv) in the control interface, can select other equipment in this room through the arrow up and down of clicking the left side.
Method two:
Certain equipment is set to common equipment, gets into the control interface of this equipment then through the common equipment interface
I) in the control interface, select corresponding apparatus through 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 is provided with;
Ii) opening the light and brightness of lamp is set in advance through secondary series and the 3rd row;
Iii) check preset content at (display);
Can activate the state of all preset lamps after a key is released the button and is selected in the iv) main interface.
One key close key: then it goes without doing is provided with in advance for X button, is responsible for closing all lamps
Common equipment interface: can navigate to the also direct control interface that gets into of equipment commonly used fast through the common equipment 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.Existing is that example is set forth with equipment interpolation (registration):
I) equipment interpolation request packet is issued telepilot 31, and decoding judges that information type also gets into 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 send to the room administration interface to information;
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 the 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 promptly 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 gets into accreditation process;
Vii) judge whether to satisfy the condition of registration, if do not satisfy then do not handle otherwise continues to judge whether register interface is opened, if do not open then register in the completion of main interface otherwise import information into the room administration interface at main interface;
Viii) administration interface has been registered equipment records and has continued judge whether register interface is opened in the room, 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 gets into is exactly the equipment room when pre-treatment, disappears if then can see the question mark on this equipment, promptly 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, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (6)

1. the home equipment controller in the intelligent home control system is characterized in that, comprising:
The power line signal processing module is used to receive the operation information of remote control home equipment state and transmits, and transmits after the home equipment steering order that receives is modulated to the power line carrier signal;
Embedded microprocessor, said embedded microprocessor specifically comprises:
First receiving element connects said power line signal processing module through serial line interface, is used to receive the operation information of the remote control home equipment state that said power line signal processing module transmits;
The first FIFO FIFO buffer unit connects first receiving element, is used to store the operation information that said first receiving element receives;
Processing unit and the 2nd FIFO buffer unit; Said processing unit is connected between the first FIFO FIFO buffer unit and the 2nd FIFO buffer unit; Be used for from the said first FIFO FIFO buffer unit according to storage order read operation information successively, generate corresponding home equipment steering order and be saved in said the 2nd FIFO buffer unit according to the operation information that reads;
First transmitting element is used for the storage order according to the home equipment steering order, from said the 2nd FIFO buffer unit, reads the home equipment steering order successively and sends to said power line signal processing module through serial line interface.
2. home equipment controller as claimed in claim 1 is characterized in that, also comprises:
The power line signal coupling module; Connect power line network through line of electric force; Be used for from said power line network receive modulation have remote control home equipment state operation information the power line carrier signal and be transmitted to the power line signal processing module, and receive power line carrier signal that said power line signal processing module transmits and be coupled and transmit to said power line network.
3. according to claim 1 or claim 2 home equipment controller is characterized in that said embedded microprocessor also comprises:
Second receiving element through the master controller in the serial line interface connection of intelligent house control system, is used to receive the operation information of said master controller as the Long-distance Control household equipment state of telnet server reception and forwarding;
The said first FIFO FIFO buffer unit also connects second receiving element and is used to store the operation information that said second receiving element receives.
4. home equipment controller as claimed in claim 3 is characterized in that, said embedded microprocessor also comprises: the control model storage unit, connect said processing unit, and be used to store the automatic control mode parameter configuration of home equipment;
Said first receiving element also is used to receive the ambient condition sensing data of said power line signal processing module forwarding and be transmitted to said processing unit;
Said processing unit is further according to the automatic control mode parameter configuration of storing in ambient condition sensing data that receives and the control model storage unit, generates corresponding home equipment steering order and stores in said the 2nd FIFO buffer unit.
5. home equipment controller as claimed in claim 4 is characterized in that, said first receiving element also is used to receive device distribution signal and the status information of equipment that said power line signal processing module is transmitted, and is saved in the data storage cell.
6. home equipment controller as claimed in claim 5 is characterized in that, also comprises:
Second transmitting element connects said data storage cell, is used for reading data that said data storage cell stores and is transmitted to said master controller through serial line interface.
CN200910164476A 2009-07-31 2009-07-31 Household equipment controller Expired - Fee Related CN101989072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910164476A CN101989072B (en) 2009-07-31 2009-07-31 Household equipment controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910164476A CN101989072B (en) 2009-07-31 2009-07-31 Household equipment controller

Publications (2)

Publication Number Publication Date
CN101989072A CN101989072A (en) 2011-03-23
CN101989072B true CN101989072B (en) 2012-10-03

Family

ID=43745668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910164476A Expired - Fee Related CN101989072B (en) 2009-07-31 2009-07-31 Household equipment controller

Country Status (1)

Country Link
CN (1) CN101989072B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591241B (en) * 2012-03-12 2013-11-06 山东建筑大学 Control method of indoor power off-home mode intelligent control device
CN103379131A (en) * 2012-04-13 2013-10-30 霍尼韦尔国际公司 Control system terminal and interaction method therefor
US9634856B2 (en) 2012-06-13 2017-04-25 Mitsubishi Electric Corporation Air-conditioning system and relay device
CN102891409B (en) * 2012-10-29 2016-03-16 旨丰科技有限公司 A kind of for electric connecting device
CN104184634A (en) * 2013-05-27 2014-12-03 广东美的制冷设备有限公司 Household appliance networking system
JP2015226081A (en) * 2014-05-26 2015-12-14 Necプラットフォームズ株式会社 Control apparatus, communication system, control method, and program
CN105355011A (en) * 2014-08-18 2016-02-24 颂莱视听工程股份有限公司 Wireless environment control system
CN104503255A (en) * 2014-12-25 2015-04-08 广东美的厨房电器制造有限公司 Intelligent kitchen system, and control method and server thereof
CN105005203B (en) * 2015-07-27 2016-10-12 慧锐通智能科技股份有限公司 Intelligent home control system based on control panel and method
CN105245250A (en) * 2015-09-18 2016-01-13 国网冀北电力有限公司信息通信分公司 Multi-hop relay deployment power line transmission data collection system for wireless communication network
CN106559294A (en) * 2015-09-30 2017-04-05 上海科斗电子科技有限公司 Smart home sensor interaction systems
CN106130812B (en) * 2016-06-02 2019-03-15 美的集团股份有限公司 It is a kind of that the method and apparatus of equipment state are provided
KR102304936B1 (en) * 2016-06-12 2021-09-27 애플 인크. User interface for managing controllable external devices
CN105955052A (en) * 2016-06-20 2016-09-21 福州台江区超人电子有限公司 Household electric appliance remote control system
DE112017003157T5 (en) * 2016-06-22 2019-03-14 Soraa, Inc. Intelligent modules for intelligent networks
CN106020153B (en) * 2016-07-07 2024-01-26 福建船政交通职业学院 Remote home control system based on WIFI and infrared technology and implementation method thereof
CN108270692A (en) * 2017-12-07 2018-07-10 上海西默通信技术有限公司 Serial data transmission method in a kind of smart home
CN108427292A (en) * 2018-01-24 2018-08-21 普天智能照明研究院有限公司 A kind of home equipment
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
CN108924022A (en) * 2018-07-26 2018-11-30 苏州市千尺浪信息技术服务有限公司 A kind of office tele-control system
CN109218098A (en) * 2018-09-20 2019-01-15 武汉指针科技有限公司 A kind of connection and configuration method of home gateway
CN110009895A (en) * 2019-04-22 2019-07-12 重庆房地产职业学院 Electrical control system based on power carrier communication
CN110164117A (en) * 2019-05-24 2019-08-23 珠海多士科技有限公司 A kind of IR remote controller signal compression storage method
CN112462637A (en) * 2019-09-06 2021-03-09 佛山市顺德区美的电热电器制造有限公司 Household appliance and control method thereof
CN112071052A (en) * 2019-09-06 2020-12-11 超级智慧家(上海)物联网科技有限公司 Infrared repeater system, infrared repeater and data learning method thereof
CN111225052B (en) * 2020-01-04 2023-03-28 普联技术有限公司 Device function expanding method, device and storage medium
CN113110115B (en) * 2020-01-13 2022-07-22 北京小米移动软件有限公司 Control circuit of electronic equipment, control method of control circuit and electronic equipment
CN113568319A (en) * 2021-07-08 2021-10-29 广东科谷智能科技有限公司 Comprehensive lighting and nourishing system taking user real-time heart rate monitoring value as adjustment amount

Also Published As

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

Similar Documents

Publication Publication Date Title
CN101989072B (en) Household equipment controller
CN101989376B (en) Intelligent home control system
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
CN201589976U (en) Intelligent home system based on ZigBee technology
CN204331418U (en) Be provided with controlled plant and the remote signal transferring system of duty feedback function
CN104468297B (en) A kind of smart home system
CN104331041A (en) Intelligent home system structure and control method thereof
CN103092172A (en) Wire arrangement type intelligent home integrated control device based on cloud service platform
CN105867145A (en) Intelligent household equipment control method and apparatus
CN106154845A (en) A kind of intelligent domestic system
CN104597882A (en) Intelligent electrical appliance, mobile communication device, intelligent electrical appliance control system and method
CN1829182A (en) Wireless intelligent house system based on blue tooth infrared
CN201590917U (en) Lamp control system
CN204925670U (en) Intelligence household electrical appliances control system based on singlechip and bluetooth of mobile phone communication
CN103970097A (en) Smart home internet-of-things system based on EIB/KNX bus
CN104460625A (en) Intelligent home switching system based on wireless network
CN204989807U (en) Home automation control system who integrates
CN106163022A (en) Lamp switch device with ammeter function and intelligent lamp control system
CN106154993A (en) A kind of device controller
CN201590918U (en) Sensing repeater in intelligent household control system
CN104914730A (en) Novel intelligent household operation interface automatic switching control system and method

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: 20121003

Termination date: 20160731