JP2006170780A - Sensor output value detecting device - Google Patents

Sensor output value detecting device Download PDF

Info

Publication number
JP2006170780A
JP2006170780A JP2004363232A JP2004363232A JP2006170780A JP 2006170780 A JP2006170780 A JP 2006170780A JP 2004363232 A JP2004363232 A JP 2004363232A JP 2004363232 A JP2004363232 A JP 2004363232A JP 2006170780 A JP2006170780 A JP 2006170780A
Authority
JP
Japan
Prior art keywords
reference voltage
sensor
detection
output value
correction
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2004363232A
Other languages
Japanese (ja)
Inventor
Takeshi Morita
剛 森田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2004363232A priority Critical patent/JP2006170780A/en
Publication of JP2006170780A publication Critical patent/JP2006170780A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a sensor output value detecting device capable of reducing a labor required for adjustments. <P>SOLUTION: The sensor output value detecting device 1 is equipped with a microcomputer 30. The microcomputer 30 is configured so as to read a reference voltage Va from a reference voltage generating circuit 20 disposed in addition to a sensor 10 in order to previously obtain a read error. Furthermore, the microcomputer 30 is configured so as to compensate an output voltage Vs of the sensor 10 based on the read error. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、センサ出力値検出装置に関する。   The present invention relates to a sensor output value detection device.

従来、マイコンによりセンサの出力を読み取る(検出する)場合、マイコンの読み取りゲインの誤差を解消するため、可変抵抗を設け、可変抵抗の抵抗値を調整する技術が知られている(例えば特許文献1参照)。
特開平5−249128号公報
Conventionally, when a sensor output is read (detected) by a microcomputer, a technique is known in which a variable resistor is provided and a resistance value of the variable resistor is adjusted in order to eliminate a reading gain error of the microcomputer (for example, Patent Document 1) reference).
JP-A-5-249128

しかし、従来では、センサ毎に、可変抵抗の抵抗値を調整する必要があり、調整に多大な手間を要していた。   However, conventionally, it has been necessary to adjust the resistance value of the variable resistor for each sensor, which requires a great deal of time for adjustment.

本発明はこのような従来の課題を解決するためになされたものであり、その目的とするところは、調整に要する手間を軽減させることができるセンサ出力値検出装置を提供することにある。   The present invention has been made to solve such a conventional problem, and an object of the present invention is to provide a sensor output value detection device capable of reducing the labor required for adjustment.

本発明のセンサ出力値検出装置は、検出量に応じた電圧値を出力するセンサと、該センサの出力電圧に基づいて、前記検出量を検出する検出手段とを備えたものである。このセンサ出力値検出装置は、さらに基準電圧発生手段、算出手段、及び補正手段を備えている。基準電圧発生手段は、基準となる基準電圧を出力するものである。算出手段は、基準電圧発生手段からの基準電圧と、予め記憶した基準電圧の理想値とを比較して、両者のズレの割合を算出するものである。補正手段は、センサからの電圧の値を、算出手段により算出されたズレの割合に応じて補正するものである。   The sensor output value detection device of the present invention includes a sensor that outputs a voltage value corresponding to a detection amount, and detection means that detects the detection amount based on the output voltage of the sensor. The sensor output value detection apparatus further includes a reference voltage generation unit, a calculation unit, and a correction unit. The reference voltage generating means outputs a reference voltage as a reference. The calculating means compares the reference voltage from the reference voltage generating means with the ideal value of the reference voltage stored in advance, and calculates the deviation ratio between them. The correcting means corrects the value of the voltage from the sensor in accordance with the deviation ratio calculated by the calculating means.

本発明によれば、基準電圧の検出量と基準電圧の検出量の理想値とを比較して、両者のズレの割合を算出する。このため、マイコン等により基準電圧を読み取るときの読み取り(検出)ゲインの誤差を明らかとすることができる。また、求めたズレの割合に基づいて、センサの出力電圧の検出量を補正している。このため、基準電圧の検出量をもとにして得られた読み取りゲインの誤差に基づいて、センサの出力電圧の検出量を補正することとなる。このように、マイコン等の読み取り(検出)ゲインの誤差が調整されるため、可変抵抗を設けて可変抵抗の抵抗値を調整する必要がなくなる。従って、調整に要する手間を軽減させることができる。   According to the present invention, the detected amount of the reference voltage is compared with the ideal value of the detected amount of the reference voltage, and the ratio between the two is calculated. For this reason, an error in reading (detection) gain when the reference voltage is read by a microcomputer or the like can be clarified. Further, the detection amount of the output voltage of the sensor is corrected based on the obtained deviation rate. For this reason, the detection amount of the output voltage of the sensor is corrected based on the error of the read gain obtained based on the detection amount of the reference voltage. As described above, since the error of the reading (detection) gain of the microcomputer or the like is adjusted, there is no need to provide a variable resistor and adjust the resistance value of the variable resistor. Therefore, the labor required for adjustment can be reduced.

以下、本発明の好適な実施形態を図面に基づいて説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings.

図1は、本発明の実施形態によるセンサ出力値検出装置の詳細構成図である。同図に示すように、センサ出力値検出装置1は、センサの出力を読み取るときの読み取り誤差を解消する機能を有し、センサ10と基準電圧発生回路(基準電圧発生手段)20とマイコン(検出手段)30とからなっている。   FIG. 1 is a detailed configuration diagram of a sensor output value detection apparatus according to an embodiment of the present invention. As shown in the figure, the sensor output value detection device 1 has a function of eliminating a reading error when reading the output of the sensor, and includes a sensor 10, a reference voltage generation circuit (reference voltage generation means) 20, a microcomputer (detection). Means) 30.

このセンサ出力値検出装置1は、センサ10の出力電圧Vsを入力する一方で、基準電圧発生回路20からの基準電圧Vaを入力し、基準電圧Vaをもとにマイコン30の読み取り誤差を求め、この誤差に基づきセンサ10の出力電圧Vsを補正するものである。また、センサ出力値検出装置1は、補正後の電圧値を示す信号(以下、補正電圧という)Vsrを、外部の機器や装置に出力するようになっている。以下、各要素について詳細に説明する。   The sensor output value detection device 1 receives the output voltage Vs of the sensor 10 and receives the reference voltage Va from the reference voltage generation circuit 20 to obtain a reading error of the microcomputer 30 based on the reference voltage Va. Based on this error, the output voltage Vs of the sensor 10 is corrected. The sensor output value detection apparatus 1 outputs a signal (hereinafter referred to as a correction voltage) Vsr indicating a corrected voltage value to an external device or apparatus. Hereinafter, each element will be described in detail.

センサ10は、例えば電圧センサや電流センサ等の検出量に応じた電圧値をアナログ信号として出力するものであって、マイコン30のA/Dポートに直接に接続されている。このため、アナログ信号のセンサ10の出力電圧Vsは、従来技術のように出力値補正用の回路などを介することなく、マイコン30に直接入力されることとなる。   The sensor 10 outputs, for example, a voltage value corresponding to the detection amount of a voltage sensor or a current sensor as an analog signal, and is directly connected to the A / D port of the microcomputer 30. Therefore, the output voltage Vs of the analog signal sensor 10 is directly input to the microcomputer 30 without going through an output value correction circuit or the like as in the prior art.

基準電圧発生回路20は、基準となるアナログ信号の基準電圧Vaを出力するものであって、ツェナーダイオード21、抵抗22、定電流回路23とからなっている。ツェナーダイオード21は、アノードが接地され、カソードが抵抗22に接続されている。抵抗22は、ツェナーダイオード21が接続される反対側に定電流回路23が接続されている。定電流回路23は、上記の接続関係により、ツェナーダイオード21に一定の電流を流すようになる。また、ツェナーダイオード21のカソードはマイコン30に接続されている。そして、ツェナーダイオード21のカソード側の電圧が基準電圧Vaとしてマイコン30に出力される。   The reference voltage generation circuit 20 outputs a reference voltage Va of an analog signal serving as a reference, and includes a Zener diode 21, a resistor 22, and a constant current circuit 23. The Zener diode 21 has an anode grounded and a cathode connected to the resistor 22. The resistor 22 has a constant current circuit 23 connected to the opposite side to which the Zener diode 21 is connected. The constant current circuit 23 causes a constant current to flow through the Zener diode 21 due to the connection relationship described above. The cathode of the Zener diode 21 is connected to the microcomputer 30. Then, the voltage on the cathode side of the Zener diode 21 is output to the microcomputer 30 as the reference voltage Va.

