CN209627391U - Dual redundant formula RS485-CAN communication board - Google Patents
Dual redundant formula RS485-CAN communication board Download PDFInfo
- Publication number
- CN209627391U CN209627391U CN201920658083.1U CN201920658083U CN209627391U CN 209627391 U CN209627391 U CN 209627391U CN 201920658083 U CN201920658083 U CN 201920658083U CN 209627391 U CN209627391 U CN 209627391U
- Authority
- CN
- China
- Prior art keywords
- chip
- pin
- communication
- connect
- dual redundant
- 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
Abstract
The utility model discloses a kind of dual redundant formula RS485-CAN communication boards, comprising: RS485 communication transceiver;MCU chip, input terminal are connect with the output end of RS485 communication transceiver;First output end of the first isolated can communication interface chip, input terminal and MCU chip connects, and output end is connect with CAN bus;The second output terminal of second isolated can communication interface chip, input terminal and MCU chip connects, and output end is connect with CAN bus.RS485 communication data is sent to MCU chip, data are converted into digital signal from analog signal by MCU chip, it is sent to isolated can communication chip first interface and second interface, isolated can communication chip converts digital signals into the data for meeting CAN communication interface level, CAN bus is accessed by 2 groups of CAN interfaces, the dual redundant from CAN controller to CAN interface driver and CAN communication route is realized, to realize dual redundant formula RS485-CAN communication conversion.
Description
Technical field
The utility model relates to CAN bus fields of communication technology, and in particular to a kind of dual redundant formula RS485-CAN communication
Plate.
Background technique
CAN communication answers the high reliability, the convenience of networking, the real-time of communication of its communication to be widely used in automobile electricity
The application fields such as son, coal mine telecommunication, burning natural gas distributed power apparatus.RS485 is also simple with interface protocol because of it, and it is convenient to realize
The advantages of be widely used.
But the shortcomings that RS485 is communicated is that communication speed is relatively slow, reliability is not as good as CAN communication.It develops currently on the market
RS485-CAN communicating conversion plate, meets the equipment for only having RS485 interface, accesses the demand of CAN network.
But some applications for needing higher reliability such as: coal mine telecommunication, military equipment communication in due to
The case where damage of CAN route and device causes communication failure still happens occasionally.
Utility model content
In view of this, the utility model embodiment provides a kind of dual redundant formula RS485-CAN communication board, it is existing to solve
RS485-CAN communicating conversion plate in technology is in the application of demand higher reliability, due to the damage of CAN route and device
Bad the problem of causing communication failure.
The utility model embodiment provides a kind of dual redundant formula RS485-CAN communication board, comprising:
RS485 communication transceiver;
MCU chip, input terminal are connect with the output end of RS485 communication transceiver;
Isolated can communication interface chip, the input terminal of the first drive module and the first output end of MCU chip connect,
The output end of its first drive module is connect with CAN bus;The input terminal of its second drive module and the second output of MCU chip
End connection, the output end of the second drive module are connect with CAN bus.
Optionally, MCU chip uses GD32F105VCT6 chip, for being used as main control chip and CAN controller chip.
Optionally, RS485 communication transceiver uses MX485E chip.
Optionally, isolated can communication interface chip uses TDx01DCAN chip.
Optionally, 2 tunnel CAN controllers and 1 road serial ports are equipped with inside MCU chip, wherein
1 road serial ports is connect with RS485 communication transceiver;
2 tunnel CAN controllers are connect with the first drive module and the second drive module respectively.
Optionally, at least 1 tunnel CAN controller is in operating status in 2 tunnel CAN controllers.
Optionally, the RO pin of RS485 communication transceiver is connect with the PA3 pin of GD32F105VCT6 chip;
The DI pin of RS485 communication transceiver is connect with the PA2 pin of GD32F105VCT6 chip.
Optionally, the PA11 pin of GD32F105VCT6 chip is connect with the first RXD pin of TDx01DCAN chip;
The PA12 pin of GD32F105VCT6 chip is connect with the first TXD pin of TDx01DCAN chip;
The PB12 pin of GD32F105VCT6 chip is connect with the 2nd RXD pin of TDx01DCAN chip;
The PB13 pin of GD32F105VCT6 chip is connect with the 2nd TXD pin of TDx01DCAN chip.
Optionally, the first CANG pin of TDx01DCAN chip, the first CANL pin and the first CANH pin are respectively with
CANG pin, CANL pin and the CANH pin of one group of CAN bus are correspondingly connected with;
The 2nd CANG pin, the 2nd CANL pin and the 2nd CANH pin of TDx01DCAN chip respectively with second group of CAN
CANG pin, CANL pin and the CANH pin of bus are correspondingly connected with.
The utility model has the beneficial effects that
1, RS485 communication data being sent to MCU chip, data are converted into digital signal from analog signal by MCU chip,
It is sent to isolated can communication chip first interface and second interface, isolated can communication chip, which converts digital signals into, to be met
The data of CAN communication interface level access CAN bus by 2 groups of CAN interfaces, realize and drive from CAN controller to CAN interface
The dual redundant of dynamic device and CAN communication route, to realize dual redundant formula RS485-CAN communication conversion.
2, RS485 communication transceiver uses MX485E chip, has warm connection function, guarantees when VCC rises, internal electricity
It is low level that road, which keeps DE, and RE is high level.After completing initial power-on processes, pull-down circuit be will no longer function, and reset
Hot plug input terminal can carry out the operation such as replacing in the case where being not necessarily to system cut-off, more convenient easy-to-use.
3, replace traditional isolated power supply module to add the mode of CAN interface driver with TDx01DCAN chip, effectively reduce
The quantity of line and device between device has achieved the purpose that improve device reliability and has reduced device volume.
It 4, still can be by another when having that CAN communication interface causes CAN communication failure due to route or device failure all the way
Road CAN communication interface completes the transmitting-receiving of CAN network data, improves the reliability of communication board.
5, the analog signal of RS485 communication transceiver transmission directly can carry out modulus turn by MCU chip by PA3 pin
It changes, is converted to digital signal, reduce number of devices, minimize communication board.
Detailed description of the invention
Can be more clearly understood the feature and advantage of the utility model by reference to attached drawing, attached drawing be schematically without
It is interpreted as carrying out any restrictions to the utility model, in the accompanying drawings:
Fig. 1 shows a kind of structure of dual redundant formula RS485-CAN communication board in the utility model embodiment;
Fig. 2 shows the functional pin figures of GD32F105VCT6 chip;
Fig. 3 shows the power unit energization pins connection structure of GD32F105VCT6 chip;
Fig. 4 shows a kind of 1 pin connection structure schematic diagram of RS485 communication transceiver in the utility model embodiment;
Fig. 5 is the pin connection signal that the first drive module of CAN communication interface chip is isolated in the utility model embodiment
Figure;
Fig. 6 is the pin connection signal that the second drive module of CAN communication interface chip is isolated in the utility model embodiment
Figure.
Specific embodiment
It is practical new below in conjunction with this to keep the objectives, technical solutions, and advantages of the embodiments of the present invention clearer
Attached drawing in type embodiment, the technical scheme in the utility model embodiment is clearly and completely described, it is clear that is retouched
The embodiment stated is the utility model a part of the embodiment, instead of all the embodiments.Based on the implementation in the utility model
Example, those skilled in the art's every other embodiment obtained without creative efforts, belongs to this reality
With novel protected range.
Fig. 1 shows a kind of structure of dual redundant formula RS485-CAN communication board in the utility model embodiment, including
RS485 communication transceiver 1, MCU chip 2 and isolated can communication interface chip 3, in which: the input terminal and RS485 of MCU chip 2
The output end of communication transceiver 1 connects;Isolated can communication interface chip 3, the input terminal and MCU core of the first drive module 31
First output end of piece 2 connects, and the output end of the first drive module 31 is connect with CAN bus 4;Its second drive module 32
Input terminal is connect with the second output terminal of MCU chip 2, and the output end of the second drive module 32 is connect with CAN bus 4.
In the present embodiment, RS485 communication data is sent to MCU chip, MCU chip converts data from analog signal
At digital signal, it is sent to isolated can communication chip first interface and second interface, isolated can communication chip is by digital signal
Be converted to the data for meeting CAN communication interface level, access CAN bus by 2 groups of CAN interfaces, realize from CAN controller to
The dual redundant of CAN interface driver and CAN communication route, to realize dual redundant formula RS485-CAN communication conversion.
In a specific embodiment, AD conversion module is set between RS485 communication transceiver 1 and MCU chip 2.
As optional embodiment, MCU chip uses GD32F105VCT6 chip, for being used as main control chip and CAN
Controller chip.
Fig. 2 shows the functional pin figure of GD32F105VCT6 chip, Fig. 3 shows the power supply of GD32F105VCT6 chip
Part energization pins connection structure.
In the present embodiment, GD32F105VCT6 chip has ADC module, without in addition connecing AD conversion module again.It is based on
The serial 32 general MCU products of the GD32 of ARM7, Cortex-M3 kernel, dominant frequency 108MHz.Flash memory (Flash) in piece at present
It is up to 1024KB, more codes (also can be when common Flash stores data use) can be stored, RAM is up to 96KB, has more
SRAM storage bulk data.Power supply voltage range is 2.6V-3.6V, and the supply voltage of kernel is 1.2V, and I/O mouthfuls can bear
5V level embeds real-time clock (RTC) and 2 house dogs (WDG), has power-off reset (PDR), electrification reset (POR) and electricity
Pressure monitoring (LVD) function.The advanced control timer of three-phase PWM complementary output and integrator is supported to can be used for vector controlled, also
Possess 3 general 16 bit timing devices.Offer up to 43 external interrupts simultaneously can nested 16 programmable priority.
Completely new GD32F103 product line provides the Flash capacity from 16KB to 1024KB, and has QFN36, LQFP48,
A variety of encapsulation selections such as LQFP64, LQFP100, LQFP144.Series of products are compatible with entirely in terms of software and pin package.
As optional embodiment, RS485 communication transceiver 1 uses MX485E chip.
When circuit board is inserted into electrification or the backboard to work (hot plug input), the difference of data/address bus is interfered may
Lead to error in data.When circuit board is inserted into backboard, data communications processor starts a power up.In the process, it handles
The logic output driver of device is high-impedance state, cannot be by the DE of these devices and RE input driving to defined logic level.Place
The logical drive of reason device might have the leakage current of up to ± 10 μ A in high-impedance state, this can cause the standard CMOS of transceiver
Input drift is enabled to incorrect logic level.In addition, circuit board parasitic capacitance can also couple VCC or GND to it is enabled
Input terminal.If not having hot plug ability, factors above can mistakenly enable the driver or receiver of transceiver.With heat
The MX485 chip of plug function can guarantee that, when VCC rises, it is low level that internal circuit, which keeps DE, and RE is high level.It completes
After initial power-on processes, pull-down circuit be will no longer function, and reset hot plug input terminal, can be the case where being not necessarily to system cut-off
Under carry out the operation such as replacing, it is more convenient easy-to-use.
As optional embodiment, isolated can communication interface chip 3 uses TDx01DCAN chip.
In the present embodiment, the side of CAN interface driver is added with the traditional isolated power supply module of TDx01DCAN chip substitution
Formula effectively reduces the quantity of the line and device between device, has reached the mesh for improving device reliability and reducing device volume
's.
As optional embodiment, 2 tunnel CAN controllers and 1 road serial ports are equipped with inside MCU chip 2, wherein 1 road serial ports
It is connect with RS485 communication transceiver;2 tunnel CAN controllers are connect with the first drive module 31 and the second drive module 32 respectively.
As optional embodiment, at least 1 tunnel CAN controller is in operating status in 2 tunnel CAN controllers.
In the present embodiment, when having that CAN communication interface causes CAN communication failure due to route or device failure all the way,
The transmitting-receiving that CAN network data can be still completed by another way CAN communication interface, improves the reliability of communication board.
As optional embodiment, the RO pin and the PA3 of GD32F105VCT6 chip of RS485 communication transceiver 1 draw
Foot connection;The DI pin of RS485 communication transceiver 1 is connect with the PA2 pin of GD32F105VCT6 chip.
In the present embodiment, Fig. 4 shows a kind of 1 pin of RS485 communication transceiver connection in the utility model embodiment
Structural schematic diagram, in conjunction with Fig. 2, realize the connection of RS485 communication transceiver and MCU chip: RO pin is RS485 transceiver communication
Data are transferred in MCU chip by the output end of device by PA3 pin;DI pin is that the driver of RS485 communication transceiver is defeated
Enter end, driving signal is generated by MCU chip and is transmitted to RS485 communication transceiver through PA2 pin.
PA3 pin is multiplexing I/O pin, supports USART2_RX, ADC_IN3, TM2_CH4, TM5_CH4 and TM9_CH2
Input/output.Therefore the analog signal of RS485 communication transceiver transmission directly can carry out mould by MCU chip by PA3 pin
Number conversion, is converted to digital signal, reduces number of devices, minimize communication board.
As optional embodiment, the PA11 pin of GD32F105VCT6 chip and the first RXD of TDx01DCAN chip
Pin connection;The PA12 pin of GD32F105VCT6 chip is connect with the first TXD pin of TDx01DCAN chip;
The PB12 pin of GD32F105VCT6 chip is connect with the 2nd RXD pin of TDx01DCAN chip;GD32F105VCT6 chip
PB13 pin is connect with the 2nd TXD pin of TDx01DCAN chip.
In the present embodiment, RXD pin is the data receiver of TDx01DCAN chip, and TXD pin is TDx01DCAN core
The data sending terminal of piece, as shown in Figure 2, Figure 5 and Figure 6, the function of CAN controller are that microprocessor issues in reception control unit
Data, processing data are simultaneously transmitted to CAN transceiver, and the function of CAN transceiver is that data are passed to bus/from bus to receive data
To CAN controller, wherein the function of CAN transceiver realized by TDx01DCAN chip, the function of CAN controller by
GD32F105VCT6 chip is realized.
As optional embodiment, the first CANG pin, the first CANL pin and the first CANH of TDx01DCAN chip
Pin is correspondingly connected with the CANG pin, CANL pin and CANH pin of first group of CAN bus respectively;TDx01DCAN chip
2nd CANG pin, the 2nd CANL pin and the 2nd CANH pin respectively with the CANG pin of second group of CAN bus, CANL pin
It is correspondingly connected with CANH pin.
In the present embodiment, CAN bus network is accessed by 2 tunnel CAN communication interfaces of GD32F105VCT6 chip.
Although being described in conjunction with the accompanying the embodiments of the present invention, those skilled in the art can not depart from this
Various modifications and variations can be made in the case where the spirit and scope of utility model, and such modifications and variations are each fallen within by appended power
Benefit requires within limited range.
Claims (9)
1. a kind of dual redundant formula RS485-CAN communication board characterized by comprising
RS485 communication transceiver (1);
MCU chip (2), input terminal are connect with the output end of the RS485 communication transceiver (1);
Isolated can communication interface chip (3), the first of the input terminal of the first drive module (31) and the MCU chip (2) are defeated
Outlet connection, the output end of the first drive module (31) are connect with the CAN bus;The input of its second drive module (32)
End is connect with the second output terminal of the MCU chip (2), the output end of the second drive module (32) and the CAN bus (5)
Connection.
2. dual redundant formula RS485-CAN communication board according to claim 1, which is characterized in that the MCU chip (2) is adopted
With GD32F105VCT6 chip, it is used to be used as main control chip and CAN controller chip.
3. dual redundant formula RS485-CAN communication board according to claim 2, which is characterized in that the RS485 transceiver communication
Device (1) uses MX485E chip.
4. dual redundant formula RS485-CAN communication board according to claim 3, which is characterized in that the isolated can communication connects
Mouth chip (3) uses TDx01DCAN chip.
5. dual redundant formula RS485-CAN communication board according to claim 2, which is characterized in that in the MCU chip (2)
Portion is equipped with 2 tunnel CAN controllers and 1 road serial ports, wherein
1 road serial ports is connect with the RS485 communication transceiver;
2 tunnel CAN controller is connect with first drive module (31) and second drive module (32) respectively.
6. dual redundant formula RS485-CAN communication board according to claim 5, which is characterized in that 2 tunnel CAN controller
In CAN controller described at least 1 tunnel it is in operating status.
7. dual redundant formula RS485-CAN communication board according to claim 5, which is characterized in that the RS485 transceiver communication
The RO pin of device (1) is connect with the PA3 pin of the GD32F105VCT6 chip;
The DI pin of the RS485 communication transceiver (1) is connect with the PA2 pin of the GD32F105VCT6 chip.
8. dual redundant formula RS485-CAN communication board according to claim 5, which is characterized in that the GD32F105VCT6
The PA11 pin of chip is connect with the first RXD pin of TDx01DCAN chip;
The PA12 pin of the GD32F105VCT6 chip is connect with the first TXD pin of TDx01DCAN chip;
The PB12 pin of the GD32F105VCT6 chip is connect with the 2nd RXD pin of TDx01DCAN chip;
The PB13 pin of the GD32F105VCT6 chip is connect with the 2nd TXD pin of TDx01DCAN chip.
9. dual redundant formula RS485-CAN communication board according to claim 4, which is characterized in that the TDx01DCAN chip
The first CANG pin, CANG pin, the CANL of the first CANL pin and the first CANH pin respectively with first group of CAN bus draw
Foot and CANH pin are correspondingly connected with;
The 2nd CANG pin, the 2nd CANL pin and the 2nd CANH pin of the TDx01DCAN chip respectively with second group of CAN
CANG pin, CANL pin and the CANH pin of bus are correspondingly connected with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920658083.1U CN209627391U (en) | 2019-05-08 | 2019-05-08 | Dual redundant formula RS485-CAN communication board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920658083.1U CN209627391U (en) | 2019-05-08 | 2019-05-08 | Dual redundant formula RS485-CAN communication board |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209627391U true CN209627391U (en) | 2019-11-12 |
Family
ID=68442719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920658083.1U Active CN209627391U (en) | 2019-05-08 | 2019-05-08 | Dual redundant formula RS485-CAN communication board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209627391U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112152897A (en) * | 2020-09-14 | 2020-12-29 | 珠海格力电器股份有限公司 | Communication chip circuit, communication method, storage medium, and electronic device |
CN113741401A (en) * | 2021-09-18 | 2021-12-03 | 南昌济铃新能源科技有限责任公司 | Car as a house bus system |
CN113741401B (en) * | 2021-09-18 | 2024-05-14 | 南昌智能新能源汽车研究院 | Car as a house bus system |
-
2019
- 2019-05-08 CN CN201920658083.1U patent/CN209627391U/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112152897A (en) * | 2020-09-14 | 2020-12-29 | 珠海格力电器股份有限公司 | Communication chip circuit, communication method, storage medium, and electronic device |
CN112152897B (en) * | 2020-09-14 | 2021-11-02 | 珠海格力电器股份有限公司 | Communication chip circuit, communication method, storage medium, and electronic device |
CN113741401A (en) * | 2021-09-18 | 2021-12-03 | 南昌济铃新能源科技有限责任公司 | Car as a house bus system |
CN113741401B (en) * | 2021-09-18 | 2024-05-14 | 南昌智能新能源汽车研究院 | Car as a house bus system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105785958B (en) | Multi-functional data collector, acquisition system and method based on wisdom factory | |
US9904650B2 (en) | Configuring a remote M-PHY | |
CN107015927B (en) | SoC-based device for supporting multiple SPI interface standard groups | |
CN101087235A (en) | A FPGA-based multi-functional communication interface conversion device and method | |
CN112639756A (en) | Mixed-mode radio frequency front-end interface | |
CN102637453B (en) | Phase change memory including serial input/output interface | |
US20190266122A1 (en) | Multilane heterogenuous serial bus | |
CN110855996B (en) | Image coding and decoding and network transmission method and device based on FPGA | |
CN107436851B (en) | Four-line isolation system of serial peripheral interface and control method thereof | |
CN209627391U (en) | Dual redundant formula RS485-CAN communication board | |
CN101790030A (en) | Digital set top box based on Java processor | |
CN109407574B (en) | Multi-bus selectable output control device and method thereof | |
CN206757602U (en) | A kind of device that multiple SPI interface standard groups are supported based on SoC | |
CN102693203A (en) | Embedded USB (universal serial bus) host | |
CN109992550B (en) | Multi-type information processing device and method based on CPCI bus | |
CN202075963U (en) | Display device combining communication and transmission of power line | |
CN110196830A (en) | A kind of information realtime interactive terminal based on embedded system | |
CN201378316Y (en) | Universal input/output interface extension circuit and mobile terminal with same | |
CN114338837A (en) | HDLC communication conversion controller based on ZYNQ | |
CN210270888U (en) | Single-bus communication circuit | |
CN112433969A (en) | CAN data receiving and transmitting method based on MCU IO and SJA1000 | |
CN108874705B (en) | Serial port-to-single line communication circuit | |
CN101989194A (en) | Secondary development method for wireless communication module | |
CN210836077U (en) | Simple single-bus communication circuit | |
CN201255829Y (en) | Intelligent PLC serial port communication module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |