CN203136079U - Device capable of performing adaptive baud rate one-way communication - Google Patents

Device capable of performing adaptive baud rate one-way communication Download PDF

Info

Publication number
CN203136079U
CN203136079U CN 201320131708 CN201320131708U CN203136079U CN 203136079 U CN203136079 U CN 203136079U CN 201320131708 CN201320131708 CN 201320131708 CN 201320131708 U CN201320131708 U CN 201320131708U CN 203136079 U CN203136079 U CN 203136079U
Authority
CN
China
Prior art keywords
pin
voltage comparator
power supply
resistor
pull
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.)
Expired - Fee Related
Application number
CN 201320131708
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.)
Clp Intelligence (fujian) System Integration Ltd By Share Ltd
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 CN 201320131708 priority Critical patent/CN203136079U/en
Application granted granted Critical
Publication of CN203136079U publication Critical patent/CN203136079U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The utility model discloses a device capable of performing adaptive baud rate one-way communication. The device comprises a 12V power supply, a voltage comparator and a transient suppression diode. The device is characterized in that the 12V power supply is connected to a pin 6 of the voltage comparator via a first resistor; one end of a second resistor is grounded, and the other end of the second resistor is connected to the pin 6 of the voltage comparator; one end of a first pull-up resistor is connected to the 12V power supply, and the other end of the first pull-up resistor is connected to a pin 1 and a pin 5 of the voltage comparator; a first decoupling capacitor and a second decoupling capacitor are connected in parallel, one end of them is grounded, and the other end of them is connected to a pin 8 of the voltage comparator and the 12V power supply; one end of the second pull-up resistor is connected to a 5V power supply, the other end of the second pull-up resistor is connected to a pin 7 of the voltage comparator; one end of a third pull-up resistor is connected to the 5V power supply, the other end of the third pull-up resistor is connected to a pin 2 of the voltage comparator; one end of the divider resistor is grounded, and the other end of the divider resistor is connected to the pin 2 of the voltage comparator; and a pin 1 of the voltage comparator is grounded via a data line and the transient suppression diode. The device has the advantages of simple protocol and strong anti-interference ability.

Description

A kind of device that can carry out self adaptation baud rate single-wire communication
Technical field
The utility model belongs to the asynchronous communication field, relates in particular to a kind of device that can carry out self adaptation baud rate single-wire communication.
Background technology
Communication modes in the tradition building talkback corridor is 485: the advantage of this communication modes is that antijamming capability is strong, and communications protocol is simple, and shortcoming is that holding wire is more, has 2, can not the self adaptation baud rate, and cost is higher simultaneously.
Summary of the invention
The purpose of this utility model is to provide a kind of device that can carry out self adaptation baud rate single-wire communication that can utilize a holding wire to carry out point-to-points two-way asynchronous serial communication.
The purpose of this utility model is to realize like this, the described a kind of device that can carry out self adaptation baud rate single-wire communication, comprise 12V power supply, 5V power supply, voltage comparator and Transient Suppression Diode, its design feature is described 12V power supply is received voltage comparator through first resistance 6 pin; Second resistance, one end ground connection, the other end is received 6 pin of voltage comparator; First pull-up resistor one terminates to the 12V power supply, and the other end is received 1 pin and 5 pin of voltage comparator; An end ground connection after first decoupling capacitor and the second decoupling capacitor parallel connection, the other end are received 8 pin and the 12V power supply of voltage comparator; Second pull-up resistor one terminates on the 5V power supply, 7 pin of another termination voltage comparator; The 3rd pull-up resistor one terminates to the 5V power supply, 2 pin of another termination voltage comparator; Divider resistance one end ground connection, the other end is received 2 pin of voltage comparator; 4 pin ground connection of voltage comparator; 1 pin of voltage comparator ground connection behind data wire, Transient Suppression Diode.
Described voltage comparator adopts the LM393B chip.
The utlity model has following advantage: as long as self adaptation baud rate sign indicating number of definition; The high-low level method for expressing of definition signal; The beginning flag of definition signal; Be defined in holding wire and remain high level and retention time when being not less than TH, indicate a Frame to get final product complete operation.The agreement that the utlity model has employing is simple, and hardware cost is low, and software overhead is little, antijamming capability is strong, only need a holding wire just can finish asynchronous serial communication, be specially adapted to the interior transfer of data of corridor, be particularly suitable for communication distance at 100 meters with interior data transmit-receive.
Description of drawings
Fig. 1 is circuit theory diagrams of the present utility model.
Embodiment
Below in conjunction with example the utility model is elaborated:
As shown in Figure 1, a kind of device that can carry out self adaptation baud rate single-wire communication described in the utility model, comprise 12V power supply, 5V power supply, voltage comparator and Transient Suppression Diode, its design feature is the 12V power supply is received voltage comparator through first resistance R 16 pin; Second resistance R, 2 one end ground connection, the other end is received 6 pin of voltage comparator; The first pull-up resistor R3 one terminates to the 12V power supply, and the other end is received 1 pin and 5 pin of voltage comparator; An end ground connection after the first decoupling capacitor C2 and the second decoupling capacitor C36 parallel connection, the other end is received 8 pin and the 12V power supply of voltage comparator; The second pull-up resistor R4 one terminates on the 5V power supply, 7 pin of another termination voltage comparator; The 3rd pull-up resistor R5 one terminates to the 5V power supply, 2 pin of another termination voltage comparator; Divider resistance R6 one end ground connection, the other end is received 2 pin of voltage comparator; 4 pin ground connection of voltage comparator; 1 pin of voltage comparator ground connection behind data wire D, Transient Suppression Diode.Described voltage comparator adopts the LM393B chip.
In the circuit of Fig. 1: R1, R2 are the 10K resistance of 1% precision, are respectively first resistance and second resistance; R1 one terminates to the 12V power supply, and one terminates to 6 pin of LM393B chip; R2 one terminates to ground, and the other end is received 6 pin of LM393B chip.R3 is first pull-up resistor, and it one terminates to the 12V power supply, and the other end is received 1 pin and 5 pin of LM393B chip.C2, C36 are respectively first decoupling capacitor and second decoupling capacitors of two ground connection, and they one terminate to ground, and the other end is received 8 pin of LM393B chip.R4 is second pull-up resistor, and one terminates on the 5V power supply, 7 pin of a termination LM393B chip.R5 is the 3rd pull-up resistor, and it one terminates to the 5V power supply, 2 pin of another chip termination.R6 is divider resistance, and it one terminates to ground, and the other end is received 2 pin of chip.
The LM393B chip is a voltage comparator.3 pin connect the data transmitting pin of single-chip microcomputer, and the data that 7 pin connect single-chip microcomputer receive pin.1 pin is the output pin of first comparator of LM393B.5,6 pin are the input pin of second comparator of LM393B.
DZ1 among the figure is Transient Suppression Diode, and one terminates to ground, 1 pin of another termination LM393B chip, and it can absorb the surge power up to thousands of watts, is in particular to reduce forceful electric power and disturb and design.D is data wire, leans on the pull-up resistor clamper at 12V when data wire is idle, and when data sent, this data wire was moved to 0V by the LM393B chip of source device, and target device calculates baud rate after receiving first byte (0x55), and order receives remaining data.As long as the interference voltage on the data wire is no more than 6V, just can not cause the comparator erroneous judgement in this circuit.
Data transmission flow at above-mentioned source device of the present utility model comprises:
1. the transmission data are added in the transmit queue;
2. transmission task regularly detects transmit queue, then sends data if any data and bus free time; If bus is busy, then waits next timing cycle to arrive and send out again;
3. be sent completely, then wait acknowledge in the time of 10*W is received in during this period and is replied then with this data deletion in the transmit queue; If do not receive and reply, then send again.
Data reception flow process at above-mentioned target device of the present utility model comprises:
1. receive synchronous code, calculate communication baud rate;
2. receive length byte, calculate this bag data length;
3. after the complete reception, the calculation check sign indicating number also compares with the check code that receives, if equate then to pass to the upper strata, and sends answer back code.
In the such scheme, threshold values is a numerical value default, that dynamically adjust according to the synchronous code of source device.
This programme at the building talkback circuit often and forceful electric power and the practical application scene walked has proposed solution.
Simultaneously this programme agreement is simple, and cost is low, utilizes the input capture function of single-chip microcomputer, only needs a data lines, has realized the half duplex communication of self adaptation baud rate, be particularly suitable for communication distance at 100 meters with interior data transmit-receive.

Claims (2)

1. the device that can carry out self adaptation baud rate single-wire communication comprises 12V power supply, 5V power supply, voltage comparator and Transient Suppression Diode, it is characterized in that described 12V power supply receives 6 pin of voltage comparator through first resistance (R1); Second resistance (R2) end ground connection, the other end is received 6 pin of voltage comparator; First pull-up resistor (R3) one terminates to the 12V power supply, and the other end is received 1 pin and 5 pin of voltage comparator; First decoupling capacitor (C2) and second decoupling capacitor (C36) back in parallel, one end ground connection, the other end is received 8 pin and the 12V power supply of voltage comparator; Second pull-up resistor (R4) one terminates on the 5V power supply, 7 pin of another termination voltage comparator; The 3rd pull-up resistor (R5) one terminates to the 5V power supply, 2 pin of another termination voltage comparator; Divider resistance (R6) end ground connection, the other end is received 2 pin of voltage comparator; 4 pin ground connection of voltage comparator; 1 pin of voltage comparator is ground connection behind data wire (D), Transient Suppression Diode.
2. a kind of device that can carry out self adaptation baud rate single-wire communication according to claim 1 is characterized in that described voltage comparator adopts the LM393B chip.
CN 201320131708 2013-03-22 2013-03-22 Device capable of performing adaptive baud rate one-way communication Expired - Fee Related CN203136079U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201320131708 CN203136079U (en) 2013-03-22 2013-03-22 Device capable of performing adaptive baud rate one-way communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201320131708 CN203136079U (en) 2013-03-22 2013-03-22 Device capable of performing adaptive baud rate one-way communication

Publications (1)

Publication Number Publication Date
CN203136079U true CN203136079U (en) 2013-08-14

Family

ID=48944011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201320131708 Expired - Fee Related CN203136079U (en) 2013-03-22 2013-03-22 Device capable of performing adaptive baud rate one-way communication

Country Status (1)

Country Link
CN (1) CN203136079U (en)

Similar Documents

Publication Publication Date Title
CN201434881Y (en) RS485 interface circuit and electric energy meter employing same
CN105141491B (en) RS485 communication circuit and method for realizing spontaneous self-receiving
CN101826243B (en) Two-wire active infrared detection alarm system
CN101312302A (en) Parallel signal transmission method of uninterrupted power source
CN103475747A (en) Electric energy meter networked system capable of automatically sending address information and sending method thereof
CN103684943A (en) Bus system with power supply transmission and data communication functions
CN201022204Y (en) Automatic flow control device and its application circuit
CN205142203U (en) Automatic transceiver circuits of RS485
CN204881720U (en) Wireless teletransmission ultrasonic water table
CN102420871B (en) Network data acquirer
CN203399150U (en) Electric energy meter networking system capable of automatically sending address information
CN103926862B (en) The means of communication of micro energy lose M-bus slave terminal circuits for intelligence instrument communication
CN102929830A (en) Software simulation rapid communication protocol
CN104572555A (en) Reconfigurable self-adaptive interface circuit
CN203984410U (en) Coal mine down-hole personnel monitoring wireless receiving substation
CN109597783A (en) A kind of double light-coupled isolation type RS485 circuits
CN205005065U (en) RS485 communication circuit
CN203136079U (en) Device capable of performing adaptive baud rate one-way communication
CN201047989Y (en) Two-wire control device of transmission power source and signal
CN202025203U (en) Feeding type communication circuit
CN203733113U (en) Data flow reversing control circuit applied to RS485 interface
CN112202573B (en) Two-wire system power supply and networking communication system
CN201854277U (en) Single-wire communication circuit
CN203838509U (en) Micro-power consumption M-bus slave computer end circuit for intelligent instrument communication
CN208924258U (en) A kind of RS485 full duplex communication circuit of ammeter

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: FUJIAN CETC INTELLIGENT SYSTEM INTEGRATION CO., LT

Free format text: FORMER OWNER: ZHANG ZHUOMOU

Effective date: 20131218

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 350001 FUZHOU, FUJIAN PROVINCE TO: 350003 FUZHOU, FUJIAN PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131218

Address after: 350003 No. 189 Hualin Road, Fujian, Fuzhou

Patentee after: Fujian CETC Intelligent System Integration Co., Ltd.

Address before: Jinan District Fuzhou city Fujian province 350001 Ocean Road No. 192, Miki garden D District 17 Building 102 unit

Patentee before: Zhang Zhuomou

C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: Yangqiao Road Gulou District of Fuzhou city in Fujian province 350003 Hong Yang Metro Building 2 at 5 A, B, D unit

Patentee after: Fujian CETC Intelligent System Integration Co., Ltd.

Address before: 350003 No. 189 Hualin Road, Fujian, Fuzhou

Patentee before: Fujian CETC Intelligent System Integration Co., Ltd.

C56 Change in the name or address of the patentee

Owner name: ZHONGDIAN INTELLIGENT (FUJIAN) SYSTEM INTEGRATION

Free format text: FORMER NAME: FUJIAN CETC INTELLIGENT SYSTEM INTEGRATION CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: Yangqiao Road Gulou District of Fuzhou city in Fujian province 350003 Hong Yang new city building 2, 5 layers of A, B, D unit

Patentee after: CLP intelligence (Fujian) system integration Limited by Share Ltd

Address before: Yangqiao Road Gulou District of Fuzhou city in Fujian province 350003 Hong Yang new city building 2, 5 layers of A, B, D unit

Patentee before: Fujian CETC Intelligent System Integration Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130814

Termination date: 20190322