WO2016208422A1 - 圧力測定装置、圧力測定方法及びプログラム - Google Patents

圧力測定装置、圧力測定方法及びプログラム Download PDF

Info

Publication number
WO2016208422A1
WO2016208422A1 PCT/JP2016/067369 JP2016067369W WO2016208422A1 WO 2016208422 A1 WO2016208422 A1 WO 2016208422A1 JP 2016067369 W JP2016067369 W JP 2016067369W WO 2016208422 A1 WO2016208422 A1 WO 2016208422A1
Authority
WO
WIPO (PCT)
Prior art keywords
offset
value
gain
pressure
output value
Prior art date
Application number
PCT/JP2016/067369
Other languages
English (en)
French (fr)
Inventor
泰慶 趙
希世 廣部
Original Assignee
アルプス電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by アルプス電気株式会社 filed Critical アルプス電気株式会社
Publication of WO2016208422A1 publication Critical patent/WO2016208422A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L9/00Measuring steady of quasi-steady pressure of fluid or fluent solid material by electric or magnetic pressure-sensitive elements; Transmitting or indicating the displacement of mechanical pressure-sensitive elements, used to measure the steady or quasi-steady pressure of a fluid or fluent solid material, by electric or magnetic means

Definitions

  • the present invention relates to a pressure measuring device that measures pressure based on a detection result of a pressure sensor.
  • the pressure sensor is mainly used for measuring the pressure of fluid (air) and has been used in various industrial fields.
  • Patent Document 1 describes an example of a pressure sensor that detects an intake air pressure of an internal combustion engine for a vehicle. In recent years, it is also used for measuring atmospheric pressure in portable devices such as smartphones.
  • the present invention has been made in view of such circumstances, and an object of the present invention is to provide a pressure measuring device, a pressure measuring method, and a program capable of obtaining a pressure measurement value having a high resolution with a simple configuration.
  • a pressure measuring device is an amplifying unit that amplifies a pressure detection signal of a pressure sensor, the amplifying unit capable of changing the gain of the amplifying, and the amplifying unit and / or the amplifying unit.
  • An offset adjustment unit that adjusts an offset applied to the pressure detection signal in a previous circuit, and a processing unit that acquires a pressure measurement value based on an output value of the amplification unit.
  • the processing unit sets the offset adjusted by the offset adjustment unit to a predetermined value, sets the gain of the amplification unit to a first gain, and based on the output value of the amplification unit in the setting,
  • An offset determination process for determining the offset capable of bringing the output value of the amplification unit close to a reference value within a normal range, and the offset adjusted by the offset adjustment unit determined by the offset determination process
  • the gain of the amplifying unit is set to a second gain higher than the first gain, and a measurement value acquisition process is performed to acquire a pressure measurement value based on the output value of the amplifying unit in the setting
  • the offset adjusted by the offset adjustment unit is set to a predetermined value, and the gain of the amplification unit is set to the first gain. Then, based on the output value of the amplifying unit in the set state, the offset capable of bringing the output value of the amplifying unit close to a reference value within a normal range is determined.
  • the offset adjusted by the offset adjustment unit is set to the offset determined by the offset determination process, and the gain of the amplification unit is higher than the first gain. Set to gain. And the said pressure measurement value is acquired based on the output value of the said amplification part in the state of the setting.
  • the output value of the amplification unit is within the normal range, and the normal A pressure measurement is obtained. Therefore, it is possible to obtain a pressure measurement value with high resolution without using a plurality of pressure sensors having different sensitivities or increasing the bit width of the output value of the amplifying unit.
  • the processing unit determines a new offset in the offset determination process, and uses the new offset to perform the measurement.
  • Value acquisition processing may be performed. Thereby, it becomes possible to acquire a pressure measurement value with high resolution in a wide pressure range.
  • a first function may be defined as a function for converting an output value of the amplification unit when the amplification unit has the first gain into the pressure measurement value.
  • the processing unit A function determination process may be performed to determine a second function that is a function for converting the output value of the amplification unit having the second gain into the pressure measurement value.
  • the processing unit may convert the output value of the amplification unit into the pressure measurement value according to the second function determined by the function determination process. For example, in the function determination process, the processing unit may determine, as the second function, a linear function that uses a value of the derivative in the offset output value as a slope coefficient.
  • the derivative of the first function and the offset output value as a function for converting the output value of the amplification unit when the amplification unit has the second gain into the pressure measurement value.
  • the second function determined based on the above is used. Therefore, for example, accurate pressure measurement values can be obtained with simple processing without performing complicated processing such as selecting a function corresponding to the offset output value from a number of functions prepared in advance.
  • the amplifying unit is an amplifying circuit for amplifying the pressure detection signal, and an amplifying circuit capable of switching the gain of the amplification to the first gain or the second gain according to the setting of the processing unit; And an AD converter circuit for converting the output signal of the amplifier circuit into a digital signal.
  • the processing unit may acquire the digital signal of the AD conversion circuit as an output value of the amplification unit.
  • the offset adjustment unit may generate an offset adjustment signal according to the setting of the processing unit.
  • the amplifying circuit may amplify by adding an offset corresponding to the offset adjustment signal to the pressure detection signal.
  • a second aspect of the present invention relates to a pressure measurement method in which a computer acquires a pressure measurement value based on a result of amplifying a pressure detection signal of a pressure sensor.
  • the computer that can set the gain of an amplifying device that amplifies the pressure detection signal and the offset of the offset adjustment device that adjusts the offset added to the pressure detection signal is set by the computer.
  • the offset adjusted by the adjustment device is set to a predetermined value
  • the gain of the amplification device is set to a first gain
  • the output value of the amplification device is set based on the output value of the amplification device in the setting.
  • the gain of the amplification device is higher than the first gain Set 2 gain, and a measurement value acquisition step of acquiring pressure measurement based on the output value of the amplifier device in the setting.
  • the computer determines a new offset in the offset determination step, and uses the new offset to measure the measurement value.
  • An acquisition step may be performed. Thereby, it becomes possible to acquire a pressure measurement value with high resolution in a wide pressure range.
  • a first function may be defined as a function for converting an output value of the amplifier when the amplifier has the first gain into the pressure measurement value.
  • the pressure measuring method is based on a derivative of the first function and an offset output value that is an output value of the amplifying device used for determining the offset in the offset determining step.
  • a function determining step of determining a second function which is a function for converting an output value of the amplifier when the amplifier has the second gain into the pressure measurement value.
  • the computer may convert the output value of the amplification device into the pressure measurement value according to the second function determined in the function determination step.
  • the computer may determine a linear function having a value of the derivative in the offset output value as a slope coefficient as the second function.
  • the derivative of the first function and the offset output value as a function for converting the output value of the amplifier when the amplifier has the second gain into the pressure measurement value.
  • the second function determined based on the above is used. Therefore, an accurate pressure measurement value can be obtained with a simple procedure without going through a complicated procedure such as selecting a function corresponding to the offset output value from a number of functions prepared in advance.
  • a third aspect of the present invention is a program for causing a computer to execute the pressure measurement method according to the second aspect.
  • FIG. 2A shows the relationship between the pressure measured in the low resolution measurement mode and the output value of the amplification unit
  • FIG. 2B shows the relationship between the pressure measured in the high resolution measurement mode and the output value of the amplification unit.
  • FIG. 5A shows the relationship between the output value of the amplification unit and the pressure measurement value in the low resolution measurement mode
  • FIG. 5B shows the relationship between the output value of the amplification unit and the pressure measurement value in the high resolution measurement mode.
  • FIG. 1 is a diagram illustrating an example of a configuration of a pressure measurement device according to the first embodiment.
  • the pressure measurement device shown in FIG. 1 is a device that acquires a pressure measurement value PD based on a pressure detection signal (Sp +, Sp ⁇ ) obtained by the pressure sensor 1, and includes an amplification unit 2, an offset adjustment unit 3, It has a processing unit 4 and a storage unit 6.
  • the pressure sensor 1 has four sensor elements (R1 to R4) constituting a Wheatstone bridge and a current source 11.
  • the sensor elements R1 to R4 are, for example, resistance elements that detect pressure using the piezoresistance effect, and the resistance value changes according to the pressure.
  • a series circuit of sensor elements R1 and R2 and a series circuit of sensor elements R3 and R4 are connected in parallel, and a constant current is supplied from the current source 11 to the two series circuits connected in parallel.
  • the signal Sp + is output from the common connection node of the sensor elements R1 and R2, and the signal Sp ⁇ is output from the common connection node of the sensor elements R3 and R4.
  • a differential signal between the signal Sp + and the signal Sp ⁇ becomes a pressure detection signal of the pressure sensor 1.
  • the amplification unit 2 amplifies the pressure detection signal (Sp +, Sp ⁇ ) of the pressure sensor 1 and outputs the amplification result as an output value D.
  • the amplifying unit 2 changes the gain according to the gain setting signal S41 given from the processing unit 4. Further, the amplifying unit 2 adds an offset corresponding to the offset adjustment signal Sofs supplied from the offset adjusting unit 3 to the pressure detection signal (Sp +, Sp ⁇ ) and amplifies it.
  • the amplification unit 2 includes an amplification circuit 21 and an AD conversion circuit 22, for example, as shown in FIG.
  • the amplifier circuit 21 amplifies the pressure detection signal (Sp +, Sp ⁇ ) with a gain corresponding to the gain setting signal S41. For example, the amplifier circuit 21 switches the gain to “first gain G1” or “second gain G2” (G1 ⁇ G2) according to the gain setting signal S41. Further, the amplifier circuit 21 can change the offset that is added to the pressure detection signal (Sp +, Sp ⁇ ) and amplified in accordance with the offset adjustment signal Sofs. Thus, the offset of the amplifier circuit 21 can be adjusted so that the output signal Sa of the amplifier circuit 21 becomes equal to a predetermined reference level (for example, a voltage that is half the power supply voltage).
  • a predetermined reference level for example, a voltage that is half the power supply voltage
  • the AD conversion circuit 22 converts the output signal Sa of the amplification circuit 21 into an output value D that is a digital value having a predetermined bit length.
  • the output value D of the AD conversion circuit 22 becomes a predetermined reference value (for example, the median value of the output range).
  • the offset adjustment unit 3 is a circuit that adjusts an offset applied to the pressure detection signal (Sp +, Sp ⁇ ) in the amplification unit 2, and generates an offset adjustment signal Sofs corresponding to the offset adjustment value S42 given from the processing unit 4. To do.
  • the offset adjustment unit 3 includes, for example, a DA conversion circuit that converts an adjustment value S42 that is a digital signal into an offset adjustment signal Sofs that is an analog signal.
  • the processing unit 4 is a device that performs processing for obtaining the pressure measurement value PD based on the output value D of the amplification unit 2, and includes, for example, a computer that performs processing based on a program stored in the storage unit 6. Is done.
  • the processing unit 4 may perform all the processing by a computer, or may perform at least a part of the processing by dedicated hardware (ASIC or the like).
  • the processing unit 4 can acquire the pressure measurement value PD in two types of measurement modes (low resolution measurement mode and high resolution measurement mode) with different resolutions of measurement results.
  • the processing unit 4 switches the measurement mode according to, for example, a command input from a host device (not shown) or a user instruction input from a user interface device (not shown).
  • the processing unit 4 sets the gain of the amplification unit 2 to the “first gain G1” and adds to the pressure detection signals (Sp +, Sp ⁇ ).
  • the offset to be set is set to a predetermined value (for example, zero).
  • the processing unit 4 acquires the pressure measurement value PD based on the output value D of the amplification unit 2 obtained under this setting.
  • the processing unit 4 performs an offset determination process for determining an offset to be given to the pressure detection signal (Sp +, Sp ⁇ ), and pressure measurement at the determined offset.
  • a measurement value acquisition process for acquiring the value PD is performed.
  • the processing unit 4 sets the offset of the offset adjustment unit 3 to a predetermined value (for example, zero) and sets the gain of the amplification unit 2 to “first gain G1”. Based on the output value D of the amplification unit 2 obtained under this setting, the processing unit 4 brings the output value D of the amplification unit 2 close to a reference value within the normal output range (for example, the median value of the output range).
  • a possible offset adjustment value S42 is determined.
  • the processing unit 4 calculates the adjustment value S42 according to the output value D according to a predetermined calculation formula for converting the output value D of the amplification unit 2 into the adjustment value S42 of the offset adjustment unit 3.
  • the processing unit 4 may acquire the adjustment value S42 corresponding to the output value D by reading out and referring to the data table indicating the correspondence relationship between the output value D and the adjustment value S42 from the storage unit 6 or the like. .
  • the processing unit 4 sets the adjustment value S42 determined in the offset determination process in the offset adjustment unit 3, and sets the gain of the amplification unit 2 to “second gain G2”. S41 is output.
  • the processing unit 4 acquires the pressure measurement value PD based on the output value D of the amplification unit 2 obtained under this setting.
  • the processing unit 4 determines that the output value D of the amplification unit 2 deviates from the normal output range in the “high resolution measurement mode” (for example, the output signal Sa of the amplification circuit 21 exceeds the input range of the AD conversion circuit 22). When the output value D overflows), the offset determination process described above is performed again to determine a new offset adjustment value S42. The processing unit 4 performs a measurement value acquisition process using the new offset adjustment value S42.
  • the storage unit 6 is a device that stores a computer program included in the processing unit 4, constant data used in the process execution, temporary variable data, and the like, and includes a ROM, a RAM, a flash memory, and the like. Composed.
  • FIG. 2 is a diagram illustrating the relationship between the pressure measured by the pressure measuring device according to the first embodiment and the output value D of the amplifying unit 2.
  • 2A shows the relationship between the pressure P and the output value D in the low resolution measurement mode
  • FIG. 2B shows the relationship between the pressure Pr and the output value D in the high resolution measurement mode.
  • the gain is increased by increasing the gain of the amplification unit 2 compared to the low resolution measurement mode, while the measurement range is narrowed.
  • the resolution is reduced to 1 / A when the low resolution measurement mode is switched to the high resolution measurement mode.
  • the measurement range is also narrowed to 1 / A.
  • the offset in the amplifying unit 2 is adjusted so that the output value D of the amplifying unit 2 does not deviate from the normal output range even if the measurement range becomes narrow in the high resolution measurement mode.
  • the output value D is substantially equal to a predetermined reference value included in a normal output range (for example, within the range from the minimum value that can be output by the AD conversion circuit 22 to the maximum value).
  • the offset added to the pressure detection signal (Sp +, Sp ⁇ ) is adjusted in the amplification unit 2 so as to be equal.
  • the output value D of the amplifier 2 is the reference value when the pressure P is “p1”.
  • the median value of the output range of the AD conversion circuit 22 is substantially equal.
  • the output value D of the amplifying unit 2 deviates from the reference value.
  • the processing unit 4 determines whether the currently set measurement mode is the “low resolution measurement mode” or the “high resolution measurement mode” (ST10). In the low resolution measurement mode, the processing unit 4 outputs the adjustment value S42 to the offset adjustment unit 3 so that the offset applied to the pressure detection signal (Sp +, Sp ⁇ ) becomes a predetermined value (for example, zero), and the amplification unit
  • the gain setting signal S41 is output so that the gain of 2 becomes the “first gain G1” (ST20).
  • the processing unit 4 reads the output value D (ST30) and acquires the pressure measurement value PD corresponding to the output value D (ST40). For example, the processing unit 4 calculates the pressure measurement value PD from the output value D based on a predetermined calculation formula.
  • the processing unit 4 determines whether a signal from an external device (higher level device, user interface device, etc.) instructing the end of measurement is input, and if the instruction is input The measurement operation is terminated (ST50). When continuing the measurement operation, the processing unit 4 determines whether a signal from an external device instructing to change the measurement mode is input. If the signal is input, the processing unit 4 returns to step ST10 to determine the measurement mode. Perform (ST60). When continuing the low resolution measurement mode, the processing unit 4 returns to step ST30 and repeats the same operation as described above to obtain the pressure measurement value PD.
  • an external device high level device, user interface device, etc.
  • step ST10 If it is determined in step ST10 that the measurement mode is the “high resolution measurement mode”, the processing unit 4 sets the offset adjustment unit so that the offset applied to the pressure detection signal (Sp +, Sp ⁇ ) becomes a predetermined value (for example, zero).
  • the adjustment value S42 is output to 3, and the gain setting signal S41 is output so that the gain of the amplification unit 2 becomes the “first gain G1” (ST70).
  • the processing unit 4 reads the output value D (ST80), and determines the offset of the amplification unit 2 according to the output value D (ST90).
  • the processing unit 4 sets the output value D of the amplification unit 2 when the gain is set to the “second gain G2” based on the output value D read in step ST80 as a predetermined reference value (for example, the AD conversion circuit 22).
  • An offset adjustment value S42 that approaches the median value of the output range is calculated.
  • the processing unit 4 When the offset adjustment value S42 is calculated, the processing unit 4 outputs the adjustment value S42 to the offset adjustment unit 3 and outputs the gain setting signal S41 so that the gain of the amplification unit 2 becomes the “second gain G2”. (ST100).
  • the processing unit 4 reads the output value D (ST110), and whether the output value D has overflowed (is within the normal output range). Is determined (ST120). If the output value D has overflowed, the processing unit 4 returns to step ST70, repeats the above-described processing, and again determines the offset of the amplification unit 2.
  • the processing unit 4 acquires a pressure measurement value PD corresponding to the output value D (ST130). For example, the processing unit 4 calculates the pressure measurement value PD from the output value D based on a predetermined calculation formula.
  • the processing unit 4 determines whether a signal from an external device instructing the end of measurement is input, and ends the measurement operation when the instruction is input (ST140). When continuing the measurement operation, the processing unit 4 determines whether a signal from an external device instructing to change the measurement mode is input. If the signal is input, the processing unit 4 returns to step ST10 to determine the measurement mode. Perform (ST150). When continuing the high resolution measurement mode, the processing unit 4 returns to step ST110 and repeats the same operation as described above to acquire the pressure measurement value PD.
  • the offset of the amplification unit 2 adjusted by the offset adjustment unit 3 in the offset determination processing (FIG. 4: ST70 to ST90) in the high resolution measurement mode is While being set to a predetermined value, the gain of the amplifying unit 2 is set to the first gain G1. Then, based on the output value D of the amplification unit 2 in the set state, the offset of the amplification unit 2 that can bring the output value D of the amplification unit 2 close to the reference value within the normal range is determined. Next, in the measurement value acquisition process (FIG.
  • the offset of the amplification unit 2 adjusted by the offset adjustment unit 3 is set to the offset determined by the offset determination process, and the amplification is performed.
  • the gain of the unit 2 is set to the second gain G2 higher than the first gain G1.
  • the pressure measurement value PD is acquired based on the output value D of the amplification part 2 in the set state.
  • the value PD can be obtained. Therefore, the pressure measurement value PD with high resolution can be obtained with a simple configuration without using a plurality of pressure sensors having different sensitivities or increasing the bit width of the output value D of the amplifier 2.
  • the pressure measurement device when the output value D of the amplification unit 2 deviates from the normal range in the measurement value acquisition process in the high resolution measurement mode (FIG. 9: ST120), the offset determination process (FIG. 4: ST70 to ST90), a new offset is determined, and measurement value acquisition processing (FIG. 4: ST100 to ST130) is performed using the new offset.
  • the offset of the amplifying unit 2 is adjusted following the change, so that a pressure measurement value PD with high resolution can be acquired in a wide pressure range.
  • the pressure measuring device according to the present embodiment is obtained by changing the operation related to the acquisition of the pressure measurement value PD of the processing unit 4 in the pressure measuring device shown in FIG. 1, and the other configuration is the same as the pressure measuring device shown in FIG. The same.
  • FIG. 5 is a diagram showing the relationship between the output value D of the amplifying unit 2 and the pressure measurement value PD in the pressure measurement device according to the second embodiment.
  • FIG. 5A shows the relationship between the output value D and the pressure measurement value PD in the low resolution measurement mode
  • FIG. 5B shows the relationship between the output value D and the pressure measurement value PD in the high resolution measurement mode.
  • the pressure detection signals (Sp +, Sp ⁇ ) output from the sensor elements R1 to R4 of the pressure sensor 1 do not have a complete proportional relationship with the external pressure, and as shown in FIG. There may be a case where a nonlinear component proportional to the square or the third power is included. Therefore, the processing unit 4 of the pressure measuring device according to the present embodiment outputs the output of the amplifying unit 2 according to, for example, the first function F1 (D) shown below in the low resolution measurement mode in which the amplifying unit 2 has the first gain G1. The value D is converted into a pressure measurement value PD.
  • Equation (1) are coefficients of each term of the cubic polynomial, and are determined by actual measurement, for example.
  • the first function F1 (D) in the equation (1) is for the low resolution measurement mode and cannot be used as it is.
  • the first function F1 (D) in the equation (1) is for the low resolution measurement mode and cannot be used as it is.
  • the output value D (“X” in FIG. 5A) of the low resolution measurement mode used for determining the offset of the amplification unit 2 in the high resolution measurement mode changes, the first function F1.
  • the range corresponding to the measurement range in the high resolution measurement mode moves on the curve (D). Therefore, when “X” changes, the function for converting the output value D in the high resolution measurement mode into the pressure measurement value PD changes accordingly.
  • a method of determining the above function in the high resolution measurement mode for example, a method of dividing the range of the output value D in the low resolution measurement mode into a plurality of sections and determining a function to be used in the high resolution measurement mode for each section is considered. It is done.
  • this method has the disadvantage that it is necessary to store the coefficient values of a plurality of functions in the storage unit 6 and a storage area for that purpose is required. Further, if the division of the output value D is rough, there is a disadvantage that the error of the pressure measurement value PD becomes large.
  • the output value D in the high resolution measurement mode is once converted into the output value D in the low resolution measurement mode, and the low resolution measurement mode is converted using the first function F1 (D) of the equation (1).
  • a method is also conceivable in which the pressure measurement value PD is calculated and converted again into the pressure measurement value PD in the high resolution measurement mode.
  • this method has the disadvantage that the calculation process is complicated, and the bit width of the output value D becomes large in the calculation of the first function F1 (D), so that the calculation load becomes heavy.
  • the processing unit 4 of the pressure measuring device uses the derivative FA1 (D) of the first function F1 (D) and the output value D of the amplifying unit 2 used for offset determination in the offset determination processing.
  • a function determination process for determining the second function F2 (D) is performed.
  • the second function F2 (D) is a function for converting the output value D of the amplification unit 2 into the pressure measurement value PD when the amplification unit 2 has the second gain G2 in the high resolution measurement mode. It is expressed by a formula.
  • the derivative FA1 (D) of the first function F1 (D) is expressed by the following equation.
  • the second function F2 (D) is a linear function with the output value D as a variable.
  • the slope coefficient “3a * X 2 + 2b * X + c” of the second function F2 (D) is equal to the value of the derivative FA1 (D) in the offset output value X (FIG. 5A). Therefore, the slope of the second function F2 (D) is equal to the slope of the first function F1 (D) in the vicinity of the offset output value X.
  • the processing unit 4 determines whether the currently set measurement mode is the “low resolution measurement mode” or the “high resolution measurement mode” (ST10). In the case of the low resolution measurement mode, the processing unit 4 performs the same processing as steps ST20 to ST60 in FIG. However, in step ST40A in which the pressure measurement value PD is acquired based on the output value D, the pressure measurement value PD is calculated based on the first function F1 (D) of Expression (1).
  • step ST10 determines the offset of the amplification unit 2 in the high resolution measurement mode by the offset determination process (ST70 to ST90) similar to FIG. decide. Further, the processing unit 4 of the pressure measuring device according to the present embodiment calculates the slope coefficient “3a * X 2 + 2b * X + c” of the second function F2 (D) shown in Expression (4) (ST95).
  • the processing unit 4 acquires the pressure measurement value PD in the high resolution measurement mode by the measurement value acquisition processing (ST100 to ST130) similar to FIG. .
  • the pressure measurement value PD is calculated based on the second function F2 (D) determined in step ST95.
  • the output value D of the amplification unit 2 when the amplification unit 2 has the second gain G2 in the high resolution measurement mode is converted into the pressure measurement value PD.
  • the second function F2 (D) determined based on the derivative FA1 (D) of the first function F1 (D) and the offset output value X is used. Therefore, for example, accurate pressure measurement values PD can be obtained by simple processing without performing complicated processing such as selecting a function corresponding to the offset output value X from a number of functions prepared in advance.
  • the offset added to the pressure detection signal (Sp +, Sp ⁇ ) is adjusted in the amplification circuit 21 of the amplification unit 2, but the present invention is not limited to this example.
  • the upstream circuit 5 of the amplifying unit 2 adds an offset to the pressure detection signal (Sp +, Sp ⁇ )
  • the offset may be adjusted in the upstream circuit 5.
  • the preceding circuit 5 adds an offset corresponding to the offset adjustment signal Sofs of the offset adjustment unit 3 to the pressure detection signal (Sp +, Sp ⁇ ).
  • the offset by the internal circuit may be adjusted according to the offset adjustment signal Sofs. Further, both the offset applied to the pressure detection signal (Sp +, Sp ⁇ ) by the amplifier 2 and the offset applied to the pressure detection signal (Sp +, Sp ⁇ ) in the preceding stage circuit 5 may be adjusted.
  • a pressure measurement value may be acquired based on a pressure detection signal from a pressure sensor using a sensor element in which another physical quantity (for example, capacitance) changes according to pressure. .

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

まずオフセット決定処理において、オフセット調整部3により調整される増幅部2のオフセットが所定の値に設定されるとともに、増幅部2のゲインが第1ゲインG1に設定される。そして、その設定の状態における増幅部2の出力値Dに基づいて、増幅部2の出力値Dを正常範囲内の基準値へ近づけることが可能な増幅部2のオフセットが決定される。次に測定値取得処理において、オフセット調整部3により調整される増幅部2のオフセットがオフセット決定処理で決定されたオフセットに設定されるとともに、増幅部2のゲインが第1ゲインG1より高い第2ゲインG2に設定される。そして、その設定の状態における増幅部2の出力値Dに基づいて、圧力測定値PDが取得される。

Description

圧力測定装置、圧力測定方法及びプログラム
 本発明は、圧力センサの検出結果に基づいて圧力を測定する圧力測定装置に関するものである。
 圧力センサは、主に流体(空気)の圧力を測定する用途で、従来より様々な産業分野の機器に使用されている。下記の特許文献1には、車両用内燃機関の吸入空気圧力を検出する圧力センサの例が記載されている。また近年では、スマートフォン等の携帯機器において大気圧を測定する用途にも使用されている。
特開2009-168616号公報
 上記特許文献1に記載される装置では、圧力の検出に要求される線形特性の傾きが異なる2つの圧力センサの圧力検出信号から、要求される直線性に近く、検出誤差が小さい方の圧力検出信号が選択され、計測値が決定される。しかしながら、上記のように2つの圧力センサを搭載することは、スペースに限りがあるスマートフォンのような小型の携帯機器において不利であり、消費電力が大きくなるという問題がある。
 他方、スマートフォン等の携帯機器の分野では、より高い分解能で大気圧を検出したいという要望がある。この場合も、上記特許文献1に記載される装置のように、感度が異なる2つの圧力センサを搭載することが考えられるが、小型化や省電力化の点で問題がある。また、1つの圧力センサで高い測定分解能が得られるように、デジタル出力のビット幅を大きくすることも考えられるが、AD変換回路のサイズの増大、演算回路の規模の増大、消費電力の増大、AD変換時間の増大といった問題がある。
 本発明はかかる事情に鑑みてなされたものであり、その目的は、簡易な構成でありながら分解能の高い圧力測定値が得られる圧力測定装置、圧力測定方法及びプログラムを提供することにある。
 本発明の第1の観点に係る圧力測定装置は、圧力センサの圧力検出信号を増幅する増幅部であって、当該増幅のゲインを変更可能な増幅部と、前記増幅部及び/又は前記増幅部の前段の回路において前記圧力検出信号に加えられるオフセットを調整するオフセット調整部と、前記増幅部の出力値に基づいて圧力測定値を取得する処理部とを有する。前記処理部は、前記オフセット調整部により調整される前記オフセットを所定の値に設定するとともに、前記増幅部のゲインを第1ゲインに設定し、当該設定における前記増幅部の出力値に基づいて、前記増幅部の出力値を正常範囲内の基準値へ近づけることが可能な前記オフセットを決定するオフセット決定処理、及び、前記オフセット調整部により調整される前記オフセットを前記オフセット決定処理で決定されたオフセットに設定するとともに、前記増幅部のゲインを前記第1ゲインより高い第2ゲインに設定し、当該設定における前記増幅部の出力値に基づいて圧力測定値を取得する測定値取得処理を行う
 上記の構成によれば、まず前記オフセット決定処理において、前記オフセット調整部により調整される前記オフセットが所定の値に設定されるとともに、前記増幅部のゲインが前記第1ゲインに設定される。そして、その設定の状態における前記増幅部の出力値に基づいて、前記増幅部の出力値を正常範囲内の基準値へ近づけることが可能な前記オフセットが決定される。次に前記測定値取得処理において、前記オフセット調整部により調整される前記オフセットが前記オフセット決定処理で決定されたオフセットに設定されるとともに、前記増幅部のゲインが前記第1ゲインより高い前記第2ゲインに設定される。そして、その設定の状態における前記増幅部の出力値に基づいて、前記圧力測定値が取得される。その結果として、前記増幅部のゲインを相対的に低い前記第1ゲインから相対的に高い前記第2ゲインへ変更しても、前記増幅部の出力値が前記正常範囲内に収まり、正常な前記圧力測定値が得られる。従って、感度の異なる複数の圧力センサを使用したり、前記増幅部の出力値のビット幅を大きくしたりせずとも、分解能の高い圧力測定値を取得することが可能となる。
 好適に、前記処理部は、前記測定値取得処理において前記増幅部の出力値が前記正常範囲から逸脱した場合、前記オフセット決定処理において新たなオフセットを決定し、当該新たなオフセットを用いて前記測定値取得処理を行ってよい。
 これにより、広い圧力範囲で分解能の高い圧力測定値を取得することが可能となる。
 好適に、前記増幅部が前記第1ゲインを持つ場合の前記増幅部の出力値を前記圧力測定値へ変換するための関数として、第1関数が定められていてよい。この場合において、前記処理部は、前記第1関数の導関数と、前記オフセット決定処理において前記オフセットの決定に用いた前記増幅部の出力値であるオフセット出力値とに基づいて、前記増幅部が前記第2ゲインを持つ場合の前記増幅部の出力値を前記圧力測定値へ変換するための関数である第2関数を決定する関数決定処理をおこなってよい。前記測定値取得処理では、前記処理部は、前記増幅部の出力値を、前記関数決定処理により決定された前記第2関数に従って前記圧力測定値に変換してよい。
 例えば、前記処理部は、前記関数決定処理において、前記オフセット出力値における前記導関数の値を傾き係数とする一次関数を前記第2関数として決定してよい。
 上記の構成によれば、前記増幅部が前記第2ゲインを持つ場合の前記増幅部の出力値を前記圧力測定値へ変換するための関数として、前記第1関数の導関数と前記オフセット出力値とに基づいて決定された前記第2関数が用いられる。従って、例えば予め準備した多数の関数の中から前記オフセット出力値に応じた関数を選択するような複雑な処理をせずとも、簡易な処理で精度のよい圧力測定値が得られる。
 好適に、前記増幅部は、前記圧力検出信号を増幅する増幅回路であって、前記処理部の設定に応じて前記増幅のゲインを前記第1ゲイン又は前記第2ゲインに切り換え可能な増幅回路と、前記増幅回路の出力信号をデジタル信号に変換するAD変換回路とを含んでよい。前記処理部は、前記AD変換回路の前記デジタル信号を前記増幅部の出力値として取得してよい。
 好適に、前記オフセット調整部は、前記処理部の設定に応じたオフセット調整信号を生成してよい。前記増幅回路は、前記オフセット調整信号に応じたオフセットを前記圧力検出信号に加えて増幅してよい。
 本発明の第2の観点は、圧力センサの圧力検出信号を増幅した結果に基づいて、コンピュータが圧力測定値を取得する圧力測定方法に関するものである。上記圧力測定方法は、前記圧力検出信号の増幅を行う増幅装置のゲイン、及び、前記圧力検出信号に加えられるオフセットの調整を行うオフセット調整装置の当該オフセットをそれぞれ設定可能な前記コンピュータが、前記オフセット調整装置により調整される前記オフセットを所定の値に設定するとともに、前記増幅装置のゲインを第1ゲインに設定し、当該設定における前記増幅装置の出力値に基づいて、前記増幅装置の出力値を正常範囲内の基準値へ近づけることが可能な前記オフセットを決定するオフセット決定ステップと、前記コンピュータが、前記オフセット調整装置により調整される前記オフセットを前記オフセット決定ステップで決定されたオフセットに設定するとともに、前記増幅装置のゲインを前記第1ゲインより高い第2ゲインに設定し、当該設定における前記増幅装置の出力値に基づいて圧力測定値を取得する測定値取得ステップとを有する。
 上記の構成によれば、前記増幅装置のゲインを相対的に低い前記第1ゲインから相対的に高い前記第2ゲインへ変更しても、前記増幅装置の出力値が前記正常範囲内に収まり、正常な前記圧力測定値が得られる。従って、感度の異なる複数の圧力センサを使用したり、前記増幅装置の出力値のビット幅を大きくしたりせずとも、分解能の高い圧力測定値を取得することが可能となる。
 好適に、前記測定値取得ステップにおいて前記増幅装置の出力値が前記正常範囲から逸脱した場合、前記コンピュータが、前記オフセット決定ステップにおいて新たなオフセットを決定し、当該新たなオフセットを用いて前記測定値取得ステップを実行してよい。
 これにより、広い圧力範囲で分解能の高い圧力測定値を取得することが可能となる。
 好適に、前記増幅装置が前記第1ゲインを持つ場合の前記増幅装置の出力値を前記圧力測定値へ変換するための関数として、第1関数が定められていてよい。この場合において、上記圧力測定方法は、前記コンピュータが、前記第1関数の導関数と、前記オフセット決定ステップにおいて前記オフセットの決定に用いた前記増幅装置の出力値であるオフセット出力値とに基づいて、前記増幅装置が前記第2ゲインを持つ場合の前記増幅装置の出力値を前記圧力測定値へ変換するための関数である第2関数を決定する関数決定ステップを更に有してよい。前記測定値取得ステップでは、前記コンピュータが、前記増幅装置の出力値を、前記関数決定ステップにより決定された前記第2関数に従って前記圧力測定値に変換してよい。
 例えば、前記関数決定ステップでは、前記コンピュータが、前記オフセット出力値における前記導関数の値を傾き係数とする一次関数を前記第2関数として決定してよい。
 上記の構成によれば、前記増幅装置が前記第2ゲインを持つ場合の前記増幅装置の出力値を前記圧力測定値へ変換するための関数として、前記第1関数の導関数と前記オフセット出力値とに基づいて決定された前記第2関数が用いられる。従って、例えば予め準備した多数の関数の中から前記オフセット出力値に応じた関数を選択するような複雑な手順を経ずともも、簡易な手順で精度のよい圧力測定値が得られる。
 本発明の第3の観点は、上記第2の観点に係る圧力測定方法をコンピュータに実行させるためのプログラムである。
 本発明によれば、簡易な構成でありながら分解能の高い圧力測定値を得ることができる。
第1の実施形態に係る圧力測定装置の構成の一例を示す図である。 第1の実施形態に係る圧力測定装置において測定される圧力と増幅部の出力値との関係を示す図である。図2Aは低分解能測定モードにおいて測定される圧力と増幅部の出力値との関係を示し、図2Bは高分解能測定モードにおいて測定される圧力と増幅部の出力値との関係を示す。 第1の実施形態に係る圧力測定装置の動作を説明するための第1のフローチャートである。 第1の実施形態に係る圧力測定装置の動作を説明するための第2のフローチャートである。 第2の実施形態に係る圧力測定装置における増幅部の出力値と圧力測定値との関係を示す図である。図5Aは低分解能測定モードにおける増幅部の出力値と圧力測定値との関係を示し、図5Bは高分解能測定モードにおける増幅部の出力値と圧力測定値との関係を示す。 第2の実施形態に係る圧力測定装置の動作を説明するための第1のフローチャートである。 第2の実施形態に係る圧力測定装置の動作を説明するための第2のフローチャートである。 本発明の実施形態に係る圧力測定装置の構成の一変形例を示す図である。
<第1の実施形態>
 以下、本発明の第1の実施形態に係る圧力測定装置について図面を参照しながら説明する。
 図1は、第1の実施形態に係る圧力測定装置の構成の一例を示す図である。図1に示す圧力測定装置は、圧力センサ1において得られた圧力検出信号(Sp+,Sp-)に基づいて圧力測定値PDを取得する装置であり、増幅部2と、オフセット調整部3と、処理部4と、記憶部6を有する。
 圧力センサ1は、図1の例において、ホイートストンブリッジを構成する4つのセンサ素子(R1~R4)と電流源11を有する。センサ素子R1~R4は、例えば、ピエゾ抵抗効果を利用して圧力を検出する抵抗素子であり、圧力に応じて抵抗値が変化する。センサ素子R1及びR2の直列回路とセンサ素子R3及びR4の直列回路とが並列に接続されており、この並列接続された2つの直列回路に電流源11から一定の電流が供給される。センサ素子R1及びR2の共通接続ノードから信号Sp+が出力され、センサ素子R3及びR4の共通接続ノードから信号Sp-が出力される。信号Sp+と信号Sp-の差動信号が、圧力センサ1の圧力検出信号となる。
 増幅部2は、圧力センサ1の圧力検出信号(Sp+,Sp-)を増幅し、その増幅結果を出力値Dとして出力する。増幅部2は、処理部4から与えられるゲイン設定信号S41に応じてゲインを変更する。また、増幅部2は、オフセット調整部3から供給されるオフセット調整信号Sofsに応じたオフセットを圧力検出信号(Sp+,Sp-)に加えて増幅する。
 増幅部2は、例えば図1に示すように、増幅回路21とAD変換回路22を有する。
 増幅回路21は、ゲイン設定信号S41に応じたゲインで圧力検出信号(Sp+,Sp-)を増幅する。例えば、増幅回路21は、ゲイン設定信号S41に応じてゲインを「第1ゲインG1」又は「第2ゲインG2」(G1<G2)に切り替える。また、増幅回路21は、圧力検出信号(Sp+,Sp-)に加算して増幅するオフセットを、オフセット調整信号Sofsに応じて変化させることが可能である。これにより、増幅回路21の出力信号Saが所定の基準レベル(例えば電源電圧の半分の電圧)と等しくなるように、増幅回路21のオフセットを調整することができる。
 AD変換回路22は、増幅回路21の出力信号Saを所定ビット長のデジタル値である出力値Dに変換する。増幅回路21の出力信号Saが所定の基準レベルのとき、AD変換回路22の出力値Dが所定の基準値(例えば出力範囲の中央値)となる。
 オフセット調整部3は、増幅部2において圧力検出信号(Sp+,Sp-)に加えられるオフセットを調整する回路であり、処理部4から与えられるオフセットの調整値S42に応じたオフセット調整信号Sofsを生成する。オフセット調整部3は、例えば、デジタル信号である調整値S42をアナログ信号であるオフセット調整信号Sofsへ変換するDA変換回路を含んで構成される。
 処理部4は、増幅部2の出力値Dに基づいて圧力測定値PDを取得する処理を行う装置であり、例えば記憶部6に格納されるプログラムに基づいて処理を実行するコンピュータを含んで構成される。処理部4は、全ての処理をコンピュータによって行ってもよいし、少なくとも一部の処理を専用のハードウェア(ASIC等)で行ってもよい。
 処理部4は、測定結果の分解能が異なる2種類の測定モード(低分解能測定モード,高分解能測定モード)で圧力測定値PDを取得することができる。処理部4は、例えば、不図示の上位装置から入力されるコマンドや、不図示のユーザインターフェース装置において入力されるユーザの指示に従って測定モードを切り替える。
 測定結果の分解能が比較的低い「低分解能測定モード」の場合、処理部4は、増幅部2のゲインを「第1ゲインG1」に設定するとともに、圧力検出信号(Sp+,Sp-)に加えられるオフセットを所定の値(例えばゼロ)に設定する。処理部4は、この設定の元で得られた増幅部2の出力値Dに基づいて、圧力測定値PDを取得する。
 他方、測定結果の分解能が比較的高い「高分解能測定モード」の場合、処理部4は、圧力検出信号(Sp+,Sp-)に与えるオフセットを決定するオフセット決定処理と、決定したオフセットにおいて圧力測定値PDを取得する測定値取得処理を行う。
 まず処理部4は、オフセット決定処理において、オフセット調整部3のオフセットを所定の値(例えばゼロ)に設定するとともに、増幅部2のゲインを「第1ゲインG1」に設定する。処理部4は、この設定の元で得られた増幅部2の出力値Dに基づいて、増幅部2の出力値Dを正常な出力範囲内の基準値(例えば出力範囲の中央値)へ近づけることが可能なオフセットの調整値S42を決定する。例えば、処理部4は、増幅部2の出力値Dをオフセット調整部3の調整値S42へ変換する所定の計算式を従って、出力値Dに応じた調整値S42を算出する。或いは、処理部4は、出力値Dと調整値S42との対応関係を示すデータテーブルを記憶部6等から読み出して参照することにより、出力値Dに対応する調整値S42を取得してもよい。
 次に処理部4は、測定値取得処理において、オフセット決定処理で決定した調整値S42をオフセット調整部3に設定するとともに、増幅部2のゲインを「第2ゲインG2」に設定するゲイン設定信号S41を出力する。処理部4は、この設定の元で得られた増幅部2の出力値Dに基づいて、圧力測定値PDを取得する。
 なお、処理部4は、「高分解能測定モード」において増幅部2の出力値Dが正常な出力範囲から逸脱した場合(例えば、増幅回路21の出力信号SaがAD変換回路22の入力レンジを超えることで出力値Dがオーバーフローした場合)、上述したオフセット決定処理を再び行って、新たなオフセットの調整値S42を決定する。処理部4は、この新たなオフセットの調整値S42を用いて測定値取得処理を行う。
 記憶部6は、処理部4に含まれるコンピュータのプログラムや、処理の実行過程で使用される定数データ、一時的な変数データなどを記憶する装置であり、ROMやRAM、フラッシュメモリなどを含んで構成される。
 ここで、上述した構成を有する本実施形態に係る圧力測定装置の動作を説明する。
 図2は、第1の実施形態に係る圧力測定装置において測定される圧力と増幅部2の出力値Dとの関係を示す図である。図2Aは低分解能測定モードにおける圧力Pと出力値Dとの関係を示し、図2Bは高分解能測定モードにおける圧力Prと出力値Dとの関係を示す。
 高分解能測定モードでは、低分解能測定モードに比べて増幅部2のゲインが大きくなることにより分解能が向上する一方、測定レンジが狭くなる。例えば第2ゲインG2が第1ゲインG1のA倍であるとすると(G2=A×G1)、低分解能測定モードから高分解能測定モードへ切り替わった場合に、分解能は1/Aまで細かくなるが、測定レンジも1/Aに狭くなる。本実施形態に係る圧力測定装置では、高分解能測定モードにおいて測定レンジが狭くなっても増幅部2の出力値Dが正常な出力範囲から外れないようにするため、増幅部2におけるオフセットが調整される。すなわち、本実施形態に係る圧力測定装置では、出力値Dが正常な出力範囲内(例えばAD変換回路22の出力可能な最小値から最大値までの範囲内)に含まれる所定の基準値とほぼ等しくなるように、増幅部2において圧力検出信号(Sp+,Sp-)に加えられるオフセットが調整される。
 例えば図2Aにおいて示すように圧力Pが「p1」の状態で低分解能測定モードから高分解能測定モードに切り替わった場合、増幅部2の出力値Dは、圧力Pが「p1」のときに基準値(例えばAD変換回路22の出力範囲の中央値)とほぼ等しくなる。圧力Pが「p1」からずれると、増幅部2の出力値Dは基準値からずれることになるが、正常な出力範囲内であれば、「p1」からの圧力差(P-p1)に応じた値となる。すなわち、出力値Dは、「p1」からの相対的な圧力Pr(=P-p1)に応じた値となる。このとき出力値Dが表わす圧力Prの分解能は、低分解能測定モードに比べて細かくなる。
 図3及び図4は、第1の実施形態に係る圧力測定装置の動作の一例を説明するためのフローチャートである。
 処理部4は、現在設定されている測定モードが「低分解能測定モード」であるか「高分解能測定モード」であるかを判定する(ST10)。低分解能測定モードの場合、処理部4は、圧力検出信号(Sp+,Sp-)に加えるオフセットが所定値(例えばゼロ)となるようにオフセット調整部3へ調整値S42を出力するとともに、増幅部2のゲインが「第1ゲインG1」となるようにゲイン設定信号S41を出力する(ST20)。この設定の元で増幅部2の出力値Dが生成されると、処理部4はその出力値Dを読み込み(ST30)、出力値Dに応じた圧力測定値PDを取得する(ST40)。例えば処理部4は、所定の計算式に基づいて、出力値Dから圧力測定値PDを算出する。
 圧力測定値PDの算出後、処理部4は、測定の終了を指示する外部機器(上位装置、ユーザインターフェース装置など)からの信号が入力されているか判定し、当該指示が入力されている場合は測定動作を終了する(ST50)。測定動作を継続する場合、処理部4は、測定モードの変更を指示する外部機器からの信号が入力されいるか判定し、当該信号が入力されている場合はステップST10に戻って測定モードの判定を行う(ST60)。低分解能測定モードを継続する場合、処理部4は、ステップST30に戻って上述と同様の動作を繰り返し、圧力測定値PDを取得する。
 ステップST10において測定モードが「高分解能測定モード」であると判定した場合、処理部4は、圧力検出信号(Sp+,Sp-)に加えるオフセットが所定値(例えばゼロ)となるようにオフセット調整部3へ調整値S42を出力するとともに、増幅部2のゲインが「第1ゲインG1」となるようにゲイン設定信号S41を出力する(ST70)。この設定の元で増幅部2の出力値Dが生成されると、処理部4はその出力値Dを読み込み(ST80)、出力値Dに応じた増幅部2のオフセットを決定する(ST90)。すなわち、処理部4は、ステップST80で読み込んだ出力値Dに基づいて、ゲインを「第2ゲインG2」に設定したときの増幅部2の出力値Dが所定の基準値(例えばAD変換回路22の出力範囲の中央値)に近づくようなオフセットの調整値S42を算出する。
 オフセットの調整値S42を算出すると、処理部4は、この調整値S42をオフセット調整部3へ出力するとともに、増幅部2のゲインが「第2ゲインG2」となるようにゲイン設定信号S41を出力する(ST100)。この設定の元で増幅部2の出力値Dが生成されると、処理部4はその出力値Dを読み込み(ST110)、出力値Dがオーバーフローを生じていないか(正常な出力範囲内にあるか)を判定する(ST120)。出力値Dがオーバーフローを生じている場合、処理部4はステップST70に戻り、上述した処理を繰り返して増幅部2のオフセットを再度決定する。出力値Dがオーバーフローを生じていない場合、処理部4は、出力値Dに応じた圧力測定値PDを取得する(ST130)。例えば処理部4は、所定の計算式に基づいて、出力値Dから圧力測定値PDを算出する。
 圧力測定値PDの算出後、処理部4は、測定の終了を指示する外部機器からの信号が入力されているか判定し、当該指示が入力されている場合は測定動作を終了する(ST140)。測定動作を継続する場合、処理部4は、測定モードの変更を指示する外部機器からの信号が入力されいるか判定し、当該信号が入力されている場合はステップST10に戻って測定モードの判定を行う(ST150)。高分解能測定モードを継続する場合、処理部4は、ステップST110に戻って上述と同様の動作を繰り返し、圧力測定値PDを取得する。
 以上説明したように、本実施形態に係る圧力測定装置によれば、高分解能測定モードのオフセット決定処理(図4:ST70~ST90)において、オフセット調整部3により調整される増幅部2のオフセットが所定の値に設定されるとともに、増幅部2のゲインが第1ゲインG1に設定される。そして、その設定の状態における増幅部2の出力値Dに基づいて、増幅部2の出力値Dを正常範囲内の基準値へ近づけることが可能な増幅部2のオフセットが決定される。次に高分解能測定モードの測定値取得処理(図4:ST100~ST130)において、オフセット調整部3により調整される増幅部2のオフセットがオフセット決定処理で決定されたオフセットに設定されるとともに、増幅部2のゲインが第1ゲインG1より高い第2ゲインG2に設定される。そして、その設定の状態における増幅部2の出力値Dに基づいて、圧力測定値PDが取得される。その結果、増幅部2のゲインを相対的に低い第1ゲインG1から相対的に高い第2ゲインG2へ変更しても、増幅部2の出力値Dが正常範囲内に収まり、正常な圧力測定値PDを得ることができる。従って、感度の異なる複数の圧力センサを使用したり、増幅部2の出力値Dのビット幅を大きくしたりせずとも、簡易な構成で分解能の高い圧力測定値PDを取得することができる。
 また、本実施形態に係る圧力測定装置によれば、高分解能測定モードの測定値取得処理において増幅部2の出力値Dが正常範囲から逸脱した場合(図9:ST120)、オフセット決定処理(図4:ST70~ST90)において新たなオフセットを決定され、当該新たなオフセットを用いて測定値取得処理(図4:ST100~ST130)が行われる。これにより、圧力が変化する場合であっても、その変化に追従して増幅部2のオフセットが調整されるため、広い圧力範囲で分解能の高い圧力測定値PDを取得できる。
<第2の実施形態>
 次に、本発明の第2の実施形態について説明する。本実施形態に係る圧力測定装置は、図1に示す圧力測定装置における処理部4の圧力測定値PDの取得に係わる動作を変更したものであり、他の構成は図1に示す圧力測定装置と同じである。
 図5は、第2の実施形態に係る圧力測定装置における増幅部2の出力値Dと圧力測定値PDとの関係を示す図である。図5Aは低分解能測定モードにおける出力値Dと圧力測定値PDとの関係を示し、図5Bは高分解能測定モードにおける出力値Dと圧力測定値PDとの関係を示す。
 圧力センサ1のセンサ素子R1~R4において出力される圧力検出信号(Sp+,Sp-)は、外界の圧力に対して完全な比例関係を有しておらず、図5Aにおいて示すように、圧力の2乗や3乗に比例する非線形成分を含む場合がある。そこで、本実施形態に係る圧力測定装置の処理部4は、増幅部2が第1ゲインG1を持つ低分解能測定モードにおいて、例えば次式に示す第1関数F1(D)により増幅部2の出力値Dを圧力測定値PDへ変換する。
 F1(D)=a*D+b*D+c*D+d  …(1)
 式(1)における「a」,「b」,「c」,「d」は、3次多項式の各項の係数であり、例えば実測定によって決定される。
 高分解能測定モードにおいても、増幅部2の出力値Dを圧力測定値PDへ変換するための同様な関数が必要である。しかしながら、式(1)の第1関数F1(D)は低分解能測定モード用のものであり、そのままでは使用できない。また、図5から分かるように、高分解能測定モードにおいて増幅部2のオフセットを決定するために用いられる低分解能測定モードの出力値D(図5Aにおける「X」)が変化すると、第1関数F1(D)の曲線上において高分解能測定モードの測定レンジに対応する範囲が移動する。そのため、「X」が変化すると、それに応じて高分解能測定モードの出力値Dを圧力測定値PDへ変換するための関数も変化してしまう。
 高分解能測定モードにおける上記の関数を定める方法として、例えば、低分解能測定モードにおける出力値Dの範囲を複数の区分に分割し、区分ごとに高分解能測定モードで使用すべき関数を決める方法が考えられる。しかしながら、この方法では、複数の関数の係数値を記憶部6に保持させる必要があり、そのための記憶領域が必要になるという不利益がある。また、出力値Dの区分の分割が粗いと圧力測定値PDの誤差が大きくなるという不利益もある。
 上記とは別の方法として、高分解能測定モードにおける出力値Dを低分解能測定モードにおける出力値Dに一旦変換し、式(1)の第1関数F1(D)を用いて低分解能測定モードの圧力測定値PDを算出し、これを高分解能測定モードの圧力測定値PDに再度変換する方法も考えられる。しかしながら、この方法では計算過程が複雑になるという不利益や、第1関数F1(D)の計算において出力値Dのビット幅が大きくなるため計算負荷が重くなるという不利益もある。
 そこで、本実施形態に係る圧力測定装置の処理部4は、第1関数F1(D)の導関数FA1(D)と、オフセット決定処理においてオフセットの決定に用いた増幅部2の出力値Dであるオフセット出力値X(図5A)とに基づいて、第2関数F2(D)を決定する関数決定処理を行う。第2関数F2(D)は、高分解能測定モードにおいて増幅部2が第2ゲインG2を持つ場合に増幅部2の出力値Dを圧力測定値PDへ変換するための関数であり、例えば次の式で表わされる。
 F2(D)={FA1(X)}*D  …(2)
 第1関数F1(D)の導関数FA1(D)は、次の式で表わされる。
 FA1(D)=3a*D+2b*D+c  …(3)
 式(3)を式(2)へ代入すると、第2関数F2(D)は次の式で表わされる。
 F2(D)=(3a*X+2b*X+c)*D  …(4)
 式(4)に示すように、第2関数F2(D)は、出力値Dを変数とする一次関数である。この第2関数F2(D)の傾き係数「3a*X+2b*X+c」は、オフセット出力値X(図5A)における導関数FA1(D)の値と等しい。そのため、第2関数F2(D)の傾きは、オフセット出力値Xの近傍における第1関数F1(D)の傾きと等しい。
 図6及び図7は、第2の実施形態に係る圧力測定装置の動作の一例を説明するためのフローチャートである。
 処理部4は、現在設定されている測定モードが「低分解能測定モード」であるか「高分解能測定モード」であるかを判定する(ST10)。低分解能測定モードの場合、処理部4は、図3におけるステップST20~ST60と同様の処理を行う。ただし、出力値Dに基づいて圧力測定値PDを取得するステップST40Aでは、式(1)の第1関数F1(D)に基づいて圧力測定値PDを算出する。
 ステップST10において測定モードが「高分解能測定モード」であると判定した場合、処理部4は、図4と同様のオフセット決定処理(ST70~ST90)により、高分解能測定モードにおける増幅部2のオフセットを決定する。また、本実施形態に係る圧力測定装置の処理部4は、式(4)に示す第2関数F2(D)の傾き係数「3a*X+2b*X+c」を算出する(ST95)。
 増幅部2のオフセットと第2関数F2(D)を決定すると、処理部4は、図4と同様の測定値取得処理(ST100~ST130)により、高分解能測定モードの圧力測定値PDを取得する。ただし、出力値Dに基づいて圧力測定値PDを取得するステップST130Aでは、ステップST95で決定した第2関数F2(D)に基づいて圧力測定値PDを算出する。
 以上説明したように、本実施形態に係る圧力測定装置によれば、高分解能測定モードにおいて増幅部2が第2ゲインG2を持つ場合の増幅部2の出力値Dを圧力測定値PDへ変換するための関数として、第1関数F1(D)の導関数FA1(D)とオフセット出力値Xとに基づいて決定された第2関数F2(D)が用いられる。従って、例えば予め準備した多数の関数の中からオフセット出力値Xに応じた関数を選択するような複雑な処理をせずとも、簡易な処理で精度のよい圧力測定値PDを得ることが出来る。
 なお、本発明は上述した実施形態にのみ限定されるものではなく、種々のバリエーションを含んでいる。
 上述した実施形態では、増幅部2の増幅回路21において圧力検出信号(Sp+,Sp-)に加えるオフセットを調整しているが、本発明はこの例に限定されない。例えば図8において示すように、増幅部2の前段の回路5が圧力検出信号(Sp+,Sp-)にオフセットを加える場合には、その前段の回路5においてオフセットの調整を行ってもよい。図8の例では、前段の回路5が、オフセット調整部3のオフセット調整信号Sofsに応じたオフセットを圧力検出信号(Sp+,Sp-)に加える。なお、圧力検出信号(Sp+,Sp-)にオフセットを加える回路が圧力センサの内部に組み込まれている場合は、その内部回路によるオフセットをオフセット調整信号Sofsに応じて調整してもよい。また、増幅部2によって圧力検出信号(Sp+,Sp-)に加えるオフセットと、前段の回路5において圧力検出信号(Sp+,Sp-)に加えるオフセットの両方を調整してもよい。
 上述した実施形態では、圧力に応じて抵抗値が変わるセンサ素子(R1~R4)を用いた圧力センサ1を例に挙げているが、本発明はこれに限定されない。本発明の他の実施形態では、圧力に応じて他の物理量(例えば静電容量など)が変化するセンサ素子を用いた圧力センサからの圧力検出信号に基づいて圧力測定値を取得してもよい。
1…圧力センサ、11…電流源、2…増幅部、21…増幅回路、22…AD変換回路、3…オフセット調整部、4…処理部、5…前段の回路、6…記憶部、D…出力値、PD…圧力測定値、Sofs…オフセット調整信号、Sp+,Sp-…圧力検出信号、X…オフセット出力値。

Claims (11)

  1.  圧力センサの圧力検出信号を増幅する増幅部であって、当該増幅のゲインを変更可能な増幅部と、
     前記増幅部及び/又は前記増幅部の前段の回路において前記圧力検出信号に加えられるオフセットを調整するオフセット調整部と、
     前記増幅部の出力値に基づいて圧力測定値を取得する処理部とを有し、
     前記処理部は、
      前記オフセット調整部により調整される前記オフセットを所定の値に設定するとともに、前記増幅部のゲインを第1ゲインに設定し、当該設定における前記増幅部の出力値に基づいて、前記増幅部の出力値を正常範囲内の基準値へ近づけることが可能な前記オフセットを決定するオフセット決定処理、及び、
      前記オフセット調整部により調整される前記オフセットを前記オフセット決定処理で決定されたオフセットに設定するとともに、前記増幅部のゲインを前記第1ゲインより高い第2ゲインに設定し、当該設定における前記増幅部の出力値に基づいて圧力測定値を取得する測定値取得処理を行う
     ことを特徴とする圧力測定装置。
  2.  前記処理部は、前記測定値取得処理において前記増幅部の出力値が前記正常範囲から逸脱した場合、前記オフセット決定処理において新たなオフセットを決定し、当該新たなオフセットを用いて前記測定値取得処理を行う
     ことを特徴とする請求項1に記載の圧力測定装置。
  3.  前記増幅部が前記第1ゲインを持つ場合の前記増幅部の出力値を前記圧力測定値へ変換するための関数として第1関数が定められている場合において、
     前記処理部は、
      前記第1関数の導関数と、前記オフセット決定処理において前記オフセットの決定に用いた前記増幅部の出力値であるオフセット出力値とに基づいて、前記増幅部が前記第2ゲインを持つ場合の前記増幅部の出力値を前記圧力測定値へ変換するための関数である第2関数を決定する関数決定処理を行い、
      前記測定値取得処理では、前記増幅部の出力値を、前記関数決定処理により決定された前記第2関数に従って前記圧力測定値に変換する
     ことを特徴とする請求項1又は2に記載の圧力測定装置。
  4.  前記処理部は、前記関数決定処理において、前記オフセット出力値における前記導関数の値を傾き係数とする一次関数を前記第2関数として決定する
     ことを特徴とする請求項3に記載の圧力測定装置。
  5.  前記増幅部は、
      前記圧力検出信号を増幅する増幅回路であって、前記処理部の設定に応じて前記増幅のゲインを前記第1ゲイン又は前記第2ゲインに切り換え可能な増幅回路と、
      前記増幅回路の出力信号をデジタル信号に変換するAD変換回路とを含み、
     前記処理部は、前記AD変換回路の前記デジタル信号を前記増幅部の出力値として取得する
     ことを特徴とする請求項1乃至4の何れか一項に記載の圧力測定装置。
  6.  前記オフセット調整部は、前記処理部の設定に応じたオフセット調整信号を生成し、
     前記増幅回路は、前記オフセット調整信号に応じたオフセットを前記圧力検出信号に加えて増幅する
     ことを特徴とする請求項5に記載の圧力測定装置。
  7.  圧力センサの圧力検出信号を増幅した結果に基づいて、コンピュータが圧力測定値を取得する圧力測定方法であって、
     前記圧力検出信号の増幅を行う増幅装置のゲイン、及び、前記圧力検出信号に加えられるオフセットの調整を行うオフセット調整装置の当該オフセットをそれぞれ設定可能な前記コンピュータが、前記オフセット調整装置により調整される前記オフセットを所定の値に設定するとともに、前記増幅装置のゲインを第1ゲインに設定し、当該設定における前記増幅装置の出力値に基づいて、前記増幅装置の出力値を正常範囲内の基準値へ近づけることが可能な前記オフセットを決定するオフセット決定ステップと、
     前記コンピュータが、前記オフセット調整装置により調整される前記オフセットを前記オフセット決定ステップで決定されたオフセットに設定するとともに、前記増幅装置のゲインを前記第1ゲインより高い第2ゲインに設定し、当該設定における前記増幅装置の出力値に基づいて圧力測定値を取得する測定値取得ステップとを有する
     ことを特徴とする圧力測定方法。
  8.  前記測定値取得ステップにおいて前記増幅装置の出力値が前記正常範囲から逸脱した場合、前記コンピュータが、前記オフセット決定ステップにおいて新たなオフセットを決定し、当該新たなオフセットを用いて前記測定値取得ステップを実行する
     ことを特徴とする請求項7に記載の圧力測定方法。
  9.  前記増幅装置が前記第1ゲインを持つ場合の前記増幅装置の出力値を前記圧力測定値へ変換するための関数として第1関数が定められている場合において、
     前記コンピュータが、前記第1関数の導関数と、前記オフセット決定ステップにおいて前記オフセットの決定に用いた前記増幅装置の出力値であるオフセット出力値とに基づいて、前記増幅装置が前記第2ゲインを持つ場合の前記増幅装置の出力値を前記圧力測定値へ変換するための関数である第2関数を決定する関数決定ステップを更に有し、
     前記測定値取得ステップでは、前記コンピュータが、前記増幅装置の出力値を、前記関数決定ステップにより決定された前記第2関数に従って前記圧力測定値に変換する
     ことを特徴とする請求項7又は8に記載の圧力測定方法。
  10.  前記関数決定ステップでは、前記コンピュータが、前記オフセット出力値における前記導関数の値を傾き係数とする一次関数を前記第2関数として決定する
     ことを特徴とする請求項9に記載の圧力測定方法。
  11.  請求項7乃至10の何れか一項に記載された圧力測定方法をコンピュータに実行させるためのプログラム。
PCT/JP2016/067369 2015-06-22 2016-06-10 圧力測定装置、圧力測定方法及びプログラム WO2016208422A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015-124955 2015-06-22
JP2015124955 2015-06-22

Publications (1)

Publication Number Publication Date
WO2016208422A1 true WO2016208422A1 (ja) 2016-12-29

Family

ID=57585547

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/067369 WO2016208422A1 (ja) 2015-06-22 2016-06-10 圧力測定装置、圧力測定方法及びプログラム

Country Status (1)

Country Link
WO (1) WO2016208422A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6345322B1 (ja) * 2017-07-28 2018-06-20 新光商事株式会社 見守りシステム
US10285886B2 (en) 2017-02-22 2019-05-14 Shinko Shoji Co., Ltd. Load measuring pin sensor, watching bed, and watching system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009156658A (ja) * 2007-12-26 2009-07-16 Renesas Technology Corp 半導体圧力センサ装置、データ処理装置、血圧計、掃除機及び気圧計
JP5413422B2 (ja) * 2011-08-11 2014-02-12 株式会社デンソー 内燃機関の筒内圧検出装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009156658A (ja) * 2007-12-26 2009-07-16 Renesas Technology Corp 半導体圧力センサ装置、データ処理装置、血圧計、掃除機及び気圧計
JP5413422B2 (ja) * 2011-08-11 2014-02-12 株式会社デンソー 内燃機関の筒内圧検出装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10285886B2 (en) 2017-02-22 2019-05-14 Shinko Shoji Co., Ltd. Load measuring pin sensor, watching bed, and watching system
JP6345322B1 (ja) * 2017-07-28 2018-06-20 新光商事株式会社 見守りシステム
JP2018134372A (ja) * 2017-07-28 2018-08-30 新光商事株式会社 見守りシステム

Similar Documents

Publication Publication Date Title
EP2522962B1 (en) Method and apparatus for increasing the effective resolution of a sensor
CN110932690B (zh) 具有共模检测的放大器
JP2006266738A (ja) 感度切換型センサ回路及び感度切換型センサ回路を用いる電子回路装置
JP6054732B2 (ja) 半導体装置及びオフセット電圧の補正方法
JP6143752B2 (ja) 電流センサの製造方法及び電流センサ
US20130325391A1 (en) Circuit and method for sensing temperature
US7924202B2 (en) Integrated circuit device and electronic instrument
US7373266B2 (en) Sensor calibration using selectively disconnected temperature
WO2016208422A1 (ja) 圧力測定装置、圧力測定方法及びプログラム
JP6357090B2 (ja) 静電容量型センサ
JP2009053110A (ja) センサ装置
KR100904225B1 (ko) 수위 측정 장치
JP5331572B2 (ja) 非反転増幅回路、及び測定機
CN110727306B (zh) 半桥差分传感器
KR20070105195A (ko) 온도 센서
KR20210058331A (ko) 저항형 유량 센서의 오프셋 신호 조절을 위한 자동 오프셋 조절장치
KR20120066708A (ko) 온도보상기능을 갖는 홀 집적회로
Dutta et al. Low offset, low noise, variable gain interfacing circuit with a novel scheme for sensor sensitivity and offset compensation for MEMS based, Wheatstone bridge type, resistive smart sensor
KR101665187B1 (ko) 환경 정보 센서 회로 및 환경 정보 측정 장치
US20240097632A1 (en) Integrated circuit and semiconductor device
JP2004320553A (ja) 補償回路
JP2004356874A (ja) センサ入力装置
KR20170066044A (ko) 오프셋 조절 장치 및 그를 이용한 센서 장치
JP6439865B2 (ja) センサ信号変換器及びセンサ信号変換方法
TW202306326A (zh) 電路裝置

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: JP

122 Ep: pct application non-entry in european phase

Ref document number: 16814193

Country of ref document: EP

Kind code of ref document: A1