Be with self-powered two-wire communication system
Technical field
The utility model relates to closely point-to-point communication system, and especially a kind of connection that utilizes is realized the be with self-powered two-wire communication system of main frame to the slave power supply.
Background technology
Along with the continuous development of the communication technology, domestic electronic appliances also make rapid progress.Split shows that electronic electric energy meter progressively becomes a kind of trend of family expenses ammeter future development.As split type electric energy meter, simple and reliable close range communication techniques is this produce market prospect key technology of decision.Closely the point-to-point communication mode is seen at most in the market has wireless (RF), and power line carrier (PLC) and RS485 etc. cut both ways.Preceding two kinds need not independent wiring, easy for installation but cost is higher, and disturb easily between the point-to-point equipment of two adjacent groups.The RS485 mounting means is simple and convenient and communication performance good, but two communication equipments need be distinguished independent power supply, makes troubles to the user when increasing cost.
The utility model content
The purpose of the utility model is to provide a kind of connection that utilizes to realize the be with self-powered two-wire communication system of main frame to the slave power supply for the deficiency that solves above-mentioned technology.
In order to achieve the above object, the utility model designed is with self-powered two-wire communication system, and it mainly comprises main frame and slave; Host port Rx is connected with the collector electrode of optocoupler IC1, simultaneously+the 3V power supply is connected with the collector electrode of optocoupler IC1 through resistance R 6, and host port E is connected with the emitter of optocoupler IC1; The positive pole of optocoupler IC1 is connected with+5V power supply, and+5V power supply is connected with the port 3 of rectifier bridge through resistance R 4, and the negative pole of optocoupler IC1 passes through resistance R 5 and is connected with the port 3 of rectifier bridge; Host port VDD is connected with the positive pole of optocoupler IC2, and host port Tx is connected with the negative pole of optocoupler IC2, and the collector electrode of optocoupler IC2 is connected with the port of rectifier bridge 3; The emitter of optocoupler IC2 is connected back ground connection with the port one of rectifier bridge; Port 4 ground connection of rectifier bridge, the port 2 of rectifier bridge are connected with positive pole, resistance R 2, resistance R 3 and the emitter of triode Q2 of diode D1 respectively, and the negative pole of diode D1 is connected with power vd D, resistance R 1, capacitor C 1 and slave port VDD respectively; Resistance R 2 is connected with the base stage of triode Q1; The other end ground connection of resistance R 3, the grounded collector of triode Q2, base stage is connected with slave port Tx; Resistance R 1 is connected with the emitter of slave port Rx and triode Q1 respectively, and the collector electrode of triode Q1 is connected with slave port E.
The utility model is resulting is with self-powered two-wire communication system, and circuit structure is simple, realizes that principle is: when free of data exchange, main frame sent pin output high level, directly gave capacitor C 1 charging and the realization normal power supply of slave.When main frame had data to send, high-frequency data waveform through giving capacitor C 1 charging equally after the rectifier bridge rectification, was realized supplying power to slave in to slave transmission data.When slave returned data to main frame, the high-frequency data waveform of the port 2 of rectifier bridge can be supplied power to slave through after the rectifier bridge rectification equally.Utilize the existing power supply of main frame to supply power, saved the power module of slave, reduced production cost, make this system easier for installation simultaneously to slave.
Description of drawings
Fig. 1 is the structural representation of the utility model.
Embodiment
Combine accompanying drawing that the utility model is done further to describe through embodiment below.
Embodiment 1:
As shown in Figure 1, present embodiment is described is with self-powered two-wire communication system, and it mainly comprises host B and slave A; Host port Rx is connected with the collector electrode of optocoupler IC1, simultaneously+the 3V power supply is connected with the collector electrode of optocoupler IC1 through resistance R 6, and host port E is connected with the emitter of optocoupler IC1; The positive pole of optocoupler IC1 is connected with+5V power supply, and+5V power supply is connected with the port 3 of rectifier bridge BD through resistance R 4, and the negative pole of optocoupler IC1 passes through resistance R 5 and is connected with the port 3 of rectifier bridge BD; Host port VDD is connected with the positive pole of optocoupler IC2, and host port Tx is connected with the negative pole of optocoupler IC2, and the collector electrode of optocoupler IC2 is connected with the port 3 of rectifier bridge BD; The emitter of optocoupler IC2 is connected back ground connection with the port one of rectifier bridge BD; Port 4 ground connection of rectifier bridge BD, the port 2 of rectifier bridge BD are connected with positive pole, resistance R 2, resistance R 3 and the emitter of triode Q2 of diode D1 respectively, and the negative pole of diode D1 is connected with power vd D, resistance R 1, capacitor C 1 and slave port VDD respectively; Resistance R 2 is connected with the base stage of triode Q1; The other end ground connection of resistance R 3, the grounded collector of triode Q2, base stage is connected with slave port Tx; Resistance R 1 is connected with the emitter of slave port Rx and triode Q1 respectively, and the collector electrode of triode Q1 is connected with slave port E.
Host port Tx exports high level, the elementary not conducting of optocoupler IC2, secondary ending; + 5V power supply is through resistance R 4, and rectifier bridge BD and diode D1 give capacitor C 1 charging, and this moment, the port 2 of rectifier bridge BD was a high level; Triode Q1 ends, and slave port Rx keeps high level.When host B sent data, host port Tx dateout square wave was when the low level of data; The conducting of IC2 level of optocoupler, resistance R 4 end level are dragged down, and this moment, rectifier bridge BD ended; Port 2 non-transformers of rectifier bridge BD, because this point passes through resistance R 3 ground connection, so the collector electrode of triode Q1 is dragged down; The Q1 conducting, slave port Rx is dragged down, and low-level data is transmitted like this.When slave A passback data, during output low level, triode Q2 conducting, the port 2 of rectifier bridge BD is dragged down; The port 3 of rectifier bridge BD is also dragged down, and the lower end of resistance R 4 is also dragged down, the elementary conducting of optocoupler IC1; Secondary also conducting, host port Rx is dragged down, and realizes the data communication purpose.