CN206077440U - A kind of communication protocol converter - Google Patents
A kind of communication protocol converter Download PDFInfo
- Publication number
- CN206077440U CN206077440U CN201621009056.4U CN201621009056U CN206077440U CN 206077440 U CN206077440 U CN 206077440U CN 201621009056 U CN201621009056 U CN 201621009056U CN 206077440 U CN206077440 U CN 206077440U
- Authority
- CN
- China
- Prior art keywords
- communication
- circuit
- communication protocol
- data
- mcu
- 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
Landscapes
- Communication Control (AREA)
Abstract
This utility model provides a kind of communication protocol converter, including MCU microprocessors and provides power circuit, CAN communication protocol circuit, serial port protocol interface circuit and data storage circuitry for signal processing;The CAN communication circuit includes CAN isolated transceiver and CAN communication power isolation circuit, and the receiving data pin and transmission data pin of the CAN isolated transceiver connect MCU microprocessors by a CAN communication power isolation circuit respectively;The serial port protocol interface circuit includes the data is activation driver being connected with MCU microprocessor signals and data receiver driver.This utility model completes the protocol conversion work between the serial ports such as CAN and RS 422, RS 485;Due to be communication power supply be individually isolation, admittedly also there is while ensureing system stability reliably working data storage, breakpoint to retransmit and the function such as failed storage inquiry.
Description
Technical field
This utility model belongs to protocol converter field, particularly with regard to the mutual conversion equipment of several communications protocol.
Background technology
Field bus technique has stronger opening, operability, Realtime Capability of Communication and the adaptation to environment because of which
The features such as property, it is widely used in industrial control field, in view of the multiformity of fieldbus, studies carefully the fieldbus of its various criterion
Interconnection become particularly important.
It is desirable to provide a kind of two kinds of CAN Bus communications protocol that can solve the problem that industrial circle application is wider and
The solution of the problem of the RS-422 communications protocol compatibilitys.
The content of the invention
Given this demand, this utility model is directed to a kind of communication protocol converter, to realize CAN and RS-
422nd, the protocol conversion work between the serial ports such as RS-485.
To reach above-mentioned purpose, what the technical solution of the utility model was realized in:
A kind of communication protocol converter, including MCU microprocessors and the working power circuit being connected with its signal, CAN be logical
News circuit, serial port protocol interface circuit and data storage circuitry;The CAN communication circuit include CAN isolated transceiver and
CAN communication power isolation circuit, the receiving data pin and transmission data pin of the CAN isolated transceiver pass through respectively
One CAN communication power isolation circuit connects MCU microprocessors;The serial port protocol interface circuit includes and MCU microprocessors
The data is activation driver and data receiver driver of signal connection.
Further, what the MCU microprocessors were selected is the ARM Cortex-M4 cores with CAN controller
STM32F407VCT6 chips.
Further, the working power circuit includes first voltage transducer, second voltage transducer and CAN communication electricity
Source circuit, the outfan connection second voltage transducer and the input of CAN communication power circuit of the first voltage transducer,
The first voltage transducer switchs to DC5V, the second voltage transducer and isolated form for external voltage is input into DC12V
Electric pressure converter is for switching to DC3.3V by DC5V voltages;The CAN communication power circuit includes isolated form electric pressure converter, its
Outfan connects CAN communication circuit.
Further, the data storage circuitry mainly includes eeprom memory.
Further, also include the working state of system indicating circuit being connected with MCU microprocessor signals.
Further, the serial port protocol interface circuit is RS-422 interface circuits.
Relative to prior art, this utility model has the advantage that:
(1) complete the protocol conversion work between the serial ports such as CAN and RS-422, RS-485;
(2) due to be communication power supply be individually isolation, admittedly ensure also to deposit with data while system stability reliably working
The functions such as storage, breakpoint repeating transmission and failed storage inquiry.
Description of the drawings
The accompanying drawing for constituting a part of the present utility model is used for providing further understanding to of the present utility model, and this practicality is new
The schematic description and description of type is used to explain this utility model, does not constitute to improper restriction of the present utility model.
In accompanying drawing:
Theory diagrams of the Fig. 1 for communication protocol converter described in this utility model embodiment;
Circuit theory diagrams of the Fig. 2 for first voltage transducer described in this utility model embodiment;
Circuit theory diagrams of the Fig. 3 for second voltage transducer described in this utility model embodiment;
Circuit theory diagrams of the Fig. 4 for CAN communication power circuit described in this utility model embodiment;
Circuit theory diagrams of the Fig. 5 for CAN isolated transceiver described in this utility model embodiment;
Circuit theory diagrams of the Fig. 6 for CAN communication power isolation circuit described in this utility model embodiment;
Circuit theory diagrams of the Fig. 7 for RS-422 interface circuits described in this utility model embodiment;
Circuit theory diagrams of the Fig. 8 for data storage circuitry described in this utility model embodiment.
Specific embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in this utility model can
To be mutually combined.
Below with reference to the accompanying drawings and in conjunction with the embodiments describing this utility model in detail.
A kind of communication protocol converter, as shown in figure 1, the working power being connected including MCU microprocessors and with its signal
Circuit, CAN communication circuit, serial port protocol interface circuit and data storage circuitry etc.,
What MCU microprocessors described in the present embodiment were selected is the ARM Cortex-M4 core pieces with CAN controller
STM32F407VCT6, its internal CAN controller circuit is designed according to CAN specification, can fully achieve CAN
Bus protocol.RS-422 communications protocol is then by its specialized protocol conversion chip realizing.It is mainly used in completing the association of transducer
The work such as view transmitting-receiving, system administration.
The present embodiment selects STM32F4xx series processors, can provide powerful hardware debugging interface-JTAG and adjust
Try mouth and serial line interface, greatly facilitate the design of the product, shorten the construction cycle of product.Moreover STM32F4xx
The embedded flash memories of processor allow In-circuit programming (In2Circuit Pro2gramming, ICP) and compile in the application
Journey (In2Application Program2ming, IAP).Using programming in the application, only needing just can be with by a Serial Port Line
Complete the renewal of product firmware.
As shown in Figure 5,6, the CAN communication circuit includes CAN isolated transceiver and CAN communication isolated from power electricity
Road, the CAN communication power isolation circuit is optocoupler, the receiving data pin of the CAN isolated transceiver and sends number
MCU microprocessors are connected by an optocoupler respectively according to pin, CAN data transmit-receive is completed;The CAN communication isolated from power
Circuit is that CAN isolated transceiver and optocoupler provide power supply.
What CAN isolated transceiver described in the present embodiment was selected is SN65HVD230CAN Bus isolation transceivers, optocoupler
From be Toshiba TLP2362 ultrahigh speed optocouplers, accomplish completely isolated on before and after's communication power supply, improve CAN section
Point capacity of resisting disturbance, it is ensured that electrically completely isolated and independent between each node.
As shown in fig. 7, the serial port protocol interface circuit includes that the data is activation being connected with MCU microprocessor signals is driven
Device and data receiver driver, the serial port protocol interface circuit of the present embodiment is RS-422 interface circuits, completes RS-422 buses
The transmitting-receiving of data;The data is activation driver and data receiver driver are respectively from the TI's with difference function high speed
The transmitting-receiving driving chip of DS34LV86 and DS34LV87 as data, its operating voltage range is+3V~+7V, super low-power consumption electricity
Stream reaches Icc=9mA, and message transmission rate is up to 32MHz, as the wide electric level interface of driver can be with DC+3V~DC+5V's
MCU microprocessors are directly connected to, and eliminate level match problem, and being not required to addition electrical level transferring chip reduces cost.
Because it is 3.3V that the running voltage VDD representative value of MCU microprocessors is standard setting, therefore, the work electricity
Source circuit includes first voltage transducer, second voltage transducer and CAN communication power circuit, the first voltage transducer
Outfan connects the input of second voltage transducer and CAN communication power circuit, and the first voltage transducer is used for will be outer
Portion's control source DC12V switchs to DC5V, and the second voltage transducer and isolated form electric pressure converter are for DC5V voltages are turned
For DC3.3V.The CAN communication power circuit includes isolated form electric pressure converter, and its outfan connects CAN communication circuit.
As shown in Fig. 2 the present embodiment first voltage transducer selects the electric pressure converter of model K7805-1000, such as scheme
Shown in 3, second voltage transducer selects the 1117M3-3.3 chips of TI, as shown in figure 4, the isolated form electric pressure converter is selected
TDK-Lambda(CC1R5-0503SR-E)。
STM32F407 microcontroller chips have five pairs of power vd D_1 (VSS_1)~VDD_5 (VSS_5), are required to 0.1uF's
Electric capacity switches to ground AC noise, plays burning voltage effect.A value is also needed between VDD_3 and VSS_3 for 4.7uF's
Electric capacity discharges stabilized supply voltage electric energy for energy storage and when needing, needs on pcb board nursing one's health voltage
Electric capacity be placed on chip power pin it is as near as possible where, such effect is better.
As shown in figure 8, the data storage circuitry mainly includes eeprom memory, what this utility model was selected is
The MB85RS1MT ferroelectric memorys (Memory FRAM) of FUJITSU, the memory capacity of MB85RS1MT is 1M (128K × 8)
Bit, is carried out data transmission by STM32F407VGT6 chips of the SPI interface with MCU microprocessors, and operation rate is reached as high as
To 30MHz, circuit theory diagrams are as shown in fig. 7, use it to storage configuration information and the fault message that constantly produces in case look into afterwards
Ask.
Also include the working state of system indicating circuit being connected with MCU microprocessor signals, for being displayed in data transfer
During warning, error message and transition status.
This utility model communication protocol converter uses store-and-forward mechanism, and its effect is:Receive a kind of scene
The data that bus apparatus are sent, obtain the information required for user, after parsing packet according still further to another kind of bus protocol
Which is packed, the corresponding equipment of the bus is subsequently sent to.
CAN of the present embodiment based on ARM Cortex-M4 cores and RS-422 protocol converters are except can be well
The conversion work of bus protocol is completed, also with the function such as data are temporary, breakpoint is retransmitted and failure is preserved.And may be displayed on
Warning in data transmission procedure, error message and transition status, in view of at present the various bus joint developments of industrial circle and
Various buses have the state of different advantages again, study the interconnection between each bus and information is exchanged and has great significance, this side
Method also has certain reference value for the protocol conversion for studying other buses.
Preferred embodiment of the present utility model is the foregoing is only, it is not to limit this utility model, all at this
Within the spirit and principle of utility model, any modification, equivalent substitution and improvements made etc. should be included in this utility model
Protection domain within.
Claims (7)
1. a kind of communication protocol converter, it is characterised in that:The working power electricity being connected including MCU microprocessors and with its signal
Road, CAN communication circuit, serial port protocol interface circuit and data storage circuitry;
The CAN communication circuit includes CAN isolated transceiver and CAN communication power isolation circuit, the CAN isolation
The receiving data pin and transmission data pin of transceiver connects the micro- places of MCU by a CAN communication power isolation circuit respectively
Reason device;
The serial port protocol interface circuit includes that the data is activation driver being connected with MCU microprocessor signals and data receiver are driven
Dynamic device.
2. communication protocol converter according to claim 1, it is characterised in that:What the MCU microprocessors were selected is band
There are the ARM Cortex-M4 core STM32F407VCT6 chips of CAN controller.
3. communication protocol converter according to claim 1, it is characterised in that:The working power circuit includes that first is electric
Pressure converter, second voltage transducer and CAN communication power circuit, the outfan connection second of the first voltage transducer are electric
The input of pressure converter and CAN communication power circuit, the first voltage transducer turn for external voltage is input into DC12V
For DC5V, the second voltage transducer and isolated form electric pressure converter are for switching to DC3.3V by DC5V voltages;The CAN leads to
News power circuit includes isolated form electric pressure converter, and its outfan connects CAN communication circuit.
4. communication protocol converter according to claim 2, it is characterised in that:The MCU microprocessors have five pairs of power supplys
VDD_1 (VSS_1)~VDD_5 (VSS_5), be both needed to by the electric capacity of 0.1uF AC noise switch to ground, VDD_3 with
Connect electric capacity of the value for 4.7uF between VSS_3.
5. communication protocol converter according to claim 1, it is characterised in that:The data storage circuitry mainly includes
Eeprom memory.
6. communication protocol converter according to claim 1, it is characterised in that:Also include connecting with MCU microprocessor signals
The working state of system indicating circuit for connecing.
7. communication protocol converter according to claim 1, it is characterised in that:The serial port protocol interface circuit is RS-
422 interface circuits.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621009056.4U CN206077440U (en) | 2016-08-31 | 2016-08-31 | A kind of communication protocol converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621009056.4U CN206077440U (en) | 2016-08-31 | 2016-08-31 | A kind of communication protocol converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206077440U true CN206077440U (en) | 2017-04-05 |
Family
ID=58436321
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621009056.4U Active CN206077440U (en) | 2016-08-31 | 2016-08-31 | A kind of communication protocol converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206077440U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977212A (en) * | 2017-12-08 | 2018-05-01 | 延锋伟世通电子科技(南京)有限公司 | Support the high speed cd-rom recorder of multiple communication modes |
CN107991936A (en) * | 2017-12-25 | 2018-05-04 | 天津七二通信广播股份有限公司 | The control circuit and implementation method of compatible 450MHz, 800MHz channel device |
CN114374578A (en) * | 2021-12-27 | 2022-04-19 | 汉博来自控科技(上海)有限公司 | Data transmission system compatible with serial port communication and CAN communication for engineering machinery |
-
2016
- 2016-08-31 CN CN201621009056.4U patent/CN206077440U/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977212A (en) * | 2017-12-08 | 2018-05-01 | 延锋伟世通电子科技(南京)有限公司 | Support the high speed cd-rom recorder of multiple communication modes |
CN107991936A (en) * | 2017-12-25 | 2018-05-04 | 天津七二通信广播股份有限公司 | The control circuit and implementation method of compatible 450MHz, 800MHz channel device |
CN114374578A (en) * | 2021-12-27 | 2022-04-19 | 汉博来自控科技(上海)有限公司 | Data transmission system compatible with serial port communication and CAN communication for engineering machinery |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206077440U (en) | A kind of communication protocol converter | |
CN102088444A (en) | PROFIBUS DP and PROFIBUS PA protocol conversion gateway module | |
CN104796356A (en) | Vehicle-mounted Ethernet switch and signal transceiving and train reconnecting method for railway vehicles | |
CN101594171B (en) | Power cord chopper communication transceiving circuit | |
CN201207647Y (en) | Two-wire system non-polarity master-slave type communication transceiver | |
CN108566324B (en) | System and method based on isolated dual Ethernet and dual CAN communication | |
CN106773892A (en) | The digital and analogue signals harvester of industry is equipped towards electrician | |
CN103926862B (en) | The means of communication of micro energy lose M-bus slave terminal circuits for intelligence instrument communication | |
CN203301498U (en) | Redundant communication circuit based on RS485 serial interface | |
CN201867801U (en) | Communication signal conversion device for air conditioner | |
CN110515875A (en) | A kind of Power supply circuit and method | |
CN108880878A (en) | NB-IOT network switching device | |
CN207475583U (en) | A kind of direct current carrier communication interface circuit of achievable power delivery | |
WO2022041001A1 (en) | Intra-board communication circuit and device employing can communication | |
CN206893961U (en) | A kind of USB turns AccessPort line | |
CN103179012A (en) | FlexRay network node adopting iCoupler magnetic isolation protecting measures | |
CN208094574U (en) | A kind of interface convertor of usb bus and high-speed CAN bus | |
CN207216605U (en) | A kind of passive low-consumption wireless serial port debugger | |
CN106711719B (en) | A kind of adaptive serial line interface patchcord of male connector to female | |
CN106707946A (en) | Data line for communication between S7-200PLC and ACE3600RTU | |
CN101738988B (en) | Communication circuit of programmer for electric vehicle controller | |
CN211063627U (en) | Pulse generator based on real-time industrial Ethernet | |
CN202257561U (en) | Protocol converters | |
CN103259705B (en) | Based on the snake-shaped robot communication system of the CAN of charged isolation | |
CN206412829U (en) | A kind of UPS exchanges Parallel Control circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |