Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6132685B2 - - Google Patents
[go: Go Back, main page]

JPS6132685B2 - - Google Patents

Info

Publication number
JPS6132685B2
JPS6132685B2 JP51120989A JP12098976A JPS6132685B2 JP S6132685 B2 JPS6132685 B2 JP S6132685B2 JP 51120989 A JP51120989 A JP 51120989A JP 12098976 A JP12098976 A JP 12098976A JP S6132685 B2 JPS6132685 B2 JP S6132685B2
Authority
JP
Japan
Prior art keywords
signal
analog
digital
signals
converter
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.)
Expired
Application number
JP51120989A
Other languages
Japanese (ja)
Other versions
JPS5346247A (en
Inventor
Akira Sumi
Fusatoshi Kataoka
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric Corp
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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP12098976A priority Critical patent/JPS5346247A/en
Publication of JPS5346247A publication Critical patent/JPS5346247A/en
Publication of JPS6132685B2 publication Critical patent/JPS6132685B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Microcomputers (AREA)
  • Control By Computers (AREA)

Description

【発明の詳細な説明】 本発明はマイクロコンピユータ等のプロセツサ
を用いた演算装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an arithmetic device using a processor such as a microcomputer.

最近のデイジタル回路技術の進歩によつて、マ
イクロコンピユータ等のプロセツサが小形化さ
れ、かつ安価に入手できるようになり、これに伴
つてマイクロコンピユータ等をアナログ演算装置
に導入しようとする試みがなされている。この場
合、第1図に示すようにプロセツサ2の入力側に
アナログ信号をデイジタル信号に変換するための
アナログデイジタル変換器(以下A/D変換器と
いう)1を、また、出力側にデイジタル信号をア
ナログ信号に変換するためのデイジタルアナログ
変換器(以下D/A変換器という)3をそれぞれ
設けるのが一般的である。また、各種の演算パラ
メータは、デイジタル信号出力が直接得られるサ
ムホイールスイツチ101,102〜104をプ
ロセツサ2の入力側に必要数設けるのが普通であ
る。しかしながら、A/D変換器は回路構成が複
雑で、かつ価格も高価であるために、A/D変換
器とマイクロコンピユータ等とで演算装置を構成
すると、全体装置も複雑かつ高価となる欠点があ
る。さらに、各サムホイールスイツチからのデイ
ジタル信号を受け入れるためには、プロセツサ2
の入力端においてそれぞれ複数ビツトをあてなけ
ればならず、限られた数の入力端を有効に活用す
るうえから好ましくない。
With recent advances in digital circuit technology, processors such as microcomputers have become smaller and available at lower prices.As a result, attempts have been made to incorporate microcomputers into analog processing devices. There is. In this case, as shown in FIG. 1, an analog-to-digital converter (hereinafter referred to as an A/D converter) 1 for converting an analog signal into a digital signal is installed on the input side of the processor 2, and an analog-to-digital converter (hereinafter referred to as an A/D converter) 1 is installed on the input side of the processor 2, and a digital signal is input on the output side. Generally, a digital-to-analog converter (hereinafter referred to as a D/A converter) 3 for converting into an analog signal is provided. Further, it is common practice to provide a necessary number of thumbwheel switches 101, 102 to 104 on the input side of the processor 2 from which digital signal outputs can be directly obtained for various calculation parameters. However, the A/D converter has a complex circuit configuration and is expensive, so if an arithmetic unit is configured with an A/D converter and a microcomputer, the overall device will also be complicated and expensive. be. Additionally, in order to accept digital signals from each thumbwheel switch, the processor 2
A plurality of bits must be applied to each input terminal, which is undesirable from the standpoint of effectively utilizing the limited number of input terminals.

ここにおいて、本発明は、プロセツサの入力側
にA/D変換器を必要とせず、また、演算パラメ
ータをアナログ的に与えることができ、したがつ
て、全体構成が簡単でかつプロセツサの限られた
数の入力端を有効に活用できる安価な演算装置を
実現しようとするものである。
Here, the present invention does not require an A/D converter on the input side of the processor, and can provide calculation parameters in an analog manner. Therefore, the overall configuration is simple and the processor is limited. The aim is to realize an inexpensive arithmetic device that can effectively utilize the number input terminal.

第2図は本発明の一実施例を示す構成ブロツク
図である。図において、11,12,13,1
4,15はそれぞれ比較器、20は各比較器から
の信号を入力とするプロセツサで、例えばマイク
ロコンピユータが使用される。30はプロセツサ
20からのデイジタル信号をアナログ信号に変換
し、その出力を各比較器の他方の入力端に共通に
与えるD/A変換器、40はアナログ信号保持手
段で、例えば半導体スイツチ41、コンデンサ4
2および増幅器43で構成されたサンプルホール
ド回路が使用されている。なお、このアナログ信
号保持手段は、演算結果をデイジタル信号で得る
場合には必要としない。50は演算パラメータ設
定回路で、直流電源51と、この直流電源51に
それぞれポテンシヨメータを形成するように共通
に接続された複数(ここでは4個)の可変抵抗器
52,53,54,55とで構成されており、所
定の演算に必要な各種の演算パラメータをここで
アナログ的に設定する。60はデイジタル信号を
出力する出力端子で、ここではデイジタル指示計
61が接続されている。
FIG. 2 is a block diagram showing an embodiment of the present invention. In the figure, 11, 12, 13, 1
4 and 15 are comparators, respectively, and 20 is a processor which receives the signals from each comparator as input, and is a microcomputer, for example. 30 is a D/A converter that converts the digital signal from the processor 20 into an analog signal and supplies its output to the other input end of each comparator in common; 40 is analog signal holding means, such as a semiconductor switch 41, a capacitor, etc.; 4
2 and an amplifier 43 are used. Note that this analog signal holding means is not required when the calculation result is obtained as a digital signal. Reference numeral 50 denotes a calculation parameter setting circuit, which includes a DC power supply 51 and a plurality of (four in this case) variable resistors 52, 53, 54, 55 commonly connected to the DC power supply 51 to form potentiometers. The various calculation parameters required for a given calculation are set here in an analog manner. 60 is an output terminal for outputting a digital signal, and a digital indicator 61 is connected here.

比較器11は、一方の入力端に演算すべき信号
(被演算信号)e1が与えられており、この被演算
信号e1と他方の入力端に与えられているD/A変
換器30からのアナログ信号efとを比較し、そ
の比較結果をプロセツサ20への入力信号として
与えている。以下同じように、比較器12〜15
は一方の入力端に与えられている演算パラメータ
設定回路50からの各パラメータに対応したアナ
ログ信号e2〜e5とD/A変換器30からのアナロ
グ信号efとを比較し、その比較結果をプロセツ
サ20への入力信号として与えている。プロセツ
サ20は、入力ポート21、例えばリード・ライ
トメモリで構成されたデータメモリ部22、演算
制御部23、例えばリード・オンリーメモリで構
成されたプログラムメモリ部24および出力ポー
ト25で構成されている。入力ポート21は比較
器11〜15からの信号が与えられ、ここで演算
制御部23からの信号によつて比較器11〜15
の出力信号が順次あるいは選択して読み込まれる
のを待つている。データメモリ部22は、演算制
御部23からの信号によつて例えば入力ポート2
1から与えられる信号を一時的に記憶したり、演
算結果を記憶したりする。プログラムメモリ部2
4は、アナログ信号をデイジタル信号に変換する
ための変換手順や周辺回路を制御するための手順
や種々の演算手順さらに演算に必要なデータが予
め記憶されており、その内容が演算制御部23か
らの信号によつて読み出される。演算制御部23
は、入力ポート21に与えられている信号の状態
を読み込みこれをデータメモリ部22に書き込ん
だり、プログラムメモリ部24からの演算手順を
解読したり、ここから読み出したデータやデータ
メモリ部22から読み出した信号を使用してデイ
ジタル演算を行なつたりする。出力ポート25は
データメモリ部22あるいは演算制御部23から
出力されたデイジタル信号が与えられており、演
算制御部23からの信号によつてD/A変換器3
0にデイジタル信号を、あるいは信号保持回路4
0にこの回路を制御するための制御信号を出力す
る。D/A変換器30は出力ポート25から出力
されるデイジタル信号をアナログ信号に変換し、
これを比較器11〜15の他方の入力端に共通に
与えるとともに、プロセツサ20からの出力指令
信号(制御信号)によつてスイツチ41が導通し
たときアナログ信号保持手段40に出力する。
The comparator 11 is provided with a signal to be operated on (signal to be operated on) e 1 at one input terminal, and receives a signal e 1 from the D/A converter 30 provided at the other input terminal. The comparison result is provided as an input signal to the processor 20. Similarly, comparators 12 to 15
compares the analog signals e 2 to e 5 corresponding to each parameter from the calculation parameter setting circuit 50 given to one input terminal with the analog signal e f from the D/A converter 30, and calculates the comparison result. is given as an input signal to the processor 20. The processor 20 is composed of an input port 21, a data memory section 22 composed of, for example, a read/write memory, an arithmetic control section 23, a program memory section 24 composed of, for example, a read-only memory, and an output port 25. The input port 21 is supplied with signals from the comparators 11 to 15, and here, the signals from the comparators 11 to 15 are inputted to the input port 21.
Waiting for output signals to be read sequentially or selectively. For example, the data memory section 22 is connected to the input port 2 by a signal from the arithmetic control section 23.
It temporarily stores signals given from 1 and stores calculation results. Program memory section 2
4 stores in advance conversion procedures for converting analog signals into digital signals, procedures for controlling peripheral circuits, various calculation procedures, and data necessary for calculations, the contents of which are transmitted from the calculation control unit 23. It is read out by the signal. Arithmetic control unit 23
reads the state of the signal applied to the input port 21, writes it to the data memory section 22, decodes the calculation procedure from the program memory section 24, and reads the data read from here or from the data memory section 22. Digital calculations are performed using the signals obtained. The output port 25 is supplied with a digital signal output from the data memory section 22 or the arithmetic control section 23, and is connected to the D/A converter 3 by the signal from the arithmetic control section 23.
0 to digital signal or signal holding circuit 4
0 to output a control signal for controlling this circuit. The D/A converter 30 converts the digital signal output from the output port 25 into an analog signal,
This signal is commonly applied to the other input terminals of the comparators 11 to 15, and is output to the analog signal holding means 40 when the switch 41 is made conductive by the output command signal (control signal) from the processor 20.

このように構成した装置の動作を次に第3図の
タイムチヤートを参照しながら説明する。
The operation of the apparatus constructed as described above will now be explained with reference to the time chart of FIG.

第3図イは被演算信号e1を、第3図ロはプロセ
ツサ20内の動作を統括するサンプリングクロツ
ク信号をそれぞれ示す。ここで、サンプリングク
ロツク信号の周期tは、被演算信号e1の変化速度
等を考慮して決められる。まず、はじめに、プロ
セツサ20は、第3図ハに示すように例えばサン
プリングクロツクの立上りで、プログラムメモリ
部24に記憶されている信号(プログラム)に従
つて比較器11からの出力信号を読み込み、比較
器11、プロセツサ20およびD/A変換器30
で構成されるアナログデイジタル変換ループによ
つて、比較器11の入力端に与えられている被演
算信号をデイジタル信号に変換する。
3A shows the operated signal e1 , and FIG. 3B shows the sampling clock signal that governs the operation within the processor 20. Here, the period t of the sampling clock signal is determined in consideration of the rate of change of the signal e1 to be operated, etc. First, the processor 20 reads the output signal from the comparator 11 according to the signal (program) stored in the program memory section 24, for example, at the rising edge of the sampling clock, as shown in FIG. Comparator 11, processor 20 and D/A converter 30
An analog-to-digital conversion loop constituted by converts the operated signal applied to the input terminal of the comparator 11 into a digital signal.

アナログ信号をデイジタル信号に変換する方式
には種々あるが、例えば逐次比較方式を例にとつ
て説明すれば、第4図フローチヤートの通りであ
る。すなわち、まずはじめに、演算制御部23の
一部に形成したAレジスタの最上桁のビツトに
“1”をセツトさせる()。これによりAレジス
タにこのAレジスタの全容量の50%に相当するデ
イジタル量がセツトされる。次にAレジスタの内
容をD/A変換器30に出力する()。これに
よつてD/A変換器30は前記50%に相当するデ
イジタル量をアナログ量に変換し、このアナログ
信号efが比較器11の他方の入力端に加えられ
る。次に比較器11の出力信号を読み込み、その
信号の状態を判断する()。ここで、読み込ん
だ信号の状態が“0”、すなわちe1<efであれ
ば、Aレジスタの最上桁ビツトに最初にセツトし
ておいた“1”を“0”にリセツトする()。
また、読み込んだ信号の状態が“1”すなわちe1
>efであれば、Aレジスタの最上桁ビツトにセ
ツトしておいた“1”はそのままとする。次にこ
のAレジスタが全桁終了したか否か判断し
()、終了していない場合、次の桁、すなわち最
上桁ビツトに対しては2ビツト目(上位桁ビツト
に対して1/2の重みをもつ)に“1”をセツトす
る()。これによつて、Aレジスタの内容に全
容量の25%もしくは75%に相当するデイジタル信
号がセツトされたことになる。ここで手順は再び
に戻り、前記と同様に〜の操作がなされ
る。ここでの操作では今度は3ビツト目に
“1”がセツトされる。このようにして、前記
〜の操作がAレジスタの全桁終了するまで、す
なわち、Aレジスタの最小桁ビツトに“1”また
は“0”がセツトされるまで続けられる。そし
て、全桁が終了すると、手順は終了し、Aレジス
タに残されている内容が入力アナログ信号e1をデ
イジタル信号に変換した値となる。
There are various methods for converting an analog signal into a digital signal, and the flowchart in FIG. 4 will explain the successive approximation method as an example. That is, first, the most significant bit of the A register formed in a part of the arithmetic control section 23 is set to "1" (). As a result, a digital amount corresponding to 50% of the total capacity of this A register is set in the A register. Next, the contents of the A register are output to the D/A converter 30 (). As a result, the D/A converter 30 converts the digital quantity corresponding to the 50% into an analog quantity, and this analog signal e f is applied to the other input terminal of the comparator 11. Next, the output signal of the comparator 11 is read and the state of the signal is determined (). Here, if the state of the read signal is "0", that is, e 1 < ef , the "1" initially set in the most significant bit of the A register is reset to "0" ().
Also, the state of the read signal is “1”, that is, e 1
> ef , the "1" set in the most significant bit of the A register is left as is. Next, it is determined whether all digits of this A register have been completed (), and if not, the next digit, that is, the second bit for the most significant bit (1/2 of the most significant bit) is determined. (with weight) is set to "1" (). This means that a digital signal corresponding to 25% or 75% of the total capacity is set in the contents of the A register. Here, the procedure returns to step 1 again, and operations .about. are performed in the same manner as described above. In this operation, "1" is set to the third bit. In this way, the above operations are continued until all digits of the A register are completed, that is, until the least significant bit of the A register is set to "1" or "0". When all digits are completed, the procedure ends, and the content left in the A register is the value obtained by converting the input analog signal e1 into a digital signal.

このようにして変換されたデイジタル信号は、
例えばデータメモリ部22の一部にE1として書
き込まれる。次にプロセツサ20は、比較器12
からの出力信号を読み込み、今度は比較器12、
プロセツサ20およびD/A変換器30で構成さ
れるアナログデイジタル変換ループによつて、比
較器12の入力端にアナログ信号で与えられてい
る演算パラメータe2と前記と同様の手順によりデ
イジタル信号に変換し、これが例えばデータメモ
リ部22の一部にE2として書き込まれる。以
下、同じようにして、プロセツサ20は、比較器
13,14,15の入力端にアナログ信号で与え
られている演算パラメータe3,e4,e5をデイジタ
ル信号に変換し、これらはそれぞれデータメモリ
部22の一部にそれぞれE3,E4,E5として書き
込まれる。
The digital signal converted in this way is
For example, it is written into a part of the data memory section 22 as E1 . Next, the processor 20 processes the comparator 12
Read the output signal from comparator 12,
An analog-to-digital conversion loop composed of a processor 20 and a D/A converter 30 converts the calculation parameter e 2 given as an analog signal to the input terminal of the comparator 12 into a digital signal using the same procedure as described above. However, this is written to a part of the data memory section 22 as E2 , for example. Thereafter, in the same manner, the processor 20 converts the calculation parameters e 3 , e 4 , e 5 given as analog signals to the input terminals of the comparators 13 , 14 , 15 into digital signals, and converts these into digital signals. They are written into a part of the memory section 22 as E 3 , E 4 , and E 5 , respectively.

第5図は上記のようにして書き込まれたデータ
メモリ部22内のデータ格納の概念図である。
FIG. 5 is a conceptual diagram of data storage in the data memory section 22 written as described above.

次にプロセツサ20は、第3図ニに示すように
プログラムメモリ部24に記憶されているプログ
ラムに従つて、データメモリ部22に記憶されて
いる各データやあるいはプログラムメモリ部に記
憶されているデータを使用して、所定の演算、例
えば加減乗除演算や、開平演算等所望の演算が施
される。どのような演算を行なうかはプログラム
メモリ部24に予め記憶されているプログラムの
内容による。所定の演算が終了すると、この演算
結果は第3図ホに示すように出力ポート25を介
してデイジタル出力端子60に出力され、表示器
61により演算結果が表示される。また必要あれ
ばD/A変換器30に出力され、ここでアナログ
信号に変換される。そして次に第3図ヘに示すよ
うに出力指令信号をサンプル・ホールドスイツチ
41に出力することによつて、D/A変換器30
からのアナログ信号は、スイツチ41を介してア
ナログ信号保持手段40に印加され、出力端子4
5から第3図トに示すようなアナログ信号の演算
結果を連続して得ることができる。なお、このと
き、D/A変換器30からのアナログ信号は、各
比較器11〜15の他方の入力端にも印加される
が、比較器11〜15の出力信号がプロセツサ2
0に読み込まれていないのでなんら関係しない。
以後、サンプリングクロツク信号の周期を単位と
して上記の動作が繰返して行なわれ、出力端子6
0あるいは出力端子45から更新された演算結果
が得られる。
Next, as shown in FIG. is used to perform desired calculations such as addition, subtraction, multiplication, division, square root calculation, etc. The type of calculation to be performed depends on the contents of the program stored in the program memory section 24 in advance. When the predetermined calculation is completed, the calculation result is outputted to the digital output terminal 60 via the output port 25 as shown in FIG. 3E, and the calculation result is displayed on the display 61. Further, if necessary, the signal is output to the D/A converter 30, where it is converted into an analog signal. Then, as shown in FIG. 3, by outputting an output command signal to the sample/hold switch 41, the D/A converter 30
The analog signal from is applied to the analog signal holding means 40 via the switch 41, and the output terminal 4
5 to 3G can be obtained continuously. Note that at this time, the analog signal from the D/A converter 30 is also applied to the other input terminal of each comparator 11 to 15, but the output signal of the comparator 11 to 15 is applied to the processor 2.
Since it is not read into 0, it is not related in any way.
Thereafter, the above operation is repeated in units of periods of the sampling clock signal, and the output terminal 6
0 or an updated calculation result can be obtained from the output terminal 45.

このような構成に係る本発明の装置は、プロセ
ツサが被演算信号、アナログ信号として与えられ
る各種の演算パラメータのA/D変換、所定の演
算、D/A変換器への出力および必要に応じてア
ナログ信号保持手段への制御信号(出力指令信
号)出力等を時分割コントロールする点に特徴が
あるもので、プロセツサの入力側に高価なA/D
変換器を設ける必要がなく、全体構成を簡単にか
つ安価にできるものである。また、各種の演算パ
ラメータは、いずれも比較器を介してプロセツサ
の入力側に印加されるもので、各比較器からの出
力信号を受け入れるためには、プロセツサ2にお
いて各1個の入力端をあてればよい。したがつ
て、プロセツサの限られた数の入力端を有効に活
用できる。換言すれば、プロセツサに数多くの演
算パラメータを与えることができ、複雑な演算を
行なわせることができる。また、各種の演算パラ
メータを可変抵抗器等でアナログ的に設定できる
ので、操作性が良好であり、そのうえ、電源の停
電時等に対しても演算パラメータはそのまま保持
されるという特長がある。更に、演算パラメータ
設定回路を、直流電源にそれぞれポテンシヨメー
タを形成するように共通に接続された複数の可変
抵抗器で構成したことから、各ポテンシヨメータ
から得られる演算パラメータを示す各アナログ信
号のレベルを、直流電源の大きさの範囲でいずれ
も入力アナログ信号のレベルと同程度に設定する
ことができ、従つて、A/D変換のための各回路
を各入力信号に対して共用できる。また、演算パ
ラメータ設定回路を電源を共通とするコモンアー
スの回路構成にできるので、この設定回路を容易
に構成できる。
In the device of the present invention having such a configuration, the processor performs A/D conversion of the signal to be operated on, various calculation parameters given as analog signals, predetermined calculations, output to the D/A converter, and as needed. It is characterized by time-division control of the control signal (output command signal) output to the analog signal holding means, and an expensive A/D on the input side of the processor.
There is no need to provide a converter, and the overall configuration can be made simple and inexpensive. In addition, all the various calculation parameters are applied to the input side of the processor via comparators, and in order to receive the output signal from each comparator, one input end of processor 2 must be applied. Bye. Therefore, the limited number of input terminals of the processor can be effectively utilized. In other words, a large number of calculation parameters can be given to the processor, allowing it to perform complex calculations. Furthermore, since various calculation parameters can be set in an analog manner using variable resistors or the like, operability is good, and furthermore, calculation parameters are retained as they are even in the event of a power outage. Furthermore, since the calculation parameter setting circuit is configured with a plurality of variable resistors commonly connected to the DC power supply so as to form potentiometers, each analog signal indicating the calculation parameter obtained from each potentiometer can be can be set to the same level as the input analog signal within the range of the DC power supply size, and therefore each circuit for A/D conversion can be shared for each input signal. . Further, since the calculation parameter setting circuit can be configured as a common ground circuit using a common power source, this setting circuit can be easily configured.

第6図および第7図は本発明の他の実施例を示
す構成ブロツク図である。
FIGS. 6 and 7 are block diagrams showing other embodiments of the present invention.

第6図の実施例は、被演算信号e1、演算パラメ
ータ設定回路50からの各種演算パラメータ信号
e2〜e5を切換えるマルチプレクサ10を比較器1
1の入力側に設け、ここで選択されたアナログ信
号を比較器11の一方の入力端に加えるようにす
るとともに、このマルチプレクサ10をプロセツ
サ20からの出力制御信号によつて制御するよう
にしたものである。また、プロセツサ20の入力
側に、例えば演算制御部からの指令順序や演算手
順を適宜変更するための割込み信号もしくは、プ
ログラムによる割出しを行なうためのデイジタル
信号等を加える端子16を設けたものである。こ
のように構成した装置によれば、マルチプレクサ
10が必要である代りに比較器が1個でよいとい
う特長があり、演算パラメータが多数ある場合に
より効果的である。また端子16に例えば割込信
号を与え、これによつてプロセツサ20内におけ
る演算手順や信号処理順序等を適宜変更させるこ
とができる。
The embodiment shown in FIG. 6 uses the operated signal e 1 and various calculation parameter signals from the calculation parameter setting circuit
A multiplexer 10 that switches between e 2 and e 5 is connected to a comparator 1.
The analog signal selected here is applied to one input terminal of the comparator 11, and the multiplexer 10 is controlled by the output control signal from the processor 20. It is. Further, on the input side of the processor 20, a terminal 16 is provided for applying, for example, an interrupt signal for appropriately changing the order of commands or calculation procedure from the calculation control section, or a digital signal for performing indexing by a program. be. The device configured in this manner has the advantage that only one comparator is required instead of the multiplexer 10, and is more effective when there are a large number of calculation parameters. Furthermore, by applying an interrupt signal to the terminal 16, for example, the calculation procedure, signal processing order, etc. within the processor 20 can be changed as appropriate.

第7図の実施例は、プロセツサ20の出力側に
D/A変換器の一種であるデイジタル信号パルス
幅信号変換器30を設け、デイジタル信号をパル
ス幅信号に変換するようにし、これを例えばフオ
トカツプラのようなアイソレーシヨン手段31お
よび平滑回路32を介して比較器11〜13の他
方の入力端に共通に印加するようにしたものであ
る。また、各比較器11〜13の出力は、アイソ
レーシヨン手段33〜35を介してプロセツサ2
0に与えるとともに、デイジタル信号パルス幅信
号変換器30の出力をアイソレーシヨン手段36
を介してアナログ信号保持手段40に与えるよう
にしたものである。また、プロセツサ20からの
デイジタル出力をアイソレーシヨン手段37を介
してデイジタル機器62に出力するようにしたも
のである。また、ここでは2種の被演算信号e1
e2を入力とするもので、これらは比較器11,1
2の一方の入力端に印加させ、演算パラメータ設
定回路50からの信号e3〜e6はマルチプレクサ1
0で選択して比較器13の一方の入力端に印加さ
せるようにしたものである。なお、マルチプレク
サ10はプロセツサ20からの出力制御信号が、
アイソレーシヨン手段38を介して与えられ、こ
れによつて制御されている。このような実施例装
置によれば、入力側と出力側とを容易に絶縁でき
る特長がある。また、2種の被演算信号e1,e2
互いに関連させたような演算を行なわせることが
できる。なお、この実施例において被演算信号
e1,e2をマルチプレクサ10に印加させ、ここで
選択するようにしてもよいし、マルチプレクサ1
0をなくし、各信号をそれぞれ比較器を介してプ
ロセツサ20に印加させるようにしてもよい。ま
た被演算信号の数は2以上でもよい。
In the embodiment shown in FIG. 7, a digital signal pulse width signal converter 30, which is a type of D/A converter, is provided on the output side of the processor 20 to convert the digital signal into a pulse width signal, and converts the digital signal into a pulse width signal, such as a photocoupler. The voltage is commonly applied to the other input terminals of the comparators 11 to 13 through an isolation means 31 and a smoothing circuit 32 such as the above. Furthermore, the outputs of the comparators 11 to 13 are sent to the processor 2 via isolation means 33 to 35.
0 and the output of the digital signal pulse width signal converter 30 to the isolation means 36.
The signal is supplied to the analog signal holding means 40 via the analog signal holding means 40. Further, the digital output from the processor 20 is outputted to the digital device 62 via the isolation means 37. In addition, here, two types of operand signals e 1 ,
e 2 as input, these are comparators 11 and 1
The signals e 3 to e 6 from the calculation parameter setting circuit 50 are applied to one input terminal of the multiplexer 1.
0 is selected and applied to one input terminal of the comparator 13. Note that the multiplexer 10 receives the output control signal from the processor 20,
It is provided via isolation means 38 and is controlled thereby. The apparatus of this embodiment has the advantage that the input side and the output side can be easily insulated. Further, it is possible to perform calculations in which the two types of operated signals e 1 and e 2 are related to each other. Note that in this embodiment, the operated signal
e 1 and e 2 may be applied to the multiplexer 10 and selected here, or the multiplexer 1
0 may be omitted and each signal may be applied to the processor 20 via a comparator. Further, the number of signals to be operated on may be two or more.

本発明に係る装置において、演算すべき信号の
1つをプロセスからの測定信号とするとともに、
演算パラメータ設定回路50を設定値(目標
値)、比例帯、積分時定数、微分時定数のいずれ
かをアナログ的に設定できるように構成すれば、
調節計としての作用をもたせることが可能であ
る。
In the device according to the invention, one of the signals to be calculated is a measurement signal from a process, and
If the calculation parameter setting circuit 50 is configured so that any of the set value (target value), proportional band, integral time constant, and differential time constant can be set in an analog manner,
It is possible to have it function as a controller.

以上説明したように、本発明によれば、構成が
簡単でかつ、各種の演算パラメータをアナログ的
に設定でき、しかも各パラメータ値が停電等によ
つて消失することのない演算装置が実現できる。
As described above, according to the present invention, it is possible to realize an arithmetic device with a simple configuration, in which various arithmetic parameters can be set in an analog manner, and in which each parameter value does not disappear due to a power outage or the like.

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

第1図は従来のプロセツサを用いた演算装置の
ブロツク図、第2図は本発明の一実施例を示す構
成ブロツク図、第3図は第2図装置の動作を説明
するためのタイムチヤート、第4図はプロセツサ
がアナログ信号をデイジタル信号に変換する場合
の変換手段の一例を示すフローチヤート、第5図
はプロセツサ内のデータメモリ部に書き込まれた
データ格納の概念図、第6図および第7図は本発
明の他の実施例を示す構成ブロツク図である。 11〜15……比較器、20……プロセツサ、
21……入力ポート、22……データメモリ部、
23……演算制御部、24……プログラムメモリ
部、25……出力ポート、30……D/A変換
器、40……アナログ信号保持手段、50……演
算パラメータ設定回路、60……デイジタル信号
出力端子、10……マルチプレクサ。
FIG. 1 is a block diagram of an arithmetic device using a conventional processor, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a time chart for explaining the operation of the device shown in FIG. FIG. 4 is a flowchart showing an example of conversion means when the processor converts an analog signal into a digital signal, FIG. 5 is a conceptual diagram of data storage written in the data memory section in the processor, and FIGS. FIG. 7 is a block diagram showing another embodiment of the present invention. 11-15... comparator, 20... processor,
21...Input port, 22...Data memory section,
23... Arithmetic control unit, 24... Program memory unit, 25... Output port, 30... D/A converter, 40... Analog signal holding means, 50... Arithmetic parameter setting circuit, 60... Digital signal Output terminal, 10... multiplexer.

Claims (1)

【特許請求の範囲】 1 プロセツサ、このプロセツサから出力される
デイジタル信号をアナログ信号に変換するデイジ
タルアナログ変換器、直流電源とこの直流電源に
それぞれ共通に接続された2以上の可変抵抗器と
で構成され2以上の演算パラメータをアナログ的
に設定する演算パラメータ設定回路、演算すべき
入力アナログ信号と前記演算パラメータ設定回路
の各可変抵抗器から得られる演算パラメータを示
す複数のアナログ直流電圧信号及び前記デイジタ
ルアナログ変換器の出力信号とを入力しこれらの
信号を前記プロセツサに読み込ませるための比較
器を含む信号読み込み回路を具備し、 前記プロセツサは、サンプリング周期ごとに前
記比較器、当該プロセツサ、前記デイジタルアナ
ログ変換器を含んで形成されるループによつて前
記演算すべき入力アナログ信号及び前記各ポテン
シヨメータから得られる演算パラメータを示す複
数のアナログ直流電圧信号をそれぞれデイジタル
信号に変換し、これらの各デイジタル信号を利用
して所定の演算を行ない、この演算結果を前記デ
イジタルアナログ変換器を介して出力することを
繰り返すことを特徴とする演算装置。 2 デイジタルアナログ変換器として、デイジタ
ル信号をこれに対応したパルス幅信号に変換する
デイジタルパルス幅変換器を用いた特許請求の範
囲第1項記載の演算装置。 3 信号読み込み回路を、デイジタルパルス幅変
換器からのパルス幅信号を入力するアイソレーシ
ヨン手段と、このアイソレーシヨン手段を介して
印加される信号と入力アナログ信号及び又は演算
パラメータ設定回路からのアナログ信号とを比較
する比較器と、この比較器の出力信号を入力する
アイソレーシヨン手段とを含んで構成した特許請
求の範囲第2項記載の演算装置。
[Scope of Claims] 1 Consists of a processor, a digital-to-analog converter that converts digital signals output from the processor into analog signals, a DC power supply, and two or more variable resistors each commonly connected to the DC power supply. a calculation parameter setting circuit for setting two or more calculation parameters in an analog manner; a plurality of analog DC voltage signals indicating input analog signals to be calculated and calculation parameters obtained from each variable resistor of the calculation parameter setting circuit; a signal reading circuit including a comparator for inputting an output signal of an analog converter and reading these signals into the processor; A loop formed including a converter converts the input analog signal to be calculated and the plurality of analog DC voltage signals indicating the calculation parameters obtained from each potentiometer into digital signals, and converts each of these digital signals into digital signals. An arithmetic device characterized in that it repeatedly performs a predetermined arithmetic operation using a signal and outputs the result of the arithmetic operation via the digital-to-analog converter. 2. The arithmetic device according to claim 1, which uses a digital pulse width converter that converts a digital signal into a pulse width signal corresponding to the digital signal as the digital to analog converter. 3. A signal reading circuit is connected to an isolation means for inputting a pulse width signal from a digital pulse width converter, and a signal applied through this isolation means, an input analog signal, and/or an analog input from the calculation parameter setting circuit. 3. An arithmetic device according to claim 2, comprising: a comparator for comparing the signals; and isolation means for inputting the output signal of the comparator.
JP12098976A 1976-10-08 1976-10-08 Arithmetic operating unit Granted JPS5346247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12098976A JPS5346247A (en) 1976-10-08 1976-10-08 Arithmetic operating unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12098976A JPS5346247A (en) 1976-10-08 1976-10-08 Arithmetic operating unit

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP17544880A Division JPS56140402A (en) 1980-12-12 1980-12-12 Operating device

Publications (2)

Publication Number Publication Date
JPS5346247A JPS5346247A (en) 1978-04-25
JPS6132685B2 true JPS6132685B2 (en) 1986-07-29

Family

ID=14800017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12098976A Granted JPS5346247A (en) 1976-10-08 1976-10-08 Arithmetic operating unit

Country Status (1)

Country Link
JP (1) JPS5346247A (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56166765A (en) * 1980-05-26 1981-12-22 Oki Electric Ind Co Ltd Rectified power source system
JPH0718761B2 (en) * 1980-09-19 1995-03-06 株式会社ニコン Photometric device
JPS5963975A (en) * 1982-10-01 1984-04-11 Origin Electric Co Ltd Controlling method for rectifier
JPS59140554A (en) * 1983-02-01 1984-08-11 Fuji Xerox Co Ltd Electronic device
JPS605096A (en) * 1983-06-22 1985-01-11 Shin Etsu Handotai Co Ltd Method and apparatus for producing single crystal
JPS6046773A (en) * 1983-08-22 1985-03-13 Toshiba Corp Power converter
JPH0648640Y2 (en) * 1983-10-08 1994-12-12 日置電機株式会社 Digital wave memory
JPH087460Y2 (en) * 1986-10-15 1996-03-04 象印マホービン株式会社 Rice jar control device
JP2009116832A (en) * 2007-11-09 2009-05-28 Yamaha Motor Electronics Co Ltd Printed circuit board

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS554283B2 (en) * 1973-09-17 1980-01-29

Also Published As

Publication number Publication date
JPS5346247A (en) 1978-04-25

Similar Documents

Publication Publication Date Title
US4149256A (en) Analog signal processing system
US4146750A (en) Analog multiplexer control circuit
US4528623A (en) Controller with programmer for selectively providing programs to operate controller
JPS6132685B2 (en)
US3529297A (en) Hybrid interface having repetitious channel addressing
US3462588A (en) Digital attenuator which controls a variable conductance
SU744587A1 (en) Microprogramme processor
US3039688A (en) Digital incremental computer
KR820000086B1 (en) Analog signal processing system
US4323978A (en) Arithmetic element based on the DDA principle
SU760105A1 (en) Information measuring system
EP0613094A2 (en) Signal processing system having a DSP-based CPU
JPS5585231A (en) Digital thermometer
Taylor System design of data acquisition units
JPS642179Y2 (en)
JPS6120029B2 (en)
JPH0243211B2 (en)
JPS5942920B2 (en) Arithmetic unit
JP3142071B2 (en) Digital defuzzifier circuit
JPS5752954A (en) Information processing equipment
SU1226338A1 (en) Apparatus for phase-meter calibration test
SU959073A1 (en) Logarithmic converter
JPS62143165A (en) Electronic calculator with formula storage function
JPS6131891B2 (en)
SU459777A1 (en) Device for reproducing functions