CN104834625B - 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 PDFInfo
- Publication number
- CN104834625B CN104834625B CN201510282759.8A CN201510282759A CN104834625B CN 104834625 B CN104834625 B CN 104834625B CN 201510282759 A CN201510282759 A CN 201510282759A CN 104834625 B CN104834625 B CN 104834625B
- Authority
- CN
- China
- Prior art keywords
- data
- connection
- equipment
- connection end
- 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.)
- Active
Links
- 230000006854 communication Effects 0.000 title claims abstract description 65
- 238000004891 communication Methods 0.000 title claims abstract description 65
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000007175 bidirectional communication Effects 0.000 title abstract 2
- 238000001914 filtration Methods 0.000 claims abstract description 10
- 230000005540 biological transmission Effects 0.000 claims description 19
- 238000009790 rate-determining step (RDS) Methods 0.000 claims description 14
- 239000003990 capacitor Substances 0.000 claims description 8
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus 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)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bidirectional Digital Transmission (AREA)
- Communication Control (AREA)
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
[technical field]
The present invention relates to single-wire communication device and its both-way communication control method between a kind of two equipment.
[background technology]
At present, the communication modes between electronic circuit are broadly divided into parallel communication and serial communication:The advantages of parallel communication
It is that communications protocol is simple, shortcoming is that signal wire is more;The advantages of serial communication is that signal wire is less, easily realizes remote pass
Defeated, shortcoming is that communications protocol is complicated, that is, interface circuit is complicated.
In general low and middle-end electronic product, for example, the signal connection between main frame and liquid crystal driving module, single-chip microcomputer
Communication between light-emitting element array, charactron, these communication interfaces typically only carry out one-way data transfer, and to data
Transmission speed also less demanding Microsecond grade or even Millisecond, but be required for communication interface simple as much as possible, it is easy to accomplish, and
Because LCD MODULE, charactron are typically mounted on the panel of electronic product, instrument and equipment, have between main frame one section away from
From so be not suitable for using parallel communication, this just needs, and a kind of agreement is simple, easily realize, that Seize ACK message line is less is serial
Communication interface.
Conventional universal serial bus has I2C, USB etc., and serial line interface has SPI, RS232 etc., wherein I2C, USB and RS232
Communications protocol it is more complicated, cost of implementation is slightly higher, is not suitable in general low and middle-end electronic product, SPI communications protocol is not
It is very complicated, but needs 3 to 4 signal wires, in addition, the 3 line serial line interfaces that also a kind of industry is conventional, there is position datawire, position
Clock line, frame complete line/frame loaded line, position DOL Data Output Line are also wanted for transmitted in both directions, its protocol comparison is simple, but and SPI
Equally, because signal wire is more so that the advantage of serial communication can not be brought into play completely.
Therefore, it is necessary to solves as above problem.
[content of the invention]
Instant invention overcomes the deficiency of above-mentioned technology, there is provided single-wire communication device and its two-way between a kind of two equipment
Control method is interrogated, its easily realization simple in construction, saves wire rod, and Communication Control is convenient.
To achieve 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 two transmissions/
1 connection 20 between receiving module 10, each transmission/reception module 10 include for being sent with external device data
The data of end connection send connection end 11, for the data receiver connection end 12 that is connected with external device data receiving terminal and
For the grounding connection end 13 being connected with external equipment earth terminal, the data are sent between connection end 11 and the connection 20
Forward diode module 14 is connected with, resistance current limliting mould is connected between the data receiver connection end 12 and the connection 20
Block 15, the pull down resistor module 16 being connected between the connection 20 and the grounding connection end 13 and capacitor filtering mould
Block 17.
Single-wire communication device between two equipment of one kind as described above, the forward diode module 14 include positive string
Several forward diodes for joining or being connected in parallel between the data transmission connection end 11 and the connection 20.
Single-wire communication device between two equipment of one kind as described above, the resistance current limliting module 15 include serial or parallel connection
Several resistance between the data receiver connection end 12 and the connection 20.
Single-wire communication device between two equipment of one kind as described above, the pull down resistor module 16 include series connection or simultaneously
Several resistance being associated between the connection 20 and the grounding connection end 13.
Single-wire communication device between two equipment of one kind as described above, the capacitor filtering module 17 include series connection or simultaneously
Several electric capacity being associated between the connection 20 and the grounding connection end 13.
The both-way communication control method of single-wire communication device between two equipment as described above, including have the following steps:
Connected data transmission connection end 11 is set to low level by Opportunity awaiting control for linear step, certain equipment, and by with
Level conditions on the connection 20 are detected in real time in its data receiver connection end 12 connected;
Data send rate-determining steps, when certain equipment needs to send data, first pass through connected data receiver connection
Level conditions of the detection connection 20 of end 12 in time T, when having detected high level in time T, the equipment is entered
Enter data receiver rate-determining steps, when not detecting high level in time T, the equipment sends connection end 11 by the data
Low and high level data are sent on to the connection 20, data are sent, and certain equipment reenters Opportunity awaiting control for linear step;
Data receiver rate-determining steps, when certain equipment detects communication described in certain moment by the data receiver connection end 12
Have low and high level data on line 20, if the equipment judges that itself is not sending data, the equipment is stored from the data
The low and high level data that connection end 12 receives are received, and when the equipment does not detect low and high level data in time T,
The equipment reenters Opportunity awaiting control for linear step, if the equipment judges that itself sends data, is controlled into preset priority
Step;
Preset priority rate-determining steps, certain equipment judges itself preset priority level height, if preset priority level
For height, then the equipment continues through the data and sends connection end 11 to sending low and high level data on the connection 20, if
Preset priority level is low, then the equipment enters Opportunity awaiting control for linear step.
Compared with prior art, the beneficial effects of the invention are as follows:
1st, this case single-wire communication apparatus structure is simply easily realized, is sent out by the both ends setting structure identical of 1 connection
Give/receiving module realizes the single-wire communication function between two equipment, each transmission/reception module includes data and sends connection
End, data receiver connection end and grounding connection end, data send and are connected with forward diode mould between connection end and connection
Block, it can be connected with while playing buffer action effectively to data are sent on connection between data receiver connection end and connection
Resistance current limliting module, overcurrent protection effectively is carried out to data receiver connection end, is connected with down between connection and grounding connection end
Pull-up resistor module, it is low level when being easy to pull down and make its idle condition connection level, between connection and grounding connection end
Capacitor filtering module is also associated with, is easy to filtering to reduce and is disturbed on connection, improve communication quality.
2nd, this case both-way communication control method includes Opportunity awaiting control for linear step, data send rate-determining steps, data receiver control
Step and preset priority rate-determining steps, its control is simple and convenient, effectively realizes the both-way communication control of single-wire communication device
System.
[brief description of the drawings]
Fig. 1 is the circuit diagram of the present invention.
[embodiment]
Feature of present invention and other correlated characteristics are described in further detail by embodiment below in conjunction with accompanying drawing, so as to
In the understanding of technical staff of the same trade:
As shown in figure 1, single-wire communication device between a kind of two equipment, includes 2 transmission/reception module 10 and is connected to
1 connection 20 between two transmission/reception module 10, each transmission/reception module 10 include for being set with outside
The data of standby data sending terminal connection send connection end 11, the data receiver connection for being connected with external device data receiving terminal
End 12 and the grounding connection end 13 for being connected with external equipment earth terminal, the data send connection end 11 and led to described
Forward diode module 14 is connected between news line 20, is connected between the data receiver connection end 12 and the connection 20
Resistance current limliting module 15, the pull down resistor module 16 being connected between the connection 20 and the grounding connection end 13 and
Capacitor filtering module 17.
Single-wire communication device between two equipment of one kind as described above, the forward diode module 14 include positive string
Several forward diodes for joining or being connected in parallel between the data transmission connection end 11 and the connection 20.
Single-wire communication device between two equipment of one kind as described above, the resistance current limliting module 15 include serial or parallel connection
Several resistance between the data receiver connection end 12 and the connection 20.
Single-wire communication device between two equipment of one kind as described above, the pull down resistor module 16 include series connection or simultaneously
Several resistance being associated between the connection 20 and the grounding connection end 13.
Single-wire communication device between two equipment of one kind as described above, the capacitor filtering module 17 include series connection or simultaneously
Several electric capacity being associated between the connection 20 and the grounding connection end 13.
As described above, the both-way communication control method of single-wire communication device between above-mentioned two equipment is also protected in this case, it is wrapped
Include and have the following steps:
Connected data transmission connection end 11 is set to low level by Opportunity awaiting control for linear step, certain equipment, and by with
Level conditions on the connection 20 are detected in real time in its data receiver connection end 12 connected;
Data send rate-determining steps, when certain equipment needs to send data, first pass through connected data receiver connection
Level conditions of the detection connection 20 of end 12 in time T, when having detected high level in time T, the equipment is entered
Enter data receiver rate-determining steps, when not detecting high level in time T, the equipment sends connection end 11 by the data
Low and high level data are sent on to the connection 20, data are sent, and certain equipment reenters Opportunity awaiting control for linear step;
Data receiver rate-determining steps, when certain equipment detects communication described in certain moment by the data receiver connection end 12
Have low and high level data on line 20, if the equipment judges that itself is not sending data, the equipment is stored from the data
The low and high level data that connection end 12 receives are received, and when the equipment does not detect low and high level data in time T,
The equipment reenters Opportunity awaiting control for linear step, if the equipment judges that itself sends data, is controlled into preset priority
Step;
Preset priority rate-determining steps, certain equipment judges itself preset priority level height, if preset priority level
For height, then the equipment continues through the data and sends connection end 11 to sending low and high level data on the connection 20, if
Preset priority level is low, then the equipment enters Opportunity awaiting control for linear step.
As described above, this case single-wire communication apparatus structure is simply easily realized, pass through the both ends setting structure of 1 connection 20
Identical transmission/reception module 10 realizes the single-wire communication function between two equipment, and each transmission/reception module 10 includes number
According to sending connection end 11, data receiver connection end 12 and grounding connection end 13, data send connection end 11 and connection 20 it
Between be connected with forward diode module 14, can be effectively to sending data, data receiver on connection 20 while playing buffer action
Resistance current limliting module 15 is connected between connection end 12 and connection 20, excessively stream guarantor effectively is carried out to data receiver connection end 12
Shield, is connected with pull down resistor module 16 between connection 20 and grounding connection end 13, be easy to the level of connection 20 drop-down making it
It is low level during idle condition, capacitor filtering module 17 is also associated between connection 20 and grounding connection end 13, is easy to filter
Reduce and disturbed on connection 20, improve communication quality.All technical schemes same or like with this case structure all should be shown as
Enter in the protection domain of this case.
Claims (5)
1. a kind of both-way communication control method using single-wire communication device between two equipment, it is characterised in that described device includes
1 connection (20) for having 2 transmission/reception module (10) and being connected between two transmission/reception module (10), Mei Gefa
Give/receiving module (10) all includes and sends connection end (11) for the data that are connected with external device data transmitting terminal, is used for
The data receiver connection end (12) that is connected with external device data receiving terminal and for being connect with what external equipment earth terminal was connected
Ground connection end (13), the data send and are connected with forward diode module between connection end (11) and the connection (20)
(14) resistance current limliting module (15), is connected between the data receiver connection end (12) and the connection (20), it is described logical
The pull down resistor module (16) and capacitor filtering module being connected between news line (20) and the grounding connection end (13)
(17), the control method includes having the following steps:
Connected data transmission connection end (11) is set to low level by Opportunity awaiting control for linear step, certain equipment, and by with its
Level conditions on the connection (20) are detected in real time in the data receiver connection end (12) of connection;
Data send rate-determining steps, when certain equipment needs to send data, first pass through connected data receiver connection end
(12) level conditions of the connection (20) in time T, when having detected high level in time T, the equipment are detected
Into data receiver rate-determining steps, when not detecting high level in time T, the equipment sends connection end by the data
(11) it is sent to transmission low and high level data, data on the connection (20), certain equipment reenters Opportunity awaiting control for linear step
Suddenly;
Data receiver rate-determining steps, when certain equipment detects connection described in certain moment by the data receiver connection end (12)
(20) have low and high level data on, if the equipment judges that itself is not sending data, the equipment is stored from the data
The low and high level data that connection end (12) receive are received, and when the equipment does not detect low and high level data in time T
When, the equipment reenters Opportunity awaiting control for linear step, if the equipment judges that itself sends data, into preset priority control
Step processed;
Preset priority rate-determining steps, certain equipment judges itself preset priority level height, if preset priority level is height,
Then the equipment continues through the data and sends connection end (11) to transmission low and high level data on the connection (20), if in advance
If priority level is low, then the equipment enters Opportunity awaiting control for linear step.
2. a kind of both-way communication control method using single-wire communication device between two equipment according to claim 1, its
Be characterised by the forward diode module (14) include positive serial or parallel connection the data send connection end (11) with
Several forward diodes between the connection (20).
3. a kind of both-way communication control method using single-wire communication device between two equipment according to claim 1, its
It is characterised by that the resistance current limliting module (15) includes serial or parallel connection in the data receiver connection end (12) and the communication
Several resistance between line (20).
4. a kind of both-way communication control method using single-wire communication device between two equipment according to claim 1, its
It is characterised by that the pull down resistor module (16) includes serial or parallel connection in the connection (20) and the grounding connection end
(13) several resistance between.
5. a kind of both-way communication control method using single-wire communication device between two equipment according to claim 1, its
It is characterised by that the capacitor filtering module (17) includes serial or parallel connection in the connection (20) and the grounding connection end
(13) several electric capacity between.
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 CN104834625A (en) | 2015-08-12 |
CN104834625B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106227691B (en) * | 2016-08-09 | 2019-03-15 | 苏交科集团股份有限公司 | A kind of reciprocity bi-directional single-wire serial communication method based between MCU |
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 |
CN112003775B (en) * | 2020-07-27 | 2022-02-18 | 苏州浪潮智能科技有限公司 | 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 (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7088137B2 (en) * | 2004-05-04 | 2006-08-08 | International Business Machines Corporation | System, method and program product for extending range of a bidirectional data communication bus |
WO2006051458A1 (en) * | 2004-11-10 | 2006-05-18 | Koninklijke Philips Electronics N.V. | Method of an device for performing bi-directional transmission using a single-wire |
-
2015
- 2015-05-28 CN CN201510282759.8A patent/CN104834625B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104834625A (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104834625B (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 | |
US20110161545A1 (en) | I2c/spi control interface circuitry, integrated circuit structure, and bus structure thereof | |
CN101887151B (en) | Optical transceiver module and system and optical transceiving method | |
CN111050024A (en) | Image transmission circuit based on MIPI protocol and implementation method thereof | |
CN205142203U (en) | Automatic transceiver circuits of RS485 | |
CN209731245U (en) | Repeater and signal transmission system | |
CN101877168A (en) | Wireless DSP electronic policeman system for standard definition for running red light | |
CN205961346U (en) | Extended infrared remote control circuit | |
CN102223499B (en) | Television network switching method, device and television | |
CN109889796A (en) | A kind of 12G-SDI ultra high-definition video optical multiplexer | |
CN210781062U (en) | HDMI differential signal receiving converter based on rail transit | |
CN202889376U (en) | Multifunctional electric modem for security | |
CN202085161U (en) | Communication device based on two-core twisted pair | |
CN108205881A (en) | One kind is tethered at UAV electro-optical's communication system | |
CN216959896U (en) | Big data bus transmission device of track traffic roadbed thing networking | |
CN202975735U (en) | 12C optical fiber communication driving system used for high-speed camera ball machine | |
CN202956606U (en) | Interface circuit applied to data acquisition system | |
CN204598221U (en) | The TV set-top box of wireless routing is with based on PON | |
CN204347831U (en) | Unidirectional RS-422 data communication system and receiving terminal | |
CN203537475U (en) | Relay serial port camera | |
CN204598222U (en) | The TV set-top box of wireless routing and building talkback function is with based on PON | |
CN217824967U (en) | Communication circuit, communication device and RS485 communication system | |
CN217333332U (en) | RS485 and RS232 communication conversion device |
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 |