Vehicle control device
By introducing a log acquisition unit into the vehicle control unit, and using external communication requests to trigger the acquisition of diagnostic log information from non-volatile memory, the problem of high processing load in the vehicle electronic control unit is solved, and efficient life monitoring and improved reliability of non-volatile memory are achieved.
Patent Information
- Application Number
- CN202380095423.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2025-11-07
AI Technical Summary
In existing automotive electronic control devices, the limited access frequency of non-volatile memory leads to excessive processing load, making it difficult to effectively monitor its lifespan.
By introducing a log acquisition unit into the vehicle control unit, and using external communication requests as triggers, commands are added to acquire diagnostic log information from non-volatile memory, thereby reducing processing load and monitoring memory lifespan.
This enables efficient monitoring of the lifespan of non-volatile memory without increasing processing load, reducing the processing load on vehicle control devices and improving memory reliability.
Smart Images

Figure CN120917434A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to a vehicle control device. BACKGROUND
[0002] With the development of high performance and interconnection of automobiles, services and businesses based on data utilization are attracting attention. Unification of a plurality of vehicle control devices (ECUs) mounted on vehicles is progressing, and the amount of data processed by the ECU tends to increase. In order to utilize the data of the vehicle, it is necessary to retain data in and out of the vehicle in the on-vehicle memory, and the on-vehicle memory is considered to use a non-volatile memory. For example, by increasing communication between the ECU and the outside of the vehicle, the opportunity to utilize the data of the vehicle is increased, and the frequency of access to the non-volatile memory located in the vehicle and the amount of data are increased.
[0003] There is a problem that there is a rewrite number (P / E cycle) limit in the non-volatile memory, and the lifetime varies depending on the access frequency, usage method, temperature, and other actual environments. Therefore, it is necessary to grasp the lifetime in the actual usage of the non-volatile memory. As a method of grasping the lifetime of the non-volatile memory, for example, it is disclosed in Patent Literature 1.
[0004] In the summary of Patent Literature 1, it is disclosed that "In a memory diagnosis device, the determination of the consumption state of the memory in use is performed at an appropriate frequency. The memory diagnosis device has an access status observation unit, a consumption information acquisition unit, and a consumption state determination unit. The access status observation unit observes the access status to the memory. The consumption information acquisition unit acquires the consumption information from the memory at a frequency corresponding to the observed access status. The consumption state determination unit determines the consumption state of the memory based on the consumption information acquired by the consumption information acquisition unit.". PRIOR ART DOCUMENTS PATENT LITERATURE
[0005] Patent Literature 1: WO 2020 / 161981 SUMMARY PROBLEMS TO BE SOLVED BY THE INVENTION
[0006] The technology described in Patent Literature 1 always observes the access status to the memory. Therefore, in the case where this technology is applied to an on-vehicle electronic control device (SoC, microcomputer, or the like), there is a problem that the processing load becomes high due to the limited arithmetic processing capacity of the on-vehicle electronic control device.
[0007] The present application was made in view of the above problems, and aims to provide a vehicle control device capable of reducing the processing load of an on-vehicle electronic control device, capable of acquiring diagnosis log information of a non-volatile memory in an actual environment, and capable of grasping the lifetime of the non-volatile memory. TECHNICAL MEANS FOR SOLVING THE PROBLEMS
[0008] To solve the above problems, the vehicle control device of the present application is a vehicle control device connected to a communication device that communicates with an external device of a vehicle, The vehicle control device is characterized by having: a storage section configured by a nonvolatile memory; a command processing section that issues a command to the storage section; an input / output section that performs input / output of information between the storage section in accordance with a command issued by the command processing section; an external communication request processing section that performs processing of an external communication request with an external device; and a log acquisition section that acquires diagnostic log information output from the storage section via the input / output section, the log acquisition section performs a determination of whether or not the diagnostic log information of the storage section needs to be acquired as a trigger of the external communication request with the external device, the command processing section appends a second command to acquire the diagnostic log information of the storage section to a first command to perform input / output of information corresponding to the external communication request with the external device and issues the first command in a case where the diagnostic log information of the storage section is determined by the log acquisition section to need to be acquired. Effects of the Invention
[0009] According to the present application, it is possible to reduce the processing load of the vehicle control device, grasp the lifetime of the nonvolatile memory, and achieve high reliability of the nonvolatile memory. Other features related to the present application will become apparent from the description and drawings of the present specification. In addition, the problems, configurations, and effects other than the above are clarified by the description of the following embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0010] Figure 1 FIG. 1 is a diagram showing a configuration example of an information communication system of a vehicle control device to which a first embodiment of the present application is applied. Figure 2 FIG. 2 is a diagram showing an example of an operation flow of the vehicle control device of the first embodiment of the present application. Figure 3 FIG. 3 is a diagram showing an example of an operation flow of a log acquisition section of the vehicle control device of the first embodiment of the present application. Figure 4 FIG. 4 is a diagram showing a configuration example of an information communication system of a vehicle control device to which a second embodiment of the present application is applied. Figure 5 FIG. 5 is a diagram showing an example of an operation flow of a log acquisition section of the vehicle control device of the second embodiment of the present application. Figure 6A graph showing a relationship between information acquired by the log acquisition section of the vehicle control device of Embodiment 2 of the present application and the number of acquisitions. Figure 7 A diagram showing a configuration example of an information communication system of the vehicle control device to which Embodiment 3 of the present application is applied. Figure 8 A diagram showing an example of an action flow of the log acquisition section of the vehicle control device of Embodiment 3 of the present application. Figure 9 A diagram showing an example of a diagnosis timing in the diagnosis section of the vehicle control device of Embodiment 3 of the present application. Figure 10 A diagram showing an example of a diagnosis method in the diagnosis section of the vehicle control device of Embodiment 4 of the present application. Figure 11 A diagram showing a configuration example of an information communication system of the vehicle control device to which Embodiment 5 of the present application is applied. Figure 12 A diagram showing a configuration example of an information communication system of the vehicle control device to which Embodiment 6 of the present application is applied. Figure 13 A diagram showing a configuration example of an information communication system of the vehicle control device to which Embodiment 7 of the present application is applied. DETAILED DESCRIPTION
[0011] Hereinafter, an embodiment of the storage state monitoring system of the vehicle control device of the present application will be described with reference to the drawings. However, the embodiment shown below is merely an example, and various modifications and applications of technology not explicitly shown in the embodiment are not excluded. That is, the present embodiment can be implemented by various modifications without departing from the spirit thereof. In addition, each drawing is not the spirit having only the constituent elements shown in the drawing, and can include other functions and the like.
[0012] [Embodiment 1] Figure 1 A diagram showing a configuration example of an information communication system of the vehicle control device to which Embodiment 1 of the present application is applied.
[0013] The vehicle control device 100 constitutes an information communication system by cooperating with an external device disposed outside the vehicle. In the present embodiment, a case where the external device is a server 300 is described as an example, but the external device can be constituted by a PC or a cloud. In the information communication system, data is transmitted and received between the server 300 and the vehicle control device 100, and for example, an update program is provided from the server 300 to the vehicle control device 100, and vehicle information is provided from the vehicle control device 100 to the server 300.
[0014] The communication between the vehicle control device 100 and the server 300 is performed by a communication section (communication device) 200 provided in the vehicle. The communication section 200 performs wired communication with the vehicle control device 100 and wireless communication with the server 300.
[0015] The vehicle control device 100 is constituted by an ECU (Electronic Control Unit) provided with a SoC (System on Chip) and a nonvolatile memory. The SoC has a microprocessor, an I / O, a memory storing programs and data. In the vehicle control device 100, each function illustrated in the drawing is realized by executing the programs in the memory by the microprocessor of the SoC. Figure 1
[0016] The vehicle control device 100 has a storage section 110, an input / output section 120, a command processing section 130, a vehicle-outside communication request processing section 140, and a log acquisition section 150 as each function.
[0017] The storage section 110 has a nonvolatile memory such as a NAND type flash memory. In the storage section 110, vehicle information, sensor information, information provided from the server 300, and the like used in vehicle control are stored in a writable and readable manner. In the storage section 110, each command such as writing, reading, and deleting, the total access data amount (total writing data amount and total reading data amount), the number of errors, and information such as the memory temperature are recorded as log information.
[0018] The input / output section 120 accesses the storage section 110 according to a command issued by the command processing section 130, and performs input / output of information between the storage section 110.
[0019] The command processing section 130 issues a command to the storage section 110. The command processing section 130 issues a command to read and write sensor information and vehicle information to the storage section 110. In addition, the command processing section 130 can issue a request command (hereinafter referred to as a first command) to perform input / output of information corresponding to a vehicle-outside communication request to the server 300, and a log acquisition command (hereinafter referred to as a second command) to acquire diagnostic log information of the storage section 110.
[0020] The command processing section 130 issues the first command in the case where there is a vehicle-outside communication request between the vehicle control device 100 and the server 300. Then, in the case where it is judged by the log acquisition section 150 that diagnostic log information of the storage section 110 needs to be acquired, the second command is added to the first command and issued. The second command can be constituted by, for example, a command to acquire self-test results and diagnostic log information such as S.M.A.R.T: Self-Monitoring, Analysis, and Reporting Technology of the storage section 110 from the storage section 110.
[0021] The vehicle exterior communication request processing section 140 performs processing of a vehicle exterior communication request to the server 300 by performing transmission and reception of information with the server 300 through communication with the communication section 200. In the case of communication with the server 300, the vehicle exterior communication request processing section 140 notifies the log acquisition section 150 and the command processing section 130 of the fact that a vehicle exterior communication request from the server 300 has been received.
[0022] The log acquisition section 150 performs a necessity / non-necessity determination of whether or not it is necessary to acquire the diagnosis log information of the storage section 110 as a trigger (opportunity) of a vehicle exterior communication request from the server 300. The result of the necessity / non-necessity determination is input to the command processing section 130, and is used to determine whether or not the issuance of the second command is performed in the command processing section 130. In the necessity / non-necessity determination of the acquisition of the diagnosis log information in the log acquisition section 150, for example, the number of times of communication with the server 300, the type of the first command, and the like can be used. The log acquisition section 150 acquires the diagnosis log information output from the storage section 110.
[0023] Figure 2 FIG. 1 is a diagram showing an example of the operation flow of the vehicle control device of the first embodiment. In the following example, a case in which a vehicle exterior communication request is accepted from the server 300 is described.
[0024] If the vehicle exterior communication request processing section 140 of the vehicle control device 100 determines that there is a vehicle exterior communication request from the server 300 (YES in S101), the fact that there is a vehicle exterior communication request is notified to the command processing section 130 and the log acquisition section 150 (S102).
[0025] The command processing section 130 of the vehicle control device 100 determines a first command for which input and output of information corresponding to the communication request is performed when the notification of the fact that there is a vehicle exterior communication request is accepted (S103).
[0026] On the other hand, the log acquisition section 150 of the vehicle control device 100 performs a determination of whether or not it is necessary to acquire the diagnosis log information from the storage section 110 as a trigger when the notification of the fact that there is a vehicle exterior communication request is accepted (S104) (acquisition determination step). The log acquisition section 150 performs a determination of whether or not to acquire the diagnosis log information of the storage section 110, for example, in accordance with the number of times of communication with the server 300, the type of the first command determined in S103.
[0027] Figure 3 FIG. 2 is a diagram showing an example of the operation flow of the log acquisition section of the vehicle control device of the first embodiment of the present application.
[0028] The log acquisition section 150 acquires at least one of the number of times of communication with the server 300 and the type of the first command (S201). Then, it is determined whether at least one of the above conditions (1) the number of times of communication with the server 300 is equal to or more than a prescribed value and (2) the type of the first command is delete among read, write, and delete (S202). Then, in the case where at least one of the conditions is satisfied, it is determined that acquisition of the diagnostic log information is required (S203), and in the case where none of the conditions is satisfied, it is determined that acquisition of the diagnostic log information is not required (S204).
[0029] Returning again to the explanation of Figure 2 When it is determined by the determination of S104 that acquisition of the diagnostic log information is required (YES in S104), the log acquisition section 150 notifies the command processing section 130 of the need for log acquisition (S105). On the other hand, when it is determined by the determination of S104 that acquisition of the diagnostic log information is not required (NO in S104), the log acquisition section 150 notifies the command processing section 130 of the non-need for log acquisition (S106).
[0030] The command processing section 130 of the vehicle control device 100 determines whether or not the notification of the need for log acquisition is accepted from the log acquisition section 150 (S107). Then, in the case where the notification of the need for log acquisition is accepted (YES in S107), the second command for acquiring the diagnostic log information of the command acquisition storage section 110 is added to the first command decided in S103 and issued (S108). On the other hand, the command processing section 130, in the case where the notification of the non-need for log acquisition is accepted from the log acquisition section 150 (NO in S107), issues only the first command (S109).
[0031] When the first command is accepted from the command processing section 130, the input / output section 120 accesses the storage section 110 and performs input / output of information therebetween, and acquires the requested data requested by the first command from the storage section 110. Then, in the case where the second command is added to the first command, the diagnostic log information requested by the second command is acquired at the same time as the requested data is acquired from the storage section 110 (diagnostic log information acquisition step), and is supplied to the command processing section 130.
[0032] The requested data acquired from the storage section 110 and supplied to the command processing section 130 is transmitted to the server 300 by the external communication request processing section 140. On the other hand, the diagnostic log information acquired from the storage section 110 and supplied to the command processing section 130 is stored in the log acquisition section 150, and is used for the determination of acquisition of the diagnostic log information in the next time.
[0033] The above example is an example of a case where the server 300 has a communication request to the vehicle control device 100, but communication from the vehicle control device 100 to the server 300 can also be similarly considered.
[0034] According to the vehicle control device 100 of the present embodiment, by the above configuration and operation flow, the acquisition of the diagnosis log information of the storage section 110 composed of a nonvolatile memory is judged as an opportunity of a communication request from outside the vehicle to the server 300, and thus the diagnosis log information is acquired at an irregular timing, the degradation state of the storage section 110 is diagnosed using the acquired diagnosis log information, and the lifetime can be grasped.
[0035] In the design, it is conceivable to write data generated in the vehicle into the nonvolatile memory or to read out data from the nonvolatile memory at regular or irregular timings. However, in the increasing communication with the outside of the vehicle, it is a post-design access, and it is difficult to conceive of irregularity and data amount at the design stage. In the vehicle control device 100 of the present embodiment, the diagnosis log information of the storage section 500 is acquired as an opportunity of a communication request from outside the vehicle to the server 300, and thus diagnosis can be performed irregularly, and diagnosis that conforms to the actual situation can be performed.
[0036] Under each operation (writing, reading out, and deleting), the nonvolatile memory deteriorates, and thus it is necessary to issue a log acquisition command as an opportunity of a communication request from outside the vehicle after the design of the vehicle, rather than excessively issuing the log acquisition command. According to the vehicle control device 100 of the present embodiment, the issuance of an excessive log acquisition command (second command) can be suppressed.
[0037] The vehicle control device 100 of the present embodiment acquires diagnosis log information (including diagnosis test results) of the storage section 110 composed of a nonvolatile memory in order to perform lifetime monitoring of the storage section 110. At this time, rather than acquiring at a frequency or an opportunity judged from the observed access situation as in the past, the acquisition of the diagnosis log information is judged as an opportunity of a communication with the server 300.
[0038] Thus, the processing load of the vehicle control device 100 as an in-vehicle electronic control device is reduced, the data communication amount and the type of command (sequential writing, random writing, sequential reading, random reading, and the like) with the server 300 are grasped, the diagnosis log information of the nonvolatile memory in the actual environment is acquired, and the lifetime of the nonvolatile memory can be grasped.
[0039] In the related art, the access status (amount of data) to the nonvolatile memory is always monitored to determine the diagnosis frequency. In an information device such as a server, in addition to abundant computing resources, memory utilization is a priority, but in a vehicle control device (ECU) like the present embodiment, vehicle control is the top priority, and it is necessary to prevent resources for vehicle control from being occupied by memory diagnosis.
[0040] In addition, in order to grasp the life of the nonvolatile memory, a Read operation is required to read out the diagnosis log information and self-test results from the nonvolatile memory. However, there is a problem that the Read operation causes the deterioration of the nonvolatile memory to be accelerated, and the access efficiency is reduced due to competition between the Read operation and the Write operation (log writing of vehicle data, etc.) that should be prioritized in the in-vehicle memory. In order to effectively diagnose the nonvolatile memory, the number of issuance of the diagnosis command (Read) and the competition between the Write operation and the Read operation are suppressed, that is, the number and timing of command issuance become important.
[0041] The vehicle control device 100 according to the present embodiment, takes the opportunity of the off-vehicle communication request from the server 300, appends the second command to the first command, and acquires the diagnosis log information based on the second command together with the request data based on the first command. The timing at which the off-vehicle communication request is processed is a timing at which there is a gap in which writing of vehicle information or sensor information is not performed. That is, the bus within the ECU is occupied when the diagnosis log information is acquired from the storage section 110, but by appending the second command to the first command and issuing it, the timing of the occupation can be made to coincide with the timing of the communication processing with the server 300, and can be staggered from the timing at which the in-vehicle communication request is processed.
[0042] Thus, the vehicle control, which is a priority for the vehicle control device, and the recording (Write operation) of in-vehicle data to the storage section 110 are not hindered, the bus of the ECU can be used, and the diagnosis log information can be efficiently read at a timing suitable for diagnosis of the storage section 110. Therefore, efficient memory diagnosis that suppresses reduction in access efficiency to the storage section 110 can be performed, and the long life and high reliability of the storage section 110 can be balanced.
[0043] In addition, according to the vehicle control device 100 of the present embodiment, the diagnosis log information can be acquired at an irregular timing, and monitoring does not need to be performed all the time as in the past, so consumption of computing resources of the electronic control device (CPU, SoC, microcomputer, etc.) can be prevented, and reduction in processing load of the in-vehicle electronic control device can be achieved.
[0044] [Second Embodiment] The second embodiment of the present application will be described below. In the present embodiment, a diagnostic section 160 that diagnoses the deterioration state of the storage section 110 constituted by a nonvolatile memory is added to the vehicle control device 100.
[0045] Figure 4 is a diagram showing a configuration example of an information communication system of the vehicle control device to which the present embodiment is applied. In the present embodiment, the same symbols are given to the same configuration elements as those of the above-described first embodiment, and detailed description thereof is omitted.
[0046] The diagnostic section 160 diagnoses the deterioration state of the storage section 110 on the basis of the diagnostic log information of the storage section 110 acquired by the log acquisition section 150 (diagnosis step). The diagnostic section 160 diagnoses the deterioration state of the storage section 110 in consideration of the number of errors and the temperature information together with the total written data amount and the total read data amount of the storage section 110. The log acquisition section 150 can make a judgment on whether to acquire the diagnostic log information of the storage section 110 on the basis of the diagnosis result of the diagnostic section 160.
[0047] Figure 5 is a diagram showing an example of the operation flow of the diagnostic section of the vehicle control device of the present embodiment. The diagnostic section 160 monitors the life deterioration of the storage section 110 on the basis of the diagnostic log information acquired by the log acquisition section 150, and adjusts the issuance frequency of the second command on the basis of the life deterioration. The diagnostic section 160 acquires the diagnostic log information from the storage section 110 on the basis of the second command (S211). Then, on the basis of the acquired diagnostic log information, it is judged whether a failure has occurred in the storage section 110 or whether a refresh operation of the storage section 110 is required (S212).
[0048] In the case where a failure has occurred in the storage section 110 or a refresh operation of the storage section 110 is required, the issuance frequency of the second command is increased (S213). On the other hand, in the case where no failure has occurred in the storage section 110 and no refresh operation is required, the issuance frequency of the second command is decreased (S214).
[0049] Figure 6 is a graph showing the relationship between the information acquired by the log acquisition section of the vehicle control device of the second embodiment of the present application and the number of acquisitions. Figure 6 (a) of shows the relationship between the number of acquisitions of the diagnostic log information and the cumulative number of errors, Figure 6 (b) of shows the relationship between the number of acquisitions of the diagnostic log information and the total written data amount, Figure 6 (c) of shows the relationship between the number of acquisitions of the diagnostic log information and the number of power-on times, Figure 6 (d) of shows the relationship between the number of acquisitions of the diagnostic log information and the temperature information.
[0050] The diagnosis section 160 diagnoses that a failure is likely to have occurred in the storage section 110, for example, in a case where the total amount of access data to the storage section 110 is small and the number of errors is increasing, and transmits an instruction to increase the issuance frequency of the second command to the log acquisition section 150.
[0051] In addition, the diagnosis section 160 diagnoses that the storage section 110 is deteriorating and that a refresh operation (movement of data, etc.) of the storage section 110 is required, in a case where the total amount of access data to the storage section 110 is large and the temperature of the storage section 110 also continues to be high, and transmits an instruction to increase the issuance frequency of the second command to the log acquisition section 150. The log acquisition section 150 increases the frequency of issuance of the second command added to the first command, in a case where the instruction to increase the issuance frequency of the second command is accepted from the diagnosis section 160.
[0052] In addition, the diagnosis section 160 judges that the period during which the power is not turned on is becoming long, in a case where the number of times of turning on the power of the vehicle control device 100 is not increasing, and transmits an instruction to increase the issuance frequency of the second command to the log acquisition section 150. The log acquisition section 150 increases the frequency of issuance of the second command added to the first command, in a case where the instruction to increase the issuance frequency of the second command is accepted from the diagnosis section 160.
[0053] According to the vehicle control device 100 of the present embodiment, the log acquisition section 150 can use the deterioration information from the diagnosis section 160 to make a judgment of whether or not it is required to acquire the diagnosis log information. Therefore, it is possible to increase or decrease the timing of diagnosis of the storage section 110 in accordance with the deterioration state of the storage section 110. Therefore, it is possible to appropriately control the frequency of access to the storage section 110, and it is possible to balance the long life and high reliability of the storage section 110.
[0054] [Third Embodiment] A third embodiment of the present application will be described below. In the present embodiment, it is characterized that the log acquisition section 150 is provided with a configuration to acquire the timing information.
[0055] Figure 7 is a diagram showing a configuration example of an information communication system of a vehicle control device to which the present embodiment is applied. In the present embodiment, the same reference numerals are given to the same configuration elements as those of the above-described embodiments, and detailed description thereof is omitted.
[0056] The log acquisition section 150 has a configuration to acquire the timing information. The log acquisition section 150 calculates the elapsed time from the issuance of the second command last time by acquiring the time information. Therefore, it is possible to increase the element of the addition judgment of the second command, and it is possible to add the second command even by the timing interval.
[0057] Figure 8is a view showing an example of an operation flow of the log acquisition section of the vehicle control device of the embodiment. The log acquisition section 150 acquires the information of the deterioration diagnosis result of the storage section 110 from the diagnosis section 160 when it receives the notification of the external communication request from the external communication request processing section 140 (S221). Then, it calculates the elapsed time from the issuance of the second command last time using the time information (S223). Then, it makes a judgment whether or not the acquisition of the diagnosis log information is needed based on the deterioration diagnosis result of the storage section 110 and the elapsed time by the diagnosis section 160 (S224).
[0058] The log acquisition section 150 can judge that the acquisition of the diagnosis log information is needed in the case where the elapsed time from the last log acquisition judgment processing is equal to or more than the prescribed time, and issues the second command. Thus, even in the case where the communication with the outside cannot be performed due to the communication failure or inside the tunnel, for example, the second command can be issued, and the diagnosis log information can be acquired. In addition, in the case where the notification of the external communication request is received from the server 300 at an interval shorter than the prescribed time, it can be judged that the acquisition of the diagnosis log information is not needed, and the access frequency to the storage section 110 can be suppressed, and the long life can be achieved.
[0059] The log acquisition section 150 can adjust the diagnosis time, that is, the issuance time of the second command, based on the time information. The log acquisition section 150 can issue the second command at a low frequency in the case where there is a margin until the life of the storage section 110, and issue the second command at a high frequency in the case where the life of the storage section 110 is close, and can diagnose the deterioration state of the storage section 110.
[0060] Figure 9 is a view showing an example of the diagnosis time in the diagnosis section of the vehicle control device of the embodiment. Figure 9 The horizontal axis of the graph shown is the number of rewriting times (P / E cycles) of the storage section 110, and the vertical axis is the data retention time of the storage section 110. As shown in the graph of Figure 9 As shown in the graph of, it is known that the data retention of the storage section 110 decreases as the life (upper limit of the specification) of the storage section 110 is approached. Thus, by increasing the frequency of the diagnosis time as the life is approached, the deterioration state of the storage section 110 can be diagnosed correctly.
[0061] [4th Embodiment] Next, the 4th embodiment of the present application will be described. In the present embodiment, it is characterized that the configuration is provided in which the command history of the first command is used for the deterioration diagnosis of the storage section 110. In the present embodiment, the same symbols are given to the same configuration elements as those of the above-described respective embodiments, and the detailed description thereof is omitted.
[0062] The diagnostic unit 160 is configured to retrieve the command history of the first command. The command history can be read from the command processing unit 130 or from the storage unit 110. The command history contains information about the type and date / time of the first command issued in the past.
[0063] The diagnostic unit 160 performs a weighted calculation to represent the degree of degradation impact corresponding to the type of the first command. For example, if the first command of a type with a high degree of degradation impact occurs multiple times, the diagnosis is that the degradation of the storage unit 110 has intensified.
[0064] The diagnostic unit 160 outputs the degradation impact level to the log acquisition unit 150. The log acquisition unit 150 determines whether it needs to acquire diagnostic log information from the storage unit 110 based on the degradation impact level and command history. If the accumulated degradation impact level exceeds a threshold, the log acquisition unit 150 determines that it needs to acquire diagnostic log information from the storage unit 110 and issues a second command.
[0065] Figure 10 This diagram illustrates an example of a diagnostic method in the diagnostic section of the vehicle control device according to this embodiment. Figure 10 In the example shown, there are three types of commands: delete, write, and read. The weights representing the degradation impact of each command are set as follows: delete = 3, write = 2, and read = 1. The log acquisition unit 150 issues a second command when the accumulated degradation impact exceeds the threshold of 5.
[0066] According to the vehicle control device 100 of this embodiment, the log acquisition unit 150 determines whether to acquire diagnostic log information of the storage unit 110 based on the command history and the degree of degradation. Therefore, it is possible to perform diagnostics on the storage unit 110 corresponding to the degree of degradation.
[0067] [Fifth Implementation] Figure 11 This is a diagram illustrating an example of the configuration of an information communication system using a vehicle control device according to this embodiment. In the above embodiments, the case of a single storage unit 110 was described as an example, but the vehicle control device 100 may also have multiple storage units 110 and 111. Even when multiple storage units 110 and 111 are present, log acquisition of each storage unit 110 and 111 can be performed using the same components as in the above embodiments, and deterioration information of each storage unit 110 and 111 can be obtained. In this embodiment, with the above configuration, even when multiple storage units 110 and 111 are present, the configuration for obtaining deterioration information can be achieved without changing or adding anything.
[0068] [Sixth Implementation] Figure 12 is a diagram showing a configuration example of an information communication system to which a vehicle control device of the present embodiment is applied. In the case where a plurality of electronic control devices (SoC) are provided in the vehicle control device (ECU) 100, and the storage sections 110, 112 are connected to each of the electronic control devices, the vehicle exterior communication request processing section 140 and the log acquisition section 150, and the diagnosis section 160 are provided in one or both of the plurality of electronic control devices.
[0069] In the present embodiment, by the above configuration, the deterioration information of the storage sections 110, 112 can be acquired by either one, and thus the effects shown in the first to third embodiments can be achieved without adding resources.
[0070] [Seventh Embodiment] Figure 13 is a diagram showing a configuration example of an information communication system to which a vehicle control device of the present embodiment is applied. In the case where a plurality of electronic control devices (SoC) are provided in the vehicle control device (ECU) 100, and the storage sections 110, 112 are connected to each of the electronic control devices, the vehicle exterior communication request processing section 140 and the log acquisition section 150, and the diagnosis section 160 are provided in one or both of the plurality of electronic control devices.
[0071] The embodiments of the present application have been described in detail, but the present application is not limited to the configurations of the above-described embodiments, and various design changes can be made within the scope of the gist of the present application described in the claims. For example, the above-described embodiments have been described in detail in order to easily understand the present application, and are not necessarily limited to all the configurations described. Furthermore, a part of the configuration of some of the embodiments can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of some of the embodiments. Furthermore, a part of the configuration of each of the embodiments can be subjected to addition, deletion, or replacement of another configuration. Explanation of Symbols
[0072] 100… vehicle control device, 200… communication section (communication device), 300… server / PC / cloud, 110, 111, 112… storage section, 120, 121… input / output section, 130, 131… command processing section, 140… vehicle exterior communication request processing section, 150… log acquisition section, 160… diagnosis section.
Claims
1. A vehicle control device connected to a communication device that communicates with an external device of a vehicle, the vehicle control device characterized by having: a storage section including a nonvolatile memory; a command processing section that issues a command to the storage section; an input / output section that performs input and output of information between the storage section in accordance with the command issued by the command processing section; an external communication request processing section that performs processing of an external communication request with the external device; and a log acquisition section that acquires diagnostic log information output from the storage section through the input / output section, the log acquisition section performs a necessity / non-necessity determination of whether or not to acquire diagnostic log information of the storage section as a trigger of the external communication request with the external device, the command processing section appends a second command to acquire diagnostic log information of the storage section to a first command that performs input and output of information corresponding to the external communication request with the external device and issues the first command in a case where it is determined by the log acquisition section that diagnostic log information of the storage section is to be acquired.
2. The vehicle control device according to claim 1, characterized by having a diagnosis section that diagnoses a state of deterioration of the storage section in accordance with diagnostic log information of the storage section acquired by the log acquisition section.
3. The vehicle control device according to claim 1, characterized in that the log acquisition section performs a necessity / non-necessity determination of whether or not to acquire diagnostic log information of the storage section in accordance with at least one of a number of communications with the external device and a kind of the command.
4. The vehicle control device according to claim 2, characterized in that the diagnosis section performs a determination of whether or not the storage section has failed in accordance with a total access data amount to the storage section and a number of errors of the storage section, the log acquisition section increases a frequency of appending and issuing the second command to the first command in a case where it is determined that the storage section has failed.
5. The vehicle control device according to claim 2, characterized in that the diagnosis section performs a determination of whether or not the storage section has deteriorated in accordance with a total access data amount to the storage section and a temperature of the storage section, the log acquisition section increases a frequency of appending and issuing the second command to the first command in a case where it is determined that the storage section has deteriorated.
6. The vehicle control device according to claim 1, characterized in that the log acquisition section performs a determination of whether or not to acquire diagnostic log information of the storage section in accordance with a deterioration influence degree corresponding to a kind of the command and a history of the command.
7. The vehicle control device according to claim 2, characterized in that the log acquisition section performs a determination of whether or not to acquire diagnostic log information of the storage section in accordance with a diagnosis result of the diagnosis section.
8. An information communication system having a server as an external device of a vehicle and a vehicle control device connected to a communication device that communicates with the server, the information communication system characterized in that the vehicle control device has: a storage section including a nonvolatile memory; a command processing section which issues a command to the storage section; an input / output section which performs input / output of information between the storage section in accordance with the command issued by the command processing section; an external-communication-request processing section which performs processing of an external-communication request with the server; and a log acquisition section which acquires diagnostic log information of the storage section as a trigger of the external-communication request with the server, the log acquisition section performs a necessity / non-necessity determination of whether or not the diagnostic log information of the storage section needs to be acquired as a trigger of the external-communication request with the external device, the command processing section appends a second command to acquire the diagnostic log information of the storage section to a first command to perform input / output of information corresponding to the external-communication request with the external device and issues the first command in a case where it is determined by the log acquisition section that the diagnostic log information of the storage section needs to be acquired.
9. A deterioration diagnosis method of a nonvolatile memory which is a deterioration diagnosis method of a nonvolatile memory provided in a vehicle control device connected to a communication device which communicates with an external device, the deterioration diagnosis method of the nonvolatile memory is characterized by comprising: an acquisition determination step which performs a determination of whether or not diagnostic log information of a storage section constituted by the nonvolatile memory needs to be acquired as a trigger of an external-communication request with the external device; a diagnostic log information acquisition step which acquires the diagnostic log information of the storage section in a case where it is determined by the acquisition determination step that the diagnostic log information needs to be acquired; and a diagnosis step which diagnoses a deterioration state of the storage section on the basis of the diagnostic log information acquired by the diagnostic log information acquisition step.
Citation Information
Patent Citations
Memory diagnosis device and memory diagnosis method
WO2020161981A1