CN104218975B - Power line carrier communication method and information transmitting device - Google Patents

Power line carrier communication method and information transmitting device Download PDF

Info

Publication number
CN104218975B
CN104218975B CN201410471256.0A CN201410471256A CN104218975B CN 104218975 B CN104218975 B CN 104218975B CN 201410471256 A CN201410471256 A CN 201410471256A CN 104218975 B CN104218975 B CN 104218975B
Authority
CN
China
Prior art keywords
electric current
opening time
time point
power line
current opening
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410471256.0A
Other languages
Chinese (zh)
Other versions
CN104218975A (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.)
SHENZHEN RAYRUN TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN RAYRUN TECHNOLOGY 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 SHENZHEN RAYRUN TECHNOLOGY Co Ltd filed Critical SHENZHEN RAYRUN TECHNOLOGY Co Ltd
Priority to CN201410471256.0A priority Critical patent/CN104218975B/en
Publication of CN104218975A publication Critical patent/CN104218975A/en
Application granted granted Critical
Publication of CN104218975B publication Critical patent/CN104218975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a power line carrier communication method. The power line carrier communication method includes steps: obtaining target data to be transmitted currently, and encoding the target data according to a preset encoding rule so as to obtain corresponding encoding value; seeking for an electric current opening time point in preset encoding data, corresponding to the encoding value, according to a mapping relation between the preset electric current opening time point and preset encoding data; controlling preset electric current opening time of a power line according to the electric current opening time point corresponding to the target data, and then obtaining target power line carrier information corresponding to the target data, and finally sending the target power line carrier information to a preinstalled information receiving device. The power line carrier communication method achieves power line carrier communications between an information transmitting device and the information receiving device, and then reduces requirements for and dependence on power line hardware, enables an electric circuit to be simple, reduces cost of the electric circuit, and further improves communication reliability. Simultaneously, the power line carrier information obtained in the power line carrier communication method is simple in format, and no additional electromagnetic interference can be generated.

Description

The method of power line carrier communication and information transmitting apparatus
Technical field
The present invention relates to power-line carrier communication field, more particularly, to a kind of method of power line carrier communication and letter Breath transmission equipment.
Background technology
Power line carrier communication (Power Line Carrier, PLC) is low voltage power lines transmission data in employing A kind of communication mode, because this communication mode is with electric lines of force as carrier it is not necessary to the other communications in addition to electric lines of force are situated between Matter, therefore this communication mode can easily be applied on any equipment powered by electric lines of force.In other words institute is in need The electrical equipment of mains-supplied all can apply this communication mode to realize interconnecting, and this is that network based on power line carrier leads to The products such as letter, smart home electrical equipment provide a kind of simple and easy to do communication mode.Present power-line carrier communication is Widely apply in daily life, such as apply linking Internet power line modem (Homeplug), Ammeter centralized automatic meter-reading based on PLC technology etc..
Being based on orthogonal frequency division multiplexi (Orthogonal Frequency Division existing PLC technology more Multiplexing, OFDM) modulation system, by modulation after signal pass through bonder be coupled on electric lines of force communicate.Existing PLC standard based on HomePlug, G.hn etc..Although these methods are capable of the communication of higher rate, have following Significantly shortcoming:
First, easily it is subject to various electromagnetic signals on electric lines of force to disturb, existing interference has to electric lines of force for transmission range and speed Larger dependence.
2nd, multicarrier communication signal mostly is high-frequency signal, and itself easily produces extra electromagnetic interference.
3rd, circuit is complicated, with high costs.
4th, high to line requirements, communication reliability is poor.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
Content of the invention
Present invention is primarily targeted at solve power-line carrier communication electric lines of force is relied on big, have high demands, and electricity Road is complicated, be also easy to produce the technical problem of extra electromagnetic interference.
For achieving the above object, the method for a kind of power line carrier communication that the present invention provides, the method includes following step Suddenly:
Obtain the target data currently to be sent, according to default coding rule, described target data coding is obtained and correspond to Encoded radio;
According to the mapping relations of preset electric current opening time point and pre-arranged code data, search and obtain described pre-arranged code Electric current opening time point corresponding with described encoded radio in data;
According to described target data corresponding electric current opening time point, control the electric current opening time of default electric lines of force, Obtain described target data corresponding target power line carrier information, and described target power line carrier information is sent to preset Information receiving device.
Preferably, the described mapping relations according to preset electric current opening time point and pre-arranged code data, search and obtain In described pre-arranged code data, the step of electric current opening time point corresponding with described encoded radio includes:
Judge that described pre-arranged code data whether there is described encoded radio;
If so, then read described encoded radio according to the mapping relations of preset electric current opening time point and pre-arranged code data The electric current opening time point being mapped.
Preferably, described power line carrier is alternating current sine wave, and the pass breakpoint of described power line carrier is for alternating current just The zero crossing of string ripple, and it is provided with electric current opening time point described between the breakpoint of pass described in adjacent two.
Preferably, described in adjacent two close breakpoint between described electric current opening time point, located at Shang Yiguan breakpoint with told Between sine wave fixed time.
Preferably, described preset electric current opening time point is the electric current opening time interval with preset duration, described Between default electric current opening time interval and pre-arranged code data, there are mapping relations.
Additionally, for achieving the above object, the present invention also provides a kind of information transmitting apparatus, and this equipment includes:
Obtain coding module, for obtaining the currently pre- target data sending, according to default coding rule to described mesh Mark data encoding obtains corresponding encoded radio;
Search mapping block, for the mapping relations according to preset electric current opening time point and pre-arranged code data, look into Look for electric current opening time point corresponding with described encoded radio in the described pre-arranged code data of acquisition;
Carrier wave obtains module, for according to described target data corresponding electric current opening time point, controlling default electric power The electric current opening time of line carrier wave, obtain described target data corresponding target power line carrier information, and described target is electric Line of force carrier information sends to preset information receiving device.
Preferably, described lookup mapping block is used for:
Judge that described pre-arranged code data whether there is described encoded radio;If so, then according to the preset electric current opening time Point reads, with the mapping relations of pre-arranged code data, the electric current opening time point that described encoded radio is mapped.
Preferably, described power line carrier is alternating current sine wave, and the pass breakpoint of described power line carrier is for alternating current just The zero crossing of string ripple, and it is provided with electric current opening time point described between the breakpoint of pass described in adjacent two.
Preferably, described in adjacent two close breakpoint between described electric current opening time point, located at Shang Yiguan breakpoint with told Between sine wave fixed time.
Preferably, described preset electric current opening time point is the electric current opening time interval with preset duration, described Between default electric current opening time interval and pre-arranged code data, there are mapping relations.
The present invention passes through first to obtain the target data currently to be sent, and according to default coding rule, this target data is compiled Code coding, to obtain corresponding encoded radio, according to the mapping relations of preset electric current opening time point and pre-arranged code data, is looked into Look for encoded radio corresponding electric current opening time point described in the described pre-arranged code data of acquisition, according to the corresponding electric current of target data Opening time point, controls the electric current opening time of default electric lines of force, obtains target data corresponding target power line carrier wave letter Breath, and target power line carrier information is sent to preset information receiving device, thus the encoded radio with different target data The different pre-arranged code data of correspondence, further according to the mapping relations of preset electric current opening time point and pre-arranged code data, builds The encoded radio of vertical target data and the mapping relations of electric current opening time point, thus with electric current opening time point and target information it Between simple mapping relations achieve power line carrier communication between information transmitting apparatus and information receiving device, and then reduce Requirement to electric power line hard ware and dependence, make circuit simpler, reduce circuit cost, also improve communication reliability;With When, the power line carrier wave information form of this method is simple, does not add extra high frequency component signal, will not produce extra electricity Magnetic disturbance.
Brief description
Fig. 1 is the schematic flow sheet of the method first embodiment of power line carrier communication of the present invention;
Fig. 2 is the mapping relations in Fig. 1 according to preset electric current opening time point and pre-arranged code data, searches and obtains institute State the refinement schematic flow sheet of the step of electric current opening time point corresponding with described encoded radio in pre-arranged code data;
Fig. 3 is the high-level schematic functional block diagram of information transmitting apparatus first embodiment of the present invention;
Fig. 4 is the work wave schematic diagram of the method preferred embodiment of power line carrier communication of the present invention;
Fig. 5 is the operation principle schematic diagram of power-line carrier communication system of the present invention;
Fig. 6 is the module diagram of power-line carrier communication system of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides a kind of method of power line carrier communication.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of the method first embodiment of power line carrier communication of the present invention.
In the present embodiment, the method for this power line carrier communication includes:
Step S10, obtains the target data currently to be sent, and according to default coding rule, target data is encoded to obtain Obtain corresponding encoded radio;
Information transmitting apparatus first obtain the target data being currently needed for sending, and according to default coding rule to number of targets According to being encoded, to obtain corresponding encoded radio;Default coding rule is used for target data is converted into binary system, ten is entered The data of the specific standard such as system, hexadecimal, such as target data are open command, are corresponded to after open command is encoded Encoded radio be binary one 0011001.
Step S20, according to the mapping relations of preset electric current opening time point and pre-arranged code data, searches to obtain and presets Electric current opening time point corresponding with encoded radio in coded data;
Before power line carrier communication, the mapping first setting up preset electric current opening time point with pre-arranged code data is closed System, electric current opening time point is the moment value that electric current automatic shutoff state is changed into opening, and pre-arranged code data can be by electricity The data mode of line of force carrier-wave transmission, such as pre-arranged code data are the array of the binary numeration system being made up of 0 and 1;Then pre- If search in coded data obtaining default sub- encoded radio corresponding with the pre-arranged code data of encoded radio, searching and presetting sub- encoded radio Corresponding electric current opening time point, it is achieved thereby that the one-to-one corresponding of target data and electric current opening time point, when needs are carried out Electric current opening time point during power line carrier communication, according to corresponding to the target data obtaining obtains target data.
Additionally, preset electric current opening time point can be the electric current opening time interval with preset duration, default There are mapping relations, as long as electric current start-up time fall into preset electricity between electric current opening time interval and pre-arranged code data In the stream opening time is interval, you can obtain this electric current opening time interval corresponding pre-arranged code data, so, reduce to electricity The time precision of streamline carrier communication hardware requires, and reduces the cost of carrier telecommunication.
Step S30, according to target data corresponding electric current opening time point, when controlling the electric current of default electric lines of force to open Between, obtain target data corresponding target power line carrier information, and target power line carrier information is sent to preset letter Breath receiving device.
Information transmitting apparatus, according to target data corresponding electric current opening time point, control the electric current of default electric lines of force to open Open the time, obtain target data corresponding target power line carrier information, according to electric current opening time point, current waveform is entered Row is corresponding to be adjusted, and obtains target data corresponding power line carrier waveform, then sends target power line carrier information to pre- The information receiving device put, this information receiving device demodulates accordingly to the power line carrier wave information receiving, thus obtaining letter The target data that breath transmission equipment is sent, the demodulating process of information receiving device is relative with information transmitting apparatus modulated process Should.
In the present embodiment, by first obtaining the target data currently to be sent, according to default coding rule to this mesh Mark data encoding, to obtain corresponding encoded radio, closes according to the mapping of preset electric current opening time point and pre-arranged code data System, searches and obtains encoded radio corresponding electric current opening time point described in described pre-arranged code data, is corresponded to according to target data Electric current opening time point, control the default power line current opening time, obtain target data corresponding target power line carry Ripple information, and target power line carrier information is sent to preset information receiving device, thus the volume with different target data The different pre-arranged code data of code value correspondence, the mapping further according to preset electric current opening time point and pre-arranged code data is closed System, sets up the encoded radio of target data and the mapping relations of electric current opening time point, thus with electric current opening time point and target Simple mapping relations between information achieve the power line carrier communication between information transmitting apparatus and information receiving device, enter And reduce the requirement to electric power line hard ware and dependence, make circuit simpler, reduce circuit cost, also improve reliable communications Property;Meanwhile, the power line carrier wave information form of this method is simple, does not add extra high frequency component signal, will not produce volume Outer electromagnetic interference.
Further, with reference to Fig. 2, Fig. 2 is reflecting according to preset electric current opening time point and pre-arranged code data in Fig. 1 Penetrate relation, search the refinement obtaining the step of electric current opening time point corresponding with described encoded radio in described pre-arranged code data Schematic flow sheet.
Step S20 includes:
Step S201, judges that described pre-arranged code data whether there is described encoded radio;
Pre-arranged code data is preferably and is made up of the sub- encoded radio of multiple specific systems, and such as pre-arranged code data is entered by ten It is made as 0~15 binary sub- encoded radio composition, search and obtain and identical son coding corresponding with the encoded radio of target data Value.
Step S202, if so, then reads according to the mapping relations of preset electric current opening time point and pre-arranged code data The electric current opening time point that described encoded radio is mapped.
Preset electric current opening time point and the sub- encoded radio of pre-arranged code data are one-to-one, according to encoded radio pair The sub- encoded radio answered, searches and obtains sub- encoded radio corresponding electric current opening time point, it is achieved thereby that finding electricity by encoded radio Stream opening time point, that is, achieve and find corresponding electric current opening time point by target data.
Additionally, electric current opening time point it can also be provided that the electric current opening time interval, as long as electric current start-up time falls into In the preset electric current opening time is interval, you can obtain this electric current opening time interval corresponding pre-arranged code data, so, Reduce the time precision to electric current line carrier communication hardware to require, reduce the cost of carrier telecommunication.
With reference to Fig. 1 and Fig. 4, Fig. 4 is that the work wave of the method preferred embodiment of power line carrier communication of the present invention is illustrated Figure.
The preferred embodiment of the method for power line carrier communication of the present invention is as follows:
Step S10, obtains the currently pre- target data sending, according to default coding rule, described target data is encoded To obtain corresponding encoded radio;
Step S20, according to the mapping relations of preset electric current opening time point and pre-arranged code data, searches described in obtaining Electric current opening time point corresponding with described encoded radio in pre-arranged code data;
Step S30, according to target data corresponding electric current opening time point, when controlling the electric current of default electric lines of force to open Between, obtain target data corresponding target power line carrier information, and target power line carrier information is sent to preset letter Breath receiving device.
In the preferred embodiment, power line carrier is alternating current sine wave, and the pass breakpoint of power line carrier is alternating current It is provided with an electric current opening time point between the zero crossing of sine wave, and adjacent two pass breakpoints;This is using in alternating current techniques Semiconductor controlled silicon device zero-crossing switching characteristic, that is, the wave-form crosses zero point voltage of alternating current is zero;Meanwhile, two pass breakpoints Between be provided with an electric current opening time point, i.e. only one of which electric current opening time point in alternating current sine wave half period, Closing breakpoint takes the waveform pass zero point of alternating current sine wave to be easy to the identification to zero crossing, and facilitates information transmitting apparatus and information to connect Base when receiving unit obtains accurate is it is not necessary to increase extra device or software come base when calibrating, thus effective control cost, Greatly improve the practicality of the program.
Specifically, with reference to Fig. 4, using T0 as waveform pass zero point moment value, Tn (n taking the alternating current of 220v/50Hz as a example =1,2,3 ...) moment is as the electric current opening time point of alternating current, that is, the Tn moment ac signal is opened and realizes communication, figure Middle sine wave bold portion represents sine wave actual waveform, and sine wave dotted portion represents sine wave original waveform.
Each cycle of 220v/50Hz alternating current sine wave is 20ms, and once for every half is 10ms, every half week of sine wave Several electric currents opening time point can be taken according to system time precision in phase, for example, if system time precision reaches 0.1mS, Being provided with 16 opening time points in every sine wave half cycle is time interval, and 16 time intervals are preset with 16 respectively and compiled The sub- encoded radio of code data corresponds to, and 16 sub- encoded radios are respectively 0000,0001,0010,0011,0100,0101,0110, 0111,1000,1001,1010,1011,1100,1101,1110,1111, each time interval interval when a length of 0.625ms, In the front half period of a cycle of current sinusoidal ripple, if T1 be 1.2ms, T1 fall into second interval [0.625, 1.25] in, so the sub- encoded radio that T1 is mapped is 0001.Thus achieving 4 bit-binary in alternating current half period The transmission of data, and then the binary system byte of 8 bits can be sent in alternating current a cycle, so, this programme should The communication that baud rate is 400bps can be realized in the alternating current of 220v/50Hz, such traffic rate can meet one As electric switch, the requirement of function control.When system time precision is higher, more unlatchings can be set within per half period Time point, thus reach the purpose improving traffic rate.
Further, adjacent two close the electric current opening time point between breakpoint, solid with sine wave located at Shang Yiguan breakpoint Between timing is carved.In this example, Tmax is alternating current sine wave sine wave fixed time, and that is, Tmax is to be in alternating current sine wave The moment value of wave-shape amplitude peak, between Tmax before a upper T0 and next T0 for the electric current opening time point Tn, So, though the voltage peak on electric current opening time point Tn electric lines of force after Tmax, unlatching still with do not carry out this communication The peak value of modulation is consistent, the information receiving device of this sample power line carrier communication still can obtain enough supply voltages with Maintain normal work.Tmax can also require to select in other fixed time values to the different of power supply according to equipment, thus reaching Equipment has enough voltage to keep normal work and is capable of the requirement of carrier communication.
The present invention further provides a kind of information transmitting apparatus, with reference to Fig. 3, Fig. 3 is information transmitting apparatus first of the present invention The high-level schematic functional block diagram of embodiment.
This information transmitting apparatus includes:
Obtain coding module 50, for obtaining the target data currently to be sent, according to default coding rule to described Target data coding obtains corresponding encoded radio;
Information transmitting apparatus first obtain the target data being currently needed for sending, and according to default coding rule to number of targets According to being encoded, to obtain corresponding encoded radio;Default coding rule is used for target data is converted into binary system, ten is entered The data of the numeral systems such as system, hexadecimal, such as target data are open command, obtain corresponding volume after open command is encoded Code value is binary one 0011001.
Search mapping block 60, for the mapping relations according to preset electric current opening time point and pre-arranged code data, Search and obtain electric current opening time point corresponding with described encoded radio in described pre-arranged code data;
Before power line carrier communication, the mapping first setting up preset electric current opening time point with pre-arranged code data is closed System, electric current opening time point is the moment value that electric current automatic shutoff state is changed into opening, and pre-arranged code data can be by electricity The data mode of line of force carrier-wave transmission, such as pre-arranged code data are the array of the binary numeration system being made up of 0 and 1;Then pre- If search in coded data obtaining default sub- encoded radio corresponding with the pre-arranged code data of encoded radio, searching and presetting sub- encoded radio Corresponding electric current opening time point, it is achieved thereby that the one-to-one corresponding of target data and electric current opening time point, when needs are carried out Electric current opening time point during power line carrier communication, according to corresponding to the target data obtaining obtains target data.
Additionally, preset electric current opening time point can be the electric current opening time interval with preset duration, default There are mapping relations, as long as electric current start-up time fall into preset electricity between electric current opening time interval and pre-arranged code data In the stream opening time is interval, you can obtain this electric current opening time interval corresponding pre-arranged code data, so, reduce to electricity The time precision of streamline carrier communication hardware requires, and reduces the cost of carrier telecommunication.
Carrier wave obtains module 70, with according to described target data corresponding electric current opening time point, controlling default electric power The electric current opening time of line, obtain described target data corresponding target power line carrier information, and by described target power line Carrier information sends to preset information receiving device.
Information transmitting apparatus, according to target data corresponding electric current opening time point, control the electricity of default power line carrier The stream opening time, obtain target data corresponding target power line carrier information, that is, according to electric current opening time point to current wave Shape is accordingly adjusted, and obtains target data corresponding power line carrier waveform, then sends target power line carrier information To preset information receiving device, this information receiving device demodulates accordingly to the power line carrier wave information receiving, thus obtaining Obtain target data, the demodulating process of information receiving device and the information transmitting apparatus modulated process phase that information transmitting apparatus are sent Corresponding.
In the present embodiment, by first obtaining the target data currently to be sent, according to default coding rule to this mesh Mark data encoding, to obtain corresponding encoded radio, closes according to the mapping of preset electric current opening time point and pre-arranged code data System, searches and obtains encoded radio corresponding electric current opening time point described in described pre-arranged code data, is corresponded to according to target data Electric current opening time point, control default electric lines of force the electric current opening time, obtain target data corresponding target power line Carrier information, and target power line carrier information is sent to preset information receiving device, thus with different target data The different pre-arranged code data of encoded radio correspondence, the mapping further according to preset electric current opening time point and pre-arranged code data is closed System, sets up the encoded radio of target data and the mapping relations of electric current opening time point, thus with electric current opening time point and target Simple mapping relations between information achieve the power line carrier communication between information transmitting apparatus and information receiving device, enter And reduce the requirement to electric power line hard ware and dependence, make circuit simpler, reduce circuit cost, also improve reliable communications Property;Meanwhile, the power line carrier wave information form of this method is simple, does not add extra high frequency component signal, will not produce volume Outer electromagnetic interference.
Further, search mapping block to be used for:
Judge that described pre-arranged code data whether there is described encoded radio;If so, then according to the preset electric current opening time Point reads, with the mapping relations of pre-arranged code data, the electric current opening time point that described encoded radio is mapped.
Pre-arranged code data is preferably and is made up of the sub- encoded radio of multiple specific systems, and such as pre-arranged code data is entered by ten It is made as 0~15 binary sub- encoded radio composition, search and obtain and identical sub- encoded radio corresponding with encoded radio;
Preset electric current opening time point is one-to-one with sub- encoded radio, according to the corresponding sub- encoded radio of encoded radio, Search and obtain sub- encoded radio corresponding electric current opening time point, it is achieved thereby that electric current opening time point is found by encoded radio, Achieve and corresponding electric current opening time point is found by target data.
Additionally, electric current opening time point it can also be provided that the electric current opening time interval, as long as electric current start-up time falls into In the preset electric current opening time is interval, you can obtain this electric current opening time interval corresponding pre-arranged code data, so, Reduce the time precision to electric current line carrier communication hardware to require, reduce the cost of carrier telecommunication.
With reference to referring to Fig. 3 and Fig. 4, the preferred embodiment of information transmitting apparatus of the present invention is as follows:
This information transmitting apparatus includes:
Obtain coding module 50, for obtaining the target data currently to be sent, according to default coding rule to described Target data coding obtains corresponding encoded radio;
Search mapping block 60, for the mapping relations according to preset electric current opening time point and pre-arranged code data, Search and obtain electric current opening time point corresponding with described encoded radio in described pre-arranged code data;
Carrier wave obtains module 70, for according to described target data corresponding electric current opening time point, controlling default electricity The electric current opening time of the line of force, obtain described target data corresponding target power line carrier information, and by described target power Line carrier information sends to preset information receiving device;
In the preferred embodiment, power line carrier is alternating current sine wave, and the pass breakpoint of power line carrier is alternating current It is provided with an electric current opening time point between the zero crossing of sine wave, and adjacent two pass breakpoints;This is using in alternating current techniques Semiconductor controlled silicon device zero-crossing switching characteristic, that is, the wave-form crosses zero point voltage of alternating current is zero;Meanwhile, two pass breakpoints Between be provided with an electric current opening time point, i.e. only one of which electric current opening time point in alternating current sine wave half period, Closing breakpoint takes the waveform pass zero point of alternating current sine wave to be easy to the identification to zero crossing, and facilitates information transmitting apparatus and information to connect Base when receiving unit obtains accurate is it is not necessary to increase extra device or software come base when calibrating, thus effective control cost, Greatly improve the practicality of the program.
Specifically, with reference to Fig. 4, using T0 as waveform pass zero point moment value, Tn (n taking the alternating current of 220v/50Hz as a example =1,2,3 ...) moment is as the electric current opening time point of alternating current, that is, the Tn moment ac signal is opened and realizes communication, figure Middle sine wave bold portion represents sine wave actual waveform, and sine wave dotted portion represents sine wave original waveform.
Each cycle of 220v/50Hz alternating current sine wave is 20ms, and once for every half is 10ms, every half week of sine wave Several electric currents opening time point can be taken according to system time precision in phase, for example, if system time precision reaches 0.1mS, Being provided with 16 opening time points in every sine wave half cycle is time interval, and 16 time intervals are preset with 16 respectively and compiled The sub- encoded radio of code data corresponds to, and 16 sub- encoded radios are respectively 0000,0001,0010,0011,0100,0101,0110, 0111,1000,1001,1010,1011,1100,1101,1110,1111, each time interval interval when a length of 0.625ms, In the front half period of a cycle of current sinusoidal ripple, if T1 be 1.2ms, T1 fall into second interval [0.625, 1.25] in, so the sub- encoded radio that T1 is mapped is 0001.Thus achieving 4 bit-binary in alternating current half period The transmission of data, and then the binary system byte of 8 bits can be sent in alternating current a cycle, so, this programme should The communication that baud rate is 400bps can be realized in the alternating current of 220v/50Hz, such traffic rate can meet one As electric switch, the requirement of function control.When system time precision is higher, more unlatchings can be set within per half period Time point, thus reach the purpose improving traffic rate.
Further, adjacent two close the electric current opening time point between breakpoint, solid with sine wave located at Shang Yiguan breakpoint Between timing is carved.In this, Tmax is the moment value of alternating current sine wave sine wave fixed time place extreme point, i.e. Tmax For being in the moment value of alternating current sine waveform amplitude peak, electric current opening time point Tn is located at a upper T0 and the next one Between Tmax before T0, so, though the voltage peak on electric current opening time point Tn electric lines of force after Tmax, unlatching still So consistent with the peak value not carrying out this communication modulation, the information receiving device of this sample power line carrier communication still can obtain Enough supply voltages are to maintain normal work.Tmax can also require to select in other moment to the different of power supply according to equipment Value, thus the equipment that reaches has enough voltage to keep normal work and is capable of the requirement of carrier communication.
The present invention further provides a kind of circuit line carrier communication system, with reference to Fig. 6, Fig. 6 is power line carrier of the present invention The module diagram of communication system.
This system includes information transmitting apparatus and information receiving device,
Information transmitting apparatus include:
Obtain coding module 50, for obtaining the target data currently to be sent, according to default coding rule to described Target data coding obtains corresponding encoded radio;
Search mapping block 60, for the mapping relations according to preset electric current opening time point and pre-arranged code data, Search and obtain electric current opening time point corresponding with described encoded radio in described pre-arranged code data;
Carrier wave obtains module 70, for according to described target data corresponding electric current opening time point, controlling default electricity The line of force electric current opening time, obtain described target data corresponding target power line carrier information, and by described target power line Carrier information sends to preset information receiving device;
Information receiving device is used for receive information and sends the power line carrier wave information that equipment sends, and this power carrier is believed Breath carries out corresponding demodulation, obtains described information and sends the target data that equipment sends.
In circuit line carrier communication system, information transmitting apparatus first obtain the target data currently to be sent, according to pre- If coding rule this target data is encoded to obtain corresponding encoded radio, according to preset electric current opening time point with default The mapping relations of coded data, search and obtain encoded radio corresponding electric current opening time point described in described pre-arranged code data, According to target data corresponding electric current opening time point, control the electric current opening time of default electric lines of force, obtain target data Corresponding target power line carrier information, and target power line carrier information is sent to preset information receiving device, thus With the different pre-arranged code data of the encoded radio of different target data correspondence, further according to preset electric current opening time point with default The mapping relations of coded data, set up the encoded radio of target data and the mapping relations of electric current opening time point, thus with electric current Simple mapping relations between opening time point and target information achieve between information transmitting apparatus and information receiving device Power line carrier communication, and then reduce the requirement to electric power line hard ware and dependence, make circuit simpler, reduce circuit This, also improve communication reliability;Meanwhile, the power line carrier wave information form of this method is simple, does not add extra high frequency Component of signal, will not produce extra electromagnetic interference.
Additionally, with reference to Fig. 5, Fig. 5 is the operation principle schematic diagram of power-line carrier communication system of the present invention.
The operation principle of power-line carrier communication system of the present invention is as follows:
As shown in FIG., information transmitting apparatus 101 and information receiving device 105 are connected by AC electrical power line 104.
Information transmitting apparatus 101 are internal to control gate-controlled switch 103 to realize said method to alternating current by processor 102 The switching in T0 and Tn moment controls, by modulates information on the alternating current of AC electrical power line 104.
Read the AC electrical power line being connected with information transmitting apparatus 101 by demodulator 106 inside information receiving device 105 T0, Tn moment value on 104 alternating currents, and it is sent to processor 107, processor 107 show after parsing this information that information sends The instruction that equipment 101 is sent, and this instruction is sent to actuator 108 and executes this instruction.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (6)

