SU1605211A1 - Apparatus for program control of object - Google Patents

Apparatus for program control of object Download PDF

Info

Publication number
SU1605211A1
SU1605211A1 SU884477797A SU4477797A SU1605211A1 SU 1605211 A1 SU1605211 A1 SU 1605211A1 SU 884477797 A SU884477797 A SU 884477797A SU 4477797 A SU4477797 A SU 4477797A SU 1605211 A1 SU1605211 A1 SU 1605211A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
block
inputs
outputs
data
Prior art date
Application number
SU884477797A
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 SU884477797A priority Critical patent/SU1605211A1/en
Application granted granted Critical
Publication of SU1605211A1 publication Critical patent/SU1605211A1/en

Links

Landscapes

  • Control By Computers (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при проектировании систем автоматического управлени , в том числе различными сложными объектами, например автоматизированными и роботизированными комплексами и гибкими технологическими системами, состо щими из групп неоднородного оборудовани , в том числе станками, роботами, испытательными установками и т.п., работающими относительно друг друга в асинхронном режиме по разным локальным программам. Изобретение позвол ет расширить функциональные возможности устройства, повысить его быстродействие в многопрограммном режиме и уменьшить трудоемкость разработки управл ющих программ. Дл  этого в устройство дл  программного управлени  объектом, которое содержит блок 1 датчиков, блок 2 сравнени , блок 4 обработки программ, блок 5 пам ти программ и данных, блок 8 исполнительных механизмов, шину 9 контролируемых параметров, шину 10 управл ющих воздействий, введены блок 3 обработки запросов, блок 7 селективного управлени  исполнительными механизмами, содержащий регистр, селектор строб-импульса, группу мультиплексоров на три выхода, группу D-триггеров с входами установки и сброса, группу элементов коммутации. 1 з.п. ф-лы, 5 ил.The invention relates to automation and computing and can be used in the design of automatic control systems, including various complex objects, such as automated and robotic systems and flexible technological systems consisting of groups of inhomogeneous equipment, including machine tools, robots, test sets. etc., working relative to each other in asynchronous mode for different local programs. The invention allows to expand the functionality of the device, increase its speed in a multiprogram mode and reduce the laboriousness of developing control programs. For this purpose, a device for programmatically controlling an object, which contains a block 1 of sensors, a block 2 of comparison, a block 4 of program processing, a block 5 of program memory and data, a block 8 of actuators, a bus 9 of monitored parameters, a bus 10 of control actions, is entered 3 request processing, block 7 for selective control of actuators, containing a register, a gate-pulse selector, a group of multiplexers on three outputs, a group of D-flip-flops with set and reset inputs, a group of switching elements. 1 hp f-ly, 5 ill.

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при проектировании систем автоматического управлени  объектами , в том числе, например, автомати зированными и роботизированньми комплексами и гибкими автоматизированными технологическими системами, состо щи- )ми из групп неоднородного оборудова- .ни , в том числе станками, роботами, испытательными установками и т.п., работающими друг относительно друга в асинхронном режиме по разным локальным программам.The invention relates to automation and computing and can be used in the design of systems for automatic control of objects, including, for example, automated and robotic complexes and flexible automated technological systems consisting of groups of inhomogeneous equipment, including including machine tools, robots, test setups, etc., working relative to each other in asynchronous mode according to different local programs.

Цель изобретени  - повьшение быст- родействи  устройства в многопрограммном режиме.The purpose of the invention is to increase the speed of the device in multiprogram mode.

На фиг. 1 представлена структурна  схема предлагаемого устройства; на фиг„ 2 - схема блока датчиков; на фиг.З - структурна  схема блока сравнени ; на фиг о 4 - структурна  схема блока обработки программ; на фиг.З - структурна  схема блока селективного управлени  исполнительными механиз- мами.FIG. 1 shows a block diagram of the proposed device; Fig 2 - diagram of the sensor unit; FIG. 3 is a block diagram of a comparison block; FIG. 4 is a block diagram of a program processing block; FIG. 3 is a block diagram of a selective actuator control unit.

Устройство (. 1) содержит блок 1 датчиков, блок 2 сравнени , блок 3 обработки запросов, блок 4 обработки программ, блок 5 пам ти программ и данных, причем блок 4 обработки программ и блок 5 пам ти программ и данных образуют блок 6 управлени , блок 7 селективного управлени  исполнительными механизмами, блок 8 исполнитель- , ных механизмов, шину 9 контролируемых параметров, шину 10 управл юнщх воздействий , группу 11 входов и выходов, соедин ющих блок 3 обработки запросов и блок 4 обработки программ, шину 12 адресов, пшну 13 данных, шину 14 управлени .The device (1) contains a sensor unit 1, a comparison unit 2, a request processing unit 3, a program processing unit 4, a program and data storage unit 5, the program processing unit 4 and a program and data storage unit 5 constituting the control unit 6, block 7 of selective control of actuators, block 8 of executive mechanisms, bus 9 of monitored parameters, bus 10 of control actions, group 11 of inputs and outputs connecting request processing block 3 and program processing block 4, address bus 12, pin 13 data bus 14 management.

Блок датчиков (фиг о 2) состоит из группы 15 двухпозиционных коммута1;иThe sensor unit (FIG. 2) consists of a group of 15 two-position switch1; and

25 jn25 jn

or 0 or 0

.с 5.c 5

онных элементов типа тумблеров, концевых переключателей, контактов реле и т.До При положении переключателей указанном на схеме, на выходы В,...В блока 1 будет поступать сигнал логического нул . В нижнем положении любого из переключателей на соответствующий выход будет поступать сигнал логической единицы.One-dimensional elements such as toggle switches, limit switches, relay contacts, etc. At the position of the switches shown in the diagram, the B, ... outputs of block 1 will receive a logical zero signal. In the lower position of any of the switches, the signal of the logical unit will be sent to the corresponding output.

Блок сравнени  (фиг. 3) содержит га схем 16 сравнени  дв ух п-разр д- ных кодов по входам БД и Бц, Группо- вой вход БД образует шину 9 контролируемых параметров„ К групповому входу иЕ, подсоединен выход регистра 17. Регистр 17 содержит групповой вход D, который образует шина 13 данных устройства , а также адресный вход С выбора регистра, который относитс  к шине 12 адресов у;стройства, а также управл ющий вход W дл  записи информации в регистр с шины 13 данных, ко- торьш относитс  к шине 14 управлени  устройства Блок 2 сравнени  в зависимости от конкретных требований может содержать несколько (в общем случав по числу контролируемых параметров) подобных узлов, что отражено на фиг.З Выходы С,о.„С схем сравнени -образуют групповой выход блока сравнени The comparison unit (Fig. 3) contains ha of the comparison circuits 16 with two n and discharge codes for the DB and Bc inputs, the Group BD input forms a bus 9 of monitored parameters “To the group input and EE, the register output 17 is connected. Register 17 contains the group input D, which forms the bus 13 of the device data, as well as the address input C of the selection of the register, which belongs to the bus 12 of the addresses of the device; and the control input W for writing information to the register from the bus 13 of the data that relates to the control bus 14 of the device; Unit 2 of comparison, depending on the specific x claims may contain several (in general on the number of monitored parameters) of these nodes, as shown in fig.Z outputs C, o. "to the comparison circuit comparing the image of the output unit group

Блок 4 обработки программ (фиг„4) содержит центральный процессорный элемент 18 совместно со средствами поддержки - системным контроллером 19, тактовым генератором 20, контроллером 21 прерываний, буфером 22 адресной шины. Кроме того, на фиг. 4 изображены таймер 23, дешифратор 24 устройств .ввода-вьшода, входы IR.,«oIR прерываний.The program processing unit 4 (FIG. 4) contains the central processing element 18 together with the support means — the system controller 19, the clock generator 20, the interrupt controller 21, the address bus buffer 22. In addition, in FIG. 4 shows the timer 23, the decoder 24 devices. Input-output, inputs IR., "OIR interrupt.

Входы-выходы DO..D системного контроллера 19 образуют шину 13 данных устройства (фиг о 0 , выходы системного контроллера; М - чтение паW ,зам ти , М - запись в пам ть, Inputs-outputs DO..D of the system controller 19 form a bus 13 of the device data (FIG. 0, outputs of the system controller; M — read AW, wipe, M — write to memory,

пись во внешние устройства, К -чте- нле внешних устройств, IWTA - под- тверщ ;ение возможности обслужить запрос - образуют шинуу 14 управлени  устройства (фиг. 1).Writing to external devices, K-reader of external devices, IWTA — confirming the ability to service a request — form the device control bus 14 (Fig. 1).

буфера 11 адресной шины образуют совместно с выходами дешифратора 24 устройств ввода-вывода шину д 12 адресов о buffer 11 address bus together with the outputs of the decoder 24 I / O devices form a bus 12 addresses about

Блок 7 селективного управлени  исполнительными механизмами (фиг 5) содержит регистр 25, группу 26 мультирового преобразовани . Информаци  с двухпозиционных датчиков блока 1 поступает па первую группу входов блока 3 обработки запросов. Информа ци  по шине 9 контролируемых параме ров поступает на первые входы D схемы 16 сравнени  (фиг. 3) блока 2 сравнени  Данна  информаци  сравни ваетс  с информацией, записанной ра нее в регистрах 17о В случае равенс ва кодов на двух входах DA и Dg, схе мы 16 сравнени  на ее выходе по вит с  Соответствующий сигнал (напримерThe selective actuator control unit 7 (Fig. 5) contains a register 25, a group of 26 multi-conversion. Information from the on-off sensors of unit 1 enters the first group of inputs of the request-processing unit 3. The information on the bus 9 controlled parameters is fed to the first inputs D of the comparison circuit 16 (FIG. 3) of the comparison block 2 This information is compared with the information recorded in registers 17o in the case of equal codes on two inputs DA and Dg, the circuit we have 16 comparisons at its output, according to the corresponding signal (for example

плексоров, селектор 27 строб-импульса,15 логической единицы). Таким образом.plexors, gate pulse selector 27, 15 logical units). In this way.

группу 28 D-триггеров, группу 29 элементов коммутации, выполненных на транзисторах 30,с..30„„ В блок 7 также вход т ограничительные резисторы 31a group of 28 D-flip-flops, a group of 29 switching elements made on transistors 30, p ..30 „„ Block 7 also includes limiting resistors 31

если в регистр 17 будет записано не которое ожидаемое значение какого- либо параметра и если данный параме объекта управлени  достигнет этогоif register 17 registers not the expected value of any parameter and if the given parameter of the control object reaches this

31 и группа диодов 32,...32„,кро- 20 значени , то схема 16 сравнени  выме , на фиго 5 изображены вход записи Wj регистра 25, индивидуальные адресные входы CS.o.CS, выходы блока 7 селективного управлени  исполнительными механизмами подключены к кол-25 нацией типа да-нет лекторам соответствующих транзисторов31 and a group of diodes 32, ... 32 ", 20 values, then a comparison circuit 16, Fig 5 shows the input entry Wj of the register 25, individual address inputs CS.o.CS, outputs of the selective control unit 7 actuators are connected to count-25 nation yes-no to lecturers of corresponding transistors

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

Информаци , поступающа  с объекта .управлени , бьшает в общем случае двух видов: дискретна  информаци , характеризующа  состо ние объекта или отдельных его элементов (включено-вы- .ключено, движение вперед-назад, влево- вправо и т.д.), представить которую можно с помощью двухпозиционных дат30The information coming from the control object is generally of two types: discrete information, which characterizes the state of the object or its individual elements (on-off, forward-backward, left-right, etc.), represent which is possible with the help of dat30

дает сигнал, свидетельствующий о наличии подобной ситуахщи. Сигналы на выходах С.о С схем сравнени   вл ютс  по сути дела дискретной инфорgives a signal indicating the presence of such a situation. The signals at the outputs of C. C and C circuits are essentially discrete information.

и имеют ту жеand have the same

природу, что и сигналы на выходах блока 1 датчиков оthe nature of the signals at the outputs of the sensor block 1

Сигналы с выходов блока 2 сравнени  поступают на соответствующзто группу входов запросов прерьшани .. блока 3 обработки запросов.The signals from the outputs of the comparison unit 2 are sent to the corresponding group of input requests of the interrupt. Of the request processing unit 3.

Входы запросов прерьшаний блока обработки запросов-имеют разньп уровень приоритетов. В зависимости от конкретной задачи необходимо определенные выходы блока 1 датчиков и бло ка 2 сравнени  подсоединить к входам блока 3 обработки запросов с соответ ствующим приоритетом. Выбор режима 40 функционировани  блока 3 обработки запросов также решаетс  применительно к конкретной задачеThe requests for requests for blocking requests processing block have a different level of priorities. Depending on the specific task, certain outputs of the sensor unit 1 and the comparison unit 2 should be connected to the inputs of the request processing unit 3 with the corresponding priority. The selection of the mode 40 of the operation of the request processing unit 3 is also decided for a specific task.

3535

чиков, а также аналогова , отражаю-- ща  количественную сторону какого-либо процесса (температура нагрева, напр жение , механическое усилие и т.п.) Как правило, дл  дальнейшей обработки , а в Частности дл  обработки на ЭБМ, така  ан.алогова  информаци  дисВходы запросов прерьшаний блока обработки запросов-имеют разньп ур вень приоритетов. В зависимости от конкретной задачи необходимо опред ленные выходы блока 1 датчиков и б ка 2 сравнени  подсоединить к вход блока 3 обработки запросов с соотв ствующим приоритетом. Выбор режима 40 функционировани  блока 3 обработки запросов также решаетс  применител но к конкретной задачеas well as analog, reflecting the quantitative side of any process (heating temperature, voltage, mechanical force, etc.). As a rule, for further processing, and in particular for processing on an EBM, such an analogue The information inquiries of requests for blockings in the processing unit of requests are of different priorities. Depending on the specific task, certain outputs of the sensor unit 1 and the comparison bank 2 should be connected to the input of the request processing unit 3 with the corresponding priority. The selection of the mode 40 of the operation of the request processing unit 3 is also decided for a specific task.

При поступлении сигнала запроса прерьшани  на любой из входов блок When a request signal is received, any of the inputs to the block

-г - X1г-г--- tf iJUJCLfi nn fid. JIIUWUH на ОЛиДОВ OJIOK- r - X1r - r --- tf iJUJCLfi nn fid. JIIUWUH on OLD OJIOK

кретизируетс  (отщфровьшаетс ) при по- обработки запросов анализируют егоis cretized (compiled) when processing requests, it is analyzed

мощи аналого-цифрового преобразовател , на выходе которого образуетс  код, эквивалентный численному значению соответствующей аналоговой величиныpower of analog-digital converter, at the output of which a code is formed, equivalent to the numerical value of the corresponding analog value

Поэтому в предлагаемом устройстве блок 1 датчиков (фиг 1) воспринимает информацию первого вида (дискретную ) типа включено-выключено, да- нет, а блок 2 сравнени  по шине 9 контролируемых параметров воспринимает информацию второго вида - аналоговую , однако преобразованную в некоторый код в результате аналого-цифприоритет Если в насто щее врем  запросов с более .высоким приоритето нет, блок обработки запросов на одном из выходов формирует сигнал ,преTherefore, in the proposed device, the sensor unit 1 (FIG. 1) perceives the information of the first type (discrete) type on / off, yes, and the comparison unit 2 on the bus 9 of monitored parameters perceives the information of the second type — analog, but converted into some code as a result analog-to-digital priority If currently there are no requests with a higher priority, the request processing block at one of the outputs generates a signal

50 рьша11и , который поступает на один из входов IR,...IR контроллера 21 прерываний блока 4 обработки программ (фиг 4). Если этот сигнал на .данное врем  дл  контроллера 21 пре50 rsha, which is supplied to one of the IR, ... IR inputs of the interrupt controller 21 of the program processing block 4 (FIG. 4). If this signal is for a given time for the controller 21

JJ рываний имеет наивысший приоритет, последний формирует сигнал ОТ (запрос на прерывание) дл  центрального процессорного элемента 18 (фиг. 4). По сигналу ИГГА (разрешение запросаJJ snaps has the highest priority, the latter generates an OT signal (interrupt request) for the central processing element 18 (Fig. 4). IGGA signal (request resolution

д d

рового преобразовани . Информаци  с двухпозиционных датчиков блока 1 поступает па первую группу входов блока 3 обработки запросов. Информаци  по шине 9 контролируемых параметров поступает на первые входы D схемы 16 сравнени  (фиг. 3) блока 2 сравнени  Данна  информаци  сравниваетс  с информацией, записанной ранее в регистрах 17о В случае равенства кодов на двух входах DA и Dg, схемы 16 сравнени  на ее выходе по витс  Соответствующий сигнал (например.smooth transformation. Information from the on-off sensors of unit 1 enters the first group of inputs of the request-processing unit 3. The information on the bus 9 of monitored parameters is fed to the first inputs D of the comparison circuit 16 (FIG. 3) of the comparison block 2 This information is compared with the information previously recorded in the registers 17 ° In case of equality of the codes at the two inputs DA and Dg, the comparison circuit 16 Wits Corresponding signal (for example.

15 логической единицы). Таким образом.15 logical units). In this way.

логической единицы). Таким образом.logical unit). In this way.

если в регистр 17 будет записано некоторое ожидаемое значение какого- либо параметра и если данный параметр объекта управлени  достигнет этогоif some expected value of a parameter is written to register 17 and if this parameter of the control object reaches this

значени , то схема 16 сравнени  вынацией типа да-нет values, then the circuit 16 is compared with the type of yes-no

дает сигнал, свидетельствующий о наличии подобной ситуахщи. Сигналы на выходах С.о С схем сравнени   вл ютс  по сути дела дискретной инфори имеют ту жеgives a signal indicating the presence of such a situation. The signals at the outputs of C. C and C comparison circuits are essentially discrete information that have the same

природу, что и сигналы на выходах блока 1 датчиков оthe nature of the signals at the outputs of the sensor block 1

Сигналы с выходов блока 2 сравнени  поступают на соответствующзто группу входов запросов прерьшани .. блока 3 обработки запросов.The signals from the outputs of the comparison unit 2 are sent to the corresponding group of input requests of the interrupt. Of the request processing unit 3.

Входы запросов прерьшаний блока обработки запросов-имеют разньп уро ; вень приоритетов. В зависимости от конкретной задачи необходимо определенные выходы блока 1 датчиков и блока 2 сравнени  подсоединить к входам блока 3 обработки запросов с соответствующим приоритетом. Выбор режима функционировани  блока 3 обработки запросов также решаетс  применительно к конкретной задачеThe requests for requests for blocking requests processing block have a different level; high priority. Depending on the specific task, certain outputs of the sensor unit 1 and the comparison unit 2 should be connected to the inputs of the request processing unit 3 with the corresponding priority. The selection of the mode of operation of the request processing block 3 is also decided with reference to a specific task.

При поступлении сигнала запроса рерьшани  на любой из входов блок 3Upon receipt of a request for resolution signal to any of the inputs, block 3

tf iJUJCLfi nn fid. JIIUWUH на ОЛиДОВ OJIOKtf iJUJCLfi nn fid. JIIUWUH on OLD OJIOK

обработки запросов анализируют егоrequest processing analyze it

приоритет Если в насто щее врем  запросов с более .высоким приоритетом нет, блок обработки запросов на одном из выходов формирует сигнал ,пре50 рьша11и , который поступает на один из входов IR,...IR контроллера 21 прерываний блока 4 обработки программ (фиг 4). Если этот сигнал на .данное врем  дл  контроллера 21 преJJ рываний имеет наивысший приоритет, последний формирует сигнал ОТ (запрос на прерывание) дл  центрального процессорного элемента 18 (фиг. 4). По сигналу ИГГА (разрешение запроса.priority If at present there are no requests with a higher priority, the request processing block on one of the outputs generates a signal that stops at one of the IR, ... IR inputs of the interrupt controller 21 of the program processing block 4 (Fig 4) . If this signal for the given time for the interrupt controller 21 has the highest priority, the latter generates an O signal (interrupt request) for the central processing element 18 (Fig. 4). IGGA signal (request resolution.

16 sixteen

разрешение прерывани ) с системного контроллера 19 (фиг. 4) контроллер 21 прерьшаний (фиг с 4) вьщает на шину 13 данных первый байт команды CALL (переход к программе), а на входы CAS...CAS-j блока 3 обработки запросов (фиг с 4) - номер обспу7К1шаемого контроллера внутри блока обработки за ,ПрОСОВ„ С приходом последующих сиг- interrupt resolution) from the system controller 19 (FIG. 4), the crash controller 21 (FIG. 4) sends the first byte of the CALL command (transition to the program) to the data bus 13, and the CAS ... j inputs of the query processing unit 3 ( FIG. 4) - the number of the supervised controller inside the processing unit for, POSOV “With the arrival of subsequent signals

; налов на вход INTA блока 3 обработки (запросов выбранный ведомый контроллер прерьшаний, номер которого совпадает с номером на лини х CAS,,.CASj, выдает на шину 13 данных последователь- но 2 байта адреса подпрограммы обработки прерьшани  (или, другими словами , обработки запроса на прерывание от объекта управлени ).; The INTA input of the processing unit 3 (requests, the selected slave controller, has the same number on the CAS ,,. CASj lines) sends 2 bytes of the address of the routing processing routine to the bus 13 data (or, in other words, the request processing interrupt from the control object).

Подачей сигнала шины 14 управлени  IHTA обеспечиваетс  вьщача на шину 13 данньк вектора прерывани . Вектор пре рьюани   вл етс  адресом или указателем , определ ющим некоторую точку входа в программу обработки прерьшаний. Презкде чем приступить к выполнению программы обработки прерьшани , начал которой определ етс  вектором прерьша ни , в стек помещаетс  адрес возврата Последнее действие выполн етс  подоб- но тому, как это делаетс  при обращении к подпрограмме. Воспринима  по шине 13 данных вектор прерьшани , центральный процессорный элемент 18 выставл ет данньй адрес на шину 12 адре- сов устройства и производит чтение  чейки пам ти блока 5 пам ти программ и данных (фиг. 1) с этим адресом. По этому адресу может находитьс  некоторое управл ющее слово, которое затем по шинам 13 данных устройства передаетс  на блок 7 селективного управлени  исполнительными механизмами. Так, например, пусть ранее на блок 7 селективного управлени  исполнительными ме ханизма ш была подана команда включени  реле под номером К. В результате этого некоторый элемент объекта прин  новое положение, о чем поступил запрос на блок 3 обработки запросов.Блок обработки запросов сформировал вектор прерьшани , который поступил на блок 4 обработки программ. Блок обработки программ перешел в режим обработкиThe signaling of the IHTA control bus 14 is provided to the bus 13 of this interrupt vector. A prejudicion vector is an address or pointer defining a certain entry point into the program for treating off trespasses. How to proceed with the execution of the chipping program, which was started by the breaking vector, the return address is placed on the stack. The last action is performed in the same way as when the subroutine is accessed. Perceived on the data bus 13, the chipping vector, the central processing unit 18 places this address on the device address bus 12 and reads the memory cell of the program memory and data block 5 (FIG. 1) with this address. At this address there can be some control word, which is then transmitted via bus 13 of the device data to block 7 for selective control of the actuators. So, for example, even if earlier the command for switching on the relay number K was sent to block 7 of the selective control of the executive mechanism. As a result, an element of the object in the accepted position was received, and a request was sent to the request processing block 3. The request processing block formed a distortion vector , which entered the block 4 processing programs. The program processing unit has entered the processing mode.

данного прерьшани . По адресу, указан ному в данном векторе прерывани , в блоке 5 пам ти хранитс  программа, анализирующа  ситуацию и формирующа  управл ющее слово с требованием от-given perryshan. At the address specified in this interrupt vector, in block 5 of the memory, a program is stored that analyzes the situation and forms a control word with the requirement of

8eight

QQ

5 five

Q 5 о j. Q з п Q 5 o j. Q hp

5five

ключить реле под номером К. Это управл ющее слово поступает на блок 7 селективного управлени  исполнительными механизмами, и необходимое требование исполн етс .switch the relay to number K. This control word enters the selective actuator control unit 7, and the necessary requirement is fulfilled.

В случае, если какой-либо .запрос от объекта управлени  требует исполнени  через определенный промежуток времени (технологической задержки), функционирование устройства происходит следуюищм образом. По адресу данного вектора прерывани  будет находитьс  подпрограмма обслуживани  таймера 23 блока 4 обработки программ. При этом в таймер 23 записываетс  по шине 13 данных устройства код временной задержки, который хранитс  в блоке 5 пам ти программ и данных, таймер запускаетс  дл  подсчета импульсов по входу CLK, с окончанием счета выходе OVT таймера формируетс  внутренний запрос на прерывание по входу IR( контроллера 21 прерываний :По этому запросу устройство формирует управл ющее слово, которое поступает на блок 7 селективного управлени  исполнительными механизмами.In case any request from the control object requires execution after a certain period of time (technological delay), the operation of the device proceeds as follows. The address of this interrupt vector will be the service routine of the timer 23 of the program processing block 4. At the same time, timer 23 records the time delay code stored in the device data bus 13, which is stored in block 5 of program memory and data, the timer is started to count the pulses at the CLK input, and an internal interrupt request is generated by the IR input ( interrupt controller 21: At this request, the device generates a control word that enters the selective actuator control unit 7.

Блок 4 обработки программ и блок 5 пам ти программ и данных образуют блок 6 управлени . В общем случае данна  схема управлени  представл ет собой законченное технологическое изделие: мини- или микро-ЭВМ, технологический контроллер на базе средств вычислительной, в частности микропроцессорной , техники, и т.д., техническа  реализаци  которых стандартна. ,The program processing unit 4 and the program and data storage unit 5 constitute the control unit 6. In the general case, this control scheme is a complete technological product: a mini or micro computer, a technological controller based on computing tools, in particular microprocessor technology, etc., whose technical implementation is standard. ,

Как уже говорилось, с блока 4 обра- бот1ш программ на блок 7 селективного управле1ш  исполнительными механизмат ми поступает управл ющее слово по шине 13 данных устройства Поскольку в общем случае формат управл ющего слова, а другими словами количество исполнительных механизмов, может превышать разр дность шины данных (например , в данном конкретном случае разр дность шины данных равна 8, однако исполнительных механизмов может быть больше, например 8,16,24 и т.д.), то в регистр 25 (фиг. 5) управл ющее слово по шине 13 данных заноситс  побайтно под воздействием индивидуальных сигналов CS....CSn шины 12 адресов устройства (выбор области внутри регистра), а также сигнала Vp шины 14 управлени  устройства Сформированное таким образом параллельное управл юцее слово на выходе регистра 25 поступает на соответствующие информационные входы D группы 26 мультиплексоров Индивидуальный сигнал на входе V мультиплексоров разрешает прохожде- ние информации с информационных входов D мультиплексоров на один из трех выходов о Выбор требуемого выхода осуществл етс  при помощи комбинации налов на адресных входах А и А. мультиплексоровAs already mentioned, a control word is fed from block 4 of processing programs to block 7 of selective control by executive mechanisms via the device data bus 13 Since, in general, the format of the control word, and in other words, the number of actuators, can exceed the data bus width (for example, in this particular case, the data bus width is 8, however, the actuators may be greater, for example, 8,16,24, etc.), then in the register 25 (Fig. 5) the control word on the data bus 13 is entered byte by byte The operation of individual CS .... CSn signals of the device address bus 12 (selection of the area inside the register) and the signal Vp of the device control bus 14 The parallel control word thus formed at the output of the register 25 is fed to the corresponding information inputs D of the multiplexer group 26 Individual signal at the input V of the multiplexers allows the passage of information from the information inputs of the D multiplexers to one of the three outputs. The choice of the required output is carried out using a combination of codes to the address s inputs A and A. multiplexers

В соответствии с этой комбинацией выбираетс  один из режимов функционировани  блока 7. При режиме селектив- ной установки (00) входной код (управл ющее слово) проходит на установочные входы S триггеров 28о 1.., ,28.п. Те разр ды входного кода, где была записана единица, устанавливают в единичное состо ние по входам S соответствующие триггеры, состо ние остальных триггеров остаетс  без изменений При режи .In accordance with this combination, one of the modes of operation of the block 7 is selected. In the selective setting mode (00), the input code (control word) passes to the setting inputs S of the flip-flops 28o 1 .., 28. p. Those bits of the input code, where the unit was recorded, set the corresponding triggers to the single state on inputs S, the state of the remaining triggers remains unchanged.

ме селективного сброса (10) входнойie selective reset (10) input

код проходо1т на третьи выходы мультиплексоров . Те разр ды входного кода, где была записана единица, по входам PV. сбрасывают соответствующие триггеры Состо ние остальных триггеров остаетс  без изменений Таким образом, дл  того, чтобы установить или сбросить какой-нибудь триггер, достаточно в соответствующий разр д кода управлени  записать единицу, а во все остальные - нули. В режиме неселективного приема (01) входной код поступает с второго выхода мультиплексоров на D-входы триггеров и по сигналу с выхода селектора 27 строб-импульсаThe code passes to the third multiplexer outputs. Those bits of the input code, where the unit was recorded, by the PV inputs. reset the corresponding triggers. The state of the remaining triggers remains unchanged. Thus, in order to set or reset any trigger, it is sufficient to write one to the corresponding control code bit, and to all the others - zero. In the mode of non-selective reception (01) the input code is fed from the second output of the multiplexers to the D-inputs of the trigger and the signal from the output of the selector 27 strobe pulse

X CS А, . А,X CS A,. BUT,

W.W.

Ч поступающего на входы С, производитс  запись информации в данные триггеры .When entering the inputs C, information is recorded in these triggers.

В зависимости от уровн  логического сигнала на выходах триггеров 28 транзисторы 30 наход тс  в открытом или закрытом состо нии, производ т включение-отключение исполнительных механизмов типа реле или электромагнитовDepending on the level of the logic signal at the outputs of the flip-flops 28, the transistors 30 are in the open or closed state, switching-off actuators such as relays or electromagnets are turned on and off.

Таким образом, управление исполнительными механизмами блока 8 () осуществл етс  при помощи управл ющего слова, которое через входную ишну данных устройства за несколько тактов работы записываетс  в промежуточный регистр 25 (фиг. 5), а далее черезThus, the control of the actuators of the block 8 () is performed using the control word, which is recorded in an intermediate register 25 (see Fig. 5) through the input data threshold of the device for several cycles of operation, and then

д 0d 0

2525

30thirty

3535

4040

4545

5050

5five

мультиплексоры при следующем такте работы параллельно записываетс  в некий регистр, образованньй триггерами .28оПо Пусть необходимо установить все триггеры в исходное состо ние (на выходах всех триггеров уровень логического нул ).В этом случае код управл ющего слова будет содержать все нули, а режим функционировани  будет следующий: 01 - неселективна  установкаat the next cycle, multiplexers are written in parallel to some register formed by .28оPo triggers. Let all triggers be set to the initial state (logic zero level at the outputs of all triggers). In this case, the control word code will contain all zeroes, and the operation mode will be Next: 01 - non-selective installation

По этой команде все восемь триггеров установ тс  в нулевое состо ние, а восемь соответствующих исполнительных механизмов будут отключены. Пусть теперь согласно программе (или программам ) необходимо произвести установки первых четьфех триггеров в единичное состо ние В этом случае необхо- . димо использовать режим 00 - селективной установки, а код команды будет выгл деть: 11110000 00.By this command, all eight triggers are set to the zero state, and the eight corresponding actuators will be disabled. Let now, according to the program (or programs), it is necessary to make the installation of the first set of triggers into a single state. In this case, it is necessary. It is necessary to use mode 00 for selective installation, and the command code will be 11110000 00.

В соответствии с этим кодом команды на S-входы первых четырех триггеров поступак1Т сигналы, устанавливающие их в единичное состо ние Пусть теперь согласно программе необходимо установить четыре оставшихс  триггера в единичное состо ние Если бы не бьшо средств селективной установки и сброса , то управл ющее слово должно было бы иметь вид: 11111111, поскольку на первые четыре триггера должен вновь поступить сигнал их установки, чтобы не изменить их предьщущее состо ние, и новый сигнал установки должен поступить на оставшиес  триггеры Следовательно , в этом случае, когда нет средств дл  селективной установки и сброса, при обращении -к отдельным триггерам или группам триггеров дл  изменени  их состо ни  необходимо каждьй раз учитьшать текущее состо ние всех без исключени  триггеров, т.е необходимо наличие программных средств, осуществл ющих обмен данными между локальными программами, что позвол ет каждой локальной программе учитывать действи  остальных программ. В нашем случае код команды будет выг- л деть следующим образом: 0000 1111 00.In accordance with this code, the commands on the S-inputs of the first four triggers of the incoming T signals, setting them to one state. Now, according to the program, it is necessary to set the four remaining triggers to one state. If it were not for the selective setting and reset means, the control word must it would be 11111111, since the first four triggers must receive a signal of their installation again, so as not to change their previous state, and a new installation signal must arrive at the remaining triggers. In this case, when there are no means for selective installation and reset, when addressing to individual triggers or groups of triggers, to change their state, it is necessary to take into account each time the current state of all without exclusion of triggers, i.e. data exchange between local programs, which allows each local program to take into account the actions of other programs. In our case, the command code will look like this: 0000 1111 00.

Таким образом, преимущества предлагаемого управлени  исполнительными механизмами при помощи блока селективного управлени  особенно ощутимы при работе с несколькими группами исполнительных механизмов в асинхронномThus, the advantages of the proposed control of actuators using the selective control unit are particularly noticeable when working with several groups of actuators in asynchronous

режиме по нескольким локальным неза- BHCHMijiM программамсmode on several local non-BHCHMijiM programs

Claims (1)

Формула изобретени Invention Formula 1 о Устройство дл  программного управлени  объектом, содержащее блок сравнени , подключенный информационными входами к шине контролируемых параметров, блок датчиков, блок пам ти программ и данных, блок обработки программ, блок исполнительных механизмов , о.тличающеес  тем, что, с целью повьшени  быстродействи  в устройство введены блок обработки запросов и блок селективного управлени  исполнительными механизмами, выходы блока датчиков и блока сравнени  соединены с соответствующими входами запроса прерьгоаний блока обработки запросов, группа информационных выходов и группа входов расширени  которого соединены с соответствующими группой входов прерываний и группой выходов расширени  блока обработки программ, группа адресных выходов блока обработки программ соединена с группами адресных входов блока срав неюш, блока обработки запросов, блока пам ти программ и данных -и блока селективного управлени  исполнительными механизмами, группа входов- выходов данных блока обработки программ подключена к. группам .входов-, выходов данных блока обработки запросов , блока пам ти программ и данных, а также к группам входов данных блока сравнени  и блока селективного управлени  исполнительными механизмами, группа выходов управлени  прерыванием , записью и чтением блока обработки программ соединена с группами соответ ствующих входов управлени  записью блока, сравнени , группами соответст- вукшщх входов управлени  прерыванием программ и данных блока обработки запросов , блока пам ти программ и данных и входом управлени  записью блока1 o Device for software control of an object, containing a comparison unit connected by information inputs to a bus of monitored parameters, a sensor block, a program memory and data block, a program processing block, an actuator block, which is different in that the device introduced a request processing unit and a selective actuator control unit; the outputs of the sensor unit and the comparator unit are connected to the corresponding inputs of the request of the partitions of the request processing unit The group of information outputs and the group of expansion inputs of which are connected to the corresponding group of interrupt inputs and the group of outputs of the expansion of the program processing block, the group of address outputs of the program processing block is connected to the groups of address inputs of the block of matches, the request processing block, the block of program memory and data and a block of selective control of executive mechanisms, a group of inputs / outputs of the data of the program processing unit is connected to. groups of inputs, data outputs of the request processing block, block program and data memory, as well as to the data input groups of the comparison unit and selective actuator control unit, the output group of the interrupt control, writing and reading the program processing block is connected to the groups of the corresponding write control inputs of the block, the comparison, the corresponding control input groups interrupting programs and data of the request processing block, program and data memory block, and block write control input селективного управлени  исполнительными механизмами, группа выходов команд блока селективного управлени  исполнительными механизмами coe piHe- на с группой информационных входов блока исполнительных механизмовselective control of actuators, a group of outputs of commands of the block of selective control of actuators of coe piHena with a group of information inputs of the block of actuators 2о Устройство по п. 1, отличающеес  тем, что блок селективного управлени  исполнительными механизмами содержит регистр,- селектор строб-импульса,, группу мультиплексоров на три выхода, группу D-тригге- ров с входами установки и сброса, группу диодов, группу ограничительных резисторов и группу элементов коммута щш, вьшолненных на транзисторах, эмиттеры которых соединены, коллекторы образуют группу выходов команд блока , а также соединены через встречно включенные диоды с источником питани , пр мые выходы D-триггеров соединены через ограничительные резисторы с базами транзисторов, первые выходы мультиплексоров группы соединены с установочньв-ш входами соответствующих триггеров группы, вторые выходы мультиплексоров группы соединены с инфор- мащ онными входами соответствующих D-триггеров группы, третьи выходы мультиплексоров группы соединены с входами сброса соответствующих триггеров группы входы данных мультиплексоров группы подключены к соответствующим выходам регистра, группа информационных входов регистра подключена к группе входов данных блока, входы разрешени  регистра, адресные входы и входы разрешени  селектора строб-импульса , а также адресные входы и входы разрешени  мультиплексоров группы подключены к соответствующим адресным вх одам блока, вход записи регистра соединен с входом записи селектора строб-импульса и подключен к входу ..управлени  записью блока, выход селек- iTopa строб-импульса соединен с входа- ми синхронизации D-триггеров группы.2o The device according to claim 1, characterized in that the selective control unit of the actuating mechanisms contains a register, a gate-selector selector, a group of multiplexers for three outputs, a group of D-flip-flops with installation and reset inputs, a group of diodes, a group of limiting resistors and a group of switching elements, implemented on transistors, the emitters of which are connected, the collectors form a group of outputs of the block commands, and are also connected via counter-connected diodes to the power source, the direct outputs of D-flip-flops are connected through boundaries transistors with bases of transistors, the first outputs of the group multiplexers are connected to the installation inputs of the corresponding group triggers, the second outputs of the group multiplexers are connected to the information inputs of the corresponding D-triggers group, the third outputs of the group multiplexers are connected to the reset inputs of the corresponding trigger group data inputs group multiplexers are connected to the corresponding register outputs, the group of information inputs of the register is connected to the group of data inputs of the block, the inputs are resolved neither the register, the address inputs and the resolution inputs of the gate-pulse selector, as well as the address inputs and resolution inputs of the group multiplexers are connected to the corresponding address inputs of the block, the register record input is connected to the record input of the gate-pulse selector and connected to the block recording control input , the output of the selector-iTopa strobe-pulse is connected to the synchronization inputs of the D-flip-flops of the group. дкdk Фиг. 2FIG. 2 «О"ABOUT 7 -7 - ;2 -; 2 - II hh Г/77G / 77 рR %eJ% eJ лсо трол ер. рсрыфонииlso trol rryphony cucjrreiiHbiu контроллерcucjrreiiHbiu controller буфер оЭреснои шиныoperesno bus buffer таймерtimer (Риг.(Rig. :;sJeaiutppaTTrai:; sJeaiutppaTTrai 1313 1and 32.132.1 2626 Фиг.55
SU884477797A 1988-08-23 1988-08-23 Apparatus for program control of object SU1605211A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884477797A SU1605211A1 (en) 1988-08-23 1988-08-23 Apparatus for program control of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884477797A SU1605211A1 (en) 1988-08-23 1988-08-23 Apparatus for program control of object

Publications (1)

Publication Number Publication Date
SU1605211A1 true SU1605211A1 (en) 1990-11-07

Family

ID=21397151

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884477797A SU1605211A1 (en) 1988-08-23 1988-08-23 Apparatus for program control of object

Country Status (1)

Country Link
SU (1) SU1605211A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2463322C2 (en) * 2010-10-05 2012-10-10 Общество с ограниченной ответственностью "Центрмед-М" Method for control of process of product treatment with corona discharge

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 562798, кло G 05 В .19/18, 1977. Авторское свидетельство СССР № 739476, кл. G 05 В 19/00, 1980. Авторское свидетельство СССР № 472332, кЛо G 05 В 19/02, 1975. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2463322C2 (en) * 2010-10-05 2012-10-10 Общество с ограниченной ответственностью "Центрмед-М" Method for control of process of product treatment with corona discharge

Similar Documents

Publication Publication Date Title
US4181936A (en) Data exchange processor for distributed computing system
US4078259A (en) Programmable controller having a system for monitoring the logic conditions at external locations
US5459841A (en) Finite state machine with minimized vector processing
US5623680A (en) Finite state machine for process control
US4368511A (en) Numerical controlling method and system
WO1993019409A1 (en) Programmable controller with fast i/o scan
SU1605211A1 (en) Apparatus for program control of object
EP0077835A1 (en) Data exchanging method and device
EP0351157B1 (en) Semiconductor integrated circuits
US4807178A (en) Programmable sequence controller having indirect and direct input/output apparatus
RU2058041C1 (en) Device for data exchange for two processors through shared memory
RU2072546C1 (en) Device for program control of industrial equipment
SU1231507A1 (en) Device for exchanging information between two computers
EP0662651B1 (en) Improved finite state machine for process control
SU1524053A1 (en) Arrangement for analyzing logical states of microprocessor systems
SU1608631A1 (en) Data output device
SU1714575A1 (en) Process equipment programmable controller
SU1226409A2 (en) Device for programmed control of actuating elements
JPH03108040A (en) Data storage device with improved same data repeated write mechanism
SU1638707A1 (en) Device for production process program control
SU1089550A1 (en) Sampling control device
SU1406595A1 (en) Programmed controller processor
SU1075235A1 (en) Device for object position program control
JPH01236337A (en) Information controller
SU1275416A1 (en) Information input-output device