SU1728849A1 - Programmable controller - Google Patents

Programmable controller Download PDF

Info

Publication number
SU1728849A1
SU1728849A1 SU894763768A SU4763768A SU1728849A1 SU 1728849 A1 SU1728849 A1 SU 1728849A1 SU 894763768 A SU894763768 A SU 894763768A SU 4763768 A SU4763768 A SU 4763768A SU 1728849 A1 SU1728849 A1 SU 1728849A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
group
outputs
information
Prior art date
Application number
SU894763768A
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 SU894763768A priority Critical patent/SU1728849A1/en
Application granted granted Critical
Publication of SU1728849A1 publication Critical patent/SU1728849A1/en

Links

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может найти применение при управлении системами в реальном масштабе времени. Цель изобретени  расширение области применени  при управлении системами по жесткой временной циклограмме. Устройство содержит входной счетчик импульсов 5, счетчик адреса 9, блок посто нной пам ти программы 7, выходной регистр 3 и дешифратор 2. Кроме того, дл  обеспечени  реакции на нештатные ситуации в устройстве содержатс  шифратор 12, элементы И 10,15, элементы ИЛИ 6, 17, а также демультиплексор 1 и мультиплексор 11, генератор импульсов 16, четырехразр дный сдвигающий регистр 14. В устройстве выборка команд программы управлени  осуществл етс  с различной частотой , а при возникновении аварийной ситуации оно переходит к выполнению соответствующей программы. 1 ил.The invention relates to automation and computing and can be used in real-time control of systems. The purpose of the invention is the expansion of the field of application when managing systems according to a rigid time sequence diagram. The device contains an input pulse counter 5, an address counter 9, a program memory block 7, an output register 3 and a decoder 2. In addition, an encoder 12, AND elements 10,15, and OR 6 elements are included to ensure response to abnormal situations. , 17, as well as the demultiplexer 1 and multiplexer 11, pulse generator 16, four-bit shift register 14. In the device, the control program commands are sampled at different frequencies, and when an emergency situation occurs, it goes to the corresponding programs. 1 il.

Description

VIVI

юYu

0000

0000

ЈьЈ

юYu

Изобретение относитс  к автоматике и вычислительной технике и может найти применение в качестве устройства управлени  системами, функционирующими в реальном масштабе времени.The invention relates to automation and computing and can be used as a control device for real-time systems.

Известно устройство управлени , содержащее последовательно соединенные адресный блок, блок пам ти, выходной регистр и дешифратор, выход которого  вл етс  выходом устройства.A control device is known comprising a serially connected address block, a memory block, an output register and a decoder, the output of which is the output of the device.

Недостаток данного устройства состоит в том, что оно не способно реагировать на нештатные (аварийные) ситуации, которые могут возникать в управл емой данным устройством системе.The disadvantage of this device is that it is not able to respond to abnormal (emergency) situations that may occur in the system controlled by this device.

Наиболее близким по технической сущности к предлагаемому  вл етс  устройство дл  программного управлени , содержащее входной счетчик, вход которого  вл етс  входом устройства, а также последовательно соединенные счетчик адреса, блок пам ти , выходной регистр и дешифратор, выход которого  вл етс  выходом устройства.The closest in technical essence to the present invention is a device for programmed control, comprising an input counter, the input of which is the input of the device, as well as serially connected address counter, memory block, output register and decoder whose output is the output of the device.

Недостатком данного устройства также  вл етс  невозможность реагировать на нештатные ситуации, которые могут иметь место в управл емой им системе.The disadvantage of this device is also the inability to respond to abnormal situations that may occur in the system it controls.

Целью изобретени   вл етс  расширение области применени  при управлении системами по жесткой временной циклограмме .The aim of the invention is to expand the field of application when managing systems according to a rigid time cyclogram.

Поставленна  цель достигаетс  тем, что в устройство дл  программного управлени , содержащее блок посто нной пам ти про- граммы, разр дные выходы которого соединены с соответствующими информационными входами выходного регистра, выходы старших разр дов которого подключены к входам дешифратора , группа выходов которого сое- динена с группой выходов устройства, а также входной счетчик импульсов, элемент задержки, вход которого соединен с управл ющим считыванием входом блока посто нной пам ти программы, а выход - с счетным входом счетчика адреса, выход которого соединен с адресным входом блока посто нной пам ти программы, дополнительно введены демультиплексор, мультиплексор , шифратор, первый элемент ИЛИ, первый элемент И, элемент запрета и блок управлени , содержащий четырехразр дный сдвигающий регистр, информационный вход которого соединен с выходом второго элемента И, первый вход которого подклю- чен к выходу генератора импульсов, второй вход - к первому выходу блока управлени  и к выходу второго элемента ИЛИ, входы которого подключены к группе информационных входов блока управлени , группа выходов которого соединена с группой The goal is achieved by the fact that a program control unit containing a program memory block, the bit outputs of which are connected to the corresponding information inputs of the output register, the outputs of the higher bits of which are connected to the inputs of the decoder, the group of outputs of which are connected with a group of device outputs, as well as an input pulse counter, a delay element, the input of which is connected to the readout control input of the program memory block, and the output to the counting input counter addresses whose output is connected to the address input of a program's permanent memory block; a demultiplexer, multiplexer, encoder, first OR element, first AND element, prohibition element and control unit containing a four-bit shift register, whose information input is connected to the second output And, the first input of which is connected to the output of the pulse generator, the second input to the first output of the control unit and to the output of the second OR element, whose inputs are connected to the group of information inputs in a control unit whose output group is connected to a group

информационных выходов четырехразр дного сдвигающего регистра, первый вход первого элемента ИЛИ соединен с выходом входного счетчика импульсов, выход первого элемента ИЛИ подключен к управл ющему считыванием входу блока посто нной пам ти программ, а второй вход- к первому выходу группы информационных выходов блока управлени , второй выход группы информационных выходов-к входу обнулени  входного счетчика импульсов и счетчика адреса , третий выход - к первому входу первого элемента И, выход которого соединен с информационным входом счетчика адреса, а второй вход - с выходом мультиплексора, управл ющий вход которого подключен к соответствующему информационному входу группы входов блока управлени , к выходу дешифратора и к управл ющему входу демультиплексора, первый информационный вход мультиплексора соединен с первым выходом демультиплексора, второй выход которого подключен к входу начальной установки входного счетчика импульсов , а группа информационных входов демультиплексора соединена с выходами младших разр дов выходного регистра, счетный вход входного счетчика импульсов подключен к выходу элемента запрета, первый вход которого соединен с первым выходом блока управлени , а второй вход - с выходом устройства дл  программного управлени , второй информационный вход мультиплексора соединен с выходом шифратора , группа входов которого соединена с группой информационных входов устройства .the information outputs of the four-bit shifting register, the first input of the first element OR is connected to the output of the input pulse counter, the output of the first element OR is connected to the read control input of the program memory block, and the second input to the first output of the group of information outputs of the control unit, the second the output of the group of information outputs to the input of zeroing the input pulse counter and the address counter, the third output to the first input of the first element I, the output of which is connected to the information input address and the second input with the output of the multiplexer, the control input of which is connected to the corresponding information input of the control unit input group, to the output of the decoder and to the control input of the demultiplexer, the first information input of the multiplexer is connected to the first output of the demultiplexer, the second output of which is connected to the input setup of the input pulse counter, and the group of information inputs of the demultiplexer is connected to the outputs of the lower bits of the output register, the counting input of the input Meters withstand pulses connected to the output element of the ban, the first input coupled to the first output of the control unit and the second input - to the output of the software for controlling the second multiplexer data input coupled to the output of the encoder, which input group connected with the group of information inputs of the device.

На чертеже изображена структурна  схема предлагаемого устройства.The drawing shows a structural diagram of the proposed device.

Устройство содержит демультиплексор 1, дешифратор 2, выходной регистр 3, элемент 4 запрета, входной счетчик 5 импульсов , элемент ИЛИ 6, блок 7 посто нной пам ти программы, элемент 8 задержки, счетчик 9 адреса, элемент И 10, мультиплексор 11, шифратор 12 и блок 13 управлени . Последний содержит четырехразр дный сдвигающий регистр 14, элемент И 15, генератор 16 импульсов и элемент ИЛИ 17.The device contains a demultiplexer 1, a decoder 2, an output register 3, a prohibition element 4, an input counter 5 pulses, an OR element 6, a program memory block 7, a delay element 8, an address counter 9, an AND 10 element, a multiplexer 11, an encoder 12 and a control unit 13. The latter contains a four-bit shift register 14, the element AND 15, the generator of 16 pulses and the element OR 17.

Кажда   чейка блока 7 посто нной пам ти программы содержит код операции и код временного интервала, через который должна быть выполнена следующа  команда . Начальна  запись в блок 7 посто нной пам ти программы может быть осуществлена путем введени  дополнительного адресного входа и входа строба записи (цепи начальной записи не показаны),Each cell of the program constant memory unit 7 contains an operation code and a time interval code through which the next command should be executed. The initial recording in block 7 of the program permanent memory can be made by introducing an additional address input and the entry of the recording strobe (the initial recording circuit is not shown)

