SU1293739A1 - Checking device - Google Patents
Checking device Download PDFInfo
- Publication number
- SU1293739A1 SU1293739A1 SU853883190A SU3883190A SU1293739A1 SU 1293739 A1 SU1293739 A1 SU 1293739A1 SU 853883190 A SU853883190 A SU 853883190A SU 3883190 A SU3883190 A SU 3883190A SU 1293739 A1 SU1293739 A1 SU 1293739A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- control
- output
- input
- information
- register
- Prior art date
Links
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в иерархических многоканальных системах контрол в качестве устройства управлени и контт рол многоканальных объектов. Цель изобретени - расширение функциональных возможностей устройства и повышение достоверности контрол . Устройство содержит блок 1 ввода - вывода, блок 2 хранени признаков, первый формирователь 3 импульсов, блок 4 задани режима, второй формирователь 5 импульсов, блок 6 синхронизации, -блок 7 установки, блок 8 регистров ввода-вывода, первый регистр 9, вто-; (Л С N9 ;о ее 00 ;о The invention relates to automation and computing and can be used in hierarchical multichannel control systems as a control device and control of multichannel objects. The purpose of the invention is to expand the functionality of the device and increase the reliability of the control. The device contains an input-output unit 1, a feature storage unit 2, a first pulse shaper 3, a mode setting unit 4, a second pulse shaper 5, a synchronization block 6, an installation block 7, an I / O register block 8, a first register 9, a second ; (LC N9; about her 00; o
Description
рой регистр 10, мультиплексор 11, дешифратор 12, блок 13 формировани признаков, генератор 14 импульсов. Цель изобретени достигаетс введением дешифратора, блока синхронизации, блока установки, формирователей им1swarm register 10, multiplexer 11, decoder 12, feature generation unit 13, pulse generator 14. The purpose of the invention is achieved by the introduction of a descrambler, a synchronization unit, an installation unit, and a driver for them.
Изобретение относитс к автоматике и вычислительной технике и может быть исйользовано в иерархических многоканальных системах контрол в качестве устройства управлени и конт рол многоканальных объектов.The invention relates to automation and computing and can be used in hierarchical multichannel control systems as a control device and control of multichannel objects.
Цель изобретени - расширение функциональных возможностей устройства и повьшение достоверности контрол .The purpose of the invention is to expand the functionality of the device and increase the reliability of the control.
На фиг. 1 представлена схема устройства; на фиг. 2 - схема блока хранени признаков;на фиг. 3 - схема блока формировани признаков; на фиг, 4 - схема пер вого формировател импульсов; на фиг. 5 - схема блока задани режима; на фиг. 6 - схема второго формировател импульсов; на фиг. 7 - схема блока синхронизации.FIG. 1 shows a diagram of the device; in fig. 2 is a diagram of a feature storage unit; FIG. 3 is a block diagram of the formation of features; FIG. 4 is a diagram of the first pulse former; in fig. 5 is a block diagram of the mode setting; in fig. 6 is a diagram of a second pulse former; in fig. 7 is a block diagram diagram.
Устройство (фиг. 1) содержит блок 1 ввода-вывода, блок 2 хранени .признаков, первый формирователь 3 им пульсов, блок 4 задани режима, вто- рой формирователь 5 импульсов (формирователь и:-1пульсной последовательности ) , блок 6 синхронизации, блок 7 установки, блок 8 регистров ввода-вывода , первый регистр 9 (регистр каналов ), второй регистр 10 (регистр состо ний ), мультиплексор 11, дешифратор 12, блок 13 формировани признаков , генератор 14 импульсов. На схеме также обозначены управл ющие входы 15 устройства, адресные выходы 16 устройства, информационные выходы 17 устройства, контрольный выход 18 устройства, управл ющие выходы 19 устройства, входы-выходы блоков устройства 20-62, информационные входы- выходы 63 устройства, информационный вход 64 устройства.The device (Fig. 1) contains an I / O unit 1, a storage unit 2. The signs, the first pulse shaper 3, the mode setting unit 4, the second pulse shaper 5 (the driver and: -1 pulse sequence), synchronization block 6, the block 7, an I / O register block 8, a first register 9 (channel register), a second register 10 (status register), a multiplexer 11, a decoder 12, a characteristic generation unit 13, a pulse generator 14. The diagram also denotes device control inputs 15, device address outputs 16, device information outputs 17, device control output 18, device control outputs 19, device block outputs 20-62, device information inputs-outputs 63, information input 64 devices.
Блок хранени признаков (фиг.2) Содержит регистр 65 и дешифратор 66. Входы регистра - 67 , 67 , Ы- , выходы регистра - 68.,, 68.The block of storage of features (Fig. 2) Contains the register 65 and the decoder 66. The inputs of the register are 67, 67, Y-, the outputs of the register are 68. 68.
пульсов и генератора импульсов. Введение новых элементов и св зей позвол ет также повысить достоверность контрол за счет проверки устройства .процессором более высокого уровн управлени . 7 ил., 2 табл.pulses and pulse generator. The introduction of new elements and connections also makes it possible to increase the reliability of control by checking the device by a higher level control processor. 7 ill., 2 tab.
5five
fOfO
1515
2020
2525
30thirty
3535
4040
Блок формировани признаков (фиг.З) содержит первый элемент И 69 и вторые элементы И 70 70g.The feature generating unit (FIG. 3) contains the first element AND 69 and the second elements AND 70 70g.
Первый формирователь импульсов (фиг. 4) содержит коммутаторы 71j и дешифратор 72.The first pulse generator (Fig. 4) contains the switches 71j and the decoder 72.
Блок задани режима (фиг. 5) содержит дешифратор 73, первый 74, второй 75 и третий 76 элементы ИЛИ, элемент 77 задержки.The mode setting block (Fig. 5) contains a decoder 73, the first 74, the second 75, and the third 76 OR elements, the delay element 77.
Второй формирователь импульсов (фиг. 6) содержит счетчик импульсов 78, первый 79 , второй 79,, третий 79 триггеры, первый 80,-второй 81, третий 82 и четвертый 83 крммутато- ры, первый 84, второй 85, третий 86, четвертый 87 и п тый .88 элементы И, первый 89 и второй 90 элементы ИЛИ, первый 91 и второй 92 одновибраторы.The second pulse shaper (Fig. 6) contains a pulse counter 78, the first 79, the second 79, the third 79 triggers, the first 80, the second 81, the third 82 and the fourth 83 switches, the first 84, the second 85, the third 86, the fourth 87 and fifth .88 elements And, the first 89 and second 90 elements OR, the first 91 and second 92 one-shot ones.
Блок синхронизации (фиг. 7) содержит первый 93, второй 94, третий 95 и четвертый 96 триггеры, первый 97 и второй 98 элементы ИЛИ, первый 99, второй 100, третий 101 и четвертый 102 элементы И.The synchronization unit (Fig. 7) contains the first 93, second 94, third 95 and fourth 96 triggers, first 97 and second 98 elements OR, first 99, second 100, third 101 and fourth 102 elements I.
В иерархической системе контрол условно можно выделить три уровн {S,S,Sj , причем высший уровень S реализован на процессоре (микропроцессоре ), уровень S представл етс множеством устройств управлени контролем , аналогичных предлагаемому объекту, и наконец, уровню S соответствует множество объектов контрол .In the hierarchical control system, it is conditionally possible to distinguish three levels {S, S, Sj, the highest level S being implemented on a processor (microprocessor), level S being represented by a variety of control control devices similar to the proposed object, and finally, level S corresponds to a multitude of control objects.
Функциональна нагрузка между уровн ми описываемой системы распредел етс следующим образом.The functional load between the levels of the described system is distributed as follows.
Микропроцессор верхнего уровн управлени S, осуществл ет в режиме мультиплексировани устройств дл управле}йи контролем, расположенных на уровне Б,, выдачу управл ющих и тестовых воздействий на устройствахThe microprocessor of the upper control level S, in multiplexing mode, carries out control devices and controls located at level B, producing control and test effects on devices
уровн Sj. Кроме того, микропроцессор уровн S принимает также в режиме мультиплексировани информацию от устройств уровн S о состо нии (сигналы реакций), объектов контрол уров- 5 н SA и о собственном состо нии устройств уровн S в режиме их проверкиSj level. In addition, the microprocessor of the S level also receives in the multiplexing mode information from the S level devices on the state (reaction signals), 5n SA level control objects and their own state of the S level devices in their test mode.
tsts
и осуществл ет ее обработку.and processes it.
Работа дешифратора 66 блока 2 хранени признаков характеризуетс табл. истинности.The operation of the decoder 66 of the feature storage unit 2 is characterized by the table. of truth.
Алгоритм работы дешифратора 73 задаетс следующей табл. 2.The operation algorithm of the decoder 73 is defined in the following table. 2
Устройство работает следующим образом .The device works as follows.
Рассмотрим принцип функционировани устройства, которое работает в следующих режимах: обмен информацией с внешним управл ющим устройством (например, микропроцессором); обмен информацией с объектом контрол ; самопроверка .Consider the principle of operation of a device that operates in the following modes: the exchange of information with an external control device (for example, a microprocessor); information exchange with the control object; self test
В первом режиме происходит обмен информацией между данным устройством и микропроцессором через группу вхо- дор-выходов 63 устройства (фиг. 1).In the first mode, information is exchanged between this device and the microprocessor through the device input-output group 63 of the device (Fig. 1).
При этом после опознавани адреса устройства дешифратором 12 его выходной сигнал инициирует блок 4 задани In this case, after the device address is recognized by the decoder 12, its output signal is initiated by block 4
toto
л ющий микропроцессор (К580ИК80) вл етс байтовым, то обмен шестнадцатиричными кодами происходит побайтно, т.е. шестнадцатиричный код принимает7 с в два приема.Since the microprocessor (K580IK80) is byte-wide, the exchange of hexadecimal codes is byte-by-byte, i.e. the hexadecimal code takes 7 seconds in two steps.
Поэтому только после приема младшего -И старшего байтов снимаетс сигнал запроса прерывани с выхода 58 регистра 10.Therefore, only after receiving the lower -and high byte, the interrupt request signal is removed from the output 58 of register 10.
При выдаче информации из регистра 10 с выходов 59 осуществл етс выдача кода состо ни устройства через мультиплексор 11 и далее через блок 1 ввода-вывода на выходы 63 устройства.When information is output from the register 10 from the outputs 59, the status code of the device is issued through multiplexer 11 and further through the input-output unit 1 to the outputs 63 of the device.
Во втором режиме осуществл етс обмен информацией между устройством и объектом контрол , а также программна установка и сброс блока 10.In the second mode, information is exchanged between the device and the control object, as well as software installation and reset of block 10.
В данном режиме работа устройства определ етс управл ющим словом, поступающим через группу входов 63 от микропроцессора. Управл ющее слово поступает с выходов 22 блока 1 (фиг. 1) на блок 2 хранени признаков и с выходов 56 на входы регистра 9 каналов.In this mode, the operation of the device is determined by the control word received through a group of inputs 63 from the microprocessor. The control word comes from the outputs 22 of block 1 (Fig. 1) to the block 2 for storing features and from the outputs 56 to the inputs of the register 9 of the channels.
2020
2525
В формате управл ющего слова сорежима , на выходе 38 которого -под воз-30 держитс 8 разр дов. В трех младших действием сигналов Прием и Выдача Разр дах (ДО, Д1 , Д2) , содержитс соответственно на входах 34 и 35 с за- информаци о номере, приемного регист- держкой на врем реакции на заданную Ра объекта контрол или.о состо нииIn the format of the control word, the mode is at output 38 of which -sub-30 holds 8 bits. In the three junior signals, the reception and output of bits (TO, D1, D2) contain, respectively, at inputs 34 and 35 s, the information about the number, the reception register for the response time to the specified control object Pa or
микропроцессором операцию формируетс сигнал конца операции. Этот сигна поступает через соответствующий разр д выходов 17 на микропроцессор и воспринимаетс им как признак сигнала Ответ.the microprocessor operation forms the end of operation signal. This signal goes through the corresponding bit of the outputs 17 to the microprocessor and is perceived by it as an indication of the signal. Answer.
Кроме того, по указанным сигналам осуществл етс формирование сигналов управл ющих блоком 8 регистров, регистром 10 состо ний и мультиплексором 11 (фиг. 4).In addition, according to the indicated signals, signals are generated that control the block of registers 8, the state register 10 and the multiplexer 11 (Fig. 4).
При приеме информации от микропроцессора данные через входы 63, блок 1 ввода записываютс в регистры блока 8.When receiving information from the microprocessor, the data through inputs 63, input block 1 is written into the registers of block 8.
При передаче данных в микропроцессор дл анализа происходит выборка их с выходов 53 и 54 регистров блока 8 через мультиплексор 11, его вы- ходы 60 и блок ввода-вывода на выходы 63 устройства.When data is transmitted to the microprocessor for analysis, they are sampled from the outputs 53 and 54 of the registers of block 8 through the multiplexer 11, its outputs 60 and the I / O unit to the outputs 63 of the device.
Обмен, информацией между данным . устройством и микропроцессором осуществл етс шестнадцатиричными кодами . При этом ввиду того, что управ5 Exchange of information between the data. The device and microprocessor are implemented with hexadecimal codes. Moreover, in view of the fact that
tsts
toto
293739 4293739 4
л ющий микропроцессор (К580ИК80) вл етс байтовым, то обмен шестнадцатиричными кодами происходит побайтно, т.е. шестнадцатиричный код принимает7 с в два приема.Since the microprocessor (K580IK80) is byte-wide, the exchange of hexadecimal codes is byte-by-byte, i.e. the hexadecimal code takes 7 seconds in two steps.
Поэтому только после приема младшего -И старшего байтов снимаетс сигнал запроса прерывани с выхода 58 регистра 10.Therefore, only after receiving the lower -and high byte, the interrupt request signal is removed from the output 58 of register 10.
При выдаче информации из регистра 10 с выходов 59 осуществл етс выдача кода состо ни устройства через мультиплексор 11 и далее через блок 1 ввода-вывода на выходы 63 устройства.When information is output from the register 10 from the outputs 59, the status code of the device is issued through multiplexer 11 and further through the input-output unit 1 to the outputs 63 of the device.
Во втором режиме осуществл етс обмен информацией между устройством и объектом контрол , а также программна установка и сброс блока 10.In the second mode, information is exchanged between the device and the control object, as well as software installation and reset of block 10.
В данном режиме работа устройства определ етс управл ющим словом, поступающим через группу входов 63 от микропроцессора. Управл ющее слово поступает с выходов 22 блока 1 (фиг. 1) на блок 2 хранени признаков и с выходов 56 на входы регистра 9 каналов.In this mode, the operation of the device is determined by the control word received through a group of inputs 63 from the microprocessor. The control word comes from the outputs 22 of block 1 (Fig. 1) to the block 2 for storing features and from the outputs 56 to the inputs of the register 9 of the channels.
2020
2525
В формате управл ющего слова соIn the format of the control word with
триггера маски прерывани . Эти разр ды подключены к выходам 22 блока ввода-вывода.interrupt mask trigger. These bits are connected to the outputs of the 22 I / O unit.
Разр ды ДЗ и Д4 управл ющего слова определ ют номер провер емого канала объекта контрол . Эта информаци с выходов 56 блока 1 записываетс The DZ and D4 bits of the control word determine the number of the checked object of the control object. This information from outputs 56 of block 1 is recorded
в регистр 9.in register 9.
Разр ды Д5 и Д6 управл ющего слова в данном режиме не используетс и вл етс резервными.The control word bits D5 and D6 are not used in this mode and are reserved.
Старший разр д Д7 управл ет формированием сигнала установки объекта контрол с выхода 62 блока 7 установки . Значение сигнала разр да Д7 снимаетс с выхода 50 блока 1 ввода-вывода .The high bit D7 controls the generation of the signal of the monitoring object from the output 62 of the installation block 7. The value of the D7 bit signal is removed from the output 50 of the I / O unit 1.
Информаци поступает в объект контрол и принимаетс от него в последовательном коде.The information enters the control object and is received from it in a sequential code.
В третьем режиме осуществл етс In the third mode is carried out
самопроверка устройства без вьщачи информации в объект контрол . В этом случае блоком 4 задани режима вырабатываютс сигналы, определ юЕцие режим самоконтрол ,device self-check without entering information into the control object. In this case, the unit 4 mode settings generated signals, defining the self-control mode,
5151
Сигналом с выхода 44 блока 4 задани режима в блоке 6 инициируетс отработка .режима самопроверки. При этом происходит передача информации с выхода блока 8 регистров на его вход. В данном случае после окончани указанной перезаписи информации формируетс сигнал запроса прерывани на выходе 58 регистра 10,A signal from the output 44 of the mode setting unit 4 in block 6 initiates the testing of the self-test mode. When this occurs, the transfer of information from the output of block 8 of registers to its input. In this case, after the end of the indicated rewriting of information, an interrupt request signal is generated at the output 58 of the register 10,
.Цл предотвращени передачи информации самоконтрол в объект в регистр 9 каналов (фиг,, t) с помощью управл ющего слова записываютс ну.To prevent the transfer of information of the self-control to the object in the channel register 9 (fig ,, t) using the control word are written down
ли, вследствие чего входы объекта блокируютс .whether, as a result, the inputs of the object are blocked.
Работоспособность устройства устанавливаетс по наличию неискаженной информации в регистрах блока 8 и формированию сигнала запроса прерыЕ:ани на выходе 58 регистра 10.The operability of the device is established by the presence of undistorted information in the registers of block 8 and the generation of a request signal interrupt: output 58 of register 10.
Особенностью устройства вл етс то, что перечисленные режимы могут выполн тьс устройством в определенном пор дке.A feature of the device is that the listed modes can be performed by the device in a specific order.
Рассмотрим примеры функционировани устройства в каждом из указанных режимов.Consider examples of the operation of the device in each of these modes.
Прием информадии устройством от ьшкропроцессора осуществл етс следующим образом. Reception of information by the processor from the processor is carried out as follows.
В исходном состо нии в.се элементы пам ти блоков устройства устанавливаютс в исходное состо ние сигналом со входа 36 устройства.In the initial state, all the memory elements of the device blocks are reset to the initial state by a signal from the input 36 of the device.
Далее устройст во осуществ.ч ет прием информадии в блок 8 регистров, При этом на входы 15 устройства (фиг о 1) пос тупгтю г следуга дие сигналь на входы разр дов 61 - собстненньп адрес устройства, на входы 33 разр дов код задани режима работы, на вход 35 поступает сипол Выдача от микропроцессора.Next, the device performs reception of information into the block 8 of registers. At the same time, the inputs 15 of the device (FIG. 1) send the following signal to the inputs of bits 61, the device’s own address, and to the inputs of 33 bits the job setting code , at input 35 enters the sipole Extraction from the microprocessor.
Поэтому в устройс1 ве и случае опознани собственного адреса срабатывает дешифратор 2, выходной сигнал которого поступает на соответствующи вход блока 1 ввода-вывода и готовит данные дл передачи их с входов 63 на входы 21 блока 1 ввода-выхода.Therefore, in the device and in the case of identifying its own address, a decoder 2 is triggered, the output of which goes to the corresponding input of I / O unit 1 and prepares data for transferring them from inputs 63 to inputs 21 of input-output unit 1.
На входы дешифратора 73 блока 4 задани режима (ф г, 5) в данном случае поступает набор сигналов,. соответствующий третьему набору в табл.2 Поэтомз дешифратор 73 выдает сигнал на соответствующем разр де выхода, (который поступае - через выходы 55 на ЮДИН из входов блока 8. . обеспечивг The inputs of the decoder 73 block 4 setting mode (f g, 5) in this case receives a set of signals. corresponding to the third set in Table 2, Poetomz, the decoder 73 issues a signal at the corresponding output level, (which enters through outputs 55 to JUDIN from the inputs of block 8..
00
5five
тем самым запись младшего байта информации со входов 21 в блок 8 регистров ввода-вывода оthereby writing the low byte of information from inputs 21 to block 8 of the I / O registers
После осуществлени записи в регистр с выхода 38 элемента 77 задержки блока 4 (фиг. 5) выдаетс на микропроцессор сигнал окончани выполнени операции (или сигнал Ответ по терминологии, прин той при описании микропроцессора типа К580ИК80). После получени указанного сигнала микропроцессор может в случае необходи- мости отключитьс от данного устройства дл взаимодействи с другим устройством.After writing to the register from the output 38 of the element 77 of the delay of block 4 (Fig. 5), the operation completion signal (or the response signal received in the description of the K580IK80 microprocessor) is output to the microprocessor. After receiving the specified signal, the microprocessor may, if necessary, disconnect from the device to interact with another device.
Снимаетс сигнал со входа 35 блока 4 задани режима (фиг. 1,5), вследствие чего сигнал на выходе 38 также принимает нулевое значение.The signal is removed from the input 35 of the mode setting unit 4 (Fig. 1.5), whereby the signal at the output 38 also takes a zero value.
После приема в устройство младшего байта информации осуществл етс прием старшего байта.After receiving the low byte of information in the device, the high byte is received.
Прием старшего байта осуществл етс так же, как и младшего байта через входц 63 устройства. Отличие заключаетс в том, что в рассматриваемом случае на входы дешифратора 73 блока 4 задани режима (фиг. 5) поступает набор сигналов, соответствую- пщй четвертому набору табл. 2.The reception of the high byte is the same as that of the low byte through input 63 of the device. The difference lies in the fact that in this case, the inputs of the decoder 73 of the mode setting unit 4 (Fig. 5) receive a set of signals corresponding to the fourth set of the table. 2
Поэтому зозбужденньгм оказываетс шестой разр д выхода дешифратора 73 и соответствую1дий ему вход блока 8 регистров и соответствующий регистр. 35 Далее процесс приема информации полностью аналогичен описанному выше дл мл адш е г о байта.Therefore, the sixth bit of the output of the decoder 73 and its corresponding input of the block 8 of registers and the corresponding register are excited. 35 Further, the process of receiving information is completely analogous to that described above for ml of this byte.
После завершени приема информации в устройство От микропроцессора может производитьс самопроверка устройства , передача информации в объект контрол , либо передача информации в микропроцессор дл анализа. Пор док работы устройства определ етс управ0Upon completion of receiving information from the device, the microprocessor can perform a self-test of the device, transfer information to the test object, or transfer information to the microprocessor for analysis. The order of operation of the device is determined by the control.
2525
30thirty
4040
4545
л Еощими сиг налами, которые поступаютl With signals that come in
на входы устройства.to the inputs of the device.
II
Передача информации в микропроцессор из устройства через выходы 63Information transfer to the microprocessor from the device through the outlets 63
осуществл етс следующ гм образом.performed in the following way.
На входы 61 дешифратора 12 (фиг.1) поступает соответствующий адрес устройства . Выходной сигнал дешифратора 1 2 разрешает срабатывание дешифра- 7-ора 73 блока 4 задани режимаThe inputs 61 of the decoder 12 (figure 1) receives the corresponding address of the device. The output signal of the decoder 1 2 allows the operation of the decoder-7-ora 73 block 4 task mode
(фиг.5), на входы 33 и 34 которого поступает набор сигналов, соответствующий первому набору в табл.2. Возбуждаетс второй разр д выхода деши(figure 5), to the inputs 33 and 34 of which receives a set of signals corresponding to the first set in table 2. The second bit of the deshi output is energized.
712712
фратора 73, сигнал с которого через входы-выходы 37 поступает на соответствующий вход регистра 10, который устанавливаетс в нуль и снимает сигнал с выхода 58 устройства (фиг. 1). The florist 73, the signal from which through the inputs-outputs 37 enters the corresponding input of the register 10, which is set to zero and removes the signal from the output 58 of the device (Fig. 1).
Кроме того этот же сигнал с второго разр да дешифратора 73 Е (фиг. 5) через выходы 37 блока 4 задани режима поступает на соответствующий вход дешифратора 12 и формирует тем самым следующий тракт передачи информации: выходы 54 блока 8 регистров, мультиплексор 11, выходы 60 мультиплексора 11 (фиг. 1), блок 1 ввода-вывода, открытый сигнал с выхода 20 элемента 75 ИЛИ (фиг. 5) блока 4 задани режима, выходы 63 устройства.In addition, the same signal from the second bit of the decoder 73 E (FIG. 5) through the outputs 37 of the mode setting unit 4 is fed to the corresponding input of the decoder 12 and thereby forms the following information transmission path: the outputs 54 of the register unit 8, multiplexer 11, outputs 60 multiplexer 11 (Fig. 1), I / O unit 1, an open signal from the output 20 of the element 75 OR (Fig. 5) of the mode setting unit 4, the outputs 63 of the device.
В процессе выполнени описанной операции также формируетс сигнал окончани выполнени операции на выходе 38 устройства.In the process of performing the described operation, a signal for terminating the operation at the output 38 of the device is also generated.
Аналогично выполн етс передача в микропроцессор старшего байта. Дл этого на входы 34 и 33 блока 4 задани режима поступают управл ющие сигналы, которые соответствуют второму набору в табл. 1. При этом возбуждаетс третий разр д выхода дешифратора 73 (фиг. 5), который настраивает мультиплексор 11 на передачу данных с выходов 53 блока 8 регистров ввода-вывода.Similarly, the high byte is transmitted to the microprocessor. For this purpose, control inputs are received at the inputs 34 and 33 of the mode setting unit 4, which correspond to the second set in the table. 1. In this case, the third bit of the output of the decoder 73 (FIG. 5) is excited, which sets up the multiplexer 11 for transmitting data from the outputs 53 of the block 8 of the I / O registers.
Последовательна комбинаци двух описанных режимов обмена устройства с микропроцессором может быть использована дл проверки работоспособности блоков 1.4,8,11 и 12 устройства путем передачи в устройство контрольного кода и последующего возвра- та его в микропроцессор дл анализа искажений.A sequential combination of the two described device exchange modes with a microprocessor can be used to check the operability of blocks 1.4,8,11 and 12 of the device by transmitting the control code to the device and then returning it to the microprocessor for distortion analysis.
Особенностью конструкции устройства , определ ющей область его применени , вл етс возможность взаимодействи с микропроцессором двум способами: по обращени м .и по прерывани м .The design feature of the device that determines its field of application is the ability to interact with the microprocessor in two ways: by contact and by interrupt.
Рассмотрим работу устройства в режиме проверки объекта контрол .Consider the operation of the device in the verification mode of the control object.
Данный режим условно может быть подразделен на два подрежима: передача информации на объект контрол и прием кода реакции от объекта.This mode can be divided into two sub-modes: the transfer of information to the control object and the reception of a reaction code from the object.
В режиме передачи информации на объект контрол аналогично описанном осуществл етс прием кода тестового воздействи от микропроцессора, иIn the mode of transferring information to the control object in the same way as described, the test action code from the microprocessor is received, and
8eight
00
5five
00
5five
запись его в блок 8 регистров ввода- вывода.write it to block 8 I / O registers.
Далее устройство осуществл ет прием управл ющего слова от микропроцес-. сора, которое определ ет пор док дальнейшей работы устройства: взаимодействие с объектом либо переход в режим самопроверки.Next, the device receives the control word from the microprocess. Sora, which determines the order of further operation of the device: interaction with the object or the transition to the self-test mode.
Управл ющее слово принимаетс ;следующим образом.The control word is adopted as follows.
На входы 61 поступает соответственный адрес данного устройства, на входы 33 - код 11, а на вход 35 - сигнал выдачи информации микропроцессором , что соответствует шестому набору в табл. 2.The inputs 61 receive the corresponding address of the device, the inputs 33 - code 11, and the input 35 - the signal output information by the microprocessor, which corresponds to the sixth set in the table. 2
В соответствии с этим возбуждаетс седьмой разр д выхода дешифратора 73 блока 4 задани режима (фиг.5). Сигналом с выхода дешифратора 12 (фиг. 1) разрешаетс передача информации со входов 63 устройства на выходы 21 блока 1 ввода-вывода. Информаци с выходов 21 блока ввода-вывода распредел етс следующим образом: сигналы с выходов трех младших разр дов 17оступают с выходов 21 блока 1 ввода- вывода на соответствующие разр ды входов 22 блока 2 хранени признака (фиг. 2), а сигналы с выходов третьего и четвертого разр дов управл ющего слова поступают с выходов 21 блока 1 ввода-вывода на -соответств ую- щие разр ды входов 56 регистра 9.Accordingly, the seventh bit of the output of the decoder 73 of the mode setting unit 4 (Fig. 5) is excited. The output signal from the decoder 12 (Fig. 1) allows the transfer of information from the device inputs 63 to the outputs 21 of the I / O unit 1. The information from the outputs 21 of the I / O unit is distributed as follows: the signals from the outputs of the three lower bits 17 come from the outputs 21 of the I / O unit 1 to the corresponding bits of the inputs 22 of the characteristic storage unit 2 (Fig. 2), and the signals from the outputs of the third and the fourth bits of the control word come from the outputs 21 of the I / O unit 1 to the corresponding bits of the inputs 56 of the register 9.
1one
При этом сигналом, поступающим на вход 49 регистра 9, осуществл етс запись в регистр кода выбора канала объекта контрол .In this case, a signal arriving at the input 49 of register 9, records the channel selection code of the control object into the register.
Дешифратор 66 блока 2 (фиг. 2) срабатывает в соответствии с табл. 1 таким образом, что его выходным сигналом осуществл етс запись единицы в один из разр дов регистра 65, со5 держимое которого опередел ет номер приемного регистра объекта контрол . С выходов 24 регистра 65 этот код поступает на соответствующие входы формировател 3 (фиг. 4).The decoder 66 block 2 (Fig. 2) is triggered in accordance with the table. 1 in such a way that its output signal records a unit in one of the bits of register 65, the content of which determines the number of the receiving register of the test object. From the outputs 24 of the register 65, this code arrives at the corresponding inputs of the imaging unit 3 (Fig. 4).
Q Одновременно с этим аналогичноQ Simultaneously with the same
описанному блоком 4 задани режима на выходе 38 формируетс сигнал окончани операции, который приводит к соответствующей реакции микропроцес сора.described by the mode setting unit 4, an operation end signal is generated at the output 38, which leads to a corresponding microprocessor response.
Далее по сигналу с двух первых разр дов входа 45 задаетс отставание или опережение тактовых импульсов относительно информационных.Further, the signal from the first two bits of the input 45 sets the lag or advance of clock pulses relative to the information ones.
00
5five
00
9 129 9,129
Далее включаетс генератор 14, который формирует тактовые импульсы в соответствии с временной диаграммойA generator 14 is then turned on, which generates clock pulses according to the timing diagram.
Триггер 93 блока 6 синхронизации (фиг. 7) устанавливаетс в единичное состо ние по сигналу со входа 32, который возбуждаетс в рабочем состо нии или состо нии самоконтрол устройства и снимаетс после записи информации в регистр 9 (фиг, 1). Генератор 14 работает до окончани формировани диаграммы обмена и по окончании выключаетс сигналом на выходе 31 формировател 3.The trigger 93 of the synchronization unit 6 (FIG. 7) is set to one state by a signal from input 32, which is activated in the working state or the device self-monitoring state and removed after recording information in register 9 (FIG. 1). The generator 14 operates until the end of the formation of the exchange pattern and is turned off by the signal at the output 31 of the driver 3.
После установки триггера 93 в единичное состо ние срабатывает элемент 99 И (фиг. 8), через который на счетчик Джонсона, .собранный на триггерах 94, 95 и 96 начинают поступать импульсы синхронизации.After the flip-flop 93 is installed in one state, element 99 AND (Fig. 8) is triggered, through which synchronization pulses begin to flow to the Johnson counter, assembled on flip-flops 94, 95 and 96.
В зависимости от того, в каком режиме функционирует устройство (отставание или опережение тактовых импульсов относительно информационных, Depending on the mode in which the device operates (the lag or advance of clock pulses relative to the information,
что опередел етс состо нием блока 6 синхронизации (фиг. 7), первый тактовый импульс с выхода будет формироватьс коммутатором 82 формировател 5 (фиг. 6) или после установки в единичное состо ние триггера 96 (фиг. 7), или после установки в единичное состо ние триггера 96, т.е. по второму или третьему импульсу с выхода элемента 99 И соответственно.which is determined by the state of the synchronization unit 6 (Fig. 7), the first clock pulse from the output will be generated by the switch 82 of the generator 5 (Fig. 6) or after the trigger 96 is set to one (Fig. 7), or after it is set to one trigger state 96, i.e. on the second or third pulse from the output of element 99 And, respectively.
Следующий тактовый импульс произ- водит установку триггеров 94, 95 и 96 в такое состо ние, при котором срабатывает коммутатор 81. формировател 5. Выходной сигнал этого коммутатора через выход 42 формировател 5 поступает на инверсный вход 42 элемента 99 И и запрещает тем самым прохождение тактовых импульсов через элемент на синхровходы триггеров 94, 95 и 96.The next clock pulse produces the installation of flip-flops 94, 95 and 96 in such a state that the switch 81 of the driver 5 is activated. The output signal of this switch through the output 42 of the driver 5 is fed to the inverted input 42 of element 99 And thus prohibits the passage of clock switches. pulses through the element on the synchronous inputs of the triggers 94, 95 and 96.
В этом состо нии триггеры 94, 95 и 96 наход тс до окончани формировани всей диаграммы обмена. Установка в нулевое состо ние этих триггеров происходит выходным сигналом элемента 101, который срабатывает по сигналу разрешени опроса реакции объекта с выхода 31 формировател .In this state, the triggers 94, 95 and 96 are before the completion of the formation of the entire exchange pattern. The setting of these triggers to the zero state occurs by the output signal of the element 101, which is triggered by the signal of interrogating the response of the object from the output 31 of the driver.
Передача кода выбора приемного регистра объекта контрол с выходов 27/ре гистра 3 (фиг.4) осуществл етс с выходов 24 регистра 65 блока 2 (фиг.2) черезThe transfer of the selection code of the receiving register of the control object from the outputs 27 / of the register 3 (FIG. 4) is performed from the outputs 24 of the register 65 of the block 2 (FIG. 2) through
oo
739739
5five
00
10ten
элементы И 70, 7Q, 70 и 70 (фиг. 4) регистра 3 по разрешающему сигналу со входа 48. Этот сигнал вл етс выходным сигналом элемента 102 И (фиг. 7), который срабатывает пхэ первому импульсу с выхода триггера 94.And 70, 7Q, 70, and 70 elements (FIG. 4) of register 3 at the enable signal from input 48. This signal is the output signal of element 102 (FIG. 7), which is triggered by the first pulse from the output of trigger 94.
Выходной сигнал коммутатора 81 вл етс разрешающим сигналом дл срабатывани элемента 88 И, которьй.разрешает поступление счетных импульсов на вход счетчика 78.The output signal of the switch 81 is the enable signal for the operation of the element 88 And, which allows the arrival of the counting pulses at the input of the counter 78.
Счетчик 78 (фиг. 6) формирует последовательность из п тнадцати импульсов . Счетчик 78 обеспечивает развертывание временной диаграммы обмена, управл коммутацией сигналов с выходов регистра 3 (фиг. 4), которым он св зан выходами 40. После отсчета п тнадцати входных импульсов срабатывает элемент 84 И, выходной сигнал которого устанавливает триггер единичное состо ние.The counter 78 (FIG. 6) forms a sequence of fifteen pulses. Counter 78 provides a time exchange diagram of the exchange, controlled by switching signals from the outputs of register 3 (Fig. 4), with which it is connected to the outputs 40. After counting fifteen input pulses, element 84 is triggered, the output signal of which sets the trigger to one state.
79. в79. in
Триггер 79, устанавливаетс в единичное состо ние по сигналу с выхода коммутатора 80 по окончании первого тактового импульса и находитс в этом состо нии до тех пор, пока триггер 79 не будет установлен в единичное соето ние . Выходной сигнал триггера 79, производит установку триггера 79 в нулевое состо ние через элемент 90 РШИ. .The trigger 79 is set to one at the signal from the output of the switch 80 at the end of the first clock pulse and is in this state until the trigger 79 is set to one. The output signal of the trigger 79, sets the trigger 79 to the zero state through the element 90 RSHI. .
В течение этого времени (единичного состо ни триггера 79) поддерживаютс в открытом состо нии соответствующие элементы И коммутаторов 82 и 83. При этом со входа 52 формировател 5 через коммутатор 83 на выход 18 устройства (фиг. 1) поступает последовательность импульсов информационного воздействи на объ,ект, а с выхода коммутатора 82 выдаютс так- .товые импульсы, которые синхронизиРуют прием информационных импульсов объектом контрол с одной стороны, а с другой стороны синхронизируют подачу сигнала на выход 52 блока 8 регистров и далее через коммутатор 83During this time (single state of the trigger 79), the corresponding elements of AND switches 82 and 83 are kept in the open state. At the same time, from the input 52 of the generator 5, through the switch 83, the output of the device 18 (FIG. 1) The ect, and from the output of the switch 82, so-called domestic pulses are output, which synchronize the reception of information pulses by the control object on the one hand, and on the other hand synchronize the signal supply to the output 52 of block 8 of registers and then switch 83
на выход 18 устройства (фиг. 1).on the output 18 of the device (Fig. 1).
П тнадцать первых тактовых импульсов формируютс сигналом со входа 39 блока 5, проход щим через коммутатор 82 на выход.Fifteen first clock pulses are generated by the signal from input 39 of block 5 passing through switch 82 to the output.
После выдачи импульсов окончани выдачи тестового воздействи с выхода 29 и опроса реакции объекта с выходов 28 устройства срабатывает коммутатор 71 формировател 3, выходнойAfter issuing the end-of-test output impulses from output 29 and polling the response of the object from the device’s outputs 28, the switch 71 of the driver 3, the output
сигнал которого поступает на вход 30 формировател 5 (фиг. 6) и устанавливает триггер 79 в единичное состо ние . При этом срабатывает одновибра- тор 91, которьй через элемент 89 ИЛИ устанавливает счетчик 78 в нулевое состо ние. Кроме того, этим же сигналом устанавливаетс в нулевое состо ние триггер 79 ,. На информационный вход триггера 79, поступает нулевой сигнал с триггера 79,., , поэтому после отсчета п тнадцати импульсов счетчиком 78 триггер 79, выходным синхросигналом элемента 84 И в единичное состо ние не устанавливаетс .the signal of which is fed to the input 30 of the imaging unit 5 (Fig. 6) and sets the trigger 79 to one state. In this case, a one-oscillator 91 is triggered, which, through element 89 OR, sets counter 78 to the zero state. In addition, the same signal sets the zero state to the trigger 79,. At the information input of the trigger 79, a zero signal is received from the trigger 79,... Therefore, after counting thirteen pulses by the counter 78, the trigger 79, the output clock signal of the element 84 is not set to one.
Далее устройство переходит в режим приема кода реакции от объекта контрол . Синхронизаци приема реакции объекта осуществл етс тактовыми импульсами с выхода элемента 87 И, который открыт в данном случае сигналом с единичного входа триггера 79,. Тактовые импульсы поступают на элемент 87 И с вьгхода элементаNext, the device enters the mode of receiving the reaction code from the control object. The reception of the reaction of the object is synchronized by clock pulses from the output of element 87 I, which is opened in this case by a signal from a single input of the trigger 79 ,. Clock pulses arrive at element 87 and from the start of an element
И 101. IAnd 101. I
Отсчет импульсов циклограммы приема Pulse count of reception cyclograms
кода реакции аналогично описанному осуществл етс счетчиком 78. После /отсчета шестнадцати импульсов триггер устанавливаетс в нулевое состо ние сигналом с выхода счетчика 78. При этом прекращаетс прохождение тактовых импульсов на выход формировател 5 через элемент 87 И. Одновременно сбрасываютс триггеры 94, 95 . и 96 сигналами с выхода 31 формировател триггер 93 блока 6 синхронизации . Кроме того, выходным сигналом 43 одновибратора 92 устанавливаютс в единичное состо ние регистр 10 который на выходе 58 формирует сигнал запроса прерывани , поступающий через выходы 17 устройства в микропроцессор .the reaction code, as described, is carried out by the counter 78. After sixteen pulses are counted, the trigger is set to the zero state by a signal from the output of the counter 78. At the same time, the clock pulses at the output of the driver 5 through the element 87 I. and 96 signals from the output of the 31 generator trigger 93 block 6 synchronization. In addition, the output signal 43 of the one-shot 92 is set to one state by the register 10, which at output 58 generates an interrupt request signal, which is fed through the outputs 17 of the device to the microprocessor.
В процессе работы элемент 85 И осуществл ет управление дешифратором 72 формировател 3. Элемент 86 И осуществл ет формирование сигнала окончани выдачи тестового воздействи на объект в случае, когда тактовые импульсы должны опережать информационные .In operation, the element 85 and controls the decoder 72 of the former 3. The element 86 and generates a signal of the end of the issuance of the test effect on the object in the case when the clock pulses must be ahead of the information.
После обработки процессором сигнала прерывани происходит прием в микропроцессор кода реакции аналогично описанному. Далее, если производитс безусловное диагнозирование объекта, то объект может быть установлен в исAfter the processor processes the interrupt signal, the reaction code is received into the microprocessor as described above. Further, if an unconditional diagnosis of the object is performed, then the object can be set to
5five
00
5five
00
5five
00
5five
00
5five
ходное состо ние. Дл этого от микропроцессора через входы 63 поступает управл ющее слово, в котором первый, второй и третий разр ды наход тс в нулевом состо нии, четвертьй и п тый разр ды задают номер канала в объекте контрол , а восьмой разр д находитс в единичном состо нии. Сигнал с выхода восьмого разр да поступает на входы 21 блока 1 ввода-вывода . running condition. For this, a control word is received from the microprocessor through the inputs 63, in which the first, second and third bits are in the zero state, the fourth and fourth bits define the channel number in the control object, and the eighth bit is in the single state . The signal from the output of the eighth bit is fed to the inputs 21 of the I / O unit 1.
Блок 7 установки выдает с вьгхода 62 импульс установки объекта в исходное состо ние.The installation unit 7 gives from impulse 62 an impulse for setting the object to the initial state.
Дл выключени устройства подаетс сигнал на соответствующий вход генератора 14.To turn off the device, a signal is applied to the corresponding input of the generator 14.
В режиме самопроверки аналогично описанному осуществл етс прием в устройство и запись в блоке 8 специального контрольного кода дл проверки оборудовани устройства.In the self-test mode, as described above, a special control code is received and recorded in block 8 for checking the equipment of the device.
Далее происходит прием от микропроцессора аналогично описанному управл ющего слова, которое задает режим самоконтрол . В этом слове четвертьй и п тый разр ды, поступающие на регистр 9,. имеют нулевое значение.. Кроме того, в информации, поступающей -на входы 33 блока 4 задани режима, содержитс нулевой код. Поэтому в. соответствии с табл. 1 будет возбужден соответствующий выход дешифратора 73. Далее аналогично описанному необходимо включить генератор 14, после чего устройство начинает функционировать как дл режима обмена с режимом контрол . Нулевой код в регистре 9 воспринимаетс объектом как за- прет на прием информации от устройства .Then, a control word is received from the microprocessor similarly to the described one, which sets the self-control mode. In this word, the fourth and fifth bits are applied to register 9 ,. have a zero value. In addition, in the information arriving at the inputs 33 of the mode setting unit 4, there is a zero code. Therefore, in. according to tab. 1, the corresponding output of the decoder 73 will be excited. Next, as described, it is necessary to turn on the generator 14, after which the device begins to function as for the exchange mode with the control mode. The zero code in register 9 is perceived by the object as a ban on receiving information from the device.
Микропроцессор может прин ть код аналогично тому, как было описано ры- ше, дл анализа работоспособности устройства. Если прин тый код идентичен тому, который передавалс на устройство , то оно считаетс работоспособным .The microprocessor can receive the code in the same way as has been described in order to analyze the performance of the device. If the received code is identical to the one transmitted to the device, then it is considered operable.
В данном режиме может провер тьс как правильность формировани тактовых , так и информационных импульсов устройством. Дл проверки формировани тактовых импульсов необходимо передавать в устройство код, содержащий только единицы. При пропуске тактового импульса в соответствующем разр де преобразованного контрольного кода будет нуль.In this mode, the correctness of the formation of the clock and information pulses by the device can be checked. To check the formation of clock pulses, it is necessary to transmit to the device a code containing only units. When a clock pulse is missed, the corresponding bit of the converted control code will be zero.
Таким образом, в режиме самоконтрол провер етс как работоспосоП- ность оборудовани устройства на обеспечение хранени информации, так и реализаци временной диаграммы работы.Thus, in the self-checking mode, both the operability of the device's equipment for ensuring the storage of information and the implementation of the time diagram of work are checked.
Данное устройство имеет более широкие функциональные возможности, чем известные, так как конструктивные признаки устройства обеспечивают возможность его использовани в иерар . хической системе контрол множества объектов. Кроме того, возможно гибко учитывать специфику объектов контрол путем обеспечени опережени либо отставани информационных импульсов относительно тактовых.This device has wider functionality than the known ones, since the design features of the device provide the possibility of its use in the hierarchy. system of control of multiple objects. In addition, it is possible to flexibly take into account the specifics of control objects by ensuring that information pulses are ahead or behind relative to clock pulses.
Устройство также позвол ет обеспечить эффективное использование микропроцессора высшего уровн управлени системы контрол за счет того, что конструктивные признаки обеспечивают взаимодействие с микропроцессором в режиме мультиплексировани без режимов зан того ожидани .The device also allows for the efficient use of the microprocessor of the higher control level of the monitoring system by virtue of the fact that the design features provide interaction with the microprocessor in the multiplexing mode without busy modes.
Повышение достоверности функционировани устройства достигаетс за счет того, что элементы и св зи устройства позвол ют реализовать ре- жим самоконтрол , в котором провер етс работоспособность как оборудовани , формирующего тактовые импульсы , так и оборудовани , формирующего информационные импульсы.Improving the reliability of the operation of the device is achieved due to the fact that the elements and connections of the device allow the implementation of a self-monitoring mode in which the operability of both the equipment that generates clocks and the equipment that generates information pulses is checked.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853883190A SU1293739A1 (en) | 1985-04-09 | 1985-04-09 | Checking device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853883190A SU1293739A1 (en) | 1985-04-09 | 1985-04-09 | Checking device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1293739A1 true SU1293739A1 (en) | 1987-02-28 |
Family
ID=21172749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853883190A SU1293739A1 (en) | 1985-04-09 | 1985-04-09 | Checking device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1293739A1 (en) |
-
1985
- 1985-04-09 SU SU853883190A patent/SU1293739A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 913376, кл. G 06 F 11/00, 1980. Авторское свидетельство СССР № 590743, кл. С 06 F 11/00, 1976. ( 54) УСТРОЙСТВО ДЛЯ КОНТРОЛЯ * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5297277A (en) | Apparatus for monitoring data transfers of an oemi channel interface | |
SU1293739A1 (en) | Checking device | |
SU1269139A1 (en) | Device for checking digital units | |
SU1132291A1 (en) | Device for detecting and recording fault signals | |
SU1751859A1 (en) | Multichannel converter of series-to-parallel code | |
SU1104589A1 (en) | Device for checking writing information in programmable memory units | |
SU1633494A1 (en) | Decoder for phase-shift code | |
SU964646A1 (en) | Shift register testing device | |
SU1596337A1 (en) | Device for test check of time ratios | |
SU1464165A1 (en) | Device for interfacing computer with communication channels | |
SU903852A2 (en) | Multi-channel interfacing device | |
SU1461230A1 (en) | Device for checking parameters of object | |
SU1695309A1 (en) | Device for monitoring of digital units | |
SU1363213A1 (en) | Multiinput signature analyser | |
SU1539783A1 (en) | Device for checking discrete apparatus of modular structure | |
SU1562950A1 (en) | Device for information reception | |
SU1700557A1 (en) | Device for testing and diagnostics of digital modules | |
SU1042217A1 (en) | Majority-type redundancy device | |
SU1325490A2 (en) | Subscribers simulator | |
RU2001452C1 (en) | Device for checking memory units | |
SU1315982A1 (en) | Device for test checking of digital units | |
SU1410072A1 (en) | Device for monitoring a puncher | |
SU1188743A1 (en) | Device for simulating checked object | |
SU1003066A1 (en) | Device for exchange of information between digital computer and peripheral device | |
SU640284A1 (en) | Command information receiving device |