JPS59163672A - Processing system of analog signal - Google Patents

Processing system of analog signal

Info

Publication number
JPS59163672A
JPS59163672A JP3866583A JP3866583A JPS59163672A JP S59163672 A JPS59163672 A JP S59163672A JP 3866583 A JP3866583 A JP 3866583A JP 3866583 A JP3866583 A JP 3866583A JP S59163672 A JPS59163672 A JP S59163672A
Authority
JP
Japan
Prior art keywords
converter
analog
data
analog signal
shared memory
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
JP3866583A
Other languages
Japanese (ja)
Inventor
Teruhisa Anpo
安保 輝久
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP3866583A priority Critical patent/JPS59163672A/en
Publication of JPS59163672A publication Critical patent/JPS59163672A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06GANALOGUE COMPUTERS
    • G06G1/00Hand manipulated computing devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To attain the high-speed processing system of an analog signal by providing a shared memory to be accessed from both sides of a CPU and an A/D converter and eliminating the need for an operation processing at the CPU side after the data is written to the shared memory. CONSTITUTION:The shared memory 6 is accessed from the side of a CPU3 and also with the data of an A/D converter 1 as the address signal. The data on the processing result of the signal corresponding in 1:1 to the analog signal input of the converter 1 is operated by the CPU3 and written to the memory 6. Thus the subsequent data given from the converter 1 are used as an address and the operation result corresponding to the analog signal input is read out to a latch driver 10 from the memory 6. Thus an analog signal can be obtained from the signal processing at the output of a D/A converter 5.

Description

【発明の詳細な説明】 本発明は、アナログ信号入力に所定のディジタル演算を
施してアナログ信号として出力するマイクロコンピュー
タのアナログ1g号α理方式[1m fるO この種のアナログ信号処理は、マイクロコンピュータを
制御中枢部としてアナログ制御系をディジタル制御する
のに利用される。従来のアナログ信号処理方式は、第1
図に示すように、アナログ−ディジタル変換器(A /
 D変換器)1iCよってアナログ18号入力をディジ
タル信号[i摸し、このディジタル信号をバス2全通し
てCPU3に取込み、CPU3ではディジタル信号に対
してメモリ4のうちのデータエリアのデータを使って所
定の演算を施し、この演算結果をCPU3から・くス2
を介してディジタル−アナログ変換器(D、/A変換器
)5に転送し、このり、/A変換器5によって演算結果
をアナログ信号に変換して出力する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is based on a microcomputer analog 1g method [1m fruO] which performs predetermined digital operations on an analog signal input and outputs it as an analog signal. It is used to digitally control an analog control system using a computer as the control center. The conventional analog signal processing method is
As shown in the figure, an analog-to-digital converter (A/
D converter) 1iC converts the analog No. 18 input into a digital signal [i], passes this digital signal through the entire bus 2, and takes it into the CPU 3. The CPU 3 uses the data in the data area of the memory 4 for the digital signal. A predetermined calculation is performed, and the calculation result is sent from the CPU 3 to the computer 2.
The signal is transferred to a digital-to-analog converter (D, /A converter) 5 via the /A converter 5, and the /A converter 5 converts the calculation result into an analog signal and outputs the result.

こうしたアナログ信号の取込みとディジタル信号への変
換、所定の演算、アナログ信号への変換と出力はアナロ
グ信号入力に対して繰り返され、その処理態様は第2図
に示すようになる。この場合、時刻l、でのアナログ信
号取込みからA / D変換時間TI 、 CP U演
算時間Tt 、 D / A変換1庁間T害の和でほぼ
決まる時間TD  だけ遅れてアナログ信号出力が取出
される。この遅れ1f#間TD  は高床性が要求され
る制御系において問題となり、従来技術で(ζ高速のA
/D 、D/AU換器とマイクロコンピユー p f用
意(7て応答性が確保されるが、これでtσ高価な制御
装置になる 本発明は、CPU側とA 、/ D変換器個の両方から
アクセスOT能にした共有メモリを設け、この共有メモ
IJ VcはCPUからアナログ信号入力に1対1に対
応したアナログ信号出力用データkit込んでおき、A
 / D f換器のディジタル出力を共有メモリのアド
レスとして該共有メモリから対応するディジタルデータ
を読出してD / A変換器を通してアナログ信号出力
を得ることにより、高速処理を可能にしたアナログ信号
処理方式を提供することを目的とする。
These analog signal acquisition, conversion to digital signals, predetermined calculations, conversion to analog signals, and output are repeated for analog signal input, and the processing mode is as shown in FIG. In this case, the analog signal output is taken out after a delay of a time TD approximately determined by the sum of the A/D conversion time TI, the CPU calculation time Tt, and the D/A conversion 1 inter-office T harm after the analog signal is taken in at time l. Ru. This delay between 1f# and TD becomes a problem in control systems that require high floor performance.
/D, D/AU converter and microcomputer (7) ensure responsiveness, but this results in an expensive control device. A shared memory that can be accessed OT from both is provided, and this shared memory IJVc contains an analog signal output data kit that corresponds one-to-one to analog signal input from the CPU.
An analog signal processing method that enables high-speed processing by reading the corresponding digital data from the shared memory using the digital output of the D/D converter as an address in the shared memory and obtaining an analog signal output through the D/A converter. The purpose is to provide.

第6図は本発明の一実施例を示すプロン、り図でて与え
られる。マルチプレクサ7HCPUパスライン2のアド
レスバス全通してCPU3から与えられるアドレスデー
タと、A/D変換器lのディジタルデータ出方になるア
ドレスデータとを切換えて共有メモリ6のアドレスとし
て出方する。この切換えはコントロールロジック8のア
ドレス切換指令Sによって制御される。共有メモリ6へ
の書込みデータは、CPU3側がらバス2のデータバス
を通してデータバスドライバ/レシーバ9に4えられ、
このドライバ/レシーバ9はレシーバ動作で共有メモリ
6の゛データをCPU側に取込み可能とすると共にその
ドライバ動作全コントロールロジック8が指令DIRで
指定するときに共有メモ1J6vc与えられる。共付メ
モリ6からの読出しデータはコントロールロジック8か
らのクロックCLKでランチドライバ10に一時d己1
意され、このランチドライバ10のデータbx v /
 A変換器5のディジタルデータ入力として与えられて
該変換器5から対応するアナログI言号として出力され
る。
FIG. 6 is provided in a schematic diagram illustrating one embodiment of the invention. The multiplexer 7 switches between the address data given from the CPU 3 through the entire address bus of the HCPU path line 2 and the address data that becomes the digital data output of the A/D converter 1, and outputs it as the address of the shared memory 6. This switching is controlled by the address switching command S of the control logic 8. The data to be written to the shared memory 6 is sent from the CPU 3 side to the data bus driver/receiver 9 through the data bus 2.
This driver/receiver 9 allows the data in the shared memory 6 to be taken into the CPU side by receiver operation, and the shared memory 1J6vc is given to the driver operation overall control logic 8 when specified by the command DIR. The read data from the shared memory 6 is temporarily sent to the launch driver 10 using the clock CLK from the control logic 8.
The data bx v / of this launch driver 10 is
It is applied as a digital data input to the A converter 5 and output from the converter 5 as a corresponding analog I word.

共有メモリ6のチップセレクトC8,if出し臀込みR
/Wはコントロールロジック8から与えられる。また、
A / D変換器1の変侠開始信号Slと終了信号S2
ぼコントロールロジック8と該変換器1との間で授受さ
れる。コントロールロジック8はパスライン2のコント
ロールバス全通シてCPO2によって制御指令が与えら
れる。
Shared memory 6 chip select C8, if out buttock R
/W is given from control logic 8. Also,
Variation start signal Sl and end signal S2 of A/D converter 1
The data is exchanged between the control logic 8 and the converter 1. The control logic 8 is given control commands by the CPO 2 through the entire control bus of the pass line 2.

こうした構成において、共有メモリ6ばC,PO2側か
らアクセス0T能になろと共にA / D変換器1のデ
ータをアドレス信号としてアクセス可能になる。そして
、共有メモリ6にばA / D変換器1のアナログ信号
入力に1対1に対応する信号処理結果のデータをCPU
3が演算して一書込んでおけば、以後のA 、/ D 
f換器lからのディジタルデータをアドレスとして該ア
ナログ信号入力に対応する演算結果を共有メモリ6から
ラッチドライ/<10に読出してD/Af換器5の出力
に信号処理結果のアナログ信号を得ることができる。
In this configuration, the shared memory 6 becomes accessible from the C and PO2 sides, and the data from the A/D converter 1 becomes accessible as an address signal. Then, the shared memory 6 stores signal processing result data that corresponds one-to-one to the analog signal input of the A/D converter 1.
If 3 is calculated and written once, subsequent A, /D
Using the digital data from the f converter 1 as an address, the calculation result corresponding to the analog signal input is read from the shared memory 6 to the latch dry/<10, and an analog signal of the signal processing result is obtained at the output of the D/Af converter 5. be able to.

例えば、アナログ信号人力Xに対してアナログ信号出力
y Ic y = f (x)の演算を施した値を得る
場合、まず、CPU3はアナログ信号人力Xに1対1に
対応するディンタルデータを共有メモI)6σ〕アドン
スとし、こll/)−γドレスによるアクセスσ)都咬
該データに対応するy=f(x)fυ演轢績米を共有メ
モリ6に4込んでおく。この後、CrtJ3Hコントロ
ールロジック8にアナログ1g号処理指令を4え、コン
トローフレロジック8にマルチフ0レクサ7をアドレス
選択をA/D変換器1 ill VC切換市1j御。
For example, when obtaining a value obtained by performing the calculation of analog signal output y Ic y = f (x) on analog signal human power X, the CPU 3 first shares digital data that corresponds one-to-one to analog signal human power X. Memo I) Set 6σ] addend and store y=f(x)fυ performance corresponding to the data in the shared memory 6. Access by address σ). After this, the analog 1g processing command is sent to the CrtJ3H control logic 8, and the multi-flexor 7 is sent to the control logic 8 to select the address of the A/D converter 1 ill VC switching unit 1j.

共有メモリ6を読出し市1j御状態にし、A/D変換器
1に変換開始信号S1を与える。これにより、A / 
D変換器1のアナログ信号入力は共有メモI36のアド
レスデータとして取扱われ、該アト9レスに対応するデ
ータが共有メモ1ノ5や)ら読出されてドライバ10 
K記憶され、D/A変換器5による変換でアナラグ信号
出力力玉取出される、これに並行して、A/D変換器1
にはその変換終了毎に新たな変換開始信号が与えられる
The shared memory 6 is put into a readout state 1j, and a conversion start signal S1 is given to the A/D converter 1. As a result, A/
The analog signal input to the D converter 1 is treated as address data of the shared memo I36, and the data corresponding to the address 9 is read out from the shared memo 1 to 5) and sent to the driver 10.
K is stored, and an analog signal output signal is taken out by conversion by the D/A converter 5. In parallel, the A/D converter 1
is given a new conversion start signal each time the conversion is completed.

本発明1cよれば、共有メモリ6にデータ書込み後には
CPUa側の演算処理が不要になり、i / 。
According to the invention 1c, after writing data to the shared memory 6, there is no need for arithmetic processing on the CPUa side, and i/.

変換器lの変換処理と共有メモリのアクセスとD/A変
換器5の変換処理のみとなって高速処理ができる。換言
すれば、アナログ信号入力に対する演算処理が複雑にな
るほど処理速度の向上が一鳴効果的になる。また、CP
U側はアナログ信号処理から開放されドライバ/レシー
バ9を通した共有メモリ6のデータ使用も含めて他の入
出力装置に対する処理を並行して行なうことができ、マ
イクロコンピュータの実質的処理能力倉内とでさるn
Only the conversion processing by the converter 1, the access to the shared memory, and the conversion processing by the D/A converter 5 are performed, allowing high-speed processing. In other words, the more complex the arithmetic processing for analog signal input, the more effective the improvement in processing speed becomes. Also, C.P.
The U side is freed from analog signal processing and can perform processing for other input/output devices in parallel, including the use of data in the shared memory 6 through the driver/receiver 9. Desaru n

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

第1図は従来のアナログ信号処理方式全説明するための
ブロック図、第2図は第1図における各部′MJ御を説
明するためのタイムチャート、第6図は本発明の一実施
例を示すブロック図である、■・・・アカログ−ディジ
タル変換器、2・・・パスライン、3・・・CPU、4
・・・メモリ、5・・ディジタルーアナロクK 換6.
6・・・共有メモリ、7・・・アドレスバスマルチクレ
ク丈、8・・・コントロールロジック、9・・・データ
バスドライバ/レシーバ、1o・・・ランチドライバ。 第1図 第2図
Fig. 1 is a block diagram for explaining the entire conventional analog signal processing system, Fig. 2 is a time chart for explaining MJ control of each part in Fig. 1, and Fig. 6 shows an embodiment of the present invention. It is a block diagram, ■...Akalog-digital converter, 2...Pass line, 3...CPU, 4
...Memory, 5...Digital to analog K exchange6.
6... Shared memory, 7... Address bus multi-record length, 8... Control logic, 9... Data bus driver/receiver, 1o... Launch driver. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] アナログ信号入力を対応するデづジタル信号に変換する
アナログ−ディジタル変換器と、このアナログ−ディジ
タル変換器のディジタル信号とCPU側から与えられる
ディジタル信号を切換えてアドレス指定されCPU側か
らのデータが書込まれるランダムアクセスメモリ構成の
共有メモリと、この共有メモリの読出しデータを対応す
るアナログ信号に変換してアナログ信号出力を得るディ
ジタル−アナログ変換器とを備え、CPUにアナログ信
号入力に対して所定の演算処理を施した結果を該アナロ
グ信号入力VC1対1に対応づけたアドレスデータを待
って上記共有メモリに書込んでおき、上記アナログ・1
′g号入力に対する上記アナログ−ディジタル変換器の
変換データkhi己共有メモリのアドレスとして該共有
メモリから読出したデータ奢−ヒ記ディジタルーアナロ
グ変換器のディジタル入力とすることを特徴とするアナ
ログ信号・6埋方式。
An analog-to-digital converter converts an analog signal input into a corresponding digital signal, and the data specified by the CPU is written by switching between the digital signal of this analog-to-digital converter and the digital signal given from the CPU side. a shared memory having a random access memory configuration, and a digital-to-analog converter that converts the read data of the shared memory into a corresponding analog signal to obtain an analog signal output, and The result of the arithmetic processing is written into the shared memory after waiting for address data that corresponds to the analog signal input VC 1 to 1, and the analog 1
The converted data of the analog-to-digital converter for the input of the signal ``g'' is the address of the shared memory, and the data read from the shared memory is used as the digital input of the digital-to-analog converter. 6-fill method.
JP3866583A 1983-03-09 1983-03-09 Processing system of analog signal Pending JPS59163672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3866583A JPS59163672A (en) 1983-03-09 1983-03-09 Processing system of analog signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3866583A JPS59163672A (en) 1983-03-09 1983-03-09 Processing system of analog signal

Publications (1)

Publication Number Publication Date
JPS59163672A true JPS59163672A (en) 1984-09-14

Family

ID=12531562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3866583A Pending JPS59163672A (en) 1983-03-09 1983-03-09 Processing system of analog signal

Country Status (1)

Country Link
JP (1) JPS59163672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08172325A (en) * 1994-12-16 1996-07-02 Korea Electron Telecommun Digital automatic gain control device for satellite repeater

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08172325A (en) * 1994-12-16 1996-07-02 Korea Electron Telecommun Digital automatic gain control device for satellite repeater

Similar Documents

Publication Publication Date Title
US4149242A (en) Data interface apparatus for multiple sequential processors
KR100288038B1 (en) Pipeline semiconductor device suitable for ultra-large scale integration
JPH0230538B2 (en)
EP0172038A2 (en) Information processor
JPS59163672A (en) Processing system of analog signal
JPS6145272B2 (en)
JPH02210685A (en) Dram controller
GB2228813A (en) Data array conversion
JPS6122830B2 (en)
JP2553630B2 (en) Data processing device
JP3323526B2 (en) Digital signal processor
JPS6246897B2 (en)
AU595691B2 (en) Tandem priority resolver
JPS59123957A (en) Digital signal arithmetic device
KR0120598B1 (en) Memory board designing method and device
JPS60134956A (en) Information processing system
JPH0668055A (en) Digital signal processor
SU441858A1 (en) Numerical programme-control digital device
JP2669028B2 (en) Command register circuit
KR820000086B1 (en) Analog signal processing system
SU1529241A1 (en) Twin-processor computing system
JP2642731B2 (en) Address generation circuit
JPH0317143B2 (en)
JPH0256697B2 (en)
JPS6068724A (en) Analog-digital and digital-analog converter