JPS5932806B2 - Multivariable function generator - Google Patents

Multivariable function generator

Info

Publication number
JPS5932806B2
JPS5932806B2 JP54104067A JP10406779A JPS5932806B2 JP S5932806 B2 JPS5932806 B2 JP S5932806B2 JP 54104067 A JP54104067 A JP 54104067A JP 10406779 A JP10406779 A JP 10406779A JP S5932806 B2 JPS5932806 B2 JP S5932806B2
Authority
JP
Japan
Prior art keywords
memory
variable
address
calculation
point
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
JP54104067A
Other languages
Japanese (ja)
Other versions
JPS5629728A (en
Inventor
茂 石井
明生 城
重憲 河村
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.)
Hitachi Denshi KK
Original Assignee
Hitachi Denshi KK
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 Hitachi Denshi KK filed Critical Hitachi Denshi KK
Priority to JP54104067A priority Critical patent/JPS5932806B2/en
Publication of JPS5629728A publication Critical patent/JPS5629728A/en
Publication of JPS5932806B2 publication Critical patent/JPS5932806B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • G06F1/03Digital function generators working, at least partly, by table look-up
    • G06F1/035Reduction of table size
    • G06F1/0356Reduction of table size by using two or more smaller tables, e.g. addressed by parts of the argument

Description

【発明の詳細な説明】 本発明は、ディジタル微分解析機と連動して、多変数関
数の勾配値を発生する多変数関数発生装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a multivariable function generator that generates gradient values of a multivariable function in conjunction with a digital differential analyzer.

従来、各種の多変数関数を必要とするダイナミックシス
テムの解析には、各種計算機のほかに多変数関数発生器
を用い、これから発生される多変数関数を使用して解析
演算が行なわれており、いわゆるMVFG(Multi
VariableFunctionGenerator
、)が多変数関数の発生に用いられていたが、このMV
FGは、ディジタル計算機により計算した変数の各区分
点における関数の勾配値をメモリ内へ格納しておき、ア
ナログ計算機の演算出力がいずれかの区分点に到達した
とき、メモリの内容読み出しを行ない、関数の勾配値を
得るものであり、MVFGの構成は、アナログ回路とデ
ィジタル回路との混合であり、計算機とのインターフェ
イス回路が複雑化すると共に、MVFGの価格自体が高
価になる等の欠点を有し、つぎに述べるディジタル微分
解析機との連動による多変数関数発生装置の出現が要望
されるに至つた。
Conventionally, in the analysis of dynamic systems that require various multivariable functions, multivariable function generators have been used in addition to various computers, and analytical calculations have been performed using the multivariable functions generated. So-called MVFG (Multi
VariableFunctionGenerator
, ) was used to generate multivariable functions, but this MV
The FG stores in memory the gradient value of the function at each division point of the variable calculated by the digital computer, and when the calculation output of the analog computer reaches any division point, reads the contents of the memory, The MVFG is used to obtain the gradient value of a function, and the configuration of the MVFG is a mixture of analog and digital circuits, which has disadvantages such as the complexity of the interface circuit with the computer and the high price of the MVFG itself. However, there has been a demand for a multivariable function generator that works in conjunction with the digital differential analyzer described below.

すなわち、アナログ計算機の機能をディジタル回路によ
り実現したものとしてディジタル微分解析機(Digi
talDifferential」蛙aly2eに。’
以下、DDA)が開発され、アナログ計算機の有する低
演算精度、低再現性を排除すると共に、高演算速度、取
扱容易等の特徴を備えるため、軌跡計算、回路解析等の
ダイナミックシステムに対するシミュレーションにおい
て賞用されつゝある。なお、ディジタル計算機は各種ソ
フトウェアの開発および高演算速度化により、ダイナミ
ックシステムの解析にも適用されているが、演算の複雑
化に比例した演算所要時間の延長によりその稼働コスト
が高価になると共に、人間との対話性が欠除する等の欠
点を有する反面、定量的なデータ処理能力に優れており
、かゝる欠点を補うと同時に、ディジタル計算機とアナ
ログ計算機との利点を兼有するものとしてDDAが開発
され、航行体の航路計算等、多変数関数を用いる演算も
DDAに対して要求されるに至つている。たゞし、DD
Aはアナログ計算機と同様に各種の演算要素を備え、こ
れらの各演算要素間を演算目的に応じて接続のうえ使用
されるが、本質的には区分求積法に基づく増分すなわち
微分値を求めるものであり、ハードウエア構成上の経済
性から一組のみの演算回路を備え、゛演算モードの指令
により演算回路を所望の演算要素として構成のうえ、そ
の演算結果を演算結果メモリへ格納し、つぎの演算モー
ド指令によりつぎの演算要素を構成してその演算結果も
演算結果メモリの他のアドレスへ格納し、この操作を反
復する直列演算形が好適となつており、接続情報と称す
る指◆により演算結果メモリを介した演算結果のアクセ
スを行ない、アナログ計算機における演算要素相互間の
接続に相当する操作を実現している。
In other words, a digital differential analyzer (Digi
talDifferential” to frog aly2e. '
DDA (hereinafter referred to as "DDA") was developed and has received awards in simulations for dynamic systems such as trajectory calculations and circuit analysis because it eliminates the low calculation accuracy and low reproducibility of analog computers, and has features such as high calculation speed and ease of handling. It is being used. Digital computers are also being applied to the analysis of dynamic systems due to the development of various software and higher calculation speeds, but as the calculations become more complex, the time required for calculations increases, which increases the operating cost. Although it has shortcomings such as lack of interactivity with humans, it has excellent quantitative data processing ability, and DDA is considered to compensate for these shortcomings and at the same time combine the advantages of digital and analog computers. has been developed, and calculations using multivariable functions, such as calculating the route of a navigation object, are now required for DDA. Tazushi, DD
Like an analog computer, A is equipped with various calculation elements, and these calculation elements are connected depending on the calculation purpose before use, but essentially it calculates increments or differential values based on the piecewise quadrature method. It is equipped with only one set of arithmetic circuits for economic efficiency in terms of hardware configuration, and ``configures the arithmetic circuit as a desired arithmetic element according to the instruction of the arithmetic mode, stores the arithmetic results in the arithmetic result memory, A serial calculation type is preferred, in which the next calculation element is configured by the next calculation mode command, the calculation result is also stored in another address of the calculation result memory, and this operation is repeated. By accessing the calculation results via the calculation result memory, an operation corresponding to the connection between calculation elements in an analog computer is realized.

したがつて、DDAは同期信号により規正される演算周
期に応じて所定の演算を実行しており、前回の演算周期
における演算結果が演算結果メモリを介して現在の演算
における演算入力となるが、ΔZメモリと称する演算結
果メモリへの書き込みアドレスは、同期信号に基づいて
動作するアドレスカウンタからのアドレス指定信号にし
たがい、ΔZメモリの先頭アドレスから各演算周期の順
位に応じて順次に指定され、ΔZメモリからの読み出し
アドレスの指定は、前述の接続情報を格納した結線メモ
リから、アドレスカウンタよりのアドレス指定信号に応
じて読み出される信号にしたがつて行なわれる。
Therefore, the DDA executes a predetermined calculation according to the calculation cycle regulated by the synchronization signal, and the calculation result in the previous calculation cycle becomes the calculation input for the current calculation via the calculation result memory, The write address to the operation result memory called ΔZ memory is specified sequentially from the start address of ΔZ memory according to the order of each operation cycle according to the address designation signal from the address counter that operates based on the synchronization signal. Designation of the read address from the memory is performed according to a signal read from the wired memory storing the connection information described above in response to an address designation signal from the address counter.

本発明は、か\るDDAによつて多変数関数を用いた演
算処理を行なう際、DDAが必要とする多変数関数の勾
配値を発生させると共に、従来のMVFGにおける欠点
を根本的に排除する目的を有し、変数のあらかじめ定め
た区分点を格納した区分点メモリと、この区分点に応じ
た変数の区分値を各区分点毎に格納し、区分点メモリの
出力により読み出しアドレスが指定される区間値メモリ
と、この区間値メモリの出力とDDAからの変数出力と
を比較する比較器と、この比較器の出力に基づき変数出
力に最も近い近似区分点により区分点メモリの内容を更
新する区分点制御回路とを備え、近似区分点にしたがい
変数の関数に応じた勾配値をDDAへ送出することによ
り、すべてをデイジタル回路によつて構成できる極めて
効果的な、多変数関数発生装置を提供するものである。
The present invention generates the gradient value of the multivariable function required by the DDA when performing arithmetic processing using a multivariable function using the DDA, and fundamentally eliminates the drawbacks of the conventional MVFG. A segment point memory that has a purpose and stores a predetermined segment point of a variable and a segment value of a variable corresponding to this segment point are stored for each segment point, and a read address is specified by the output of the segment point memory. a comparator that compares the output of this interval value memory with the variable output from the DDA, and updates the contents of the segment point memory with the approximate segment point closest to the variable output based on the output of this comparator. The present invention provides an extremely effective multi-variable function generator that can be configured entirely by digital circuits, and is equipped with a division point control circuit and sends gradient values according to functions of variables according to approximate division points to the DDA. It is something to do.

以下、実施例を示す図によつて本発明の詳細を説明する
が、便宜上DDAについて最初に説明する。第1図は、
DDAを含む全構成のプロツク図であり、同期信号とし
てクロツクパルスおよび各種のタイミングパルスを発生
するタイミングパルス発生器TPGが設けられ、これか
らのクロツクパルスCLKによりアドレスカウンタCU
Aがアドレス指定信号を発生し、結線情報を格納した結
線メモリMCおよびセレクタSLへ与えているが、一演
算要素として動作する演算周期の頭初においては、セレ
クタSLが、結線メモリMCの出力を演算結果メモリと
してのΔZメモリMZへ送出するものとなつているため
、アドレスカウンタCUAからのアドレス指定信号によ
り指定された結線メモリMCのアドレスから読み出した
内容が、セレクタSLを介し、ΔZメモリMZのアドレ
ス指定信号として与えられ、これによつて読み出された
ΔZメモリMZの内容が演算回路0Pへ演算入力として
送出される。
Hereinafter, details of the present invention will be explained with reference to figures showing embodiments, but for convenience, DDA will be explained first. Figure 1 shows
This is a block diagram of the entire configuration including the DDA, and is provided with a timing pulse generator TPG that generates clock pulses and various timing pulses as synchronization signals.
A generates an address designation signal and gives it to the connection memory MC that stores connection information and the selector SL, but at the beginning of the calculation cycle when it operates as one calculation element, the selector SL receives the output of the connection memory MC. Since the calculation results are sent to the ΔZ memory MZ as a memory, the contents read from the address of the wired memory MC specified by the address designation signal from the address counter CUA are sent to the ΔZ memory MZ via the selector SL. The contents of the ΔZ memory MZ read out by the addressing signal are sent to the arithmetic circuit 0P as an arithmetic input.

一方、演算回路0Pの演算動作終了後かつつぎの演算周
期へ入る前に、タイミングパルス発生器TPGがタイミ
ングパルスとしての切替信号CSを発生し、セレクタS
Lへ与えており、これによつてセレクタSLは、アドレ
スカウンタCUAからのアドレス指定信号を直接ΔZメ
モリMZへ与え、このとき指定さ句たアドレスへ演算回
路0Pからの演算結果を格納している。
On the other hand, after the arithmetic operation of the arithmetic circuit 0P ends but before entering the next arithmetic cycle, the timing pulse generator TPG generates a switching signal CS as a timing pulse, and the selector S
As a result, the selector SL directly gives the address designation signal from the address counter CUA to the ΔZ memory MZ, and stores the calculation result from the calculation circuit 0P at the specified address at this time. .

なお、以上の動作はアドレスカウンタCUAからのアド
レス指定信号に応じて順次に反復されるものとなつてい
る。また、各演算周期における演算回路0Pの演算モー
ドを指定する信号が演算モードメモリMMに格納されて
おり、アドレスカウンタCUAからのアドレス指定信号
にしたがつて読み出されたうえ、演算回路0Pへ与えら
れるため、同回路0Pは各演算周期毎に所定の演算要素
として動作する。なお、結線メモリMCl演算モードメ
モリMMおよびΔZメモリMZは、この場合アドレスA
dO〜Ad255の合計256アドレスを各々が有して
おり、アドレスカウンタCUAにより演算周期の推移に
したがつて、結線メモリMCおよび演算モードメモリM
Mがその先頭番地から順次にアドレス指定がなされ、こ
れに基づいて演算回路0Pが所定の演算要素として構成
されると同時に、結線メモリMCからの出力によつてΔ
ZメモリMZの読み出しアドレスが指定され、これを演
算入力として演算回路0Pが演算を行なつたうえ、この
演算結果をΔZメモリMZへ与え、アドレスカウンタC
UAにより、演算周期の推移に応じ先頭番地から順次に
指定されるアドレスへ格納する。すなわち、1台のDD
Aについて云えば、各メモリのアドレス数と対応した演
算要素が構成され、アドレス数が合計256では、25
6の演算要素を順次に用いることが町能となつている。
このほか、演算回路0Pの演算結果は増分として得られ
るため、ΔZメモリMZの内容も微分値の増減または無
変化を示すものとなつており、これらから変数の全振幅
を表わす絶対値は得ら・れないが、演算回路0P内のY
レジスタと称するレジスタYRには、演算動作時の加算
絶対値が蓄積されるものとなつているため、レジスタY
Rを介して変数の授受を行なうことが好適となつている
It should be noted that the above operations are sequentially repeated in response to the address designation signal from the address counter CUA. In addition, a signal specifying the calculation mode of the calculation circuit 0P in each calculation cycle is stored in the calculation mode memory MM, and is read out according to the address designation signal from the address counter CUA, and then applied to the calculation circuit 0P. Therefore, the circuit 0P operates as a predetermined calculation element in each calculation cycle. In this case, the connection memory MCl operation mode memory MM and the ΔZ memory MZ are at address A.
Each has a total of 256 addresses from dO to Ad255, and according to the change of the calculation cycle by the address counter CUA, the connection memory MC and calculation mode memory M
M is sequentially addressed from its first address, and based on this address, the arithmetic circuit 0P is configured as a predetermined arithmetic element, and at the same time, Δ
The read address of the Z memory MZ is specified, and the arithmetic circuit 0P performs arithmetic operation using this as an arithmetic input, and then gives the result of this arithmetic operation to the ΔZ memory MZ and inputs it to the address counter C.
The UA stores the data in sequentially specified addresses starting from the first address according to the transition of the calculation cycle. In other words, one DD
Regarding A, the calculation elements corresponding to the number of addresses in each memory are configured, and when the total number of addresses is 256, 25
It has become a noh tradition to use six calculation elements in sequence.
In addition, since the calculation result of the calculation circuit 0P is obtained as an increment, the contents of the ΔZ memory MZ also indicate an increase/decrease or no change in the differential value, and the absolute value representing the total amplitude of the variable cannot be obtained from these.・Although it is not possible, Y in the arithmetic circuit 0P
The register YR, which is called a register, is designed to store the added absolute value during arithmetic operations.
It has become preferable to exchange variables via R.

以上のDDAに対し、本方式を適用した多変数関数発生
装置(DigitalDifferemtialFun
ctiOnGeneratOr.以下、DDFG)は、
変数の区分点を格納した区分点メモリMNおよび変数の
各区分点に応じた変数の区間値を格納した区間値メモリ
MXを主体とし、これらへ、DDAのレジスタYRから
与えられる変数出力を保持する変数ラツチ回路LXおよ
び変数の各区分点と対応した関数の勾配値を格納した勾
配値メモリMG等を付加のうえ構成されており、制御用
のマイクロプログラムを格納した制御メモリMPの出力
により、これらの動作が規制されるものとなつている。
こ\で、1変数xの関数f(x)に例を取り、その値D
が第2図に示す変化のものとすれば、変数Xを所定の間
隔に区分したとき、これらの区分点1〜nと対応した関
数f(x)の勾配値Gは、各区分点1〜n毎のDD/D
xにより示される。
For the above DDA, a multivariable function generator (Digital DifferentialFun) to which this method is applied
ctiOnGenerateOr. Hereinafter, DDFG) is
The main components are a segmentation point memory MN that stores the segmentation points of variables and an interval value memory MX that stores the interval values of variables corresponding to each segmentation point of the variable, and holds the variable output given from the register YR of the DDA to these. It is constructed by adding a variable latch circuit LX and a gradient value memory MG that stores the gradient values of the function corresponding to each division point of the variable. The actions of people are becoming regulated.
Here, taking an example of a function f(x) with one variable x, its value D
Assuming that the change is as shown in Fig. 2, when the variable DD/D for each n
Indicated by x.

したがつて、レジスタYRからの変数出力をXとしたと
き、Xとxの各区分点1〜nにおけるXの絶対値を示す
区分値X1〜XOとを比較し、Xに最も近い近似区分点
を定めれば、その区分点からXと対応した勾配値Gが求
められる。
Therefore, when the variable output from register YR is set to X, X is compared with segment values X1 to XO indicating the absolute value of Once G is determined, the gradient value G corresponding to X can be found from the division point.

以上の原理により、各区分点1〜nに応じた関数f(x
)の勾配値Gを勾配値メモリMGへ格納しており、近似
区分点を示す信号により読み出しアドレスの指定を行な
つているが、近似区分点を求めるために、区分点メモリ
MNおよび区間値メモリMX等の回路が設けてある。
Based on the above principle, the function f(x
) is stored in the gradient value memory MG, and the read address is specified by a signal indicating the approximate segment point.In order to obtain the approximate segment point, the gradient value G of A circuit such as MX is provided.

なお、DDAにおいては、この場合合計256の演算要
素が構成され、順次に各所定の演算モードにしたがつた
演算が行なわれるものとなつているが、この例では、合
計256の演算要素中16のみが多変数関数の変数を取
扱うものとして定められており、この多変数関数用演算
要素と対応して、区分点メモリMNには各6ビツトの1
6アドレスAdO〜Adl5が設けてあり、更にこれと
対応して区間値メモリMXにはMxO−Mzl5のメモ
リが備えてある。
In addition, in the DDA, a total of 256 calculation elements are configured in this case, and calculations are performed sequentially according to each predetermined calculation mode, but in this example, 16 out of the total 256 calculation elements are configured. is defined as one that handles variables of a multivariable function, and corresponding to this multivariable function calculation element, each 6-bit 1 is stored in the segmentation point memory MN.
Six addresses AdO to Adl5 are provided, and correspondingly, the interval value memory MX is provided with memories MxO to Mzl5.

また、この例では、第2図の区分点1〜nが合計64区
間までとなつており、これに応じて区間値メモリMXの
各メモリMxO−Mxl5は、各16ビツトの64アド
レスAdO−Ad63となつている。
Furthermore, in this example, the division points 1 to n in FIG. 2 have a total of 64 intervals, and accordingly, each memory MxO-Mxl5 of the interval value memory MX has 64 addresses AdO-Ad63 of 16 bits each. It is becoming.

すなわち、DDAにおいてアドレスカウンタCUAが各
メモリMC,MM,MZのアドレスAdO〜Ad255
をすべて順次に指定し終る期間を1イターレシヨンと称
すれば、この1イターレシヨンの間に最大16種の関数
を扱うことが可能となつており、この関数発生は、DD
Aの多変数関数用演数要素が構成された演算周期と同期
して行なわれるものとなつている。
That is, in the DDA, the address counter CUA corresponds to the addresses AdO to Ad255 of each memory MC, MM, and MZ.
If the period in which all of the
The calculation is performed in synchronization with the calculation cycle in which the multivariable function operand elements of A are configured.

一方、制御メモリMPには、DDAの多変数関数用演算
要素が多変数x−zを各個別に取扱うため、各時点で扱
う変数が第1変数Xか第2変数yか、あるいは第3変数
zであるかに応じて、これらと対応した近似区分点を求
めたうえ、第1乃至第3変数ラツチ回路Lx−Lzによ
り保持する必要上、DDAの各メモリMC,MM,MZ
のアドレス数と対応し、各々が256アドレスとして3
エリヤに分割された読み出し専用メモリが用いられてお
り、各アドレスは8ビツトの容量を有し、DDAの各メ
モリMC,MM,MZのアドレス中、多変数関数用演算
要素に充当するものとしてあらかじめ定めたアドレスと
同一番地の、各エリアにおけるアドレスへ制御信号が格
納されている。
On the other hand, since the multi-variable function calculation element of the DDA handles each variable x-z individually, the control memory MP stores whether the variable handled at each time is the first variable X, the second variable y, or the third variable. Depending on whether the
corresponds to the number of addresses, each with 256 addresses and 3
A read-only memory divided into areas is used, and each address has a capacity of 8 bits. Among the addresses of each memory MC, MM, and MZ of the DDA, there are predetermined areas that are allocated to calculation elements for multivariable functions. A control signal is stored at the same address in each area as the determined address.

たマし、DDAの多変数関数用演算要素は、DDFGに
対して変数出力Xを送出するものと、DDFGからの勾
配値を受取るものとが別個になつていると共に、両者は
、DDAのアドレスカウンタCUAによつて指定される
順位が離れており、この間におけるアドレスカウンタC
UAからのアドレス指定信号推移に伴なつて制脚メモリ
MPのアドレス指定も推移するうえから、このアドレス
指定推移に応じた制御メモリMPの各アドレスにわたり
、一連の制御を行なうための各制御信号が格納されてい
る。また、制御メモリMPのアドレス指定は、DDAの
アドレスカウンタCUAからのアドレス指定信号におけ
る下位8ビツトにより各エリアの同一アドレスが同時に
指定されると共に、変数メモリMVからの2ビツト信号
により上位ビツトの指定がなされ、この上位ビツトによ
つてエリアの指定が行なわれる。
However, in the multivariable function calculation element of the DDA, the one that sends the variable output The orders specified by the counters CUA are far apart, and the address counters C
Since the address designation of the suspension memory MP also changes with the transition of the address designation signal from the UA, each control signal for performing a series of controls is transmitted to each address of the control memory MP according to the transition of the address designation. Stored. Furthermore, in addressing the control memory MP, the same address in each area is simultaneously designated by the lower 8 bits of the address designation signal from the address counter CUA of the DDA, and the upper bits are designated by the 2-bit signal from the variable memory MV. The upper bit specifies the area.

変数メモリMVは、DDAの各メモリMC,MM,MZ
と同様、アドレスAdO−Ad255を有し、DDAに
おける多変数関数用演算要素と同一番地へ、第1変数x
乃至第3変数zのいずれを取扱うかの指定情報が格納さ
れており、DDAのアドレスカウンタCUAにより、D
DAの各メモリMC,MM,MZと同時に同一番地が指
定され、取扱う変数に応じた情報の読み出しが行なわれ
、これによつて制御メモリMPのエリアを指定している
Variable memory MV is each memory MC, MM, MZ of DDA
Similarly, it has the address AdO-Ad255, and the first variable
to the third variable z is stored, and the address counter CUA of the DDA
The same address is specified for each of the memories MC, MM, and MZ of DA at the same time, and information corresponding to the variables to be handled is read out, thereby specifying the area of the control memory MP.

したがつて、DDAのアドレスカウンタCUAのアドレ
ス指定により、DDA側において変数出力Xを送出する
多変数関数用演算要素が構成されると同時に、DDFG
側においては、制御メモリMPおよび変数メモリMVも
同一番地が指定され、これによつて制御メモリMPは取
扱うべき変数に応じたエリアから制卿信号LS,を変数
ラツチ回路LXへ送出し、レジスタYRからの変数出力
Xを同回路LXにより保持させる。
Therefore, by addressing the address counter CUA of the DDA, an arithmetic element for a multivariable function that sends variable output X is configured on the DDA side, and at the same time, the DDFG
On the side, the same address is specified for the control memory MP and the variable memory MV, so that the control memory MP sends the control signal LS, from the area corresponding to the variable to be handled to the variable latch circuit LX, and registers YR. The variable output X from the circuit LX is held by the same circuit LX.

ついで、アドレスカウンタCUAのアドレス指定推移に
より、制御メモリMPが制御信号ASを区分点メモリM
Nへ送出し、これによつて同メモリMNのアドレス指定
を行なう。
Then, according to the address designation transition of the address counter CUA, the control memory MP transfers the control signal AS to the division point memory M.
MN, thereby specifying the address of the memory MN.

すると、指定されたアドレスの内容が読み出されたうえ
サイクル判別回路CDへ与えられ、こ\において読み出
した区分点を示す信号へ+1の加算が行なわれる。すな
わち、読み出された区分点が第2図の区分点3とすれば
、区分点4の信号がサイクル判別回路CDから送出され
、これがアドレス指定信号として区間値メモリMXへ与
えられる。一方、区間値メモリMX内の各メモリMxO
〜Mxl5は、DDA側の多変数関数用演算要素と対応
して、アドレスカウンタCUAによりいずれかが選択的
に指定されており、メモリMxO〜Mxl5中の選択さ
れたものから、区分点4に応じた変数xの区間値X4が
16ビツトの信号により送出される。
Then, the contents of the designated address are read out and given to the cycle discrimination circuit CD, where +1 is added to the signal indicating the read division point. That is, if the read segmentation point is segmentation point 3 in FIG. 2, the signal at segmentation point 4 is sent out from the cycle discrimination circuit CD, and is applied as an address designation signal to the interval value memory MX. On the other hand, each memory MxO in the interval value memory MX
~Mxl5 corresponds to the calculation element for multivariable functions on the DDA side, and one of them is selectively specified by the address counter CUA, and from the selected one in the memories MxO~Mxl5, according to the division point 4. The interval value X4 of the variable x obtained is sent out as a 16-bit signal.

これに対し、レジスタYRの出力および変数ラツチ回路
LXの出力も16ビツトとなつており、変数ラツチ回路
LXの出力をAとし、区間値メモ1JMXの出力をBと
すれば、A−Bの比較が比較器CPRにおいて行なわれ
、若し、変数出力Xが第2図における区間値X2とX3
との中間であれば、A−Bが負となるため、負の信号が
区分点制御回路DCへ与えられる。
On the other hand, the output of register YR and the output of variable latch circuit LX are also 16 bits, and if the output of variable latch circuit LX is A and the output of interval value memo 1JMX is B, then the comparison of A-B is is performed in the comparator CPR, and if the variable output X is the interval value X2 and X3 in FIG.
If it is between, A-B becomes negative, and therefore a negative signal is given to the demarcation point control circuit DC.

区分点制御回路DCは、負の信号が与えられるとサイク
ル判別回路CDの出力ヘ一1を加算して、区分点4から
再び区分点3を示す信号として区分点メモリMNへ送出
する。
When receiving a negative signal, the division point control circuit DC adds -1 to the output of the cycle discrimination circuit CD, and sends the signal from the division point 4 to the division point memory MN again as a signal indicating the division point 3.

このとき、アドレスカウンタCUAのアドレス指定推移
に伴ない、制御メモリMPが再度の制御信号ASと書き
込み制岬用の制御信号WSとを生ずるため、区分点3を
示す信号が区分点メモリMNの読み出しを行なつたアド
レスへ書き込まれる。すなわち、この場合には内容が更
新されても内容自体は変化しない。ついで、サイクル判
別回路CDが区分点メモリMNからの区分点3を示す信
号へ一1を加算し、区分点2を示す信号としてから区間
値メモリMXへ送出する。すると、区間値メモリMXか
らは区分点2に応じた区間値X2を示す信号を送出する
ため、今度はA−Bが正となり、比較器CPRは正の信
号を生じ、これによつて今度は区分点制御回路DCが全
然加算を行なわずにサイクル判別回路CDの区分点2を
示す出力をそのま\区分点メモリMNへ送出する。すな
わち、区分点制御回路DCは入力が正または零のとき、
サイクル判別回路CDの出力をそのま\送出するものと
なつている。なお、このときアドレスカウンタCUAの
アドレス指定推移に伴ない、制御メモリMPが更に制岬
信号ASと書き込み制御用の制御信号WSとを生じ、こ
れを区分点メモリMNへ与えるため、同メモリMNの最
初に指定されたアドレスへ区分点2を示す信号が確定的
に書き込まれる。
At this time, as the address designation of the address counter CUA changes, the control memory MP generates the control signal AS again and the write-only control signal WS, so that the signal indicating the division point 3 is read from the division point memory MN. is written to the address where it was performed. That is, in this case, even if the content is updated, the content itself does not change. Next, the cycle discrimination circuit CD adds -1 to the signal indicating the segment point 3 from the segment point memory MN, and sends the signal indicating the segment point 2 to the section value memory MX. Then, since the interval value memory MX sends out a signal indicating the interval value The division point control circuit DC directly sends the output indicating division point 2 of the cycle discrimination circuit CD to the division point memory MN without performing any addition. That is, when the input of the demarcation point control circuit DC is positive or zero,
The output of the cycle discrimination circuit CD is sent out as is. At this time, as the address designation of the address counter CUA changes, the control memory MP further generates a control signal AS and a control signal WS for write control, and in order to give these to the dividing point memory MN, the memory MN is A signal indicating division point 2 is definitively written to the first designated address.

したがつて、変数出力Xが区間値X2とX3との中間に
あるときには、変数出力Xに最も近い近似区分点として
の区分点2により、区分点メモリMNの内容が更新され
る。
Therefore, when variable output X is between interval values X2 and X3, the contents of segment point memory MN are updated with segment point 2 as the approximate segment point closest to variable output X.

また、サイクル判別回路CDは、区分点メモリMNの出
力に対する+1および−1の加算を反復すれば、このサ
イクルを判別して動作を停止するが、アドレスカウンタ
CUAからのアドレス指定信号中、下位2ビツトが与え
られており、これによつて示される値の奇数,偶数に応
じて最初に1の加算を行なつてから+1を加算する動作
も行なうものとなつている。
Furthermore, if the cycle discrimination circuit CD repeats the addition of +1 and -1 to the output of the dividing point memory MN, it will discriminate this cycle and stop its operation. A bit is given, and depending on whether the value indicated by this bit is an odd or even number, an operation of first adding 1 and then adding +1 is also performed.

たマし、この場合にも、前述と同様に近似区分点が最終
的に区分点メモリMNへ格納される。なお、区分点メモ
リMNへ格納されている区分点と、変数出力Xとが、+
1および−1の加算によつてもA−Bが正とならぬ程隔
つている場合には、区分点メモリMNの内容が完全な近
似区分点とならないが、DDA側のイターレーシヨンが
反復される都度、区分点メモリMNの内容が正確な近似
区分点へ接近し、常に近似区分点に応じた区間値と、こ
れに隣接する変数増加側の区分点に応じた区間値との間
に変数出力Xが存在する状態へ収斂する。
However, in this case as well, the approximate segmentation points are finally stored in the segmentation point memory MN as described above. Note that the division point stored in the division point memory MN and the variable output X are +
If A-B is too far apart to be positive even by adding 1 and -1, the contents of the segment point memory MN will not be a perfect approximate segment point, but the iteration on the DDA side will be repeated. Each time, the contents of the segment point memory MN approach the accurate approximate segment point, and there is always a gap between the interval value corresponding to the approximate segment point and the interval value corresponding to the adjacent segment point on the side where the variable increases. Converges to a state where variable output X exists.

このほか、サイクル判別回路CDは加減算器とカウンタ
等により構成すればよく、区分点制卸回路DCは各種ゲ
ート回路および加算器等により構成すればよい。
In addition, the cycle discrimination circuit CD may be constructed of an adder/subtractor, a counter, etc., and the division point control circuit DC may be constructed of various gate circuits, adders, etc.

以上により、区分点メモリMNには変数出力Xに対する
近似区分点が格納されるため、これによつて勾配値メモ
リMGのアドレス指定を行なえば同メモリMGから求め
る勾配値が読み出される。
As described above, the approximate segment point for the variable output X is stored in the segment point memory MN, so that if the gradient value memory MG is addressed using this, the gradient value to be determined is read from the memory MG.

しかし、第1変数xのみの関数を要する場合と、第1お
よび第2変数X,yの関数を要する場合と、更に第1乃
至第3変数x−yの関数を要する場合とがあり、勾配値
メモリMGには、第1変数Xと第2変数yとを互に交差
する軸としたマトリクス状のアドレスにより、第1およ
び第2変数X,yによる関数の勾配値が格納されており
、更に、第3変数zの変化に応じて前述のマトリクス状
アドレスを複数として設けたうえ、第1乃至第3変数x
−yによる関数の勾配値が各アドレスに格納されている
。したがつて、関数式を構成する変数の種類に応じ、勾
配値メモリMGの読み出しアドレスを多元的に指定せね
ばならない。このため、制御メモリMPは、アドレスカ
ウンタCUAからのアドレス指定信号推移に伴ない、区
分点メモリMNの内容確定後に、変数メモリMVのエリ
ア指定に応じ、第1変数xを扱うときは制御信号LS2
を第1変数ラツチ回路Lxへ、第2変数yを扱うときに
は制御信号LS3を第2変数ラツチ回路Lyへ、第3変
数zを扱うときには制御信号LS4を第3変数ラツチ回
路Lzへ送出し、扱う変数に応じて第1乃至第3変数ラ
ツチ回路Lx−Lzへ各個に近似区分点を保持させ、以
上の近似区分点を求める動作およびこれを保持する動作
を、必要とする変数の種類に応じて反復する。
However, there are cases where a function of only the first variable x is required, a case where a function of the first and second variables X, y is required, and a case where a function of the first to third variables x-y is required. In the value memory MG, gradient values of functions based on the first and second variables X and y are stored using matrix-like addresses with the first variable X and the second variable y as axes that intersect with each other. Furthermore, in addition to providing a plurality of the above-mentioned matrix-like addresses according to changes in the third variable z, the first to third variables x
The gradient value of the function by -y is stored at each address. Therefore, the read address of the gradient value memory MG must be specified in a multidimensional manner depending on the types of variables forming the functional expression. For this reason, the control memory MP receives the control signal LS2 when handling the first variable x according to the area designation of the variable memory MV after the contents of the division point memory MN are determined in accordance with the transition of the address designation signal from the address counter CUA.
is sent to the first variable latch circuit Lx, when the second variable y is handled, the control signal LS3 is sent to the second variable latch circuit Ly, and when the third variable z is handled, the control signal LS4 is sent to the third variable latch circuit Lz. Approximate division points are held in each of the first to third variable latch circuits Lx-Lz according to the variables, and the operation of obtaining the above approximate division points and the operation of holding them are performed according to the type of variable required. repeat.

この保持内容は、第1乃至第3変数x−zを表わす変数
出力Xの近似区分点を示す信号であり、各変数ラツチ回
路Lx−Lzの出力はデコーダDECによりデコードさ
れたうえ、第1変数xのみのときは1元的、第1および
第2変数X,yのときは2元的、第1乃至第3変数x−
zのときは3元的なアドレス指定信号となり、同メモリ
MGへ与えられる。
This held content is a signal indicating the approximate division point of the variable output X representing the first to third variables xz, and the output of each variable latch circuit Lx-Lz is decoded by the decoder DEC, and When there is only x, it is unidimensional; when the first and second variables are X and y, it is binary; when the first to third variables are x-
When it is z, it becomes a ternary addressing signal and is applied to the same memory MG.

したがつて、勾配値メモリMGからは、変数出力Xの関
数に応じた勾配値が読み出され、データ母線を介してD
DAのレジスタYRへ送出されるため、この時点と同期
して、DDA側に勾配値受取り用の多変数関数用演算要
素を構成することに゜より、所望の勾配値がDDAのレ
ジスタYRにより保持される。
Therefore, the gradient value corresponding to the function of the variable output X is read out from the gradient value memory MG, and the gradient value corresponding to the function of the variable output
Since it is sent to the register YR of the DA, the desired slope value is held in the register YR of the DDA by configuring a multivariable function calculation element for receiving the slope value on the DDA side in synchronization with this point. be done.

なお、第1および第2変数X,yまたは第1乃至第3変
数x−yを演算に用いる場合には、区間値も必要なため
、勾配値メモリMGの出力とは別個の時点において、区
間値メモリMXの出力もデータ母線を介し、レジスタY
Rへ与えるものとなつている。
Note that when using the first and second variables X, y or the first to third variables x-y for calculation, an interval value is also required, so the interval value is The output of value memory MX is also sent to register Y via the data bus.
It is supposed to be given to R.

このほか、制御メモリMPおよび変数メモリMには、あ
らかじめ、DDA側の各メモリMC,MM,MZにおけ
る多変数関数用演算要素のアドレスと同一のアドレスと
して所定の情報が格納されると共に、区分点メモリMN
l区間値メモリMXおよび勾配値メモリMGには、DD
A側で実行すべき演算に応じ、あらかじめ、他のデイジ
タル計算機等により計算して求めた各区分点、各区間値
および各勾配値が格納される。
In addition, in the control memory MP and the variable memory M, predetermined information is stored in advance as the same address as the address of the calculation element for multivariable functions in each of the memories MC, MM, and MZ on the DDA side. Memory MN
The interval value memory MX and gradient value memory MG include DD.
In accordance with the calculation to be executed on the A side, each division point, each interval value, and each gradient value calculated in advance by another digital computer or the like are stored.

たマし、第2図に一例として示すとおり、関数f(x)
の値Dが部分的に急激な変化を呈する場合には、変化状
況の緩急に応じて区分点1〜nの配分を定めればよく、
他の変数Y,zに対しても同様である。
As shown in Figure 2 as an example, the function f(x)
When the value D exhibits a sudden change in some parts, it is only necessary to determine the distribution of division points 1 to n depending on the speed and speed of the change situation.
The same applies to other variables Y and z.

なお、区分点数および各メモリの容量は、演算条件およ
びDDA側の構成に応じて定めればよく、取扱う変数を
xまたはX,yのみに限定し、あるいは更に増加させて
も同様であり、区分点メモリMN乃至区分点制御回路D
C以外の諸回路は条件に応じ種々の変形が自在である。
Note that the number of division points and the capacity of each memory can be determined according to the calculation conditions and the configuration of the DDA side. Point memory MN to division point control circuit D
Circuits other than C can be modified in various ways depending on conditions.

以上の説明により明らかなとおり本発明によれば、全体
がデイジタル回路により構成され、取扱う信号がDDA
側と同一のデイジタル信号となるため、DDAとの連動
が確実かつ容易となり、同時に多変数関数発生装置が安
価に実現すると共に、変数に最も近い近似区分点が正確
に求められる結果、得られる関数の勾配値す正確となり
、DDAにおける多変数関数を用いた演算上多大の効果
を呈する。
As is clear from the above description, according to the present invention, the entire structure is composed of a digital circuit, and the signals handled are DDA.
Since the digital signal is the same as that on the side, interlocking with the DDA becomes reliable and easy, and at the same time, the multivariable function generator can be realized at low cost. The gradient value becomes accurate, which has a great effect on calculations using multivariable functions in DDA.

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

第1図は本発明の実施例を示すプロツク図、第2図は1
変数の関数例を示す図である。 MN・・・・・・区分点メモリ、CD・・・一・・サイ
クル判別回路、MX・・・・・・区間値メモリ、DC・
・・・・・区分点制御回路、MG・・・・・・勾配値メ
モリ、1〜n・・・・・・区分点、X,〜XO・・・・
・・区間値。
Fig. 1 is a block diagram showing an embodiment of the present invention, and Fig. 2 is a block diagram showing an embodiment of the present invention.
It is a figure which shows the example of the function of a variable. MN: Division point memory, CD: 1 cycle discrimination circuit, MX: Interval value memory, DC:
...Section point control circuit, MG...Gradient value memory, 1 to n...Section point, X, ~XO...
...Interval value.

Claims (1)

【特許請求の範囲】[Claims] 1 変数のあらかじめ定めた区分点を格納した区分点メ
モリと、前記区分点に応じた前記変数の区間値を各区分
点毎に格納し前記区分点メモリの出力により読み出しア
ドレスが指定される区間値メモリと、該区間値メモリの
出力とディジタル微分解析機からの変数出力とを比較す
る比較器と、該比較器の出力に基づき前記変数出力に最
も近い近似区分点により前記区分点メモリの内容を更新
する区分点制御回路とを備え、前記近似区分点にしたが
い前記変数の関数に応じた勾配値を前記ディジタル微分
解析機へ送出することを特徴とした多変数関数発生装置
1 A segment point memory that stores predetermined segment points of variables, and an interval value that stores the interval value of the variable according to the segment point for each segment point, and whose read address is specified by the output of the segment point memory. a comparator for comparing the output of the interval value memory with the variable output from the digital differential analyzer; and a comparator for comparing the output of the interval value memory with the variable output from the digital differential analyzer; A multivariable function generating device, comprising: a dividing point control circuit for updating, and transmitting a gradient value corresponding to a function of the variable according to the approximate dividing point to the digital differential analyzer.
JP54104067A 1979-08-17 1979-08-17 Multivariable function generator Expired JPS5932806B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54104067A JPS5932806B2 (en) 1979-08-17 1979-08-17 Multivariable function generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54104067A JPS5932806B2 (en) 1979-08-17 1979-08-17 Multivariable function generator

Publications (2)

Publication Number Publication Date
JPS5629728A JPS5629728A (en) 1981-03-25
JPS5932806B2 true JPS5932806B2 (en) 1984-08-11

Family

ID=14370814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54104067A Expired JPS5932806B2 (en) 1979-08-17 1979-08-17 Multivariable function generator

Country Status (1)

Country Link
JP (1) JPS5932806B2 (en)

Also Published As

Publication number Publication date
JPS5629728A (en) 1981-03-25

Similar Documents

Publication Publication Date Title
JPS6326898B2 (en)
US3939452A (en) Desk-top electronic computer with MOS circuit logic
JPH0570187B2 (en)
EP0361107B1 (en) Micro programme-controlled micro processor including a pointer register and an accessing method therefor
JPH034936B2 (en)
US4800491A (en) Register-stack apparatus
JPS5932806B2 (en) Multivariable function generator
US4723258A (en) Counter circuit
JPH0831033B2 (en) Data processing device
JPS6260755B2 (en)
JPS5821300B2 (en) Memory address information
JPH0588887A (en) Data processor
JPS5840640A (en) Control system of generator for function of several variables
JP3776652B2 (en) Vector arithmetic unit
JPS5840641A (en) Generator for function of several variables
JPS5856138B2 (en) Interlocking method of digital differential analyzer
JPS63262745A (en) Address forming circuit
JPS6111493B2 (en)
JPS6057089B2 (en) Parity control method
JPH01228061A (en) Interpolating circuit
JPH0145106B2 (en)
JPH02204861A (en) Vector data processor
JPH04277841A (en) Time passage recording function constituting system for tracer
JPS6217837A (en) Data processing system
JPS62160529A (en) Data processor