SU1211756A1 - Function generator - Google Patents
Function generator Download PDFInfo
- Publication number
- SU1211756A1 SU1211756A1 SU843781966A SU3781966A SU1211756A1 SU 1211756 A1 SU1211756 A1 SU 1211756A1 SU 843781966 A SU843781966 A SU 843781966A SU 3781966 A SU3781966 A SU 3781966A SU 1211756 A1 SU1211756 A1 SU 1211756A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- argument
- counter
- inputs
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к области автоматики и вычислительной техники, в частности к устройствам кусочйо- линейной аппроксимации функций, и может быть использовано в составе аналого-цифровых вычислительных систем. Преобразователь содержит регистр аргумента, блок вычитани аргумента. генератор импульсов, реверсивный счетчик результата, сумматор-вычита- тель ординат, блок делени , элемент задержки, реверсивный счетчик адреса, сумматор-вычитатель абсцисс, блок пам ти узловых значений абсцисс и ординат , реверсивный счетчик аргумента , блок управлени счетчиками, три формировател импульсов, два сумматора по модулю два, четыре триггера, два элемента И, два элемента ИЛИ и два дешифратора нул . Блок управлени счетчиками состоит из-элемента И, RS-триггера, трех элементов НЕ и двух элементов И-НЛИ. Функциональный преобразователь расшир ет функциональные возможности за счет преобразовани знакопеременных во всех четырех квадрантах функций. 3 ил. ел 1 СЛ ОдThe invention relates to the field of automation and computing, in particular, to devices for piece-linear approximation of functions, and can be used as part of analog-digital computing systems. The converter contains the case of the argument argument block. pulse generator, reversible result counter, adder-subtractor of ordinates, dividing unit, delay element, reversible address counter, adder-subtractor of the abscissa, memory block of nodal values of the abscissa and ordinate, reversible counter of the argument, control unit of the counters, three pulse generators, two adders modulo two, four triggers, two elements AND, two elements OR, and two decoder zero. The meter control block consists of an AND element, an RS flip-flop, three NOT elements and two N-NLI elements. The functional converter extends the functionality by transforming the alternating functions in all four quadrants. 3 il. Ate 1 SL Od
Description
Изобретение относитс к .автомати и вычислительной технике, в частности к устройствам кусочно-линейной аппроксимации функхщй, и может быть использовано в составе аналого-циф- ровых вычислительных систем.The invention relates to automation and computing, in particular to devices for piecewise linear approximations of functions, and can be used as part of analog-digital computing systems.
Целью изобретени вл етс расширение функциональных возможностей за счет преобразовани знакопеременных функций во всех четырех квадрантах .The aim of the invention is to enhance the functionality by converting alternating functions in all four quadrants.
На фиг.1 представлена блок-схема функционального преобразовател ; на фиг.2- функТциональна схема блока управлени счетчиками; на фиг.З - несколько участков аппроксимации функции при различных знаках аргумента и ординаты. IFigure 1 presents the block diagram of the functional Converter; Fig. 2 is a functional diagram of a meter control unit; FIG. 3 shows several sections of the function approximation with different signs of the argument and ordinates. I
Функциональный преобразовательFunctional converter
содержит регистр 1 аргумента, инфор- мационньш вход 2 преобразовател , блок 3 вычитани аргумента, генератор 4 импульсов, первьй элемент И 5, первый управл емый делитель 6 частоты , реверсивный счетчик 7 результата , сумматор-вычитатель 8 ординат, содержащий выход 9 знака и выход 10 .обнулени , блок 11 делени , элемент 12 задержки, вход 13 знака пол рное- ти аргумента, реверсивный счетчик 14. адреса,выход 15 кода сумматора-вы читател 8 ординат, сумматор-вычитатель 16 абсцисс, блоки 17 и 18 пам ти узловых значений абсцисс и ординат соответственно, реверсивный счетчик 19 аргумента, выход 20 знака разности блока 3 вычитани аргумента , второй управл емый делитель 21 частоты, выход 22 обнулени блока 3 вычитани аргумента, первый элемент ИЛИ 23, первый дешифратор 24 нул , второй триггер 25, первый сумматор 26 по модулю два, второй дешифратор 27 нул , четвертый триггер 28, второй сумматор 29 по модулю два блок 30 управлени счетчиками, первый формирователь 31 импульсов, тре- тий элемент И 32, второй формирователь 33 импульсов, второй элемент И 34, второй элемент ИЛИ 35, третий триггер 36, выход 37 четвертого триггера 28, выход 38 второго сумматора 29 по модулю два, первый триггер 39, первый 40 и второй 41 выходы блока 30, третий формирователь 42 импульсов и третий элемент ИЛИ 43.contains the argument register 1, the information input 2 of the converter, the argument subtraction unit 3, the generator of 4 pulses, the first element AND 5, the first controlled frequency divider 6, the reversible counter 7 of the result, the adder-subtractor 8 ordinates, containing the output of 9 characters and the output 10. nulls, block 11 divisions, element 12 delays, input 13 digits of the polarity of the argument, reversible counter 14. addresses, output 15 of the code of the adder-reader 8 ordinates, adder-subtractor 16 abscissa, blocks 17 and 18 of the nodal memory values of abscissas and ordinates respectively, reversible argument counter 19, output 20 digits of the difference block of the 3 subtraction of the argument, second controlled frequency divider 21, output of the zero subroutine of the argument subunit 3, the first element OR 23, the first decoder 24 zero, the second trigger 25, the first modulo 26, two, second decoder 27 zero, fourth trigger 28, second adder 29 modulo two counter control unit 30, first pulse shaper 31, third AND 32 element, second pulse shaper 33, second AND 34 element, second OR 35 element, third trigger 36 , exit 37 fourth trigger 28 , output 38 of the second adder 29 modulo two, the first trigger 39, the first 40 and the second 41 outputs of the block 30, the third driver 42 pulses and the third element OR 43.
Блок 30 управлени счетчиками содержит -третий элемент И-ШШ 44,The meter control unit 30 contains a third element I-SHSh 44,
562562
Нъ-триггер 45, в.торой, первый и третий элементы НЕ 46-48, первый и второй элементы И-ИЛИ 49 и 50.N-trigger 45, in the second, the first and third elements are NOT 46-48, the first and second elements are AND-OR 49 and 50.
Преобразователь работает следующим образом. ,The Converter operates as follows. ,
В блоки 17 и 18 .пам ти занос тс коды и знаки пол рности узловых точек абсцисс и ординат функции преобразовани i(x;) , причем знаку положительной пол рности соответствует нулевой код знакового разр да, а отрицательной - единичный.In blocks 17 and 18, the codes and polar signs of the nodal points of the abscissa and ordinates of the transformation function i (x;) are entered into the blocks and the signs of the positive polarity correspond to the zero code of the sign bit, and to the negative one - one.
По выходному коду реверсивного счетчика 14 адреса, разр дность которого определ етс количеством участков аппроксимации, наход тс коды ординаты и абсциссы соответствующего значени функции преобразовани .Сум- маторы-вычитатели 8 и 16 определ ют результат кодов между поступившими и предыдущими значени ми ординат и абсцисс соответственно.The output code of the reversible counter 14 of the address, the width of which is determined by the number of approximation sections, contains the ordinate codes and the abscissas of the corresponding value of the conversion function. The totalizers 8 and 16 determine the result of the codes between the received and previous ordinates and the abscissas, respectively .
С помощью блока 11 делени и управл емого делител 6 частоты автоматически устанавливаетс - коэффициент наклона интерполирующих отрезков , причем коэффициент передачи делител 6 частоты на каждом интервале аппроксимации пропорционален отношению With the help of dividing unit 11 and controlled frequency divider 6, the inclination coefficient of the interpolating segments is automatically set, and the frequency divider transfer coefficient 6 at each approximation interval is proportional to the ratio
где У;,, и У; - предьщущее и поступив-/ шее значени ординату Х;, и X; - предыдущее и поступившее значени абсцисс .where y ;, and y; - the previous and incoming values of the ordinate X ;, and X; - previous and incoming abscissa values.
С помощью блока 3 вычитани определ етс момент остановки воспроизведени функции по совпадению кода поступившего аргумента с выхода регистра 1 аргумента и кода с выхода реверсивного счетчика 19 аргумента. Управл емый делитель 21 частоты управл ет частотой импульсов, поступающих на счетный вход счетчика 19, в соответствии с разностью кодов ме зду поступившей X; и предыдущей х,-., абсциссами .Using the subtraction unit 3, the instant of stopping the reproduction of the function is determined by the coincidence of the code of the input argument from the output of register 1 of the argument and the code from the output of the reversible counter 19 of the argument. The controlled frequency divider 21 controls the frequency of the pulses fed to the counting input of the counter 19, in accordance with the code difference between the incoming X; and the previous x, -., abscissas.
Состо ние триггеров 25 и 28 знака кода ординат и абсцисс определ ет область нахождени текущего кода ординат и абсциссы. При этом нулевой код на выходе триггера 25 соответствует положительной ординате, а единичный - отрицательной. АналогичноThe state of the flip-flops 25 and 28 of the sign of the ordinate and abscissa codes determines the region of the current ordinate and abscissa codes. In this case, the zero code at the output of the trigger 25 corresponds to a positive ordinate, and a single code - negative. Similarly
33
состо ние триггера 28 определ ет область нахождени абсциссы.The state of the trigger 28 determines the abscissa region.
Управление реверсом счетчиковCounter reversal control
.14 и 19 осуществл етс с выходов 40 и 41 блока 30 в соответствии с сое- то нием сигналов на его входах.Управление реверсом счетчика 7 результата осуществл етс триггером 39 в зависимости от состо ни сумматора.14 and 19 are carried out from outputs 40 and 41 of block 30 in accordance with the connection of signals at its inputs. The reversal of the result counter 7 is controlled by trigger 39 depending on the state of the adder.
.26 по модулю два и сигнала знака ко- дов ординат с выхода 9 сумматора-вы- читател 8. При этом нулевые коды на выходах 40 и 41 блока 30 соответствуют режиму суммировани счетчиков 19 и 14, а единичные - режиму вычитани .26 modulo two and the signal of the ordinate codes from the output 9 of the adder-subtractor 8. In this case, the zero codes on the outputs 40 and 41 of block 30 correspond to the summation mode of counters 19 and 14, and the single codes - to the subtraction mode
С помощью элемента ИЛИ 35 и триггера 36 осуществл етс запись в счетчики 7 и 19 кодов ординаты и абсциссы первой узловой точки в момент приема первого значени аргумента в регистр 1, что позвол ет преобразовывать функции, начинающиес не с нулевого значени .Using the OR element 35 and the trigger 36, the ordinate codes and abscissas of the first nodal point are written to counters 7 and 19 at the moment of receiving the first argument value in register 1, which allows functions not starting from zero to be converted.
Рассмотрим работу функционального преобразовател в соответствии с фиг.3.Consider the operation of the functional Converter in accordance with figure 3.
В исходном состо нии реверсивные счетчики 7, 14 и 19, регистр 1 аргумента , триггеры 25, 28, 36, 39 и 45 обнулены. По нулевому коду счет- чика 14 адреса из нулевых чеек блоков 17 и 18 пам ти извлекаютс коды и знаки пол рности абсциссы х и ординаты УД первой узловой точки функции преобразовани 1 (х;). При этом знаки пол рности абсциссы Хр и ординаты ч записьшаютс соответственно In the initial state, the reversible counters 7, 14, and 19, the argument register 1, triggers 25, 28, 36, 39, and 45 are reset. By the zero code of the counter 14 address from the zero cells of the memory blocks 17 and 18, the codes and polar signs of the abscissa and ordinates UD of the first nodal point of the conversion function 1 (x;) are extracted. In this case, the polar signs of the abscissa Xp and ordinates are written respectively
о оoh oh
триггеры 28 и 25 по разрешающемуtriggers 28 and 25 on resolving
сигналу с выхода дешифраторов 27 иsignal from the output of the decoders 27 and
24 нул . 24 nil
На выходе 22 блока 3 присутствует сигнал сравнени , который поступает через элемент ИЛИ 23 на вход элемента И 5, закрьгоа его, и на вход стро бировани регистра 1, разреша прием кода и знака пол рности первого значени аргумента х . При поступлении в регистр 1 аргумента Х| триггер 36 переводитс в единичное состо ние, а на выходе 22 блока 3 формируетс задний фронт сигнала сравнени , за- лержанньш на врем установки кода и знака реверса счетчиков 7 и 19. По фронту сигнала с вьгхода триггера 36 разрешаетс запись в счетчики 7 и 19 кодов ординаты ij и абсциссы х из блоков 18 и 17 пам ти соответственно Таким образом на выходе 10 суммато- The output 22 of block 3 contains a comparison signal, which is fed through the element OR 23 to the input of the element AND 5, closed, and to the input of the register 1, allowing reception of the code and the polarity sign of the first value of the argument x. When entering the register 1 argument X | the trigger 36 is switched to one state, and the output 22 of block 3 forms the leading edge of the comparison signal, held at the time of setting the code and the reverse sign of counters 7 and 19. The signal from the trigger trigger 36 is allowed to write to the counters 7 and 19 ordinates ij and abscissas x from blocks 18 and 17 of memory, respectively. Thus, at output 10, summation
756 .756.
ра-вычитател 8 формируетс импульсный сигнал сравнени , длительность которого определ етс временем, необходимым дл установки коэффициентов делени делителей 6 и 21 частоты. Сигнал сравнени с вьгхода 10 суммато- ра-вычитател 8 подтверждает через элемент ИЛИ 23 закрытое состо ние элемента И 5.The subtractor 8 generates a comparison pulse signal, the duration of which is determined by the time required to set the division factors of frequency dividers 6 and 21. The comparison signal from the input 10 of the subtractor 8 confirms, through the element OR 23, the closed state of the element 5.
Формирование знаков управлени реверсом счет чиков 7, 14 и 19 производитс следующим образом.The formation of control signs for the reverse of counters 7, 14, and 19 is performed as follows.
Управление реверсом счетчика 14 осуществл етс с выхода 41 блока 30, На выходе 38 сумматора 29 по модулю два формируетс нулевой код за счет совпадени знаков аргумента У и абсциссы Хд . На выходе 20 блока 3 формируетс единичный код, соответствующий разности кодов х, - Xjj. На входах И элемента И-Ш1И 49 происходит совпадение сигналов с выхода 37 триггера 28, выхода 20 блока 3 и выхода элемента НЕ 48, в результате чего, триггер 45 обнул етс . Таким образом счетчик 14 устанавливаетс в режим суммировани .The reversal of the counter 14 is controlled from the output 41 of the block 30. At the output 38 of the adder 29 modulo two, a zero code is generated by coinciding the signs of the argument Y and the abscissa Xd. At the output 20 of block 3, a single code is formed corresponding to the difference of the codes x, - Xjj. At the inputs AND of the I-P1I 49 element, the signals from the output 37 of the trigger 28, the output 20 of the block 3 and the output of the element NE 48 coincide, with the result that the trigger 45 is zeroed. Thus, the counter 14 is set to the summation mode.
Управление реверсом счетчика 19 осуществл етс с выхода 40 блока 30. По совпадению, сигналов на входах элемента И-ИЛИ 44 на выходе 40 блока 30 формируетс единичный сигнал, и счетчик 19 устанавливаетс в режим вычитани .The reversal of the counter 19 is controlled from the output 40 of the block 30. Coincidentally, the signals at the inputs of the AND-OR element 44 at the output 40 of the block 30 form a single signal, and the counter 19 is set to the subtraction mode.
По переднему фронту сигнала сравнени С выхода 10 сумматора-вычита- тел 8, задержанному элементом 12 задержки на врем установки знака реверса, состо ние реверсивного счетчика 14 измен етс на единицу. При этом из блоков 17 и 18 пам ти извлекаютс коды и знаки пол рности абсциссы X, и ординаты и первого участка аппроксимации, сумматоры-вычита- тели 8 16 вычисл ют разности кодов У,-урИ X, - Хд соответственно. По сигналу сравнени с выхода 10 сумма- тора-вычитател 8 в блоке 11 делени вычисл етс кодOn the leading edge of the comparison signal C of the output 10 of the subtractor 8, delayed by the delay element 12 at the time of setting the reverse sign, the state of the reversible counter 14 is changed by one. At that, codes and polar signs of abscissa X, and ordinates and the first section of approximation, adders-subtractors 8–16 are calculated from blocks 17 and 18 of memory and calculate codes of differences Y, -urI X, - Xd, respectively. The comparison signal from the output 10 of the subtractor 8 in block 11 of the division calculates the code
Уг9оUg9o
Xi-Xo Xi-Xo
управл ю1ций коэффициентом передачи делител 6 частоты, .а в делителе 21 частоты устанавливаетс коэффициент передачи, соответствующий разности кодов X, - х„ с выхода сумматора-вычи- тател 16.control of the transmission coefficient of the frequency divider 6; and in the frequency divider 21, the transmission coefficient corresponding to the difference of the codes X is set, - x from the output of the totalizer-calculator 16.
12111211
Управление реверсом счетчика 7 осуществл етс с выхода триггера 39 на информационный вход которого поступает нулевой код с выхода 9 сумма тора-вычитател 8, соответствующий разности кодов у,-Уд Таким образом по нулевому сигналу на входе синхронизации , поступающему с выхода сумматора 26 по модулю два, триггер 39 устанавливаетс в нулевое состо ние , перевод счетчик 7 в режим суммировани .The control of the reversal of the counter 7 is carried out from the output of the trigger 39 to the information input of which the zero code is output from the output 9, the sum of the toor-subtractor 8, corresponding to the difference of codes y, , the trigger 39 is set to the zero state, the transfer of counter 7 to the summation mode.
После поступлени на вход сумна- тора-вычитател 8 кода ординаты первого участка аппроксимации у, на выходе 10 сумматора-вычитател 8 вырабатываетс задний фронт сигнала сравнени , задержанньш на врем , необходимое дл установки коэффициентов передачи делителей 6 и 21 частоты. По заднему фронту сигнала сравнени открываетс элемент И 5, и импульсы с выхода генератора 4 поступают на счетные входы счетчиков 7 и 19. Начинаетс ступенчато-линейна интерпол ци функции на первом участке аппроксимации, причем частота импульсов на счетных входах счетчиков 7 и 19 частоты определ етс коэффи- циентают делени делителей 6 и 21 частоты соответственно.After arriving at the input of the subtractor 8 of the ordinate code of the first approximation area y, the output 10 of the subtractor 8 produces the falling edge of the comparison signal delayed by the time required to set the transfer factors of frequency dividers 6 and 21. Element 5 opens on the falling edge of the comparison signal, and the pulses from the generator 4 output arrive at the counting inputs of counters 7 and 19. Stepwise linear interpolation of the function begins in the first approximation area, and the frequency of the pulses on the counting inputs of frequency counters 7 and 19 is determined the division ratio of the dividers is 6 and 21 frequencies, respectively.
При достижении счетчиком 7 кода ординаты ц на выходе 10 сумматора- вычитател 8 формируетс передний фронт сигнала сравнени по которому элемент И 5 закрываетс . В св зи с тем, что состо ние сигналов на выходе 20 блока 3, на выходе 38 сумматора 29 и на выходе 37 триггера 28 неWhen the counter 7 reaches the ordinate code m, the output of the subtractor 8 is formed at the output 10 of the comparing signal, by which the And 5 element is closed. Due to the fact that the state of the signals at the output 20 of block 3, at the output 38 of the adder 29 and at the output 37 of the trigger 28 is not
14 и 19 остаютс прежними и формирователь 42 импульсов не срабатывает. Таким образом, состо ние счетчика 14 адреса, задержанное элементом 12 задержки, по переднему фронту импуль- са с выхода 10 сумматора-вычитател 8 измен етс на единицу, и из блоков 17 и 18 пам ти извлекаютс коды и14 and 19 remain the same and pulse generator 42 does not work. Thus, the state of the address counter 14, delayed by the delay element 12, is changed by one along the leading edge of the pulse from the output 10 of the adder-subtractor 8, and the codes 17 and 18 are extracted from the memory blocks 17 and 18
знаки пол рности абсциссы х и ординаты и следующей узловой точки. По изменению состо ни на выходе знака пол рности блока 18 срабатывает формирователь 31 импульсов и переводит сумматор-вычитатель 8 на врем вычислени коэффициента делени делител частоты 6 в режим суммировани . В сумматоре-вычитател 16 вычисл етс polar signs of abscissa x and ordinate and the next nodal point. According to the change in the state at the output of the polarity sign of the block 18, the pulse shaper 31 is activated and switches the adder-subtractor 8 to the calculation time of the division factor of the frequency divider 6 to the summing mode. In the subtractor 16 is calculated
разность кодов хx code difference
котора за756 which 755
носитс в делитель 21 частоты, carries divider 21 frequencies,
1 1. делени вычисл ет код1 1. division calculates code
,,
У, + XY, + X
1.one.
00
5five
00
5five
00
5five
00
00
который заноситс в делитель 6 частоты .which is entered into frequency divider 6.
По единичному коду с выхода знака пол рности блока 18 сумматор 26 по модулю два устанавливаетс в еди- ничнде состо ние,.,Таким образом, триггер 39 по установочному входу переведен в единичное состо ние и счетчик 7 работает в режиме вычитани . По заднему фронту сигнала сравнени с выхода 10 сумматора-вычитател 8, задержанному на врем установки коэффициентов делени делителей 6 и 21 частоты, открываетс элемент И 5 и начинаетс воспроизведение второго участка аппроксимации . По достижении счетчиком 7 нулевого кода на вход синхронизации триггера 25 с выхода дешифратора 24 поступает сигнал, по которому в триггер 25 заноситс единичньш код. При этом на выходе сумматора 26 устанавливаетс нулевой код, по которому разрешаетс запись в триггер 39 знака кода разности с выхода 9 сумматора-вычитател 8. Таким образом, на выходе триггера 39 устанавливаетс нулевой сигнал, и счетчик 7 начинает работать в режиме суммировани . По достижении счетчиком 7 кода узловой точки у 2 заканчиваетс воспроизведение второго участка аппроксимации, и на выходе 10 сумматора-вычитател 8 формируетс очередной импульсной сигнал сравнени . Воспроизведение последующих участков аппроксимации происходит аналогичным образом.By a single code from the polarity of the block 18, the adder 26 modulo two is set to one state,. Thus, the flip-flop 39 is set to the single state and the counter 7 operates in the subtraction mode. On the falling edge of the comparison signal from the output 10 of the adder-subtractor 8, delayed by the time of setting the division factors of the dividers 6 and 21 of the frequency, the element 5 opens and the reproduction of the second approximation section begins. When the counter 7 reaches the zero code, a trigger is sent to the trigger synchronization input 25 from the output of the decoder 24, which triggers the single code to the trigger 25. At the same time, a zero code is set at the output of the adder 26, which allows writing 39 characters of the difference code from the output 9 of the subtractor 8 to the flip-flop. Thus, a zero signal is set at the output of the flip-flop 39, and the counter 7 starts operating in the summation mode. When counter 7 reaches the nodal point y 2, the second approximation segment finishes playing, and at the output 10 of the subtractor 8, the next pulse comparison signal is generated. The reproduction of the subsequent approximation sections occurs in a similar way.
При достижении счетчиком 7 кода ординаты tj на выходе 10 сумматора- вычитател 8 формируетс очередной передний фронт сигнала сравнени , по которому закрываетс элемент И 5. Состо ни сигналов на входах блока 30 остаютс прежними, а следовательно не измен ютс знаки реверса счетчиков 14 и 19, и счетчик 14 адреса по переднему фронту сигнала сравнени переходит в следующее состо ние. Из блоков 17 и 18 пам ти извлекаютс коды и знаки пол рности абсциссы rtn-t ординаты у,., . По изменению состо ни на выходах знака пол рности блоков 17 и 18 срабатывают формирователи 33 и 31 импульсов и суммато- ры-вычнтатели 16 и 8 соответственно переход т на врем вычислени коэффициентов делени в суммирова- ки .When counter 7 reaches the ordinate code tj, output 10 of the subtractor 8 forms the next leading edge of the comparison signal, according to which element AND 5 is closed. Signal states at the inputs of block 30 remain the same, and therefore the reverse signs of counters 14 and 19 do not change, and the address counter 14, on the leading edge of the comparison signal, transitions to the next state. From blocks 17 and 18 of the memory, the codes and polar signs of the abscissa rtn-t ordinates y,.,. By changing the state at the outputs of the polarity sign of the blocks 17 and 18, the pulse shapers 33 and 31 and the adders 16 and 8, respectively, are switched to the calculation time of the division coefficients in the summation.
В сумматоре-вычитателе 16 вычисл етс сумма кодов Xj + х. , определ юща коэффициент передачи делител 21 частоты, а в блоке 11 делени код In the subtractor 16, the sum of the codes Xj + x is calculated. , determining the transfer coefficient of the frequency divider 21, and in block dividing code 11
о m У mf 1about m y mf 1
.определ ющий коэффициент передачи делител 6 частоты.Determining transfer coefficient of frequency divider 6.
Знак пол рности ординаты у, устанавливаетс в единичное состо ние сумматор 26 по модулю два, а он в свою очередь переводит в единичное состо ние триггер 39. Таким образом, счетчик 7 работает в режиме вычитани .The polarity sign of the ordinate, the modulator 26 modulo two is set to one, and it in turn translates trigger 39 into one state. Thus, counter 7 operates in subtraction mode.
По заднему фронту сигнала срав- нени с выхода 10 сумматора-вычита- тел 8, задержанному на врем установки коэффициентов делени делителей 6 и 21 частоты, открываетс элемент И 5 и начинаетс воспроизведение функции на данном участке аппрок симации.On the falling edge of the signal from the output 10 of the adder-subtractor 8, delayed by the time of setting the division factors of the dividers 6 and 21 of the frequency, the element And 5 is opened and the function starts to be played in this area of the simulation.
При достижении счетчиком 19 кода аргумента х i на выходе 22 блока 3 формируетс передний.фронт сигнала сравнени , закрывающий элемент И 5, и разрешающий прием в регистр 1 кода и знака пол рности очередного аргумента Х, . Нулевой код знака пол рности аргумента х измен ет с нулевого на единичный выходной код сумматора 29 по модулю два. В блоке 30 осуществл етс формирование знаков управлени реверсом счетчиков 14 и 19. На входах элемента И-ИЛИ 49 происходит совпадение сигналов с вы- хода 37 триггера 28 и выхода 38 сум- матора 29, подтвержда нулевое состо ние триггера 45, и следовательно, режим суммировани счетчика 14. По единичному коду с выхода 38 сумма- тора 29, поступающему на входы второго элемента И элемента И-ИЛИ 44, в счетчике 19 подтверждаетс резким вычитани . Реверс счетчика 7 остает- с прежним.По заднему фронту сигнала сравнени с выхода 22 блока 3, задер жанному на врем установки знаков реверса счетчиков 7, 14 и 19, открыва j When the counter 19 reaches the argument code x i, the output front of the comparison signal is formed at the output 22 of the block 3, the closing element I 5 and allowing reception in register 1 of the code and the polarity sign of the next argument X,. The zero sign code of the polarity of the argument x changes from zero to one output code of adder 29 modulo two. In block 30, the control signs for the reversal of the counters 14 and 19 are formed. At the inputs of the AND-OR 49 element, the signals from the output 37 of the trigger 28 and the output 38 of the adder 29 coincide, confirming the zero state of the trigger 45, and therefore the mode the summation of the counter 14. According to a single code from the output 38 of the adder 29, arriving at the inputs of the second element AND of the AND-OR 44 element, in the counter 19 is confirmed by sharp subtraction. The reverse of counter 7 remains the same. At the falling edge of the comparison signal from the output 22 of block 3, delayed by the time of setting the signs of the reverse of the counters 7, 14 and 19, opened j
юYu
2020
30thirty
j, j,
55 - етс элемент И 5 и продолжаетс вое- . произведение функции на данном участке аппроксимации.55 is element 5 and continues to go on. the product of the function in this area of approximation.
При достижении счетчиком 7 нулевого кода в триггер 25 записываетс нулевой код знака пол рности ординаты tjivi , что поиводит к установке на выходе сумматора 26 по модулю два нулевого кода и, соответственно, записи в триггер 39 нулевого кода с выхода 9 сумматора-вычитател 8. Таким образом, счетчик 7 начинает работать в режиме суммировани -.When the counter 7 reaches the zero code, the zero polarity sign code tjivi is written to the trigger 25, which leads to the installation of two zero codes modulo two at the output of the adder 26 and, accordingly, writing zero code to the trigger 39 from the output 9 of the adder-subtractor 8. Thus, the counter 7 starts operating in the summation mode.
При достижении счетчиком 19 нулевого кода в триггер 28 записываетс нулеврй код знака пол рности абсциссы х., , что приводит к установке на выходе сумматора 29 по модулю два нулевого кода. Наличие нулевого кода на выходе 20 блока 3 приводит к установке на выходе 40 блока 30 нулевого сигнала, и счетчик 19 начинает работать в режиме суммировани .When the counter 19 reaches the zero code, the trigger 28 records the zero polarity sign code of the abscissa x., Which results in the installation at the output of the adder 29 modulo two zero codes. The presence of a zero code at the output 20 of block 3 causes a zero signal at the output 40 of block 30, and the counter 19 starts operating in the summation mode.
При достижении счетчиком 19 кода аргумента х на выходе 22 блока 3 формируетс передний фронт сигнала сравнени , закрывающий элемент И 5 и разрешающий прием в регистр 1 кода и знака пол рности очередного аргумента -На выходе 20 блока 3 формируетс знак разности кодов ° которому в блоке 30 устанавливаютс знаки управлени реверсом счетчиков 14 и 19. При этом на входах элемента И-ИЛИ 44 происходит совпадение сигналов и счетчик 19 устанавливаетс в режим вычитани . На входах элемента И-ИЛИ 50 происходит совпадение сигналов, и триггер 45 устанавливаетс в единичное состо ние, перевод счетчик 14 в режим вычитани . Изменение состо ни на выходе 41 блока 30 приводит к срабатыванию формировател 42 импульсов , выходом соединенного со счетным входом счетчика 14 адреса. Таким образом, из блока 17 и 18 пам ти извлекаютс коды и знаки пол рности абсциссы X и ординаты у .По единичному коду знака пол рности ординаты у на выходе сумматора 26 устанавливаетс единичный код, и соответственно триггер 39 переходит в единичное состо ние, а счетчик 7 - в режим вычитани .When counter 19 reaches the argument code x, the leading edge of the comparison signal is formed at the output 22 of block 3, the closing element AND 5 and allowing reception in register 1 of the code and polarity sign of the next argument. At the output 20 of block 3, the sign of the difference of codes is formed, which in block 30 the control signs for the reverse of the counters 14 and 19 are set. In this case, the signals at the inputs of the AND-OR 44 element coincide and the counter 19 is set to the subtraction mode. At the inputs of the AND-OR element 50, the signals coincide, and the trigger 45 is set to one, the transfer of counter 14 to the subtraction mode. The change in state at the output 41 of block 30 triggers the pulse generator 42, the output connected to the counting input of the address counter 14. Thus, codes and polarity signs of abscissa X and ordinates y are extracted from memory block 17 and 18. By the unit code of the ordinate polarity, a unit code is set at the output of the adder 26, and accordingly, the trigger 39 goes into one state, and the counter 7 - in subtraction mode.
По заднему фронту сигнала сравнени с выхода 22 блока 3, задержанного на врем установки знаков реверса счетчиков, открываетс элемент И 5 и начинаетс отработка поступившего аргумента X . По достижении счетчиком 19 кода аргумента XK+ на выходе 22 блока 3 формируетс передний фронт очередного сигнала сравнени , закрьшающий элемент И 5 и разрешающий прием в регистр 1 кода и знака пол рности очередного аргумента X . j В соответствии со знаком пол рности аргумента Хк+э выходе сумматора 29 по модулю два по вл етс единичный сигнал, которьш через элемент И-ИЛИ 44 подтверждает режим вычитани счетчика 19. Совпадение сигналов на входах элемента И-ИЛИ 50 с выхода 38 сумматора 29 и выхода элемента НЕ 46 подтверждает единичное состо ние триггера 45 и соответственно режим вычитани счетчика 14. По заднему фронту сигнала сравнени с выхода 22 блока 3 открываетс элемент И 5 и начинаетс отработка поступившего аргумента к+з On the falling edge of the comparison signal from the output 22 of block 3, delayed by the installation time of the characters for the reverse of the counters, the element 5 opens and the testing of the incoming argument X begins. When the counter 19 reaches the XK + argument code, the output 22 of block 3 generates the leading edge of the next comparison signal, the AND 5 element which allows the reception in register 1 of the code and the polarity sign of the next argument X. j In accordance with the polarity sign of the argument Xk + e, the output of the adder 29 modulo two appears a single signal, which through the AND-OR element 44 confirms the subtraction mode of the counter 19. The coincidence of the signals at the inputs of the element AND-OR 50 from the output 38 of the adder 29 and the output of the element 46 confirms the single state of the trigger 45 and, accordingly, the subtraction mode of the counter 14. On the falling edge of the comparison signal from the output 22 of block 3, the element 5 opens and the testing of the received argument K + 3 begins
При достижении счетчиком 19 нулевого кода в триггер 28 записываетс единичный код знака пол рности абсциссы X . Это приводит к установке на выходе сумматора 29 нулевого кода и отсутствию совпадени сигналов на входах элемента И-ИЛИ 44. Таким образом счетчик 19 начинает работать в режиме суммировани . Совпадение сигналов на входах элемента И-ШШ 50 подтверждает единичное состо ние триггера 45 и режим вычитани счетчика 14.When the counter 19 reaches the zero code, the unit 28 records the unit code of the polar abscissa X. This results in a zero code at the output of the adder 29 and the absence of signals at the inputs of the AND-OR 44 element. Thus, the counter 19 begins to operate in the summation mode. The coincidence of the signals at the inputs of the I-SHSh 50 element confirms the single state of the trigger 45 and the subtraction mode of the counter 14.
При достижении счетчиком 7 нулевого кода в триггер 25 записываетс единичный код знака пол рности ординаты у , и на выходе сумматора 26 устанавливаетс нулевой код. В триггер 39 записываетс нулевой код с выхода 9 сумматора-вычитател В, и счетчик 7 начинает работать в режиме суммировани .When the counter 7 reaches the zero code, the unit code of the polarity sign of the ordinate y is written to the trigger 25, and the zero code is set at the output of the adder 26. In the trigger 39, the zero code from the output 9 of the adder-subtractor B is written, and the counter 7 starts operating in the summation mode.
При достижении счетчиком 7 кода ординаты Ij на выходе 10 сумматора- вычитател 8 формируетс передний фронт сигнала сравнени , по которому закрьшаетс элемент И 5. Состо ние сигналов на входах блока 30 остаютс прежними, а следовательно не измен ютс знаки реверса счетчиков 14 и 19, и счетчик 14 адреса по переднему фронту сигнала сравнени переходит в следующее Состо ние. Из бло211756 О ков 17 и 18 пам ти извлекаютс коды и знаки пол рности абсциссы х f, и ординаты .)„., .В делителе 6 и 21 частоты занос тс соответствуюгцие 5 коэффициенты делени на данном, участке аппроксимации. По заднему фронту сигнала сравнени с выхода 10 сумматора-вычитател 8 открываетс элемент И 5 и продолжаетс отра10 ботка аргумента последующих участках аппроксимации устройство работает аналогично.When counter 7 reaches the ordinate code Ij, at output 10 of subtractor 8, the leading edge of the comparison signal is formed, according to which element 5 is closed. The state of the signals at the inputs of block 30 remains the same, and therefore the reverse signs of counters 14 and 19, and the address counter 14 on the leading edge of the comparison signal goes to the next State. Codes and polar signs of abscissas x f and ordinates are extracted from memory block 17 and 18.).,. In the frequency divider 6 and 21, the corresponding division 5 is inserted into the division factors on this approximation area. On the falling edge of the comparison signal from the output 10 of the adder-subtractor 8, the element 5 opens, and the processing of the argument of the subsequent approximation sections continues, the device works in a similar way.
Таким образом, в предлагаемом 15 функциональном преобразователе по сравнению с известным устройством расшир етс класс воспроизводимых функций за счет ступенчато-линейной интерпол ции функций в зависимости 20 от кода и знака пол рности поступившего аргумента, а также осуществл етс воспроизведение функций, начинающихс с произвольного значени .Thus, in the proposed 15 functional converter, in comparison with the known device, the class of reproducible functions is expanded due to stepwise linear interpolation of functions depending on 20 on the code and polarity sign of the argument received, and functions starting from an arbitrary value are also reproduced.
2525
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843781966A SU1211756A1 (en) | 1984-08-16 | 1984-08-16 | Function generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843781966A SU1211756A1 (en) | 1984-08-16 | 1984-08-16 | Function generator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1211756A1 true SU1211756A1 (en) | 1986-02-15 |
Family
ID=21135219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843781966A SU1211756A1 (en) | 1984-08-16 | 1984-08-16 | Function generator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1211756A1 (en) |
-
1984
- 1984-08-16 SU SU843781966A patent/SU1211756A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 993271, кл. G 06 F 15/353, 1982. Авторское свидетельство СССР № 1037272, кл. G 06 F 15/353, 1982. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1211756A1 (en) | Function generator | |
AU594593B2 (en) | Method and arrangement for generating a correction signal in a digital timing recovery device | |
SU1242938A1 (en) | Calculating device | |
SU1566366A1 (en) | Device for solving linear algebraic equation systems | |
SU1439534A1 (en) | Linear interpolator | |
SU884131A1 (en) | Frequency converter | |
SU1115069A1 (en) | Function generator | |
SU993271A1 (en) | Device for digital functional conversion | |
SU1037272A1 (en) | Function converter | |
SU1508249A1 (en) | A-d function converter | |
SU985792A1 (en) | Device for digital function conversion | |
SU1335986A1 (en) | Device for computing percentage ratio of two values | |
SU1288725A1 (en) | Piecewise-quadratic approximator | |
SU1168964A1 (en) | Generator of functions of two variables | |
SU1401480A1 (en) | Multichannel digital interpolation filter | |
SU1123032A1 (en) | Unit-counting square-law function generator | |
SU1633529A1 (en) | Device for majority sampling of asynchronous signals | |
SU951294A1 (en) | Device for comparing binary numbers | |
SU1193672A1 (en) | Unit-counting square-law function generator | |
SU941926A1 (en) | Digital servo drive | |
SU742911A1 (en) | Function generator | |
SU902248A1 (en) | Device for conversion of time interval to code | |
SU1252792A1 (en) | Device for solving sets of linear differential equations | |
SU1259258A1 (en) | Device for performing piecewise-linear approximation | |
SU1078428A1 (en) | Pulse-position square-law function generator |