WO2023233611A1 - 電子制御装置 - Google Patents

電子制御装置 Download PDF

Info

Publication number
WO2023233611A1
WO2023233611A1 PCT/JP2022/022450 JP2022022450W WO2023233611A1 WO 2023233611 A1 WO2023233611 A1 WO 2023233611A1 JP 2022022450 W JP2022022450 W JP 2022022450W WO 2023233611 A1 WO2023233611 A1 WO 2023233611A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
processing unit
check
assumed values
arithmetic processing
Prior art date
Application number
PCT/JP2022/022450
Other languages
English (en)
French (fr)
Inventor
晃 菅藤
裕介 池上
Original Assignee
日立Astemo株式会社
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 日立Astemo株式会社 filed Critical 日立Astemo株式会社
Priority to PCT/JP2022/022450 priority Critical patent/WO2023233611A1/ja
Publication of WO2023233611A1 publication Critical patent/WO2023233611A1/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
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Definitions

  • the present invention relates to an electronic control device, and in particular, when data indicating an abnormal value is generated due to execution of multiple arithmetic processes related to a vehicle's drive source or onboard equipment, the present invention corrects the value to an appropriate value.
  • the present invention relates to an electronic control device, and in particular, when data indicating an abnormal value is generated due to execution of multiple arithmetic processes related to a vehicle's drive source or onboard equipment, the present invention corrects the value to an appropriate value.
  • the present invention corrects the value to an appropriate value.
  • control device controls the operation of the drive source and the actuator based on information obtained by the sensor and information stored in the memory and via a network system or communication system as necessary.
  • the arithmetic processing unit reads out multiple pieces of software (computer programs) stored in the memory and executes multiple arithmetic processes, but the execution time of one of the arithmetic processes There may be situations where the originally expected calculated value is not obtained due to insufficient data, or even if the originally expected calculated value is obtained, the writing time required to write the data to memory and store it. There is also a possibility that a situation may occur in which the calculated value cannot be stored correctly due to a shortage.
  • Patent Document 1 discloses that when a microcomputer performs a sum check of data in a flash ROM (Read Only Memory) based on an error correction code at startup, and the result does not match the result that should be shown, By starting and running the error control program, identifying the abnormal part of the data, and rewriting the abnormal part with normal data, even if a situation such as data abnormality or data disappearance occurs, the data in all areas will be normal data.
  • This disclosure discloses a configuration that allows rewriting to .
  • Patent Document 1 proposes rewriting abnormal locations with normal data, there is no disclosure or suggestion regarding the specific configuration.
  • the present invention has been made through the above studies, and when data indicating an abnormal value is generated in a situation where multiple calculation processes related to the drive source or onboard equipment of a vehicle are performed, the value
  • An object of the present invention is to provide an electronic control device that can correct the value to an appropriate value.
  • the present invention provides an electronic control device including a first arithmetic processing section and a second arithmetic processing section that exchanges data between the first arithmetic processing section and the first arithmetic processing section.
  • the first arithmetic processing unit includes a first check processing unit that executes a first check process for checking the data, and the first check processing unit performs the second arithmetic processing in the first check process.
  • the first value is selected as the first selected value, and the first value is one of the plurality of assumed values. If the above does not apply, one of the plurality of assumed values is selected as the second selection value, and the first selection value is set to be such that the control process is executed based on the first selection value or the second selection value. A situation.
  • the present invention provides that, when the first value does not correspond to any of the plurality of assumed values,
  • the second aspect is to select the predetermined initial value set in and set as the second selected value.
  • the present invention provides that, when the first value does not correspond to any of the plurality of assumed values,
  • the third aspect is to select a predetermined value that indicates an abnormal state and set it as the second selected value.
  • the present invention provides that, when the first value does not correspond to any of the plurality of assumed values, the first check processing section
  • the fourth aspect is to select the one selected in the first check process executed last time and set it as the second selection value.
  • the present invention further includes a memory, the first arithmetic processing unit writes data to the memory, and the first arithmetic processing unit writes data to the memory, and the first arithmetic processing unit writes data to the memory.
  • the second check processing section includes a second check processing section that executes a second check processing for checking, and the second check processing section is configured to check a second value indicated by the data read from the memory and the plurality of It is determined whether the second value corresponds to any one of the plurality of assumed values by comparing the second value with an assumed value, and the second value corresponds to one of the plurality of assumed values.
  • the second value is selected as a third selection value, and when the second value does not correspond to any of the plurality of assumed values, one of the plurality of assumed values. is selected as a fourth selection value, and a control process is executed based on the third selection value or the fourth selection value.
  • the present invention provides that the second check processing unit determines whether the second value is one of the plurality of assumed values when the electronic control device is activated. If it is not applicable, the sixth aspect is to select one of the plurality of assumed values that is set as a predetermined initial value and set it as the fourth selected value.
  • the electronic control device includes the first arithmetic processing section and the second arithmetic processing section that exchanges data between the first arithmetic processing section and the first arithmetic processing section.
  • the electronic control device includes a first check processing unit that executes a first check process for checking data, and the first check process unit performs a second calculation process in the first check process.
  • the first value indicated by the data received from the department is compared with the plurality of assumed values, it is determined whether the first value corresponds to any of the plurality of assumed values, and the first value is determined.
  • the first value is selected as the first selected value, and when the first value does not correspond to any of the multiple assumed values, the multiple assumed values are selected. Since one of the values is selected as the second selected value and the control process is executed based on the first selected value or the second selected value, the data received from the second arithmetic processing section indicates If a value indicates an unanticipated value other than multiple expected values, by resetting the value to one of the multiple expected values, the unanticipated value may cause the controlled object to perform abnormal actions or It is possible to suppress the occurrence of an unexpected situation in which arithmetic processing becomes impossible and control of a controlled object becomes impossible.
  • the first check processing section selects one of the plurality of assumed values. Since the one that is set as the predetermined initial value is selected as the second selection value, the one that is set as the predetermined initial value among the multiple expected values is Since the control process is most likely to be executed stably within the control system, there is a possibility that the controlled object may behave abnormally or the calculation process that should be performed cannot be performed, making it impossible to control the controlled object. It is possible to more reliably suppress the occurrence of unexpected situations such as.
  • the first check processing unit selects one of the plurality of assumed values. Since the second selected value is selected from a predetermined value that indicates an abnormal condition, it is clear that an unexpected value has occurred in the first value, which is the value to be checked. Therefore, it is necessary to reliably avoid unexpected situations in which the controlled object behaves abnormally or the arithmetic processing that should be performed becomes impossible, making it impossible to control the controlled object. It is also possible to move on to executing other arithmetic processing or control processing.
  • the first check processing unit selects one of the plurality of assumed values. Since the value selected in the first check process executed last time is selected as the second selection value, the value selected in the first check process executed last time out of multiple assumed values. In the first place, the previous value is one of multiple expected values, and since the current value, which is a non-anticipated value, can be expected to be close to the value that should have been taken, It is possible to avoid sudden changes in the situation, such as sudden changes, and unexpected situations where the controlled object behaves abnormally or the calculation process that should be executed becomes impossible, making it impossible to control the controlled object. The occurrence of this can be more reliably suppressed.
  • a memory is further provided, the first arithmetic processing section writes data to the memory, and the first arithmetic processing section writes data written to the memory.
  • the method includes a second check processing unit that executes a second check process to check, and the second check processing unit compares a second value indicated by the data read from the memory with a plurality of assumed values in the second check process. Then, it is determined whether the second value corresponds to one of the plurality of assumed values, and if the second value corresponds to one of the plurality of assumed values, the second value is selected.
  • one of the plurality of assumed values is selected as the fourth selected value, and the third selected value is set as the third selected value.
  • the control process is executed based on the fourth selection value, if the value indicated by the data read from the memory indicates an unanticipated value other than the plurality of expected values, the value is changed to one of the plurality of expected values.
  • the second check processing unit determines whether the second value is one of the plurality of assumed values when the electronic control device is started. If it is not applicable, the one set as the predetermined initial value is selected from among the plurality of assumed values and set as the fourth selection value. Therefore, when the electronic control unit is started, the initial value is not set. Since it is common to use data that indicates the Therefore, it is possible to more reliably suppress the occurrence of an unexpected situation in which arithmetic processing to be executed becomes impossible and control of a controlled object becomes impossible.
  • FIG. 1 is a block diagram showing the configuration of an electronic control device in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram showing an example of the transition of the check process of the electronic control device in this embodiment.
  • FIG. 3 is a flowchart showing an example of the flow of check processing of the electronic control device in this embodiment.
  • FIG. 4 is a schematic diagram showing another example of the transition of the check process of the electronic control device in this embodiment.
  • FIG. 5 is a flowchart showing another example of the flow of the check process of the electronic control device in this embodiment.
  • FIG. 1 is a block diagram showing the configuration of an electronic control device in this embodiment.
  • FIG. 2 is a schematic diagram showing an example of the transition of the check process of the electronic control device in this embodiment.
  • the electronic control device 1 in this embodiment typically includes an ECU (Electronic Control Unit) 10, which is an arithmetic processing unit including a microcomputer, etc., such as a CPU (Central Processing Unit). It is used as a control device to control the drive source and on-board equipment of vehicles such as motorcycles and four-wheeled vehicles.
  • ECU Electronic Control Unit
  • CPU Central Processing Unit
  • the ECU 10 includes a first arithmetic processing section 12, a second arithmetic processing section 14, and a memory 16, and the first arithmetic processing section 12 includes a first check processing section 12a and further includes a second check processing section 12b. Good too.
  • the memory 16 stores necessary control/processing programs and control/processing data.
  • the first arithmetic processing section 12, the second arithmetic processing section 14, the first check processing section 12a, and the second check processing section 12b are shown as functional blocks when executing the control/processing program.
  • the ECU 10 is started by applying power from the battery 20 via the ignition switch 30, reads necessary control/processing programs and control/processing data from the memory 16, and based on the output signal from the sensor 40, By executing the control/processing program, the operating state of the engine 50, which is an internal combustion engine to be controlled, and the operating state of the actuator 60, which is an on-board device to be controlled, are controlled.
  • an electric motor may be provided in addition to or in addition to the engine 50, and as equipment mounted on the vehicle, in addition to the actuator 60, various active parts etc. may be provided. .
  • the first arithmetic processing unit 12 is typically application software that is produced in-house so as to be individually applied to control the engine 50 and actuator 60 that are to be controlled.
  • This is a functional block that reads and functions what is stored in the memory 16. It reads necessary control/processing programs and control/processing data from the memory 16, and operates the engine 50 based on the output signal from the sensor 40. A first calculation process for controlling the state and the operating state of the actuator 60 is executed.
  • the second arithmetic processing unit 14 is typically a functional block that reads out and functions a virtually standardized and highly versatile external application software stored in the memory 16.
  • data including abnormality related information including a value indicating normal or abnormal operation of the sensor 40 is exchanged with the first arithmetic processing unit 12, and the sensor 40 is determined to be normal or abnormal as indicated by the data value.
  • a second arithmetic process is executed for abnormality management including calculation of a value indicating the value and management of its history.
  • Data is typically exchanged between the first arithmetic processing unit 12 and the second arithmetic processing unit 14 via a virtually standardized runtime environment.
  • the first check processing unit 12a included in the first calculation processing unit 12 checks the check target value (the calculated value calculated by the second calculation processing unit 14) in the data received from the second calculation processing unit 14. , typically, 1 is calculated as a normal value indicating normality, and 0 is calculated as an abnormal value indicating abnormality: the first value) and a plurality of assumed values (typically, a normal value indicating normality).
  • a predetermined value in which the value is 1 and an abnormal value indicating an abnormality is set to 0) is determined to determine whether the check target value corresponds to any of the multiple expected values, and the check target value is When corresponds to one of the multiple assumed values, the check target value is selected as is and becomes the first selected value, and when the check target value does not correspond to any of the multiple assumed values, multiple assumed values are selected. One of the values is selected as the second selected value.
  • the first check processing unit 12a selects it as it is as the first selected value which is 0 or 1
  • the check target value is If it is a natural number other than 0 or 1, one of the plurality of assumed values will be selected as the second selected value of 0 or 1, and the first arithmetic processing unit 12 will select such a second selected value.
  • a control process is executed to control the operating state of the engine 50 as the controlled object and the operating state of the actuator 60 as the controlled object.
  • the first arithmetic processing unit 12 executes a control process for controlling the operating state of the engine 50 as the controlled object and the operating state of the actuator 60 as the controlled object.
  • the first arithmetic processing step 102 executed in typically, abnormality related information of the sensor 40 is acquired and an abnormality related value is calculated.
  • the abnormality-related value calculated in this manner is acquired by the first arithmetic processing section 12 so as to be passed to the second arithmetic processing section 14 in an information passing processing step 104.
  • the abnormality-related values acquired in this way are received by the second calculation processing step 202 in the second calculation processing unit 14 and are subject to the abnormality management processing, and the second calculation processing step 202 processes the received abnormality-related values. Based on this, when determining that the sensor 40 is normal, 1 is calculated as a normal value, and when determining that the sensor 40 is abnormal, 0 is calculated as an abnormal value.
  • the calculated value that should indicate 1 or 0 calculated in this way is passed to the first arithmetic processing unit 12, received as a check target value (first value) in the information reception processing step 106, and carried out in the first check processing.
  • the first check processing step 108 in the section 12a compares the value to be checked with a plurality of assumed values (typically, a predetermined value in which a normal value indicating normality is set to 1 and an abnormal value indicating abnormality is set to 0). After collation, if the check target value is 0 or 1, which is a plurality of assumed values, this is selected as is and the first selected value, which is 0 or 1, is calculated, and the check target value is a natural number other than 0 or 1. If so, one of the plurality of assumed values is selected and a second selected value of 0 or 1 is calculated.
  • a plurality of assumed values typically, a predetermined value in which a normal value indicating normality is set to 1 and an abnormal value indicating abnormality is set to 0.
  • the engine 50 as a control target is A control process is executed to control the operating state of the actuator 60 and the operating state of the actuator 60 as a control target. Further, at the same time as executing such control processing, the first arithmetic processing unit 12 writes the first selection value or the second selection value into the memory 16.
  • the typical is the value when the value indicated by the data received from the second arithmetic processing unit 14 that executes the abnormality management process using data indicating abnormality-related values of the sensor 40 indicates an unanticipated value other than a plurality of expected values.
  • FIG. 3 is a flowchart showing an example of the flow of the check process of the electronic control device 1 in this embodiment. An example of specific processing contents of the check process (corresponding to the first check process step 108 in FIG. 2) is shown.
  • the flowchart shown in FIG. 3 is started when the ignition switch 30 changes from the off state to the on state and the ECU 10 starts up, and the first check process proceeds to the process of step S1.
  • This first check process is repeatedly executed at every predetermined control cycle by the first arithmetic processing unit 12 reading out the necessary control/processing program and control/processing data from the memory 16 while the ECU 10 is in the activated state. .
  • step S1 the first arithmetic processing unit 12 receives the first value, which is the value to be checked, from the second arithmetic processing unit 14. Thereby, the process of step S1 is completed, and the first arithmetic processing unit 12 advances the first check process to the process of step S2.
  • the first check processing unit 12a selects a first value, which is a value to be checked, and a plurality of assumed values (typically, a normal value indicating normality is 1, and an abnormal value indicating abnormality is 0). (a predetermined value set in the first value) to determine whether the first value corresponds to any one of the plurality of assumed values. As a result of the determination, if the first value corresponds to any one of the plurality of assumed values, the first check processing unit 12a advances the first check process to step S3. On the other hand, if the first value does not correspond to any of the plurality of assumed values as a result of the determination, the first check processing unit 12a advances the first check process to step S4. Note that the plurality of assumed value data stored in the memory 16 were read out and referred to.
  • step S3 the first check processing unit 12a selects the first value, which is the value to be checked, as it is, and a corresponding selection value of 0 or 1 is calculated. Thereby, the process of step S3 is completed, and the first check processing unit 12a advances the first check process to the process of step S5.
  • step S4 the first check processing unit 12a selects one of the plurality of assumed values, and a corresponding selected value of 0 or 1 is calculated. Thereby, the process of step S4 is completed, and the first check processing unit 12a advances the first check process to the process of step S5.
  • step S5 the first arithmetic processing unit 12 controls the operating state and control of the engine 50 as a control target based on the selected value calculated in the process of step S3 or the selected value calculated in the process of step S4.
  • a control process is executed to control the operating state of the target actuator 60.
  • the process of step S5 is completed, and the current series of first check processes ends.
  • the first arithmetic processing unit 12 may write the selection value calculated in the process of step S3 or the selection value calculated in the process of step S4 to the memory 16.
  • the first check processing unit 12a sets the first value to a predetermined initial value among the plurality of assumed values. It is preferable to select one as the selected value. This takes into account that among the multiple assumed values, the one set as the predetermined initial value is the one that is most likely to be able to execute the control process stably among the multiple assumed values. With this configuration, it is more certain that unexpected situations will occur, such as the controlled object causing abnormal operation or the arithmetic processing that should be executed becoming impossible, making it impossible to control the controlled object.
  • which of the plurality of assumed values is set as the predetermined initial value may be determined in advance depending on the detection target of the sensor 40. For example, if the detection target of the sensor 40 is the control target, It is important in executing control processing to control the operating state of the engine 50 and the operating state of the actuator 60 as a controlled object, and when the sensor 40 is not functioning normally, its output signal is used to control the controlled object.
  • a predetermined initial value of a plurality of assumed values is set to 0, which corresponds to an abnormal value, so as to prohibit execution of the control processing if the control processing cannot be executed appropriately.
  • the control process may be executed while setting the predetermined initial value of the plurality of assumed values to 2, which means that it corresponds to a quasi-normal value.
  • the first check processing unit 12a sets the first value to a predetermined value indicating an abnormal state among the plurality of assumed values. It is preferable to select the selected value as the selected value. This is a measure to clarify that an unexpected value has occurred in the first value, which is the value to be checked, and the controlled object may behave abnormally or the calculation process that should be executed cannot be performed. This makes it possible to reliably avoid the occurrence of an unexpected situation in which control of a controlled object becomes impossible, or to shift to executing another calculation process or control process.
  • the first check processing unit 12a performs the first check processing that was performed last time among the plurality of assumed values. It is preferable to select the selected value as the selected value. This is because the previous value selected in the first check process executed last time out of multiple expected values is one of the multiple expected values, and the previous value is the current value that is a non-anticipated value.
  • the first arithmetic processing section 12 may include a second check processing section 12b in addition to the first check processing section 12a.
  • the second check processing unit 12b reads out the data that the first arithmetic processing unit 12 has previously written to the memory 16 from the memory 16, and checks the check target value in the data (the first check processing unit 12a
  • the first arithmetic processing unit 12 executes a control process for controlling the operating state of the engine 50 as a control target and the operating state of the actuator 60 as a control target based on the selected value selected in the check process.
  • the second value that is the abnormality-related value of the sensor 40 and a plurality of assumed values (typically, the normal value indicating normality is 1, and the abnormal value indicating abnormality is 0) It is determined whether the value to be checked corresponds to one of the multiple expected values, and the value to be checked corresponds to one of the multiple expected values. Sometimes, the check target value is selected as it is and becomes the third selection value, and when the check target value does not correspond to any of the multiple expected values, one of the multiple expected values is selected and the fourth selection is made. value.
  • the second check processing section 12b selects it as is and selects the third selection that is 0 or 1. If the value to be checked is a natural number other than 0 or 1, one of the plurality of assumed values is selected and set as the fourth selected value, which is 0 or 1.
  • Such a check process by the second check processing unit 12b is typically performed after the first arithmetic processing unit 12 writes data indicating the third selection value or the fourth selection value into the memory 16, or after the ignition switch 30 is in the off state. This is executed when the ECU 10 is turned on and started up.
  • the first arithmetic processing unit 12 performs a control process to control the operating state of the engine 50 as a controlled object and the operating state of the actuator 60 as a controlled object based on the third selected value or the fourth selected value.
  • the control target can be changed by the unanticipated value.
  • the second check process executed by the second check processing unit 12b of the first arithmetic processing unit 12 in the electronic control device 1 in this embodiment will be explained in detail as another example of the check process.
  • FIG. 4 is a schematic diagram showing another example of the transition of the check process of the electronic control device in this embodiment.
  • the first arithmetic processing unit 12 calculates the operating state of the engine 50 as a control target and the control target.
  • the third arithmetic processing step 152 that is executed when executing the control process for controlling the operating state of the actuator 60, the first arithmetic processing unit 12 reads from the memory 16 the data that has been written in the memory 16 in advance.
  • data typically includes a selection value (a fifth selection value or a fifth selection value described below) selected by the first check processing section 12a in the previously executed check processing (by the third check processing step 160 described below).
  • the first calculation processing unit 12 determines the operating state of the engine 50 as a control object and the actuator 60 as a control object based on the selection value. This is written into the memory 16 when executing control processing to control the operating state.
  • the second value in the data read in this way is set as a value to be checked by the second check processing step 154 in the second check processing section 12b in the first arithmetic processing section 12, and is checked by the second check processing step 154 in the second check processing section 12b.
  • the check target value is compared with multiple assumed values (typically, a predetermined value where the normal value indicating normality is set to 1 and the abnormal value indicating abnormality is set to 0), and the check target value is set to multiple expected values. If the expected value is 0 or 1, it is selected as is and the third selection value of 0 or 1 is calculated. If the value to be checked is a natural number other than 0 or 1, one of the multiple expected values is selected. Either one is selected and a fourth selection value of 0 or 1 is calculated. The third selection value or the fourth selection value is returned to the third calculation processing step 152 in the first calculation processing section 12, and in the third calculation processing step 152, the first calculation processing section 12 selects the third selection value.
  • multiple assumed values typically, a predetermined value where the normal value indicating normality is set to 1 and the abnormal value indicating abnormality is set to 0
  • the check target value is set to multiple expected values. If the expected value is 0 or 1, it is selected as is and the third selection value of 0 or 1 is
  • the third selection value or the fourth selection value is acquired in the first calculation processing section 12 so as to be passed to the second calculation processing section 14 in the information passing processing step 156.
  • the third selection value or the fourth selection value acquired in this way is received by the fourth calculation processing step 254 through the information reception processing step 252 in the second calculation processing unit 14, and becomes the target of the abnormality management processing,
  • the fourth calculation processing step 254 calculates 1 as a normal value when determining that the sensor 40 is normal based on the received third selection value or fourth selection value, and calculates 1 as a normal value when determining that the sensor 40 is abnormal.
  • 0 is calculated as an abnormal value.
  • the function of the information reception processing step 252 may be included in the fourth calculation processing step 254.
  • the calculated value that should indicate 1 or 0 calculated in the fourth calculation processing step 256 is transferred to the second calculation processing section 14. It is passed to the first arithmetic processing unit 12 through the processing step 258, and is received as a check target value (a third value similar to the first value in FIG. 2) in the information receiving processing step 158, and is subjected to the first check processing.
  • the third check processing step 160 the same check processing step as the first check processing step 108 in FIG.
  • the check target value and a plurality of assumed values (typically, a normal value indicating normality is , the abnormal value indicating an abnormality is compared with a predetermined value set to 0), and if the check target value is 0 or 1, which is a plurality of assumed values, this is selected as is and the fifth value is set to 0 or 1.
  • a selection value is calculated, and if the check target value is a natural number other than 0 or 1, one of the plurality of assumed values is selected and a sixth selection value that is 0 or 1 is calculated.
  • a third arithmetic processing step 162 (a similar arithmetic processing step to the third arithmetic processing step 152) in the first arithmetic processing section 12, the engine 50 as a control target is and the operating state of the actuator 60 as a control target, and write data including the fifth selection value or the sixth selection value, that is, the second value, into the memory 16. become.
  • the function of the information passing processing step 258 may be included in the fourth calculation processing step 254.
  • the data indicating the abnormality related value of the sensor 40 read out from the memory 16 by the first arithmetic processing section 12 is If a value indicates an unanticipated value other than multiple expected values, by resetting the value to one of the multiple expected values, the unanticipated value may cause the controlled object to perform abnormal actions or It is possible to suppress the occurrence of an unexpected situation in which arithmetic processing becomes impossible and control of a controlled object becomes impossible, but the flow of processing as a specific example is shown in Figure 5. It will be done.
  • the operation of the electronic control device 1 when the second check processing section 12b executes the second check process will be described.
  • FIG. 5 is a flowchart showing another example of the flow of the check process of the electronic control device 1 according to the present embodiment. 2 shows an example of specific processing contents of the second check process (corresponding to the second check process step 154 in FIG. 4).
  • the flowchart shown in FIG. 5 is started when the ignition switch 30 changes from the off state to the on state and the ECU 10 is started, and the second check process proceeds to the process of step S11.
  • This second check process is repeatedly executed at every predetermined control cycle by the first arithmetic processing unit 12 reading the necessary control/processing program and control/processing data from the memory 16 while the ECU 10 is in the activated state.
  • step S11 the first arithmetic processing unit 12 determines whether the ignition switch 30 has been turned on and is in the on state by detecting the energization state of the ignition switch 30. As a result of the determination, if the ignition switch 30 is in the on state, the first arithmetic processing unit 12 advances the second check process to step S12. On the other hand, if the ignition switch 30 is not in the on state as a result of the determination, the first arithmetic processing unit 12 repeats the process of step S11.
  • step S12 the first arithmetic processing unit 12 reads the second value, which is the value to be checked, from the memory 16. Thereby, the process of step S12 is completed, and the first arithmetic processing unit 12 advances the second check process to the process of step S13.
  • the second check processing unit 12b selects a second value as a check target value and a plurality of assumed values (typically, a normal value indicating normality is 1, and an abnormal value indicating abnormality is 0). (a predetermined value set in the first value) to determine whether the first value corresponds to any one of the plurality of assumed values. As a result of the determination, if the second value corresponds to any one of the plurality of assumed values, the second check processing unit 12b advances the second check process to step S14. On the other hand, if the second value does not correspond to any of the plurality of assumed values as a result of the determination, the second check processing unit 12b advances the second check process to step S15. Note that the plurality of assumed value data stored in the memory 16 were read out and referred to.
  • step S14 the second check processing unit 12b selects the second value, which is the check target value, as it is, and calculates a selected value of 0 or 1. Thereby, the process of step S14 is completed, and the second check processing unit 12b advances the second check process to the process of step S16.
  • step S15 the second check processing unit 12b selects one of the plurality of assumed values, and a selected value of 0 or 1 is calculated. Thereby, the process of step S15 is completed, and the second check processing unit 12b advances the second check process to the process of step S16.
  • step S16 the first arithmetic processing unit 12 determines the operating state and control of the engine 50 as a control target based on the selection value calculated in the process of step S14 or the selection value calculated in the process of step S15.
  • a control process is executed to control the operating state of the target actuator 60.
  • the process of step S16 is completed, and the current series of second check processes ends.
  • the second check processing unit 12b selects a predetermined value from among the plurality of assumed values when the second value that is the check target value does not correspond to any one of the plurality of assumed values. It is preferable to select the initial value set as the selected value. This is because data indicating the initial value is generally used when the ECU 10 is started up, and what is set to a predetermined initial value among multiple assumed values is based on multiple assumed values. This value is based on the consideration that it is the most likely to be able to execute the control process stably among the values, and such a configuration may cause the controlled object to behave abnormally or make it impossible to execute the calculation process that should be executed.
  • which of the plurality of assumed values is set as the predetermined initial value may be determined in advance depending on the detection target of the sensor 40. For example, if the detection target of the sensor 40 is the control target, It is important in executing control processing to control the operating state of the engine 50 and the operating state of the actuator 60 as a controlled object, and when the sensor 40 is not functioning normally, its output signal is used to control the controlled object.
  • a predetermined initial value of a plurality of assumed values is set to 0, which corresponds to an abnormal value, so as to prohibit execution of the control processing if the control processing cannot be executed appropriately.
  • the control process may be executed while setting the predetermined initial value of the plurality of assumed values to 2, which means that it corresponds to a quasi-normal value.
  • the first arithmetic processing section 12 and the second arithmetic processing section 14, which exchanges data between the first arithmetic processing section 12 and the second arithmetic processing section 14, the first arithmetic processing unit 12 includes a first check processing unit 12a that executes a first check process of checking data, and the first check processing unit 12a performs a second arithmetic process in the first check process.
  • the first value indicated by the data received from the unit 14 is compared with the plurality of assumed values, it is determined whether the first value corresponds to any of the plurality of assumed values, and the first value is determined.
  • the first value When corresponds to one of the plurality of assumed values, select the first value as the first selected value, and when the first value does not correspond to one of the plurality of assumed values, select the first value. Since one of the assumed values is selected as the second selected value and the control process is executed based on the first selected value or the second selected value, the data received from the second arithmetic processing unit 14
  • the value indicated by indicates an unanticipated value other than the plurality of expected values
  • the controlled objects 50 and 60 can cause abnormal operation due to the unanticipated value.
  • the first check processing unit 12a selects a predetermined initial value from among the plurality of assumed values. Since the one that is set to the predetermined initial value is selected as the second selection value, the one that is set to the predetermined initial value among the plurality of assumed values is the one that is set to the predetermined initial value. Since this is the most likely to be executed stably, the control of the controlled objects 50 and 60 may not be executed because the controlled objects 50 and 60 behave abnormally or the arithmetic processing that should be executed becomes impossible. It is possible to more reliably prevent the occurrence of unexpected situations that would result in failure.
  • the first check processing unit 12a when the first value does not correspond to any one of the plurality of assumed values, the first check processing unit 12a indicates an abnormal state among the plurality of assumed values. Since the value set to a predetermined value is selected as the second selected value, it becomes clear that an unexpected value has occurred in the first value, which is the value to be checked. Reliably avoids the occurrence of unexpected situations such as the controlled objects 50 and 60 causing abnormal operations or the arithmetic processing that should be executed becoming impossible and making it impossible to control the controlled objects 50 and 60. or move on to executing other arithmetic processing or control processing.
  • the first check processing unit 12a checks the previously executed Since the value selected in the first check process is selected as the second selected value, the previous value selected in the first check process executed last time among the multiple assumed values is The previous value is one of multiple expected values, and the current value, which is a non-anticipated value, can be expected to be close to the value that should have been taken. It is possible to avoid unexpected changes such as the controlled objects 50, 60 causing abnormal operation, or the control of the controlled objects 50, 60 becoming impossible due to the arithmetic processing that should be executed becoming impossible. It is possible to more reliably prevent the situation from occurring.
  • the electronic control device 1 in this embodiment further includes a memory 16, the first arithmetic processing unit 12 writes data to the memory 16, and the first arithmetic processing unit 12 checks the data written to the memory.
  • the second check processing unit 12b includes a second check processing unit 12b that executes a second check process, and the second check processing unit 12b compares a second value indicated by data read from the memory 16 with a plurality of assumed values in the second check process.
  • the second value corresponds to any one of the plurality of assumed values, and when the second value corresponds to one of the plurality of assumed values, the second value is When the second value does not correspond to one of the plurality of assumed values, one of the plurality of assumed values is selected as the fourth selected value, and the third selected value is selected. Since the control process is executed based on the value or the fourth selected value, if the value indicated by the data read from the memory 16 indicates an unanticipated value other than the plurality of assumed values, the value is By resetting it to one of the values, the controlled objects 50 and 60 may cause abnormal operations due to unanticipated values, or the arithmetic processing that should be executed becomes impossible and the control of the controlled objects 50 and 60 becomes impossible. This makes it possible to more reliably prevent such unexpected situations from occurring.
  • the second check processing unit 12b when the electronic control device 1 is started, if the second value does not correspond to any of the plurality of assumed values, Since the one set as the predetermined initial value is selected from among the plurality of assumed values and used as the fourth selection value, when the electronic control device 1 is started, the data indicating the initial value is not used. Since it is commonly used, it is possible to prevent the controlled objects 50 and 60 from causing abnormal operation by resetting the unanticipated value to a predetermined initial value among a plurality of assumed values. It is possible to more reliably suppress the occurrence of an unexpected situation in which the control of the controlled objects 50 and 60 becomes impossible due to the arithmetic processing to be executed becoming impossible.
  • the present invention is not limited to the types, shapes, arrangements, numbers, etc. of the members, and the gist of the invention may be modified by appropriately replacing the constituent elements with those having equivalent effects. Of course, changes can be made as appropriate without departing from the above.
  • the present invention corrects the data to an appropriate value when data indicating an abnormal value is generated in a situation where multiple calculation processes related to the vehicle's drive source and onboard equipment are executed. Because of its versatile and universal character, it is expected that it can be widely applied to electronic control devices for vehicles such as motorcycles and four-wheeled motor vehicles.

Abstract

電子制御装置(1)では、第1演算処理部(12)と、第1演算処理部(12)との間でデータの受け渡しが行われる第2演算処理部(14)と、を備え、第1演算処理部(12)が、データをチェックする第1チェック処理を実行する第1チェック処理部(12a)を含み、第1チェック処理部(12a)が、第1チェック処理において、第2演算処理部(14)から受け取ったデータが示す第1の値と複数の想定値とを照合して、第1の値が複数の想定値のうちのいずれかに該当するか否か判定し、第1の値が複数の想定値のうちのいずれかに該当するときには、第1の値を選択して第1選択値とし、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちのいずれかを選択して第2選択値とし、第1選択値又は第2選択値に基づいて制御処理が実行される。

Description

電子制御装置
 本発明は、電子制御装置に関し、特に、車両の駆動源や搭載機器に関連した複数の演算処理が実行されて異常な値を示すデータが発生したときに、その値を適切な値に訂正する電子制御装置に関する。
 近年、内燃機関や電動機といった駆動源を有する自動車等の車両には、演算処理装置及びメモリを備えた制御装置に加え、センサ、アクチュエータ、ネットワークシステム並びに通信システムといった種々の機器類が搭載されており、制御装置は、センサで得られた情報やメモリに記憶された情報に基づいて、必要に応じてネットワークシステムや通信システムを介して、駆動源やアクチュエータの動作を制御するようになっている。
 かかる制御装置においては、演算処理装置がメモリに記憶されている複数のソフトウエア(コンピュータプログラム)を読み出して、複数の演算処理を実行することになるが、その中の1つの演算処理の実行時間が不足して、そこで本来想定されている算出値が得られないような状況や、本来想定されている算出値が得られたとしても、そのデータをメモリに書き込んで記憶させるための書き込み時間が不足して、算出値を正しく記憶させることができないような状況が発生する可能性も考えられる。
 かかる状況下で、特許文献1は、マイクロコンピュータが起動時に誤り訂正符号を基にしてフラッシュROM(Read Only Memory)のデータのサムチェックを行い、その結果が本来示すべき結果に一致しない場合に、誤り制御プログラムを起動して実行し、データの異常箇所を割り出してその異常箇所を正常データに書き換えることにより、データ異常やデータ消滅といった状況が一旦発生したとしても、全エリアのデータが正常なデータに書き換えられることが可能となる構成を開示している。
特開2006-79229号公報
 しかしながら、本発明者の検討によれば、特許文献1の構成は、異常箇所を正常データに書き換えることを提案するものではあるが、その具体的な構成については何等開示や示唆がなされていない。
 特に、本発明者の検討によれば、車両の制御装置には、事実上標準化された汎用性の高いアプリケーションソフトウエアを外部から導入することがあるが、かかるソフトウエアと、車両の駆動源や種々の機器に個別に適用されるように作成されたアプリケーションソフトウエアと、が、同時並行的又は時系列的に実行される場合、いずれかの演算処理の実行時間やメモリへの書き込み時間が不足して、本来想定されている算出値が得られないような状況や、算出値をメモリに正しく記憶させることができないような状況が発生する場合が増加すると考えられるが、特許文献1の構成では、このような状況にも対処し得るような演算処理を実行する実用的な構成について何等の開示や示唆がなされておらず、かかる点で改良の余地があると考えられる。
 本発明は、以上の検討を経てなされたものであり、車両の駆動源や搭載機器に関連した複数の演算処理が実行される状況下で異常な値を示すデータが発生したときに、その値を適切な値に訂正することが可能な電子制御装置を提供することを目的とする。
 以上の目的を達成するべく、本発明は、第1演算処理部と、前記第1演算処理部との間でデータの受け渡しが行われる第2演算処理部と、を備えた電子制御装置であって、前記第1演算処理部は、前記データをチェックする第1チェック処理を実行する第1チェック処理部を含み、前記第1チェック処理部は、前記第1チェック処理において、前記第2演算処理部から受け取った前記データが示す第1の値と複数の想定値とを照合して、前記第1の値が前記複数の想定値のうちのいずれかに該当するか否か判定し、前記第1の値が前記複数の想定値のうちのいずれかに該当するときには、前記第1の値を選択して第1選択値とし、前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちのいずれかを選択して第2選択値とし、前記第1選択値又は前記第2選択値に基づいて制御処理が実行されることを第1の局面とする。
 また、本発明は、第1の局面に加えて、前記第1チェック処理部は、前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで所定の初期値に設定されているものを選択して前記第2選択値とすることを第2の局面とする。
 また、本発明は、第1の局面に加えて、前記第1チェック処理部は、前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで異常状態を示す所定の値に設定されているものを選択して前記第2選択値とすることを第3の局面とする。
 また、本発明は、第1の局面に加えて、前前記第1チェック処理部は、前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで前回に実行された前記第1チェック処理において選択されたものを選択して前記第2選択値とすることを第4の局面とする。
 また、本発明は、第1の局面に加えて、更にメモリが備えられ、前記第1演算処理部は、前記メモリにデータを書き込み、前記第1演算処理部は、前記メモリに書き込んだ前記データをチェックする第2チェック処理を実行する第2チェック処理部を含み、前記第2チェック処理部は、前記第2チェック処理において、前記メモリから読み出した前記データが示す第2の値と前記複数の想定値とを照合して、前記第2の値が前記複数の想定値のうちのいずれかに該当するか否か判定し、前記第2の値が前記複数の想定値のうちのいずれかに該当するときには、前記第2の値を選択して第3選択値とし、前記第2の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちのいずれかを選択して第4選択値とし、前記第3選択値又は前記第4選択値に基づいて制御処理が実行されることを第5の局面とする。
 また、本発明は、第5の局面に加えて、前記第2チェック処理部は、前記電子制御装置が起動される際に、前記第2の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで所定の初期値に設定されているものを選択して前記第4選択値とすることを第6の局面とする。
 以上の本発明の第1の局面にかかる電子制御装置によれば、第1演算処理部と、第1演算処理部との間でデータの受け渡しが行われる第2演算処理部と、を備えた電子制御装置であって、第1演算処理部が、データをチェックする第1チェック処理を実行する第1チェック処理部を含み、第1チェック処理部が、第1チェック処理において、第2演算処理部から受け取ったデータが示す第1の値と複数の想定値とを照合して、第1の値が複数の想定値のうちのいずれかに該当するか否か判定し、第1の値が複数の想定値のうちのいずれかに該当するときには、第1の値を選択して第1選択値とし、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちのいずれかを選択して第2選択値とし、第1選択値又は第2選択値に基づいて制御処理が実行されるものであるため、第2演算処理部から受け取ったデータが示す値が複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することを抑制することができる。
 また、本発明の第2の局面にかかる電子制御装置によれば、第1チェック処理部が、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで所定の初期値に設定されているものを選択して第2選択値とするものであるため、複数の想定値のうちで所定の初期値に設定されているものは、複数の想定値のうちで制御処理を最も安定して実行し得る可能性が高いものであることから、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
 また、本発明の第3の局面にかかる電子制御装置によれば、第1チェック処理部が、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで異常状態を示す所定の値に設定されているものを選択して第2選択値とするものであるため、チェック対象値である第1の値に非想定値が発生していることが明確になることから、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することを確実に回避したり、別の演算処理や制御処理を実行することに移行することができる。
 また、本発明の第4の局面にかかる電子制御装置によれば、第1チェック処理部が、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで前回に実行された第1チェック処理において選択されたものを選択して第2選択値とするものであるため、複数の想定値のうちで前回に実行された第1チェック処理において選択された前回値は、そもそも複数の想定値のいずれかであり、かつかかる前回値は、非想定値を示す今回値が本来取るべき値に近い値であることが期待できることから、本来取るべき値からの急変といった状況の急激な変化を回避することができ、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
 また、本発明の第5の局面にかかる電子制御装置によれば、更にメモリが備えられ、第1演算処理部が、メモリにデータを書き込み、第1演算処理部は、メモリに書き込んだデータをチェックする第2チェック処理を実行する第2チェック処理部を含み、第2チェック処理部が、第2チェック処理において、メモリから読み出したデータが示す第2の値と複数の想定値とを照合して、第2の値が複数の想定値のうちのいずれかに該当するか否か判定し、第2の値が複数の想定値のうちのいずれかに該当するときには、第2の値を選択して第3選択値とし、第2の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちのいずれかを選択して第4選択値とし、第3選択値又は第4選択値に基づいて制御処理が実行されるものであるため、メモリから読み出したデータが示す値が複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
 また、本発明の第6の局面にかかる電子制御装置によれば、第2チェック処理部が、電子制御装置が起動される際に、第2の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで所定の初期値に設定されているものを選択して第4選択値とするものであるため、電子制御装置が起動される際には、初期値を示すデータを用いることが一般的であることから、非想定値を複数の想定値のうちで所定の初期値に設定されているものに設定し直すことにより、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
図1は、本発明の実施形態における電子制御装置の構成を示すブロック図である。 図2は、本実施形態における電子制御装置のチェック処理の遷移の一例を示す模式図である。 図3は、本実施形態における電子制御装置のチェック処理の流れの一例を示すフローチャートである。 図4は、本実施形態における電子制御装置のチェック処理の遷移の別例を示す模式図である。 図5は、本実施形態における電子制御装置のチェック処理の流れの別例を示すフローチャートである。
 以下、図面を適宜参照して、本発明の実施形態における電子制御装置につき、詳細に説明する。
 〔基本構成〕
 まず、図1及び図2を参照して、本実施形態における電子制御装置の基本構成について説明する。
 図1は、本実施形態における電子制御装置の構成を示すブロック図である。また、図2は、本実施形態における電子制御装置のチェック処理の遷移の一例を示す模式図である。
 図1に示すように、本実施形態における電子制御装置1は、典型的には、CPU(Central Processing Unit)等から成るマイクロコンピュータ等を含んだ演算処理装置であるECU(Electronic Control Unit)10によって構成され、自動二輪車や自動四輪車等の車両の駆動源や搭載機器を制御する制御装置として用いられる。
 ECU10は、第1演算処理部12、第2演算処理部14及びメモリ16を備え、第1演算処理部12は、第1チェック処理部12aを含み、更に第2チェック処理部12bを含んでいてもよい。メモリ16には、必要な制御・処理プログラム及び制御・処理データが記憶されている。なお、図中では、第1演算処理部12、第2演算処理部14、第1チェック処理部12a及び第2チェック処理部12bは、制御・処理プログラムを実行する際の機能ブロックとして示す。
 ECU10は、バッテリ20からの電力がイグニッションスイッチ30を介して印加されることによって起動され、メモリ16から必要な制御・処理プログラム及び制御・処理データを読み出し、センサ40からの出力信号に基づいて、制御・処理プログラムを実行することによって、制御対象としての内燃機関であるエンジン50の運転状態や制御対象としての搭載機器であるアクチュエータ60の作動状態を制御する。なお、車両の駆動源としては、エンジン50の他に又はエンジン50に加えて電動モータを備えることもでき、車両の搭載機器としては、アクチュエータ60に加えて各種の能動部品等を備えることもできる。
 具体的には、ECU10において、第1演算処理部12は、典型的には、制御対象であるエンジン50やアクチュエータ60の制御に個別に適用されるように内製されたアプリケーションソフトウエアであってメモリ16に格納されているものを、読み出して機能させる機能ブロックであり、メモリ16から必要な制御・処理プログラム及び制御・処理データを読み出し、センサ40からの出力信号に基づいて、エンジン50の運転状態やアクチュエータ60の作動状態を制御するための第1演算処理を実行する。また、第2演算処理部14は、典型的には、事実上標準化された汎用性の高い外製のアプリケーションソフトウエアであってメモリ16に格納されていたものを、読み出して機能させる機能ブロックであり、第1演算処理部12との間でセンサ40の作動の正常又は異常を示す値を含む異常関連情報を含むデータの受け渡しが行われて、そのデータの値が示すセンサ40の正常又は異常を示す値の算出やその履歴管理等を含む異常管理をするための第2演算処理を実行する。第1演算処理部12と第2演算処理部14との間でのデータの受け渡しは、典型的には、事実上標準化されたランタイム環境を介して行われる。
 第1演算処理部12に含まれる第1チェック処理部12aは、そのチェック処理において、第2演算処理部14から受け取ったデータにおけるチェック対象値(第2演算処理部14により算出された算出値で、典型的には、正常を示す正常値として1が算出され、異常を示す異常値として0が算出されるもの:第1の値)と複数の想定値(典型的には、正常を示す正常値が1で、異常を示す異常値が0に設定される所定値)とを照合して、チェック対象値が複数の想定値のうちのいずれかに該当するか否か判定し、チェック対象値が複数の想定値のうちのいずれかに該当するときには、チェック対象値をそのまま選択して第1選択値とし、チェック対象値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちのいずれかを選択して第2選択値とする。つまり、第1チェック処理部12aは、典型的には、チェック対象値が0又は1であれば、これをそのまま対応して選択して0又は1である第1選択値とし、チェック対象値が0又は1以外の自然数等であれば、複数の想定値のうちのいずれかを選択して0又は1である第2選択値とすることになり、第1演算処理部12は、このような第1選択値又は第2選択値に基づいて、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行することになる。このように、第2演算処理部14から受け取ったデータが示す値が複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することを抑制可能である。
 ここで、一例として図2に示すように、まず、第1演算処理部12において、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する際に実行される第1演算処理工程102で、典型的にはセンサ40の異常関連情報を取得して異常関連値を算出する。このように算出された異常関連値は、第1演算処理部12において、情報渡し処理工程104で第2演算処理部14に渡すように取得される。このように取得された異常関連値は、第2演算処理部14における第2演算処理工程202によって受け取られて、その異常管理処理の対象となり、第2演算処理工程202では、受け取った異常関連値に基づいて、センサ40が正常であると判定する場合には正常値として1を算出し、センサ40が異常であると判定する場合には異常値として0を算出する。このように算出された1又は0を示すべき算出値は、第1演算処理部12に渡されて、情報受け取り処理工程106でチェック対象値(第1の値)として受け取られ、第1チェック処理部12aにおける第1チェック処理工程108によって、チェック対象値と複数の想定値(典型的には、正常を示す正常値が1で、異常を示す異常値が0に設定される所定値)とが照合されて、チェック対象値が複数の想定値である0又は1であれば、これがそのまま選択され0又は1である第1選択値が算出され、チェック対象値が0又は1以外の自然数等であれば、複数の想定値のうちのいずれかが選択されて0又は1である第2選択値が算出される。そして、第1演算処理部12における第1演算処理工程110(第1演算処理工程102と同様の演算処理工程)では、第1選択値又は第2選択値に基づいて、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行することになる。また、かかる制御処理の実行時に併せて、第1演算処理部12は、第1選択値又は第2選択値をメモリ16に書き込む。
 つまり、以上説明してきた第1演算処理部12の第1チェック処理部12aにおける第1チェック処理工程108では、第1演算処理部12で算出して第2演算処理部14に渡した典型的にはセンサ40の異常関連値を示すデータを用いて異常管理処理を実行する第2演算処理部14から受け取ったデータが示す値が、複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することを抑制可能であるが、その具体的な一例としての処理の流れは、図3に示される。以下、更に図3をも参照して、第1チェック処理部12aが第1チェック処理を実行する際の電子制御装置1の動作について説明する。
 〔第1チェック処理〕
 図3は、本実施形態における電子制御装置1のチェック処理の流れの一例を示すフローチャートであり、電子制御装置1のECU10の第1演算処理部12に含まれる第1チェック処理部12aにおける第1チェック処理(図2中の第1チェック処理工程108に相当)の具体的な処理内容の一例を示すものである。
 図3に示すフローチャートは、イグニッションスイッチ30がオフ状態からオン状態となり、ECU10が起動すると開始されるもので、第1チェック処理は、ステップS1の処理に進む。かかる第1チェック処理は、ECU10が起動状態である間、第1演算処理部12がメモリ16から必要な制御・処理プログラム及び制御・処理データを読み出して、所定の制御周期毎に繰り返し実行される。
 ステップS1の処理では、第1演算処理部12が、第2演算処理部14からチェック対象値である第1の値を受け取る。これにより、ステップS1の処理は完了し、第1演算処理部12は、第1チェック処理をステップS2の処理に進める。
 ステップS2の処理では、第1チェック処理部12aが、チェック対象値である第1の値と複数の想定値(典型的には、正常を示す正常値が1で、異常を示す異常値が0に設定される所定値)とを照合し、第1の値が複数の想定値のいずれかに該当するか否かを判定する。判定の結果、第1の値が複数の想定値のいずれかに該当する場合には、第1チェック処理部12aは、第1チェック処理をステップS3の処理に進める。一方で、判定の結果、第1の値が複数の想定値のいずれかに該当しない場合には、第1チェック処理部12aは、第1チェック処理をステップS4の処理に進める。なお、かかる複数の想定値のデータは、メモリ16に記憶されているものを読み出して参照した。
 ステップS3の処理では、第1チェック処理部12aが、チェック対象値である第1の値をそのまま選択し、対応して0又は1である選択値が算出される。これにより、ステップS3の処理は完了し、第1チェック処理部12aは、第1チェック処理をステップS5の処理に進める。
 ステップS4の処理では、第1チェック処理部12aが、複数の想定値のうちのいずれかの値を選択し、対応して0又は1である選択値が算出される。これにより、ステップS4の処理は完了し、第1チェック処理部12aは、第1チェック処理をステップS5の処理に進める。
 ステップS5の処理では、第1演算処理部12が、ステップS3の処理で算出された選択値又はステップS4の処理で算出された選択値に基づいて、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する。これにより、ステップS5の処理は完了し、今回の一連の第1チェック処理は終了する。なお、この際に、第1演算処理部12は、ステップS3の処理で算出された選択値又はステップS4の処理で算出された選択値をメモリ16に書き込んでもよい。
 なお、第1チェック処理部12aは、チェック対象値である第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで所定の初期値に設定されているものを選択して選択値とすることが好ましい。これは、複数の想定値のうちで所定の初期値に設定されているものは、複数の想定値のうちで制御処理を最も安定して実行し得る可能性が高いものであることを考慮したもので、かかる構成により、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することが可能となる。また、複数の想定値のうちで何を所定の初期値に設定するかは、センサ40の検知対象に応じて予め決定しておいてもよく、例えば、センサ40の検知対象が制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する上で重要であり、センサ40が正常に機能していな状態でのその出力信号をかかる制御対象の制御処理に用いると、適切に制御処理が実行され得ない場合には、その制御処理の実行を禁止するように、複数の想定値における所定の初期値を、異常値に相当する0に設定しておくことが好ましく、一方で、センサ40の検知対象が制御処理を実行する上であまり重要視する必要がなく制御処理の実行が優先されるような場合には、制御処理を禁止する必然性もないので、複数の想定値の所定の初期値を準正常値に相当することを意味する2等に設定しつつ制御処理を実行してもよい。
 また、第1チェック処理部12aは、チェック対象値である第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで異常状態を示す所定の値に設定されているものを選択して選択値とすることが好ましい。これは、チェック対象値である第1の値に非想定値が発生していることを明確にするための対処であり、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することを確実に回避したり、別の演算処理や制御処理を実行することに移行することを可能とする。
 また、第1チェック処理部12aは、チェック対象値である第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで前回に実行された第1チェック処理において選択されたものを選択して選択値とすることが好ましい。これは、複数の想定値のうちで前回に実行された第1チェック処理において選択された前回値は、そもそも複数の想定値のいずれかであり、かつかかる前回値は、非想定値を示す今回値が本来取るべき値に近い値であることが期待できることを考慮したもので、制御処理に用いる値が本来取るべき値からの急変といった状況の急激な変化を回避することができ、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することが可能となる。
 〔別例の構成及び第2チェック処理〕
 さて、図1に示すように、第1演算処理部12は、第1チェック処理部12aに加えて、第2チェック処理部12bを含んでいてもよい。かかる第2チェック処理部12bは、そのチェック処理において、第1演算処理部12が予めメモリ16に書き込んだデータをメモリ16から読み出して、そのデータにおけるチェック対象値(第1チェック処理部12aがそのチェック処理で選択した選択値を、第1演算処理部12が、かかる選択値に基づいて制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する際にメモリ16に書き込んだもの:センサ40の異常関連値である第2の値)と複数の想定値(典型的には、正常を示す正常値が1で、異常を示す異常値が0に設定される所定値)とを照合して、チェック対象値が複数の想定値のうちのいずれかに該当するか否か判定し、チェック対象値が複数の想定値のうちのいずれかに該当するときには、チェック対象値をそのまま選択して第3選択値とし、チェック対象値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちのいずれかを選択して第4選択値とする。つまり、第2チェック処理部12bは、第1チェック処理部12aと同様に、典型的には、チェック対象値が0又は1であれば、これをそのまま選択して0又は1である第3選択値とし、チェック対象値が0又は1以外の自然数等であれば、複数の想定値のうちのいずれかを選択して0又は1である第4選択値とすることになる。かかる第2チェック処理部12bのチェック処理は、典型的には、第1演算処理部12がメモリ16に第3選択値又は第4選択値を示すデータを書き込んだ後やイグニッションスイッチ30がオフ状態からオン状態となりECU10が起動される際に実行されるものである。また、第1演算処理部12は、このような第3選択値又は第4選択値に基づいて、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行することになる。このようにメモリ16から読み出したデータが示す値が複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することが可能となる。そこで、次に、図4を参照して、本実施形態における電子制御装置1における第1演算処理部12の第2チェック処理部12bが実行する第2チェック処理を、チェック処理の別例として詳細に説明する。
 図4は、本実施形態における電子制御装置のチェック処理の遷移の別例を示す模式図である。
 図4に別例として示すように、まず、イグニッションスイッチ30がオフ状態からオン状態となりECU10が起動される際に、第1演算処理部12において、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する際に実行される第3演算処理工程152で、第1演算処理部12が、予めメモリ16に書き込んでいたデータをメモリ16から読み出す。かかるデータは、典型的には、前回に実行されたチェック処理(後述する第3チェック処理工程160によるもの)において、第1チェック処理部12aが選択した選択値(後述する第5選択値又は第6選択値:センサ40の異常関連値である第2の値)を、第1演算処理部12が、かかる選択値に基づいて制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する際に、メモリ16に書き込んでいたものである。このように読み出されたデータにおける第2の値は、第1演算処理部12において、第2チェック処理部12bにおける第2チェック処理工程154によるチェック対象値とされ、第2チェック処理工程154によって、チェック対象値と複数の想定値(典型的には、正常を示す正常値が1で、異常を示す異常値が0に設定される所定値)とが照合されて、チェック対象値が複数の想定値である0又は1であれば、これがそのまま選択され0又は1である第3選択値が算出され、チェック対象値が0又は1以外の自然数等であれば、複数の想定値のうちのいずれかが選択されて0又は1である第4選択値が算出される。かかる第3選択値又は第4選択値は、第1演算処理部12において、第3演算処理工程152に戻されて、第3演算処理工程152において、第1演算処理部12が、第3選択値又は第4選択値に基づいて、エンジン50の運転状態やアクチュエータ60の作動状態を制御する制御処理を実行することが可能となる。また、かかる第3選択値又は第4選択値は、第1演算処理部12において、情報渡し処理工程156で第2演算処理部14に渡すように取得される。このように取得された第3選択値又は第4選択値は、第2演算処理部14における情報受け取り処理工程252を経て第4演算処理工程254によって受け取られて、その異常管理処理の対象となり、第4演算処理工程254は、受け取った第3選択値又は第4選択値に基づいて、センサ40が正常であると判定する場合には正常値として1を算出し、センサ40が異常であると判定する場合には異常値として0を算出することになる。なお、情報受け取り処理工程252の機能は、第4演算処理工程254に含まれてもよい。
 引き続き、ECU10の起動は完了して、ECU10が通常動作を継続すると、このように第4演算処理工程256で算出された1又は0を示すべき算出値は、第2演算処理部14における情報渡し処理工程258を経て第1演算処理部12に渡されて、情報受け取り処理工程158でチェック対象値(図2中の第1の値と同様な第3の値)として受け取られ、第1チェック処理部12aにおける第3チェック処理工程160(図2中の第1チェック処理工程108と同様なチェック処理工程)によって、チェック対象値と複数の想定値(典型的には、正常を示す正常値が1で、異常を示す異常値が0に設定される所定値)とが照合されて、チェック対象値が複数の想定値である0又は1であれば、これがそのまま選択され0又は1である第5選択値が算出され、チェック対象値が0又は1以外の自然数等であれば、複数の想定値のうちのいずれかが選択されて0又は1である第6選択値が算出される。そして、第1演算処理部12における第3演算処理工程162(第3演算処理工程152と同様な演算処理工程)では、第5選択値又は第6選択値に基づいて、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行することになると共に、第5選択値又は第6選択値、つまり第2の値を含むデータをメモリ16に書き込むことになる。なお、情報渡し処理工程258の機能は、第4演算処理工程254に含まれてもよい。
 つまり、以上説明してきた第1演算処理部12の第2チェック処理部12bにおける第2チェック処理工程154では、第1演算処理部12でメモリ16から読み出したセンサ40の異常関連値を示すデータの値が複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することを抑制可能であるが、その具体的な一例としての処理の流れは、図5に示される。以下、更に図5をも参照して、第2チェック処理部12bが第2チェック処理を実行する際の電子制御装置1の動作について説明する。
 図5は、本実施形態における電子制御装置1のチェック処理の流れの別例を示すフローチャートであり、電子制御装置1のECU10の第1演算処理部12に含まれる第2チェック処理部12bにおける第2チェック処理(図4中の第2チェック処理工程154に相当)の具体的な処理内容の一例を示すものである。
 図5に示すフローチャートは、イグニッションスイッチ30がオフ状態からオン状態となり、ECU10が起動すると開始されるもので、第2チェック処理は、ステップS11の処理に進む。かかる第2チェック処理は、ECU10が起動状態である間、第1演算処理部12がメモリ16から必要な制御・処理プログラム及び制御・処理データを読み出して所定の制御周期毎に繰り返し実行される。
 ステップS11の処理では、第1演算処理部12が、イグニッションスイッチ30の通電状態を検出することにより、イグニッションスイッチ30がオン操作されてオン状態であるか否かを判別する。判別の結果、イグニッションスイッチ30がオン状態である場合には、第1演算処理部12は、第2チェック処理をステップS12の処理に進める。一方で、判別の結果、イグニッションスイッチ30がオン状態でない場合には、第1演算処理部12は、ステップS11の処理を繰り返す。
 ステップS12の処理では、第1演算処理部12が、メモリ16からチェック対象値である第2の値を読み出す。これにより、ステップS12の処理は完了し、第1演算処理部12は、第2チェック処理をステップS13の処理に進める。
 ステップS13の処理では、第2チェック処理部12bが、チェック対象値である第2の値と複数の想定値(典型的には、正常を示す正常値が1で、異常を示す異常値が0に設定される所定値)とを照合し、第1の値が複数の想定値のいずれかに該当するか否かを判定する。判定の結果、第2の値が複数の想定値のいずれかに該当する場合には、第2チェック処理部12bは、第2チェック処理をステップS14の処理に進める。一方で、判定の結果、第2の値が複数の想定値のいずれかに該当しない場合には、第2チェック処理部12bは、第2チェック処理をステップS15の処理に進める。なお、かかる複数の想定値のデータは、メモリ16に記憶されているものを読み出して参照した。
 ステップS14の処理では、第2チェック処理部12bが、チェック対象値である第2の値をそのまま選択し、0又は1である選択値が算出される。これにより、ステップS14の処理は完了し、第2チェック処理部12bは、第2チェック処理をステップS16の処理に進める。
 ステップS15の処理では、第2チェック処理部12bが、複数の想定値のうちのいずれかの値を選択し、0又は1である選択値が算出される。これにより、ステップS15の処理は完了し、第2チェック処理部12bは、第2チェック処理をステップS16の処理に進める。
 ステップS16の処理では、第1演算処理部12が、ステップS14の処理で算出された選択値又はステップS15の処理で算出された選択値に基づいて、制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する。これにより、ステップS16の処理は完了し、今回の一連の第2チェック処理は終了する。
 なお、第2チェック処理部12bは、ECU10が起動される際に、チェック対象値である第2の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで所定の初期値に設定されているものを選択して選択値とすることが好ましい。これは、ECU10が起動される際には、初期値を示すデータを用いることが一般的であることや、複数の想定値のうちで所定の初期値に設定されているものは、複数の想定値のうちで制御処理を最も安定して実行し得る可能性が高いものであることを考慮したもので、かかる構成により、制御対象が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することが可能となる。また、複数の想定値のうちで何を所定の初期値に設定するかは、センサ40の検知対象に応じて予め決定しておいてもよく、例えば、センサ40の検知対象が制御対象としてのエンジン50の運転状態や制御対象としてのアクチュエータ60の作動状態を制御する制御処理を実行する上で重要であり、センサ40が正常に機能していな状態でのその出力信号をかかる制御対象の制御処理に用いると、適切に制御処理が実行され得ない場合には、その制御処理の実行を禁止するように、複数の想定値における所定の初期値を、異常値に相当する0に設定しておくことが好ましく、一方で、センサ40の検知対象が制御処理を実行する上であまり重要視する必要がなく制御処理の実行が優先されるような場合には、制御処理を禁止する必然性もないので、複数の想定値の所定の初期値を準正常値に相当することを意味する2等に設定しつつ制御処理を実行してもよい。
 以上の説明から明らかなように、本実施形態における電子制御装置1では、第1演算処理部12と、第1演算処理部12との間でデータの受け渡しが行われる第2演算処理部14と、を備え、第1演算処理部12が、データをチェックする第1チェック処理を実行する第1チェック処理部12aを含み、第1チェック処理部12aが、第1チェック処理において、第2演算処理部14から受け取ったデータが示す第1の値と複数の想定値とを照合して、第1の値が複数の想定値のうちのいずれかに該当するか否か判定し、第1の値が複数の想定値のうちのいずれかに該当するときには、第1の値を選択して第1選択値とし、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちのいずれかを選択して第2選択値とし、第1選択値又は第2選択値に基づいて制御処理が実行されるものであるため、第2演算処理部14から受け取ったデータが示す値が複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象50、60が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象50、60の制御が実行不可となるような想定外の状況が発生することを抑制することができる。
 また、本実施形態における電子制御装置1では、第1チェック処理部12aが、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで所定の初期値に設定されているものを選択して第2選択値とするものであるため、複数の想定値のうちで所定の初期値に設定されているものは、複数の想定値のうちで制御処理を最も安定して実行し得る可能性が高いものであることから、制御対象50、60が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象50、60の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
 また、本実施形態における電子制御装置1では、第1チェック処理部12aが、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで異常状態を示す所定の値に設定されているものを選択して第2選択値とするものであるため、チェック対象値である第1の値に非想定値が発生していることが明確になることから、制御対象50、60が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象50、60の制御が実行不可となるような想定外の状況が発生することを確実に回避したり、別の演算処理や制御処理を実行することに移行することができる。
 また、本実施形態における電子制御装置1では、第1チェック処理部12aが、第1の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで前回に実行された第1チェック処理において選択されたものを選択して第2選択値とするものであるため、複数の想定値のうちで前回に実行された第1チェック処理において選択された前回値は、そもそも複数の想定値のいずれかであり、かつかかる前回値は、非想定値を示す今回値が本来取るべき値に近い値であることが期待できることから、本来取るべき値からの急変といった状況の急激な変化を回避することができ、制御対象50、60が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象50、60の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
 また、本実施形態における電子制御装置1では、更にメモリ16が備えられ、第1演算処理部12が、メモリ16にデータを書き込み、第1演算処理部12が、メモリに書き込んだデータをチェックする第2チェック処理を実行する第2チェック処理部12bを含み、第2チェック処理部12bが、第2チェック処理において、メモリ16から読み出したデータが示す第2の値と複数の想定値とを照合して、第2の値が複数の想定値のうちのいずれかに該当するか否か判定し、第2の値が複数の想定値のうちのいずれかに該当するときには、第2の値を選択して第3選択値とし、第2の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちのいずれかを選択して第4選択値とし、第3選択値又は第4選択値に基づいて制御処理が実行されるものであるため、メモリ16から読み出したデータが示す値が複数の想定値以外の非想定値を示す場合に、その値を複数の想定値のいずれかに設定し直すことにより、非想定値によって制御対象50、60が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象50、60の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
 また、本実施形態における電子制御装置1では、第2チェック処理部12bが、電子制御装置1が起動される際に、第2の値が複数の想定値のうちのいずれかに該当しないときには、複数の想定値のうちで所定の初期値に設定されているものを選択して第4選択値とするものであるため、電子制御装置1が起動される際には、初期値を示すデータを用いることが一般的であることから、非想定値を複数の想定値のうちで所定の初期値に設定されているものに設定し直すことにより、制御対象50、60が異常な動作を起こしたり、実行すべき演算処理が実行不可となって制御対象50、60の制御が実行不可となるような想定外の状況が発生することをより確実に抑制することができる。
 なお、本発明は、部材の種類、形状、配置、個数等は前述の実施形態に限定されるものではなく、その構成要素を同等の作用効果を奏するものに適宜置換する等、発明の要旨を逸脱しない範囲で適宜変更可能であることはもちろんである。
 以上のように、本発明は、車両の駆動源や搭載機器に関連した複数の演算処理が実行される状況下で異常な値を示すデータが発生したときに、その値を適切な値に訂正することが可能な電子制御装置を提供することができるものであり、その汎用普遍的な性格から自動二輪車や自動四輪車等の車両の電子制御装置に広く適用され得るものと期待される。
1…電子制御装置
10…ECU(Electronic Control Unit)
12…第1演算処理部
12a…第1チェック処理部
12b…第2チェック処理部
14…第2演算処理部
16…メモリ
20…バッテリ
30…イグニッションスイッチ
40…センサ
50…エンジン
60…アクチュエータ

Claims (6)

  1.  第1演算処理部と、
     前記第1演算処理部との間でデータの受け渡しが行われる第2演算処理部と、
    を備えた電子制御装置であって、
     前記第1演算処理部は、前記データをチェックする第1チェック処理を実行する第1チェック処理部を含み、
     前記第1チェック処理部は、前記第1チェック処理において、
     前記第2演算処理部から受け取った前記データが示す第1の値と複数の想定値とを照合して、前記第1の値が前記複数の想定値のうちのいずれかに該当するか否か判定し、
     前記第1の値が前記複数の想定値のうちのいずれかに該当するときには、前記第1の値を選択して第1選択値とし、
     前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちのいずれかを選択して第2選択値とし、
     前記第1選択値又は前記第2選択値に基づいて制御処理が実行されることを特徴とする電子制御装置。
  2.  前記第1チェック処理部は、前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで所定の初期値に設定されているものを選択して前記第2選択値とすることを特徴とする請求項1に記載の電子制御装置。
  3.  前記第1チェック処理部は、前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで異常状態を示す所定の値に設定されているものを選択して前記第2選択値とすることを特徴とする請求項1に記載の電子制御装置。
  4.  前記第1チェック処理部は、前記第1の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで前回に実行された前記第1チェック処理において選択されたものを選択して前記第2選択値とすることを特徴とする請求項1に記載の電子制御装置。
  5.  更にメモリが備えられ、
     前記第1演算処理部は、前記メモリにデータを書き込み、
     前記第1演算処理部は、前記メモリに書き込んだ前記データをチェックする第2チェック処理を実行する第2チェック処理部を含み、
     前記第2チェック処理部は、前記第2チェック処理において、
     前記メモリから読み出した前記データが示す第2の値と前記複数の想定値とを照合して、前記第2の値が前記複数の想定値のうちのいずれかに該当するか否か判定し、
     前記第2の値が前記複数の想定値のうちのいずれかに該当するときには、前記第2の値を選択して第3選択値とし、
     前記第2の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちのいずれかを選択して第4選択値とし、
     前記第3選択値又は前記第4選択値に基づいて制御処理が実行されることを特徴とする請求項1に記載の電子制御装置。
  6.  前記第2チェック処理部は、前記電子制御装置が起動される際に、前記第2の値が前記複数の想定値のうちのいずれかに該当しないときには、前記複数の想定値のうちで所定の初期値に設定されているものを選択して前記第4選択値とすることを特徴とする請求項5に記載の電子制御装置。
PCT/JP2022/022450 2022-06-02 2022-06-02 電子制御装置 WO2023233611A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/022450 WO2023233611A1 (ja) 2022-06-02 2022-06-02 電子制御装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/022450 WO2023233611A1 (ja) 2022-06-02 2022-06-02 電子制御装置

Publications (1)

Publication Number Publication Date
WO2023233611A1 true WO2023233611A1 (ja) 2023-12-07

Family

ID=89026115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/022450 WO2023233611A1 (ja) 2022-06-02 2022-06-02 電子制御装置

Country Status (1)

Country Link
WO (1) WO2023233611A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009061987A (ja) * 2007-09-07 2009-03-26 Hitachi Ltd 車両用電子制御装置
JP2011095875A (ja) * 2009-10-28 2011-05-12 Toyota Motor Corp 車両用制御装置、及びその制御方法
JP2014058210A (ja) * 2012-09-18 2014-04-03 Hitachi Automotive Systems Ltd 車両制御装置および車両制御システム
JP2016188004A (ja) * 2015-03-30 2016-11-04 三菱電機株式会社 点灯制御装置及び光源点灯装置
WO2019207767A1 (ja) * 2018-04-27 2019-10-31 株式会社日立製作所 制御装置および制御方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009061987A (ja) * 2007-09-07 2009-03-26 Hitachi Ltd 車両用電子制御装置
JP2011095875A (ja) * 2009-10-28 2011-05-12 Toyota Motor Corp 車両用制御装置、及びその制御方法
JP2014058210A (ja) * 2012-09-18 2014-04-03 Hitachi Automotive Systems Ltd 車両制御装置および車両制御システム
JP2016188004A (ja) * 2015-03-30 2016-11-04 三菱電機株式会社 点灯制御装置及び光源点灯装置
WO2019207767A1 (ja) * 2018-04-27 2019-10-31 株式会社日立製作所 制御装置および制御方法

Similar Documents

Publication Publication Date Title
JP4803168B2 (ja) 車両用情報記憶装置
JP2004218614A (ja) 車載電子制御装置
JP5967059B2 (ja) 車両用電子制御装置
JP3969278B2 (ja) 電子制御装置
US20230297368A1 (en) Software update apparatus, software update method, non-transitory storage medium storing program, vehicle, and ota master
US20100299023A1 (en) Electronic control unit and vehicle control system
JP4001088B2 (ja) 電子制御装置
WO2023233611A1 (ja) 電子制御装置
JP2002091834A (ja) Rom診断装置
JP6663371B2 (ja) 電子制御装置
JP2014080951A (ja) 車両用制御装置
JPH11141391A (ja) 自動車用制御装置
JP3296043B2 (ja) 車両用電子制御装置
WO2019064644A1 (ja) 電子制御装置及び制御プログラム検証方法
JP5226653B2 (ja) 車載制御装置
JP5453984B2 (ja) Ram診断装置、そのプログラム
JP2020035503A (ja) 自動車用電子制御装置
JP5872982B2 (ja) 車両用制御装置
US20190355188A1 (en) Method for authenticating a diagnostic trouble code generated by a motor vehicle system of a vehicle
JP2004021520A (ja) 車両用電子制御装置
JP7200883B2 (ja) 電子制御装置
JP4639920B2 (ja) 電子制御装置
KR100230020B1 (ko) Eprom 진단방법
US20240036878A1 (en) Method for booting an electronic control unit
US20220360992A1 (en) Control system

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: 22944893

Country of ref document: EP

Kind code of ref document: A1