JPH0779162A - Signal conversion circuit - Google Patents

Signal conversion circuit

Info

Publication number
JPH0779162A
JPH0779162A JP22261393A JP22261393A JPH0779162A JP H0779162 A JPH0779162 A JP H0779162A JP 22261393 A JP22261393 A JP 22261393A JP 22261393 A JP22261393 A JP 22261393A JP H0779162 A JPH0779162 A JP H0779162A
Authority
JP
Japan
Prior art keywords
signal
voltage
sample
input pulse
capacitor
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.)
Withdrawn
Application number
JP22261393A
Other languages
Japanese (ja)
Inventor
Tetsuji Oya
哲司 大矢
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.)
Toyota Industries Corp
Original Assignee
Toyoda Automatic Loom Works 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 Toyoda Automatic Loom Works Ltd filed Critical Toyoda Automatic Loom Works Ltd
Priority to JP22261393A priority Critical patent/JPH0779162A/en
Publication of JPH0779162A publication Critical patent/JPH0779162A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To prevent deterioration in the conversion accuracy due to dispersion in the characteristic of components in the signal conversion circuit converting an input pulse signal into an analog signal based on its duty factor. CONSTITUTION:A control logic generating section 11 generates 1st-3rd control signals V1, V2, V3 based on an input pulse signal. An analog signal generating section 12 controls charge/discharge of a capacitor C0 according to the 1st control signal V, to provide a voltage V4 across the capacitor C0 at all times to an arithmetic operation section 14. A 1st sample-and-hold section 13 samples and holds a capacitor voltage (the voltage in this case is VT) when a current is constantly discharged from the capacitor C0 at a predetermined voltage CREF for one period of the input pulse signal according to the 2nd control signal V.. The arithmetic operation section 14 applies a predetermined arithmetic operation to the voltage VT and a voltage V4. A 2nd sample-and-hold section 15 samples and holds the arithmetic operation result of the arithmetic operation section 14 at the end of an H level of the input pulse signal according to the 3rd control signal V3 and provides the output of the resultant value as a converted value from the input pulse signal into an analog signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、任意のデューティ比を
有するパルス信号を、そのデューティ比に応じたアナロ
グ信号に変換する信号変換回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal conversion circuit for converting a pulse signal having an arbitrary duty ratio into an analog signal corresponding to the duty ratio.

【0002】[0002]

【従来の技術】近年、各種電気・電子装置の制御におい
て、アナログ制御からディジタル制御への移行が進み、
アナログ的な信号によって駆動を行う装置の場合にも、
ディジタル制御を行うことが多い。たとえば、直流電源
モータの回転速度を制御する場合には、所定周期のパル
ス信号を制御信号として用い、そのパルス信号のデュー
ティ比を変化させることによって行うことができる。そ
して、モータに入力される直前で、上記パルス信号をそ
のデューティ比に応じたアナログ信号(たとえば電圧)
に変換させ、その電圧でモータを駆動する。
2. Description of the Related Art In recent years, in the control of various electric and electronic devices, the transition from analog control to digital control has progressed,
In the case of a device that drives with an analog signal,
Often digitally controlled. For example, when controlling the rotation speed of the DC power supply motor, it can be performed by using a pulse signal of a predetermined cycle as a control signal and changing the duty ratio of the pulse signal. Immediately before being input to the motor, the pulse signal is converted into an analog signal (for example, voltage) according to its duty ratio.
, And drive the motor with that voltage.

【0003】図8に、パルス信号をアナログ信号に変換
する信号変換回路の一例のブロック図を示す。同図にお
いて、入力パルス信号が,“H”期間カウント回路1お
よび1周期カウント回路4に入力される。そして、
“H”期間カウント回路1および1周期カウント回路4
が出力する各電圧VC1,VC2が、それぞれサンプルホー
ルド回路2および5に入力される。さらに、サンプルホ
ールド回路2および5がサンプルホールドした電圧値V
h ,Vt が、それぞれ電圧・電流変換回路3および6に
入力される。続いて、電圧値Vh ,Vt が電圧・電流変
換回路3および6によってそれぞれ電流Ih ,It に変
換された後、演算回路7に入力される。そして、演算回
路7が、電流Ih ,It に対して所定の演算を行い、そ
の演算結果である出力電圧VOUT を出力する。
FIG. 8 shows a block diagram of an example of a signal conversion circuit for converting a pulse signal into an analog signal. In the figure, the input pulse signal is input to the “H” period counting circuit 1 and the 1-cycle counting circuit 4. And
"H" period counting circuit 1 and one cycle counting circuit 4
The respective voltages V C1 and V C2 output by the are input to the sample and hold circuits 2 and 5, respectively. Further, the voltage value V sampled and held by the sample and hold circuits 2 and 5
h and V t are input to the voltage / current conversion circuits 3 and 6, respectively. Subsequently, the voltage values V h and V t are converted into currents I h and I t by the voltage / current conversion circuits 3 and 6, respectively, and then input to the arithmetic circuit 7. Then, the arithmetic circuit 7 performs a predetermined arithmetic operation on the currents I h and I t and outputs the output voltage V OUT which is the arithmetic operation result.

【0004】次に、上記構成の信号変換回路の動作を、
図9に示すタイムチャートとともに説明する。“H”期
間カウント回路1は、容量がC1 であるコンデンサC1
を有しており、そのコンデンサC1 が充電されることに
よって、“H”期間カウント回路1の出力電圧は、VC1
=VREF (予め設定された定数)となっている。この状
態で、“H”期間カウント回路1に入力パルス信号が入
力すると、その立上がりエッジから立下がりエッジまで
の間、すなわち入力パルス信号が“H”レベルにある期
間(時間t)、コンデンサC1 に充電されている電荷を
定電流Iで放電する。その後、再びコンデンサC1 を電
圧VREF まで充電する。ここで、入力パルス信号の立下
がりエッジ時の“H”期間カウント回路1の出力電圧
は、下記(1)式となる。
Next, the operation of the signal conversion circuit having the above configuration will be described.
This will be described together with the time chart shown in FIG. The "H" period counting circuit 1 includes a capacitor C 1 having a capacitance of C 1.
And the capacitor C 1 is charged, the output voltage of the “H” period counting circuit 1 becomes V C1.
= V REF (preset constant). In this state, when the input pulse signal is input to the "H" period counting circuit 1, the capacitor C 1 The electric charge stored in the battery is discharged with a constant current I. After that, the capacitor C 1 is charged again to the voltage V REF . Here, the output voltage of the "H" period counting circuit 1 at the falling edge of the input pulse signal is given by the following expression (1).

【0005】[0005]

【数1】 [Equation 1]

【0006】そして、サンプルホールド回路2は、入力
パルス信号の立下がりエッジのタイミングで上記(1)
式で表される電圧Vh をサンプルホールドし、そのサン
プルホールド値Vh を電圧・電流変換回路3に出力す
る。電圧・電流変換回路3は、その電圧Vh を下記
(2)式で表される電流に変換し、演算回路7に対して
出力する。
Then, the sample hold circuit 2 performs the above (1) at the timing of the falling edge of the input pulse signal.
Samples and holds the voltage V h of the formula, and outputs the sample hold value V h to the voltage-current conversion circuit 3. The voltage / current conversion circuit 3 converts the voltage V h into a current represented by the following formula (2) and outputs it to the arithmetic circuit 7.

【0007】[0007]

【数2】 [Equation 2]

【0008】一方、1周期カウント回路4は、容量がC
2 であるコンデンサC2 を有しており、そのコンデンサ
2 が充電されることによって、1周期カウント回路4
の出力電圧は、VC2=VREF (“H”期間カウント回路
1に充電される値と同じ)となっている。この状態で、
1周期カウント回路4に入力パルス信号が入力すると、
その立上がりエッジから次の立上がりエッジまでの間、
すなわち1周期の間(時間T)、コンデンサC2 に充電
されている電荷を上記定電流Iで放電した後、コンデン
サC2 を電圧VREF まで充電する。ここで、入力パルス
信号の立上がりエッジ時において、1周期カウント回路
4の出力電圧は、下記(3)式の値まで低下する。
On the other hand, the one-cycle counting circuit 4 has a capacitance of C
2 has a capacitor C 2 and the capacitor C 2 is charged so that the one cycle counting circuit 4
Has an output voltage of V C2 = V REF (the same as the value charged in the "H" period counting circuit 1). In this state,
When the input pulse signal is input to the 1-cycle counting circuit 4,
From that rising edge to the next rising edge,
That is, during one cycle (time T), the electric charge charged in the capacitor C 2 is discharged by the constant current I, and then the capacitor C 2 is charged to the voltage V REF . Here, at the rising edge of the input pulse signal, the output voltage of the 1-cycle counting circuit 4 drops to the value of the following expression (3).

【0009】[0009]

【数3】 [Equation 3]

【0010】そして、サンプルホールド回路5は、入力
パルス信号の立上がりエッジのタイミングで上記(3)
式で表される電圧Vt をサンプルホールドし、そのサン
プルホールド値Vt を電圧・電流変換回路6に出力す
る。電圧・電流変換回路6は、その電圧Vt を下記
(4)式で表される電流に変換し、演算回路7に対して
出力する。
Then, the sample-hold circuit 5 performs the above (3) at the timing of the rising edge of the input pulse signal.
The voltage V t represented by the equation is sampled and held, and the sampled and held value V t is output to the voltage / current conversion circuit 6. The voltage / current conversion circuit 6 converts the voltage V t into a current represented by the following equation (4) and outputs it to the arithmetic circuit 7.

【0011】[0011]

【数4】 [Equation 4]

【0012】演算回路7は、上記(2)および(4)式
で表される電流Ih , t に対して下記(5)式に従っ
て演算を行い、出力電圧VOUT を出力する。
[0012] calculation circuit 7, the (2) and (4) current I h of the formula, performs calculation according to the following equation (5) with respect to I t, and outputs an output voltage V OUT.

【0013】[0013]

【数5】 [Equation 5]

【0014】ここで、上記(5)式において、α及びβ
は、演算回路7が出力する電圧VOUTの変化範囲を設定
するための定数である。このように、演算回路7が出力
する電圧VOUT は、上記(5)式に示すように、入力パ
ルス信号の1周期の時間Tに対する“H”期間の時間t
の時間、すなわち入力パルス信号のデューティ比に応じ
て、アナログ的に変化する。
Here, in the above equation (5), α and β
Is a constant for setting the change range of the voltage V OUT output by the arithmetic circuit 7. Thus, the voltage V OUT output from the arithmetic circuit 7 is, as shown in the above equation (5), the time t of the “H” period with respect to the time T of one cycle of the input pulse signal.
Of time, that is, it changes in an analog manner according to the duty ratio of the input pulse signal.

【0015】一例として、以下の条件で出力電圧VOUT
を算出する。入力パルス信号周波数=100ヘルツ(入
力パルス信号の周期T=10ms),コンデンサC1
よびC2 の充電時の電圧VREF =4V,電圧VOUT の変
化範囲=1〜3V(α=1.5,β=1.0),コンデ
ンサC1 およびC2 の容量=0.1μF,放電時定電流
I=20μA,電圧・電流変換回路3,6および演算回
路7が有する抵抗の抵抗値R1 =R2 =R3 =2kΩ。
この条件で、たとえば入力パルス信号のデューティ比が
10%であるとすると、t=1msを上記(5)に代入
し、出力電圧V OUT =1.2Vが得られる。
As an example, the output voltage VOUT
To calculate. Input pulse signal frequency = 100 Hz (on
Force pulse signal period T = 10 ms), capacitor C1Oh
And C2Voltage V when chargingREF= 4V, voltage VOUTStrange
Range = 1 to 3 V (α = 1.5, β = 1.0), capacitor
Sensor C1And C2Capacity = 0.1 μF, constant current during discharge
I = 20 μA, voltage / current conversion circuits 3, 6 and operation times
Resistance value R of the resistance of the path 71= R2= R3= 2 kΩ.
Under this condition, if the duty ratio of the input pulse signal is
If it is 10%, substitute t = 1ms into (5) above.
Output voltage V OUT= 1.2V is obtained.

【0016】従来の信号変換回路は、このようにして入
力パルス信号をそのデューティ比に応じた出力電圧V
OUT に変換し、その出力電圧を用いて負荷の駆動制御を
行っていた。
In this way, the conventional signal conversion circuit outputs the input pulse signal to the output voltage V according to its duty ratio.
The output was converted to OUT and the output voltage was used to control the drive of the load.

【0017】[0017]

【発明が解決しようとする課題】ところで、上記条件に
おいて、“H”期間カウント回路1が有するコンデンサ
1 の容量と、1周期カウント回路4が有するコンデン
サC2 の容量とが等しいと仮定しているが、一般にコン
デンサの製造ばらつきは小さくなく、その2つのコンデ
ンサC1 およびC2 の容量が正確に一致することは稀で
ある。
Under the above conditions, it is assumed that the capacity of the capacitor C 1 of the "H" period counting circuit 1 is equal to the capacity of the capacitor C 2 of the one-cycle counting circuit 4. However, in general, manufacturing variations of capacitors are not small, and it is rare that the capacitances of the two capacitors C 1 and C 2 are exactly the same.

【0018】コンデンサC1 およびC2 の容量にばらつ
きがあると、入力パルス信号のデューティ比を正確に検
出することができず、その結果入力パルス信号を正確に
出力電圧VOUT へ変換することができない。たとえば、
1 =1.1C2 であるとすると、出力電圧VOUT
1.18Vとなり、C1 =C2 と仮定したときと比べて
誤差が生じてしまう。
If the capacitances of the capacitors C 1 and C 2 vary, the duty ratio of the input pulse signal cannot be accurately detected, and as a result, the input pulse signal can be accurately converted into the output voltage V OUT . Can not. For example,
Assuming that C 1 = 1.1C 2 , the output voltage V OUT =
The voltage becomes 1.18 V, which causes an error compared with the case where C 1 = C 2 .

【0019】このように、従来の信号変換回路を用い
て、入力パルス信号をそのデューティ比に応じた出力信
号に変換する場合、コンデンサの特性ばらつきによって
上記出力信号に誤差が生じるという問題があった。
As described above, when a conventional signal conversion circuit is used to convert an input pulse signal into an output signal corresponding to its duty ratio, there is a problem that an error occurs in the output signal due to the characteristic variation of the capacitor. .

【0020】本発明は、上記問題を解決するものであ
り、入力パルス信号をそのデューティ比に応じたアナロ
グ信号に変換する信号変換回路において、部品の特性ば
らつきによる変換精度の低下を防ぐことを目的とする。
The present invention solves the above problem, and an object of the present invention is to prevent a decrease in conversion accuracy due to characteristic variations of parts in a signal conversion circuit for converting an input pulse signal into an analog signal corresponding to its duty ratio. And

【0021】[0021]

【課題を解決するための手段】本発明の信号変換回路
は、制御ロジック生成手段、アナログ信号生成手段、第
1のサンプルホールド手段、演算手段、および第2のサ
ンプルホールド手段とを有する。
A signal conversion circuit according to the present invention has a control logic generation means, an analog signal generation means, a first sample hold means, a calculation means, and a second sample hold means.

【0022】制御ロジック生成手段は、入力パルス信号
に基づいて第1,第2,および第3の制御信号を生成す
る。アナログ信号生成手段は、たとえばコンデンサとそ
のコンデンサ充放電手段とからなり、上記第1の制御信
号に従ってそのコンデンサの充放電を行う。第1のサン
プルホールド手段は、上記第2の制御信号をサンプルホ
ールド・タイミングパルスとして、上記アナログ信号生
成手段が出力するアナログ値、たとえば電圧値をサンプ
ルホールドする。演算手段は、上記アナログ信号生成手
段が出力するアナログ値と上記第1のサンプルホールド
手段によってサンプルホールドされた値とに対して所定
の演算を行う。第2のサンプルホールド手段は、上記第
3の制御信号に従って上記演算手段の出力をサンプルホ
ールドしそのサンプルホールド値を出力する。
The control logic generating means generates the first, second, and third control signals based on the input pulse signal. The analog signal generating means is composed of, for example, a capacitor and its capacitor charging / discharging means, and charges / discharges the capacitor according to the first control signal. The first sample and hold means samples and holds the analog value, for example, the voltage value output by the analog signal generating means, using the second control signal as a sample and hold timing pulse. The calculation means performs a predetermined calculation on the analog value output by the analog signal generation means and the value sample-held by the first sample-hold means. The second sample hold means samples and holds the output of the arithmetic means according to the third control signal and outputs the sample hold value.

【0023】また、請求項3記載の発明のように、入力
パルス信号に基づいて第1,第2,および第3の制御信
号を生成する制御ロジック生成手段と、上記第1の制御
信号に従ってアナログ信号を生成するアナログ信号生成
手段と、上記第2の制御信号に従って上記アナログ信号
生成手段が出力するアナログ値をサンプルホールドする
第1のサンプルホールド手段と、上記第3の制御信号に
従って上記アナログ信号生成手段が出力するアナログ値
をサンプルホールドする第2のサンプルホールド手段
と、上記第1のサンプルホールド手段および上記第2の
サンプルホールド手段によってサンプルホールドされた
値に対して所定の演算を行う演算手段とを有するような
構成としてもよい。
According to the third aspect of the invention, control logic generating means for generating the first, second, and third control signals based on the input pulse signal, and analog according to the first control signal. Analog signal generating means for generating a signal, first sample and hold means for sampling and holding the analog value output by the analog signal generating means in accordance with the second control signal, and analog signal generating in accordance with the third control signal Second sample and hold means for sampling and holding the analog value output by the means, and computing means for performing a predetermined computation on the values sampled and held by the first and second sample and hold means. It may be configured to have.

【0024】[0024]

【作用】本発明の信号変換回路においては、2周期の入
力パルス信号からそのデューティ比を求める。以下、ア
ナログ信号生成手段が生成するアナログ値を、アナログ
信号生成手段内に設けられたコンデンサの両端の電圧と
して説明する。
In the signal conversion circuit of the present invention, the duty ratio is obtained from the input pulse signal of two cycles. Hereinafter, the analog value generated by the analog signal generating means will be described as the voltage across the capacitor provided in the analog signal generating means.

【0025】入力パルス信号の第1周期において、アナ
ログ信号生成手段は、第1の制御信号に基づいて、所定
電圧VREF に充電されているコンデンサから、定電流に
よる放電を1周期時間行う。そして、第1のサンプルホ
ールド手段は、第2の制御信号に基づいて、第1周期の
終了時における上記コンデンサの電圧(VT )をサンプ
ルホールドする(この値VT は、入力パルス信号の周期
によって決まる)。サンプルホールド後、再びコンデン
サを電圧VREF に充電する。
In the first cycle of the input pulse signal, the analog signal generating means discharges the capacitor charged to the predetermined voltage V REF with a constant current for one cycle time based on the first control signal. Then, the first sample and hold means samples and holds the voltage (V T ) of the capacitor at the end of the first period based on the second control signal (this value V T is the period of the input pulse signal). Depends on). After sample and hold, the capacitor is charged again to the voltage V REF .

【0026】入力パルス信号の第2周期では、アナログ
信号生成手段は、第1の制御信号に基づいて、電圧V
REF に充電されているコンデンサから、上記定電流によ
る放電を入力パルス信号が“H”レベル(“H”レベル
のかわりに“L”レベルとして回路を構成することも可
能)である期間行う。
In the second cycle of the input pulse signal, the analog signal generating means generates the voltage V based on the first control signal.
The capacitor charged in REF is discharged by the constant current for a period when the input pulse signal is at "H" level (the circuit can be configured as "L" level instead of "H" level).

【0027】演算手段には、第1のサンプルホールド手
段がサンプルホールドした電圧値(VT )と、第1の制
御信号に基づいて時間とともに変化する上記コンデンサ
の電圧値とが入力されており、それら2つの電圧値に対
して常に所定の演算が行われている。そして、第2のサ
ンプルホールド手段は、第3の制御信号に基づいて、入
力パルス信号の第2周期の“H”レベル終了時に演算手
段が出力する電圧値をサンプルホールドする。
The voltage value (V T ) sampled and held by the first sample and hold means and the voltage value of the capacitor which changes with time based on the first control signal are input to the arithmetic means. A predetermined calculation is always performed on these two voltage values. Then, the second sample hold means samples and holds the voltage value output by the calculating means at the end of the “H” level of the second cycle of the input pulse signal based on the third control signal.

【0028】ここで、入力パルス信号の第2周期の
“H”レベル終了時におけるコンデンサの電圧値は、入
力パルス信号が“H”レベルである時間(パルス幅)に
よって決まる値である。したがって、第2のサンプルホ
ールド手段がサンプルホールドする値は、第1周期の終
了時の上記コンデンサの電圧(VT )と第2周期の
“H”レベル終了時におけるコンデンサの電圧値とに対
して演算手段が所定の演算を行った値であるので、第2
のサンプルホールド手段が出力する電圧値は、入力パル
ス信号の周期と入力パルス信号が“H”レベルである時
間との比率、すなわち入力パルス信号のデューティ比に
よって決まる値となる。
Here, the voltage value of the capacitor at the end of the "H" level in the second cycle of the input pulse signal is a value determined by the time (pulse width) during which the input pulse signal is at the "H" level. Therefore, the value sampled and held by the second sample and hold means is based on the voltage (V T ) of the capacitor at the end of the first cycle and the voltage value of the capacitor at the end of the “H” level in the second cycle. Since the calculation means is a value obtained by performing a predetermined calculation, the second
The voltage value output by the sample hold means is a value determined by the ratio of the period of the input pulse signal and the time when the input pulse signal is at the “H” level, that is, the duty ratio of the input pulse signal.

【0029】請求項3に記載の信号変換回路において
は、アナログ信号生成手段が、第1の制御信号に従っ
て、所定電圧VREF にまで充電されたコンデンサから定
電流放電を行う。そして、第1のサンプルホールド手段
が、第2の制御信号に従って、上記定電流放電を開始し
た時点から入力パルス信号1周期時間経過時のコンデン
サの電圧値をサンプルホールドし、第2のサンプルホー
ルド手段が、第3の制御信号に従って、上記定電流放電
を開始した時点から入力パルス信号の“H”時間経過時
のコンデンサの電圧値をサンプルホールドし、演算手段
が上記2つのサンプルホールド値に対して所定の演算を
行う。このような構成とすることにより、1周期の入力
パルス信号に対してそのデューティ比を求めることが出
来る。
In the signal conversion circuit according to the third aspect, the analog signal generating means discharges the constant current from the capacitor charged to the predetermined voltage V REF according to the first control signal. Then, the first sample and hold means samples and holds the voltage value of the capacitor when one cycle of the input pulse signal has elapsed from the time when the constant current discharge was started, in accordance with the second control signal, and the second sample and hold means. However, according to a third control signal, the voltage value of the capacitor when the “H” time of the input pulse signal has elapsed from the time when the constant current discharge was started is sampled and held, and the arithmetic means performs the above two sample hold values. Perform a predetermined calculation. With such a configuration, the duty ratio of the input pulse signal of one cycle can be obtained.

【0030】[0030]

【実施例】以下、本発明の実施例を図面を参照しながら
説明する。図1は、本発明の信号変換回路の一実施例を
示すブロック図である。同図において、任意のデューテ
ィ比を有する入力パルス信号が、制御ロジック生成部1
1に入力される。制御ロジック生成部11は、入力パル
ス信号に基づいて、第1〜第3の制御信号V1 ,V2
3 を生成する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the signal conversion circuit of the present invention. In the figure, an input pulse signal having an arbitrary duty ratio is the control logic generation unit 1
Input to 1. The control logic generation unit 11 uses the input pulse signal to output the first to third control signals V 1 , V 2 ,
Generate V 3 .

【0031】第1の制御信号V1 は、充放電指令信号と
してアナログ信号生成部12に対して出力される。アナ
ログ信号生成部12では、コンデンサ充放電部121
が、その第1の制御信号V1 に基づいてコンデンサC0
の充放電を制御する。そして、アナログ信号生成部12
は、このコンデンサC0 に蓄えられた電荷量に応じて決
まる電圧値を、コンデンサ電圧V4 として演算部14に
対して出力する。
The first control signal V 1 is output to the analog signal generator 12 as a charge / discharge command signal. In the analog signal generation unit 12, the capacitor charging / discharging unit 121
Of the capacitor C 0 based on the first control signal V 1.
Control the charging and discharging of. Then, the analog signal generator 12
Outputs a voltage value determined according to the amount of electric charge stored in the capacitor C 0 to the arithmetic unit 14 as the capacitor voltage V 4 .

【0032】第2の制御信号V2 は、サンプルホールド
・タイミングパルスとして第1のサンプルホールド部1
3に対して出力される。第1のサンプルホールド部13
は、アナログ信号生成部12のコンデンサ電圧V4 を、
第2の制御信号V2 に従ったタイミング(このタイミン
グでのコンデンサ電圧V4 をVT とする)でサンプルホ
ールドし、そのサンプルホールド電圧値VT を演算部1
4に対して出力する。演算部14は、第1の制御信号V
1 に従って時間とともに変化するコンデンサ電圧V4
上記サンプルホールド電圧VT とに対して演算(後述す
る)を実行し、その演算結果をアナログ電圧VANA とし
て第2のサンプルホールド部15に対して出力する。
The second control signal V 2 is used as a sample hold timing pulse by the first sample hold unit 1.
It is output to 3. First sample and hold unit 13
Is the capacitor voltage V 4 of the analog signal generator 12,
The second control signal V 2 in accordance with the timing (the capacitor voltage V 4 at this timing and V T) by sampling and holding, the sample hold voltage value V T of the calculation unit 1
Output to 4. The calculation unit 14 uses the first control signal V
A calculation (described later) is performed on the capacitor voltage V 4 that changes with time according to 1 and the sample hold voltage V T, and the calculation result is output to the second sample hold unit 15 as an analog voltage V ANA . To do.

【0033】第3の制御信号V3 は、サンプルホールド
・タイミングパルスとして第2のサンプルホールド部1
5に対して出力される。第2のサンプルホールド部15
は、その第3の制御信号V3 に従って、上記アナログ電
圧VANA をサンプルホールドする。そして、このサンプ
ルホールド値が、入力パルス信号をアナログ電圧値に変
換した出力電圧VOUT である。
The third control signal V 3 is used as a sample hold timing pulse by the second sample hold unit 1.
It is output to 5. Second sample hold unit 15
Samples and holds the analog voltage V ANA according to the third control signal V 3 . The sample hold value is the output voltage V OUT obtained by converting the input pulse signal into an analog voltage value.

【0034】次に、上記構成の信号変換回路の動作を、
図2に示すタイムチャートを参照しながら説明する。こ
こで、信号変換回路への入力パルス信号の周期とTと
し、その入力パルス信号が“H”レベルである時間(パ
ルス幅)をtとする。また、この実施例の信号変換回路
は、2周期の入力パルス信号からそのデューティ比を検
出する構成であるので、入力パルス信号を第1および第
2周期のパルス信号の繰返し信号として説明する。
Next, the operation of the signal conversion circuit having the above configuration will be described.
This will be described with reference to the time chart shown in FIG. Here, the period of the input pulse signal to the signal conversion circuit is T and T, and the time (pulse width) when the input pulse signal is at the “H” level is t. Moreover, since the signal conversion circuit of this embodiment is configured to detect the duty ratio of the input pulse signal of two cycles, the input pulse signal will be described as a repetitive signal of the pulse signals of the first and second cycles.

【0035】制御ロジック生成部11は、入力パルス信
号の第1周期の立上がりエッジ(正確には、立上がりエ
ッジからΔT1 後)から第2周期の立上がりエッジ(正
確には、立上がりエッジからΔT1 後)までの期間(時
間T1 )、及び第2周期の立上がりエッジ(正確には、
立上がりエッジからΔT1 +ΔT2 後)から第2周期の
立下がりエッジ(正確には、立下がりエッジからΔT2
後)までの期間(時間t1 )が“H”レベルであり、そ
の他の期間は“L”レベルであるような制御信号V1
生成する。ここで、ΔT1 ,ΔT2 は、時間T1 または
1 に比べて十分に小さく、T1 =T(入力パルス信号
の周期),t1 =t(入力パルス信号のパルス幅)と見
なせる。
The control logic generator 11 starts from the rising edge of the first cycle of the input pulse signal (to be exact, after ΔT 1 from the rising edge) to the rising edge of the second cycle (to be exact, after ΔT 1 from the rising edge). ) time to (time T 1), and the second period of the rising edge (precisely,
From ΔT 1 + ΔT 2 after the rising edge) to the falling edge of the second cycle (more precisely, from the falling edge to ΔT 2
The control signal V 1 is generated such that the period (time t 1 ) up to the latter) is at the “H” level and the other period is at the “L” level. Here, ΔT 1 and ΔT 2 are sufficiently smaller than the time T 1 or t 1 , and can be regarded as T 1 = T (cycle of input pulse signal) and t 1 = t (pulse width of input pulse signal).

【0036】上記制御信号V1 を受信したアナログ信号
生成部12のコンデンサ充放電部121は、制御信号V
1 が“H”レベルのとき、コンデンサC0 に蓄えられた
電荷を定電流Iで放電し、“L”レベルのときはコンデ
ンサC0 の両端の電圧を所定値VREF にまで充電する。
したがって、コンデンサC0 の両端の電圧であるコンデ
ンサ電圧V4 は、入力パルス信号の第1周期の立上がり
エッジから第2周期の立上がりエッジまでの1周期の
間、所定電圧VREF から直線的にVT までに低下し、第
2周期の立上がりエッジで所定電圧VREF に戻る。続い
て、コンデンサ電圧V4 は、第2周期の立上がりエッジ
から第2周期の立下がりエッジまでの1パルス幅の間、
所定電圧VREF から直線的にVH までに低下し、第2周
期の立下がりエッジで再び所定電圧VREF に戻る。
Upon receiving the control signal V 1 , the capacitor charging / discharging unit 121 of the analog signal generating unit 12 controls the control signal V 1.
When 1 is "H" level, the electric charge stored in the capacitor C 0 is discharged by the constant current I, and when it is "L" level, the voltage across the capacitor C 0 is charged to a predetermined value V REF .
Therefore, the capacitor voltage V 4 which is the voltage across the capacitor C 0 is linearly V from the predetermined voltage V REF during one cycle from the rising edge of the first cycle to the rising edge of the second cycle of the input pulse signal. It falls to T and returns to the predetermined voltage V REF at the rising edge of the second cycle. Subsequently, the capacitor voltage V 4 is maintained for one pulse width from the rising edge of the second cycle to the falling edge of the second cycle,
It linearly drops from the predetermined voltage V REF to V H and returns to the predetermined voltage V REF again at the falling edge of the second cycle.

【0037】また、制御ロジック生成部11は、入力パ
ルス信号の第2周期の立上がりエッジ時にパルスを発生
するような制御信号V2 を生成する。この制御信号V2
は、第1のサンプルホールド部13のサンプルホールド
・タイミングパルスであり、第1のサンプルホールド部
13は、第2周期の立上がりエッジ時のコンデンサ電圧
4 の値、すなわち電圧VT をサンプルホールドし、そ
のサンプルホールド電圧VT を演算部14に出力する。
Further, the control logic generator 11 generates the control signal V 2 which generates a pulse at the rising edge of the second period of the input pulse signal. This control signal V 2
Is a sample-hold timing pulse of the first sample-hold section 13, and the first sample-hold section 13 samples and holds the value of the capacitor voltage V 4 at the rising edge of the second cycle, that is, the voltage V T. , And outputs the sample-hold voltage V T to the calculation unit 14.

【0038】演算部14では、コンデンサ電圧V4 およ
びサンプルホールド電圧VT に対して演算を行い、その
演算結果をアナログ電圧VANA として出力する。この演
算は、入力される上記電圧V4 及びVT に対してユニー
クなアナログ電圧VANA が出力されるものであれば特に
限定されるものではない。その演算の一例を示す。
The calculation unit 14 calculates the capacitor voltage V 4 and the sample hold voltage V T , and outputs the calculation result as an analog voltage V ANA . This calculation is not particularly limited as long as a unique analog voltage V ANA is output with respect to the input voltages V 4 and V T. An example of the calculation is shown.

【0039】[0039]

【数6】 [Equation 6]

【0040】ここで、コンデンサ電圧V4 は、図2に示
すように時間とともに変化する値であり、その結果、ア
ナログ電圧VANA も時間とともに変化する。そして、上
記(6)〜(8)式は、たとえば図3,図4に示す回路
で演算できる。
Here, the capacitor voltage V 4 is a value that changes with time as shown in FIG. 2, and as a result, the analog voltage V ANA also changes with time. The equations (6) to (8) can be calculated by the circuits shown in FIGS. 3 and 4, for example.

【0041】図3は、アナログ信号生成部12が出力す
るコンデンサ電圧V4 (またはVT)を電流I
4 (IT )に変換する電圧・電流変換回路の回路図であ
る。また、図4は、その電圧・電流変換回路の出力であ
る電流I4 およびIT から、アナログ電圧VANA を生成
する回路である。図4において、定数α,βは、R4
5 および定電流源が流す電流値によって設定することが
できる。そして、それら定数α,βを変化させて、アナ
ログ電圧VANA の変動範囲を設定する。
In FIG. 3, the capacitor voltage V 4 (or V T ) output from the analog signal generator 12 is converted into the current I.
4 is a circuit diagram of a voltage / current conversion circuit for converting into 4 ( IT ). FIG. Further, FIG. 4 is a circuit for generating an analog voltage V ANA from the currents I 4 and I T which are the outputs of the voltage / current conversion circuit. In FIG. 4, constants α and β are R 4 R
It can be set by 5 and the current value sent by the constant current source. Then, the constants α and β are changed to set the fluctuation range of the analog voltage V ANA .

【0042】図1,図2に戻る。制御ロジック生成部1
1は、さらに入力パルス信号の第2周期の立下がりエッ
ジ時にパルスを発生するような制御信号V3 を生成す
る。この制御信号V3 は、第2のサンプルホールド部1
5のサンプルホールド・タイミングパルスであり、第2
のサンプルホールド部15は、第2周期の立下がりエッ
ジ時に演算部14が出力するアナログ電圧VANA をサン
プルホールドする。ここで、第2周期の立下がりエッジ
時には、コンデンサ電圧V4 =VH であるので、第2の
サンプルホールド部15がサンプルホールドする電圧
値、すなわち第2のサンプルホールド部15が出力する
電圧値は次式で表される。
Returning to FIG. 1 and FIG. Control logic generator 1
1 also produces a control signal V 3 which produces a pulse at the falling edge of the second period of the input pulse signal. This control signal V 3 is applied to the second sample hold unit 1
5 sample and hold timing pulse, second
The sample-and-hold unit 15 of (1) samples and holds the analog voltage V ANA output from the arithmetic unit 14 at the falling edge of the second cycle. Here, since the capacitor voltage V 4 = V H at the falling edge of the second cycle, the voltage value sampled and held by the second sample hold unit 15, that is, the voltage value output by the second sample hold unit 15. Is expressed by the following equation.

【0043】[0043]

【数7】 [Equation 7]

【0044】上記(9)式は、従来の技術として示した
(5)式と同形であるが、(5)式では、充放電を行う
コンデンサが2つ(C1 , 2 )含まれているのに対
し、(9)式では、コンデンサは1つ(C0 )のみであ
る。これは、この実施例の信号変換回路では、入力パル
ス信号の周期測定と、そのパルス幅測定とを共通部分で
行っているためである。したがって、それら2つの測定
を等しい条件で行うことができ、部品ばらつき(コンデ
ンサ容量のばらつき)等による問題が生じることはな
い。
The equation (9) has the same shape as the equation (5) shown as the prior art, but the equation (5) includes two capacitors (C 1, C 2 ) for charging and discharging. On the other hand, in the equation (9), there is only one capacitor (C 0 ). This is because in the signal conversion circuit of this embodiment, the period measurement of the input pulse signal and the pulse width measurement thereof are performed at the common portion. Therefore, these two measurements can be performed under the same conditions, and problems due to component variations (variations in capacitor capacitance) and the like do not occur.

【0045】そして、上記(9)式において、入力パル
ス信号の周期Tに対するパルス幅の値tを変化させれ
ば、すなわち入力パルス信号のデューティ比を変化させ
れば、上記電圧VOUT が変化し、その電圧VOUT で、た
とえば直流モータ等の負荷を制御する。また、上記電圧
OUT を、入力パルス信号生成装置(不図示)にフィー
ドバックして、そのデューティ比を調整することもでき
る。
In the above equation (9), if the pulse width value t with respect to the period T of the input pulse signal is changed, that is, if the duty ratio of the input pulse signal is changed, the voltage V OUT changes. The voltage V OUT controls a load such as a DC motor. Also, the voltage V OUT can be fed back to an input pulse signal generator (not shown) to adjust its duty ratio.

【0046】次に、入力パルス信号から上記制御信号V
1 ,V2 ,V3 を生成する制御ロジック生成部11を構
成する回路の一例を図5に示す。そして、その動作を、
図6のタイムチャートを参照しながら説明する。
Next, from the input pulse signal, the control signal V
FIG. 5 shows an example of a circuit that constitutes the control logic generator 11 that generates 1 , V 2 , and V 3 . And the operation,
This will be described with reference to the time chart of FIG.

【0047】図5において、入力パルス信号は、ディレ
イ値がΔT1 である立上がりディレイ21,ディレイ値
がΔT2 である立下がりディレイ22,およびTフリッ
プフロップ23に入力される。立上がりディレイ21の
出力信号Aは、Tフリップフロップ24,ディレイ値が
ΔT1 である立上がりディレイ25,およびインバータ
26に入力され、インバータ26の出力はANDゲート
29に入力される。また、立下がりディレイ22の出力
信号Bは、ANDゲート29およびインバータ27に入
力され、インバータ27の出力がSRフリップフロップ
28のR端子に入力される。
In FIG. 5, the input pulse signal is input to a rising delay 21 having a delay value ΔT 1 , a falling delay 22 having a delay value ΔT 2 , and a T flip-flop 23. The output signal A of the rising delay 21 is input to the T flip-flop 24, the rising delay 25 having a delay value of ΔT 1 , and the inverter 26, and the output of the inverter 26 is input to the AND gate 29. The output signal B of the fall delay 22 is input to the AND gate 29 and the inverter 27, and the output of the inverter 27 is input to the R terminal of the SR flip-flop 28.

【0048】Tフリップフロップ24は、信号Aの立上
がりエッジ毎に論理反転を行う信号Dを、ORゲート3
2,ANDゲート33,およびインバータ34に対して
出力する。また、立上がりディレイ25は、信号Aの立
上がりエッジをΔT1 だけディレイさせた信号EをSR
フリップフロップ28のS端子に入力させる。さらに、
SRフリップフロップ28は、S,R端子に入力される
信号の論理に従って、信号FをORゲート32に対して
出力する。そして、信号Dと信号Fとの論理和が制御信
号V1 としてORゲート32から出力される。
The T flip-flop 24 outputs the signal D, which is logically inverted at each rising edge of the signal A, to the OR gate 3.
2, AND gate 33, and output to the inverter 34. In addition, the rising delay 25 delays the rising edge of the signal A by ΔT 1
It is input to the S terminal of the flip-flop 28. further,
The SR flip-flop 28 outputs the signal F to the OR gate 32 according to the logic of the signal input to the S and R terminals. Then, the logical sum of the signal D and the signal F is output from the OR gate 32 as the control signal V 1 .

【0049】Tフリップフロップ23は、入力パルス信
号の立上がりエッジ毎に論理反転を行う信号Cをインバ
ータ30に対して出力し、そのインバータ30の出力は
ANDゲート31に入力される。また、ANDゲート2
9の出力信号GがANDゲート31に入力される。さら
に、ANDゲート31出力信号Hが、ANDゲート33
およびANDゲート35に入力される。そして、信号D
と信号Hとの論理積が制御信号V2 としてANDゲート
33から出力される。一方、信号Dがインバータ34に
よって論理反転された信号と信号Hとの論理積が制御信
号V3 としてANDゲート35から出力される。
The T flip-flop 23 outputs a signal C for logically inverting each rising edge of the input pulse signal to the inverter 30, and the output of the inverter 30 is input to the AND gate 31. Also, AND gate 2
The output signal G of 9 is input to the AND gate 31. Further, the output signal H of the AND gate 31 changes to the AND gate 33.
And AND gate 35. And signal D
AND signal H is output from AND gate 33 as control signal V 2 . On the other hand, a logical product of the signal H obtained by logically inverting the signal D by the inverter 34 and the signal H is output from the AND gate 35 as the control signal V 3 .

【0050】以上説明したように、本実施例の信号変換
回路では、入力パルス信号の周期測定とその入力パルス
信号の“H”レベル時間の測定において、部品ばらつき
等の影響を排除するために、それら2つの測定を共通回
路(ともにアナログ信号生成部12を用いている)で行
っている。したがって、入力パルス信号からそのデュー
ティ比を正確に検出できるようになり、そのデューティ
比に応じたアナログ値への変換を精度良く行える。
As described above, in the signal conversion circuit of the present embodiment, in order to eliminate the influence of component variations and the like in the period measurement of the input pulse signal and the "H" level time measurement of the input pulse signal, These two measurements are performed by a common circuit (both using the analog signal generation unit 12). Therefore, the duty ratio can be accurately detected from the input pulse signal, and conversion into an analog value according to the duty ratio can be performed accurately.

【0051】次に、本発明の他の実施例の信号変換回路
を図7を用いて説明する。同図において、制御ロジック
生成部41は、入力パルス信号に基づいて第1,第2,
および第3の制御信号V1 ’,V2 ’,およびV3 ’を
生成し、それぞれアナログ信号生成部42、第1のサン
プルホールド部43、および第2のサンプルホールド部
44に対して出力する。
Next, a signal conversion circuit according to another embodiment of the present invention will be described with reference to FIG. In the figure, the control logic generation unit 41 uses the first, second, and
And third control signals V 1 ′, V 2 ′, and V 3 ′ are generated and output to the analog signal generation unit 42, the first sample hold unit 43, and the second sample hold unit 44, respectively. .

【0052】ここで、入力パルス信号と上記制御信号V
1 ’,V2 ’,V3 ’とのタイミング関係は、図2に示
す入力信号と制御信号V1 ,V2 ,V3 とのタイミング
関係と同様としてもよい。この場合、アナログ信号生成
部42では、制御信号V1 ’に従って、コンデンサ等に
蓄えられている電荷の充放電を行う。そして、第1のサ
ンプルホールド部43が、制御信号V2 ’に従って、入
力パルス信号1周期時間によって決まるアナログ信号生
成部42の電圧値VT をサンプルホールドし、第2のサ
ンプルホールド部44が、制御信号V3 ’に従って、入
力パルス信号の“H”レベル時間によって決まるアナロ
グ信号生成部42の電圧値VH をサンプルホールドす
る。
Here, the input pulse signal and the control signal V
1 timing relationship between ', V 2', V 3 ' may be similar to the timing relationship between the input signal shown in FIG. 2 and the control signals V 1, V 2, V 3. In this case, the analog signal generator 42 charges and discharges the electric charge stored in the capacitor or the like according to the control signal V 1 '. Then, the first sample hold unit 43 samples and holds the voltage value V T of the analog signal generation unit 42 determined by the input pulse signal 1 cycle time according to the control signal V 2 ′, and the second sample hold unit 44 According to the control signal V 3 ′, the voltage value V H of the analog signal generator 42, which is determined by the “H” level time of the input pulse signal, is sampled and held.

【0053】演算部45は、第1のサンプルホールド部
43の出力V4 ’(V4 ’=VT )および第2のサンプ
ルホールド部44の出力V5 (V5 =VH )に対して、
下記(10)式の演算を行い、このときの出力電圧V
OUT から入力信号のデューティ比を求める。
The calculation section 45 responds to the output V 4 '(V 4 ' = V T ) of the first sample hold section 43 and the output V 5 (V 5 = V H ) of the second sample hold section 44. ,
The output voltage V at this time is calculated by the following formula (10).
Obtain the duty ratio of the input signal from OUT .

【0054】[0054]

【数8】 [Equation 8]

【0055】ところで、図7に示す実施例においては、
1周期期間の入力パルス信号で、そのデューティ比を求
めることも可能である。この場合、入力パルス信号に基
づいて制御ロジック生成部41が生成する第1,第2,
第3の制御信号V1 ’,V2’,およびV3 ’は、図2
に示した制御信号V1 ,V2 ,V3 とは異なる。
By the way, in the embodiment shown in FIG.
It is also possible to obtain the duty ratio of the input pulse signal for one cycle period. In this case, the first, the second, and the second generated by the control logic generation unit 41 based on the input pulse signal.
The third control signals V 1 ′, V 2 ′, and V 3 ′ are shown in FIG.
The control signals V 1 , V 2 and V 3 shown in FIG.

【0056】制御信号V1 ’は入力パルス信号の立上が
りエッジ毎に“L”レベルのパルスを出力(正確には、
下記制御信号V2 ’によるパルスの直後)し、制御信号
2’は入力パルス信号の立上がりエッジ毎に“H”レ
ベルのパルスを出力し、制御信号V3 ’は入力パルス信
号の立下がりエッジ毎に“H”レベルのパルスを出力す
る。
The control signal V 1 'outputs an "L" level pulse at each rising edge of the input pulse signal (to be exact,
The following control signal V 2 'after the pulse by), and the control signal V 2' outputs a "H" level at every rising edge of the input pulse signal pulse, the control signal V 3 'is the falling edge of the input pulse signal An "H" level pulse is output every time.

【0057】このときの動作は、入力パルス信号の立上
がりエッジをトリガとして、アナログ信号生成部42の
電圧値がリニアに減少していく(図2の第1周期と同
様)。そして、第2のサンプルホールド部44が、制御
信号V3 ’に従って、入力パルス信号の立下がりエッジ
時のアナログ信号生成部42の電圧値(VH )をサンプ
ルホールドする。このサンプルホールド値VH は、入力
パルス信号の“H”時間に対応する値である。また、第
1のサンプルホールド部43が、制御信号V2 ’に従っ
て、入力パルス信号の立上がりエッジ時のアナログ信号
生成部42の電圧値(VT )をサンプルホールドする。
このサンプルホールド値VT は、入力パルス信号の1周
期に対応する値である。そして、演算部45が、上記電
圧値VH ,VT に対して、たとえば上記(10)式の演
算を行い、出力電圧VOUT を出力する。
In the operation at this time, the rising edge of the input pulse signal is used as a trigger to linearly decrease the voltage value of the analog signal generator 42 (similar to the first cycle of FIG. 2). Then, the second sample hold unit 44 samples and holds the voltage value (V H ) of the analog signal generation unit 42 at the falling edge of the input pulse signal according to the control signal V 3 ′. The sample hold value V H is a value corresponding to the “H” time of the input pulse signal. The first sample-and-hold unit 43 according to the control signal V 2 ', samples and holds the voltage value of the analog signal generator 42 (V T) at the time of the rising edge of the input pulse signal.
The sample hold value V T is a value corresponding to one cycle of the input pulse signal. Then, the calculation unit 45 performs, for example, the calculation of the above formula (10) on the voltage values V H and V T , and outputs the output voltage V OUT .

【0058】なお、上記に説明した2つの実施例におい
ては、入力パルス信号のパルス幅として、“H”レベル
時間を測定しているが、“L”レベル時間を測定する構
成としてもよい。
Although the "H" level time is measured as the pulse width of the input pulse signal in the two embodiments described above, the "L" level time may be measured.

【0059】また、実施例においては、制御信号V1 ,
2 , 3 (または、制御信号V1’,V2 ’,
3 ’)のパターンを示したが、本発明はこれに限定さ
れることはなく、1つのアナログ信号生成回路を用いて
入力パルス信号の周期およびパルス幅を測定し、それら
周期およびパルス幅に基づくアナログ値に対して所定の
演算を行い、その演算結果を変換信号として出力するよ
うな構成であればよい。
Further, in the embodiment, the control signals V 1,
V 2, V 3 (or the control signal V 1 ', V 2',
V 3 ') pattern is shown, but the present invention is not limited to this, and the period and the pulse width of the input pulse signal are measured using one analog signal generation circuit, and the period and the pulse width are measured. It suffices that the predetermined arithmetic operation is performed on the analog value based on the analog value and the arithmetic operation result is output as a conversion signal.

【0060】さらに、実施例で示したアナログ信号生成
部は、コンデンサへの充放電を制御してその電圧値をア
ナログ出力しているが、本発明はこれに限定されること
はなく、入力パルス信号に応じてアナログ信号を生成す
るようなすべての手段を含む。
Further, although the analog signal generator shown in the embodiment controls charging / discharging of the capacitor and outputs the voltage value as an analog signal, the present invention is not limited to this, and the input pulse is not limited thereto. It includes all means for producing an analog signal in response to a signal.

【0061】[0061]

【発明の効果】本発明の信号変換回路は、入力パルス信
号の周期測定と、そのパルス信号のパルス幅(“H”レ
ベル時間、または“L”レベル時間)測定とを同一回路
部分で行うので、それぞれの測定を、部品ばらつきの影
響を受けずに等しい条件の下で行える。したがって、入
力パルス信号のデューティ比を正確に測定でき、そのデ
ューティ比に応じたアナログ信号への変換の精度が向上
する。
Since the signal conversion circuit of the present invention measures the period of the input pulse signal and the pulse width ("H" level time or "L" level time) of the pulse signal in the same circuit portion. , Each measurement can be performed under the same condition without being affected by the component variation. Therefore, the duty ratio of the input pulse signal can be accurately measured, and the accuracy of conversion into an analog signal according to the duty ratio is improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の信号変換回路の1例を示すブロック図
である。
FIG. 1 is a block diagram showing an example of a signal conversion circuit of the present invention.

【図2】図1に示す信号変換回路における、入力パルス
信号、制御信号、およびアナログ信号生成部が生成する
電圧値の関係を説明するタイムチャートである。
FIG. 2 is a time chart for explaining a relationship between an input pulse signal, a control signal, and a voltage value generated by an analog signal generation unit in the signal conversion circuit shown in FIG.

【図3】図1に示す演算部内に設けられた電圧・電流変
換回路の1例を示す回路図である。
3 is a circuit diagram showing an example of a voltage / current conversion circuit provided in the arithmetic unit shown in FIG.

【図4】図1に示す演算部内の設けられた演算回路の1
例を示す回路図である。
FIG. 4 is a view showing one of arithmetic circuits provided in the arithmetic unit shown in FIG.
It is a circuit diagram which shows an example.

【図5】図1に示す制御ロジック生成部の1例を示す回
路図である。
5 is a circuit diagram showing an example of a control logic generation unit shown in FIG.

【図6】図5に示す制御ロジック生成回路の動作を説明
するタイムチャートである。
FIG. 6 is a time chart explaining the operation of the control logic generation circuit shown in FIG.

【図7】本発明の信号変換回路の他の実施例を示すブロ
ック図である。
FIG. 7 is a block diagram showing another embodiment of the signal conversion circuit of the present invention.

【図8】従来の信号変換回路の構成を示すブロック図で
ある。
FIG. 8 is a block diagram showing a configuration of a conventional signal conversion circuit.

【図9】図8に示す従来の信号変換回路における、入力
パルス信号とその入力パルス信号によって生成される電
圧値との関係を説明するタイムチャートである。
9 is a time chart explaining the relationship between an input pulse signal and a voltage value generated by the input pulse signal in the conventional signal conversion circuit shown in FIG.

【符号の説明】[Explanation of symbols]

11 制御ロジック生成部 12 アナログ信号生成部 121 コンデンサ充放電部 C0 コンデンサ 13 第1のサンプルホールド部 14 演算部 15 第2のサンプルホールド部 41 制御ロジック生成部 42 アナログ信号生成部 43 第1のサンプルホールド部 44 第2のサンプルホールド部 45 演算部11 Control Logic Generation Section 12 Analog Signal Generation Section 121 Capacitor Charging / Discharging Section C 0 Capacitor 13 First Sample Hold Section 14 Calculation Section 15 Second Sample Hold Section 41 Control Logic Generation Section 42 Analog Signal Generation Section 43 First Sample Hold unit 44 Second sample hold unit 45 Calculation unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力パルス信号に基づいて、第1,第
2,および第3の制御信号を生成する制御ロジック生成
手段と、 前記第1の制御信号に従ってアナログ信号を生成するア
ナログ信号生成手段と、 前記第2の制御信号に従って前記アナログ信号生成手段
が出力するアナログ値をサンプルホールドする第1のサ
ンプルホールド手段と、 前記アナログ信号生成手段が出力するアナログ値と前記
第1のサンプルホールド手段によってサンプルホールド
された値に対して所定の演算を行う演算手段と、 前記第3の制御信号に従って前記演算手段の出力をサン
プルホールドし、そのサンプルホールド値を出力する第
2のサンプルホールド手段とを有することを特徴とする
信号変換回路。
1. A control logic generation means for generating first, second, and third control signals based on an input pulse signal, and an analog signal generation means for generating an analog signal according to the first control signal. A first sample and hold means for sampling and holding an analog value output by the analog signal generating means in accordance with the second control signal; an analog value output by the analog signal generating means; and a sample by the first sample and hold means And a second sample-hold means for sample-holding the output of the arithmetic means according to the third control signal and outputting the sample-hold value. A signal conversion circuit characterized by.
【請求項2】 前記アナログ信号生成手段がコンデンサ
とコンデンサ充放電手段とを有し、該コンデンサ充放電
手段が前記第1の制御信号に従って前記コンデンサの充
放電を制御することを特徴とする請求項1記載の信号変
換回路。
2. The analog signal generating means includes a capacitor and a capacitor charging / discharging means, and the capacitor charging / discharging means controls charging / discharging of the capacitor according to the first control signal. 1. The signal conversion circuit according to 1.
【請求項3】 入力パルス信号に基づいて、第1,第
2,および第3の制御信号を生成する制御ロジック生成
手段と、 前記第1の制御信号に従ってアナログ信号を生成するア
ナログ信号生成手段と、 前記第2の制御信号に従って前記アナログ信号生成手段
が出力するアナログ値をサンプルホールドする第1のサ
ンプルホールド手段と、 前記第3の制御信号に従って前記アナログ信号生成手段
が出力するアナログ値をサンプルホールドする第2のサ
ンプルホールド手段と、 前記第1のサンプルホールド手段および前記第2のサン
プルホールド手段によってサンプルホールドされた値に
対して所定の演算を行う演算手段とを有することを特徴
とする信号変換回路。
3. A control logic generating means for generating first, second, and third control signals based on an input pulse signal, and an analog signal generating means for generating an analog signal according to the first control signal. First sample-hold means for sampling and holding the analog value output by the analog signal generating means in accordance with the second control signal, and sample-holding analog value output by the analog signal generating means in accordance with the third control signal Signal conversion, comprising: a second sample-hold means for performing a predetermined operation on the values sampled and held by the first sample-hold means and the second sample-hold means. circuit.
JP22261393A 1993-09-07 1993-09-07 Signal conversion circuit Withdrawn JPH0779162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22261393A JPH0779162A (en) 1993-09-07 1993-09-07 Signal conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22261393A JPH0779162A (en) 1993-09-07 1993-09-07 Signal conversion circuit

Publications (1)

Publication Number Publication Date
JPH0779162A true JPH0779162A (en) 1995-03-20

Family

ID=16785204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22261393A Withdrawn JPH0779162A (en) 1993-09-07 1993-09-07 Signal conversion circuit

Country Status (1)

Country Link
JP (1) JPH0779162A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160367A (en) * 2006-12-22 2008-07-10 Toko Inc Signal conversion circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160367A (en) * 2006-12-22 2008-07-10 Toko Inc Signal conversion circuit

Similar Documents

Publication Publication Date Title
KR101390274B1 (en) Integrated time and/or capacitance measurement system, method and apparatus
US6191723B1 (en) Fast capacitance measurement
US4243975A (en) Analog-to-digital converter
GB2195457A (en) Measuring the ratio r/r of a resistance half-bridge
JPH10163874A (en) Switched capacitor
JPH01220918A (en) Analog-digital converter
JPS5821921A (en) Analog-to-digital converter
JPH095366A (en) Method and equipment for highly accurate relative digital-voltage measurement
JPH06242159A (en) Electrostatic capacity measuring device
US5790480A (en) Delta-T measurement circuit
JPH05111241A (en) Dc/dc converter
JPH0779162A (en) Signal conversion circuit
CN113228516A (en) Sensor device and method for dark count elimination
JP2011040985A (en) A-d converter
JPS5829891B2 (en) A/D conversion circuit
JP3271323B2 (en) Time measurement circuit
JPS62185174A (en) Electronic type watthour meter
JPH06101948B2 (en) Time information detector
JPH03283912A (en) Variable delay circuit
JP3802431B2 (en) Capacitive sensor
JPH06201768A (en) Switching characteristic measuring device
SU1128271A1 (en) Analog integrator
SU947777A1 (en) Ds measuring ratio of two alternating time intervals
JPH09275343A (en) A/d converter for weight inspection device
JP2513285B2 (en) Sampling pulse generation circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001107