Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5940327B2 - Offset compensation method - Google Patents
[go: Go Back, main page]

JPS5940327B2 - Offset compensation method - Google Patents

Offset compensation method

Info

Publication number
JPS5940327B2
JPS5940327B2 JP14060877A JP14060877A JPS5940327B2 JP S5940327 B2 JPS5940327 B2 JP S5940327B2 JP 14060877 A JP14060877 A JP 14060877A JP 14060877 A JP14060877 A JP 14060877A JP S5940327 B2 JPS5940327 B2 JP S5940327B2
Authority
JP
Japan
Prior art keywords
offset
circuit
comparator
encoder
decoder
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
Application number
JP14060877A
Other languages
Japanese (ja)
Other versions
JPS5473546A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP14060877A priority Critical patent/JPS5940327B2/en
Publication of JPS5473546A publication Critical patent/JPS5473546A/en
Publication of JPS5940327B2 publication Critical patent/JPS5940327B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 本発明は単一のディジタル−アナログ変換器(以下D/
A変換器という)を復号器及び符号器の局部復号器とし
て時分割利用するようにした符号器兼復号器のオフセッ
ト補償方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a single digital-to-analog converter (hereinafter referred to as D/analog converter).
This invention relates to an offset compensation system for an encoder/decoder in which an encoder/decoder (referred to as A converter) is used as a local decoder of a decoder and an encoder in a time-division manner.

単一のD/A変換器を時分割利用するようにした符号器
兼復号器が符号器として動作する場合には、標本保持回
路及び比較器が必要となるが、これらの標本保持回路及
び比較器はアナログ回路であり、温度変化、その他の種
々の要因によって生ずるオフセットの変化が問題となる
ため、適宜オフセットの調整を行う必要が生ずる。
When an encoder/decoder that uses a single D/A converter in time division operates as an encoder, a sample holding circuit and a comparator are required; The device is an analog circuit, and changes in offset caused by temperature changes and other various factors pose a problem, so it is necessary to adjust the offset as appropriate.

この種のオフセットの補償方法として、従来では、例え
ば音声信号を扱う符号器では、比較器の出力部に大きな
時定数を有するオフセット検出回路を設け、この検出回
路の出力の零レベルよりの変動状態からオフセット量を
検出し、この検出結果を符号器のアナログ回路部分に帰
還をかけてオフセット量の補償を行なっている。
Conventionally, as a method for compensating for this type of offset, for example, in an encoder that handles audio signals, an offset detection circuit with a large time constant is provided at the output section of the comparator, and the fluctuation status of the output of this detection circuit from the zero level is detected. The offset amount is detected from the encoder, and this detection result is fed back to the analog circuit section of the encoder to compensate for the offset amount.

併し乍ら、このような検出による補償方法では回路規模
が大きくなるので好ましくないという欠点を有している
However, such a detection-based compensation method has the disadvantage that it is undesirable because it increases the circuit scale.

本発明の目的は、単一のD/A変換器を時分割利用する
符号器兼復号器のオフセット補償を小規模の回路構成で
任意時定数でオフセット補償動作させることによって符
号及び復号動作を妨げることがないオフセット補償方式
を提供することにある。
An object of the present invention is to perform offset compensation for an encoder/decoder that uses a single D/A converter in a time-division manner using a small-scale circuit configuration with an arbitrary time constant, thereby preventing encoding and decoding operations. The object of the present invention is to provide an offset compensation method that does not cause problems.

上記目的を達成するための本発明の特徴は、標本保持回
路と、比較器と、復号器兼符号器の局部復号器として時
分割利用される単一ディジタル−アナログ変換器とを備
えた符号器兼復号器のオフセット補償方式において、前
記標本保持回路及び前記比較器の動作が休止状態の期間
中に前記標本保持回路及び前記比較器のオフセット量を
検出し、前記休止状態の任意の期間中に前記オフセット
量に従たオフセット調整をするオフセット補償方式以下
図示の実施例により本発明の方式を詳細に説明する。
To achieve the above objects, the present invention features an encoder comprising a sample holding circuit, a comparator, and a single digital-to-analog converter used as a local decoder in a decoder-encoder in a time-sharing manner. In the offset compensation method for a dual-decoder, the offset amount of the sample holding circuit and the comparator is detected during a period in which the operations of the sample holding circuit and the comparator are in a dormant state, and Offset Compensation Method for Adjusting Offset According to the Offset Amount The method of the present invention will be explained in detail below with reference to the illustrated embodiments.

第1図には本発明の方式によりオフセット補償動作が行
なわれるように構成した符号器兼復号器の一実施例が示
されている。
FIG. 1 shows an embodiment of an encoder/decoder configured to perform an offset compensation operation according to the method of the present invention.

符号器兼復号器1において、2は符号化すべきアナログ
信号S1が入力される入力端子、3は標本保持回路、4
は比較器、6はロジック・アンド・メモリ回路、7はロ
ジック・アンド・メモリ回路からの符号化出力S2を出
力端子81〜83に取出すためのバッファ回路、9は入
力端子10□〜103から入力されバッファ回路11を
介して取出される復号化すべきディジタル入力信号S3
及び符号化出力S2のいずれか一方を選択的に出力する
セレクタ、12はセレクタ9からの出力をD/A変換す
るD/A変換器、13は増幅器、14はリサンプリング
回路、15〜18は端子19に入力されるモード切換信
号S4によって作動するスイッチ、20はオフセット補
償回路である。
In the encoder/decoder 1, 2 is an input terminal into which the analog signal S1 to be encoded is input, 3 is a sample holding circuit, and 4
is a comparator, 6 is a logic and memory circuit, 7 is a buffer circuit for taking out the encoded output S2 from the logic and memory circuit to output terminals 81 to 83, and 9 is an input from input terminals 10□ to 103. The digital input signal S3 to be decoded and taken out via the buffer circuit 11
and a selector that selectively outputs either one of the encoded outputs S2, 12 a D/A converter that D/A converts the output from the selector 9, 13 an amplifier, 14 a resampling circuit, and 15 to 18 a A switch 20 is an offset compensation circuit operated by a mode switching signal S4 inputted to a terminal 19.

モード切換信号S4のレベルが符号器兼復号器1を符号
器として動作させるための予め定められた状態となると
、スイッチ15が閉成され、スイッチ16が開放され、
スイッチ17.18は図示の如く夫々B、 D側に切換
えられると共に、セレクタ9は符号化出力S2を選択し
て出力するように切換えられ、且つオフセット補償回路
20は非動作状態とされる。
When the level of the mode switching signal S4 reaches a predetermined state for operating the encoder/decoder 1 as an encoder, the switch 15 is closed and the switch 16 is opened.
The switches 17 and 18 are respectively switched to the B and D sides as shown, the selector 9 is switched to select and output the encoded output S2, and the offset compensation circuit 20 is made inactive.

従って、アナログ信号S1は抵抗器21を介して、増幅
器22,23、抵抗器24、コンデンサ25及びスイッ
チ26から成る標本保持回路3に入力され、コンデンサ
25によってホールドされる。
Therefore, the analog signal S1 is inputted via the resistor 21 to the sample holding circuit 3 consisting of amplifiers 22, 23, a resistor 24, a capacitor 25, and a switch 26, and is held by the capacitor 25.

標本保持回路3からの出力は、スイッチ27が開いてい
るため、抵抗器28を介して比較器4に入力され、この
場合局部復号器として働<D/A変換器12からの出力
と比較される。
Since the switch 27 is open, the output from the sample holding circuit 3 is input through the resistor 28 to the comparator 4, which in this case acts as a local decoder and is compared with the output from the D/A converter 12. Ru.

この比較結果はロジック・アンド・メモリ回路6に入力
され、ロジック・アンド・メモリ回路6と、D/A変換
器12と比較器4とによる逐次帰還動作により所定ビッ
ト数(図面では3ビツトの場合が示されている)の符号
化が行なわれる。
This comparison result is input to the logic and memory circuit 6, and is converted into a predetermined number of bits (in the case of 3 bits in the drawing) by the logic and memory circuit 6, the D/A converter 12, and the comparator 4, through successive feedback operations. is shown) is encoded.

即ち、モード切換信号S4によって符号器として働いて
いる場合には所謂帰還形符号器として動作する。
That is, when working as an encoder using the mode switching signal S4, it operates as a so-called feedback encoder.

次に所定時間経過後にモード切換信号S4のレベルが符
号器兼復号器を復号器として動作させるための所定のレ
ベルに変化すると、スイッチ15が開き、スイッチ16
が閉成されてスイッチ17,18は夫々A、 C側に切
換えられる。
Next, when the level of the mode switching signal S4 changes to a predetermined level for operating the encoder/decoder as a decoder after a predetermined period of time has elapsed, the switch 15 opens and the switch 16
is closed and switches 17 and 18 are switched to the A and C sides, respectively.

これと同時にセレクタ9はディジタル入力信号、S3を
出力するように切換えられる。
At the same time, the selector 9 is switched to output the digital input signal S3.

この状態においては信号S3がD/A変換器12に入力
されてアブログ信号に変換され増幅器13とリサンプリ
ング14を介して波形修正されて出力端子28から出力
される。
In this state, the signal S3 is input to the D/A converter 12, converted into an ablog signal, subjected to waveform modification via the amplifier 13 and resampling 14, and outputted from the output terminal 28.

この復号化期間中に、符号器の一部を構成するアナログ
系の標本保持回路3と比較器4とが不動作状態にあるこ
とを利用して、標本保持回路3及び比較器4のオフセッ
ト量の補正を行なうため、モード切換信号S4によって
D/A変換器がアナログ系の回路から切り離された時に
オフセット補償回路20も該信号S4によって作動し、
比較器4の出力のオフセット量を検知処理するように作
動する。
During this decoding period, the offset amount of the sample holding circuit 3 and the comparator 4 is calculated by utilizing the fact that the analog sample holding circuit 3 and the comparator 4, which form part of the encoder, are in an inactive state. In order to perform the correction, when the D/A converter is disconnected from the analog circuit by the mode switching signal S4, the offset compensation circuit 20 is also activated by the signal S4,
It operates to detect and process the offset amount of the output of the comparator 4.

この復号化期間中は、スイッチ16が閉じることにより
、標本保持回路3への入力信号のレベルは零レベルとな
るため、比較器4からの出力は、標本保持回路3と比較
器4との各オフセット量に相応した電圧が出力され、オ
フセット補償回路20に入力される。
During this decoding period, the switch 16 is closed and the level of the input signal to the sample holding circuit 3 becomes zero level, so the output from the comparator 4 is A voltage corresponding to the offset amount is output and input to the offset compensation circuit 20.

オフセット補償回路20では、この入力電圧値を基に比
較器4の出力電圧が零となるように比較器4のオフセッ
ト量を修正するための修正信号を作り、タイミングパル
スS、が入力された時にこの修正信号S6を出力し、比
較器4のオフセット量をアナログ的又はディジタル的に
修正する。
The offset compensation circuit 20 generates a correction signal for correcting the offset amount of the comparator 4 so that the output voltage of the comparator 4 becomes zero based on this input voltage value, and when the timing pulse S is input. This correction signal S6 is output, and the offset amount of the comparator 4 is corrected analogously or digitally.

図示の実施例ではオフセットの修正を比較器4において
行なっている場合が示されているが、標本保持回路3に
おいてもしくはその両者において修正するように構成し
てもよいことは勿論である。
Although the illustrated embodiment shows a case where the offset is corrected in the comparator 4, it goes without saying that the offset may be corrected in the sample holding circuit 3 or both.

タイミングパルスS、の入力タイミングは、歪を生じな
いために標本保持回路3及び比較器4が非動作状態の場
合である必要がある。
The input timing of the timing pulse S must be such that the sample holding circuit 3 and the comparator 4 are in an inactive state so as not to cause distortion.

従って、同期型送受共用符号器・復号器の場合の如く、
1復号動作期間と、■符号動作期間とが交互に規則的に
与えられるように信号S4が供給されるような場合には
、任意の復号動作期間中にタイミングパルスS5を入力
するようにすればよい。
Therefore, as in the case of a synchronous transmitting/receiving encoder/decoder,
When the signal S4 is supplied so that the 1 decoding operation period and the code operation period are given regularly and alternately, it is possible to input the timing pulse S5 during any decoding operation period. good.

また、非同期型送受共用符号器・復号器の如く、A/D
変換用クロックとD/A変換用クロックが同期しておら
1”、タイムチャート上でのA/D変換動作とD/A変
換動作との位置関係が定まっていないような場合でも上
述の同期型送受共用符号器・復号器の場合と同様である
In addition, like an asynchronous transmitting/receiving encoder/decoder,
Even if the conversion clock and the D/A conversion clock are not synchronized and the positional relationship between the A/D conversion operation and the D/A conversion operation on the time chart is not determined, the above-mentioned synchronous type can be used. This is the same as in the case of a transmitting/receiving encoder/decoder.

但し、符号動作の期間中に割り込みによって復号動作を
行なっている場合には、上述のオフセット調整動作が行
なわれると、オフセット量検出のための零レベル信号の
入力によって標本保持回路3に保持されている電圧値が
消去されてしまい、符号化信号が歪むことになるので、
例えば第2図に示すように、割込時に行なわれるオフセ
ット調整動作の場合にはスイッチ30によってコンデン
サ25を回路3から切離すようにすればよい。
However, if the decoding operation is performed by an interrupt during the encoding operation, when the above-mentioned offset adjustment operation is performed, the signal is held in the sample holding circuit 3 by inputting a zero level signal for detecting the offset amount. Since the voltage value that is present will be erased and the encoded signal will be distorted,
For example, as shown in FIG. 2, in the case of an offset adjustment operation performed at the time of an interrupt, the capacitor 25 may be disconnected from the circuit 3 by a switch 30.

また、上記の割込動作時に、比較器4がオフセット修正
されることによっても、符号化信号が歪む慮れがあるが
、この場合には零レベル信号入力時の比較器4の情報を
一時保持しておき、割込動作完了後、標本保持回路に次
の標本化命令が入力されている時補償回路20を介して
オフセット調整するようにタイミングパルスS5の入力
を制御してもよい。
Additionally, there is a possibility that the encoded signal may be distorted due to offset correction of the comparator 4 during the above interrupt operation, but in this case, the information of the comparator 4 when the zero level signal is input is temporarily held. Then, after the interrupt operation is completed, the input of the timing pulse S5 may be controlled so that the offset is adjusted via the compensation circuit 20 when the next sampling command is input to the sample holding circuit.

しかし乍ら、この種の歪が間粗とならない場合において
はこのようなタイミング動作を考慮することなくオフセ
ット補償動作を行なうことができる。
However, if this type of distortion does not become coarse, the offset compensation operation can be performed without considering such timing operation.

尚、上記実施例で、比較器4のみのオフセット調整を行
ないたい場合には、オフセット調整時にスイッチ27を
閉じておけばよいことは容易に理解されるところである
In the above embodiment, it is easily understood that if it is desired to perform offset adjustment of only the comparator 4, it is sufficient to close the switch 27 at the time of offset adjustment.

本発明によれば、アナログ系回路のオフセット調整操作
を復号動作期間中を利用して自動的に行なえるので調整
のための特別な時間帯を設定する必要がなく、またオフ
セット補償をディジタル的に行なうこともでき、さらに
は小時定数の回路にて行うこともでき、回路が小型とな
る等の効果を有する。
According to the present invention, the offset adjustment operation of analog circuits can be automatically performed during the decoding operation period, so there is no need to set a special time period for adjustment, and offset compensation can be performed digitally. Furthermore, it can be carried out using a circuit with a small time constant, which has the effect of reducing the size of the circuit.

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

第1図は本発明の実施例の回路図、第2図は第1図の実
施例の変形例の要部を示す回路図である。 1・・・・・・符号器兼復号器、3・・・・・・標本保
持回路、4・・・・・・比較器、6・・・・・・ロジッ
ク・アンド・メモリ回路、9・・・・・・セレクタ、1
2・・・・・・ディジタル−アナログ変換器、15,1
6,17,18・・・・・・スイッチ、20・・・・・
・オフセット補償回路。
FIG. 1 is a circuit diagram of an embodiment of the present invention, and FIG. 2 is a circuit diagram showing a main part of a modification of the embodiment of FIG. 1... Encoder and decoder, 3... Sample holding circuit, 4... Comparator, 6... Logic and memory circuit, 9... ...Selector, 1
2...Digital-to-analog converter, 15,1
6, 17, 18... switch, 20...
・Offset compensation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 標本保持回路と、比較器と、復号器兼符号器の局部
復号器として時分割利用される単一ディジタル−アナロ
グ変換器とを備えた符号器兼復号器のオフセット補償方
式において、前記標本保持回路及び前記比較器の動作が
休止状態の期間中に前記標本保持回路及び前記比較器の
オフセット量を検出し、前記休止状態の任意の期間中に
前記オフセット量に従たオフセット調整をすることを特
徴とするオフセット補償方式。
1. In an encoder-decoder offset compensation system comprising a sample-holding circuit, a comparator, and a single digital-to-analog converter used as a local decoder of the decoder-cum-encoder in a time-sharing manner, the sample-holding The offset amount of the sample holding circuit and the comparator is detected while the operation of the circuit and the comparator is in a rest state, and the offset is adjusted according to the offset amount during any period of the rest state. Features an offset compensation method.
JP14060877A 1977-11-25 1977-11-25 Offset compensation method Expired JPS5940327B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14060877A JPS5940327B2 (en) 1977-11-25 1977-11-25 Offset compensation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14060877A JPS5940327B2 (en) 1977-11-25 1977-11-25 Offset compensation method

Publications (2)

Publication Number Publication Date
JPS5473546A JPS5473546A (en) 1979-06-12
JPS5940327B2 true JPS5940327B2 (en) 1984-09-29

Family

ID=15272654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14060877A Expired JPS5940327B2 (en) 1977-11-25 1977-11-25 Offset compensation method

Country Status (1)

Country Link
JP (1) JPS5940327B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS574868A (en) * 1980-06-11 1982-01-11 Hitachi Ltd Compensator for load of elevator
JPS57199772A (en) * 1981-06-01 1982-12-07 Mitsubishi Electric Corp Controller for speed of elevator

Also Published As

Publication number Publication date
JPS5473546A (en) 1979-06-12

Similar Documents

Publication Publication Date Title
US20190296759A1 (en) Analog-to-digital conversion apparatus
US5982312A (en) A/D converter circuit capable of compensating A/D-converted digital signals
US5105194A (en) Time shift two-step analog to digital converter
JPS5940327B2 (en) Offset compensation method
JPH0526372B2 (en)
JPH0690169A (en) D/a converter
JPS62204617A (en) High resolution analog-digital converter
JPS5912719Y2 (en) Input switching circuit
JPH06204870A (en) Digital/analog converter with automatic correcting function
JPS59191931A (en) Analog/digital converter
JPH04916A (en) Offset drift correcting device for a/d converter
JP2725424B2 (en) Analog-to-digital converter
JP2757360B2 (en) 1-7 code conversion circuit
JPS605396Y2 (en) analog output circuit
JP2902520B2 (en) Video signal processing device
SU1248029A1 (en) Programmed pulser
JPS61242420A (en) A/d converting circuit
KR870000672B1 (en) Multiplication Circuit for Muting Digital-Audio Tape Recorders
JP2002368614A (en) A / D converter and method for correcting conversion error of D / A converter
SU1578703A1 (en) Device for regulation and stabilization of power
JP3100457B2 (en) Analog / digital conversion circuit for multiple inputs
JPH0936741A (en) Analog/digital converting circuit
JP2775813B2 (en) Video analog / digital converter
JP2832078B2 (en) How to adjust black level of image signal
SU1107293A1 (en) Composite function former