RU102165U1 - DEVICE FOR CONTROL OF CODE "1 OF 5" - Google Patents

DEVICE FOR CONTROL OF CODE "1 OF 5"

Info

Publication number
RU102165U1
RU102165U1 RU2010142653/08U RU2010142653U RU102165U1 RU 102165 U1 RU102165 U1 RU 102165U1 RU 2010142653/08 U RU2010142653/08 U RU 2010142653/08U RU 2010142653 U RU2010142653 U RU 2010142653U RU 102165 U1 RU102165 U1 RU 102165U1
Authority
RU
Russia
Prior art keywords
input
output
inputs
elements
majority
Prior art date
Application number
RU2010142653/08U
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 RU2010142653/08U priority Critical patent/RU102165U1/en
Application granted granted Critical
Publication of RU102165U1 publication Critical patent/RU102165U1/en

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

1. Устройство для контроля кода "1 из 5", содержащее пять двухвходовых элементов ИЛИ, два трехвходовых элементов ИЛИ, три элемента И и элемент исключающее ИЛИ, выход которого соединен с контрольным выходом устройства, а первый и второй входы соединены с выходами соответственно второго двухвходового элемента ИЛИ и третьего элемента И, первый и второй входы третьего элемента И соединены с выходами соответственно четвертого и пятого двухвходовых элементов ИЛИ, первый и второй входы второго двухвходового элемента ИЛИ соединены с выходами соответственно первого и второго элементов И, первый вход первого элемента И соединен с выходом первого двухвходового элемента ИЛИ и вторым входом и четвертого двухвходового элемента ИЛИ, первый вход которого соединен с вторым входом первого элемента И и выходом первого трехвходового элемента ИЛИ, первый вход второго элемента И соединен с выходом третьего двухвходового элемента ИЛИ и первым входом пятого двухвходового элемента ИЛИ, второй вход которого соединен с вторым входом второго элемента И и выходом второго трехвходового элемента ИЛИ, первый вход которого соединен с четвертым входом устройства и вторым входом третьего двухвходового элемента ИЛИ, первый вход которого соединен с третьим входом устройства и вторым входом первого трехвходового элемента ИЛИ, первый вход которого соединен с вторым входом устройства и вторым входом первого двухвходового элемента ИЛИ, первый вход которого соединен с первым входом устройства и вторым входом второго трехвходового элемента ИЛИ, третий вход которого соединен с пятым входом устройства и третьим входом первого трехвходового � 1. Device for monitoring the code "1 of 5", containing five two-input OR elements, two three-input OR elements, three AND elements and an exclusive OR element, the output of which is connected to the control output of the device, and the first and second inputs are connected to the outputs of the second two-input, respectively the OR element and the third AND element, the first and second inputs of the third AND element are connected to the outputs of the fourth and fifth two-input OR elements, respectively, the first and second inputs of the second two-input OR element are connected to the outputs, respectively of the first and second AND elements, the first input of the first AND element is connected to the output of the first two-input OR element and the second input and the fourth two-input OR element, the first input of which is connected to the second input of the first AND element and the output of the first three-input OR element, the first input of the second AND element connected to the output of the third two-input OR element and the first input of the fifth two-input OR element, the second input of which is connected to the second input of the second AND element and the output of the second three-input IL element the first input of which is connected to the fourth input of the device and the second input of the third two-input OR element, the first input of which is connected to the third input of the device and the second input of the first three-input OR element, the first input of which is connected to the second input of the device and the second input of the first two-input OR element, the first the input of which is connected to the first input of the device and the second input of the second three-input element OR, the third input of which is connected to the fifth input of the device and the third input of the first three-input

Description

Полезная модель относится к области автоматики и вычислительной техники, а именно к устройствам диагностики, и может быть использовано для проверки правильности функционирования распределителей, дешифраторов и им подобных устройств.The utility model relates to the field of automation and computer technology, namely to diagnostic devices, and can be used to verify the correct functioning of distributors, decoders and similar devices.

Известно устройство для контроля параллельного двоичного кода на четность [SU №41887 U1, класс G06F 11/10, 2004.07.13.], содержащее групповой элемент И, два инвертора, дополнительный элемент И, триггер четности и регистр сдвига, каждый разряд которого содержит триггер и элементы И, ИЛИ, выход группового элемента И соединен со счетным входом триггера четности, выход которого является выходом устройства, первый вход группового элемента И соединен с выходом регистра сдвига, а второй вход группового элемента И соединен с синхронизирующим входом устройства, вход установки в единицу каждого триггера регистра сдвига является информационным входом устройства, прямой выход триггера каждого разряда соединен с первыми входами соответствующих элементов И и ИЛИ, выход элемента ИЛИ соединен с информационным входом триггера последующего разряда регистра и сдвига с вторым входом элемента ИЛИ последующего разряда, информационный вход триггера старшего разряда соединен с вторым входом элемента ИЛИ данного разряда и с входом сигнала логического нуля устройства, выход элемента ИЛИ младшего разряда является выходом регистра сдвига, синхронизирующий вход устройства соединен с вторыми входами элементов И каждого разряда регистра сдвига, выходы которых соединены с синхронизирующими входами триггеров соответствующих разрядов, первый вход дополнительного элемента И через первый инвертор соединен с выходом элемента ИЛИ младшего разряда регистра сдвига, второй вход элемента И через второй инвертор соединен с синхронизирующим входом устройства, а выход элемента И является дополнительным выходом устройства.A device for controlling a parallel binary parity code [SU No. 41887 U1, class G06F 11/10, 2004.07.13.], Comprising a group element And, two inverters, an additional element And, a parity trigger and a shift register, each bit of which contains a trigger and AND, OR elements, the output of the group element AND is connected to the counting input of the parity trigger, the output of which is the output of the device, the first input of the group element AND is connected to the output of the shift register, and the second input of the group element AND is connected to the synchronizing input of the device, the installation input to the unit of each trigger of the shift register is the information input of the device, the direct output of the trigger of each discharge is connected to the first inputs of the corresponding AND and OR elements, the output of the OR element is connected to the information input of the trigger of the next discharge of the register and shift with the second input of the OR element of the subsequent discharge, information the trigger input of the high order is connected to the second input of the OR element of this category and the input of the logical zero signal of the device, the output of the element OR low order i is connected by the output of the shift register, the synchronizing input of the device is connected to the second inputs of the AND elements of each digit of the shift register, the outputs of which are connected to the synchronizing inputs of the triggers of the corresponding bits, the first input of the additional element And through the first inverter is connected to the output of the OR element of the least significant digit of the shift register, the second input of the element And through the second inverter is connected to the synchronizing input of the device, and the output of the element And is an additional output of the device.

Недостатком этого устройства является то, что контроль осуществляется только на четность и не возможность проверки правильности функционирования распределителей, дешифраторов и им подобных устройств.The disadvantage of this device is that the control is carried out only on the parity and not the ability to verify the correct functioning of distributors, decoders and similar devices.

Наиболее близким к заявляемому является устройство для контроля кода "1 из 5" [SU №1288916 А1, класс Н03М 7/00, 1987.07.02.] содержащее три элемента И, элемент исключающее ИЛИ и семь элементов ИЛИ, выход первого элемента ИЛИ соединен с первым входом первого элемента И, выход которого соединен с первым входом второго элемента ИЛИ, выход третьего элемента ИЛИ соединен с первым входом второго элемента И, выход которого соединен с вторым входом второго элемента ИЛИ, первый и второй входы первого элемента ИЛИ являются соответственно первым и вторым информационными входами устройства, первые входы четвертого, третьего и пятого элементов ИЛИ являются соответственно третьим, четвертом и пятым информационными входами устройства, третий вход второго элемента ИЛИ является управляющим входом устройства, первый вход шестого элемента ИЛИ подключен к выходу первого элемента ИЛИ, выход четвертого элемента ИЛИ соединен с вторыми входами первого элемента И и шестого элемента ИЛИ, первый вход седьмого элемента ИЛИ подключен к выходу третьего элемента ИЛИ и второму входу второго элемента И, выход пятого элемента ИЛИ соединен со вторыми входами второго элемента И и элемента ИЛИ, выходы шестого и седьмого элементов ИЛИ соединены соответственно с первым и вторым входами третьего элемента И, выходы второго элемента ИЛИ и третьего элемента И соединены соответственно с входами элемента исключающее ИЛИ, выход которого является выходом устройства, второй вход четвертого элемента ИЛИ объединен с вторым входом первого элемента ИЛИ, второй вход третьего элемента ИЛИ объединен с первым входом четвертого элемента ИЛИ, второй вход пятого элемента ИЛИ объединен с первым входом третьего элемента ИЛИ, второй вход третьего элемента ИЛИ объединен с первым входом четвертого элемента ИЛИ, третий вход четвертого элемента ИЛИ объединен с первым входом пятого элемента ИЛИ, третий вход которого объединен с первым входом первого элемента ИЛИ.Closest to the claimed one is a device for monitoring the code "1 out of 5" [SU No. 1288916 A1, class H03M 7/00, 1987.07.02.] Containing three AND elements, an exclusive OR element and seven OR elements, the output of the first OR element is connected to the first input of the first AND element, whose output is connected to the first input of the second OR element, the output of the third OR element is connected to the first input of the second AND element, whose output is connected to the second input of the second OR element, the first and second inputs of the first OR element are the first and second informational device inputs, the first inputs of the fourth, third and fifth OR elements are the third, fourth and fifth information inputs of the device, the third input of the second OR element is the control input of the device, the first input of the sixth OR element is connected to the output of the first OR element, the output of the fourth OR element connected to the second inputs of the first AND element and the sixth OR element, the first input of the seventh OR element is connected to the output of the third OR element and the second input of the second AND element, the output of the fifth OR element is connected to the second inputs of the second AND element and the OR element, the outputs of the sixth and seventh OR elements are connected respectively to the first and second inputs of the third AND element, the outputs of the second OR element and the third AND element are connected respectively to the inputs of the exclusive OR element, the output of which is the output devices, the second input of the fourth OR element is combined with the second input of the first OR element, the second input of the third OR element is combined with the first input of the fourth OR element, the second input of the fifth OR element And combined with the first input of the third OR element, the second input of the third OR element is combined with the first input of the fourth OR element, the third input of the fourth OR element is combined with the first input of the fifth OR element, the third input of which is combined with the first input of the first OR element.

Недостатком этого устройства является его низкая надежность функционирования, так как самоконтроль осуществляется только при определенных комбинациях входного сигнала.The disadvantage of this device is its low reliability, since self-monitoring is carried out only with certain combinations of the input signal.

Техническим результатом является повышение надежности функционирования устройства за счет осуществления постоянного самоконтроля в процессе работы независимо от комбинаций входного сигнала.The technical result is to increase the reliability of the device due to the implementation of constant self-monitoring during operation, regardless of the combinations of the input signal.