Устройство работает следующим образом .The device works as follows.

В исходном состо нии во все разр ды входного счетчика 5 импульсов записаны единицы, счетчик 9 адреса обнулен, что соответствует адресу первой  чейки пам ти блока 7 посто нной пам ти программы, в младшем разр де четырехразр дного сдвигающего регистра 14 записана единица (цепи начальной записи не показаны).In the initial state, units of all pulses of the input counter 5 pulses are recorded, the counter 9 of the address is reset, which corresponds to the address of the first memory cell of the program 7 memory block, in the low-order digit of the four-digit shift register 14 a unit is written not shown).

Сигнал входной частоты, поступивший на. вход 18 устройства дл  программного управлени , проход  через открытый по управл ющему входу элемент 4 запрета, вызывает по вление сигнала переполнени  входного счетчика 5 импульсов, который, пройд  элемент ИЛИ, поступает на управл ющий считыванием вход блока 7 посто нной пам ти программы, производит считывание содержимого первой  чейки пам ти в выходной регистр 3. Код операции старших разр дов регистра 3 поступает на вход дешифратора 2, и на группе выходов 19 устройства по вл етс  сигнал управлени , который поступает в управл емую систему. С выхода младших разр дов выходного регист- ра 3 код временного интервала, через который необходимо выполнить следующую команду, проход  демультиплексор 1, записываетс  во входной счетчик 5 импульсов. Задержанный элементом 8 задержки сигнал увеличивает содержимое счетчика 9 адреса на единицу, формиру  адрес следующей команды программы управлени . При отсутствии в управл емой системе нештатной ситуации (сигналов на информационных входах 20) работа устройства аналогична, т.е. после выполнени  1-й команды через заданное врем  выполн етс  (1+1)-  команда .Input frequency signal received on. the input 18 of the device for program control, the passage through the open on the control input of the prohibition element 4, causes the appearance of an overflow signal of the input pulse counter 5, which, having passed the OR element, goes to the read control of the program 7 of the program, reads the contents of the first memory cell in the output register 3. The operation code of the high bits of the register 3 is fed to the input of the decoder 2, and a control signal appears on the group of device outputs 19, which is fed to the control system mu. From the output of the least significant bits of the output register 3, the code of the time interval through which the next command should be executed, the passage of the demultiplexer 1, is written into the input counter of 5 pulses. The signal delayed by delay element 8 increases the contents of address counter 9 by one, forming the address of the next command of the control program. In the absence of an abnormal situation in the controlled system (signals at information inputs 20), the operation of the device is similar, i.e. after the execution of the 1st command after a specified time, the (1 + 1) - command is executed.

При возникновении в системе нештат- ной ситуации на один из информационных входов 20 устройства поступает соответствующий сигнал прерывани  работы устройства . Этот сигнал, проход  элемент ИЛИ 17, закрывает по управл ющему входу элемент 4 запрета и открывает элемент И 15. Сигналы определенной частоты, вырабатываемые генератором 16 импульсов, проход т открытый элемент И 15 и поступают на информационный вход четырехразр дного сдвигающего регистра 14.When an abnormal situation occurs in the system, one of the information inputs 20 of the device receives the corresponding device interruption signal. This signal, the pass element OR 17, closes the inhibit element 4 at the control input and opens the element 15. The signals of a certain frequency produced by the pulse generator 16 pass the open element 15 and enter the information input of the four-bit shift register 14.

По первому импульсу от генератора 16 импульсов происходит обнуление содержимого входного счетчика 5 импульсов и счетчика 9 адреса. По второму импульсу открываетс  по управл ющему входу элемент И 10, и код причины прерывани , сформировавшись в шифраторе 12, через мультиплексор 11 и открытый элемент 10 записываетс  в счетчик 9 адреса. Этот код представл ет собой адрес  чейки блока 7According to the first pulse from the generator of 16 pulses, the contents of the input counter of 5 pulses and the counter 9 of the address are reset. The second pulse opens And 10 at the control input, and the code for the cause of the interruption, formed in the encoder 12, through the multiplexer 11 and the open element 10 is recorded in the address counter 9. This code is the block 7 cell address.

посто нной пам ти программы, с которой начинаетс  программа обработки данной аварийной ситуации. По третьему импульсу на первом выходе группы информационных выходов блока управлени  по вл етс  сигнал , который, пройд  элемент ИЛИ 6, поступает на управл ющий считыванием вход блока 7 посто нной пам ти программы, производит считывание содержимого той  чейки , адрес которой записан в счетчике 9 адреса. По четвертому импульсу от генератора 16 импульсов происходит сдвиг единицы из старшего разр да четырехразр дного сдвигающего регистра 14 в младший разр д, что обеспечивает выполнение возможного следующего прерывани . Длительность сигналов на информационных входах 20 устройства должна обеспечивать прохождение четырех импульсов от генератора 16 импульсов .the program memory from which the emergency program is started. The third pulse at the first output of the group of information outputs of the control unit is a signal that, having passed the OR 6 element, is fed to the read control input of the program 7 memory, reads the contents of that cell whose address is written in the counter 9 of the address . On the fourth pulse from the pulse generator 16, a unit is shifted from the highest bit of the four-bit shift register 14 to the lower bit, which ensures that the next possible interrupt is performed. The duration of the signals at the information inputs 20 of the device must ensure the passage of four pulses from the generator 16 pulses.

Выход из программы обработки прерывани  осуществл етс  следующим образом. Последн   команда программы содержит код операции перехода и адрес первой команды программы, подлежащей выполнению после окончани  обработки прерывани . После считывани  последней команды обрабатывающей программы код операции со старших разр дов выходного регистра 3 поступает на дешифратор 2. В соответствии с данным кодом операции по вл етс  единичный сигнал на выходе 21 дешифратора 2, который поступает на управл ющие входы демультиплексора 1, мультиплексора 11 и элемента ИЛИ 17. По данному сигналу происходит переключение демультиплексора 1 и мультиплексора 11 и запуск в работу блока 13 управлени , который вырабатывает ранее описанную последовательность управл ющих сигналов. При этом адресна  часть команды, переход  с выходного регистра 3 через демультиплексор 1, мультиплексор 11, а также через элемент И 10, записываетс  в предварительно обнуленный счетчик 9 адреса, а затем через элемент ИЛИ 6 выдаетс  управл ющий сигнал считывани . Устройство переходит к выполнению необходимой программы.The exit from the interrupt service routine is as follows. The last program instruction contains the code of the transition operation and the address of the first instruction of the program to be executed after the termination of the interrupt processing. After reading the last instruction of the processing program, the operation code from the upper bits of the output register 3 is fed to the decoder 2. In accordance with this operation code, a single signal appears at the output 21 of the decoder 2, which goes to the control inputs of the demultiplexer 1, multiplexer 11 and element OR 17. With this signal, the demultiplexer 1 and multiplexer 11 are switched and the control unit 13 is started up, which generates the previously described sequence of control signals. At the same time, the address part of the command, the transition from the output register 3 through the demultiplexer 1, the multiplexer 11, as well as through the element 10, is written into the previously zeroed address counter 9, and then through the element 6 it outputs a read control signal. The device proceeds to the execution of the necessary program.

Claims (1)

Формула изобретени  Устройство дл  программного управлени , содержащее блок посто нной пам ти программы, разр дные выходы которого соединены с соответствующими информационными входами выходного регистра, выходы старших разр дов которого подключены к группе входов дешифратора, группа выходов которого соединена с группой выходов устройства, а также входной счетчик импульсов, элемент задержки, вход которого соединен с управл ющим считываниемClaims An apparatus for programmed control comprising a program storage unit, the bit outputs of which are connected to the corresponding information inputs of the output register, the outputs of the higher bits of which are connected to the group of inputs of the decoder, the group of outputs of which are connected to the group of outputs of the device, as well as the input pulse counter, delay element whose input is connected to a control read входом блока посто нной пам ти программы , а выход - со счетным входом счетчика адреса, выход которого соединен с адресным входом блока посто нной пам ти программы , отличающеес  тем, что, с целью расширени  области применени  при управлении системами по жесткой временной циклограмме, в него введены демуль- типлексоры, мультиплексор, шифратор, первый элемент ИЛИ, первый элемент И, элемент запрета и блок управлени , содержащий четырехразр дный сдвигающий регистр, информационный вход которого соединен с выходом второго элемента И, первый вход которого подключен к выходу генератора импульсов, второй вход- к первому выходу блока управлени  и выходу второго элемента ИЛИ, выходы которого подключены к группе информационных входов блока управлени , группа выходов которого соединена с группой информационных входов четырехразр дного сдвигающего регистра , первый вход первого элемента ИЛИ соединен с выходом входного счетчика импульсов , выход первого элемента ИЛИ подключен куправл ющему считыванием входу блока посто нной пам ти программ, а второй вход- к первому выходу группы инфор0the input of the program memory block, and the output with the counting input of the address counter, the output of which is connected to the address input of the program memory block, characterized in that, with the aim of expanding the application area when managing systems using a rigid time cyclogram, demultiplexers, multiplexer, encoder, first OR element, first AND element, prohibition element and control unit containing a four-bit shift register, whose information input is connected to the output of the second element AND, the first the input of which is connected to the output of the pulse generator, the second input to the first output of the control unit and the output of the second OR element, the outputs of which are connected to the group of information inputs of the control unit whose output group is connected to the group of information inputs of the four-bit shift register, the first input of the first element OR connected to the output of the input pulse counter, the output of the first element OR is connected to the read-through control of the input of the program memory block, and the second input to the first output of the group ppa infor0 5five 00 5five мационных выходов блока управлени , второй выход группы информационных выходов - к входу обнулени  входного счетчика импульсов и счетчика адреса, третий выход - к первому входу первого элемента И, выход которого соединен с информационным входом счетчика адреса, а второй вход - с выходом мультиплексора, управл ющий вход которого подключен к блоку управлени  и соответствующему информационному входу группы входов, выходу дешифратора и к управл ющему входу демультиплексора, первый информационный вход мультиплексора соединен с первым выходом демультиплексора , второй выход которого подключен к входу начальной установки входного счетчика импульсов, а группа информационных входов соединена с выходами младших разр дов выходного регистра, счетный вход входного счетчика импульсов подключен к выходу элемента запрета, первый вход которого соединен с первым выходом блока уп- равлени , а второй вход - с входом устройства дл  программного управлени , второй информационный вход мультиплексора соединен с выходом шифратора, группа входов которого соединена с группой информационных входов устройства.control outputs of the control unit, the second output of the group of information outputs to the input of zeroing the input pulse counter and the address counter, the third output to the first input of the first element AND whose output is connected to the information input of the address counter, and the second input controlling the output of the multiplexer the input of which is connected to the control unit and the corresponding information input of the input group, the output of the decoder and to the control input of the demultiplexer, the first information input of the multiplexer is connected to the first you the demultiplexer stroke, the second output of which is connected to the input of the initial setup of the input pulse counter, and the group of information inputs is connected to the outputs of the lower digits of the output register, the counting input of the input pulse counter is connected to the output of the prohibition element, the first input of which is connected to the first output of the control unit and the second input is connected to the input of the device for program control, the second information input of the multiplexer is connected to the output of the encoder, the input group of which is connected to the information group onnyh input device.
SU894763768A 1989-11-28 1989-11-28 Programmable controller SU1728849A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894763768A SU1728849A1 (en) 1989-11-28 1989-11-28 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894763768A SU1728849A1 (en) 1989-11-28 1989-11-28 Programmable controller

Publications (1)

Publication Number Publication Date
SU1728849A1 true SU1728849A1 (en) 1992-04-23

Family

ID=21481932

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894763768A SU1728849A1 (en) 1989-11-28 1989-11-28 Programmable controller

Country Status (1)

Country Link
SU (1) SU1728849A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1188734,кл. G 06 F 9/22, 1983. Авторское свидетельство СССР № 1252759, кл. G 05 В 19/18, 1986. *

Similar Documents

Publication Publication Date Title
US4395764A (en) Memory device utilizing shift registers for data accessing
US4788660A (en) Data bus buffer control circuit
SU1728849A1 (en) Programmable controller
US4479180A (en) Digital memory system utilizing fast and slow address dependent access cycles
US5539919A (en) Microcomputer having function to specify functional block having data to be monitored and to output data as an anaglog signal
SU1179375A1 (en) Device for checking memory large-scale integration circuits
SU951967A1 (en) Device for registering,reading out and processing information from proportional cameras
SU1238091A1 (en) Information output device
SU1647574A1 (en) Program correction device
SU1200289A1 (en) Microprogram control device
SU1014119A1 (en) Steeping motor control device
RU1839715C (en) Multichannel generator of control code trains
SU1221745A1 (en) Counting device
SU1714684A1 (en) Buffer memory
SU1640698A1 (en) Processor-bound program verifier
SU1462292A1 (en) Device for searching for preset number
SU1509908A1 (en) Device for monitoring digital computer
SU1649531A1 (en) Number searcher
SU1381429A1 (en) Multichannel device for programmed control
SU1374413A1 (en) Multichannel programmable pulser
SU1149256A1 (en) Device for identifying address of bus module
SU1478322A1 (en) Counting unit
SU1173414A1 (en) Program control device
SU1732332A1 (en) Device for monitoring multichannel pulsed sequences
SU1695266A1 (en) Multichannel device for program-simulated control