また、基準電圧発生回路20は、センサ10の近傍に設けられセンサ10と略同じ温度環境にさらされるようになっている。なお、ここでいう近傍とは、センサ10と基準電圧発生回路20とが略同じ温度環境にさらされる程度の距離をいう。   The reference voltage generation circuit 20 is provided in the vicinity of the sensor 10 and is exposed to substantially the same temperature environment as the sensor 10. Here, the vicinity refers to a distance that allows the sensor 10 and the reference voltage generation circuit 20 to be exposed to substantially the same temperature environment.

さらに、基準電圧発生回路20は、出力する基準電圧Vaの温度特性がセンサ10と略同じ温度特性を有するように設定されている。より具体的に説明すると、基準電圧発生回路20は、ツェナーダイオード21のツェナー電流を適切な値に設定することで、センサ10と同じ温度特性を有するように設定可能となっている。   Further, the reference voltage generation circuit 20 is set so that the temperature characteristics of the output reference voltage Va have substantially the same temperature characteristics as the sensor 10. More specifically, the reference voltage generation circuit 20 can be set to have the same temperature characteristics as the sensor 10 by setting the Zener current of the Zener diode 21 to an appropriate value.

図2は、ツェナーダイオード21のツェナー電流とツェナー電圧との関係を示すグラフである。なお、図2において、横軸はツェナー電流(mA)を示し、縦軸は温度に対するツェナー電圧の増減割合(%/℃)を示している。   FIG. 2 is a graph showing the relationship between the Zener current of the Zener diode 21 and the Zener voltage. In FIG. 2, the horizontal axis represents the Zener current (mA), and the vertical axis represents the rate of increase / decrease of the Zener voltage with respect to temperature (% / ° C.).

同図に示すように、ツェナーダイオード21はツェナー電流に応じて温度環境への影響度が異なるようになっている。具体的にツェナー電流が4mAの場合、1℃温度が上昇するに従ってツェナー電圧が0.002%減じられるようになっている。また、ツェナーダイオード21は、ツェナー電流が7mAの場合、温度による影響を受けず、ツェナー電流が9mAの場合、1℃温度が上昇するに従ってツェナー電圧が0.0005%増加するようになっている。   As shown in the figure, the Zener diode 21 has a different influence on the temperature environment depending on the Zener current. Specifically, when the Zener current is 4 mA, the Zener voltage is reduced by 0.002% as the temperature of 1 ° C. rises. Further, the Zener diode 21 is not affected by the temperature when the Zener current is 7 mA, and when the Zener current is 9 mA, the Zener voltage increases by 0.0005% as the temperature increases by 1 ° C.

このため、図2に示すようなツェナーダイオード21の特性を利用してツェナー電流を設定すれば、基準電圧発生回路20とセンサ10との温度特性と略同じにすることができる。なお、図2に示す関係は、周囲温度が−25℃〜75℃の範囲内で成り立つものである。   For this reason, if the Zener current is set using the characteristics of the Zener diode 21 as shown in FIG. 2, the temperature characteristics of the reference voltage generation circuit 20 and the sensor 10 can be made substantially the same. The relationship shown in FIG. 2 is established when the ambient temperature is in the range of −25 ° C. to 75 ° C.

マイコン30は、基準電圧入力部31と、補正係数算出部(算出手段、異常検出手段)32と、センサ出力検出部33と、補正部(補正手段)34とを有している。   The microcomputer 30 includes a reference voltage input unit 31, a correction coefficient calculation unit (calculation unit, abnormality detection unit) 32, a sensor output detection unit 33, and a correction unit (correction unit) 34.

基準電圧入力部31は、基準電圧発生回路20からの基準電圧Vaを読み込んで、A/D変換(アナログ/デジタル変換)し、読み込んだ基準電圧Vaに対応する検出量Vadをデジタル信号として補正係数算出部32に送信する構成となっている。   The reference voltage input unit 31 reads the reference voltage Va from the reference voltage generation circuit 20, performs A / D conversion (analog / digital conversion), and uses the detected amount Vad corresponding to the read reference voltage Va as a digital signal as a correction coefficient. It is configured to transmit to the calculation unit 32.

補正係数算出部32は、基準電圧入力部31からの基準電圧Vaに対応する検出量Vadと、予め記憶した基準電圧に対応する検出量の理想値である理想検出量Vatとを比較して補正係数K(両者のズレの割合)を算出するものである。具体的に補正係数算出部32は、補正係数K=検出量Vad/理想検出量Vatなる式から、補正係数Kを求める。そして、補正係数算出部32は、補正係数Kの情報を補正部34に送信する。   The correction coefficient calculation unit 32 compares the detection amount Vad corresponding to the reference voltage Va from the reference voltage input unit 31 with the ideal detection amount Vat, which is an ideal value of the detection amount corresponding to the reference voltage stored in advance, and corrects the correction amount. A coefficient K (ratio of deviation between the two) is calculated. Specifically, the correction coefficient calculation unit 32 obtains the correction coefficient K from the equation: correction coefficient K = detection amount Vad / ideal detection amount Vat. Then, the correction coefficient calculation unit 32 transmits information on the correction coefficient K to the correction unit 34.

また、補正係数算出部32は、基準電圧発生回路20の異常を検出するものとしても機能する。ここで、補正係数算出部32は、基準電圧発生回路20の異常を検出するにあたり、基準電圧Vaの値が予め定められた所定電圧範囲外であるか否かを判断するようになっている。すなわち、補正係数算出部32は、基準電圧入力部31からの検出量Vadに基づいて基準電圧Vaの値が、通常では考えられない程度に達していると判断される場合に、基準電圧発生回路20の異常を検出する。   The correction coefficient calculation unit 32 also functions as a unit that detects an abnormality in the reference voltage generation circuit 20. Here, the correction coefficient calculation unit 32 determines whether or not the value of the reference voltage Va is outside a predetermined voltage range when detecting an abnormality in the reference voltage generation circuit 20. That is, the correction coefficient calculation unit 32 determines that the value of the reference voltage Va has reached an unthinkable level based on the detected amount Vad from the reference voltage input unit 31. 20 abnormalities are detected.

センサ出力検出部33は、センサ10の出力電圧Vsを読み込んでA/D変換し、読み込んだ主力電圧Vsに対応する検出量Vsdをデジタル信号として補正部34に送信するものである。   The sensor output detection unit 33 reads the output voltage Vs of the sensor 10, performs A / D conversion, and transmits the detection amount Vsd corresponding to the read main voltage Vs to the correction unit 34 as a digital signal.

補正部34は、センサ出力検出部33からの出力電圧Vsに対応する検出量Vsdを、補正係数算出部32により算出された補正係数Kに応じて補正し、補正検出量Vsrを得るものである。具体的に補正部34は、補正検出量Vsr=検出量Vsd×補正係数Kなる式から、補正検出量Vsrを求めるようになっている。   The correction unit 34 corrects the detection amount Vsd corresponding to the output voltage Vs from the sensor output detection unit 33 according to the correction coefficient K calculated by the correction coefficient calculation unit 32 to obtain a correction detection amount Vsr. . Specifically, the correction unit 34 obtains the correction detection amount Vsr from the equation: correction detection amount Vsr = detection amount Vsd × correction coefficient K.

ここで、補正係数Kは、基準電圧Vaの検出量とその理想検出量Vatとのズレの割合を表すものであって、マイコン30の読み取り誤差を表すものといえる。従って、補正部34は、基準電圧Vaの検出量をもとにして得られた読み取り(検出)ゲインの誤差に基づいて、センサ10の出力電圧Vsの読み取り(検出)誤差を補正することとなる。このため、マイコン30の読み取り誤差は調整され、従来のように可変抵抗の抵抗値を調整する必要がなくなっている。故に、調整に要する手間を軽減されていると言える。   Here, the correction coefficient K represents the ratio of deviation between the detected amount of the reference voltage Va and the ideal detected amount Vat, and can be said to represent the reading error of the microcomputer 30. Therefore, the correction unit 34 corrects the reading (detection) error of the output voltage Vs of the sensor 10 based on the error of the reading (detection) gain obtained based on the detected amount of the reference voltage Va. . For this reason, the reading error of the microcomputer 30 is adjusted, and there is no need to adjust the resistance value of the variable resistor as in the prior art. Therefore, it can be said that the labor required for adjustment is reduced.

また、補正部34は、補正係数算出部32により基準電圧発生回路20の異常が検出された場合、補正係数Kに応じた補正を実行しない構成となっている。基準電圧発生回路20に異常がある場合、求められた補正係数Kはマイコン30の読み取り誤差を的確に反映しているとは言えず、このような補正係数Kに基づいて補正を行うと、補正後の電圧Vsrは、真の値とかけ離れたものとなってしまうからである。   The correction unit 34 is configured not to perform correction according to the correction coefficient K when the correction coefficient calculation unit 32 detects an abnormality in the reference voltage generation circuit 20. If there is an abnormality in the reference voltage generation circuit 20, it cannot be said that the obtained correction coefficient K accurately reflects the reading error of the microcomputer 30, and if correction is performed based on such a correction coefficient K, correction is performed. This is because the subsequent voltage Vsr is far from the true value.

次に、本実施形態に係るセンサ出力値検出装置1の動作を説明する。図3は、本実施形態に係るセンサ出力値検出装置1の動作を示すフローチャートである。まず、本装置1の電源が投入されると、マイコン30は基準電圧発生回路20からの基準電圧Vaを読み込む(ST1)。そして、基準電圧入力部31は基準電圧Vaを読み込んで、基準で案津Vaに対応する検出量としてVadを出力する。次いで、マイコン30の補正係数算出部32は、検出量Vadに基づいて、基準電圧Vaの値が所定電圧範囲外か否かを判断することにより、基準電圧発生回路20が正常か否かを判断する(ST2)。   Next, the operation of the sensor output value detection apparatus 1 according to this embodiment will be described. FIG. 3 is a flowchart showing the operation of the sensor output value detection apparatus 1 according to this embodiment. First, when the apparatus 1 is turned on, the microcomputer 30 reads the reference voltage Va from the reference voltage generation circuit 20 (ST1). Then, the reference voltage input unit 31 reads the reference voltage Va, and outputs Vad as a detection amount corresponding to the draft Tsu Va by reference. Next, the correction coefficient calculation unit 32 of the microcomputer 30 determines whether or not the reference voltage generation circuit 20 is normal by determining whether or not the value of the reference voltage Va is outside the predetermined voltage range based on the detected amount Vad. (ST2).

ここで、基準電圧発生回路20が正常であると判断した場合(ST2:YES)、補正係数算出部32は、基準電圧Vaの検出量Vadの値と理想検出量Vatから、補正係数Kを算出する(ST3)。そして、マイコン30は、センサ10の出力電圧Vsを読み込み(ST4)、センサ出力検出部33は、出力電圧Vsに対応した検出量Vsdを出力する。   Here, when it is determined that the reference voltage generation circuit 20 is normal (ST2: YES), the correction coefficient calculation unit 32 calculates the correction coefficient K from the value of the detection amount Vad of the reference voltage Va and the ideal detection amount Vat. (ST3). The microcomputer 30 reads the output voltage Vs of the sensor 10 (ST4), and the sensor output detection unit 33 outputs a detection amount Vsd corresponding to the output voltage Vs.

次いで、補正部34は、検出量Vsdと、補正係数Kとから、補正検出量Vsrを求める(ST5)。そして、処理はステップST1に戻る。   Next, the correction unit 34 obtains a correction detection amount Vsr from the detection amount Vsd and the correction coefficient K (ST5). Then, the process returns to step ST1.

また、基準電圧発生回路20が異常であると判断した場合(ST2:NO)、マイコン30は、センサ10の出力電圧Vsを読み込み(ST6)、センサ出力検出部33は、出力電圧Vsに対応した検出量Vsdを出力する。次いで、補正係数算出部32は、基準電圧発生回路20が異常である旨を補正部34に通知する(ST7)。これにより、補正部34は、補正係数Kによる補正を実行しないこととなる。すなわち、検出量Vsdがそのまま補正検出量Vsr出力されることとなる。その後、処理はステップST1に戻る。   If it is determined that the reference voltage generation circuit 20 is abnormal (ST2: NO), the microcomputer 30 reads the output voltage Vs of the sensor 10 (ST6), and the sensor output detector 33 corresponds to the output voltage Vs. The detection amount Vsd is output. Next, the correction coefficient calculation unit 32 notifies the correction unit 34 that the reference voltage generation circuit 20 is abnormal (ST7). As a result, the correction unit 34 does not perform correction using the correction coefficient K. That is, the detected amount Vsd is output as it is as the corrected detected amount Vsr. Thereafter, the process returns to step ST1.

以上、ステップST1〜ST7の処理は、本装置1の電源がオフされるまで繰り返される。なお、電源がオフされるまで処理が繰り返されるため、補正係数Kは繰り返し求められることとなり、補正係数Kを1度だけ求める場合に比べると、補正検出量Vsrの精度を高められることとなる。   The processes in steps ST1 to ST7 are repeated until the power of the apparatus 1 is turned off. Since the process is repeated until the power is turned off, the correction coefficient K is repeatedly obtained, and the accuracy of the correction detection amount Vsr can be improved as compared with the case where the correction coefficient K is obtained only once.

このようにして、本実施形態に係るセンサ出力値検出装置1によれば、基準電圧Vaの検出量と基準電圧Vatの検出量の理想値とを比較して、両者のズレの割合を算出する。このため、マイコン30により基準電圧Vaを読み取るときの読み取り(検出)ゲインの誤差を明らかとすることができる。また、求めたズレの割合に基づいて、センサ10の出力電圧Vsの検出量を補正している。このため、基準電圧Vaの検出量をもとにして得られた読み取りゲインの誤差に基づいて、センサの出力電圧Vsの検出量を補正することとなる。このように、マイコン30の読み取り(検出)ゲインの誤差が調整されるため、可変抵抗を設けて可変抵抗の抵抗値を調整する必要がなくなる。   In this way, according to the sensor output value detection apparatus 1 according to the present embodiment, the detected amount of the reference voltage Va and the ideal value of the detected amount of the reference voltage Vat are compared, and the ratio of the deviation between them is calculated. . For this reason, an error in reading (detection) gain when the microcomputer 30 reads the reference voltage Va can be clarified. Further, the detection amount of the output voltage Vs of the sensor 10 is corrected based on the obtained deviation rate. For this reason, the detection amount of the output voltage Vs of the sensor is corrected based on the error of the read gain obtained based on the detection amount of the reference voltage Va. Thus, since the error of the reading (detection) gain of the microcomputer 30 is adjusted, there is no need to provide a variable resistor and adjust the resistance value of the variable resistor.

従って、調整に要する手間を軽減させることができる。 Therefore, the labor required for adjustment can be reduced.

ここで、センサ10が電圧センサや電流センサである場合には出力電圧Vsは温度により影響を受けて変動することが知られている。本実施形態において、基準電圧発生回路20はセンサ10と略同じ温度特性を有すると共に、センサ10の近傍に設けられてセンサ10と略同じ温度環境にさらされている。このため、センサ10の出力電圧Vsと基準電圧Vaは同じように温度の影響を受けて出力する電圧値が変動することとなる。従って、温度センサ等によりセンサ10の周囲温度をセンシングしてマイコン30の処理負荷を増大させることなく、温度ドリフトを除去することができる。   Here, when the sensor 10 is a voltage sensor or a current sensor, it is known that the output voltage Vs is affected by temperature and fluctuates. In the present embodiment, the reference voltage generation circuit 20 has substantially the same temperature characteristics as the sensor 10, is provided near the sensor 10, and is exposed to a temperature environment substantially the same as the sensor 10. For this reason, the output voltage Vs of the sensor 10 and the reference voltage Va are similarly affected by temperature, and the output voltage value fluctuates. Therefore, the temperature drift can be removed without increasing the processing load of the microcomputer 30 by sensing the ambient temperature of the sensor 10 with a temperature sensor or the like.

また、基準電圧発生回路20は、ツェナーダイオード21と、ツェナーダイオード21に一定電流を流す定電流回路23とを有している。このため、ツェナーダイオード21のツェナー電流を設定することにより、センサ10と基準電圧発生回路20との温度特性を同じにできることとなる。従って、両者の温度特性を容易に略同じに設定することができる。   The reference voltage generation circuit 20 includes a Zener diode 21 and a constant current circuit 23 that supplies a constant current to the Zener diode 21. For this reason, by setting the Zener current of the Zener diode 21, the temperature characteristics of the sensor 10 and the reference voltage generation circuit 20 can be made the same. Therefore, both temperature characteristics can be easily set to be substantially the same.

また、基準電圧発生回路20の異常を検出した場合、補正部34は、補正係数Kによる補正を行わないこととしている。ここで、基準電圧発生回路20に異常がある場合、求められた補正係数Kはマイコン30の読み取り誤差を的確に反映しているとは言えず、このような補正係数Kに基づいて補正を行うと、補正後の検出量Vsrは、真の値とかけ離れたものとなってしまう。従って、上記の如く補正しないことで、著しく誤った検出量Vsrを得ないようにすることができる。   Further, when an abnormality of the reference voltage generation circuit 20 is detected, the correction unit 34 does not perform correction using the correction coefficient K. Here, when there is an abnormality in the reference voltage generation circuit 20, it cannot be said that the obtained correction coefficient K accurately reflects the reading error of the microcomputer 30, and correction is performed based on such a correction coefficient K. Then, the corrected detection amount Vsr is far from the true value. Therefore, by not performing correction as described above, it is possible to prevent a significantly erroneous detection amount Vsr from being obtained.

以上、実施形態に基づき本発明を説明したが、本発明は上記実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲で、変更を加えてもよい。例えば、本実施形態において基準電圧発生回路20は基準電圧を発生する構成であれば、他の構成であっても構わない。   As described above, the present invention has been described based on the embodiment, but the present invention is not limited to the above embodiment, and may be modified without departing from the gist of the present invention. For example, in the present embodiment, the reference voltage generation circuit 20 may have another configuration as long as it generates a reference voltage.

本発明の実施形態によるセンサ出力値検出装置の詳細構成図である。It is a detailed block diagram of the sensor output value detection apparatus by embodiment of this invention. ツェナーダイオード21のツェナー電流とツェナー電圧との関係を示すグラフである。3 is a graph showing a relationship between a Zener current of a Zener diode 21 and a Zener voltage. 本実施形態に係るセンサ出力値検出装置1の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the sensor output value detection apparatus 1 which concerns on this embodiment.

符号の説明Explanation of symbols

1…センサ出力値検出装置
10…センサ
20…基準電圧発生回路(基準電圧発生手段)
21…ツェナーダイオード
22…抵抗
23…定電流回路
30…マイコン(検出手段)
31…基準電圧入力部
32…補正係数算出部(算出手段,異常検出手段)
33…センサ出力検出部
34…補正部(補正手段)
DESCRIPTION OF SYMBOLS 1 ... Sensor output value detection apparatus 10 ... Sensor 20 ... Reference voltage generation circuit (reference voltage generation means)
21 ... Zener diode 22 ... Resistance 23 ... Constant current circuit 30 ... Microcomputer (detection means)
31: Reference voltage input unit 32: Correction coefficient calculation unit (calculation means, abnormality detection means)
33 ... Sensor output detection unit 34 ... Correction unit (correction means)

Claims (5)

検出量に応じた電圧値を出力するセンサと、該センサの出力電圧に基づいて、前記検出量を検出する検出手段とを備えたセンサ出力値検出装置において、
基準となる基準電圧を出力する基準電圧発生手段と、
前記基準電圧発生手段から出力される基準電圧に応じた検出量と、予め記憶した基準電圧に対応した理想検出量とを比較して、両者のズレの割合を算出する算出手段と、
前記センサから出力された電圧値に基づいて前記検出手段によって検出された検出量を、前記算出手段により算出されたズレの割合に応じて補正する補正手段と、
を備えることを特徴とするセンサ出力値検出装置。
In a sensor output value detection apparatus comprising: a sensor that outputs a voltage value according to a detection amount; and a detection unit that detects the detection amount based on an output voltage of the sensor.
A reference voltage generating means for outputting a reference voltage as a reference;
A calculation unit that compares a detection amount corresponding to a reference voltage output from the reference voltage generation unit with an ideal detection amount corresponding to a reference voltage stored in advance, and calculates a ratio of the deviation between the two;
Correction means for correcting the detection amount detected by the detection means based on the voltage value output from the sensor in accordance with the ratio of deviation calculated by the calculation means;
A sensor output value detection device comprising:
前記基準電圧発生手段は、出力する基準電圧の温度特性が、前記センサの出力電圧の温度特性と略同じ温度特性を有すると共に、前記センサの近傍に設けられて前記センサと略同じ温度環境にさらされることを特徴とする請求項1に記載のセンサ出力値検出装置。   The reference voltage generating means has a temperature characteristic of the output reference voltage substantially the same as the temperature characteristic of the output voltage of the sensor, and is provided in the vicinity of the sensor so as to be exposed to a temperature environment substantially the same as the sensor. The sensor output value detection device according to claim 1, wherein 前記基準電圧発生手段は、ツェナーダイオードと、前記ツェナーダイオードに一定電流を流す定電流回路と、を有することを特徴とする請求項1又は請求項2のいずれかに記載のセンサ出力値検出装置。   3. The sensor output value detection device according to claim 1, wherein the reference voltage generation unit includes a Zener diode and a constant current circuit that supplies a constant current to the Zener diode. 4. 前記基準電圧発生手段の異常を検出する異常検出手段をさらに備え、
前記補正手段は、前記異常検出手段により前記基準電圧発生手段の異常が検出された場合、前記算出手段により算出されたズレの割合に応じた補正を行わない
ことを特徴とする請求項1〜請求項3のいずれか1項に記載のセンサ出力値検出装置。
An abnormality detection means for detecting an abnormality of the reference voltage generation means;
The correction means does not perform correction according to the deviation ratio calculated by the calculation means when the abnormality detection means detects an abnormality of the reference voltage generation means. Item 4. The sensor output value detection device according to any one of Items 3 to 4.
前記異常検出手段は、前記基準電圧発生手段からの電圧の値が、予め定められた所定電圧範囲外である場合に、前記基準電圧発生手段が異常であると判定することを特徴とする請求項4に記載のセンサ出力値検出装置。
The abnormality detection means determines that the reference voltage generation means is abnormal when the value of the voltage from the reference voltage generation means is outside a predetermined voltage range. 5. The sensor output value detection device according to 4.
JP2004363232A 2004-12-15 2004-12-15 Sensor output value detecting device Pending JP2006170780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004363232A JP2006170780A (en) 2004-12-15 2004-12-15 Sensor output value detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004363232A JP2006170780A (en) 2004-12-15 2004-12-15 Sensor output value detecting device

Publications (1)

Publication Number Publication Date
JP2006170780A true JP2006170780A (en) 2006-06-29

Family

ID=36671702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004363232A Pending JP2006170780A (en) 2004-12-15 2004-12-15 Sensor output value detecting device

Country Status (1)

Country Link
JP (1) JP2006170780A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013044620A (en) * 2011-08-23 2013-03-04 Alpine Electronics Inc Power monitoring system for vehicle mounted equipment
CN109212318A (en) * 2017-07-04 2019-01-15 重庆无线绿洲通信技术有限公司 Resistance value measuring circuit and method, device for monitoring temperature, battery pack and management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013044620A (en) * 2011-08-23 2013-03-04 Alpine Electronics Inc Power monitoring system for vehicle mounted equipment
CN109212318A (en) * 2017-07-04 2019-01-15 重庆无线绿洲通信技术有限公司 Resistance value measuring circuit and method, device for monitoring temperature, battery pack and management system

Similar Documents

Publication Publication Date Title
JP4736508B2 (en) Physical quantity detection method and sensor device
US10496110B2 (en) Apparatus, system and method of mass flow controlling for use in integrated gas delivery system
JP4393873B2 (en) Transmitter
US7857505B2 (en) Method and circuit for correcting sensor temperature dependency characteristic
US20070229120A1 (en) Temperature characteristic correction method and sensor amplification circuit
KR20220053552A (en) Parasitic flow compensation method and apparatus
CN110114638B (en) Analog input unit and reference voltage stabilizing circuit
JP2006170780A (en) Sensor output value detecting device
JP4626498B2 (en) Microcomputer
JP2009053110A (en) Sensor device
JP2010085339A (en) Zero point adjustment method of gas sensor using contact combustion type gas detection element
JPH10341158A (en) A/d converter
JP2014178290A (en) Current detector, current detection method, and program
KR101942724B1 (en) System for correcting off-set and controlling method thereof
JPH11118617A (en) Temperature controller
US8141425B2 (en) Angular rate detection apparatus providing stable output
KR101548853B1 (en) Apparatus for driving gyro sensor and controlling Method thereof
US20180275701A1 (en) Voltage supply apparatus
JP4495563B2 (en) Alarm
JP2013156165A (en) Signal processing method and pressure sensor
JP6439865B2 (en) Sensor signal converter and sensor signal conversion method
JP4244895B2 (en) Physical quantity sensor and manufacturing method thereof
US20230375645A1 (en) Sensor device
KR20080088215A (en) Method for calibrating of electronic suspension controller and system of the same
JP4830866B2 (en) Discrete conversion circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081007

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090302

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090313

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20090403