JPH03293841A - Input digital signal processing device - Google Patents

Input digital signal processing device

Info

Publication number
JPH03293841A
JPH03293841A JP9552390A JP9552390A JPH03293841A JP H03293841 A JPH03293841 A JP H03293841A JP 9552390 A JP9552390 A JP 9552390A JP 9552390 A JP9552390 A JP 9552390A JP H03293841 A JPH03293841 A JP H03293841A
Authority
JP
Japan
Prior art keywords
value
signal
input
time constant
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9552390A
Other languages
Japanese (ja)
Inventor
Yutaka Aoyama
豊 青山
Yasushi Ishii
石井 靖
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP9552390A priority Critical patent/JPH03293841A/en
Publication of JPH03293841A publication Critical patent/JPH03293841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To standardize the device constitution and to easily set a time constant with a high precision by regularly performing the processing for each sampling of a signal and comparing the count result of sampling data and the time constant set value with each other by hardware. CONSTITUTION:A multiplexer (MPX) 1 successively selects a one-bit signal from an inputted N-bit signal in accordance with the output of a program counter 4 and samples the selected signal in accordance with a high-speed sampling clock outputted from a clock control part 3 and outputs the result to an arithmetic logic unit (ALU) 5. When the value of sampling data is different from the value of the preceding input signal, the number of sampling data is counted, and the counted value is compared with a preliminarily determined value, and the value of the input signal is determined based on the comparison result and is outputted to an electronic apparatus main body. Thus, the device constitution is standardized and the time constant is easily set with a high precision.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、入力デジタル信号処理装置に関し、さらに詳
しくはプログラマブルコントローラ等ニ入力するデジタ
ル信号に含まれるノイズを除去する入力デジタル信号処
理装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an input digital signal processing device, and more particularly to an input digital signal processing device that removes noise contained in a digital signal inputted to a programmable controller or the like. It is.

〔従来の技術〕[Conventional technology]

プログラマブルコントローラ叫に入力するデジタル信号
には、入力機器の接点のチャタリングやバウンスに起因
するノイズあるいは外部配線に誘起されるノイズが含す
れている。従ってこれらのノイズを除去するために、従
来のプログラマブルコントローラ等のw1子機器はその
入力回路としてフィルタ装置を備えている。
The digital signal input to the programmable controller includes noise caused by chatter or bounce of the contacts of the input device or noise induced by external wiring. Therefore, in order to remove these noises, conventional w1 child devices such as programmable controllers are equipped with filter devices as their input circuits.

第10図は従来のアナログ式のフィルタ装置の構成を示
す回路図であり、11は外部入力機器の電源、丘は信号
入力用のスイッチ、13は電流制限用の抵抗、14はフ
ォトカブラである。抵抗15とコンデンサ16はフィル
タ回路を構成するものであり、信号に含まれるノイズの
状態によってそのノイズが除去できるような時定数とな
るように各々の値が足められている。
FIG. 10 is a circuit diagram showing the configuration of a conventional analog filter device, where 11 is a power source for external input equipment, the hill is a switch for signal input, 13 is a resistor for current limiting, and 14 is a photocoupler. . The resistor 15 and capacitor 16 constitute a filter circuit, and their values are added to provide a time constant that can remove noise depending on the state of the noise contained in the signal.

しかしながら、このようなアナログ式のフィルタ装置に
は以下のような問題点があった。
However, such analog filter devices have the following problems.

■入力機器の特性やノイズの状態に応じてその都度各種
の時定数が必要とされるが、本方法ではフィルタ回路を
構成する部品の値により時定数を設定するため、必要と
されるFRf足数が変わるたびにそれに適した値の部品
に変更しなくてはならない。即ち電子機器メーカーとし
ては、/・−ドウエアの標準化が図れないという問題点
があった。
■Various time constants are required depending on the characteristics of the input device and the state of noise, but in this method, the time constant is set based on the values of the components that make up the filter circuit, so the required FRf Every time the number changes, you must change the parts to appropriate values. That is, as an electronic equipment manufacturer, there was a problem in that it was not possible to standardize /...-ware.

■−万、電子機器のユーザ側においても、その電子機器
の使用状況に応じて、フィルタ回路の時定数を各種必要
としており、フィルタ時定数の異なる電子機器を適宜購
入しなければならす。
(2) Users of electronic devices also require various filter circuit time constants depending on the usage status of the electronic device, and must purchase electronic devices with different filter time constants as appropriate.

手配上の標準化が図れないという間組点があった。There was a problem with the inability to standardize arrangements.

OTナログ回路の時定数は、抵抗とコンデンサとの値に
よって定められるため、安価に高mit時足数を得るこ
とが難かしい。従って、高精良の時定数を得るためには
、精茨の高い抵抗やコンデンサを使用することが必要と
なり、その結果製品の価格が高価になってしまうという
問題点かあった。
Since the time constant of the OT analog circuit is determined by the values of the resistor and capacitor, it is difficult to obtain a high mit time at low cost. Therefore, in order to obtain a high-quality time constant, it is necessary to use a high-quality resistor or capacitor, and as a result, there is a problem in that the price of the product increases.

丈た、以上のようなアナログ回路の時定数を用いてノイ
ズの除去を図るのではなく、を子機器本体のマイクロプ
ロセッサ(以下、CPUとする)がそのソフトウェアに
従って、入力信号をサンプリングして入力信号のオン/
オフを判定するようにすることによってノイズの影響を
防止する従来例もある。
Rather than using the time constant of the analog circuit as described above to remove noise, the microprocessor (hereinafter referred to as CPU) in the slave device samples the input signal and inputs it according to its software. Signal on/
There is also a conventional example in which the influence of noise is prevented by determining whether the device is off.

このようなCPUによって入力信号のオン/オフを判定
する方式のものにあっては、そのソフトウェアを変更す
ることによって、前述したアナログ回路の時定数に相当
する機能を変化させることができる。しかしながら、こ
のような方式の従来例にあっては以下のような問題点が
あった。
In such a system in which the CPU determines on/off of an input signal, the function corresponding to the time constant of the analog circuit described above can be changed by changing the software. However, the conventional example of such a system has the following problems.

■マイクロプロセッサ(CPU)がソフトウェアに従っ
て入力信号のサンプリングをしそのサンプリングデータ
を2夏読み、3夏読みした後にデータの一致の判定をし
たり多数決を行なったりして入力信号のオン/オフを判
定するため、ソフトウェアの量が増別してCPUの処理
件数が増える。特に入力点数が増えると、CPUは入力
フィルタ処理に忙殺されて本来の電子機器内での処理能
力が落ちてしまう虞れがある。
■The microprocessor (CPU) samples the input signal according to the software, and after reading the sampled data for 2 summers and 3 summers, determines whether the data match or performs a majority vote to determine whether the input signal is on or off. Therefore, the amount of software increases and the number of items processed by the CPU increases. In particular, when the number of input points increases, the CPU becomes busy with input filter processing, and there is a risk that the original processing capacity within the electronic device will decrease.

■木刀式では、入力信号をサンプリングするという離散
的な方式に起因してアナログ方式では生じない以下のよ
うな固有の問題が住じる。すなわち、入力信号に混入す
るノイズ成分のくり返し周期がサンプリングの同期と近
接した場合。
■The wooden sword method has the following inherent problems that do not occur with the analog method due to the discrete method of sampling the input signal. In other words, when the repetition period of the noise component mixed into the input signal is close to the sampling synchronization.

誤判定(誤入力)が住じる虞れがある。これは。There is a risk of misjudgment (erroneous input). this is.

デジタル処理の持つ基本的な問題であり、アナログ処理
方式ではこのような問題は発生しない。
This is a fundamental problem with digital processing, and does not occur with analog processing methods.

これを避けるためにはサンプリングの周期を速くすれば
よいが(サンプリング周期=0がアナログ処理に相半す
るう、機器本体のCPUのソフトウェアによるサンプリ
ングには限界があり。
In order to avoid this, the sampling period can be made faster (sampling period = 0 is equivalent to analog processing, but there is a limit to sampling by the software of the CPU of the device itself.

例えば入力点数が16点の場合サンプリング周期を数1
00PS程度とすることが通常達成できる限界であり、
この程度では工業用途で発生する)以上説明したように
、ノイズを除去するための電子機器の入力装置にあって
は、促来、ノイズの状態に応じて適切な時定数を設定し
ようとする場合、装置の健キ化が図れなかったり、電子
機器本体のCPUに過大な負担をかけてしまうという問
題点があった。
For example, if the number of input points is 16, the sampling period is set to
00PS is the limit that can normally be achieved,
As explained above, when it comes to input devices for electronic devices that remove noise, it is often necessary to set an appropriate time constant depending on the noise state. However, there are problems in that the health of the device cannot be improved or that an excessive load is placed on the CPU of the electronic device itself.

本発明の目的は、装置構成の標準化が図れるとともに、
高精度な時定数の設定が容易にでき、しかも電子機器本
体のCPUに負担をかけずに入力信号に混入するノイズ
影響を除去することができる以上の目的を達成するため
に、本発明は入力するデジタル信号を所定間隔でサンプ
リングするサンプリング手段と、当該サンプリングされ
た前記デジタル信号のサンプルの値fe締別して、現在
出力している前記デジタル信号の値とは異なる値の前記
サンプルの個数を計数する計数手段と、該計数手段の出
力とあらかじめ定められた値とを比較する比較手段と、
該比較手段の比較結果に従って前記デジタル信号の値を
判定して出力する判定結果出力手段とを具えたことを特
徴とするものである。
An object of the present invention is to standardize the device configuration, and
In order to achieve the above objects, it is possible to easily set a highly accurate time constant, and to remove the influence of noise mixed into the input signal without putting a burden on the CPU of the electronic device itself. sampling means for sampling a digital signal at predetermined intervals; and counting the number of samples having a value different from the value of the digital signal currently being output by classifying the sample value fe of the sampled digital signal. a counting means; a comparison means for comparing the output of the counting means with a predetermined value;
The present invention is characterized by comprising a determination result output means for determining and outputting the value of the digital signal according to the comparison result of the comparison means.

〔作用〕[Effect]

以上のように構成された本発明においては、サンプリン
グ手段が所定間隔で入力信号をサンプリングし、そのサ
ンプリングデータの値がそれ以前の入力信号の値と異な
る場合には計数手段がそのサンプリングデータの個数を
計数する。そして、その個数とあらかじめ足められた値
とを比較手段が比較して、刊足結果田力手段がその結果
に基づいて入力信号の値を決定して電子機器本体に出力
する。
In the present invention configured as described above, the sampling means samples the input signal at predetermined intervals, and when the value of the sampled data is different from the value of the previous input signal, the counting means calculates the number of the sampled data. Count. Then, the comparison means compares the number with a pre-added value, and the calculation means determines the value of the input signal based on the result and outputs it to the electronic device main body.

〔冥施例〕[Metal practice]

第1図は本発明の一実施例の構成を示すブロック図であ
り、マルチプレクサ(MPX)1は入力するNb+tの
信号の内からプログラムカウンタ4の出力に従って1 
bitの信号を順次選び、その信号をクロック制御部3
から出力される高速のサンプリングクロックに促ってサ
ンプリングする。そして、このようにしてサンプリング
されたデータは、算術論理演算部(ALU)5に出力さ
れる。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, in which a multiplexer (MPX) 1 selects one of the input Nb+t signals according to the output of the program counter 4.
bit signals are selected sequentially and the signals are sent to the clock controller 3.
Samples are prompted by the high-speed sampling clock output from the The data sampled in this manner is output to an arithmetic and logic unit (ALU) 5.

6はワークメモl(RAM)であり、入力信号の各ビッ
トに対応したオフ時定数設定メモリ6−1゜オフ時定数
設定メモリ6−2.入力カウンタ現在値メモIJ 6−
3 、フィルタ出力結果メモリ6−4をNblt分具え
ている。そして、出力レジスタ2は、以下に説明する処
理をした結果のN bitの信号を電子機器本体に対し
て出力する。ここで、フィルタ出力結果メモリ6−4は
出力レジスタ2の出力状態を保存しておくためのメモリ
である。また、オン時定数設定メモリ6−1やオフ時定
数設定メモリ6−2内に設定される入力カウント設定値
(時定数設定値)は、外部バスインターフェイス部を設
けて使用者が入力装置から適宜設定するようにしてもよ
く、外部設定ビンを用いて設定するようにしてもよい。
6 is a work memory l (RAM), which includes an off-time constant setting memory 6-1 and an off-time constant setting memory 6-2 corresponding to each bit of the input signal. Input counter current value memo IJ 6-
3. It is equipped with Nblt filter output result memories 6-4. Then, the output register 2 outputs an N-bit signal as a result of the processing described below to the main body of the electronic device. Here, the filter output result memory 6-4 is a memory for storing the output state of the output register 2. In addition, the input count setting value (time constant setting value) set in the ON time constant setting memory 6-1 and the OFF time constant setting memory 6-2 can be set by the user using an input device as appropriate by providing an external bus interface section. Alternatively, the setting may be made using an external setting bin.

以上のように構成された本笑施例の動作をALU5にお
ける処理を中心に説明する。
The operation of this embodiment configured as described above will be explained focusing on the processing in the ALU 5.

先ず、使用者はオン時定数設定メモリ6−1およびオフ
時定数設定メそり6−2のそれぞれに。
First, the user sets the ON time constant setting memory 6-1 and the OFF time constant setting memory 6-2.

入力信号の値を判定する基準となる入力カウント設定値
(時定数設定値)をNb口仕分入力ておく。
An input count setting value (time constant setting value), which is a reference for determining the value of an input signal, is inputted into the Nb account.

11X2図はALU5が処理すべき手順の一例を示すフ
ローチャートであり、ALU5はNb口の入力信号の各
ビットをサンプリングする毎にこの手順に従って処理を
行なう。そして、あらかじめ定められた時間内で1 b
ttの処理を行ない、その時間の経過後天の1b+tの
処理をするようにしてこの処理を第3図に示すようにN
回繰り返えす。促って。
FIG. 11X2 is a flowchart showing an example of a procedure to be processed by the ALU 5, and the ALU 5 performs processing according to this procedure every time it samples each bit of the input signal of the Nb port. and within a predetermined time 1 b
tt is processed, and after that time, 1b+t is processed, and this processing is performed as N as shown in Fig. 3.
Repeat several times. Urge me.

この繰り返し周期が特定の1 brtの信号に対するサ
ンプリング周期になる。
This repetition period becomes the sampling period for a specific 1 brt signal.

第2図において先ず、ステップS1でMPXIから出力
されるサンプリングデータを入力し、ステ、ブS2で出
力レジスタ2から現在出力されているフィルタ出力をフ
ィルタ出力結果メモリ6−4から読み込む。
In FIG. 2, first, in step S1, sampling data output from MPXI is input, and in step S2, the filter output currently being output from the output register 2 is read from the filter output result memory 6-4.

ステ、ブS3では、サンプリングデータの値とフィルタ
出力の値の状態により、以下のどの処理をするかを決定
する。
In step S3, which of the following processes to perform is determined depending on the values of the sampling data and the value of the filter output.

(11フイルタ出力がオフ(10“)、サンプリングデ
ータがオフ(”0’ )の場合 ステップS4に進んで入力カウンタ現在値メモリ6−3
内の入力カウンタ現在値を201 にリセットする。
(If the 11 filter output is off (10") and the sampling data is off ("0'), proceed to step S4 and input counter current value memory 6-3.
Reset the current value of the input counter in 201 to 201.

(21フイルタ出力がオフ(”01)、サンプリングデ
ータがオン(@tl )の場合 ステップS5に進んで、入力カウンタ現在値メモリ6−
3内の入力カウンタ現在値とオン時定数設定メモリ6−
1内のオン時定設定値とを比較して、まだオン時定数設
定値に達していなければステップS6に進み入力カウン
タ現在値をインクリメントしてその値を入力カウンタ現
在値メモリ6−3内に格納する。才た、ステップS5で
オン時定数設定値に達していたならば、ステップS7に
進み出力レジスタ2およびフィルタ出力結果メモリ6−
4内の値をwltにセットし。
(If the 21 filter output is off (“01”) and the sampling data is on (@tl), proceed to step S5, and input counter current value memory 6-
Input counter current value and ON time constant setting memory 6-
1, and if the ON time constant setting value has not been reached yet, the process advances to step S6, increments the input counter current value, and stores the value in the input counter current value memory 6-3. Store. If the on-time constant setting value has been reached in step S5, the process advances to step S7 and the output register 2 and filter output result memory 6-
Set the value in 4 to wlt.

入力カウンタ現在値を101にリセットする。Reset the current value of the input counter to 101.

13+フイルタ出力がオン(’1’)、サンプリングデ
ータがオフ(Iol )の場合 ステップS8に進んで、入力カウンタ現在値メモリ6−
3内の入力カウンタ現在値とオフ時定数設定メモリ6−
2内のオフ時定数設定値とを比較して、丈だオフ時定数
設定値に達していなければ、ステ、ブS6に進み入力カ
ウンタ現在値をインクリメントして、その値を入力カウ
ンタ現在値として入力カウンタ現在値メモリ6−3に格
納する。また、ステ、ブS8でオフ時定数設定値に達し
ていたならば、ステップS9に進み出力レジスタ2およ
びフィルタ出力結果メモリ6−4内の値を101にセッ
トし、入力カウンタ現在値をJlにリセットする。
13+ If the filter output is on ('1') and the sampling data is off (Iol), the process advances to step S8 and the input counter current value memory 6-
Input counter current value and off time constant setting memory 6-
2, and if the off time constant setting value has not been reached, proceed to step S6, increment the input counter current value, and use that value as the input counter current value. The input counter current value is stored in the memory 6-3. If the off time constant setting value has been reached in step S8, the process advances to step S9, and the values in the output register 2 and filter output result memory 6-4 are set to 101, and the current value of the input counter is set to Jl. Reset.

(41フイルタ出力がオン(’1’)、サンプリングデ
ータがオ/ (’1’ )の場合 ステップ510に進んで入力カウンタ現在値メモリ6−
3内の入力カワンタ現在値を101番こりセットする。
(If 41 filter output is on ('1') and sampling data is on ('1'), proceed to step 510 and input counter current value memory 6-
Set the current input value in 3 to 101st.

以上(1)〜(4)のいずれかの処理を終了すると、A
LU5はステップS1に戻り、MPX 1から出力され
る今処理した信号の次の信号のサンプリングデータを入
力して以上の処理を繰り返えす。
After completing any of the processes (1) to (4) above, A
The LU 5 returns to step S1, inputs the sampling data of the signal next to the currently processed signal output from the MPX 1, and repeats the above processing.

従って、1つの信号に着目すれば、第3図に示すように
前述したような処理をN回行なう繰り返し周期がその信
号に対するサンプリング周期になる。すなわち、ALU
5はある1 bttの信号に対しては、館4図に示すよ
うに、出力レジスタ2の出力値とは異なる値のサンプリ
ングデータが連@ l。
Therefore, when focusing on one signal, the repetition period in which the above-described processing is performed N times becomes the sampling period for that signal, as shown in FIG. That is, ALU
5 is a certain 1 btt signal, as shown in Figure 4, sampling data of a value different from the output value of the output register 2 is continuously @l.

て入力する場合、その個数をカウントして時足数設だ値
と比較し、その結果として出力レジスタ2の出力値を決
冗することによって、その信号に含まれる。ノイズを除
去する。
When a signal is input, the number is counted and compared with a predetermined value, and as a result, the output value of the output register 2 is redundant, thereby being included in the signal. Remove noise.

なお1本実施例においては、同一値のデータが連続して
入力しで、あらかじめ足められた時定数設定値に達した
ときJこ出力レジスタの出力の値を変えるようにしであ
るが、ある時間内に所定回数以上同一値のデータが入力
したら出力レジスタの出力の値を変える所謂多数決方式
の構成にしてもよい。
Note that in this embodiment, when data of the same value is input continuously and a preset time constant value is reached, the output value of the output register is changed. A so-called majority voting method may be used in which the output value of the output register is changed if data of the same value is input a predetermined number of times or more within a time.

このように本発明は信号のサンプリング毎の処理が規則
的であり、サンプリングデータのカウント結果と時定数
設定値との比較をハードウェアで行なうことができるの
で入力信号のフィルタ処理を高速に行なうことができる
In this way, in the present invention, the processing for each sampling of the signal is regular, and the count result of the sampling data and the time constant setting value can be compared by hardware, so that the filter processing of the input signal can be performed at high speed. Can be done.

従って以上説明した冥施例をLSI化することは容易で
あり、その場合には基本構成を第5図に示すようにすれ
ばよい。第5図において、51はノイズが混入している
信号が入力する入力マルチプレクサ、52は入力マルチ
プレクサ51から出力される1 bxtの信号の処理を
行なう演算部、53は入力カウント現在値とフィルタ出
力結果とを格納するためのワークメモリ、駒は処理後の
信号を電子機器本体に出力するための出力レジスタ、恥
は外部水晶発振器間を具えサンプリングクロ、夕を入力
マルチプレクサに出力したりアドレス制御用の信号を各
部に供給したりする制御カウンタである。
Therefore, it is easy to implement the above-described embodiment into an LSI, and in that case, the basic configuration may be as shown in FIG. In FIG. 5, 51 is an input multiplexer into which a signal containing noise is input, 52 is an arithmetic unit that processes the 1 bxt signal output from the input multiplexer 51, and 53 is the current input count value and filter output result. The piece is an output register for outputting the processed signal to the electronic device main body, and the piece is an output register for outputting the processed signal to the electronic device body. This is a control counter that supplies signals to various parts.

このLSIは、32bttの入力信号を処理して電子機
器本体に出力するものである。
This LSI processes a 32btt input signal and outputs it to the main body of the electronic device.

第6図はワークメモリs53の1bxtに係る部分の構
成を示したものであり、DO−D6は入力カウンタ現在
値カシ格納される領域であり、D7はフィルタ出力結果
値が格納される領域となっている。
FIG. 6 shows the configuration of the part related to 1bxt of the work memory s53, where DO-D6 is an area where the current input counter value is stored, and D7 is an area where the filter output result value is stored. ing.

このように入力信号の1b目に1 byteのメモリが
対応して設けられているため、ワークメモIJ 53全
体としては入力信号32bロ分のメモリ即ち32 by
teのメモリが存在することになる。
In this way, since 1 byte of memory is provided corresponding to 1b of the input signal, the work memo IJ 53 as a whole has a memory for 32b of input signals, that is, 32 bytes.
There will be a memory of te.

第7図はLSIの外部構成を示した構成図である。FIG. 7 is a configuration diagram showing the external configuration of the LSI.

このLSIにおいては、オン時定数設定値やオフ時定数
設定値をワークメモリ部に格納せずに、第7図に示すよ
うに外部設定ビンで設定するようにしである。
In this LSI, the ON time constant setting value and the OFF time constant setting value are not stored in the work memory section, but are set in an external setting bin as shown in FIG.

第8図は、第5図示の基本構成に従って構成されたLS
Iの内部構成を示すブロック図である。また、第9図は
このLSIの各部の信号の状態を示すタイムチャートで
あり、制御カウンタ5bから出力される信号So/Sl
の立ち上がり又は豆ち下がりlこ同期したタイミングψ
0才たはψlIC従ってこのLSIはサンプリングした
データを順次処理していく。
FIG. 8 shows an LS configured according to the basic configuration shown in FIG.
FIG. 2 is a block diagram showing the internal configuration of I. Moreover, FIG. 9 is a time chart showing the signal states of each part of this LSI, and shows the signal So/Sl output from the control counter 5b.
The timing of the rise or fall of 1 is synchronized with ψ
0 or ψlIC Therefore, this LSI sequentially processes the sampled data.

先ず、タイミングψ0では、制御カウンタ□□□かう入
力マルチプレクサ51とワークメモリ部とに出力される
b1tアドレスで指足されたデータを、制御部5ン内の
SRGとWRGとがそれぞれ取り込む。
First, at timing ψ0, the SRG and WRG in the control unit 5 each take in the data added at the b1t address output to the input multiplexer 51 of the control counter □□□ and the work memory unit.

そして、SRGは入力した1 bttの信号の値が@O
Iかslmかを示すデータDSを、WRGは取り込んた
データのうちその信号の値として現在出力されている値
を示すデータD7をそれぞれデコーダに出丈する。
Then, the value of the input 1 btt signal for SRG is @O
The WRG outputs data DS indicating whether the signal is I or slm, and data D7 indicating the value currently output as the value of the signal among the captured data to the decoder.

タイミングψ1では、入力する2つのデータDSD7の
状態に基づいて、第2図示の(11〜(4)のうちのど
の処理をするのかをデコーダが決定し、その決定に従っ
て、例えば入力カウンタ現在値(DO−D6)に1を加
えた値と時定数設定値との比較等の処理をした後、ワー
クメモリ&や出力レジスタヌのデータの書き換えをする
At timing ψ1, the decoder determines which of the processes (11 to (4) shown in the second diagram) to perform based on the states of the two input data DSD7, and according to that determination, for example, the current value of the input counter ( After performing processing such as comparing the value obtained by adding 1 to DO-D6) and the time constant setting value, data in the work memory & and output registers are rewritten.

第9図に示すように、32b+tの入力信号を処理する
のζこ要する繰り返し周期、すなわちある1 bt+の
信号に対するサンプリング周期は、 3−2 (ps)X 32(btt) = 102−4
(ps)となる。なお、この周期は水晶発根子の周波数
を上げることにより短くすることができる。
As shown in FIG. 9, the repetition period required to process an input signal of 32 b+t, that is, the sampling period for a certain 1 bt+ signal, is 3-2 (ps) x 32 (btt) = 102-4
(ps). Note that this period can be shortened by increasing the frequency of the crystal rooter.

また、このLSIでは外部設定ビンによって時定数設定
値を選べるようにしであるが1時定数3m5lこ相当す
るその設定値は「32J  (102,4ps X 3
2=3.2768rns)となり、10tnsに相当す
る設定値は「%J (102,4F8X96 =9.8
304m5 )となる。
In addition, this LSI allows you to select the time constant setting value using an external setting bin, but the setting value corresponding to one time constant of 3m5L is 32J (102,4ps x 3
2=3.2768rns), and the setting value corresponding to 10tns is %J (102,4F8X96 =9.8
304m5).

な詔、このような外部設定ビンによらず、任意の時定数
を設定できるようにするためには、時定数設定用のメモ
リを設け、電子機器本体のCPUに接続されたデータバ
スからこのメモリにアクセス可能なようにバスインター
フェースを設ければよい。
In order to be able to set an arbitrary time constant without using such an external setting bin, it is necessary to provide a memory for setting the time constant, and to access this memory from the data bus connected to the CPU of the electronic device. A bus interface may be provided so that it can be accessed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれは、装置構成の標準
化が図れるとともに、1ii6精度な時定数の設定が容
易にでき、しかも電子機器本体のCPUに負担をかけず
に入力信号に混入するノイズの影替を除去することがで
きる。
As explained above, according to the present invention, it is possible to standardize the device configuration, easily set the time constant with 1ii6 precision, and eliminate noises mixed into the input signal without putting a burden on the CPU of the electronic device itself. It is possible to remove shadows.

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

tIg1図は本発明の一笑施例の構成を示すブロック図
、第2図は第1図示のALUが処理すべき手順の一例を
示すフローチャート、$3図は、第1I50示の笑施例
の処理手順を示す説8EJ図、第4区は。 第1図示の笑施例の1つの信号の処理内容を説明するた
めの説明図、第5図は、第1図示の冥施例をLSI化す
る場合の基本構成を示すプロ、り図。 第6図は、$5図示のワークメモリの構成を説明するた
めの説明図、第7図は、LSIの外部構成を示す説明図
、第8図は、LSIの内部構成を示すプロ、り図、第9
図は、LSIの動作を説明するためのタイムチャート、
第10図は従来例の構成を示す回路図である。 1・・・マルチプレク?(MPX)、2・・・出力レジ
スタ、3・・・クロ、り制御I!1部、4・・・プログ
ラムカウンタ、5・・・算術論理演算部(ALU)、6
・・・ワークメ拓 区 奪 2 耐 第 (2) 筆 国 I z 3 λ力f blt NiN 11brtijf又 第 旧 フイlレタ出々tG筆ず置 第 区 (イ;シイルソ七−7ト) 第 用 第 第 目 撃 0 目
tIg1 is a block diagram showing the configuration of the first embodiment of the present invention, FIG. 2 is a flowchart showing an example of the procedure to be processed by the ALU shown in FIG. 1, and FIG. 3 is the processing of the first embodiment shown in FIG. Theory 8EJ diagram showing the procedure, Section 4 is. FIG. 5 is an explanatory diagram for explaining the processing content of one signal in the embodiment shown in FIG. 1, and FIG. 5 is a diagram showing the basic configuration when the embodiment shown in FIG. FIG. 6 is an explanatory diagram for explaining the configuration of the work memory shown in FIG. 7, FIG. 7 is an explanatory diagram for explaining the external configuration of the LSI, and FIG. , No. 9
The figure shows a time chart for explaining the operation of the LSI,
FIG. 10 is a circuit diagram showing the configuration of a conventional example. 1...Multiplex? (MPX), 2...Output register, 3...Black control I! 1 part, 4... program counter, 5... arithmetic logic unit (ALU), 6
...Work Me Takukuku 2 Tai No. (2) Writing country I z 3 λ force f blt NiN 11brtijf Also, the 1st old file letter appears 0th sighting

Claims (1)

【特許請求の範囲】[Claims] 1)入力するデジタル信号を所定間隔でサンプリングす
るサンプリング手段と、当該サンプリングされた前記デ
ジタル信号のサンプルの値を識別して、現在出力してい
る前記デジタル信号の値とは異なる値の前記サンプルの
個数を計数する計数手段と、該計数手段の出力とあらか
じめ定められた値とを比較する比較手段と、該比較手段
の比較結果に従って前記デジタル信号の値を判定して出
力する判定結果出力手段とを具えたことを特徴とする入
力デジタル信号処理装置。
1) Sampling means for sampling an input digital signal at predetermined intervals, identifying the value of the sample of the sampled digital signal, and identifying the value of the sample of the digital signal that is different from the value of the digital signal currently being output. a counting means for counting the number of objects; a comparing means for comparing the output of the counting means with a predetermined value; and a determination result output means for determining and outputting the value of the digital signal according to the comparison result of the comparing means. An input digital signal processing device comprising:
JP9552390A 1990-04-11 1990-04-11 Input digital signal processing device Pending JPH03293841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9552390A JPH03293841A (en) 1990-04-11 1990-04-11 Input digital signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9552390A JPH03293841A (en) 1990-04-11 1990-04-11 Input digital signal processing device

Publications (1)

Publication Number Publication Date
JPH03293841A true JPH03293841A (en) 1991-12-25

Family

ID=14139923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9552390A Pending JPH03293841A (en) 1990-04-11 1990-04-11 Input digital signal processing device

Country Status (1)

Country Link
JP (1) JPH03293841A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5745795A (en) * 1980-09-01 1982-03-15 Fujitsu Ltd Scanning device
JPS57176859A (en) * 1981-03-27 1982-10-30 Gen Electric Bit recovery circuit
JPS63124651A (en) * 1986-11-14 1988-05-28 Nec Corp Transmission data protection circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5745795A (en) * 1980-09-01 1982-03-15 Fujitsu Ltd Scanning device
JPS57176859A (en) * 1981-03-27 1982-10-30 Gen Electric Bit recovery circuit
JPS63124651A (en) * 1986-11-14 1988-05-28 Nec Corp Transmission data protection circuit

Similar Documents

Publication Publication Date Title
US4787062A (en) Glitch detection by forcing the output of a simulated logic device to an undefined state
US5384744A (en) Look ahead flag for FIFO
KR920007349A (en) Digital pulse processing equipment
JPH03293841A (en) Input digital signal processing device
US6854102B1 (en) System and method of acquiring delay, setup and hold values for integrated circuit cells
US5590371A (en) Serial communication circuit on an LSI chip and communicating with another microcomputer on the chip
KR910009296B1 (en) Sequential access memory
JPS63259476A (en) Jitter measuring circuit
JPS5811878A (en) Measuring device for switch
JP2868038B2 (en) Test circuit for semiconductor integrated circuit device
JPH01109275A (en) Sequential circuit with test function
JP2723843B2 (en) Dual port memory control circuit
JP2538095B2 (en) Synchronous protection circuit
KR200326695Y1 (en) Digital processor
JPH0828647B2 (en) Memory device and digital signal processing device using the same
US5815098A (en) Circuit and method for efficiently expanding compressed data stored in memory
KR930002026Y1 (en) Resetting circuit for program of i/o device
KR910006684Y1 (en) Cpu signal controlling circuit
JPH0422220A (en) Synchronous output circuit
JPH05298391A (en) Processing system in logic cirucit designing cad device
JPH07111353B2 (en) Moving average device
JP2002181857A (en) Signal processing device
JPH03131926A (en) Data processing circuit
JPS6411977B2 (en)
JPS59172852A (en) Majority decision circuit