WO2019207905A1 - 車載制御装置 - Google Patents

車載制御装置 Download PDF

Info

Publication number
WO2019207905A1
WO2019207905A1 PCT/JP2019/004956 JP2019004956W WO2019207905A1 WO 2019207905 A1 WO2019207905 A1 WO 2019207905A1 JP 2019004956 W JP2019004956 W JP 2019004956W WO 2019207905 A1 WO2019207905 A1 WO 2019207905A1
Authority
WO
WIPO (PCT)
Prior art keywords
read
current
vehicle
rom
storage device
Prior art date
Application number
PCT/JP2019/004956
Other languages
English (en)
French (fr)
Inventor
啓人 栗原
文博 大澤
Original Assignee
日立オートモティブシステムズ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日立オートモティブシステムズ株式会社 filed Critical 日立オートモティブシステムズ株式会社
Publication of WO2019207905A1 publication Critical patent/WO2019207905A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring

Definitions

  • the present invention relates to an in-vehicle control device that controls equipment mounted on a vehicle.
  • An in-vehicle control unit that controls equipment mounted on a vehicle includes a microcomputer (hereinafter referred to as a microcomputer) that performs control calculations.
  • the microcomputer generally includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.
  • the ROM is a storage device that stores data used by the CPU in control calculations.
  • the ROM may fail regardless of the operating state of the vehicle control device due to short-circuiting of adjacent transistors and wiring due to foreign matters mixed in the semiconductor manufacturing process, and poor transistor deterioration due to long-term use. is there. Examples of ROM failure modes include the following. If any one of these failure modes occurs, the failed ROM cannot correctly hold the data that the CPU uses for control operations: (Failure 1) Data cannot be stored correctly; (Failure 2) Time to write / read data becomes longer.
  • the in-vehicle control device generally has a function of diagnosing whether or not the ROM has failed.
  • Patent Document 1 describes a method for diagnosing a ROM failure.
  • a control computer that prevents the system from entering a serious failure mode by performing a failure diagnosis at all times to detect a failure of a ROM / RAM failure register under control and stopping the assist operation when an abnormality occurs.
  • a machine cycle consisting of a normal control period in which a ROM area is composed of a plurality of cells of a predetermined number of byte data, and a control computer is diagnosed, and a diagnostic period in which a failure of the control computer is diagnosed.”
  • the control means that performs control in (1) and the data of some of the cells are added for each diagnostic period, and the sum of the data of some cells obtained in the previous diagnostic period is used for the current diagnosis.
  • Computation means for comparing the sum of the addition values and the specified value when the data of some of the other cells are added to the period and the addition value of the data for all the cells in the ROM area is obtained. Failure detection is performed on the basis of a comparison between the sum of the addition values obtained by the above and the specified value. Is disclosed (see summary).
  • the amount of data stored in the ROM has increased, and the time required to diagnose the storage area of the ROM has also increased. Therefore, the time required until a failure is detected by diagnosis tends to be longer. If the ROM fails, the vehicle control system can reach a serious failure mode, so it is important how quickly an abnormality in the ROM storage area can be detected.
  • the present invention has been made in view of the above-described problems. By detecting a ROM failure in the microcomputer as early as possible, the vehicle continues to run despite the failure of the ROM. The objective is to reduce the risk of unintended behavior.
  • the in-vehicle control device measures the current supplied to the read-only storage device, and if the current exceeds the determination threshold, the read-only storage device may break down in the future.
  • data can be normally read from and written to a read-only storage device (ROM) at the present time, but in the case where there is a possibility of failure in the future, a sign of the failure is indicated. It can be detected at an early stage.
  • ROM read-only storage device
  • FIG. 2 is a block configuration diagram of a ROM 113.
  • FIG. 10 is a flowchart for explaining a procedure of failure diagnosis for the ROM 113 in the second embodiment.
  • FIG. 1 is a configuration diagram of an in-vehicle control device 100 according to Embodiment 1 of the present invention.
  • the in-vehicle control device 100 is an in-vehicle electronic control unit (ECU) that electronically controls in-vehicle devices (for example, an automatic transmission, an engine, etc.) mounted on the vehicle.
  • the in-vehicle controller 100 includes a main microcomputer (hereinafter referred to as a main microcomputer) 110, a sub microcomputer (hereinafter referred to as a sub microcomputer) 120, a main power supply IC (Integrated Circuit) 130, a sub power supply IC 140, and a current measurement circuit 150.
  • main microcomputer hereinafter referred to as a main microcomputer
  • a sub microcomputer hereinafter referred to as a sub microcomputer
  • main power supply IC Integrated Circuit
  • the main microcomputer 110 is a microcomputer that controls in-vehicle devices mounted on the vehicle.
  • the main microcomputer 110 controls the in-vehicle device by controlling the actuator 230, for example.
  • a message can be displayed via the display device 240.
  • the message may be in any form, such as a message such as a character or an image, or a notification by lighting a lamp.
  • the main microcomputer 110 includes a CPU 111, a RAM 112, and a ROM 113.
  • the CPU 111 is an arithmetic device (arithmetic circuit) that performs a control calculation necessary for controlling the in-vehicle device.
  • the ROM 113 stores a program executed by the CPU 111 (for example, a program in which flowcharts described in FIGS. 2, 3, and 8 described later are mounted).
  • the RAM 112 temporarily stores data used by the CPU 111.
  • the sub-microcomputer 120 is a microcomputer having the same configuration as that of the main microcomputer 110, and the description thereof is omitted.
  • the sub-microcomputer 120 diagnoses whether the ROM 113 is normal according to a request from the main microcomputer 110 and notifies the main microcomputer 110 of the result of the diagnosis.
  • the in-vehicle control device 100 receives power supply from a battery 220 mounted on the vehicle.
  • the main power supply IC (main power supply circuit) 130 steps down or boosts or lowers the power VB received from the battery 220 and supplies the power VB to the main microcomputer 110.
  • the sub power supply IC (sub power supply circuit) 140 supplies the power received from the battery 220 to the sub microcomputer 120 after stepping down or stepping up or down the power.
  • the main power supply IC 130 is internally divided into three power supply circuits so as to individually supply power (VB1, VB2, VB3) to the CPU 111, RAM 112, and ROM 113, respectively. That is, the main power supply IC 130 outputs the first power supply circuit VG1 that outputs the first voltage VB1 to the CPU 111, the second power supply circuit VG2 that outputs the second voltage VB2 to the RAM 112, and the third voltage VB3 to the ROM 113.
  • a third power supply circuit VG3 for outputting is provided. This is to suppress the influence of the drive current supplied to the ROM 113 due to fluctuations in the drive current of the CPU 111 and fluctuations in the drive current of the ROM 113.
  • the first voltage VB1 output from the first power supply circuit VG1 is supplied to the CPU 111 via the power supply wiring (power supply path) L1.
  • the second voltage VB2 output from the second power supply circuit VG2 is supplied to the RAM 112 via the power supply wiring (power supply path) L2.
  • the third voltage VB3 output from the third power supply circuit VG3 is supplied to the ROM 113 via the power supply wiring (power supply path) L3.
  • the current measurement circuit 150 measures the value of the drive current supplied from the main power supply IC 130 to the ROM 113, and outputs the measurement result to the sub-microcomputer 120.
  • the sub-microcomputer 120 diagnoses the ROM 113 by the procedure described later using the measurement result.
  • the driving current here is a reading current supplied to the ROM 113 so that the CPU 111 reads data stored in the ROM 113. Since the drive current increases as the ROM 113 deteriorates, it is possible to predict the possibility that the ROM 113 will fail in the future based on the increment of the drive current.
  • the measurement result may be output to the sub-microcomputer 120 as an analog signal or may be output to the sub-microcomputer 120 as a digital signal.
  • the current measurement circuit 150 is configured to include an analog / digital conversion circuit ADC.
  • the sub-microcomputer 120 is configured to include an analog / digital conversion circuit ADC.
  • the power signal 210 is generated accordingly.
  • the in-vehicle control device 100 starts up / shuts down according to the power signal 210. Accordingly, the main power supply IC 130 and the sub power supply IC 140 supply power to or cut off the microcomputers 110 and 120.
  • the in-vehicle control device 100 determines that there is a possibility that the ROM 113 will fail in the future when the drive current of the ROM 113 becomes greater than a predetermined threshold value from the time of manufacture. Therefore, the in-vehicle control device 100 stores in advance the value of the drive current at the time of manufacturing the ROM 113 and uses this in the diagnosis of the ROM 113.
  • the drive current value at the time of manufacture can be stored in a storage device such as a ROM provided in any microcomputer. Instead of manufacturing the in-vehicle control device 100, a drive current value at the time of manufacturing the main microcomputer 110 may be stored. In the following description, it is assumed that the ROM 113 stores the manufacturing drive current 1131.
  • the measurement result of the drive current measured by the current measurement circuit 150 varies depending on the temperature of the main microcomputer 110. This variation may be caused by temperature characteristics of an element such as a temperature measurement resistor provided in the current measurement circuit 150, or may be caused by temperature characteristics of other circuits such as the temperature characteristics of the main microcomputer 110 itself. Therefore, in the first embodiment, how the drive current value measured by the current measurement circuit 150 varies according to the temperature of the main microcomputer 110 is described in advance as the temperature characteristic data 1132. In the following description, it is assumed that the ROM 113 stores the temperature characteristic data 1132. Specific processing using the temperature characteristic data 1132 will be described later.
  • FIG. 2 is a flowchart for explaining a procedure for determining whether or not there is a possibility of failure of the ROM 113 in the future (failure potential).
  • the procedure for the sub microcomputer 120 to diagnose the ROM 113 included in the main microcomputer 110 will be described, but the same procedure can be used when the main microcomputer 110 diagnoses the ROM included in the sub microcomputer 120.
  • each step of FIG. 2 will be described.
  • the sub-microcomputer 120 reads a drive current value at the time of manufacturing the in-vehicle control device 100.
  • the main microcomputer 110 may hold the same value and notify the read value to the sub-microcomputer 120.
  • the main microcomputer 110 measures the temperature of the main microcomputer 110 using a temperature sensor 160 built in the main microcomputer 110. You may use the temperature sensor (not shown) mounted in the vehicle-mounted control apparatus 100. FIG. Instead of the temperature measurement result, an estimated temperature value using an external temperature state or an operation time of the in-vehicle control device 100 may be used.
  • the main microcomputer 110 refers to the temperature characteristic data 1132 using the temperature of the main microcomputer 110 acquired in step S ⁇ b> 104, thereby acquiring the fluctuation amount of the drive current measurement result corresponding to the temperature of the main microcomputer 110. Even if the measurement result of the drive current exceeds the threshold value, the ROM 113 is not necessarily deteriorated if the excess amount is caused by the temperature characteristics. Therefore, in this step, the variation due to the temperature is grasped in advance based on the temperature characteristic data 1132.
  • Step S104 The main microcomputer 110 notifies the sub-microcomputer 120 of the fluctuation of the drive current measurement result due to the temperature of the main microcomputer 110 acquired from the temperature characteristic data 1132 in step S103.
  • Step S105 The sub-microcomputer 120 acquires the drive current measurement result from the current measurement circuit 150.
  • the sub-microcomputer 120 adjusts the determination threshold according to the fluctuation amount of the drive current measurement result due to the temperature of the main microcomputer 110 acquired in step S104. For example, when the determination threshold value used in step S107 is 1.5 mA and the variation due to temperature is +0.5 mA, the determination threshold value is adjusted to 2.0 mA.
  • the determination threshold value may be stored in the ROM of either the main microcomputer 110 or the sub-microcomputer 120, or may be described in a program that implements this flowchart.
  • the sub-microcomputer 120 determines whether or not the difference between the drive current value acquired in step S105 and the drive current value during manufacture acquired in step S101 exceeds the adjusted determination threshold value (S107). . If not, a diagnosis result indicating that the ROM 113 is normal is output (S108). If exceeded, a diagnosis result indicating that the ROM 113 is not completely broken at the present time but may break down in the future is output (S109). When the current drive current is smaller than the drive current at the time of manufacture, the ROM 113 is regarded as normal.
  • Step S107 Numerical example
  • the current drive current value is increased by 1.5 mA from the time of manufacture, so the ROM 113 may be deteriorated. Can be considered.
  • this increment of 1.5 mA is within the range of the adjusted determination threshold value, in this case, it is determined that there is no possibility of failure.
  • Step S107 Supplement
  • FIG. 3 is a flowchart for explaining a failure diagnosis procedure for the ROM 113.
  • This flowchart is predetermined in a period in which, for example, the in-vehicle control device 100 is activated (that is, electric power is supplied to the in-vehicle control device 100), in addition to the diagnosis about the possibility of a future failure described in FIG. It is implemented periodically at time intervals.
  • the in-vehicle control device 100 that is, electric power is supplied to the in-vehicle control device 100
  • diagnosis about the possibility of a future failure described in FIG. It is implemented periodically at time intervals.
  • a procedure for diagnosing a failure of the ROM 113 by the main microcomputer 110 will be described, but the same procedure can be used for the sub-microcomputer 120.
  • each step of FIG. 3 will be described.
  • FIG. 3 steps S201 to S202
  • the main microcomputer 110 diagnoses whether there is a possibility that the ROM 113 will break down in the future according to the flowchart of FIG. 2 (S201). If it is diagnosed that there is a possibility of failure, the process proceeds to step S203, and if no diagnosis is made, the process skips to step S205 (S202).
  • Step S201 Supplement
  • This step can be performed in the initialization process when the in-vehicle control device 100 is activated, in addition to being performed every predetermined period in the period after the in-vehicle control device 100 is activated. That is, it can also be performed after the vehicle-mounted control device 100 is activated and before the control calculation is started.
  • the main microcomputer 110 displays a warning light on the display device 240 to notify the driver of the abnormality of the in-vehicle control device 100. More specifically, it may be notified that the ROM 113 / main microcomputer 110 may break down in the future. Other appropriate messages may be notified. By displaying the warning, the driver can move the vehicle to a repair shop before a sudden change in vehicle behavior occurs.
  • the main microcomputer 110 increases the priority order of the ROM diagnosis executed in step S205.
  • the priority of ROM diagnosis can be increased by shortening the period of performing step S205 or increasing the size of the storage area to be diagnosed in one diagnosis.
  • the priority may be increased by any other appropriate method.
  • Step S205 The main microcomputer 110 performs diagnosis on the ROM 113.
  • a diagnostic method any method that can detect a data error in the ROM 113, such as a checksum operation or a parity operation, may be used.
  • Steps S206 to S208 The main microcomputer 110 determines whether or not the result of the ROM diagnosis performed in step S205 is normal (S206). If the ROM diagnosis result is normal, normal control is performed (S207). If there is an abnormality, the operation proceeds to fail-safe operation (S208). Examples of fail-safe operation include the following. For example, when the CPU of the control device for an automatic transmission fails, the actuator that realizes the shift control of the automatic transmission does not operate correctly and prevents an unintended shift from occurring. Keep it constant. By shifting to the fail-safe operation, the vehicle system can be prevented from reaching a serious failure mode.
  • FIG. 4 is a timing chart regarding ROM failure possibility evaluation and ROM diagnosis while the vehicle is running.
  • the main microcomputer 110 and the sub-microcomputer 120 perform constant evaluation of ROM failure potential and ROM diagnosis according to the flowcharts of FIGS. This is performed every cycle.
  • the failure possibility diagnosis in FIG. 2 and the failure diagnosis in FIG. 3 do not necessarily have to be performed at the same cycle or at the same timing. For example, the failure possibility diagnosis can be performed with a longer period than the failure diagnosis.
  • FIG. 4 is described based on that assumption.
  • Step S301 The main microcomputer 110 diagnoses the possibility of failure of the ROM 113 according to the flowchart of FIG. If it is determined that there is a possibility of failure, the priority of ROM diagnosis is increased by shortening the execution period of ROM diagnosis, for example (processing corresponding to S204). Further, a warning light is displayed on the display device 240 (processing corresponding to S203).
  • Step S302 The main microcomputer 110 performs ROM diagnosis at a shorter cycle than before step S301.
  • the in-vehicle control device 100 shifts to a fail-safe operation.
  • the in-vehicle control device 100 is an in-vehicle control device (100) that controls a device mounted on a vehicle, and includes an arithmetic device (CPU 111) that performs a control calculation for controlling the device.
  • CPU 111 arithmetic device
  • a first read-only storage device (ROM 113, 114) that stores data used by the device (CPU 111), a current measurement circuit (150, 114) that measures a current supplied to the first read-only storage device (ROM 113, 114) 151), and when the current measured by the current measurement circuit (150, 151) exceeds the first determination threshold value, the computing device (CPU 111) will have the first read-only storage device (ROM 113, 114) in the future.
  • the first read-only storage device (ROM 113, 114) describes a temperature characteristic indicating how the current measurement result by the current measurement circuit (150, 151) varies depending on the temperature of the in-vehicle control device (100).
  • the temperature measurement data (1132) is stored, and the arithmetic unit (CPU 111) refers to the temperature characteristic data (1132) using the temperature of the vehicle-mounted control device (100), so that the current measurement result is controlled in the vehicle.
  • the fluctuation amount that fluctuates in accordance with the temperature of the device (100) is acquired, and the arithmetic unit (CPU 111) determines whether or not there is a possibility of failure after adjusting the first determination threshold value according to the fluctuation amount. . Thereby, even if the measurement result of the current varies according to the temperature characteristics, it is possible to accurately diagnose the possibility of failure of the first read-only storage device (ROM 113, 114).
  • the computing device determines the possibility of failure after power is supplied to the in-vehicle control device (100) and before starting the control computation. Thus, the safety of the first read-only storage device (113, 114) can be confirmed before the control calculation is started, and the control calculation can be performed according to the result.
  • the arithmetic unit (CPU 111) intermittently repeatedly performs failure diagnosis on the partial storage area of the first read-only storage device (113, 114) during the period when the in-vehicle control device (100) is activated,
  • the device (CPU 111) repeatedly and intermittently determines whether or not there is a possibility of failure at a cycle longer than the failure diagnosis. As a result, it is possible to determine the possibility of failure without hindering the execution of the failure diagnosis, and when it is determined that there is a possibility of failure, the failure diagnosis is performed in a shorter cycle to detect the failure at an early stage. it can.
  • the in-vehicle control device (100) further includes a first power supply circuit (VG1) that supplies power to the arithmetic device (CPU 111), and a second power source that supplies power to the first read-only storage devices (113, 114). And a current measurement circuit (150, 151) measures a current output from the second power supply circuit (VG3) to the first read-only storage device (ROM 113, 114). Thereby, it is possible to suppress the fluctuation of the drive current by suppressing the interference between the currents.
  • VG1 first power supply circuit
  • a second power source that supplies power to the first read-only storage devices (113, 114).
  • a current measurement circuit (150, 151) measures a current output from the second power supply circuit (VG3) to the first read-only storage device (ROM 113, 114).
  • the arithmetic unit (CPU 111) shortens the cycle for performing the fault diagnosis while the current measured by the current measurement circuit (150, 151) exceeds the first determination threshold value, compared with the case where the current does not exceed the first determination threshold value. Thereby, when a failure occurs, it can be detected at an early stage.
  • the arithmetic unit (CPU 111) When the current measured by the current measuring circuit (150, 151) exceeds the first determination threshold value, the arithmetic unit (CPU 111) outputs a signal for notifying the driver of the vehicle. As a result, the driver can transfer the vehicle to a repair shop before a sudden change in vehicle behavior occurs.
  • the first read-only storage device (ROM 113, 114) is supplied to the first read-only storage device (ROM 113, 114) at the time of manufacture of the in-vehicle control device (100) or the operation device (CPU 111).
  • the current (1131) is stored, and the arithmetic unit (CPU 111) measures the current measurement circuit (150, 151) more than the read current (1131) stored in the first read-only storage device (ROM 113, 114).
  • the difference between the read current (1131) stored in the first read-only storage device (ROM 113, 114) and the current measured by the current measurement circuit (150, 151) is second.
  • a signal indicating that the first read-only storage device (ROM 113, 114) may break down in the future is output. Forces. Thereby, the influence of the measurement error by the manufacturing variation of a vehicle-mounted control apparatus (100) can be suppressed.
  • the current is supplied for the arithmetic device (CPU 111) to read data stored in the first read-only storage device (ROM 113, 114). That is, by measuring the read current of the first read-only storage device (ROM 113, 114) by the current measurement circuit (150, 151), predicting the possibility of future failure of the ROM according to the increment of the read current. Can do.
  • FIG. 5 is a configuration diagram of the in-vehicle control device 100 according to Embodiment 2 of the present invention.
  • the ROM 113 is divided into a ROM (BL1: BLOCK1) 114 and a ROM (BL2: BLOCK2) 115. Since the ROM is the same as that of the first embodiment except for the difference due to the ROM being divided into two blocks, the difference will be mainly described below.
  • the third power supply circuit VG3 supplies power to the ROM 114 via the power supply wiring (power supply path) L3.
  • the main power supply IC 130 further includes a fourth power supply circuit VG4.
  • the fourth power supply circuit VG4 supplies power to the ROM 115 via the power supply wiring (power supply path) L4.
  • the current measurement circuit 150 measures a drive current supplied from the third power supply circuit VG3 to the ROM 114, and measures a drive current supplied from the fourth power supply circuit VG4 to the ROM 115. Circuit 152.
  • FIG. 6 is a block diagram of the ROM 113.
  • the ROM (BL1) 114 is composed of BLOCK10 to BLOCK1X
  • the ROM (BL2) 115 is composed of BLOCK20 to BLOCK2X.
  • the drive power supply line in BLOCK1 is shared, and the drive power supply line in BLOCK2 is also shared.
  • FIG. 7 is an example of an address map of a storage area that the ROM 113 has.
  • the control program stored in the ROM 114 may not be executed correctly. Therefore, in the second embodiment, the ROM 115 stores an alternative control program to be executed instead of the control program stored in the ROM 114 when there is a possibility that the ROM 114 will break down in the future.
  • BLOCK 10 to BLOCK 1X store programs in which the control processes A to X of the main microcomputer 110 are mounted.
  • BLOCK20 to BLOCK2X store programs in which alternative processes of controls A to X are mounted.
  • FIG. 8 is a flowchart for explaining a failure diagnosis procedure for the ROM 113 according to the second embodiment. This flowchart is periodically executed at predetermined time intervals, for example, as in FIG.
  • a procedure for diagnosing a failure of the ROM 113 by the main microcomputer 110 will be described, but the same procedure can be used for the sub-microcomputer 120.
  • each step of FIG. 8 will be described.
  • Step S401 The main microcomputer 110 diagnoses whether there is a possibility that the ROM 114 will break down in the future according to the flowchart of FIG. 2 (S401). Similarly, it is diagnosed whether there is a possibility that the ROM 115 will break down in the future (S402).
  • the determination threshold value used in the failure possibility diagnosis for the ROM 114 and the determination threshold value used in the failure possibility diagnosis for the ROM 115 may be the same or different. That is, what is necessary is just to determine suitably according to the specification, importance, etc. of ROM114 and ROM115.
  • step S401 If it is determined in step S401 that the ROM 114 is normal, the process proceeds to step S404. If it is diagnosed that there is a possibility of failure, the process proceeds to step S406 (S403). If it is determined in step S402 that the ROM 115 is normal, the process proceeds to step S409, and if it is diagnosed that there is a possibility of failure, the process proceeds to step S405 (S404).
  • the main microcomputer 110 stores a flag indicating that the alternative process stored in the ROM 115 is unusable in a storage device such as the RAM 112, for example.
  • Step S406 The main microcomputer 110 determines whether or not the alternative control program stored in the ROM 115 can be used. If the alternative control process can be used, the process proceeds to step S407. When the alternative control process cannot be used, the process proceeds to step S410. Whether or not the alternative control process can be used can be determined based on the result of step S405.
  • Step S407 If it is diagnosed that the ROM 115 is normal, the process proceeds to step S408, and if it is diagnosed that there is a possibility of failure, the process proceeds to step S410.
  • Step S408 The main microcomputer 110 switches the program to be executed for the control calculation from the control program stored in the ROM 114 to the alternative control program stored in the ROM 115.
  • Steps S409 to S411 When either the control process or the alternative control process is available, the main microcomputer 110 performs a normal control operation (S409). If neither is available, a warning light is displayed on the display device 240 (S410), and a transition to fail-safe operation is made (S411).
  • the in-vehicle control device (100) further includes a second read-only storage device (ROM 115) that stores data used by the arithmetic device (CPU 111).
  • the second read-only storage device (ROM 115) includes: An alternative control program that implements an alternative control calculation executed by the arithmetic device (CPU 111) in place of the control arithmetic is stored, and the arithmetic device (CPU 111) is configured such that the current measured by the current measuring circuit (151) is the third determination threshold value. When the value exceeds the value, the alternative control calculation is executed instead of the control calculation.
  • the first read-only storage device (ROM 114) will break down in the future, the control can be safely performed by the alternative control program.
  • the in-vehicle control device (100) further includes a third power supply circuit (VG4) that supplies power to the second read-only storage device (ROM115), and the current measurement circuit (152) includes the third power supply circuit (VG4). Measures the second current output to the second read-only storage device (ROM 115), and the computing device (CPU 111) has the second current measured by the current measurement circuit (152) exceeding the third determination threshold.
  • the second read-only storage device (ROM 115) outputs a signal indicating that there is a possibility of failure in the future, and the arithmetic unit (CPU 111) outputs the first read-only storage device (ROM 1114) and the second read-only storage device.
  • the present invention is not limited to the above embodiment, and includes various modifications.
  • the above-described embodiment has been described in detail for easy understanding of the present invention, and is not necessarily limited to one having all the configurations described.
  • a part of the configuration of an embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of an embodiment.
  • the alternative control is performed when the ROM 114 is likely to break down in the future.
  • the priority of diagnosis for a ROM that may fail may be increased.
  • the diagnostic priority for a ROM diagnosed as having a possibility of failure in the future may be increased.
  • the current drive current may be compared with the determination threshold.
  • the same effect can be exhibited by embedding a value corresponding to the drive current at the time of manufacture in the determination threshold value. That is, whether the current drive current is compared with the determination threshold, or whether the difference between the drive current during manufacture and the current drive current is compared with the determination threshold depends on how the threshold is configured. However, the substantial processing is the same.
  • On-vehicle controller 110 Main microcomputer 111: CPU 112: RAM 113: ROM 114: ROM (BL1) 115: ROM (BL2) 120: Sub-microcomputer 130: Main power supply IC 140: Sub power supply IC 150: Current measuring circuit 151 1: Current measuring circuit (BL1) 152: Current measurement circuit (BL2) 160: temperature sensor 210: power signal 220: battery 230: actuator 240: display device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mechanical Engineering (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

マイコン内部のROM故障をできる限り早期の段階で検出し、ROMが故障しているにも関わらず車両が走行し続けることにより意図しない挙動が発生するリスクを低減する。そのため、本発明に係る車載制御装置は、読取専用記憶装置に対して供給される電流を測定し、前記電流が判定閾値を超えている場合は、前記読取専用記憶装置が将来において故障する可能性があることを示す信号を出力する。

Description

車載制御装置
 本発明は、車両が搭載する機器を制御する車載制御装置に関する。
 車両が搭載している機器を制御する車載制御装置(Vehicle Control Unit)は、制御演算を実施するマイクロコンピュータ(以下、マイコンと称す)を備える。マイコンは一般的に、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを備える。
 ROMは、CPUが制御演算において使用するデータを記憶する記憶装置である。ROMは、半導体製造工程において混入した異物により隣接するトランジスタや配線がショートすることや、長期使用によるトランジスタ劣化不良などが原因となって、車両制御装置の動作状態に依らずに故障する可能性がある。ROMの故障モードとしては例えば以下のものがある。これらの故障モードが1つでも発生した場合、故障したROMはCPUが制御演算に使用するデータを正しく保持できない:
(故障その1)データを正しく保持できない;
(故障その2)データを書き込む時間・読み出す時間が長くなる。
 ROMが故障すると、ROMに対して書き込むデータとROMから読み出すデータがともに破損する可能性があるので、CPUが実行する制御演算において不具合が生じ、所望の制御演算を実施することが困難となる。したがって車載制御装置は一般に、ROMが故障しているか否かを診断する機能を備える。
 下記特許文献1は、ROMの故障を診断する手法を記載している。同文献は、『制御中のROM/RAM故障レジスタ故障を発見すべく常時故障診断を実施し、異常時にはアシスト動作を停止させることによりシステムが重大な故障モードに至ることを防止する制御用コンピュータを提供する。』ことを課題として、『ROM領域は複数の所定数のバイトデータからなるセルから成り、制御対象に対して制御を行う通常制御期間と制御用コンピュータの故障診断を行う診断用期間から成るマシンサイクルで制御を行う制御手段と、診断用期間毎に複数のセルのうち一部のセルのデータの加算を行い、前回診断用期間に得られた一部のセルのデータの加算値に今回診断用期間に他の一部のセルのデータを加算し、ROM領域の全てのセルについてのデータの加算値が得られたとき、加算値の合計と規定値とを比較する演算手段を備え、演算手段による加算値の合計と規定値との比較に基づいて故障検出を行う。』という技術を開示している(要約参照)。
特開2004-133635号公報
 近年の車両の制御処理の複雑化/高度化により、ROMに記憶するデータ量は増加し、ROMの記憶領域を診断するために要する時間も増加している。したがって診断により故障を検出するまでの所要時間も長くなる傾向にある。ROMが故障すると、車両制御システムが重大な故障モードに至る可能性があるので、いかに早くROM記憶領域の異常を検出できるかが重要である。
 上記特許文献1のROM診断方法は、ROMの全記憶領域に対して常時チェックサム演算を実施し、故障を検出した場合には直ちにフェールセーフ処理を実行することが想定されていると考えられる。しかし、全記憶領域を診断してから再びその領域が診断されるまでの暫くの間は、その故障を検出することができない。
 上記特許文献1のROM診断方法は、ROMを構成するトランジスタが完全に故障し、ROMがデータを正しく保持できず、CPUがROMにアクセスした際に誤ったデータを読み出してしまう場合は、ROMの故障を検知することができる。言い換えると、特許文献1のROM故障診断方法は、ROMが完全に故障していなければ、故障を検出することが困難である。
 本発明は、上記のような課題に鑑みてなされたものであり、マイコン内部のROM故障をできる限り早期の段階で検出し、ROMが故障しているにも関わらず車両が走行し続けることにより意図しない挙動が発生するリスクを低減することを目的とする。
 本発明に係る車載制御装置は、読取専用記憶装置に対して供給される電流を測定し、前記電流が判定閾値を超えている場合は、前記読取専用記憶装置が将来において故障する可能性があることを示す信号を出力する。
 本発明に係る車載制御装置によれば、現時点では読取専用記憶装置(ROM)に対して正常にデータを読み書きできるものの、将来的に故障する可能性があるような場合において、その故障の予兆を早期の段階で検出することができる。
実施形態1に係る車載制御装置100の構成図である。 ROM113が将来的に故障する可能性(故障ポテンシャル)があるか否かを判定する手順を説明するフローチャートである。 ROM113に対する故障診断の手順を説明するフローチャートである。 車両走行中におけるROMの故障可能性評価とROM診断に関するタイミングチャートである。 実施形態2に係る車載制御装置100の構成図である。 ROM113のブロック構成図である。 ROM113が有する記憶領域のアドレスマップの1例である。 実施形態2におけるROM113に対する故障診断の手順を説明するフローチャートである。
<実施の形態1>
 図1は、本発明の実施形態1に係る車載制御装置100の構成図である。車載制御装置100は、車両が搭載する車載機器(例えば、自動変速機、エンジンなど)を電子的に制御する車載電子制御装置(ECU:Electronic Control Unit)である。車載制御装置100は、メインマイクロコンピュータ(以下、メインマイコンと称す)110、サブマイクロコンピュータ(以下、サブマイコンと称す)120、メイン電源IC(Integrated Circuit)130、サブ電源IC140、電流測定回路150を備える。
 メインマイコン110は、車両が搭載する車載機器を制御するマイクロコンピュータである。メインマイコン110は、例えばアクチュエータ230を制御することによって車載機器を制御する。また、表示装置240を介してメッセージを表示することができる。
メッセージは、例えば文字や画像などのメッセージ、ランプ点灯による通知など、任意の形態のものを用いることができる。
 メインマイコン110は、CPU111、RAM112、ROM113を備える。CPU111は、車載機器を制御するために必要な制御演算を実施する演算装置(演算回路)である。ROM113は、CPU111が実行するプログラム(例えば、後述の図2、図3、図8が記述しているフローチャートを実装したプログラム)などを格納する。RAM112は、CPU111が使用するデータを一時的に格納する。
 サブマイコン120は、メインマイコン110と同様の構成を備えるマイクロコンピュータであり、その説明は省略する。サブマイコン120は、メインマイコン110からのリクエストにしたがって、ROM113が正常であるか否かを診断し、その診断の結果をメインマイコン110に対して通知する。
 車載制御装置100は、車両が搭載するバッテリ220から電力の供給を受ける。メイン電源IC(メイン電源回路)130は、バッテリ220から受け取った電力VBを降圧または昇降圧した上で、メインマイコン110に対して供給する。サブ電源IC(サブ電源回路)140も同様に、バッテリ220から受け取った電力を降圧または昇降圧した上で、サブマイコン120に対して供給する。
 メイン電源IC130は、CPU111、RAM112、ROM113のそれぞれに対して個別に電力(VB1、VB2、VB3)を供給するように、内部的に電源回路が3つに切り分けられている。すなわち、メイン電源IC130は、CPU111に対して第1電圧VB1を出力する第1電源回路VG1、RAM112に対して第2電圧VB2を出力する第2電源回路VG2、ROM113に対して第3電圧VB3を出力する第3電源回路VG3を備える。これは、ROM113に対して供給する駆動電流がCPU111の駆動電流の変動やROM113の駆動電流の変動によって受ける影響を抑制するためである。
 第1電源回路VG1が出力する第1電圧VB1は、電源配線(電源パス)L1を介してCPU111へ供給される。第2電源回路VG2が出力する第2電圧VB2は、電源配線(電源パス)L2を介してRAM112へ供給される。第3電源回路VG3が出力する第3電圧VB3は、電源配線(電源パス)L3を介してROM113へ供給される。
 電流測定回路150は、メイン電源IC130からROM113に対して供給される駆動電流の値を測定し、その測定結果をサブマイコン120に対して出力する。サブマイコン120はその測定結果を用いて後述する手順によりROM113を診断する。ここでいう駆動電流とは、ROM113が格納しているデータをCPU111が読み取るためにROM113に対して供給する読取電流である。ROM113が劣化するのにともなって駆動電流は増加するので、駆動電流の増分に基づきROM113が将来故障する可能性を予測することができる。
 電流測定回路150の回路構成として種々のものを採用できることは、当業者には容易に理解されるであろう。測定結果は、アナログ信号としてサブマイコン120へ出力してもよいし、デジタル信号としてサブマイコン120へ出力してもよい。測定結果をデジタル信号として出力する場合、電流測定回路150はアナログ・デジタル変換回路ADCを含むように構成される。一方、測定結果をアナログ信号として出力する場合、サブマイコン120はアナログ・デジタル変換回路ADCを含むように構成される。測定結果をデジタル信号として出力する場合の方が、アナログ信号として出力する場合と比較して、車載制御装置100内で発生する電源などのノイズに対する影響に強い。
 車両の運転者がイグニッションキーをON/OFFすると、これにともなって電源信号210が生成される。車載制御装置100は、電源信号210にしたがってスタートアップ/シャットダウンする。メイン電源IC130とサブ電源IC140は、これにともなって各マイコン110、120に対して電力を供給し、または遮断する。
 本実施形態1において、車載制御装置100は、ROM113の駆動電流が製造時から所定閾値以上大きくなったとき、ROM113が将来的に故障する可能性があると判定する。したがって車載制御装置100は、ROM113の製造時における駆動電流の値をあらかじめ記憶しておき、これをROM113の診断において用いる。製造時の駆動電流値は、例えばいずれかのマイコンが備えるROMなどの記憶装置に格納することができる。
車載制御装置100の製造時に代えて、メインマイコン110の製造時における駆動電流値を格納してもよい。以下の説明においては、ROM113が製造時駆動電流1131を格納しているものとする。
 電流測定回路150が測定する駆動電流の測定結果は、メインマイコン110の温度に応じて変動する。この変動は、電流測定回路150が備える温度測定抵抗などの素子が有する温度特性に起因するものと、メインマイコン110自身の温度特性などその他回路の温度特性に起因するものとがある。そこで本実施形態1においては、電流測定回路150が測定する駆動電流値がメインマイコン110の温度に応じてどのように変動するかを、温度特性データ1132としてあらかじめ記述しておく。以下の説明においては、ROM113が温度特性データ1132を格納しているものとする。温度特性データ1132を用いた具体的処理については後述する。
 図2は、ROM113が将来的に故障する可能性(故障ポテンシャル)があるか否かを判定する手順を説明するフローチャートである。図2においては、メインマイコン110が備えるROM113をサブマイコン120が診断する手順を説明するが、サブマイコン120が備えるROMをメインマイコン110が診断する場合も、同様の手順を用いることができる。以下図2の各ステップについて説明する。
(図2:ステップS101)
 サブマイコン120は、車載制御装置100の製造時における駆動電流値を読み出す。
メインマイコン110が同値を保持しておき、読み出した値をサブマイコン120に対して通知してもよい。
(図2:ステップS102)
 メインマイコン110は、メインマイコン110に内蔵されている温度センサ160を用いて、メインマイコン110の温度を測定する。車載制御装置100に搭載されている温度センサ(図示せず)を使用してもよい。温度測定結果に代えて、外界の温度状態や車載制御装置100の運転時間を用いた推定温度値を使用してもよい。
(図2:ステップS103)
 メインマイコン110は、ステップS104で取得したメインマイコン110の温度を用いて温度特性データ1132を参照することにより、メインマイコン110の温度に対応する駆動電流測定結果の変動分を取得する。駆動電流の測定結果が閾値を超えているとしても、その超過分が温度特性によって生じたのであれば、ROM113は必ずしも劣化しているわけではない。したがって本ステップにおいて、温度特性データ1132に基づき温度に起因する変動分をあらかじめ把握しておくこととした。
(図2:ステップS104)
 メインマイコン110は、ステップS103において温度特性データ1132から取得した、メインマイコン110の温度に起因する駆動電流測定結果の変動分を、サブマイコン120に対して通知する。
(図2:ステップS105)
 サブマイコン120は、電流測定回路150から駆動電流の測定結果を取得する。
(図2:ステップS106)
 サブマイコン120は、ステップS104において取得した、メインマイコン110の温度に起因する駆動電流測定結果の変動分にしたがって、判定閾値を調整する。例えばステップS107において用いる判定閾値が1.5mAであり、温度に起因する変動分が+0.5mAである場合、判定閾値を2.0mAに調整する。判定閾値はメインマイコン110またはサブマイコン120いずれかのROMに格納しておいてもよいし、本フローチャートを実装するプログラム内部に記述しておいてもよい。
(図2:ステップS107~S109)
 サブマイコン120は、ステップS105において取得した駆動電流値と、ステップS101において取得した製造時の駆動電流値との間の差分が、調整後の判定閾値を超えているか否かを判定する(S107)。超えていない場合はROM113が正常である旨の診断結果を出力する(S108)。超えている場合は、ROM113が現時点においては完全には故障していないが将来故障する可能性がある旨の診断結果を出力する(S109)。現在の駆動電流が製造時の駆動電流よりも小さい場合は、ROM113が正常であるとみなす。
(図2:ステップS107:数値例)
 例えば製造時における駆動電流が25mAであり、現在の駆動電流値が26.5mAである場合、現在の駆動電流値は製造時よりも1.5mA増えているので、ROM113が劣化している可能性が考えられる。ただしこの増分1.5mAは調整後の判定閾値の範囲内であるので、この場合は故障可能性なしと判定することになる。
(図2:ステップS107:補足)
 RAM112が格納しているデータは常に変動しているので、RAM112が故障する可能性を判定するためには、RAM112上のデータを書き換えたときの挙動がどのように変動するかなどのように、データ書換をともなう診断が必要である。これに対してROM113が格納しているデータは変動しないので、読取電流が製造時からどの程度増加したかに基づき故障可能性を診断できると考えられる。本ステップはこの特性に着目したものである。
 図3は、ROM113に対する故障診断の手順を説明するフローチャートである。本フローチャートは、図2で説明した将来の故障可能性についての診断とは別に、例えば車載制御装置100が起動している(すなわち車載制御装置100に対して電力が供給されている)期間において所定時間間隔で周期的に実施されるものである。ここではメインマイコン110がROM113の故障を診断する手順を説明するが、サブマイコン120も同様の手順を用いることができる。以下図3の各ステップについて説明する。
(図3:ステップS201~S202)
 メインマイコン110は、図2のフローチャートにしたがって、ROM113が将来故障する可能性があるか否かを診断する(S201)。故障可能性ありと診断した場合はステップS203へ進み、なしと診断した場合はステップS205へスキップする(S202)。
(図3:ステップS201:補足)
 本ステップは、車載制御装置100が起動した以降の期間において所定周期ごとに実施することに加えて、車載制御装置100が起動するときの初期化処理のなかで実施することもできる。すなわち、車載制御装置100が起動してから制御演算を開始するまでの間に実施することもできる。
(図3:ステップS203)
 メインマイコン110は、表示装置240上に警告灯を表示することにより、ドライバーに対して車載制御装置100の異常を知らせる。より具体的に、ROM113/メインマイコン110が将来的に故障する可能性がある旨を通知してもよい。その他適当なメッセージを通知してもよい。警告を表示することにより、唐突な車両挙動変化が発生する前に、ドライバーは車両を修理場に移送することができる。
(図3:ステップS204)
 メインマイコン110は、ステップS205で実施するROM診断の優先順位を高くする。例えばステップS205を実施する周期を短くする、1回の診断において診断する記憶領域のサイズを増やす、などによってROM診断の優先順位を高くすることができる。
その他適当な方法によって優先順位を高くしてもよい。ROM113が故障する可能性があるとき、診断優先度を高くすることにより、故障が発生したとき速やかにこれを検出することができる。
(図3:ステップS205)
 メインマイコン110は、ROM113に対して診断を実施する。診断手法としては、チェックサム演算やパリティ演算などのように、ROM113内のデータ誤りを検出することができる任意の手法を用いればよい。
(図3:ステップS206~S208)
 メインマイコン110は、ステップS205で実施したROM診断の結果が正常か否かを判定する(S206)。ROM診断結果が正常の場合は、通常制御を実施する(S207)。異常の場合は、フェールセーフ動作に移行する(S208)。フェールセーフ動作の例としては以下のようなものがある。たとえば自動変速機の制御装置のCPUが故障した場合、自動変速機の変速制御を実現するアクチュエータが正しく動作せず、意図しない変速が発生することを防止するため、アクチュエータを固定させて変速比を一定に維持させる。フェールセーフ動作に移行することにより、車両システムが重大な故障モードに至ることを防止することができる。
 図4は、車両走行中におけるROMの故障可能性評価とROM診断に関するタイミングチャートである。車載制御装置100が起動している期間(例えば車両が走行しているとき)において、メインマイコン110とサブマイコン120は図2と図3のフローチャートにしたがって、ROMの故障ポテンシャル評価及びROM診断を一定の周期毎に実施する。図2の故障可能性診断と図3の故障診断は、必ずしも同じ周期や同じタイミングで実施する必要はない。例えば故障可能性診断は故障診断よりも長い周期で実施することができる。図4はその前提で記載している。
(図4:ステップS301)
 メインマイコン110は、図2のフローチャートにしたがって、ROM113の故障可能性を診断する。故障可能性があると判定した場合、例えばROM診断の実行周期を短くすることにより、ROM診断の優先順位を高くする(S204に相当する処理)。さらに表示装置240に警告灯を表示する(S203に相当する処理)。
(図4:ステップS302)
 メインマイコン110は、ステップS301以前よりも短い周期でROM診断を実施する。ROM診断において異常があると判断した場合、車載制御装置100はフェールセーフ動作に移行する。
<実施の形態1:まとめ>
 本実施形態1に係る車載制御装置100は、車両が搭載している機器を制御する車載制御装置(100)であって、機器を制御するための制御演算を実施する演算装置(CPU111)、演算装置(CPU111)が使用するデータを記憶する第1読取専用記憶装置(ROM113、114)、第1読取専用記憶装置(ROM113、114)に対して供給される電流を測定する電流測定回路(150、151)、を備え、演算装置(CPU111)は、電流測定回路(150、151)が測定した電流が第1判定閾値を超えている場合は、第1読取専用記憶装置(ROM113、114)が将来において故障する可能性があるか否かを判定するとともに、その判定結果を示す信号を出力する。これにより、第1読取専用記憶装置(ROM113、114)が突然故障して車両が急峻な挙動変動を起こすような不具合を抑制することができる。
 第1読取専用記憶装置(ROM113、114)は、電流測定回路(150、151)による電流の測定結果が車載制御装置(100)の温度に応じてどのように変動するかを表す温度特性を記述した温度特性データ(1132)を格納しており、演算装置(CPU111)は、車載制御装置(100)の温度を用いて温度特性データ(1132)を参照することにより、電流の測定結果が車載制御装置(100)の温度に応じて変動した変動分を取得し、演算装置(CPU111)は、その変動分にしたがって第1判定閾値を調整した上で、故障可能性があるか否かを判定する。これにより、温度特性にしたがって電流の測定結果が変動する場合であっても、第1読取専用記憶装置(ROM113、114)の故障可能性を正確に診断することができる。
 演算装置(CPU111)は、車載制御装置(100)に対して電力が供給され始めてから、制御演算を開始するまでの間に、故障可能性を判定する。これにより、制御演算を開始するまでの間に、第1読取専用記憶装置(113、114)の安全性を確認し、その結果に応じて制御演算を実施することができる。
 演算装置(CPU111)は、車載制御装置(100)が起動している期間において、第1読取専用記憶装置(113、114)の部分記憶領域に対する故障診断を、間欠的に繰り返して実施し、演算装置(CPU111)は、故障診断よりも長い周期で、故障可能性があるか否かの判定を間欠的に繰り返し実施する。これにより、故障診断の実施を阻害することなく故障可能性を判定するとともに、故障可能性があると判定した場合は故障診断をより短い周期で実施して故障を早期の段階で検出することができる。
 車載制御装置(100)はさらに、演算装置(CPU111)に対して電力を供給する第1電源回路(VG1)と、第1読取専用記憶装置(113、114)に対して電力を供給する第2電源回路(VG3)とを備え、電流測定回路(150、151)は、第2電源回路(VG3)が第1読取専用記憶装置(ROM113、114)に対して出力する電流を測定する。これにより、電流同士の干渉を抑制して駆動電流の変動を抑制することができる。
 演算装置(CPU111)は、電流測定回路(150、151)が測定した電流が第1判定閾値を超えている間は、超えていない場合よりも、故障診断を実施する周期を短くする。これにより、故障が発生したとき早期の段階で検出することができる。
 演算装置(CPU111)は、電流測定回路(150、151)が測定した電流が第1判定閾値を超えたときは、車両の運転者に対して警告を通知する信号を出力する。これにより運転者は、唐突な車両挙動変化が発生する前に、車両を修理場に移送することができる。
 第1読取専用記憶装置(ROM113、114)は、車載制御装置(100)の製造時点または演算装置(CPU111)の製造時点において第1読取専用記憶装置(ROM113、114)に対して供給される読取電流(1131)を記憶しており、演算装置(CPU111)は、第1読取専用記憶装置(ROM113、114)が記憶している読取電流(1131)よりも電流測定回路(150、151)が測定した電流のほうが大きく、かつ第1読取専用記憶装置(ROM113、114)が記憶している読取電流(1131)と、電流測定回路(150、151)が測定した電流との間の差分が第2判定閾値を超えたときは、第1読取専用記憶装置(ROM113、114)が将来において故障する可能性があることを示す信号を出力する。これにより、車載制御装置(100)の製造バラツキによる測定誤差の影響を抑制することができる。
 電流は、演算装置(CPU111)が第1読取専用記憶装置(ROM113、114)により記憶されるデータを読み取るために供給される。すなわち、電流測定回路(150、151)によって第1読取専用記憶装置(ROM113、114)の読取電流を測定することにより、その読取電流の増分にしたがって、ROMが将来故障する可能性を予測することができる。
<実施の形態2>
 図5は、本発明の実施形態2に係る車載制御装置100の構成図である。本実施形態2において、ROM113は、ROM(BL1:BLOCK1)114とROM(BL2:BLOCK2)115に分かれて構成されている。ROMが2つのブロックに分かれて構成されていることに起因する差異点以外は実施形態1と同様であるので以下では主に差異点について説明する。
 第3電源回路VG3は、電源配線(電源パス)L3を介してROM114に対して電力を供給する。メイン電源IC130はさらに第4電源回路VG4を備え、第4電源回路VG4は電源配線(電源パス)L4を介してROM115に対して電力を供給する。電流測定回路150は、第3電源回路VG3からROM114に対して供給される駆動電流を測定する電流測定回路151と、第4電源回路VG4からROM115に対して供給される駆動電流を測定する電流測定回路152とを有する。
 図6は、ROM113のブロック構成図である。ROM(BL1)114は、BLOCK10~BLOCK1Xによって構成され、ROM(BL2)115は、BLOCK20~BLOCK2Xによって構成される。BLOCK1内の駆動電源ラインは共有され、BLOCK2内の駆動電源ラインも共有されている。
 図7は、ROM113が有する記憶領域のアドレスマップの1例である。ROM114が将来故障する可能性があるとき、ROM114が格納している制御プログラムを正しく実行できない可能性がある。そこで本実施形態2において、ROM115は、ROM114が将来故障する可能性があるときROM114が格納している制御プログラムに代えて実行すべき代替制御プログラムを格納することとした。BLOCK10~BLOCK1Xは、メインマイコン110の制御処理A~Xを実装したプログラムをそれぞれ格納している。BLOCK20~BLOCK2Xは、制御A~Xの代替処理を実装したプログラムを格納している。
 図8は、本実施形態2におけるROM113に対する故障診断の手順を説明するフローチャートである。本フローチャートは図3と同様に例えば所定時間間隔で周期的に実施されるものである。ここではメインマイコン110がROM113の故障を診断する手順を説明するが、サブマイコン120も同様の手順を用いることができる。以下図8の各ステップについて説明する。
(図8:ステップS401)
 メインマイコン110は、図2のフローチャートにしたがって、ROM114が将来故障する可能性があるか否かを診断する(S401)。同様にROM115が将来故障する可能性があるか否かを診断する(S402)。ROM114に対する故障可能性診断において用いる判定閾値と、ROM115に対する故障可能性診断において用いる判定閾値とは、同じでもよいし異なっていてもよい。すなわちROM114とROM115の仕様や重要度などに応じて適宜定めればよい。
(図8:ステップS403~S404)
 ステップS401において、ROM114が正常であると診断された場合はステップS404へ進み、故障可能性ありと診断された場合はステップS406へ進む(S403)。ステップS402において、ROM115が正常であると診断された場合はステップS409へ進み、故障可能性ありと診断された場合はステップS405へ進む(S404)。
(図8:ステップS405)
 メインマイコン110は、ROM115が格納している代替処理が使用不可である旨のフラグ等を、例えばRAM112などの記憶装置に格納する。
(図8:ステップS406)
 メインマイコン110は、ROM115が格納している代替制御プログラムが使用可能か否かを判定する。代替制御処理が使用可能である場合はステップS407に進む。代替制御処理が使用不可能である場合はステップS410に進む。代替制御処理が使用可能であるか否かは、ステップS405の結果に基づき判定することができる。
(図8:ステップS407)
 ROM115が正常であると診断された場合はステップS408へ進み、故障可能性ありと診断された場合はステップS410へ進む。
(図8:ステップS408)
 メインマイコン110は、制御演算のために実行するプログラムを、ROM114が格納している制御プログラムから、ROM115が格納している代替制御プログラムに切り替える。
(図8:ステップS409~S411)
 メインマイコン110は、制御処理または代替制御処理のいずれかが利用可能である場合は、通常制御動作を実施する(S409)。いずれも利用できない場合は、表示装置240に警告灯を表示し(S410)、フェールセーフ動作に移行する(S411)。
<実施の形態2:まとめ>
 本実施形態2に係る車載制御装置(100)はさらに、演算装置(CPU111)が使用するデータを記憶する第2読取専用記憶装置(ROM115)を備え、第2読取専用記憶装置(ROM115)は、演算装置(CPU111)が制御演算に代えて実行する代替制御演算を実装した代替制御プログラムを格納しており、演算装置(CPU111)は、電流測定回路(151)が測定した電流が第3判定閾値を超えている場合は、制御演算に代えて代替制御演算を実行する。これにより、第1読取専用記憶装置(ROM114)が将来故障する可能性がある場合は、代替制御プログラムにより安全に制御を実施することができる。
 車載制御装置(100)はさらに、第2読取専用記憶装置(ROM115)に対して電力を供給する第3電源回路(VG4)を備え、電流測定回路(152)は、第3電源回路(VG4)が第2読取専用記憶装置(ROM115)に対して出力する第2電流を測定し、演算装置(CPU111)は、電流測定回路(152)が測定した第2電流が第3判定閾値を超えている場合は、第2読取専用記憶装置(ROM115)が将来において故障する可能性があることを示す信号を出力し、演算装置(CPU111)は、第1読取専用記憶装置(ROM1114)と第2読取専用記憶装置(ROM115)がともに将来において故障する可能性があると判定した場合は、制御演算と代替制御演算に代えてフェールセーフ動作を実施する。これにより、代替制御プログラムを用いて車両の安全性を高めることに加えて、代替制御プログラムが正常動作しない可能性がある場合であっても一定の安全性を確保することができる。
<本発明の変形例について>
 本発明は上記実施形態に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施形態は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施形態の構成の一部を他の実施形態の構成に置き換える事が可能であり、また、ある実施形態の構成に他の実施形態の構成を加えることも可能である。また、各実施形態の構成の一部について他の構成の追加・削除・置換をすることができる。
 実施形態2において、ROM114が将来故障する可能性があるとき、代替制御を実施することを説明した。これに加えて、実施形態1で説明したように、故障する可能性があるROMに対する診断の優先度を上げてもよい。例えばS405、S406、またはS410において、将来故障する可能性があると診断されたROMに対する診断優先度を上げてもよい。
 以上の実施形態において、製造時の駆動電流と現在の駆動電流との間の差分を判定閾値と比較する例を説明したが、これに代えて現在の駆動電流を判定閾値と比較してもよい。
この場合は判定閾値のなかに、製造時の駆動電流に対応する値を埋め込んでおくことにより、同様の効果を発揮することができる。すなわち、現在の駆動電流と判定閾値と比較するのか、それとも製造時の駆動電流と現在の駆動電流との間の差分を判定閾値と比較するのかは、閾値をどのように構成するかの違いに過ぎず、実質的な処理は同様である。
100:車載制御装置
110:メインマイコン
111:CPU
112:RAM
113:ROM
114:ROM(BL1)
115:ROM(BL2)
120:サブマイコン
130:メイン電源IC
140:サブ電源IC
150:電流測定回路
151:電流測定回路(BL1)
152:電流測定回路(BL2)
160:温度センサ
210:電源信号
220:バッテリ
230:アクチュエータ
240:表示装置

Claims (11)

  1.  車両が搭載している機器を制御する車載制御装置であって、
     前記機器を制御するための制御演算を実施する演算装置、
     前記演算装置が使用するデータを記憶する第1読取専用記憶装置、
     前記第1読取専用記憶装置に対して供給される電流を測定する電流測定回路、
     を備え、
     前記演算装置は、前記電流測定回路が測定した前記電流が第1判定閾値を超えている場合は、前記第1読取専用記憶装置が将来において故障する可能性があるか否かを判定するとともに、その判定結果を示す信号を出力する
     ことを特徴とする車載制御装置。
  2.  前記第1読取専用記憶装置は、前記電流測定回路による前記電流の測定結果が前記車載制御装置の温度に応じてどのように変動するかを表す温度特性を記述した温度特性データを格納しており、
     前記演算装置は、前記車載制御装置の温度を用いて前記温度特性データを参照することにより、前記電流の測定結果が前記車載制御装置の温度に応じて変動した変動分を取得し、
     前記演算装置は、前記変動分にしたがって前記第1判定閾値を調整した上で、前記可能性があるか否かを判定する
     ことを特徴とする請求項1記載の車載制御装置。
  3.  前記演算装置は、前記車載制御装置に対して電力が供給され始めてから、前記制御演算を開始するまでの間に、前記可能性を判定する
     ことを特徴とする請求項1記載の車載制御装置。
  4.  前記演算装置は、前記車載制御装置が起動している期間において、前記第1読取専用記憶装置の部分記憶領域に対する故障診断を、間欠的に繰り返して実施し、
     前記演算装置は、前記故障診断よりも長い周期で、前記可能性があるか否かの判定を間欠的に繰り返し実施する
     ことを特徴とする請求項1記載の車載制御装置。
  5.  前記車載制御装置はさらに、前記演算装置に対して電力を供給する第1電源回路と、前記第1読取専用記憶装置に対して電力を供給する第2電源回路とを備え、
     前記電流測定回路は、前記第2電源回路が前記第1読取専用記憶装置に対して出力する前記電流を測定する
     ことを特徴とする請求項1記載の車載制御装置。
  6.  前記演算装置は、前記電流測定回路が測定した前記電流が前記第1判定閾値を超えている間は、超えていない場合よりも、前記故障診断を実施する周期を短くする
     ことを特徴とする請求項4記載の車載制御装置。
  7.  前記演算装置は、前記電流測定回路が測定した前記電流が前記第1判定閾値を超えたときは、前記車両の運転者に対して警告を通知する信号を出力する
     ことを特徴とする請求項1記載の車載制御装置。
  8.  前記第1読取専用記憶装置は、前記車載制御装置の製造時点または前記演算装置の製造時点において前記第1読取専用記憶装置に対して供給される読取電流を記憶しており、
     前記演算装置は、前記第1読取専用記憶装置が記憶している読取電流よりも前記電流測定回路が測定した電流のほうが大きく、かつ前記第1読取専用記憶装置が記憶している読取電流と、前記電流測定回路が測定した電流との間の差分が第2判定閾値を超えたときは、前記第1読取専用記憶装置が将来において故障する可能性があることを示す信号を出力する
     ことを特徴とする請求項1記載の車載制御装置。
  9.  前記電流は、前記演算装置が前記第1読取専用記憶装置により記憶されるデータを読み取るために供給される
     ことを特徴とする請求項1記載の車載制御装置。
  10.  前記車載制御装置はさらに、前記演算装置が使用するデータを記憶する第2読取専用記憶装置を備え、
     前記第2読取専用記憶装置は、前記演算装置が前記制御演算に代えて実行する代替制御演算を実装した代替制御プログラムを格納しており、
     前記演算装置は、前記電流測定回路が測定した前記電流が第3判定閾値を超えている場合は、前記制御演算に代えて前記代替制御演算を実行する
     ことを特徴とする請求項1記載の車載制御装置。
  11.  前記車載制御装置はさらに、前記第2読取専用記憶装置に対して電力を供給する第3電源回路を備え、
     前記電流測定回路は、前記第3電源回路が前記第2読取専用記憶装置に対して出力する第2電流を測定し、
     前記演算装置は、前記電流測定回路が測定した前記第2電流が前記第3判定閾値を超えている場合は、前記第2読取専用記憶装置が将来において故障する可能性があることを示す信号を出力し、
     前記演算装置は、前記第1読取専用記憶装置と前記第2読取専用記憶装置がともに将来において故障する可能性があると判定した場合は、前記制御演算と前記代替制御演算に代えてフェールセーフ動作を実施する
     ことを特徴とする請求項10記載の車載制御装置。
PCT/JP2019/004956 2018-04-26 2019-02-13 車載制御装置 WO2019207905A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018084756A JP2021120234A (ja) 2018-04-26 2018-04-26 車載制御装置
JP2018-084756 2018-04-26

Publications (1)

Publication Number Publication Date
WO2019207905A1 true WO2019207905A1 (ja) 2019-10-31

Family

ID=68295090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/004956 WO2019207905A1 (ja) 2018-04-26 2019-02-13 車載制御装置

Country Status (2)

Country Link
JP (1) JP2021120234A (ja)
WO (1) WO2019207905A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139231A (ja) * 1997-07-17 1999-02-12 Unisia Jecs Corp 車両用電子制御装置
JPH11297077A (ja) * 1998-04-06 1999-10-29 Toshiba Corp メモリの過剰消去判定方法
JP2003323353A (ja) * 2002-05-01 2003-11-14 Denso Corp メモリ診断装置及び制御装置
JP2008286740A (ja) * 2007-05-21 2008-11-27 Renesas Technology Corp 半導体集積回路およびそのテスト方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139231A (ja) * 1997-07-17 1999-02-12 Unisia Jecs Corp 車両用電子制御装置
JPH11297077A (ja) * 1998-04-06 1999-10-29 Toshiba Corp メモリの過剰消去判定方法
JP2003323353A (ja) * 2002-05-01 2003-11-14 Denso Corp メモリ診断装置及び制御装置
JP2008286740A (ja) * 2007-05-21 2008-11-27 Renesas Technology Corp 半導体集積回路およびそのテスト方法

Also Published As

Publication number Publication date
JP2021120234A (ja) 2021-08-19

Similar Documents

Publication Publication Date Title
JP5529877B2 (ja) 電池システム
JP6451550B2 (ja) 車載表示システム、制御装置、表示装置
JP2009274472A (ja) 電子制御装置
EP3225492A1 (en) Vehicular control device and vehicle control method
JP2007312193A (ja) 異常監視ユニット
JP6807467B2 (ja) 車両制御装置
JP6651394B2 (ja) 半導体装置及び寿命予測方法
JP2009276820A (ja) 電子機器及びプログラム
US20140063999A1 (en) Non-volatile memory device and electronic apparatus
JP5640369B2 (ja) 故障診断装置
WO2019207905A1 (ja) 車載制御装置
JP6131251B2 (ja) 自動車両のエラーメモリ内のエラーのドキュメンテーション
US20220355699A1 (en) Battery diagnostic device, battery diagnostic method, battery diagnostic program, and vehicle
JP2013032163A (ja) 電子制御装置
JP4286721B2 (ja) 車両診断情報取得装置および車両診断情報取得方法
JP6694517B2 (ja) 車載制御装置
JP4041216B2 (ja) 異常検出方法および異常検出装置
JP6491965B2 (ja) 電池監視ユニットの検査方法および検査装置
JP2018134964A (ja) 自動車用電子制御装置
JP2015162102A (ja) 車両用制御装置
JP2017199129A (ja) 車載制御装置
JP7363448B2 (ja) 電子装置
KR101887904B1 (ko) 제어기 단락 이상 감지 장치 및 방법
JP4556666B2 (ja) 車載式故障診断システムの検査装置および検査方法
JP2008298562A (ja) 自己診断機能付き近接センサ

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19793188

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19793188

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP