CN202713373U - Multi-protocol converter - Google Patents

Multi-protocol converter Download PDF

Info

Publication number
CN202713373U
CN202713373U CN 201220401399 CN201220401399U CN202713373U CN 202713373 U CN202713373 U CN 202713373U CN 201220401399 CN201220401399 CN 201220401399 CN 201220401399 U CN201220401399 U CN 201220401399U CN 202713373 U CN202713373 U CN 202713373U
Authority
CN
China
Prior art keywords
described microprocessor
protocol converter
microprocessor
ethernet
wiegand
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 201220401399
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.)
GUANGXI NANNING TAISEN ELECTRONIC TECHNOLOGY CO LTD
Original Assignee
GUANGXI NANNING TAISEN 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 GUANGXI NANNING TAISEN ELECTRONIC TECHNOLOGY CO LTD filed Critical GUANGXI NANNING TAISEN ELECTRONIC TECHNOLOGY CO LTD
Priority to CN 201220401399 priority Critical patent/CN202713373U/en
Application granted granted Critical
Publication of CN202713373U publication Critical patent/CN202713373U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a multi-protocol converter which includes a microprocessor. The microprocessor is connected with an Ethernet interface circuit, CAN local area network communication modules, 485 communication modules, a Wiegand driving module, and a 1-Wire communication module respectively via multiple ports. The multi-protocol converter is excellent in reusability, and can help the data information interaction between a PC and devices adopting different protocols through suitable protocol conversion software and methods. The multi-protocol converter is especially suitable for a parking lot stall management system, and facilitates the data information interaction management between the PC which is connected with the Ethernet and various devices which adopt CAN, 485, 1-Wire and Wiegand buses, such as stall information collectors, display screens, a barrier, a barrier machine, a card reader and a humiture sensor.

Description

Multi-protocol converter
Technical field
The utility model relates to the industrial protocol conversion equipment, more particularly relates to a kind of Multi-protocol converter.
Background technology
2007, International Electrotechnical Commission issued the 4th edition IEC61158 standard for Fieldbus, had adopted 20 kinds of buses as international standard.The Different field bus has different applications, does not have a kind of standard for Fieldbus that is applicable to all control fields.Not exclusively compatible between each field bus protocol, cause the subscriber equipment on the Different field bus protocol can not direct communication.At present solution commonly used is to adopt industrial computer to add the field-bus interface card to realize bus communication, but that the shortcoming of this scheme is cost is high, and the construction cycle is long.
Present bus field at the scene, the bus of extensive use has CAN, 485,1-Wire, Wiegand etc.Different fieldbus transmission mediums is different, and corresponding hardware interface circuit is also different, and the communication protocol of operation is different.For example when parking position is managed, for provide accurately, efficiently, manage easily and serve, PC need to carry out data message mutual with plurality of devices (such as parking space information collection device, display screen, banister, barrier machine, card reader, Temperature Humidity Sensor etc.), yet because these equipment have different separately communication modes and communication protocol, can't directly directly be connected with the residing Ethernet of PC.
In the prior art, protocol converter only has 1 road CAN and Ethernet mutually to transmit, and perhaps only has 1 the tunnel 485 mutually to transmit with Ethernet, can't satisfy the data retransmission between multi-protocols, multi-line.For realizing the conversion of different agreement, need the new protocol converter of design.
The utility model content
The purpose of this utility model, namely be to provide a kind of Multi-protocol converter of realizing the data transaction between Ethernet protocol and CAN, 485, Wiegand, the various protocols such as 1-Wire, SPI, this Multi-protocol converter be particularly useful for similar Parking Guidance System such, needs adopt between the equipment (take Parking Guidance System as example, the equipment that may relate to has parking space information collection device, display screen, banister, barrier machine, reads device card, Temperature Humidity Sensor etc.) of PC and multiple employing different agreement and carry out the mutual application system of data message.
The utility model Multi-protocol converter includes microprocessor, and described microprocessor comprises by its a plurality of ports and is connected with respectively ethernet interface circuit, CAN local area network communications module, 485 communication modules, Wiegand driver module, 1-Wire communication module;
Described ethernet interface circuit, one side ports connect the MII/RMII interface of described microprocessor, and the opposite side port is provided with for the RJ45 interface that is connected with Ethernet;
Described CAN local area network communications module, one side ports connect the CAN communication interface of described microprocessor, and the opposite side port is provided with the CAN interface that is connected for the CAN local area network bus;
Described 485 communication modules, the one side ports connects the serial ports of described microprocessor, and the opposite side port is provided with 485 interfaces that are connected for 485 buses;
Described Wiegand driver module, one side ports connect the corresponding I/O mouth of described microprocessor, and the opposite side port is used for being connected with the Wiegand bus;
Described 1-Wire communication module, one side ports connect the corresponding I/O mouth of described microprocessor, and the opposite side port is used for being connected with the 1-Wire bus;
Described microprocessor also is connected with the SPI interface, is used for external wireless communication module.
For the interference such as pre-thunder-lightning transition damage device, preferably also be provided with the bus protection circuit in described each communication module.Described bus protection circuit can be joined mirror and be adopted prior art.
The concrete type selecting of microprocessor described in the utility model Multi-protocol converter, those skilled in the art can select in conjunction with the actual functional capability needs voluntarily according to such scheme, for example can adopt 32 single-chip microcomputers.
For causing components and parts, the power supply line reversal connection that prevents microprocessor damages, as the improvement to above-mentioned Multi-protocol converter technical scheme, between the power input of described microprocessor and the dc power supply of described microprocessor, also comprise and be serially connected with the power supply input protection circuit: behind the positive pole of the dc power supply serial connection fuse, directly or indirectly to be connected to the power input of described microprocessor after step-down anodal; The negative pole of dc power supply is connected to the drain electrode of a N channel enhancement field effect transistor; The source electrode of this field effect transistor connects the earth terminal of described microprocessor, and its grid is connected in series behind the resistance also directly or indirectly is connected to the power input of described microprocessor after step-down anodal.
By top technical scheme as can be known, the utility model Multi-protocol converter durability is good, be aided with suitable protocol conversion software and method, can help the equipment room of PC and various employing different agreements to realize that data message is mutual, especially be fit to be applied to car position management system for parking lot, be convenient to carry out the data message interactive maintenance between plurality of devices that the PC that links to each other with Ethernet and parking space information collection device, display screen, banister, barrier machine, card reader, Temperature Humidity Sensor philosophy adopt CAN, 485, Wiegand, 1-Wire bus.
Description of drawings
Fig. 1 is the networking structure schematic block diagram of the utility model Multi-protocol converter and an embodiment who is applied to parking position when management thereof.
Fig. 2 is the principle schematic of an embodiment of the power supply input protection circuit in the utility model Multi-protocol converter.
Embodiment
Below in conjunction with accompanying drawing the utility model Multi-protocol converter and application thereof are further described.
Fig. 1 is the networking structure schematic block diagram that the utility model Multi-protocol converter is applied to an embodiment in parking position when management.In the empty frame of Fig. 1, be the composition schematic block diagram of the utility model Multi-protocol converter.Multi-protocol converter embodiment as shown in the figure, the ethernet interface circuit, Wiegand driver module, 485 communication modules, CAN local area network communications module, 1-Wire communication module, SPI interface and the function setting module that include microprocessor (CPU) and link to each other with the microprocessor corresponding port; Be aided with suitable protocol conversion software and algorithm, microprocessor matches with respective communication module or interface circuit, finish the data transaction between the various protocols such as Ethernet protocol and Wiegand agreement, Ethernet protocol and 458 agreements, Ethernet protocol and CAN agreement, Ethernet protocol and 1-Wire agreement, Ethernet protocol and SPI agreement, and by the corresponding port forwarding data.Particularly:
Described microprocessor, its concrete type selecting can be selected in conjunction with the actual functional capability needs according to the utility model scheme voluntarily by those skilled in the art, for example can adopt 32 single-chip microcomputers;
Described ethernet interface circuit, one side ports connect the MII/RMII interface of described microprocessor, and its opposite side port is provided with for the RJ45 interface that is connected with Ethernet, are convenient to the interconnection of realization and PC (usually as the back-stage management terminal); Described ethernet interface circuit includes 1 10M/100M self adaptation PHY chip and ethernet network transformer, described PHY chip connects the RJ45 interface by described ethernet network transformer, and be connected with Ethernet by this RJ45 interface, so that the described microprocessor of the utility model Multi-protocol converter communicates with the PC that is connected on the Ethernet, receive the instruction of described PC and upload various data.
Described CAN local area network communications module, one side ports connect the CAN communication interface of described microprocessor, and the opposite side port is provided with the CAN interface that is connected for the CAN local area network bus.When the utility model Multi-protocol converter is applied to the parking position management, a plurality of described CAN local area network communications modules (having adopted 2 CAN local area network communications modules among the embodiment shown in Figure 1) can be set as required, and each CAN local area network communications module is connected with several parking space information collection devices (what adopt among the embodiment of Fig. 1 is ultrasonic wave parking space information collection device).CAN2.0A or CAN2.0B agreement are supported in described local area network communications module design.When PC need to obtain the data of parking space information collection device collection, at first by Ethernet instruction is conveyed to ethernet interface circuit and then be input among the CPU of Multi-protocol converter, CPU finishes the protocol conversion of " Ethernet---CAN " by software algorithm, instruction is outputed to the CAN local area network communications module; Then, the instruction of PC being passed on by the CAN local area network bus of CAN local area network communications module is handed down to the parking space information collection device.When receiving the data that the parking space information collection device collects, the parking space information collection device is crossed the CAN local area network bus with data communication device and is uploaded to CPU, after CPU finishes the protocol conversion of " CAN---Ethernet " by software algorithm, export to ethernet interface circuit, be uploaded to PC by ethernet interface circuit by Ethernet.
Described 485 communication modules, the one side ports connects the serial ports of described microprocessor, and the opposite side port is provided with 485 interfaces that are connected for 485 buses; The utility model Multi-protocol converter of Fig. 1 is applied to be provided with two 485 communication modules among the embodiment of parking position management, and designs it and support MODBUS communication protocol; The CPU of Multi-protocol converter is by these two 485 communication modules connections each 485 equipment based on the MODBUS communication protocol standard, such as a plurality of LED displays, banister, barrier machine etc.When needs operate corresponding 485 equipment, PC can by Ethernet with instruction convey to ethernet interface circuit and and then be input among the CPU of Multi-protocol converter, CPU finishes the protocol conversion of " Ethernet---485 " by software algorithm, instruction is outputed to 485 communication modules; Then the instruction that PC is passed on of 485 communication modules is handed down to 485 equipment of appointment by 485 buses.When need receiving the data that described 485 equipment upload, corresponding data communication device is crossed the CPU that 485 buses send to Multi-protocol converter, CPU exports to ethernet interface circuit finish the protocol conversion of " 485---Ethernet " by software algorithm after, sends PC by ethernet interface circuit to by Ethernet.
Described Wiegand driver module, one side ports connect the corresponding I/O mouth of described microprocessor, and the opposite side port is used for being connected with the Wiegand bus.The utility model Multi-protocol converter of Fig. 1 is applied among the embodiment of parking position management, the described Wiegand driver module that arranges is supported Wiegand communication protocol, and the CPU of Multi-protocol converter connects equipment such as RFID card reader, access controller etc. based on the Wiegand agreement by Wiegand driver module and Wiegand bus.When PC need to operate described Wiegand equipment, instruction is conveyed to ethernet interface circuit and then be input among the CPU of Multi-protocol converter by Ethernet, CPU finishes the protocol conversion of " Ethernet---Wiegand " by software algorithm, instruction is outputed to the Wiegand driver module; Then the instruction that PC is passed on of Wiegand driver module is handed down to described Wiegand equipment.When described Wiegand equipment needs uploading data, at first data communication device is crossed the CPU that the Wiegand bus is uploaded to Multi-protocol converter, CPU exports to ethernet interface circuit finish the protocol conversion of " Wiegand---Ethernet " by software algorithm after, sends PC by ethernet interface circuit to by Ethernet.
Described 1-Wire communication module, one side ports connect the corresponding I/O mouth of described microprocessor, and the opposite side port is used for being connected with the 1-Wire bus.The utility model Multi-protocol converter of Fig. 1 is applied among the embodiment of parking position management, because ultrasonic wave parking space information collection device needs temperature and humidity data in the current environment to revise its running parameter, therefore being set, described 1-Wire communication module links to each other with the temperature/humidity testing circuit by the 1-Wire bus; CPU gathers environment temperature, humidity data by the 1-Wire communication module, and temperature, the humidity data that will collect by described CAN local area network communications module again is handed down to all ultrasonic wave parking space information collection devices to be used for revising its running parameter.
Described microprocessor also is connected with the SPI interface, is used for external wireless communication module.The utility model Multi-protocol converter at Fig. 1 is applied among the embodiment of parking position management, can realize the wireless self-networking function by the Zigbee module that connects based on the SPI interface, also can connect based on the WIFI module of SPI interface and connect into from here local area network (LAN) to realize and the communicating by letter of PC.
The utility model Multi-protocol converter at Fig. 1 is applied among the embodiment of parking position management, and described microprocessor also is connected with the function setting module by its USART interface.When PC connects this interface by the RS232 agreement, can be used for setting the running parameter of this protocol converter.
For the interference such as pre-thunder-lightning transition damage device, preferably also be provided with the bus protection circuit in above-mentioned each communication module, to improve the reliability of telecommunication circuit.
For causing components and parts, the power supply line reversal connection that prevents microprocessor damages, between the power input of the described microprocessor of the utility model Multi-protocol converter and the dc power supply of described microprocessor, also comprise the power supply input protection circuit that is serially connected with as shown in Figure 2: the anodal VCC_IN serial connection fuse F1(recommendation resettable fuse of dc power supply), directly or after step-down, indirectly be connected to the anodal VCC of power input of described microprocessor; The negative pole of dc power supply is connected to the drain electrode of a N channel enhancement field effect transistor Q1; The source electrode of this field effect transistor Q1 connects the earth terminal of described microprocessor, and its grid is connected in series after the resistance R 30 also directly or indirectly is connected to the anodal VCC of power input of described microprocessor after step-down.This power supply input protection circuit can directly be connected between microprocessor and its direct power supply, and also can be connected on as microprocessor provides between the dc power supplies at different levels of power supply.The operation principle of this power supply input protection circuit: when the power supply forward was inputted, the conducting of N channel enhancement field effect transistor because its tube voltage drop is minimum, thereby can be the rear class load normal power supply is provided; And during reversal of power input (being reversal connection), not conducting of field effect transistor, rear class load can be not damaged; When power supply forward input current was excessive, protective tube blew, thus the effect of performance circuit protection.As required, also can in this power supply input protection circuit, set up light-emitting diode, so that the reverse power connection alarm to be provided.
Adopt the car position management system for parking lot of the utility model Multi-protocol converter, the information that Multi-protocol converter can collect each ultrasonic wave parking space information collection device that connects is collected, and feed back to microprocessor, finish data by microprocessor and process, and the LED indicator panel that the parking stall data after will processing send to the parking lot carries out the demonstration of empty parking space information; Simultaneously, also can realize unified monitoring and management to plurality of devices such as banister, barrier machine, card reader, Temperature Humidity Sensors.

Claims (4)

1. Multi-protocol converter, include microprocessor, it is characterized in that: described microprocessor comprises by its a plurality of ports and is connected with respectively ethernet interface circuit, CAN local area network communications module, 485 communication modules, Wiegand driver module, 1-Wire communication module;
Described ethernet interface circuit, one side ports connect the MII/RMII interface of described microprocessor, and the opposite side port is provided with for the RJ45 interface that is connected with Ethernet;
Described CAN local area network communications module, one side ports connect the CAN communication interface of described microprocessor, and the opposite side port is provided with the CAN interface that is connected for the CAN local area network bus;
Described 485 communication modules, the one side ports connects the serial ports of described microprocessor, and the opposite side port is provided with 485 interfaces that are connected for 485 buses;
Described Wiegand driver module, one side ports connect the corresponding I/O mouth of described microprocessor, and the opposite side port is used for being connected with the Wiegand bus;
Described 1-Wire communication module, one side ports connect the corresponding I/O mouth of described microprocessor, and the opposite side port is used for being connected with the 1-Wire bus;
Described microprocessor also is connected with the SPI interface, is used for external wireless communication module.
2. Multi-protocol converter according to claim 1 is characterized in that: in described each communication module, also be provided with the bus protection circuit.
3. Multi-protocol converter according to claim 1 and 2 is characterized in that: 32 single-chip microcomputers of described microprocessor employing.
4. Multi-protocol converter according to claim 1 and 2, it is characterized in that, between the power input of described microprocessor and the dc power supply of described microprocessor, also comprise and be serially connected with the power supply input protection circuit: behind the positive pole of the dc power supply serial connection fuse, directly or indirectly to be connected to the power input of described microprocessor after step-down anodal; The negative pole of dc power supply is connected to the drain electrode of a N channel enhancement field effect transistor; The source electrode of this field effect transistor connects the earth terminal of described microprocessor, and its grid is connected in series behind the resistance also directly or indirectly is connected to the power input of described microprocessor after step-down anodal.
CN 201220401399 2012-08-14 2012-08-14 Multi-protocol converter Expired - Fee Related CN202713373U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220401399 CN202713373U (en) 2012-08-14 2012-08-14 Multi-protocol converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220401399 CN202713373U (en) 2012-08-14 2012-08-14 Multi-protocol converter

Publications (1)

Publication Number Publication Date
CN202713373U true CN202713373U (en) 2013-01-30

Family

ID=47593628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220401399 Expired - Fee Related CN202713373U (en) 2012-08-14 2012-08-14 Multi-protocol converter

Country Status (1)

Country Link
CN (1) CN202713373U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104684A (en) * 2014-07-23 2014-10-15 哈尔滨工程大学 Field bus multi-protocol converter
CN106060047A (en) * 2016-05-31 2016-10-26 上海凌科智能科技有限公司 Multi-protocol switching method and multi-protocol conversion device for security system
CN110191040A (en) * 2019-06-25 2019-08-30 长沙瀚鹏电子技术有限公司 A kind of human-computer interaction network controller, method and system
CN110752945A (en) * 2019-10-15 2020-02-04 广东沅朋网络科技有限公司 Intelligent parameter configuration and implementation method for 485 communication interface of industrial gateway

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104684A (en) * 2014-07-23 2014-10-15 哈尔滨工程大学 Field bus multi-protocol converter
CN106060047A (en) * 2016-05-31 2016-10-26 上海凌科智能科技有限公司 Multi-protocol switching method and multi-protocol conversion device for security system
CN110191040A (en) * 2019-06-25 2019-08-30 长沙瀚鹏电子技术有限公司 A kind of human-computer interaction network controller, method and system
CN110752945A (en) * 2019-10-15 2020-02-04 广东沅朋网络科技有限公司 Intelligent parameter configuration and implementation method for 485 communication interface of industrial gateway
CN110752945B (en) * 2019-10-15 2022-12-09 广东沅朋网络科技有限公司 Intelligent parameter configuration and implementation method for 485 communication interface of industrial gateway

Similar Documents

Publication Publication Date Title
CN105785958B (en) Multi-functional data collector, acquisition system and method based on wisdom factory
CN202713373U (en) Multi-protocol converter
CN102611307B (en) A kind of parasite power supplier being applied to power receiving equipment in Power over Ethernet system
CN202711493U (en) Parking stall guiding system
CN103309338A (en) Power consumption management control method based on intelligent part, intelligent part and power consumption management control system
CN103227758B (en) A kind of fiber optic Ethernet switch and control method
CN206835124U (en) A kind of Intelligent internet of things gateway
CN105353683A (en) MBUS-based multifunctional energy consumption data acquisition controller
CN102788898A (en) Electric energy meter self-adapting multiple pluggable communication modules
CN202421242U (en) Electric energy meter self-adaptive to various pluggable communication modules
CN207926639U (en) A kind of elevator protocol conversion apparatus and elevator Internet of things system
KR101591575B1 (en) Combined wire-wireless type Solar smarter box using multiple power
CN205121237U (en) Controller
CN205754298U (en) A kind of intelligent communication extension element being applied to photovoltaic generating system
CN201689410U (en) Multiplex switching value bus transmission module
CN213094227U (en) Edge intelligent gateway for power supply safety management
CN205139637U (en) Multi -functional energy consumption data acquisition controller based on MBUS
CN204465583U (en) A kind of visual and PoE switch of self-healing
CN104023440B (en) Public illumination MANET remote controllers and method
CN204006498U (en) Intelligent monitor system
CN202615153U (en) ZigBee wireless acquisition communication device
CN102637006A (en) Method and device for real-time acquisition of working state of electronic equipment
CN207910943U (en) A kind of POE electronic wiring frames
CN206773119U (en) A kind of multi-channel long networking electrical equipment online supervision configures system
CN205920348U (en) A intelligence is opened and is gone into to leave module for photovoltaic electricity measurement and control device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
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: 20130130

Termination date: 20180814