Технический результат достигается тем, что в устройство для контроля кода "1 из 5", содержащее пять двухвходовых элементов ИЛИ, два трехвходовых элементов ИЛИ, три элемента И и элемент исключающее ИЛИ, выход которого соединен с контрольным выходом устройства, а первый и второй входы соединены с выходами соответственно второго двухвходовго элемента ИЛИ и третьего элемента И, первый и второй входы третьего элемента И соединены с выходами соответственно четвертого и пятого двухвходовых элементов ИЛИ, первый и второй входы второго двухвходовго элемента ИЛИ соединены с выходами соответственно первого и второго элементов И, первый вход первого элемента И соединен с выходом первого двухвходовго элемента ИЛИ и вторым входом и четвертого двухвходового элемента ИЛИ, первый вход которого соединен с вторым входом первого элемента И и выходом первого трехвходового элемента ИЛИ, первый вход второго элемента И соединен с выходом третьего двухвходовго элемента ИЛИ и первым входом пятого двухвходового элемента ИЛИ, второй вход которого соединен с вторым входом второго элемента И и выходом второго трехвходового элемента ИЛИ, первый вход которого соединен с четвертым входом устройства и вторым входом третьего двухвходовго элемента ИЛИ, первый вход которого соединен с третьим входом устройства и вторым входом первого трехвходового элемента ИЛИ, первый вход которого соединен с вторым входом устройства и вторым входом первого двухвходового элемента ИЛИ, первый вход которого соединен с первым входом устройства и вторым входом второго трехвходового элемента ИЛИ, третий вход которого соединен с пятым входом устройства и третьим входом первого трехвходового элемента ИЛИ, дополнительно введены что в него введены блок сравнения и мажоритарный элемент, с первого по пятый входы которого соединены с соответственно с первого по пятый входами устройства, а выход - с первым входом блока сравнения, второй вход которого соединен с выходом элемента исключающее ИЛИ, а выход - с выходом проверки устройства, причем мажоритарный элемент содержит три двухвходовых элементов ИЛИ, четыре элемента И, элемент ИЛИ-НЕ и пятивходовой элемент ИЛИ, выход которого соединен с выходом мажоритарного элемента, первый вход которого соединен с первым входом элемента ИЛИ-НЕ, вторым входом первого двухвходовго элемента ИЛИ и первым входом первого элемента И, второй вход которого соединен с вторым входом элемента ИЛИ-НЕ, первым входом первого двухвходовго элемента ИЛИ и вторым входом мажоритарного элемента, третий вход которого соединен с третьим входом элемента ИЛИ-НЕ, первым входом второго двухвходовго элемента ИЛИ и первым входом второго элемента И, второй вход которого соединен с выходом первого двухвходовго элемента ИЛИ и вторым входом второго двухвходовго элемента ИЛИ выход которого соединен с вторым входом третьего двухвходовго элемента ИЛИ и вторым входом третьего элемента И, первый вход которого соединен с четвертым входом элемента ИЛИ-НЕ, четвертым входом мажоритарного элемента и первым входом третьего двухвходовго элемента ИЛИ, выход которого соединен с вторым входом четвертого элемента И, первый вход которого соединен с пятым входом мажоритарного элемента и пятым входом элемента ИЛИ-НЕ, выход которого соединен с пятым входом пятивходового элемента ИЛИ, с первого по четвертый входы которого соединены с выходами соответственно с первого по четвертый элементов И, а выход - с выходом мажоритарного элемента, причем блок сравнения содержит элемент И, элемент И с инверсными входами и элемент ИЛИ, первый вход которого соединен с выходом элемента И, первый вход которого соединен с вторым входом элемента И с инверсными входами и первым входом блока, второй вход которого соединен с вторым входом элемента И и первым входом элемента И с инверсными входами, выход которого соединен с вторым входом элемента ИЛИ, выход которого соединен с выходом блока.The technical result is achieved by the fact that the device for monitoring the code "1 out of 5" containing five two-input OR elements, two three-input OR elements, three AND elements and an exclusive OR element, the output of which is connected to the control output of the device, and the first and second inputs are connected with the outputs of the second two-input OR element and the third AND element, respectively, the first and second inputs of the third AND element are connected to the outputs of the fourth and fifth two-input OR elements, the first and second inputs of the second two inputs about the OR element are connected to the outputs of the first and second AND elements, respectively, the first input of the first AND element is connected to the output of the first two-input OR element and the second input and the fourth two-input OR element, the first input of which is connected to the second input of the first AND element and the output of the first three-input OR element , the first input of the second AND element is connected to the output of the third two-input OR element and the first input of the fifth two-input OR element, the second input of which is connected to the second input of the second AND element the house of the second three-input OR element, the first input of which is connected to the fourth input of the device and the second input of the third two-input OR element, the first input of which is connected to the third input of the device and the second input of the first three-input OR element, the first input of which is connected to the second input of the device and the second input of the first a two-input OR element, the first input of which is connected to the first input of the device and the second input of the second three-input OR element, the third input of which is connected to the fifth input of the device and t the third input of the first three-input element OR, it is additionally introduced that a comparison block and a majority element are introduced into it, the first to fifth inputs of which are connected to the first to fifth inputs of the device, respectively, and the output is connected to the first input of the comparison block, the second input of which is connected to the output exclusive OR element, and the output with the output of the device check, and the majority element contains three two-input OR elements, four AND elements, an OR-NOT element and a five-input OR element, the output of which is connected to the output majority element, the first input of which is connected to the first input of the OR-NOT element, the second input of the first two-input OR element and the first input of the first AND element, the second input of which is connected to the second input of the OR-NOT element, the first input of the first two-input OR element and the second input of the majority element, the third input of which is connected to the third input of the OR element, NOT, the first input of the second two-input element OR and the first input of the second element AND, the second input of which is connected to the output of the first two-input element AND And the second input of the second two-input OR element whose output is connected to the second input of the third two-input OR element and the second input of the third AND element, the first input of which is connected to the fourth input of the OR-NOT element, the fourth input of the majority element and the first input of the third two-input OR element, output which is connected to the second input of the fourth AND element, the first input of which is connected to the fifth input of the majority element and the fifth input of the OR-NOT element, the output of which is connected to the fifth input of the five-input electric element OR, the first to fourth inputs of which are connected to the outputs, respectively, from the first to fourth elements of AND, and the output to the output of the majority element, and the comparison unit contains the element And, the element And with inverse inputs and the OR element, the first input of which is connected to the output element And, the first input of which is connected to the second input of element And with inverse inputs and the first input of the block, the second input of which is connected to the second input of element And and the first input of element And with inverse inputs, the output of which is connected to the second the course of the OR element, the output of which is connected to the output of the block.

