CN206075271U - A kind of protocol converter for supporting various serial protocols - Google Patents

A kind of protocol converter for supporting various serial protocols Download PDF

Info

Publication number
CN206075271U
CN206075271U CN201620840049.2U CN201620840049U CN206075271U CN 206075271 U CN206075271 U CN 206075271U CN 201620840049 U CN201620840049 U CN 201620840049U CN 206075271 U CN206075271 U CN 206075271U
Authority
CN
China
Prior art keywords
mcu
fpga
gate array
programmable gate
level translators
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
CN201620840049.2U
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.)
Henan Yuling Electronic Technology Co Ltd
Original Assignee
Henan Yuling Electronic Technology Co Ltd
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 Henan Yuling Electronic Technology Co Ltd filed Critical Henan Yuling Electronic Technology Co Ltd
Priority to CN201620840049.2U priority Critical patent/CN206075271U/en
Application granted granted Critical
Publication of CN206075271U publication Critical patent/CN206075271U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

This utility model is related to Ethernet communication technology field, especially a kind of protocol converter of the various serial protocols of support based on MCU and FPGA.This utility model provides the transducer that a kind of TCP/IP based on MCU and FPGA turns various serial protocols,Can solve the problem that most of new data communication transfer problem between old product or equipment,Including MCU、FPGA programmable gate array modules、Ethernet PHY、CAN transceiver、Toggle switch、Multiple level translators、Multiple LEDs and multiple interface connectors,The interface connector has two kinds,Respectively RJ45 adapters and DB9 adapters,Ethernet PHY one end is provided with RJ45 adapters,The other end is connected with the input of MCU,MCU is provided with toggle switch,The outfan of MCU connects the input and multiple LEDs of FPGA programmable gate array modules respectively,The outfan connection CAN transceiver of FPGA programmable gate array modules and multiple level translators,CAN transceiver and multiple level translator outfans are respectively equipped with DB9 adapters.

Description

A kind of protocol converter for supporting various serial protocols
Technical field
This utility model is related to Ethernet communication technology field, especially a kind of various strings of support based on MCU and FPGA The protocol converter of row agreement.
Background technology
As for many years embedded system and single-chip microcomputer are in the extension of all trades and professions so that our production and life is got over More to facilitate, intelligently, the development of interfacing and communication technology also emerges plurality of devices mutual contact mode and communication mode therewith, Such as asynchronous serial agreement, synchronous serial protocol, CAN, SPI, I2C, TCP/IP, USB etc..Industrial products are typically supported such as One or more of the agreement such as asynchronous serial agreement, synchronous serial protocol, CAN, TCP/IP, I2C, commercial product is typically supported TCP/IP, USB, one or more of asynchronous serial agreement.New product is frequently encountered in production and debugging process to be needed together Old product interconnects, but no identical communication interface between product, and the communication protocol of support is different, causes product interconnect And affect manufacturing schedule and efficiency.
Front existing transducer one kind is that realizing, advantage is that speed is high, good reliability using dedicated IC chip, Have the disadvantage single function, motility is not enough.Another kind is, using MCU internal modules, protocol conversion, advantage to be realized using program It is that program is flexible, difference in functionality can be realized according to distinct program, has the disadvantage that programming difficulty is big, sophisticated functions difficulty or ease reality Existing, traffic rate is low.
The content of the invention
In consideration of it, this utility model provides the transducer that a kind of TCP/IP based on MCU and FPGA turns various serial protocols, Can solve the problem that most of new data communication transfer problem between old product or equipment.
In order to achieve the above object, this utility model is achieved through the following technical solutions:
A kind of protocol converter for supporting various serial protocols, including MCU, FPGA programmable gate array module, with PHY, CAN transceiver, toggle switch, multiple level translators, multiple LEDs and multiple interface connectors are netted very much, it is described Interface connector has two kinds, respectively RJ45 adapters and DB9 adapters, and ethernet PHY one end is provided with RJ45 adapters, another End is connected with the input of MCU, and MCU is provided with toggle switch, and the outfan of MCU connects FPGA programmable gate arrays respectively The input of module and multiple LEDs, the outfan connection CAN transceiver and many of FPGA programmable gate array modules Individual level translator, CAN transceiver and multiple level translator outfans are respectively equipped with DB9 adapters.
The level translator includes RS232 level translators, RS485/RS422 level translators and HDLC level conversion Device, the asynchronous serial agreement output port of FPGA programmable gate array modules respectively with RS232 level translators and RS485/RS422 level translators connect, the HDLC protocol output port connection HDLC of FPGA programmable gate array modules Level translator, the CAN protocol output port connection CAN transceiver of FPGA programmable gate array modules.
The RS232 level translators adopt MAX3232 chips, the RS485/RS422 level translators to adopt ADM2582E chips, the HDLC level translators adopt MAX3170CAI chips.
Connected by bus between MCU the and FPGA programmable gate arrays module, bus includes that 16 data are total Line, address bus and controlling bus.
The toggle switch includes that pattern arranges toggle switch and speed arranges toggle switch.
The MCU adopts STM32F107VCT6 technical grade singlechip chips, FPGA programmable gate arrays module to adopt EP3C25E144I8N chips, ethernet PHY adopt DP83848IVV chips.
The beneficial effects of the utility model are:
1. this utility model provide the various serial protocols of the support based on MCU and FPGA protocol converter mainly by MCU and FPGA is constituted;Built using the flexible IP kernel of the TCP/IP disposal abilities of MCU, data dump ability and FPGA and high speed Parallel processing capability, finally realizing the translation function between TCP/IP and various serial protocols;
2. this utility model is can be very good using the parallel data disposal ability of the data storage capacities and FPGA of MCU Make up single function, motility is not enough or be that programming difficulty is big, sophisticated functions difficulty or ease are realized, traffic rate is low existing There is the deficiency of technology, accomplish two-forty, motility is high, while integrated various translation functions.
Description of the drawings:
Fig. 1 is the Nomenclature Composition and Structure of Complexes schematic diagram inside protocol converter of the present utility model;
Fig. 2 is the workflow diagram of MCU inside protocol converter of the present utility model;
Fig. 3 is the internal module structure of FPGA programmable gate arrays module inside protocol converter of the present utility model And connection figure;
Specific embodiment:
Describe in detail with regard to exemplary embodiment of the present utility model according to following accompanying drawing.
A kind of protocol converter for supporting various serial protocols as shown in Figure 1, Figure 2 and Figure 3, including MCU, FPGA can compile Journey logic gate array module, ethernet PHY, CAN transceiver, toggle switch, multiple level translators, multiple LEDs and Multiple interface connectors, the interface connector have two kinds, respectively RJ45 adapters and DB9 adapters, ethernet PHY one end RJ45 adapters are provided with, the other end is connected with the input of MCU, MCU is provided with toggle switch, the outfan of MCU connects respectively The input and multiple LEDs of FPGA programmable gate array modules, the outfan of FPGA programmable gate array modules Connection CAN transceiver and multiple level translators, CAN transceiver and multiple level translator outfans are respectively equipped with DB9 adapters.
The level translator includes RS232 level translators, RS485/RS422 level translators and HDLC level conversion Device, the asynchronous serial agreement output port of FPGA programmable gate array modules respectively with RS232 level translators and RS485/RS422 level translators connect, the HDLC protocol output port connection HDLC of FPGA programmable gate array modules Level translator, the CAN protocol output port connection CAN transceiver of FPGA programmable gate array modules.
The RS232 level translators adopt MAX3232 chips, the RS485/RS422 level translators to adopt ADM2582E chips, the HDLC level translators adopt MAX3170CAI chips.
Connected by bus between MCU the and FPGA programmable gate arrays module, bus includes that 16 data are total Line, address bus and controlling bus.
The toggle switch includes that pattern arranges toggle switch and speed arranges toggle switch.
The MCU adopts STM32F107VCT6 technical grade singlechip chips, FPGA programmable gate arrays module to adopt EP3C25E144I8N chips, ethernet PHY adopt DP83848IVV chips.
Operation principle of the present utility model and workflow are as follows:
Converter inside is mainly by MCU single-chip microcomputers, FPGA programmable gate array modules(Hereinafter referred to as FPGA), ether Net PHY, RS232 level translator, RS485/RS422 level translators, CAN transceiver, power management chip, LED refer to Show lamp, toggle switch and various interface connectors composition, as shown in Figure 2.Models of the MCU from ST Microelectronics's production For STM32F107VCT6 technical grade singlechip chips, which possesses FLASH on 256KB pieces, RAM on 64KB pieces, highest 72MHz work Working frequency, 3.3V running voltages, most 80 available I/O ports are internal various logical containing UART, CAN, ETH, I2C, SPI, USB etc. Letter module.EP3C25E144I8Ns of the FPGA from Altera productions, internal to contain 25K LE unit, 4 PLL, 66 M9K, 608256 RAM bit, 66 multiplication modules, most 82 configurable I/O ports.Ethernet PHY chip is adopted DP83848IVV, supports 10/100M Ethernet speed, supports MII and RMII interfaces.RS232 level shifting circuits are adopted MAX3232 chips, support 2 road RS232 level conversion.RS485/RS422 level shifting circuits adopt ADM2582E chips, internal Charged and interface isolation, it is maximum to support that 256 nodes, highest support 500Kbps traffic rates.HDLC level shifting circuits are adopted MAX3170CAI chips are used, V.35 communication standard is supported.MCP2551 high speed of the CAN transceiver using Microchip productions CAN transponder chip, supports that 1Mb/s operating rates, highest can connect 112 nodes.
During use, good model is set in advance toggle switch and speed setting toggle switch are set(Such as RS232 asynchronous serials Pattern, 9600 baud rates), on transducer after electricity, MCU gathers the state of toggle switch, carries out itself initialization(UDP patterns)With The initialization of FPGA.It is to be initiated finish after, MCU enters data acquisition phase, on the one hand waits RJ45 ends ethernet data frame, On the one hand wait the interrupt signal of FPGA.If receiving ethernet data frame, extract the data segment of Frame, by MCU and Bus between FPGA issues FPGA, and FPGA is received and after unloading using internal corresponding module(Asynchronous serial communication module), Data are sent by DB9 adapters 1 according to 9600 baud rate.If FPGA receives the data of DB9 adapters 1 (FPGA mode of operations are initialized to RS232 asynchronous serial patterns, baud rate 9600), then FPGA can be first by data storage to interior Portion FIFO, after internal FIFO is full or data receiver is finished, FPGA produces an IRQ interrupt signal to MCU, notifies that MCU reads The data of the FIFO of FPGA.After MCU readings data are finished, encapsulate data into UDP frames and sent by RJ45 adapters.
The schematic specific embodiment of this utility model is the foregoing is only, model of the present utility model is not limited to Enclose, any those skilled in the art on the premise of without departing from this utility model design and principle the equivalent variations made and Modification, all should belong to the scope of this utility model protection.

Claims (6)

1. a kind of protocol converter for supporting various serial protocols, including MCU, FPGA programmable gate array module, ether Net PHY, CAN transceiver, toggle switch, multiple level translators, multiple LEDs and multiple interface connectors, its feature It is that the interface connector has two kinds, respectively RJ45 adapters and DB9 adapters, ethernet PHY one end are provided with RJ45 companies Device is connect, the other end is connected with the input of MCU, MCU is provided with toggle switch, the outfan of MCU connects FPGA respectively and may be programmed The input of logic gate array module and multiple LEDs, the outfan connection CAN of FPGA programmable gate array modules Transceiver and multiple level translators, CAN transceiver and multiple level translator outfans are respectively equipped with DB9 adapters.
2. the protocol converter for supporting various serial protocols according to claim 1, it is characterised in that the level conversion Device includes RS232 level translators, RS485/RS422 level translators and HDLC level translators, FPGA programmable gates The asynchronous serial agreement output port of array module is connected with RS232 level translators and RS485/RS422 level translators respectively Connect, the HDLC protocol output port connection HDLC level translators of FPGA programmable gate array modules, FPGA is programmable to patrol Collect the CAN protocol output port connection CAN transceiver of Gate Array module.
3. the protocol converter for supporting various serial protocols according to claim 2, it is characterised in that the RS232 is electric Flat turn parallel operation adopts MAX3232 chips, the RS485/RS422 level translators to adopt ADM2582E chips, and the HDLC is electric Flat turn parallel operation adopts MAX3170CAI chips.
4. the protocol converter for supporting various serial protocols according to claim 1, it is characterised in that the MCU with Connected by bus between FPGA programmable gate array modules, bus includes 16 bit data bus, address bus and control Bus.
5. the protocol converter for supporting various serial protocols according to claim 1, it is characterised in that the toggle switch Toggle switch is set including pattern and speed arranges toggle switch.
6. the protocol converter for supporting various serial protocols according to claim 1, it is characterised in that the MCU is adopted STM32F107VCT6 technical grade singlechip chips, FPGA programmable gate arrays module adopt EP3C25E144I8N chips, Ethernet PHY adopts DP83848IVV chips.
CN201620840049.2U 2016-08-05 2016-08-05 A kind of protocol converter for supporting various serial protocols Active CN206075271U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620840049.2U CN206075271U (en) 2016-08-05 2016-08-05 A kind of protocol converter for supporting various serial protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620840049.2U CN206075271U (en) 2016-08-05 2016-08-05 A kind of protocol converter for supporting various serial protocols

Publications (1)

Publication Number Publication Date
CN206075271U true CN206075271U (en) 2017-04-05

Family

ID=58424889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620840049.2U Active CN206075271U (en) 2016-08-05 2016-08-05 A kind of protocol converter for supporting various serial protocols

Country Status (1)

Country Link
CN (1) CN206075271U (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951386A (en) * 2017-04-21 2017-07-14 济南浪潮高新科技投资发展有限公司 A kind of multifunction converter based on FPGA
CN108228508A (en) * 2017-11-07 2018-06-29 珠海格力节能环保制冷技术研究中心有限公司 Communication interface circuit and communication means
CN109739124A (en) * 2018-12-25 2019-05-10 南京熊猫电子股份有限公司 Multi-bus interface data handling utility system
CN111723033A (en) * 2019-03-18 2020-09-29 华大半导体有限公司 Multifunctional serial communication interface equipment and method thereof
CN112256615A (en) * 2020-10-22 2021-01-22 广东高云半导体科技股份有限公司 USB conversion interface device
CN113391589A (en) * 2021-06-29 2021-09-14 西北工业大学 Unified access and protocol conversion integrated circuit board for heterogeneous equipment of unmanned aerial vehicle
CN113934670A (en) * 2021-09-30 2022-01-14 浙江振东光电科技有限公司 Programmable multi-protocol conversion device based on FPGA

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951386A (en) * 2017-04-21 2017-07-14 济南浪潮高新科技投资发展有限公司 A kind of multifunction converter based on FPGA
CN108228508A (en) * 2017-11-07 2018-06-29 珠海格力节能环保制冷技术研究中心有限公司 Communication interface circuit and communication means
CN109739124A (en) * 2018-12-25 2019-05-10 南京熊猫电子股份有限公司 Multi-bus interface data handling utility system
CN111723033A (en) * 2019-03-18 2020-09-29 华大半导体有限公司 Multifunctional serial communication interface equipment and method thereof
CN112256615A (en) * 2020-10-22 2021-01-22 广东高云半导体科技股份有限公司 USB conversion interface device
CN113391589A (en) * 2021-06-29 2021-09-14 西北工业大学 Unified access and protocol conversion integrated circuit board for heterogeneous equipment of unmanned aerial vehicle
CN113391589B (en) * 2021-06-29 2022-12-27 西北工业大学 Unified access and protocol conversion integrated circuit board for heterogeneous equipment of unmanned aerial vehicle
CN113934670A (en) * 2021-09-30 2022-01-14 浙江振东光电科技有限公司 Programmable multi-protocol conversion device based on FPGA
CN113934670B (en) * 2021-09-30 2024-01-30 浙江振东光电科技有限公司 FPGA-based programmable multi-protocol conversion device

Similar Documents

Publication Publication Date Title
CN206075271U (en) A kind of protocol converter for supporting various serial protocols
CN103885919A (en) Multi-DSP and multi-FPGA parallel processing system and implement method
CN106250334A (en) A kind of information processing system monitored
CN204423111U (en) A kind of SOC (system on a chip) be applied in intelligent grid concentrator
CN103200081A (en) Heterogeneous network environment oriented Internet of things gateway development platform
CN106126473A (en) A kind of data based on standard AMC platform process plate system
CN105281433A (en) Distribution terminal communication system
CN106095724A (en) A kind of information processing board system based on MPC8640D
CN204229397U (en) RS232 serial ports and ethernet interface converter
CN107273324A (en) A kind of server PCIE signal and the change-over circuit of USB3.0 signals
CN206757602U (en) A kind of device that multiple SPI interface standard groups are supported based on SoC
CN206696843U (en) A kind of USB turns UART communication modules
CN203911941U (en) Serial port based on Ethernet interface chip and Ethernet data mutual conversion system
CN208128284U (en) A kind of Ethernet based on S698PM turns Multi-path synchronous serial interface communication apparatus
CN201196089Y (en) Communication circuit used for down-hole instrument
CN208016576U (en) A kind of field information acquisition irrigation system based on the LoRa communication technologys
CN103607286B (en) Multi-functional communication interface machine device based on PowerPC embedded systems
CN206039519U (en) Data processing board based on standard AMC platform
CN205692167U (en) General purpose core core based on PowerPC framework central processing unit
CN204392284U (en) A kind of CAN gateway based on ARM7
CN203351026U (en) Optical fiber sensing signal acquiring and processing device
CN105376560A (en) Universal adapter plate applicable between camera and acquisition computer
CN208094574U (en) A kind of interface convertor of usb bus and high-speed CAN bus
CN202939792U (en) Single-phase dual-channel communication module
CN202178781U (en) Wireless Zigbee and industrial Ethernet bus protocol conversion adapter module

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant