CN104486186A - CAN bus network architecture system - Google Patents
CAN bus network architecture system Download PDFInfo
- Publication number
- CN104486186A CN104486186A CN201410841790.6A CN201410841790A CN104486186A CN 104486186 A CN104486186 A CN 104486186A CN 201410841790 A CN201410841790 A CN 201410841790A CN 104486186 A CN104486186 A CN 104486186A
- Authority
- CN
- China
- Prior art keywords
- ecu
- path
- identification information
- paths
- response message
- 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
Abstract
The invention provides a CAN bus network architecture system which comprises at least two ECUs, every two of the at least two ECUs are connected by a CAN bus to form a circular CAN bus network structure, and if any of one of the two CAN buses connecting the ECUs breaks down, the ECUs chose the CAN bus which doesn't break down for data transmission. Normal communication among the ECUs is further guaranteed, and simultaneously, the reliability of the bus network architecture system is improved.
Description
Technical field
The present invention relates to bus data communication field, particularly relate to a kind of CAN network architecture system.
Background technology
At present, controller local area network (Control Area Network, CAN) bussing technique has been widely used in various detection and control system, it is a kind of serial communication network of effective support dcs, CAN is by electronic control unit (the ElectronicControl Unit of vehicle electronics and automobile chassis, ECU) effectively connect, usual CAN connects a more than ECU.
In prior art, only there is a CAN path between two ECU in CAN system architecture, when breaking down in this CAN path, can cause between ECU and cannot communicate.
Summary of the invention
The invention provides a kind of bus network architecture system, thus ensure between ECU can proper communication, and then improve the reliability of bus network architecture system.
First aspect, this aspect embodiment provides a kind of CAN network architecture system, comprising: at least two electronic control unit ECU, and described at least two ECU are connected between two by controller local area network's CAN, looping CAN network configuration; If arbitrary is broken down in two CAN that described ECU connects, then described ECU selects the CAN do not broken down to carry out transfer of data.
In conjunction with first aspect, in the first possibility execution mode of first aspect, described ECU also comprises transmitting element, receiving element and selected cell; Described transmitting element, for sending detection messages to other ECU; Described receiving element, for receiving the detection response message that other ECU described send, wherein said detection response message carries identification information and the positional information of other ECU described; Described selected cell, for selecting optimum CAN path to carry out transfer of data according to described identification information and positional information, wherein CAN path is arbitrary CAN or at least two CAN be linked in sequence.
In conjunction with the first possibility execution mode of first aspect, in the second possibility execution mode of first aspect, described ECU also comprises memory cell; Described memory cell, detects identification information entrained by response message and positional information for storing.
In conjunction with the first possibility execution mode or the second possibility execution mode of first aspect, in the third possibility execution mode of first aspect, the state in described CAN path is: malfunction and normal condition.
May execution mode in conjunction with the third of first aspect, may in execution mode at the 4th kind of first aspect, described selected cell specifically for: determine two the CAN paths be connected with other ECU described; If described two CAN paths are normal condition, then described selected cell according to detect response message carry described in the identification information of other ECU and the shortest CAN path of positional information chosen distance carry out transfer of data.
In conjunction with the 4th kind of possibility execution mode of first aspect, in the 5th kind of possibility execution mode of first aspect, described ECU also comprises alarm unit: if in described two CAN paths arbitrary is malfunction, then the mark in CAN path that breaks down of described alarm unit.
In conjunction with the 5th kind of possibility execution mode of first aspect, in the 6th kind of possibility execution mode of first aspect, described ECU also comprises retransmission unit, described retransmission unit, for forwarding the data message of other at least two ECU of described ECU both sides.
Embodiments provide a kind of bus network architecture system, comprising: at least two ECU, described at least two ECU are connected between two by CAN, looping CAN network configuration.Make all there are two CAN paths between any two ECU based on annular CAN network configuration, when wherein a paths breaks down, then ECU can select another normal condition path to communicate with other ECU, thus ensure that the proper communication between ECU, improve the reliability of bus network architecture system simultaneously.
Accompanying drawing explanation
The structural representation of a kind of CAN network architecture system that Fig. 1 provides for one embodiment of the invention;
The structural representation of the ECU that Fig. 2 provides for one embodiment of the invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The structural representation of a kind of CAN network architecture system that Fig. 1 provides for one embodiment of the invention, wherein this CAN network architecture system comprises: at least two electronic control unit ECU, described at least two ECU are connected between two by controller local area network's CAN, looping CAN network configuration, if arbitrary is broken down in two CAN that described ECU connects, then described ECU selects the CAN do not broken down to carry out transfer of data.
Particularly, as shown in Figure 1, comprise three ECU for CAN network architecture system, described three ECU are respectively an ECU1, the 2nd ECU2 and the 3rd ECU3, each described ECU comprises first interface and the second interface, and described first interface and the second interface are for being connected described CAN.Three ECU connect and compose annular CAN network configuration between two by CAN.As shown in Figure 1, CAN between one ECU1 and the 2nd ECU2 is CAN1, CAN between 2nd ECU2 and the 3rd ECU3 is CAN2, CAN between one ECU1 and the 3rd ECU3 is CAN3, and definition CAN path is arbitrary CAN or at least two CAN be linked in sequence.Such as: there are two articles of CAN paths between an ECU1 and the 2nd ECU2 and be respectively: CAN1 and CAN2-CAN3, there are two articles of CAN paths between one ECU1 and the 3rd ECU3 to be respectively: CAN3 and CAN1-CAN2, there are two articles of CAN paths between the 2nd ECU2 and the 3rd ECU3 and be respectively: CAN2 and CAN1-CAN3.
The structural representation of the ECU that Fig. 2 provides for one embodiment of the invention, as shown in Figure 2, described ECU, except comprising first interface and the second interface, also comprises transmitting element 201, receiving element 202 and selected cell 203; Described transmitting element 201, for sending detection messages to other ECU; Described receiving element 202, for receiving the detection response message that other ECU described send, wherein said detection response message carries identification information and the positional information of other ECU described; Described selected cell 203, carries out transfer of data for selecting optimum CAN path according to described identification information and positional information.The state in wherein said CAN path is: malfunction and normal condition.
Wherein, identification information here can be the numbering of each ECU, and such as the identification information of an ECU is N_U_M_1, and the identification information of the 2nd ECU is N_U_M_2, and the identification information of the 3rd ECU is N_U_M_3.
Further, described ECU also comprises memory cell 204; Described memory cell 204, detects identification information entrained by response message and positional information for storing.
Alternatively, described selected cell 203 specifically for: determine two the CAN paths be connected with other ECU described; If described two CAN paths are normal condition, then described selected cell 203 according to detect response message carry described in the identification information of other ECU and the shortest CAN of positional information chosen distance carry out transfer of data; Such as: at present, there are two articles of CAN paths between one ECU1 and the 2nd ECU2 to be respectively: CAN1 and CAN2-CAN3, if every bar CAN length is identical, namely CAN1, CAN2 are identical with the length of CAN3, that then CAN1 and CAN2-CAN3 two paths middle distance is the shortest is CAN1, therefore, if an ECU will communicate with the 2nd ECU, then select CAN1 bus.If arbitrary in described two CAN paths is malfunction, then described selected cell 203 selection mode is that transfer of data is carried out in the CAN path of normal condition.Further, described ECU also comprises alarm unit 205: if in described two CAN arbitrary is malfunction, then the mark in CAN path that breaks down of described alarm unit 205.Such as: an ECU determines that CAN1 bus there occurs fault, then the mark of CAN1 bus can be sent to the display device in automobile by it.Here mark can be CAN1.
Alternatively, described ECU also comprises retransmission unit 206, described retransmission unit 206, for forwarding the data message of other at least two ECU of described ECU both sides.Such as the data message forwarding of the 2nd ECU just can be given the 3rd ECU by an ECU, and an ECU is here equivalent to a gateway device.
Certainly, the ECU in the present invention is not limited to three, can as long as connect and compose loop wire between two between ECU.
Present embodiments provide a kind of CAN network architecture system, wherein this system comprises: at least two ECU, and described at least two ECU are connected between two by CAN, looping CAN network configuration.Make all there are two CAN paths between any two ECU based on this loop wire network configuration, when wherein a paths breaks down, then ECU can select another normal condition path to communicate with other ECU, and then ensure that and proper communication between ECU improve the reliability of bus network architecture system simultaneously.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (7)
1. a CAN network architecture system, is characterized in that, comprising: at least two electronic control unit ECU, and described at least two ECU are connected between two by controller local area network's CAN, looping CAN network configuration;
If arbitrary is broken down in two CAN that described ECU connects, then described ECU selects the CAN do not broken down to carry out transfer of data.
2. system according to claim 1, is characterized in that, described ECU also comprises transmitting element, receiving element and selected cell;
Described transmitting element, for sending detection messages to other ECU;
Described receiving element, for receiving the detection response message that other ECU described send, wherein said detection response message carries identification information and the positional information of other ECU described;
Described selected cell, for selecting optimum CAN path to carry out transfer of data according to described identification information and positional information, wherein CAN path is arbitrary CAN or at least two CAN be linked in sequence.
3. system according to claim 2, is characterized in that, described ECU also comprises memory cell;
Described memory cell, detects identification information entrained by response message and positional information for storing.
4. the system according to Claims 2 or 3, is characterized in that, the state in described CAN path is: malfunction and normal condition.
5. system according to claim 4, is characterized in that, described selected cell specifically for: determine two the CAN paths be connected with other ECU described;
If described two CAN paths are normal condition, then described selected cell according to detect response message carry described in the identification information of other ECU and the shortest CAN path of positional information chosen distance carry out transfer of data.
6. system according to claim 5, is characterized in that, described ECU also comprises alarm unit: if in described two CAN paths arbitrary is malfunction, then the mark in CAN path that breaks down of described alarm unit.
7. system according to claim 6, is characterized in that, described ECU also comprises retransmission unit, described retransmission unit, for forwarding the data message of other at least two ECU of described ECU both sides.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410841790.6A CN104486186A (en) | 2014-12-30 | 2014-12-30 | CAN bus network architecture system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410841790.6A CN104486186A (en) | 2014-12-30 | 2014-12-30 | CAN bus network architecture system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104486186A true CN104486186A (en) | 2015-04-01 |
Family
ID=52760692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410841790.6A Pending CN104486186A (en) | 2014-12-30 | 2014-12-30 | CAN bus network architecture system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104486186A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105337803A (en) * | 2015-11-19 | 2016-02-17 | 漳州科华技术有限责任公司 | Method for detecting communication wire disaggregation of loop system |
CN107608330A (en) * | 2017-08-24 | 2018-01-19 | 苏州汇川联合动力系统有限公司 | A kind of integrated manipulator of electric automobile, communication system and the means of communication |
CN111181825A (en) * | 2019-12-31 | 2020-05-19 | 智车优行科技(北京)有限公司 | Information processing method and apparatus, electronic device, and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201146532Y (en) * | 2008-01-29 | 2008-11-05 | 西安特菲尔电子有限公司 | Non master-slave annular equity network based on CAN bus |
CN202035002U (en) * | 2011-03-25 | 2011-11-09 | 浙江吉利汽车研究院有限公司 | Automobile controller area network (CAN) bus structure |
-
2014
- 2014-12-30 CN CN201410841790.6A patent/CN104486186A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201146532Y (en) * | 2008-01-29 | 2008-11-05 | 西安特菲尔电子有限公司 | Non master-slave annular equity network based on CAN bus |
CN202035002U (en) * | 2011-03-25 | 2011-11-09 | 浙江吉利汽车研究院有限公司 | Automobile controller area network (CAN) bus structure |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105337803A (en) * | 2015-11-19 | 2016-02-17 | 漳州科华技术有限责任公司 | Method for detecting communication wire disaggregation of loop system |
CN105337803B (en) * | 2015-11-19 | 2018-07-20 | 漳州科华技术有限责任公司 | A kind of loop system connection parallel off detection method |
CN107608330A (en) * | 2017-08-24 | 2018-01-19 | 苏州汇川联合动力系统有限公司 | A kind of integrated manipulator of electric automobile, communication system and the means of communication |
CN107608330B (en) * | 2017-08-24 | 2021-03-05 | 苏州汇川联合动力系统有限公司 | Electric vehicle integrated controller, communication system and communication method |
CN111181825A (en) * | 2019-12-31 | 2020-05-19 | 智车优行科技(北京)有限公司 | Information processing method and apparatus, electronic device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101575547B1 (en) | The error variance detection method of can communication system and the can communication system | |
KR101111137B1 (en) | Remote wiring check system and access connector using the same | |
CN111343085B (en) | Routing system and method of vehicle-mounted CAN bus gateway | |
JP6451546B2 (en) | Communication network and relay device | |
US10924331B2 (en) | Controller area network communication system | |
CN106603359B (en) | The communicating control method and device of PLC system | |
CN104115452A (en) | Communication system, relay device, and method for controlling power supply | |
US20150312123A1 (en) | Method and apparatus for isolating a fault in a controller area network | |
CN104486186A (en) | CAN bus network architecture system | |
US8959386B2 (en) | Network and expansion unit and method for operating a network | |
KR20080041688A (en) | Method for transmitting messages via redundant channels | |
CN105991315A (en) | Link protection method applied to SDN (software defined network), switching device and network controller | |
JP6410914B1 (en) | Serial communication system | |
JP2008227591A (en) | On-vehicle relay connection unit | |
CN105765909A (en) | Link switching method and device | |
US9778638B2 (en) | Programmable logic controller communication system | |
JP2016141200A (en) | Onboard network | |
US20200204397A1 (en) | Relay apparatus, relay method and relay program | |
CN101729349B (en) | RRPP-based detection method and device for connectivity of main ring access | |
CN102932172A (en) | Method, equipment and system for detecting Ethernet ring failure node | |
JP2017114406A (en) | Network system | |
JP6950516B2 (en) | Relay device | |
JP2017092566A (en) | On-vehicle network system | |
JP5212339B2 (en) | Data relay apparatus and data relay method | |
JP2012182607A (en) | Communication disruption determination system and communication node, and communication disruption determination method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150401 |
|
RJ01 | Rejection of invention patent application after publication |