Movatterモバイル変換


[0]ホーム

URL:


CN206863734U - Bridge circuit device and its bus circuit based on RS485 - Google Patents

Bridge circuit device and its bus circuit based on RS485
Download PDF

Info

Publication number
CN206863734U
CN206863734UCN201720668066.7UCN201720668066UCN206863734UCN 206863734 UCN206863734 UCN 206863734UCN 201720668066 UCN201720668066 UCN 201720668066UCN 206863734 UCN206863734 UCN 206863734U
Authority
CN
China
Prior art keywords
bridge circuit
circuit device
serial ports
bus
node
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
CN201720668066.7U
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.)
Xiamen Shangwei Intelligent Power Technology Co ltd
Original Assignee
Xiamen Is Still Polytron Technologies Inc
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 Xiamen Is Still Polytron Technologies IncfiledCriticalXiamen Is Still Polytron Technologies Inc
Priority to CN201720668066.7UpriorityCriticalpatent/CN206863734U/en
Application grantedgrantedCritical
Publication of CN206863734UpublicationCriticalpatent/CN206863734U/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

A kind of bridge circuit device based on RS485, including processor are disclosed, for connecting the first RS485 serial ports of a upper bridge circuit device and the 2nd RS485 serial ports for connecting next bridge circuit device by bus by bus, is further comprised:As the 3rd serial ports at the L ends of bridge circuit device, the sensor matched for providing polytype interface for connection type;Wherein, P end of the first RS485 serial ports as bridge circuit device, for connecting a upper bridge circuit device by bus;N-terminal of the 2nd RS485 serial ports as bridge circuit device, for connecting next bridge circuit device by bus;The processor and the first RS485 serial ports, the 2nd RS485 serial ports and the 3rd serial ports carry out signal interaction.Using the utility model, the signal attenuation in bus diminishes, and signal antijamming capability becomes strong.

Description

Bridge circuit device and its bus circuit based on RS485
Technical field
It the utility model is related to bus circuit technology, more particularly to bridge circuit device and its bus circuit based on RS485.
Background technology
RS485 is two-wire system, half-duplex, differential signal communication interface (physical layer).Referring to Fig. 1, traditional RS485 busesMultiple equipment is allowed to be connected in same bus, these equipment communicate usually using ModBus protocol formats, and each equipment is pre-One 485ID is first set.Main frame, with the equipment interaction in bus, each equipment is distinguished by 485ID by the way of poll.It is mainAll devices can receive when machine sends request, but that equipment response that only 485ID matches, 485 buses are half pairWork, the same time can only have a data sender.The all the sensors of traditional RS485 buses are connected in a data lines,Line is longer, and signal attenuation is more serious, and communication is easier by outside electromagnetic interference.
Therefore, exist in the prior art to can in RS485 buses using and can overcome signal attenuation it is serious,Communication is easily needed by the RS485 circuit arrangements of outside electromagnetic interference.
Utility model content
The purpose of this utility model is to provide a kind of bridge circuit device available in RS485 buses and based on bridge electricityThe bus circuit of road device, it can freely increase as needed in bus or reduce bridge circuit device without to bus electricityRoad carries out complex configurations, at the same can overcome signal attenuation is serious, communication easily by outside electromagnetic interference the defects of.
According to one side of the present utility model, there is provided a kind of bridge circuit device based on RS485, including processor,For connected by bus the first RS485 serial ports of a upper bridge circuit device with for connecting next bridge circuit by bus2nd RS485 serial ports of device, it is characterised in that further comprise:
As the 3rd serial ports at the L ends of bridge circuit device, for providing polytype interface so that connection type matchesSensor;
Wherein, P end of the first RS485 serial ports as bridge circuit device, filled for connecting a upper bridge circuit by busPut;N-terminal of the 2nd RS485 serial ports as bridge circuit device, for connecting next bridge circuit device by bus;
The processor and the first RS485 serial ports, the 2nd RS485 serial ports and the 3rd serial ports carry out signal interaction.
Wherein, the 3rd serial ports is the set serial ports of RS485, RS422 and RS232 serial ports, and RS485 is based on for connectingThe sensor of work, the sensor based on RS422 work and the sensor based on RS232 work.
Wherein, the bridge circuit device further comprises:Serial ports is aided in, for connecting the sensor of desired type.
Wherein, the processor is C51 chips, and the first RS485 serial ports and the 2nd RS485 serial ports are RJ45 interfaces.
Wherein, the first RS485 serial ports, the 2nd RS485 serial ports and the 3rd serial ports be it is independent of each other, can be independently of one anotherEnter row data communication simultaneously.
Wherein, bridge circuit device also includes the dry node port positioned at L ends, for connecting dry node.
According to other side of the present utility model, there is provided a kind of bus circuit based on RS485, including m series connectionThe node and main frame being connected in RS485 buses, m are positive integer, it is characterised in that:
Each node is the bridge circuit device such as one of claim 1-4;
The P ends of first node are connected with the main frame, and the L ends of m-th of node are hanging, and the P ends of i-th of node are connected toThe L ends of the i-th -1 node, i 2,3,4 ..., m-1;
Data wire between -1 node of k-th of node and kth is independent data line segment, k 2,3,4 ..., m.
Wherein, each port in the P ends of node, L ends and N-terminal is configured with 4 lines, wherein 2 lines are signal wire, separatelyOuter one, 2 lines are ground wire, and one is 5V power lines.
Wherein, the main frame carries out data interaction by bridge circuit device and sensor.
Wherein, data interaction is carried out by bridge circuit device and sensor in main frame, the bridge circuit device can also be withThereafter bridge circuit device communication.
According to the utility model, the L ends of the bridge circuit device based on RS485 can support polytype sensor, thisThe agreement of a little sensors can be arbitrary.The bridge circuit device based on RS485 in bus is that data porter i.e. data turnSend out equipment.Bridge circuit device is bridge of the main frame with sensor communication, and it provides a difference and tradition for main frame and sensorThe communication line of RS485 buses.The bridge circuit device based on RS485 is only connected in RS485 buses, unlike traditional RS485 busesIt is directly connected to sensor like that.During using RS485 buses, main frame no longer directly interacts with sensor, but is assisted using RS485 bridgesView interacts with bridge circuit device.Bridge agreement provides order and " sensors command " after packing is transmitted into sensor in fact for main frameInteraction of the existing main frame with sensor.
Brief description of the drawings
By that will become and the specific embodiment part provided, feature and advantage of the present utility model referring to the drawingsIt is easier to understand, in the accompanying drawings:
Fig. 1 is the conventional bus circuit diagram of the prior art based on RS485;
Fig. 2 is the port composition schematic diagram according to the bridge circuit device based on RS485 of the utility model embodiment.
Fig. 3 is the composition schematic diagram according to the bridge circuit device based on RS485 of the utility model embodiment.
Fig. 4 is the bus circuit schematic diagram according to the bridge circuit device based on RS485 of the utility model embodiment.
Embodiment
Illustrative embodiments of the present utility model are described in detail with reference to the accompanying drawings.To illustrative embodimentsDescription merely for the sake of demonstration purpose, and be definitely not to the utility model and its application or the limitation of usage.
In the utility model, the bridge circuit device based on RS485 has three ports, respectively L ends, P ends and N-terminal, P endsIt is respectively used to connect upper one and next bridge circuit device with N-terminal, L ends are used to be connected to sensor.Bridge electricity based on RS485Road device is directly connected in RS485 buses.So, sensor is no longer directly connected in RS485 buses, and main frame is no longer directInteract with sensor, but interacted using 485 bus protocols with bridge circuit device.Bridge circuit device and connected sensorA node being properly termed as in RS485 buses.It all it is one section independent between each two bridge circuit device in RS485 busesData wire, that section of line i.e. L ends for being based even on RS485 bridge circuit device connection sensor are also one section of independent data wire,Bridge circuit device based on RS485 transmits data among the nodes by way of relay.It can be seen that using the utility model, sectionData line length between point shortens, therefore signal attenuation is small, and also mutually strain is strong for the signal antijamming capability on signal wire.
In the utility model, the bridge circuit device based on RS485 in bus is data porter i.e. data transfer equipment,RS485 buses are also to use RS485 physical interfaces, but without using ModBus agreements, but use custom protocol.Self-defined associationView is not essential in the utility model, and the utility model can also use other agreements by those skilled in the art, thereforeThe introduction to custom protocol is omitted here.Bridge circuit device is bridge of the main frame with sensor communication, and it is main frame and sensingDevice provides the communication line of a difference and traditional RS485 buses.Only bridge circuit of the connection based on RS485 fills in RS485 busesPut, sensor is directly connected to unlike traditional RS485 buses.During using RS485 buses, main frame is no longer directly handed over sensorMutually, but RS485 bridges agreement is used to be interacted with bridge circuit device.Bridge agreement provides order and supplies main frame by the " sensor after packingInstruction " is transmitted to sensor to realize interaction of the main frame with sensor.
2-4 describes in detail to the utility model below in conjunction with the accompanying drawings.
Fig. 2 is the port composition schematic diagram according to the bridge circuit device based on RS485 of the utility model embodiment.Fig. 3Show the composition schematic diagram of the bridge circuit device based on RS485 according to the utility model embodiment.Bridge circuit device includesProcessor, the first RS485 serial ports and the 2nd RS485 serial ports.First RS485 serial ports is used to connect a upper bridge circuit by bus2nd RS485 serial ports of device, the 2nd RS485 serial ports are used for the first RS485 that next bridge circuit device is connected by busSerial ports.The bridge circuit device further comprises the 3rd serial ports at the L ends as bridge circuit device, polytype for providingThe sensor that interface matches for connection type.
In the utility model, P end of the first RS485 serial ports as bridge circuit device, for connecting upper one by busBridge circuit device;N-terminal of the 2nd RS485 serial ports as bridge circuit device, for connecting next bridge circuit device by bus.The processor and the first RS485 serial ports, the 2nd RS485 serial ports and the 3rd serial ports carry out signal interaction.
Wherein, the 3rd serial ports is the set serial ports of RS485, RS422 and RS232 serial ports, and RS485 is based on for connectingThe sensor of work, the sensor based on RS422 work and the sensor based on RS232 work.
It is preferred that the bridge circuit device further comprises aiding in serial ports, for connecting the sensor of desired type.
It is preferred that the processor is C51 chips, the first RS485 serial ports and the 2nd RS485 serial ports connect for RJ45Mouthful.
In the utility model, the first RS485 serial ports, the 2nd RS485 serial ports and the 3rd serial ports are independent of each other, can thatThis independently enters row data communication simultaneously.
It is preferred that bridge circuit device also includes the dry node port positioned at L ends, for connecting dry node.
In the utility model, although the interface based on RS485 is half duplex communication, the bridge circuit dress based on RS485It is independent to put three interfaces of inside, and they can carry out data communication simultaneously, that is to say, that bridge circuit device is by P endsWhen data forwarding is to N-terminal, the sensor that still can be connected with L ends is communicated.This working method is than half duplex communicationTraditional RS485 buses are more efficient.
Traditional RS485 buses can only connect the sensor of RS485 interfaces, and be typically only capable to be led to Modbus agreementsNews.And in the utility model, the L ends of the bridge circuit device based on RS485 can support polytype sensor, these sensingsThe agreement of device can be arbitrary.Alternatively, L ends can also be configured to only connect a type of sensor.In RS485 bridgesIn bus, between main frame and these dissimilar sensors communication will not produce it is any conflict because actual directly with sensorThe bridge circuit device of communication is only limitted to that RS485 bridge circuit device that it is connected.
Fig. 4 shows the bus circuit schematic diagram of the bridge circuit device based on RS485 according to the utility model embodiment.As shown in figure 4, the bus circuit based on RS485 includes the m nodes and main frame being connected in series in RS485 buses, m is just wholeNumber.Each node is foregoing bridge circuit device, and the P ends of first node are connected with the main frame, m-th of nodeL ends it is hanging, the P ends of i-th of node are connected to the L ends of the i-th -1 node, i 2,3,4 ..., m-1.K-th of node andData wire between k-1 node is independent data line segment, k 2,3,4 ..., m.
It is preferred that each port in the P ends of node, L ends and N-terminal is configured with 4 lines, wherein 2 lines are signal wire,Other one, 2 lines are ground wire, and one is 5V power lines.
It is preferred that the main frame carries out data interaction by bridge circuit device and sensor.
It is preferred that carry out data interaction by bridge circuit device and sensor in main frame, the bridge circuit device can be withCommunicated with bridge circuit device thereafter.
Referring to Fig. 4, in the bus circuit based on RS485, it between node is all one section of independence that each two bridge circuit device, which is,Data wire, that section of line for being based even on the i.e. L ends connection sensor of RS485 bridge circuit device is also one section of independent dataLine, bridge circuit device transmit data among the nodes by way of relay.Clearly as the data line length between node becomesIt is short, thus signal attenuation diminishes, antijamming capability also just becomes strong.
In the utility model, bridge circuit device and that sensor that it is connected are referred to as a node altogether.
Although the utility model is described with reference to illustrative embodiments, but it is to be understood that the utility modelThe embodiment be described in detail and shown in text is not limited to, in the feelings without departing from claims limited rangeUnder condition, those skilled in the art can make various changes to the illustrative embodiments.

Claims (10)

CN201720668066.7U2017-06-092017-06-09Bridge circuit device and its bus circuit based on RS485ActiveCN206863734U (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201720668066.7UCN206863734U (en)2017-06-092017-06-09Bridge circuit device and its bus circuit based on RS485

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201720668066.7UCN206863734U (en)2017-06-092017-06-09Bridge circuit device and its bus circuit based on RS485

Publications (1)

Publication NumberPublication Date
CN206863734Utrue CN206863734U (en)2018-01-09

Family

ID=60830615

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201720668066.7UActiveCN206863734U (en)2017-06-092017-06-09Bridge circuit device and its bus circuit based on RS485

Country Status (1)

CountryLink
CN (1)CN206863734U (en)

Similar Documents

PublicationPublication DateTitle
CN107147538B (en)Fault Locating Method based on RS485 bridge circuit device
CN104754027B (en)The communication means and communication system of a kind of across a network
CN102081585A (en)RS485 dual-bus communication method used for test satellite
CN216013976U (en)Multi-protocol converter
CN101141451A (en) Numerical control system communication interface, numerical control system and data receiving and sending method
CN201118630Y (en)A non-polarity two-core communication bus receiver/transmitter for photoelectrical separation
CN107612612A (en)Satellite TT&C system
US8773277B2 (en)Routing facility for a subsea electronics module
CN207457812U (en)Numerical control communication apparatus
CN206863734U (en)Bridge circuit device and its bus circuit based on RS485
CN102223273B (en) A digital sensor network and communication method
CN108228521A (en)A kind of Serial Communication at High Speed on MS network
CN204481837U (en)Serial port networked communication apparatus
CN107229586B (en)Communication means based on RS485 bridge circuit device
CN105721059A (en) Profibus-DP photoelectric signal conversion system
CN201584993U (en)GFP type 4E1/Ethernet protocol converter
CN103245314B (en)Position-measurement device
CN202189151U (en)Cross station high speed communication system used for geophysical exploration
CN204013549U (en)A kind of CAN bus network based on optical fiber communication
CN101170419B (en) Method, system and interface device for realizing compatibility of Ethernet electrical interface
DE102015014959B3 (en) A method for performing a remote reading of a consumption meter, remote read device and communication system
CN209070718U (en)Water meter data collecting equipment
CN202268908U (en)Gateway device between EtherCAT industrial Ethernet and wireless Zigbee
CN207529181U (en)A kind of RS485 telecommunication circuits
CN209433547U (en) A high-speed seismic data transmission device

Legal Events

DateCodeTitleDescription
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20231227

Address after:Unit 787, Area A, Room 201, No. 251-5, Longshan South Road, Siming District, Xiamen, Fujian 361000

Patentee after:Xiamen Shangwei Intelligent Power Technology Co.,Ltd.

Address before:Unit 505, No. 23 Wanghai Road, Software Park, Xiamen City, Fujian Province, 361008

Patentee before:XIAMEN SUNWE TECHNOLOGY CO.,LTD.

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp