Data processing methods
By processing the internal combustion engine measurement data in a cycle longer than the transmission cycle, and reducing the delay time through averaging processing, the problem of reduced data processing accuracy is solved, and the calculation processing load is suppressed and the accuracy is improved.
Patent Information
- Application Number
- CN202210132309.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-03-25
- Filing Date
- 2022-02-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-02-14
AI Technical Summary
In control systems such as internal combustion engines, due to the delay time of data processing and the periodic changes in intake pulsation, the accuracy of the calculation and processing of the measured data is reduced, and shortening the processing cycle to suppress the fluctuation phenomenon increases the calculation load and increases the cost.
The fluctuation measurement data sent from the sensor is processed in a cycle longer than the transmission cycle, and the average value of the measurement data is calculated through addition and bit displacement to reduce delay time and processing load.
While suppressing the computational processing load, the data processing accuracy is improved, fluctuations are reduced, and the impact on the control system is reduced.
Smart Images

Figure CN115126615B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a data processing method. Background Art
[0002] For example, regarding the control of internal combustion engines such as gasoline engines, as an example, the ECU (Electronic Control Unit) obtains measurement data related to the intake air volume from an air flow meter through SENT (Single Edge Nibble Transmission) communication, and performs calculations related to the control of the injection volume of the fuel injection valve (for example, Japanese Patent Application Laid-Open No. 2018-159369). In addition, measurement data is sometimes sent to the ECU from a pressure sensor. Summary of the invention
[0003] In order to reduce the load of calculation processing, the ECU performs data processing at a cycle longer than the data transmission cycle of the air flow meter. Therefore, the timing of the ECU obtaining data for calculation processing is delayed relative to the data transmission timing, and the delay time varies periodically.
[0004] In addition, in an internal combustion engine, intake pulsation occurs in the intake pipe due to the reciprocating motion of the piston and / or the opening and closing of the intake valve. Therefore, the measured data value sent from the air flow meter also changes with the intake pulsation. Due to the period of the intake pulsation and the periodic variation of the delay time of data processing, errors occur in the measured data value obtained by the ECU, and fluctuations occur in which the value obtained by the calculation processing changes in a short period.
[0005] As a result, the accuracy of the calculation processing is reduced and may affect the control. In this regard, if the processing cycle of the ECU is shortened, the delay time is reduced and the fluctuation phenomenon can be suppressed, but since the load of the calculation processing increases, a high-performance ECU is required and the cost increases. Such a problem is not limited to the intake amount of the internal combustion engine, but also exists in other variable data as mentioned above.
[0006] The present invention has been made in view of the above-mentioned problems, and provides a data processing method capable of improving the accuracy of calculation processing while suppressing the load of calculation processing of fluctuating measurement data.
[0007] The technical solution of the present invention relates to a data processing method for performing calculation processing on variable measurement data transmitted from a sensor in a first cycle in a second cycle longer than the first cycle. The data processing method is a method for obtaining the measurement data in a third cycle longer than the first cycle and shorter than the second cycle, and calculating an average value of the measurement data obtained in the second cycle to perform calculation processing.
[0008] In the data processing method of the above technical solution, the average value of the measurement data can also be obtained by performing addition and bit shift on the measurement data.
[0009] In the data processing method of the above technical solution, the measurement data may also represent the operating state of the internal combustion engine.
[0010] In the data processing method having the above configuration, the measurement data may be data related to the intake air amount of the internal combustion engine.
[0011] In the data processing method of the above technical solution, the data processing method is used to grasp the fluctuation phenomenon of the pulsation frequency generated by the rotation of the engine.
[0012] According to the data processing method of the present invention, it is possible to improve the accuracy of the calculation processing while suppressing the load of the calculation processing of the fluctuating measurement data. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Hereinafter, features, advantages, and technical and industrial significance of exemplary embodiments of the present invention will be described with reference to the accompanying drawings, in which like reference numerals denote like elements, and in which:
[0014] Figure 1 This is a diagram showing the configuration of an intake system of a gasoline engine to which the data processing method according to the embodiment of the present invention is applied.
[0015] Figure 2 It is a diagram showing data processing of the ECU in a comparative example of the data processing method.
[0016] Figure 3 This is a time chart showing an example of the timing of transmitting and processing the measurement data.
[0017] Figure 4 This is a diagram showing an example of time changes in the measurement data value transmitted from the air flow meter provided in the gasoline engine.
[0018] Figure 5 This is a diagram showing an example of the time change of the measurement data value acquired by the storage unit in the comparative example.
[0019] Figure 6 It is a spectral diagram showing the intensity of the delay time frequency in the comparative example.
[0020] Figure 7 1 is a diagram showing an example of a change in the frequency of the fluctuation relative to the frequency of the intake air pulsation in the comparative example.
[0021] Figure 8 This is a diagram showing an example of a hunting phenomenon caused by a temporal change in the intake load rate at each rotation speed and each throttle opening of the gasoline engine.
[0022] Fig. 9 It is a diagram showing data processing of the ECU in the above-mentioned embodiment.
[0023] Fig.10 This is a diagram showing an example of time changes in measurement data values (acquired values) acquired by the storage unit in the above-described embodiment.
[0024] Fig.11 It is a spectrum diagram showing the intensity of the delay time frequency in the above-mentioned embodiment.
[0025] Fig.12 This is a diagram showing an example of the change of the fluctuation frequency with respect to the pulsation frequency in the above-mentioned embodiment. DETAILED DESCRIPTION
[0026] First, a configuration example of an intake system of a gasoline engine to which a data processing method according to an embodiment of the present invention is applied will be described. Figure 1 1 is a structural diagram showing an intake system of a gasoline engine (hereinafter, referred to as an engine) 20. The engine 20 is an example of an internal combustion engine, but is not limited thereto. A diesel engine may be used instead of the engine 20. The engine 20 causes a mixture to burn in a combustion chamber 23 in a cylinder head 22 provided on a cylinder block 21 accommodating a piston 24, and causes the piston 24 to reciprocate. The reciprocating motion of the piston 24 is converted into a rotational motion of a crankshaft 26. In addition, as the engine 20, for example, an inline 4-cylinder engine having 4 cylinders can be cited, but is not limited thereto.
[0027] The cylinder head 22 of the engine 20 is provided with an intake valve 42 for opening and closing the intake port 10i and an exhaust valve 44 for opening and closing the exhaust port 30e for each cylinder. In addition, a spark plug 27 for igniting the mixture in the combustion chamber 23 is mounted on the top of the cylinder head 22 for each cylinder.
[0028] The intake port 10i of each cylinder is connected to a surge tank 18 via a branch pipe of each cylinder. An intake pipe 10 is connected to the upstream side of the surge tank 18, and an air cleaner 19 is provided at the upstream end of the intake pipe 10. An air flow meter 15 for detecting the intake air amount and an electronically controlled throttle valve 13 are provided in the intake pipe 10 in order from the upstream side.
[0029] In addition, a fuel injection valve 12 for injecting fuel into the intake port 10i is provided at the intake port 10i of each cylinder. The fuel injected from the fuel injection valve 12 is mixed with the intake air to generate a mixed gas. The mixed gas is sucked into the combustion chamber 23 when the intake valve 42 is opened, compressed by the piston 24, and ignited by the spark plug 27 to burn. The mixed gas after combustion is discharged to the exhaust pipe 30 through the exhaust port 30e of each cylinder by the piston 24.
[0030] ECU6 is provided with a processor 70 such as a CPU (Central Processing Unit) and a memory 71 such as a RAM (Random Access Memory) and a ROM (Read Only Memory). The processor 70 reads and executes a program stored in the memory 71. Thus, ECU6 controls the engine 20. In addition, ECU6 may also replace the software of the processor 70, or use hardware (circuit) such as an FPGA (Field Programmable Gate Array) and / or an ASIC (Application Specified Integrated Circuit) in the control of the engine 20 together with the software.
[0031] The ECU 6 is electrically connected to various sensors such as the spark plug 27, the throttle valve 13, the fuel injection valve 12, the air flow meter 15, and the throttle opening sensor 14. The throttle opening sensor 14 detects the acceleration opening. The ECU 6 controls the spark plug 27, the throttle valve 13, the fuel injection valve 12, etc. based on the detection values of the various sensors, and controls the ignition timing, the fuel injection amount, the fuel injection timing, the throttle opening, etc. to obtain the desired output.
[0032] For example, the ECU 6 controls the fuel injection amount of the fuel injection valve 12 by performing calculation processing on the measurement data related to the intake air amount sent from the air flow meter 15. The ECU 6 generates data corresponding to the fuel injection amount based on the measurement data and outputs it to the fuel injection valve 12.
[0033] The air flow meter 15 is an example of a sensor, and as an example, the measured data is sent to the ECU 6 as a digital signal through SENT communication. As the measured data related to the intake air amount, for example, a voltage value corresponding to the intake air amount can be listed, but it is not limited to this, and the measured data can also be other variable data. In addition, a pressure sensor can be used instead of the air flow meter 15. In this case, the ECU 6 performs calculation processing on the pressure value sent from the pressure sensor.
[0034] Next, a data processing method according to a comparative example of the above-described embodiment will be described. Figure 21 is a diagram showing data processing by the ECU 6 in the comparative example. The air flow meter 15 transmits measurement data to the ECU 6 at a transmission cycle of 0.846 (ms) as an example. Here, the transmission cycle of the measurement data is an example of the first cycle.
[0035] The ECU 6 reads and executes the program through the processor 70, and functions as a communication processing unit 60, a storage unit 61, and an operation processing unit 62. In addition, at least one of the communication processing unit 60, the storage unit 61, and the operation processing unit 62 may be formed by a circuit such as an FPGA.
[0036] The communication processing unit 60 receives the measurement data from the air flow meter 15 through SENT communication. The communication processing unit 60 receives the measurement data from the air flow meter 15 and stores it.
[0037] The storage unit 61 acquires the measurement data from the communication processing unit 60 at an acquisition cycle of 2 (ms) as an example. The storage unit 61 temporarily stores the measurement data acquired from the communication processing unit 60 in, for example, the memory 71. In addition, the symbol Fa is a part different from the embodiment described later.
[0038] The calculation processing unit 62 performs calculation processing on the measurement data with a processing cycle of 2 (ms) as an example. Here, the processing cycle of the measurement data is an example of the second cycle that is longer than the transmission cycle. As an example of calculation processing, the calculation processing unit 62 calculates the moving average value of the measurement data, and then averages it for each stroke of the engine 20. The calculation processing unit 62 outputs step-shaped quantitative data obtained by maintaining the value of the calculation result for each calculation period. Based on the quantitative data, a pulse signal is generated according to the transient response characteristics of the engine 20 based on the average value of each stroke and the throttle opening. The pulse signal is a signal indicating the time length corresponding to the fuel injection amount, and is output to the fuel injection valve 12.
[0039] Figure 3 This is a time chart showing an example of the timing of sending and processing measurement data. Figure 3 In FIG. 1 , the horizontal axis represents time, the solid line represents the transmission timing of the air flow meter 15 transmitting the measurement data, and the dotted line represents the processing timing of the calculation processing unit 62 performing calculation processing on the measurement data.
[0040] To reduce the processing load, the processing cycle of the processing unit 62 is longer than the transmission cycle of the air flow meter 15 and is not an integral multiple of the transmission cycle of the air flow meter 15. Therefore, the processing timing is delayed relative to the transmission timing, and the delay time varies periodically.
[0041] Figure 4 1 is a diagram showing an example of the time change of the measurement data value (hereinafter referred to as the transmission value) transmitted by the air flow meter 15. Figure 5 1 is a diagram showing an example of the time change of the measurement data value (hereinafter referred to as the acquired value) acquired by the storage unit 61 in the comparative example. Figure 4 as well as Figure 5 In FIG. 1 , a dotted line indicates a time change of an actual value of a measurement target of the air flow meter 15 (hereinafter referred to as a measurement target value).
[0042] In the engine 20, intake pulsation occurs in the intake pipe 10 due to the reciprocating motion of the piston 24 and / or the opening and closing motion of the intake valve 42. Therefore, the measurement object value is expressed as a superimposed waveform of sinusoidal waves of multiple rotation orders along with the intake pulsation. Figure 4 as well as Figure 5 In FIG. 1 , the measurement target value is schematically shown as a simple sine wave. The air flow meter 15 transmits a transmission value obtained by discretizing the measurement target value to the ECU 6 in order to measure the measurement target value at each transmission cycle.
[0043] In addition, since the storage unit 61 obtains the transmission value from the communication processing unit 60 at each acquisition cycle longer than the transmission cycle, the acquired value is a value obtained by thinning out the transmission value. Therefore, the waveform of the acquired value is greatly deformed from the waveform of the original measurement object value compared with the transmission value. According to this deformation, the acquired value obtained by the storage unit 61 has an error relative to the measurement object value. This error depends on the periodic change of the delay time between the transmission timing and the processing timing of the measurement data, and the change according to the cycle of the intake pulsation.
[0044] Gecu(t)=A1sin{2πf1(t-ΣA i sin(2πf i t))}···(1)
[0045] The measurement data value Gecu(t) acquired by the storage unit 61 from the air flow meter 15 is approximately expressed by, for example, the above-mentioned formula (1). In the formula (1), A1 represents the amplitude of the measurement object value, and f1 represents the frequency of the intake air pulsation. i represents the amplitude of the delay time, f i Indicates the frequency of the delay time variation (hereinafter referred to as delay time frequency).
[0046] The error of the acquired value depends on the difference between the periodic variation of the delay time and the frequency of the intake air pulsation according to the formula (1). As a result, a fluctuation phenomenon occurs in which the numerical value obtained by the calculation processing of the calculation processing unit 62 varies in a short period.
[0047] Figure 6This is a spectrum diagram showing the intensity of the delay time frequency (f1) in the comparative example. The intensity of the delay time frequency is obtained by performing a high-speed Fourier transform on the delay time. In this example, the intensity of the delay time frequency is high near 77.4 (Hz), 128.2 (Hz), and 205.5 (Hz). The influence of the fluctuation phenomenon is large near the frequency with high intensity.
[0048] Figure 7 : is a diagram showing an example of the change in the frequency of fluctuation (hereinafter, referred to as fluctuation frequency) relative to the frequency of intake air pulsation (hereinafter, referred to as pulsation frequency) in the comparative example. Figure 7 In the figure, the horizontal axis represents the frequency of pulsation, and the vertical axis represents the frequency of fluctuation.
[0049] Symbol G1 represents the fluctuation frequency corresponding to the delay time frequency component of 77.4 (Hz), symbol G2 represents the fluctuation frequency corresponding to the delay time frequency component of 128.2 (Hz), and symbol G3 represents the fluctuation frequency corresponding to the delay time frequency component of 205.5 (Hz).
[0050] The calculation processing unit 62 performs calculation processing after filtering the measured data through a low-pass filter. Therefore, the high-order components of the fluctuation frequency higher than the cutoff frequency fc of the low-pass filter are removed, and the components below the cutoff frequency fc of the fluctuation frequency become the cause of large errors in the calculation processing. For example, when the speed of the engine 20 is 2000 (rpm), the pulsation frequency Fx (Hz) corresponding to 2000 (rpm) produces a fluctuation frequency of about 2 (Hz) and an error occurs.
[0051] Figure 8 It is a diagram showing an example of the fluctuation phenomenon. Figure 8 The time variation of the intake load rate (%) of the engine 20 at each rotation speed (1000 to 3000 (rpm)) and each throttle opening TA (40°, 87°) is shown. When the rotation speed of the engine 20 is 2000 (rpm), the intake load rate calculated by the calculation processing unit fluctuates at about 2 (Hz), but the fluctuation phenomenon does not occur at other rotation speeds.
[0052] Next, a data processing method according to an embodiment of the present invention will be described. Fig. 9 1 is a diagram showing data processing of the ECU 6 according to the embodiment. Fig. 9 In, with Figure 2The same reference numerals are used for the common components, and their description is omitted. The ECU 6 reads and executes the program through the processor 70, and functions as a communication processing unit 60, a storage unit 61a, an averaging processing unit 63, and an operation processing unit 62. Figure 2 The structure of the comparative example shown is different from that of the comparative example. The processing of this part is faster than that of the comparative example.
[0053] The storage unit 61a obtains and stores the measurement data from the communication processing unit 60 at an acquisition cycle of 1 (ms) shorter than that of the storage unit 61 in the comparative example. At this time, the transmission cycle of the measurement data from the air flow meter 15 is 0.846 (ms) as in the comparative example. Therefore, the storage unit 61a can obtain the transmission value of the air flow meter 15 more frequently than in the comparative example. In addition, the acquisition cycle of the measurement data realized by the storage unit 61a is an example of the third cycle.
[0054] The averaging processing unit 63 reads the measurement data from the storage unit 61a and averages the data at an averaging cycle of 2 (ms) which is the same as the processing cycle of the calculation processing unit 62. The averaging processing unit 63 calculates, for example, a moving average of the measurement data.
[0055] Dm=(D[i]+D[i+1]) / 2···(2)
[0056] For example, the averaging processing unit 63 calculates the average value Dm of the measured data value D[i] read at time i and the measured data value D[i+1] read at time i+1 in an averaging cycle according to the above formula (2). Since the averaging process can be realized by a simple process of adding the measured data values and bit shifting, it has almost no effect on the processing load of the ECU 6. Here, the bit shift refers to an operation of shifting the bit string to the right or left by a specified number of bits. The averaging processing unit 63 outputs the average value to the calculation processing unit 62.
[0057] The calculation processing unit 62 performs calculation processing on the average value of the measurement data value in 2 (ms) which is the same as in the comparative example to generate quantized data. Therefore, the load of the calculation processing is the same as that in the comparative example.
[0058] Fig.10 : is a diagram showing an example of the time change of the measurement data value (acquired value) acquired by the storage unit 61a in the embodiment. Fig.10 In FIG. 1 , the dotted line indicates the time change of the measurement target value of the air flow meter 15 .
[0059] and Figure 5By comparison, it can be understood that the waveform of the acquired value in the embodiment has a smaller deviation from the waveform of the measured object value than the waveform of the acquired value in the comparative example, and has a higher accuracy. The averaging processing unit 63 averages the acquired values at the same averaging cycle as the processing cycle of the calculation processing, thereby achieving the suppression of the load of the calculation processing and the improvement of the accuracy.
[0060] Fig.11 is a spectrum diagram showing the intensity of the delayed time frequency (f1) in the embodiment. Figure 7 In comparison, the intensity of the components of the low delay time frequency of 77.4 (Hz) and 128.2 (Hz) is reduced. In addition, the intensity near 205.5 (Hz) is increased compared with the comparative example. The reason is that, as shown in FIG. Fig.10 As described above, as a result of the waveform of the acquired value and the waveform of the transmitted value becoming close, the delay time is reduced, and the component of the delay time frequency causing the fluctuation phenomenon is shifted to the high-frequency band side.
[0061] Fig.12 FIG. 1 is a diagram showing an example of a change in the fluctuation frequency relative to the pulsation frequency in the embodiment. Fig.12 In the figure, the horizontal axis represents the frequency of pulsation, and the vertical axis represents the frequency of fluctuation.
[0062] By reducing the delay time, the intensity of the components of the delay time frequency of 77.4 (Hz) and 128.2 (Hz) is reduced, so only the component of the delay time frequency of 205.5 (Hz) causes fluctuations in the calculation process. Since a high pulsation frequency of 205.5 (Hz) occurs when the engine 20 has a high rotation speed, that is, when the intake air flow velocity is high, the air flow meter 15 cannot substantially track the intake air pulsation in this case. Therefore, even if the fluctuation phenomenon is suspected to occur, the influence on the calculation process can be suppressed to a level that can be ignored.
[0063] However, for example, in the low pulsation frequency Fx (Hz) corresponding to the rotation speed of the engine 20 of 2000 (rpm), the fluctuation phenomenon does not occur. The reason is that, as described above, the delay time frequency component that causes the fluctuation phenomenon is offset to the high frequency band side. In this way, the pulsation frequency corresponding to the practical rotation speed of the engine 20 does not cause the fluctuation phenomenon.
[0064] In this way, the ECU 6 executes a data processing method for performing calculation processing on the measurement data related to the intake air amount of the engine 20 transmitted from the air flow meter 15 at a predetermined transmission cycle at a processing cycle longer than the transmission cycle. The ECU 6 acquires the measurement data at an acquisition cycle longer than the transmission cycle and shorter than the processing cycle, and calculates the average value of the acquired measurement data at an averaging cycle equal to the processing cycle to perform calculation processing.
[0065] According to the above-mentioned configuration, since the ECU 6 performs calculation processing on the measurement data obtained from the air flow meter 15 in a processing cycle longer than the transmission cycle, the load of the calculation processing can be suppressed. In addition, since the ECU 6 obtains the measurement data in an acquisition cycle longer than the transmission cycle and shorter than the processing cycle, and calculates the average value of the obtained measurement data in an averaging cycle identical to the processing cycle and performs calculation processing, the delay time can be reduced compared to the comparative example by making the transmission cycle and the acquisition cycle of the measurement data close. As a result, since the component of the delay time frequency where the fluctuation phenomenon occurs is shifted to the high frequency band side, the accuracy of the calculation processing is improved compared to the comparative example.
[0066] Therefore, according to the data processing method of this example, the load of the calculation processing of the measured data can be suppressed, and the accuracy of the calculation processing can be improved. In this example, the measured data related to the intake amount of the internal combustion engine are listed, but the operating state of the internal combustion engine can also be improved by performing the above-mentioned processing on the measured data representing other operating states.
[0067] The above-mentioned embodiments are preferred examples of the present invention, but are not limited thereto, and various modifications can be made without departing from the gist of the present invention.
Claims
1. A data processing method, wherein variable measurement data transmitted from a sensor in a first cycle is processed in a second cycle longer than the first cycle, characterized in that: include: acquiring the measurement data at a certain third cycle that is longer than the first cycle and shorter than the second cycle; and The moving average of the measurement data obtained in the second cycle is calculated and processed so that the intake pulsation frequency corresponding to the rotation speed of the internal combustion engine does not fluctuate, wherein the fluctuation phenomenon refers to the phenomenon that the value obtained by the calculation processing changes in a short period. The measurement data indicates an operating state of the internal combustion engine, and the measurement data is data related to an intake air amount of the internal combustion engine.
2. The data processing method according to claim 1, characterized in that: The moving average value of the measurement data is obtained by performing addition and bit shifting of the measurement data.
3. The data processing method according to claim 1 or 2, characterized in that: The data processing method is used to understand the fluctuation phenomenon of the pulsation frequency generated by the rotation of the engine.
