Communication system
The communication system addresses the increasing communication time for fault diagnosis by prioritizing fault diagnosis communications through existing communication nodes, reducing the need for dedicated buses and maintaining system efficiency.
Patent Information
- Application Number
- JP2023166034
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2025-04-08
AI Technical Summary
The communication time required for fault diagnosis communication increases with the number of communication nodes relaying the communication, and installing a dedicated bus for fault diagnosis communication adds complexity by increasing the number of communication channels and buses.
A communication system with multiple communication nodes that include a communication determining unit to identify fault diagnosis communications and a communication setting unit to raise the priority of such communications, thereby reducing communication time without the need for a dedicated bus.
This solution reduces communication time for fault diagnosis by prioritizing fault diagnosis communications through existing communication nodes, thereby suppressing delays and maintaining system complexity without dedicated buses.
Smart Images

Figure 2025056513000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to techniques for performing fault diagnosis communication. [Background technology]
[0002] A technique for performing fault diagnosis communication via a communication node such as a central gateway is known. For example, Patent Document 1 listed below proposes a technology for conducting fault diagnosis communication between the source of the fault diagnosis request, such as a diagnostic tool connected to a DLC or a center that communicates wirelessly with a DCM, and the destination of the fault diagnosis request, via a communication node such as a central gateway.
[0003] It should be noted that DLC is an abbreviation for Diagnostics Link Connector, and DCM is an abbreviation for Data Communication Module. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2014-078800 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, after detailed consideration by the inventors, it was found that as the number of communication nodes relaying communication on the communication path between the source of the fault diagnosis request and the destination of the fault diagnosis request increases, the communication time required for the fault diagnosis communication increases.
[0006] In order to reduce the communication time required for fault diagnosis communication, it is possible to perform the fault diagnosis communication on a dedicated bus rather than a common bus with other communications. However, providing a dedicated bus for fault diagnosis communication poses the problem of an increase in communication channels and buses.
[0007] One aspect of the present disclosure is to provide a technique for reducing communication time required for fault diagnosis communication without using a dedicated bus for the fault diagnosis communication. [Means for solving the problem]
[0008] A communication system according to one embodiment of the present disclosure includes a plurality of communication nodes (30, 40, 42, 44, 46, 50, 60, 70, 80, 90, 100, 110) that relays diagnostic communication of diagnosis requests and diagnostic results between a source of a request for diagnostics and a destination of the request for the diagnostics.
[0009] Any of the communication nodes includes a communication determination unit (32, 72, 92, S402, S404, S422) and a communication setting unit (34, 74, 94, S406, S408, S424, S426).
[0010] The communication determination unit determines whether the current communication is a fault diagnosis communication. When the communication determination unit determines that the current communication is a fault diagnosis communication either when the diagnosis request is transmitted from the request source to the request destination or when the diagnosis result is transmitted from the request destination to the request source, the communication setting unit increases the priority of a priority parameter that indicates the priority of the communication.
[0011] According to this configuration, since the priority of the priority parameter indicating the priority of communication is increased in any of the multiple communication nodes, the fault diagnosis communication can be executed with priority, and the communication time required for the fault diagnosis communication can be reduced without installing a dedicated communication bus for the fault diagnosis. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing a configuration of a communication system according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing the configuration of an ECU. [Diagram 3] A block diagram showing a VM generated by a processor core. [Figure 4] Block diagram showing the functions of the ECU. [Diagram 5] FIG. 4 is a schematic diagram showing setting of priority of communication frames. [Figure 6] 4 is a flowchart showing a fault diagnosis communication process. [Figure 7] 4 is a flowchart showing a fault diagnosis communication process. [Figure 8] FIG. 11 is a block diagram showing the configuration of a communication system according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. [1. First embodiment] [1-1. Configuration] The communication system 2 shown in Fig. 1 is mounted on a vehicle and includes a DLC 10, a DCM 20, and ECUs 30, 70, and 90. ECU stands for electronic control unit. The vehicle includes, as a drive source, either an internal combustion engine or an electric motor that receives power from a rechargeable battery. The internal combustion engine may be used for generating power to supply power to the rechargeable battery.
[0014] An external tool (not shown) is connected to the DLC 10. In this embodiment, it is assumed that the CAN protocol is used as a communication standard for fault diagnosis. Therefore, the DLC 10 and the ECU 30 communicate with each other via a bus 300 using the CAN protocol. CAN is an abbreviation for Controller Area Network and is a registered trademark.
[0015] The DCM 20 communicates with a server (not shown) and the like via a network. DCM is an abbreviation for Data Communication Module. The DCM 20 and the ECUs 30 and 70 communicate with each other via a bus 310 using the Ethernet protocol. Ethernet is a registered trademark.
[0016] The ECUs 30, 70, and 90 are connected to each other via a partial network-compatible bus 320. The bus 320 is used for normal vehicle control. Furthermore, the ECUs 30, 70, and 90 are connected to each other via a bus 330. Communication is performed using the CAN protocol via the bus 330. The bus 330 is not used for normal vehicle control, but is used, for example, for data checks and fault diagnosis when the ECUs 30, 70, and 90 communicate with each other.
[0017] In this embodiment, a diagnosis request from an external tool or server that is the source of the failure diagnosis request is transmitted to a destination of the failure diagnosis request, such as the ECU 30 , 70 , 90 or a device 200 connected to the ECU 30 , 70 , 90 .
[0018] In this embodiment, since the DLC 10 is connected to the ECU 30, the transmission of a diagnosis request from an external tool via the DLC 10 and the transmission of a diagnosis result to the external tool via the DLC 10 are performed via the ECU 30.
[0019] In addition, the transmission of a diagnosis request from the server via the DCM 20 and the transmission of a diagnosis result to the server via the DCM 20 are performed via the ECU 30. For example, when the ECU 70 receives a diagnosis request for the ECU 90 from the server via the DCM 20, the ECU 70 transmits the diagnosis request to the ECU 30 instead of to the ECU 90. Then, the diagnosis request is transmitted from the ECU 30 to the ECU 90.
[0020] Even when the ECU 90 transmits the diagnostic result to the server, the ECU 90 transmits the diagnostic result to the ECU 30, not to the ECU . The diagnostic result is then transmitted from the ECU 30 to the ECU .
[0021] The transmission of a diagnosis request from the server to the ECU 70 via the DCM 20 and the transmission of a diagnosis result from the ECU 70 to the server via the DCM 20 are also performed from the ECU 70 via the ECU 30.
[0022] In this embodiment, the transmission of diagnostic requests and diagnostic results via DLC 10 and DCM 20 is performed via ECU 30 because only ECU 30 has the function of checking whether the diagnostic request or diagnostic result is appropriate.
[0023] Each of the ECUs 30, 70, 90 includes one or more microcomputers including a processor core, a RAM, a ROM, etc. Also, each of the ECUs 30, 70, 90 is an ECU with high information processing capabilities, such as a domain ECU that manages each group classified by function, or a zone ECU that manages each group classified by vehicle position.
[0024] Various devices 200 such as a control ECU and an actuator are connected to each of the ECUs 30, 70, and 90. Each of the ECUs 30, 70, and 90 communicates with the devices 200 using, for example, the CAN protocol.
[0025] The ECU 30 has three processor cores 40, 50, and 60, the ECU 70 has one processor core 80, and the ECU 90 has two processor cores 100 and 110. The numbers of processor cores included in the ECUs 30, 70, and 90 are merely examples and are not limited to the numbers described above.
[0026] 2, the ECU 30 includes a plurality of processor cores 40, 50, 60, as well as a shared memory 62 and a communication unit 64. The communication unit 64 includes a communication controller and a communication switch compatible with a communication protocol by which the ECU 30 communicates with the DLC 10, the ECUs 70, 90, and the device 200 of its own ECU.
[0027] Although the ECUs 70 and 90 differ in the number of processor cores, they have the same configuration as the ECU 30 shown in FIG. 3, the processor core 40 generates multiple VMs 42, 44, and 46. VM is an abbreviation for Virtual Machine. The other processor cores 50 and 60 and the processor cores of the other ECUs 70 and 90 may also generate multiple VMs.
[0028] Communication between the processor cores 40, 50, and 60 is performed via a shared memory 62 or a communication unit 64. Communication between the VMs 42, 44, and 46 is performed via a virtual CAN bus, a virtual CAN FD bus, a virtual Ethernet bus, and the like.
[0029] 4, the ECUs 30, 70, 90 function as communication determination units 32, 72, 92 and communication setting units 34, 74, 94, respectively. The functions of the communication determination units 32, 72, 92 and the communication setting units 34, 74, 94 will be described in the following [1-2. Fault diagnosis process].
[0030] [1-2. Fault diagnosis processing] The fault diagnosis process described below is executed by the ECUs 30, 70, and 90. Which processor core of each ECU executes the fault diagnosis process, and further which VM the fault diagnosis process is executed by when any of the processor cores generates a VM, is preset or appropriately determined according to the processing conditions.
[0031] (1) Priority increase processing (1-1) When a diagnosis request is made from DLC10 When the ECU 30 receives communication from the DLC 10 via the bus 300, the communication determination unit 32 determines in S400 of FIG. 6 whether the current communication is addressed to an ECU other than the ECU itself.
[0032] In the case of communication from the DLC 10 via the bus 300, the communication determination unit 32 determines, based on the ID of the received CAN frame, whether or not the current communication is addressed to an ECU other than its own ECU.
[0033] If the determination in S400 is No, that is, if the current communication is not destined for any ECU other than the own ECU, the process proceeds to S410. If the determination in S400 is Yes, in S402, the communication determination unit 32 determines whether or not the current communication is a fault diagnosis communication based on, for example, a data value at a predetermined position in the data field of the received CAN frame. In this case, the communication determination unit 32 functions as a first communication determination unit.
[0034] If the determination in S402 is No, that is, if the current communication is not a fault diagnosis communication, the process proceeds to S410. If the determination in S402 is Yes, that is, if the current communication is a fault diagnosis communication, in S404, the communication determination unit 32 determines whether or not a predetermined condition for executing a priority increase process for increasing the priority of the communication is satisfied. The predetermined conditions (a) to (e) are as follows.
[0035] (a) An external diagnostic tool is connected to the DLC10. (b) Either the manual parking gear or handbrake or the electric parking brake is in a position to stop the vehicle.
[0036] (c) If the vehicle is equipped with an electric motor as a drive source, the rechargeable battery that supplies power to the electric motor is being charged. (d) The vehicle is equipped with an internal combustion engine and is being refueled.
[0037] (e) In the bus currently being used, the amount of communication other than the fault diagnosis communication is equal to or less than a predetermined amount, and the fault diagnosis communication does not interfere with other communications. If the determination in S404 is No, that is, if none of the predetermined conditions (a) to (e) for executing the priority increase process is met, the process proceeds to S410.
[0038] When any one of the predetermined conditions (a) to (e) for executing the priority raising process is satisfied, the determination in S404 becomes Yes. If the determination in S404 is Yes, in S406, the communication setup unit 34 changes the ID of the CAN frame received from the DLC 10 from 0x7XX to 0x0XX to increase the priority of the communication, as shown in Fig. 5. In this case, the communication setup unit 34 functions as a first communication setup unit.
[0039] Then, in S408, the communication setup unit 34 transmits the CAN frame with the increased communication priority to the bus 330 to be used this time. In S410, the communication setting unit 34 performs protocol conversion if normal protocol conversion is necessary for the received communication frame, or performs normal communication to transmit a communication frame of the corresponding communication protocol without protocol conversion if not necessary, and then terminates this process.
[0040] In the process of S410, normal protocol conversion refers to analyzing the contents of the received communication frame and rearranging the contents into a communication frame configuration compatible with the communication protocol to be transmitted.
[0041] (1-2) When a diagnosis request is made from DCM20 When the ECU 70 receives data from the DCM 20 via the bus 310, in S400 of FIG. 6, the communication determination unit 72 determines whether or not the current communication is destined for an ECU other than the ECU itself, based on the destination MAC address of the Ethernet frame.
[0042] If the determination in S400 is No, that is, if the current communication is not destined for any ECU other than the own ECU, the communication determination unit 72 shifts the process to S410. If the determination in S400 is Yes, in S402, the communication determination unit 72 determines whether or not the current communication is a fault diagnosis communication based on, for example, a data value at a predetermined position in the data field of the received Ethernet frame. In this case, the communication determination unit 72 functions as a first communication determination unit.
[0043] If the determination in S402 is No, that is, if the current communication is not a fault diagnosis communication, the process proceeds to S410. If the determination in S402 is Yes, that is, if the current communication is a diagnostic communication, in S404, the communication determination unit 72 determines whether or not the above-mentioned predetermined condition for executing the priority increase process is satisfied. Note that, in the above-mentioned predetermined condition (e), it is the bus 330 connecting the ECU 30 and the ECU 70 that the communication determination unit 72 determines whether or not the amount of communication other than the diagnostic communication is equal to or less than a predetermined amount.
[0044] If the determination in S404 is No, that is, if the predetermined condition for executing the priority raising process is not met, the process proceeds to S410. If the determination in S404 is Yes, that is, if the predetermined condition for executing the priority raising process is satisfied, in S406, the communication setting unit 74 raises the priority of communication by changing the ID of the CAN frame from 0x7XX set in the fault diagnosis to 0x0XX, as shown in Fig. 5. In this case, the communication setting unit 74 functions as a first communication setting unit.
[0045] In S408, the communication setup unit 74 transmits the CAN frame with the increased communication priority to the bus 330 to be used this time. In S410, the communication setup unit 74 executes the normal communication described above, and ends this process.
[0046] (1-3) When a diagnosis result is transmitted from the ECU itself or the device 200 of the ECU itself When transmitting a diagnostic result received from a device 200 connected to the ECU 30 or a diagnostic result by the ECU itself, in S400 of FIG. 6, the communication determination unit 32 determines whether the current communication is addressed to an ECU other than the ECU itself.
[0047] When the diagnosis result by the own ECU is transmitted, the communication determination unit 32 determines whether or not the destination is an ECU other than the own ECU. On the other hand, in the case of communication from the device 200 connected to the own ECU, the communication determination unit 32 determines, based on the ID of the CAN frame received from the device 200, whether or not the current communication is addressed to an ECU other than the own ECU.
[0048] In the case of the ECU 30, when the ECU itself or the device 200 connected to the ECU itself transmits a diagnosis result in response to a diagnosis request from the DLC 10, the destination is the DLC 10, and not another ECU. In this case, the determination in S400 is No.
[0049] On the other hand, in response to the diagnosis request from the DCM 20, the destination to which the ECU 30 transmits the diagnosis result from the own ECU or the device 200 connected to the own ECU is the other ECU, that is, the ECU 70. In this case, the determination in S400 is Yes.
[0050] In the case of the ECUs 70 and 90, when the ECU itself or the device 200 connected to the ECU itself transmits a diagnosis result in response to a diagnosis request from the DLC 10 or the DCM 20, in this embodiment, the diagnosis result is once sent via the ECU 30. Therefore, since the ECU 30 is the destination as another ECU, the determination in S400 is Yes.
[0051] If the determination in S400 is No, that is, if the destination of the current communication is not an ECU other than the own ECU, the process proceeds to S410. If the determination in S400 is Yes, that is, if the destination of the current communication is another ECU other than the ECU itself, in S402 the communication determination unit 32, 72, 92 determines whether the current communication is a fault diagnosis communication. In this case, the communication determination unit 32, 72, 92 functions as a second communication determination unit. If the determination in S402 is No, that is, if the current communication is not a fault diagnosis communication, the process proceeds to S410.
[0052] If the determination in S402 is Yes, that is, if the current communication is a fault diagnosis communication, in S404, the communication determination unit 32, 72, 92 determines whether or not the above-mentioned predetermined condition for executing the priority increase process is satisfied. If the determination in S404 is No, that is, if the predetermined condition for executing the priority increase process is not satisfied, the process proceeds to S410.
[0053] If the determination in S404 is Yes, that is, if the predetermined condition for executing the priority increase process is satisfied, the communication setup unit 34, 74, 94 executes the priority increase process in S406. In this case, the communication setup unit 34, 74, 94 functions as a second communication setup unit.
[0054] When transmitting the diagnosis result of its own ECU, the communication setting unit 34, 74, 94 generates a CAN frame and sets the ID of the generated CAN frame to 0x0XX instead of 0x7XX to increase the priority of the communication.
[0055] When the device 200 connected to the own ECU transmits a diagnosis result, the communication setting unit 34, 74, 94 changes the ID of the CAN frame received from the device 200 from 0x7XX to 0x0XX to increase the priority of the communication.
[0056] The following processes in S408 and S410 are substantially the same as the processes in S408 and S410 when a diagnosis request is transmitted from the DLC 10 (1-1) described above, and therefore a description thereof will be omitted. (2) Priority reduction processing The following process is executed by any of the ECUs 30, 70, and 90 and is basically the same process, so it will be explained using the ECU 30 as an example.
[0057] In S420 of FIG. 7, the communication determination unit 32 determines whether the current communication is a communication from another ECU. If the determination in S420 is No, that is, if the current communication is not a communication from another ECU, the process proceeds to S428.
[0058] If the determination in S420 is Yes, that is, if the current communication is a communication from another ECU, in S422, the communication determination unit 32 determines whether the current communication is a fault diagnosis communication. In this case, the communication determination unit 32 functions as a second communication determination unit.
[0059] The determination in S422 is Yes in any one of the following cases (a) to (c), for example. (a) The ECUs 70 and 90 receive a CAN frame indicating a diagnosis request for the ECU itself or for the device 200 connected to the ECU itself from the DLC 10 or the DCM 20 via the ECU 30.
[0060] (b) The ECU 30 receives from the ECU 70 a CAN frame indicating a diagnosis request from the DCM 20 to the ECU itself or to the device 200 connected to the ECU itself. (c) The ECU 30 receives, from the ECUs 70 and 90, a CAN frame indicating a diagnosis result in response to a diagnosis request from the DLC 10.
[0061] If the determination in S422 is No, that is, if the CAN frame received from another ECU is not for fault diagnosis communication, the communication determination unit 32 shifts the process to S428. If the determination in S422 is Yes, that is, if the CAN frame received from another ECU is for fault diagnosis communication, in S424, the communication setup unit 34 sets the ID of the received CAN frame from 0x0XX to 0x7XX, as shown in Fig. 5. This lowers the priority of the communication. In this case, the communication setup unit 34 functions as a second communication setup unit.
[0062] In S426, the communication setting unit 34 performs a fault diagnosis in its own ECU based on the received CAN frame, transmits the CAN frame to the device 20 connected to its own ECU, or transmits the CAN frame to the DLC 10, and then ends this process.
[0063] In S428, the communication setup unit 34 executes the normal communication described above, and ends this process. In the first embodiment described above, the portion of 0x0 or 0x7 indicating the priority in the ID of the CAN frame corresponds to the priority parameter.
[0064] Furthermore, the ECUs 30, 70, and 90, the processor cores 40, 50, 60, 80, 100, and 1106, and the VMs 42, 44, and 46 correspond to a communication node, a first communication node, and a second communication node.
[0065] Moreover, S402, S404, and S422 correspond to the processing of the communication determination section, and S406, S408, S424, and S426 correspond to the processing of the communication setting section. [1-3. Effects] According to the first embodiment described above, the following effects can be obtained.
[0066] (1a) Since the priority of CAN frame communication is increased at any communication node that relays the fault diagnosis communication, delays in the fault diagnosis communication can be suppressed, thereby further reducing the communication time required for fault diagnosis.
[0067] [2. Second embodiment] [2-1. Differences from the first embodiment] The second embodiment has a basic configuration similar to that of the first embodiment, and therefore differences will be described below. Note that the same reference numerals as those in the first embodiment indicate the same configuration, and the preceding description will be referred to.
[0068] In the first embodiment described above, the ECUs 30, 70, and 90 are provided with the bus 330 that communicates using the CAN protocol. In contrast, in the second embodiment shown in Fig. 8, the ECUs 30, 70, and 90 are connected to each other using buses 312 and 314 that communicate using the Ethernet protocol instead of the bus 330, which is different from the first embodiment.
[0069] In addition to data checking when the ECUs 30, 70, 90 communicate with each other, the buses 312, 314 may also be used for part of normal vehicle control. [2-2. Fault diagnosis processing] (1) Priority increase processing (1-1) When sending a diagnosis request via DLC10 The following process is substantially the same as S400 to S404 and S410 in FIG. 6 described in <(1-1) When a diagnosis request is transmitted via the DLC 10> in the first embodiment, and therefore a description of the corresponding process will be omitted.
[0070] 6, the communication setting unit 34 converts the CAN frame received from the DLC 10 into an Ethernet frame by converting the communication protocol. At this time, the communication setting unit 34 raises the priority of the communication set in the PCP of the tag field, which is a priority parameter, in the Ethernet frame to a priority of the communication indicated by 0x7XX set in the ID of the CAN frame. In this case, the communication setting unit 34 functions as a first communication setting unit.
[0071] Then, in S408, the communication setup unit 34 transmits the Ethernet frame with the increased communication priority to the buses 312 and 314 that connect to the destination ECU. (1-2) When sending a diagnosis request via DCM20 The following processing is substantially the same as S400 to S404 and S410 in FIG. 6 described in <(1-2) When a diagnosis request is transmitted from the DCM 20> in the first embodiment, and therefore a description of the corresponding processing will be omitted.
[0072] 6, the communication setting unit 74 converts the CAN frame used in the diagnosis request into an Ethernet frame by converting the communication protocol. At this time, the communication setting unit 74 sets a priority corresponding to the priority represented by 0x0XX of the CAN frame, which was set to increase the priority of the Ethernet frame in the first embodiment, in the PCP of the tag field of the Ethernet frame to increase the priority of the communication. In this case, the communication setting unit 74 functions as a first communication setting unit.
[0073] Then, in S408, communication setup unit 74 transmits the Ethernet frame with the increased communication priority to bus 312 in either case where the request for fault diagnosis is made to ECU 30 or where the request for fault diagnosis is made to ECUs 70 and 90.
[0074] This is because, as described above, only the ECU 30 has the function of checking whether the diagnosis request or the diagnosis result is appropriate, and therefore the ECU 30 checks the appropriateness of the failure diagnosis.
[0075] (1-3) When a diagnosis result is transmitted from the ECU itself or from the device 200 connected to the ECU itself The following processing is essentially the same as S400 to S404 and S410 in Figure 6 described in <(1-3) When a diagnosis result is transmitted from the ECU itself or the device 200 connected to the ECU> in the first embodiment, so the description of the corresponding processing is omitted.
[0076] In S406, the communication setup unit 34, 74, 94 executes the priority raising process. In this case, the communication setup unit 34, 74, 94 functions as a second communication setup unit. When the diagnosis result of the own ECU is to be transmitted, in S406 the communication setup unit 34, 74, 94 generates a CAN frame and converts the generated CAN frame into an Ethernet frame.
[0077] When the device 200 connected to the own ECU transmits a diagnosis result, in S406 the communication setting unit 34, 74, 94 converts the CAN frame received from the device 200 into an Ethernet frame.
[0078] At this time, the communication setting unit 34, 74, 94 sets a priority corresponding to the priority represented by 0x0XX in the ID of the CAN frame in the PCP of the tag field of the Ethernet frame to increase the priority of the communication.
[0079] Then, in S408, the communication setup unit 34, 74, 94 transmits the Ethernet frame with the increased communication priority to the bus 312 or 314 to which the destination ECU is connected.
[0080] (2) Priority reduction processing This is essentially the same as the process described in the first embodiment (2) Priority Lowering Process) except that CAN is replaced with Ethernet, so a description thereof will be omitted.
[0081] In the second embodiment described above, the PCP in the tag field of the Ethernet frame corresponds to the priority parameter. [2-3. Effects] According to the second embodiment described above, it is possible to obtain substantially the same effect as that of the first embodiment described above in effect (1a) except that CAN is replaced by Ethernet.
[0082] 3. Other embodiments Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and can be implemented in various modified forms.
[0083] (3a) In the above-described embodiment, the priority of the priority parameter representing the priority of communication is increased in both the fault diagnosis communication from the request source to the request destination and from the request destination to the request source, but this is not limited to this. The priority of the priority parameter representing the priority of communication may be increased only in one or the other of the communication paths from the request source to the request destination or from the request destination to the request source.
[0084] (3b) If the priority of the priority parameter is to be increased, any communication node on the communication path from the request source of the fault diagnosis to the request destination and from the request destination of the fault diagnosis to the request source may increase the priority of the priority parameter.
[0085] (3c) In the second embodiment described above, the Ethernet protocol is used in the buses 312 and 314. However, this is not limited to this. The CAN FD protocol may also be used in the buses 312 and 314.
[0086] In this case, in the priority increase process, the CAN FD protocol ID is set to 0x0XX, and in the priority decrease process, the CAN FD protocol ID is set to 0x7XX. (3d) In the above embodiment, only the ECU 30 connected to the DLC 10 has the function of checking whether the diagnostic request or diagnostic result is appropriate. However, this is not limited to this.
[0087] By providing the ECU 70 connected to the DCM 20 with a function for checking whether or not a diagnosis request or a diagnosis result is appropriate, the ECU 70 can transmit a diagnosis request and a diagnosis result to the ECU 70 without passing through the ECU 30. In this case, in the second embodiment described above, the ECU 70 needs to be connected to each of the ECUs 30 and 90 via an Ethernet protocol bus.
[0088] (3e) In the above-described embodiment, fault diagnosis communication is performed not by bus 320 of the partial network used for vehicle control, but by bus 330 or buses 312 and 314 that perform data checks when ECUs 30, 70, and 90 communicate with each other. In contrast, fault diagnosis communication may be performed by bus 320 used for vehicle control without providing buses 330, 312, and 314.
[0089] (3f) In the above-described embodiment, the communication systems 2 and 4 are provided with three ECUs 30, 70, and 90. In this case, the number of ECUs that relay the fault diagnosis communication is a maximum of three as shown in the second embodiment. However, the number of ECUs may be four or more. And, the fault diagnosis communication may be relayed by four or more ECUs.
[0090] (3g) The communication systems 2, 4 and techniques described in this disclosure may be implemented by a special purpose computer provided by configuring a processor and memory programmed to perform one or more functions embodied in a computer program.
[0091] Alternatively, the communication systems 2, 4 and techniques described in this disclosure may be implemented in a special purpose computer provided by configuring a processor with one or more special purpose hardware logic circuits.
[0092] Alternatively, the communication systems 2, 4 and techniques described herein may be implemented using one or more special purpose computers configured using a combination of a processor and memory programmed to perform one or more functions and a processor configured with one or more hardware logic circuits.
[0093] The computer program may be stored in a computer-readable non-transitory recording medium as instructions executed by a computer. The method for realizing the functions of each unit included in the communication systems 2 and 4 does not necessarily need to include software, and all of the functions may be realized using one or more pieces of hardware.
[0094] (3h) Multiple functions possessed by one component in the above-described embodiments may be realized by multiple components, or one function possessed by one component may be realized by multiple components. Furthermore, multiple functions possessed by multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. Furthermore, part of the configuration of the above-described embodiments may be omitted. Furthermore, at least part of the configuration of the above-described embodiments may be added to or substituted for the configuration of another of the above-described embodiments.
[0095] (3i) In addition to the communication systems 2 and 4 described above, the present disclosure can also be realized in various forms, such as a program for causing a computer to function as the communication systems 2 and 4, a non-transient physical recording medium such as a semiconductor memory on which the program is recorded, and a communication method. [Technical idea disclosed in this specification]
[0096] [Item 1] A communication system including a plurality of communication nodes (30, 40, 42, 44, 46, 50, 60, 70, 80, 90, 100, 110) for relaying diagnostic communication of a diagnosis request and a diagnosis result between a request source of a fault diagnosis and a request destination of the fault diagnosis, Any of the communication nodes, a communication determination unit (32, 72, 92, S402, S404, S422) configured to determine whether or not the current communication is the fault diagnosis communication; a communication setting unit (34, 74, 94, S406, S408, S424, S426) configured to increase the priority of a priority parameter representing a priority of communication when the communication determination unit determines that the current communication is the fault diagnosis communication either when the diagnosis request is transmitted from the request source to the request destination or when the diagnosis result is transmitted from the request destination to the request source; Equipped with Communication systems.
[0097] [Item 2] Item 1 is a communication system according to the present invention, Assuming that the communication node is a first communication node, the communication determination unit is a first communication determination unit, and the communication setting unit is a first communication setting unit, the first communication setting unit is configured to increase the priority of the priority parameter when the first communication determining unit determines that the current communication is the fault diagnosis communication at either the time of transmitting the diagnosis request or the time of transmitting the diagnosis result; Among the plurality of communication nodes, a second communication node other than the first communication node is a second communication determination unit configured to determine whether the current communication is the fault diagnosis communication; a second communication setting unit configured to lower the priority of the priority parameter increased by the first communication setting unit when the second communication determining unit determines that the current communication is the fault diagnosis communication at either the time of transmitting the diagnosis request or the time of transmitting the diagnosis result; Equipped with Communication systems.
[0098] [Item 3] Item 2. A communication system according to the present invention, the second communication setting unit is configured to increase the priority of the priority parameter when the second communication determining unit determines that the current communication is the fault diagnosis communication at the time of transmitting the diagnosis request or the time of transmitting the diagnosis result; the first communication setting unit is configured to lower the priority of the priority parameter increased by the second communication setting unit when the first communication determining unit determines that the current communication is the fault diagnosis communication at the time of transmitting the diagnosis request or the time of transmitting the diagnosis result. Communication systems.
[0099] [Item 4] A communication system according to any one of items 1 to 3, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication and that at least one of a manual parking gear, a side brake, and an electric parking brake is in a state that stops the vehicle. Communication systems.
[0100] [Item 5] A communication system according to any one of items 1 to 4, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication and further that an external fault diagnosis tool is connected to the communication system as the request source of the fault diagnosis. Communication systems.
[0101] [Item 6] 6. A communication system according to any one of claims 1 to 5, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication, that the vehicle is equipped with an electric motor as a drive source, and that a rechargeable battery that supplies power to the electric motor is being charged. Communication systems.
[0102] [Item 7] A communication system according to any one of items 1 to 6, the communication setting unit is configured to increase the priority of the priority parameter when the current communication is the fault diagnosis communication and the communication determination unit determines that the vehicle is equipped with an internal combustion engine and is currently being refueled. Communication systems.
[0103] [Item 8] A communication system according to any one of items 1 to 7, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication and that a communication amount other than the fault diagnosis communication is equal to or less than a predetermined amount. Communication systems.
[0104] [Item 9] A communication system according to any one of items 1 to 8, At least one of the communication nodes is an electronic control device. Communication systems.
[0105] [Item 10] A communication system according to any one of items 1 to 9, At least one of the communication nodes is a processor core. Communication systems.
[0106] [Item 11] A communication system according to any one of items 1 to 10, At least one of the communication nodes is a virtual machine. Communication systems. [Explanation of symbols]
[0107] 2, 4: communication system, 30, 70, 90: ECU (communication node), 32, 72, 92: communication determination unit, 34, 74, 94: communication setting unit, 40, 50, 60, 80, 100, 110: processor core (communication node), 42, 44, 46: VM (communication node)
Claims
1. A communication system including a plurality of communication nodes (30, 40, 42, 44, 46, 50, 60, 70, 80, 90, 100, 110) for relaying diagnostic communication of a diagnosis request and a diagnosis result between a request source of a fault diagnosis and a request destination of the fault diagnosis, Any of the communication nodes, a communication determination unit (32, 72, 92, S402, S404, S422) configured to determine whether or not the current communication is the fault diagnosis communication; a communication setting unit (34, 74, 94, S406, S408, S424, S426) configured to increase the priority of a priority parameter representing a priority of communication when the communication determination unit determines that the current communication is the fault diagnosis communication either when a diagnosis request is transmitted from the request source to the request destination or when a diagnosis result is transmitted from the request destination to the request source; Equipped with Communication systems.
2. 2. The communication system according to claim 1, Assuming that the communication node is a first communication node, the communication determination unit is a first communication determination unit, and the communication setting unit is a first communication setting unit, the first communication setting unit is configured to increase the priority of the priority parameter when the first communication determining unit determines that the current communication is the fault diagnosis communication at either the time of transmitting the diagnosis request or the time of transmitting the diagnosis result; Among the plurality of communication nodes, a second communication node other than the first communication node is a second communication determination unit configured to determine whether the current communication is the fault diagnosis communication; a second communication setting unit configured to lower the priority of the priority parameter increased by the first communication setting unit when the second communication determining unit determines that the current communication is the fault diagnosis communication at either the time of transmitting the diagnosis request or the time of transmitting the diagnosis result; Equipped with Communication systems.
3. 3. The communication system according to claim 2, the second communication setting unit is configured to increase the priority of the priority parameter when the second communication determining unit determines that the current communication is the fault diagnosis communication at the time of transmitting the diagnosis request or the time of transmitting the diagnosis result; the first communication setting unit is configured to lower the priority of the priority parameter increased by the second communication setting unit when the first communication determining unit determines that the current communication is the fault diagnosis communication at the time of transmitting the diagnosis request or the time of transmitting the diagnosis result. Communication systems.
4. 2. The communication system according to claim 1, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication and that at least one of a manual parking gear, a side brake, and an electric parking brake is in a state that stops the vehicle. Communication systems.
5. 2. The communication system according to claim 1, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication and further that an external fault diagnosis tool is connected to the communication system as the request source of the fault diagnosis. Communication systems.
6. 2. The communication system according to claim 1, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication, that the vehicle is equipped with an electric motor as a drive source, and that a rechargeable battery that supplies power to the electric motor is being charged. Communication systems.
7. 2. The communication system according to claim 1, the communication setting unit is configured to increase the priority of the priority parameter when the current communication is the fault diagnosis communication and the communication determination unit determines that the vehicle is equipped with an internal combustion engine and is currently being refueled. Communication systems.
8. 2. The communication system according to claim 1, the communication setting unit is configured to increase the priority of the priority parameter when the communication determination unit determines that the current communication is the fault diagnosis communication and that a communication amount other than the fault diagnosis communication is equal to or less than a predetermined amount. Communication systems.
9. 2. The communication system according to claim 1, At least one of the communication nodes is an electronic control device. Communication systems.
10. 2. The communication system according to claim 1, At least one of the communication nodes is a processor core. Communication systems.
11. 2. The communication system according to claim 1, At least one of the communication nodes is a virtual machine. Communication systems.
Citation Information
Patent Citations
repeater
JP2014078800A