JPH01101779A - Digital data replacement method - Google Patents

Digital data replacement method

Info

Publication number
JPH01101779A
JPH01101779A JP62258923A JP25892387A JPH01101779A JP H01101779 A JPH01101779 A JP H01101779A JP 62258923 A JP62258923 A JP 62258923A JP 25892387 A JP25892387 A JP 25892387A JP H01101779 A JPH01101779 A JP H01101779A
Authority
JP
Japan
Prior art keywords
data
bit
period
digital data
replaced
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62258923A
Other languages
Japanese (ja)
Inventor
Yoshihito Nakatsu
悦人 中津
Yukio Nakagawa
幸夫 中川
Kazuma Morishige
和磨 森重
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62258923A priority Critical patent/JPH01101779A/en
Publication of JPH01101779A publication Critical patent/JPH01101779A/en
Pending legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、アナログ信号をクランプ・A/D変換する系
に通した後に、クランプレベル期間内のデータを置き換
える方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method of replacing data within a clamp level period after passing an analog signal through a clamp/A/D conversion system.

従来の技術 近年、アナログ信号をクランプしA/D変換する系にお
いては、クランプ装置が簡単に構成できクランプレベル
変動が小さいという理由により連続する2つのデジタル
データAとA+1の中間にクランプする方式が用いられ
る場合も多い。この場合、信号処理を行った後クランプ
のための平坦な期間(以下クランプレベル期間と呼ぶ)
をデジタルデータで置き換える時、近似的にAまたはA
+1で置き換える場合が多い。
BACKGROUND OF THE INVENTION In recent years, in systems that clamp analog signals and convert them into A/D, a method has been developed in which clamping is performed between two consecutive digital data A and A+1 because the clamping device is easy to configure and the clamp level fluctuations are small. Often used. In this case, a flat period for clamping after signal processing (hereinafter referred to as clamp level period)
When replacing with digital data, approximately A or A
It is often replaced with +1.

発明が解決しようとする問題点 しかしながら上記の方法でクランプレベル期間中のデー
タの置き換えを行った場合、クランプレベル期間外の信
号レベルがクランプレベルと比べて相対的に最下位ビッ
トの表すアナログ量の2だけずれてしまうという問題点
を有している。例えば第3図に示すようなりランプ・A
/D変換した後でクランプレベル期間内のデータを置き
換える系において第4図(alに示すようなテレビ信号
を入力した場合について以下に説明する。ただしA/D
変換器は7ビット出力とし、クランプはテレビ信号内の
水平同期パルスのバンクポーチ期間で行われ、0111
111と1000000の中間にクランプされていると
する。
Problem to be Solved by the Invention However, when data is replaced during the clamp level period using the above method, the signal level outside the clamp level period is relatively smaller than the analog quantity represented by the least significant bit compared to the clamp level. This has the problem that it deviates by 2. For example, as shown in Figure 3, lamp A
The following describes the case where a television signal as shown in FIG.
The converter has a 7-bit output, and the clamping is done during the bank porch period of the horizontal sync pulse in the television signal, 0111
Suppose that it is clamped between 111 and 1,000,000.

第4図(a)に示すようなテレビ信号を入力端子1より
入力し、クランプ回路を通すと第4図(b)に示すよう
にバックポーチレベルがA/D変換後のデジタルデータ
で0111111と1000000の中間にクランプさ
れ、A/D変換器を通るとバンクポーチ期間内のデータ
は0111111と1000000との2つのデータを
同程度の割合でとる。このバンクポーチ期間内のデータ
を01.11111又は1000000で置き換えると
、どちらのデータで置き換えても置き換えた部分のレベ
ルは第4図(C)に゛示すようにアナログ量に換算して
最下位ビットの〃だけずれてしまう。
When a TV signal as shown in Figure 4(a) is input from input terminal 1 and passed through the clamp circuit, the back porch level becomes 0111111 as digital data after A/D conversion as shown in Figure 4(b). When the data is clamped to the middle of 1,000,000 and passed through an A/D converter, the data within the bank porch period consists of two data, 0111111 and 1,000,000, at approximately the same rate. If the data within this bank pouch period is replaced with 01.11111 or 1000000, the level of the replaced part will be the lowest bit in analog quantity as shown in Figure 4 (C). It is off by 〃.

問題点を解決するための手段 上記問題点を解決するために本発明の技術的手段は、ア
ナログ信号をA/D変換後のデジタル値士連続する2つ
の値AとA+1の中間にクランプしA/D変換する系に
おいて、クランプレベル期間内のデジタルデータを置き
換えるにあたり、A/D変換器出力のNビットデジタル
データにさらに1つ下のビットを設定しN+1ビットの
デジタルデータとし、置き換え期間での上位Nビットデ
ータをA又はA+1で置き換え、上位Nビットデータを
Aで置き換えた場合には付加した最下位ビットデータを
置き換え期間では1それ以外ではOに設定し、上位Nビ
ットデータをA+1で置き換えた場合には付加した最下
位ビットデータを置き換え期間では0それ以外では1に
設定するというものである。
Means for Solving the Problems In order to solve the above problems, the technical means of the present invention is to clamp an analog signal to a digital value after A/D conversion between two consecutive values A and A+1. In a /D conversion system, when replacing digital data within the clamp level period, set the next lower bit to the N-bit digital data output from the A/D converter to make it N+1-bit digital data, and then replace the digital data within the clamp level period. Replace the upper N-bit data with A or A+1, and when the upper N-bit data is replaced with A, set the added least significant bit data to 1 during the replacement period and O otherwise, and replace the upper N-bit data with A+1. In this case, the added least significant bit data is set to 0 during the replacement period and 1 otherwise.

作用 この技術的手段による作用は次のようになる。action The effect of this technical means is as follows.

すなわち、アナログ信号をクランプ・A/D変換する系
に通した後にクランプレベル期間内のデータを置き換え
る場合、クランプレベル期間内のデータはNビットで表
すと中間値をとるため正確に置き換えられないが、さら
に1つ下のビットを付は足してN+1ビットにすれば、
クランプレベル期間内のデータをクランプレベル期間外
のデータと比べてずれることなく置き換えることができ
る。
In other words, when replacing data within a clamp level period after passing an analog signal through a clamp/A/D conversion system, the data within the clamp level period takes an intermediate value when expressed in N bits, so it cannot be replaced accurately. , and then add the bit below to make N+1 bits,
Data within the clamp level period can be replaced without any deviation compared to data outside the clamp level period.

実施例 以下本発明の一実施例について図面を参照しながら説明
する。第1図に示すようにクランプ・A/D変換した後
でクランプレベル期間内のデータを置き換える系におい
て、第2図(a)に示すようなテレビ信号を入力した場
合について説明する。ただしA/D変換器は7ビット出
力とし、クランプはテレビ信号内の水平同期パルスのバ
ンクポーチ期間内で行われ、0111111と1000
000の中間にクランプされているとする。
EXAMPLE An example of the present invention will be described below with reference to the drawings. A case will be described in which a television signal as shown in FIG. 2(a) is input in a system in which data within a clamp level period is replaced after clamping and A/D conversion as shown in FIG. 1. However, the A/D converter has a 7-bit output, and clamping is performed within the bank porch period of the horizontal synchronizing pulse in the TV signal, and 0111111 and 1000
Suppose it is clamped somewhere between 000 and 000.

第2図(a)に示すようなテレビ信号を入力端子1より
入力しクランプ回路を通すと、第2図(b)に示すよう
にバックポーチレベルがA/D変換後のデジタルデータ
で0111111と1000000の中間にクランプさ
れ、A/D変換器を通るとバックポーチ期間内のデータ
は0111111と1000000との2つのデータを
同程度の割合でとる。このバックポーチ期間内のデータ
を置き換−えるにあたり7ビットデータのさらに1つ下
のビットを設け8ビットとし、上位7ビットは0111
111で置き換え新たに設けた最下位ビットデータは置
き換え期間では1それ以外ではOにすれば、つまり置き
換え期間は7ビットデータで0111111と1000
000との中間レベルであるから8ビットデーク011
11111で置き換え、置き換え期間以外の最下位ビッ
トデータはOにすることにより、置き換え期間とそれ以
外の期間との信号レベルが相対的にずれない。
When a TV signal as shown in Figure 2 (a) is input from input terminal 1 and passed through the clamp circuit, the back porch level becomes 0111111 as digital data after A/D conversion as shown in Figure 2 (b). When the data is clamped to the middle of 1,000,000 and passed through an A/D converter, the data within the back porch period consists of two data, 0111111 and 1,000,000, at approximately the same rate. To replace the data within this back porch period, one bit below the 7-bit data is set to 8 bits, and the upper 7 bits are 0111.
Replace with 111 The newly provided least significant bit data is 1 in the replacement period and 0 in other cases.In other words, the replacement period is 7-bit data with 0111111 and 1000.
Since it is an intermediate level with 000, the 8-bit data is 011.
By replacing it with 11111 and setting the least significant bit data outside the replacement period to O, the signal levels between the replacement period and other periods do not deviate relatively.

また、置き換え期間の上位7ビットデータを10000
00で置き換え新たに設けた最下位ビットデータは置き
換え期間ではOそれ以外では1にする場合についても同
様に、置き換え期間とそれ以外の期間との信号レベルが
相対的にずれない。
Also, the upper 7 bits data of the replacement period is set to 10000.
Similarly, when the newly provided least significant bit data is replaced with 00 and set to 0 during the replacement period and 1 at other times, the signal levels between the replacement period and other periods do not deviate relatively.

発明の効果 以上のように、本発明はアナログ信号をA/D変換後の
デジタル値で連続する2つの値AとA+1の中間にクラ
ンプしA/D変換する系において、クランプレベル期間
内のデジタルデータを置き換えるにあたり、A/D変換
器出力のNビットデータにさらに1つ下のビットを設定
しN+1ビットのデータとし、置き換え期間での上位N
ビットデータをA又はA+1で置き換え、上位Nビット
データをAで置き換えた場合には付加した最下位ビット
データを置き換え期間では1それ以外では0に設定し、
上位NビットデータをA+1で置き換えた場合には付加
した最下位ビットデータを置き換え期間ではOそれ以外
では1に設定することにより、置き換え後のクランプレ
ベルとクランプレベル期間外の信号レベルとの間に相対
的なずれが生じない。
Effects of the Invention As described above, the present invention provides an A/D conversion system in which an analog signal is clamped to the middle of two consecutive values A and A+1 as a digital value after A/D conversion, and the digital value within the clamp level period is When replacing data, set the next lower bit to the N-bit data output from the A/D converter, making it N+1-bit data, and
If the bit data is replaced with A or A+1 and the upper N bit data is replaced with A, the added least significant bit data is set to 1 during the replacement period and 0 otherwise.
When the upper N bit data is replaced with A+1, the added least significant bit data is set to 0 during the replacement period and 1 otherwise, so that the difference between the clamp level after replacement and the signal level outside the clamp level period is set. No relative deviation occurs.

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

第1図は本発明の一実施例における基本構成を示すブロ
ック図、第2図は第1図における各部の波形を示す波形
図、第3図及び第4図は従来の方法における基本構成を
示すブロック図及びその各部の波形を示す波形図である
。 2・・・・・・クランプ回路、3・・・・・・A/D変
換器、5・・・・・・セレクト回路、6・・・・・・置
き換えパルス発生回路、61・・・・・・置き換え期間
パルス、7・・・・・・最下位ビット付加回路。 代理人の氏名 弁理士 中尾敏男 はか1名第1図 第2図 第3図 第4図
Fig. 1 is a block diagram showing the basic configuration in an embodiment of the present invention, Fig. 2 is a waveform diagram showing waveforms of each part in Fig. 1, and Figs. 3 and 4 show the basic configuration in a conventional method. FIG. 2 is a block diagram and a waveform diagram showing waveforms of each part thereof. 2...Clamp circuit, 3...A/D converter, 5...Select circuit, 6...Replacement pulse generation circuit, 61... ... Replacement period pulse, 7... Least significant bit addition circuit. Name of agent: Patent attorney Toshio Nakao (1 person) Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] クランプのための平坦な部分を有するアナログ信号をA
/D変換後のデジタル値で連続する2つの値A(Aは2
進数)とA+1の中間にクランプしNビットデジタルデ
ータにA/D変換する系において、クランプレベル期間
内のデジタルデータを置き換えるにあたり、Nビットデ
ジタルデータにさらに1つ下のビットを設定しN+1ビ
ットのデジタルデータとし、置き換え期間での上位Nビ
ットデータをA又はA+1で置き換え、上位Nビットデ
ータをAで置き換えた場合には付加した最下位ビットデ
ータを置き換え期間では1それ以外では0に設定し、上
位NビットデータをA+1で置き換えた場合には付加し
た最下位ビットデータを置き換え期間では0それ以外で
は1に設定することを特徴とするデジタルデータ置き換
え方法。
A analog signal with a flat part for clamping
Two consecutive digital values A after /D conversion (A is 2
In a system where A/D conversion is performed to N-bit digital data by clamping it to an intermediate point between (base number) and A+1, when replacing the digital data within the clamp level period, the next lower bit is set to the N-bit digital data to convert the N+1-bit digital data to N-bit digital data. As digital data, replace the upper N bit data in the replacement period with A or A+1, and when the upper N bit data is replaced with A, set the added least significant bit data to 1 during the replacement period and 0 otherwise, A digital data replacement method characterized in that when upper N-bit data is replaced with A+1, the added least significant bit data is set to 0 during the replacement period and 1 otherwise.
JP62258923A 1987-10-14 1987-10-14 Digital data replacement method Pending JPH01101779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62258923A JPH01101779A (en) 1987-10-14 1987-10-14 Digital data replacement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62258923A JPH01101779A (en) 1987-10-14 1987-10-14 Digital data replacement method

Publications (1)

Publication Number Publication Date
JPH01101779A true JPH01101779A (en) 1989-04-19

Family

ID=17326914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62258923A Pending JPH01101779A (en) 1987-10-14 1987-10-14 Digital data replacement method

Country Status (1)

Country Link
JP (1) JPH01101779A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7124925B2 (en) 2002-01-11 2006-10-24 Max Co., Ltd. Stapler

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7124925B2 (en) 2002-01-11 2006-10-24 Max Co., Ltd. Stapler

Similar Documents

Publication Publication Date Title
JPS62291230A (en) Method and apparatus for synchronizing asynchronized data signal for producing synchronized data signal
JPS5661873A (en) Digital video signal processor
JPS6311838B2 (en)
US4095259A (en) Video signal converting system having quantization noise reduction
JPWO1992017029A1 (en) Data Slicing Circuit
JPH01101779A (en) Digital data replacement method
JPH09219845A (en) Time code generation circuit
JPH0636511B2 (en) Code violation detection circuit
JPS5932278A (en) Encoded transmission system of video signal
JPS58137341A (en) Pulse code modulation system
JPS62145985A (en) Voice delay time control method
JPS63278471A (en) Clamping circuit for video signal
US5055917A (en) Output apparatus for image signals
JP2506970B2 (en) Color difference signal time division multiplexing circuit
KR0136008B1 (en) The separation synchronous signal processing system to be able to process the composition synchronous signal
JP2572975B2 (en) DC component regeneration circuit
JPS6379477A (en) Direct current stabilizing system for video signal
JPS62112430A (en) Channel pulse generator
KR950003029B1 (en) Method for generating control signal for image signal processing system
JPH01174077A (en) Video signal processor
JPS6259483A (en) Drop out information transmission equipment
JPS61192173A (en) Ghost removal device
JPS6224786A (en) Information adding circuit for television signal
JPS59128882A (en) Video signal PCM device
JPH05268582A (en) Auxiliary data superimposing device