Communication system for vehicle and method for controlling the same
10911252 ยท 2021-02-02
Assignee
Inventors
Cpc classification
B60W2050/0075
PERFORMING OPERATIONS; TRANSPORTING
B60W2556/45
PERFORMING OPERATIONS; TRANSPORTING
H04L67/12
ELECTRICITY
B60W50/00
PERFORMING OPERATIONS; TRANSPORTING
H04L67/34
ELECTRICITY
H04L12/12
ELECTRICITY
B60W2050/0083
PERFORMING OPERATIONS; TRANSPORTING
Y02D30/50
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H04L67/60
ELECTRICITY
B60W50/0205
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A method for controlling a communication system of a vehicle includes selecting, by a main controller, a specific sub-controller to wake-up during an ignition-off state of the vehicle from among a plurality of sub-controllers. The main controller transmits a message including information about a time when the wake-up is scheduled and a specific task to be performed after the wake-up to the selected specific sub-controller if the ignition-off state of the vehicle is maintained. The selected sub-controller is caused to wake up at the wake-up time transmitted from the main controller and to perform the specific task during the ignition-off state of the vehicle. A corresponding communication system of the vehicle is also provided.
Claims
1. A method for controlling a communication system of a vehicle, comprising: selecting, by a main controller, a specific sub-controller to wake-up in an ignition-off state of the vehicle among a plurality of sub-controllers; transmitting, by the main controller, a message including information about a time when the wake-up is scheduled and a specific task to be performed after the wake-up to the selected specific sub-controller if the ignition-off state of the vehicle is maintained; causing the selected specific sub-controller to wake up before a predetermined wake-up time after ending of communication between the selected specific sub-controller and the main controller if the specific task comprises the performing the diagnosis of the selected specific sub-controller, and performing, by the selected specific sub-controller, self-diagnosis; causing the main controller to wake up at the predetermined wake-up time, and transmitting, by the selected specific sub-controller, the result of the self-diagnosis to the main controller; storing, by the main controller, the result of the diagnosis received from the selected specific sub-controller in a database; and ending communication between the main controller and the selected specific sub-controller of the vehicle.
2. The method according to claim 1, further comprising: transmitting, by the selected specific sub-controller, acknowledgment of receipt of the message to the main controller after the transmitting, by the main controller, of the message including the information about the time when the wake-up is scheduled and the specific task to be performed after the wake-up to the selected specific sub-controller; and ending communication between the main controller and the selected specific sub-controller.
3. The method according to claim 1, wherein the specific task to be performed after the wake-up comprises at least one of reprogramming of software preinstalled in the selected specific sub-controller and performing a diagnosis of the selected specific sub-controller.
4. The method according to claim 3, further comprising: generating, by a server, reprogramming data of the software before the selecting, by the main controller, the specific sub-controller to wake-up in the ignition-off state of the vehicle if the specific task comprises the reprogramming of the software; receiving, by the main controller, the reprogramming data of the software from the server; and identifying, by the main controller, matching of the received reprogramming data.
5. The method according to claim 4, further comprising: causing the main controller and the selected specific sub-controller to wake up at a predetermined wake-up time after ending of communication between the selected specific sub-controller and the main controller, and transmitting, by the main controller, the reprogramming data of the software received from the server to the selected specific sub-controller; performing, by the selected specific sub-controller, reprogramming of the software preinstalled in the selected specific sub-controller based on the received reprogramming data of the software, and transmitting a reprogramming completion message to the main controller; and ending communication between the main controller and the selected specific sub-controller of the vehicle.
6. A communication system of a vehicle comprising: a plurality of sub-controllers; and a main controller communicatively connected to the sub-controllers and configured to detect ignition-off of the vehicle, to select a specific sub-controller to wake-up in an ignition-off state of the vehicle, and to transmit a message including information about a time when the wake-up is scheduled and a specific task to be performed after the wake-up to the selected specific sub-controller; and a database configured to store a result of performing the diagnosis of the selected specific sub-controller, wherein if the specific task comprises the performing the diagnosis of the selected specific sub-controller, the selected specific sub-controller wakes up before a predetermined wake-up time after ending of communication between the main controller and the selected specific sub-controller, and performs self-diagnosis, and wherein the main controller wakes up at the predetermined wake-up time, and if the result of the self-diagnosis is received from the selected specific sub-controller, the main controller stores the result of the self-diagnosis in the database.
7. The communication system according to claim 6, wherein the specific task to be performed after the wake-up comprises at least one of reprogramming of software preinstalled in the selected specific sub-controller and performing a diagnosis of the selected specific sub-controller.
8. The communication system according to claim 7, further comprising: a server configured to generate reprogramming data of the software preinstalled in the selected specific sub-controller and to transmit the generated reprogramming data to the main controller.
9. The communication system according to claim 8, wherein the database stores matching determination information for identifying matching of the reprogramming data received from the server.
10. The communication system according to claim 9, wherein the selected specific sub-controller transmits, to the main controller, acknowledgement of receipt of the message including the information about the time when the wake-up is scheduled and the specific task to be performed after the wake-up, and if the main controller receives the acknowledgement of receipt of the message from the selected specific sub-controller, ends communication between the main controller and the selected specific sub-controller.
11. The communication system according to claim 10, wherein if the specific task comprises the reprogramming of the software, the main controller receives the reprogramming data of the software from the server before the main controller selects the specific sub-controller to wake-up in the ignition-off state of the vehicle.
12. The communication system according to claim 11, wherein the main controller identifies the matching of the reprogramming data received from the server based on the matching determination information stored in the database.
13. The communication system according to claim 12, wherein if the specific task comprises the reprogramming of the software, the main controller and the selected specific sub-controller wake up at a predetermined wake-up time after ending of communication between the main controller and the selected specific sub-controller, and the main controller transmits the reprogramming data of the software received from the server to the selected specific sub-controller.
14. The communication system according to claim 13, wherein the selected specific sub-controller performs reprogramming of the software preinstalled in the selected specific sub-controller based on the received reprogramming data of the software, and transmits a reprogramming completion message to the main controller.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects, features and advantages of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
DESCRIPTION OF PREFERRED EMBODIMENTS
(8) Hereinafter, a communication system of a vehicle and a method for controlling the same according to preferred embodiments of the present disclosure will be described with reference to the accompanying drawings.
(9)
(10) As illustrated in
(11) Specifically, the plurality of sub-controllers 200 mean controllers for controlling various electronic control devices mounted in the vehicle. For example, the sub-controllers 200 may include devices for controlling related performances, such as electronic control of a fuel supply system, exhaust gas recirculation (EGR) reflux rate, ignition time, and idling revolutions per minute (RPM), using a microcomputer. In addition, as possibly occurring trouble monitoring functions, the sub-controllers 200 may include self-diagnosis systems, such as systems for fuel injection control, ignition time control, idle speed control, EGR control, fuel pump control, exhaust temperature warning control, and self-diagnosis function. More specifically, the sub-controllers 200 may include an engine management system (EMB), electric stability control (ESC), integrated body unit (IBU), motor driven power steering (MDPS), dual automatic temperature control (DATC), and full automatic temperature control (FATC).
(12) As illustrated in
(13) Further, the main controller 100 may detect ignition-off of the vehicle, select a specific sub-controller requiring wake-up among the plurality of sub-controllers in an ignition-off state of the vehicle, and transmit a message including information about a time when the wake-up is necessary and information about a specific task to be performed after the wake-up to the selected specific sub-controller as illustrated in
(14) Here, the specific task to be performed by the selected specific sub-controller 200 after the wake-up may include reprogramming of software preinstalled in the selected specific controller 200 and reserved diagnosis of the selected specific controller. In other words, according to an embodiment, the specific sub-controller 200 selected by the main controller 100 may perform the reprogramming of the preinstalled software after a predetermined time as illustrated in
(15) On the other hand, the main controller 100 may select the specific sub-controller to wake-up (e.g., a specific sub-controller requiring the wake-up) among the plurality of sub-controllers in the ignition-off state of the vehicle, and in an embodiment, if the specific task is the reserved diagnosis, the main controller 100 may select the specific sub-controller 200 in accordance with a user's input. That is, a user may select the specific sub-controller 200 requiring the reserved diagnosis in the ignition-off state of the vehicle, and the main controller 100 may select the specific sub-controller 200 selected by the user as the specific sub-controller 200 to wake-up in the ignition-off state of the vehicle. In addition, the main controller 100 may compare the latest software from the server 300 to be described later with the software preinstalled in the sub-controller 200, and if the software preinstalled in the sub-controller 200 is not the latest software, the main controller 100 may determine that the reprogramming of the software of the corresponding sub-controller 200 is needed and thus the wake-up of the corresponding sub-controller 200 is needed in the ignition-off state of the vehicle.
(16) The server 300 may generate reprogramming data of the software preinstalled in the specific sub-controller 200 selected by the main controller 100, and may transmit the generated reprogramming data to the main controller 100 in an over-the-air manner. Here, the reprogramming data transmitted from the server 300 to the main controller 100 may be an over-the-air (OTA) update package including binary data related to the reprogramming of the software preinstalled in the specific sub-controller 200, an electronic certificate including public key information, and an electronic signature signed by the subject that provides the corresponding binary data.
(17) The database 400 serves to store matching determination information for identifying the matching of the reprogramming data received from the server 300 and the result of diagnosis of the sub-controller 200. Here, in an embodiment, the matching determination information for identifying the matching of the reprogramming data received from the server 300 may be the public key information of the electronic certificate included in the reprogramming data. In addition, the main controller 100 may identify the matching of the reprogramming data received from the server 300 based on the matching determination information stored in the database 400, and by comparing the public key information stored in the database 400 with the public key included in the electronic certificate of the reprogramming data, the main controller 100 can identify the matching of the reprogramming data received from the server 300. However, the above-described matching determination scheme is merely exemplary, and the matching of the reprogramming data received from the server 300 can be identified through various schemes.
(18) Hereinafter, a method for controlling the communication system of the vehicle as described above will be described in detail with reference to
(19)
(20) As described above, the present disclosure relates to a method for controlling communication during ignition-off of a vehicle between a plurality of sub-controllers and a main controller connected to the sub-controllers through CAN communication. As illustrated in
(21) In addition, as illustrated in
(22) In addition, in an embodiment, if the message including the information about the time when the wake-up is scheduled and the specific task is not successfully transmitted from the main controller to the selected specific sub-controller, the sub-controller may request the main controller to retransmit the corresponding message.
(23) On the other hand, the specific task to be performed after the wake-up may include reprogramming of software preinstalled in the selected specific controller and reserved diagnosis of the selected specific controller. In other words, according to an embodiment, the specific sub-controller selected by the main controller may perform the reprogramming of the preinstalled software after a predetermined time as illustrated in
(24) Referring to
(25) Further, if the matching of the received reprogramming data is identified, the main controller may transmit the message including the information about the time when the wake-up is scheduled and the specific task to be performed after the wake-up to the selected specific sub-controller when the ignition-off of the vehicle is maintained, and after the sub-controller transmits whether to receive the corresponding message to the main controller, the communication between the main controller and the sub-controller may be ended.
(26) In addition, the method may further include making the main controller and the sub-controller wake up at a predetermined wake-up time after the ending the communication between the sub-controller and the main controller, and transmitting, by the main controller, the reprogramming data of the software received from the server to the selected specific sub-controller; performing, by the sub-controller, the reprogramming of the preinstalled software based on the received reprogramming data of the software, and transmitting a reprogramming completion message of the software to the main controller; and ending the communication of the vehicle. Here, ending of the communication of the vehicle means ending of the communication between the main controller and the plurality of sub-controllers.
(27) Referring to
(28) In addition, the method may further include making the sub-controller wake up before a predetermined wake-up time after the ending the communication between the sub-controller and the main controller, and performing, by the sub-controller, self-diagnosis; making the main controller wake up at the predetermined wake-up time to resume the communication between the main controller and the sub-controller, and transmitting, by the sub-controller, the result of the self-diagnosis to the main controller; storing, by the main controller, the result of the diagnosis received from the sub-controller in a database; and ending the communication of the vehicle. In this case, the reason why the sub-controller wakes up before the predetermined wake-up time is that the sub-controller should transmit the result of the reserved diagnosis to the main controller at the predetermined wake-up time. In other words, in consideration of an expected time taken for performing the reserved diagnosis and the predetermined wake-up time, the sub-controller may wake up before the corresponding wake-up time as long as the expected diagnosis time to perform the reserved diagnosis, and may transmit the result of the diagnosis to the main controller at the predetermined wake-up time.
(29) The main controller 100, the sub-controller(s) 200, the server 300, and the database 400 each may include one or more of a processor, a memory storing program instructions, a wired or wireless communication interface (e.g., an interface for communicating across the CAN), and the like, which are communicatively connected to each other through direct links, a communication BUS, or the like. Each may further be connected to other elements or devices, such as a large data storage medium (e.g., in the case of database 400), a wide area communication network (e.g., in the case of server 300), and/or various components of the vehicle (e.g., in the case of main controller 100 and sub-controllers 200). In operation, the processor of each of the main controller 100, sub-controller(s) 200, server 300, and database 400 executes the program instructions stored in the memory to thereby perform the various functions described herein as being performed by the main controller 100, sub-controller(s) 200, server 300, and database 400 including functions to transmit, receive, or process data or information. The main controller 100 and sub-controller(s) 200 may further each include a clock operative to control timing of operations by the processor including timing of wake-up.
(30) Additionally, the sub-controller(s) 200 and, optionally, one or more of the main controller 100, server 300, and database 400, are configured to operate in two different states of operation: a low-power state of operation in which power consumption is relatively low and the sub-controller 200 (or other element) can only perform limited functions, and a normal state of operation in which power consumption is relatively higher and the sub-controller 200 (or other element) can only perform most or all functions attributed thereto. The sub-controller(s) 200 transition from the low-power state of operation to the normal state of operation during a wake-up event, and transition back to the low-power state of operation following completion of specific functions performed following wake-up. The sub-controller(s) 200 further generally transition from the low-power state of operation to the normal state of operation in response to detecting a vehicle ignition-on event, and transition to the low-power state in response to detecting a vehicle ignition-off event.
(31) Although the preferred embodiments of the present disclosure have been illustrated and described for illustrative purposes, those of ordinary skill in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.