SU1758634A1 - Programmed control module with checking - Google Patents

Programmed control module with checking Download PDF

Info

Publication number
SU1758634A1
SU1758634A1 SU904858055A SU4858055A SU1758634A1 SU 1758634 A1 SU1758634 A1 SU 1758634A1 SU 904858055 A SU904858055 A SU 904858055A SU 4858055 A SU4858055 A SU 4858055A SU 1758634 A1 SU1758634 A1 SU 1758634A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
module
address
register
Prior art date
Application number
SU904858055A
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 SU904858055A priority Critical patent/SU1758634A1/en
Application granted granted Critical
Publication of SU1758634A1 publication Critical patent/SU1758634A1/en

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

Изобретение относитс  к области цифровой вычислительной техники и автоматики и может быть использовано при построении программных управл ющих систем с повышенной достоверностью функционировани  на базе мо- Iдульных микропрограммных управл ющих стройств.. Сущность изобретени  - повышение достоверности функционировани  программного модул  в составеThe invention relates to the field of digital computing and automation and can be used in the construction of software control systems with increased reliability of operation on the basis of modular microprogramming control devices. The essence of the invention is to increase the reliability of the functioning of the software module

Description

1515

2525

,30,thirty

Изобретение относитс  к области ифровой вычислительной техники и втоматики. Оно может быть использо- аио при построении программных упавл ющих систем с повышенной достоерностью функционировани  на базе одульных микропрограммных управл щих устройств.This invention relates to the field of digital computing and automatics. It can be used in the construction of software control systems with enhanced function based on modular microprogrammed control devices.

Целью изобретени   вл етс  повышение достоверности функционировани  программного модул  в составе управ- 20 л юцей системы путем обеспечени  возможности самодиагностировани . Достоверность функционировани  повышаетс  на 10-90Х.The aim of the invention is to increase the reliability of the operation of the software module as part of the control of the 20 l of the system by providing the possibility of self-diagnosis. Reliability of functioning increases by 10-90X.

На фиг. 1 представлена функциональна  схема программного управл ющего модул  с контролем; на фиг. 2 - функциональна  схема аргегатировани  тп предлагаемых программных модулей в управл ющую систему; на фиг. 3 вре менна  диаграмма последовательной работы двух управл ющих модулей системы; на фиг. 4 - иллюстраци  типов используемых в модуле форматов МК; на фиг. 5 - пример взаимодействи  35 диагностических микропрограмм двух модулей в режиме короткой проверки; на фигс 6 - процедура длинной проверки дл  системы из трех управл ющих модулей.40FIG. 1 shows a functional diagram of a software control module with a control; in fig. 2 - functional argatation scheme of the proposed program modules into the control system; in fig. 3 is a time diagram of the sequential operation of two control modules of the system; in fig. 4 illustrates the types of MK formats used in the module; in fig. 5 - an example of the interaction of 35 diagnostic firmware of two modules in the short test mode; FIG. 6 shows a long check procedure for a system of three control modules. 40

Программный модуль содержит: блок пам ти 1 микрокоманд (БПМ) с выходами полей 1,1 метки М1, 1,2 метки М2, 1.3 адреса очередной МК, 1.4 кода логических условий (ЛУ), 1.5 кода , 45 микроопераций, регистр 2 адреса МК, регистр 3 микроопераций, мультиплексор 4 адреса, мультиплексор 5 ЛУ, демультиплексор 6, регистр 7 выхода из цикла, регистр 8 проверки, счет- 50 чик 9 импульсов, дешифратор 10 с первым 10.1 и вторым 10.2 выходами, 1К-триггер 11, триггер 12 вида проверки , триггер 13 ошибки, схема 14 сравнени , коммутатор 15, блок элемен- топ ИЛИ 16, элемент И 17, элемент И-НП 18, вход 19 кода команды модул , вход 20 ЛУ модул , первый 21, третий 2, второй 23 ПУ.ОДЫ синхроничлцииThe program module contains: a memory block of 1 micro-commands (BPM) with outputs of fields 1.1 labels M1, 1.2 labels M2, 1.3 addresses of the next MC, 1.4 codes of logical conditions (LU), 1.5 codes, 45 micro-operations, register 2 addresses of the MC , register 3 microoperations, multiplexer 4 addresses, multiplexer 5 LU, demultiplexer 6, register 7 exit from the cycle, register 8 checks, counting 50 hours 9 pulses, decoder 10 with the first 10.1 and second 10.2 outputs, 1K trigger 11, trigger 12 type of test, error trigger 13, comparison circuit 14, switch 15, block of elements OR 16, element 17, element I-NP 18, input code 19 module commands, input 20 LU module, first 21, third 2, second 23 PU.ODY synchronicity

1515

2525

30thirty

20 35 4020 35 40

45 50 н- , 45 50 n-,

модул , выход 24 микроопераций модул , групповой вход 25 передачи управлени  модул , групповой выход 26 передачи управлени  модул , выход 27 ошибки модул , выход 28 младшего разр да пол  1.3 адреса М1 БПМ 1, входmodule, output 24 micro-operations of the module, group transfer control input 25 of the module, module control transfer output 26, module error output 27, output 28 of the lower bit of the field 1.3 of the address M1 BPM 1, input

29сброса ошибки модул , 30 - генератор тактовых импульсов.29 module error reset, 30 - clock generator.

В составе управл ющей системы программный модуль работает следующим образом. Модуль может находитьс  в следующих режимах:As part of the control system, the software module works as follows. The module can be in the following modes:

1)Режим ожидани ;1) Standby mode;

2)Рабочий режим;2) Working mode;

3)Режим короткой проверки;3) Short check mode;

4)Режим длинной проверки;4) Long check mode;

5)Режим передачи управлени .5) Control transfer mode.

Исходное положение модул  соответствует его нахождению в режиме ожидани . При этом все элементы пам ти модул  установлены в нулевое состо ние (цепи установки исходного условно не показаны). На входы 21, 22, 23 модул  поступают соответственно последовательности сдвинутых друг относительно друга тактовых импульсов Ј,/с, fcjThe initial position of the module corresponds to its standby time. In this case, all the memory elements of the module are set to the zero state (the circuit for setting the initial conditionally is not shown). The inputs 21, 22, 23 of the module receive, respectively, the sequences of clock pulses shifted relative to each other, Ј, / s, fcj

с соответствующих выходов генератораfrom the corresponding generator outputs

30тактовых импульсов (смсфиг. 3).30 ticks (smfig. 3).

С выхода БПМ 1 считываетс  МК с нулевым адресом (МК формата Ф1 см. фиг. 4). Мультиплексор 4 адреса по единичному сигналу метки Ml с выхода 1.1 БПМ 1, пропускает на вход регистра 2 адреса либо код операции со входа 19 модул , либо адресный код с одного из входов группового входа 25 модул  от одного из других модулей системы. Пока эти коды нулевые , в регистры 2 и 3 по тактовым импульсам Ј, и Ј2перезаписываютс  нули и модуль состо ни  не мен ет, т we. находитс  в ожидании. Одновременное поступление ненулевых кодов на вторую и третью группу информационных входов мультиплексора 4 адреса исключаетс  алгоритмом работы системы.From the output, BPM 1 reads a MC with a zero address (F1 format MC, see Fig. 4). The multiplexer 4 addresses on a single signal Ml labels from output 1.1 BPM 1, passes to the input register 2 addresses or the operation code from the input of the 19th module, or the address code from one of the inputs of the group input of the 25th module from one of the other modules of the system. As long as these codes are zero, registers 2 and 3 are clocked by Ј, and Ј2, and zeroes are overwritten and the state module does not change, т we. waiting. The simultaneous arrival of non-zero codes on the second and third group of information inputs of multiplexer 4 addresses is eliminated by the system operation algorithm.

Пусть на вход 19 модуп  поступит код команды, требующей выполнени  Коц команды представл ет собой адресLet the input code 19 of the modup receive the code of the command requiring the execution of the Kots command is the address

первой МК команды, он записываетс  в регистр 2 по заднему фронту очередного тактового импульса Ј со входа 2 модул . Модуль переходит в рабочий режим. Пусть перва  ИК будет линейной (формат Ф2 см. рис.4). При этом сигналы меток М1, М2 нулевые, по заднему фронту очередного тактового импульса Јосо входа 23 модул  в регистр 3 запишетс  код микроопераций, который затем считываетс  со входа 24 модул . Мультиплексор 4 адреса по нулевым адресным сигналам пропускает на вход регистра 2 старшие разр ды адресного кода с выхода пол  1„3 БПМ 1 и сигнал с выхода мультиплексора 5 ЛУ. Мультиплексор 5 ЛУ но нулевому коду ЛУ с выхода пол  1.4 БПМ 1 пропускает на свой выход сигнал младше- го разр да адреса очередной МК команды с выхода 28 выхода пол  1.3 БПМ 1 Т.о., по очередному тактовому импдоь- су в регистр 2 запишетс  адрес очередной МК команды, совпадающий с ко- дом на выходе пол  1.3 БПМ 1. Остальные элементы модул  при выполнении МК формата О2 состо ни  не мен ют. Реализаци  модулем Ж ветвлени  (формат ФЗ) отличаетс  от реализации линейной МК лишь тем, что значение младшего разр да адреса очередной МК будет определ тьс  в мультиплексоре 5 тем ЛУ, код которого поступил на его адресный вход, Если значение ЛУ нулевое, то и младший разр д адреса очередной МК нулевой, т.е. совпадает со значением соответствующего разр да на выходе 28 пол  1„3 БПМ 1. Если значение ЛУ не нулевое, то значение младшего разр да очередной МК определ етс  мультиплексором 5 ЛУ как единичное . Выполнение модулем любых линейных МК и МК ветвлени  в рабочем режиме осуществл етс  аналогично описанному оThe first MK of the command, it is recorded in register 2 on the falling edge of the next clock pulse Ј from the input 2 of the module. The module goes into operation. Let the first IR be linear (F2 format, see Fig.4). At the same time, the signals of the labels M1, M2 are zero, and the microprocess code, which is then read from the input 24 of the module, is recorded at the falling edge of the next clock pulse Mo of the input 23 of the module into the register 3. The multiplexer 4 addresses with zero address signals transmits to the input of register 2 the high-order bits of the address code from the output field 1 „3 BPM 1 and the signal from the output of the multiplexer 5 LU. The multiplexer 5 LU but the zero LU code from the output of the floor 1.4 BPM 1 transmits to its output a signal of the lower order address of the next MC command from the output 28 output of the floor 1.3 BPM 1 Thus, for the next clock import it will write to register 2 The address of the next command MC is the same as the code at the output of field 1.3 BPM 1. The remaining module elements do not change state when the O2 format MC is executed. The implementation by the G branch module (the FZ format) differs from the linear MK implementation only in that the lower-order bit address of the next MC will be determined in multiplexer 5 by the LU whose code entered its address input. If the LU value is zero, then the lower-order d addresses the next MK zero, i.e. coincides with the value of the corresponding bit at the output of 28 field 1 ± 3 BPM 1. If the value of the LU is not zero, then the value of the lower bit of the next MC is determined by the multiplexer 5 of the LU as single. The modular execution of any linear MK and MK branching in the operating mode is carried out as described above.

Отработав свою часть алгоритма, модуль передает управление другому, например , модулю системы. Но перед этим он провер ет его работоспособность , переход  в режим короткой , т.е о одномодульной проверки (ом.фиг, 3). Модуль переходит в данный режим с момента записи в регистр 2 адреса МК с форматом Ф4. Единичный сигнал метки М2 с выхода пол  102 БПМ 1 поступает на I-вход 1К-тригге- ра 11, на разрешающие запись управл ющие входы триггера 12 вида проверки,After working its part of the algorithm, the module transfers control to another, for example, a module of the system. But before that, he checks his operability, the transition to the short mode, that is, a single-module test (om.fig, 3). The module enters this mode from the moment of recording in the register 2 of the address of the MC with the F4 format. A single signal of the M2 tag from the output of the field 102 of the BPM 1 is fed to the I-input of the 1K-trigger 11, to the control inputs of the trigger 12 of the check type that allow the recording,

00

5five

00

5 five

00

5five

00

5five

00

регистр 7 выхода из цикла и 8-проверки , а также обнул ющий вход регистра 3 микроопераций. Мультиплексор 5 ЛУ по нулевому коду ЛУ с выхода пол  1.4 БПМ 1 пропускает на свой выход значение сигнала с выхода 28 младшего разр да контрольного адресного кода с выхода пол  1.3 БПМ 1. Дл  реализации короткой проверки значение младшего разр да пол  1,3 БПМ 1 в МК формата Ф4 программируетс  нулевым. Т.о., на информационном входе триггера 12 вида проверки будет присутствовать нулевой сигнал с выхода 28 пол  1.3 адреса БПМ 1, определ ющий, что проверка будет короткой. По переднему фронту очередного тактового импульса ЈЈ со входа 22 модул  1К-триггер 11 переводит в единичное состо ние. По заднему фронту того же импульса в регистре 7 выхода из цикла записываетс  адрес МК передачи управлени  провер емому модулю (МК формата Фб), в ре- гистр 8 проверки записываетс  четный контрольный адресный код. Триггер 12 вида проверки остаетс  в нулевом состо нии . Единичный сигнал с выхода IK-трлггера 11 разрешает работу счетчика 9 в счетном режиме. По заднему фронту очередного тактового импульса Јj содержимое счетчика 9 увеличиваетс  на единицу, а содержимое регистра 3 микроопераций не измен етс , т.е. остаетс  нулевым По очередному тактовому импульсу в регистр 2 адреса запишетс  контрольный адресный код короткой проверки. По этому коду из БПМ 1 считываетс  МК формата Ф5 (см.рис„4). Это перва  МК проверки i-го модул . Единичный сигнал метки Ml с выхода пол  1.1 БПМ 1 разрешает работу демультиплексора 6. По этому же сигналу мультиплексор 4 адреса формирует на информационном входе регистра 2 нулевой адресный код, т.к. и на втором и на третьем информационных входах мультиплексора 4 коды нулевые . С выхода пол  1.4 БПМ 1 на адресный вход демультиплексора 6 поступает код номера провер емого модул , т. б. двоичный код числа i. По этому коду демультиштексор 6 пропускает контрольный дл  1-го модул  адресный код с выхода пол  1.3 БПМ 1 на соответствующий i-му модулю выход группового выхода 26 модул  Этот код поступает далее на соответствующий рассматриваемому модулю вход группоnorо входа 25 1-го -модул , который, как и псе неработающие модули системы находитс  в режиме ожидани . Мультиплексор 4 адреса 1-го модул  по еди- ничному сигналу метки М1 на своем первом адресном входе пропускает контрольный адресный код с выхода блока элементов ИЛИ 16 на информационный вход регистра 2 адреса По очередным тактовым импульсам Јги С3 ни в рассматриваемом, ни в i-м модуле никаких изменений не происходит, кроме очередного увеличени  в рассматриваемом модуле содержимого счетчика 9 на единицу. По очередному тактовому импульсу V, в регистр 2 1-го модул  записываетс  контрольный адресный код, сформированный рассматриваемым модулем. В регистр 2 рассмат риваемого модул  по этому же импульсу Ј, запишетс  нулевой код. С выхода .БПМ 1 рассматриваемого модул  считываетс  нулева  МК (МК формата Ф1), мультиплексор 4 адреса при этом пропускает на свой выход адресный код с выхода блока элементов ИЛИ 16, т.к. на входе 19 модул  код команды в этот момент должен отсутствовать. С выхода же БПМ 1 1-го модул , если не было искажений, считываетс  МК формата Ь50 В ее поле 1,4 записан код рассматриваемого модул , а в поле 1„3 записан контрольный адресный КОД ИНверСНЫЙ КОНТРОЛЬНОМУ register 7 out of cycle and 8-checks, as well as the zero input of register 3 micro-operations. Multiplexer 5 LU by zero code LU from the output field 1.4 BPM 1 passes to its output the value of the signal from the output 28 low-order control address code from the output field 1.3 BPM 1. To implement a short check, the value of the low bit 1.3 field BPM 1 in F4 format MK is programmed zero. Thus, at the information input of the trigger 12 of the test type, there will be a zero signal from the output 28 of the field 1.3 of the address BPM 1, which determines that the test will be short. On the leading edge of the next clock pulse ЈЈ from the input 22, the module 1K-trigger 11 translates into a single state. On the falling edge of the same pulse, the exit control register MK of the checked module (MF of the FB format) is written in the loop exit register 7, an even control address code is written to the check register 8. The trigger 12 of the check type remains in the zero state. A single signal from the output of the IK-trlggera 11 allows the counter 9 to operate in the counting mode. On the trailing edge of the next clock pulse Јj, the contents of counter 9 are incremented by one, and the contents of register 3 of micro-operations do not change, i.e. remains zero At the next clock pulse, the short address control address code is written to the address register 2. According to this code, the F5 format MK is read from BPM 1 (see Figure 4). This is the first MK checking the i-th module. The single signal of the Ml tag from the output of field 1.1 of BPM 1 enables the demultiplexer 6 to work. By the same signal, the multiplexer 4 addresses forms a zero address code at the information input of the register 2; and on the second and third information inputs of the multiplexer 4 codes are zero. From the output of field 1.4 BPM 1, the code of the number of the module under test is fed to the address input of the demultiplexer 6, i.e. b. binary code of i. Using this code, the demultiplexer 6 passes the control code for the 1st module address code from the output field 1.3 of BPM 1 to the output of the group output 26 of the module corresponding to the i-th module. This code goes further to the input of the 25th 1-th module corresponding to the module in question, which As for all idle modules of the system, it is in standby mode. The multiplexer 4 addresses of the 1st module by the single signal of the M1 tag at its first address input passes the control address code from the output of the block of elements OR 16 to the information input of the register 2 addresses By the next clock pulses of the CS3 neither in the considered nor in the i-th The module does not make any changes, except for the next increase in the considered module of the contents of counter 9 by one. On the next clock pulse V, the control address code generated by the considered module is written into the register 2 of the 1st module. In register 2 of the module under consideration, using the same pulse, a zero code is written. From the output of BPMM 1 of the module in question, the null MK (F1 format MK) is read, while the multiplexer 4 addresses then passes the address code from the output of the block of elements OR 16 to its output, since at the input 19 of the module, the command code at this moment should be absent. From the output of BPM 1 of the 1st module, if there were no distortions, the L50 format MK is read. In its 1.4 field, the code of the module under consideration is written, and the control address code is inverted to the 1 „3 field.

