CN206470639U - The host device and two line communication circuit of two line communication circuit - Google Patents

The host device and two line communication circuit of two line communication circuit Download PDF

Info

Publication number
CN206470639U
CN206470639U CN201720058655.3U CN201720058655U CN206470639U CN 206470639 U CN206470639 U CN 206470639U CN 201720058655 U CN201720058655 U CN 201720058655U CN 206470639 U CN206470639 U CN 206470639U
Authority
CN
China
Prior art keywords
unit
input
connects
output
voltage
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
CN201720058655.3U
Other languages
Chinese (zh)
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 Pan Sea Sanjiang Electronic Ltd By Share Ltd
Shenzhen Fanhai Sanjiang Electronics Co Ltd
Original Assignee
Shenzhen Pan Sea Sanjiang Electronic Ltd By Share 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 Pan Sea Sanjiang Electronic Ltd By Share Ltd filed Critical Shenzhen Pan Sea Sanjiang Electronic Ltd By Share Ltd
Priority to CN201720058655.3U priority Critical patent/CN206470639U/en
Application granted granted Critical
Publication of CN206470639U publication Critical patent/CN206470639U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

This application discloses a kind of host device of two line communication circuit, host device includes:Console controller;Switch element, for exporting supply voltage under the control of console controller;Modulating unit is exported, the output voltage for being adjusted to represent communication data by supply voltage under the control of console controller exports setting time, output modulating unit connection console controller and switch element;Returning code detection unit includes current transformer, when the electric current on the armature winding of current transformer produces change, the secondary windings of current transformer produces proportional induced-current and is used as signal of communication, console controller, to obtain the Content of Communication of slave devices, realizes the two-way communication with slave devices by recognizing signal of communication.Disclosed herein as well is a kind of two line communication circuit.The application ensure that the communication of host device and slave devices, and effectively improve the antijamming capability of communication, substantially reduce the loss of circuit.

Description

