CN104834625A - Single-wire communication device between two devices and bidirectional communication control method thereof - Google Patents

Single-wire communication device between two devices and bidirectional communication control method thereof Download PDF

Info

Publication number
CN104834625A
CN104834625A CN201510282759.8A CN201510282759A CN104834625A CN 104834625 A CN104834625 A CN 104834625A CN 201510282759 A CN201510282759 A CN 201510282759A CN 104834625 A CN104834625 A CN 104834625A
Authority
CN
China
Prior art keywords
data
equipment
connection
link
module
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.)
Granted
Application number
CN201510282759.8A
Other languages
Chinese (zh)
Other versions
CN104834625B (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.)
Vatti Co Ltd
Original Assignee
Vatti Co 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 Vatti Co Ltd filed Critical Vatti Co Ltd
Priority to CN201510282759.8A priority Critical patent/CN104834625B/en
Publication of CN104834625A publication Critical patent/CN104834625A/en
Application granted granted Critical
Publication of CN104834625B publication Critical patent/CN104834625B/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/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

Abstract

The invention discloses a single-wire communication device between two devices and a bidirectional communication control method thereof, wherein the communication device comprises 2 sending/receiving modules and 1 communication wire connected between the two sending/receiving modules, each sending/receiving module comprises a data sending connecting end used for being connected with a data sending end of an external device, a data receiving connecting end used for being connected with a data receiving end of the external device and a grounding connecting end used for being connected with a grounding end of the external device, a forward diode module is connected between the data sending connecting end and the communication wire, a resistance current-limiting module is connected between the data receiving connecting end and the communication wire, and a pull-down resistance module and a capacitance filtering module are respectively connected between the communication wire and the grounding connecting end. The present case simple structure easily realizes, saves the wire rod, and communication control is convenient moreover.

Description

