JPH04633A - Signal processor - Google Patents

Signal processor

Info

Publication number
JPH04633A
JPH04633A JP2101928A JP10192890A JPH04633A JP H04633 A JPH04633 A JP H04633A JP 2101928 A JP2101928 A JP 2101928A JP 10192890 A JP10192890 A JP 10192890A JP H04633 A JPH04633 A JP H04633A
Authority
JP
Japan
Prior art keywords
digital data
switch
output
outputs
control signal
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
JP2101928A
Other languages
Japanese (ja)
Inventor
Yoshinobu Oishi
大石 義信
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 JP2101928A priority Critical patent/JPH04633A/en
Publication of JPH04633A publication Critical patent/JPH04633A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明はデジタル化された入力信号のデータレベルを比
較することで入力信号の振幅ピーク値を検出する信号処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a signal processing device that detects an amplitude peak value of an input signal by comparing data levels of digitized input signals.

従来の技術 近年、信号処理装置にデジタル技術が導入され、映像ま
たは音声信号がデジタル処理されている。
2. Description of the Related Art In recent years, digital technology has been introduced into signal processing devices, and video or audio signals are digitally processed.

従来、入力信号のピーク値を検出する場合には、アナロ
グ信号の状態でアナログ素子の構成で行なっていた。
Conventionally, when detecting the peak value of an input signal, it has been carried out using an analog element configuration in an analog signal state.

発明が解決しようとする課題 このような従来の信号処理装置では、アナログ的にピー
ク検出を行なっているため、デジタル信号処理回路と接
続する場合にはアナログピーク検出回路が必要であり、
さらにアナログ素、子の温度特性などのバラツキにより
、入力信号の振幅ピーク値を正確に測定することが困難
であるという欠点を有していた。
Problems to be Solved by the Invention Since such conventional signal processing devices perform peak detection in an analog manner, an analog peak detection circuit is required when connecting to a digital signal processing circuit.
Furthermore, it has the disadvantage that it is difficult to accurately measure the amplitude peak value of an input signal due to variations in temperature characteristics of analog elements and elements.

本発明は上記課題を解決するもので、入力アナログ信号
をデジタル変換した後、データレベルより入力信号のピ
ークを検出することができる信号処理装置を提供するこ
とを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to provide a signal processing device that can detect the peak of an input signal from the data level after digitally converting an input analog signal.

課題を解決するための手段 本発明は上記目的を達成するために、アナログ信号をデ
ジタル変換した第1のデジタルデータを入力して第2の
デジタルデータを出力する信号処理装置において、前記
第1のデジタルデータと前記第2のデジタルデータを入
力して、それぞれのデジタルデータの与えるアナログ値
の大きさを比較して第1の制御信号と第2の制御信号を
出力する比較回路と、前記第1の制御信号で前記第1の
デジタルデータと前記第2のデジタルデータを切り換え
て出力する第1の切換器と、前記第2の制御信号で前記
第1の切換器の出力と前記第2のデジタルデータを切り
換えて出力する第2の切換器と、前記第2の切換器の出
力を入力して前記比較回路の次の比較作業の終了まで保
持して前記第2のデジタルデータとして出力する保持回
路を設け、前記第1の制御信号は前記第1と第2のデジ
タルデータの与えるアナログ値の大きい方のデジタルデ
ータを前記第1の切換器から出力するように制御するも
のとし、前記第2の制御信号は、前記第1の切換器のデ
ジタルデータ出力と前記第2のデジタルデータの与える
アナログ値が等しいときは前記第2のデジタルデータを
、等しくないときは前記第2の切換器の出力を、前記第
2の切換器が出力するように制御するものとする信号処
理装置とする。
Means for Solving the Problems In order to achieve the above object, the present invention provides a signal processing device that inputs first digital data obtained by digitally converting an analog signal and outputs second digital data. a comparison circuit that inputs digital data and the second digital data, compares the magnitude of an analog value given by each digital data, and outputs a first control signal and a second control signal; a first switch that switches and outputs the first digital data and the second digital data using a control signal; and a first switch that switches and outputs the first digital data and the second digital data using a control signal; a second switch that switches and outputs data; and a holding circuit that inputs the output of the second switch and holds it until the completion of the next comparison operation of the comparison circuit and outputs it as the second digital data. wherein the first control signal controls the first switch to output the digital data having a larger analog value given by the first and second digital data; The control signal outputs the second digital data when the digital data output of the first switch and the analog value given by the second digital data are equal, and outputs the output of the second switch when they are not equal. , the signal processing device controls the second switch to output.

作用 本発明は上記した構成により、第1の切換器が入力のデ
ジタルデータ(第1のデジタルデータ)と出力のデジタ
ルデータ(第2のデジタルデータ)との大きい方を出力
し、第2の切換器で前回の比較で得た第2の出力と置き
換え(前回のものと同じなら据え置<)、保持回路でそ
れ−を保持する。
Effect of the present invention With the above configuration, the first switching device outputs the larger of input digital data (first digital data) and output digital data (second digital data), and the second switching device outputs the larger one of input digital data (first digital data) and output digital data (second digital data). Replace it with the second output obtained from the previous comparison (if it is the same as the previous one, leave it unchanged), and hold it in the holding circuit.

実施例 以下、本発明の一実施例の信号処理装置について、図面
を参照しながら説明する。
Embodiment Hereinafter, a signal processing device according to an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の信号処理装置の構成を示す
ブロック図である。図において、1はデジタル信号入力
端子、2は2つの入力データXとyのレベルを比較する
比較回路、3と4はその入力端Sの入力の状態によって
出力端Yに出力されるデータをA入力またはS入力に切
り換える切換器、5は切換器4からのデータを保持する
ための保持回路、6は入力データの振幅ピーク値を出力
する出力端子、7はシステムクロックである。
FIG. 1 is a block diagram showing the configuration of a signal processing device according to an embodiment of the present invention. In the figure, 1 is a digital signal input terminal, 2 is a comparator circuit that compares the levels of two input data A switch for switching to input or S input, 5 a holding circuit for holding data from the switch 4, 6 an output terminal for outputting the amplitude peak value of input data, and 7 a system clock.

上記構成要素を第1図に示す接続で構成した実施例の信
号処理装置について、以下その構成要素相互の関係と動
作を説明する。まず、デジタル信号入力端子1に第2図
に示す波形のサンプル値A、B、C・・・・・・に対応
するデジタルデータが入力される場合を考える。第2図
は、デジタル変換されたデジタルデータに対応するアナ
ログ信号の波形である。
Regarding the signal processing device of the embodiment in which the above-mentioned components are connected as shown in FIG. 1, the mutual relationship and operation of the components will be explained below. First, consider a case where digital data corresponding to sample values A, B, C, . . . of the waveform shown in FIG. 2 is input to the digital signal input terminal 1. FIG. 2 shows the waveform of an analog signal corresponding to digital data that has been converted into a digital signal.

デジタル入力端子1に入力されるデータが、第2図のB
点とすれば、比較回路2のy入力にはB時点以前のデー
タが入力されており、今それをA点のデータとしておく
。比較回路2では、X入力のデータとy入力のデータと
をレベル比較する。
The data input to digital input terminal 1 is
If it is a point, the data before time B is input to the y input of the comparator circuit 2, and this is now set as the data at point A. The comparison circuit 2 compares the levels of the data at the X input and the data at the y input.

このとき、x>yの場合には、切換器3の出力Yには切
換器3のA入力が出力され、x<yの場合には、切換器
3の出力Yには、切換器3のS入力が出力されるように
比較回路2のa出力と切換器3のS入力との関係を保つ
構成とする。したがって、切換器3の出力は入力Xとy
の大きい方の入力を出力し、第2図のA点とB点との比
較結果では、切換器3のY出力には、B点のデータレベ
ルが出力される。切換器4の動作は、比較回路2の出力
結果すによりx=yの場合に切換器4のY出力には、切
換器4のB入力が出力され、x+yの場合に切換器4の
Y出力には、切換器4のA入力が出力されるように比較
回路2のb出力と切換器4のS入力との関係を保つ回路
構成とする。DFF5は、切換器4のデータを次の比較
結果が出るまで、データを保持する。
At this time, if x>y, the A input of the switch 3 is output to the output Y of the switch 3, and if x<y, the output Y of the switch 3 is output to the output Y of the switch 3. The configuration is such that the relationship between the a output of the comparator circuit 2 and the S input of the switching device 3 is maintained so that the S input is output. Therefore, the output of switch 3 is input X and y
As a result of comparing points A and B in FIG. 2, the data level of point B is output to the Y output of the switch 3. The operation of the switch 4 is based on the output result of the comparator circuit 2. When x=y, the B input of the switch 4 is output to the Y output of the switch 4, and when x+y, the Y output of the switch 4 is output. In this case, the circuit configuration is such that the relationship between the b output of the comparator circuit 2 and the S input of the switch 4 is maintained so that the A input of the switch 4 is output. The DFF 5 holds the data of the switch 4 until the next comparison result is obtained.

したがって、出力端子6には、入力信号の最大振幅デー
タが出力されることになる。第2図では、F点のデータ
が出力端子6から出力される。
Therefore, the maximum amplitude data of the input signal is output to the output terminal 6. In FIG. 2, data at point F is output from the output terminal 6.

このように本発明の実施例の信号処理装置によれば、ア
ナログ信号をA/D変換したデジタルデータを入力し、
デジタルデータで比較回路で前回に比較したデジタルデ
ータと比較して、大きい方を保持し、次のデジタルデー
タ入力と比較することを連続操作することで、信号のピ
ーク値をデジタル的に検出することができる。
As described above, according to the signal processing device of the embodiment of the present invention, digital data obtained by A/D converting an analog signal is input,
The peak value of a signal is digitally detected by continuously comparing the digital data with the previously compared digital data in a comparison circuit, holding the larger one, and comparing it with the next digital data input. I can do it.

発明の効果 以上の実施例から明らかなように、本発明はアナログ信
号をデジタル変換した第1のデジタルデータを入力して
第2のデジタルデータを出力する信号処理装置において
、前記第1のデジタルデータと前記第2のデジタルデー
タを入力して、それぞれのデジタルデータの与えるアナ
ログ値の大きさを比較して第1の制御信号と第2の制御
信号を出力する比較回路と、前記第1の制御信号で前記
第1のデジタルデータと前記第2のデジタルデータを切
り換えて出力する第1の切換器と、前記第2の制御信号
で前記第1の切換器の出力と前記第2のデジタルデータ
を切り換えて出力する第2の切換器と、前記第2の切換
器の出力を入力して前記比較回路の次の比較作業の終了
まで保持して前記第2のデジタルデータとして出力する
保持回路を設け、前記第1の制御信号は前記第1と第2
のデジタルデータの与えるアナログ値の大きい方のデジ
タルデータを前記第1の切換器から出力するように制御
するものとし、前記第2の制御信号は、前記第1の切換
器のデジタルデータ出力と前記第2のデジタルデータの
与えるアナログ値が等しいときは前記第2のデジタルデ
ータを、等しくないときは前記第2の切換器の出力を、
前記第2の切換器が出力するように制御するものとする
信号処理装置とすることにより、デジタルデータの状態
で信号のピーク値を検出することができ、デジタル的に
信号処理を行なう信号処理値、置にアナログのピーク値
検出回路を設ける必要がなくなる効果がある。
Effects of the Invention As is clear from the above embodiments, the present invention provides a signal processing device that inputs first digital data obtained by converting an analog signal into digital data and outputs second digital data. and said second digital data, and compares the magnitude of an analog value given by each digital data to output a first control signal and a second control signal; and said first control circuit; a first switch that switches and outputs the first digital data and the second digital data with a signal; and a first switch that switches and outputs the first digital data and the second digital data with the second control signal; A second switch for switching and outputting, and a holding circuit for inputting the output of the second switch, holding it until the completion of the next comparison operation of the comparison circuit, and outputting it as the second digital data. , the first control signal is connected to the first and second control signals.
The second control signal is controlled so that the digital data having a larger analog value given by the digital data of the first switch is output from the first switch, and the second control signal is controlled to output the digital data of the digital data of the first switch and the digital data of the first switch. When the analog values given by the second digital data are equal, use the second digital data, and when they are not equal, use the output of the second switch,
By using a signal processing device that controls the second switching device to output, the peak value of the signal can be detected in the state of digital data, and the signal processing value for digitally processing the signal can be detected. This has the effect of eliminating the need to provide an analog peak value detection circuit at each location.

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

第1図は本発明の一実施例の信号処理装置の構成を示す
ブロック図、第2図は本発明の一実施例の信号処理装置
の波形図である。 1・・・・・・第1のデジタルデータ入力端、2・・・
・・・比較回路、3・・・・・・第1の切り換え回路、
4・・・・・・第2の切り換え回路、5・・・・・・保
持回路、6・・・・・・第2のデジタルデータ出力端、
8・・・・・・第1の制御信号、9・・・・・・第2の
制御信号。 代理人の氏名 弁理士 粟野重孝 ほか1名第1図 ylのテ°ダタルテ“ニタ入力i 比中交回路 嬉Iの切1灸回路 第2のt1炎回路 保持口Sδ 第2のデン°°グルテ°ニタ七力□Ω1論第1の制御信
号 第20早’171イ言号
FIG. 1 is a block diagram showing the configuration of a signal processing device according to an embodiment of the present invention, and FIG. 2 is a waveform diagram of the signal processing device according to an embodiment of the present invention. 1...First digital data input terminal, 2...
... Comparison circuit, 3... First switching circuit,
4...Second switching circuit, 5...Holding circuit, 6...Second digital data output terminal,
8...First control signal, 9...Second control signal. Name of agent Patent attorney Shigetaka Awano and 1 other person Figure 1 yl Te° data input i Philippines-China AC circuit Kii I cut 1 Moxibustion circuit 2nd t1 Flame circuit holding port Sδ 2nd Den ° ° Glute °Nita Shichiriki□Ω1 theory 1st control signal 20th early '171 i word

Claims (1)

【特許請求の範囲】[Claims] アナログ信号をデジタル変換した第1のデジタルデータ
を入力して第2のデジタルデータを出力する信号処理装
置において、前記第1のデジタルデータと前記第2のデ
ジタルデータを入力して、それぞれのデジタルデータの
与えるアナログ値の大きさを比較して第1の制御信号と
第2の制御信号を出力する比較回路と、前記第1の制御
信号で前記第1のデジタルデータと前記第2のデジタル
データを切り換えて出力する第1の切換器と、前記第2
の制御信号で前記第1の切換器の出力と前記第2のデジ
タルデータを切り換えて出力する第2の切換器と、前記
第2の切換器の出力を入力して前記比較回路の次の比較
作業の終了まで保持して前記第2のデジタルデータとし
て出力する保持回路を設け、前記第1の制御信号は前記
第1と第2のデジタルデータの与えるアナログ値の大き
い方のデジタルデータを前記第1の切換器から出力する
ように制御するものとし、前記第2の制御信号は、前記
第1の切換器のデジタルデータ出力と前記第2のデジタ
ルデータの与えるアナログ値が等しいときは前記第2の
デジタルデータを、等しくないときは前記第2の切換器
の出力を、前記第2の切換器が出力するように制御する
手段を有する信号処理装置。
In a signal processing device that inputs first digital data obtained by converting an analog signal into digital data and outputs second digital data, the first digital data and the second digital data are input and each digital data is output. a comparison circuit that compares the magnitudes of analog values given by and outputs a first control signal and a second control signal, and a comparison circuit that outputs a first control signal and a second control signal; a first switch that switches and outputs; and a second switch that switches and outputs the output.
a second switch that switches and outputs the output of the first switch and the second digital data using a control signal; and a second switch that inputs the output of the second switch and performs the next comparison of the comparison circuit. A holding circuit is provided that holds the data until the end of the work and outputs it as the second digital data, and the first control signal outputs the digital data with the larger analog value given by the first and second digital data to the second digital data. When the digital data output of the first switch and the analog value given by the second digital data are equal, the second control signal is output from the second switch. A signal processing device comprising means for controlling the digital data of the second switch so that the second switch outputs the output of the second switch when the digital data of the two switches are not equal.
JP2101928A 1990-04-18 1990-04-18 Signal processor Pending JPH04633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2101928A JPH04633A (en) 1990-04-18 1990-04-18 Signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2101928A JPH04633A (en) 1990-04-18 1990-04-18 Signal processor

Publications (1)

Publication Number Publication Date
JPH04633A true JPH04633A (en) 1992-01-06

Family

ID=14313576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2101928A Pending JPH04633A (en) 1990-04-18 1990-04-18 Signal processor

Country Status (1)

Country Link
JP (1) JPH04633A (en)

Similar Documents

Publication Publication Date Title
JPH04633A (en) Signal processor
JP2836428B2 (en) Knock sensor signal processing device
JPS592431A (en) analog to digital converter
JPS62144220A (en) capacitive keyboard switch
JPH01256212A (en) Two-way buffer circuit
US4975774A (en) Art processor in a picture-in-picture system
JP2554471Y2 (en) Digital oscilloscope
JP2888264B2 (en) Peak sample output circuit
JPS63299577A (en) clamp device
JPH06152421A (en) A/d converter
JPH01135116A (en) Input interruption detection circuit
JPH04117731A (en) Detector for broken analog input signal line
JPS63271170A (en) Peak detecting circuit
JPS6349823A (en) Microcomputer
JPH02244202A (en) Control device
JPS63166375A (en) Automatic gain control circuit
JPH03212090A (en) Pilot signal insertion device
JPS58214863A (en) Apparatus for detecting analogue voltage
JPS63164768A (en) Clamp circuit
JPS5923855U (en) Program runaway prevention circuit for digital control equipment
JPH04120676A (en) A/d converter system
JPH04274618A (en) Successive approximation a/d converter
JPH02285804A (en) Digital automatic gain controller
JPS60167527A (en) Analog-to-digital converting circuit
JPH0469697A (en) digital input device