SU894692A1 - Digital function generator - Google Patents
Digital function generator Download PDFInfo
- Publication number
- SU894692A1 SU894692A1 SU802915186A SU2915186A SU894692A1 SU 894692 A1 SU894692 A1 SU 894692A1 SU 802915186 A SU802915186 A SU 802915186A SU 2915186 A SU2915186 A SU 2915186A SU 894692 A1 SU894692 A1 SU 894692A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- counter
- outputs
- function generator
- adder
- inputs
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Description
(5) ЦИФРОВОЙ ГЕНЕРАТОР ФУНКЦИЙ(5) DIGITAL FUNCTION GENERATOR
II
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в специализированных вычислительных устройствах дл воспроизведени функциональных зависимостей при жестких требовани х к объему запоминающего устройства.The invention relates to automation and computing and can be used in specialized computing devices for reproducing functional dependencies with stringent storage space requirements.
Известен цифровой генератор функций , содержащий блоки пам ти, регистры , коммутаторы, блок сдвига l Недостатком известного генератора вл етс большой объем аппаратурных затрат.A digital function generator is known that contains memory blocks, registers, switches, a shift block. A disadvantage of the known generator is a large amount of hardware.
Наиболее близким к предлагаемому вл етс цифровой генератор функций, содержащий два регистра, дешифратор, два блока пам ти, блок умножени , сумматор, два коммутатора, состо щие из элементов И, .Closest to the proposed is a digital function generator containing two registers, a decoder, two memory blocks, a multiplication unit, an adder, and two switches consisting of AND elements.
Однако в известном генераторе в цифровой форме воспроизводитс кусочно-линейна функци , интерполирующа исходную функцию на системе двоичнорациональных узлов , ,1 ,...2 .However, in a known generator, a piecewise linear function is interpolated digitally, interpolating the original function on a system of binary rational nodes,, 1, ... 2.
Дл этого требуетс хранить 2N значений функции в узловых точках и 2 значений производной функции в этих же точках. В общей сложности данный метод требует 2 чеек пам ти в двух запоминающих устройствах.To do this, it is necessary to store 2N values of the function at the nodal points and 2 values of the derivative of the function at the same points. In total, this method requires 2 memory cells in two storage devices.
Цель изобретени - упрощение цифрового генератора функций.The purpose of the invention is to simplify the digital function generator.
Поставленна цель достигаетс тем, что цифровой генератор функций, соto держащий регистр старших и регистр младших разр дов аргумента, дешифратор , блок пам ти, блок умножени , сумматор , коммутатор, элементы И, причем выходы регистра младших разр дов арIS гумента подключены к первой группе входов блока умножени , выходы которого подключены к первой группе входов сумматора, выходы сумматора вл ютс выходами цифрового генератора The goal is achieved by the fact that the digital function generator, which contains the register of the most significant and the register of the least significant bits of the argument, the decoder, the memory block, the multiplier, the adder, the switch, the elements AND, the outputs of the register of the least significant bits of the argument are connected to the first group of inputs a multiplier whose outputs are connected to the first group of inputs of the adder, the outputs of the adder are outputs of a digital generator
20 функций, выходы дешифратора подключены к управл ющим, а выходы блока пам ти - к информационным входам коммутатора , выходы которого подключены 3 . ко второй группе входов блока умножени , содержит схему сравнени , счетчик, накапливающий сумматор, элемент НЕ и дополнительнв|й элемент И, причем выходы регистра старших разр дов аргумента подключены к лервой группе входов схемы сравнени , а выходы счетчика - ко второй группе входов схемы сравнени и входам дешифратора , выход схемы сравнени через элемент НЕ подключен к первым входам элементов И и первому входу дополнительного элемента И, вторые входы эле ментов И подключены к выходам коммутатора , выходы элементов И подключены ко входам накапливающего сумматора, выходы которого подключены ко второй группе входов сумматора, второй вход дополнительного элемента И подключен тактовому входу цифрового генератора функций, а выход дополнительного элемента И - ко входу счетчика. На чертеже представлен цифровой генерат@р функций, функциональна схема. Цифровой генератор функций содержит регистр 1 старших и регистр 2 млад ших разрщов аргумента, схему 3 сравнени , счетчик 4, дешифратор 5, бЛок 6 пам ти, блок 7 умножени , накапливающий сумматор 8, сумматор 9 овлементы И 10, коммутатор, состо щий из элементов И 11, ИЛИ 12, элемент НЕ 13 дополнительный элемент И 1А, тактовый вход 15. В генераторе в цифровой форме вычисл етс значение кусочно-линейной функции у(х), интерполирующей заданную к воспроизведению функцию f(x) по системе двоичйо-рациональных узлов j/2 при ,1,...,2,когда значение аргумента фиксируетс в двух регистрах так, что старшие разр ды располагаютс в первом регистре, а младшиево втором. Значение генерируемой кусочно-линейной функции при фиксированном аргументе X вычисл етс в соответствии с формулой fCx V-iHCxj) vu)-fCV3bU-Xj) , где f(x) вл етс значением исходной функции f(x)B yзлoвoйтoчкexl J/2 . Это значение вычисл етс в устрой стве следующим образом. (((х,-,,)-Пх,(хо)( 2 Принима обозначение (x-)-f (х-), получаем (X)-- &i 24x-X5)j;Xj Х5Х.,чГ Таким образом, при фиксированном значении аргумента х на регистрах устройства содержимое счетчика npo6eraet значени от О до J, т.е. номера yMactков аппроксимации от первого до текущего . При этом накапливаютс значени л, хран щиес в блоке 6 пам ти, и затем вычисл етс искомое значение аппроксимирующей функции у(х) в соответствии с 2 .путем одного умножени и.одного сложени о Выполнение операции 2 (x-xj) при $ х. автоматически реализуете интерпретацией кода аргумента ejO; Ц в виде правильной двоичной дроби в которой зап та фиксируетс перед старшим разр дом. В исходном положении на накапливающем сумйаторе 8 устанавливаетс кой значени f{xQ), счетчик устанавливаетс в положение О. В блоке 6 пам ти наход тс значени первых разностей д , j 0,1,2,... 1. На регистры 1 и 2 принижаетс код значени аргумента. Так как содержимое регистра 1 не равно содержимому счетчика 4, то на выходе схемы 3 сравнени кодов имеетс сигнал О. Следовательно, сигнал 1 с выхода элемента НЕ 13 открывает элемент И Н и группу элементов И 10. На счетчик.:4 через элемент И 14 поступают тактовые импульсы, заполн ющие cчetчик k. Содержимое счетчика 4 посто нно дешифрируетс дешифратором 5 из блока пам ти 6 через коммутатор {элементы И 11, ИЛИ 12) и группу элементов И 10 значени первых разностей поступают на накапливающйй сумматор 8, где суммируютс в соответствии с (1). На J-OM такте содержимое счетчика Ц оказываетс равным содержимому регистра 1 (старшим разр дам аргумента). Срабатывает схема 3 сравнени кодов на ее выходе по вл етс сигнал 1. Прекращаетс заполнение счетчика тактовыми импульсами и закрываютс элементы И 10. Последней разностью, поступившей на накапливающий сумматор 8, оказываетс разность Однако на вторые входы блока 7 умножени из блока 6 пам ти поступает значение разности j, соответствующее устаноаленмому на счетчике номеру участка аппроксимации.20 functions, the outputs of the decoder are connected to the control, and the outputs of the memory unit to the information inputs of the switch, the outputs of which are connected 3. to the second group of inputs of the multiplication unit, contains a comparison circuit, a counter accumulating an adder, an element NOT and an additional AND element, and the outputs of the register of the higher bits of the argument are connected to the first group of inputs of the comparison circuit, and the outputs of the counter to the second group of inputs of the comparison circuit and the inputs of the decoder, the output of the comparison circuit through the element is NOT connected to the first inputs of the AND elements and the first input of the additional element AND, the second inputs of the elements AND are connected to the outputs of the switch, the outputs of the elements AND are connected to the input give the accumulating adder, the outputs of which are connected to the second group of inputs of the adder, the second input of the additional element AND is connected to the clock input of the digital function generator, and the output of the additional element I to the input of the counter. The drawing shows a digital generator @ p functions, functional diagram. The digital function generator contains a register of 1 high order and a register of 2 lower order arguments, a comparison circuit 3, a counter 4, a decoder 5, a memory block 6, a multiplication unit 7, accumulating adder 8, an adder 9 and 10, a switch consisting of elements AND 11, OR 12, element NOT 13 additional element AND 1A, clock input 15. The generator numerically calculates the value of the piecewise linear function y (x), which interpolates the function f (x) assigned to reproduction using a system of binary rational nodes j / 2 when, 1, ..., 2, when the value of the argument is fixed two registers so that the leading bits are arranged in the first register and the second mladshievo. The value of the generated piecewise-linear function with a fixed argument X is calculated according to the formula fCx V-iHCxj) vu) -fCV3bU-Xj), where f (x) is the value of the original function f (x) B is an unannual point Jl / 2. This value is calculated in the device as follows. (((x, - ,,) - Пх, (хо) (2 Accepting the notation (x -) - f (х-), we get (X) - & i 24x-X5) j; Xj Х5Х., hG Thus, at a fixed value of the arguments x on the device registers, the contents of the counter npo6eraet are values from O to J, i.e., the number of yMact approximations from first to current, and the values stored in memory block 6 are accumulated and then calculated The desired value of the approximating function y (x) is in accordance with 2. by one multiplication and one addition. Perform operation 2 (x-xj) for $ x. automatically by interpreting the code of the argument ejO; the ideal binary fraction in which the zap is fixed before the high bit. In the initial position, the value of f (xQ) is set on accumulator 8, the counter is set to O. In memory block 6, the values of the first differences d, j 0, 1,2, ... 1. The code of the argument value is reduced to registers 1 and 2. Since the contents of register 1 are not equal to the contents of counter 4, the output of the code comparison circuit 3 is O. Therefore, signal 1 from the output of the HE element is 13 opens the element AND N and the group of elements And 10. At the counter.: 4 through the element 14, clock pulses are received that fill the k counter. The contents of counter 4 are constantly decrypted by decoder 5 from memory 6 through a switch (elements 11 and OR 12) and a group of elements 10 and the values of the first differences arrive at the accumulating adder 8, where they are summed up in accordance with (1). On the J-OM cycle, the contents of counter C are equal to the contents of register 1 (the highest order of the argument). Signal 3 triggers at its output. Signal 1 appears. The counter is filled with clock pulses and AND 10 elements are closed. The last difference to the accumulating adder 8 is the difference. However, the second inputs of multiplication unit 7 from memory 6 receive the value the difference j, corresponding to the number of the approximation area set on the counter.
Производитс переменожение по 2 ) младших разр дов аргумента х и разнсх:ти д j, и затем в сумматоре 9 образуетс искомое значение аппроксимирующей кусочно-линейной функции у(х),The variance is made according to 2) the least significant bits of the argument x and the difference: type j, and then in the adder 9 the required value of the approximating piecewise linear function y (x) is formed,
Таким о бразом, в предлагаемом устройстве по сравнению с известным объемом пам ти уменьшаетс ровмо.в два раза.Thus, in the proposed device, in comparison with the known memory size, it is reduced by a factor of two.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802915186A SU894692A1 (en) | 1980-04-28 | 1980-04-28 | Digital function generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802915186A SU894692A1 (en) | 1980-04-28 | 1980-04-28 | Digital function generator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU894692A1 true SU894692A1 (en) | 1981-12-30 |
Family
ID=20891906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU802915186A SU894692A1 (en) | 1980-04-28 | 1980-04-28 | Digital function generator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU894692A1 (en) |
-
1980
- 1980-04-28 SU SU802915186A patent/SU894692A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06104643A (en) | Phase accumulation device | |
EP0312370B1 (en) | Digital oscillation apparatus | |
SU894692A1 (en) | Digital function generator | |
JPH10224220A (en) | Pulse width modulation arithmetic circuit | |
SU570047A1 (en) | Device for reproducing of function | |
JPS6361706B2 (en) | ||
SU1679477A1 (en) | Functions generator | |
SU736079A1 (en) | Digital function generator | |
SU1566369A1 (en) | Interpolator of iii degree | |
SU813286A1 (en) | Device for spectrum analysis | |
SU1072040A1 (en) | Device for dividing binary numbers by coefficient | |
SU796852A1 (en) | Elementary function computing device | |
SU1104510A1 (en) | Digital device for calculating sine-cosine dependences | |
SU734669A1 (en) | Converter of proper binary fraction into binary-decimal fraction and integer binary-decimal numbers into binary numbers | |
SU780000A1 (en) | Converter of binary code into binary-decimal code of degrees, minutes and seconds | |
SU437076A1 (en) | Pulse frequency functional converter of two variables | |
SU1283979A1 (en) | Binary-coded decimal code-to-binary code converter | |
SU1171784A1 (en) | Multiplier | |
JPS5970149A (en) | Power tide simultator | |
SU855658A1 (en) | Digital device for computing functions | |
SU1487030A1 (en) | Digital functional converter | |
SU1107131A1 (en) | Function generator | |
SU957209A1 (en) | Device for extracting square root | |
SU696472A1 (en) | Function computer | |
SU742935A1 (en) | Digital multiplier-divider |