CN101969393B - Protocol converter for FlexRay bus and PC104 bus - Google Patents

Protocol converter for FlexRay bus and PC104 bus Download PDF

Info

Publication number
CN101969393B
CN101969393B CN2010105215726A CN201010521572A CN101969393B CN 101969393 B CN101969393 B CN 101969393B CN 2010105215726 A CN2010105215726 A CN 2010105215726A CN 201010521572 A CN201010521572 A CN 201010521572A CN 101969393 B CN101969393 B CN 101969393B
Authority
CN
China
Prior art keywords
bus
flexray
over
flexray bus
change step
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
CN2010105215726A
Other languages
Chinese (zh)
Other versions
CN101969393A (en
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.)
Mianyang Weibo Electronic Co Ltd
Original Assignee
Mianyang Weibo Electronic 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 Mianyang Weibo Electronic Co Ltd filed Critical Mianyang Weibo Electronic Co Ltd
Priority to CN2010105215726A priority Critical patent/CN101969393B/en
Publication of CN101969393A publication Critical patent/CN101969393A/en
Application granted granted Critical
Publication of CN101969393B publication Critical patent/CN101969393B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a protocol converter for a FlexRay bus and a PC104 bus. The converter comprises base hardware and support software, wherein the base hardware comprises a power supply adapting module and a protocol conversion module, and the support software is a finite state machine implemented based on state query and response mechanism. The protocol converter can efficiently and reliably realize bidirectional communication between nodes of the FlexRay bus and the PC104 bus in real time, meanwhile, positions, identifies, analyzes, tracks and detects the bus communication fault, solves the problems of signal interfaces and data exchange between the FlexRay bus and the PC104 bus, and has the advantages of low network time delay, reasonable dynamic distribution of data frames, accurate and quick fault positioning and convenience for quick and effective integration of a multi-bus control system.

Description

A kind of protocol converter that is used for FlexRay bus and PC104 bus
Technical field
The invention belongs to field bus communication control technology field, be specifically related to the protocol converter of a kind of FlexRay of being used for bus and PC104 bus.The present invention can be used for Auto Electronic Controlled System and industrial bus control system.
Background technology
In Auto Electronic Controlled System and industrial bus control system, usually need use multiple bussing technique in the same control system.Signaling interface between the bus and protocol conversion problem directly influence the quick effective integration of The whole control system.As a kind of emerging have transmission confirmability and the machine-processed high-speed bus of failure tolerant, the FlexRay bus also needs to be resolved hurrily and buses such as present widely used PC104, USB, CAN between interface problem.
Summary of the invention
In order to solve signaling interface and the protocol conversion problem between FlexRay bus and the PC104 bus, the present invention provides the protocol converter of a kind of FlexRay of being used for bus and PC104 bus.This protocol converter is based on FlexRay bus and PC104 bus communication agreement; Realize the on-the-spot full duplex real time communication between FlexRay bus and the PC104 bus; And seamless integrated identification, analysis, tracking and detection failure technology; Solve signaling interface and exchanges data problem between FlexRay bus and the PC104 bus, be convenient to the quick effective integration of multibus control system.
The technical solution adopted for the present invention to solve the technical problems is following:
The present invention provides the protocol converter of a kind of FlexRay of being used for bus and PC104 bus, and it comprises bottom hardware and support programs two large divisions.
Bottom hardware comprises protocol conversion module, power adaptation module two parts.
Protocol conversion module is the core of said protocol converter bottom hardware, comprises master controller, FlexRay bus control unit, voltage isolation transducer, FlexRay bus transceiver and signal lamp.Solidify FlexRay bus and PC104 bus protocol conversion logic and configuration item in the master controller; Realize exchanges data and Communication Control between FlexRay bus and the PC104 bus; It is connected with exterior PC 104 main control computers; And signal is realized voltage isolation and conversion via the voltage isolation transducer, be connected with the FlexRay bus control unit.The FlexRay bus control unit is configured and controls FlexRay bus communication process, and it is connected with the voltage isolation transducer realizes that voltage of signals is isolated and conversion, is connected with the FlexRay bus transceiver then.The FlexRay bus transceiver is connected with outside FlexRay network, is the interface of FlexRay bus control unit and physics FlexRay bus, for outside FlexRay network provides differential reception and transmitting capacity.Signal lamp is connected with primary processor, indication bus communication state and fault message.
Power adaptation module is that protocol conversion module provides required direct voltage, comprises power transfer module, electric source filter circuit and power supply indicator.Power adaptation module is through the PC104 EBI; Obtain direct voltage from exterior PC 104 main control computers; Through electric source filter circuit electric current is cushioned and filtering; Convert required direct voltage into via power transfer module, supply power, and be connected to show power supply state with power supply indicator to the protocol conversion module related circuit.
Support programs are stored in the master controller, and exchanges data and communication process between FlexRay bus and the PC104 bus are controlled, and mainly realize finite state machine, carry out following steps:
1) Status Flag bit vector power-up initializing;
2) the protocol converter self-detection mechanism checkout gear according to FlexRay bus and PC104 bus starts successfully sign, if this flag bit is effective, changes step 4) over to, otherwise, change step 3) over to;
3) fault detect identification, location and processing, and finish operation;
4) detect self check and successfully indicate,, change step 5) over to if this flag bit is effective, otherwise, change step 3) over to;
5) test initialization successfully indicates, if this flag bit is effective, changes step 6) over to, otherwise, change step 3) over to;
6) detect finite state machine and successfully start sign,, change step 7) over to if this flag bit is effective, otherwise, change step 3) over to; 7) detect the key node Status Flag,, change step 8) over to if this flag bit is effective, otherwise, change step 3) over to;
8) detect end operation request flag,, change step 10) over to if this flag bit is effective, otherwise, step 7) returned via step 9);
9) self adaptation is regulated;
10) detect sign out of service,, change step 11) over to if this flag bit is effective, otherwise, change step 3) over to;
11) set done state for finishing operation and outage cleared condition.
Bus protocol conversion operation process of the present invention is:
Said protocol converter two ends respectively with exterior PC 104 main control computers with after outside FlexRay network is connected; When exterior PC 104 main control computers are correlated with downstream site transmitting control commands and data in outside FlexRay network; These orders and data get in the master controller; Master controller is through interrupting receiving and resolving these orders or data; And decode by the PC104 bus protocol, then decoded order, data and corresponding presupposed information are combined into one group of data-signal that satisfies the FlexRay agreement, and data-signal are realized voltage isolation and conversion via the voltage isolation transducer; The data that write the FlexRay bus control unit are sent buffering area, and the FlexRay bus control unit is sent to outside FlexRay network via voltage isolation transducer and FlexRay bus transceiver with data-signal.
When in the outside FlexRay network by on-the-spot FlexRay node when the PC104 main control computer sends data; At first the FlexRay bus transceiver receives on-the-spot FlexRay node and uploads information; Carry out voltage isolation and conversion through the voltage isolation transducer; Write the Data Receiving buffering area of FlexRay bus control unit, the FlexRay bus control unit sends reception to master controller and successfully arbitrates master controller response arbitration simultaneously; Data Receiving buffering area reading of data from the FlexRay bus control unit; And via the voltage isolation transducer data-signal is realized voltage isolation and conversion, according to FlexRay communication protocol the data of obtaining are decoded then, then decoded data and corresponding presupposed information are combined into one group of data that satisfy the PC104 agreement after; Send control commands corresponding and data by master controller, be sent to exterior PC 104 main control computers through the PC104 bus.
In this process, master controller is according to perfect identification, analysis and follow the tracks of detection failure algorithm real-time tracking key node state, and the flicker of control signal indicator light is to show and to follow the tracks of the operating state and the fault message of this protocol converter.
The invention has the beneficial effects as follows; In the time of the signaling interface of realization FlexRay bus and PC104 bus and Communication Control; Trigger the mode switch problem with Event triggered settling time, optimize FlexRay binary channels redundancy communication logic, each functional module adopts mature technology and universal elements; Simple in structure, circuit elements device interchangeability is good.
Description of drawings
Fig. 1 is the bottom hardware structured flowchart that the present invention is used for the protocol converter of FlexRay bus and PC104 bus.
Fig. 2 is the flow chart of the support programs of the present invention's protocol converter of being used for FlexRay bus and PC104 bus.
Embodiment
The present invention will combine instance to be elaborated with reference to accompanying drawing, so that to the object of the invention, characteristic and advantage are carried out more deep understanding.
Fig. 1 is the bottom hardware structure chart of the protocol converter of FlexRay bus and PC104 bus.This protocol converter bottom hardware comprises that protocol conversion module 1 and power adaptation module 2 are total to the two large divisions.
Protocol conversion module 1 is the core of said protocol converter, comprises a master controller 10, FlexRay bus control unit 12, voltage isolation transducer 11, voltage isolation transducer 13, voltage isolation transducer 15, FlexRay bus transceiver 14, FlexRay bus transceiver 16 and a signal lamp 17.
Master controller 10 adopts programmable logic device; Solidify the protocol conversion logic and the configuration item of exchange of FlexRay bus and PC104 bus data and Communication Control; Select the CPLD M4A5-192/96 of Lattice company in this instance for use; It has 192 macrocells, and 96 available I/O mouths are supported the JTAG debug standard.12 pairs of FlexRay bus communications of FlexRay bus control unit process is configured and controls, and selects the MFR4200 controller of FreeScale company in this instance for use, and it provides 9 bit address lines, 16 position datawires, 11 signaling interfaces such as control line.Two FlexRay bus transceivers (14,16) are the interface of FlexRay controller and physics FlexRay bus, for outside FlexRay network provides differential reception and transmitting capacity, select the TJA1080A transceiver of NXP company in this instance for use.Three voltage isolation transducers (11,13,15) are used for voltage isolation and conversion, to guarantee the data normal communication and to avoid chip overvoltage damage, select the level transferring chip LVC164245 of TI company in this instance for use.Signal lamp 17 is used to indicate bus communication state and fault message, selects the paster green LED in this instance for use, encapsulation 0805.
Exterior PC 104 main control computers are connected with primary processor 10 via the I/O port with 16 position datawires, 8 control lines, 9 bit address line modes.Primary processor 10 is realized voltage isolation and conversion with 16 position datawires, 11 control lines, 9 bit address line modes via 11 pairs of signals of voltage isolation transducer, is connected with FlexRay bus control unit 12.Primary processor 10 is connected with signal lamp 17 simultaneously, indication bus communication state and fault message.FlexRay bus control unit 12 is connected with voltage isolation transducer 13, realizes that voltage of signals is isolated and conversion, be connected with FlexRay bus transceiver 14 then, and FlexRay bus transceiver 14 is connected with outside FlexRay network.The FlexRay bus is the binary channels redundant bus, after FlexRay bus control unit 12 also being arranged and voltage isolation transducer 15 being connected, be connected with FlexRay bus transceiver 16, and FlexRay bus transceiver 16 is connected with outside FlexRay network.
Power adaptation module 2 satisfies required direct voltage for protocol conversion module 1 provides, and comprises a power transfer module 20, electric source filter circuit 19, electric source filter circuit 21 and power supply indicator 22.
Power transfer module 20 realizes the level conversion function, selects the TPS7333Q low-dropout regulator of TI company in this instance for use.Electric source filter circuit 19 is realized the buffering and the filtering of electric current, adopts one 100 μ F electrochemical capacitor and one 0.01 μ F capacitance series circuit in this instance.Electric source filter circuit 21 is identical with structure with electric source filter circuit 19 principles.Power supply indicator 22 is used to indicate power supply status, selects the paster green LED in this instance for use, encapsulation 0805.
Power adaptation module 2, cushions and filtering through 19 pairs of electric currents of electric source filter circuit, to protocol conversion module 1 circuit supply from exterior PC 104 main control computer acquisition+5V direct voltages through the PC104 EBI; Simultaneously, convert into+the 3.3V direct voltage, cushion and filtering, supply with FlexRay bus control unit 12 and use through 21 pairs of electric currents of electric source filter circuit via power transfer module 20 general+5V direct voltages; And be connected the display power supply on off operating mode with power supply indicator 22.
Fig. 2 is the flow chart of support programs of the protocol converter of FlexRay bus and PC104 bus.The support programs that the present invention is used for the protocol converter of FlexRay bus and PC104 bus are based on status poll and response mechanism realization finite state machine:
Step 20 is an initial actuating.
Step 21 Status Flag bit vector power-up initializing.
Step 22 starts successfully sign according to the protocol converter self-detection mechanism checkout gear of FlexRay bus and PC104 bus, if this flag bit is effective, changes step 24 over to; Otherwise, change step 23 over to.
Step 23 fault detect identification, location and processing, and finish operation.
Step 24 detects self check and successfully indicates, if this flag bit is effective, changes step 25 over to; Otherwise, change step 23 over to.
Step 25 test initialization successfully indicates, if this flag bit is effective, changes step 26 over to; Otherwise, change step 23 over to.
Step 26 detects finite state machine and successfully starts sign, if this flag bit is effective, changes step 27 over to; Otherwise, change step 23 over to.
Step 27 detects the key node Status Flag, if this flag bit is effective, changes step 28 over to; Otherwise, change step 23 over to.
Step 28 detects and finishes the operation request flag, if this flag bit is effective, changes step 30 over to; Otherwise, return step 27 via step 29.
Step 29 self adaptation is regulated.
Step 30 detects sign out of service, if this flag bit is effective, changes step 31 over to; Otherwise, change step 23 over to.
Step 31 is set done state for finishing operation and outage cleared condition.
Above-mentioned instance is merely explanation the present invention and gives an example, and is not to be used to limit the present invention, and any equivalents based on the foregoing description all should be within scope of patent protection of the present invention.

Claims (2)

1. a protocol converter that is used for FlexRay bus and PC104 bus comprises bottom hardware and support programs two large divisions, it is characterized in that:
Bottom hardware comprises protocol conversion module, power adaptation module two parts;
Protocol conversion module is the core of this protocol converter, comprises master controller, FlexRay bus control unit, voltage isolation transducer, FlexRay bus transceiver and signal lamp; Solidify FlexRay bus and PC104 bus protocol conversion logic and configuration item in the master controller, be connected, via the voltage isolation transducer signal is realized voltage isolation and conversion simultaneously, be connected with the FlexRay bus control unit with exterior PC 104 main control computers; The FlexRay bus control unit is configured and controls FlexRay bus communication process, is connected with the voltage isolation transducer to realize that voltage of signals is isolated and conversion, is connected with the FlexRay bus transceiver then; The FlexRay bus transceiver is connected with outside FlexRay network, for outside FlexRay network provides differential reception and transmitting capacity; Signal lamp is connected with primary processor, indication bus communication state and fault message;
Power adaptation module is that protocol conversion module provides required direct voltage, comprises power transfer module, electric source filter circuit and power supply indicator; Power adaptation module is through the PC104 EBI; Obtain direct voltage from exterior PC 104 main control computers; Through electric source filter circuit electric current is cushioned and filtering; Convert required direct voltage into via power transfer module, supply power, and be connected to show power supply state with power supply indicator to the protocol conversion module related circuit;
Support programs are stored in the master controller, and exchanges data and communication process between FlexRay bus and the PC104 bus are controlled, and mainly realize finite state machine.
2. a method that is used for the protocol converter realization protocol conversion of FlexRay bus and PC104 bus as claimed in claim 1 is characterized in that: comprise the steps:
1) power-up initializing is provided with the Status Flag bit vector;
2) the protocol converter self-detection mechanism checkout gear according to FlexRay bus and PC104 bus starts successfully sign, if this flag bit is effective, changes step 4) over to, otherwise, change step 3) over to;
3) fault detect identification, location and processing, and finish operation;
4) detect self check and successfully indicate,, change step 5) over to if this flag bit is effective, otherwise, change step 3) over to;
5) test initialization successfully indicates, if this flag bit is effective, changes step 6) over to, otherwise, change step 3) over to;
6) detect finite state machine and successfully start sign,, change step 7) over to if this flag bit is effective, otherwise, change step 3) over to;
7) detect the key node Status Flag,, change step 8) over to if this flag bit is effective, otherwise, change step 3) over to;
8) detect end operation request flag,, change step 10) over to if this flag bit is effective, otherwise, step 7) returned via step 9);
9) self adaptation is regulated;
10) detect sign out of service,, change step 11) over to if this flag bit is effective, otherwise, change step 3) over to;
11) set done state for finishing operation and outage cleared condition.
CN2010105215726A 2010-10-27 2010-10-27 Protocol converter for FlexRay bus and PC104 bus Expired - Fee Related CN101969393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105215726A CN101969393B (en) 2010-10-27 2010-10-27 Protocol converter for FlexRay bus and PC104 bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105215726A CN101969393B (en) 2010-10-27 2010-10-27 Protocol converter for FlexRay bus and PC104 bus

Publications (2)

Publication Number Publication Date
CN101969393A CN101969393A (en) 2011-02-09
CN101969393B true CN101969393B (en) 2012-05-23

Family

ID=43548499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105215726A Expired - Fee Related CN101969393B (en) 2010-10-27 2010-10-27 Protocol converter for FlexRay bus and PC104 bus

Country Status (1)

Country Link
CN (1) CN101969393B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868583B (en) * 2012-06-06 2015-06-10 浙江吉利汽车研究院有限公司杭州分公司 FlexRay bus joint with fault diagnosis function
CN106302061A (en) * 2016-07-26 2017-01-04 北京润科通用技术有限公司 A kind of communication means based on FlexRay bus, Apparatus and system
CN108011697B (en) * 2017-11-30 2020-09-18 艾体威尔电子技术(北京)有限公司 Data exchange communication method between non-contact card and terminal
CN109617921B (en) * 2019-01-23 2020-07-07 北京交通大学 Conversion device and method for FlexRay protocol and 802.11p protocol
CN110837486B (en) * 2019-11-13 2023-07-28 天津津航计算技术研究所 FlexRay-CPCIe communication system based on FPGA
CN117725863B (en) * 2023-12-11 2024-09-10 上海合芯数字科技有限公司 Chip signal analysis device, system, processor chip and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1491008A (en) * 2003-08-28 2004-04-21 东南大学 Embedded gate for realizing interconnection between networks with different structures
CN101478460A (en) * 2008-10-28 2009-07-08 上海电力学院 FlexRay-CAN communication gateway and implementing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030043793A1 (en) * 2001-08-31 2003-03-06 Juergen Reinold Vehicle active network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1491008A (en) * 2003-08-28 2004-04-21 东南大学 Embedded gate for realizing interconnection between networks with different structures
CN101478460A (en) * 2008-10-28 2009-07-08 上海电力学院 FlexRay-CAN communication gateway and implementing method

Also Published As

Publication number Publication date
CN101969393A (en) 2011-02-09

Similar Documents

Publication Publication Date Title
CN101969393B (en) Protocol converter for FlexRay bus and PC104 bus
CN101661454B (en) High-speed serial buss system capable of being dynamically reconfigured and control method thereof
CN102253913B (en) Device for carrying out state acquisition and output control on multi-board-card port
US20050080887A1 (en) Redundant management control arbitration system
WO2007001584A2 (en) Method and system for controlling and monitoring an array of point-of-load regulators
CN104424680A (en) Entrance guard redundancy control system
CN103729333A (en) Backplane bus structure sharing multiple channel time slots and implementation method thereof
CN201699729U (en) Monitoring control device
US5724343A (en) Device for communications between a plurality of functional modules installed in a local unit and an ARINC 629 type external bus
CN104317677A (en) Brickland-based redundant monitoring management system and method
CN102098196B (en) The data transmission method of blade server
CN209813737U (en) Magnetic-levitation train and levitation control system and controller thereof
CN102147640A (en) Server with a plurality of main boards
CN203455884U (en) Access redundancy control system
CN102768561A (en) Design method for twinbridge piece mainboard redundancy
CN214384911U (en) Train network communication device and system
JP2009110386A (en) Storage system and optical module switching method for storage system
CN206460446U (en) A kind of supervising device for ruggedized computer mainboard
KR102066887B1 (en) System for Motor Control Center having Redundant Protection Control Module
CN102521194A (en) Method and system capable of realizing high-speed interconnection between devices
CN205812069U (en) A kind of internet interface conversion equipment for connecting Clinical Laboratory equipment
CN112550636A (en) Cabin monitored control system based on dual redundancy
CN114615106B (en) Ring data processing system, method and network equipment
CN115098016B (en) Redundant computer high-precision AD acquisition equipment based on LRM
CN203876779U (en) 64D block machine based on DTMF communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: MIANYANG WEIBO ELECTRONIC CO., LTD.

Free format text: FORMER OWNER: SICHUAN MIANYANG SOUTHWEST AUTOMATION INSTITUTE

Effective date: 20111226

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20111226

Address after: 621000 Mianyang city of Sichuan Province Branch Chong Park Innovation Service Center

Applicant after: Mianyang Weibo Electronic Co., Ltd.

Address before: 621000 Mianyang province Sichuan City Youxian District Road No. seven two immortals

Applicant before: Sichuan Mianyang Southwest Automation Institute

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: 20120523

Termination date: 20161027