Electronic control device
The electronic control device uses an inference model to calculate the target drive output when input abnormalities are detected, ensuring accurate operation and energy efficiency by compensating for faulty input information.
Patent Information
- Application Number
- JP2023035917
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-03-08
AI Technical Summary
Existing electronic control devices fail to accurately calculate a target drive output when an abnormality occurs in one piece of input information.
The device employs an acquisition unit to gather input information, a determination unit to check for abnormalities, and a first calculation unit to calculate the target drive output from normal input. If an abnormality is detected, a second calculation unit uses an inference model to calculate the output, ensuring accuracy even with faulty input.
The device can correctly calculate the target drive output even when one or more inputs are abnormal, maintaining operational precision and energy efficiency.
Smart Images

Figure 2024127058000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to electronic control devices. [Background technology]
[0002] Patent Document 1 discloses a technique for controlling an electric water pump as an example of an electronic control device. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2009-197616 A Summary of the Invention [Problem to be solved by the invention]
[0004] The electronic control unit calculates the target drive power from a plurality of pieces of input information, but if an abnormality occurs in one piece of input information, the electronic control unit cannot correctly calculate the target drive power.
[0005] One disclosed object is to provide an electronic control device that can correctly calculate a target drive output even if an abnormality occurs in one of a plurality of pieces of input information. [Means for solving the problem]
[0006] The electronic control device disclosed herein comprises: An electronic control device that drives and controls a driven device, An acquisition unit (S10) for acquiring a plurality of pieces of input information; A determination unit (S11) that determines whether or not there is an abnormality in at least one of the plurality of pieces of input information; a first calculation unit (S12) that calculates a target drive output to a drive target device from a plurality of pieces of input information when the determination unit determines that there is no abnormality; The device is characterized by comprising a second calculation unit (S15) that calculates a target drive output using the inference model when the determination unit determines that there is an abnormality.
[0007] In this way, when the judgment unit does not judge that there is an abnormality, the electronic control unit calculates the target drive output from the multiple pieces of input information. However, when the judgment unit judges that there is an abnormality, the electronic control unit calculates the target drive output using an inference model. Therefore, the electronic control unit can correctly calculate the target drive output even if there is an abnormality in at least one of the multiple pieces of input information.
[0008] The aspects disclosed in this specification adopt different technical means to achieve their respective objectives. The claims and the parenthetical symbols described in this section are illustrative of the corresponding relationship with the embodiments described below, and are not intended to limit the technical scope. The objectives, features, and effects disclosed in this specification will become clearer by referring to the following detailed description and the attached drawings. [Brief description of the drawings]
[0009] [Figure 1] FIG. 2 is a block diagram showing a schematic configuration of an electronic control device. [Diagram 2] 4 is a flowchart showing a processing operation of an electronic control device. [Diagram 3] 4 is a flowchart showing an inference model creation process of an electronic control device. [Figure 4] 1 is a diagram showing an example of input data. [Diagram 5] 13 is a flowchart showing an inference model creation process of an electronic control device in a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. In this embodiment, as an example, an electronic control device 100 that controls the drive of a drive target device mounted on a vehicle is adopted. In addition, in this embodiment, an electric water pump is adopted as an example of the drive target device. However, the present disclosure is not limited to the above configuration.
[0011] 1, the electronic control device 100 is connected to a plurality of sensors 200 and an actuator 300. The electronic control device 100 is connected to the following sensors 200: a coil temperature sensor that detects the coil temperature of an inverter, an element temperature sensor that detects the element temperature of a switching element of the inverter, and a coolant temperature sensor that detects the temperature of coolant that cools the inverter. Note that the element temperature may be the ambient temperature of the switching element.
[0012] The electronic control device 100 receives detection signals from the sensors 200. Each detection signal is information for calculating a target drive output to the electric water pump. Hereinafter, the detection signals are referred to as input information. Each detection signal changes depending on the running state of the vehicle, etc. For this reason, the detection signals can also be called vehicle information. The target drive output is a control signal for driving and controlling the electric water pump. The target drive output can also be called a target drive duty [%]. Note that the electronic control device 100 may receive signals (information) other than the input information, which is information for calculating the target drive output to the electric water pump, from the multiple sensors 200 and actuators 300. In other words, the input information in this embodiment is information used for calculating the target drive output in a normal state, among information input to the electronic control device 100.
[0013] The electronic control unit 100 may receive input information directly from each sensor 200, or indirectly via another device. The electronic control unit 100 may calculate the target drive output from four or more pieces of input information. The electronic control unit 100 may also calculate the target drive output from two pieces of input information.
[0014] Actuator 300 is a motor provided in an electric water pump. In addition to the motor, the electric water pump also includes an impeller that rotates together with the rotor of the motor. Electronic control device 100 drives and controls actuator 300 of the electric water pump. The electric water pump circulates cooling water in a cooling pipe by being driven and controlled. The electric water pump can also adjust the flow rate of the cooling water by being driven and controlled. The cooling pipe is disposed in a position where it can cool, for example, an inverter that supplies power to a rotating electric machine, etc.
[0015] The electronic control device 100 may be connected to other electronic control devices other than the electronic control device 100, in addition to the sensors 200 and the actuators 300. In this case, the electronic control device 100 may receive an abnormality signal indicating that each piece of input information is abnormal from the other electronic control device.
[0016] The electronic control device 100 includes a microcomputer 10. The microcomputer 10 includes a calculation unit 20 such as a CPU, a platform 30 such as an interface circuit, and a storage unit 40 such as a volatile memory or non-volatile memory.
[0017] The calculation unit 20 executes a program stored in the storage unit 40. The calculation unit 20 performs various calculation processes by executing the program. For example, the calculation unit 20 calculates a target drive output using three pieces of input information.
[0018] The platform 30 is connected to each sensor 200 and an actuator 300. The platform 30 outputs input information from each sensor 200 to the calculation unit 20. The platform 30 outputs a target drive output from the calculation unit 20 to the actuator 300.
[0019] The storage unit 40 stores programs and inference models executed by the calculation unit 20. The inference model is a model for calculating a target drive output using a portion of the input information. The calculation unit 20 can obtain a target drive output by using the inference model and a portion of the input information, without using the three pieces of input information.
[0020] 2 to 4, the processing operation of the electronic control device 100 will be described. The flowchart in Fig. 2 shows processing that is mainly executed by the microcomputer 10. The microcomputer 10 starts the flowchart in Fig. 2 when, for example, an ignition switch is turned on.
[0021] In step S10, each piece of input information is acquired (acquisition unit). The calculation unit 20 acquires each piece of input information via the platform 30.
[0022] In step S11, it is determined whether or not there is an abnormality in the input information (determination unit). The calculation unit 20 determines whether or not there is an abnormality in at least one of the three pieces of input information based on the values indicated by each piece of input information and abnormality signals from other electronic control devices. If the calculation unit 20 determines that there is no abnormality, it proceeds to step S12, and if it determines that there is an abnormality, it proceeds to step S15. Note that in this embodiment, if it is determined that there is an abnormality in all of the input information, the flowchart in FIG. 2 is terminated. In other words, even if the calculation unit 20 determines that there is an abnormality, it proceeds to step S15 only if there is normal input information. The calculation unit 20 can grasp which input information is abnormal.
[0023] In step S12, the target drive output is calculated from the input information (first calculation unit). When the calculation unit 20 does not determine that there is an abnormality in the input information, that is, when the calculation unit 20 determines that the three pieces of input information are normal, the calculation unit 20 calculates the target drive output from the three pieces of input information.
[0024] In step S13, the electric water pump is driven. The calculation unit 20 outputs the target driving power calculated in step S12 to the electric water pump via the platform 30. In this way, the calculation unit 20 drives the electric water pump.
[0025] In step S14, an inference model is created (creation unit). The calculation unit 20 creates an inference model if it does not determine that there is an abnormality. In other words, if the calculation unit 20 does not determine that there is an abnormality in the input information, it creates an inference model using normal input information. Note that it is sufficient for the calculation unit 20 to use at least one normal piece of input information when creating an inference model.
[0026] This allows the calculation unit 20 to create an inference model using normal values of input information that changes depending on the vehicle's running state, etc. Therefore, the calculation unit 20 can create an inference model that can calculate an accurate target drive output suitable for the vehicle's running state.
[0027] In step S15, the target driving output is calculated from the inference model and the input information (second calculation unit). When the calculation unit 20 determines that there is an abnormality in the input information, it calculates the target driving output using normal input information and the inference model. In other words, the calculation unit 20 calculates the target driving output without using the abnormal input information. Since the calculation unit 20 calculates the target driving output using the inference model described above, it can appropriately control the driving of the electric water pump.
[0028] In step S16, the electric water pump is driven. The calculation unit 20 outputs the target driving output calculated using the inference model to the electric water pump via the platform 30. In this way, the calculation unit 20 drives the electric water pump.
[0029] Here, the process of creating an inference model will be described with reference to Figures 3 and 4. When the microcomputer 10 proceeds to step S14, it starts the flow chart of Figure 3.
[0030] In step S20, one piece of input information is selected. Here, the calculation unit 20 selects one piece of input information from three pieces of input information. This is to create an inference model from the remaining two pieces of input information.
[0031] In step S21, the remaining input information is set as input data. The calculation unit 20 saves the time series data of the two pieces of input information other than the input information selected in step S20. The calculation unit 20 sets the time series data as input data. Fig. 4 shows, as an example, the input data when the element temperature is selected in step S20.
[0032] In this embodiment, as shown in step S27, steps S20 to S26 are repeatedly executed until all input information is selected. Therefore, in addition to the above input data, the calculation unit 20 sets input data when the coil temperature is selected in step S20 and input data when the cooling water temperature is selected. Note that the number of input data differs depending on the number of input information.
[0033] In step S22, the input data is divided into learning data and test data. At this time, the calculation unit 20 randomly divides the data so that there is no extreme bias in the number of data. The calculation unit 20 also divides the data into a plurality of learning data and a plurality of test data. Note that steps S22 to S26 are executed for each input data.
[0034] In step S23, the learning data is input to a machine learning model to create an inference model. The calculation unit 20 inputs the learning data to a predetermined supervised machine learning model to create an inference model. That is, the calculation unit 20 inputs the values of each piece of input information and each target drive output in the learning data to the machine learning model to create an inference model. The calculation unit 20 generates an inference model for each input model set in step S21. Thus, the calculation unit 20 generates an inference model that calculates a target drive output from the coil temperature and element temperature, an inference model that calculates a target drive output from the element temperature and coolant temperature, and an inference model that calculates a target drive output from the coolant temperature and coil temperature.
[0035] Therefore, for example, when an abnormality occurs in the coil temperature, the calculation unit 20 calculates the target drive output using the second inference model in step S15. That is, the calculation unit 20 calculates the target drive output from the element temperature, the coolant temperature, and the second inference model.
[0036] In this way, the calculation unit 20 creates an inference model by machine learning. The calculation unit 20 creates an inference model with input information for calculating the target drive output. Therefore, the calculation unit 20 can complement each other between pieces of input information, so that a highly accurate inference model can be created.
[0037] In addition, the calculation unit 20 can shorten the time required for adaptation due to differences in the environment. In addition, since the calculation unit 20 can remove input information with low correlation when performing correlation analysis using machine learning, it is not necessary to select input information in advance. Therefore, the calculation unit 20 can shorten the time required to select input information.
[0038] It is advisable to use different machine learning models depending on the purpose. For example, if you want to find the value [%] of the target drive output, use a regression model such as linear regression. If you want to classify the target drive output into stages, use a classification model such as the k-nearest neighbor method.
[0039] In step S24, a target drive output is calculated from the inference model and the test data. The calculation unit 20 calculates a target drive output for evaluating the inference model. To this end, the calculation unit 20 inputs a plurality of test data that have not been used to create the inference model into the inference model to calculate the target drive output. Thus, the calculation unit 20 calculates a plurality of target drive outputs corresponding to each test data.
[0040] In step S25, it is determined whether or not the inference model needs to be updated. If it is determined that the inference model needs to be updated, the calculation unit 20 proceeds to step S26, and if it is determined that the inference model does not need to be updated, the calculation unit 20 proceeds to step S27.
[0041] The calculation unit 20 evaluates the accuracy of the inference model created in step S23 from a plurality of target drive outputs calculated from a plurality of test data sets. Then, the calculation unit 20 determines from the evaluation result whether or not the inference model needs to be updated.
[0042] The calculation unit 20 may determine whether or not updating is necessary depending on the maximum error of the multiple target drive outputs obtained in step S24, for example. In this case, the calculation unit 20 calculates the maximum error of the multiple target drive outputs obtained in step S24. Then, if the maximum error is equal to or less than a predetermined threshold (evaluation value), the calculation unit 20 determines that the inference model created in step S23 has improved accuracy compared to the current inference model and that updating of the inference model is necessary. On the other hand, if the maximum error exceeds the predetermined threshold, the calculation unit 20 determines that the inference model created in step S23 has decreased accuracy compared to the current inference model and that updating of the inference model is not necessary.
[0043] The calculation unit 20 may determine whether or not updating is necessary based on the average value of a plurality of target drive outputs. In this case, the calculation unit 20 calculates the average value of a plurality of target drive outputs. Then, the calculation unit 20 determines that updating is necessary when the average value is equal to or less than the evaluation value, and determines that updating is not necessary when the average value exceeds the evaluation value.
[0044] In step S26, the inference model is updated. The calculation unit 20 updates the inference model stored in the memory unit 40 to the inference model created in step S23.
[0045] In step S27, it is determined whether or not all the input information has been selected. If it is determined in step S20 that all the input information has been selected, the calculation unit 20 ends the flowchart of Fig. 3, and if it is determined that no selection has been made, the process returns to step S20.
[0046] <Effects> In this way, when the electronic control device 100 does not determine that there is an abnormality in the input information, it calculates the target drive output from the multiple pieces of input information. However, when the electronic control device 100 determines that there is an abnormality in the input information, it calculates the target drive output using an inference model. Therefore, the electronic control device 100 can correctly calculate the target drive output even if there is an abnormality in one of the multiple pieces of input information.
[0047] It is also conceivable that the control device for the electric water pump will drive the electric water pump at full throttle if, for example, an abnormality occurs in one piece of input information. However, the electronic control device 100 does not need to drive the electric water pump at full throttle even if an abnormality occurs in one piece of input information. Therefore, the electronic control device 100 can improve energy efficiency.
[0048] Although the preferred embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments, and various modifications are possible without departing from the spirit and scope of the present disclosure.
[0049] (Modification) A modified example of the electronic control device 100 will be described with reference to Fig. 5. The modified example differs from the above embodiment mainly in the process of creating an inference model.
[0050] The electronic control device 100 may be connected to a battery temperature sensor that detects the ambient temperature of the fuel cell, a wheel speed sensor that detects the wheel speed of the vehicle, and an intake temperature sensor that detects the intake temperature of the engine as sensors 200. The detection signals indicating the ambient temperature, wheel speed, and intake temperature are different from the input information and are not input information for calculating the target drive output. However, the detection signals indicating the ambient temperature, wheel speed, and intake temperature are information that correlates with the target drive output and correspond to correlation information. In other words, in addition to the input information for calculating the target drive output, correlation information that correlates with the target drive output is input to the electronic control device 100.
[0051] Here, the electronic control unit 100 to which three pieces of correlation information are input is adopted. However, the electronic control unit 100 may be any electronic control unit that receives a plurality of pieces of correlation information.
[0052] When creating an inference model, the electronic control device 100 starts the flowchart of FIG. 5. In step S20a, multiple pieces of correlation information are acquired. Here, the calculation unit 20 acquires three pieces of correlation information via the platform 30. In step S21a, the correlation information is set as input data. The calculation unit 20 saves the time series data of the correlation information acquired in step S20a. The calculation unit 20 sets the time series data as input data. That is, the electronic control device 100 creates an inference model using the correlation information. In addition, when the calculation unit 20 analyzes the correlation between the correlation information and the target driving output by machine learning, it can be said that an inference model that calculates the target driving output from the correlation information can be created.
[0053] The electronic control device 100 of the modified example can correctly calculate the target drive output even if an abnormality occurs in one of the multiple pieces of input information, as in the above embodiment. Also, the electronic control device 100 of the modified example can correctly calculate the target drive output even if an abnormality occurs in all of the input information.
[0054] Although the present disclosure has been described based on the embodiment, it is understood that the present disclosure is not limited to the embodiment or structure. The present disclosure also encompasses various modifications and modifications within the equivalent range. In addition, although various combinations and forms are shown in the present disclosure, other combinations and forms including only one element, more than one element, or less than one element are also within the scope and concept of the present disclosure. [Explanation of symbols]
[0055] 10...microcomputer, 20...arithmetic unit, 30...platform, 40...storage unit, 100...electronic control device, 200...sensor, 300...actuator
Claims
1. An electronic control device that drives and controls a driven device, An acquisition unit (S10) for acquiring a plurality of pieces of input information; A determination unit (S11) that determines whether or not there is an abnormality in at least one of the plurality of pieces of input information; a first calculation unit (S12) that calculates a target drive output to the drive target device from the plurality of pieces of input information when the determination unit determines that there is no abnormality; a second calculation unit (S15) that calculates the target drive output using an inference model when the determination unit determines that there is an abnormality.
2. The electronic control device according to claim 1 , further comprising a creation unit (S14) that creates the inference model when the judgment unit does not judge that there is an abnormality.
3. The electronic control device according to claim 2 , wherein the creation unit creates the inference model using at least one of the pieces of input information that is not determined to have an abnormality by the determination unit.
4. the acquisition unit acquires, in addition to the plurality of pieces of input information, correlation information that is different from the input information and correlates with the target drive output, The electronic control device according to claim 2 , wherein the creation unit creates the inference model using the correlation information.
5. The electronic control device according to claim 3 or 4, wherein the creation unit creates the inference model by machine learning.
6. 3. The electronic control device according to claim 1, wherein the device to be driven is an electric water pump.
Citation Information
Patent Citations
Cooling system, cooling control device, and flow rate control method
JP2009197616A
Fuel pressure acquiring device for internal combustion engine
JP2011064128A
Setting calculation system learning device and learning method
WO2013171862A1