Введение указанных дополнительных элементов и последовательности их соединения позволяет повысить надежность функционирования устройства за счет осуществления постоянного самоконтроля в процессе работы независимо от комбинаций входного сигнала.The introduction of these additional elements and the sequence of their connection can improve the reliability of the device due to the implementation of constant self-monitoring during operation, regardless of the input signal combinations.

На фиг.1 представлена функциональная схема устройства.Figure 1 presents the functional diagram of the device.

На фиг.2 представлена функциональная схема мажоритарного элемента.Figure 2 presents the functional diagram of the majority element.

На фиг.3 представлена функциональная схема блока сравнения.Figure 3 presents the functional diagram of the comparison unit.

Устройство содержит (фиг.1) пять двухвходовых элементов ИЛИ 1…5, два трехвходовых элементов ИЛИ 6, 7, три элемента И 8…10, элемент исключающее ИЛИ 11 и мажоритарный элемент 12 и блок сравнения 13.The device contains (Fig. 1) five two-input elements OR 1 ... 5, two three-input elements OR 6, 7, three elements AND 8 ... 10, an exclusive element OR 11 and a majority element 12 and a comparison unit 13.

Мажоритарный элемент 12 содержит (фиг.2) три двухвходовых элементов ИЛИ 14…16, четыре элемента И 17…20, пяти входовой элемент ИЛИ-НЕ 21 и пяти входовой элемент ИЛИ 22.The majority element 12 contains (figure 2) three two-input elements OR 14 ... 16, four elements AND 17 ... 20, five input element OR NOT 21 and five input element OR 22.

Блок сравнения 13 содержит (фиг.3) элемент И 23, элемент И 24 с инверсными входами и элемент ИЛИ 25.The comparison unit 13 contains (Fig. 3) an AND 23 element, an AND 24 element with inverse inputs and an OR element 25.

Устройство для контроля кода "1 из 5", содержит блок сравнения 13, мажоритарный элемент 12, пять двухвходовых элементов ИЛИ 1…5, два трехвходовых элементов ИЛИ 6, 7, три элемента И 8…10 и элемент исключающее ИЛИ 11, выход которого соединен с контрольным выходом устройства, а первый и второй входы соединены с выходами соответственно второго двухвходовго элемента ИЛИ 2 и третьего элемента И 10, первый и второй входы третьего элемента И 10 соединены с выходами соответственно четвертого 4 и пятого 5 двухвходовых элементов ИЛИ, первый и второй входы второго двухвходовго элемента ИЛИ 2 соединены с выходами соответственно первого 8 и второго 9 элементов И, первый вход первого элемента И 8 соединен с выходом первого двухвходовго элемента ИЛИ 1 и вторым входом и четвертого двухвходового элемента ИЛИ 4, первый вход которого соединен с вторым входом первого элемента И 8 и выходом первого трехвходового элемента ИЛИ 6, первый вход второго элемента И 9 соединен с выходом третьего двухвходовго элемента ИЛИ 3 и первым входом пятого двухвходового элемента ИЛИ 5, второй вход которого соединен с вторым входом второго элемента И 9 и выходом второго трехвходового элемента ИЛИ 7, первый вход которого соединен с четвертым входом устройства и вторым входом третьего двухвходовго элемента ИЛИ 3 первый вход которого соединен с третьим входом устройства и вторым входом первого трехвходового элемента ИЛИ 6, первый вход которого соединен с вторым входом устройства и вторым входом первого двухвход ового элемента ИЛИ 1, первый вход которого соединен с первым входом устройства и вторым входом второго трехвходового элемента ИЛИ 7, третий вход которого соединен с пятым входом устройства и третьим входом первого трехвходового элемента ИЛИ 6, с первого по пятый входы мажоритарного элемента 12 соединены с соответственно с первого по пятый входами устройства, а выход - с первым входом блока 13 сравнения, второй вход которого соединен с выходом элемента исключающее ИЛИ 11, а выход - с выходом проверки устройства, причем мажоритарный элемент 12 содержит три двухвходовых элементов ИЛИ 14…16, четыре элемента И 17…20, элемент ИЛИ-НЕ 21 и пятивходовой элемент ИЛИ 22, выход которого соединен с выходом мажоритарного элемента 12, первый вход которого соединен с первым входом элемента ИЛИ-НЕ 21, вторым входом первого двухвходовго элемента ИЛИ 14 и первым входом первого элемента И 17, второй вход которого соединен с вторым входом элемента ИЛИ-НЕ 21, первым входом первого двухвходовго элемента ИЛИ 14 и вторым входом мажоритарного элемента 12, третий вход которого соединен с третьим входом элемента ИЛИ-НЕ 21, первым входом второго двухвходовго элемента ИЛИ 15 и первым входом второго элемента И 18, второй вход которого соединен с выходом первого двухвходовго элемента ИЛИ 14 и вторым входом второго двухвходовго элемента ИЛИ 15 выход которого соединен с вторым входом третьего двухвходовго элемента ИЛИ 16 и вторым входом третьего элемента И 19, первый вход которого соединен с четвертым входом элемента ИЛИ-НЕ 21, четвертым входом мажоритарного элемента 12 и первым входом третьего двухвходовго элемента ИЛИ 16, выход которого соединен с вторым входом четвертого элемента И 20, первый вход которого соединен с пятым входом мажоритарного элемента 12 и пятым входом элемента ИЛИ-НЕ 21, выход которого соединен с пятым входом пятивходового элемента ИЛИ 22, с первого по четвертый входы которого соединены с выходами соответственно с первого 17 по четвертый 20 элементов И, а выход - с выходом мажоритарного элемента 12, причем блок 13 сравнения содержит элемент И 23, элемент И 24 с инверсными входами и элемент ИЛИ 25, первый вход которого соединен с выходом элемента И 23, первый вход которого соединен с вторым входом элемента И 24 с инверсными входами и первым входом блока 13, второй вход которого соединен с вторым входом элемента И 23 и первым входом элемента И 24 с инверсными входами, выход которого соединен с вторым входом элемента ИЛИ 25, выход которого соединен с выходом блока 13.The device for monitoring the code "1 out of 5" contains a comparison unit 13, a majority element 12, five two-input elements OR 1 ... 5, two three-input elements OR 6, 7, three elements AND 8 ... 10 and an exclusive OR element 11, the output of which is connected with a control output of the device, and the first and second inputs are connected to the outputs of the second two-input element OR 2 and the third element And 10, respectively, the first and second inputs of the third element And 10 are connected to the outputs of the fourth 4 and fifth 5 two-input elements OR, the first and second inputs second two-input element OR 2 connected to the outputs of the first 8 and second 9 AND elements, respectively, the first input of the first element AND 8 is connected to the output of the first two-input element OR 1 and the second input and the fourth two-input element OR 4, the first input of which is connected to the second input of the first AND element 8 and the output of the first three-input element OR 6, the first input of the second element AND 9 is connected to the output of the third two-input element OR 3 and the first input of the fifth two-input element OR 5, the second input of which is connected to the second input the second element And 9 and the output of the second three-input element OR 7, the first input of which is connected to the fourth input of the device and the second input of the third two-input element OR 3, the first input of which is connected to the third input of the device and the second input of the first three-input element OR 6, the first input of which is connected to the second input of the device and the second input of the first two-input element OR 1, the first input of which is connected to the first input of the device and the second input of the second three-input element OR 7, the third input of which is connected n with the fifth input of the device and the third input of the first three-input element OR 6, the first to fifth inputs of the majority element 12 are connected to the first to fifth inputs of the device, respectively, and the output is connected to the first input of the comparison unit 13, the second input of which is exclusive to the element OR 11, and the output with the output of the device check, and the majority element 12 contains three two-input elements OR 14 ... 16, four elements AND 17 ... 20, the element OR NOT 21 and the five-input element OR 22, the output of which is connected to the output of the majority element 12, the first input of which is connected to the first input of the OR-NOT 21 element, the second input of the first two-input OR element 14 and the first input of the first AND-17 element, the second input of which is connected to the second input of the OR-NOT 21 element, the first input of the first two-input OR element 14 and the second input of the majority element 12, the third input of which is connected to the third input of the OR-NOT element 21, the first input of the second two-input element OR 15 and the first input of the second element AND 18, the second input of which is connected to the output of the first two-input element AND LI 14 and the second input of the second two-input element OR 15 whose output is connected to the second input of the third two-input element OR 16 and the second input of the third element AND 19, the first input of which is connected to the fourth input of the OR-NOT 21 element, the fourth input of the majority element 12 and the first input the third two-input element OR 16, the output of which is connected to the second input of the fourth element And 20, the first input of which is connected to the fifth input of the majority element 12 and the fifth input of the element OR-NOT 21, the output of which is connected to the fifth input a five-input element OR 22, the first to fourth inputs of which are connected to the outputs respectively from the first 17 to the fourth 20 AND elements, and the output - with the output of the majority element 12, and the comparison unit 13 contains the element And 23, the element And 24 with inverse inputs and the element OR 25, the first input of which is connected to the output of the And 23 element, the first input of which is connected to the second input of the And 24 element with inverse inputs and the first input of block 13, the second input of which is connected to the second input of the And 23 element and the first input of And 24 with the inverse entrance E, whose output is connected to the second input of OR gate 25 whose output is connected to the output unit 13.

Устройство работает следующим образом (фиг.1 - фиг.2).The device operates as follows (figure 1 - figure 2).

Контролируемый пятиразрядный код поступает на его входы 1-5. В таблице приведены некоторые наборы контролируемого кода и значения кодов с выходов элементов ИЛИ 2, И 10, исключающее ИЛИ 11 и блока 13 сравнения, иллюстрирующие работу устройства.A controlled five-digit code is fed to its inputs 1-5. The table shows some sets of controlled code and the values of the codes from the outputs of the elements OR 2, AND 10, exclusive OR 11 and block 13 comparison, illustrating the operation of the device.

НаборSet Контролируемый код на входахControlled Input Code Код на выходах элементовCode at the outputs of the elements 1one 22 33 4four 55 22 1010 11eleven 1one 00 00 00 00 00 00 00 00 22 00 00 00 00 1one 00 1one 1one 33 00 00 00 1one 00 1one 00 1one 4four 00 00 1one 00 00 00 1one 1one 55 00 1one 00 00 00 1one 00 1one 66 1one 00 00 00 00 00 1one 1one 77 1one 1one 00 00 00 1one 1one 00 88 1one 1one 1one 00 00 1one 1one 00 99 1one 1one 1one 1one 00 1one 1one 00 1010 1one 1one 1one 1one 1one 1one 1one 00