The host device and two line communication circuit of two line communication circuit
Technical field
The application is related to communication technical field, more particularly to a kind of host device and two lines bus of two line communication circuit Telecommunication circuit.
Background technology
In the prior art, two lines bus circuit is using two transmission lines, connection main frame with some slaves with realize main frame to from Machine is powered with communicating.Host device control two lines bus exports the pulse-modulated signal of different magnitudes of voltage, the decoding circuit of slave from The pulse-modulated signal that main frame is sent parses the control command of main frame, and slave, which is performed, makes back code circuit work after order, changes The current value of bus.Host side is connected a sampling resistor on two lines bus, when the curent change in bus, sampling resistor two ends Voltage can change, this voltage signal after signal processing circuit by main frame microcontroller recognize.
Connected on two lines bus sampling resistor, the electric current in bus can all flow through this sampling resistor.The slave connected in bus Equipment is more, and the electric current in bus can be bigger, and the voltage at sampling resistor two ends also can be bigger, and this will cause the voltage of slave devices Step-down, it is possible to can cause slave cisco unity malfunction, also increases the loss of circuit.Meanwhile, slave devices reply response letter Number when, flow through host device up-sampling resistance current changing rate diminish, voltage variety diminishes, and will prevent host device from just The answer signal of the other slave devices of general knowledge.In addition, the communication distance of two lines bus is general longer, many electromagnetism clutter strings are around had Disturb on circuit, sampling resistor two ends on the host device form interference signal, main frame can be influenceed to recognize the response letter of slave Number.
Utility model content
The application provides a kind of host device and two line communication circuit of two line communication circuit, can solve the problem that now Two line communication circuit because slave devices increase influence slave devices supply voltage and cause slave devices normal Work, host device can not normally recognize the answer signal of slave devices, and logical over long distances in host device and slave devices There is the interference of electromagnetism clutter during letter and because sampling resistor can be because the electric current in bus increases and increases circuit loss Problem.
According to the application's in a first aspect, the application provides a kind of host device of two line communication circuit, host device Communicated with slave devices, host device includes:Console controller;Switch element, for being exported under the control of console controller Supply voltage, it includes control end, input and output end, and the input of switch element connects power supply, switch element Control end connects console controller;Modulating unit is exported, for supply voltage to be adjusted into table under the control of console controller Show the output voltage output setting time of communication data, it includes control end, input and output end, exports the control of modulating unit End processed connects console controller, exports the output end of the input connecting valve unit of modulating unit, exports the defeated of modulating unit Go out the high level line of end connection two lines bus;Code detection unit is returned, it connects console controller and two lines bus, it includes being used to feel The current transformer of the curent change on two lines bus is answered, armature winding and the slave devices of current transformer are connected on two lines bus, The secondary windings connection console controller of current transformer, when the electric current on the armature winding of current transformer produces change, The secondary windings of current transformer produces proportional induced-current as signal of communication, and console controller is by recognizing communication letter Number to obtain the Content of Communication of slave devices, the two-way communication with slave devices is realized..
Preferably, switch element includes the first voltage-stabiliser tube, the first metal-oxide-semiconductor, the first triode and periphery resistance, first The input of the source electrode connecting valve unit of metal-oxide-semiconductor, the output end of the drain electrode connecting valve unit of the first metal-oxide-semiconductor, the first voltage stabilizing Pipe and a resistor coupled in parallel are between the grid and source electrode of the first metal-oxide-semiconductor, grid connection one resistance to the one or three pole of the first metal-oxide-semiconductor The colelctor electrode of pipe, connects a resistance, the base of the first triode between the base stage of the first triode and the control end of switch element A resistance is connected between pole and emitter stage.
Preferably, output modulating unit includes voltage-stablizer, the first diode, the second voltage-stabiliser tube, the second metal-oxide-semiconductor, the two or three Pole pipe and periphery resistance, the input of the input connection output modulating unit of voltage-stablizer, the output end connection the of voltage-stablizer One diode is to the output end for exporting modulating unit, and the source electrode connection of the second metal-oxide-semiconductor exports the input of modulating unit, second The output end of the drain electrode connection output modulating unit of metal-oxide-semiconductor, the second voltage-stabiliser tube and a resistor coupled in parallel the second metal-oxide-semiconductor grid and Between source electrode, the grid of the second metal-oxide-semiconductor connects the colelctor electrode of a resistance to the second triode, the base stage of the second triode and defeated A resistance is connected between the control end for going out modulating unit, a resistance is connected between the base stage and emitter stage of the second triode.
Preferably, returning code detection unit also includes inductive reactance, the first electric capacity, the second diode, the 3rd diode, computing The peripheral circuit of amplifier and operational amplifier, the armature winding of current transformer connects the low level line of two lines bus, electric current The two ends of the secondary windings of transformer are parallel with inductive reactance and the first electric capacity, and one end of the secondary windings of current transformer connects A resistance is connect to the positive input of concatenation operation amplifier, the other end of the secondary windings of current transformer is grounded, the two or two One end of the secondary windings of the anode connection current transformer of pole pipe, the negative electrode of the second diode connects the secondary of current transformer The other end of winding, the other end of the secondary windings of the anode connection current transformer of the 3rd diode, the moon of the 3rd diode One end of the secondary windings of pole connection current transformer, the output end connection console controller of operational amplifier.
Preferably, returning code detection unit also includes inductive reactance, the first electric capacity, the second diode, the 3rd diode, computing The peripheral circuit of amplifier and operational amplifier, the armature winding of current transformer is connected to output modulating unit and load Between, the two ends of the secondary windings of current transformer are parallel with inductive reactance and the first electric capacity, the secondary windings of current transformer One end connect a resistance to the positive input of operational amplifier, the other end ground connection of the secondary windings of current transformer, the One end of the secondary windings of the anode connection current transformer of two diodes, the negative electrode connection current transformer of the second diode The other end of secondary windings, the other end of the secondary windings of the anode connection current transformer of the 3rd diode, the second diode Negative electrode connection current transformer secondary windings one end, operational amplifier output end connection console controller.
According to the second aspect of the application, the application provides a kind of two line communication circuit, and circuit includes:One host device And an at least slave devices, host device connects slave devices by two lines bus;Slave devices, it includes:From machine controller; Reversal unit, for output voltage to be carried out into rectification, it includes input and output end, the input of reversal unit Connect two lines bus;Voltage regulation unit, for, to be powered to from machine controller, it to include input by the output voltage transformation after rectification And output end, the output end of the input connection reversal unit of voltage regulation unit, the output end connection slave control of voltage regulation unit Device processed;Decoding unit, communication data, slave control are decoded as receiving the output voltage after rectifier transformer, and by output voltage Device processed is according to the communication data output control order received, and it includes input and output end, and the input of decoding unit connects The output end of reversal unit is connect, the output end of decoding unit is connected from machine controller;Code unit is returned, for being ordered according to control Curent change on order regulation two lines bus, it includes first input end, the second input and output end, and return code unit first is defeated Enter end connection from machine controller, return the second input connection reversal unit of code unit, return the output head grounding of code unit.
Preferably, reversal unit includes rectifier bridge stack, and the input of rectifier bridge stack connects the defeated of reversal unit Enter end, the output end of rectifier bridge stack connects the output end of reversal unit.
Preferably, voltage regulation unit includes voltage-stablizer, and the input of voltage-stablizer connects the input of voltage regulation unit, voltage-stablizer Go out the output end of end connection voltage regulation unit.
Preferably, decoding unit includes the second electric capacity, the 3rd electric capacity, the 3rd triode and periphery resistance, decoding unit Input and the 3rd triode base stage between be connected with the second electric capacity and a resistance, the emitter stage of the 3rd triode connects The output end of voltage regulation unit is connect, a resistance, the three or three are connected between the output end of voltage regulation unit and the base stage of the 3rd triode The 3rd electric capacity is connected between the base stage and ground of pole pipe, a resistance, the three or three pole are connected between the colelctor electrode and ground of the 3rd triode A resistance is connected between the colelctor electrode of pipe and the output end of decoding unit.
Preferably, returning code unit includes the 4th triode, the 4th diode and periphery resistance, the current collection of the 4th triode A resistance is connected between pole and the first input end for returning code unit, the base stage of the 4th triode connects the negative electrode of the 4th diode, The anode of 4th diode is connected after a resistance to the second input for returning code unit, the base stage and emitter stage of the 4th triode it Between connect a resistance, the emitter of the 4th triode connects back to the output end of yard unit.
The beneficial effect of the application is:On the basis of existing two-bus communication is not changed, pass through Current Mutual Inductance The two line communication circuit that device is built, the curent change detected in current transformer on two lines bus produces induced signal, and main frame is set The induced signal that standby identification current transformer is produced, so as to realize two-way communication with slave, no matter two total under this attachment structure The size of line current, the supply voltage of slave devices is not interfered with, ensure that the communication of host device and slave devices, and And the antijamming capability of communication is effectively improved, substantially reduce the loss of circuit.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram of the host device for the two line communication circuit for implementing to exemplify of the application;
Fig. 2 is a kind of circuit diagram of the host device for the two line communication circuit for implementing to exemplify of the application;
Fig. 3 is the schematic diagram of the host device of another two line communication circuit for implementing to exemplify of the application;
Fig. 4 is the circuit diagram of the host device of another two line communication circuit for implementing to exemplify of the application;
Fig. 5 is a kind of circuit diagram of the slave devices for the two line communication circuit for implementing to exemplify of the application.
Reference is illustrated below:The voltage stabilizing of 10 console controller of host device, 100 switch element 101 first Pipe Z1 the first metal-oxide-semiconductor the first triodes of M1 Q1 exports voltage-stablizer U1 the first diode the second voltage stabilizings of D1 of modulating unit 102 MOS pipes the second triodes of the M2 Q2 of pipe Z2 the 2nd return the current transformer T1 inductive reactances R12 first of code detection unit 103 The diode D3 operational amplifier U2 slave devices 20 of the second diodes of electric capacity C1 D2 the 3rd become from the polarity of machine controller 200 Change the electric capacity C3 of 201 rectifier bridge stack DG1 voltage regulation units of unit, 202 203 second electric capacity C2 of voltage-stablizer U3 decoding units the 3rd 3rd triode Q3 returns the diode D4 of the 4th triode Q4 of code unit 204 the 4th.
Embodiment
The application is described in further detail below by embodiment combination accompanying drawing.Wherein different embodiments Middle similar component employs associated similar element numbers.In the following embodiments, many detailed descriptions be in order to The application is better understood.However, those skilled in the art can be without lifting an eyebrow recognize, which part feature It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen Certain operations that please be related do not show or description that this is the core in order to avoid the application by mistake in the description Many descriptions are flooded, and to those skilled in the art, be described in detail these associative operations be not it is necessary, they The general technology knowledge of description and this area in specification can completely understand associative operation.
In addition, feature described in this description, operation or feature can be combined to form respectively in any suitable way Plant embodiment.Meanwhile, each step or action in method description can also be aobvious and easy according to those skilled in the art institute energy The mode carry out order exchange or adjustment seen.Therefore, the various orders in specification and drawings are intended merely to clearly describe a certain Individual embodiment, is not meant to be necessary order, wherein some sequentially must comply with unless otherwise indicated.
In the utility model embodiment, the two line communication circuit built by current transformer, current transformer inspection The curent change surveyed on two lines bus produces induced signal, and host device recognizes the induced signal that current transformer is produced, so that with Slave realizes two-way communication, and though under this mode bus current size, do not interfere with the supply voltage of slave, greatly reduce Circuit loss, effectively improves the antijamming capability of communication.
Embodiment one:
Fig. 1 to Fig. 4 is referred to, host device 10 includes:Console controller 100, switch element 101, output modulating unit 102 and return code detection unit 103.Switch element 101 is used to export supply voltage under the control of console controller 100, its Including control end, input and output end, the input connection power supply of switch element 101, the control end of switch element 101 Connect console controller 100.Output modulating unit 102 is used to be adjusted to supply voltage under the control of console controller 100 The output voltage output setting time of communication data is represented, it includes control end, input and output end, exports modulating unit 102 control end connection console controller 100, exports the output end of the input connecting valve unit 101 of modulating unit 102, The output end for exporting modulating unit 102 connects the high level line of two lines bus.Return the connection console controller 100 of code detection unit 103 And two lines bus, it includes the current transformer for being used to sense the curent change on two lines bus, the armature winding of current transformer It is connected on slave devices on two lines bus, the secondary windings connection console controller 100 of current transformer, when current transformer When electric current on armature winding produces change, the secondary windings generation of current transformer is proportional to primary winding current variable quantity Induced-current as signal of communication, console controller by recognizing signal of communication to obtain the Content of Communication of slave devices 20, Realize the two-way communication of host device 10 and slave devices 20.
Switch element 101 includes the first voltage-stabiliser tube Z1, the first metal-oxide-semiconductor M1, the first triode Q1 and periphery resistance.First The input of metal-oxide-semiconductor M1 source electrode connecting valve unit 101, the output of the first metal-oxide-semiconductor M1 drain electrode connecting valve unit 101 End, the first voltage-stabiliser tube Z1 and a resistance R1 are connected in parallel between the first metal-oxide-semiconductor M1 grid and source electrode, the first metal-oxide-semiconductor M1 grid A resistance R2 is connected to the first triode Q1 colelctor electrode, the first triode Q1 base stage and the control end of switch element 101 Between connect and connect a resistance R4 between the base stage and emitter stage of resistance a R3, the first triode Q1.In the present embodiment, first Metal-oxide-semiconductor M1 is P-channel metal-oxide-semiconductor, and the first triode Q1 is NPN triode.The input of switch element 101 connects 24V power supply Power supply, when console controller 100 controls the first triode Q1 conductings, the first metal-oxide-semiconductor M1 is also switched on, and switch element 101 is exported 24V supply voltage.
Exporting modulating unit 102 includes voltage-stablizer U1, the first diode D1, the second voltage-stabiliser tube Z2, the second metal-oxide-semiconductor M2, the Two triode Q2 and periphery resistance, the input of voltage-stablizer U1 input connection output modulating unit 102, voltage-stablizer U1's Output end connects the first diode D1 to the output end for exporting modulating unit 102, the second metal-oxide-semiconductor M2 source electrode connection output modulation The input of unit 102, the output end of the second metal-oxide-semiconductor M2 drain electrode connection output modulating unit 102, the second voltage-stabiliser tube Z2 and one Resistance R5 is connected in parallel between the second metal-oxide-semiconductor M2 grid and source electrode, and the second metal-oxide-semiconductor M2 grid connects a resistance R7 to the two or three Pole pipe Q2 colelctor electrode, a resistance R9 is connected between the second triode Q2 base stage and the control end of output modulating unit 102, A resistance R11 is connected between second triode Q2 base stage and emitter stage.In the present embodiment, the first metal-oxide-semiconductor M1 is P-channel MOS Pipe, the first triode Q1 is NPN triode.The voltage that voltage-stablizer U1 can be 18V 24V voltage step-down, therefore, output is adjusted Unit 102 processed can export 24V or 18V voltage setting time, slave devices 20 under the control of console controller 100 The command context sent according to the magnitude of voltage on Current bus and duration parsing console controller 100.Wherein, host computer control is worked as When device 100 controls the second triode Q2 conductings, the second metal-oxide-semiconductor M2 is also switched on, the output output of modulating unit 102 24V output electricity Pressure, when console controller 100 controls the second triode Q2 to close, the second metal-oxide-semiconductor M2 is also switched off, and output modulating unit 102 is defeated Go out 24V output voltage.
Returning code detection unit 103 also includes inductive reactance R12, the first electric capacity C1, the second diode D2, the 3rd diode D3, operational amplifier U2 and operational amplifier U2 peripheral circuit.
Refer in Fig. 1 and Fig. 2, the present embodiment, current transformer T1 armature winding connects the low level line of two lines bus, The two ends of current transformer T1 secondary windings are parallel with inductive reactance R12 and the first electric capacity C1, current transformer T1 time One end of level winding connects a resistance R10 to operational amplifier U2 positive input, current transformer T1 secondary windings The other end is grounded, one end of the second diode D2 anode connection current transformer T1 secondary windings, the second diode D2's The other end of negative electrode connection current transformer T1 secondary windings, the 3rd diode D3 anode connection current transformer T1 time The other end of level winding, one end of the 3rd diode D3 negative electrode connection current transformer T1 secondary windings, operational amplifier U2 output end connection console controller 100.
Fig. 3 and Fig. 4 are referred to, in other implementations, current transformer T1 armature winding is connected to the defeated of voltage-stablizer U1 Go out between end and the first diode D1, the two ends of current transformer T1 secondary windings are parallel with inductive reactance R12 and first Electric capacity C1, one end of current transformer T1 secondary windings connects a resistance R10 to operational amplifier U2 positive input, electricity The other end ground connection of current transformer T1 secondary windings, the second diode D2 anode connection current transformer T1 secondary windings One end, the other end of the second diode D2 negative electrode connection current transformer T1 secondary windings, the 3rd diode D3 sun The other end of pole connection current transformer T1 secondary windings, the 3rd diode D3 negative electrode connection current transformer T1 secondary One end of winding, operational amplifier U2 output end connection console controller 100.
Embodiment two:
Refer to Fig. 1 to Fig. 5, the two line communication circuit of the application, including:One host device 10 and at least a slave Equipment 20, host device 10 connects slave devices 20 by two lines bus.
Host device 10 includes:Console controller 100, switch element 101, output modulating unit 102 and time code detection Unit 103.Switch element 101 is used to export supply voltage under the control of console controller 100, and it includes control end, input End and output end, the input connection power supply of switch element 101, the control end connection console controller of switch element 101 100.Output modulating unit 102 is used under the control of console controller 100 be adjusted to supply voltage to represent communication data Output voltage exports setting time, and it includes control end, input and output end, the control end connection of output modulating unit 102 Console controller 100, exports the output end of the input connecting valve unit 101 of modulating unit 102, exports modulating unit 102 Output end connect two lines bus high level line.The connection console controller 100 of code detection unit 103 and two lines bus are returned, it is wrapped Include the current transformer T1 for sensing the curent change on two lines bus, current transformer T1 armature winding and slave devices string It is associated on two lines bus, current transformer T1 secondary windings connection console controller 100, current transformer T1 is according to the change of electric current Change and produce signal of communication, console controller 100 recognizes that signal of communication, to obtain the Content of Communication of slave devices 20, realizes that main frame is set For 10 two-way communications with slave devices 20.
Slave devices 20 include:From machine controller 200, reversal unit 201, voltage regulation unit 202, decoding unit 203 And return code unit 204.Reversal unit 201 is used to output voltage carrying out rectification, and it includes input and output end, pole Property converter unit 201 input connection two lines bus.Voltage regulation unit 202 is used for the output voltage transformation after rectification with to slave Controller 200 is powered, and it includes input and output end, and the input of voltage regulation unit 202 connects the defeated of reversal unit 201 Go out end, the output end of voltage regulation unit 202 is connected from machine controller 200.Decoding unit 203 is used to receive the output after rectifier transformer Voltage, and output voltage is decoded as communication data, ordered from machine controller 200 according to the communication data output control received Order, it includes input and output end, and the output end of the input connection reversal unit 201 of decoding unit 203, decoding is single The output end of member 203 is connected from machine controller 200.Returning code unit 204 is used to adjust the electric current on two lines bus according to control command Change, it includes first input end, the second input and output end, returns the first input end connection slave control of code unit 204 Device 200, returns the second input connection reversal unit 201 of code unit 204, returns the output head grounding of code unit 204.
Switch element 101 includes the first voltage-stabiliser tube Z1, the first metal-oxide-semiconductor M1, the first triode Q1 and periphery resistance.First The input of metal-oxide-semiconductor M1 source electrode connecting valve unit 101, the output of the first metal-oxide-semiconductor M1 drain electrode connecting valve unit 101 End, the first voltage-stabiliser tube Z1 and a resistance R1 are connected in parallel between the first metal-oxide-semiconductor M1 grid and source electrode, the first metal-oxide-semiconductor M1 grid A resistance R2 is connected to the first triode Q1 colelctor electrode, the first triode Q1 base stage and the control end of switch element 101 Between connect and connect a resistance R4 between the base stage and emitter stage of resistance a R3, the first triode Q1.In the present embodiment, first Metal-oxide-semiconductor M1 is P-channel metal-oxide-semiconductor, and the first triode Q1 is NPN triode.The input of switch element 101 connects 24V power supply Power supply, when console controller 100 controls the first triode Q1 conductings, the first metal-oxide-semiconductor M1 is also switched on, and switch element 101 is exported 24V supply voltage.
Exporting modulating unit 102 includes voltage-stablizer U1, the first diode D1, the second voltage-stabiliser tube Z2, the second metal-oxide-semiconductor M2, the Two triode Q2 and periphery resistance, the input of voltage-stablizer U1 input connection output modulating unit 102, voltage-stablizer U1's Output end connects the first diode D1 to the output end for exporting modulating unit 102, the second metal-oxide-semiconductor M2 source electrode connection output modulation The input of unit 102, the output end of the second metal-oxide-semiconductor M2 drain electrode connection output modulating unit 102, the second voltage-stabiliser tube Z2 and one Resistance R5 is connected in parallel between the second metal-oxide-semiconductor M2 grid and source electrode, and the second metal-oxide-semiconductor M2 grid connects a resistance R7 to the two or three Pole pipe Q2 colelctor electrode, a resistance R9 is connected between the second triode Q2 base stage and the control end of output modulating unit 102, A resistance R11 is connected between second triode Q2 base stage and emitter stage.In the present embodiment, the first metal-oxide-semiconductor M1 is P-channel MOS Pipe, the first triode Q1 is NPN triode.The voltage that voltage-stablizer U1 can be 18V 24V voltage step-down, therefore, output is adjusted Unit 102 processed can export 24V or 18V voltage setting time, slave devices 20 under the control of console controller 100 The command context sent according to the magnitude of voltage on Current bus and duration parsing console controller 100.Wherein, host computer control is worked as When device 100 controls the second triode Q2 conductings, the second metal-oxide-semiconductor M2 is also switched on, the output output of modulating unit 102 24V output electricity Pressure, when console controller 100 controls the second triode Q2 to close, the second metal-oxide-semiconductor M2 is also switched off, and output modulating unit 102 is defeated Go out 24V output voltage.
Returning code detection unit 103 also includes inductive reactance R12, the first electric capacity C1, the second diode D2, the 3rd diode D3, operational amplifier U2 and operational amplifier U2 peripheral circuit.
Refer in Fig. 1 and Fig. 2, the present embodiment, current transformer T1 armature winding connects the low level line of two lines bus, The two ends of current transformer T1 secondary windings are parallel with inductive reactance R12 and the first electric capacity C1, current transformer T1 time The resistance R10 of one end one to concatenation operation amplifier U2 of level winding positive input, current transformer T1 secondary windings The other end is grounded, one end of the second diode D2 anode connection current transformer T1 secondary windings, the second diode D2's The other end of negative electrode connection current transformer T1 secondary windings, the 3rd diode D3 anode connection current transformer T1 time The other end of level winding, one end of the 3rd diode D3 negative electrode connection current transformer T1 secondary windings, operational amplifier U2 output end connection console controller 100.
Fig. 3 and Fig. 4 are referred to, in other implementations, current transformer T1 armature winding is connected to the defeated of voltage-stablizer U1 Go out between end and the first diode D1, the two ends of current transformer T1 secondary windings are parallel with inductive reactance R12 and first Electric capacity C1, one end of current transformer T1 secondary windings connects a resistance R10 to operational amplifier U2 positive input, electricity The other end ground connection of current transformer T1 secondary windings, the second diode D2 anode connection current transformer T1 secondary windings One end, the other end of the second diode D2 negative electrode connection current transformer T1 secondary windings, the 3rd diode D3 sun The other end of pole connection current transformer T1 secondary windings, the 3rd diode D3 negative electrode connection current transformer T1 secondary One end of winding, operational amplifier U2 output end connection console controller 100.
In the present embodiment, it is using the benefit of current transformer:1st, the resistance value of current transformer armature winding is very small, Ignore substantially in actual use.No matter bus current has much, the magnitude of voltage at current transformer armature winding two ends Almost 0, therefore do not interfere with the supply voltage of slave devices 20.2nd, current transformer armature winding and secondary windings mutually every From when the electric current for flowing through current transformer armature winding changes, secondary transformer winding can produce corresponding proportion Induced-current, induced-current can form induced voltage after resistance.When two lines bus carries out long haul communication, it is not easy to by outer The electromagnetism clutter influence being crosstalked on portion's circuit.
Referring to Fig. 5, reversal unit 201 includes rectifier bridge stack DG1, rectifier bridge stack DG1 input connection polarity The input of converter unit 201, the output end of rectifier bridge stack DG1 output end connection reversal unit 201.
Voltage regulation unit 202 includes voltage-stablizer U3, and voltage-stablizer U3 input connects the input of voltage regulation unit 202, voltage stabilizing The device U3 output end for going out end connection voltage regulation unit 202.
Decoding unit 203 includes the second electric capacity C2, the 3rd electric capacity C3, the 3rd triode Q3 and periphery resistance.Decoding is single A the second electric capacity C2 and resistance R16, the three or three pole are connected between first 203 input and the 3rd triode Q3 base stage Pipe Q3 emitter stage connects the base stage of the output end of voltage regulation unit 202, the output end of voltage regulation unit 202 and the 3rd triode Q3 Between connect the 3rd electric capacity C3, the 3rd triode Q3 current collection connected between the base stage and ground of resistance a R13, the 3rd triode Q3 A resistance R15 is connected between pole and ground, an electricity is connected between the 3rd triode Q3 colelctor electrode and the output end of decoding unit 203 Hinder R14.In the present embodiment, the 3rd triode Q3 is PNP triode.
Returning code unit 204 includes the 4th triode Q4, the 4th diode D4 and periphery resistance.4th triode Q4 collection The base stage that resistance a R17, the 4th triode Q4 is connected between electrode and the first input end for returning code unit 204 connects the four or two pole Pipe D4 negative electrode, the 4th diode D4 anode is connected after a resistance R18 to the second input for returning code unit 204, the four or three A resistance R19 is connected between pole pipe Q4 base stage and emitter stage, the 4th triode Q4 emitter connects back to the defeated of yard unit 204 Go out end.In the present embodiment, the 4th triode Q4 is NPN triode.
Illustrated with reference to Fig. 1 to Fig. 5 come the operation principle to the application.
The input termination 24V power supplys of switch element 101, main controller P10 port controllings output 24V, output modulation is single The input of member 102 is connected with the output end of switch element 101, the high electricity of output end connection two lines bus of output modulating unit 102 Flush end.When the second metal-oxide-semiconductor of main controller controls M2 is turned on, output 24V voltages in two lines bus high level end work as main controller controls When metal-oxide-semiconductor Q2 ends, 24V voltages are adjusted to 18V output voltage by voltage regulation unit 202, are then exported through the first diode D1 To two lines bus high level end.
Reversal unit 201 is that rectifier bridge stack DG1, the high level end L+ and two that two inputs connect two lines bus respectively are total The low level end L- of line, the one of output end terminates voltage regulation unit 202, the input of decoding unit 203, returns the defeated of code unit 204 Enter end, the other end ground connection of output end.The stable 5V voltages of the output of voltage regulation unit 202 are powered to from machine controller 200.When two total When voltage on line is changed into 18V from 24V, the second electric capacity C2 both end voltages change, the 3rd triode Q3 conductings, the three or three pole Pipe Q3 colelctor electrodes export high level, when voltage becomes 18V by 24V on two lines bus, triode Q1 cut-offs, the 3rd triode Q3 collection Electrode exports low level, judges the output state signal of decoding unit 203 and duration from machine controller 200, judges main control The communication data that device is sent.When to be replied from machine controller 200 communication data that master controller is sent, code is controlled back The 4th triode Q4 conductings in unit 204, thus have current flowing resistance R17, the current value of two lines bus can increase.
When bus current changes, the electric current for flowing through the current transformer T1 armature windings also changes, electricity Current transformer T1 secondary windings produces the induced-current proportional to primary winding current variable quantity, by T1 level of current transformer The induced-current that winding is produced, flows through and induced voltage is formed after inductive reactance R12, and the first electric capacity C1 filters out the induced voltage letter High frequency spurs present on number.Induced voltage is connected to host computer control after the amplifying circuit that integrated operational amplifier U2 is assembled The detection input FEED of device 100, you can to recognize the signal of communication of slave devices 20.
If returning connected mode of the code detection unit 103 using Fig. 4, from machine controller 200 in two lines bus output 18V electricity During the communication data of the reply master controller of pressure, bus provides electric current by voltage regulation unit 202, and it is total that this connected mode can avoid two When line exports 24V, the big situation of current fluctuation in bus.
Use above specific case is illustrated to the application, is only intended to help and is understood the application, not to limit The application processed.For the application person of ordinary skill in the field, according to the thought of the application, it can also make some simple Deduce, deform or replace.
Compared with prior art, the beneficial effect of the application is:Do not changing the basis of existing two-bus communication On, the two line communication circuit built by current transformer, the curent change detected in current transformer on two lines bus is produced Induced signal, the induced signal that host device identification current transformer is produced, so as to realize two-way communication, this connection with slave No matter the size of two lines bus electric current under structure, the supply voltage of slave devices is not interfered with, ensure that host device and from The communication of machine equipment, and the antijamming capability of communication is effectively improved, substantially reduce the loss of circuit.
It will be understood by those skilled in the art that all or part of step of various methods can pass through in above-mentioned embodiment Program instructs related hardware to complete, and the program can be stored in a computer-readable recording medium, storage medium can be wrapped Include:Read-only storage, random access memory, disk or CD etc..
Above content is to combine the further description that specific embodiment is made to the application, it is impossible to assert this Shen Specific implementation please is confined to these explanations.For the application person of an ordinary skill in the technical field, do not taking off On the premise of from the design of the application utility model, some simple deduction or replace can also be made.

Claims (10)

1. a kind of host device of two line communication circuit, it is characterised in that the host device communicates with slave devices, described Host device includes:
Console controller;
Switch element, for exporting supply voltage under the control of the console controller, it includes control end, input and defeated Go out end, the input connection power supply of the switch element, the control end of the switch element connects the console controller;
Modulating unit is exported, for the supply voltage being adjusted under the control of the console controller to represent communication data Output voltage output setting time, it includes control end, input and output end, the control end company of the output modulating unit The console controller is connect, the input of the output modulating unit connects the output end of the switch element, and the output is adjusted The output end of unit processed connects the high level line of the two lines bus;
Code detection unit is returned, it connects the console controller and the two lines bus, it includes being used to sense the two lines bus On curent change current transformer, the armature winding of the current transformer is connected on the two lines bus with slave devices On, the secondary windings of the current transformer connects the console controller, when on the armature winding of the current transformer When electric current produces change, the secondary windings of the current transformer produces proportional induced-current as signal of communication, described Console controller, to obtain the Content of Communication of the slave devices, is realized double with slave devices by recognizing the signal of communication To communication.
2. host device as claimed in claim 1, it is characterised in that the switch element includes the first voltage-stabiliser tube, the first MOS Pipe, the first triode and periphery resistance, the source electrode of first metal-oxide-semiconductor connect the input of the switch element, and described the The output end of the drain electrode connection switch element of one metal-oxide-semiconductor, resistor coupled in parallel described in first voltage-stabiliser tube and one is described the Between the grid and source electrode of one metal-oxide-semiconductor, the grid of first metal-oxide-semiconductor connects a resistance to the current collection of first triode Pole, connects a resistance, first triode between the base stage of first triode and the control end of the switch element Base stage and emitter stage between connect a resistance.
3. host device as claimed in claim 1, it is characterised in that the output modulating unit includes voltage-stablizer, the one or two Pole pipe, the second voltage-stabiliser tube, the second metal-oxide-semiconductor, the second triode and periphery resistance, the input connection of the voltage-stablizer are described defeated Go out the input of modulating unit, the output end of the voltage-stablizer connects first diode and exports the defeated of modulating unit to described Go out end, the input of the source electrode connection output modulating unit of second metal-oxide-semiconductor, the drain electrode connection of second metal-oxide-semiconductor The output end of the output modulating unit, grid of the resistor coupled in parallel in second metal-oxide-semiconductor described in second voltage-stabiliser tube and one Between source electrode, the grid of second metal-oxide-semiconductor connects a resistance to the colelctor electrode of second triode, the two or three pole A resistance, the base stage of second triode and transmitting are connected between the base stage of pipe and the control end of the output modulating unit A resistance is connected between pole.
4. host device as claimed in claim 1, it is characterised in that described time code detection unit also includes inductive reactance, the One electric capacity, the second diode, the 3rd diode, the peripheral circuit of operational amplifier and the operational amplifier,
The armature winding of the current transformer connects the low level line of the two lines bus, the secondary windings of the current transformer Two ends be parallel with the inductive reactance and the first electric capacity, one end of the secondary windings of the current transformer connects a resistance To the positive input of the operational amplifier, the other end ground connection of the secondary windings of the current transformer, the described 2nd 2 The anode of pole pipe connects one end of the secondary windings of the current transformer, and the negative electrode of second diode connects the electric current The other end of the secondary windings of transformer, the anode of the 3rd diode connects the another of the secondary windings of the current transformer One end, the negative electrode of the 3rd diode connects one end of the secondary windings of the current transformer, the operational amplifier Output end connects the console controller.
5. host device as claimed in claim 1, it is characterised in that described time code detection unit also includes inductive reactance, the One electric capacity, the second diode, the 3rd diode, the peripheral circuit of operational amplifier and the operational amplifier,
The armature winding of the current transformer is connected between the output end of the output modulating unit and load, the electric current The two ends of the secondary windings of transformer are parallel with the inductive reactance and the first electric capacity, the secondary windings of the current transformer One end connect a resistance to the positive input of the operational amplifier, the other end of the secondary windings of the current transformer Ground connection, the anode of second diode connects one end of the secondary windings of the current transformer, second diode Negative electrode connects the other end of the secondary windings of the current transformer, and the anode of the 3rd diode connects the Current Mutual Inductance The other end of the secondary windings of device, the negative electrode of the 3rd diode connects one end of the secondary windings of the current transformer, The output end of the operational amplifier connects the console controller.
6. a kind of two line communication circuit, it is characterised in that the circuit includes:As described in claim 1 to 5 any one Host device and at least a slave devices, the host device connect the slave devices by two lines bus;
The slave devices, it includes:
From machine controller;
Reversal unit, for the output voltage to be carried out into rectification, it includes input and output end, the reversal The input of unit connects the two lines bus;
Voltage regulation unit, for, to be powered to described from machine controller, it to include input by the output voltage transformation after rectification End and output end, the input of the voltage regulation unit connect the output end of the reversal unit, the voltage regulation unit it is defeated Go out end connection described from machine controller;
Decoding unit, the communication is decoded as receiving the output voltage after rectifier transformer, and by the output voltage Data, it is described from machine controller according to the communication data output control order received, it includes input and output end, The input of the decoding unit connects the output end of the reversal unit, and the output end connection of the decoding unit is described From machine controller;
Return code unit, for adjusting the curent change on the two lines bus according to the control command, it include first input end, Second input and output end, the first input end connection of described time code unit are described from machine controller, described time code unit Second input connects the output end of the reversal unit, the output head grounding of described time code unit.
7. two line communication circuit as claimed in claim 6, it is characterised in that the reversal unit includes rectifier bridge Heap, the input of the rectifier bridge stack connects the input of the reversal unit, the output end connection of the rectifier bridge stack The output end of the reversal unit.
8. two line communication circuit as claimed in claim 6, it is characterised in that the voltage regulation unit includes voltage-stablizer, described The input of voltage-stablizer connects the input of the voltage regulation unit, the output for going out the end connection voltage regulation unit of the voltage-stablizer End.
9. two line communication circuit as claimed in claim 6, it is characterised in that the decoding unit includes the second electric capacity, the Connect between the base stage of three electric capacity, the 3rd triode and periphery resistance, the input of the decoding unit and the 3rd triode Second electric capacity and a resistance are connected to, the emitter stage of the 3rd triode connects the output end of the voltage regulation unit, institute State and a resistance, the base stage of the 3rd triode are connected between the output end of voltage regulation unit and the base stage of the 3rd triode The 3rd electric capacity is connected between ground, a resistance, the described 3rd 3 are connected between the colelctor electrode and ground of the 3rd triode A resistance is connected between the colelctor electrode of pole pipe and the output end of decoding unit.
10. two line communication circuit as claimed in claim 6, it is characterised in that described time code unit include the 4th triode, 4th diode and periphery resistance, connect between the colelctor electrode of the 4th triode and the first input end of described time code unit A resistance is connect, the base stage of the 4th triode connects the negative electrode of the 4th diode, and the anode of the 4th diode connects Connect to second input for returning code unit after a resistance, an electricity is connected between the base stage and emitter stage of the 4th triode Resistance, the emitter connection output end for returning code unit of the 4th triode.
CN201720058655.3U 2017-01-17 2017-01-17 The host device and two line communication circuit of two line communication circuit Active CN206470639U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720058655.3U CN206470639U (en) 2017-01-17 2017-01-17 The host device and two line communication circuit of two line communication circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720058655.3U CN206470639U (en) 2017-01-17 2017-01-17 The host device and two line communication circuit of two line communication circuit

Publications (1)

Publication Number Publication Date
CN206470639U true CN206470639U (en) 2017-09-05

Family

ID=59705183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720058655.3U Active CN206470639U (en) 2017-01-17 2017-01-17 The host device and two line communication circuit of two line communication circuit

Country Status (1)

Country Link
CN (1) CN206470639U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106647919A (en) * 2017-01-17 2017-05-10 深圳市泛海三江电子股份有限公司 Host device of two-bus communication circuit and two-bus communication circuit
CN108303905A (en) * 2018-03-12 2018-07-20 大山科技有限公司 A kind of home equipment control system and control method
CN110554729A (en) * 2019-10-09 2019-12-10 无锡气动技术研究所有限公司 control circuit and control method for valve island bus single-line data transmission

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106647919A (en) * 2017-01-17 2017-05-10 深圳市泛海三江电子股份有限公司 Host device of two-bus communication circuit and two-bus communication circuit
CN108303905A (en) * 2018-03-12 2018-07-20 大山科技有限公司 A kind of home equipment control system and control method
CN108303905B (en) * 2018-03-12 2023-08-22 大山科技有限公司 Household equipment control system and control method
CN110554729A (en) * 2019-10-09 2019-12-10 无锡气动技术研究所有限公司 control circuit and control method for valve island bus single-line data transmission
CN110554729B (en) * 2019-10-09 2024-04-12 无锡气动技术研究所有限公司 Control circuit and control method for single-wire data transmission of valve island bus