1. a kind of method of power line carrier communication is it is characterised in that the method for described power line carrier communication includes following step Suddenly:
Obtain the target data currently to be sent, according to default coding rule, described target data is encoded corresponding to obtain Encoded radio;
According to the mapping relations of preset electric current opening time point and pre-arranged code data, search and obtain described pre-arranged code data In electric current opening time point corresponding with described encoded radio;
According to described target data corresponding electric current opening time point, control the electric current opening time of default electric lines of force, obtain The corresponding target power line carrier information of described target data, and described target power line carrier information is sent to preset letter Breath receiving device;
Described power line carrier is alternating current sine wave, and described preset electric current opening time point is the electric current with preset duration Opening time is interval, has mapping relations between described default electric current opening time interval and pre-arranged code data;Described electricity Line of force carrier wave close the zero crossing that breakpoint is alternating current sine wave, and close described in adjacent two and be provided with electric current described in and open between breakpoint Open time point.
2. the method for power line carrier communication as claimed in claim 1 is it is characterised in that described open according to preset electric current Time point and the mapping relations of pre-arranged code data, search and obtain electricity corresponding with described encoded radio in described pre-arranged code data The step of stream opening time point includes:
Judge that described pre-arranged code data whether there is described encoded radio;
If so, then read described encoded radio according to the mapping relations of preset electric current opening time point and pre-arranged code data to be reflected The electric current opening time point penetrated.
3. the method for power line carrier communication as claimed in claim 1 is it is characterised in that close between breakpoint described in adjacent two Described electric current opening time point, between Shang Yiguan breakpoint and described sine wave fixed time.
4. a kind of information transmitting apparatus are it is characterised in that described information transmission equipment includes:
Obtain coding module, for obtaining the target data currently to be sent, according to default coding rule to described number of targets Obtain corresponding encoded radio according to coding;
Search mapping block, for the mapping relations according to preset electric current opening time point and pre-arranged code data, lookup obtains Obtain electric current opening time point corresponding with described encoded radio in described pre-arranged code data;
Carrier wave obtains module, for according to described target data corresponding electric current opening time point, controlling default electric lines of force The electric current opening time, obtain described target data corresponding target power line carrier information, and by described target power line carrier wave Information sends to preset information receiving device;
Described power line carrier is alternating current sine wave, and described preset electric current opening time point is the electric current with preset duration Opening time is interval, has mapping relations between described default electric current opening time interval and pre-arranged code data;Described electricity Line of force carrier wave close the zero crossing that breakpoint is alternating current sine wave, and close described in adjacent two and be provided with electric current described in and open between breakpoint Open time point.
5. information transmitting apparatus as claimed in claim 4 are it is characterised in that described lookup mapping block is used for:
Judge that described pre-arranged code data whether there is described encoded radio;If so, then according to preset electric current opening time point with The mapping relations of pre-arranged code data read the electric current opening time point that described encoded radio is mapped.
6. information transmitting apparatus as claimed in claim 4 are it is characterised in that close the described electric current between breakpoint described in adjacent two Opening time point, between Shang Yiguan breakpoint and described sine wave fixed time.
CN201410471256.0A 2014-09-16 2014-09-16 Power line carrier communication method and information transmitting device Active CN104218975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410471256.0A CN104218975B (en) 2014-09-16 2014-09-16 Power line carrier communication method and information transmitting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410471256.0A CN104218975B (en) 2014-09-16 2014-09-16 Power line carrier communication method and information transmitting device

Publications (2)

Publication Number Publication Date
CN104218975A CN104218975A (en) 2014-12-17
CN104218975B true CN104218975B (en) 2017-02-08

Family

ID=52100156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410471256.0A Active CN104218975B (en) 2014-09-16 2014-09-16 Power line carrier communication method and information transmitting device

Country Status (1)

Country Link
CN (1) CN104218975B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278008B (en) * 2018-03-16 2021-05-04 华为技术有限公司 Power line communication method and device and computer storage medium
CN110995317A (en) * 2019-12-16 2020-04-10 福州准点信息科技有限公司 Power line master-slave mode zero-crossing communication system
CN110971272A (en) * 2019-12-16 2020-04-07 福州准点信息科技有限公司 Power line zero-crossing bidirectional communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1188352A (en) * 1997-01-06 1998-07-22 摩托罗拉公司 Power-line communication system using pulse transmission on AC line
CN101245611A (en) * 2008-03-27 2008-08-20 同济大学 Semi-rigid connection-flection restriction support steel skeleton construction
CN103166678A (en) * 2013-02-27 2013-06-19 黎辉 Alternating current clipping pulse coding control method
CN103533717A (en) * 2013-10-25 2014-01-22 深圳市镭润科技有限公司 Electronic equipment based on direct current supply communication and control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61212927A (en) * 1985-03-18 1986-09-20 Matsushita Electric Ind Co Ltd Blocking filter for power line carrier controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1188352A (en) * 1997-01-06 1998-07-22 摩托罗拉公司 Power-line communication system using pulse transmission on AC line
CN101245611A (en) * 2008-03-27 2008-08-20 同济大学 Semi-rigid connection-flection restriction support steel skeleton construction
CN103166678A (en) * 2013-02-27 2013-06-19 黎辉 Alternating current clipping pulse coding control method
CN103533717A (en) * 2013-10-25 2014-01-22 深圳市镭润科技有限公司 Electronic equipment based on direct current supply communication and control method thereof

Also Published As

Publication number Publication date
CN104218975A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN107483082B (en) Automatic identification method and system for low-voltage distribution network topology
Pavlidou et al. Power line communications: state of the art and future trends
CN106383265B (en) A kind of area and the device and method for accessing phase automatic identification
US7227310B2 (en) Method and devices for controlling loads connected to a power line
US6842668B2 (en) Remotely accessible power controller for building lighting
EP2144071B1 (en) Method and system for detecting the phase wiring of an unknown phase voltage relative to a reference phase voltage
CN101055663B (en) A remote intelligent meter writing method and remote intelligent meter writing system
JP2016504908A (en) Wireless inductive power transmission
CN101251951B (en) Power distribution network industrial frequency communicating method and system
CN201477189U (en) Device for online detecting mechanical characteristics of 24 kV high-voltage vacuum circuit breaker
US4815106A (en) Power line communication apparatus
JP6465880B2 (en) Method and system for supplying pulsed power and data on a bus
US9379773B2 (en) Phase detection in power line communication systems
CN105610306B (en) Secondary side feedback control method and its control circuit
CN102412869B (en) System and method for fast accessing near field communication with controllable communication range
US20050169363A1 (en) Method and system for maximizing data throughput rate in a power line communications system by modifying payload symbol length
CN104486885B (en) Accurate stage illumination wireless regulation and control system based on internet of things
CN102693567B (en) Coding-decoding method based on communication of access control system
CN104348573A (en) System information transmission method, system and device
CN1649281B (en) Asymmetric power carrier wave communication device
KR101277650B1 (en) Dimming control apparatus and method using amplitude change of common power source in power line communication
CN103916207B (en) A kind of active multiband power line communication jamming equipment and method
CN102368662A (en) Current reference generation circuit, constant current switch power supply control circuit and control method thereof
CN1553562A (en) Three-phase pure sinusoidal wave inverse power supply system with digital control
CN104486012B (en) A kind of environmental frequencies detection and automatic frequency-hopping 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