Как видно из таблицы, при одном сигнале " 1" в контролируемом коде значения на выходах элементов ИЛИ 2 и И 10 всегда будут противоположны (наборы 2-6). Поэтому на выходе элемента исключающее ИЛИ 11 и контрольном выходе устройства будет присутствовать сигнал "I", свидетельствующий об отсутствии искажений в проверяемом входном коде. При полном отсутствии сигнала "1" во входном коде (набор 1) или при числе "1" в проверяемом входном коде более одной (наборы 7-10) значения на выходах элементов ИЛИ 2 и И 10 всегда будут одинаковые. В этом случае на выходе элемента исключающее ИЛИ 11 и контрольном выходе устройства будет присутствовать сигнал "0", свидетельствующий об ошибке в проверяемом входном коде. Можно показать, что на всех остальных возможных наборах пятиразрядного кода сигналы на выходах элементов ИЛИ 2 и И 10 будут одинаковые и равные "1", а на выходе элемента исключающее ИЛИ 11 и контрольном выходе устройства будет присутствовать сигнал "0", т.е. сигнал "ошибка".As can be seen from the table, with one signal "1" in the controlled code, the values at the outputs of the elements OR 2 and AND 10 will always be opposite (sets 2-6). Therefore, the output of the exclusive OR 11 element and the control output of the device will contain a signal "I", indicating the absence of distortion in the checked input code. With the complete absence of signal "1" in the input code (set 1) or with the number "1" in the checked input code more than one (sets 7-10), the values at the outputs of the elements OR 2 and AND 10 will always be the same. In this case, the output of the exclusive OR 11 element and the control output of the device will contain a signal "0", indicating an error in the checked input code. It can be shown that on all other possible sets of five-digit code, the signals at the outputs of the elements OR 2 and AND 10 will be the same and equal to "1", and at the output of the element exclusive OR 11 and the control output of the device there will be a signal "0", i.e. signal "error".

Однако, при возникновении неисправности в элементах устройства во время контроля входного кода, может оказаться, что при одном сигнале "1" в контролируемом коде значение на выходе элемента исключающее ИЛИ 14 и контрольном выходе устройства будет присутствовать сигнал "0", свидетельствующий об ошибке в проверяемом входном коде и наоборот, при числе " 1" в проверяемом входном коде более одной, на выходе элемента исключающее ИЛИ 14 и контрольном выходе устройства будет присутствовать сигнал "1", свидетельствующий об отсутствии искажений в проверяемом входном коде.However, if a malfunction occurs in the elements of the device during the control of the input code, it may turn out that with a single signal "1" in the controlled code, the value at the element output is exclusive OR 14 and the control output of the device will contain a signal "0", indicating an error in the checked the input code and vice versa, with the number "1" in the checked input code more than one, the output of the element exclusive OR 14 and the control output of the device will contain the signal "1", indicating the absence of distortion in checking input code.

Постоянный самоконтроль устройства в процессе работы независимо от комбинаций входного сигнала осуществляется следующим образом.Constant self-control of the device during operation, regardless of input signal combinations, is as follows.

Для того, что бы можно было определить исправно устройство или нет, входной пятиразрядный код с его входов 1-5 одновременно поступает на соответствующие входы мажоритарного элемента 12. Мажоритарный элемент 12 (Фиг.2) работает по следующему принципу. Если на входах мажоритарного элемента 12 более одной "1", то на его выходе выдается сигнал равный "1". Кроме того, при отсутствии сигнала "1" на всех входах мажоритарного элемента 15 а, следовательно, на всех входах элемента ИЛИ-НЕ 21, на его выходе также выдается сигнал равный "1". В остальных случаях на его выходе также выдается сигнал равный "0". При этом предполагается, что вероятность выхода из строя мажоритарного элемента 12 значительно меньше вероятности выхода из строя устройства.In order that it would be possible to determine whether the device is working properly or not, the input five-digit code from its inputs 1-5 simultaneously arrives at the corresponding inputs of the majority element 12. Majority element 12 (Figure 2) works according to the following principle. If at the inputs of the majority element 12 there is more than one "1", then a signal equal to "1" is output at its output. In addition, in the absence of a signal "1" at all inputs of the majority element 15 a, therefore, at all inputs of the OR-NOT 21 element, a signal equal to "1" is also output at its output. In other cases, a signal equal to "0" is also output at its output. It is assumed that the probability of failure of the majority element 12 is significantly less than the probability of failure of the device.

Сигнал с выхода мажоритарного элемента 12 поступает на первый вход блока 13 сравнения, на второй вход которого поступает сигнал с выхода элемента исключающее ИЛИ 11. В блоке 13 сравнения производится сравнение входных сигналов. Если устройство исправно, то с выхода элемента исключающее ИЛИ 11 должен выдаваться сигнал равный "1", а с выхода мажоритарного элемента 15 - сигнал равный "0", если во входной комбинации присутствует только одна "1". Если во входной комбинации присутствует более одной "1", то с выхода элемента исключающее ИЛИ 11 должен выдаваться сигнал равный "0", а с выхода мажоритарного элемента 15 - сигнал равный "1". То есть, при исправном устройстве, сигналы с выходов элемента исключающее ИЛИ 11 и мажоритарного элемента 15 будут различными.The signal from the output of the majority element 12 is fed to the first input of the comparison unit 13, the second input of which receives the signal from the output of the element exclusive OR 11. In the comparison block 13, the input signals are compared. If the device is operational, then the signal equal to "1" should be output from the output of the exclusive OR 11 element, and the signal equal to "0" should be output from the output of the majority element 15, if only one "1" is present in the input combination. If there is more than one "1" in the input combination, then an exclusive OR 11 signal should be output from the element's output, equal to "0", and a signal equal to "1" from the output of the majority element 15. That is, with a working device, the signals from the outputs of the exclusive OR element 11 and the majority element 15 will be different.

Если устройство неисправно, то с выхода элемента исключающее ИЛИ 11 будет выдаваться сигнал равный "0", и с выхода мажоритарного элемента 15 - сигнал равный "0", если во входной комбинации присутствует только одна "1". Если во входной комбинации присутствует более одной "1", то с выхода элемента исключающее ИЛИ 11 будет выдаваться сигнал равный "1", а с выхода мажоритарного элемента 15 - сигнал равный "1". То есть, при неисправном устройстве, сигналы с выходов элемента исключающее ИЛИ 11 и мажоритарного элемента 15 будут одинаковыми.If the device is malfunctioning, then the signal equal to "0" will be output from the output of the exclusive OR 11 element, and the signal equal to "0" if the output of the majority element 15 is output, if only one "1" is present in the input combination. If more than one “1” is present in the input combination, an exclusive OR 11 signal will be output from the element's output equal to “1”, and a signal equal to “1” from the output of the majority element 15. That is, with a faulty device, the signals from the outputs of the exclusive OR 11 element and the majority element 15 will be the same.

Сигналы с входа блока сравнения 13 одновременно поступают на входы элемента И 23 и элемента И 24 с инверсными входами. С выходов элементов И 23 или И 24 с инверсными входами будет выдаваться сигнал равный единице и далее, через элемент ИЛИ 25, на выход блока сравнения 13 только при равных сигналах на входе. Если сигналы на входе блока сравнения 13 разные, то с выходов элементов И 23 или И 24 с инверсными входами будет выдаваться сигнал равный нулю, который через элемент ИЛИ 25, на выход блока сравнения 13. Наличие на выходе блока сравнения 13 единичного сигнала свидетельствует о неисправности устройства.The signals from the input of the comparison unit 13 simultaneously arrive at the inputs of the element And 23 and the element And 24 with inverse inputs. From the outputs of the And 23 or And 24 elements with inverse inputs, a signal equal to unity will be issued and then, through the OR 25 element, to the output of the comparison unit 13 only with equal signals at the input. If the signals at the input of the comparison unit 13 are different, then from the outputs of the elements And 23 or And 24 with inverse inputs, a signal equal to zero will be issued, which through the OR element 25, to the output of the comparison unit 13. The presence of a single signal at the output of the comparison unit 13 indicates a malfunction devices.

Таким образом, устройство позволяет повысить надежность функционирования устройства за счет осуществления постоянного самоконтроля в процессе работы независимо от комбинаций входного сигнала.Thus, the device can improve the reliability of the device due to the implementation of constant self-monitoring during operation, regardless of the combinations of the input signal.

Claims (3)

1. Устройство для контроля кода "1 из 5", содержащее пять двухвходовых элементов ИЛИ, два трехвходовых элементов ИЛИ, три элемента И и элемент исключающее ИЛИ, выход которого соединен с контрольным выходом устройства, а первый и второй входы соединены с выходами соответственно второго двухвходового элемента ИЛИ и третьего элемента И, первый и второй входы третьего элемента И соединены с выходами соответственно четвертого и пятого двухвходовых элементов ИЛИ, первый и второй входы второго двухвходового элемента ИЛИ соединены с выходами соответственно первого и второго элементов И, первый вход первого элемента И соединен с выходом первого двухвходового элемента ИЛИ и вторым входом и четвертого двухвходового элемента ИЛИ, первый вход которого соединен с вторым входом первого элемента И и выходом первого трехвходового элемента ИЛИ, первый вход второго элемента И соединен с выходом третьего двухвходового элемента ИЛИ и первым входом пятого двухвходового элемента ИЛИ, второй вход которого соединен с вторым входом второго элемента И и выходом второго трехвходового элемента ИЛИ, первый вход которого соединен с четвертым входом устройства и вторым входом третьего двухвходового элемента ИЛИ, первый вход которого соединен с третьим входом устройства и вторым входом первого трехвходового элемента ИЛИ, первый вход которого соединен с вторым входом устройства и вторым входом первого двухвходового элемента ИЛИ, первый вход которого соединен с первым входом устройства и вторым входом второго трехвходового элемента ИЛИ, третий вход которого соединен с пятым входом устройства и третьим входом первого трехвходового элемента ИЛИ, отличающееся тем, что в него введены блок сравнения и мажоритарный элемент, с первого по пятый входы которого соединены с соответственно с первого по пятый входами устройства, а выход - с первым входом блока сравнения, второй вход которого соединен с выходом элемента исключающее ИЛИ, а выход - с выходом проверки устройства.1. Device for monitoring the code "1 of 5", containing five two-input OR elements, two three-input OR elements, three AND elements and an exclusive OR element, the output of which is connected to the control output of the device, and the first and second inputs are connected to the outputs of the second two-input, respectively the OR element and the third AND element, the first and second inputs of the third AND element are connected to the outputs of the fourth and fifth two-input OR elements, respectively, the first and second inputs of the second two-input OR element are connected to the outputs, respectively of the first and second AND elements, the first input of the first AND element is connected to the output of the first two-input OR element and the second input and the fourth two-input OR element, the first input of which is connected to the second input of the first AND element and the output of the first three-input OR element, the first input of the second AND element connected to the output of the third two-input OR element and the first input of the fifth two-input OR element, the second input of which is connected to the second input of the second AND element and the output of the second three-input IL element the first input of which is connected to the fourth input of the device and the second input of the third two-input OR element, the first input of which is connected to the third input of the device and the second input of the first three-input OR element, the first input of which is connected to the second input of the device and the second input of the first two-input OR element, the input of which is connected to the first input of the device and the second input of the second three-input element OR, the third input of which is connected to the fifth input of the device and the third input of the first three-input e OR element, characterized in that a comparison unit and a majority element are introduced into it, the first to fifth inputs of which are connected to the first to fifth inputs of the device, respectively, and the output is connected to the first input of the comparison unit, the second input of which is connected to the element’s exclusive OR , and the output is with the output of the device check. 2. Устройство по п.1, отличающееся тем, что мажоритарный элемент содержит три двухвходовых элементов ИЛИ, четыре элемента И, элемент ИЛИ-НЕ и пятивходовой элемент ИЛИ, выход которого соединен с выходом мажоритарного элемента, первый вход которого соединен с первым входом элемента ИЛИ-НЕ, вторым входом первого двухвходового элемента ИЛИ и первым входом первого элемента И, второй вход которого соединен с вторым входом элемента ИЛИ-НЕ, первым входом первого двухвходового элемента ИЛИ и вторым входом мажоритарного элемента, третий вход которого соединен с третьим входом элемента ИЛИ-НЕ, первым входом второго двухвходового элемента ИЛИ и первым входом второго элемента И, второй вход которого соединен с выходом первого двухвходового элемента ИЛИ и вторым входом второго двухвходового элемента ИЛИ, выход которого соединен с вторым входом третьего двухвходового элемента ИЛИ и вторым входом третьего элемента И, первый вход которого соединен с четвертым входом элемента ИЛИ-НЕ, четвертым входом мажоритарного элемента и первым входом третьего двухвходового элемента ИЛИ, выход которого соединен с вторым входом четвертого элемента И, первый вход которого соединен с пятым входом мажоритарного элемента и пятым входом элемента ИЛИ-НЕ, выход которого соединен с пятым входом пятивходового элемента ИЛИ, с первого по четвертый входы которого соединены с выходами соответственно с первого по четвертый элементов И, а выход - с выходом мажоритарного элемента.2. The device according to claim 1, characterized in that the majority element contains three two-input OR elements, four AND elements, an OR-NOT element and a five-input OR element, the output of which is connected to the output of the majority element, the first input of which is connected to the first input of the OR element -NOT, the second input of the first two-input OR element and the first input of the first AND element, the second input of which is connected to the second input of the OR-NOT element, the first input of the first two-input OR element and the second input of the majority element, the third input of which o connected to the third input of the OR-NOT element, the first input of the second two-input OR element and the first input of the second AND element, the second input of which is connected to the output of the first two-input OR element and the second input of the second two-input OR element, the output of which is connected to the second input of the third two-input element OR and the second input of the third AND element, the first input of which is connected to the fourth input of the OR-NOT element, the fourth input of the majority element and the first input of the third two-input OR element, the output of which connected to the second input of the fourth AND element, the first input of which is connected to the fifth input of the majority element and the fifth input of the OR-NOT element, the output of which is connected to the fifth input of the five-input OR element, the first to fourth inputs of which are connected to the outputs from the first to the fourth elements And, and the output - with the output of the majority element. 3. Устройство по п.1, отличающееся тем, что блок сравнения содержит элемент И, элемент И с инверсными входами и элемент ИЛИ, первый вход которого соединен с выходом элемента И, первый вход которого соединен с вторым входом элемента И с инверсными входами и первым входом блока, второй вход которого соединен с вторым входом элемента И и первым входом элемента И с инверсными входами, выход которого соединен с вторым входом элемента ИЛИ, выход которого соединен с выходом блока.
Figure 00000001
3. The device according to claim 1, characterized in that the comparison unit contains an element AND, an element AND with inverse inputs and an OR element, the first input of which is connected to the output of the element And, the first input of which is connected to the second input of the element And with inverse inputs and the first the input of the block, the second input of which is connected to the second input of the AND element and the first input of the And element with inverse inputs, the output of which is connected to the second input of the OR element, the output of which is connected to the output of the block.
Figure 00000001
RU2010142653/08U 2010-10-19 2010-10-19 DEVICE FOR CONTROL OF CODE "1 OF 5" RU102165U1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2010142653/08U RU102165U1 (en) 2010-10-19 2010-10-19 DEVICE FOR CONTROL OF CODE "1 OF 5"

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2010142653/08U RU102165U1 (en) 2010-10-19 2010-10-19 DEVICE FOR CONTROL OF CODE "1 OF 5"

Publications (1)

Publication Number Publication Date
RU102165U1 true RU102165U1 (en) 2011-02-10

Family

ID=46309694

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2010142653/08U RU102165U1 (en) 2010-10-19 2010-10-19 DEVICE FOR CONTROL OF CODE "1 OF 5"

Country Status (1)

Country Link
RU (1) RU102165U1 (en)

Similar Documents

Publication Publication Date Title
CN103778028B (en) Semiconductor devices
CN100555235C (en) The N-modular redundancy voting system
US9535784B2 (en) Self monitoring and self repairing ECC
CN101111822A (en) Information processing apparatus and information processing method
US20100306620A1 (en) Data processing device and a method for error detection and error correction
US5631915A (en) Method of correcting single errors
CN104579313B (en) A kind of in-orbit SRAM type FPGA fault detects and restorative procedure based on configuration frame
JP5203223B2 (en) High-speed redundant data processing system
US3559167A (en) Self-checking error checker for two-rail coded data
EP2889774A1 (en) Universal error-correction circuit with fault-tolerant nature, and decoder and triple modular redundancy circuit that apply it
CN103176418A (en) Address coding method for intelligent feeder switch module in power system
RU102165U1 (en) DEVICE FOR CONTROL OF CODE "1 OF 5"
CN105607974A (en) High-reliability multicore processing system
EP2942714B1 (en) Monitoring method, monitoring apparatus, and electronic device
US3501743A (en) Automatic fault correction system for parallel signal channels
WO2014115289A1 (en) Programmable device and electronic syst em device
JP2016103110A (en) Multiplexing control device
US11342935B2 (en) Cyclic redundancy check (CRC) system for detecting error in data communication
US8136009B2 (en) Circuit arrangement and method for error detection and arrangement for monitoring of a digital circuit
CN204143541U (en) ATM service keyboard
CN101355403B (en) Error-detection error-correction device for universal frame-forming protocol and control method thereof
CN105116718A (en) An optical selection method for three redundancy analog quantities and an optical selection circuit
JP6710142B2 (en) Control system
JPS62293441A (en) Data outputting system
US10746791B2 (en) Glitch measurement device and glitch measurement method

Legal Events

Date Code Title Description
MM1K Utility model has become invalid (non-payment of fees)

Effective date: 20161020