CN107294829A - A kind of CAN Switching Modules and method - Google Patents
A kind of CAN Switching Modules and method Download PDFInfo
- Publication number
- CN107294829A CN107294829A CN201710500850.1A CN201710500850A CN107294829A CN 107294829 A CN107294829 A CN 107294829A CN 201710500850 A CN201710500850 A CN 201710500850A CN 107294829 A CN107294829 A CN 107294829A
- Authority
- CN
- China
- Prior art keywords
- module
- configuration
- serial ports
- data exchange
- data
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25032—CAN, canbus, controller area network bus
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25171—Serial, RS232
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
Abstract
The present invention discloses a kind of CAN Switching Modules and method, it is related to server communication technology, using FPGA reconfigurability and programmability, N number of CAN module, EEPROM configuration storage modules, special serial ports configuration module and data exchange module are built in FPGA inner utilization CAN IP kernels;The parameter of each CAN module is configured by specialized configuration serial ports, the parameter of configuration is stored in the plug-in EEPROM of FPGA, path identification and data exchange between different CAN modules is carried out as needed by data exchange module.All defects are realized using single-chip microcomputer+SJA1000 instant invention overcomes existing CAN data exchanges, it is not necessary to use multiple single-chip microcomputers, be greatly saved pcb board card space, improved the stability of product;The data exchange application scenarios of CAN interface are carried suitable for computer realm, internet-of-things terminal, automotive electronics terminal etc..
Description
Technical field
The present invention relates to server communication technology, specifically a kind of CAN Switching Modules and method.
Background technology
CAN (Controller Area Network, controller local area network) is the serial communication of ISO International standardizations
Agreement, CAN agreement is the STD bus of Computer Controlled System for Vehicle and built-in industrial control area net(CAN).At present, CAN
Data exchange realizes that simulating CAN controller by the I/O interface of single-chip microcomputer carries out data by single-chip microcomputer+SJA1000
Analysis.And general single-chip microcomputer I/O interface limited amount, to realize that multichannel data is exchanged needs multiple single-chip microcomputers, so in design
The pcb board card area of occupancy is larger, can influence the integral layout of pcb board card.
If CAN data exchanges are realized in consideration with FPGA, how much can be realized according to FPGA model number of pin at this stage
Multichannel CAN data exchanges, FPGA models are selected with CAN module quantity.It is therefore proposed that a kind of realize CAN numbers using FPGA
Feasible according to the technical scheme of exchange, relatively current single-chip microcomputer scheme is significant.
The content of the invention
There is provided a kind of CAN Switching Modules and method for the demand and weak point that the present invention develops for current technology.
A kind of CAN Switching Modules of the present invention and method, the technical scheme for solving above-mentioned technical problem use are as follows:Institute
CAN Switching Modules are stated, using FPGA reconfigurability and programmability, N number of CAN moulds are built in FPGA inner utilization CAN IP kernels
Block, EEPROM configuration storage modules, special serial ports configuration module and data exchange module;
The mode of operation parameter of CAN module is configured by special serial ports configuration module, by the mode of operation parameter of configuration
It is stored in EEPROM configuration storage modules, is carried out the need for transmitting information according to communication two ends by data exchange module different
Path identification and data exchange between CAN module.
It is preferred that, the special serial ports configuration module uses special RS232 serial ports.
It is preferred that, the mode of operation of CAN module is configured by special serial ports configuration module, the mode of operation of configuration is included entirely
Broadcast mode and private access pattern.
It is preferred that, the full broadcast mode of N number of CAN module:Data, other CAN modules are sent by a CAN module
It is connected to data exchange module and receives data.
It is preferred that, the private access pattern of N number of CAN module:Increase by one in the information that each CAN module is sent
Recognize frame head, the handshake selected as path, the path that data exchange module is answered according to identification frame head selection.
A kind of CAN exchange methods, using FPGA reconfigurability and programmability, take in FPGA inner utilization CAN IP kernels
Build N number of CAN module, EEPROM configuration storage modules, special serial ports configuration module and data exchange module;
The mode of operation parameter of CAN module is configured by special serial ports configuration module, by the mode of operation parameter of configuration
It is stored in EEPROM configuration storage modules;Each CAN module selectively can voluntarily add identification frame head, or select a master many
From broadcast data, path between different CAN modules is carried out the need for transmitting information according to communication two ends by data exchange module
Identification and data exchange.
A kind of CAN Switching Modules of the present invention and method, have an advantageous effect in that compared with prior art:The present invention
The CAN Switching Modules, realize the data exchange between multiple CAN modules, overcome existing CAN data exchanges and use single-chip microcomputer
+ SJA1000 realizes all defects, it is not necessary to uses multiple single-chip microcomputers, will not take pcb board card very large area, greatly section
Pcb board card space has been saved, has been conducive to each components' placement on board, the stability and competitiveness of product is improved;The present invention
Suitable for information control center, call center, security/financial transaction system, bank data centers, industrial control condition, teaching
All use CAN interfaces such as environment, test center, automotive electronics carry out the application environment of data interaction.
Brief description of the drawings
Accompanying drawing 1 is the schematic block diagram of the CAN Switching Modules.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, to this hair
A kind of bright CAN Switching Modules are further described.
CAN Switching Modules of the present invention and method, be based on FPGA realize CAN interactive modules, using FPGA can
Reconstitution and programmability, builds N number of CAN module, and configure by specialized configuration serial ports in FPGA inner utilization CAN IP kernels
The parameter of each CAN module, the parameter of configuration is stored in the plug-in EEPROM of FPGA, N is realized by data interaction module
The data interaction of individual CAN module.CAN Switching Modules proposed by the present invention, which disclosure satisfy that, needs the application environment of CAN data exchanges,
The data of CAN interface are carried suitable for computer realm, cloud terminal, internet-of-things terminal, multimedia terminal, automotive electronics terminal etc.
Exchange application scenarios.
Embodiment:
CAN Switching Modules and method described in the present embodiment, mainly use FPGA reconfigurability and programmability, in FPGA
N number of CAN module, EEPROM configuration storage modules, special serial ports configuration module and data interchange mode are built using CAN IP kernels in portion
Block;
The mode of operation parameter of CAN module is configured by special serial ports configuration module, by the mode of operation parameter of configuration
It is stored in EEPROM configuration storage modules, the exchange of data between each CAN module is realized by data exchange module, can
Selectivity voluntarily addition identification frame head, or one master and multiple slaves broadcast data;Path between different CAN modules can be carried out as needed
Identification and data exchange.
The need for the CAN Switching Modules are according to communication two ends transmission information, manually or equipment is automatically performed, transmitting
Information be sent in satisfactory respective link, realize N number of CAN module data interaction.
The special serial ports configuration module uses special RS232 serial ports.
The mode of operation of CAN module, including full broadcast mode and private access mould are configured by special serial ports configuration module
Formula.
The CAN device of CAN interface is carried for N platforms(For N number of CAN module)
Under full broadcast mode:One CAN device sends data, and other CAN devices are connected to data exchange module and receive data;
Under private access pattern:First increase an identification frame head in the information that each CAN device is sent, be used as holding that path is selected
Hand signal, the path that data exchange module selects to answer according to frame head.
The configuration work pattern on CAN device of the N platforms with CAN interface, passes through data exchange module, arbitrarily according to configuration
Communicated between some CAN devices, and verify the correctness of communication process(Run according to CAN Switching Modules program).
Embodiment is only the specific case of the present invention, and scope of patent protection of the invention is including but not limited to above-mentioned
Embodiment, any person of an ordinary skill in the technical field that meet claims of the present invention and any is to it
The appropriate change or replacement done, should all fall into the scope of patent protection of the present invention.
Claims (10)
1. a kind of CAN Switching Modules, it is characterised in that using FPGA reconfigurability and programmability, in FPGA inner utilizations
CAN IP kernels build N number of CAN module, EEPROM configuration storage modules, special serial ports configuration module and data exchange module;
The mode of operation parameter of CAN module is configured by special serial ports configuration module, by the mode of operation parameter of configuration
It is stored in EEPROM configuration storage modules, is carried out the need for transmitting information according to communication two ends by data exchange module different
Path identification and data exchange between CAN module.
2. a kind of CAN Switching Modules according to claim 1, it is characterised in that the special serial ports configuration module is using special
Use RS232 serial ports.
3. a kind of CAN Switching Modules according to claim 2, it is characterised in that pass through special serial ports configuration module and configure
The mode of operation of CAN module, institute's configuration work module includes full broadcast mode and private access pattern.
4. a kind of CAN Switching Modules according to claim 3, it is characterised in that the full broadcast mould of N number of CAN module
Formula:Data are sent by a CAN module, other CAN modules are connected to data exchange module and receive data.
5. a kind of CAN Switching Modules according to claim 3, it is characterised in that the private access mould of N number of CAN module
Formula:One identification frame head of increase, the handshake selected as path, data exchange in the information that each CAN module is sent
The path that module is answered according to identification frame head selection.
6. a kind of CAN exchange methods, it is characterised in that using FPGA reconfigurability and programmability, in FPGA inner utilizations
CAN IP kernels build N number of CAN module, EEPROM configuration storage modules, special serial ports configuration module and data exchange module;
The mode of operation parameter of CAN module is configured by special serial ports configuration module, by the mode of operation parameter of configuration
It is stored in EEPROM configuration storage modules;Each CAN module selectively can voluntarily add identification frame head, or select a master many
From broadcast data, path between different CAN modules is carried out the need for transmitting information according to communication two ends by data exchange module
Identification and data exchange.
7. a kind of CAN exchange methods according to claim 6, it is characterised in that the special serial ports configuration module is used
Special RS232 serial ports.
8. a kind of CAN exchange methods according to claim 7, it is characterised in that configured by special serial ports configuration module
The mode of operation of CAN module, institute's configuration work pattern includes full broadcast mode and private access pattern.
9. a kind of CAN exchange methods according to claim 8, it is characterised in that the full broadcast mould of the N number of CAN module of configuration
Formula:Data are sent by a CAN module, other CAN modules are connected to data exchange module and receive data.
10. a kind of CAN exchange methods according to claim 8, it is characterised in that the private access of the N number of CAN module of configuration
Pattern:One identification frame head of increase in the information that each CAN module is sent, the handshake selected as path, data are handed over
The path that mold changing root tuber is answered according to identification frame head selection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710500850.1A CN107294829A (en) | 2017-06-27 | 2017-06-27 | A kind of CAN Switching Modules and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710500850.1A CN107294829A (en) | 2017-06-27 | 2017-06-27 | A kind of CAN Switching Modules and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107294829A true CN107294829A (en) | 2017-10-24 |
Family
ID=60099737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710500850.1A Pending CN107294829A (en) | 2017-06-27 | 2017-06-27 | A kind of CAN Switching Modules and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107294829A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101087235A (en) * | 2007-07-17 | 2007-12-12 | 中南大学 | A FPGA-based multi-functional communication interface conversion device and method |
JP2010113630A (en) * | 2008-11-10 | 2010-05-20 | Panasonic Electric Works Co Ltd | Serial bus system |
CN103440219A (en) * | 2013-08-23 | 2013-12-11 | 上海航天测控通信研究所 | Novel general bus transforming bridge IP core |
CN104125375A (en) * | 2013-04-27 | 2014-10-29 | 深圳市载德光电技术开发有限公司 | Multimedia transmission matrix framework |
CN204423250U (en) * | 2015-01-26 | 2015-06-24 | 北京盛博协同科技有限责任公司 | A kind of X86 embedded type CPU mainboard with multipath high-speed intelligent CAN |
-
2017
- 2017-06-27 CN CN201710500850.1A patent/CN107294829A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101087235A (en) * | 2007-07-17 | 2007-12-12 | 中南大学 | A FPGA-based multi-functional communication interface conversion device and method |
JP2010113630A (en) * | 2008-11-10 | 2010-05-20 | Panasonic Electric Works Co Ltd | Serial bus system |
CN104125375A (en) * | 2013-04-27 | 2014-10-29 | 深圳市载德光电技术开发有限公司 | Multimedia transmission matrix framework |
CN103440219A (en) * | 2013-08-23 | 2013-12-11 | 上海航天测控通信研究所 | Novel general bus transforming bridge IP core |
CN204423250U (en) * | 2015-01-26 | 2015-06-24 | 北京盛博协同科技有限责任公司 | A kind of X86 embedded type CPU mainboard with multipath high-speed intelligent CAN |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103516551B (en) | Utilize passive pair of RFID tag to optical fiber physical port intelligent management system | |
CN104954198B (en) | A kind of transformer station process layer switch state monitoring apparatus and method | |
CN109002820A (en) | A kind of licence plate recognition method, device and relevant device | |
CN110209399A (en) | FPGA service system, data processing method and storage medium | |
CN107092459A (en) | Exchange method and interactive device and display screen control system | |
CN102967815A (en) | Chip testing method, automated testing equipment and system | |
CN109492243A (en) | Cabinet arranges drawing generating method, device and electronic equipment | |
CN106991001A (en) | Radionavigation recognizes simulation system | |
CN102539984A (en) | Mass production tester and mass production aging test system | |
CN109194578A (en) | A kind of activating method and device of private line service | |
CN213277033U (en) | Multiprocessor industrial Internet of things gateway for educational training | |
CN109656810A (en) | A kind of adjustment method of image algorithm, debugging system and terminal device | |
CN105912765A (en) | Reusable simulation components and method for simulation environment integration | |
CN107294829A (en) | A kind of CAN Switching Modules and method | |
CN105160124B (en) | Optical transfer network expense analogue system and emulation mode | |
CN106455324A (en) | Method and system for generating topological structures | |
CN104717052B (en) | A kind of virtual checking system and method based on AFDX network switch chips | |
CN107819705A (en) | A kind of implementation method of the data exchange based on Microblaze cores | |
CN105490874B (en) | Blade switch system, the rack network equipment and blade switch test method | |
CN107885674A (en) | Bluetooth equipment simulator and its method of work, bluetooth equipment operating system | |
CN107807897A (en) | A kind of universal network interface card framework | |
CN208316769U (en) | A kind of cloud network system applied to simple scenario | |
CN104079920B (en) | The method and device of authentication image acquisition process | |
CN207882728U (en) | A kind of control system | |
CN106227198A (en) | Command signal processing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171024 |