Summary of the invention
The object of the present invention is to provide a kind of intelligent power line carrier transmitting-receiving system, it can carry out bi-directional transfer of data and order with electric equipment by controlled pulse carrier with digital signal to the 220V power line, it is little that this intelligent power line carrier transmitting-receiving system has the frequency decay, propagation distance is far away, have the superpower stability of a system and reliability, compatible strong, communication speed is fast, tens thousand of different equipment of may command; Realize the control of single point-to-point or cohort, be widely used that install and use easyly, cost is low.
The object of the present invention is achieved like this:
A kind of intelligent power line carrier transmitting-receiving system comprises a plurality of transceivers and a plurality of control circuit; Be characterized in:
Described a plurality of transceiver is attempted by on power line L, the N, and described a plurality of control circuits are serially connected in respectively between each transceiver and each the outside electric equipment;
Described transceiver reaches the power circuit that is connected with each circuit in the transceiver by signal transmission circuit, signal receiving circuit, signal synchronization circuit, microprocessor control circuit, drive circuit and forms;
Described signal transmission circuit is connected the output of microprocessor control circuit, and the data-signal that described microprocessor control circuit is sent is loaded on power line L, the N by signal transmission circuit;
A plurality of inputs of described microprocessor control circuit connect signal receiving circuit, signal synchronization circuit respectively, the synchronous receiving data signal; Microprocessor control circuit is connected with drive circuit, by drive circuit and electric equipment bi-directional transfer of data and order.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described signal transmission circuit is made up of capacitor C 13 between L, the N end of controllable silicon Q1, the output that is serially connected in controllable silicon Q1 and alternating current 220V and the resistance R 3 between inductance L 2, the input that is serially connected in controllable silicon Q1 and the microprocessor control circuit output.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described signal receiving circuit is made up of capacitor C 5, C6, C7, C8, inductance L 3, L4, L5, resistance R 4, R5; Capacitor C 5, inductance L 3, capacitor C 7, resistance R 4 are serially connected between the input of power circuit and microprocessor control circuit 34 successively, inductance L 4 and capacitor C 6 are attempted by between the contact and GND of inductance L 3 and inductance L 5, and resistance R 5 and capacitor C 8 are attempted by between resistance R 4 other ends and the GND; The carrier signal that receives is carried out filtering, the input microprocessor control circuit.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described signal synchronization circuit (33) is made up of diode D3, resistance R 1 and resistance R 2; Be connected resistance R 2 between diode D3 anode and synchronous signal output end, diode D3 negative terminal is connected with power supply VCC; Resistance R 1 one ends are connected with the L end of alternating current 220V, and the anode of the other end of resistance R 1 and diode D3, resistance R 2 one ends and microprocessor control circuit input also connect.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described microprocessor control circuit is made up of microprocessor IC1,17 pin that are connected microprocessor IC1 and the crystal oscillating circuit between 18 pin, the resistance R 8 that is connected 13 pin of microprocessor IC1; This crystal oscillating circuit is made of crystal oscillator Y1 and the capacitor C 9, the C10 that are connected to crystal oscillator Y1 two ends, 12 pin of microprocessor IC1 are connected with the resistance R 3 of signal transmission circuit, 19 pin of microprocessor IC1 and the resistance R 5 of signal receiving circuit, capacitor C 8, resistance R 4 also connect, and the diode D3 anode of 4 pin of microprocessor IC1 and signal synchronization circuit, resistance R 1, R2 one end also connect.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described drive circuit is made of microprocessor IC2,6 pin of microprocessor IC2 are connected with the other end of the resistance R 8 of microprocessor control circuit, and 4 pin of microprocessor IC2 are connected with 14 pin of the microprocessor IC1 of microprocessor control circuit.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described control circuit is a tame electric control and a display circuit, and electric control of described family and display circuit are made up of push-button switch circuit, light emitting diode display circuit, control relay circuit; The output of push-button switch circuit is connected with the input of microprocessor IC1, light emitting diode display circuit is connected with the output of microprocessor IC1, control relay circuit is connected with the control signal output ends of microprocessor IC2, and a plurality of relay output ends in the control relay circuit are connected with the motor of outside and the control end of indicator light respectively.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described control circuit is light control and display circuit, and described light control and display circuit are made up of push-button switch circuit, light emitting diode display circuit, SCR control circuit; The output of push-button switch circuit is connected with the input of microprocessor IC1, light emitting diode display circuit is connected with the output of microprocessor IC1, the SCR control circuit is connected with the control signal output ends of microprocessor IC2, and a plurality of controllable silicon outputs in the control circuit are connected with the control end of each indicator light of outside respectively.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described control circuit is a button and indicator light display circuit, and described button and indicator light display circuit are made up of push-button switch circuit, light emitting diode display circuit; The output of push-button switch circuit is connected with the input of microprocessor IC1, and light emitting diode display circuit is connected with the output of microprocessor IC1.
In above-mentioned intelligent power line carrier transmitting-receiving system, wherein, described control circuit is a computer interface circuit, and described computer interface circuit is made up of microprocessor U1, photoelectrical coupler CP1, MAX232 interface conversion U2, RS232 interface J1 and regulator block U3; A plurality of data communication interfaces of microprocessor U1 are connected with the data terminal of the microprocessor IC1 of transceiver respectively, photoelectrical coupler CP1 is serially connected between microprocessor U1 and the MAX232 interface conversion U2, MAX232 interface conversion U2 is connected with RS232 interface J1 by data wire, and RS232 interface J1 is connected with the RS232 port of outer computer.
Intelligent power line carrier transmitting-receiving system of the present invention makes it compared with prior art owing to adopted above-mentioned technical scheme, has following advantage and good effect:
1. the present invention is because the radiating circuit that is provided with, the pulse of sending is that the controlled pulse signal carrier that a frequency is in 4-40KHz communicates to the 220V power line, the percentile reliability of the correct transmitting-receiving of signal transmission is more than 99.9%, so the reliability height, and the reliability of products of prior art can only reach 70%~80%.
2. the present invention be because signaling rate can be finished 10 complete instructions each second, and average every instruction is from being transmitted into execution within 0.1 second, thereby makes communication speed faster.
3. the present invention is owing to be provided with by microprocessor to be main drive circuit and the computer interface circuit that constitutes, to design it and allow two-way communication in hardware, software and agreement that the present invention can realize two-way communication in the computer network thus.
4. the present invention is owing to be provided with 64000 address codes (and the prior art transmission circuit has only 256 address codes), and a reflector can be controlled nearly 64000 different equipment, and is applied to network after can encrypting, thus not only safety and efficient height.
5. the present invention is owing to adopted and broadband, narrow frequency and the diverse frequency range 4-40KHz of spread spectrum, and therefore, compatibility is strong.
6. the present invention is because but two-way communication can realize single point-to-point or cohort control, thereby can be widely used in home network that light is controlled, high voltage control, household automation, wireless remote control control, safety guard, home theater and internet control etc. thus.
7. owing to be provided with tame electric control and display circuit, therefore, can realize the control of carrier wave remote remote control switch in the intelligent power line carrier transmitting-receiving system of the present invention.
8. owing to be provided with button and indicator light display circuit, can allow intelligent power line carrier transmitting-receiving system transmit in the intelligent power line carrier transmitting-receiving system of the present invention, control multiple power line carrier communication receiver, thereby finish control electric equipment; Because signal is a transmitted in both directions, can finish Remote, the state of remote monitoring electrical equipment, the long-range physical address that intelligent power line carrier transmitting-receiving system is set, the long-range scene that is provided with, numerous functions such as remote diagnosis controlled device fault.
9. owing to be provided with the computer interface circuit, microprocessor is compiled as the discernible communication format data of computer with communication data, thereby can realize the control of outer computer to intelligent appliance equipment in the intelligent power line carrier transmitting-receiving system of the present invention.
10. the present invention does not need the integrated circuit of special-purpose owing to adopt general microprocessor, standard cell designs circuit, can be mass-produced, and effectively reduces cost; Owing to adopt the power line signal transmission, do not need rewiring, thereby can save installation cost simultaneously.
11. the present invention is because cost is low, configuration the present invention can reduce equipment cost and enhanced system reliability in intelligent equipment, so intelligent equipment of the present invention can obtain the benefit of high added value.
Embodiment
See also Figure 13 and shown in Figure 3, they are the application circuit block diagram of intelligent power line carrier transmitting-receiving system of the present invention and the circuit block diagram of transceiver.Intelligent power line carrier transmitting-receiving system of the present invention comprises a plurality of transceivers 30 and a plurality of control circuit 3N; Described a plurality of transceiver 30 is attempted by on power line L, the N, and described a plurality of control circuit 3N are serially connected in respectively between each transceiver 30 and each the outside electric equipment 3M;
Transceiver 30 is made up of the power circuit 36 of each circuit in signal transmission circuit 31, signal receiving circuit 32, signal synchronization circuit 33, microprocessor control circuit 34, drive circuit 35 and the connection transceiver; The output of microprocessor control circuit 34 connects signal transmission circuit 31, and the data-signal that microprocessor control circuit 34 is sent is loaded on power line L, the N by signal transmission circuit 31; A plurality of inputs of microprocessor control circuit 34 connect signal receiving circuit 32, signal synchronization circuit 33, synchronous receiving data signal respectively; Microprocessor 34 and 35 two-way connections of drive circuit are by drive circuit 35 and electric equipment bi-directional transfer of data and order.
See also shown in Figure 4ly, this figure is the circuit theory diagrams of intelligent power line carrier transmitting-receiving system of the present invention.Intelligent power line carrier transmitting-receiving system of the present invention comprises: the power circuit 36 of each circuit is formed in signal transmission circuit 31, signal receiving circuit 32, signal synchronization circuit 33, microprocessor control circuit 34, drive circuit 35 and the connection transceiver; Signal transmission circuit 31 is made up of capacitor C 13 between L, the N end of controllable silicon Q1, the output that is serially connected in controllable silicon Q1 and alternating current 220V and the resistance R 3 between inductance L 2, the input that is serially connected in controllable silicon Q1 and microprocessor control circuit 34 outputs.Signal transmission circuit 31 functions are that data-signal is loaded on the power line, C13 charges by bidirectional triode thyristor Q1 control capacitance, then in precise time very with the electric charge abrupt release of electric capacity to power line, form a very narrow controlled pulse signal and send.
Signal receiving circuit 32 is made up of capacitor C 5, C6, C7, C8, inductance L 3, L4, L5, resistance R 4, R5; Capacitor C 5, inductance L 3, capacitor C 7, resistance R 4 are serially connected between the input of power circuit 36 and microprocessor control circuit 34 successively, inductance L 4 and capacitor C 6 are attempted by between the contact and GND of inductance L 3 and capacitor C 7, and resistance R 5 and capacitor C 8 are attempted by between resistance R 4 other ends and the GND; The carrier signal that receives is carried out filtering, input microprocessor control circuit 34.The signal that signal receiving circuit 32 receives by bandpass filtering, carries out filtering, input microprocessor control circuit 34 with the useful pulse signal of 4-40KHz.
Signal synchronization circuit 33 by diode D3, be connected resistance R 2 between diode D3 anode and the synchronous signal output end, the L end that is connected alternating current 220V forms with diode D3 and resistance R 1 resistance R 2 one ends and microprocessor control circuit 34 inputs and that connect between the end.Signal synchronization circuit 33 extracts crossover point signal from the L of alternating current 220V end, by resistance R 1 step-down current limliting, makes the signal clamper at+5V, and output square wave synchronizing signal is to microprocessor IC1, be used for data synchronously.
Microprocessor control circuit 34 is made up of microprocessor IC1,17 pin that are connected microprocessor IC1 and the crystal oscillating circuit between 18 pin, the resistance R 8 that is connected 13 pin of microprocessor IC1; This crystal oscillating circuit is made of crystal oscillator Y1 and the capacitor C 9, the C10 that are connected to crystal oscillator Y1 two ends, 12 pin of microprocessor IC1 are connected with the resistance R 3 of signal transmission circuit 31,19 pin of microprocessor IC1 and the resistance R 5 of signal receiving circuit 32, capacitor C 8, resistance R 4 also connect, and the diode D3 anode of 4 pin of microprocessor IC1 and signal synchronization circuit 33, resistance R 1, R2 one end also connect.7 pin of microprocessor IC1,8 pin, 9 pin, 10 pin connect input signal port K0, K1, K2, the K3 of external keyboard respectively, 3 pin of microprocessor IC1,20 pin connect output drive signal port LED1, the LED2 of external light-emitting respectively, and 13 pin of microprocessor IC1 are to connect PERCOM peripheral communication to meet port SCL.The function of microprocessor control circuit 34 are demodulate reception to pulse signal, pulse signal is carried out the digitlization decoding; Automatic transmit coded signals; Accept the keyboard response signal; Send the drive signal of light-emitting diode; The drive circuit of external equipment, the control external equipment; The datel circuit of external computer can carry out the transmission of digital signal and order and the encoding and decoding of digital signal with computer.
External equipment drive circuit 35 is made of microprocessor IC2, and 6 pin of microprocessor IC2 are connected with the other end of the resistance R 8 of microprocessor control circuit 34.4 pin of microprocessor IC2 are connected with 14 pin of the microprocessor IC1 of microprocessor control circuit 34, and 1 pin of microprocessor IC2,3 pin are drive control signal output T1, T2.
External equipment drive circuit 35 communicates with microprocessor IC1, judge whether to carry out the driving of ancillary equipment, and ancillary equipment (for example controllable silicon, relay etc.) carried out pulse-width modulation drives and the driving of high electronegative potential, dim etc. thereby the accent of control apparatus switch, light is bright.
Power circuit 36 is made up of integrated regulator U1, rectifier diode D1, voltage-stabiliser tube D2, inductance L 1, electrochemical capacitor C2, C3, capacitor C 1, C4; Capacitor C 1, inductance L 1, rectifier diode D1 are serially connected in the L end of 220V alternating current successively, the negative terminal of the anode of rectifier diode D1 and voltage-stabiliser tube D2 also connects, 1 pin of integrated regulator U1 is connected with the anode of the negative terminal of rectifier diode D1 and electrochemical capacitor C2, one end of the anode of 2 pin of integrated regulator U1 and the N of 220V alternating current end, voltage-stabiliser tube D2, the negative terminal of electrochemical capacitor C2, C3, capacitor C 4 also connects, and the other end and the power supply VCC of 3 pin of integrated regulator U1 and the anode of electrochemical capacitor C3, capacitor C 4 also connects.Power circuit 36 by rectification, voltage stabilizing, is used the capacitance decompression method, for internal circuit provides+5V voltage, for external circuit provides+12V voltage with the 220V alternating current.
In Fig. 4, interfaces for external devices comprises: ZERO-OUT is that synchronous waves output interface, K0-K3 are for connecting external keyboard interface, LED1 and LED2 for being connected outside two utmost point luminous tube interfaces, SCL and SDA for being connected microprocessor data communication interface, T1 and T2 for being connected external apparatus interface.
See also shown in Figure 5ly, this is the circuit theory diagrams that intelligent power line carrier transmitting-receiving system first embodiment of the present invention is used for tame electric control.In the present embodiment, the control circuit 3N that transceiver 30 connects is a tame electric control and display circuit 37, transceiver circuit schematic diagram and Fig. 4 in this Application Example one are identical, and tame electric control and display circuit 37 are made up of push-button switch circuit 371, light emitting diode display circuit 372, control relay circuit 373; The output of push-button switch circuit 371 is connected with the input of microprocessor IC1, and light emitting diode display circuit 372 is connected with the output of microprocessor IC1, and control relay circuit 373 is connected with the control signal output ends of microprocessor IC2.
In first embodiment of the invention, the push-button switch circuit 371 of tame electric control and display circuit 37 is made up of push-button switch S0, S1; The end of push-button switch S0, S1 is connected with 7 pin, 8 pin of microprocessor IC1 respectively, and the other end of push-button switch S0, S1 is connected with GND.
Light emitting diode display circuit 372 is made up of LED 20, LED21, resistance R 20, R21; The negative terminal of LED 20, LED21 is connected with 3 pin, 20 pin of microprocessor IC1 respectively, and the end of resistance R 20, R21 is connected with the positive pole of LED 20, LED21 respectively, and the other end of resistance R 20, R21 is connected with power supply VCC.
Control relay circuit 373 is made up of driving triode Q1, Q2, diode D10, D11, relay R Y1, RY2, resistance R 10, R11, R12, R13 electrochemical capacitor C20; Drive triode Q1, the base stage of Q2 respectively with resistance R 10, the end of R11 connects, resistance R 10, the other end of R11 and 3 pin that are connected microprocessor IC2,1 pin connects, drive triode Q1, the emitter of Q2 is connected, drive triode Q1, the collector electrode of Q2 respectively with resistance R 12, the end of R13 connects, resistance R 12, the other end of R13 respectively with relay R Y1, one end of RY2 coil and diode D10, the D11 anode also connects, relay R Y1, the other end of RY2 coil respectively with diode D10, the D11 negative terminal, the anode of electrochemical capacitor C20, the anode of the electrochemical capacitor C2 of power circuit 36 also connects, the negative terminal of electrochemical capacitor C20 and driving triode Q1, the emitter of Q2 is connected, relay R Y1, the Chang Kaiduan of RY2 respectively with the control end of the motor M OT1 of outside, the control end of lamp LAMP1 connects.
In first embodiment of the invention, intelligent power line carrier transmitting-receiving system of the present invention is by tame electric control and display circuit 37, can realize the control of the switching value of lamp LAMP1 and motor MOT1, LED 20 and LED21 can display lamp LAMP1 and the state of motor M OT1, S0 and S1 are hand switch, are used for the Kai Heguan of hand switch lamp LAMP1 and motor M OT1.
In the intelligent power line carrier transmitting-receiving system of the present invention owing to be provided with tame electric control and display circuit 37, therefore, can realize the control of carrier wave remote remote control switch lamp LAMP1 and motor M OT1, the state of remote monitoring remote control switch lamp LAMP1 and motor M OT1, long-range numerous functions such as physical address that remote control switch lamp LAMP1 and motor M OT1 are set.
See also shown in Figure 6ly, this is the circuit theory diagrams that intelligent power line carrier transmitting-receiving system second embodiment of the present invention is used for light control.In the present embodiment, the control circuit 3N that transceiver 30 connects is light control and display circuit 38, circuit theory diagrams and Fig. 4 of transceiver 30 are identical in this Application Example two, and light control and display circuit 38 are made up of push-button switch circuit 381, light emitting diode display circuit 382, SCR control circuit 383; The output of push-button switch circuit 381 is connected with the input of microprocessor IC1, and light emitting diode display circuit 382 is connected with the output of microprocessor IC1, and SCR control circuit 383 is connected with the control signal output ends of microprocessor IC2.
In second embodiment of the invention, the push-button switch circuit 381 of light control and display circuit 38 is made up of push-button switch S0, S1; The end of push-button switch S0, S1 is connected with 7 pin, 8 pin of microprocessor IC1 respectively, and the other end of push-button switch S0, S1 is connected with GND.
Light emitting diode display circuit 382 is made up of LED 20, LED21, resistance R 20, R21; The negative terminal of LED 20, LED21 is connected with 3 pin, 20 pin of microprocessor IC1 respectively, and the end of resistance R 20, R21 is connected with the positive pole of LED 20, LED21 respectively, and the other end of resistance R 20, R21 is connected with power supply VCC.
SCR control circuit 383 is made up of photoelectrical coupler OP1, OP2, controllable silicon T11, T12, resistance R 14, R15, R16, R17; Series resistor R14 between 2 pin of 1 pin of microprocessor IC2 and photoelectrical coupler OP1, series resistor R16 between 2 pin of 3 pin of microprocessor IC2 and photoelectrical coupler OP2, series resistor R15 between 1 pin of 3 pin of photoelectrical coupler OP1 and controllable silicon T11, the control end of 1 pin of controllable silicon T11 and an end of resistance R 15 and external modulation LAMP1 also connects; Series resistor R17 between 1 pin of 3 pin of photoelectrical coupler OP2 and controllable silicon T12, the control end of 1 pin of controllable silicon T12 and an end of resistance R 17 and external modulation LAMP2 also connects; 1 pin of photoelectrical coupler OP1 and OP2 and ground also connect, and 4 pin of photoelectrical coupler OP1 and OP2 are connected with 2 pin of controllable silicon T11, T12 respectively, and 3 pin of controllable silicon T11, T12 are connected with the L of alternating current end.
In the present embodiment, intelligent power line carrier transmitting-receiving system of the present invention is by light control and display circuit 38, can realize the switching value of lamp LAMP1 and LAMP2 and the control of dimming function, LED 20 and LED21 can display lamp LAMP1 and the state of LAMP2, S0 and S1 are hand switch, are used for hand switch lamp LAMP1 and LAMP2 and open and close.
Control and display circuit 38 owing to being provided with light in the intelligent power line carrier transmitting-receiving system, therefore, can finish the Kai Heguan of carrier wave remote remote control switch LAMP1 and LAMP2, the state of the switch of remote monitoring lamp LAMP1 and LAMP2, states such as the brightness of lamp, long-range numerous functions such as physical address that remote control switch LAMP1 and LAMP2 are set.
See also shown in Figure 7ly, this is the circuit theory diagrams that intelligent power line carrier transmitting-receiving system the 3rd embodiment of the present invention is used for button and indicator light display circuit.In the present embodiment, the control circuit 3N that transceiver 30 connects is a button and indicator light display circuit 39, the circuit theory diagrams of transceiver 30 and Fig. 4 are identical in Application Example three, and button and indicator light display circuit 39 are made up of push-button switch circuit 391, light emitting diode display circuit 392; The output of push-button switch circuit 391 is connected with the input of microprocessor IC1, and light emitting diode display circuit 392 is connected with the output of microprocessor IC1.
In third embodiment of the invention, the push-button switch circuit 391 of button and indicator light display circuit 39 is made up of push-button switch S0, S1, S2, S3; The end of push-button switch S0, S1, S2, S3 is connected with 7 pin, 8 pin, 9 pin, 10 pin of microprocessor IC1 respectively, and the other end of push-button switch S0, S1, S2, S3 is connected with GND.
Light emitting diode display circuit 392 is made up of LED 20, LED21, resistance R 20, R21; The negative terminal of LED 20, LED21 is connected with 3 pin, 20 pin of microprocessor IC1 respectively, and the end of resistance R 20, R21 is connected with the positive pole of LED 20, LED21 respectively, and the other end of resistance R 20, R21 is connected with power supply VCC.
In the present embodiment, intelligent power line carrier transmitting-receiving system of the present invention can allow intelligent power line carrier transmitting-receiving system transmit by the button S0-S3 of button and indicator light display circuit 39, control multiple power line carrier communication receiver, thereby finish control a plurality of electric equipments.LED 20 and LED21 are indicator light, are used for whether index signal launches or whether execution etc. of receiver.Because signal is a transmitted in both directions, so should can finish Remote with example, the state of remote monitoring electrical equipment, the long-range physical address that intelligent power line carrier transmitting-receiving system is set, the long-range scene that is provided with, numerous functions such as remote diagnosis controlled device fault.
See also shown in Figure 8ly, this is the circuit theory diagrams that intelligent power line carrier transmitting-receiving system the 4th embodiment of the present invention is used to connect the computer interface circuit.In the present embodiment, the control circuit 3N that transceiver 30 connects is a computer interface circuit 310, circuit theory diagrams and Fig. 4 of transceiver 30 are identical in this Application Example four, and computer interface circuit 310 is made up of microprocessor U1, photoelectrical coupler CP1, MAX232 interface conversion U2, RS232 interface J1 and regulator block U3; A plurality of data communication interfaces of microprocessor U1 are connected with the data terminal of the microprocessor IC1 of transceiver 30 respectively, photoelectrical coupler CP1 is serially connected between microprocessor U1 and the MAX232 interface conversion U2, MAX232 interface conversion U2 is connected with RS232 interface J1 by data wire, and RS232 interface J1 is connected with the RS232 port of outer computer.
In fourth embodiment of the invention, computer interface circuit 310 is made up of microprocessor U1, photoelectrical coupler CP1, MAX232 interface conversion U2, RS232 interface J1, regulator block U3, diode D22, D23, electrochemical capacitor E1, E2, E4, E5, E6, E7 and capacitor C 23; 6 pin of microprocessor U1,7 pin respectively with data terminal 13 pin of the microprocessor IC1 of transceiver 30,14 pin connect, 2 pin of microprocessor U1,3 pin respectively with 7 pin of photoelectrical coupler CP1,6 pin connect, 2 pin of photoelectrical coupler CP1,3 pin respectively with 12 pin of MAX232 interface conversion U2,11 pin connect, 16 pin of MAX232 interface conversion U2 are connected with the anode of 3 pin of regulator block U3 and electrochemical capacitor E2,1 pin of voltage stabilizing U3 and diode D22, the negative terminal of D23, the anode of electrochemical capacitor E1 also connects, diode D22, the anode of D23 respectively with the RS232 port 7 of outer computer, port 4 connects.Between 1 pin of microprocessor U1 and 8 pin, be connected in series capacitor C 23,1 pin of microprocessor U1 is connected with power supply VCC, GND respectively with 8 pin, between 2 pin of MAX232 interface conversion U2 and 16 pin, be connected in series electrochemical capacitor E4, between 1 pin of MAX232 interface conversion U2 and 3 pin, be connected in series electrochemical capacitor E5, between 4 pin of MAX232 interface conversion U2 and 5 pin, be connected in series electrochemical capacitor E6, be connected in series electrochemical capacitor E7 between 6 pin of MAX232 interface conversion U2 and ground, the negative terminal of electrochemical capacitor E1 is connected with ground.
In the present embodiment, intelligent power line carrier transmitting-receiving system of the present invention is by computer interface circuit 310, microprocessor U1 is compiled as the discernible communication format data of computer with communication data, import MAX232 interface conversion U2 again, again through photoelectrical coupler CP1, with the forceful electric power isolated from power, data-signal is sent to the RS232 port of outer computer by the RS232 interface, thereby realizes the control of outer computer intelligent appliance equipment.
But because data-signal transmitted in both directions, therefore, should can utilize computer to finish transfer of data with embodiment, Remote, the state of remote monitoring electrical equipment, the long-range physical address that intelligent power line carrier transmitting-receiving system is set, the long-range scene that is provided with, numerous functions such as remote diagnosis controlled device fault.
Seeing also shown in Figure 9ly, is the sinusoidal wave power carrier figure of civil power of intelligent power line carrier transmitting-receiving system of the present invention.Among Fig. 9 on the power line per half sine wave period can propagate the pulse signal A that intelligent power line carrier transmitting-receiving system of the present invention sends, the communications of intelligent power line carrier transmitting-receiving system of the present invention is a kind of a kind of technology that digital signal is communicated to the 220V power line by controlled pulse carrier in the power line communication bussing technique.By this technology, digital signal can be propagated into far distance by power line.Therefore intelligent power line carrier transmitting-receiving system of the present invention can be surveyed and analyze the pulse signal of intelligent power line carrier transmitting-receiving system very easily and be compiled into digital information.
See also shown in Figure 10ly, this is the carrier signal phase figure of intelligent power line carrier transmitting-receiving system of the present invention.Figure 10 is the amplification diagram to a pulse signal A of half AC sine wave cycle propagation intelligent power line carrier transmitting-receiving system on the power line among Fig. 9, the pulsed communication mode of intelligent power line carrier transmitting-receiving system is by be full of electric charge to electric capacity in signal transmission circuit, then in very accurate setting-up time with the abrupt release of the electric charge of electric capacity to power line, form a very narrow controlled pulse signal.Per half power line sine wave period can be propagated a pulse signal of intelligent power line carrier transmitting-receiving system, an interval during each pulse just in time appears between four lane place that defined.Numeral 0,1,2,3 is represented in these four positions that define.Use this modulator approach, every half period can be transmitted the information of 2 bits, transmits the information of 200 bits when being used on the power line of 50Hz a second.With intelligent power line carrier transmitting-receiving system emission of the present invention or reception data-signal, can improve communication efficiency, reduce the error rate, can correctly reliably send data and instruction, control various intelligent external equipments and electrical equipment.
See also shown in Figure 11ly, this is the frequency spectrum comparison diagram of prior art transceiver and intelligent power line carrier transmitting-receiving system of the present invention.Spectral characteristic curve A among Figure 11 is the spectral characteristic of the pulse signal of intelligent power line carrier transmitting-receiving system emission of the present invention, and this pulse signal curve A is the controlled pulse signal that a frequency is in 4-40KHz; Spectral characteristic curve B among Figure 11 is the pulse signal that is used for in-plant power line carrier communication transmission circuit emission of prior art, and this carrier signal curve B frequency is in 100-125KHz; Spectral characteristic curve C among Figure 11 is the spectral characteristic of the spread spectrum formula power line carrier communication transmission circuit emission carrier signal of prior art, and this carrier signal spectral characteristic curve C frequency is in 100-400KHz.
See also shown in Figure 12ly, this is the decay comparison diagram that transmits of prior art transceiver and intelligent power line carrier transmitting-receiving system of the present invention.Figure 12 is in different frequency to pulse signal square wave spectral characteristic curve A, spectral characteristic curve B, spectral characteristic curve C among Figure 11, signal attenuation changes to be represented by the signal attenuation curve D, illustrate from this figure: the pulse that intelligent power line carrier transmitting-receiving system of the present invention sends is the controlled pulse signal that a frequency is in 4-40KHz, therefore the frequency decay is very little, and propagation distance just can be far; And the carrier signal B that is used for in-plant power line carrier communication transmission circuit emission of prior art, the carrier signal C of the spread spectrum formula power line carrier communication transmission circuit emission of prior art, frequency is in 100-400KHz, the frequency decay is very big, can cause remote transmission signal unreliable, therefore, can only be used for closely receiving and transmitting signal.
Please continue referring to shown in Figure 13, this is the application circuit block diagram of intelligent power line carrier transmitting-receiving system of the present invention.Intelligent power line carrier transmitting-receiving system of the present invention, be attempted by on power line L, the N by a plurality of transceivers 30, each transceiver 30 connects each control circuit 3N respectively, by the outside electric equipment that control circuit control respectively is connected, forms single-phase electricity power carrier electrical apparatus control system.This system is used to transmit data or finishes control to consuming devices such as electrical equipment, electric lights.
In three-phase electricity, be attempted by on the three-phase power line by a plurality of transceivers 30, each transceiver 30 connects each control circuit 3N respectively, on three-phase power line and connect the three-phase coupling amplifier, forms three-phase electricity power carrier electrical apparatus control system again.Transceiver 30 is transmitted to the three-phase coupling amplifier with signal, send to signal in the three-phase electricity simultaneously by the three-phase coupling amplifier again, be used to transmit data or finish control, to guarantee that power carrier signal can be forwarded in the three-phase electricity from single-phase electricity consuming devices such as electrical equipment, electric lights.Intelligent power line carrier transmitting-receiving system technology of the present invention will be applied to the Long-distance Control of the large-scale businessfice of 380V three-phase electricity light, not only the light team control is stable, can also save a large amount of electric energy for large-scale businessfice (as stadium, gymnasium and gymnasium).Intelligent power line carrier transmitting-receiving system technical advantage of the present invention do not need to be rewiring, just can carry out the control of various ways and multi-form installation to each fixing controlled point.Intelligent power line carrier transmitting-receiving system technology of the present invention will be applied to comprise the make a copy for equipment of resource management system of three tables, and the technology of the present invention is integrated in dwelling house with in the instrument, can long-rangely read state of electronic equipment.
In sum, the pulse that intelligent power line carrier transmitting-receiving system of the present invention sends is that the controlled pulse signal carrier that a frequency is in 4-40KHz communicates to the 220V power line, therefore the frequency decay is very little, propagation distance is far away, have the superpower stability of a system and reliability, compatible strong, communication speed is fast, 64000 different equipment of may command; Because but therefore two-way communication, can realize single point-to-point or cohort control, thereby can be widely used in home network, light control, high voltage control, household automation, wireless remote control control, security protection, home theater and internet control etc.The present invention adopts universal elements, can be mass-produced, and effectively reduces cost; During installation, do not need rewiring, also can save installation cost; Configuration the present invention can reduce equipment cost and enhanced system reliability in intelligent equipment.