CN106326174B - A kind of two line telecommunication circuits - Google Patents

A kind of two line telecommunication circuits Download PDF

Info

Publication number
CN106326174B
CN106326174B CN201610776674.XA CN201610776674A CN106326174B CN 106326174 B CN106326174 B CN 106326174B CN 201610776674 A CN201610776674 A CN 201610776674A CN 106326174 B CN106326174 B CN 106326174B
Authority
CN
China
Prior art keywords
generator terminal
voltage
host side
main
comparator
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
CN201610776674.XA
Other languages
Chinese (zh)
Other versions
CN106326174A (en
Inventor
宋红波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610776674.XA priority Critical patent/CN106326174B/en
Publication of CN106326174A publication Critical patent/CN106326174A/en
Application granted granted Critical
Publication of CN106326174B publication Critical patent/CN106326174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Control Of Eletrric Generators (AREA)

Abstract

The present invention relates to a kind of electrical communication equipment circuit, in particular to a kind of data transmission circuits of communication equipment.A kind of two line telecommunication circuits, circuit of the present invention, including power end and it is exchanged with each other the host side of data and from generator terminal, power supply is respectively host side and powers from generator terminal, main controller MCU1 is equipped in host side, when host side is with data exchange is carried out from generator terminal, main control module constantly changes output voltage, it is exported after handling from generator terminal host side output voltage signal analysis, to be respectively at electriferous state while guaranteeing host side and carry out data exchange simultaneously from generator terminal, main controller MCU1 output voltage VCC ' is less than power end input voltage VCC and is greater than greater than from generator terminal input voltage VCC2 or slave controller MCU2 output voltage VCC " less than power end input voltage VCC from generator terminal input voltage VCC2.The present invention can meet high electricity power supply on the basis of existing two line and can realize the transfer function of information.

Description

A kind of two line telecommunication circuits
Technical field
The present invention relates to a kind of electrical communication equipment circuit, in particular to a kind of data transmission circuits of communication equipment.
Background technique
The present invention relates to the communication before host and peripheral hardware, specifically a kind of two wires communication modes are widely portable to object Networking arenas.
Main (power supply line, two in a manner of four lines carried out data transmission between currently used host and peripheral hardware Data line and a ground wire) or three line modes (power supply line, a data line and a ground wire) communicated, the present invention is Communicated that (ground wire and a data line, data line for slave provide power supply, host simultaneously by the way of through two wires Half-duplex operation can be carried out with slave), and data transmission is two-way, thus this two wires communication modes have route letter The advantages that single, hardware spending is few, low in cost, convenient for extension and safeguards.
With the development of electronic technology, electronic technology has been largely used to various industries, but almost all of production on the market Product be all it is active, i.e., product have power supply.Just because of power supply must be connected, electronic technology product is greatly limited Application places.Also a small amount of electronic product starts using passive design, but interface core wire is more, structure and manufacturing process are complicated, Homogeneous e product compares technology with traditional product and manufacturing process is complicated, and manufacturing cost is high, is of limited application.
Summary of the invention
The present invention proposes that one kind can not only be able to satisfy power supply on the basis of two lines, but also is able to satisfy two lines of information transmission Telecommunication circuit.
A kind of two lines telecommunication circuit of the present invention including power end and is exchanged with each other the host side of data and from generator terminal, Power supply is respectively host side and powers from generator terminal, and main controller MCU1 is equipped in host side, and host side carries out data friendship with from generator terminal When changing, main control module constantly changes output voltage, from generator terminal to exporting after host side output voltage signal analysis processing, to protect It demonstrate,proves host side and is respectively at electriferous state, main controller MCU1 output voltage while carrying out data exchange simultaneously from generator terminal VCC ' is greater than less than power end input voltage VCC and is less than from generator terminal input voltage VCC2 or slave controller MCU2 output voltage VCC " Power end input voltage VCC is greater than from generator terminal input voltage VCC2.
Preferably, the power end is directly powered all the way for host side, and another way is to supply from generator terminal by second resistance R2 Electricity.
Preferably, the host side further includes the main universal serial bus transmit circuit Tx being connected respectively with main controller output end Rx circuit is received with main universal serial bus;The main universal serial bus transmit circuit Tx includes the first high speed electronic switch Q1 and goes here and there therewith The first resistor R1 of connection;It includes main comparator that the main universal serial bus, which receives circuit Rx, the main comparator output end and master control Machine MCU1 is connected, and wherein two input terminal of main comparator is separately connected reference voltage and first resistor module M1;
It is described from generator terminal include the slave controller MCU2 being connected respectively with slave controller output end, from universal serial bus transmit circuit Tx Rx circuit is received with from universal serial bus;It is described from universal serial bus transmit circuit Tx include the second high speed electronic switch Q2 and therewith Concatenated 3rd resistor R3;It is described from universal serial bus receive circuit Rx include from comparator, it is described from comparator output terminal with from Control machine MCU2 is connected, wherein being separately connected reference voltage and 3rd resistor module M3 from two input terminal of comparator;
Main controller MCU1 control the first high speed electronic switch Q1 be constantly opened and closed, change second resistance R2 and first resistor R1 it Between voltage, the voltage signal entered from comparator by 3rd resistor module M3, believed from comparator by the voltage received Number result is exported to slave controller MCU2 afterwards compared with reference voltage;First resistor R1 output voltage VCC ' is less than power end simultaneously Input voltage VCC is greater than from generator terminal input voltage VCC2;
Or slave controller MCU2 controls the second high speed electronic switch Q2 and is constantly opened and closed, and changes second resistance R2 and 3rd resistor Voltage between R3, the voltage signal enter the electricity that will be received from comparator from comparator by first resistor module M1 Pressure signal afterwards exports result to main controller MCU1 compared with reference voltage;3rd resistor R3 output voltage VCC " is less than electricity simultaneously Source input voltage VCC is greater than from generator terminal input voltage VCC2.
Further, the first high speed electronic switch Q1 is triode or metal-oxide-semiconductor.
Further, the first high speed electronic switch Q1 is one or more groups of, first high speed electronic switch of multiple groups Q1 is serially connected.
Further, the power end passes through main voltage-stablizer LDO1 all the way as main controller MCU1 power supply, and another way passes through Second resistance R2 and from voltage-stablizer LDO2 be slave controller MCU2 power supply.
A kind of telecommunication circuit, the host side be one, from generator terminal be several, it is described several between generator terminal mutually It is connected after parallel connection with the output of host side.
Original four line, three line communication modes are changed into two line communication patterns, adopted by two lines telecommunication circuit of the present invention It is modulated with partial pressure mode, the design of high electricity power supply and information transfer function interface can be met on the basis of existing two line, Manufacture craft is simple, while reducing costs low, high reliablity, while also supporting high-power power supply, and communication speed is high, the present invention Circuit connection structure is simple, it is practical can industrialized production.
Detailed description of the invention
Fig. 1 is circuit diagram of the invention.
Fig. 2 is principle of the invention timing diagram.
Specific embodiment
Embodiment 1.
A kind of two lines telecommunication circuit of the present invention including power end and is exchanged with each other the host side of data and from generator terminal, Power end passes through main voltage-stablizer LDO1 all the way as main controller MCU1 power supply, and another way is by second resistance R2 and from voltage-stablizer LDO2 For slave controller MCU2 power supply.Power end output voltage VCC exports stable DC source VCC1 to master by main voltage-stablizer LDO1 Control machine MCU1 provides stable rated operational voltage for slave controller MCU2 from voltage-stablizer LDO2, for guarantee host side with from generator terminal It carries out being respectively at electriferous state while data exchange simultaneously, main controller MCU1 output voltage VCC ' is inputted less than power end Voltage VCC is greater than from generator terminal input voltage VCC2 or slave controller MCU2 output voltage VCC " and is less than power end input voltage VCC Greater than from generator terminal input voltage VCC2.The host side further includes the main universal serial bus transmitting being connected respectively with main controller output end Circuit Tx and main universal serial bus receive circuit Rx;The main universal serial bus transmit circuit Tx include the first high speed electronic switch Q1 and First resistor R1 connected in series;It includes main comparator that the main universal serial bus, which receives circuit Rx, the main comparator output end It is connected with main controller MCU1, wherein two input terminal of main comparator is separately connected reference voltage and first resistor module M1;
It is described from generator terminal include the slave controller MCU2 being connected respectively with slave controller output end, from universal serial bus transmit circuit Tx Circuit Rx is received with from universal serial bus;It is described to include the second high speed electronic switch Q2 from universal serial bus transmit circuit Tx and go here and there therewith The 3rd resistor R3 of connection;It is described from universal serial bus receive circuit Rx include from comparator, it is described from comparator output terminal with from control Machine MCU2 is connected, wherein being separately connected reference voltage and 3rd resistor module M3 from two input terminal of comparator;
Main controller MCU1 control the first high speed electronic switch Q1 be constantly opened and closed, change second resistance R2 and first resistor R1 it Between voltage, the voltage signal entered from comparator by 3rd resistor module M3, believed from comparator by the voltage received Number result is exported to slave controller MCU2 afterwards compared with reference voltage;First resistor R1 output voltage VCC ' is less than power end simultaneously Input voltage VCC is greater than from generator terminal input voltage VCC2;
Or slave controller MCU2 controls the second high speed electronic switch Q2 and is constantly opened and closed, and changes second resistance R2 and 3rd resistor Voltage between R3, the voltage signal enter the electricity that will be received from comparator from comparator by first resistor module M1 Pressure signal afterwards exports result to main controller MCU1 compared with reference voltage;3rd resistor R3 output voltage VCC " is less than electricity simultaneously Source input voltage VCC is greater than from generator terminal input voltage VCC2.
First high speed electronic switch Q1 of the present invention is triode or metal-oxide-semiconductor, and the present embodiment is metal-oxide-semiconductor.In order to make Voltage between two resistance R2 and 3rd resistor R3 or second resistance R2 and first resistor R1 reaches biggish variation, reaches minimum Signal receiving error, the first high speed electronic switch Q1 of the present invention is at least one set of or multiple groups, if multiple groups the first high speed electricity Sub switch Q1 is then serially connected between them.
When main controller MCU1 carries out information transmission to slave controller MCU2, main controller MCU1 is according to controlling the first high-velocity electrons Switch Q1 constantly fast conducting or cut-off, makes the voltage high between first resistor R1 and second resistance R2 or drags down, and produces Raw voltage fluctuation VCC ' is also variation by the output voltage of 3rd resistor module M3 since VCC ' is continually changing , therefore be exactly the output voltage VCC " of 3rd resistor M3 from the voltage on comparator U2 pin 3, the output voltage VCC " with from Reference voltage in comparator U2 is compared, and voltage signal comparison result is exported by comparator U2 pin 1, due to The voltage is less than power end input voltage VCC and is greater than slave controller MCU2 input voltage VCC2, therefore slave controller MCU2 is according to this Voltage signal assert that the output voltage signal is the data information that main controller MCU1 is issued.
When slave controller MCU2 carries out information transmission to main controller MCU1: slave controller MCU1 is according to controlling the second high-velocity electrons Switch Q2 constantly fast conducting or cut-off, makes 3rd resistor R3
Voltage high between second resistance R2 drags down, and voltage fluctuation VCC ' is generated, since VCC ' is constantly to become Change, therefore is also variation by the output voltage of first resistor module M1, therefore the voltage on main comparator U1 pin 3 is just It is that the output voltage VCC ", output voltage VCC " of first resistor module M1 is compared with from the reference voltage in comparator U1 Compared with voltage signal comparison result is exported by comparator U1 pin 1, since the voltage is big less than power end input voltage VCC In slave controller MCU2 input voltage VCC2, therefore main controller MCU2 assert based on the output voltage signal according to this voltage signal The data information that control machine MCU2 is issued.
Embodiment 2.
The present embodiment is substantially the same manner as Example 1, the difference is that multi-thread communication line described in the present embodiment, including one From generator terminal, described several are connected after parallel with one another between generator terminal with the output of host side by platform host side and several.It utilizes The mode may be implemented all the way to transmit the information of multichannel.Manufacture craft of the present invention is simple, at the same reduce costs it is low, reliably Property it is high, while also supporting high-power power supply, communication speed is high.

Claims (7)

1. a kind of two line telecommunication circuits, including power end and be exchanged with each other the host side of data and from generator terminal, power supply respectively based on It generator terminal and powers from generator terminal, is equipped with main controller (MCU1) in host side, it is characterised in that: host side carries out data friendship with from generator terminal When changing, main control module constantly changes output voltage, from generator terminal to exporting after host side output voltage signal analysis processing, to protect It demonstrate,proves host side and is respectively at electriferous state, main controller (MCU1) output voltage while carrying out data exchange simultaneously from generator terminal (VCC ') is less than power end input voltage (VCC) and is greater than from generator terminal input voltage (VCC2) or slave controller (MCU2) output electricity It presses (VCC ") to be less than power end input voltage (VCC) to be greater than from generator terminal input voltage (VCC2).
2. two line telecommunication circuits of one kind as described in claim 1, it is characterised in that: the power end directly supplies all the way for host side Electricity, another way are to power from generator terminal by second resistance (R2).
3. two line telecommunication circuits of one kind as claimed in claim 2, it is characterised in that:
The host side further includes that the main universal serial bus transmit circuit being connected respectively with main controller output end and main universal serial bus connect Receive circuit;The main universal serial bus transmit circuit includes the first high speed electronic switch (Q1) and first resistor connected in series (R1);It includes main comparator that the main universal serial bus, which receives circuit, and the main comparator output end is connected with main controller (MCU1), Wherein two input terminal of main comparator is separately connected reference voltage and first resistor module (M1);
It is described from generator terminal include the slave controller (MCU2) being connected respectively with slave controller output end, from universal serial bus transmit circuit and from Universal serial bus receives circuit;It is described from universal serial bus transmit circuit include the second high speed electronic switch (Q2) and connected in series the Three resistance (R3);It is described from universal serial bus receive circuit include from comparator, it is described from comparator output terminal and slave controller (MCU2) it is connected, wherein being separately connected reference voltage and 3rd resistor module (M3) from two input terminal of comparator;
Main controller (MCU1) controls the first high speed electronic switch (Q1) and is constantly opened and closed, and changes second resistance (R2) and first resistor (R1) voltage between, the voltage signal are entered from comparator by 3rd resistor module (M3), will be received from comparator Voltage signal result is exported to slave controller (MCU2) afterwards compared with reference voltage;First resistor (R1) output voltage simultaneously (VCC ') is less than power end input voltage (VCC) and is greater than from generator terminal input voltage (VCC2);
Or slave controller (MCU2) control the second high speed electronic switch (Q2) is constantly opened and closed, and changes second resistance (R2) and third electricity The voltage between (R3) is hindered, the voltage signal is entered from comparator by first resistor module (M1), will be received from comparator To voltage signal result is exported to main controller (MCU1) afterwards compared with reference voltage;3rd resistor (R3) output voltage simultaneously (VCC ") is less than power end input voltage (VCC) and is greater than from generator terminal input voltage (VCC2).
4. two line telecommunication circuits of one kind as claimed in claim 3, it is characterised in that: the first high speed electronic switch (Q1) is triode Or metal-oxide-semiconductor.
5. a kind of two line telecommunication circuits as described in claim 3 or 4, it is characterised in that: the first high speed electronic switch (Q1) is one Group or multiple groups, the first high speed electronic switch of multiple groups (Q1) are serially connected.
6. two line telecommunication circuits of one kind as claimed in claim 5, it is characterised in that: the power end passes through main voltage-stablizer all the way (LDO1P1) it powers for main controller (MCU1), another way is slave controller by second resistance (R2) and from voltage-stablizer (LDO2P2) (MCU2) it powers.
7. including a kind of telecommunication circuit of two lines telecommunication circuit as described in claim 1, it is characterised in that the host side is one It is a, it is several from generator terminal, described several are connected with the output of host side afterwards from parallel with one another between generator terminal.
CN201610776674.XA 2016-08-31 2016-08-31 A kind of two line telecommunication circuits Active CN106326174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610776674.XA CN106326174B (en) 2016-08-31 2016-08-31 A kind of two line telecommunication circuits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610776674.XA CN106326174B (en) 2016-08-31 2016-08-31 A kind of two line telecommunication circuits

Publications (2)

Publication Number Publication Date
CN106326174A CN106326174A (en) 2017-01-11
CN106326174B true CN106326174B (en) 2019-01-29

Family

ID=57788557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610776674.XA Active CN106326174B (en) 2016-08-31 2016-08-31 A kind of two line telecommunication circuits

Country Status (1)

Country Link
CN (1) CN106326174B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857010B (en) * 2018-12-24 2022-03-18 惠州市蓝微电子有限公司 Control method for realizing real-time power supply and bidirectional communication by double lines
CN110456664B (en) * 2019-06-27 2022-04-05 九阳股份有限公司 Food processing machine
CN110456849A (en) * 2019-06-27 2019-11-15 九阳股份有限公司 A kind of food processor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2746995B1 (en) * 1996-03-28 1998-05-15 Sgs Thomson Microelectronics TRANSMISSION ENCODING METHOD AND DEVICE AND USE OF THE METHOD
DE102008062865B4 (en) * 2008-05-30 2016-09-22 Continental Teves Ag & Co. Ohg Serial peripheral interface interface with reduced number of connection lines
FR2934390B1 (en) * 2008-07-22 2010-08-13 St Microelectronics Rousset MULTICANAL TRANSMISSION ON A UNIFIL BUS
FR2967510B1 (en) * 2010-11-15 2012-12-28 St Microelectronics Rousset CONVERSION OF COMMUNICATION PROTOCOL ON A UNIFIL BUS
US8934528B2 (en) * 2011-03-30 2015-01-13 Silicon Laboratories Inc. Transition interval coding for serial communication
CN102693205B (en) * 2012-05-11 2015-03-18 杭州硅星科技有限公司 Data transmission, power supply device, data transmission and power supply method thereof
CN105808487B (en) * 2014-12-30 2018-12-11 杭州硅星科技有限公司 A kind of power supply unit and its control method

Also Published As

Publication number Publication date
CN106326174A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN101464724B (en) Multi-channel master-salve equipment communication circuit
CN208046629U (en) The network equipment being electrically isolated with multistage
CN106326174B (en) A kind of two line telecommunication circuits
CN107580701A (en) Apparatus and method for providing reconfigurable two-way front end interface
CN105549712B (en) A kind of method of supplying power to, power supply mould group and electronic equipment
CN103064475B (en) A kind of service equipment
CN103034826A (en) Controllable extensible compact type antenna polling device
CN106330468A (en) Ethernet power supply device and Ethernet power supply method
CN101594171A (en) A kind of power cord chopper communication transceiving circuit
CN204155267U (en) A kind of OTG usb circuit
CN204166372U (en) A kind of intelligent home control system
CN204145280U (en) The multiple stage synchronous circuit of switching regulator power of alterating and direct current supply
CN102820802B (en) Inverter system and signal transfer method thereof
CN208477322U (en) POE network interface expanded circuit, repeater and network monitoring system
CN109891703A (en) System and method for power supply control
CN103546114A (en) Circuit and method for adjusting pull-up voltage of bus according to pull-up voltage of slave unit
CN112313855B (en) System for transmitting energy and exchanging data between electronic devices
CN103559159A (en) Information processing method and electronic device
CN107517053A (en) A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly
CN106708772A (en) Intelligent USB concentrator
CN208092485U (en) A kind of multiple-axis servo driver with Industrial Ethernet communication
CN209218080U (en) The circuit device and photovoltaic system of circuit module, multimode with communication function
CN103236915B (en) Synchronous ethernet electricity mouth module
CN203368438U (en) Level conversion device for bidirectional communication and intelligent TV set
CN207720118U (en) Data transmission circuit and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant