The present invention relates to a pressure detection signal processing device which performs signal processing on a pressure detection signal from a pressure sensor that includes a piezoelectric element, and relates to an engine control system and a program.
Conventionally, a configuration is proposed which includes a charge amplifier as a signal processing circuit for a pressure detection signal from a pressure sensor using a piezoelectric element that outputs an electric charge corresponding to pressure receiving strength. The charge amplifier has a configuration in which a feedback resistor and a feedback capacitor are connected in parallel with an operational amplifier, and the operational amplifier is in negative feedback connection.
In this signal processing circuit, a leakage electric current of the piezoelectric element becomes a drift of the pressure detection signal, and thus it is necessary to arrange a drift correction circuit or the like for eliminating an influence of the drift.
As an example of the correction circuit, a circuit is proposed which uses a reset signal synchronized with a rotation signal of a crankshaft to eliminate the influence of the drift (for example, see Patent literature 1). However, a reset timing detection unit arranged in the correction circuit determines whether or not a reset timing is a scheduled reset timing in an intake stroke based on output of a crank angle sensor, outputs a reset signal when the scheduled reset timing is reached, and resets the output of the charge amplifier to zero. Therefore, a circuit system of the pressure detection signal processing circuit becomes complicated. Moreover, if output precision of the crank angle sensor is not ensured, the reset cannot be performed precisely.
Therefore, a circuit configuration is proposed in which a direct current isolator is interposed between a piezoelectric element and a charge amplifier. The direct current isolator interrupts a direct current component and makes the pressure detection signal pass through, and is configured by a capacitor (for example, see Patent literature 2). That is, although the leakage electric current of the piezoelectric element acts as the drift, the leakage electric current can also be regarded as the direct current component which maintains a stable magnitude even for a relatively long time, and thus the direct current component is interrupted by the capacitor.
Patent literature 1: Japanese Patent Laid-Open No. 2002-242750 (Pages 3 to 6, FIG. 10)
Patent literature 2: Japanese Patent Laid-Open No. 2009-115484 (Pages 2 to 7, FIG. 1)
However, according to the configuration of Patent literature 1, a capacitance of a capacitor which is a direct current isolator depends on a magnitude of impedance of the piezoelectric element. Therefore, there is a problem that the capacitance of the capacitor may become large when the impedance of the piezoelectric element is small. In addition, there is a problem or the like that a mounting area of the capacitor on a surface of the electronic substrate may increase when the capacitance of the capacitor increases.
The present invention is accomplished to solve the conventional problem and has an objective to provide a pressure detection signal processing device capable of removing drift of a piezoelectric element and thereby obtaining a highly precise pressure detection signal by means of a simple configuration, and to provide an engine control system and a program.
In order to achieve the objective described above, a pressure detection signal processing device according to an aspect of the present invention is a device which performs signal processing on an output signal of a pressure sensor that includes a piezoelectric element producing an electric charge corresponding to a received pressure, and includes:
In addition, the drift component extraction unit may include:
In addition, the drift correction unit may include:
Furthermore, in order to perform P control, the pressure detection signal processing device may further include: a second low-pass filter which extracts a signal showing a component in a predetermined low frequency band of the voltage signal;
Besides, in order to perform I control, the pressure detection signal processing device may further include: a third difference calculation unit which calculates a third difference between the second target value and the signal extracted by the second low-pass filter; and
A slice unit which slices an input signal exceeding a predetermined value to the predetermined value may be arranged in a front stage of the differential processing unit and/or a front stage of the second low-pass filter.
In addition, in order to perform PID control,
In addition, in order to perform engine control using a pressure detection signal, an engine control system may be configured which includes the pressure detection signal processing device, and a control unit which performs control of an engine based on an output signal from the pressure detection signal processing device. In addition, a digital signal processing unit may change a cut-off frequency of the low-pass filter according to a rotation speed of the engine.
A program according to another aspect of the present invention is a program for achieving, in a pressure detection signal device which performs signal processing on an output signal of a pressure sensor containing a piezoelectric element producing an electric charge corresponding to a received pressure, an extraction function for extracting a drift component of a piezoelectric element by performing differential processing on a voltage signal from a charge amplifier which accumulates an electric charge and outputs the corresponding voltage signal; and
In addition, the correction function may include: a difference calculation function for calculating a difference between a target value set previously and the drift component extracted by the extraction function; and a correction processing function for feeding the correction signal corresponding to the difference back to the input side of the charge amplifier.
According to the present invention, an effect is obtained that a pressure detection signal processing device, an engine control system, and a program can be provided which are capable of removing drift of a piezoelectric element and thereby obtaining a highly precise pressure detection signal by means of a simple configuration.
An embodiment of the present invention is described below with reference to the drawings. The embodiment of the present invention described below is an example, the present invention is not limited to the following embodiment, and various modifications and changes can be made with respect to the following embodiment.
(Summary of Engine Control System 300)
The engine 1 has a cylinder 2, and a piston 3 which is fitted to be slidable in an up-down direction inside the cylinder 2. An end side of a connecting rod 4 is connected to the piston 3, and the other end side of the connecting rod 4 is connected to a crankshaft 5. A flywheel 7 is rotatably connected to an end portion of the crankshaft 5 on a transmission side (not shown). A retractor 20 which is a protrusion made of a magnetic material is formed in a predetermined angle region on an outer circumference of the flywheel 7.
An electromagnetic pickup 22 which is arranged to face the crankshaft 5 outputs a positive voltage pulse when the retractor 20 approaches, and outputs a negative voltage pulse when the retractor 20 moves away. When the pulse is shaped based on a positive pulse signal or a negative pulse signal by a known pulse shaping circuit in order that one rectangular pulse is output, one rectangular pulse is output for each rotation of the flywheel 7.
Thus, because the crankshaft 5 rotates by 720° in a cycle of “intake→compression→combustion→exhaust”, a 2-pulse rectangular signal (an engine rotation signal) is output from the electromagnetic pickup 22 in one circle. In this way, the electromagnetic pickup 22 serves as a crank angle sensor that detects the rotation angle of the crankshaft 5.
As a result, a rotation speed of the engine 1 can be calculated based on the engine rotation signal from the electromagnetic pickup 22. In addition, a position where the retractor 20 is formed on the outer circumference of the flywheel 7 can be set to an appropriate angle region, and a timing when an ignition control signal is given to the ignition plug to ignite fuel can be set to a desired timing based on the engine rotation signal from the electromagnetic pickup 22. The desired timing is a timing corresponding to a top dead center (TDC), an advance angle (BTDC) side from the top dead center, or a retard angle (ATDC) side from the top dead center.
In addition, an intake pipe 8 and an exhaust pipe 9 are connected to a cylinder head above the cylinder 2. An inside of the intake pipe 8 is an intake passage for taking in fresh air from the outside into the combustion chamber 15. In addition, an air cleaner 6 for removing fresh air dust and the like, a throttle valve 24 for adjusting an intake amount of the fresh air, an injector 40 for injecting the fuel, and the like, are arranged in the intake passage from an upstream side. Besides, a timing of taking in the fresh air into the combustion chamber 15 is controlled by a valve opening/closing operation of an intake valve 12 which is urged in a valve closing direction by a spring (not shown).
Besides, the pressure sensor 30 detects a combustion pressure which is a pressure of the combustion chamber 15, and outputs a pressure detection signal showing the detected combustion pressure. The pressure sensor 30 is arranged at the top portion of the cylinder head with a front end of the pressure sensor 30 facing the inside of the combustion chamber. Moreover, the mounting position of the pressure sensor 30 is not limited to the position shown in
On the other hand, an inside of the exhaust pipe 9 is an exhaust passage for exhausting exhaust gas from the combustion chamber 15. Besides, a timing of exhausting the exhaust gas from the combustion chamber 15 is controlled by a valve opening/closing operation of an exhaust valve 10 which is urged in the valve closing direction by a spring (not shown).
The signals from the electromagnetic pickup 22, the pressure sensor 30, and the like are input to the ECU 100 which controls the operation of the engine 1. The rectangular pulse signal corresponding to the engine rotation is input from the electromagnetic pickup 22. The pressure detection signal is input from the pressure sensor 30. On the other hand, the ECU 100 controls the fuel injection of the injector 40 and controls the ignition of the ignition plug.
Besides, the pressure detection signal from the pressure sensor 30 is subjected to the signal processing by the pressure detection signal processing device 200. The ECU 100 controls the fuel injection (an injection amount and an injection time) by the injector 40 and controls the ignition time by the ignition plug based on the engine rotation signal and the pressure detection signal which has been subjected to the signal processing by the pressure detection signal processing device 200.
A reciprocating motion of the piston 3 inside the cylinder 2 in the up-down direction is converted into a rotation motion of the crankshaft 5. The rotation motion of the crankshaft 5 is transmitted to drive wheels via a transmission machine, and a vehicle (having two wheels or four wheels) moves forward by repeating the stroke of “intake→compression→combustion→exhaust”.
Moreover,
(Function Configuration of ECU 100)
The engine control unit 150 calculates the fuel injection amount based on the pressure detection signal which is output from the pressure detection signal processing device 200, and the like, and controls the injector 40 by using a fuel injection signal corresponding to the calculated fuel injection amount at the timing based on the engine rotation signal from the electromagnetic pickup 22. Accordingly, the injector 40 injects the fuel with the fuel injection amount corresponding to the control from the engine control unit 150.
The engine control unit 150 determines the ignition time based on the engine rotation signal from the electromagnetic pickup 22 and controls the ignition plug. In addition, the engine control unit 150 can also control the ignition time based on the pressure detection signal from the pressure detection signal processing device 200 in addition to the engine rotation signal from the electromagnetic pickup 22.
The function configuration of the ECU 100 shown in
(Configuration of Pressure Detection Signal Processing Device 200)
When the diaphragm 32 applies the pressure to the piezoelectric element 35 according to the pressure receiving strength, the piezoelectric element 35 produces the electric charge corresponding to the applied pressure and outputs the electric charge to the charge amplifier 210 of the next stage. In this way, the electric charge corresponding to the pressure P is transmitted to the charge amplifier 210 as the pressure detection signal Ps.
Because input impedance of the operational amplifier 211 is ideally infinite, the electric charge from the piezoelectric element 35 is accumulated in the capacitor 214, and a voltage corresponding to the accumulation electric charge is produced on both sides of the capacitor 214. In this way, the charge amplifier 210 accumulates the electric charge produced in the piezoelectric element 35 and outputs a corresponding voltage signal V (Q=C1·V (“Q” is an electric charge, and “V” is an output voltage).
In addition, an analog output signal from the charge amplifier 210 is input to the AD conversion unit 205 shown in
If a digital sampling period by the AD conversion unit 205 is set to “T”, and the signals in a time lapse “T, 2·T, 3·T, . . . , (n−1)·T, n·T” are set to “y(1), y(2), y(3), . . . , y(n−1), y(n)”, the differential processing is achieved by calculating “y(2)−y(1), y(3)−y(2), . . . , y(n)−y(n−1)”. That is, the differential processing performed by the differential processing unit 230 corresponds to sequentially calculating a difference between the digital signals.
The low-pass filter unit 240 extracts a drift component of the differential signal which has been subjected to the differential processing of the differential processing unit 230. The low-pass filter unit 240 can be achieved by a low-pass filter which extracts the drift component changing slowly in the differential signal. As an example of the low-pass filter, a “moving average filter” can be adopted. When the digital sampling period is set to “T”, and the signals in the time lapse “T, 2·T, 3·T, . . . , (n−1)·T, n·T” are set to “y(1), y(2), y(3), . . . , y(n−2), y(n−1), y(n)”, the “moving average filter” can be achieved by calculating “(y(1)+y(2)+y(3))/3, . . . , (y(n−2)+y(n−1)+y(n))/3”. In this way, the differential processing unit 230 and the low-pass filter unit 240 cooperate to function as a drift component extraction unit which extracts the drift component of the piezoelectric element.
That is, the moving average filter sequentially calculates an average value in n (n is an integer of 3 or more) digital signals before and after the digital signal of interest. If the value of n is set to a great value, a cut-off frequency can be lowered.
For example, stable signal processing can be achieved regardless of a peak value by linearly changing the value of n of the moving average filter according to the engine rotation speed.
More specifically, as an example, the engine rotation speed and n can be set to be proportional to each other. In addition, the engine rotation speed can be calculated from the combustion pressure which is shown by the pressure detection signal subjected to the signal processing by the pressure detection signal processing device 200. In addition, the engine rotation speed may be acquired from the engine control unit 150 by inputting the engine rotation signal acquired by the engine control unit 150 to the pressure detection signal processing device 200.
The drift correction unit 250 outputs the correction signal to be fed back to the input side of the charge amplifier 210. More specifically, the drift correction unit 250 performs a digital-to-analog conversion on the voltage signal corresponding to a difference between a target value set previously and the extraction signal of the low-pass filter unit 240, and performs feedback control for adding, to the input side of the charge amplifier 210, the electric current signal corresponding to the analog voltage signal after the digital-to-analog conversion as the correction signal.
(Digital Signal Processing Unit of “First Embodiment”)
The digital signal processing unit 220 shown in
Besides, the low-pass filter unit 240 outputs, to the difference calculation unit 251, the extraction signal which is obtained by extracting the drift component based on the differential signal output from the differential processing unit 230. The difference calculation unit 251 calculates a difference between a first target value set previously and the extraction signal and outputs the difference to the correction processing unit 252.
That is, the difference signal is subjected to the digital-to-analog conversion by the DA conversion unit 254, and the VI conversion unit 255 VI-converts the difference signal into the electric current signal corresponding to the digitally converted voltage signal, and outputs the electric current signal to the charge amplifier 210.
In this way, the digital signal processing unit 220 of the first embodiment shown in
(Digital Signal Processing Unit of “Second Embodiment”)
The digital signal processing unit 220 shown in
The low-pass filter unit 260 outputs the signal which is obtained by extracting a component in a predetermined low frequency band of the voltage signal which is output from the charge amplifier 210. The difference calculation unit 280 calculates a difference between a second target value set previously and the output signal of the low-pass filter unit 260, and outputs a difference signal showing the calculated difference to the proportional processing unit 270. Similarly, the difference calculation unit 281 calculates the difference between the second target value set previously and the output signal of the low-pass filter unit 260, and outputs the difference signal showing the calculated difference to the integral processing unit 271. Moreover, the differential processing unit 230, the low-pass filter 240, and the difference calculation unit 251 shown in
The proportional processing unit 270 outputs, to the correction processing unit 252, a signal which is obtained by multiplying the difference signal output from the difference calculation unit 280 by a proportionality constant. The integral processing unit 271 outputs, to the correction processing unit 252, an integral signal which is obtained by performing integral processing on the difference signal output from the difference calculation unit 281. Moreover, the output of the difference calculation unit 280 can also be used as the input of the integral processing unit 271, and the output of the difference calculation unit 281 can also be used as the input of the proportional processing unit 270. In this case, only one of the difference calculation unit 280 and the difference calculation unit 281 may be arranged.
The correction processing unit 252 adds the signals from the difference calculation unit 251, the proportional processing unit 270, and the integral processing unit 271 to calculate the addition signal, performs the digital-to-analog conversion on the calculated addition signal, and feeds the electric current signal, which is obtained by
VI-converting the signal subjected to the digital-to-analog conversion, back to the input side of the charge amplifier 210 as the correction signal.
Moreover, when the digital sampling period is set to “T”, and the signals in the time lapse “T, 2·T, 3·T, . . . , (n−1)·T, n·T” are set to “y(1), y(2), y(3), . . . , y(n−1), y(n)”, the integral processing is achieved by calculating “y(1)·T, y(1)·T+y(2)·T, y(1)·T+y(2)·T+y(3)·T, . . . , y(1)·T+y(2)·T+y(3)·T+ . . . +y(n)·T”. That is, the integral processing performed by the integral processing unit 271 corresponds to sequentially calculating the total sum of the digital signals.
In this way, the digital signal processing unit 220 of the second embodiment shown in
A “circuit system for AC fluctuation” consisting of the differential processing unit 230 and the difference calculation unit 251 has an action of removing the drift component which fluctuates in an AC manner, and a “circuit system for holding base voltage” consisting of the proportional processing unit 270, the integral processing unit 271, the difference calculation unit 280, and the difference calculation unit 281 has an action of holding the baseline which is a base voltage of the pressure detection signal.
(Digital Signal Processing Unit of “Third Embodiment”)
The low-pass filter unit 240 outputs the extraction signal which is obtained by extracting the drift component based on the voltage signal of the charge amplifier 210. The differential processing unit 230 outputs the differential signal obtained by performing the differential processing on the extraction signal to the difference calculation unit 251. In addition, the proportional control unit 270 outputs the proportional signal obtained by multiplying the input signal by the proportionality constant to the correction processing unit 252. The integral processing unit 271 outputs the integral signal obtained by performing the integral processing on the input signal to the correction processing unit 252.
The difference calculation unit 251 calculates the difference between the first target value set previously and the output signal of the differential processing unit 230, and outputs the difference signal showing the calculated difference to the correction processing unit 252. Similarly, the difference calculation unit 280 calculates the difference between the second target value set previously and the output signal of the low-pass filter unit 240, and outputs the difference signal showing the calculated difference to the proportional processing unit 270. The difference calculation unit 281 calculates the difference between the second target value set previously and the output signal of the low-pass filter unit 240, and outputs the difference signal showing the calculated difference to the integral processing unit 271.
The addition unit 253 of the correction processing unit 252 shown in
In this way, the feedback control including the differential control (D control), the proportional control (P control), and the integral control (I control) can be performed by a simple configuration in which one low-pass filter is used for the extraction of the drift component and the extraction of the baseline.
Similarly, the I control unit 320 outputs, to the addition unit 340, the integral signal obtained by performing the integral processing on the difference between the second target value and the output signal of the charge amplifier 210, and the D control unit 330 outputs, to the addition unit 340, the difference signal showing the difference between the first target value and the differential signal which is obtained by performing the differential processing on the output signal of the charge amplifier 210. The adder 340 adds each signal and outputs the addition signal showing the addition result to the VI conversion unit 350.
Next, the VI conversion unit 350 feeds the electric current signal, which is obtained by VI-converting the addition signal, back to the input side of the charge amplifier 210 as the correction signal. The pressure detection signal can be acquired in which the drift component is removed by performing the differential control and the baseline is kept steady regardless of the influence of atmospheric pressure by performing the proportional control and the integral control, and the pressure detection signal is included in the processing of the ECU 100 and the like. In this way, a highly precise pressure detection signal can be acquired by the PID control.
In the P control unit 310, a multiplication signal obtained by multiplying the difference between the output of the charge amplifier 210 and the second target value by a proportional control gain (Kp) is output to the addition unit 340. Similarly, the I control unit 320 and the D control unit 330 may have a configuration in which each of the corresponding integral signal and the corresponding difference signal are further multiplied by an integral gain (Ki) and a differential gain (Kd), and are output to the addition unit 340. At this time, “Ki” and “Kd” can also be constants other than “1.0”. In order to improve the controllability such as responsiveness of the control system and the like, the “integral gain: Ki” and the “differential gain: Kd” can be appropriately adjusted. The gain adjustment method may be, for example, a Ziegler-Nichols'
(Operation)
Then, operations of the digital signal processing unit 220 are described with reference to
Next, when the differential processing unit 230 performs the differential processing on the signal shown in
Next, the low-pass filter unit 240 attenuates a frequency component higher than the cut-off frequency in the signal shown in
Next, the difference calculation unit 251 extracts the drift component as a difference between the first target value and the signal shown in
In addition, in the proportional processing performed by the proportional processing unit 270 and the integral processing performed by the integral processing unit 271, the baseline voltage of the output signal from the charge amplifier 210 is corrected so as to be the set second target value. For example, when the second target value is set to “0.5 (V)”, the baseline voltage of the output signal from the charge amplifier 210 becomes “0.5 (V)”. Moreover, parameters such as the first target value, the second target value, and the like which are necessary for the PID control are stored non-volatilely in advance in, for example, a non-volatile memory 136.
According to the embodiment described above, the charge amplifier 210 accumulates the electric charge produced by the piezoelectric element 35 corresponding to the received pressure and outputs the corresponding voltage signal, and the differential processing unit 230 outputs the differential signal obtained by performing the differential processing on the voltage signal. Furthermore, the low-pass filter unit 240 extracts the drift component based on the differential signal.
Then, the drift correction unit 250 obtains a correction electric current signal for reducing the extracted drift component and feeds back the obtained electric current signal as the correction signal to the input side of the charge amplifier 210. Therefore, the drift of the piezoelectric element 35 can be removed, and the highly precise pressure detection signal can be obtained.
On the other hand,
The pressure detection signal processing device 200 described above can be achieved by, foe example, a programmable logic device (PLD) such as a field programmable gate array (FPGA) or the like. In addition, a CPU may also function as the digital signal processing unit 220 by executing the program 132 stored in the storage unit 130.
In addition, it is confirmed that when the input exceeds a predetermined level between the front stage of “the differential processing unit 230 and the low-pass filter unit 260” and the charge amplifier 210, if a slice unit is arranged which has a slice function of suppressing the signal of the exceeding part to the predetermined level, stable drift extraction can be performed regardless of the peak value. The slice unit can be achieved by, for example, a circuit element such as a Zener diode or the like, or can be achieved by a program for executing clipping processing or the like.
In addition, according to the pressure detection signal processing device 200 of the present invention, the pressure detection signal in the ECU 100 or the like can be processed with high precision, and thus the engine control can be performed with high precision based on the output signal from the pressure detection signal processing device 200.
In addition, the configuration of the correction processing unit 252 and the like described above are only examples. For example, the difference and the corresponding electric current value may be associated and registered in the table 134 in advance, and the correction processing unit 252 may have an electric current control unit. Besides, a configuration or the like may also be adopted in which one or more variable electric current sources are subjected to operation control in a manner that the electric current control unit reads an electric current value corresponding to the difference calculated by the difference calculation units 251, 280, and 281 from the table 134, and feeds the correction signal which is the read electric current value back to the input side of the charge amplifier. At this time, the table 134 may be constructed for each difference calculation unit. In addition, the addition value and the corresponding electric current value may be associated and registered in the table 134 in advance, and the electric current control unit may feed the correction signal, which is the electric current value corresponding to the addition value shown by the addition signal from the addition unit 253, back to the input side of the charge amplifier. In addition, the difference or the addition value, and the voltage value may be associated and registered in the table 134 in advance, and the electric current control unit may read the voltage value corresponding to the difference or the addition value from the table 134, and output the voltage signal which is the read voltage value to the DA conversion unit 254.
Furthermore, in the above description, in particular, the configuration example with respect to the pressure detection signal showing the pressure inside the combustion chamber of the engine 1 is shown, but the present invention can also be applied to a pressure detection signal of not only a gas, but also another pressure receiving medium such as a fluid or the like. In addition, the engine control system 300 in
In addition, in the above description, the configuration example in which the low-pass filter units 240 and 260 are included is described, but the present invention is not limited hereto, and a configuration without the low-pass filter units 240 and 260 is possible. However, preferably, as described above, in the configuration including the low-pass filter units 240 and 260, by removing the high-frequency component according to the pressure fluctuation, the drift voltage and the baseline voltage can be extracted with higher precision, and the feedback control can be performed with higher precision.
Besides, a processor such as a CPU, a DSP (Digital Signal Processor) or the like executes the program, and thereby the processing function, the extraction function, the correction function, the difference calculation function, the correction processing function and the like are achieved. Furthermore, the present invention can also provide a non-temporary recording medium on which the program is recorded. The non-temporary recording media which records the program may be a semiconductor element such as an ROM or the like, an optical element such as a CD, a DVD or the like, and a magnetic element such as a magnetic disk or the like. The recording medium is available as long as the recording medium can be executed on a computer in a way of reading the program stored in the recording medium by a reading means, and the type and the like of the recording medium are not limited.
1 engine
15 combustion chamber
30 pressure sensor
32 diaphragm
35 piezoelectric element
36, 37 electrode
100 ECU
200 pressure detection signal processing device
210 charge amplifier
211 operational amplifier
212 resistor
214 capacitor
205 AD conversion unit
220 digital signal processing unit
230 differential processing unit
240 low-pass filter unit
250 drift correction unit
251 difference calculation unit
252 correction processing unit
260 low-pass filter unit
270 proportional processing unit
271 integral processing unit
300 engine control system
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2018/042614 | 11/19/2018 | WO | 00 |