CN100341283C - On vehicle network central control unit and its managing and controlling method for on-vehicle network - Google Patents
On vehicle network central control unit and its managing and controlling method for on-vehicle network Download PDFInfo
- Publication number
- CN100341283C CN100341283C CNB2005100385448A CN200510038544A CN100341283C CN 100341283 C CN100341283 C CN 100341283C CN B2005100385448 A CNB2005100385448 A CN B2005100385448A CN 200510038544 A CN200510038544 A CN 200510038544A CN 100341283 C CN100341283 C CN 100341283C
- Authority
- CN
- China
- Prior art keywords
- control unit
- central control
- node
- message
- network
- 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
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000003745 diagnosis Methods 0.000 claims abstract description 44
- 230000004044 response Effects 0.000 claims abstract description 25
- 238000004891 communication Methods 0.000 claims abstract description 4
- 238000007726 management method Methods 0.000 claims description 51
- 230000006855 networking Effects 0.000 claims description 48
- 230000004913 activation Effects 0.000 claims description 18
- 230000007257 malfunction Effects 0.000 claims description 13
- 230000005059 dormancy Effects 0.000 claims description 8
- 238000012360 testing method Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000015572 biosynthetic process Effects 0.000 claims description 7
- 230000008859 change Effects 0.000 claims description 4
- 238000013461 design Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 claims description 4
- 230000002596 correlated effect Effects 0.000 claims description 3
- 230000004048 modification Effects 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 3
- 230000008439 repair process Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 abstract description 2
- 230000007958 sleep Effects 0.000 abstract description 2
- 230000001276 controlling effect Effects 0.000 abstract 1
- 230000003993 interaction Effects 0.000 abstract 1
- 230000001105 regulatory effect Effects 0.000 abstract 1
- 230000002618 waking effect Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 6
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 238000004378 air conditioning Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 240000008365 Celosia argentea Species 0.000 description 1
- 235000000722 Celosia argentea Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003012 network analysis Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The present invention discloses a central control unit of a car-carried network and a method for controlling and managing the car-carried network, which relates to the central control unit of the car-carried network and a method for diagnosing network management and system configuration for the central control unit. The central control unit of the car-carried network comprises a microprocessor CPU, a controller area network CAN transceiver, a controller area network CAN controller, a CAN bus interface, a regulated power supply, an input and output interface circuit, and a switch signal detection circuit. A car-carried network system is composed of a plurality of electronic control units with the CAN interfaces. The central control unit keeps communicating with all nodes of the car-carried network and coordinates work, and thereby, a node data base which is deployed originally in the system exists in the central control unit CPU. The central control unit and other nodes of the car-carried network through configuration data request and response, and network management request and response digital communication to carry out interaction, so that a series of network management, such as, allocation, diagnosis, sleep, waking up, etc., of the entire car-carried network can be realized.
Description
Technical field
In-vehicle networking of the present invention (CAN controller local area network) central control unit and what In-vehicle networking management, control method were related to is the method for a kind of central control unit (being called for short the vehicle body computer) of automobile mounted network system and network management thereof and system configuration, diagnosis.
Background technology
At present, adopt electronic-controlled installation to come the phenomenon of certain function of Control of Automobile more and more, as air bag, ABS, the work of each control device is independently, do not form system, lack organic connections, the failure code of storage also isolates when breaking down, other correlation technique data when not breaking down lack configuration, diagnosis and management to all electronic-controlled installations of whole system.
Summary of the invention
The objective of the invention is at above-mentioned weak point, a kind of In-vehicle networking central control unit is provided and In-vehicle networking is managed, control method, whole In-vehicle networking is carried out the method for system's control and management by central control unit, this In-vehicle networking central control unit is made of microprocessor CPU and embedded Control software, be the core and the critical component of automobile controller local area network (LAN) CAN system, host node as the control of low speed CAN controller local area network, have strong mutual with other nodes of network, adopt the computer communication modes to send the CAN frame of network management to network, the dormancy of other nodes of Control Network, wake up, and the configuration management of system node, the diagnosis of system node and fault detect, detected failed storage is in the Nonvolatile memory of central control unit, show the fault content by central control unit according to the state-driven instrument liquid crystal display screen flicker of dynamic link library or with Chinese character, realize whole network management function.
In-vehicle networking central control unit and take following mode to realize to In-vehicle networking management, control method: the In-vehicle networking central control unit comprises the microprocessor of integrated CAN controller, the CAN transceiver, input, output interface circuit, switching signal testing circuit, stabilized voltage power supply etc.
The CAN bus links to each other with the CAN transceiver by input/output interface, and the CAN transceiver links to each other with microprocessor CPU, and unit switch links to each other with input/output interface, links to each other with microprocessor CPU by the switching signal testing circuit, and stabilized voltage power supply provides operating voltage to system.Controller local area network CAN controller is integrated in the microprocessor CPU.
The switching signal that unit switch sends is given microprocessor CPU by the switching signal testing circuit, microprocessor CPU receives that signal coding rule in accordance with regulations encodes, becoming digital signal sends to the CAN bus by the CAN transceiver, the decoding rule that other contacts are received behind the CAN message is according to the rules decoded, control executing mechanism is moved, the CAN failure diagnosis message that other contacts send is given microprocessor CPU by the CAN transceiver, microprocessor carries out analytical calculation to message, realizes configuration, diagnosis and network management to system.
The central control unit of In-vehicle networking is to In-vehicle networking management, control method:
The electronic control unit of several bands CAN interface is determined in designing requirement according to car load, form In-vehicle networking, each electronic control unit must have a definite physical address and diagnosis address, this is the destination address of network management and system diagnostics message identifier and the foundation of source address, other nodes of central control unit and In-vehicle networking are by " configuration data request, reply ", and digital communications such as " network management request, reply " carries out alternately, realizes whole In-vehicle networking is configured, diagnosis, dormancy, a series of network managements such as wakes up;
Central control unit must keep communicating by letter with all nodes of In-vehicle networking, all nodes are bundled, the formation system, co-ordination, so there is the node database of system's original configuration among the central control unit CPU, central control unit constantly sends the network management message, and system node is inquired, grasp the active situation of each node, formation system " database of node state ";
At some specific vehicles, specific system, central control unit original configuration data and configuration requirement are certain, to different vehicles and system, different configuration requirements and configuration data are arranged, the original configuration data will be stored in the central control unit Nonvolatile memory, if central control unit correctly disposes according to specific vehicle, after the start at the appointed time, it will send " configuration data request " message to network, to ask other ECU to send " configuration-data-code-response " message, simultaneously other nodes are write configuration data, if central control unit does not correctly dispose according to system requirements, message just can not send, and will get started the configuration message searching mistake and send a no content this moment to network;
Central control unit is the manager of In-vehicle networking, central control unit will send " network management " message according to the fixing cycle on network, message length is determined according to amount of information, contain information such as WOL, network dormancy, node state of activation, malfunction in the message, represent with 0 and 1 in specified byte respectively;
Slave node is received after central control unit " network management request " message, to have self physical address is that " network management response " message of identifier is replied, contain " dynamic link library state, information such as malfunction, configuration status and state of activation in the response message.
Central control unit is according to the response message of all nodes, and the active state that each node is current indicates in " node state database ", gives comparison with original configuration again, plays the effect of network management and system diagnostics;
The Configuration Online of vehicle electronic control unit and system diagnostics must realize by the system diagnostics service, the length of Diagnosis Service CAN frame is fixed 8 bytes, untapped byte fills out 0, destination address and source address are controlled by host-host protocol, source address is encoded in the CAN identifier, in the CAN message, message identifier is made up of rank, kind, node address;
Rank: the most urgent is applied as 000, network management and be diagnosed as 111,
Kind: priority is up to 000, and priority is minimum to be 111;
Data length information is from " Diagnosis Service identification code ", and in the request message of tester, destination address is the physical address of ECU, and in the response message of ECU, destination address is the address F1 of tester;
" diagnosis request message " sent by tester, the destination address of request message is the physical address of node always, and the destination address of " the diagnostic response message " of node is the physical address F1 of tester always, by system diagnostics, system parameters be can change, output, input relation changed;
System node is received after tester " diagnosis request " message, to be responded according to set form, if accept request, reply with " the diagnosis request just responds ", if do not accept, then reply with " diagnosis request Negative Acknowledgment ", just responding with Negative Acknowledgment has different codes to be distinguished;
For guaranteeing system safety, the modification of system core parameter must be adopted the secure access rule, just can carry out after exchanging password for several times;
Fixing zone is arranged in the central control unit, adopt the good form storage failure information of planning, because some fault occurs under given conditions, so the correlated condition parameter when breaking down will be arranged in the failed storage district, the moment of breaking down, conditional parameter is stored in the lump, so as when to repair with reference to, analyze.The latest update when data that read failure code ECU must guarantee to send to tester are application, ECU must guarantee not lose the content of any failed storage when KEY OFF and deenergization;
Each failed storage is divided into the piece of some bytes, so that tester " discovery " fault.Each piece all should be included in all data that need when describing a DTC.
The dynamic data base that has the network node state in the central control unit internal memory comprises node physical address, Node Diagnostics address, node state of activation, malfunction, bus failure or system compatible state.The fault content and the information of whole system, are triggered LCD screen and show with Chinese character by network service by central control unit.
In-vehicle networking central control unit and to In-vehicle networking management, control method characteristics:
1, In-vehicle networking disposes the electronic control unit (hereinafter to be referred as node) of some band microprocessors, form controller local area network, by central control unit (being called for short the vehicle body computer) supervising the network, it is the host node of In-vehicle networking, other control units are as slave node, all nodes all have definite physical address and diagnosis address, so that system configuration, diagnosis and network management.
2, system has diagnosing protocol and the Diagnosis Service content of observing jointly.
3, central control unit has been stored all data of system's original configuration node, is in operation, and central control unit sends the network management request message every regular time, and all slave nodes are beamed back response message successively.Message adopts the form coding that provides, order and node failure state and the information such as active state in network of representing WOL, network dormancy with some specific word bit, central control unit is received these messages, form is decoded according to the rules, decision node configuring condition and malfunction, compare with the system original configuration,, trigger fault alarm according to the difference failure judgement of two forms.
4, central control unit is in failed storage district storage failure code, and the conditional parameter when storing the fault generation is so that carry out network analysis.
5, bus open circuit causes and has changed the electronic control unit incompatible with system when losing certain node or repairing, and central control unit triggers mileometer and shows the liquid crystal display screen flicker by network service.
6, after node breaks down,, drive instrument liquid crystal display screen Chinese character roll display fault content by the failure code of central control unit according to storage.
Description of drawings
Below with reference to accompanying drawing invention is described further.
Fig. 1 is an In-vehicle networking central control unit circuit structure diagram
Fig. 2 is the network node schematic diagram of In-vehicle networking
Embodiment
With reference to accompanying drawing 1,2, the In-vehicle networking central control unit comprises the microprocessor of integrated CAN controller, CAN transceiver, input, output interface circuit, switching signal testing circuit, stabilized voltage power supply etc.
The CAN bus links to each other with the CAN transceiver by input/output interface, and the CAN transceiver links to each other with microprocessor CPU, and unit switch links to each other with input/output interface, links to each other with microprocessor CPU by the switching signal testing circuit, and stabilized voltage power supply provides operating voltage to system.Controller local area network CAN controller is integrated in the microprocessor CPU.
Microprocessor CPU can adopt MC68HC08GZ16, and controller local area network CAN transceiver adopts TJA1054, and power module adopts LM2576-5, and the switching signal detection chip adopts MC33993.
The central control unit of In-vehicle networking is to In-vehicle networking management, control method:
According to the car load design, determine several In-vehicle networking contacts, each contact must have a definite physical address and diagnosis address, and central control unit is the In-vehicle networking manager.The database that has system's original configuration node among the central control unit CPU, central control unit constantly send " network management request " message, and system node is inquired, grasp the active situation of each node, formation system " database of node state ".The database of node state comprises node order, node address, state of activation, malfunction, bus failure or system compatible state etc.Node address comprises physical address, diagnosis address.The original configuration data will be stored in the central control unit Nonvolatile memory.If central control unit correctly disposes according to specific vehicle, after the start at the appointed time, as it will send " configuration data request " message to network after 1 second, to ask other ECU to send " response of configuration data code " message, simultaneously other nodes are write configuration data.Central control unit is according to the response message of all nodes, and the active state that each node is current indicates in " node state database ", gives comparison with original configuration again, plays the effect of network management and system diagnostics.
Central control unit is the manager of In-vehicle networking, central control unit will send " network management " message according to the fixing cycle on network, message length is determined according to amount of information, contain information such as WOL, network dormancy, node state of activation, malfunction in the message, represent with 0 and 1 in specified byte respectively.
Design according to car load, determine several In-vehicle networking contacts, for example: central control unit node (vehicle body computer node), lighting control node, instrument show node, engine signal contact, steering gear node, steering wheel Control Node, braking node, luggage case contact, air-conditioning node etc., as shown in Figure 2.Each contact must have a definite physical address and diagnosis address, and this is the destination address of network management and system diagnostics message identifier and the foundation of source address.From the following table relation of node physical address and identifier as can be seen:
The CAN address | Node | Diagnosis address (hexadecimal) | Diagnosis message identifier request/reply | Configuration diagnostics identifier request/reply |
0 | Vehicle body computer node | xx | 7X0/7X0 | 7X0/NA |
1 | The engine control node | xx | 7X0/7X1 | 7X0/7X1 |
2 | The steering gear node | xx | 7X0/7X2 | 7X0/7X2 |
3 | The instrument node | xx | 7X0/7X3 | 7X0/7X3 |
4 | The steering wheel Control Node | xx | 7X0/7X4 | 7X0/7X4 |
5 | The gearbox node | xx | 7X0/7X5 | 7X0/7X5 |
6 | The braking node | xx | 7X0/7X6 | 7X0/7X6 |
7 | Lighting control node | xx | 7X0/7X7 | 7X0/7X7 |
8 | Luggage feather cockscomb node | xx | 7X0/7X8 | 7X0/7X8 |
9 | The air-conditioning node | xx | 7X0/7X9 | 7X0/7X9 |
10 | The ABS node | xx | 7X0/7XA | 7X0/7XA |
11 | The position of driver node | xx | 7X0/7XB | 7X0/7XB |
12 | The car door Control Node | xx | 7X0/7XC | 7X0/7XC |
13 | …… | xx | 7X0/7XD | 7X0/7XD |
14 | …… | xx | 7X0/7XE | 7X0/7XE |
15 | …… | xx | 7X0/7XF | 7X0/7XF |
Central control unit is the In-vehicle networking manager.How many nodes In-vehicle networking has disposed, and central control unit is called for short the vehicle body computer must be understood, so that all nodes are bundled, and formation system, co-ordination.So there is the database of system's original configuration node among the central control unit CPU, central control unit constantly sends " network management request " message, system node is inquired, grasp the active situation of each node, formation system " database of node state ".The database of node state comprises node order, node address, state of activation, malfunction, bus failure or system compatible state etc.Node address comprises physical address, diagnosis address.
The form of database is roughly as follows:
Node address | Original configuration | State of activation | Malfunction | Bus failure or system are incompatible | |
Node one | 0 | Not configuration of 1 expression has been disposed in 0 expression | 0 expression has activated 1 expression un-activation | 1 expression of 0 expression fault-free has fault | The normal 1 expression bus of 0 expression bus breaks away from |
Node two | 1 | Not configuration of 1 expression has been disposed in 0 expression | 0 expression has activated 1 expression un-activation | 1 expression of 0 expression fault-free has fault | The normal 1 expression bus of 0 expression bus breaks away from |
Node three | 2 | Not configuration of 1 expression has been disposed in 0 expression | 0 expression has activated 1 expression un-activation | 1 expression of 0 expression fault-free has fault | The normal 1 expression bus of 0 expression bus breaks away from |
Node four | 3 | Not configuration of 1 expression has been disposed in 0 expression | 0 expression has activated 1 expression un-activation | 1 expression of 0 expression fault-free has fault | The normal 1 expression bus of 0 expression bus breaks away from |
…… | …… | …… | …… | …… | …… |
At some specific vehicles, specific system, central control unit original configuration data and configuration requirement are certain, to different vehicles and system, different configuration requirements and configuration data are arranged, the original configuration data will be stored in the central control unit Nonvolatile memory, this process should write in that the production line of automobile factory is online, online writing needs special-purpose write device (instrument), on-line testing instrument and In-vehicle networking adopt same diagnosing protocol and Diagnosis Service code, observe the rule of secure access, write data and key parameter that particular system needs.As instrument range, speed ratio etc.But in view of the production technology level of present automobile factory, this process also can be finished in ECU factory.
If central control unit correctly disposes according to specific vehicle, after the start at the appointed time, as it will send " configuration data request " message to network after 1 second, to ask other ECU to send " configuration-certificate-code-response " message, simultaneously other nodes are write configuration data.If central control unit does not correctly dispose according to system requirements, message just can not send, and will get started the configuration message searching mistake and send a no content this moment to network.
The vehicle body computer will be checked in the second behind transmission message " configuration data request " message:
Whether all are programmed replying all of node from needs is received, respectively is programmed node and decides according to the configuration message content;
Whether receive that there be not replying of node in those;
Whether node has all been confirmed the programming request behind network management of receiving and state message;
Whether all configuration-data of receiving-codes all require identical with its original design;
Under the situation of the problem of configuring, central control unit triggers LCDs LCD with director and begins flicker, and the prompting driver handles as early as possible;
Central control unit will be formed the information that comprises system configuration state that obtains the data form of " system node slip condition database ", and the form of this moment will be used as the instrument of network management and system diagnostics.
Central control unit is the manager of In-vehicle networking, central control unit will send " network management " message according to the fixing cycle on network, message length is determined according to amount of information, contain information such as WOL, network dormancy, node state of activation, malfunction in the message, represent with 0 and 1 in specified byte respectively.
The network management message format is as shown in the table:
Host node ID: type: PE cycle: XXms X byte sender: vehicle body computer | |||||
Signal name | The transmission incident | Bit number | The Bit number | Character | Numerical value |
0 byte | 63-56 | 8 | Fixing | 0 | |
The dynamic link library error condition | 55-54 | 2 | The mistake state of activation is reactionless/and alarm condition bus off-state need not | 0 1 2 3 | |
The physical layer error state | 53-53 | 1 | Losing efficacy, not existing lost efficacy exists | 0 1 | |
Configuration state | 52-52 | 1 | Disposed not configuration | 0 1 | |
The host node state of activation | 51-51 | 1 | Do not activate and activate | 0 1 | |
System command | 50-49 | 2 | Wake request is parked in without system and activates the Request System sleep request | 0 1 2 3 | |
Need not | 48 | 1 | Always 0 | 0 | |
The slave node state of activation | 47-32 | 16 | Activate in that current un-activation on the bus is current on bus | 0 1 |
Slave node is received after central control unit " network management request " message, to have self physical address is that " network management response " message of identifier is replied, contain " dynamic link library state, information such as malfunction, configuration status and state of activation in the response message.
The slave node message format is as follows:
Slave node ID 70X type: E cycle :-2 byte senders: slave node | |||||
Signal name | The transmission incident | Bit number | The Bit number | Character | Numerical value |
The dynamic link library malfunction | 63-62 | 2 | The mistake state of activation is reactionless/and alarm condition bus off-state need not | 0 1 2 3 | |
Configuration state | 61 | Disposed not configuration | 0 1 | ||
State of activation | 60 | 1 | Do not activate and activate | 0 1 | |
System mode | 59-58 | 2 | Wake request is parked in the request of activation without system | 0 1 2 |
Need not | 3 | ||||
Other | 57-48 | 10 | Noly fill out 0 | 0 |
Central control unit is according to the response message of all nodes, and the active state that each node is current indicates in " node state database ", gives comparison with original configuration again, plays the effect of network management and system diagnostics.During as vehicle launch, parking brake is not decontroled, and the prompting of " asking RELEASE PARKINGBRAKE " can appear in LCD screen.
The Configuration Online of vehicle electronic control unit and system diagnostics must realize that the length of Diagnosis Service CAN frame is fixed 8 bytes by the system diagnostics service, and untapped byte fills out 0, and destination address and source address are controlled by host-host protocol.Source address is encoded in the CAN identifier.In the CAN message, message identifier is made up of rank, kind, node address.
Message identifier:
Bit 10 | Bit 9 | Bit 8 | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
Rank | Kind | Node address |
Rank: the most urgent is applied as 000, network management and be diagnosed as 111.
Kind: priority is up to 000, and priority is minimum to be 111.
Data length information is from " Diagnosis Service identification code ", and in the request message of tester, destination address is the physical address of ECU, and in the response message of ECU, destination address is the address F1 of tester.
" diagnosis request message " sent by tester, and the destination address of request message is the physical address of node always, and the destination address of " the diagnostic response message " of node is the physical address F1 of tester always.By system diagnostics, can change system parameters, change output, input relation.
Service content and Service Identifier:
The Diagnosis Service title | The request identification code | Reply identification code |
Begin the diagnosis process | Xx | XX |
Stop the diagnosis process | Xx | XX |
Secure access | Xx | XX |
Tester is current | Xx | XX |
Read the ECU mark | Xx | XX |
By the area identity reading of data | Xx | XX |
Write code data by zone identification | Xx | XX |
Read the tracing trouble state code | Xx | XX |
Read the state of DTC | Xx | XX |
Read the anchor-frame data | Xx | XX |
Remove diagnostic message | Xx | XX |
Carry out input and output control by area identity | Xx | XX |
Begin subprogram by area identity | Xx | XX |
Stop subprogram by area identity | Xx | XX |
By area identity request subprogram result | Xx | XX |
Request is downloaded | Xx | XX |
The transmission data | xx | XX |
The request transmission is withdrawed from | xx | XX |
System node is received after tester " diagnosis request " message, be responded according to set form, if accept request, replys with " the diagnosis request just responds ", if do not accept, then replys with " diagnosis request Negative Acknowledgment ".Just responding with Negative Acknowledgment different codes is being arranged.Negative Acknowledgment divides " generally refusing " " busy-repetitive requests " " asking super scope " etc. again, is distinguished with different codes.
The Diagnosis Service message format:
Diagnosis request: 7X0 type: E cycle :-size: 8 byte senders: tester | |||||
Signal name | The transmission incident | Bit | Size | Character | Numerical value |
TPDU | - | 63-0 | 8 | See diagnosing protocol | - |
Diagnostic response: 7C0-7CX type: E cycle :-size: 8 byte senders: network node | |||||
TPDU | - | 63-0 | 8 | See diagnosing protocol | - |
For example:
Diagnostic instrments sends " beginning to diagnose the request of process " to instrument | ||||||||
ID | TPDU | |||||||
7x0 | xx | Xx | xx | xx | 00 | 00 | 00 | 00 |
Instrument diagnosis address | The number of this byte representation frame | Service Identifier | OBD-II gives tacit consent to diagnostic mode | No byte fills out 0 | No byte fills out 0 | No byte fills out 0 | No byte fills out 0 | |
Instrument: " beginning to diagnose the just response of process " | ||||||||
7X3 | F1 | Xx | xx | xx | 00 | 00 | 00 | 00 |
3 instrument CAN addresses | The diagnostic instrments address | The number of this byte representation frame | Positive respond services code | Acquiescence diagnostic mode OBD-II | No byte fills out 0 | No byte fills out 0 | No byte fills out 0 | No byte fills out 0 |
For guaranteeing system safety, the modification of system core parameter must be adopted the secure access rule, just can carry out after exchanging password for several times.
Fixing zone is arranged in the central control unit, adopt the good form storage failure information of planning, because some fault occurs under given conditions, so the correlated condition parameter when breaking down will be arranged in the failed storage district, the moment of breaking down, conditional parameter is stored in the lump, so as when to repair with reference to, analyze.The latest update when data that read failure code ECU must guarantee to send to tester are application, ECU must guarantee not lose the content of any failed storage when KEY OFF and deenergization
Each failed storage is divided into the piece of some bytes, so that tester " is seen " fault.Each piece all should be included in all data that need when describing a DTC.
The failed storage structure:
Piece | Byte | Describe |
#1 | #1 #2 | DTC (high byte) DTC (low byte) |
#3 | The state of DTC | |
#4 | Supply voltage | |
#5 | Event counter | |
#2 | ||
…… | ||
#n | #1 #2 | DTC (high byte) DTC (low byte) |
#3 | The state of DTC | |
#4 | Supply voltage | |
#5 | Event counter |
Claims (4)
1, the central control unit of In-vehicle networking is managed In-vehicle networking, control method, it is characterized in that: the electronic control unit of several bands CAN interface is determined in designing requirement according to car load, form In-vehicle networking, each electronic control unit must have a definite physical address and diagnosis address, this is the destination address of network management and system diagnostics message identifier and the foundation of source address, other nodes of central control unit and In-vehicle networking are by " configuration data request; reply ", and digital communications such as " network management request; reply " carries out alternately, realizes whole In-vehicle networking is configured, diagnosis, dormancy, wake a series of network managements up;
Central control unit must keep communicating by letter with all nodes of In-vehicle networking, all nodes are bundled, the formation system, co-ordination, so there is the node database of system's original configuration among the central control unit CPU, central control unit constantly sends the network management message, and system node is inquired, grasp the active situation of each node, formation system " database of node state ";
At some specific vehicles, specific system, central control unit original configuration data and configuration requirement are certain, to different vehicles and system, different configuration requirements and configuration data are arranged, the original configuration data will be stored in the central control unit Nonvolatile memory, if central control unit correctly disposes according to specific vehicle, after the start at the appointed time, it will send " configuration data request " message to network, to ask other ECU to send " configuration-data-code-response " message, simultaneously other nodes are write configuration data, if central control unit does not correctly dispose according to system requirements, message just can not send, and will get started the configuration message searching mistake and send a no content this moment to network;
Central control unit is the manager of In-vehicle networking, central control unit will send " network management " message according to the fixing cycle on network, message length is determined according to amount of information, contain WOL, network dormancy, node state of activation, fault status information in the message, represent with 0 and 1 in specified byte respectively;
Slave node is received after central control unit " network management request " message, to have self physical address is that " network management response " message of identifier is replied, contain the dynamic link library state in the response message, malfunction, configuration status and state of activation information;
Central control unit is according to the response message of all nodes, and the active state that each node is current indicates in " node state database ", gives comparison with original configuration again, plays the effect of network management and system diagnostics;
The Configuration Online of vehicle electronic control unit and system diagnostics must realize by the system diagnostics service, the length of Diagnosis Service CAN frame is fixed 8 bytes, untapped byte fills out 0, destination address and source address are controlled by host-host protocol, source address is encoded in the CAN identifier, in the CAN message, message identifier is made up of rank, kind, node address;
Rank: the most urgent is applied as 000, network management and be diagnosed as 111,
Kind: priority is up to 000, and priority is minimum to be 111;
Data length information is from " Diagnosis Service identification code ", and in the request message of tester, destination address is the physical address of ECU, and in the response message of ECU, destination address is the address F1 of tester;
" diagnosis request message " sent by tester, the destination address of request message is the physical address of node always, and the destination address of " the diagnostic response message " of node is the physical address F1 of tester always, by system diagnostics, system parameters be can change, output, input relation changed;
System node is received after tester " diagnosis request " message, to be responded according to set form, if accept request, reply with " the diagnosis request just responds ", if do not accept, then reply with " diagnosis request Negative Acknowledgment ", just responding with Negative Acknowledgment has different codes to be distinguished;
For guaranteeing system safety, the modification of system core parameter must be adopted the secure access rule, just can carry out after exchanging password for several times;
Fixing zone is arranged in the central control unit, adopt the good form storage failure information of planning, because some fault occurs under given conditions, so the correlated condition parameter when breaking down will be arranged in the failed storage district, the moment of breaking down, conditional parameter is stored in the lump, so as when to repair with reference to, analyze; The latest update when data that read failure code ECU must guarantee to send to tester are application, ECU must guarantee not lose the content of any failed storage when KEY OFF and deenergization;
Each failed storage is divided into the piece of some bytes, so that tester " discovery " fault, each piece all should be included in all data that need when describing a DTC.
2, a kind of central control unit that uses the In-vehicle networking to In-vehicle networking management, control method as claimed in claim 1 is characterized in that comprising microprocessor CPU, controller local area network CAN transceiver, controller local area network CAN controller, CAN bus interface, stabilized voltage power supply, input, output interface circuit, switching signal testing circuit;
The CAN bus links to each other with the CAN transceiver by input/output interface, the CAN transceiver links to each other with microprocessor CPU, and unit switch links to each other with input/output interface, links to each other with microprocessor CPU by the switching signal testing circuit, stabilized voltage power supply links to each other with microprocessor CPU, provides operating voltage to system.Controller local area network CAN controller is integrated in the microprocessor CPU.
3, the central control unit of In-vehicle networking according to claim 1 is to In-vehicle networking management, control method, it is characterized in that having in the central control unit internal memory dynamic data base of network node state, comprise node physical address, Node Diagnostics address, node state of activation, malfunction, bus failure or system compatible state, the fault content and the information of whole system,, trigger LCD screen and show by network service by central control unit with Chinese character.
4, the central control unit of In-vehicle networking according to claim 1 is characterized in that to In-vehicle networking management, control method will check the second behind central control unit transmission message " configuration data request " message:
Whether all are programmed replying all of node from needs is received, respectively is programmed node and decides according to the configuration message content;
Whether receive that there be not replying of node in those;
Whether node has all been confirmed the programming request behind network management of receiving and state message;
Whether all configuration-data of receiving-codes all require identical with its original design;
Under the situation of the problem of configuring, central control unit triggers LCDs LCD with director and begins flicker, and the prompting driver handles as early as possible;
Central control unit will be formed the information that comprises system configuration state that obtains the data form of " system node slip condition database ", and the form of this moment will be used as the instrument of network management and system diagnostics.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100385448A CN100341283C (en) | 2005-03-24 | 2005-03-24 | On vehicle network central control unit and its managing and controlling method for on-vehicle network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100385448A CN100341283C (en) | 2005-03-24 | 2005-03-24 | On vehicle network central control unit and its managing and controlling method for on-vehicle network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1719782A CN1719782A (en) | 2006-01-11 |
CN100341283C true CN100341283C (en) | 2007-10-03 |
Family
ID=35931514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100385448A Expired - Fee Related CN100341283C (en) | 2005-03-24 | 2005-03-24 | On vehicle network central control unit and its managing and controlling method for on-vehicle network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100341283C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102749892A (en) * | 2012-03-15 | 2012-10-24 | 浙江吉利汽车研究院有限公司 | Network management method for electronic control system in parking braking of automobile |
Families Citing this family (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237345B (en) * | 2007-12-04 | 2010-09-08 | 奇瑞汽车股份有限公司 | A network management method for CAN bus |
JP4407752B2 (en) * | 2008-01-10 | 2010-02-03 | トヨタ自動車株式会社 | FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD |
CN102033141B (en) * | 2009-09-30 | 2013-01-02 | 比亚迪股份有限公司 | Test system based on CAN (Controller Area Network) bus automobile instrument and method |
CN102032927B (en) * | 2009-09-30 | 2013-09-18 | 比亚迪股份有限公司 | System for testing sensitivity of automobile instrument with controller area network (CAN) bus and testing method thereof |
CN101808275B (en) * | 2010-01-08 | 2012-07-25 | 中国科学院软件研究所 | Vehicle network data transmitting method based on vehicle movement trend prediction |
CN102114883B (en) * | 2010-09-21 | 2012-11-28 | 浙江吉利汽车研究院有限公司 | Self-test device for configurations of automotive electronic control unit and self-test method of the self-test device |
CN102476616B (en) * | 2010-11-26 | 2014-08-20 | 中国北方车辆研究所 | Periodic self-detection method for electric equipment of vehicle |
CN102231705B (en) * | 2011-06-27 | 2012-07-04 | 广州汽车集团股份有限公司 | Power controller area network (CAN) control method |
DE102011079399A1 (en) | 2011-07-19 | 2013-01-24 | Bayerische Motoren Werke Aktiengesellschaft | Control device for a motor vehicle, programming device and programming system |
CN102436222B (en) * | 2011-07-29 | 2014-05-07 | 中联重科股份有限公司 | Power management method, device and system of remote service terminal and engineering machine |
CN102506021B (en) * | 2011-11-11 | 2015-02-18 | 郑州宇通客车股份有限公司 | Control device and method for air-conditioning compressor of low-displacement automobile |
CN103455022B (en) * | 2012-06-01 | 2015-12-02 | 北汽福田汽车股份有限公司 | A kind of diagnostic method of controlled vehicle-mounted electrical device and device |
CN103631247B (en) * | 2012-08-20 | 2016-08-24 | 北汽福田汽车股份有限公司 | A kind of life-span test system of the electric control product of automobile |
CN102880081B (en) * | 2012-10-16 | 2014-12-03 | 中山市领越电子科技有限公司 | Original vehicle controller local area network bus technology upgrading control method |
CN102981489B (en) * | 2012-12-04 | 2014-09-17 | 北京汽车股份有限公司 | Device and method for waking up automobile CAN (Controller Area Network) bus as well as vehicle |
CN103257869B (en) * | 2012-12-14 | 2016-08-24 | 惠州市亿能电子有限公司 | A kind of ECU program smart download method |
CN103281392A (en) * | 2013-06-07 | 2013-09-04 | 潍柴动力股份有限公司 | Method, device and system for monitoring |
CN103532724B (en) * | 2013-10-31 | 2016-08-17 | 北京经纬恒润科技有限公司 | A kind of MOST network interface circuit and MOST network state control method |
CN104683126B (en) * | 2013-11-27 | 2017-10-13 | 北汽福田汽车股份有限公司 | Network management based on CAN |
CN103647808A (en) * | 2013-11-29 | 2014-03-19 | 上汽通用五菱汽车股份有限公司 | Automobile ECU network node online configuration method and system |
EP3128699B1 (en) * | 2014-04-03 | 2021-04-28 | Panasonic Intellectual Property Corporation of America | Network communication system, fraud detection electronic control unit and fraud handling method |
TWI578717B (en) * | 2014-11-28 | 2017-04-11 | 世紀民生科技股份有限公司 | Controller area network node transceiver |
CN111934966B (en) * | 2014-12-01 | 2022-09-20 | 松下电器(美国)知识产权公司 | Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method |
CN105763403A (en) * | 2014-12-15 | 2016-07-13 | 中华汽车工业股份有限公司 | Vehicle-mounted control local area network system |
DE102015105110A1 (en) * | 2015-04-02 | 2016-10-06 | Dr. Ing. H.C. F. Porsche Aktiengesellschaft | Control unit for connecting a CAN bus to a radio network and motor vehicle with such a control unit |
CN105334840B (en) * | 2015-09-15 | 2018-01-30 | 浙江吉利汽车研究院有限公司 | Vehicle network child node collocation method |
CN106020177A (en) * | 2016-07-29 | 2016-10-12 | 北京车和家信息技术有限责任公司 | Control method of electronic control unit, electronic control unit and vehicle |
CN106354076B (en) * | 2016-08-30 | 2018-12-21 | 上汽通用汽车有限公司 | Finished vehicle electronic system failure monitoring method and failure monitoring device |
CN108009092B (en) * | 2017-12-04 | 2021-03-09 | 武汉保华显示科技有限公司 | Design method of vehicle-mounted network management general test case protocol |
CN108829079B (en) * | 2018-04-26 | 2020-09-01 | 安徽江淮汽车集团股份有限公司 | TCU automatic flashing system and method |
CN110071987B (en) * | 2019-04-29 | 2021-11-19 | 中车青岛四方车辆研究所有限公司 | Gateway address mapping method, gateway and train network system |
CN112083710B (en) * | 2020-09-04 | 2024-01-19 | 南京信息工程大学 | Vehicle-mounted network CAN bus node monitoring system and method |
CN114978875A (en) * | 2021-02-23 | 2022-08-30 | 广州汽车集团股份有限公司 | Vehicle-mounted node management method and device and storage medium |
CN113452750B (en) * | 2021-05-14 | 2023-02-24 | 江铃汽车股份有限公司 | Vehicle-mounted information entertainment system control method and system |
CN113993196B (en) * | 2021-10-25 | 2024-01-30 | 浙江吉利控股集团有限公司 | Node control method, system, equipment and storage medium of vehicle-mounted Ethernet |
CN116634531A (en) * | 2022-02-10 | 2023-08-22 | 华为技术有限公司 | Method, system and device for waking up from dormancy |
CN115695149A (en) * | 2022-10-31 | 2023-02-03 | 东风商用车有限公司 | Fault management method, device, equipment and storage medium of vehicle controller |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1417980A (en) * | 2002-11-07 | 2003-05-14 | 吕京建 | Intelligent gateway device for vehicle controller LAN |
JP2003143164A (en) * | 2001-10-31 | 2003-05-16 | Matsushita Electric Ind Co Ltd | Control device and method for detecting communication fault |
-
2005
- 2005-03-24 CN CNB2005100385448A patent/CN100341283C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003143164A (en) * | 2001-10-31 | 2003-05-16 | Matsushita Electric Ind Co Ltd | Control device and method for detecting communication fault |
CN1417980A (en) * | 2002-11-07 | 2003-05-14 | 吕京建 | Intelligent gateway device for vehicle controller LAN |
Non-Patent Citations (1)
Title |
---|
测控网络中CAN总线及其实现 孙松;孙川,计量与测试技术,第7期 2004 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102749892A (en) * | 2012-03-15 | 2012-10-24 | 浙江吉利汽车研究院有限公司 | Network management method for electronic control system in parking braking of automobile |
Also Published As
Publication number | Publication date |
---|---|
CN1719782A (en) | 2006-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100341283C (en) | On vehicle network central control unit and its managing and controlling method for on-vehicle network | |
CN100369435C (en) | Bus carried network control system and its management and control method | |
US11423145B2 (en) | Methods and arrangements for multi-layer in-vehicle network intrusion detection and characterization | |
CN111934966B (en) | Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method | |
CN101925489B (en) | Equipment control device and equipment control program | |
JP7585387B2 (en) | Gateway device, in-vehicle network system, and firmware update method | |
CN108647040A (en) | A kind of Bootloader frameworks based on PEPS system and write with a brush dipped in Chinese ink method | |
CN107128312A (en) | Hybrid vehicle fault diagnosis management system and method | |
CN108351822A (en) | Processing unit and vehicle control system | |
CN106796538A (en) | Gateway apparatus, vehicle netbios and firmware update | |
CN101107595A (en) | Fault diagnosis data recording system and method | |
US20040024473A1 (en) | Method for coding control devices in means of conveyance | |
CN104396218B (en) | Controller and method can be installed for equipment, vehicle that controller operated can be installed to vehicle in computer network | |
CN105659532A (en) | Safety filter in a vehicle network | |
CN1646783A (en) | Lock system, lock system device and method of configuring a lock system | |
WO2019188233A1 (en) | Processing device | |
US20070038337A1 (en) | Method for operating a network | |
CN112650201A (en) | Vehicle fault diagnosis method and device, vehicle and storage medium | |
CN102687086B (en) | Device for remotely diagnosing an automobile | |
CN1180870A (en) | Atom manipulation for remote momory and device for implementing the manipulation | |
CN1282563C (en) | Control equipment and control systems | |
CN1955950A (en) | Bus system for integrated circuit | |
Suwatthikul | Fault detection and diagnosis for in-vehicle networks | |
CN115733871A (en) | Communication interaction method, device, equipment and storage medium | |
JP7100558B2 (en) | Electronic control device for automobiles |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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: 20071003 Termination date: 20120324 |