Background technology
During digital communication is carried out, the digital communication line between two terminals of connection is a lot, is exactly in serial communication
When, it is also desirable to a signal wire, at least three lines of a pair of power lines.Therefore, those skilled in the art in order to reduce to greatest extent
Data-signal is transmitted in wire rod, proposition on the power line, and China Patent Publication No. CN106686814A discloses one kind in power supply
The drive circuit of line transmitting data signal, the drive circuit includes:Dc source, for input AC electricity to be converted into direct current
Electricity;On-off circuit, is connected between dc source and receiving terminal;Partial pressure clamp circuit, be connected to dc source and receiving terminal it
Between;Circuit is controlled, is connected with the on-off circuit, to control the turn-on and turn-off of the on-off circuit;When on-off circuit conducting
When, the dc source applies a high voltage in receiving terminal by the on-off circuit, described when on-off circuit is turned off
Dc source applies a low voltage in receiving terminal by the partial pressure clamp circuit.The present invention passes through controlling switch circuit
Break-make, the voltage levels that indirect control dc source is output to receiving terminal carry out transmission information, and receiving terminal is carried according to the change of voltage
Data-signal is taken out, so as to realize in direct current supply line transmitting data signal.
Using transmission data-signal on power line cable will be made at least to lack one using the circuit, but the circuit is multiple
Miscellaneous, for the Miniature Terminal of some interconnections, circuit cost is higher in itself.
The content of the invention
The purpose of the present invention is directed between mesh the first two terminal using driving used in power line transmission data-signal
The more complicated deficiency of circuit, the present invention provides the circuit that a kind of utilization power line transmits data-signal.
The technical scheme is that:A kind of simple protocol carriers control circuit, including transmitter module circuit and reception mould
Block circuit;Described transmitter module circuit includes metal-oxide-semiconductor Q27, triode Q28, resistance R68;The positive pole BT+ of battery connects metal-oxide-semiconductor
Q27 source electrode, resistance 68 is arranged between metal-oxide-semiconductor Q27 source electrode and grid, and metal-oxide-semiconductor Q27 grid connects triode Q28 collection
Electrode, triode Q28 base stage meets Data Input Interface LED-COLOUR, and triode Q28 emitter stage connects the negative pole of battery
BatGND, metal-oxide-semiconductor Q27 drain electrode are the positive pole of power output end;
Described receiving module circuit includes metal-oxide-semiconductor Q4, resistance R1, storage capacitor;With transmitting mould in power input terminal
The power supply of the power input of the positive pole electrical connection of power output end is just meeting metal-oxide-semiconductor Q4 grid, resistance R1 respectively in block circuit
One end, the anode of storage capacitor, metal-oxide-semiconductor Q4 source electrode and drain electrode connect respectively in power input terminal with transmitter module circuit
The power input negative pole BT- and the negative pole GND and the moon of storage capacitor of power output end of the negative pole BatGND electrical connections of battery
Extremely it is connected;The resistance R1 other end is connected with receiving chip.
In the present invention, transmission only can will be just needed with a metal-oxide-semiconductor controlled by triode in transmitter module circuit
Data be loaded on power line, also only one of which metal-oxide-semiconductor and resistance, storage capacitor can be thought in receiving module circuit
Also the data-signal of sending module transmission can be received while power supply is provided, circuit structure is very simple.
Further, in above-mentioned simple protocol carriers control circuit:Also include electricity in described transmitter module circuit
R73 and resistance R77 is hindered, described resistance R73 is arranged between triode Q28 colelctor electrode and metal-oxide-semiconductor Q28 grid, resistance
R77 is arranged between triode Q28 base stage and Data Input Interface LED-COLOUR.
Further, in above-mentioned simple protocol carriers control circuit:Also include two in described receiving module circuit
Pole pipe D1, described diode D1 are arranged on the power supply of power input just between the anode of storage capacitor.
Further, in above-mentioned simple protocol carriers control circuit:Electric capacity C9 of the described storage capacitor including parallel connection,
Electric capacity C8, electric capacity C4 and electric capacity C5, electric capacity C7.
Below with reference to drawings and examples, the present invention is described in detail.
Embodiment 1, while the present embodiment is that one kind transmits data in two terminals, also provides the profit of power supply for other side
The circuit of data-signal is transmitted with power line, as depicted in figs. 1 and 2, the circuit is made up of two parts, be transmitter module electricity respectively
Road and receiving module circuit.
Transmitter module circuit as shown in figure 1, the circuit include metal-oxide-semiconductor Q27, triode Q28, resistance R68, resistance R73 and
Resistance R77;The positive pole BT+ of battery connects metal-oxide-semiconductor Q27 source electrode, and resistance 68 is arranged between metal-oxide-semiconductor Q27 source electrode and grid,
Metal-oxide-semiconductor Q27 grid connects triode Q28 colelctor electrode, and triode Q28 base stage meets data output interface LED-COLOUR, three
Pole pipe Q28 emitter stage meets the negative pole BatGND of battery, and metal-oxide-semiconductor Q27 drain electrode is the positive pole of power output end;Resistance R73 is set
Put between triode Q28 colelctor electrode and metal-oxide-semiconductor Q28 grid, resistance R77 is arranged on triode Q28 base stage and data
Between output interface LED-COLOUR.
Specific circuit is as shown in Figure 1:Transmitter module circuit is by metal-oxide-semiconductor Q27, resistance R68, resistance R73, resistance R77, three
Pole pipe Q28 is constituted.One end of wherein metal-oxide-semiconductor Q27 source electrode (S poles) and resistance R68 is connected together as power input just
Pole, metal-oxide-semiconductor Q27 drain electrode (D poles) is connected as the positive pole of power output end with the 1st pin in power output terminal, is logical
Wire is crossed in power supply.The other end of metal-oxide-semiconductor Q27 grid (G poles) and resistance R68 is connected together, while with resistance R73's
One end is connected together, and the resistance R73 other end is connected together with triode Q28 colelctor electrode (C poles), triode Q28 base stage
(B poles) and resistance R77 one end are connected together, and resistance the R77 other end and control chip are connected together, triode Q27 hair
Emitter-base bandgap grading (E poles) and power supply BatGND be connected together, while being used as the negative pole of power output end.
According to knowable to above, the resistance R77 other end (being represented below with LED-COLOUR ends) is connect with control chip
Together, by controlling the level at LED-COLOUR ends to change, so that triode Q28 colelctor electrode (C poles) and emitter stage
(E poles) turn-on and turn-off, become further such that metal-oxide-semiconductor Q27 grid (G poles) is also produced with LED-COLOUR ends identical level
Change so that metal-oxide-semiconductor Q27 source electrode (S poles) and drain electrode (D poles) turn-on and turn-off of metal-oxide-semiconductor (Q27), so that the drain electrode of metal-oxide-semiconductor
(D poles) is produced to be changed with LED-COLOUR ends identical level.
As shown in Fig. 2 receiving module circuit includes metal-oxide-semiconductor Q4, resistance R1, storage capacitor, diode D1;Power input
Electrically connected in son with the positive pole of power output end in transmitter module circuit power input (COLOUR+ as shown in Figure 2 it just
It is be to be introduced from input terminal, corresponding with the signal COLOUR+ in the terminal of the output of transmitting terminal) power supply just connecing respectively
Metal-oxide-semiconductor Q4 grid, resistance R1 one end, the anode of storage capacitor, metal-oxide-semiconductor Q4 source electrode and drain electrode connect power input respectively
It is negative with the negative pole BatGND of battery in the transmitter module circuit power input negative pole BT- electrically connected and power output end in son
Pole GND is connected with the negative electrode of storage capacitor;The resistance R1 other end is connected with receiving chip.Diode D1 is arranged on power input
The power supply at end is just between the anode of storage capacitor.Storage capacitor includes electrochemical capacitor C9, electric capacity C8, electric capacity C4 and electricity in parallel
Hold C5, electric capacity C7, it is right in storage capacitor.
The receiving module circuit is by metal-oxide-semiconductor Q4, resistance R11, resistance R1, diode D1, electrochemical capacitor C9, electrochemical capacitor
C8, electrochemical capacitor C4, electrochemical capacitor C5, electric capacity C7 compositions.As shown in Fig. 2 P1 is power input terminal, P1 2 pin connect power supply
The power supply of input just, bear by the power supply that P1 1 pin connects power input.The source electrode (S poles) of metal-oxide-semiconductor (Q4) and power input
Negative pole is connected together, the drain electrode (D poles) of metal-oxide-semiconductor (Q4) as negative pole and the electrochemical capacitor C9 of power output end, electrochemical capacitor C8,
Electrochemical capacitor C4, electrochemical capacitor C5, electrochemical capacitor C7 negative pole end are connected together, and the grid (G poles) of metal-oxide-semiconductor is with resistance R11's
One end is connected together, and the resistance R11 other end and the positive pole of power input are connected together.Resistance R1 one end and power input
The positive pole at end is connected together, and the resistance R1 other end is connected with receiving chip.The positive pole of diode (D1) and power input
Positive pole is connected, diode D1 negative pole as power output end positive pole and electric capacity C9, electric capacity C8, electric capacity C4, electric capacity C5, electric capacity
C7 positive terminal is connected together.
It can be seen from accompanying drawing 2 above, metal-oxide-semiconductor Q4 effect is anti-reverse protection, and after reversal connection, power input is just
Pole tension is 0, and metal-oxide-semiconductor Q4 source electrode (S poles) and drain electrode (D poles) disconnect, the negative pole of power input and bearing for power output end
Pole is not turned on.After connecing correctly, the cathode voltage of power input is power input voltage, metal-oxide-semiconductor Q4 source electrode (S poles) and drain electrode
(D poles) is turned on, and the negative pole of power input and the negative pole of power output end are turned on, so as to there is current flowing.Resistance R1 one end
It is connected with the positive pole of power input, the other end (being represented below with DETECT) is connected with receiving chip, works as power input
Positive pole occur level change when, DETECT can produce identical level change for receive chip reading use.Diode D1's
Effect is anti-recoil electric current, when power input terminal voltage is 0, due to the presence of electric capacity, the voltage meeting of power output end
Voltage than power input is high, using the characteristic of diode unilateral conduction, and electric current can not directly have power output end to power supply
Input, so as to protect the component of power input this side.Electric capacity C9, electric capacity C8, electric capacity C4, electric capacity C5, electric capacity C7 have been
The effect of energy storage, when the moment that the voltage of power input declines, after electric capacity can discharge the energy of itself to receive chip such as
The U4 in face provides the supply current of short time.