Similar Documents

Publication Publication Date Title
CN106647919B (en) Host device of two-bus communication circuit and two-bus communication circuit
CN205544514U (en) Take DATA TRANSFER FUNCTIONS's integrated charger
CN206470639U (en) The host device and two line communication circuit of two line communication circuit
CN103219770B (en) Mobile terminal with multi-port charging control function
CN109815183A (en) The communicating circuit and signal transmission apparatus of compatible multiple signal source
CN206725629U (en) One kind coordinates bluetooth module movement oscillograph based on smart mobile phone APP
CN105955340A (en) Internet based remote temperature control processor
CN105375761A (en) Fly-back switching power supply and loop control circuit thereof
CN208112273U (en) A kind of detection device and power supply system of coffret
CN104077260A (en) Concentrator M-BUS host communication interface device
CN102428860B (en) Irrigation control system
CN104883034B (en) Drive circuit and Switching Power Supply for switching bridge arm
CN202600704U (en) Standing book inquiry system for equipment in transformer substation
CN206302182U (en) A kind of back-up source controls charge and discharge device using metal-oxide-semiconductor
CN206489559U (en) A kind of USB interface peripheral circuit
CN103872885A (en) Standby power consumption control circuit and method
CN103683968B (en) The power controller of single live wire access
CN203659000U (en) Multi-USB-interface-type compatible interface circuit and intelligent information terminal
CN208806787U (en) A kind of telemetering terminal power supply circuit
CN205142166U (en) Switch delay circuit and bluetooth speaker of bluetooth chip
CN205622540U (en) Modular abrupt wave generator
CN203674990U (en) Power controller with single live wire for access
CN204882841U (en) Power automatic testing control circuit
CN204331581U (en) A kind of for the deck of card system and the connecting circuit of computing machine
CN204029149U (en) Based on the Infrared remote controller of smart machine

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant