The present application is based on and claims the benefit of priority of Japanese Patent Application No. 2015-015859, filed on Jan. 29, 2015, the disclosure of which is incorporated herein by reference.
The present disclosure generally relates to an electronic control device disposed in a vehicle and having an off-board diagnosis function that is performed in response to a request from an external diagnosis device, and an electronic control system having such an electronic control device.
Conventionally, as disclosed in a Japanese Patent Laid-Open No. H07-46676 (patent document 1), an electronic control device installed in a vehicle, or an in-vehicle Electronic Control Unit (ECU) performs, in cooperation with an external diagnosis device (i.e., a so-called diagnosis tool), an off-board diagnosis of a vehicle, in response to a request from the external diagnosis device. In such an off-board diagnosis, a read-out instruction is sent from the diagnosis tool to the in-vehicle ECU to read out various failure diagnosis data including a result of an on-board diagnosis, or to control the vehicle devices for various operations that are not usually performed, in order to perform a high-level diagnosis.
Further, in recent years, vehicle manufactures sometimes provide a remote diagnosis service for the vehicle user. The remote diagnosis service may, for example, collect data such as a travel distance, a failure diagnosis data, warning information, and the like from each vehicle to send to a management center via a data communication, and may send a notice to the user based on the collected data that it is time for the vehicle to have a regular checkup in a service shop, for example.
When the off-board diagnosis is performed in response to a request from the diagnosis tool, the diagnosis tool is connected to a dedicated connector, and the request is sent in a message form to the in-vehicle ECU via a dedicated connector. The in-vehicle ECU sends back a response message to the diagnosis tool within a preset period of time, after receiving a request message. The diagnosis tool determines that an abnormality is being caused regarding a communication with the in-vehicle ECU, if the tool does not receive the response message within the preset period of time.
Therefore, to provide the remote diagnosis service described above, a special care is required to not delay a process of the off-board diagnosis that is performed based on the request from the diagnosis tool. Therefore, to prevent such a delay, when the diagnosis tool is connected to the dedicated connector, the in-vehicle ECU may be configured not to perform a process about the remote diagnosis service.
However, a publicly-sold display device is connectable to the dedicated connector for reading various kinds of vehicle information (e.g., for reading a fuel mileage, an average speed, water temperature etc.,) and the user can purchase such a device in an aftermarket. The display device is, in principle, connected to the dedicated connector all the time, for the reading of the vehicle information. On the in-vehicle ECU side, it is difficult to distinguish whether the connector is connected to the diagnosis tool or to the display device. Therefore, if the in-vehicle ECU is configured not to perform the process about the remote diagnosis service when an external device is connected to the dedicated connector, the data required for the remote diagnosis service is not transferable from the vehicle to the management center when the user connects the above-described display device to the dedicated connector.
It is an object of the present disclosure to provide an ECU that is capable of transmitting required data for a remote diagnosis service even when a vehicle user connects a publicly-sold (i.e., commercial) external tool to a dedicated connector, and an electronic control system having such an ECU.
In an aspect of the present disclosure, an electronic control device installed in a vehicle for performing a predetermined control process, includes an off-board diagnoser performing an off-board diagnosis in response to a request from an external device that is connected to a dedicated connector providing a connection to the external device. The electronic control device also includes a requested diagnosis data transmission unit (i) generating a diagnosis data when receiving, from an external management center, a transmission request that requests a transmission of the diagnosis data, and (ii) transmitting the diagnosis data to the external management center. The requested diagnosis data transmission unit is configured to (a) reserve the transmission of the diagnosis data in response to the transmission request from the external management center, when receiving the transmission request in a state that (A) the external device is connected to the connector and (B) an ignition switch of the vehicle is in a turned ON state, and (b) perform the transmission of the diagnosis data after a turning OFF of the ignition switch of the vehicle.
According to the electronic control device, or ECU, of the present disclosure, when the external device is connected to the connector, and when the ignition switch is in a turned ON state, the diagnosis data is not transmitted to the management center, even when a transmission request from the center is received. Therefore, during a period in which the diagnosis tool is connected to the connector, and the off-board diagnosis is performed, a delay of the off-board diagnosis is prevented from happening. Further, after a turning OFF of the ignition switch, the ECU does not have to respond to a request from the external device that is connected to the connector. Therefore, the ECU performs a requested transmission of the diagnosis data. In such manner, data required for the remote diagnosis service is transmitted to the management center.
Further, in another aspect of the present disclosure, an electronic control system including an electronic control device installed in a vehicle for performing a predetermined control process includes an off-board diagnoser performing an off-board diagnosis in response to a request from an external device that is connected to a dedicated connector providing a connection to an external device, a communicator communicating with an external management center, and a requested diagnosis data transmission unit (i) generating a diagnosis data when receiving, from the external management center, a transmission request that requests a transmission of the diagnosis data, and (ii) transmitting the diagnosis data to the external management center by using the communicator. The requested diagnosis data transmission unit is configured to (a) reserve the transmission of the diagnosis data in response to the transmission request from the external management center, when receiving the transmission request in a state that (A) the external device is connected to the connector and (B) an ignition switch of the vehicle is in a turned ON state, and (b) perform the transmission of the diagnosis data after a turning OFF of the ignition switch of the vehicle.
According to the electronic control system of the present disclosure configured in the above-described manner, the same effects as the above-mentioned ECU are achieved.
The numerals in the above are intended to exemplify a relationship between the claimed elements and the configuration in the embodiment, and not restricting the scope of the disclosure in any manner.
Further, other technical features in each of the claims other than one described above may become apparent based on the description of the embodiments and based on the attached drawings.
Objects, features, and advantages of the present disclosure will become more apparent from the following detailed description made with reference to the accompanying drawings, in which:
Hereafter, the first embodiment of present disclosure is described based on the drawings.
The electronic control system of the present embodiment has an electrical control device (ECU) 10 and a wireless communication module 20.
ECU 10 and the communication module 20 are disposed on a vehicle 100, for example, and are mutually connected via a communication bus 30 of an in-vehicle network which operates based on a communications protocol, such as a Controller Area Network (CAN). Therefore, ECU 10 and the communication module 20 are mutually communicable via the communication bus 30.
A dedicated connector 40, which is capable of providing a connection to the external devices (e.g., a diagnosis tool 50), is connected to the communication bus 30. The dedicated connector 40 is disposed at a lower part of a dashboard around the driver's seat, for example. When the diagnosis tool 50 is connected to the dedicated connector 40, the diagnosis tool 50 becomes communicable with ECU 10 via the communication bus 30 and the dedicated connector 40. Although not illustrated, the dedicated connector 40 has a mechanical switch for detecting that an external device including the diagnosis tool 50 is connected to the dedicated connector 40.
The wireless communication module 20 is capable of performing communication with an external management center 200 by wireless communication, which uses a portable telephone network, for example. An example of communication between the wireless communication module 20 and the management center 200 is described below.
First, the wireless communication module 20 receives a request from management center 200, which request a transmission of diagnosis data. In this case, the wireless communication module 20 outputs a received request to transmit the diagnosis data to ECU 10. According to the transmission request, ECU 10 generates the requested diagnosis data. The generated diagnosis data is outputted to the wireless communication module 20. The wireless communication module 20 transmits the diagnosis data to the management center 200, upon receiving the diagnosis data from ECU 10.
Thereby, the management center 200 obtains various kinds of vehicle information (e.g., a travel distance, data for failure diagnoses, warning information, etc.) as the diagnosis data. Further, for example, based on the obtained vehicle information, the management center 200 determines a suitable maintenance timing of a corresponding vehicle, and notifies the vehicle user of the maintenance timing.
The maintenance timing notice may be provided by using the wireless communication module 20, or may be transmitted to the user's cellular phone (e.g., to a smart phone), a personal computer, etc. in the form of an e-mail.
In the electronic control system including ECU 10, the diagnosis tool 50 is used for performing an off-board diagnosis. ECU 10 has a self-diagnosis function for determining whether the ECU 10 itself and its peripheral circuit, as well as sensors and actuators, are normally operating based on an execution of a built-in software, and for recording the diagnosis results and related data (i.e., failure diagnosis data), which may also be designated as an on-board diagnosis function. The off-board diagnosis is performed as (i) a read-out and a transmission of the failure diagnosis data derived from the on-board diagnosis and (ii) a special operation of a control object device or the like performed for a high-level diagnosis, together with a transmission of resulting data of such special operation.
Therefore, the diagnosis tool 50 transmits to ECU 10 a request message that requests a read-out of the failure diagnosis data, and an execution of a special operation. Then, according to the request message, ECU 10 reads the failure diagnosis data, and detects operation-related data regarding the special operation. Then, ECU 10 transmits the response message that includes the data, and proof of an execution of the requested diagnosis operation to the diagnosis tool 50.
The diagnosis tool 50 measures a lapse time after a transmission of the request message until it receives the response message. When the measured lapse time reaches a preset value without receiving the response message, the diagnosis tool 50 determines that a certain abnormality is caused in communication with ECU 10, for example. Therefore, ECU 10 is required to transmit the response message in response to the request message within a predetermined time after receiving the request message.
ECU 10 is provided with a power supply IC 11 and a microcomputer 12.
The power supply IC 11 is an Integrated Chip (IC) for controlling a state of a power relay 3 which provides a power supply to ECU 10 and to the wireless communication module 20.
The microcomputer 12 has a well-known configuration including Central Processing Unit (CPU), memories (e.g., Read Only Memory (ROM), Random Access Memory (RAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc.), a communication interface, a bus line that connects the above elements. In addition, the microcomputer 12 is configured to perform, besides performing predetermined control processes, (i) an off-board diagnosis process based on the request message from the diagnosis tool 50, and (ii) a generation process and a transmission process of the diagnosis data based on a request from the management center.
Further, the microcomputer 12 is electrically connected to a battery 1 disposed in the vehicle 100 via an ignition switch (IGSW) 2. Therefore, an ignition (IG) signal that shows an ON and OFF of IGSW 2 is inputted to the microcomputer 12. Based on the IG signal, the microcomputer 12 can detect whether IGSW 2 is ON or OFF.
The power supply IC 11 always receives a power supply from the battery 1, and the power supply IC 11 is operable even when IGSW 2 is turned OFF. However, the power supply to the power supply IC 11 may be provided from the power relay 3 that is mentioned later.
The output signal of the power supply IC 11 is inputted to an OR circuit 4. Also, an IG signal is inputted to the OR circuit 4 via IGSW 2. Further, an output of the OR circuit 4 is connected to a base of a transistor 5 that is connected to a coil of the power relay 3. Therefore, when a high-level signal is outputted from the OR circuit 4, the transistor 5 is turned ON. Then, an electric current flows to the coil of the relay 3, and a contact of the relay 3 is turned ON. On the other hand, when a low-level signal is outputted from the OR circuit 4, the transistor 5 is turned OFF. Therefore, the power supply to the coil of the relay 3 stops, and the contact of the relay 3 is turned OFF.
In the example shown in
Here, the power supply to ECU 10 and to the communication module 20 is described.
First, when IGSW 2 is turned ON, an IG signal is input to the OR circuit 4. According to the input of the IG signal, the OR circuit 4 outputs a high-level signal. Therefore, the contact of the relay 3 is turned ON and the power supply to ECU 10 and to the communication module 20 is started.
When the power supply to ECU 10 is started, the microcomputer 12 instructs the power supply IC 11 to output a high-level signal. Thereby even when IGSW 2 is turned off, the OR circuit 4 maintains (i.e., keeps on outputting) the high-level signal, which prevents an immediate shut-down of the power supply to ECU 10 and to the communication module 20 immediately after a turning OFF of IGSW 2.
When the microcomputer 12 detects that IGSW 2 is turned OFF based on an input of the IG signal, the microcomputer 12 instructs the power supply IC 11 to output the low-level signal after a preset time from such detection. Based on such instruction, the power supply IC 11 starts time measurement, and after the lapse of the preset time, the IC 11 switches the output signal from the high level to the low level. Therefore, after a turning OFF of IGSW 2, the power supply is maintained (i.e., is kept uninterrupted) for the preset time, and ECU 10 and the communication module 20 are kept in an operable state. Further, the length of the predetermined time mentioned above is pre-defined as a period of time that is longer than a maximum time required of an operation which may possibly be performed by ECU 10 or the communication module 20 after a turning OFF of IGSW 2.
In the electronic control system having the above-described configuration, when the diagnosis tool 50 is connected to the dedicated connector 40, the microcomputer 12 receives the request message from the diagnosis tool 50. After receiving the request message, the microcomputer 12 is required to transmit, without delay, the response message based on performing the requested diagnosis operation and/or preparing the required data. Therefore, when the external device is connected to the dedicated connector 40, the electronic control system concerning the present embodiment is configured to reserve a transmission of the diagnosis data to the management center 200, even if the microcomputer 12 receives a transmission request of the diagnosis data from the management center 200, for not causing a delay of the off-board diagnosis process in ECU 10.
Here, the diagnosis tool 50 is connected to the dedicated connector 40 is when performing the off-board diagnosis of the electronic control system. Therefore, the connection of the tool 50 to the connector 40 is usually only temporary (i.e., only for a short period of time). Therefore, in case that the diagnosis tool 50 is the only device that is connected to the dedicated connector 40, even if the transmission of the diagnosis data to the management center 200 is reserved for such a short period of time, it will not cause a problem in particular.
However, in recent years, various kinds of information, including the fuel mileage, an average speed, water temperature, etc., are read out by a display device that is sold publicly. The device is connected to the system via the dedicated connector 40, and such a display device is usually connected to the connector 40 all the time (i.e., for a long time). On the electronic control system side, it is difficult to distinguish whether the external device connected to the connector 40 is the diagnosis tool 50, or the publicly-sold display device. Therefore, simply prohibiting a transmission of the diagnosis data to the management center 200 in response to the transmission request when an external device is connected to the dedicated connector 40 will not work. That is, in such prohibition scheme, when the user connects the publicly-sold display device to the dedicated connector 40, the diagnosis data is not transmittable from the vehicle 100 to the management center 200 at all. In such case, the remote diagnosis service may not be provided for the user.
Therefore, in the electronic control system concerning the present embodiment, while IGSW 2 is turned ON, the requested transmission of the diagnosis data is reserved, and, after IGSW 2 is turned OFF, the requested transmission of the diagnosis data is performed.
In such manner, while IGSW 2 is turned ON, during which the off-board diagnosis is performed by the diagnosis tool 50 that is connected to the dedicated connector 40, a delay of the off-board diagnosis process in ECU 10 due to the transmission process of the diagnosis data is prevented.
Further, after IGSW 2 is turned OFF, even if the external device connected to the dedicated connector 40 is the diagnosis tool 50, ECU 10 is not required to respond to the request from the external device. Therefore, ECU 10 performs the requested transmission of the diagnosis data, after IGSW 2 is turned OFF. Thereby, the data required for the remote diagnosis service is transmittable to the management center 200.
The process for arbitrating the off-board diagnosis process and the transmission process of the diagnosis data which are mentioned above is described with reference to a flowchart in
In Step S100, it is determined whether a data transmission flag which shows a permission or a prohibition of transmission of the diagnosis data to the management center 200 is set to “allowed.”
When the data transmission flag is set to “allowed” (S100:YES), the process proceeds to Step S102, and when set to “prohibition” (S100:NO), the process proceeds to Step S108.
The data transmission flag has its initial value set to “prohibition.”
In Step S102, since the data transmission flag is set to “allowed,” a data transmission process is performed. That is, the microcomputer 12 outputs the diagnosis data requested from the management center 200 to the communication module 20, and transmits the diagnosis data to the management center 200 from the communication module 20. The diagnosis data transmitted to the management center 200 is generated at Step S118 mentioned later, and is saved in the memory of the microcomputer 12.
In Step S104, it is determined whether transmission of all diagnosis data which should be transmitted is complete. When it is determined that transmission of all diagnosis data is complete (S104:YES), the process proceeds to Step S106. On the other hand, when it is determined that the diagnosis data which should still be transmitted is left (S104:NO), the process of the flowchart in
Then, in Step S106, since transmission of all diagnosis data is complete, the data transmission flag is changed to “prohibition” from “allowed.”
In Step S108, which is performed when the data transmission flag is determined in Step S100 as “prohibition,” it is determined whether IGSW 2 is set to ON based on the IG signal. When it is determined that IGSW 2 is ON (S108:YES), the process proceeds to Step S110. On the other hand, when it is determined that IGSW 2 is OFF (S108:NO), the process proceeds to Step S124.
In Step S110, it is determined whether a request from the external device connected to the dedicated connector 40 or from the management center 200 is received. When it is determined that a request is received (S110:YES), the process proceeds to Step S112, and, when it is determined that a request is not received (S110:NO), the process of the flowchart in
In Step S112, it is determined whether the received request is coming from the external device connected to the dedicated connector 40. In this determination process, when it is determined that the received request is coming from the external device connected to the dedicated connector 40 (S112:YES), the process proceeds to Step S114. On the other hand, when it is determined that the received request is coming from the management center 200 (S112:NO), the process proceeds to Step S116.
In Step S114, an off-board diagnosis process is performed. That is, the failure diagnosis data is read out according to the request message from the external device or, while performing the special operation of the control object device, the operation-related data regarding the special operation is detected. Then, a response message that includes the data as well as a proof of execution of the requested diagnosis operation is transmitted back to the external device.
On the other hand, in Step S116, a request reception flag which shows that a transmission request of the diagnosis data from the management center 200 is received is set to “ON” (REQUEST RECEIVED). In Step S118, by either reading out the requested diagnosis data from the memory, or by detecting the data from the sensor, transmission data is generated.
In Step S120, it is determined whether the external device is connected to the dedicated connector 40. When it is determined that the external device is not connected to the dedicated connector 40 (S120:NO), the process proceeds to Step S122, and the data transmission flag is set to “allowed.” By such setting, when the process of the flowchart in
In other words, a preparation of the transmission process in response to the transmission request from the management center 200 is complete by setting the data transmission flag to “allowed.” This leads to the request reception flag being changed to the “NO” in Step S122.
On the other hand, in Step S120, when it is determined that the external device is connected to the dedicated connector 40, the process of the flowchart in
According to the present embodiment, as mentioned above, when IGSW 2 is turned ON and the external device is connected to the dedicated connector 40, even when the transmission request from the management center 200 is received, transmission of the diagnosis data is not performed.
Therefore, when the external device connected to the dedicated connector 40 is the diagnosis tool 50 and the off-board diagnosis is performed, a delay of the off-board diagnosis process is prevented.
On the other hand, since there is no possibility of causing a delay of the off-board diagnosis when the external device is not connected to the dedicated connector 40, ECU 10 immediately performs the transmission process, (i.e., by generating the transmission data (Step S118) and by allowing the data transmission (Step S122)).
In Step S124, which is performed when IGSW 2 is determined to be OFF in Step S108, it is determined whether the request reception flag is set to “ON” (i.e., REQUEST RECEIVED). In this determination process, if it is determined that the request reception flag is set to “ON” (S124:YES), the process proceeds to Step S126.
In Step S126, while setting the data transmission flag to “allowed,” the request reception flag is changed to “NO”. By such setting, when the process of the flowchart in
As mentioned above, after IGSW 2 is turned OFF, the power supply to ECU 10 and the communication module 20 is continued for a predetermined time, for enabling an operation of both the ECU 10 and the communication module 20. Further, in the present embodiment, in case that the data transmission is reserved under a condition that, the transmission request of the diagnosis data is received from the management center 200 when IGSW 2 is turned ON, and the external device is connected to the dedicated connector 40, ECU 10 performs the transmission process. The transmission process is triggered by a turning OFF of IGSW 2, after the process of Step S124 and Step S126. Thereby, even when a commercial display device is always connected to the dedicated connector 40, the data required for the remote diagnosis service is transmittable to the management center 200.
Next, the second embodiment of the present disclosure is described. Since the configuration of the electronic control system in the second embodiment is the same as the one in the first embodiment, the description of the configuration is not provided.
In the first embodiment mentioned above, when the transmission request from the management center 200 is received, the transmission data generation process is performed in Step S118.
However, as shown in Step S101 of the flowchart in
By performing the transmission data generation process just before the data transmission process as described above, a process load of ECU 10 in a situation when the external device is connected to the dedicated connector 40 and IGSW 2 is turned ON is further lightened. Therefore, when the off-board diagnosis is performed by the diagnosis tool 50, a delay of the off-board diagnosis process in ECU 10 is more securely prevented.
Next, the third embodiment of the present disclosure is described. Since the configuration of the electronic control system in the third embodiment is the same as the one in the first embodiment, the description of the configuration is not provided.
In the first embodiment mentioned above, when the microcomputer 2 detects that IGSW 2 is turned OFF based on an input of the IG signal, the microcomputer 12 instructs the power supply IC 11 to output the low-level signal after a preset time. However, as shown in a flowchart in
In Step S124 of the flowchart in
Therefore, in Step S124, when (i) it is determined that the request reception flag is set to “OFF” (S124:NO), if there is no need to perform the data transmission, the power supply is stopped immediately after a turning OFF of IGSW 2 by an execution of the power shut down process in S128. Further, even in case that the data transmission is required after a turning OFF of IGSW 2, once such data transmission is complete, the power supply is stopped without delay. Therefore, unnecessary power consumption is reduced.
Next, the fourth embodiment of the present disclosure is described. Since the configuration of the electronic control system in the fourth embodiment is the same as the one in the first embodiment, the description of the configuration is not provided.
In the first embodiment mentioned above, when the data transmission request from the management center 200 is received, it is determined whether the external device is connected to the dedicated connector 40 (S120). If it is determined that the device is connected to the connector 40, transmission of the requested diagnosis data is reserved until IGSW 2 is turned OFF.
However, if connection of the external device to the dedicated connector 40 is released (i.e., disconnection of the external device from the connector) before IGSW 2 is turned OFF, there is no problem for generation and transmission of the diagnosis data.
Therefore, without regard to (i) the determination result of S110 (i.e., whether a request from the connected device or from the center 200 is received), or (ii) the determination result of S112 (i.e., whether the request is from the connected device), it is always determined as shown in Step S119 of the flowchart in
Next, the fifth embodiment of the present disclosure is described. Since the configuration of the electronic control system in the fifth embodiment is the same as the one in the first embodiment, the description of the configuration is not provided.
In the first embodiment mentioned above, whether the external device is connected to the dedicated connector 40 is detected by a mechanical switch in the dedicated connector 40. However, it is possible to detect whether the device is connected to the connector 40 without using the mechanical switch.
For example, as shown in Step S117 of the flowchart in
Although the present disclosure has been described in connection with preferred embodiment thereof with reference to the accompanying drawings, it is to be noted that various changes and modifications will become apparent to those skilled in the art, and such changes, modifications, and summarized schemes are to be understood as being within the scope of the present disclosure as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2015-015859 | Jan 2015 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5038289 | Abe | Aug 1991 | A |
5200745 | Takai et al. | Apr 1993 | A |
6285931 | Hattori | Sep 2001 | B1 |
20010037168 | Hozuka et al. | Nov 2001 | A1 |
20060259209 | Sugimura | Nov 2006 | A1 |
20080161989 | Breed | Jul 2008 | A1 |
20080180676 | Tsai | Jul 2008 | A1 |
20080284575 | Breed | Nov 2008 | A1 |
20110093159 | Boling | Apr 2011 | A1 |
20130345903 | Nakagawa | Dec 2013 | A1 |
20140052531 | Kent et al. | Feb 2014 | A1 |
20150281022 | Harata et al. | Oct 2015 | A1 |
20160225197 | Oda et al. | Aug 2016 | A1 |
Number | Date | Country |
---|---|---|
H04-21945 | Feb 1992 | JP |
H07-046676 | Feb 1995 | JP |
H09-021866 | Jan 1997 | JP |
H09-210866 | Aug 1997 | JP |
2006-128807 | May 2006 | JP |
Entry |
---|
U.S. Appl. No. 15/003,971, filed Jan. 22, 2016, Oda et al. |
Office action dated Feb. 27, 2018 issued in corresponding JP patent application No. 2015-015859 (and English machine translation thereof), and cited Specification of JP2006-128807A (and English translation thereof). |
Number | Date | Country | |
---|---|---|---|
20160225196 A1 | Aug 2016 | US |