JP3821143B2 - Method and apparatus for detecting signal level having filter function - Google Patents

Method and apparatus for detecting signal level having filter function Download PDF

Info

Publication number
JP3821143B2
JP3821143B2 JP2004239035A JP2004239035A JP3821143B2 JP 3821143 B2 JP3821143 B2 JP 3821143B2 JP 2004239035 A JP2004239035 A JP 2004239035A JP 2004239035 A JP2004239035 A JP 2004239035A JP 3821143 B2 JP3821143 B2 JP 3821143B2
Authority
JP
Japan
Prior art keywords
delay
pulse
signal
signal level
time
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.)
Expired - Fee Related
Application number
JP2004239035A
Other languages
Japanese (ja)
Other versions
JP2005020774A (en
Inventor
高元 渡辺
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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2004239035A priority Critical patent/JP3821143B2/en
Publication of JP2005020774A publication Critical patent/JP2005020774A/en
Application granted granted Critical
Publication of JP3821143B2 publication Critical patent/JP3821143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、アナログ入力信号の信号レベルを検出する信号レベル検出方法及び装置に関し、詳しくは、アナログ入力信号に重畳された高周波ノイズ成分を除去するフィルタ機能を有する信号レベル検出方法及び装置に関する。   The present invention relates to a signal level detection method and apparatus for detecting a signal level of an analog input signal, and more particularly to a signal level detection method and apparatus having a filter function for removing a high frequency noise component superimposed on an analog input signal.

従来より、例えば、制御装置において、制御対象の動作状態等を検出する各種センサから入力されるアナログ入力信号の信号レベル(換言すればセンサによる検出結果)を取り込む際には、アナログ入力信号に重畳された高周波ノイズを除去するために、ノイズ除去用のフィルタ(ローパスフィルタ)が使用されている。そして、この種のフィルタとしては、例えば、図6(a)に示すようなアナログフィルタと、図7(a)に示すようなデジタルフィルタとの2種類のフィルタが知られている。   Conventionally, for example, when a signal level of an analog input signal (in other words, a detection result by a sensor) input from various sensors that detect an operation state or the like of a control target is captured in a control device, it is superimposed on the analog input signal. In order to remove the generated high frequency noise, a noise removing filter (low pass filter) is used. As this type of filter, for example, two types of filters, an analog filter as shown in FIG. 6A and a digital filter as shown in FIG. 7A, are known.

ここで、図6(a)に示すアナログフィルタは、オペアンプOP1の非反転入力端子(+)をグランドに接地し、オペアンプOP1の反転入力端子(−)と出力端子との間にコンデンサC1及び抵抗R1を並列に接続し、入力信号(アナログ)を抵抗R2を介してオペアンプOP1の反転入力端子(−)に入力するように構成されている。   Here, in the analog filter shown in FIG. 6A, the non-inverting input terminal (+) of the operational amplifier OP1 is grounded, and a capacitor C1 and a resistor are provided between the inverting input terminal (−) and the output terminal of the operational amplifier OP1. R1 is connected in parallel, and an input signal (analog) is input to the inverting input terminal (−) of the operational amplifier OP1 via the resistor R2.

このアナログフィルタでは、抵抗R1,R2を介してコンデンサCに入力信号に応じた電荷が充放電されることにより、図6(b)に示すように、入力信号からノイズ成分を除去した出力信号が生成され、抵抗R1,R2の抵抗値とコンデンサCの容量とで決まる充放電時間が、フィルタ遅延時間となる。   In this analog filter, as the charge corresponding to the input signal is charged and discharged to the capacitor C via the resistors R1 and R2, the output signal obtained by removing the noise component from the input signal as shown in FIG. The charge / discharge time generated and determined by the resistance values of the resistors R1 and R2 and the capacitance of the capacitor C becomes the filter delay time.

一方、図6(b)に示すデジタルフィルタは、入力信号(アナログ)をA/D変換した入力データを、一定周期のクロックCKに同期して動作する複数段のラッチ回路LTで順次ラッチし、各ラッチ回路LTからの出力をアダー回路ADDで加算することにより、出力データを生成するように構成されている。   On the other hand, the digital filter shown in FIG. 6B sequentially latches input data obtained by A / D converting an input signal (analog) by a plurality of stages of latch circuits LT that operate in synchronization with a clock CK having a fixed period. Output data is generated by adding outputs from the latch circuits LT by an adder circuit ADD.

つまり、このデジタルフィルタでは、互いに縦続接続された複数段のラッチ回路LTとアダー回路ADDとを用いて入力データの移動平均をとり、その移動平均結果を、高周波ノイズ成分を除去した入力信号の信号レベルを表す出力データとして生成する。そして、このデジタルフィルタでは、ラッチ回路LTの段数が移動平均の幅となり、フィルタ遅延時間は、全ラッチ回路LTによる入力データのシフト時間(ラッチ回路LT接続段数×クロックCK周期)の「1/2」となる。   That is, in this digital filter, a moving average of input data is obtained using a plurality of stages of latch circuits LT and adder circuits ADD cascaded together, and the moving average result is obtained as a signal of an input signal from which a high frequency noise component has been removed. Generated as output data representing the level. In this digital filter, the number of stages of the latch circuit LT becomes the width of the moving average, and the filter delay time is “1/2” of the input data shift time (the number of latch circuit LT connection stages × clock CK period) by all the latch circuits LT. "

ところで、アナログ入力信号から高周波ノイズを除去するために従来用いられている上記2種類のフィルタのうち、アナログフィルタは、フィルタを構成するコンデンサCや抵抗R1,R2の特性が温度によって変化することから、上記のように、制御装置において、アナログ入力信号からの高周波ノイズ除去用のフィルタとして使用すると、温度変化に伴いフィルタ特性(フィルタ遅延時間)が変化し、センサから入力されるアナログ入力信号から高周波ノイズ成分を良好に除去することができず、高精度なセンサ回路(信号レベル検出回路)を構成することが難しいという問題があった。   By the way, among the above-mentioned two types of filters conventionally used for removing high-frequency noise from an analog input signal, the analog filter has a characteristic that the characteristics of the capacitor C and resistors R1 and R2 constituting the filter change depending on the temperature. As described above, when used as a filter for removing high-frequency noise from an analog input signal in a control device, the filter characteristics (filter delay time) change with changes in temperature, and the analog input signal input from the sensor There was a problem that noise components could not be removed well and it was difficult to construct a highly accurate sensor circuit (signal level detection circuit).

これに対して、デジタルフィルタは、アナログ入力信号をA/D変換した入力データを複数段のラッチ回路LTを用いて順次シフトさせ、各ラッチ回路LTの出力をアダー回路ADDで加算するものであり、また、クロックCKには通常水晶発振器からの出力に基づき生成される安定したクロックが使用されることから、フィルタ特性(フィルタ遅延時間)に、アナログフィルタのような温度依存性はなく、出力データを、温度変化の影響を受けることなく安定して生成できる。   On the other hand, the digital filter sequentially shifts input data obtained by A / D converting an analog input signal using a plurality of stages of latch circuits LT, and adds the outputs of the latch circuits LT by an adder circuit ADD. In addition, since a stable clock that is normally generated based on the output from the crystal oscillator is used as the clock CK, the filter characteristics (filter delay time) are not temperature-dependent like analog filters, and output data Can be stably generated without being affected by temperature change.

しかし、デジタルフィルタは、A/D変換器を用いて生成される多ビット(nビット)のデータを扱うため、ラッチ回路LT及びアダー回路ADDには、多数のトランジスタが使用される。従って、上記のように、制御装置において、アナログ入力信号からの高周波ノイズ除去用のフィルタとしてデジタルフィルタを使用すると、センサ回路(信号レベル検出回路)の回路規模が大きくなり、制御装置のコストアップを招くという問題があった。   However, since the digital filter handles multi-bit (n-bit) data generated using an A / D converter, a large number of transistors are used in the latch circuit LT and the adder circuit ADD. Therefore, as described above, if a digital filter is used as a filter for removing high-frequency noise from an analog input signal in the control device, the circuit scale of the sensor circuit (signal level detection circuit) increases and the cost of the control device increases. There was a problem of inviting.

また、図7(b)に示すように、デジタルフィルタは、サンプリング周期(クロックCK周期)の整数倍間隔でノイズの通過域が生じる(折り返し現象)ことから、この折り返し現象の影響を受けることなくアナログ入力信号をフィルタ処理するには、アナログ入力信号をA/D変換するA/D変換器の前段に、アナログフィルタ(前置フィルタ)を設けて、デジタルフィルタで除去できない高周波ノイズ成分を除去するようにする必要がある。   Further, as shown in FIG. 7B, the digital filter has a noise passing band at an integer multiple interval of the sampling period (clock CK period) (folding phenomenon), so that it is not affected by this folding phenomenon. In order to filter the analog input signal, an analog filter (pre-filter) is provided before the A / D converter that performs A / D conversion of the analog input signal to remove high-frequency noise components that cannot be removed by the digital filter. It is necessary to do so.

従って、デジタルフィルタを用いて、アナログ入力信号から高周波ノイズ成分を除去する制御装置では、高周波ノイズ成分を単体で除去するアナログフィルタと比較すれば周波数特性は緩やかでよいものの、デジタルフィルタとは別にアナログフィルタ(前置フィルタ)を設けなければならず、アナログフィルタを単体で用いる場合と同様の問題が生じ、しかも、アナログフィルタを別途設けることにより、よりコストアップになってしまうという問題がある。   Therefore, a control device that removes high-frequency noise components from an analog input signal using a digital filter may have a gentle frequency characteristic compared with an analog filter that removes high-frequency noise components alone, but an analog signal separate from a digital filter. A filter (pre-filter) must be provided, and the same problem as in the case where the analog filter is used alone occurs, and there is a problem that the cost is increased by separately providing the analog filter.

本発明は、こうした問題に鑑みなされたものであり、デジタルフィルタのように前置フィルタを設けることなく安定したフィルタ特性が得られ、しかも、そのフィルタ特性により高周波ノイズ成分を除去したアナログ入力信号の信号レベルを精度よく検出し得る信号レベル検出方法及び装置を提供することを目的とする。   The present invention has been made in view of such a problem, and a stable filter characteristic can be obtained without providing a pre-filter like a digital filter, and an analog input signal from which a high-frequency noise component has been removed by the filter characteristic is obtained. It is an object of the present invention to provide a signal level detection method and apparatus capable of accurately detecting a signal level.

かかる目的を達成するためになされた請求項1に記載の信号レベル検出方法においては、ゲート回路からなる遅延ユニットを複数段縦続接続してなるパルス遅延回路に対して、アナログ入力信号を、各遅延ユニットの遅延時間を制御する信号として入力すると共に、パルス遅延回路にパルス信号を入力して、パルス信号を各遅延ユニットの遅延時間にて順次遅延しながら伝送させる。そして、設定時間毎にクロックが入力される度に、前記パルス遅延回路内でのパルス信号到達位置を検出し、このクロック入力時に検出されたパルス信号の到達位置と、前回のクロック入力時に検出されたパルス信号の到達位置との差を求めることにより、前記設定時間当たりに前記パルス遅延回路内でパルス信号が通過した遅延ユニットの段数を前記信号レベルを表す信号として検知する。   The signal level detection method according to claim 1, which has been made to achieve such an object, provides an analog input signal for each delay to a pulse delay circuit formed by cascading a plurality of delay units each including a gate circuit. While inputting as a signal which controls the delay time of a unit, a pulse signal is input into a pulse delay circuit, and a pulse signal is transmitted, delaying sequentially by the delay time of each delay unit. Each time a clock is input at each set time, the pulse signal arrival position in the pulse delay circuit is detected, and the arrival position of the pulse signal detected at the time of this clock input and the previous clock input are detected. By obtaining a difference from the arrival position of the pulse signal, the number of stages of the delay unit through which the pulse signal has passed in the pulse delay circuit per set time is detected as a signal representing the signal level.

即ち、パルス遅延回路を上記のように動作させた場合、パルス信号がパルス遅延回路内の各遅延ユニットを通過する際の遅延時間は、アナログ入力信号に重畳された正・負の高周波ノイズ成分によって変動する。しかし、パルス信号が各遅延ユニットを通過するに従いその変動成分は相殺され、パルス信号が複数の遅延ユニットを通過した際の各遅延ユニットでの平均遅延時間を見ると、高周波ノイズ成分を除去した真のアナログ入力信号の信号レベルに対応するものとなる。   That is, when the pulse delay circuit is operated as described above, the delay time when the pulse signal passes through each delay unit in the pulse delay circuit depends on the positive and negative high frequency noise components superimposed on the analog input signal. fluctuate. However, as the pulse signal passes through each delay unit, the fluctuation component is canceled out. When the average delay time in each delay unit when the pulse signal passes through a plurality of delay units is seen, This corresponds to the signal level of the analog input signal.

つまり、パルス遅延回路内でパルス信号を伝送させた場合、パルス信号が通過した遅延ユニットの数が増えるほど、各遅延ユニットでのパルス信号の遅延時間の平均値が、アナログ入力信号の真の信号レベルに近付くことになる。そこで、本発明では、パルス遅延回路を上記のように動作させ、設定時間内にパルス遅延回路内でパルス信号が通過した遅延ユニットの段数を検出することにより、パルス信号がこれら各遅延ユニットを通過するのに要した時間の移動平均をとり、これを、高周波ノイズ成分を除去したアナログ入力信号の真の信号レベルを表す情報として出力するようにしているのである。   In other words, when a pulse signal is transmitted in a pulse delay circuit, the average value of the delay time of the pulse signal in each delay unit increases as the number of delay units that the pulse signal has passed increases. You will approach the level. Therefore, in the present invention, the pulse delay circuit is operated as described above, and the pulse signal passes through each delay unit by detecting the number of stages of the delay unit through which the pulse signal has passed in the pulse delay circuit within the set time. The moving average of the time required to do this is taken, and this is output as information representing the true signal level of the analog input signal from which the high frequency noise component has been removed.

従って、本発明方法を利用すれば、ゲート回路からなる遅延ユニットを複数段縦続接続したパルス遅延回路を用いて、アナログ入力信号から高周波ノイズ成分を除去するフィルタ(ローパスフィルタ)として機能する信号レベル検出装置を容易に実現できることになる。   Therefore, if the method of the present invention is used, a signal level detection functioning as a filter (low-pass filter) that removes high-frequency noise components from an analog input signal using a pulse delay circuit in which delay units comprising gate circuits are connected in cascade. The apparatus can be easily realized.

また、本発明方法では、パルス遅延回路を構成する遅延ユニットの遅延時間を高周波ノイズ成分にて変動させ、設定時間内にパルス信号が通過した遅延ユニットの段数を検出することにより、ローパスフィルタとしての機能(高周波ノイズ除去機能)を実現することから、従来のデジタルフィルタのように、アナログ電圧信号を設定時間にて周期的にサンプリングするようにしても、高周波成分の折り返し現象が生じることはない。   Further, in the method of the present invention, the delay time of the delay unit constituting the pulse delay circuit is varied by the high frequency noise component, and the number of stages of the delay unit through which the pulse signal has passed within the set time is detected, thereby providing a low-pass filter. Since the function (high-frequency noise removal function) is realized, even if the analog voltage signal is periodically sampled at the set time as in the conventional digital filter, the high-frequency component aliasing phenomenon does not occur.

よって、本発明方法によれば、従来のデジタルフィルタのように前置フィルタを設ける必要はなく、パルス遅延回路を用いた単独の装置にて、安定したフィルタ特性が得られるローパスフィルタとしての機能を実現できる。また、本発明方法によれば、パルス遅延回路において設定時間内にパルス信号が通過した遅延ユニットの段数から、アナログ入力信号の信号レベルを表す情報を検出するので、A/D変換器としての機能も容易に実現でき、デジタル制御装置においてセンサからのアナログ入力信号を取り込むセンサ回路に適用すれば、A/D変換器を別途設ける必要がなくなり、アナログ入力信号の入力回路を極めて簡単に構成することが可能となる。   Therefore, according to the method of the present invention, it is not necessary to provide a pre-filter like a conventional digital filter, and a function as a low-pass filter that can obtain stable filter characteristics with a single device using a pulse delay circuit. realizable. Further, according to the method of the present invention, since the information indicating the signal level of the analog input signal is detected from the number of stages of the delay unit through which the pulse signal has passed within the set time in the pulse delay circuit, the function as an A / D converter If it is applied to a sensor circuit that takes in an analog input signal from a sensor in a digital control device, there is no need to separately provide an A / D converter, and the analog input signal input circuit can be configured very simply. Is possible.

ここで、本発明方法において、パルス遅延回路に対して、アナログ入力信号を各遅延ユニットの遅延時間を制御する信号として入力するのは、アナログ入力信号に応じて各遅延ユニットの遅延時間を制御するためであるが、その具体的な入力方法としては、例えば、請求項2に記載のように、アナログ入力信号を、各遅延ユニットの駆動電圧として、パルス遅延回路に入力するようにしてもよく、あるいは、請求項3に記載のように、アナログ入力信号を、各遅延ユニットに流す駆動電流を制御する信号として、パルス遅延回路に入力するようにしてもよい。   Here, in the method of the present invention, the analog input signal is input to the pulse delay circuit as a signal for controlling the delay time of each delay unit. The delay time of each delay unit is controlled according to the analog input signal. However, as a specific input method thereof, for example, as described in claim 2, an analog input signal may be input to the pulse delay circuit as a drive voltage of each delay unit. Alternatively, as described in claim 3, an analog input signal may be input to the pulse delay circuit as a signal for controlling a drive current to flow through each delay unit.

つまり、遅延ユニットを構成するゲート回路は、駆動電圧や駆動電流が大きい程高速に動作することから、アナログ入力信号を、請求項2若しくは請求項3に記載のように、各遅延ユニットの駆動電圧若しくは駆動電流制御用信号としてパルス遅延回路に入力するようにすれば、パルス遅延回路を構成する各遅延ユニットの遅延時間を、アナログ入力信号の信号レベルに応じて簡単に変化させることができるようになる。   That is, since the gate circuit constituting the delay unit operates faster as the drive voltage or drive current increases, the analog input signal is supplied to the drive voltage of each delay unit as described in claim 2 or claim 3. Alternatively, if the signal is input to the pulse delay circuit as a drive current control signal, the delay time of each delay unit constituting the pulse delay circuit can be easily changed according to the signal level of the analog input signal. Become.

また、本発明方法では、アナログ入力信号を用いてパルス遅延回路を構成する各遅延ユニットの遅延時間を制御し、設定時間内にパルス遅延回路内でパルス信号が通過した遅延ユニットの段数を検出することにより、ローパスフィルタとしての機能を実現するが、パルス遅延回路内でパルス信号が通過した遅延ユニットの段数が多い程、そのフィルタのカットオフ周波数が低くなることから、フィルタ特性を所望の特性に設定するには、アナログフィルタのようにコンデンサや抵抗の値を変更したり、デジタルフィルタのようにラッチ回路の接続段数を変更する必要はなく、請求項4に記載のように、パルス遅延回路内でパルス信号が通過した遅延ユニットの段数を検出する際の設定時間を変更すればよい。従って、本発明方法によれば、従来のフィルタのようにハード構成を変更することなく、フィルタ特性を極めて簡単に設定することができる。   Further, in the method of the present invention, the delay time of each delay unit constituting the pulse delay circuit is controlled using the analog input signal, and the number of stages of the delay unit through which the pulse signal has passed in the pulse delay circuit within the set time is detected. Therefore, the function as a low-pass filter is realized. However, the greater the number of delay units through which the pulse signal passes in the pulse delay circuit, the lower the cutoff frequency of the filter. To set, it is not necessary to change the value of a capacitor or a resistor as in an analog filter, or to change the number of connection stages of a latch circuit as in a digital filter. Thus, the set time for detecting the number of stages of the delay unit through which the pulse signal has passed may be changed. Therefore, according to the method of the present invention, the filter characteristics can be set very easily without changing the hardware configuration as in the conventional filter.

またこのように、本発明方法によれば、設定時間内にパルス遅延回路内でパルス信号が通過する遅延ユニットの段数が多い程、カットオフ周波数が低いローパスフィルタを実現できるが、そのためには、パルス遅延回路を構成する遅延ユニットの数を増やす必要がある。しかし、遅延ユニットの数を増やせば、パルス遅延回路を構成するトランジスタの数も増加することになり、回路規模の大型化を招くことになってしまう。   As described above, according to the method of the present invention, it is possible to realize a low-pass filter having a lower cutoff frequency as the number of delay units through which the pulse signal passes in the pulse delay circuit within the set time is increased. It is necessary to increase the number of delay units constituting the pulse delay circuit. However, if the number of delay units is increased, the number of transistors constituting the pulse delay circuit also increases, leading to an increase in circuit scale.

そこで、本発明方法を実現するに当たっては、請求項5に記載のように、パルス遅延回路として、遅延ユニットがリング状に連結されることによりパルス信号を周回させるリングディレイラインを使用し、設定時間内にパルス信号が通過した遅延ユニットの段数を、リングディレイラインでのパルス信号の周回位置と周回回数とから検出するようにするとよい。   Therefore, in realizing the method of the present invention, as described in claim 5, a ring delay line that circulates a pulse signal by connecting delay units in a ring shape is used as a pulse delay circuit, and a set time is set. The number of delay units through which the pulse signal has passed may be detected from the circulation position and the number of circulations of the pulse signal on the ring delay line.

つまり、このようにすれば、パルス遅延回路において、パルス信号は、リング状に連結された遅延ユニットを繰り返し通過することになるため、パルス遅延回路を構成する遅延ユニットの数を少なくしても、設定時間内にパルス信号が通過する遅延ユニットの段数を自由に増加させることができる。よって、請求項5に記載の発明方法によれば、回路規模の大型化を招くことなく、カットオフ周波数が低いローパスフィルタを実現できることになり、本発明方法を実現する上で極めて有効なものとなる。   In other words, in this way, in the pulse delay circuit, the pulse signal repeatedly passes through the delay units connected in a ring shape, so even if the number of delay units constituting the pulse delay circuit is reduced, The number of delay units through which the pulse signal passes within the set time can be increased freely. Therefore, according to the invention method described in claim 5, a low-pass filter with a low cut-off frequency can be realized without increasing the circuit scale, which is extremely effective in realizing the method of the present invention. Become.

一方、請求項6に記載の発明は、本発明方法(請求項1)を実現するのに好適な信号レベル検出装置であって、アナログ入力信号の信号レベルに応じた遅延時間で入力パルスを遅延させて出力するゲート回路からなる遅延ユニットを複数段縦続接続することにより、パルス信号を各遅延ユニットの遅延時間にて順次遅延しながら伝送させるパルス遅延回路と、外部から所定周期で入力されるクロックにより動作し、そのクロック入力時に、パルス遅延回路内でのパルス信号の到達位置を検出する検出手段とを備え、検出手段による検出結果を、入力信号レベルを表す情報として出力する。   On the other hand, the invention described in claim 6 is a signal level detection apparatus suitable for realizing the method of the present invention (claim 1), and delays an input pulse by a delay time corresponding to the signal level of the analog input signal. A delay circuit consisting of a plurality of delay units consisting of gate circuits that are output in a cascade manner, and a pulse delay circuit that transmits a pulse signal while sequentially delaying the delay time of each delay unit, and a clock that is input from outside at a predetermined cycle And detecting means for detecting the arrival position of the pulse signal in the pulse delay circuit when the clock is input, and the detection result by the detecting means is output as information representing the input signal level.

そして、この装置によれば、検出手段が、外部からクロックが入力される度に、パルス遅延回路内でのパルス信号の到達位置を検出することから、クロック入力時に検出されたパルス信号の到達位置と前回のクロック入力時に検出されたパルス信号の到達位置との差を求めることにより、クロック一周期当たり(換言すれば設定時間内)にパルス遅延回路内でパルス信号が通過した遅延ユニットの段数(延いては、アナログ入力信号の信号レベル)を検知できることになる。よって、この装置によれば、請求項1記載の発明方法を容易に実現でき、上述した効果を得ることができる。   According to this apparatus, since the detection means detects the arrival position of the pulse signal in the pulse delay circuit every time a clock is input from the outside, the arrival position of the pulse signal detected when the clock is input. And the arrival position of the pulse signal detected at the time of the previous clock input, the number of stages of the delay unit that the pulse signal has passed through the pulse delay circuit per clock cycle (in other words, within the set time) ( As a result, the signal level of the analog input signal) can be detected. Therefore, according to this apparatus, the inventive method according to claim 1 can be easily realized, and the above-described effects can be obtained.

また、請求項7に記載の発明は、請求項2に記載の発明方法を実現するのに好適な信号レベル検出装置であって、パルス遅延回路を構成する各遅延ユニットが、アナログ入力信号を駆動電圧として受けることにより、アナログ入力信号の信号レベルに応じた遅延時間で入力パルスを遅延させる。   The invention according to claim 7 is a signal level detection apparatus suitable for realizing the method according to claim 2, wherein each delay unit constituting the pulse delay circuit drives an analog input signal. By receiving the voltage, the input pulse is delayed by a delay time corresponding to the signal level of the analog input signal.

また、請求項8に記載の発明は、請求項3に記載の発明方法を実現するのに好適な信号レベル検出装置であって、パルス遅延回路には、各遅延ユニットの駆動電流を制御する制御手段が設けられ、この制御手段が、アナログ入力信号を制御信号として受けて、各遅延ユニットの遅延時間を制御する。   The invention described in claim 8 is a signal level detection apparatus suitable for realizing the method of the invention described in claim 3, wherein the pulse delay circuit includes a control for controlling the drive current of each delay unit. Means are provided, and the control means receives the analog input signal as a control signal and controls the delay time of each delay unit.

従って、請求項7,8に記載の装置によれば、上述した請求項2若しくは請求項3に記載の発明方法と同様、パルス遅延回路を構成する各遅延ユニットの遅延時間をアナログ入力信号の信号レベルに応じて簡単に変化させることができる。一方、請求項9に記載の装置は、請求項6〜請求項8いずれか記載の装置において、検出手段に、パルス遅延回路内でのパルス信号の到達位置を所定ビットのデジタルデータに変換して出力するエンコーダを設けたものである。   Therefore, according to the apparatus described in claims 7 and 8, the delay time of each delay unit constituting the pulse delay circuit is set to the signal of the analog input signal as in the invention method described in claim 2 or claim 3 described above. It can be easily changed according to the level. On the other hand, the device according to claim 9 is the device according to any one of claims 6 to 8, wherein the detection means converts the arrival position of the pulse signal in the pulse delay circuit into digital data of a predetermined bit. An encoder for output is provided.

従って、この装置によれば、パルス遅延回路内でのパルス信号の到達位置を表す情報が所定ビットのデジタルデータとして出力されることになり、上記のように、クロック入力時に検出されたパルス信号の到達位置の差から、アナログ入力信号の信号レベルを求める際に、その演算を極めて簡単に行うことができるようになる。   Therefore, according to this apparatus, information indicating the arrival position of the pulse signal in the pulse delay circuit is output as digital data of a predetermined bit, and as described above, the pulse signal detected at the time of clock input is output. When the signal level of the analog input signal is obtained from the difference in the arrival positions, the calculation can be performed very easily.

また次に、請求項10に記載の発明は、請求項5に記載の発明方法を実現するのに好適な装置であって、パルス遅延回路が、遅延ユニットがリング状に連結されることによりパルス信号を周回させるリングディレイラインにて構成される。そして、検出手段には、請求項9に記載のエンコーダに加えて、リングディレイラインでのパルス信号の周回回数を検出するカウンタが設けられ、エンコーダからの出力を入力信号レベルを表す情報の下位ビットデータ、カウンタによるカウント値を入力信号レベルを表す情報の上位ビットデータとして出力するようにされている。   Further, the invention described in claim 10 is an apparatus suitable for realizing the method of the invention described in claim 5, wherein the pulse delay circuit is connected to the delay unit in the form of a ring. Consists of a ring delay line that circulates the signal. In addition to the encoder according to claim 9, the detection means is provided with a counter for detecting the number of laps of the pulse signal in the ring delay line, and the output from the encoder is the lower bit of the information representing the input signal level. The count value by the data and the counter is output as the upper bit data of the information indicating the input signal level.

従って、この装置によれば、請求項5に記載の発明方法と同様の効果が得られると共に、上記請求項9と同様、パルス遅延回路内でのパルス信号の到達位置を表す情報が所定ビットのデジタルデータとして出力されることになるため、クロック入力時に検出されたパルス信号の到達位置の差からアナログ入力信号の信号レベルを求める際の演算処理を、極めて簡単に行うことができるようになる。   Therefore, according to this device, the same effect as that of the method of the invention of claim 5 can be obtained, and the information indicating the arrival position of the pulse signal in the pulse delay circuit is the predetermined bit as in the case of claim 9. Since it is output as digital data, it is possible to very easily perform arithmetic processing when obtaining the signal level of the analog input signal from the difference in arrival position of the pulse signal detected at the time of clock input.

尚、請求項9に記載の信号レベル検出装置によれば、パルス遅延回路を構成するリングディレイラインでのパルス信号の周回回数をカウンタにてカウントするため、パルス遅延回路を構成する遅延ユニットの段数を少なくして、回路規模を小さくすることができるが、この遅延ユニットの段数は、少なくとも、リングディレイラインをパルス信号が一周するのに要する時間が、カウンタが周回回数をカウントするのに要する動作時間以上となるように設定する必要はある。   According to the signal level detecting device of the ninth aspect, since the counter counts the number of circulations of the pulse signal in the ring delay line constituting the pulse delay circuit, the number of delay units constituting the pulse delay circuit is determined. The circuit scale can be reduced by reducing the number of delay units, but the number of stages of this delay unit is at least the time required for the pulse signal to go around the ring delay line. It is necessary to set it to be more than time.

つまり、リングディレイラインを構成する遅延ユニットの段数を少なくしすぎ、リングディレイラインをパルス信号が一周するのに要する時間が、カウンタが周回回数をカウントするのに要する動作時間よりも短くなってしまうと、カウンタによる周回回数のカウント動作が遅れて、正常なデジタルデータを出力することができなくなることから、リングディレイラインを構成する遅延ユニットの段数は、カウンタの動作時間を考慮して設定する必要がある。   In other words, the number of stages of the delay units constituting the ring delay line is made too small, and the time required for the pulse signal to go around the ring delay line is shorter than the operation time required for the counter to count the number of laps. Since the counter operation of the number of laps by the counter is delayed and normal digital data cannot be output, the number of stages of the delay units constituting the ring delay line must be set in consideration of the operation time of the counter. There is.

例えば、カウンタによるカウント値が10ビット以上であり、そのカウント動作に10nsec.以上程度の時間を要する一般的なカウンタである場合には、リングディレイラインを構成する遅延ユニットの段数を63段以上にすることが望ましい。また、例えば、カウンタが、高速動作可能なカウンタ(例えば、本願発明者らが先に提案した特開平7−254853号公報に記載の同期式カウンタ)であり、そのカウント動作に要する時間が10nsec.よりも短いような場合には、リングディレイラインを構成する遅延ユニットの段数を、一般的なカウンタを用いた場合よりも少ない15段以上とすることができる。   For example, the count value by the counter is 10 bits or more, and 10 nsec. In the case of a general counter that requires about the above time, it is desirable that the number of stages of delay units constituting the ring delay line be 63 or more. Further, for example, the counter is a counter capable of high-speed operation (for example, a synchronous counter described in Japanese Patent Laid-Open No. 7-254853 previously proposed by the present inventors), and the time required for the count operation is 10 nsec. In such a case, the number of stages of delay units constituting the ring delay line can be set to 15 stages or more, which is smaller than when a general counter is used.

また、リングディレイラインとしては、例えば、特開平3−220814号公報、特開平7−154256号公報等に記載されているリング遅延パルス発生回路を使用することができる。   Further, as the ring delay line, for example, a ring delay pulse generating circuit described in JP-A-3-220814, JP-A-7-154256, or the like can be used.

以下に本発明の実施例について説明する。図1(a)及び(b)は、本発明が適用された第1実施例の信号レベル検出装置の構成及びその動作を表す説明図である。   Examples of the present invention will be described below. FIGS. 1A and 1B are explanatory diagrams showing the configuration and operation of the signal level detection apparatus of the first embodiment to which the present invention is applied.

図1(a)に示すように、本実施例の信号レベル検出装置は、入力パルスを所定の遅延時間だけ遅延させて出力する遅延ユニット2を複数段縦続接続することにより構成されたパルス遅延回路10と、外部から入力されるクロックCKの立上がり(または立下がり)タイミングで、パルス遅延回路10内での遅延パルスPinの到達位置を検出し、その検出結果を、遅延パルスPinが通過した遅延ユニット2が先頭から何段目にあるかを表すnビットのデジタルデータDTに変換して出力するエンコーダ20と、から構成されている。   As shown in FIG. 1 (a), the signal level detection apparatus of this embodiment is a pulse delay circuit configured by cascading a plurality of delay units 2 that output an input pulse by delaying it by a predetermined delay time. 10, the arrival position of the delay pulse Pin in the pulse delay circuit 10 is detected at the rising (or falling) timing of the clock CK input from the outside, and the detection result is a delay unit through which the delay pulse Pin has passed. And an encoder 20 that converts and outputs n-bit digital data DT indicating the number of stages 2 from the head.

パルス遅延回路10を構成する各遅延ユニット2は、後述するインバータ(図4参照)等からなるゲート回路にて構成されており、各遅延ユニット2には、バッファ12を介して、アナログ入力信号(電圧)Vinが駆動電圧として印加されている。   Each delay unit 2 included in the pulse delay circuit 10 is configured by a gate circuit including an inverter (see FIG. 4) described later. Each delay unit 2 receives an analog input signal ( Voltage) Vin is applied as a drive voltage.

尚、パルス遅延回路10には、エンコーダ20に入力されるクロックCKと同期して遅延パルスPin(Highレベル若しくはLowレヘ゛ルのパルス信号)が入力され、各遅延ユニット2は、その遅延パルスPinを、所定の遅延時間だけ遅延させて次段の遅延ユニット2に順次出力する。   The pulse delay circuit 10 receives a delay pulse Pin (High level or Low level pulse signal) in synchronization with the clock CK input to the encoder 20, and each delay unit 2 receives the delay pulse Pin, The signals are delayed by a predetermined delay time and sequentially output to the delay unit 2 at the next stage.

また、エンコーダ20に入力されるクロックCKの周期は、遅延ユニット2の遅延時間に比べて十分長く(例えば、遅延ユニット2の遅延時間の数十倍以上に)設定されており、パルス遅延回路10において、遅延ユニット2は、遅延パルスPinの入力後、クロックCKの一周期分の時間が経過しても、遅延パルスを継続して伝送できるように、例えば、数十〜数百段以上設けられている。   The period of the clock CK input to the encoder 20 is set to be sufficiently longer than the delay time of the delay unit 2 (for example, several tens of times the delay time of the delay unit 2), and the pulse delay circuit 10 The delay unit 2 is provided with, for example, several tens to several hundreds of stages so that the delay pulse can be continuously transmitted even after the time of one cycle of the clock CK has elapsed after the input of the delay pulse Pin. ing.

このように構成された本実施例の信号レベル検出装置においては、各遅延ユニット2の遅延時間が、アナログ入力信号Vinの信号レベル(電圧レベル)に対応した時間となり、アナログ入力信号Vinに高周波ノイズ成分が重畳されている場合には、その高周波ノイズ成分によって各遅延ユニット2の遅延時間が変動する。   In the signal level detection apparatus of this embodiment configured as described above, the delay time of each delay unit 2 is a time corresponding to the signal level (voltage level) of the analog input signal Vin, and the analog input signal Vin has high frequency noise. When components are superimposed, the delay time of each delay unit 2 varies depending on the high frequency noise component.

つまり、図1(b)は、パルス遅延回路10に遅延パルスPinが入力されて、遅延パルスPinがパルス遅延回路10内を伝送されているときの、各遅延ユニットからの出力波形を表しているが、この図から明らかなように、アナログ入力信号Vinに高周波ノイズ成分が重畳されている場合には、高周波ノイズ成分によって各遅延ユニット2の駆動電圧が変動することから、遅延パルスPinが各遅延ユニット2を通過する際の遅延時間が変動する。   That is, FIG. 1B shows an output waveform from each delay unit when the delay pulse Pin is input to the pulse delay circuit 10 and the delay pulse Pin is transmitted through the pulse delay circuit 10. However, as is clear from this figure, when the high frequency noise component is superimposed on the analog input signal Vin, the drive voltage of each delay unit 2 fluctuates due to the high frequency noise component. The delay time when passing through the unit 2 varies.

具体的には、アナログ入力信号Vinに正の高周波ノイズ成分が重畳されたタイミングで遅延パルスPinを通過させる遅延ユニット2の遅延時間は、アナログ入力信号Vinに高周波ノイズ成分が重畳されていない標準時に比べて短くなり(図に示す「小」参照)、逆に、アナログ入力信号Vinに負の高周波ノイズ成分が重畳されたタイミングで遅延パルスPinを通過させる遅延ユニット2の遅延時間は、標準時に比べて長くなる(図に示す「大」参照)。   Specifically, the delay time of the delay unit 2 that passes the delay pulse Pin at the timing when the positive high frequency noise component is superimposed on the analog input signal Vin is the standard time when the high frequency noise component is not superimposed on the analog input signal Vin. On the contrary, the delay time of the delay unit 2 that passes the delay pulse Pin at the timing when the negative high frequency noise component is superimposed on the analog input signal Vin is shorter than the standard time. (See “Large” in the figure).

そこで、本発明では、クロックCKの一周期を設定時間として、その設定時間内に遅延パルスPinが通過した遅延ユニット2の段数をエンコーダ20にて検出し、その検出結果(遅延ユニット2の段数を表すデジタルデータDT)を、アナログ入力信号Vinの信号レベル(電圧レベル)を表すデータとして出力するようにしているのである。   Therefore, in the present invention, one cycle of the clock CK is set as a set time, and the number of stages of the delay unit 2 through which the delay pulse Pin has passed within the set time is detected by the encoder 20, and the detection result (the number of stages of the delay unit 2 is determined). The digital data DT) is output as data representing the signal level (voltage level) of the analog input signal Vin.

即ち、パルス遅延回路10を構成する遅延ユニット2の遅延時間は、図2(a)に示すように、アナログ入力信号Vinの信号レベルに応じて、アナログ入力信号Vinの信号レベルが高くなる程短くなるが、アナログ入力信号Vinに重畳された正負の高周波ノイズ信号成分による遅延時間の変動分については、遅延パルスPinをパルス遅延回路10に入力して各遅延ユニット2を順次伝送させることにより相殺(換言すれば平均化)することができることから、本実施例では、図2(b)に示すように、クロックCKの周期をサンプリング周期Tsとして、その時間内に遅延パルスPinが通過した遅延ユニット2の段数をエンコーダ20にて順次検出することにより、各サンプリング周期Ts毎に、アナログ入力信号Vinの信号レベルの移動平均をとった値と同等のデジタルデータDT(n1,n2…)を生成するようにしている。   That is, the delay time of the delay unit 2 constituting the pulse delay circuit 10 becomes shorter as the signal level of the analog input signal Vin becomes higher according to the signal level of the analog input signal Vin as shown in FIG. However, the fluctuation in the delay time due to the positive and negative high frequency noise signal components superimposed on the analog input signal Vin is canceled by inputting the delay pulse Pin to the pulse delay circuit 10 and sequentially transmitting each delay unit 2 ( In other words, in this embodiment, as shown in FIG. 2B, the delay unit 2 in which the delay pulse Pin has passed within the time period is defined as the sampling period Ts as shown in FIG. Are sequentially detected by the encoder 20 so that the signal level of the analog input signal Vin is detected at each sampling period Ts. It is to generate a Le moving average taken value equivalent digital data DT (n1, n2 ...).

従って、本実施例の信号レベル検出装置は、単体で、アナログ入力信号から高周波ノイズを除去するローパスフィルタとしての機能と、アナログ入力信号の信号レベルを検出するレベル検出器としての機能とを有し、しかも、エンコーダ20からはアナログ入力信号の信号レベルに対応したデジタルデータDTが出力されることから、A/D変換器としての機能も有することになる。   Therefore, the signal level detection apparatus of the present embodiment alone has a function as a low-pass filter that removes high-frequency noise from the analog input signal and a function as a level detector that detects the signal level of the analog input signal. Moreover, since the encoder 20 outputs digital data DT corresponding to the signal level of the analog input signal, it also has a function as an A / D converter.

よって、本実施例の信号レベル検出装置によれば、制御回路において、センサからの入力信号を処理する信号処理回路として利用すれば、制御回路の回路規模を小さくし、制御回路のコストダウンを図ることができるようになる。尚、本実施例において、エンコーダ20は、本発明の検出手段に相当する。   Therefore, according to the signal level detection apparatus of the present embodiment, if the control circuit is used as a signal processing circuit for processing an input signal from the sensor, the circuit scale of the control circuit is reduced and the cost of the control circuit is reduced. Will be able to. In this embodiment, the encoder 20 corresponds to the detection means of the present invention.

ところで、本実施例の信号レベル検出装置においては、ローパスフィルタとしての特性(ノイズ除去効果)が、クロックCKの周期で決定される設定時間(サンプリング周期Ts)の間に、パルス遅延回路10にて遅延パルスPinが通過する遅延ユニット2の段数で決まり、その段数が多い程、ローパスフィルタのカットオフ周波数が低くなって、ノイズ除去効果を高めることができる。   By the way, in the signal level detection apparatus of the present embodiment, the characteristic as a low-pass filter (noise removal effect) is caused by the pulse delay circuit 10 during a set time (sampling period Ts) determined by the period of the clock CK. It is determined by the number of stages of the delay unit 2 through which the delay pulse Pin passes, and the greater the number of stages, the lower the cut-off frequency of the low-pass filter and the higher the noise removal effect.

例えば、アナログ入力信号Vinに重畳される高周波ノイズは、一般に正規分布しているので、ノイズレベルを1/10に低減するには、100段(10=√100)の遅延ユニットを用いて遅延パルスPinを通過させればよく、ノイズレベルを更に低減するには、遅延パルスPinを通過させる遅延ユニットの数を更に増やせばよい。   For example, since the high frequency noise superimposed on the analog input signal Vin is generally normally distributed, in order to reduce the noise level to 1/10, a delay pulse using a delay unit of 100 stages (10 = √100) is used. In order to reduce the noise level further, it is only necessary to further increase the number of delay units that allow the delay pulse Pin to pass.

また、パルス遅延回路10にて遅延パルスPinが通過する遅延ユニット2の段数は、サンプリング周期Tsを長くすればするほど、多くなる。従って、本実施例の信号レベル検出装置によれば、ローパスフィルタとしての特性(ノイズ除去効果)を、エンコーダ20に入力するクロックCKの周期を調整することにより、任意に設定することができることになる。   Further, the number of stages of the delay unit 2 through which the delay pulse Pin passes in the pulse delay circuit 10 increases as the sampling period Ts increases. Therefore, according to the signal level detection apparatus of the present embodiment, the characteristic as a low-pass filter (noise removal effect) can be arbitrarily set by adjusting the cycle of the clock CK input to the encoder 20. .

このため、例えば、図3(a)に示すように、制御装置において、検出速度はそれ程要求されず、高精度な信号検出を行う必要のあるセンサエレメント(A)からのアナログ入力信号(例えば、圧力、加速度、角速度、応力、トルク等の検出信号)と、検出精度よりも速度が優先されるセンサエレメント(B)からのアナログ入力信号(例えば、回転速度、回転位置、回転角度等の検出信号)との2種類以上のアナログ入力信号を取り込む必要がある場合には、その信号入力回路に、本実施例の信号レベル検出装置を利用するようにすれば、信号入力回路を一つの信号レベル検出装置を用いて実現できることになる。   For this reason, for example, as shown in FIG. 3 (a), in the control device, the detection speed is not so required, and an analog input signal (for example, from the sensor element (A) that needs to detect signals with high accuracy (for example, Detection signals such as pressure, acceleration, angular velocity, stress, torque, etc.) and analog input signals from the sensor element (B) where speed is prioritized over detection accuracy (for example, detection signals such as rotational speed, rotational position, rotational angle, etc.) ), It is necessary to take in two or more types of analog input signals, and if the signal level detection device of this embodiment is used in the signal input circuit, the signal input circuit detects one signal level. This can be realized using an apparatus.

つまり、図3(a)に示すように、センサエレメント(A)からのアナログ入力信号を取り込む際には、スイッチSW1をオンして、信号レベル検出装置にアナログ入力信号を入力すると同時に、信号レベル検出装置に入力するクロックCKの周波数を低くして、サンプリング周期Tsを長くし、逆に、センサエレメント(B)からのアナログ入力信号を取り込む際には、スイッチSW2をオンして、信号レベル検出装置にアナログ入力信号を入力すると同時に、信号レベル検出装置に入力するクロックCKの周波数を高くして、サンプリング周期Tsを短くするようにすれば、一つの信号レベル検出装置を用いて、各アナログ入力信号を適正な速度でA/D変換することができるようになる。   That is, as shown in FIG. 3A, when the analog input signal from the sensor element (A) is taken in, the switch SW1 is turned on and the analog input signal is input to the signal level detection device at the same time. When the frequency of the clock CK input to the detection device is lowered and the sampling cycle Ts is lengthened, on the contrary, when the analog input signal from the sensor element (B) is taken in, the switch SW2 is turned on to detect the signal level. When the analog input signal is input to the apparatus and the frequency of the clock CK input to the signal level detection apparatus is increased and the sampling period Ts is shortened, each analog input can be performed using one signal level detection apparatus. The signal can be A / D converted at an appropriate speed.

これに対して、図3(b)は、従来のアナログフィルタを用いて、上記各センサエレメント(A)、(B)からのアナログ入力信号を取り込む場合の信号入力回路の構成を表しており、この場合は、スイッチSW1をオンしてセンサエレメント(A)からのアナログ入力信号を取り込むときと、スイッチSW2をオンしてセンサエレメント(B)からのアナログ入力信号を取り込むときとで、アナログ入力信号を通過させるアナログフィルタを、各アナログ入力信号の特性に対応したものに切り換える必要がある。   On the other hand, FIG. 3B shows the configuration of the signal input circuit when the analog input signal from each of the sensor elements (A) and (B) is captured using a conventional analog filter. In this case, when the switch SW1 is turned on to acquire an analog input signal from the sensor element (A), and when the switch SW2 is turned on to acquire an analog input signal from the sensor element (B), an analog input signal is used. It is necessary to switch the analog filter that passes the signal to one corresponding to the characteristics of each analog input signal.

従って、本実施例の信号レベル検出装置によれば、制御装置において、複数のセンサエレメントからのアナログ入力信号を取り込む際の信号入力回路として利用することにより、従来のアナログフィルタを用いて信号入力回路を構成した場合に比べて、信号入力回路の構成を簡単にして、制御装置をコストダウンできることが判る。   Therefore, according to the signal level detection device of the present embodiment, the signal input circuit using the conventional analog filter is used in the control device as a signal input circuit when taking in the analog input signals from the plurality of sensor elements. It can be seen that the cost of the control device can be reduced by simplifying the configuration of the signal input circuit compared to the configuration of

ここで、図3(a),(b)に示す各信号入力回路では、スイッチSW1又はSW2を介して入力されるセンサエレメント(A)又は(B)からのアナログ入力信号の信号経路上に、増幅器AMPを設け、各信号をこの増幅器AMPにて増幅した後、信号レベル検出装置若しくはアナログフィルタに入力するようにしているが、このように、図1(a)に示したバッファ12に代えて、増幅器AMPを利用してアナログ入力信号を取り込み、パルス遅延回路10の駆動電圧として印加するようにしても、本実施例の信号レベル検出装置によれば、上記説明した効果を発揮することができる。   Here, in each signal input circuit shown in FIGS. 3A and 3B, on the signal path of the analog input signal from the sensor element (A) or (B) input through the switch SW1 or SW2. An amplifier AMP is provided, and each signal is amplified by the amplifier AMP and then input to a signal level detection device or an analog filter. In this way, instead of the buffer 12 shown in FIG. Even if an analog input signal is captured using the amplifier AMP and applied as a drive voltage for the pulse delay circuit 10, the signal level detection device of this embodiment can exhibit the above-described effects. .

ところで、パルス遅延回路10を構成する遅延ユニット2としては、遅延パルスPinを、所定の遅延時間だけ遅延させて出力することができ、駆動電圧によってその遅延時間が変化する一般的なゲート回路であれば、どのようなものでも使用することができるが、その回路構成をより簡単にするには、各遅延ユニット2を、例えば、図4(a)に示すように構成するとよい。   By the way, the delay unit 2 constituting the pulse delay circuit 10 may be a general gate circuit that can output the delayed pulse Pin after being delayed by a predetermined delay time, and the delay time varies depending on the drive voltage. For example, any delay unit 2 may be configured as shown in FIG. 4A in order to simplify the circuit configuration.

即ち、図4(a)は、パルス遅延回路10を構成する各遅延ユニット2を、Pチャネルトランジスタ(FET)とnチャネルトランジスタ(FET)とからなるCMOSインバータ(否定回路)INV2段で構成し、入力パルスを、前後のCMOSインバータINVを構成するPチャネルトランジスタとnチャネルトランジスタとの動作時間で決まる所定時間だけ遅延させるようにしたものであるが、各遅延ユニット2をこのように構成すれば、遅延ユニット2を4個のトランジスタにて構成でき、しかも、これら各トランジスタは、CMOS集積回路を製造する際に極めて簡単に作成できることから、パルス遅延回路10を安価に実現できることになる。   That is, in FIG. 4A, each delay unit 2 constituting the pulse delay circuit 10 is composed of two stages of CMOS inverter (negative circuit) INV composed of a P-channel transistor (FET) and an n-channel transistor (FET), The input pulse is delayed by a predetermined time determined by the operation time of the P-channel transistor and the n-channel transistor constituting the front and rear CMOS inverters INV. If each delay unit 2 is configured in this way, The delay unit 2 can be composed of four transistors, and each of these transistors can be created very easily when manufacturing a CMOS integrated circuit, so that the pulse delay circuit 10 can be realized at low cost.

また、上記実施例では、各遅延ユニット2の遅延時間をアナログ入力信号Vinの信号レベルに応じて制御するために、アナログ入力信号Vinを駆動電圧として各遅延ユニット2に印加するものとして説明したが、例えば、図4(b)に示すように、遅延ユニット2を構成する各CMOSインバータINVに、駆動電流を外部から制御するための制御トランジスタ(FET)Trcが設けられている場合には、この制御トランジスタの制御端子(ゲート)に、制御信号として、アナログ入力信号Vinを、バッファ12(若しくは増幅器AMP)を介して入力するようにしてもよい。   In the above embodiment, the analog input signal Vin is applied as a drive voltage to each delay unit 2 in order to control the delay time of each delay unit 2 according to the signal level of the analog input signal Vin. For example, as shown in FIG. 4B, when each CMOS inverter INV constituting the delay unit 2 is provided with a control transistor (FET) Trc for externally controlling the drive current, An analog input signal Vin may be input as a control signal to the control terminal (gate) of the control transistor via the buffer 12 (or the amplifier AMP).

つまり、インバータINV等のゲート回路は、直流電源から供給される駆動電流によっても、その動作時間が変化することから、図4(b)に示すように、その駆動電流をアナログ入力信号Vinに基づき制御するようにしても、上記と同様の効果が得られる信号レベル検出装置を実現できる。   That is, since the operation time of the gate circuit such as the inverter INV changes depending on the drive current supplied from the DC power supply, the drive current is based on the analog input signal Vin as shown in FIG. Even if it controls, the signal level detection apparatus which can acquire the effect similar to the above is realizable.

尚、制御トランジスタTrcは、本発明(詳しくは請求項8に記載)の制御手段に相当する。次に、図5は、本発明(特に請求項5及び請求項10)が適用された第2実施例の信号レベル検出装置の構成を表す説明図である。   The control transistor Trc corresponds to the control means of the present invention (specifically, described in claim 8). Next, FIG. 5 is an explanatory diagram showing the configuration of the signal level detection apparatus of the second embodiment to which the present invention (particularly claims 5 and 10) is applied.

図5に示す第2実施例の信号レベル検出装置は、パルス遅延回路10を構成する遅延ユニット2をリング状に連結することにより、パルス遅延回路10を、パルス遅延回路10内でパルス信号を周回させることができるリングディレイラインとして構成すると共に、このリングディレイラインでのパルス信号の周回位置を検出するための上記第1実施例と同様のエンコーダ20に加えて、リングディレイラインでのパルス信号の周回回数をカウントする周回数カウンタ30を設けたものである。   The signal level detection apparatus of the second embodiment shown in FIG. 5 connects the delay unit 2 constituting the pulse delay circuit 10 in a ring shape so that the pulse delay circuit 10 circulates the pulse signal in the pulse delay circuit 10. In addition to the encoder 20 similar to that of the first embodiment for detecting the rotation position of the pulse signal on the ring delay line, the ring delay line can be configured to generate the pulse signal on the ring delay line. A circulation counter 30 for counting the number of circulations is provided.

尚、本実施例において、パルス遅延回路10を構成するリングディレイラインは、例えば、遅延ユニット2として、外部から起動パルスPk(Highレベル)を一方の入力端子に受けるNAND回路と、NAND回路からの出力パルスの信号レベルを反転させながらパルス信号を伝送する偶数段のインバータとを備え、最終段のインバータ出力をNAND回路の他方の入力端子に入力することにより、奇数段の各遅延ユニット2でパルス信号の信号レベルを順次反転させてパルス信号を周回させるように構成されるが、こうしたリングディレイラインの構成については、前述した特開平3−220814号公報、特開平7−154256号公報等に詳しく説明されており、従来より周知であるため、その説明は省略する。   In this embodiment, the ring delay line constituting the pulse delay circuit 10 includes, for example, a delay unit 2, a NAND circuit that receives a start pulse Pk (High level) from the outside at one input terminal, And an even-numbered inverter that transmits a pulse signal while inverting the signal level of the output pulse, and by inputting the output of the final-stage inverter to the other input terminal of the NAND circuit, pulses are generated in each odd-numbered delay unit 2. The pulse signal is circulated by sequentially inverting the signal level of the signal. The configuration of such a ring delay line is described in detail in JP-A-3-220814, JP-A-7-154256, etc. Since it has been described and is conventionally known, the description thereof is omitted.

そして、本実施例の信号レベル検出装置からは、エンコーダ20から出力されるaビットのデジタルデータが、アナログ入力信号Vinの信号レベルを表す下位ビットデータとされ、カウンタによるカウント値(bビットのデジタルデータ)が、前記入力信号レベルを表す上位ビットデータとされて、合計nビット(n=a+b)のデジタルデータDTが出力される。   Then, from the signal level detection device of this embodiment, the a-bit digital data output from the encoder 20 is converted into lower-order bit data representing the signal level of the analog input signal Vin, and the count value (b-bit digital data) by the counter is used. Data) is the upper bit data representing the input signal level, and digital data DT of a total of n bits (n = a + b) is output.

従って、本実施例の信号レベル検出装置によれば、第1実施例の信号レベル検出装置と同様の効果が得られるだけでなく、パルス遅延回路10を構成する遅延ユニット2の接続段数を少なくしても、ローパスフィルタとしての機能を充分実現できることになり、第1実施例の信号レベル検出装置に比べて、回路規模を小さくして、装置の小型化・低コスト化を図ることができるようになる。   Therefore, according to the signal level detection device of the present embodiment, not only the same effect as the signal level detection device of the first embodiment can be obtained, but also the number of connection stages of the delay unit 2 constituting the pulse delay circuit 10 can be reduced. However, the function as a low-pass filter can be sufficiently realized, so that the circuit scale can be reduced compared to the signal level detection device of the first embodiment, and the device can be reduced in size and cost. Become.

第1実施例の信号レベル検出装置の構成及びその動作を説明する説明図である。It is explanatory drawing explaining the structure and its operation | movement of the signal level detection apparatus of 1st Example. 第1実施例の信号レベル検出装置の動作原理及びその効果を説明する説明図である。It is explanatory drawing explaining the principle of operation of the signal level detection apparatus of 1st Example, and its effect. 第1実施例の信号レベル検出装置の使用方法を従来のアナログフィルタと比較して表す説明図である。It is explanatory drawing which represents the usage method of the signal level detection apparatus of 1st Example in comparison with the conventional analog filter. 第1実施例においてパルス遅延回路を構成する遅延ユニットの一例及びその変形例を説明する説明図である。It is explanatory drawing explaining an example of the delay unit which comprises a pulse delay circuit, and its modification in 1st Example. 第2実施例の信号レベル検出装置の構成を表す説明図である。It is explanatory drawing showing the structure of the signal level detection apparatus of 2nd Example. 従来のアナログフィルタの構成及びその動作特性を表す説明図である。It is explanatory drawing showing the structure of the conventional analog filter, and its operation characteristic. 従来のアナログフィルタの構成及びその具体的使用例を説明する説明図である。It is explanatory drawing explaining the structure of the conventional analog filter, and its specific usage example.

符号の説明Explanation of symbols

2 遅延ユニット
10 パルス遅延回路
12 バッファ
20 エンコーダ
30 周回数カウンタ
AMP 増幅器
INV CMOSインバータ
Trc 制御トランジスタ
2 delay unit 10 pulse delay circuit 12 buffer 20 encoder 30 lap counter AMP amplifier INV CMOS inverter Trc control transistor

Claims (10)

アナログ入力信号から高周波ノイズ成分を除去するフィルタ機能を有し、ノイズ除去後の真の入力信号レベルを検出する信号レベル検出方法であって、
ゲート回路からなる遅延ユニットを複数段縦続接続してなるパルス遅延回路に対して、前記アナログ入力信号を、前記各遅延ユニットの遅延時間を制御する信号として入力すると共に、前記パルス遅延回路にパルス信号を入力して、該パルス信号を前記各遅延ユニットの遅延時間にて順次遅延しながら伝送させ、
設定時間毎にクロックが入力される度に、前記パルス遅延回路内でのパルス信号到達位置を検出し、このクロック入力時に検出されたパルス信号の到達位置と、前回のクロック入力時に検出されたパルス信号の到達位置との差を求めることにより、前記設定時間当たりに前記パルス遅延回路内でパルス信号が通過した遅延ユニットの段数を前記信号レベルを表す信号として検知することを特徴とするフィルタ機能を有する信号レベル検出方法。
A signal level detection method having a filter function for removing high frequency noise components from an analog input signal and detecting a true input signal level after noise removal,
The analog input signal is input as a signal for controlling the delay time of each delay unit to a pulse delay circuit formed by cascading delay units each including a gate circuit, and a pulse signal is input to the pulse delay circuit. To transmit the pulse signal while sequentially delaying by the delay time of each delay unit,
Each time a clock is input at every set time, the pulse signal arrival position in the pulse delay circuit is detected, the arrival position of the pulse signal detected at the time of this clock input, and the pulse detected at the previous clock input. A filter function characterized by detecting the number of delay units through which a pulse signal has passed in the pulse delay circuit per set time as a signal representing the signal level by obtaining a difference from a signal arrival position. A signal level detection method.
前記アナログ入力信号を、前記各遅延ユニットの駆動電圧とすることにより、前記各遅延ユニットの遅延時間を制御することを特徴とする請求項1記載のフィルタ機能を有する信号レベル検出方法。 2. The signal level detection method having a filter function according to claim 1, wherein the delay time of each delay unit is controlled by using the analog input signal as a driving voltage for each delay unit. 前記アナログ入力信号にて前記各遅延ユニットに流す駆動電流を制御することにより、前記各遅延ユニットの遅延時間を制御することを特徴とする請求項1記載のフィルタ機能を有する信号レベル検出方法。 2. The signal level detection method having a filter function according to claim 1, wherein a delay time of each delay unit is controlled by controlling a driving current that flows to each delay unit by the analog input signal. 前記設定時間を変更することにより、前記高周波ノイズ成分を除去するローパスフィルタとしてのフィルタ特性を調整することを特徴とする請求項1〜請求項3いずれか記載のフィルタ機能を有する信号レベル検出方法。 4. The signal level detection method having a filter function according to claim 1, wherein a filter characteristic as a low-pass filter for removing the high-frequency noise component is adjusted by changing the set time. 前記パルス遅延回路として、前記遅延ユニットがリング状に連結されることにより前記パルス信号を周回させるリングディレイラインを使用し、前記設定時間内に前記パルス信号が通過した遅延ユニットの段数を、前記リングディレイラインでのパルス信号の周回位置と周回回数とから検出することを特徴とする請求項1〜請求項4いずれか記載のフィルタ機能を有する信号レベル検出方法。 As the pulse delay circuit, a ring delay line that circulates the pulse signal by connecting the delay units in a ring shape is used, and the number of stages of the delay unit that the pulse signal has passed within the set time is determined by the ring delay circuit. 5. The signal level detection method having a filter function according to claim 1, wherein the detection is performed from a circulation position and a circulation number of the pulse signal on the delay line. アナログ入力信号から高周波ノイズ成分を除去するフィルタ機能を有し、ノイズ除去後の真の入力信号レベルを検出する信号レベル検出装置であって、
前記アナログ入力信号の信号レベルに応じた遅延時間で入力パルスを遅延させて出力するゲート回路からなる遅延ユニットを複数段縦続接続することにより、パルス信号を各遅延ユニットの遅延時間にて順次遅延しながら伝送させるパルス遅延回路と、
外部から所定周期でクロックが入力される度に、前記パルス遅延回路内でのパルス信号到達位置を検出し、このクロック入力時に検出されたパルス信号の到達位置と、前回のクロック入力時に検出されたパルス信号の到達位置との差を求めることにより、前記所定周期の一周期当たりに前記パルス遅延回路内でパルス信号が通過した遅延ユニットの段数を前記信号レベルを表す信号として検知する検出手段と、を備えることを特徴とするフィルタ機能を有する信号レベル検出装置。
A signal level detection device that has a filter function to remove high frequency noise components from an analog input signal and detects a true input signal level after noise removal,
A delay unit consisting of a gate circuit that delays and outputs an input pulse with a delay time corresponding to the signal level of the analog input signal is cascade-connected to delay the pulse signal sequentially by the delay time of each delay unit. A pulse delay circuit to transmit while
Each time a clock is input from the outside at a predetermined cycle, the arrival position of the pulse signal in the pulse delay circuit is detected, and the arrival position of the pulse signal detected at the time of this clock input and detected at the previous clock input Detecting means for detecting, as a signal representing the signal level, the number of stages of the delay unit through which the pulse signal has passed in the pulse delay circuit per cycle of the predetermined period by obtaining a difference from the arrival position of the pulse signal; A signal level detecting device having a filter function.
前記各遅延ユニットは、前記アナログ入力信号を駆動電圧として受けることにより、前記アナログ入力信号の信号レベルに応じた遅延時間で入力パルスを遅延させることを特徴とする請求項6記載のフィルタ機能を有する信号レベル検出装置。 7. The filter function according to claim 6, wherein each delay unit delays an input pulse by a delay time corresponding to a signal level of the analog input signal by receiving the analog input signal as a drive voltage. Signal level detection device. 前記パルス遅延回路は、前記各遅延ユニットの駆動電流を制御する制御手段を備え、該制御手段は、前記アナログ入力信号を制御信号として受けることにより、前記各遅延ユニットの遅延時間を制御することを特徴とする請求項6記載のフィルタ機能を有する信号レベル検出装置。 The pulse delay circuit includes control means for controlling the drive current of each delay unit, and the control means controls the delay time of each delay unit by receiving the analog input signal as a control signal. The signal level detection apparatus having a filter function according to claim 6. 前記検出手段は、前記パルス遅延回路内でのパルス信号の到達位置を所定ビットのデジタルデータに変換して出力するエンコーダを備えることを特徴とする請求項6〜請求項8いずれか記載のフィルタ機能を有する信号レベル検出装置。 9. The filter function according to claim 6, wherein the detection unit includes an encoder that converts a pulse signal arrival position in the pulse delay circuit into digital data of a predetermined bit and outputs the digital data. A signal level detection device having: 前記パルス遅延回路は、前記遅延ユニットがリング状に連結されることにより前記パルス信号を周回させるリングディレイラインからなり、前記検出手段は、前記エンコーダに加えて、前記リングディレイラインでのパルス信号の周回回数を検出するカウンタを備え、前記エンコーダからの出力を前記入力信号レベルを表す情報の下位ビットデータ、前記カウンタによるカウント値を前記入力信号レベルを表す情報の上位ビットデータとして出力することを特徴とする請求項9記載のフィルタ機能を有する信号レベル検出装置。 The pulse delay circuit includes a ring delay line that circulates the pulse signal by connecting the delay units in a ring shape, and the detection means includes, in addition to the encoder, the pulse signal in the ring delay line. A counter for detecting the number of laps is provided, and the output from the encoder is output as lower bit data of information representing the input signal level, and the count value by the counter is output as upper bit data of information representing the input signal level. A signal level detection device having a filter function according to claim 9.
JP2004239035A 2004-08-19 2004-08-19 Method and apparatus for detecting signal level having filter function Expired - Fee Related JP3821143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004239035A JP3821143B2 (en) 2004-08-19 2004-08-19 Method and apparatus for detecting signal level having filter function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004239035A JP3821143B2 (en) 2004-08-19 2004-08-19 Method and apparatus for detecting signal level having filter function

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001007651A Division JP4008200B2 (en) 2001-01-16 2001-01-16 Method and apparatus for detecting signal level having filter function

Publications (2)

Publication Number Publication Date
JP2005020774A JP2005020774A (en) 2005-01-20
JP3821143B2 true JP3821143B2 (en) 2006-09-13

Family

ID=34191711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004239035A Expired - Fee Related JP3821143B2 (en) 2004-08-19 2004-08-19 Method and apparatus for detecting signal level having filter function

Country Status (1)

Country Link
JP (1) JP3821143B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4232755B2 (en) 2005-04-05 2009-03-04 株式会社デンソー Image sensor and image sensor control method
JP7079165B2 (en) * 2018-07-11 2022-06-01 株式会社豊田中央研究所 Conversion circuit

Also Published As

Publication number Publication date
JP2005020774A (en) 2005-01-20

Similar Documents

Publication Publication Date Title
JP4008200B2 (en) Method and apparatus for detecting signal level having filter function
JP4396063B2 (en) A / D conversion method and apparatus
US8836567B2 (en) Integration and analog to digital conversion circuit with common capacitors and operating method thereof
JP4725418B2 (en) Time measurement circuit
US7248197B2 (en) A/D converter that is implemented using only digital circuit components and digital signal processing
JP3960267B2 (en) A / D conversion method and apparatus
JP2003273735A (en) Method and device for a/d conversion
JP2013090304A5 (en)
US20130135129A1 (en) Sensor Circuit for Concurrent Integration of Multiple Differential Signals and Operating Method Thereof
JP3821143B2 (en) Method and apparatus for detecting signal level having filter function
JP4645734B2 (en) Pulse delay circuit and A / D conversion circuit
JP2009250808A (en) Frequency measurement device
JPH1070444A (en) Digital noise filter
WO2009136627A1 (en) A/d conversion circuit
US7782241B2 (en) Signal processing method and device, and analog/digital converting device
JP4140530B2 (en) A / D conversion circuit device and A / D conversion method
JP2009077172A (en) Analog-to-digital converter, and imaging apparatus
JP4349266B2 (en) A / D converter
JP2009271010A (en) Sensor device
JP2008306289A (en) Solid imaging apparatus and imaging apparatus
JP3864583B2 (en) Variable delay circuit
JPH0697744B2 (en) Integral type analog / digital conversion method and apparatus
JP4311344B2 (en) A / D converter
JPH05346435A (en) Speed detecting method
JP2004177324A (en) Two-phase pulse count circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060525

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060530

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060612

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090630

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100630

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100630

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110630

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110630

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120630

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120630

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130630

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140630

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees