JP2005214805A - Sensor device - Google Patents
Sensor device Download PDFInfo
- Publication number
- JP2005214805A JP2005214805A JP2004022000A JP2004022000A JP2005214805A JP 2005214805 A JP2005214805 A JP 2005214805A JP 2004022000 A JP2004022000 A JP 2004022000A JP 2004022000 A JP2004022000 A JP 2004022000A JP 2005214805 A JP2005214805 A JP 2005214805A
- Authority
- JP
- Japan
- Prior art keywords
- voltage
- amplitude
- value
- signal
- output
- 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
Links
Images
Landscapes
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
Description
本発明は、電流駆動型センサから安定した出力を得られるように制御を行うセンサ装置に関する。 The present invention relates to a sensor device that performs control so as to obtain a stable output from a current-driven sensor.
従来の技術では、フォトセンサ(電流駆動型センサ)等のセンサから安定した出力を得るために、センサからの出力をI−V(電流−電圧)変換した後に、利得調節増幅器であるGCA(Gain Control Amplifier)により、主信号の振幅を増幅・減衰させている。このような利得調節方式としては、補正パラメータを設定し、この補正パラメータにより閉ループゲインを一定に保つことにより、制御対象の利得が動作状態と共に変化しても、その影響を取り除いて一定の動特性を維持する技術が知られている(例えば、特許文献1参照)。 In the prior art, in order to obtain a stable output from a sensor such as a photosensor (current-driven sensor), the output from the sensor is converted into IV (current-voltage) and then a gain adjusting amplifier GCA (Gain). Control Amplifier) amplifies and attenuates the amplitude of the main signal. As such a gain adjustment method, by setting a correction parameter and keeping the closed loop gain constant by this correction parameter, even if the gain of the controlled object changes with the operating state, the influence is removed and a constant dynamic characteristic is obtained. Is known (see, for example, Patent Document 1).
しかしながら、上記特許文献1に記載の技術を電流駆動型センサの出力の利得調節に用いた場合、電流駆動型センサの特性によって発生するオフセット電圧も、主信号と共に増幅・減衰されてしまうため、電流駆動型センサのオフセット電圧により、主信号の電圧値が上限または下限で飽和されてしまうことがあり、安定した出力を得ることが困難である。
However, when the technique described in
本発明は上記問題点を解決するためのもので、電流駆動型のオフセット電圧の影響を受けずに安定した出力を得ることを可能にするセンサ装置を提供することを目的とする。 The present invention has been made to solve the above problems, and an object of the present invention is to provide a sensor device that makes it possible to obtain a stable output without being affected by a current-driven offset voltage.
上記問題点を解決するために、本発明のセンサ装置は、電流駆動型センサの出力電流を電圧に変換する電流電圧変換手段と、この電圧の振幅を制御して電圧信号を出力する利得調節増幅手段と、電圧信号から最大値、最小値、振幅値を求め、これら各値に基づいて、電流電圧変換手段により電圧信号のオフセット電圧を制御し、且つ利得調節増幅手段により電圧信号の振幅を制御する制御手段とを備えることを特徴とするものである。 In order to solve the above-described problems, a sensor device according to the present invention includes a current-voltage conversion unit that converts an output current of a current-driven sensor into a voltage, and gain adjustment amplification that outputs a voltage signal by controlling the amplitude of the voltage. And the maximum value, minimum value, and amplitude value from the voltage signal, and based on these values, the offset voltage of the voltage signal is controlled by the current-voltage conversion means, and the amplitude of the voltage signal is controlled by the gain adjustment amplification means. And a control means for performing the above.
また、前述の電流電圧変換手段を、電流駆動型センサの出力に接続されるオフセット電圧調節用抵抗と、このオフセット電圧調節用抵抗にプルアップ電圧を印加するD/Aコンバータとから構成し、前述の制御手段からの電圧制御信号でプルアップ電圧を変化させ、オフセット電圧を制御することを特徴とするものである。 In addition, the current-voltage conversion means includes an offset voltage adjusting resistor connected to the output of the current-driven sensor and a D / A converter that applies a pull-up voltage to the offset voltage adjusting resistor. The offset voltage is controlled by changing the pull-up voltage with a voltage control signal from the control means.
さらに、前述の制御手段は、電圧信号をデジタル化するA/Dコンバータを備え、デジタル化された電圧信号に基づき最大値、最小値、振幅値を求めることを特徴とするものである。 Further, the control means includes an A / D converter that digitizes a voltage signal, and obtains a maximum value, a minimum value, and an amplitude value based on the digitized voltage signal.
また、前述の制御手段は、電圧信号が、0Vと所定電圧値との間の所定範囲内にあり且つ振幅が所定値以上であるときに、前記D/A変換手段の出力電圧を維持し、電圧信号が前述の所定範囲内にあり且つ振幅が所定値より小さいときに、D/A変換手段の出力電圧を高く、または低くすると共に、利得調節増幅手段により振幅を大きくし、電圧信号の最小電圧が0Vであり且つ振幅が所定値以上であるときに、D/A変換手段の出力電圧を高くし、電圧信号の最小電圧が0Vであり且つ振幅が前記所定値より小さいときに、D/A変換手段の出力電圧を高くすると共に、利得調節増幅手段により振幅を大きくし、電圧信号の最大電圧が所定電圧値であり且つ振幅が所定値以上であるときに、D/A変換手段の出力電圧を低くし、電圧信号の最大電圧が所定電圧値であり且つ振幅が所定値より小さいときに、D/A変換手段の出力電圧を低くすると共に、利得調節増幅手段により振幅を大きくすることを特徴とするものである。前述の所定電圧値は、センサ装置毎に設定されるものであり、出力信号として読取り可能な上限値である。振幅の所定値は、出力信号として読取り可能な最低振幅値であり、例えば、前述の所定電圧値の30%の値を振幅の所定値に設定する。 Further, the control means described above maintains the output voltage of the D / A conversion means when the voltage signal is within a predetermined range between 0 V and a predetermined voltage value and the amplitude is not less than the predetermined value. When the voltage signal is within the above-mentioned predetermined range and the amplitude is smaller than the predetermined value, the output voltage of the D / A conversion means is increased or decreased, and the amplitude is increased by the gain adjustment amplification means to minimize the voltage signal. When the voltage is 0 V and the amplitude is greater than or equal to a predetermined value, the output voltage of the D / A converter is increased, and when the minimum voltage of the voltage signal is 0 V and the amplitude is smaller than the predetermined value, D / When the output voltage of the A conversion means is increased and the amplitude is increased by the gain adjustment amplification means, the output of the D / A conversion means when the maximum voltage of the voltage signal is a predetermined voltage value and the amplitude is greater than or equal to the predetermined value. Reduce the voltage and the voltage signal When and amplitude large voltage is the predetermined voltage value is smaller than the predetermined value, the lower the output voltage of the D / A converting means, characterized in that to increase the amplitude by the gain adjusting amplifier means. The aforementioned predetermined voltage value is set for each sensor device and is an upper limit value that can be read as an output signal. The predetermined value of the amplitude is the lowest amplitude value that can be read as the output signal. For example, a value that is 30% of the predetermined voltage value is set as the predetermined value of the amplitude.
本発明のセンサ装置によれば、電流駆動型センサの出力信号に対して、振幅を制御すると共に、オフセット電圧も制御することにより、オフセット電圧の影響により信号電圧の下限と上限で飽和することを防止できる。また、主信号の振幅のみを増幅することが可能であるため、高品位の信号出力を得ることができる。 According to the sensor device of the present invention, it is possible to saturate at the lower limit and the upper limit of the signal voltage due to the influence of the offset voltage by controlling the amplitude and the offset voltage with respect to the output signal of the current drive type sensor. Can be prevented. In addition, since only the amplitude of the main signal can be amplified, a high-quality signal output can be obtained.
図1は、カラー感熱プリンタ10の構成を示す概略図である。このカラー感熱プリンタ10は、記録媒体として長尺のカラー感熱記録紙11が用いられている。カラー感熱記録紙11は、ロール状に巻かれた記録紙ロール12の形態でカラー感熱プリンタ10にセットされる。この記録紙ロール12のロール芯13の側面には、記録紙サイズや熱感度・定着感度に関する情報を有する記録紙識別コード14が記載されている。この記録紙ロール12は、外周に当接された給紙ローラ15によって回転され、カラー感熱記録紙10の送り出しと巻き戻しとが行われる。
FIG. 1 is a schematic diagram showing the configuration of the color thermal printer 10. The color thermal printer 10 uses a long color
記録紙ロール12の下流側には、カラー感熱記録紙10を挟み込んで搬送する搬送ローラ対16が配置されており、カラー感熱記録紙10を送り出し方向と巻き戻し方向とに往復搬送する。搬送ローラ対16の下流側には、サーマルヘッド17とプラテンローラ18とがカラー感熱記録紙11の搬送経路を挟むように配置されている。サーマルヘッド17の下面には、多数の発熱素子が主走査方向に沿ってライン状に配列された発熱素子アレイ19が形成されており、搬送ローラ対16によって搬送されるカラー感熱記録紙11に圧接し、発熱素子アレイ19の各発熱素子を発熱させて各感熱発色層を発色させる。また、サーマルヘッド17の下流側には、光定着器20が配置されており、カラー感熱記録紙11の記録済みエリアに定着光を照射して各感熱発色層を光定着する。定着器20の下流側には、長尺のカラー感熱記録紙11を記録エリアごとにカットするカッタ21が設けられている。カッタ21の下流側には、カットされたシート状のカラー感熱記録紙11を排出する排紙口22が配置されている。
On the downstream side of the
前述の記録紙識別コード14は、図2に示すように、10個の黒又は白の矩形枠F1〜F10を一列に並べて形成した、例えば10ビットのコード(b0,b1,・・・b9)で構成されている。第1の矩形枠F1はビットb0を表し、紙種類コードとして用いられる。このビットb0により、記録紙の種別が識別される。第2及び第3矩形枠F2,F3はビットb1,b2を表し、サイズコードとして用いられる。これにより、記録紙のサイズが識別される。第4〜第7の矩形枠F4〜F7はビットb3〜b6を表し、熱感度コードとして用いられる。第8〜第10の矩形枠F8〜F10はビットb7〜b9を表し、定着感度コードとして用いられる。
As shown in FIG. 2, the recording
コードの識別方法としては、例えば、第1矩形枠F1にて普通紙かシール紙かを識別する場合には、第1矩形枠F1が白枠表示のときにb0が「0」とされ、普通紙と判定される。また、黒枠表示のときにb0が「1」とされ、シール紙と判定される。また、b1,b2が、「0,0」でA5長尺サイズ、「0,1」でA6長尺サイズ、「1,0」でA5カットシートサイズ、「1,1」でA6カットシートサイズというように識別される。 As a code identification method, for example, when identifying whether plain paper or sticker paper is used in the first rectangular frame F1, b0 is set to “0” when the first rectangular frame F1 is displayed as a white frame. Judged as paper. In addition, b0 is set to “1” when the black frame is displayed, and it is determined as the sticker sheet. B1 and b2 are “0,0” for A5 long size, “0,1” for A6 long size, “1,0” for A5 cut sheet size, “1,1” for A6 cut sheet size And so on.
この記録紙識別コード14は、記録紙ロール12の側面に隣接するように設けられたコード読取装置23により読取られる。コード読取装置23は、カラー感熱プリンタ10全体を制御するシステムコントローラ24と接続されている。システムコントローラ24は、コード読取装置23から記録紙種別・サイズ・感度に関する情報を取得する。システムコントローラ24は、サーマルヘッド17と、光定着器20と、給紙ローラ15及び搬送ローラ対16を回転駆動するモータ25とに接続されており、コード読取装置23から取得した情報に基づいて、記録紙種別・サイズ・感度に適合するように各部を制御してプリント処理を実行する。
The recording
また、記録紙識別コード23は、ロール芯の側面ではなく、各プリントエリアに対応する裏面に、記録紙識別コード14を予め印刷しても良いし、長尺の感熱記録紙ではなく、シート状のカラー感熱記録紙を使用する場合には、記録紙識別コード14をシートの裏面に印刷しても良い。これらの場合には、コード読取装置23をカラー感熱記録紙11の搬送路の下方に配置して、記録紙識別コード14を読取る。
Further, the recording
図3は、センサ装置であるコード読取装置23の電気的構成を示すブロック図である。コード読取装置23は、受光素子であるフォトセンサ31と、I−V変換回路32と、利得調節増幅器(GCA)33と、A/Dコンバータ34と、制御回路35とで構成されている。I−V変換回路32内には、D/Aコンバータ36と、抵抗Rが設けられている。
FIG. 3 is a block diagram showing an electrical configuration of the
フォトセンサ31の出力はI−V変換回路32、GCA33を通り、A/Dコンバータ34によって数値化される。すなわち、アナログ信号からデジタル信号に変換される。制御回路35は、デジタル信号に変換された信号を取得する。制御回路35は、その信号から振幅電圧、最大電圧、及び最小電圧の情報を取得し、これに基づきD/Aコンバータ36の出力電圧Vdaを制御し、さらにGCA33を制御することにより信号の振幅を制御する。
The output of the
以下に、各信号態様と、この態様に基づいて行うオフセット電圧及び振幅の制御について説明する。フォトセンサ31を流れる電流をIp、I−V変換回路32内の抵抗をR、D/Aコンバータ36の出力電圧をVda,GCA33の入力インピーダンスは無限大で、入力電圧をVin、出力電圧をVo 、電圧利得をGとする。この時、GCA33の出力電圧Vo は[式1]で表すことができる。
Below, each signal aspect and control of the offset voltage and amplitude performed based on this aspect are demonstrated. The current flowing through the
Vo =Vmax−G(VrefーVin)・・・・[式1] Vo = Vmax−G (Vref−Vin)... [Formula 1]
[式1]において、Vo の出力範囲は0からVmaxまでとする。また、VrefはGCA33の中で使用される比較参照用電圧で、ここではVmax≦Vrefとする。フォトセンサ31は、入力である光の強度に応じてIpを変化させる。よって、光の強弱をIpの電流変化で読取ることができる。フォトセンサ31に変調を加えた光を入力すると、変調に従ってIpは変化し、その変化はI−V変換回路32内の抵抗Rにより電圧に変換され電圧Vrは[式2]で表すことができる。
In [Formula 1], the output range of Vo is from 0 to Vmax. Vref is a comparative reference voltage used in the
Vr=Ip×R ・・・・・・・・・・・・[式2] Vr = Ip × R (2)
よって、GCA33の入力電圧Vinは[式3]で表すことができる。
Therefore, the input voltage Vin of the
Vin=Vda−Vr ・・・・・・・・・・・・[式3] Vin = Vda-Vr [Equation 3]
次に、GCA33の出力電圧Voが下記に示す(1)〜(6)のように変化した場合について、オフセット電圧及び電圧利得の制御を図4及び図5の表を用いて説明する。
Next, when the output voltage Vo of the
(1) Voが0からVmax内であり、振幅電圧が所定値以上の場合。
(2)Voが0からVmax内であるが、振幅電圧所定値より小さい場合。
(3)Voの最小電圧値が0で、振幅電圧が所定値以上の場合。
(4)Voの最小電圧値が0で、振幅電圧が所定値より小さい場合。
(5)Voの最大電圧値がVmaxで、振幅電圧が所定値以上の場合。
(6)Voの最大電圧値がVmaxで、振幅電圧が所定値より小さい場合。
(1) When Vo is in the range of 0 to Vmax and the amplitude voltage is a predetermined value or more.
(2) When Vo is within 0 to Vmax, but is smaller than the predetermined amplitude voltage.
(3) When the minimum voltage value of Vo is 0 and the amplitude voltage is a predetermined value or more.
(4) When the minimum voltage value of Vo is 0 and the amplitude voltage is smaller than a predetermined value.
(5) When the maximum voltage value of Vo is Vmax and the amplitude voltage is greater than or equal to a predetermined value.
(6) When the maximum voltage value of Vo is Vmax and the amplitude voltage is smaller than a predetermined value.
ここで、Vmaxとは、出力信号として読取り可能な上限値であり、センサ装置毎に設定される値である。振幅電圧の所定値は、出力信号として読取り可能な最低振幅値であり、例えば、Vmaxの30%の値を振幅の所定値に設定する。 Here, Vmax is an upper limit value that can be read as an output signal, and is a value set for each sensor device. The predetermined value of the amplitude voltage is the lowest amplitude value that can be read as an output signal. For example, a value of 30% of Vmax is set as the predetermined value of the amplitude.
(1)の場合、すなわちVoが0からVmaxの範囲内であり、且つ振幅電圧も所定値以上の場合には、制御回路35はVoの振幅が読取り可能であると判定して、オフセット電圧及び電圧利得の制御を行わずに、現在の利得G、D/Aコンバータ36の出力電圧Vdaで出力Voを得る。
In the case of (1), that is, when Vo is in the range of 0 to Vmax and the amplitude voltage is equal to or greater than a predetermined value, the
(2)の場合、すなわちVoが0からVmaxの範囲内であり、且つ振幅電圧が所定値より小さい場合には、制御回路35はVoの振幅が小さい為、そのままの出力から正確な信号を読取ることができないと判定する。従来技術の制御方法では、GCA33のみを制御してゲインGを大きくして振幅を増加させるだけである。しかし、ゲインGを大きくするだけでは、Voの振幅が大きくなって、電圧の下限値が0以下となって電圧の下限で飽和する可能性がある。このため、GCA33を制御してゲインGを大きくすると同時に、D/Aコンバータ36の出力電圧Vdaを制御して出力電圧Voを制御する。I−V変換回路32のVrは[式2]より一定であるため、Vinの電圧はΔVda(Vdaの変化分)だけ変化するため、出力電圧Voは、G・ΔVda分信号が増加方向にシフトされる。これにより、出力Voが0以下になることを防ぐことができる。また、ゲインGを上げたことによりVoの振幅電圧幅も適正な値へ制御することが可能となり、安定した出力を得ることができる。
In the case of (2), that is, when Vo is in the range of 0 to Vmax and the amplitude voltage is smaller than the predetermined value, the
(3)の場合、すなわちVoの最小電圧値が0で、振幅電圧が所定値以上の場合には、Voの振幅電圧は十分であるが、Voの最小電圧が0であるため電圧の下限で飽和している可能性があり、正確な信号を読取ることができないと判定する。従来技術ではゲインGを下げるだけで対応していたが、振幅が小さくなってしまうため、この場合には、ゲインGはそのままで、D/Aコンバータ36の出力電圧Vdaが高くなるように制御する。その結果Vinが高くなり、[式1]より出力Voの振幅電圧幅はそのままで、最小値を0以上に制御することが可能となる。これにより、電圧の下限で飽和されることがないので、安定した出力を得ることができる。
In the case of (3), that is, when the minimum voltage value of Vo is 0 and the amplitude voltage is greater than or equal to a predetermined value, the amplitude voltage of Vo is sufficient, but the minimum voltage of Vo is 0. It is determined that the signal may be saturated and an accurate signal cannot be read. In the prior art, this is dealt with only by reducing the gain G. However, since the amplitude becomes small, in this case, the gain G remains unchanged and the output voltage Vda of the D /
(4)の場合、すなわちVoの最小電圧値が0で、振幅電圧が所定値より小さい場合には、制御回路35はVoの最小値が0で、振幅電圧が小さいため、そのままの出力では正確な信号を読取ることができないと判定する。従来技術の制御方法では、I−V変換回路32の抵抗Rの値を変更し対応していた。しかし、本発明では、GCA33を制御してゲインGを大きくし、D/Aコンバータ36の出力電圧Vdaを高く制御することにより、出力Voの最小値を0以上とし、振幅電圧幅も適正な値へ制御することが可能となる。これにより、電圧の下限で飽和されることがないので、安定した出力を得ることができる。
In the case of (4), that is, when the minimum voltage value of Vo is 0 and the amplitude voltage is smaller than the predetermined value, the
(5)の場合、すなわちVoの最大電圧値がVmaxで、振幅電圧が所定値以上の場合には、制御回路35はVoの最大値がVmaxで、振幅電圧が十分にあるが、電圧の上限で飽和している可能性があるため、そのままの出力では正確な信号を読取ることができないと判定する。従来技術の制御方法ではI−V変換回路32の抵抗Rの値を変更して対応していた。しかし、本発明では、制御回路35は、ゲインGはそのままで、D/Aコンバータ36の出力電圧Vdaを低くなるように制御する。この結果、Vinが低くなり、出力Voの振幅電圧幅はそのままで、最大値をVmax以下に制御することが可能となる。これにより、電圧の上限で飽和されることがないので、安定した出力を得ることができる。
In the case of (5), that is, when the maximum voltage value of Vo is Vmax and the amplitude voltage is greater than or equal to a predetermined value, the
(6)の場合、すなわちVoの最大電圧値がVmaxで、振幅電圧が所定値より小さい場合には、制御回路35はVoの最大値がVmaxで、振幅電圧が小さいため、そのままの出力では正確な信号を読取ることができないと判定する。従来技術の制御方法では、制御回路35がゲインGを大きくするのみであったが、本発明では、制御回路35がゲインGを大きくすると共に、D/Aコンバータ36の出力電圧Vdaを低くなるように制御する。この結果、Vinが低くなり、出力Voは、Vmaxより低くなり、振幅電圧幅も適正な値へ制御することが可能となる。これにより、電圧の上限で飽和されることがないので、安定した出力を得ることができる。
In the case of (6), that is, when the maximum voltage value of Vo is Vmax and the amplitude voltage is smaller than the predetermined value, the
以上説明したように、(1)〜(6)のそれぞれの場合において、オフセット電圧を制御することにより、オフセット電圧の影響を無くして信号電圧の下限と上限での飽和を防止できる。また、主信号の振幅のみを増幅することが可能であり、高品位の信号出力を得ることができる。また、カラー感熱プリンタ10のシステムコントローラ24が、コード情報を高品位の信号で取得できるため、誤った制御を行うことなく、コード情報に対応する適正な処理を実行することが可能である。
As described above, in each of the cases (1) to (6), by controlling the offset voltage, it is possible to eliminate the influence of the offset voltage and prevent saturation at the lower limit and the upper limit of the signal voltage. In addition, only the amplitude of the main signal can be amplified, and a high-quality signal output can be obtained. Further, since the
次にコード読取装置23の作用について、図6のフローチャートを用いて説明を行う。フォトセンサ31は、入力である光を受光して、光を電流信号に変換する。この電流信号は、I−V変換回路32にて電圧に変換され、GCA33を介してA/Dコンバータ34に出力される。A/Dコンバータ34は、この電圧信号をデジタル信号に変換して制御回路35に出力する。
Next, the operation of the
制御回路35は、取得した電圧信号から振幅電圧、最大電圧、最小電圧を抽出して補正処理を行う。最初に、信号電圧Voが0V<Vo<Vmaxの範囲内にあるか否かを判定する。0V<Vo<Vmaxの範囲内であると判定された場合には、さらに振幅電圧が所定値以上か否かの判定を行い、所定値以上であると判定された場合には、D/Aコンバータの出力であるVdaをそのまま出力して補正処理を終了する。また、所定値より小さいと判定された場合には、GCA33を制御してゲインGを大きくし、さらに、Vdaを制御して信号電圧の上限または下限で信号電圧が飽和されるのを防止して信号電圧を出力することにより補正処理を終了する。
The
また、電圧Voが0V<Vo<Vmaxの範囲内ではないと判定された場合には、電圧Voの最小電圧値が0Vであるか否かの判定を行う。最小電圧値が0Vでないと判定された場合には、電圧Voの最大値がVmaxであるか否かを判定する処理に進む。最小電圧値が0Vであると判定された場合には、さらに振幅電圧が所定値以上か否かの判定を行う。所定値以上でないと判定された場合には、GCA33を制御してゲインGを大きくする。所定値以上であると判定された場合には、ゲインGの制御を行わない。その後、I−V変換回路32を制御してVdaを高くして次の処理に進む。
When it is determined that the voltage Vo is not within the range of 0V <Vo <Vmax, it is determined whether or not the minimum voltage value of the voltage Vo is 0V. When it is determined that the minimum voltage value is not 0 V, the process proceeds to a process for determining whether or not the maximum value of the voltage Vo is Vmax. When it is determined that the minimum voltage value is 0 V, it is further determined whether or not the amplitude voltage is equal to or greater than a predetermined value. If it is determined that it is not equal to or greater than the predetermined value, the gain G is increased by controlling the
その後、電圧Voの最大値がVmaxであるか否かの判定を行う。最大値がVmaxでないと判定された場合には、信号を出力して補正処理を終了する。最大値がVmaxであると判定された場合には、振幅電圧が所定値以上であるか否かの判定を行う。振幅電圧が所定値より小さいと判定された場合には、GCA33を制御してゲインGを大きくする。振幅電圧が所定値以上であると判定された場合には、ゲインGの制御を行わない。その後、I−V変換回路32を制御してVdaを低くして出力して補正処理を終了する。
Thereafter, it is determined whether or not the maximum value of the voltage Vo is Vmax. If it is determined that the maximum value is not Vmax, a signal is output and the correction process is terminated. When it is determined that the maximum value is Vmax, it is determined whether or not the amplitude voltage is equal to or greater than a predetermined value. If it is determined that the amplitude voltage is smaller than the predetermined value, the gain G is increased by controlling the
このようにフォトセンサ31の出力レベル及び振幅が変動しても、これを修正して常に一定レベル及び振幅の信号を出力することができるため、記録紙識別コード14とフォトセンサ31との距離がロール芯13の回転に伴って変動する場合でも、確実に記録紙識別コード14を読取ることができる。
Thus, even if the output level and amplitude of the photosensor 31 fluctuate, it can be corrected and a signal with a constant level and amplitude can always be output, so the distance between the recording
なお、本実施形態においては、本発明のセンサ装置をカラー感熱プリンタのコード読取装置に用いて説明したが、これに限るものではなく、他の様々な機器に適用できる。また、電流駆動型センサとしてフォトセンサを用いた場合について説明したが、他の電流駆動型センサを用いても良い。 In the present embodiment, the sensor device of the present invention is described as being used in a code reading device of a color thermal printer. However, the present invention is not limited to this and can be applied to various other devices. Further, although the case where the photosensor is used as the current drive type sensor has been described, other current drive type sensors may be used.
10 カラー感熱プリンタ
23 コード読取装置
24 システムコントローラ
31 フォトセンサ
32 I−V変換回路
33 GCA
34 A/Dコンバータ
35 制御回路
36 D/Aコンバータ
DESCRIPTION OF SYMBOLS 10 Color
34 A /
Claims (4)
前記電圧信号が前記所定範囲内にあり且つ振幅が前記所定値より小さいときに、前記D/A変換手段の出力電圧を高く、または低くすると共に、前記利得調節増幅手段により振幅を大きくし、
前記電圧信号の最小電圧が0Vであり且つ振幅が前記所定値以上であるときに、前記D/A変換手段の出力電圧を高くし、
前記電圧信号の最小電圧が0Vであり且つ振幅が前記所定値より小さいときに、前記D/A変換手段の出力電圧を高くすると共に、前記利得調節増幅手段により振幅を大きくし、
前記電圧信号の最大電圧が前記所定電圧値であり且つ振幅が前記所定値以上であるときに、前記D/A変換手段の出力電圧を低くし、
前記電圧信号の最大電圧が前記所定電圧値であり且つ振幅が前記所定値より小さいときに、前記D/A変換手段の出力電圧を低くすると共に、前記利得調節増幅手段により振幅を大きくすることを特徴とする請求項2または請求項3記載のセンサ装置。 The control means maintains the output voltage of the D / A conversion means when the voltage signal is within a predetermined range between 0 V and a predetermined voltage value and the amplitude is not less than a predetermined value,
When the voltage signal is within the predetermined range and the amplitude is smaller than the predetermined value, the output voltage of the D / A conversion unit is increased or decreased, and the amplitude is increased by the gain adjustment amplification unit,
When the minimum voltage of the voltage signal is 0V and the amplitude is not less than the predetermined value, the output voltage of the D / A conversion means is increased,
When the minimum voltage of the voltage signal is 0V and the amplitude is smaller than the predetermined value, the output voltage of the D / A conversion unit is increased, and the amplitude is increased by the gain adjustment amplification unit,
When the maximum voltage of the voltage signal is the predetermined voltage value and the amplitude is not less than the predetermined value, the output voltage of the D / A conversion means is lowered,
When the maximum voltage of the voltage signal is the predetermined voltage value and the amplitude is smaller than the predetermined value, the output voltage of the D / A conversion means is lowered and the amplitude is increased by the gain adjustment amplification means. The sensor device according to claim 2 or 3, characterized in that
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004022000A JP2005214805A (en) | 2004-01-29 | 2004-01-29 | Sensor device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004022000A JP2005214805A (en) | 2004-01-29 | 2004-01-29 | Sensor device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005214805A true JP2005214805A (en) | 2005-08-11 |
Family
ID=34905471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004022000A Pending JP2005214805A (en) | 2004-01-29 | 2004-01-29 | Sensor device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005214805A (en) |
-
2004
- 2004-01-29 JP JP2004022000A patent/JP2005214805A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6191873B1 (en) | Image reading device, image reading apparatus, and method therefor | |
US7616351B2 (en) | Image reading device | |
US6095417A (en) | Apparatus and method for reading bar codes on a moving web | |
KR100279863B1 (en) | Printer having image scanning device | |
JP3833788B2 (en) | Calibration method for optical sensor system | |
JP2007314273A (en) | Image forming device | |
JP4136124B2 (en) | Method for detecting end position of recording paper using reflection type optical sensor and image forming apparatus | |
JP2005214805A (en) | Sensor device | |
JP5962097B2 (en) | Recording material discrimination sensor and image forming apparatus | |
JP5806577B2 (en) | Recording apparatus, control method, and measuring apparatus | |
US20060151682A1 (en) | Scanner and calibration method used therein | |
JP4072495B2 (en) | Sheet detection device | |
JP2012225735A (en) | Mark detection device, mark detection method, and image creation and cutout apparatus | |
JP5817312B2 (en) | Image reading apparatus and image forming apparatus | |
US9778458B2 (en) | Software control of LED illumination output for improved yield and latitude | |
JP2011215028A (en) | Printer, method of determining light intensity and light reception sensitivity, and program | |
JP2007210747A (en) | Edge detector, printer, edge detection method and print control method | |
JP2008059113A (en) | Paper sheet discriminating apparatus | |
JPH0699638A (en) | Register mark detection method | |
JPH054369A (en) | Thermal printer | |
JP6992514B2 (en) | Scanner control program and scanner control method | |
JP2005322678A (en) | Device for driving light-emitting element, and optical scanner | |
JP2007090614A (en) | Print head control method, print head control device, and printer | |
JP2006281450A (en) | Thermal transfer printer apparatus | |
JP2000185431A (en) | Optical scanner and method for monitoring scanning light beam |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060515 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061221 |
|
A977 | Report on retrieval |
Effective date: 20080311 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Effective date: 20080319 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080924 |