Electronic control device and control method for electronic control device

By using a ROM with a compression control program area and RAM for pre-compressed programs, the electronic control device optimizes memory usage, reducing costs and development time while maintaining functionality.

JP2025016143APending Publication Date: 2025-01-31ASTEMO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023119220
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2025-01-31

AI Technical Summary

Technical Problem

Existing electronic control devices face challenges with enlarged ROM assets due to multifunctionality, leading to increased costs and development periods, and existing solutions like optimization or replacement do not adequately address these issues.

Method used

Implementing a ROM with a compression control program area and a RAM area for deploying pre-compressed programs, where the CPU determines the necessity of using these programs based on input information, and executing them after decompression in RAM.

Benefits of technology

This approach reduces ROM assets while minimizing cost and development time, allowing efficient use of memory resources and reducing overall development costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025016143000001_ABST
    Figure 2025016143000001_ABST
Patent Text Reader

Abstract

To provide an electronic control device and a control method therefor that suppress increases in costs and development period while suppressing excess ROM assets.SOLUTION: An engine control unit 9, which is a control device, includes: a ROM 202 having a compression control program area for storing a program subjected to compression processing in advance; a RAM 203 having an expansion RAM area for decompressing the program subjected to compression processing in advance; and a CPU 201 for taking in input information related to a vehicle state or operation timing and determining whether or not to use the program subjected to compression processing in advance based on the input information. When determining that it is necessary to use the program subjected to compression processing in advance, the CPU reads out the program subjected to compression processing in advance from the compression control program area, decompresses it into the expansion RAM area, and executes the decompressed program subjected to compression processing in advance.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a configuration of an electronic control device and a control method thereof, and in particular to a technique that is effective when applied to a multi-functional and highly functional electronic control device. [Background technology]

[0002] In recent years, automotive control has shifted from being hardware-centric to being software-centric, and with the spread of autonomous driving and advanced driver assistance systems (AD / ADAS), the importance of software installed in on-board ECUs (Electronic Control Units) is increasing. With software at the center of control, new value that was not previously available has been created, such as the ability to add functions after sales, but the increasing number of functions and sophistication has led to the expansion of programs in electronic control units.

[0003] In electronic control devices, the programs that are executed by the CPU (Central Processing Unit) inside the microcomputer are stored in ROM (Read Only Memory). However, as the programs become larger, improvements to the electronic control device, etc., may exceed the limited ROM resources.

[0004] Background of the present technical field includes, for example, a technology such as Patent Document 1. Patent Document 1 discloses a "compression program that enables assembly equipment to start up quickly with a small memory capacity in the assembly equipment." [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2005-228272 A Summary of the Invention [Problem to be solved by the invention]

[0006] Incidentally, possible countermeasures to the above-mentioned excess of ROM resources include reviewing and optimizing unnecessary controls, or replacing the microcontroller with one that has larger ROM resources.

[0007] However, reviewing and optimizing unnecessary controls can have a negative impact on the overall control system, and can result in enormous costs and development time.

[0008] Furthermore, replacing the microcomputer requires changing the electronic control device, which can also result in huge costs and development time.

[0009] In the above Patent Document 1, the above-mentioned problems are not sufficiently considered, and there is room for improvement.

[0010] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to provide an electronic control device and a control method thereof that can suppress an increase in cost and development time while suppressing an excess of ROM resources. [Means for solving the problem]

[0011] In order to solve the above problems, the present invention comprises a ROM having a compression control program area for storing a pre-compressed program, a RAM having an expansion RAM area for decompressing the pre-compressed program, and a CPU that takes in input information related to a vehicle state or operation timing and determines whether or not use of the pre-compressed program is required based on the input information, and when the CPU determines that use of the pre-compressed program is required, it reads out the pre-compressed program from the compression control program area, decompresses it into the expansion RAM area, and executes the decompressed program.

[0012] The present invention is also characterized by including the steps of: (a) acquiring information relating to the state of a vehicle or operation timing; (b) determining whether or not to use a pre-compressed program based on the information acquired in step (a); (c) decompressing the pre-compressed program if it is determined in step (b) that use of the pre-compressed program is necessary; and (d) executing the program decompressed in step (c). Effect of the Invention

[0013] According to the present invention, it is possible to realize an electronic control device and a control method thereof that can suppress an excess of ROM resources while suppressing increases in costs and development time.

[0014] This contributes to reducing the cost and development time of electronic control devices.

[0015] Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]

[0016] [Figure 1] 1 is a diagram showing a schematic configuration of a spark ignition internal combustion engine and a control device (ECU) according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing an internal configuration of an ECU 9 in FIG. [Diagram 3] FIG. 3 is a diagram showing allocation of ROM and RAM in the microcomputer 210 of FIG. [Figure 4] 4 is a flowchart showing a control method of the electronic control device according to the first embodiment of the present invention. [Diagram 5] 5 is a flowchart showing a processing procedure of decompression control according to the first embodiment of the present invention. [Figure 6] 10 is a flowchart showing a control method of an electronic control device according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the drawings, the same components are designated by the same reference numerals, and detailed description of overlapping parts will be omitted. EXAMPLES

[0018] First Embodiment An electronic control device and a control method thereof according to a first embodiment of the present invention will be described with reference to FIGS.

[0019] Fig. 1 is a diagram showing a schematic configuration of a spark ignition internal combustion engine and a control device (ECU) of this embodiment. Fig. 2 is a diagram showing an internal configuration of the ECU 9 of Fig. 1. Fig. 3 is a diagram showing allocation of ROM and RAM in the microcomputer 210 of Fig. 2. Fig. 4 is a flowchart showing a control method of the electronic control device of this embodiment. Fig. 5 is a flowchart showing the processing procedure of the defrosting control of this embodiment.

[0020] In the following, an embodiment of the present invention will be described using a direct-injection spark-ignition internal combustion engine. However, the present invention can also be applied to a port-injection spark-ignition internal combustion engine or a dual-injection spark-ignition internal combustion engine equipped with both direct-cylinder injection and port injection.

[0021] As shown in FIG. 1, in the spark ignition internal combustion engine of this embodiment, an engine 1 is provided with a piston 2, an intake valve 3, and an exhaust valve 4.

[0022] Intake air passes through an air flow meter (AFM) 18 and enters a throttle valve 17, and is supplied to a combustion chamber 19 of the engine 1 through a collector 14, which is a branching point, an intake pipe 10, and an intake valve 3. Fuel is injected into the combustion chamber 19 of the engine 1 from a fuel injector 5, and is ignited by an ignition coil 7 and a spark plug 6.

[0023] The exhaust gas after combustion is discharged through the exhaust valve 4 into an exhaust pipe 11. The exhaust pipe 11 is equipped with a three-way catalyst 12 for purifying the exhaust gas.

[0024] An engine control unit (ECU) 9, which is a control device, receives as inputs a signal from a crank angle sensor 15 read from a signal plate 16, an air volume signal from an AFM 18, a signal from an air-fuel ratio sensor 13 that detects the air-fuel ratio in the exhaust gas, an accelerator position signal from an accelerator position sensor 20, a signal from a knock sensor 8, etc.

[0025] The engine control unit 9 calculates the torque required for the engine 1 from the signal of the accelerator opening sensor 20, judges the idling state, calculates the amount of intake air required for the engine 1, and outputs an opening signal corresponding to the amount of intake air to the throttle valve 17. In addition, a fuel injection signal is output to the fuel injection valve 5, and an ignition signal is output to the spark plug 6.

[0026] A knock sensor 8 attached to the engine 1 detects abnormal noise (knocking) that occurs when abnormal combustion occurs in the engine 1, and performs feedback control of the ignition signal.

[0027] The engine control unit (ECU) 9 is a type of electronic control unit (ECU).

[0028] FIG. 2 shows the internal configuration of the engine control unit 9 shown in FIG.

[0029] As shown in FIG. 2, the engine control unit 9 has an input / output interface (I / F) 205 connected to sensors 211 and actuators 212, an external communication interface (I / F) 206 connected to an external communication bus 215 and transmitting / receiving signals to / from external devices 213, 214, a RAM (Random Access Memory) 203 which is a volatile memory for storing temporary information, a ROM (Read Only Memory) 202 which is a non-volatile memory for storing control programs and various control settings, an internal non-volatile memory 204 which stores control learning values ​​and fault codes, an internal communication interface (I / F) 207 connected to the external non-volatile memory 209, and a CPU (Central Processing Unit) 201 which controls them all together. These elements are configured by a microcomputer 210 which is connected to each other via a bus 208.

[0030] An example of the internal non-volatile memory 204 and the external non-volatile memory 209 is an EEPROM (Electrically Erasable and Programmable Read Only Memory).

[0031] A plurality of external devices 213 and 214 are connected to an external communication bus 215 and perform predetermined communication with the engine control unit 9 via the external communication I / F 206 .

[0032] The CPU 201 has a function of taking in input information from the sensors 211 via the input / output I / F 205 and executing various controls and diagnoses in accordance with a control program stored in the ROM 202. The input information and the calculation results of the CPU 201 are temporarily stored in the RAM 203 and are used to control the actuators 212 via the input / output I / F 205 in accordance with the calculation results.

[0033] Furthermore, the CPU 201 diagnoses various controls in accordance with a diagnostic program stored in the ROM 202 , and stores fault codes resulting from the diagnosis in the RAM 203 and the external non-volatile memory 209 .

[0034] Furthermore, the CPU 201 calculates learning values ​​for various controls in accordance with a learning program stored in the ROM 202 , and stores the learning values ​​in the RAM 203 and the external non-volatile memory 209 .

[0035] In addition, the CPU 201 stores fault codes and learning values ​​in the internal non-volatile memory 204 as well as in the external non-volatile memory 209 .

[0036] FIG. 3 shows the allocation of the ROM 202 and the RAM 203 in the microcomputer 210 of FIG.

[0037] 3, ROM 202 includes a control program area 301 for storing various control programs, a control constant area 302 for storing various control constants, and a compressed control program area 303 for storing infrequently used programs that have been compressed in advance. RAM 203 also includes a vehicle control RAM area 304 for storing vehicle control data, and a decompression RAM area 305 for decompressing infrequently used programs that have been compressed in advance.

[0038] Here, a "low-frequency (program)" refers to a program that is used less frequently than the average frequency of use of all programs stored in ROM 202, or a program that is used less frequently than a standard frequency of use that is preset based on past data.

[0039] FIG. 4 shows the operation (control method) of the engine control unit 9.

[0040] First, during vehicle control, in step 401, it is determined whether there is a specific vehicle state or timing suitable for that vehicle control. According to the result of the determination, a pre-compressed control program suitable for any state, such as when the vehicle is started (step 402), when the vehicle is stopped (step 403), when the vehicle is reprogrammed (step 404), when the vehicle is in a check (test) mode (step 405), when the water temperature, oil temperature, etc. are equal to or higher than a predetermined value (step 406), or when a leak diagnosis is made for piping after the engine is stopped (step 407), is selected, and the process proceeds to step 409, where a request to decompress the pre-compressed control program suitable for the desired state is issued to the decompression control, and the process proceeds to step 410.

[0041] In step 401 , if no vehicle state is selected, the process proceeds to step 408 , where it is determined that the vehicle state is normal, and the process proceeds to step 421 .

[0042] Next, in step 410, it is determined whether there is a problem with the decompression destination RAM area 305 for expansion. If it is determined that there is a problem (YES), the process proceeds to step 411, where error information is stored and a warning is issued to an indicator mounted on the automobile, such as a MIL (Malfunction Indicator Lamp).

[0043] Next, the process proceeds to step 412 , where a request is issued to release the area being expanded or that has already been expanded from the expansion RAM area 305 as the expansion destination, and the process proceeds to step 421 .

[0044] On the other hand, if it is determined in step 410 that there is no problem (NO), the process proceeds to step 413. In step 413, the time required to complete decompression of the compressed control in question is calculated in advance, and it is determined whether the actual decompression time exceeded that time. If it is determined that the time was exceeded (YES), the process proceeds to step 414, where error information is stored and a notification is issued to warn of the MIL or the like.

[0045] Next, the process proceeds to step 415 , where a request is issued to release the area being expanded or that has already been expanded from the expansion RAM area 305 as the expansion destination, and the process proceeds to step 421 .

[0046] On the other hand, if it is determined in step 413 that the limit has not been exceeded (NO), the process proceeds to step 416, where it is determined whether the data has been successfully decompressed into the RAM area 305 and the decompression is complete. If it is determined that the data has been decompressed (YES), the process proceeds to step 417, where the program decompressed into the RAM area 305 is executed.

[0047] Next, in step 418, after execution of the decompressed program, it is determined whether or not the program is unnecessary in the RAM area 305 for expansion. If it is determined that the program is unnecessary (YES), the process proceeds to step 419, where a request is made to release the expanded area from the RAM area 305 to which the program was decompressed, and the process proceeds to step 421. If it is determined that the program is necessary in step 418 (NO), the process proceeds to step 421.

[0048] On the other hand, if it is determined in step 416 that the defrosting is not complete (NO), the process proceeds to step 420, where the current defrosting time for the determination in step 413 is calculated, and the process proceeds to step 421.

[0049] Normal vehicle control processing is executed in step 421. Note that, depending on the control and purpose, implementation is possible in which this normal processing is not executed.

[0050] The operation (procedure) of decompression control based on the decompression request in step 409 is shown in FIG.

[0051] The defrosting control is assigned to a task or timing separate from that of the vehicle control shown in FIG.

[0052] First, in step 501, it is determined whether decompression is incomplete or complete. If it is determined that it is incomplete (YES), the process proceeds to step 502, where it is determined whether there is a change in priority to suspend decompression when there is a program with a higher priority than the program currently being decompressed. If it is determined that there is no change in priority (YES), the process proceeds to step 503, where the decompression process is executed. After the decompression is completed, or a predetermined number of bytes are executed, or the decompression process is executed for a predetermined time, the process returns to step 501.

[0053] On the other hand, if it is determined in step 502 that there has been a change in the priority order (NO), the process proceeds to step 504, where the decompression is put on hold, and the process ends.

[0054] Also, in step 501, if it is determined that the decompression is complete (NO), the process proceeds to step 505, where the decompression is completed, and the process ends.

[0055] According to the electronic control device and the control method thereof of the present embodiment described above, it is possible to save the ROM area for storing programs by compressing programs that are used less frequently.

[0056] For example, a program required only for processing at vehicle startup is compressed and then expanded in RAM when the vehicle is started. After the vehicle is started, the RAM area in which the program is expanded is used by other programs, etc. This makes it possible to save ROM area for storing programs required only for processing at vehicle startup after the vehicle is started.

[0057] In addition, programs that are only necessary for processing when the vehicle is stopped are compressed and then expanded in RAM when the vehicle is stopped. Before the vehicle is stopped, the RAM area where the programs are scheduled to be expanded is used by other programs, etc. This makes it possible to save ROM area for storing programs that are only necessary for processing when the vehicle is stopped before the vehicle is stopped.

[0058] In addition, the programs that are required only when the vehicle is reprogrammed are compressed and then expanded in RAM when the vehicle is reprogrammed. When the vehicle is not reprogrammed, the RAM area where the programs are to be expanded is used by other programs, etc. This makes it possible to save ROM area for storing programs that are required only when the vehicle is reprogrammed, when the vehicle is not reprogrammed.

[0059] Also, programs that are only required in vehicle check (test) mode are compressed and then expanded in RAM when in vehicle check (test) mode. When in non-vehicle check (test) mode, the RAM area where the programs are to be expanded is used by other programs, etc. This makes it possible to conserve ROM area for storing programs that are only required in vehicle check (test) mode when in non-vehicle check (test) mode.

[0060] Also, diagnostic programs that are only required when the vehicle's water temperature, oil temperature, etc. are above a certain level are compressed and then expanded in RAM during diagnosis. Outside of diagnosis, the RAM area where the program is to be expanded is used by other programs, etc. This makes it possible to conserve ROM area that would otherwise be used to store diagnostic programs that are only required when the vehicle's water temperature, oil temperature, etc. are above a certain level, except during diagnosis. Since temperature rises gradually, the ROM decompression process can be performed in advance.

[0061] In addition, programs that are only necessary for diagnosing leaks in pipes after the engine is stopped are compressed and then expanded in RAM during diagnosis. Outside of diagnosis, the RAM area where the programs are to be expanded is used by other programs, etc. This makes it possible to save ROM area that would otherwise be used to store programs only necessary for diagnosing leaks in pipes after the engine is stopped, outside of diagnosis.

[0062] Furthermore, in the electronic control device of this embodiment, the compressed control program area 303 has a plurality of programs that have been compressed in advance, and the CPU 201 selects a specific program from the plurality of programs that have been compressed in advance in accordance with the vehicle state or operation timing for a predetermined parameter of the vehicle, and decompresses the selected program in the expansion RAM area 305. In other words, the electronic control device has a means for selecting a program to be decompressed in accordance with the predetermined parameter of the vehicle.

[0063] When multiple programs are used, the area of ​​the RAM 203 can be more finely conserved by decompressing and using the programs according to the state of predetermined parameters.

[0064] Furthermore, the CPU 201 executes the decompressed program after confirming the completion of decompression of the program that has been compressed in advance. In other words, the CPU 201 has a means for monitoring whether the decompression process is complete or not. This makes it possible to prevent a program from being executed when the decompression process is incomplete.

[0065] Furthermore, when the decompressed program cannot be executed even after the predicted time for completion of decompression of the previously compressed program has elapsed, the CPU 201 stores error information in the RAM 203. In other words, the CPU 201 has an error determination means. When decompression is not normally completed and the program cannot be executed, the error information is recorded, and an error determination can be made based on the record.

[0066] Furthermore, when the decompressed program cannot be executed, the CPU 201 stores the error as an abnormality in the RAM 203. In other words, the CPU 201 has an error determination means. When the decompression is not completed normally and the program cannot be executed, the error information is recorded, and an error determination can be made based on the record.

[0067] Furthermore, when CPU 201 is simultaneously decompressing multiple programs and determines that the capacity of expansion RAM area 305 is insufficient, it reserves some of the decompression processes according to a preset priority. In other words, it has a priority determination means. When the capacity of expansion RAM area 305 is insufficient, it decompresses a program with a high priority and reserves the decompression process of a program with a low priority, so that the program with the high priority can be decompressed and executed.

[0068] The RAM 203 also has a RAM area 305 for decompression, which is a specific RAM area for decompressing programs that are not used frequently and have been compressed in advance. By having a RAM area dedicated to decompressing specific compressed programs, it is possible to distinguish this from the RAM for normal program execution. If there is a program that will remain resident after being decompressed, a separate decompression location is provided to prevent interference from other decompression programs. EXAMPLES

[0069] Second Embodiment An electronic control device and a control method thereof according to a second embodiment of the present invention will be described with reference to FIG.

[0070] Fig. 6 is a flowchart showing a control method of the electronic control device of this embodiment. In the operation (control method) of this embodiment shown in Fig. 6, step 416 in embodiment 1 (Fig. 4) is replaced with step 601. The other steps are the same as those in embodiment 1 (Fig. 4).

[0071] In step 601, the time required to complete decompression of the target compressed control is calculated in advance, and it is determined whether the predicted time set based on the prediction that decompression will be completed sufficiently has elapsed. If it is determined that the predicted time has elapsed (YES), proceed to step 417. If it is determined that the predicted time has not elapsed (NO), proceed to step 420.

[0072] If a problem occurs in the operation when step 413 and step 601 are combined, step 413, step 414, and step 415 are not implemented. In that case, step 410 is implemented to proceed to step 601 without proceeding to step 413.

[0073] In the electronic control device of the present embodiment described above, the CPU 201 executes the decompressed program after the predicted time for completion of decompression of the previously compressed program has elapsed. In other words, the decompression completion time is included as a parameter. The execution timing of the program can be set arbitrarily without checking the completion of decompression.

[0074] The present invention is not limited to the above-described embodiments, and includes various modified examples. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the configurations described. It is also possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. It is also possible to add, delete, or replace a part of the configuration of each embodiment with another configuration. [Explanation of symbols]

[0075] 1. Engine 2. Piston 3…Intake valve 4...Exhaust valve 5...Fuel injection valve 6…Spark plug 7…Ignition coil 8...Knock sensor 9...Engine control unit (ECU) 10…Intake pipe 11...Exhaust pipe 12...Three-way catalyst 13...Air-fuel ratio sensor 14…Collector 15...Crank angle sensor 16…Signal plate 17...Throttling valve 18...Air flow meter (AFM) 19…Combustion chamber 20...Accelerator opening sensor 201…CPU 202...ROM 203...RAM 204…Internal non-volatile memory 205... Input / Output Interface (I / F) 206…External communication interface (I / F) 207…Internal communication interface (I / F) 208…Bus 209…External non-volatile memory 210...Microcomputer 211...Sensors 212...Actuators 213,214...External device 215…Communication bus 301…Control program area 302…Control constant area 303…Compression control program area 304…Vehicle control RAM area 305...RAM area for expansion.

Claims

1. a ROM having a compression control program area for storing a program that has been compressed in advance; a RAM having a RAM area for decompressing the previously compressed program; a CPU that receives input information related to a vehicle state or an operation timing, and determines whether or not the pre-compressed program needs to be used based on the input information; When the CPU determines that it is necessary to use the pre-compressed program, it reads the pre-compressed program from the compression control program area, decompresses it into the expansion RAM area, and executes the decompressed program.

2. 2. The electronic control device according to claim 1, The electronic control device is characterized in that the pre-compressed program is a program that is used less frequently than the average frequency of use of all programs stored in the ROM or a program that is used less frequently than a reference frequency of use that is preset based on past data.

3. 2. The electronic control device according to claim 1, The electronic control device is characterized in that the vehicle state or operation timing is at least one of when the vehicle is started, when the vehicle is stopped, when the vehicle is reprogrammed, when the vehicle is in a vehicle check (test) mode, when the detected water temperature or oil temperature of the vehicle is equal to or higher than a predetermined temperature, and when a predetermined time has elapsed after the engine is stopped.

4. 2. The electronic control device according to claim 1, the compression control program area includes a plurality of programs that have been compressed in advance; The electronic control device is characterized in that the CPU selects a specific program from the plurality of pre-compressed programs in accordance with a state or operation timing of the vehicle for a specified parameter of the vehicle, and decompresses the selected program into the expansion RAM area.

5. 2. The electronic control device according to claim 1, The electronic control device according to claim 1, wherein the CPU executes the decompressed program after confirming completion of decompression of the previously compressed program or after a predicted time for completion of decompression has elapsed.

6. 2. The electronic control device according to claim 1, The electronic control device according to claim 1, wherein the CPU stores error information in the RAM when the decompressed program cannot be executed even after a predicted time for completion of decompression of the previously compressed program has elapsed.

7. 2. The electronic control device according to claim 1, The electronic control device according to claim 1, wherein the CPU stores an error in the RAM when the decompressed program cannot be executed.

8. 2. The electronic control device according to claim 1, The electronic control device is characterized in that, when the CPU is simultaneously decompressing multiple programs and determines that the capacity of the expansion RAM area is insufficient, it suspends some of the decompression processing in accordance with a preset priority.

9. A method for controlling an electronic control unit, comprising the steps of: (a) obtaining information regarding a state or timing of an operation of a vehicle; (b) determining whether or not to use the program that has been compressed in advance based on the information acquired in the step (a); (c) when it is determined in the step (b) that the use of the pre-compressed program is necessary, decompressing the pre-compressed program; (d) executing the program decompressed in (c) above;

10. A control method for an electronic control device according to claim 9, comprising the steps of: A control method for an electronic control device, characterized in that the pre-compressed program is a program that is used less frequently than the average frequency of use of all programs or a program that is used less frequently than a standard frequency of use that is preset based on past data.

11. A control method for an electronic control device according to claim 9, comprising the steps of: The control method for an electronic control device, characterized in that the vehicle state or operation timing is at least one of when the vehicle is started, when the vehicle is stopped, when the vehicle is reprogrammed, when the vehicle is in a vehicle check (test) mode, when the detected water temperature or oil temperature of the vehicle is equal to or higher than a predetermined temperature, and when a predetermined time has elapsed after the engine is stopped.

12. A control method for an electronic control device according to claim 9, comprising the steps of: A method for controlling an electronic control unit, comprising the steps of: selecting a specific program from a plurality of pre-compressed programs in accordance with a state or operation timing of a vehicle for a predetermined parameter of the vehicle; and decompressing the selected program.

13. A control method for an electronic control device according to claim 9, comprising the steps of: A control method for an electronic control unit, comprising: executing the decompressed program after confirming completion of decompression of the previously compressed program or after a predicted time for completion of decompression has elapsed.

14. A control method for an electronic control device according to claim 9, comprising the steps of: A control method for an electronic control unit, comprising the steps of: storing error information when the decompressed program cannot be executed even after a predicted time for completion of decompression of the previously compressed program has elapsed.

15. A control method for an electronic control device according to claim 9, comprising the steps of: A control method for an electronic control unit, comprising the steps of: storing, when the decompressed program cannot be executed, an abnormality.

Citation Information

Patent Citations

  • Compression program, compression method, decompression program and decompression method

    JP2005228272A