коду, хранимому в регистре 8 проверки рассматриваемого модул . Процедура выполнени  МК формата Ф5 уже была подробно рассмотрена, i-й модуль передает контрольный адресный код с выхода пол  1.3 своего БПМ 1 на соответствующий i-му модулю вход группового входа 25 рассматриваемого модул . По очередному тактовому импульсу QJ счетчик 9 в рассматриваемом модуле увеличивает содержимое на еди ницу„ По очередному тактовому импульсу Ј, контрольный адресный код, сформированный i-м модулем, записываетс  в регистр 2 рассматриваемого модул , i-й же модуль по этому же ,-мпульеу Ј переходит   режим ожидани . Если конрольный адресный код от i-го модул  записалс  в регистр 2 рассматрива- мого модул  без искажений, то с пы- хода БПМ 1 рассматриваемого модул  начинает считыватьс  втора  МК проверки 1-го модул , Эта ПК также формата ОЗ. Отличи ее от первой МК состоит лишь в контрольном адресном коде, записанном в поле 1,3, который  вл етс  инверсным аналогичному коду в поле 1.3 первой МК проверки 1-го модул  (сМофиг„ 5). Реализаци  рассматриваемым модулем второй МК проверки 1-го модул  с последующим переходом в режим ожидани , реакци  1-го модул  на второй контрольный адресный код от рассматриваемого модул , аналогичны описанным. Если искажений при передаче контрольных кодов и работе модулей не произошло, то второй ответный контрольный адресный код, формируемый i-м модулем, дл  рассматриваемого модул  должен совпасть с контрольным кодом, хранимым в регистре 8 проверки в рассматриваемом модуле . Контрольный адресный код, формируемый i-м модулем, в ответ на вторую МК проверки 1-го модул , считанную из рассматриваемого модул , поступает с соответствующего i-му модулю входа группового входа 25 рассматриваемого модул  на информационный вход регистра 2 адреса и вторую группу входов схемы 14 сравнени  (с выхода БПМ 1 рассматриваемого модул  в этот момент считываетс  МК формата Ф1)„ Очередной тактовый импульс увеличивает содержимое счетчика 9 в рассматриваемом модуле до критического значени  Укр.кор., соответствующего режиму короткой проверки. Дешифратор 10 при поступлении на его вход с выхода счетчика 9 кода, соответствующего Укр.кор,, формирует единичный сигнал на своем первом 10 выходе . триггер 12 вида проверки при короткой проверке находитс  в нулевом состо нии, то на выходе коммутатора 15, с по влением единичного сигнала на выходе 10.1 дешифратора 10, также по вл етс  единичный сигнал - сигнал Проверка. Этот сигнал поступает на К-вход 1К-триггера 11, первый вход элемента И 17, второй адресный вход мультиплексора 4 адреса, второй вход элемента 18 и разрешающий запись управл ющий вход триггера 13 ошибки. Мультиплексор 4 адреса по сигналу Проверка на своем втором адресном входе пропускает на вход регистра 2 адресный код с выхода регистра 7 выхода из цикла. Контрольный адресный код от 1-го модул  с выхода блока элементов ИЛИ 16 т.о. мультиплексором 4 адреса по окончанииcode stored in the register 8 checks the module in question. The procedure for executing the F5 format MC has already been examined in detail, the i-th module transmits the control address code from the output field 1.3 of its BPM 1 to the input of group input 25 of the module in question corresponding to the i-th module. By the next clock pulse QJ, the counter 9 in the module under consideration increases the content by one. By the next clock pulse Ј, the control address code generated by the i-th module is written into register 2 of the module under consideration, and the i-th module by the same -multiply Ј switches to standby mode. If the control address code from the i-th module is written to register 2 of the module in question without distortion, then the second module of the check of the 1st module starts reading from the BPM 1 test of the module in question. This PC is also OZ format. Its difference from the first MC is only in the control address code written in the 1.3 field, which is inverse to the similar code in the 1.3 field of the first MC of the 1st module (cMofi 5). The implementation of the second module MK checking the 1st module with the module under consideration, followed by the transition to the standby mode, the reaction of the 1st module to the second control address code from the module in question is similar to that described. If there are no distortions in the transmission of control codes and the operation of the modules, the second response control address code generated by the ith module for the module in question must match the control code stored in check register 8 in the module in question. The control address code generated by the i-th module, in response to the second check module of the 1st module read from the module in question, comes from the corresponding input of the group input 25 of the module to the information input of the register 2 address and the second group of circuit inputs 14 comparisons (from the output of BPM 1 of the module under consideration at this moment is read out by an F1 format MC) "The next clock pulse increases the contents of counter 9 in the module under consideration up to the critical value of the Ukr.kor corresponding to the short drive mode Verka. The decoder 10 when it arrives at its input from the output of the counter 9 code corresponding to the Ukr.kor ,, forms a single signal at its first 10 output. When the short test is triggered in the zero state, the output 12 of the switch 15, with the appearance of a single signal at the output 10.1 of the decoder 10, also appears a single signal — a signal Verification. This signal arrives at the K-input of the 1K-flip-flop 11, the first input of the And 17 element, the second address input of the multiplexer 4 of the address, the second input of the element 18 and the error-triggering input of the trigger 13 of the error. Multiplexer 4 addresses by signal Check at its second address input pass to the input of register 2 the address code from the output of register 7 to exit from the loop. The control address code from the 1st module from the output of the block of elements OR 16 multiplexer 4 addresses at the end

короткой проверки игнорируетс . Если второй контрольный адресный код от 1-го модул  не совпадает с контрольным адресным кодом в регистре 8 проверки , то схема 14 сравнени  на мо- мент по влени  сигнала Проверка 1 сформирует нулевой сигнал. Элемент ИЧНЕ 18 при этом сформирует на своем инверсном выходе единичный сигнал,The short check is ignored. If the second control address code from the 1st module does not match the control address code in check register 8, then the comparison circuit 14 at the time of the occurrence of the signal Check 1 will generate a zero signal. In this case, the element ECHNE 18 will form a single signal at its inverse output,

который при единичном сигнале Проверка т.о. означает ошибку в результате проделанной диагностической процедуры . По очередному тактовому импульсу Ј, в случае ошибки произойдет следу- 15 гоцее, В триггер 13 ошибки запишетс  единица с выхода элемента И-НЕ 18. В регистр 2 запишетс  адресный код выхода из цикла проверки, хранимый в регистре 7. Однако регистр 2 будет 20 тут же обнулен сигналом ошибки, поступившим на R-вход регистра 2 с вы-- хода триггера 13 ошибки. Сигнал ошибки с выхода триггера 13 поступит также на выход 27 ошибки рассматриваемо- 25 го модул , информиру  о неудачном исходе проверки. Рассматриваемый мо-, дуль зависает в таком состо нии до устранени  неисправности и повторногоwhich with a single signal indicates an error resulting from a diagnostic procedure. On the next clock pulse Ј, in the event of an error, the next 15 seconds will occur. The error trigger 13 will be recorded by the unit from the output of the NAND 18 element. The register 2 will write the address code for the exit from the test cycle stored in register 7. However, register 2 will be 20 immediately reset by the error signal received at the R input of register 2 from the trigger output 13 error. The error signal from the output of the trigger 13 will also go to the output 27 of the error of the module under consideration, informing about the unsuccessful outcome of the test. The considered engine hangs in this state until the malfunction is corrected and repeated

пуска. Сброс триггера 13 ошибки в нулевое -сто ние после устранени  нексгравнссти производитс  сигналом со входа 29 сброса ошибки модул .start. The flip-flop 13 is reset to zero-state after the elimination of incomparability is performed by the signal from the input 29 of the module error reset.

В случае если же ошибки при проверке не произошло, то после формировани  коммутатором 15 сигнала Проверка , по очередному тактовому импульсу , в триггер 13 ошибки запишетс  нулевой сигнал с выхода элемента И-НЕ 18, а в регистр 22 запише с  адресный код с выхода регистра 7 выхода игз цикла проверки.If the verification error did not occur, then after the switch 15 generates a signal Check, by the next clock pulse, a zero signal from the output of the AND-NOT element 18 will be written to the trigger 13 error, and write to the register 22 from the address code from the register 7 output Exit game cycle check.

При любом исходе проверки 1-гоWith any outcome of the 1st test

модул  по очередиому тактовому импул л.module in turn clock pulse l.

су ,Ј ИС-триггер 11 обнул етс , что говорит о конце проверки и запрещает дальнейшую работу счетчика 9, Кроме того, элемент И 17 по этому же импульсу формирует короткий импульс, обнул ющий счетчик 9 и регистр 7 выхода из.цикла.su, Ј the flip-flop 11 is zeroed, which indicates the end of the test and prohibits further operation of counter 9, in addition, the element 17 also generates a short impulse for this impulse, embedding the counter 9 and the output register 7 of the cycle.

Если триггер 13 ошибки после короткой проверки осталс  в нулевом состо нии, т.е„ 1-й модуль готов прин ть управление от рассматриваемого , то с момента записи в регистр 2 адресного кода, хранимого в регистре 7 выхода из цикла ирогерки, рассматриваемый модуль переходит в режимIf the error trigger 13 has remained in the zero state after a short check, i.e., the 1st module is ready to take control of the considered one, then from the moment the address code stored in register 2 is stored in register 7 exiting the irokerka loop, the considered module goes to mode

10ten

5 0 5 5 0 5

00

5five

|п | n

5five

00

5five

передачи управлени  i-rry модулю. По этому адресному коду ич БПМ 1 считываетс  НК формата . Ее выполнение аналогично реализации модулем MR Лор- мата Ф5. Отличие состоит лишь в следующем . i-му модулю передаетс  не контрольный адресный код, а адресный код управлени  (АКУ). Кроме того, по очередному импульсу зв регистр 3 микроопераций может быть записан последний от рассматриваемого модул  микрооцерационный код, который может информировать объект управлени  системы о передаче управл ющих функций i-му модулю. Заметим также, что при выполнении ПК формата Фб в отличие от МК формата Ф5 1К-триггер 11, триггер 12 проверки, счетчик 9, регистры 8 проверки и 7 выхода из цикла проверки наход тс  в нулевом состо нии. По очередному тактовому импульсу $( в регистр 2 рассматриваемого модул  запишетс  нулевой код, в регистр 2 ,i-ro модул  запишетс  АКУ. Рассматриваемый модуль переходит в режим ожидани , а i-й модуль - в рабочий режим, icontrol transfers to the i-rry module. For this address code, the IC of the BPM 1 is read into the NC format. Its implementation is similar to the implementation of the module MR Lormata F5. The difference is only in the following. The i-th module is not transmitted the control address code, but the control address code (ACC). In addition, by the next pulse of the register of micro-operations 3, the last micro-coding code from the module under consideration can be recorded, which can inform the control object of the system about the transfer of control functions to the i-th module. Note also that when the PC executes an FB format, in contrast to an F5 formatted IC, a 1K-trigger 11, a check trigger 12, a counter 9, a check register 8 and an exit from the test cycle are in the zero state. On the next clock pulse $ (a zero code will be written to register 2 of the module in question, ACU will be written into register 2, the ACU will be written to the i-ro module. The module will go into standby mode, and the i-th module will go into operation mode, i

Каждый модуль системы содержит з БПМ 1 микропрограмму своей работы в режиме длинной проверки. Управл юща  система переходит в этот режим с момента записи в регистр 2 любого из ее модулей адреса МК перехода в этот режим . Така  МК имеет формат Ф4. Пример диагностических микропрограмм длинной проверки и их взаимодействие дл  управл ющей системы из трех модулей проиллюстрирован на рис. 6. В данном случае диагностическа  микропрограмма в каждом модуле состоит из двух МК. Все эти МК имеют формат Ф5. Реализаци  МК перехода в режим длинной проверки аналогична описанной ранее реализации МК формата Ф4 в режиме короткой проверки. Отличие состоит лишь в том, что в поле 1.3 МК формата Ф4 при длинной проверке контрольный адресный код должен быть нечетным, т.е. его младший разр д должен быть единичным. При этом в триггер 12 вида проверки по очередному импульсу Ј2 зашгшетс  единица, а не нуль как при короткой проверке. Единичный сигнал с выхода триггера 12 разрешит формирование коммутатором 15 единичного сигнала Проверка только после поступлени  на него единичного сигнала со второго 1002 выхода дешифратора 10.Each module of the system contains s BPM 1 firmware of its operation in the long test mode. The controlling system enters this mode from the moment of recording in register 2 of any of its modules the address of the MC to transition to this mode. Such an MK has an F4 format. An example of long-term diagnostic firmware and their interaction for a three-module control system is illustrated in Fig. 6. In this case, the diagnostic firmware in each module consists of two MCs. All these MK have F5 format. The implementation of the MC for transition to the long test mode is similar to the implementation of the F4 format MC in the short test mode described earlier. The only difference is that in field 1.3 of the MK of F4 format with a long check, the control address code must be odd, i.e. its least significant bit must be single. In this case, the trigger 12 will be checked by the next impulse Ј2 one, and not zero as in the short test. A single signal from the output of the trigger 12 will allow the switch 15 to form a single signal. Check only after a single signal from the second 1002 output of the decoder 10 arrives at it.

В режиме длинной проверки все модули системы поочередно, по замкнутой цепочке обмениваютс  контрольными адресными кодами друг с другом. Од- нако, если при короткой проверке обмен контрольными адресными кодами осуществл етс  дважды, то при длинной проверке только один раз. После того, как каждый модуль обмен етс  со все- JQ ми остальными модул ми системы контрольными адресными кодами, т.к. цепочка замкнута, последн   передача контрольного адресного кода при отсутствии огаибок должна произойти в t5 модуль, который инициировал длинную проверку. Причем этот последний контрольный адресный код должен быть ад-/ ресом первой МК формата Ф5, с кото-| рой началась длинна  проверка. Этот 20 код хранитс  в регистре 8 проверки инициирующего модул  куда он был записан при реализации МК перехода в режим длинной проверки. В этот момент , когда в модуль инициатор длин- 25 ной проверки должен прийти последний контрольный адресный код, дешифратор 10 по коду с выхода счетчика 9 формирует на своем выходе 10.2 единичный сигнал, по которому коммутатор 153In the long test mode, all modules of the system alternately, over a closed chain, exchange control address codes with each other. However, if during a short check the control address codes are exchanged twice, then with a long check only once. After each module is exchanged with all other JQ modules of the system with control address codes, since the chain is closed, the last transmission of the control address code in the absence of an error should occur in the t5 module, which initiated a long check. Moreover, this last control address code should be the ad / res of the first F5 MK format, from which | the swarm began a long check. This 20 code is stored in register 8 of the check of the initiating module where it was recorded when implementing the MC to switch to the long check mode. At this moment, when the initiator of the length test must come to the module with the last control address code, the decoder 10, using the code from the output of counter 9, generates at its output 10.2 a single signal by which the switch 153

формирует единичный сигнал Проверка. Далее работа модул  систет- ы полностью аналогична работе модул  после формировани  сигнала Проверка в режиме короткой проверки Модуль инициатор 3 длинной проверки либо формирует сиг- нал ошибки и зависает до устранени  неисправностей, либо выходит из цикла проверки по адресу, хранимому в регистре 7.4generates a single signal Check. Further, the operation of the system module is completely similar to the operation of the module after generating a signal. Test in the short test mode The initiator module 3 of the long test either generates an error signal and hangs until the faults are eliminated, or exits the test cycle at the address stored in register 7.4

Claims (1)

Формула изобретени Invention Formula v.45v.45 Программный управл ющий модуль с контролем, содерж гдей блок пам ти микрокоманд, регистры адреса и микрокоманд , мультиплексоры адреса и логических условий, демультиплексор блок элементов ИЛИ, причем выход пол  метки 111 блока пам ти микрокоманд соединен с управл ющим входом демульти- 50 плексора и первым адресным входом мультиплексора адреса, выход которого соединен с информационным входом регистра адреса, выход младтегл разр да пол  адреса блока пам ти микро- 55 команд соединен с младшим разр дом информационного входа мультиплексора логических условий, выход которо JQ t5 20 25 30A software control module with a control, which contains microcommand memory blocks, address and microcommand registers, address and logical conditions multiplexers, a demultiplexer OR block, and the output of the 111 label field of the microcommand label is connected to the control input of the demultiplexer 50 plexer and the first the address input of the address multiplexer, the output of which is connected to the information input of the address register, the output of the low-resolution bit of the address field of the micro 55-command memory block is connected to the low-order bit of the information input of the multiplexer logical conditions, the output of which JQ t5 20 25 30 . 35 40. 35 40 .45.45 50 о 55 го соединен с младшим разр дом первой группы информационных входов мультиплексора адреса, выход старших разр дов пол  адреса блока пам ти микрокоманд соединен со старшими разр дами первого информационного входа мультиплексора адреса, выход пол  адреса блока пам ти микрокоманд соединен с информационным входом де- мультиплексора, выходы которого образуют групповой выход передачи управлени  модул , выход пол  кода логических условий блока пам ти микрокоманд соединен с адресными входами мультиплексора логических условий и демультиплексора, вход логических условий модул  соединен со старшими разр дами информационного входа мультиплексора логических условий, групповой вход передачи убавлени  модул  образует группу входов блока элементов ИЛИ, группа выходов которого соединена с второй группой информационных входов мультиплексора адреса, вход кода команды модул   вл етс  третьей группой информационных входов мультиплексора адреса, выход регистра адреса соединен с входом блока пам ти микрокоманд, выход пол  микроопераций которого соединен с информационным входом регистра микроопераций , первый и второй входы синхрони- зации модул  соединены с синхровхо- дами соответственно регистров адреса и микроопераций, выход регистра микроопераций  вл етс  выходом микроопераций модул , отличающийс  тем, что, с целью повышени  достоверности его функционировани  в составе управл ющей системы путем обеспечени  возможности самодиагностировани , он дополнительно содержит регистры выхода из цикла и проверки, счетчик импульсов, дешифратор, 1К-триггер, триггеры вида проверки и ошибки, схему сравнени , коммутатор, элементы И« И-НЕ, причем выход пол  микроопераций блока пам ти микрокоманд соединен с информационным входом регистра выходи из цикла, группа выходов которого со- адинена с четвертой группой информационных входов мультиплексора адреса, выходы полей метки М2 и адреса блока пам ти микрокоманд соединены соответственно с управл ющим и информационным входом регистра проверки, группа выходов которого и группа выходов блока элементов ИЛИ соединены соответственно с первой и второй группами входов схемы сравнени , выход пол  метки М2 блока пам ти микрокоманд соединен с управл ющими входами триг- гера вида проверки, регистра выхода из цикла, с обнул ющим входом регистра микроопераций и с I-входом 1К-триг- гера, выход которого соединен с управл ющим входом счетчика импульсов, JQ второй вход синхронизации модул  соединен со счетным входом счетчика импульсов, выход которого соединен с входом дешифратора, первый и второй выходы дешифратора соединены соответ-75 ственно с первым и вторым информацион- ными входами коммутатора, выход младшего разр да пол  адреса блока пам ти микрокоманд соединен с информационным входом триггера вида проверки, JQ выход которого соединен с первым инверсным и вторым пр мым управл ющими входами коммутатора, выход коммутатора соединен с вторым адресным вхо-50 about 55 is connected with the low-order bit of the first group of information inputs of the address multiplexer, the output of the high-order bits of the address field of the micro-instruction memory block is connected to the high bits of the first information input of the address multiplexer, the output field of the address of the micro-memory block is connected the multiplexer whose outputs form the group transfer control output of the module, the output of the field field of the logic code code of the microcommand memory module is connected to the address inputs of the logic multiplexer condition and dem the multiplexer, the input of the logical conditions of the module is connected to the higher bits of the information input of the multiplexer of the logical conditions, the group input of the transmission of the decrease of the module forms the group of inputs of the block of elements OR, the group of outputs of which is connected to the second group of information inputs of the multiplexer of the address the multiplexer addresses of the address, the output of the register of the address is connected to the input of the microinstructions memory block, the output of the microoperations floor of which is connected to The micro-operations register’s first input, the module’s first and second synchronization inputs are connected to the address and micro-ops registers, respectively, the output of the micro-ops register is the output of the micro-ops of the module, in order to increase the reliability of its operation as part of the control system enable self-diagnostics, it further contains a loop-out and check registers, a pulse counter, a decoder, a 1K trigger, test types and error triggers, a comparison circuit nor, the switch, the AND – NES elements, and the output of the microoperations micro-operations floor of the micro-commands is connected to the information input of the register, exit the cycle, the output group of which is associated with the fourth group of information inputs of the address multiplexer, the output fields of the M2 tag and the address of the memory block These micro-instructions are connected respectively to the control and information input of the check register, whose output group and the output group of the OR block are connected respectively to the first and second groups of inputs of the comparison circuit, the output field The M2 tags of the micro-command memory module are connected to the control inputs of the check type trigger, the cycle exit register, with the embedding input of the micro-operations register and the I-input of the 1K-trigger, the output of which is connected to the control input of the pulse counter, JQ the second synchronization input of the module is connected to the counting input of the pulse counter, the output of which is connected to the input of the decoder, the first and second outputs of the decoder are connected respectively to the first and second information inputs of the switch, the output of the lower bit address field block in the memory of microinstructions, it is connected to the information input of the check type trigger, the JQ output of which is connected to the first inverse and second direct control inputs of the switch, the output of the switch is connected to the second address input 2525 дом мультиплексора адреса, с управл ющим входом триггера ошибки, с К-вхо- дом IK-триггера, с пер ым входом элемента И, выход которого соединен с обнул ющими входами счетчика и регистра выхода из цикла, выходы схемы сравнени  и коммутатора соединены соответственно с первым и вторым входами элемента И-НЕ, выход которого соединен с информационным входом триггера ошибки, вход сброса ошибки модул   вл етс  обнул ющим входом триггера ошибки, выход которого соединен с обнул ющим входом регистра адреса и выходом ошибки модул , третий вход синхронизации модул  соединен с вторым входом элемента И и синхровходами регистров проверки выхода из цикла, IK-триггера, триггера вида проверки, первый вход синхронизации модул  соединен с входом синхронизации тригге- ра ошибки оthe address multiplexer, with the control input of the error trigger, with the K input of an IK trigger, with the first input of the AND element, the output of which is connected to the outgoing inputs of the counter and the loop out register, the outputs of the comparison circuit and the switch are connected respectively to the first and second inputs of the NAND element, the output of which is connected to the error trigger information input, the module error reset input, is the zeroing input of the error trigger, the output of which is connected to the zero address input of the address register and the error output of the module, the third sync input the module is connected to the second input of the And element and the synchronous inputs of the loop out check registers, the IK trigger, the check trigger type, the module’s first synchronization input is connected to the error trigger trigger input 7Г98Ш7G98Sh фиг.44 Расспатриваемый (j,-u) модульSpreader (j, -u) module i-u модульi-u module Фиг. 5FIG. five II началоStart 2-й модуль I2nd module I 3-й модуль. I i I3rd module. I i i Фиг. 6FIG. 6
SU904858055A 1990-08-08 1990-08-08 Programmed control module with checking SU1758634A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904858055A SU1758634A1 (en) 1990-08-08 1990-08-08 Programmed control module with checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904858055A SU1758634A1 (en) 1990-08-08 1990-08-08 Programmed control module with checking

Publications (1)

Publication Number Publication Date
SU1758634A1 true SU1758634A1 (en) 1992-08-30

Family

ID=21531475

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904858055A SU1758634A1 (en) 1990-08-08 1990-08-08 Programmed control module with checking

Country Status (1)

Country Link
SU (1) SU1758634A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР N 1476465, кл.С 05 В 19/20, 1989. В.С.Харченко и др. Основы построени микроконтроллеров АСКУ. НО СССР, 1989, .. *

Similar Documents

Publication Publication Date Title
SU1758634A1 (en) Programmed control module with checking
SU1659983A1 (en) Programmable controller
SU1180888A1 (en) Microprogram control device
SU1727112A1 (en) Distributed system for programmed control with majorizing
SU1481712A1 (en) Asynchronous program-control unit
SU1649507A1 (en) Programmable control unit
SU1702370A1 (en) Microprogram control device with checking
SU1241244A1 (en) Multimicroprogram controlling system
SU1038944A1 (en) Microprgram control device having checking capability
SU1310818A1 (en) Microprogram control device
SU1133595A1 (en) Firmware control device
SU1310776A1 (en) Device for programmed control and checking of cyclic process
SU1288706A1 (en) Interface for linking computer with communication channels
SU1365082A1 (en) Multiprogram self-monitoring control device
SU1649539A1 (en) Device of microprogramm control
SU1476465A1 (en) Microprogram control unit
SU1273926A1 (en) Adaptive module of microprogram control device
RU1803905C (en) Program monitor and control module device
SU1166110A1 (en) Microprogram control unit
SU1130865A1 (en) Firmware control device
SU1397917A1 (en) Two-channel device for checking and restoring processor systems
SU1381503A1 (en) Microprogram controller
SU1372328A1 (en) Microprogram self-monitoring processor
SU1134943A1 (en) Device for functional check of computers
SU1403058A1 (en) Information output device