CN201341148Y - PCI interface type CANOPEN network data analyzer - Google Patents
PCI interface type CANOPEN network data analyzer Download PDFInfo
- Publication number
- CN201341148Y CN201341148Y CNU2009200102847U CN200920010284U CN201341148Y CN 201341148 Y CN201341148 Y CN 201341148Y CN U2009200102847 U CNU2009200102847 U CN U2009200102847U CN 200920010284 U CN200920010284 U CN 200920010284U CN 201341148 Y CN201341148 Y CN 201341148Y
- Authority
- CN
- China
- Prior art keywords
- module
- pci bus
- main controller
- signal acquisition
- pci
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The utility model discloses a PCI interface type CANOPEN network data analyzer based on a CAN network system, which comprises a main controller module, a CAN network signal acquisition module, a PCI bus interface module and a power supply unit. The CAN network signal is received by the CAN network signal acquisition module and analyzed and processed by the main controller module, the analyzed data is sent to the PCI bus interface module and sent to the PCI bus through the PCI bus interface module.
Description
Technical field
The utility model relates to the locomotive network system applies.
Background technology
CAN standard network bus is a kind of network system that can be used for railway territory, because its reliability, flexibility and adopted by more and more countries in the world.
The CAN network has only defined physical layer and link layer, present widely used CANOPEN standard definition the application layer protocol of CAN network, but because the CANOPEN network is professional very strong, and present means of testing and tester are also seldom, especially are suitable for the on-the-spot portable CANOPEN analytical equipment of using blank out especially.
Research and design a kind of novel pci interface type CANOPEN network data analyzer and control method thereof, make its network system that is applicable to railway territory-CAN standard network bus DAF, be applicable in the locomotive with CAN bus network and be very important.
Summary of the invention
In view of existing problem in the above-mentioned prior art, the purpose of this utility model is a kind of novel pci interface type CANOPEN network data analyzer of research and design, thus the backward situation of the blank out of the CAN bus network DAF that the solution railway locomotive uses.Pci interface type CANOPEN network data analyzer of the present invention comprises main controller module, CAN signal acquisition module, pci bus interface module and power supply unit.Described CAN signal acquisition module links to each other with the CAN bus with the CANL pin by CANH.Described main controller module links to each other with TXD, the RXD pin of CAN signal acquisition module with the CANTX0 pin by the CANRX0 of inner integrated CAN2.0B controller, data wire 51-58, the address wire 33-39 of described pci bus interface module and 42-50 and RD, WR, SYS_EX pin link to each other with PB0-PB15 with the PA0-PA10 of main controller module, and AD0-AD31, CBE0-CBE3 and clock, signal such as reset link to each other with the corresponding interface of pci bus.Described power supply unit general+5V voltage is sent into CAN signal acquisition module and pci bus interface module, general+3.3V and+2.5V voltage is sent to main controller module, reference the ground of power supply unit is exported GND and is then linked to each other with all GND pins of CAN signal acquisition module, pci bus interface module and main controller module.The CAN signal is sent into main controller module after the CAN signal acquisition module is converted to the serial input/output signal, data are resolved in main controller module, handle, are stored, form with the parallel port data sends to the pci bus interface module at last, be 32 high-speed PCI bus signals by the pci bus interface module converts again, send into pci bus.Main controller module of the present invention is to be made of AT91SAM7A3, the CAN signal acquisition module is to be made of PCA82C250, the pci bus interface module is to be made of CH365, and the power supply unit circuit comprises power conversion chip AS1117M3-3.3 and MIC5207, and isolating chip BO505T.
The control method of described pci interface type CANOPEN network data analyzer, its control procedure comprise system initialization and the initialized step of CAN mailbox, also comprise the steps:
A, CANOPEN PDO parameter configuration;
B, whether main controller module received the CAN data judge, and in following step, select:
C, do not receive the CAN signal, return initialization;
D, receive the CAN signal, then it is carried out data processing;
E, send data and retrieval system initialization to the pci bus interface module.
The purpose of this utility model provides a kind of automobile-used energy consumption recording instrument of CANOPEN interface message processor (IMP) and control method thereof based on the CAN network system, and whole system comprises hardware and software two parts.
The effect of hardware mainly is for each module provides physical connection, is responsible for the collection of CAN signal, reads CAN bus related data, and for pci bus provides the interface that transmits data, also will be responsible for providing of working power etc. simultaneously.
The effect of software mainly is to the control module initialization, disposes various related datas, and according to the The field requirement, handles the data that receive, the transmission of control data in main control chip.
CAN, full name are " Controller Area Network ", i.e. controller local area network is one of most widely used fieldbus in the world.CAN can provide the message transmission rate up to 1Mbit/s, and this makes real-time control become very easy.In addition, the mistake of hardware calibrating characteristic has also strengthened the anti-electromagnetic interference capability of CAN.
CAN is a kind of serial communication bus of many master modes, and basic design specification requires that high bit rate is arranged, high anti-electromagnetic interference, and can detect any mistake of generation.When signal transmission distance reached 10Km, CAN still can provide the message transmission rate up to 50Kbit/s.Because the CAN bus has very high real-time performance, therefore, CAN has obtained extensive use in fields such as auto industry, aircraft industry, Industry Control, security protection.
The CAN communications protocol is mainly described the mode of intelligence transmission between the equipment.The definition of CAN layer is consistent with Open Systems Interconnect, has defined the bottom two-layer of model: physical layer and data link layer.
The key concept of CANopen is device object dictionary (OD:Object Dictionary), and (Profibus Interbus-S) also uses this device description form in the system at other fieldbus.Object dictionary (OD:Object Dictionary) is an orderly group of objects; Each object adopts one 16 index value to come addressing, realizes in CANopen.
Pci interface type CANOPEN network data analyzer described in the utility model just is being based on CAN standard network bus and is using.This data analyzer is at problem set forth above, can carry out analytic record to the CANOPEN data, just can finish data analysis work as long as equipment inserted in the CAN standard network, easy for installation, simple to operate, using reliably, is the new product that arises at the historic moment under the overall situation of Train Control networking.
Because the CAN network technology is the industry spot network technology that many in the world major companies adopt, the scope of application is extensive further, the PCI technology is also more common, and the analysis of network data is to an important job in train debugging, maintenance, the maintenance, therefore not only complies with development trend but also have very strong practicality based on the pci interface type CANOPEN network data analyzer of CAN network.
Description of drawings
The utility model has seven width of cloth accompanying drawings, wherein
Fig. 1 is a structured flowchart of the present utility model;
Fig. 2 is a circuit structure diagram of the present utility model;
Fig. 3 is a master control chip AT91SAM7A3 circuit diagram of the present utility model;
Fig. 4 is a CAN transceiver PCA82C250 circuit diagram of the present utility model;
Fig. 5 is the connecting circuit figure of CH365 interface chip of the present utility model;
Fig. 6 is the utility model power supply unit partial circuit figure;
Fig. 7 is a flow chart of the present utility model.
Among the figure: 1, CAN signal acquisition module 2, main controller module 3, pci bus interface module 4, power supply unit.
Embodiment
Specific embodiment of the utility model as shown in drawings, accompanying drawing 1 is depicted as pci interface type CANOPEN network data analyzer structured flowchart, comprises CAN signal acquisition module 1, main controller module 2, pci bus interface module 3 and power supply unit 4.Accompanying drawing 2 is depicted as circuit structure diagram of the present invention, described pci interface type CANOPEN network data analyzer receives the data of CAN network by CAN signal acquisition module 1, directly receive differential signal with CAN network interface side by CANH, CANL, after level conversion, link to each other with CAN controller in the main controller module 2, set up the passage of CAN signals collecting thus by TXD, RXD; Main controller module 2 links to each other with pci bus interface module 3 with control line by address wire, data wire, can select the respective pin function of main controller module 2 by software for control line; 8 bi-directional data holding wire D0-D7 and 16 bit address holding wire A15-A0s and the main controller module 2 of pci bus interface module 3 by being built-in with pull-up resistor carries out data communication, enables transmission with the interrupt request singal control data by the reading and writing gating; Pci bus interface module 3 will be converted to 32 high-speed PCI bus datas by 8 active parallel interface data that main controller module 2 transmits, and be transferred to pci bus by PCI_AD31-PCI_AD0.Between the two also by reset, clock, interruption, choice of equipment equisignal line link to each other.
Because the CAN controller of main controller module 2 inside is a protocol controller just, can not provide physical layer to drive, so also need add the CAN bus transceiver in use, CAN signal acquisition module 1 has just been finished this function in system, and it can improve the differential transmission and the receiving ability of bus.It and ISO11898 standard are compatible fully, and three kinds of different working methods are arranged, and promptly high speed, slope control and standby can be selected according to actual conditions.Be connected to bus cable by two bus termination CANH and the CANL that differential transmission and receiving function are arranged in the use.Input Rs is used for pattern control reference voltage.The output voltage of output VREF is 0.5 times of specified VCC, and wherein the rated supply voltage of transceiver is 5V.The transmission data of a serial of protocol controller output flow to the TxD pin of transceiver.Draw function that logic high is arranged in the TxD input on inner, that is to say that bus output driver acquiescence is passive.In recessive state, CANH and CANL input is the receiver fan-in network of 17k by the typical internal impedance, is biased to the rated voltage of 2.5V, in addition, if TxD is a logic low, the output stage of bus will be activated, and produce the signal level of a dominance on bus cable.Output driver is made up of a source output stage and a drop-down output stage.CANH is connected to the source output stage, and CANL is connected to drop-down output stage.In dominance condition, the rated voltage of CAN_H is 3.5V, and CAN_L is 1.5V.
The main controller module 2 that is made of AT91SAM7A3 is cores of entire equipment, has finished the function control of data analysis.AT91SAM7A3 is 32 a member in the ARM7 Series of MCU, is integrated with the CAN controller.256K byte high speed Flash and 32K byte SRAM and a complete set of ancillary equipment are arranged on the sheet, comprise two 2.0B CAN controllers, and a whole set of makes the functional unit of peripheral device component minimum number.The Flash memory can have programming in the JTAG-ICE interface system in the sheet in this microprocessor.Built-in locking bit can be protected firmware, prevents that it from being covered by mistake.The Flash module is totally 1024 pages in the sheet of AT91SAM7A3, every page 256 byte.Have 65536 32 words altogether.The Flash module comprises the buffer memory of writing of one 256 byte, can be by 32 interface accessing.(read or write visit) when Flash does not use, it will enter standby automatically.Inner CAN controling appliance has following characteristics:
● complete compatible CAN2.0B dynamic controller
● Bit Transmission Rate is 1Mbit/s
● have 16 OO mailboxes, CAN2.0A and 2.0B are able to programme concerning each message;
Configurable object is for receiving or sending; When sending or receive message, use 16 bit time labels;
Can programme to the reception buffer storage length of a plurality of mailbox objects.
The chip CH365 of pci bus interface module 3 is common interface chips that connect pci bus, supports I/O port mapping, memory mapped, expansion ROM and interruption.CH365 is converted to easy easy-to-use 8 of the isa bus initiatively parallel interfaces that are similar to 32 high-speed PCI buses, is used to make cheaply the computer card based on pci bus, and will be originally be upgraded on the pci bus based on the integrated circuit board of isa bus.Pci bus is compared with other main flow buses, and speed is faster, and real-time is better, and controllability is better, so CH365 is applicable to I/O control card, communication interface card, data collecting card, electric board, expansion ROM card of high-speed real-time etc.
Accompanying drawing 3-6 is element circuit figure.
Accompanying drawing 7 is software block diagrams of the present utility model.
Claims (2)
1, a kind of pci interface type CANOPEN network data analyzer is characterized in that comprising main controller module (2), CAN network signal acquisition module (1), pci bus interface module (3) and power supply unit (4); Described CAN network signal acquisition module (1) links to each other with the CAN bus with the CANL pin by CANH; Described main controller module (2) links to each other with TXD, the RXD pin of CAN network signal acquisition module (1) with the CANTX0 pin by the CANRX0 of inner integrated CAN2.0B controller, data wire 51-58, the address wire 33-39 of described pci bus interface module (3) and 42-50 and RD, WR, SYS_EX pin link to each other with PB0-PB15 with the PA0-PA10 of main controller module (2), and AD0-AD31, CBE0-CBE3 and clock, signal such as reset link to each other with the corresponding interface of pci bus; Described power supply unit (4) general+5V voltage is sent into CAN network signal acquisition module (1) and pci bus interface module (3), general+3.3V and+2.5V voltage is sent to main controller module (2), reference the ground of power supply unit (4) is exported GND and is then linked to each other with all GND pins of CAN signal acquisition module (1), pci bus interface module (3) and main controller module (2); The CAN signal is sent into main controller module (2) after CAN network signal acquisition module (1) is converted to the serial input/output signal, data are resolved, handle, are stored in main controller module (2), form with the parallel port data sends to pci bus interface module (3) at last, be converted to 32 high-speed PCI bus signals by pci bus interface module (3) again, send into pci bus.
2, pci interface type CANOPEN network data analyzer according to claim 1, it is characterized in that described main controller module (2) is to be made of AT91SAM7A3, CAN network signal acquisition module (1) is to be made of PCA82C250, pci bus interface module (3) is to be made of CH365, power supply unit (4) circuit comprises power conversion chip AS1117M3-3.3 and MIC5207, and isolating chip BO505T.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2009200102847U CN201341148Y (en) | 2009-01-19 | 2009-01-19 | PCI interface type CANOPEN network data analyzer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2009200102847U CN201341148Y (en) | 2009-01-19 | 2009-01-19 | PCI interface type CANOPEN network data analyzer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201341148Y true CN201341148Y (en) | 2009-11-04 |
Family
ID=41236690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNU2009200102847U Expired - Fee Related CN201341148Y (en) | 2009-01-19 | 2009-01-19 | PCI interface type CANOPEN network data analyzer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201341148Y (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004489A (en) * | 2010-10-15 | 2011-04-06 | 北京交通大学 | Test system and method of data-driven vehicle-mounted operation control system |
CN103676934A (en) * | 2013-11-29 | 2014-03-26 | 中国北车集团大连机车研究所有限公司 | Online data analyzer for electric locomotive driver display unit |
CN103777582A (en) * | 2012-10-19 | 2014-05-07 | 中国北车股份有限公司 | Hand-held can bus data analysis device |
-
2009
- 2009-01-19 CN CNU2009200102847U patent/CN201341148Y/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004489A (en) * | 2010-10-15 | 2011-04-06 | 北京交通大学 | Test system and method of data-driven vehicle-mounted operation control system |
CN102004489B (en) * | 2010-10-15 | 2012-07-04 | 北京交通大学 | Test system and method of data-driven vehicle-mounted operation control system |
CN103777582A (en) * | 2012-10-19 | 2014-05-07 | 中国北车股份有限公司 | Hand-held can bus data analysis device |
CN103676934A (en) * | 2013-11-29 | 2014-03-26 | 中国北车集团大连机车研究所有限公司 | Online data analyzer for electric locomotive driver display unit |
CN103676934B (en) * | 2013-11-29 | 2016-08-17 | 中国北车集团大连机车研究所有限公司 | Online data analyser for electric locomotive driver display unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102495920B (en) | Integrated logic analysis module based on PCIe (peripheral component interconnection express) for FPGA (field programmable gate array) | |
CN101309193B (en) | USB-Flexray bus adapter based on micro-processor | |
CN103500154B (en) | A kind of serial bus interface chip, serial bus transmission system and method | |
CN101276488A (en) | Vehicular recording instrument capable of implementing intelligent CAN bus communication | |
CN105549552B (en) | CAN bus expansion system and method based on Linux | |
CN201341148Y (en) | PCI interface type CANOPEN network data analyzer | |
CN103401955B (en) | A kind of vehicle bus device address collocation method and device | |
CN101478453A (en) | Handhold portable CANOPEN network data analyzer and controlling method thereof | |
CN1949734B (en) | Power supply two-line system real-time bus communication method | |
CN101478451A (en) | PCI interface type CANOPEN network data analyzer and control method thereof | |
CN2845324Y (en) | MVB equipment network interface card based on FPGA | |
CN101478452B (en) | PCI interface type MVB network data analyzer | |
CN108132898A (en) | Multiplex communication control method and communication box | |
CN201828970U (en) | Train operation data recorder based on CAN (Controller Area Network) interface | |
CN101488891B (en) | Handhold portable MVB network data analysis instrument for locomotive and control method thereof | |
CN201341145Y (en) | Hand-held portable canopen network data analyzer | |
CN103150262B (en) | Pipeline access means | |
CN103067213A (en) | Data recording system | |
CN210835674U (en) | ECU data acquisition equipment based on CAN bus | |
CN201341149Y (en) | Hand-held portable MVB network data analyzer for locomotive | |
CN114660383A (en) | Universal ground detection test board card for load manager | |
CN105550151B (en) | A kind of efficient serial bus controlling circduit | |
CN204166380U (en) | A kind of vehicle multi-controller diagnostic device | |
CN201341147Y (en) | PCI interface type MVB network data analyzer | |
CN104181828B (en) | CAN bus controller adaptor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091104 Termination date: 20120119 |