Single-wire communication device and both-way communication control method thereof between a kind of two equipment
[technical field]
The present invention relates to single-wire communication device and both-way communication control method thereof between a kind of two equipment.
[background technology]
At present, the communication modes between electronic circuit is mainly divided into parallel communication and serial communication: the advantage of parallel communication is that communications protocol is simple, and shortcoming is that signal wire is more; The advantage of serial communication is that signal wire is less, easily realizes long-distance transmissions, and shortcoming is that communications protocol is complicated, and namely interface circuit is complicated.
General low and middle-end electronic product, such as, signal between main frame with liquid crystal driving module is connected, single-chip microcomputer and light-emitting element array, communication between charactron, these communication interfaces generally only carry out one-way data transfer, and to data rate also less demanding Microsecond grade even Millisecond, but all need communication interface simple as much as possible, be easy to realize, and because LCD MODULE, charactron is generally arranged on electronic product, on the panel of instrument and equipment, and there is a segment distance between main frame, so be not suitable for using parallel communication, this just needs a kind of agreement simple, easy realization, the serial communication interface that Seize ACK message line is less.
Conventional universal serial bus has I2C, USB etc., serial line interface has SPI, RS232 etc., wherein I2C, the communications protocol more complicated of USB and RS232, realize cost slightly high, be not suitable for general low and middle-end electronic product, the communications protocol of SPI is not very complicated, but need 3 to 4 signal wires, in addition, also have the 3 line serial line interfaces that a kind of industry is conventional, there is position datawire, bit clock line, frame completes line/frame loaded line, bit data output line is also wanted for transmitted in both directions, its protocol comparison is simple, but it is the same with SPI, because signal wire is more, the advantage of serial communication can not be brought into play completely.
Therefore, be necessary to solve as above problem.
[summary of the invention]
Instant invention overcomes the deficiency of above-mentioned technology, provide single-wire communication device and both-way communication control method thereof between a kind of two equipment, its structure is simple and easy to realize, and saves wire rod, and Communication Control is convenient.
For achieving the above object, present invention employs following technical proposal:
Single-wire communication device between a kind of two equipment, include 2 transmission/reception module 10 and be connected to 1 connection 20 between two transmission/reception module 10, the data that each transmission/reception module 10 includes for being connected with external device data transmitting terminal send link 11, for the data receiver link 12 be connected with external device data receiving end, and the grounding connection end 13 for being connected with external unit earth terminal, described data send between link 11 and described connection 20 and are connected with forward diode module 14, resistance current limliting module 15 is connected with between described data receiver link 12 and described connection 20, the pull down resistor module 16 be connected between described connection 20 and described grounding connection end 13 and capacitor filtering module 17.
Single-wire communication device between a kind of two equipment as above, described forward diode module 14 includes forward serial or parallel connection several forward diode between described data transmission link 11 and described connection 20.
Single-wire communication device between a kind of two equipment as above, described resistance current limliting module 15 comprises serial or parallel connection several resistance between described data receiver link 12 and described connection 20.
Single-wire communication device between a kind of two equipment as above, described pull down resistor module 16 includes serial or parallel connection several resistance between described connection 20 and described grounding connection end 13.
Single-wire communication device between a kind of two equipment as above, described capacitor filtering module 17 includes serial or parallel connection several electric capacity between described connection 20 and described grounding connection end 13.
The both-way communication control method of single-wire communication device between two equipment described above, includes following steps:
Opportunity awaiting control for linear step, connected data are sent link 11 and are set to low level by certain equipment, and detect level conditions on described connection 20 in real time by connected data receiver link 12;
Data send rate-determining steps, when certain equipment needs to send data, first detect the level conditions of described connection 20 in time T by connected data receiver link 12, when high level having been detected in time T, this equipment enters data receiver rate-determining steps, and when high level not detected in time T, this equipment sends link 11 by described data and send low and high level data on described connection 20, data are sent, and certain equipment reenters Opportunity awaiting control for linear step;
Data receiver rate-determining steps, when certain equipment is detected on connection 20 described in certain moment with low and high level data by described data receiver link 12, if this equipment judges self not in transmission data, the then low and high level data that receive from described data receiver link 12 of this device storage, and when this equipment does not detect low and high level data in time T, this equipment reenters Opportunity awaiting control for linear step, if this equipment judges that self sends data, then enter preset priority rate-determining steps;
Preset priority rate-determining steps, certain equipment judges self preset priority level height, if preset priority level is high, then this equipment continues through described data transmission link 11 and send low and high level data on described connection 20, if preset priority level is low, then this equipment enters Opportunity awaiting control for linear step.
Compared with prior art, the invention has the beneficial effects as follows:
1, this case single-wire communication apparatus structure is simple and easy to realize, by the two ends of 1 connection, the single-wire communication function that the identical transmission/reception module of structure realizes between two equipment is set, each transmission/reception module comprises data and sends link, data receiver link, and grounding connection end, data send between link and connection and are connected with forward diode module, effectively data can be sent on connection while playing buffer action, resistance current limliting module is connected with between data receiver link and connection, effectively overcurrent protection is carried out to data receiver link, pull down resistor module is connected with between connection and grounding connection end, being convenient to drop-down for connection level making during its idle condition is low level, capacitor filtering module is also connected with between connection and grounding connection end, be convenient to filtering reduction connection disturbs, improve communication quality.
2, this case both-way communication control method comprises Opportunity awaiting control for linear step, data send rate-determining steps, data receiver rate-determining steps and preset priority rate-determining steps, and its control is simple and convenient, and the both-way communication effectively realizing single-wire communication device controls.
[accompanying drawing explanation]
Fig. 1 is circuit diagram of the present invention.
[embodiment]
Feature of the present invention and other correlated characteristic are described in further detail by embodiment below in conjunction with accompanying drawing, so that the understanding of technician of the same trade:
As shown in Figure 1, single-wire communication device between a kind of two equipment, include 2 transmission/reception module 10 and be connected to 1 connection 20 between two transmission/reception module 10, the data that each transmission/reception module 10 includes for being connected with external device data transmitting terminal send link 11, for the data receiver link 12 be connected with external device data receiving end, and the grounding connection end 13 for being connected with external unit earth terminal, described data send between link 11 and described connection 20 and are connected with forward diode module 14, resistance current limliting module 15 is connected with between described data receiver link 12 and described connection 20, the pull down resistor module 16 be connected between described connection 20 and described grounding connection end 13 and capacitor filtering module 17.
Single-wire communication device between a kind of two equipment as above, described forward diode module 14 includes forward serial or parallel connection several forward diode between described data transmission link 11 and described connection 20.
Single-wire communication device between a kind of two equipment as above, described resistance current limliting module 15 comprises serial or parallel connection several resistance between described data receiver link 12 and described connection 20.
Single-wire communication device between a kind of two equipment as above, described pull down resistor module 16 includes serial or parallel connection several resistance between described connection 20 and described grounding connection end 13.
Single-wire communication device between a kind of two equipment as above, described capacitor filtering module 17 includes serial or parallel connection several electric capacity between described connection 20 and described grounding connection end 13.
As mentioned above, the both-way communication control method of single-wire communication device between above-mentioned two equipment is also protected in this case, and it includes following steps:
Opportunity awaiting control for linear step, connected data are sent link 11 and are set to low level by certain equipment, and detect level conditions on described connection 20 in real time by connected data receiver link 12;
Data send rate-determining steps, when certain equipment needs to send data, first detect the level conditions of described connection 20 in time T by connected data receiver link 12, when high level having been detected in time T, this equipment enters data receiver rate-determining steps, and when high level not detected in time T, this equipment sends link 11 by described data and send low and high level data on described connection 20, data are sent, and certain equipment reenters Opportunity awaiting control for linear step;
Data receiver rate-determining steps, when certain equipment is detected on connection 20 described in certain moment with low and high level data by described data receiver link 12, if this equipment judges self not in transmission data, the then low and high level data that receive from described data receiver link 12 of this device storage, and when this equipment does not detect low and high level data in time T, this equipment reenters Opportunity awaiting control for linear step, if this equipment judges that self sends data, then enter preset priority rate-determining steps;
Preset priority rate-determining steps, certain equipment judges self preset priority level height, if preset priority level is high, then this equipment continues through described data transmission link 11 and send low and high level data on described connection 20, if preset priority level is low, then this equipment enters Opportunity awaiting control for linear step.
As mentioned above, this case single-wire communication apparatus structure is simple and easy to realize, by the two ends of 1 connection 20, the single-wire communication function that the identical transmission/reception module of structure 10 realizes between two equipment is set, each transmission/reception module 10 comprises data and sends link 11, data receiver link 12, and grounding connection end 13, data send between link 11 and connection 20 and are connected with forward diode module 14, effectively data can be sent on connection 20 while playing buffer action, resistance current limliting module 15 is connected with between data receiver link 12 and connection 20, effectively overcurrent protection is carried out to data receiver link 12, pull down resistor module 16 is connected with between connection 20 and grounding connection end 13, being convenient to drop-down for connection 20 level making during its idle condition is low level, capacitor filtering module 17 is also connected with between connection 20 and grounding connection end 13, be convenient to filtering and reduce interference on connection 20, improve communication quality.All technical schemes identical or close with this case structure all should be shown for falling in the protection domain of this case.

Claims (6)

1. single-wire communication device between an equipment, it is characterized in that 1 connection (20) including 2 transmission/reception module (10) and be connected between two transmission/reception module (10), each transmission/reception module (10) data included for being connected with external device data transmitting terminal send link (11), for the data receiver link (12) be connected with external device data receiving end, and the grounding connection end (13) for being connected with external unit earth terminal, described data send between link (11) and described connection (20) and are connected with forward diode module (14), resistance current limliting module (15) is connected with between described data receiver link (12) and described connection (20), the pull down resistor module (16) be connected between described connection (20) and described grounding connection end (13) and capacitor filtering module (17).
2. single-wire communication device between a kind of two equipment according to claim 1, is characterized in that described forward diode module (14) includes forward serial or parallel connection several forward diode between described data transmission link (11) and described connection (20).
3. single-wire communication device between a kind of two equipment according to claim 1, is characterized in that described resistance current limliting module (15) comprises serial or parallel connection several resistance between described data receiver link (12) and described connection (20).
4. single-wire communication device between a kind of two equipment according to claim 1, is characterized in that described pull down resistor module (16) includes serial or parallel connection several resistance between described connection (20) and described grounding connection end (13).
5. single-wire communication device between a kind of two equipment according to claim 1, is characterized in that described capacitor filtering module (17) includes serial or parallel connection several electric capacity between described connection (20) and described grounding connection end (13).
6. adopt a both-way communication control method for single-wire communication device between two equipment described in claim 1-5 any one, it is characterized in that including following steps:
Opportunity awaiting control for linear step, connected data are sent link (11) and are set to low level by certain equipment, and detect the upper level conditions of described connection (20) in real time by connected data receiver link (12);
Data send rate-determining steps, when certain equipment needs to send data, first detect described connection (20) level conditions in time T by connected data receiver link (12), when high level having been detected in time T, this equipment enters data receiver rate-determining steps, when high level not detected in time T, this equipment sends link (11) by described data and sends low and high level data to described connection (20) is upper, data are sent, and certain equipment reenters Opportunity awaiting control for linear step;
Data receiver rate-determining steps, when by described data receiver link (12), certain equipment detects that connection (20) described in certain moment is upper with low and high level data, if this equipment judges self not in transmission data, the then low and high level data that receive from described data receiver link (12) of this device storage, and when this equipment does not detect low and high level data in time T, this equipment reenters Opportunity awaiting control for linear step, if this equipment judges that self sends data, then enter preset priority rate-determining steps;
Preset priority rate-determining steps, certain equipment judges self preset priority level height, if preset priority level is high, then this equipment continues through described data and sends link (11) to described connection (20) upper transmission low and high level data, if preset priority level is low, then this equipment enters Opportunity awaiting control for linear step.
CN201510282759.8A 2015-05-28 2015-05-28 Single-wire communication device between two devices and bidirectional communication control method thereof Active CN104834625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510282759.8A CN104834625B (en) 2015-05-28 2015-05-28 Single-wire communication device between two devices and bidirectional communication control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510282759.8A CN104834625B (en) 2015-05-28 2015-05-28 Single-wire communication device between two devices and bidirectional communication control method thereof

Publications (2)

Publication Number Publication Date
CN104834625A true CN104834625A (en) 2015-08-12
CN104834625B CN104834625B (en) 2018-01-05

Family

ID=53812526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510282759.8A Active CN104834625B (en) 2015-05-28 2015-05-28 Single-wire communication device between two devices and bidirectional communication control method thereof

Country Status (1)

Country Link
CN (1) CN104834625B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227691A (en) * 2016-08-09 2016-12-14 苏交科集团股份有限公司 A kind of based on the reciprocity bi-directional single-wire serial communication protocol between MCU
CN106385304A (en) * 2016-08-31 2017-02-08 华为技术有限公司 Data transmission method, device and system
CN106528484A (en) * 2016-10-28 2017-03-22 中国科学院上海微系统与信息技术研究所 Serial communication method
CN110176945A (en) * 2019-05-15 2019-08-27 金华市西祠安防科技有限公司 A kind of novel single-wire communication system mode
CN112003775A (en) * 2020-07-27 2020-11-27 苏州浪潮智能科技有限公司 Single-level single-wire full-duplex bus communication method and system
CN113747627A (en) * 2021-11-08 2021-12-03 深圳合芯谷微电子有限公司 Method and system for rapid communication of series LED lamp beads

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050258865A1 (en) * 2004-05-04 2005-11-24 International Business Machines Corporation System, method and program product for extending range of a bidirectional data communication bus
CN101179398A (en) * 2007-09-28 2008-05-14 深圳市和而泰电子科技有限公司 Mongline two-way communication circuit
US20090121825A1 (en) * 2004-11-10 2009-05-14 Koninklijke Philips Electronics N.V. Method Of An Device For Performing Bi-Directional Transmission Using A Single-Wire
CN102468901A (en) * 2010-11-02 2012-05-23 凹凸电子(武汉)有限公司 Method for transmitting data
CN204695308U (en) * 2015-05-28 2015-10-07 华帝股份有限公司 Single-wire communication device between two devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050258865A1 (en) * 2004-05-04 2005-11-24 International Business Machines Corporation System, method and program product for extending range of a bidirectional data communication bus
US20090121825A1 (en) * 2004-11-10 2009-05-14 Koninklijke Philips Electronics N.V. Method Of An Device For Performing Bi-Directional Transmission Using A Single-Wire
CN101179398A (en) * 2007-09-28 2008-05-14 深圳市和而泰电子科技有限公司 Mongline two-way communication circuit
CN102468901A (en) * 2010-11-02 2012-05-23 凹凸电子(武汉)有限公司 Method for transmitting data
CN204695308U (en) * 2015-05-28 2015-10-07 华帝股份有限公司 Single-wire communication device between two devices

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227691A (en) * 2016-08-09 2016-12-14 苏交科集团股份有限公司 A kind of based on the reciprocity bi-directional single-wire serial communication protocol between MCU
CN106227691B (en) * 2016-08-09 2019-03-15 苏交科集团股份有限公司 A kind of reciprocity bi-directional single-wire serial communication method based between MCU
CN106385304A (en) * 2016-08-31 2017-02-08 华为技术有限公司 Data transmission method, device and system
CN106385304B (en) * 2016-08-31 2019-10-25 华为技术有限公司 Data transmission method, equipment and system
CN106528484A (en) * 2016-10-28 2017-03-22 中国科学院上海微系统与信息技术研究所 Serial communication method
CN110176945A (en) * 2019-05-15 2019-08-27 金华市西祠安防科技有限公司 A kind of novel single-wire communication system mode
CN112003775A (en) * 2020-07-27 2020-11-27 苏州浪潮智能科技有限公司 Single-level single-wire full-duplex bus communication method and system
CN112003775B (en) * 2020-07-27 2022-02-18 苏州浪潮智能科技有限公司 Single-level single-wire full-duplex bus communication method and system
US11741037B2 (en) 2020-07-27 2023-08-29 Inspur Suzhou Intelligent Technology Co., Ltd. Single-level single-line full-duplex bus communication method and system
CN113747627A (en) * 2021-11-08 2021-12-03 深圳合芯谷微电子有限公司 Method and system for rapid communication of series LED lamp beads

Also Published As

Publication number Publication date
CN104834625B (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN104834625A (en) Single-wire communication device between two devices and bidirectional communication control method thereof
CN204695308U (en) Single-wire communication device between two devices
US20110038286A1 (en) Using frequency divisional multiplexing for a high speed serializer/deserializer with back channel communication
ES2514320T3 (en) Active bus communication power sensor for a differential signal communication system
CN112003775B (en) Single-level single-wire full-duplex bus communication method and system
CN110489283A (en) The test device and method of USB interface
CN205142203U (en) Automatic transceiver circuits of RS485
CN101887151A (en) Optical transceiver module and system and optical transceiving method
CN101882956A (en) Data transmitting system and method
CN105305536A (en) Cell management system single-wire communication method and device
JP3201666B2 (en) Interface conversion circuit for half-duplex serial transmission
CN210466075U (en) Information acquisition and control device for clothes hanger hanging system
CN202904869U (en) RS485 bus interface with relay function
CN204046613U (en) Special photoelectric conversion communication apparatus is surely controlled in region
CN205983824U (en) 485 change infrared circuit
CN206099975U (en) Radio signal relay transmission system of formula of handing in hand
CN211015488U (en) Bus communication system
CN216959896U (en) Big data bus transmission device of track traffic roadbed thing networking
CN210693978U (en) CAN bus gateway with optical fiber interface
CN217824967U (en) Communication circuit, communication device and RS485 communication system
CN212381218U (en) Half-duplex data transmission circuit and electronic device
CN212391603U (en) Device for data transmission and magnetic resonance tomography apparatus
CN213461768U (en) Anti-interference system between equipment
CN201859326U (en) Communication equipment as well as LED (Liquid Crystal Display) controller and data control circuit thereof
CN210780766U (en) RS485 full-duplex communication circuit with reset function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant