SU993260A1 - Logic control device - Google Patents
Logic control device Download PDFInfo
- Publication number
- SU993260A1 SU993260A1 SU813287776A SU3287776A SU993260A1 SU 993260 A1 SU993260 A1 SU 993260A1 SU 813287776 A SU813287776 A SU 813287776A SU 3287776 A SU3287776 A SU 3287776A SU 993260 A1 SU993260 A1 SU 993260A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- elements
- inputs
- outputs
- Prior art date
Links
Landscapes
- Programmable Controllers (AREA)
Description
(54) УСТРОЙСТВО ДЛЯ ЛОГИЧЕСКОГО УПРАВЛЕНИЯ(54) DEVICE FOR LOGICAL CONTROL
Изобретение относитс к решающим устройствам и может быть использовано дл решени логических задач по временным булевым функци м в устройствах управлени и автоматики.The invention relates to solving devices and can be used to solve logical problems on time Boolean functions in control and automation devices.
Известно логическое устройство, содержащее программный и логический блок, состо щий из сдвигающего регистра , злементов И,|ИЛИ, реле времени, дешифратора команд, инвертор входной переменной 1. . . : ;A logical device is known that contains a program and logic block consisting of a shift register, AND, | OR elements, a time relay, a command decoder, an input variable inverter 1.. . :;
Одн ако устройство характеризу р большим объемом.программы и низким быстродействием. .One device is characterized by a large volume of the program and low speed. .
Наиболее близким к предалагаемому по технической сущности вл етс логическое устройство, содержащее программный блок, дешифратор команд, входные и выходные злементы И, эле:менты ИЛИ, элемент НЕ входной переменной , сдвигающий регистр, элемент И, логический блок, реле времени, элемент пам ти, элемент НЕ, элемент И, триг.гер установки сдвигаклцего регистра , формирователь синхроимпульса , генератор импульсов, накопитель программ f2j .,The closest to the proposed by the technical essence is a logical device containing a software block, a command decoder, input and output elements AND, element OR, element NOT input variable, shift register, element AND, logical unit, time relay, memory element , the element is NOT, the element is And, the trigger. installation of the shift register register
Однако при решении конъюнкции с п числом переменных необходимо иметь регистр сдвига на п разр дов и пHowever, when solving a conjunction with n number of variables, it is necessary to have a shift register for n bits and n
элементов И, подключенных к регистру сдвига. Это вызывает увеличение объема аппад)атуры, что снижает надёжность логического устройства.And elements connected to the shift register. This causes an increase in the volume of the apprat), which reduces the reliability of the logic device.
Цель изобретени - сокращение объема аппаратуг л и повышение надежности устройства.The purpose of the invention is to reduce the volume of hardware and increase the reliability of the device.
Поставленна цель достигаетс тем, что в устройстве, содержащем The goal is achieved by the fact that in the device containing
Ш последовательно соединенные программный блок, состо щий из последовательно соединенных генератора импуль;Сов и блока пам ти,дешифратор Команд, перва и втора группы выходов кото15 рого подключены соответственно к первым входам входных элементов И группы и выходных злементов И группы , вторые входы выходных элементов и группы и последнего входного эле20 мента И группы подключены к выходу блока логического умножени , содержащегю элемент НЕ и элемент И, вто рой вход первого входного элемента И группы подключен через реле времени W serially connected program block consisting of serially connected pulse generator; Sov and memory block, decoder commands, the first and second groups of outputs which are connected respectively to the first inputs of the input elements And group and output elements And group, the second inputs of the output elements and the group and the last input element AND of the group are connected to the output of the logical multiplication block containing the element NOT and the element AND, the second input of the first input element AND of the group is connected via a time relay
25 к выходу первого выходного элемента И группы, второй вход входного элемента И группы подключен через узел пам ти к выходу второго выходного элемента И группы, вторые входы 30 всех последующих входных злементов И25 to the output of the first output element AND of the group, the second input of the input element AND of the group is connected through the memory node to the output of the second output element AND of the group, the second inputs 30 of all subsequent input elements AND
группы, кроме последнего, подключены к входам переменных устройства, выходы входных элементов И группы соединны с входами элемента ИЛИ, выход которого подключен к первому входу Элемента НЕ блока логического умноже|Нгг ,; второй вход которого подключен к выходу признака инвертировани бло пам ти программного блока, выход первого разр да адреса которого подключен к первому входу первого злемента И и через элемент НЕ - к первому входу второго элемента И, вто- рыё1 входы первого и второго элементов И подключены к выходу формировател синхроимпульса, вход которого подключен к выходу генератора импульсов программного блока, выходы первого и второго элементов И подключены к соответствующим входам триггера, единичный выход триггера подключен к входу формировател импульса , выходы выходных элементов И группы, кроме первого и второго, вл ютс выходами устройства, блок логического умножени содержит два счетчика и схему сравнени выход ко торой подключен к выходу блока.логического умножени , первый и второй входы схемы сравнени подключены к выходам первого и второго счетчика соответственно, выход формировател синхроимпульса подключен к счет ному входу первого счетчика и к первому йходу элемента И, второй вход крторого подключен к выходу элемента НЕ, выход элемента И подключен к счетному входу второго счетчика, -управл емые входы первого и второго счетчиков подключены к вызводу первого разр да сцфеса блока пам ти программного: блока, входы установки первого и второго счетчиков подключены к выходу формировател импульса.the groups, except for the last, are connected to the inputs of the device variables, the outputs of the input elements AND groups are connected to the inputs of the OR element, the output of which is connected to the first input of the Element NOT of a logical block; | Ngg,; the second input of which is connected to the output of the sign of inversion of the memory block of the program block, the output of the first bit of the address of which is connected to the first input of the first element I and through the NOT element to the first input of the second element I, the second 1 inputs of the first and second elements I connected to the output of the sync pulse generator, the input of which is connected to the output of the pulse generator of the program block, the outputs of the first and second elements And are connected to the corresponding trigger inputs, the single output of the trigger is connected to the input of the shap the pulse pulse, the outputs of the output elements AND groups, except the first and second, are the outputs of the device, the logical multiplication unit contains two counters and a comparison circuit whose output is connected to the output of the block. The logical multiplication, the first and second inputs of the comparison circuit are connected to the outputs of the first and the second counter, respectively, the output of the sync pulse generator is connected to the counting input of the first counter and to the first input of the AND element, the second input of the second is connected to the output of the NOT element, the output of the AND element is connected to the counting At the input of the second counter, -controlled inputs of the first and second counters are connected to the output of the first discharge of the program memory block: the installation inputs of the first and second counters are connected to the output of the pulse former.
На чертеже приведена структурна схема устройства.The drawing shows a block diagram of the device.
Устройство содержит программный блок 1, состо щий из генератора 2 игетульсов и блока 3 пам ти,дешифратор 4 команд, входные элементы И 5-9 группы, выходные элементы И 10-13 группы, элемент ИЛИ 14, блок 15 лон ического умножени , состо щий иэ элемента НЕ 16, элемента И 17, счетчика 18, счетчика 19, схемы 20 сравнени , реле 21 времени, узел 22 пам ти, триггер 23, формирователь 24 импульсов, формирователь 25 син чхроимпульса ,элемент НЕ 26, элементы И 27 и 28.The device contains a program block 1 consisting of a generator of 2 igetuls and a block of 3 memory, a decoder of 4 commands, input elements of AND 5-9 groups, output elements of AND 10-13 groups, an element of OR 14, block 15 of a monthly multiplication, consisting element 16, element 17, counter 18, counter 19, comparison circuit 20, time relay 21, memory node 22, flip-flop 23, pulse shaper 24, synch pulse shaper 25, HE element 26, and elements 27 and 28.
Устройство работает следующим образом .The device works as follows.
Генератор 2 импульсов программного блойа 1 управл ет работой блока 3, который вырабатывает команду, состо щую из адреса входного и выходного элемента И и признака инвертировани входной переменной. Дешифратор The pulse generator 2 of software block 1 controls the operation of block 3, which generates a command consisting of the address of the input and output element AND and the sign of inverting the input variable. Decoder
4 команд преобразует код выбранною адреса в управл ющий сигнал, подаваемый на входы соответствующих элементов И 5-13. Одновременно сигнал инвертировани входной переменной подаетс в блок 15 на управл ющий вход элемента НЕ 16, .формирователь 25 формирует синхроимпульс. Входные переменные , закодированные цифрами О и поступают на входы элементов И 7 и 8, системы обегающего контрол или непосредственно с датчи|рв. Нар д с входными переменными на вход элемента И 5 подаетс сигнал с выхода реле 21 времени, на вход элемента И 6 - с выхода узла 22 пам ти, а на вход элемента И 9-13 - с выхода блока 15. По сигналу с дешифратора 4 команд открываетс один из входных элементов И 7 и В., входна переменна через элемент ИЛИ 14 и элемент НЕ 16 поступает на вход элемента И 17. С выхода формировател 25 импульс синхронизации поступает на счетный вход счетчика 19 и через элемент И 17, управл емыйвходной переменной, на счетный вход счетчика 18. Сигнал с прогргиимного блока 1 (первый разр д кода адреса) разрешает запись в счетчики 18 и 19, выходы которых подключены соответственно к входу схемы 20 сравнени . Таким образом, счетчик 18 определ ет число входных переменных, а счетчик 19 - число тактов, вырабатываемых генератором 2 импульсов, нeoбxoди вJx дл управлени работой блока 3. Так, при решении конъюнкции, состо щей из п числа переменных, необходимо п тактов управлени блоком.3, это- число и записываетс в счетчик 19, а в счетчик 18 записываетс п число перемен х в эависимотси от признака инвертировани входной переменной4 commands converts the code of the selected address into a control signal supplied to the inputs of the corresponding AND elements 5-13. At the same time, the inversion signal of the input variable is supplied to block 15 at the control input of the element 16, the shaper 25 generates a sync pulse. Input variables encoded by the numbers O and are fed to the inputs of the elements And 7 and 8, the enclosing control system or directly from the sensors | pb. Out with input variables to the input of the element And 5, a signal is sent from the output of the time relay 21, to the input of the element 6 from the output of the memory node 22, and to the input of the element 9-13 from the output of the block 15. Signal from the decoder 4 the command opens one of the input elements AND 7 and V., the input is variable through the element OR 14 and the element NOT 16 is fed to the input of the element AND 17. From the output of the former 25, the synchronization pulse is fed to the counting input of the counter 19 and through the element AND 17 controlled by the input variable , to the counting input of the counter 18. The signal from the programmable unit 1 (the first time d code address) to enable writing in the counters 18 and 19, the outputs of which are respectively connected to the input of the comparison circuit 20. Thus, the counter 18 determines the number of input variables, and the counter 19 determines the number of clock cycles generated by the generator 2 pulses, not needed in Jx to control the operation of block 3. Thus, when solving a conjunction consisting of n number of variables, it is necessary to control the block. 3, this is the number and is recorded in counter 19, and in counter 18, the number of changes in dependence on the sign of inverting the input variable is recorded.
После окончани решени конъюнкции по команде с блока 3 открываетс один из выходных элементов И 10-13 и на их выходах по: вл етс сигнал результата логического умножени , выполненной схемой20 сравнени над числами, записанными в счетчиках 18 и 19.Upon completion of the conjunction decision, the command from block 3 opens one of the output elements AND 10-13 and at their outputs by: is the signal of the result of logical multiplication performed by the comparison circuit 20 over the numbers recorded in the counters 18 and 19.
Описанным выше способом провер ютс все элементарные произведени , составл ющие функцию., и если хот бы одно иэ них равно 1, то на выходах выходных элементов И 10-13 по вл етс сигнал, включак ций исполнительное устройство. Сигнсш с блока 3, разрешющий запись в счетчики 18 и 19, поступает также на элемент И 28 и через элемент НЕ 26 на элемент И 27. На вторые входы элементов И 27 и 28 подаетс синхроимпульс с формировател ,25, Выходы элементов И 27 и 28 подключены соответственно ко входам Уст. О и Уст, триггера 23. Таким, 9бразом, по приходу -синхроимпульса триггер 23 устанавливаетс в состо ние, которое -определ етс fttaчением первого разр да кода адресе. Следовательно; при решении конъюнк 1ДИИ триггер 23 находитс в единичном состо нии а при ш даче результатов в нулевом. Сигнал с е ничного щхода триггера 23 поступает на формиро ватель 24 импульсов/ котор гЛ формирует илшульс устгшовкй. счетчиков 18 Vi 19 по переднему 4ФОНТУ входного сигнала. По началу вычислени новой конъюнкции сфор1И1и рованный импульс устгшавливает все разр ди счетчиков 18 и 19 в исходное (нулевое) состо ние Таким образом, введение новых блоков позвол ет уменьшить объем аппаратурм и повысить надежность работы .устройства за счет уменьшени коли- чества разр дов при вычислении конъюнкФормула изобретени Устройство дл логического управлени , содержащее йоследовательно соединенные программный блок, состо щий из последовательно соединенных . Генератора и блока пгш ти; дешифратор комайд, перва и втора группы Ш91ходов которого подключены ссютветственно к первым входам вхОд ных элементов И группа и таосодных элементов И группы, вторые входы выт ходных;элементов И группы.и последвего входного элемеита И группы подколочены к выходу блока логического жени ,содержащего элемент НЕ и элемент И,второй вход первого входного элемента И группы подк пючен через реле времени к выходу первого выхЬднО го элемента И группы, ззторой вход второго Входного элемента И группы подключей через узел пам ти к выходу . второго выходного эл1 4ента И группы, входа всех последупцих входных элементов И группы, кроме последнего , подключены к входам пере- менных устройства,; выходы вэюднше элементов И групгш соединены с входами элемента- ИЛИ, выход которого подключен к первому входу элемента НЕ блока логического умножени , второй вход которого подключен к шисоду при.з нака инвертировани блока пам ти f программного блока, выход первого раа р да которого подключен к первому входу первого элемента И и через НЕ - к первому входу второго элемента и,-вторые входы Первого и второго элементов И подключены к выходу формировател синзфоимпульса/ вход которого; подключен к выходау генератора импульсов программного блока, выходы первого и второго элементов И подключены к соответствуюцим входил триггера, единичный выход т4 иггера подключен к . входу формировател импульса, выходы выходшых.элементов И группы, кроме первого и второго, вл ютс выходами устройства, о т л и ч а ю ц еее , что, с целью уменьшеии объ&ла аппаратуры и погашени надеж ности, блок логического умножени содержат дВа счетч1та и схему сравнени , внход которой подключен к выходу блока логического умножени , первый и -втсфой входы схемы ср внени подключены к выходам первого и BTOpord счетчика соответственно, выход формщюв тел синхроимпульса подKJB04eH к сфетвому входу первого счетчика и к входу элемента И, второй вход которого подключен к выходу элеисевФа.ИБ, выход И i подключен к счетному входу второго счетчика, управл емые входы первого и второго сметчиков подключены к выходу первого разр да адреса блока пам ти про1ра шиого блока, входы ус-, тшовки п фвого и второго счетчиков подкгаогчены к шоходу формировател импульса . . Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР I 189630, кл. G 06 F 9/06, 1д64. 2.Авторское свидетельство СССР 591858,л, G 06 F 9/06, L прототип ).In the manner described above, all the elementary products that make up the function are checked. And if at least one of them is equal to 1, then at the outputs of the output elements 10–13 a signal appears, including an actuator. The signal from block 3, which allows writing to counters 18 and 19, also goes to element 28 and the element 26 to element 27. And to the second inputs of elements 27 and 28 is supplied a clock pulse from the driver, 25, the outputs of elements 27 and 28 connected respectively to the inputs of the Device. About and Set, trigger 23. Thus, 9 times, upon the arrival of a sync pulse, the trigger 23 is set to a state that is determined by the first digit of the address code. Consequently; when solving a conjunction 1dia, trigger 23 is in a single state and when it returns results in zero. The signal from the transient trigger 23 is fed to the shaper of 24 pulses / which the GL forms a pulse ustgshovky. 18 Vi 19 counters on the front 4FONT of the input signal. At the beginning of the calculation of the new conjunction, the formed pulse imposes all the bits of the counters 18 and 19 to the initial (zero) state. Thus, the introduction of new blocks allows decreasing the equipment volume and increasing the reliability of the device operation by reducing the number of bits in the calculation conjunction Formula of Invention A logical control device comprising sequentially connected program block consisting of series-connected. Generator and power unit; the decoder of the comide, the first and second groups of Bins for which are connected to the first inputs of the input elements and the group and the Taodes elements and the group, the second inputs of the output, elements And groups and the input element and the element I, the second input of the first input element I of the group is connected via a time relay to the output of the first output element I of the group, and the second input of the second input element I of the group via a memory node to the output. the second output of the elec tant and the group, the input of all subsequent input elements and the group, except the last, are connected to the inputs of the variables of the device; the outputs of the adjacent elements of the AND groups are connected to the inputs of the OR element whose output is connected to the first input of the NOT element of the logical multiplication unit whose second input is connected to the inverter memory block f of the program block, the output of the first row of which is connected to the first input of the first element And and through NOT - to the first input of the second element and, - the second inputs of the First and second elements AND are connected to the output of the sinus pulse generator / input of which; connected to the output of the pulse generator of the program block, the outputs of the first and second elements I are connected to the corresponding trigger input, the unit output of the 44 igger is connected to the input of the pulse former, the outputs of the output elements and the group, besides the first and second, are the outputs of the device, for example, which, in order to reduce the volume of the equipment and the reliability of the reliability, the logic multiplication unit contains dVa the count and the comparison circuit, the input of which is connected to the output of the logic multiplication unit, the first and the external inputs of the input cp circuit are connected to the outputs of the first and BTOpord counter, respectively, the output of the forma- Its input is connected to the EleisvFa.IB, the output And i is connected to the counting input of the second counter, the control inputs of the first and second estimators are connected to the output of the first bit of the address of the memory block of the forward block, the inputs of the master and the second and second The counters are connected to the pulse shaper. . Sources of information taken into account in the examination 1. The author's certificate of the USSR I 189630, cl. G 06 F 9/06, 1d64. 2. Authors certificate of the USSR 591858, l, G 06 F 9/06, L prototype).
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813287776A SU993260A1 (en) | 1981-01-29 | 1981-01-29 | Logic control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813287776A SU993260A1 (en) | 1981-01-29 | 1981-01-29 | Logic control device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU993260A1 true SU993260A1 (en) | 1983-01-30 |
Family
ID=20957875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU813287776A SU993260A1 (en) | 1981-01-29 | 1981-01-29 | Logic control device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU993260A1 (en) |
-
1981
- 1981-01-29 SU SU813287776A patent/SU993260A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU993260A1 (en) | Logic control device | |
SU1653154A1 (en) | Frequency divider | |
SU591858A2 (en) | Logical device | |
SU692091A1 (en) | Reversible n-digit pulse counter | |
SU1129723A1 (en) | Device for forming pulse sequences | |
SU1211723A1 (en) | Control device for scanning-type data logging system | |
SU1094137A1 (en) | Pulse train shaper | |
SU1005026A1 (en) | Device for determining number of ones in n-bit number binary code | |
SU433475A1 (en) | LOGICAL AUTOMATIC | |
SU997255A1 (en) | Controllable frequency divider | |
SU841123A1 (en) | Impulse sequence frequency separator with programmed control | |
SU450156A1 (en) | Pulse distributor | |
SU382146A1 (en) | DEVICE FOR SHIFT NUMBERS | |
SU468237A1 (en) | Number Comparison Device | |
SU1434419A1 (en) | Information input device | |
SU993460A1 (en) | Scaling device | |
SU1439748A1 (en) | Coder | |
SU1201855A1 (en) | Device for comparing binary numbers | |
SU1150622A1 (en) | N-bit pulse distributor | |
SU1403059A1 (en) | Number array sorting device | |
SU1659984A1 (en) | Device for complex system situation control | |
SU824415A1 (en) | Pulse series generator | |
SU881735A1 (en) | Number sorting device | |
SU1221743A1 (en) | Controlled pulse repetition frequency divider | |
SU1089764A1 (en) | Ring counter |