JPS60214140A - Waveform shaping device - Google Patents

Waveform shaping device

Info

Publication number
JPS60214140A
JPS60214140A JP59071132A JP7113284A JPS60214140A JP S60214140 A JPS60214140 A JP S60214140A JP 59071132 A JP59071132 A JP 59071132A JP 7113284 A JP7113284 A JP 7113284A JP S60214140 A JPS60214140 A JP S60214140A
Authority
JP
Japan
Prior art keywords
circuit
signal
input
sampling
waveform shaping
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
JP59071132A
Other languages
Japanese (ja)
Inventor
Tomoaki Abe
朋明 阿部
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 JP59071132A priority Critical patent/JPS60214140A/en
Publication of JPS60214140A publication Critical patent/JPS60214140A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To apply waveform shaping to input signals of both positive/negative logic states by retarding an input sampling data by one sample time and confirm ing the presence of coincidence between the data before one sample and the sampling data to apply processing. CONSTITUTION:The sampling data A inputted to a delay circuit 14 is applied to each input of an AND circuit 15 and an OR circuit 16. An output signal B passing through the circuit 14 is fed to othe input of the circuits 15, 16. An output signal C of the circuit 15 is inputted to one input of the OR circuit 17 and an output signal D of the circuit 16 is fed to one input of the AND circuit 19. Then a signal E completing the waveform shaping before one sampling is subjected to delay by a 1-sampling delay circuit 18, the delayed signal is ORed (17) with the signal C, its output and the signal D are ANDed (19) to output the waveform shaping signal E. Thus, the waveform shaping is applied to the input signal to both positive logic and negative logic signals.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、等間隔でサンプリングされた2値データ(1
あるいは0)のデータ整形に利用する波形整形装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is applicable to binary data sampled at equal intervals (1
Alternatively, the present invention relates to a waveform shaping device used for data shaping.

従来例の構成とその問題点 第1図及び第2図は、従来の波形整形装置と波形整形フ
ローチャートを示している。1はサンプリング回路であ
り、このサンプリング回路1は遅延回路2と論理積回路
3に信号線6にて継続されている。4はタイミング発生
回路であり、サンプリング回路1のサンプリングタイミ
ングと遅延回路2の遅延タイミングを信号線9にて制御
している。論理積回路3は、サンプリング回路1にてサ
ンプリングされた結果と、遅延回路2を通して1サンプ
リング遅延させた結果との論理積を計算し、この結果を
信号線8に出力している。こうして入力信号の波形整形
を行なう。
Configuration of conventional example and its problems FIGS. 1 and 2 show a conventional waveform shaping device and a waveform shaping flowchart. 1 is a sampling circuit, and this sampling circuit 1 is connected to a delay circuit 2 and an AND circuit 3 via a signal line 6. Reference numeral 4 denotes a timing generation circuit, which controls the sampling timing of the sampling circuit 1 and the delay timing of the delay circuit 2 through a signal line 9. The AND circuit 3 calculates the AND of the result sampled by the sampling circuit 1 and the result delayed by one sampling through the delay circuit 2, and outputs this result to the signal line 8. In this way, the waveform of the input signal is shaped.

第2図において、10はデータの入力ルーチンであり、
入力したデータはメモリAにストアされる。11はディ
レイルーチンであシ、次に入力するまでの時間待ちを行
なう。12はデータの入力ルーチンであり、入力したデ
ータはメモリBにストアされる。これら入力したデータ
は、13において論理積が計算される。
In FIG. 2, 10 is a data input routine;
The input data is stored in memory A. 11 is a delay routine, which waits for the next input. 12 is a data input routine, and the input data is stored in memory B. The logical product of these input data is calculated in step 13.

この一連のフローチャートは、結果として波形整形を行
なうことになる。
This series of flowcharts results in waveform shaping.

以上、説明した従来例の波形整形法は正論理信号(ハイ
レベル信号をアクティブ信号とする)についてであり、
負論理信号(ローレベル信号をアクティブ信号とする)
の場合には、第1図の論理積回路3が論理和回路に置き
換わり、第2図の論理積ルーチン13が論理和ルーチン
に置き換えられる。
The conventional waveform shaping method described above is for positive logic signals (high level signals are active signals).
Negative logic signal (low level signal is active signal)
In this case, the AND circuit 3 in FIG. 1 is replaced with an OR circuit, and the AND routine 13 in FIG. 2 is replaced with an OR routine.

次に、上記従来例の動作について説明する。第1図のタ
イミング発生回路4が、第3図Aに示すタイミング信号
を発生し、このタイミング信号Aの立ち上がりに同期し
て第1図の波形整形回路が動作する。
Next, the operation of the above conventional example will be explained. The timing generation circuit 4 shown in FIG. 1 generates the timing signal shown in FIG. 3A, and the waveform shaping circuit shown in FIG. 1 operates in synchronization with the rising edge of the timing signal A.

第3図Bは信号線5よりサンプリング回路1に入力され
る入力信号の例である。この入力信号がサンプリング回
路1に入力されると、信号線6へサンプリング回路1か
ら第3図に示すようにタイミング信号Aに同期したサン
プリング結果が出力される。このサンプリングデータ(
第3図C)は、1サンプリング遅延回路2と論理積回路
3へ信号線6を介して送られる。遅延回路2では、サン
プリングデータCを入力し、1サンプリング時間遅らせ
て信号線7へ第3図Dに示す信号を出力する。こうして
得られたサンプリングデータCと1サンプリング遅延し
たサンプリングデータDの論理積を論理積回路3で行な
い、入力信号の波形整形を行なう。波形整形回路の出力
波形を第3図Eに示す。
FIG. 3B shows an example of an input signal input to the sampling circuit 1 from the signal line 5. When this input signal is input to the sampling circuit 1, a sampling result synchronized with the timing signal A is output from the sampling circuit 1 to the signal line 6 as shown in FIG. This sampling data (
3C) is sent to the 1-sampling delay circuit 2 and the AND circuit 3 via the signal line 6. The delay circuit 2 inputs the sampling data C, delays it by one sampling time, and outputs the signal shown in FIG. 3D to the signal line 7. The AND circuit 3 performs an AND operation on the sampling data C thus obtained and the sampling data D delayed by one sample, thereby shaping the waveform of the input signal. The output waveform of the waveform shaping circuit is shown in FIG. 3E.

しかしながら、上記従来例においては、正論理信号及び
負論理信号それぞれに対し、異なる回路あるいは手順を
必要とするので、回路及び手順が複雑になる欠点があっ
た。
However, the conventional example described above has the disadvantage that different circuits or procedures are required for each of the positive logic signal and the negative logic signal, making the circuit and procedure complicated.

発明の目的 本発明は、上記従来例の欠点を除去するものであり、正
論理信号及び負論理信号の両信号に対し同一の簡単な回
路により、入力信号の波形整形を可能とすることを目的
とするものである。
Purpose of the Invention The present invention eliminates the drawbacks of the above-mentioned conventional example, and aims to enable waveform shaping of an input signal using the same simple circuit for both positive logic signals and negative logic signals. That is.

発明の構成 本発明は上記目的を達成するために、1サンプル前のデ
ータとサンプリングしたデータが一致する場合にはサン
プリングデータを波形整形出力として出力し、一致しな
い場合には1サンプリング前波形整形した結果を波形整
形出力として出力するものである。
Structure of the Invention In order to achieve the above object, the present invention outputs the sampled data as a waveform shaping output when the data one sample before and the sampled data match, and when they do not match, the waveform is shaped one sample before. The results are output as waveform shaped output.

実施例の説明 以下に本発明の一実施例の構成について、図面とともに
説明する。
DESCRIPTION OF EMBODIMENTS The configuration of an embodiment of the present invention will be described below with reference to the drawings.

第4図において14と18は1サンプリング遅延手段、
15と19は論理積手段、16と17は論理和手段であ
る。遅延手段14に入力されるサンプリングデータA(
第5図A)は、論理積手段15と論理和手段16それぞ
れの入力の一方に印加される。また、サンプリングデー
タAは遅延手段14の入力信号でもあり、この遅延手段
14を通過した出力信号B(第5図B)は、論理積手段
15と論理和手段16の残り一方の入力に印加される。
In FIG. 4, 14 and 18 are 1 sampling delay means;
15 and 19 are logical product means, and 16 and 17 are logical sum means. Sampling data A (
5A) is applied to one of the inputs of the AND means 15 and the OR means 16, respectively. The sampling data A is also an input signal to the delay means 14, and the output signal B (FIG. 5B) that has passed through the delay means 14 is applied to the remaining input of the AND means 15 and the OR means 16. Ru.

この結果、論理積手段15の出力信号は、第5図Cに示
したような信号となり、同様論理和手段16の出力信号
は第5図Dに示す信号となる。
As a result, the output signal of the AND means 15 becomes a signal as shown in FIG. 5C, and similarly the output signal of the OR means 16 becomes a signal as shown in FIG. 5D.

次に、1サンプリング前に波形整形を終了した結果を1
サンプリング遅延手段18にて遅延させ、論理積手段1
5の結果と論理和手段17にて論理和の演算を行なう。
Next, the result of waveform shaping completed 1 sampling ago is 1
Delayed by sampling delay means 18, and logical product means 1
A logical sum operation is performed with the result of step 5 in the logical sum means 17.

この演算結果と論理和手段16の出力とを論理積手段1
9にて演算し、波形整形を行なう。こうして得られた波
形整形信号を第5図Eに示す。
This operation result and the output of the logical sum means 16 are combined in the logical product means 1.
9, and performs waveform shaping. The waveform shaped signal thus obtained is shown in FIG. 5E.

第5図において、入力信号Aと比較すると波形整形され
た信号Eは、信号の変化点において整形されたことが分
かる。
In FIG. 5, when compared with the input signal A, it can be seen that the waveform-shaped signal E is shaped at the signal change point.

第6図は、波形整形ルーチンを示す。第6図において、
20は波形整形される入力信号をサンプリングし入力す
るルーチンである。サンプリング入力したデータはメモ
リAにストアされる。21はサンプリング時間を定める
遅延時間である。
FIG. 6 shows the waveform shaping routine. In Figure 6,
20 is a routine for sampling and inputting the input signal to be waveform-shaped. The sampled input data is stored in memory A. 21 is a delay time that determines the sampling time.

22はサンプリングし入力するルーチンである。22 is a routine for sampling and inputting.

サンプリング入力したデータはメモリBにストアされる
。23は遅延時間を置いてサンプリング入力した2つの
データの間で論理積演算し、メモリCにストアするルー
チンである。24はサンプリング入力した2つのデータ
間で論理和演算を行ない、メモリDにストアするルーチ
ン、25はルーチン23で論理積演算を行なった結果と
1サンプル前にサンプリングしたデータで波形整形した
結果との論理和演算を行ない、メモリEにストアするル
ーチン、26はルーチン25で演算した結果と、ルーチ
ン24で演算した結果との論理積演算を行ない、メモリ
Fにストアするルーチンである。
The sampled input data is stored in memory B. 23 is a routine that performs an AND operation between two pieces of data sampled and input after a delay time, and stores the result in memory C. 24 is a routine that performs an OR operation between two sampled input data and stores it in memory D; 25 is a routine that combines the result of the AND operation in routine 23 and the result of waveform shaping using the data sampled one sample before. A routine 26 performs a logical sum operation and stores the result in the memory E. A routine 26 performs a logical AND operation on the result calculated in the routine 25 and the result calculated in the routine 24, and stores the result in the memory F.

27はルーチン26で演算した結果、すなわち、入力サ
ンプリングデータを波形整形した結果を外部へ出力する
ルーチンである。28はメモリBの内容をメモリAへ移
し、次のサンプリング入力の準備を行なうルーチン、2
9は次にサンプリング入力するための遅延時間である。
Reference numeral 27 denotes a routine that outputs the result of the calculation in the routine 26, that is, the result of waveform shaping the input sampling data, to the outside. 28 is a routine that moves the contents of memory B to memory A and prepares for the next sampling input;
9 is a delay time for the next sampling input.

なお、第7図は上記実施例の入出力特性を示している。Incidentally, FIG. 7 shows the input/output characteristics of the above embodiment.

発明の効果 本発明は上記のような構成であり、以下に示す効果が得
られるものである。
Effects of the Invention The present invention has the above-described configuration, and provides the following effects.

(a)入力信号が正論理信号及び負論理信号に対して波
形整形できる。
(a) The input signal can be shaped into a positive logic signal and a negative logic signal.

(b)マイクロコンピュータ等によるキー入力に用いる
ことにより、チャタリング防止が容易にできる。
(b) Chattering can be easily prevented by using it for key input using a microcomputer or the like.

(c)NRZ信号伝送における、外来ノイズ除去回路と
して用いることができる等の利点を有する。
(c) It has advantages such as being able to be used as an external noise removal circuit in NRZ signal transmission.

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

第1図は従来の波形整形装置の機能ブロック図、第2図
は同装置のフローチャート図、第3図は同装置の動作説
明図、第4図は本発明の一実施例における波形整形装置
の機能ブロック図、第5図は同装置の動作説明図、第6
図は同装置のフローチャート、第7図は同装置の入出力
特性図である。 14、18・・・遅延手段、15、19・・・論理積手
段、16、17・・・論理和手段。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 第2図 第3図
FIG. 1 is a functional block diagram of a conventional waveform shaping device, FIG. 2 is a flowchart of the same device, FIG. 3 is an explanatory diagram of the operation of the device, and FIG. 4 is a diagram of a waveform shaping device in an embodiment of the present invention. Functional block diagram, Fig. 5 is an explanatory diagram of the operation of the device, Fig. 6
The figure is a flowchart of the same device, and FIG. 7 is an input/output characteristic diagram of the same device. 14, 18... Delay means, 15, 19... AND means, 16, 17... OR means. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 入力信号をサンプリングする手段と、入力信号のサンプ
リングしたデータを1サンプリング時間遅延する手段と
、1サンプリング前のデータとサンプリングしたデータ
が一致する場合、サンプリングデータを波形整形出力と
して出力する手段と、1サンプリング前のデータとサン
プリングしたデータが一致しない場合、1サンプリング
前に波形整形した結果を波形整形出力として出力する手
段とからなる波形整形装置。
means for sampling the input signal; means for delaying the sampled data of the input signal by one sampling time; and means for outputting the sampled data as a waveform shaping output when the data one sample before and the sampled data match; A waveform shaping device comprising means for outputting a result of waveform shaping one sampling before as a waveform shaping output when data before sampling and sampled data do not match.
JP59071132A 1984-04-10 1984-04-10 Waveform shaping device Pending JPS60214140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59071132A JPS60214140A (en) 1984-04-10 1984-04-10 Waveform shaping device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59071132A JPS60214140A (en) 1984-04-10 1984-04-10 Waveform shaping device

Publications (1)

Publication Number Publication Date
JPS60214140A true JPS60214140A (en) 1985-10-26

Family

ID=13451740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59071132A Pending JPS60214140A (en) 1984-04-10 1984-04-10 Waveform shaping device

Country Status (1)

Country Link
JP (1) JPS60214140A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5853257A (en) * 1981-09-26 1983-03-29 Toshiba Corp Digital data receiving circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5853257A (en) * 1981-09-26 1983-03-29 Toshiba Corp Digital data receiving circuit

Similar Documents

Publication Publication Date Title
JP2787725B2 (en) Data clock timing adjustment circuit
KR900005264A (en) Clock Signal Switching Circuit and Its Switching Method
JPH07114348B2 (en) Logic circuit
JPS60214140A (en) Waveform shaping device
KR970004088B1 (en) Digital signal processor for simultaneously processing left and right signals
JPS5913450A (en) Method for transmitting series data
JPS62168415A (en) Inter-latch transmission system
JPH1115783A (en) Synchronous circuit
JPH03105497A (en) Alarm generation and recovery decision circuit
JPS5934188Y2 (en) signal input circuit
JPH02268511A (en) Two-phase pulse generation circuit
JPH0516786B2 (en)
JPS5818734A (en) Key input detecting circuit system
JPS605492A (en) Address buffer circuit of semiconductor memory device
JPH05191226A (en) Spike noise elimination circuit
JPH0640615B2 (en) Digital signal processing circuit
JPS61164323A (en) Timing pulse forming circuit
JPH01183987A (en) Contour improving circuit
JPS59215115A (en) Phase difference detecting circuit
JPS63254827A (en) Decoding circuit
JPH0374951A (en) Synchronizing circuit
JPS5994942A (en) Synchronized receiving circuit
JPH05181811A (en) Interruption control signal generator for multi-processor system
JPS6477241A (en) Phase matching circuit
JPS63305617A (en) Digital pll circuit