CN209330143U - A kind of CAN bus network - Google Patents
A kind of CAN bus network Download PDFInfo
- Publication number
- CN209330143U CN209330143U CN201920015425.8U CN201920015425U CN209330143U CN 209330143 U CN209330143 U CN 209330143U CN 201920015425 U CN201920015425 U CN 201920015425U CN 209330143 U CN209330143 U CN 209330143U
- Authority
- CN
- China
- Prior art keywords
- bus
- interface
- processor
- primary processor
- secondary processor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The utility model provides a kind of CAN bus network, including primary processor and secondary processor;The primary processor is connected with Ethernet interface, and the Ethernet interface is for connecting vehicle-mounted interchanger;It is connected between the primary processor and secondary processor by universal serial bus;The secondary processor is connected at least two CAN interfaces, and each CAN interface is connected with a corresponding CAN bus.Primary processor and secondary processor is arranged in technical solution provided by the utility model in automobile-used CAN bus network, and secondary processor is connected at least two CAN interfaces, and each CAN interface connects a corresponding CAN bus.The task of primary processor is more, and secondary processor only carries out the data processing of CAN interface, its hardware and software resource can be all for for CAN interface service, therefore secondary processor can connect a large amount of CAN interface, to increase the hardware node quantity of automobile-used CAN bus access, existing automobile-used CAN bus access hardware node limited amount is solved the problems, such as.
Description
Technical field
The utility model belongs to CAN bus technical field, and in particular to a kind of CAN bus network.
Background technique
It is various for the requirement to safety, comfort, convenience, low nuisanceless, low cost in automobile industry
Electronic control system be developed.Due to communicating data type used between these systems and to the requirement of reliability
There are many case where being not quite similar, being made of multiple bus, and the quantity of harness is consequently increased." number of harness is reduced for adaptation
Amount ", the needs of " by multiple LAN, carrying out the high-speed communication of mass data ", electrical quotient Bosch, Germany in 1986 develops
CAN (Controller Area Network) communication protocol towards automobile.Hereafter, CAN passes through ISO11898 and ISO11519
It is standardized, has become the serial communication protocol of ISO International standardization.
The high-performance and reliability of CAN is accepted, and be widely used in industrial automation, ship, Medical Devices,
Industrial equipment etc..Fieldbus is one of the hot spot of nowadays automatic field technology development, is known as automatic field
Computer LAN.Its appearance realizes that real-time, reliable data communication provides between each node for dcs
Strong technical support.
With the development of science and technology, electronic equipment is more and more on vehicle, there are the following problems for CAN bus on present vehicle:
First, gradually increased using the type and quantity of perception sensor device, a CAN bus or even two are total
Line is no longer satisfied requirement.Even if a plurality of CAN bus is arranged, since the task that core processing plate needs to be implemented is numerous, do not have yet
There are excessive hardware resource and software resource to go to connect a plurality of CAN bus.
Second, in current automated driving system, each modular program is carried out by directly operating CAN network hardware node
Data and command interaction, due to the characteristic of the network CAN hardware node, the same network hardware node only allows a process simultaneously
Module is written and read the network CAN hardware node, leads to not be multiplexed CAN network hardware node.
Utility model content
The purpose of this utility model is to provide a kind of CAN bus networks, for solving existing automobile-used CAN bus access
The problem of hardware node limited amount.
To achieve the above object, technical solution provided by the utility model is:
A kind of CAN bus network, including primary processor and secondary processor;The primary processor is connected with Ethernet and connects
Mouthful, the Ethernet interface is for connecting vehicle-mounted interchanger;Pass through universal serial bus between the primary processor and secondary processor
Connection;The secondary processor is connected at least two CAN interfaces, and each CAN interface is connected with a corresponding CAN bus.
Primary processor and aid in treatment is arranged in technical solution provided by the utility model in automobile-used CAN bus network
Device, secondary processor are connected at least two CAN interfaces, and each CAN interface connects a corresponding CAN bus.Primary processor
Task it is more, and secondary processor only carries out the data processing of CAN interface, hardware and software resource can all for for
CAN interface service, therefore secondary processor can connect a large amount of CAN interface, to increase the hardware of automobile-used CAN bus access
Number of nodes solves the problems, such as existing automobile-used CAN bus access hardware node limited amount.
Further, the CAN interface includes CAN transceiver.
CAN transceiver is set, information can be received from CAN bus, also can send information to CAN bus.
Further, the primary processor is connected with one or two CAN interfaces, and each CAN interface is connected with one
Corresponding CAN bus.
CAN interface is arranged on primary processor can further increase the quantity of automobile-used CAN bus, guarantee that access is more hard
Part number of nodes.But the CAN interface quantity that primary processor is connected should not be excessive, should ensure that and does not increase primary processor excessively
Burden leads to the reduction of its working efficiency.
Further, the universal serial bus is spi bus.
Further, the primary processor is IMX6 processing board, and the secondary processor is TC234 processing board.
Detailed description of the invention
Fig. 1 is the structure principle chart of CAN bus network in the utility model embodiment.
Specific embodiment
The technical solution of the utility model is described further With reference to embodiment.
The utility model provides a kind of CAN bus network, total for increasing CAN using primary processor and secondary processor
The hardware node quantity of line access solves the problems, such as existing automobile-used CAN bus access hardware node limited amount.
CAN bus network provided by the utility model, structural principle is as shown in Figure 1, include primary processor and auxiliary
Processor, wherein primary processor is using IMX6 processing board, and secondary processor is using TC234 processing board.Primary processor
Be provided with the Ethernet interface for connecting interchanger, and between primary processor and secondary processor by spi bus connect with
Carry out information exchange.
7 CAN interfaces are provided in TC234 processing board, respectively CAN-3 interface, CAN-4 interface, CAN-5 connects
Mouth, CAN-6 interface, CAN-7 interface, CAN-8 interface and CAN-9 interface, each CAN interface is mutually indepedent, and is separately connected
One corresponding CAN bus.Each CAN bus is respectively used to the communication of the other equipment in the CAN bus and vehicle by vehicle and connects
It connects, if the CAN-3 interface in the present embodiment is used to connect the monocular camera on vehicle by CAN bus, CAN-4 interface is for leading to
The binocular camera on CAN bus connection vehicle is crossed, CAN-5 interface is used to connect the ultrasonic radar on vehicle by CAN bus,
CAN-6 interface is used to connect the millimetre-wave radar 1 of vehicle by CAN bus, and CAN-7 interface is used to connect vehicle by CAN bus
Millimetre-wave radar 2, CAN-8 interface be used for by CAN bus connect vehicle millimetre-wave radar 3, CAN-9 interface be used for lead to
Cross the brake apparatus of CAN bus connection vehicle.
Linux system and gateway are carried in IMX6 processing board used by primary processor, and are connected and connect there are two CAN bus
Mouthful, respectively Socket CAN-1 interface and Socket CAN-2 interface, Socket CAN-1 interface is for leading in the present embodiment
The V2X device of CAN bus connection vehicle is crossed, Socket CAN-2 interface is used to connect the full-vehicle control of vehicle by CAN bus
Device.Each CAN interface is mutually indepedent, and is separately connected a corresponding CAN bus, therefore every CAN bus is also mutual
It is independent.2 tunnel CAN bus of access are mapped as the Socket network equipment by the linux system carried in IMX6 processing board, are passed through
The interface method of standard Socket CAN provides the read-write to CAN network.Ethernet interface is set, is to realize to improve on software
CAN hardware net node reusability also provides condition: application program passes through net without the directly operation network CAN hardware node
The CAN data read and write interface that can realize standardization is closed, more to need the application software of CAN data to provide data service.
To improving the reusability of CAN hardware net node, and the quantity required of CAN network hardware node can be reduced, save at
This.
When the network operation of the present embodiment:
IMX6 processing board starting, the linux system run thereon in IMX6 processing board and TC234 processing board from access
CAN bus carry out unified addressing, by IMX6 processing board Socket CAN-1 interface and Socket CAN-2 interface compile respectively
Number be 1 and 2, by TC234 processing board CAN-3 interface, CAN-4 interface, CAN-5 interface, CAN-6 interface, CAN-7 interface,
CAN-8 interface and CAN-9 interface difference number consecutively are 3-9.
It, can be by data when IMX6 processing board receives the data of Socket CAN-1 interface and Socket CAN-2 interface
Gateway is passed to, broadcasts CAN data from gateway to Ethernet interface.
After each CAN interface in TC234 processing board receives data from corresponding CAN bus, by TC234 processing board with
Spi bus between IMX6 processing board sends it to IMX6 processing board, and IMX6 processing board data pass to gateway, from gateway to
Ethernet interface broadcasts CAN data.
In the present embodiment, connected between primary processor and secondary processor by spi bus;As other embodiments,
Between the two I can be such as used using other universal serial bus connections2C serial bus connection etc..
In the present embodiment, each CAN interface is provided with corresponding CAN transceiver, can either connect from corresponding CAN bus
Data are received, data can also be sent as corresponding CAN bus.CAN transceiver in the present embodiment can be used common such as model
For the CAN transceiver of TJA1040 or CAN transceiver of PCA82C251 etc..
In the present embodiment, there are two CAN interfaces for primary processor connection;As other embodiments, processor can be with
Only connect a CAN interface, can also be not connected to CAN interface, principle be under the premise of making full use of resource not
The excessive burden for increasing primary processor.
Claims (5)
1. a kind of CAN bus network, which is characterized in that including primary processor and secondary processor;The primary processor is connected with
Ethernet interface, the Ethernet interface is for connecting vehicle-mounted interchanger;Pass through between the primary processor and secondary processor
Universal serial bus connection;The secondary processor is connected at least two CAN interfaces, and each CAN interface is connected with one accordingly
CAN bus.
2. CAN bus network according to claim 1, which is characterized in that the CAN interface includes CAN transceiver.
3. CAN bus network according to claim 1, which is characterized in that the primary processor is connected with one or two
A CAN interface, each CAN interface are connected with a corresponding CAN bus.
4. CAN bus network according to claim 1, which is characterized in that the universal serial bus is spi bus.
5. CAN bus network according to claim 1, which is characterized in that the primary processor is IMX6 processing board, described
Secondary processor is TC234 processing board.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920015425.8U CN209330143U (en) | 2019-01-04 | 2019-01-04 | A kind of CAN bus network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920015425.8U CN209330143U (en) | 2019-01-04 | 2019-01-04 | A kind of CAN bus network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209330143U true CN209330143U (en) | 2019-08-30 |
Family
ID=67730672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920015425.8U Active CN209330143U (en) | 2019-01-04 | 2019-01-04 | A kind of CAN bus network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209330143U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116434375A (en) * | 2022-11-09 | 2023-07-14 | 广州致远电子股份有限公司 | Combined bus data recorder and automobile |
-
2019
- 2019-01-04 CN CN201920015425.8U patent/CN209330143U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116434375A (en) * | 2022-11-09 | 2023-07-14 | 广州致远电子股份有限公司 | Combined bus data recorder and automobile |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050114577A1 (en) | Data transmission method serial bus system and switch-on unit for a passive station | |
DE102008049018A1 (en) | Filter and route in a Management Component Transport Protocol interconnect | |
CN101226397A (en) | High reliability distributed Ethernet test control system | |
CN106789747B (en) | Switch with multi-gateway function and communication system | |
CN113406946B (en) | Automobile diagnosis method and device and automobile diagnosis equipment | |
CN106873541A (en) | A kind of EtherCAT Distributed Servo kinetic control systems based on DSP | |
CN1123168C (en) | Communication method for internal transmission network of measuring and control equipoment | |
CN108616524A (en) | Data transmission method, device and data converter | |
CN209330143U (en) | A kind of CAN bus network | |
CN107506324A (en) | Interconnecting device, telecommunication system, data transmission method and device | |
EP2660726A1 (en) | Method and device for emulating a bus system | |
CN103823775A (en) | Serial port and Internet port smart converter | |
CN210324188U (en) | Integrated circuit bus IIC master-slave competition automatic switching equipment and system thereof | |
CN103067213A (en) | Data recording system | |
CN112241385A (en) | MVB communication network card based on PCIE bus and protocol conversion method | |
CN209964079U (en) | Multi-channel CAN interface device and electronic product | |
CN107168909A (en) | Interconnecting device, telecommunication system, data transmission method and device | |
CN104253727A (en) | Diagnosis method and system of vehicle LIN (local interconnect network) | |
CN207882728U (en) | A kind of control system | |
CN109067631B (en) | Multi-node automobile electric control method based on real-time Ethernet communication protocol architecture | |
CN111674428A (en) | Train brake control unit Ethernet joint debugging system and joint debugging method | |
CN209358540U (en) | Based on configurable intelligent network repeater | |
CN210895080U (en) | Programmable CAN Bus controller | |
CN218243548U (en) | Vehicle wiring harness system and vehicle | |
CN108181861A (en) | A kind of control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 450061 Yudao Road, Guancheng District, Zhengzhou City, Henan Province Patentee after: Yutong Bus Co.,Ltd. Address before: 450061 Yudao Road, Guancheng District, Zhengzhou City, Henan Province Patentee before: ZHENGZHOU YUTONG BUS Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |