SU1171807A1 - Interpolating device - Google Patents
Interpolating device Download PDFInfo
- Publication number
- SU1171807A1 SU1171807A1 SU843717492A SU3717492A SU1171807A1 SU 1171807 A1 SU1171807 A1 SU 1171807A1 SU 843717492 A SU843717492 A SU 843717492A SU 3717492 A SU3717492 A SU 3717492A SU 1171807 A1 SU1171807 A1 SU 1171807A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- outputs
- output
- inputs
- register
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
УСТРОЙСТВО ИНТЕРПОЛЯЦИИ , содержащее первый и второй счетчики , первый и второй входные регистры, блок пам ти, первый буферный регистр и блок управлени , выходы первого и второго счетчиков соединены с адресным входом блока пам ти, причем блок управлени содержит группу элементов И, счетчик адреса, триггер и элемент И, отличающеес тем, что, с целью повышени быстродействи , в него введены второй буферный регистр, две группы сумматоров по модулю два, три коммутатора , матричный умножитель и регистр результата, выход которого соединен с выходом устройства и информационными входами первого и второго буферных регистров , выходы которых соединены с первыми информационными входами соответственно первого и второго коммутаторов, вторые информационные входы которых соединены соответственно с входом логического нул устройства и выходами сумматоров по модулю два первой группы, выход блока пам ти соединен с первым информационным входом третьего коммутатора, второй информационный вход которого соединен с выходами сумматоров по модулю два второй группы, выходы первого и второго входных регистров соединены с третьими информационными входами соответственно второго и третьего коммутаторов и первыми входами соответствующих разр дов сумматоров по модулю два соответственно первой н второй групп, вторые входы сумматоров по модулю два соединены с входом логической единицы устройства и четвертым информационным входом третьего коммутатора , информационные входы первых счетчика и входного регистра соединены с входом первого аргумента устройства, вход второго аргумента которого соединен с информационными входами вторых счетчика и входного регистра, выходы с первого по третий коммутаторов соединены с входами соответственно коэффициента первого и второго сомножителей матричного умножиI тел , выход которого соединен с информационным входом регистра результата, причем (Л в блок управлени введены узел пам ти и генератор импульсов, выход которого соединен с первым входом элемента И, выход которого соединен со счетным входом счетчика адреса и первыми входами элементов И группы, вторые входы которых соединены с выходами соответствующих разр дов первой группы выходов узла пам ти, адресный вход которого соединен с выходом счетчика адреса, вход устаСХ ) новки в «О которого соединен с входом установки в «1 триггера и входом запуска о устройства; выход готовности которого соединен с инверсным выходом триггера, пр мой выход и вход установки в «О которого соединены соответственно с вторым входом элемента И и выходом старшего разр да второй группы выходов узла пам ти, выходы второй группы узла пам ти соединены с управл ющими входами с первого по третий коммутаторов, выходы с первого по дес тый элементов И группы соединены соответственно с входом суммировани первого счетчика, входом синхронизации первого счетчика, входом синхронизации первого входного регистра, входом сумThe INTERPOLATION DEVICE contains the first and second counters, the first and second input registers, the memory block, the first buffer register and the control unit, the outputs of the first and second counters are connected to the address input of the memory unit, the control unit contains a group of elements AND, an address counter, trigger and an element, characterized in that, in order to increase speed, a second buffer register, two groups of modulo two modulators, three switches, a matrix multiplier and a result register, whose output is connected to device output and information inputs of the first and second buffer registers, the outputs of which are connected to the first information inputs of the first and second switches, respectively, the second information inputs of which are connected respectively to the input of the logical zero of the device and the outputs of modulators two of the first group, the output of the memory block is connected to the first information input of the third switch, the second information input of which is connected to the outputs of modulo-two adders of the second group, the outputs of the first o and the second input registers are connected to the third information inputs of the second and third switches, respectively, and the first inputs of the corresponding bits of modulo adders, respectively, of the first and second groups, the second inputs of modulo adders, two are connected to the input of the logical unit of the device and the fourth information input of the third switchboard, the information inputs of the first counter and the input register are connected to the input of the first argument of the device, the input of the second argument of which is connected to the information Ion inputs of the second counter and the input register, the outputs of the first and third switches are connected to the inputs of the coefficient of the first and second multipliers of the matrix multiplication body, the output of which is connected to the information input of the result register, moreover (a memory node and a pulse generator are entered into the control unit, the output of which is connected to the first input of the I element, the output of which is connected to the counting input of the address counter and the first inputs of the AND elements of the group, the second inputs of which are connected to the outputs according to The first bits of the memory node, the address input of which is connected to the output of the address counter, the installation input of the device in “About which is connected to the installation input of“ 1 trigger and the start input of the device; the readiness output of which is connected to the inverse trigger output, the direct output and the installation input in “About which are connected respectively to the second input of the AND element and the high-order output of the second group of outputs of the memory node, the outputs of the second group of the memory node are connected to control inputs first to third switches, the outputs from the first to tenth elements of the AND group are connected respectively to the summing input of the first counter, the synchronization input of the first counter, the synchronization input of the first input register, the input of the sum
Description
мировани - второго счетчика, входом вычитани второго счетчика, входом синхронизации второго счетчика, входом синхронизации второго входного регистра, входом синхронизации первого буферного регистра , входом синхронизации второго буферного регистра и входом синхронизации регистра результата, вторые входы сумматоров по модулю два с второго по п-й (п-раз р дность аргумента) первой и второй групп соединены с выходами соответственно с первого по (п-1)-й тех же групп.Mirovani - second counter, the subtraction input of the second counter, the synchronization input of the second counter, the synchronization input of the second input register, the synchronization input of the first buffer register, the synchronization input of the second buffer register and the synchronization input of the result register, the second inputs of modulators two from the second to the nth (n-times the order of the argument) of the first and second groups are connected to the outputs, respectively, from the first to the (n-1) -th same groups.
Изобретение предназначено дл использовани в качестве аппаратного расширител в микропроцессорных системах и может найти применение в приборостроении, управл ющих и информационно-измерительных системах.The invention is intended for use as a hardware extender in microprocessor systems and can be used in instrument engineering, control and information measuring systems.
Цель изобретени - повышение быстродействи .The purpose of the invention is to increase speed.
На фиг. 1 изображена схема устройства; на фиг. 2 - схема блока управлени дл предлагаемого устройства.FIG. 1 shows a diagram of the device; in fig. 2 is a control block diagram for the proposed device.
Устройство содержит счетчики I и 2, входные регистры 3 и 4, блок 5 пам ти, группы сумматоров 6 и 7 по модулю два, коммутаторы 8-10, буферные регистры 11 и 12, матричный умножитель 13, регистр 14 результата и блок 15 управлени . Счетчики 1 и 2 и регистры 3 и 4 образуют блоки 16 и 17 приема кодов аргументов. Блок 15 управлени содержит генератор 18 импульсов, адресный вход 19 узла пам ти , счетчик 20 адреса узел 21 пам ти, триггер 22, группу 23 элементов И, элемент И 24, вход «Старт 25, выходы «Готов 26, «Управление 27 и «Адрес 28.The device contains counters I and 2, input registers 3 and 4, memory block 5, groups of adders 6 and 7 modulo two, switches 8-10, buffer registers 11 and 12, matrix multiplier 13, result register 14 and control block 15. Counters 1 and 2 and registers 3 and 4 form blocks 16 and 17 of reception of argument codes. The control unit 15 comprises a pulse generator 18, an address of the memory node address 19, an address counter 20, a memory node 21, a trigger 22, a group of 23 elements AND, an element 24, an input "Start 25, outputs" Ready 26, "Control 27 and" Address 28.
Устройство работает следуюш1им образом.The device works as follows.
При занесении рагументов g блоки 16 и 17приема кодов аргументов аргументы X и Y раздел ютс на группы старших разр дов Хс и Ye , которые занос тс в счетчики I и 2 соответственно, и группы младших разр дов аргументов Х и У, которые за-, нос тс в регистры 3 и 4 соответственно. Выполнение интерпол ции функций переменных осуществл етс по интерпол ционной формулеWhen entering the g argument, blocks 16 and 17 of receiving the argument codes, arguments X and Y are divided into groups of higher bits Xc and Ye, which are entered into counters I and 2, respectively, and groups of lower order bits of arguments X and Y, which are mc into registers 3 and 4 respectively. The interpolation of variable functions is performed using the interpolation formula
Z f(x j + рЬ, Yi + к) (1-Р) (1-q) fjj + р(1-q)(l-p)f4+t+ + Pqfmj-n,Z f (x j + pb, Yi + k) (1-P) (1-q) fjj + p (1-q) (l-p) f4 + t + + Pqfmj-n,
где fij , i-i-ij , , fi-fijVi - значени функций, соответствующие парам значений узловых точек аргументов , x,viYj - i Yj+t. xirfYj i ближайшим к (x j +ph),where fij, i-i-ij,, fi-fijVi are the values of the functions corresponding to pairs of values of the nodal points of the arguments, x, viYj - i Yj + t. xirfYj i closest to (x j + ph),
(Yi +qk)h - посто нный шаг размещени узловых точек по оси X;(Yi + qk) h is a constant step of locating the nodal points along the X axis;
k - посто нный шаг размещени узловых точек по оси У,k is a constant step of locating the nodal points along the Y axis,
О р 1 - переменна , определ юща положение аргумента X в пределах шага квантовани ;O p 1 is variable, determining the position of the argument X within the quantization step;
О q 4.1 - переменна , определ юща положение аргумента У в пределах шага квантовани ;Q q 4.1 is variable, determining the position of the argument Y within the quantization step;
Xi - ближайшее значение узловой точки по оси X, меньшее аргумента X;Xi - the nearest value of the nodal point along the X axis, less than the argument X;
у--ближайшее значение узловой точки по оси У, меньшее аргумента У.y - the nearest value of the nodal point along the Y axis, less than the Y argument.
В устройстве дл интерпол ции Xj и У/ представл ют собой значени старших разр дов аргументов Xt и УС , заносимые на 5 счетчики 1 и 2 соответственно. Коды, считываемые с этих счетчиков, выступают в роли адреса блока 5 пам ти, адресное слово которого формируетс путем конкатенации (объединени ) значений Х| и У , считываемых со счетчиков. Значени р и q представл ют собой младшие разр ды кодов аргументов Ум,считываемые с регистров 3 и 4 соответственно. Процедура интерпол ции значений функций двух переменных выполн етс в предлагаемом устройстве за 5 счет 11 тактов. Управление процессом вычислени осуществл етс блоком 15 управлени , одна из возможных схемных реализаций которого приведена на фиг. 2. Работа блока управлени начинаетс по сигналу с входа 25 «Старт. По завершении процесса вычислений блок управлени формирует сигнал на выходе 26 «Готов, Каждому такту работы устройства соответствует одно управл ющее слово блока. Выходное слово раздел етс на пол «Адрес и «Управление 5 (выходы 28 и 27 соответственно). Поле «Адрес определ ет, какой из каналов включаетс в коммутаторах 8-10 при выполнении каждого из тактов вычислени . Поле «Управление дл формировани сигналов разрешени записи в счетчики и регистры 0 1,2,3, 4, 11, 12 и 14 и сигналов, определ ющих режим счета в счетчиках 1 и 2. В каждом из тактов вычислени функций двух переменных производ тс следующие действи .In the device for interpolation, Xj and Y / are the values of the higher bits of the arguments Xt and WD, entered into 5 counters 1 and 2, respectively. The codes read from these counters act as the address of memory block 5, the address word of which is formed by concatenating (combining) the values X | and Y, read from the counters. The p and q values represent the lower bits of the Um argument codes read from registers 3 and 4, respectively. The interpolation procedure for the values of functions of two variables is performed in the proposed device in 5 counts of 11 cycles. The computation process is controlled by control unit 15, one of the possible circuit implementations of which is shown in FIG. 2. The operation of the control unit starts at a signal from input 25 "Start. Upon completion of the calculation process, the control unit generates a signal at output 26 "Ready. Each control cycle of the device corresponds to one control word of the block. The output word is divided into the floor "Address and" Control 5 (outputs 28 and 27, respectively). The Address field determines which of the channels is included in the switches 8-10 when each of the calculation cycles is executed. The field Control for generating the write enable signals to the counters and registers 0 1,2,3, 4, 11, 12, and 14, and the signals defining the counting mode in counters 1 and 2. In each of the steps for calculating the functions of two variables, the following action
5 В нулевом такте в блоки приема аргументов занос тс аргументы X и У. При этом старшие разр ды аргументов Хс и YC, размещаютс в счетчиках 1 и 2 соответственно , а младшие разр ды аргументов Х и YK размеш,аютс в регистрах 3 и 4 соответственно . Б первом такте производитс вычисление произведени (1-р)(1-q). Значени 1-р и 1-q формируютс путем считывани с регистров 3 и 4 инверсии р и q и прибавлени единицы в младшие разр ды инверсий при помоши групп 6 и 7. Сформированные таким образом дополнительные коды 1-р и 1-q подаютс через коммутаторы 9 и 10 на входы сомножителей X и Y матричного умножител 13, на вход суммировани К матричного умножител 13 в первом такте-константа «О через коммутатор 8. Результат первого такта заноситс с регистра 14 результата в буферный регистр 12. Во втором такте формируетс произведение ftj(l-р)(1-q). Зачение fj/npH этом считываетс из блока 5 пам ти, адресом которого служит конкатенаци Х и У/ , а произведение (1-р)(1-q) считываетс с регистра 12. Результат вычислени заноситс с регистра 14 результата в буферный регистр П. В третьем такте формируетс произведение р(1-q). При этом с регистра 3 считываетс пр мое значение кода р, а с регистра 4 - инверси кода q, котора поступает на сумматор 7. Значени р и 1-q подаютс на входы сомножителей X н У матричного умножител 13, на входе К которого, также как и в первом и во втором тактах, присутствует константа «О, подаваема хчерез коммутатор 8. Результат третьего такта заноситс с регистра 14 результата в буферный регистр 12. В четвертом такте вычисл етс произведение р(1-q)f.jH. Дл этой цели содержимое счетчика 1 увеличиваетс на единицу, что обеспечивает адресацию в блоке 5 узловой точки . Считанное таким образом значение узловой точки функции подаетс через коммутатор 9 на вход сомножител X матричного умножител 13. На вход сомножител У матричного умножител 13 в этом такте подаетс значение произведени . р(1-q) с регистра 12, а на вход суммировани К матричного умножител 13 - константа «О, подаваема через коммутатор 8. Результат вычислени заноситс с регистра 14 результата в буферный регистр 12. В п том .такте производитс вычисление суммы (1-р)(1-)fij +р{1-q)ft -ijДл этой цели на вход суммировани К матричного умножител 13 подаетс через коммутатор 8 содержимое регистра 11, в котором записано значение (1-р)(1-q)fij, на вход сомножител X матричного умножител 13 подаетс через коммутатор 9 константа «1, а на вход сомножител У матричного умножител 13 подаетс через коммутатор 10 содержимое регистра 12, в котором записано значение р(1-q)fi4ii. Результат , полученный в п том такте, заноситс с регистра 14 результата в буферный регистр 11. В шестом такте производитс вычисление произведени q(l-р). Дл этого с регистра 3 считываетс код q, а с регистра 4- инверси кода р, котора поступает на вход У матричного умножител 13 через сумматор 7 и коммутатор 10. Результат операции с регистра 14 результата заноситс в буферный регистр 12. В седьмом такте производитс вычисление произведени q(l-p)f5/44-Дл этой цели содержимое счетчика 1 уменьшаетс на единицу , а содержимое счетчика 2 увеличиваетс на единицу, что обеспечивает адресацию в блоке 5 пам ти узловой точки fjj4.j. Считанное таким образом значение узловой точки функции подаетс через коммутатор 9 на вход сомножител X матричного умножител 13. На вход У матричного умножител 13 в этом такте подаетс значение произведени q(l-р) с буферного регистра 12, а на вход суммировани К матричного умножител 13 - константа «О, подаваема через коммутатор 8. Результат, полученный на седьмом такте, заноситс из регистра 14 результата в буферный регистр 11.5 In the zero cycle, arguments X and Y are put into the argument receiving blocks. In this case, the higher bits of the XC and YC arguments are placed in counters 1 and 2, respectively, and the lower bits of the X and YK arguments are placed in registers 3 and 4, respectively . In the first cycle, the product is calculated (1-p) (1-q). Values 1-p and 1-q are formed by reading inversions p and q from registers 3 and 4 and adding one to lower-order bits of inversions using groups 6 and 7. Additional codes 1-p and 1-q generated in this way are fed through switches 9 and 10 to the inputs of the multipliers X and Y of the matrix multiplier 13, to the input of the summation To the matrix multiplier 13 in the first cycle-constant O through the switch 8. The result of the first cycle is entered from the register 14 of the result into the buffer register 12. In the second cycle the product ftj is formed (l-p) (1-q). The value of fj / npH is read from memory block 5, the address of which is the concatenation of X and Y /, and the product (1-p) (1-q) is read from register 12. The result of the calculation is entered from the register 14 of the result into the buffer register P. In the third cycle, the product p (1-q) is formed. In this case, from register 3, the direct value of the code p is read, and from register 4, the inversion of the code q, which goes to the adder 7. The values of p and 1-q are fed to the inputs of the factors X and Y of the matrix multiplier 13, which also as in the first and second clocks, the constant "O supplied by switch 8 is present. The result of the third cycle is entered from register 14 of the result into the buffer register 12. In the fourth cycle, the product p (1-q) f.jH is calculated. For this purpose, the contents of counter 1 are incremented by one, which ensures that the node 5 is addressable in block 5. The value of the node point of the function thus read is fed through the switch 9 to the input of the factor X of the matrix multiplier 13. To the input of the factor At the matrix multiplier 13 in this cycle, the value of the product is applied. p (1-q) from register 12, and to the summation input To matrix matrix multiplier 13 is the constant "O supplied through switch 8. The result of the calculation is entered from result register 14 to buffer register 12. Sum calculation (1 -p) (1-) fij + p {1-q) ft -ij For this purpose, the input to the summation of the matrix multiplier 13 is fed through switch 8 to the contents of register 11, in which the value (1-p) (1-q) fij is written , the input of the factor X of the matrix multiplier 13 is fed through the switch 9, the constant "1, and the input of the multiplier T of the matrix multiplier 13 is fed through switch 10, the contents of register 12, in which the value of p (1-q) fi4ii is written. The result obtained in the fifth cycle is entered from the result register 14 into the buffer register 11. In the sixth cycle, the product q (l – p) is calculated. To do this, from the register 3, the q code is read, and from the 4 register, the inversion of the p code, which is fed to the input of the matrix multiplier 13 through the adder 7 and the switch 10. The result of the operation from the result register 14 is entered into the buffer register 12. In the seventh cycle, producing q (lp) f5 / 44-For this purpose, the contents of counter 1 are decremented by one, and the contents of counter 2 are incremented by one, which ensures that the junction point fjj4.j is addressed in memory block 5. The value of the node point of the function thus read is fed through the switch 9 to the input of the multiplier X of the matrix multiplier 13. To the input of the matrix multiplier 13 in this step, the value q (l-p) is fed from the buffer register 12, and to the input of the summation To the matrix multiplier 13 - the constant "O supplied through the switch 8. The result obtained on the seventh clock cycle is entered from the register 14 of the result into the buffer register 11.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843717492A SU1171807A1 (en) | 1984-03-20 | 1984-03-20 | Interpolating device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843717492A SU1171807A1 (en) | 1984-03-20 | 1984-03-20 | Interpolating device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1171807A1 true SU1171807A1 (en) | 1985-08-07 |
Family
ID=21110014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843717492A SU1171807A1 (en) | 1984-03-20 | 1984-03-20 | Interpolating device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1171807A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4907170A (en) * | 1988-09-26 | 1990-03-06 | General Dynamics Corp., Pomona Div. | Inference machine using adaptive polynomial networks |
-
1984
- 1984-03-20 SU SU843717492A patent/SU1171807A1/en active
Non-Patent Citations (1)
Title |
---|
Авторскхзе свидетельство СССР № 934481, кл. G 06 F 15/353, 1980. Авторское свидетельство СССР № 942040, кл. G 06 F 15/353, 1980. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4907170A (en) * | 1988-09-26 | 1990-03-06 | General Dynamics Corp., Pomona Div. | Inference machine using adaptive polynomial networks |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1171807A1 (en) | Interpolating device | |
SU1171774A1 (en) | Function generator | |
SU1215118A1 (en) | Interpolation device | |
SU1751777A1 (en) | Device for computing roots | |
RU2055394C1 (en) | Device for search of roots | |
SU611252A1 (en) | Long-time storage | |
SU1119009A1 (en) | Digital function generator | |
SU1140115A1 (en) | Device for calculating value of polynominal of degree n | |
SU1674061A1 (en) | Digital linear interpolator | |
SU1149218A1 (en) | Linear-circular interpolator | |
SU1596323A1 (en) | Device for computing logarithmic function | |
SU437076A1 (en) | Pulse frequency functional converter of two variables | |
SU1233166A1 (en) | Device for implementing fast fourier transform | |
SU1206775A1 (en) | Device for determining inverse value | |
SU1107136A1 (en) | Digital function generator | |
SU1193668A1 (en) | Multiplying device | |
SU1658151A1 (en) | Device for exponential functions reproduction | |
SU1509883A1 (en) | Random number generator with arbitrary distribution law | |
SU1509878A1 (en) | Device for computing polynominals | |
SU1635168A1 (en) | Digital device for function reproduction | |
RU1793548C (en) | Device for conversion from binary code to modulo k code | |
SU1247893A1 (en) | Interpolator for two-argument functions | |
SU1374218A2 (en) | Digital function generator | |
SU1259253A1 (en) | Calculating device | |
SU877526A1 (en) | Digital function converter |