SU1180885A1 - Square-law function generator - Google Patents

Square-law function generator Download PDF

Info

Publication number
SU1180885A1
SU1180885A1 SU833671431A SU3671431A SU1180885A1 SU 1180885 A1 SU1180885 A1 SU 1180885A1 SU 833671431 A SU833671431 A SU 833671431A SU 3671431 A SU3671431 A SU 3671431A SU 1180885 A1 SU1180885 A1 SU 1180885A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
pulse
clock
trigger
Prior art date
Application number
SU833671431A
Other languages
Russian (ru)
Inventor
Владимир Леонидович Баранов
Original Assignee
Ордена Ленина Институт Кибернетики Им.В.М.Глушкова
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 Ордена Ленина Институт Кибернетики Им.В.М.Глушкова filed Critical Ордена Ленина Институт Кибернетики Им.В.М.Глушкова
Priority to SU833671431A priority Critical patent/SU1180885A1/en
Application granted granted Critical
Publication of SU1180885A1 publication Critical patent/SU1180885A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

1. КВАДРАТОР, содержащий три элемента задержки три элемента ИЛИ, три элемента И, отличающийс  тем, что, с целью расширени  области применени  за счет возможности работы с числами, представленными как в цифровой, так и в аналоговой форме, в него введены первый и второй сдвиговые регистры, сумматор. Триггер, коммутатор, первый и второй тактователи импульсов, блок синхронизации, два формировател  импульсов, выход первого регистра сдвига соединен с первым входом сумматора, выход которого подключен к информационному входу первого, сдвигового регистра, вход синхронизации которого соединен с входом синхронизации второго регистра сдвига и первым выходом блока синхронизации , второй выход которого соединен с управл ющими входами первого и второго регистров сдвига, информационные входы которых подключены к нулевой шине устройства, выход второго регистра сдвига соединен с инверсным входом сброса триггера и с первым входом первого элемента ИЛИ, в-opoii вход которого соединен через первый элемент задержки с пр мым выходом триггера, информационный вход.второго регистра сдвига соединен с выходом первого элемента И, первый и второй входы которого соединены соответственно с выходом первого элемента ИЛИ и с инверсным выходом триггера, информационный вход которого соединен с первым выходом, первого тактовател  импульсов, второй выход которого соединен с первым входом второго элемента И, выход которого подключен к второму входу сумматора, а второй вход соединен с выходом коммутатора, управл ющий вход которого соединен с выходом (Л второго тактовател  импульсов, информационный вход которого соединен с информационным входом первого тактовател  и третьим выходом блока в синхронизации, четвертый выход которого соединен с первым входом третьего элемента ИЛИ, второй вход которого 00 через второй элемент задержки подключен к выходу второго регистра о сдвига, выход третьего элемента ИЛИ (Х соединен с вторым информационным 90 входом коммутатора и через третий сл элемен г задержки - с первым информационным входом коммутатора, п тый выход блока синхронизации соединен с входом запуска первого и второго формирователей импульсов, информационные входы которых  вл ютс  информационными входами устройства, выход первого формировател  импульсов соединен с первым входом второго элемента ИЛИ, выход которого соединен с входом управлени  первого тактовател  и с первым входом третьего элемента И, кыход которого1. SQUARE, containing three delay elements, three OR elements, three AND elements, characterized in that, in order to expand the field of application due to the possibility of working with numbers presented both in digital and analog form, the first and second shift registers, adder. Trigger, switch, first and second pulse clock, synchronization unit, two pulse drivers, output of the first shift register connected to the first input of the adder, the output of which is connected to the information input of the first, shift register, the synchronization input of which is connected to the synchronization input of the second shift register and the first the output of the synchronization unit, the second output of which is connected to the control inputs of the first and second shift registers, whose information inputs are connected to the zero bus of devices a, the output of the second shift register is connected to the inverse reset input of the trigger and to the first input of the first OR element, in opoii, the input of which is connected through the first delay element to the direct output of the trigger, the information input of the second shift register is connected to the output of the first And element, the first and the second inputs of which are connected respectively to the output of the first OR element and to the inverse output of the trigger, the information input of which is connected to the first output, the first pulse clock, the second output of which is connected to the first one The second element is And, the output of which is connected to the second input of the adder, and the second input is connected to the output of the switch, the control input of which is connected to the output (L of the second clock pulse, whose information input is connected to the information input of the first clock and the third output of the block in synchronization, the fourth output of which is connected to the first input of the third OR element, the second input of which 00 through the second delay element is connected to the output of the second shift register, the output of the third OR element (X connect The fifth output of the synchronization unit is connected to the start input of the first and second pulse drivers, whose information inputs are information inputs of the device, the output of the first pulse driver is connected to with the first input of the second element OR, the output of which is connected to the control input of the first clock and with the first input of the third element AND, whose output

Description

соединен с входом управлени  второго тактовател , а второй вход - с вторым входом второго элемента ИЛИ и выходом второго формировател  импульсов .connected to the control input of the second clock, and the second input to the second input of the second OR element and the output of the second pulse driver.

2. Квадратор по п.1, о т л и-, чающийс  тем, что блок синхронизации содержит генератор импульсов , распределитель импульсов, генератор одинаковых импульсов триггер , два коммутатора, элемент НЕ, выход генератора импульсов соединен с первым выходом блока синхронизации и входом распределител  импульсов, первый выход которого соединен с четвертым выходом блока синхронизации , а второй выход соединен с третьим выходом блока синхронизации, информационным входом триггера и информационным входом генератора одиночных импульсов, управл ющий вход которого соединен с выходом первого коммутатора, первый вход которого соединен с земл ной шиной, а второй вход через элемент НЕ подключен к земл ной шине, выход, генератора2. The quadrator according to claim 1, wherein the synchronization unit comprises a pulse generator, a pulse distributor, a generator of identical pulses, a trigger, two switches, a NOT element, the output of the pulse generator is connected to the first output of the synchronization unit and the distributor input pulses, the first output of which is connected to the fourth output of the synchronization unit, and the second output is connected to the third output of the synchronization unit, the information input of the trigger and the information input of the single pulse generator, the control input coupled to an output of the first switch, the first input of which is connected to an earth bus, and the second input via NOT element is connected to an earth bus, the output generator

подключен к входу второго коммутатора , первый выход которого соединен с управл юпщм входом триггера,пр мой выход которого подключен к второму выходу блока синхронизации,второй i выход второго коммутатора соединен с п тым выходом блока синхронизации.connected to the input of the second switch, the first output of which is connected to the control input of a trigger, the direct output of which is connected to the second output of the synchronization unit, the second i output of the second switchboard connected to the fifth output of the synchronization unit.

3. Квадратор по п.1, о т л и чающийс  тем, что тактователь содержит два элемента НЕ, элемент ИЛИ и два элемента И-НЕ, первый вход первого элемента И-НЕ соединен с информационным входом тактовател  и первым входом элемента ИЛИ, выход которого соединен с первым входом второго элемента И-НЕ, выход которог соединен с вторым выходом тактовател  и вторым входом первого элемента И-НЕ, выход которого через первый элемент НЕ соединен с первым выходом тактовател  и с вторым входом второго элемента И-НЕ, управл ющий вход тактовател  через второй элемент НЕ - с вторым входом элемента ИЛИ.3. The quadrator according to claim 1, said that the clock contains two NOT elements, the OR element and two NAND elements, the first input of the first NAND element is connected to the information input of the tachometer and the first input of the OR element, output which is connected to the first input of the second NAND element, the output of which is connected to the second output of the clock and the second input of the first NAND element, the output of which through the first element is NOT connected to the first output of the clock and the second input of the second element NAND controlling clock input via second element T does not - with the second input of the OR element.

1one

Изобретение относитс  к автоматике и вычислительной технике и предназначено дл  возведени  в квадрат либо дл  формировани  суммы квадратов двух величин, представленных в цифровой или аналоговой форме представлени  информации.The invention relates to automation and computer technology and is intended to be squared or to form the sum of squares of two quantities represented in digital or analog form of information representation.

Цель изобретени  - расширение области применени  за счет возможности работы с числами, представленными как в цифровой, так и в аналоговой форме.The purpose of the invention is to expand the scope of use due to the possibility of working with numbers presented in both digital and analog form.

На фиг. 1 изображена структ.урна  схема предлагаемого квадратора; на фиг. 2 - структурна  схема блока синхронизации и тактовател  импульсов .FIG. 1 shows a structural scheme of the proposed quad; in fig. 2 is a block diagram of a synchronization unit and pulse clock.

Квадратор (фиг.1) содержит регистры 1 и 2 сдвига, сумматор 3, триггер 4, элементы ИЛИ 5-7, элементы И 810 , элементы 11-13 задержки на такт, коммутатор 14, блок 15 синхронизации тактователи 16 и 17 импульсов, формирователи 18 и 19 импульсов, информационные входы 20 и 21 устройства. The quadrator (figure 1) contains the registers 1 and 2 of the shift, the adder 3, the trigger 4, the elements OR 5-7, the elements And 810, the elements 11-13 delay per clock, the switch 14, the block 15 synchronization clocks 16 and 17 pulses, drivers 18 and 19 pulses, information inputs 20 and 21 devices.

Блок (фиг.2) содержит триггер 22, генератор 23 импульсов, распределитель 24 импульсов, генератор 25 одиночных- импульсов, коммутаторы 26 и 2 элемент НЕ 28, выходные шины 29-33.The block (FIG. 2) contains a trigger 22, a pulse generator 23, a pulse distributor 24, a single-pulse generator 25, switches 26 and 2 HE element 28, output buses 29-33.

Тактователь 16 или 17 импульсов (фиг. 2) содержит два элемента И-НЕ 34 и 35, два элемента НЕ 36 и 37, элемент ИЛИ 38, два входа 31 и 39, два выхода 40 и 41.The tactile 16 or 17 pulses (Fig. 2) contains two elements AND-NOT 34 and 35, two elements NOT 36 and 37, element OR 38, two inputs 31 and 39, two outputs 40 and 41.

Квадратор работает следующим образом .Quad works as follows.

В исходном состо нии коммутатором 27 блока 15 синхронизации подключают выход генератора 25 одиночных импульсов к информационному входу триггера 22. Генератор 23 импульсов блока 15 синхронизации формирует последовательность тактовых импульсов , из которых п-разр дный распределитель 24 импульсов формирует п последовательностей импульсов длителностью , 1/f, периодом T Tni/f и сдвинутых друг относительно друга на врем  f 1/f, где f - частота тактовых импульсов генератора 23, п количество разр дов регистров 1 и 2 сдвига. Коммутатором 26 .подают 1:игн логической 1 с выхода элемента НЕ 28 на вход запуска генератора 25 одиночных импульсов, на вькоде которого выдел етс  одиночный импульс из последовательности Ц -го разр да распределител  24 импульсов Выходной импульс генератора 25 одиночных импульсов через коммутатор 27 поступает на информационный вход триггера 22, устанавлива  его в еди ничное состо ние. Сигнал логической 1 пр мого выхода триггера 22 поступает на входы управлени  регистров 1 и 2 сдвига, которые под действием тактовых импульсов, поступающих с .первого выхода блока 15 синхронизации, устанавливаютс  в нулевое состо ние, поскольку на их входе ввода данных действует сигнал логического О. Триггер 4 устанавливаетс  в нулевое состо ние нул вым сигналом, сдвигаемым с: выхода регистра 2 сдвига. Таким образом, в исходном состо нии регистры 1 и 2 сдвига, а также триггер 4 наход тс  в нулевом состо нии. В исходном сос то нии при нулевом сигнале на входе управлени  коммутатор 14 подключает выход элемента ИЛИ 7 по второму вхо ду элемента И 9. Режим вычислений устанавливаетс  коммутатором 27 путем подключени  выхода генератора 25 одиночных импульсов к входам запуска формирователей 18 и 19 импульсов. Вычислени  в квадраторе начинаютс  после запус ка с помощью коммутатора 26 генератора 25 одиночных импульсов, выходной импульс которого запускает формировател  18 и 19 импульсов. На выходах формирователей 18 и 19 импульсов формируютс  импульсы, длительность которых пропор1щональна сигналам (аналоговым или цифровым ) , действующим на информационных входах 20 и 21 устройства. Если длительность вькодных импуль-50 сов формирователей 18 и 19 импульсов различна, то наибольший по длительности импульс выдел етс  на выходе элемента ШШ 6, а импульс меньшей длительности - на выходе элемента И 10, под действием которого такто- ватель 17 импзльсов формирует из последовательности импульсов О -го 55 54 разр да распределител  24 импульсов строб пачки импульсов, количество которых пропорционально наименьшей величине, действующей на одном из информационных входов 20 или 21 устройства. Строб тактовател  17 импульсов переключает коммутатор 14 в состо ние,в котором выход элемента 13 задержки подключаетс  к второму входу элемента И 9. Под действием наибольшего импульса выхода элемента ИЛИ 6 и поиледовательности импульсов П -го разр да распределител  24 импульсов тактователь 16 импульсов формирует на первом выходе строб пачки импульсов , а на втором выходе пачку импульсов, количество которых пропорционально наибольшей величине, действующей на одном иэ информационных входов 20 или 21 устройства. Строб первого выхода тактовател  16 импульсов открывает элемент И 9, а пачка импульсов второго выхода тактовател  16 импульсов поступает на информационный вход триггера 4. Первый импульс пачки устанавливает в единичное состо ние триггер 4 в п-м такте (соответствующему сдвигу разр дов кодов с выходов регистров Iи 2 сдвига). Установка триггера 4 в единичное состо ние приводит к формированию на его инверсном выходе нулевого сигнала, блокирующего элемент И 8, а на пр мом выходе - единичного сигнала, который спуст  врем  задержки элементом I1задержки на такт начинает действовать через элемент ИЛИ 5 на первом входе элемента И 8. Под действием тактовых импульсов первого выхода блока 15 синхронизации с выхода регистра 2 сдвига в первом такте сдвигаетс  младший разр д начального нулевого кода, сигнал которого поступает на инверсный вход сброса триггера 4 и устанавливает его в нулевое положение. В нулевом состо нии на инверсном выходе триггера 4 формируетс  единичный сигнал, который снимает блокировку элемента И 8. Благодар  задержке на такт элементом 11 сигнтла пр мого выхода триггера 4 на выходе элемента И 8 формируетс  импульсный сигнал, который в первом такте записываетс  в качестве младшего разр да кода в регистр 2 сдвига под действием тактовых импульсов первого выхода блока 15 синхронизации . В течение первого такта выходной сигнал первого разр да распределите л  24 импульсов, действующий на чет вертом выходе блока 15 синхронизаци поступает через элемент ИЛИ 7 на вход элемента 13 задержки. В следующем такте выходной сигнал элемента 13 задержки через коммутатор 14, элемент И 9, сумматор 3 поступает на информационный вход регистра 1 сдвига. Под действием тактовых импульсов первого выхода блока 15 синхронизации во втором такте в регистр 1 сдвига записываетс  единичный сигнал в качестве второго разр да кода. В течение последующих тактов с второго до п-го, разр ды кодов с первого по п-й под действием T iKTOBbK импульсов первого выхода блока 15 синхронизации сдвигаютс на выход регистров 1 и 2 сдвига. Таким образом, после первого шаг вычислений в течение п-тактов в регистрах сдвига 1 и 2 формируютс  соответственно двоичные коды квадратной функции 2 х 2 и аргумента Х| 1 . На втором и последующих шагах вычислений до окончани  дейст ви  наименьшего импульсного сигнала на выходах формирователей 18 и 19 импульсов устройство формирует в регистрах 1 и 2 сдвига соответствен но двоичные коды квадратичной функции и аргумента согласно ,соотношени 2 ., + 4 х,,. + 2 , (1 где х- и - значени  аргумента квадратичной функци на i и i-1 шагах вы лений соответственно . Например, установка триггера 4 в единичное состо ние i-м импульсом пачки, действующей на втором вькоде тактовател  16 импульсов, обеспечивает формирование в регистрах 1 и 2 сдвига двоичных кодов величин 2 X; и х- соответственно, согласно соотношению (1), следующим образом. Под действием тактовых импульсов первого выхода блока 15 синхронизации на первый вход сумматора 3 сдвигаетс  двоичный код величины 2 X ;.. квадратичной функции на предьщущем шаге вычислений а с выхода регистра 2 сдвига через элементьЕ 12 и 13 задержки на такт, элементы ИЛИ 7, И 9, и коммутатор 14 на второй вход сумматора 3 сдвигаетс  двоичный код аргумента 4 х Последовательна  задержка элементами 12 и 13 задержки на два такта обеспечивает сдвиг на два разр да двоичного кода аргумента на предыдущем шаге вьгаислений по отношению к двоичному коду функции 2 х , сдвигаемому с выхода регистра 1 сдвига. Сумматор 3 формирует согласно соотношению (1), двоичный код квадратичной функции 2 х на i-м шаге вычислений, который последовательно , начина  с младшего разр да, сдвигаетс  с выхода сумматора 3 в регистр 1 сдвига. Сигнал двух единиц мпадшего разр да поступает с четвертого выхода блока 15 синхронизации через элементы ИЛИ 7, И 9, элемент I3 задержки и коммутатор 4 на второй вход сумматора 3 . В это врем  в регистре 2 двоичный код величины х;., увеличиваетс  на единицу. Действительно,установка триггера 4 в единичное состо ние обеспечивает разрыв цепи циркул ции кодов с выхода регистра 2 сдвига на его вход, так как элемент И 8 закрыт нулевым сигналом инверсного выхода триггера 4. Следовательно, до возврата триггера 4 в нулевое состо ние в младшие разр ды кода регистра 2 сдвига записываютс  нулевые сигналы. Триггер 4 вернет в нулевое состо ние первый, начина  с младшего разр да, нулевой сигнал кода, который сдвигаетс  с выхода регистра 2 сдвига. Переход триггера 4 из единичног5 состо ни  в нулевое приводит к формированию на выходе элемента И 8 импульсного сигнала, благодар  задержке элементом 11 задержки единичного сигнала пр мого выхода .триггера 4 его предьщущего состо ни . Следовательно, вместо сдвигаемого с выхода регистра 2 сдвига нулевого сигнала на информационный вход регистра 2 сдвига поступает единичный сигнал с выхода элемента И В. Остальные разр ды двоичного кода, сдвигаемого с выхода регистра 2 сдвига, переписываютс  в регистр 2 сдвига без изменени  через элементы ИЛИ 5 и И В, так к у 7 триггер 4 находитс  в нулевом состо Таким образом, двоичный код в ре гистре 2 сдвига на каждом шаге вычислений увеличиваетс  на единицу и соответствует количеству импульсо действующих на втором выходе тактовател  16 импульсов. После окончани  действи  наимень шего импульса на выходе формировател  18 или 19 импульсов элемент И 10 закрываетс  и на выходе тактовател  17 устанавливаетс  нулевой сигнал. Нулевой сигнал первого выхо да тактовател  17 импульсов обеспеч вает возврат коммутатора 14 в исход ное состо ние, в котором выход элемента ИЛИ 7 подключаетс  к второму входу элемента И 9, на первом входе которого продолжает действовать строб выхода тактовател  16 импульсов до окончани  действи  наибольшего импульса на выходе формировате л  18 или 19 импульсов. На интервале времени от момента окончани  наименьшего до момента окончани  наибольшего импульса на выходах формирователей 18 и 19 импульсов устройство формирует сумму квадратов двух величин согласно следующему соотношению y-t, + х (уГ+ х ) + 2у.+ 1 где X - наименьша  входна  величина; у - наибольша  входна  величин К моменту окончани  наименьшего импульса (соответствующего наименьшей входной величине) в регистре 1 сдвига формируетс  согласно соотнош нию (1) двоичный код 2х удвоенного значени  квадрата наименьшей величины , а в регистре 2 сдвига - дво ичный код X наименьшей величины. Допустим, что наименьший импульс величины X окончитс  на i-м шаге вычислений, тогда и . Поэтому после i-ro шага вычислений в регистре 1 сдвига содержитс  двоичный код величины 2х у, + х, а в регистре 2 сдвига-двоичный код величины у- , который с помощью элемента 12 задержки удваиваетс . На элемента ИЛИ 7 формируетс  последовательный двоичный код величины 2 у + 1, так как в мпадший разр д кода записываетс  единичный сигнал четвертого выхода блока 15 858 синхронизации. Последовательный двчичный код величины 2 у,- + 1 поступает с выхода элемента ИЛИ 7 через коммутатор 14 и элемент И 9 на второй вход сумматора 3, на первый вход которого с выхода регистра 1 сдвига сдвигаетс   оследовательный двоичный код величины у + х . Результат суммировани , который согласно соотношению (2) равен величине у, + х , записываетс , начина  с младшего разр да, в региатр 1 сдвига под действием тактовых импульсов первого выхода блока 15 синхронизации. В то же врем  на (i+ 1)-м шаге вычислений в течение п тактов двоичный код в регистре 2 сдвига в процессе перезаписи с выхода на вход через элементы ИЛИ 5 и И 8 увеличиваетс  на единицу как было ранее описано. На всех последующих шагах вычислени  вьшолн ютс  аналогичным образом до момента окончани  наибольшего импульса входной величины у. В этом случае на выходе элемента ИЛИ 6 устанавливаетс  нулевой сигнал, который устанавливает на первом и втором выходах тактовател  16 импульсов нулевые сигналы. Нулевой сигнал первого выхода тактовател  15 импульсов блокирует элемент И 9. В регистре 1 сдвига динамическим способом путем циркул ции двоичного кода через сумматор 3 фиксируетс  сумма квадратов двух входных величин у«+ х в регистре 2 сдвига запоминаетс  динамическим способом путем циркул  кода через элементы ИЛИ 5 и И 8 двоичный код наибольшей входной величины у. Тактователь 16 или 17 импульсов работает следующим образом. На вход 31 поступает последовательность импульсов, а на вход 39 сигнал управлени . В случае отсутстви  сигналов упавлени  на входе 39, на выходе лемента НЕ 36, устанавливаетс  сигнал огической 1, поступающей через лемент -ИЛИ 38 на один из входов лемента И-НЕ 34. Во врем  паузы ежду импульсами на входе 31 на ыходе элемента И-НЕ 35 формируетс  игнал логической 1, который совестно с единичным сигналом выхода лемента ИЛИ 38 устнавливает на выходе элемента И-НЕ 34 сигнал логического О, блокирующий элемент И-НЕ 35 во врем  действи  импульса на входе 31. Сигнал логической 1 выхода элемента И-НЕ 35 поддерживает сигнал логического О на выходе элемента НЕ 37.In the initial state, the switch 27 of the synchronization unit 15 connects the output of the generator 25 single pulses to the information input of the trigger 22. The generator 23 of the pulses of the synchronization unit 15 generates a sequence of clock pulses, of which n-bit distributor 24 pulses form n sequences of pulses of duration 1 / f , period T Tni / f and shifted relative to each other by time f 1 / f, where f is the frequency of the clock pulses of the generator 23, n is the number of bits of the registers 1 and 2 of the shift. Switch 26. Gives 1: Ignition logic 1 from the output of the element NE 28 to the start input of the generator 25 single pulses, on which code a single pulse is emitted from the sequence of the th digit of the distributor 24 pulses The output pulse of the generator 25 single pulses through the switch 27 is fed to information input trigger 22, set it to a single state. The logical 1 signal of the direct output of the trigger 22 is fed to the control inputs of the shift registers 1 and 2, which, under the action of the clock pulses from the first output of the synchronization unit 15, are set to the zero state, since the logical O signal acts on their data input. The trigger 4 is set to the zero state by a zero signal shifted from: the output of the shift register 2. Thus, in the initial state, the shift registers 1 and 2, as well as the trigger 4, are in the zero state. In the initial state with a zero signal at the control input switch 14 connects the output of the element OR 7 to the second input of the element AND 9. The calculation mode is set by switch 27 by connecting the output of the generator 25 single pulses to the start inputs of the drivers 18 and 19 pulses. The calculations in the quad start after starting with the switch 26 of the generator 25 single pulses, the output pulse of which triggers the pulse former 18 and 19. At the outputs of the formers 18 and 19 pulses, pulses are formed, the duration of which is proportional to the signals (analog or digital) acting on the information inputs 20 and 21 of the device. If the duration of each pulse-50 owl shaper 18 and 19 pulses is different, then the longest pulse is allocated at the output of the SHSh 6 element, and the shorter pulse is at the output of the AND 10 element, under the action of which the clock pulse 17 forms About the 55th 54th distributor bit of 24 pulses is a strobe of a burst of pulses, the number of which is proportional to the smallest value acting on one of the information inputs of 20 or 21 devices. The pulse strobe 17 switches the switch 14 to a state in which the output of the delay element 13 is connected to the second input of the element AND 9. Under the action of the maximum output pulse of the element OR 6 and the pulse order of the first distributor pulse 24, the pulse 16 forms the first pulse the output of the strobe is a burst of pulses, and at the second output a burst of pulses, the number of which is proportional to the largest value acting on one of the information inputs of 20 or 21 devices. The strobe of the first clock pulse output 16 opens element I 9, and the pulse burst of the second clock output 16 pulse arrives at the information input of trigger 4. The first pulse of the packet sets trigger one 4 in the nth cycle (corresponding to the shift of code bits from the register outputs) I and 2 shift). Setting trigger 4 to a single state results in the formation of a zero signal at its inverse output, blocking the element 8, and at the direct output, a single signal which, after the delay time of the element I1, lags per cycle through the element OR 5 at the first input of the element AND 8. Under the action of the clock pulses of the first output of the synchronization unit 15 from the output of the shift register 2 in the first cycle, the lower bit of the initial zero code is shifted, the signal of which is fed to the inverse reset input of the trigger 4 and set it is in zero position. In the zero state at the inverse output of the trigger 4, a single signal is generated, which removes the blocking of the element AND 8. Due to the delay for the clock by the element 11 of the signal of the direct output of the trigger 4, the pulse signal is generated at the output of the element 8, which is recorded in the first cycle as a lower order Yes, the code in the register 2 shift under the action of the clock pulses of the first output of the synchronization unit 15. During the first clock cycle, the output signal of the first bit distributes л 24 pulses acting on the fourth output of the synchronization unit 15 through the OR 7 element to the input of the delay element 13. In the next cycle, the output signal of the element 13 delay through the switch 14, the element And 9, the adder 3 is fed to the information input of the register 1 shift. Under the action of the clock pulses of the first output of the synchronization unit 15 in the second clock, a single signal is recorded in the shift register 1 as the second code bit. During the subsequent cycles from the second to the nth, the bits of the codes from the first to the nth under the action of T iKTOBbK of the pulses of the first output of the synchronization unit 15 are shifted by the output of the shift registers 1 and 2. Thus, after the first calculation step, the binary codes of the square function 2 x 2 and the argument X | are generated in the shift registers 1 and 2, respectively. one . At the second and subsequent computation steps, before the end of the smallest pulse signal at the outputs of the pulse formers 18 and 19, the device generates in the shift registers 1 and 2, respectively, the binary codes of the quadratic function and the argument according to the ratio 2., + 4 x ,,. + 2, (1 where x and i are the values of the argument of a quadratic function on i and i – 1 extraction steps, respectively. For example, setting trigger 4 to one state by the i-th pulse of a packet acting on the second clock of the 16 clock pulse, provides the formation of in registers 1 and 2, the shift of binary codes of values 2 X; and x-, respectively, according to relation (1), as follows: Under the action of the clock pulses of the first output of synchronization unit 15, the binary code of value 2 X is shifted to the first input of adder 3; .. quadratic functions in the previous compute step And from the output of the register 2 shift through the elements 12 and 13 of the delay per clock, the elements OR 7, AND 9, and the switch 14 to the second input of the adder 3 shifts the binary code of the argument 4 x Sequential delay by elements 12 and 13 of the delay by two clocks provides a shift by two bits of the binary code of the argument in the previous step of calculating with respect to the binary code of the 2 x function shifted from the output of the shift register 1. The adder 3 generates, according to relation (1), the binary code of the 2 x quadratic function at the i-th calculation step, which is sequentially nach In the lower order bit, it shifts from the output of the adder 3 to the shift register 1. The signal of the two units of the best bit is supplied from the fourth output of the synchronization unit 15 through the elements OR 7, AND 9, the delay element I3 and the switch 4 to the second input of the adder 3. At this time, in register 2, the binary code of the value x;., Is incremented by one. Indeed, setting trigger 4 to one state ensures the breaking of the circuit of circulation of codes from the output of shift register 2 to its input, since element 8 is closed by the zero signal of the inverse output of trigger 4. Therefore, before trigger 4 returns to the zero state For the shift register code 2, zero signals are recorded. The trigger 4 returns to the first zero state, starting with the lower bit, the zero code signal, which is shifted from the output of the shift register 2. The transition of the trigger 4 from the single state to the zero state results in the formation at the output of the element And 8 of a pulse signal, due to the delay by the element 11 of the delay of the single signal of the direct output of the trigger 4 of its previous state. Consequently, instead of a zero signal shifted from the output of register 2, a single signal from the output of element I B arrives at the information input of the shift register 2. The remaining bits of the binary code shifted from the output of shift register 2 are rewritten into shift register 2 without changing through the elements OR 5 And I, B, so for 7 the trigger 4 is in the zero state. Thus, the binary code in the register 2 of the shift at each step of the calculations is increased by one and corresponds to the number of pulses acting on the second clock output 16 Pulse. After the lowest pulse has expired, the element And 10 is closed at the output of the driver 18 or 19 of the pulses, and the zero signal is set at the output of the clock 17. The zero signal of the first output and clock pulse 17 provides for the switch 14 to return to its initial state, in which the output of the element OR 7 is connected to the second input of the element AND 9, at the first input of which the gate pulse output 16 of the pulses continues to operate until the end of the maximum pulse on The output is 18 or 19 pulses. In the time interval from the moment of ending the smallest to the moment of termination of the largest pulse at the outputs of the formers 18 and 19 pulses, the device forms the sum of squares of two quantities according to the following relation y – t, + x (y + x) + 2y + 1 where X is the smallest input value; y is the largest input value. By the moment of the end of the smallest pulse (corresponding to the smallest input value) in shift register 1, a binary code of 2 times the smallest square of the smallest value is formed according to (1) and a duplicate code X of the smallest value in shift register 2. Suppose that the smallest impulse of magnitude X ends at the i-th step of the computation, then and. Therefore, after the i-ro step of the calculations, the shift register 1 contains the binary code of the value 2x y, + x, and the shift register 2, the binary code of the value y-, which is doubled with delay 12. On the element OR 7, a sequential binary code of the value 2 y + 1 is formed, since the single signal of the fourth output of the synchronization unit 15,858 is written to the low-order bit of the code. The serial dbichny code of the value 2 y, - + 1 is fed from the output of the element OR 7 through the switch 14 and the element AND 9 to the second input of the adder 3, to the first input of which from the output of the shift register 1 the sequential binary code of the value y + x is shifted. The result of the summation, which according to relation (2) is equal to the value of y, + x, is written, starting with the least significant bit, into the shift register 1 under the action of the clock pulses of the first output of the synchronization unit 15. At the same time, at the (i + 1) -th computation step during n cycles, the binary code in shift register 2 in the rewriting process from output to input through the elements OR 5 and AND 8 is incremented by one as previously described. In all subsequent steps, the calculations are performed in a similar manner until the moment of termination of the largest impulse of the input quantity, y. In this case, at the output of the element OR 6, a zero signal is set, which sets the first and second outputs of the clock of the 16 pulses to zero signals. The zero signal of the first clock pulse output 15 blocks the element AND 9. In the shift register 1 in a dynamic way by circulating the binary code through the adder 3, the sum of squares of the two input values y + in the shift register 2 is stored dynamically by circling the code through the elements OR 5 And AND 8 is the binary code of the largest input variable y. The clock 16 or 17 pulses works as follows. A sequence of pulses is fed to input 31, and a control signal to input 39. In the case of absence of control signals at input 39, at the output of the HE 36 element, a signal of the optical 1 is received, arriving through the LI-38 element at one of the AND-34 element inputs. During the pause between the pulses at the input 31 at the output of the NAND element 35, a logical 1 signal is generated, which conscientiously with a single output signal of the element OR 38 sets the output of the NAND 34 element to a logical O signal, blocking the NAND 35 element during the pulse of input 31. The 1 output signal of the NAND 35 element supports the logical output signal lementa NOT 37.

В действи  единичного сигнала на входе 29 управлени  на выходе элемента НЕ 36 устнавливаетс  сигнал логического О.Во врем  паузы между -импульсами на входе 31 на выходе элемента ИЛИ 38 устанавливаетс  сигнал логического 0, формирующий на выходе элемента И-НЕ 34 единичный сигнал строба, который пропускает последовательность импульсов входа 31 через элементы И-НЕ 35 и НЕ 37 на выход тактовател  импуль8510Acting a single signal at control input 29 at the output of the NOT element 36, a logical O signal is established. During the pause between the pulses at the input 31 at the output of the OR 38 signal, a logical 0 signal is formed, which forms the single strobe signal at the output of the IS-HE 34 passes a sequence of pulses of input 31 through the elements AND-NOT 35 and NOT 37 to the output of the clock pulse impulse8510

сов. В этом режиме во времй действи  импульса на входе 31 нулевой сигнал на выходе элемента И-НЕ 35 блокирует элемент И-НЕ 34, на выходе которого поддерживаетс  сигнал логической 1 строба.owls In this mode, during a pulse at input 31, a zero signal at the output of the AND-HE element 35 blocks the AND-HE element 34, at the output of which the logical 1 strobe signal is maintained.

Таким образом, предлагаемый квадратор может использоватьс  в режимеThus, the proposed quad can be used in

формировани  квадратичной функции, если на одном из входов 20 или 21 устройства поступает входной сигнал (аналоговый или цифровой), а на другом информационном входе устройстваthe formation of a quadratic function, if an input signal (analog or digital) is received at one of the inputs 20 or 21 of the device, and another at the other information input of the device

действует нулевой сигнал. Если сигналы на входах 20 и 21 квадратора действуют одновременно, то квадратор формирует двоичный код суммы квадратов двух входных величин.the zero signal is valid. If the signals at inputs 20 and 21 of the quadrant act simultaneously, then the quadrator forms the binary code of the sum of the squares of the two input values.

Claims (3)

1. КВАДРАТОР, содержащий три элемента задержки» три элемента ИЛИ, три элемента И, отличающийся тем, что, с целью расширения области применения за счет возможности работы с числами, представленными как в цифровой, так и в аналоговой форме, в него введены первый и второй сдвиговые регистры, сумматор, триггер, коммутатор, первый и второй тактователи импульсов, блок синхронизации, два формирователя импульсов, выход первого регистра сдвига соединен с первым входом сумматора, выход которого подключен к информационному входу первого, сдвигового регистра, вход синхронизации которого соединен с входом синхронизации второго регистра сдвига и первым выходом блока синхронизации, второй выход которого соединен с управляющими входами первого и второго регистров сдвига, информационные входы которых подключены к нулевой шине устройства, выход второго регистра сдвига соединен с инверсным входом сброса триггера и с первым входом первого элемента ИЛИ, второй вход которого соединен через первый элемент задержки с < прямым выходом триггера, информационный вход второго регистра сдвига соединен с выходом первого элемента И, первый и второй входы которого соединены соответственно с выходом первого элемента ИЛИ и с инверсным выходом триггера, информационный вход которого соединен с первым выходомпервого тактователя импульсов, второй выход которого соединен с первым входом второго элемента И, выход которого подключен к второму входу сумматора, а второй вход соединен с выходом коммутатора, управляющий вход которого соединен с выходом второго тактователя импульсов, информационный вход которого соединен с информационным входом первого тактователя и третьим выходом блока синхронизации, четвертый выход которого соединен с первым входом третьего элемента ИЛИ, второй вход которого через второй элемент задержки подключен к выходу второго*регистра сдвига, выход третьего элемента ИЛИ соединен с вторым информационным входом коммутатора и через третий элемен ? задержки - с первым информационным входом коммутатора, пятый выход блока синхронизации соединен ' с входом запуска первого и второго формирователей импульсов, информационные входы которых являются информационными входами устройства, выход первого формирователя импульсов соединен с первым входом второго элемента ИЛИ, выход которого соединен с входом управления первого тактователя и с первым входом третьего элемента И, выход которого1. SQUARE containing three delay elements ”three OR elements, three AND elements, characterized in that, in order to expand the scope due to the ability to work with numbers presented in both digital and analog form, the first and second shift registers, adder, trigger, switch, first and second pulse clocks, synchronization unit, two pulse shapers, the output of the first shift register is connected to the first input of the adder, the output of which is connected to the information input of the first, shift a histra, the synchronization input of which is connected to the synchronization input of the second shift register and the first output of the synchronization block, the second output of which is connected to the control inputs of the first and second shift registers, the information inputs of which are connected to the zero bus of the device, the output of the second shift register is connected to the inverse trigger reset input and with the first input of the first OR element, the second input of which is connected through the first delay element to <direct trigger output, the information input of the second shift register is connected nen with the output of the first AND element, the first and second inputs of which are connected respectively to the output of the first OR element and with the inverse trigger output, the information input of which is connected to the first output of the first pulse clock, the second output of which is connected to the first input of the second And element, the output of which is connected to the second input of the adder, and the second input is connected to the output of the switch, the control input of which is connected to the output of the second clock pulse, the information input of which is connected to the information input m of the first clock and the third output of the synchronization unit, the fourth output of which is connected to the first input of the third OR element, the second input of which through the second delay element is connected to the output of the second * shift register, the output of the third OR element is connected to the second information input of the switch and through the third element? delays - with the first information input of the switch, the fifth output of the synchronization unit is connected to the start input of the first and second pulse shapers, the information inputs of which are information inputs of the device, the output of the first pulse shaper is connected to the first input of the second OR element, the output of which is connected to the control input of the first a clock and with the first input of the third element And, the output of which SU„U 1180885 соединен с входом управления второго тактователя, а второй вход - с вторым входом второго элемента ИЛИ и выходом второго формирователя импульсов .SU „ U 1180885 is connected to the control input of the second clock, and the second input is connected to the second input of the second OR element and the output of the second pulse shaper. 2. Квадратор по п.1, о т л и-, чающийся тем, что блок синхронизаций содержит генератор импульсов, распределитель импульсов, генератор одинаковых импульсов, триггер, два коммутатора, элемент НЕ, выход генератора импульсов соединен с первым выходом блока синхронизации и входом распределителя импульсов, первый выход которого соединен с четвертым выходом блока синхронизации, а второй выход соединен с третьим выходом блока синхронизации, информационным входом триггера и информационным входом генератора одиночных импульсов, управляющий вход которого соединен с выходом первого коммутатора, первый вход которого соединен с земляной шиной, а второй вход через элемент НЕ подключен к земляной шине, выход, генератора подключен к входу второго коммутатора, первый выход которого соединен с управляющим входом триггера,прямой выход которого подключен к второму выходу блока синхронизации,второй ' выход второго коммутатора соединен с пятым выходом блока синхронизации.2. The quadrator according to claim 1, wherein the synchronization unit comprises a pulse generator, a pulse distributor, an identical pulse generator, a trigger, two switches, an element NOT, the output of the pulse generator is connected to the first output of the synchronization unit and the input pulse distributor, the first output of which is connected to the fourth output of the synchronization unit, and the second output is connected to the third output of the synchronization unit, the information input of the trigger and the information input of the single pulse generator, the control input to of which is connected to the output of the first switch, the first input of which is connected to the ground bus, and the second input through the element is NOT connected to the ground bus, the output of the generator is connected to the input of the second switch, the first output of which is connected to the control input of the trigger, the direct output of which is connected to the second the output of the synchronization unit, the second 'output of the second switch is connected to the fifth output of the synchronization unit. 3. Квадратор по п.1, о т л й чающийся тем, что тактователь содержит два элемента НЕ, элемент ИЛИ и два элемента И-НЕ, первый вход первого элемента И-НЕ соединен с информационным входом тактователя и первым входом элемента ИЛИ, выход которого соединен с первым входом второго элемента И-НЕ, выход которого соединен с вторым выходом тактовате— ля и вторым входом первого элемента И-НЕ, выход которого через первый элемент НЕ соединен с первым выходом тактователя и с вторым входом второго элемента И-НЕ, управляющий вход тактователя через второй элемент НЕ - с вторым входом элемента ИЛИ.3. The quadrator according to claim 1, characterized in that the clock contains two NOT elements, an OR element and two AND elements, the first input of the first AND element NOT connected to the information input of the clock and the first input of the OR element, output which is connected to the first input of the second AND-NOT element, the output of which is connected to the second output of the clock and the second input of the first AND-NOT element, whose output through the first element is NOT connected to the first output of the clock and to the second input of the second AND-NOT element, control input of the clock through the second element T does not - with the second input of the OR. II
SU833671431A 1983-12-08 1983-12-08 Square-law function generator SU1180885A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833671431A SU1180885A1 (en) 1983-12-08 1983-12-08 Square-law function generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833671431A SU1180885A1 (en) 1983-12-08 1983-12-08 Square-law function generator

Publications (1)

Publication Number Publication Date
SU1180885A1 true SU1180885A1 (en) 1985-09-23

Family

ID=21092448

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833671431A SU1180885A1 (en) 1983-12-08 1983-12-08 Square-law function generator

Country Status (1)

Country Link
SU (1) SU1180885A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 717759, кл. G 06 F 7/552, 1977. Авторское свидетельство СССР № 1092500, кл. G 06 F 7/552, 1982. *

Similar Documents

Publication Publication Date Title
SU1180885A1 (en) Square-law function generator
SU1322273A1 (en) Square-law function generator
SU1501049A1 (en) Squarer
SU1258826A2 (en) Squarer
SU452827A1 (en) Device for comparing binary numbers
SU1580356A1 (en) Device for calculation of sum of squares of three values
SU1077539A1 (en) Multichannel device for forming pulse trains
SU1109743A1 (en) Device for computing polynomial of second order
SU1264165A1 (en) Adder-accumulator
SU1144105A2 (en) Calculating device
SU1462282A1 (en) Device for generating clocking pulses
SU1108442A1 (en) Function generator
SU1023315A1 (en) Pulse distributor
SU1070541A1 (en) Gray/code parallel binary code translator
SU894862A1 (en) Multiphase signal shaper
SU1465955A1 (en) Generator of pseudorandom sequences
SU932487A1 (en) Number ordering device
SU1550512A1 (en) Squaring and rooting device
SU1374213A1 (en) Controlled pulse distributor
SU1012239A1 (en) Number ordering device
SU1361527A1 (en) Pulse distributor
SU1051727A1 (en) Device for checking counter serviceability
SU1406790A1 (en) Variable-countdown frequency divider
SU1430946A1 (en) Digital generator of periodic functions
SU1531086A1 (en) Arithmetic-logic device