SU1509869A1 - Multifunction module - Google Patents
Multifunction module Download PDFInfo
- Publication number
- SU1509869A1 SU1509869A1 SU884392572A SU4392572A SU1509869A1 SU 1509869 A1 SU1509869 A1 SU 1509869A1 SU 884392572 A SU884392572 A SU 884392572A SU 4392572 A SU4392572 A SU 4392572A SU 1509869 A1 SU1509869 A1 SU 1509869A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- code
- inputs
- counter
- Prior art date
Links
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в многоканальных резервированных системах дл выделени достоверности результата способом кодового голосовани , дл количественной оценки качества функционировани таких систем, в многоканальных системах ранжировани по частости кодов выборки и в системах обработки статистической информации. Цель изобретени - расширение функциональных возможностей. Устройство содержит блок пам ти 1, блок управлени 2, блок сортировки 3, счетчики 4, 5, 19, генератор импульсов 6, формирователи импульсов 7, 11, 12, регистры 13, 14, 18, схемы сравнени 15, 17, группу элементов ИЛИ 16, элементы ИЛИ 20, 21, группу элементов И 22. Устройство сравнивает произвольное число кодов и определ ет наиболее (наименее) достоверный результат по наиболее (наименее) часто встречающемус коду с указанием уровн достоверности результата. 1 ил.The invention relates to automation and computing technology and can be used in multichannel redundant systems for highlighting the reliability of a result by means of code voting, for quantifying the quality of functioning of such systems, in multichannel ranking systems in particular for sampling codes and in statistical information processing systems. The purpose of the invention is to expand the functionality. The device contains a memory unit 1, a control unit 2, a sorting unit 3, counters 4, 5, 19, a pulse generator 6, pulse shapers 7, 11, 12, registers 13, 14, 18, comparison circuits 15, 17, a group of elements OR 16, OR elements 20, 21, AND 22 group of elements. The device compares an arbitrary number of codes and determines the most (least) reliable result by the most (least) frequently found code with indication of the level of confidence of the result. 1 il.
Description
сд о From to
0000
оabout
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в многоканальных резервированных системах дл выделени достоверности результата способом кодового голосовани , дл количественной оценки качества функционировани таких систем, в многоканальных системах ранжировани по частости кодов выборки и в системах обработки статистической информации.The invention relates to automation and computing technology and can be used in multichannel redundant systems for highlighting the reliability of a result by means of code voting, for quantifying the quality of functioning of such systems, in multichannel ranking systems in particular for sampling codes and in statistical information processing systems.
Цель изобретени - расширение функциональных возможностей.The purpose of the invention is to expand the functionality.
На чертеже представлена структурна схема устройства дл сравнени кодов.The drawing shows a block diagram of a device for comparing codes.
Устройство содержит блок 1 памй- ти, блок 2 управлени , блок 3 сортировки , счетчики и 5 генератор 6 импульсов, формирователь 7 импульсов , триггер 8, элементы И 9 и 10, формирователи 11 и 12 импульсов, регистры 13 и 1, схему 15 сравнени , группу элементов ИЛИ 16, схему 17 сравнени , регистр 18, счетчик 19 количества совпадений, элементы ИЛИ 20 и 21, группу элементов И 22, информационный вход 23 устройства, вход 2k окончани сравнени , выход 25 достоверности, информационный выход 2 6 устройства.The device contains a memory block 1, a control block 2, a sorting block 3, counters and 5 pulse generator 6, pulse shaper 7, trigger 8, AND 9 and 10 elements, pulse shaders 11 and 12, registers 13 and 1, comparison circuit 15 , a group of elements OR 16, a comparison circuit 17, a register 18, a counter of the number of coincidences 19, elements OR 20 and 21, a group of AND 22 elements, information input 23 of the device, input 2k of the comparison end, output 25 of confidence, information output 2 6 of the device.
Устройство работает следующим образом ,The device works as follows
В исходном состо нии счетчики , 5 и 19, регистры 13, И и 18 обнулены , триггер 8 установлен в единичное состо ние (цепи начальной установки не показаны). Генератор 6 импульсов остановлен. На входах разрешени записи счетчика k и регистра 18 находитс потенциал логической , поступающий с выхода триггера 8 Так как в регистрах 13 и 1 блока 3 сортировки содержатс коды равные нулю, потенциал логической 1 с первого выхода схемы 15 сравнени поступает на первый вход элемента И 9 и на вход формировател 11 импульсов. .В результате регистр 13 остаетс сброшенным в ну.певое состо ние, а элемент И 9 открытым по первому sxo In the initial state, the counters, 5 and 19, registers 13, And and 18 are reset, trigger 8 is set to one (the initial installation circuit is not shown). Generator 6 pulses stopped. At the resolution inputs of the counter k and register 18 there is a logical potential coming from the output of trigger 8. Since registers 13 and 1 of sorting unit 3 contain codes equal to zero, the potential of logical 1 from the first output of the comparison circuit 15 enters the first input of the And 9 element and at the input of the driver 11 pulses. As a result, the register 13 remains reset to the first state, and the AND 9 element is open at the first sxo
ду.do
В блок 1 пам ти записано М число k-разр дных кодов, из которых требу- .етс выделить наиболее часто встречающийс , т.е, наиболее достоверный и определить сколько раз он встречаетс среди всех кодов. УстройствоIn memory block 1, M contains the number of k-bit codes from which it is necessary to select the most frequently encountered, i.e., the most reliable and determine how many times it occurs among all the codes. Device
oo
5five
00
5five
позвол ет выделить наиболее достоверный код способом кодового голосовани с любым порогом и способом сортировки по значени м частости повторени кодов. Устройство работает по циклам. Дл выделени наиболее достоверного кода способом кодового голосовани устройствостребует i циклов работы,.где i 1,М, т.е. определ етс номером чейки блока 1 пам ти , хран щей наиболее достоверный код. Дл выделени наиболее достоверного кода способом сортировки по значени м частости повторени кодов устройство требует М циклов работы, так как в i-M цикле работы определ етс частость повторени кода, хран щегос в i-й чейке блока 1 пам ти. При этом, в последнем такте работы устройства i-ro цикла определ етс наиболее часто повтор ющийс код серии кодов, хран щихс в чейках блока 1.пам ти. Дл выполнени цикла работы устройства необходимо (М - i) тактов, В первом такте М-го цикла работы на информационный выход 26 устройства выдаетс значение наиболее часто встречающегос кода и значение повторени данного кода.allows you to select the most reliable code by means of code voting with any threshold and method of sorting by repetition frequency values. The device operates in cycles. To select the most reliable code by means of code voting, the device requires i work cycles, where i 1, M, i.e. determined by the cell number of the memory unit 1 storing the most reliable code. To select the most reliable code by the sorting method according to the repetition frequency, the device requires M operation cycles, since in the i-M operation cycle, the repetition frequency of the code stored in the i-th cell of memory 1 is determined. At the same time, in the last cycle of operation of the i-ro cycle, the most often repeated code of the series of codes stored in the cells of the 1.pam block is determined. In order to perform a device operation cycle, it is necessary (M - i) cycles. In the first cycle of the M th operation cycle, the information output 26 of the device is given the value of the most frequently encountered code and the repetition value of this code.
Работа устройства дл сравнени кодов в режиме выделени наиболее достоверного кода способом кодового 5 голосовани с любым порогом.Operation of the device for comparing codes in the selection mode of the most reliable code by means of code 5 voting with any threshold.
Дл запуска устройства дл сравнени кодов на вход запуска (не показан ) генератора 6 импульсов подаетс запускающий импульс. Первый, импульс с выхода генератора 6 импульсов поступает на вход чтени блока 1 пам ти и передним фронтом считывает код из первой чейки. С выходов блока 1 пам ти код из первой чейки поступает на первую группу входов схемы 17 сравнени и по установочным входам записываетс в регистр 18, на входе разрешени записи которого находитс потенциал логической 1 с выхода триггера 8, При этом на первую и вторую группу входов схемы 17 сравнени поступает код из одной и той же чейки блока 1 пам ти, в результате чего на выходе схемы 17 сравнени по вл -- етс потенциал логической 1, который прибавл ет единицу к содержимому счетчика 19 количества совпадений. Своим задним фронтом первый импульс с выхойа генератора 6 импульсов пере0To start up the device, a starting pulse is applied to compare the codes to the start input (not shown) of the pulse generator 6. First, the pulse from the generator output 6 pulses is fed to the read input of memory block 1 and the front edge reads the code from the first cell. From the outputs of memory block 1, the code from the first cell enters the first group of inputs of the comparison circuit 17 and, by the installation inputs, is written into the register 18, at the recording resolution input of which the potential of the logical 1 output of the trigger 8 is found. At the same time, the first and second groups of the circuit inputs The comparison code receives the code from the same cell of the memory block 1, as a result of which the output of the comparison circuit 17 has the potential of logical 1, which adds one to the contents of the counter 19 of the number of matches. With its falling edge, the first pulse from the generator's output is 6 pulses re0
00
5five
00
водит триггер 8 в нулевое состо ние и прибавл ет единицу к содержимому счетчика 4.drives trigger 8 to the zero state and adds one to the contents of counter 4.
Таким образом, с выхода триггера 8 потенциал логического О запрещает запись по установочным входам информации в регистр 18, в счетчик 4 и разрешает подсчет импульсов счетчиком IS количества совпадений.Thus, from the output of the trigger 8, the potential of the logical O prohibits the recording of the information inputs into the register 18, into the counter 4, and enables the counting of pulses by the counter IS of the number of coincidences.
На выходах разр дов счетчика k устанавливаетс адрес следующей по пор дку чейки блока 1 пам ти. Следующие (М - 1) импульсы, поступающие с выхода генератора 6 импульсов, своими передними фронтами считывают коды из следующих по пор дку чеек блока 1 пам ти на первую группу входов схемы 17 сравнени , в то врем как на второй группе входов схемы 17 сравнени сохран етс код из первой чейки блока 1 пам ти, записанно в регистре 18. Поступа на вход установки в нулевое состо ние триггера 8, импульсы подтверждают нулевое состо ние триггера. Эти импульсы своими задними фронтами измен ют содержимое счетчика 4 так, что после i-ro импульса, поступившего с выхода генератора 6 импульсов на выходах разр дов счетчика k находитс код, соответствующий адресу (i + 1)-й чейки блока 1 пам ти. Счетчик 19 количества совпадений подсчитывает число совпадений кода из первой чейки блока 1 пам ти с кодами из остальных чеек.At the outputs of the bits of the counter k, the address of the next in order cell of memory 1 is set. The following (M - 1) pulses, coming from the generator output of 6 pulses, with their leading edges read codes from the following orderly cells of memory 1 to the first group of inputs of the comparison circuit 17, while the second input group of the comparison circuit 17 stores The code from the first cell of memory block 1 is written in register 18. The input to the installation of the zero state of trigger 8, the pulses confirm the zero state of the trigger. These pulses, with their falling edges, change the contents of counter 4 so that after the i-th pulse received from the generator output 6 of the pulses at the outputs of the bits of counter k, there is a code corresponding to the address of the (i + 1) -th cell of memory 1. The match number counter 19 counts the number of code matches from the first cell of memory block 1 with the codes from the remaining cells.
Если все М кодов, хран щиес в блоке 1 пам ти, одинаковы, с выхода схемы 17 сравнени на счетный вход счетчика 19 количества совпадений поступит М сигналов сравнени за один цикл работы устройства. В результате счетчик 19 количества совпадений переполнитс и потенциал логической 1 с выхода переполнени счетчика 19 поступит на вход останов генератора 6 импульсов, на выход 25 достоверности устройства, через элемент ИЛИ 20 на входы элементов И 9 и 10 и через элемент ИЛИ 2-1 на управл ющий вход группы элементов И 22.If all M codes stored in memory block 1 are the same, from the output of the comparison circuit 17, M comparison signals will go to the counting input of the counter 19 of the number of matches in one operation cycle of the device. As a result, the counter 19 of the number of coincidences will overflow and the potential of the logical 1 from the overflow output of the counter 19 will go to the input of the stop of the pulse generator 6, to the output 25 of the device reliability, through the OR element 20 to the inputs of the AND 9 and 10 elements and through the OR 2-1 element on the control the input of a group of elements and 22.
Так как в исходном состо нии элемент И 9 открыт по первому входу, то при поступлении на его второй вход потенциала логической 1 с выхода элемента ИЛИ 20 элемент И 9 открываетс и потенциал логической 1 поступает на вход разрешени записи реSince, in the initial state, the AND 9 element is open on the first input, when the potential of logical 1 from the output of the OR 20 element arrives at its second input, the AND 9 element opens and the potential of the logical 1 enters the input of the recording resolution
509869509869
гистра 13. На 1-м - k-м установочном входе регистра 13 в данный момент времени.находитс код, хран щийс во всех М чейках блока 1 пам ти, который поступает с выходов разр дов per гистра 18, а на (k + 1)-м - 2k-M установочном входе регистра 13 находитс код единиц, т.е. максимальное значение кода частости повторени , который поступает с выходов разр дов счетчика 19 количества совпадений . С выходов разр дов регистра 13 значение наиболее часто встречающе- 15 гос кода и значение частости повторени данного кода через группу элементов ИЛИ 1б и открытую через эле-. мент ИЛИ 21 группу элементов И 22 поступают на информационный выход 20 26 устройства. На выходе 2k устройства остаетс нулевой код.13. At the 1st - kth installation input of register 13 at a given time. There is a code stored in all M cells of memory block 1, which comes from the outputs of bits per of the horn 18, and on (k + 1 ) -m - 2k-M setup input of register 13 is the unit code, i.e. the maximum value of the repetition rate code that comes from the outputs of the bits of the counter 19 of the number of matches. From the outputs of register bits 13, the value of the most frequently encountered state code and the value of the frequency of repetition of this code through the group of elements OR 1b and opened through ele- le. ment OR 21 group of elements And 22 arrive at information output 20 26 of the device. At the output 2k of the device, a zero code remains.
С информационного выхода 2б устройства значение наиболее часто встречающегос кода и значение час- 25 тости повторени данного кода выдаютс потребителю. По вление потенциала логической 1 на выходе 25 достоверности устройства свидетельствует о том, что частость повторени данного кода больше или равна установленному порогу кодового голосовани . Так как в исходном состо нии счетчик количества совпадений был обнулен, то .порог кодового голосовани был равен М. При записи в исходном состо нии кода - п - начальной установки в счетчик 19 количества совпадений коэффициент пересчета счетчика, а следовательно, и порог 40 кодового голосовани будет равен (М - п). Однако, как в известном, так и в предлагаемом устройствах нельз устанавливать порог кодового голосовани (М - п) меньше 0,5 М,. т.е. меньше половины числа чеек блока I пам ти. Это обусловлено возможными потер ми истинной информации о значении наиболее часто встречающегос кода, так как устройство прекращает работу по достижении числа сравнений кодов, равного установленному порогу кодового голосовани . Если порог кодового голосовани (М - п) установлен меньше 0,5 М, возможна ситуаци , когда устройство прекратит работу после сравнени числа кодов, меньшего половины объема блока 1 пам ти, а среди оставшихс несравненных кодов может находитьс From the information output 2b of the device, the value of the most frequently encountered code and the value of the repetition rate of this code are provided to the consumer. The appearance of the potential of logical 1 at the output 25 of the reliability of the device indicates that the repetition rate of this code is greater than or equal to the established code vote threshold. Since in the initial state the counter of the number of matches was reset, then the code vote threshold was equal to M. When writing in the initial state of the code — n — the initial installation in the counter 19 of the number of coincidences, the counter recalculation coefficient, and hence the threshold for code vote 40 will be equal to (M - n). However, in both the known and proposed devices, it is not possible to set a code vote threshold (M - n) less than 0.5 M ,. those. less than half the number of cells in memory block I. This is due to the possible loss of true information about the value of the most frequently occurring code, since the device stops working when the number of code comparisons is reached, which is equal to the established code vote threshold. If the code vote threshold (M - n) is set to less than 0.5 M, a situation is possible when the device stops working after comparing the number of codes that is less than half the size of memory block 1, and among the remaining unmatched codes it can be
30thirty
3535
4545
5050
5555
истинно достоверный код, более часто встречающийс V.у которого более высокий порог кодового голосовани . Из этих соображений режим выделени наиболее , достоверного кода способом сортировки по значени м частости повторени кодов более предпочтителен.a true valid code, the more common code that has a higher code voting threshold. For these reasons, the selection mode of the most reliable code by the sorting method according to the repetition frequency values is more preferable.
Если не все из М кодов, хран щихс в блоке 1 пам ти, одинаковы) в первом цикле сравнени кода из первой чейки блока 1 пам ти с кодами из остальных (М - 1) чеек блока 1 пам ти, с выхода схемы 17 сравнени поступит i, сигналов сравнени на счетный вход счетчика 19 количества совпадений. В результате, счетчик 19 количества совпадений подсчитает частость i , по торени первого кода, хран щегос в регистре 18. Если при подсчете сигналов сравнени счетчик 19 количества совпадений не .переполнилс , по заднему фронту М-го счетного импульса первого цикла переполнитс счетчик If not all of the M codes stored in memory block 1 are the same) in the first cycle of comparing the code from the first cell of memory 1 with the codes from the remaining (M - 1) cells of memory 1, the output of the comparison circuit 17 will go i, comparison signals to the counting input of the counter 19 of the number of matches. As a result, the hit count counter 19 counts the frequency i, from the token of the first code stored in register 18. If the hit count counter 19 did not overflow when counting the comparison signals, on the falling edge of the M-th counting pulse of the first cycle, the count will overflow
Импульс переполнени с выхода счетчика поступает на счетный вход счетчика 5, на вход элемента ИЛИ 20 и на вход формировател 7 импульсов. По переднему фронту короткого импульса , поступающего с формирователем 7 импульсов, триггер 8 устанавливаетс в единичное состо ние. Потенциал логической 1 с пр мого выхода триггера 8 поступает на входы разрешени записи счетчика k, регистра 18 и на вход сброса счетчика 19 количества совпадений. Передним фронтом импульс переполнени прибавл ет единицу к содержимому счетчика 5. С выходов разр дов счетчика 5 модифицированный код поступает на установочные входы счетчика k и записываетс в него по сигналу логической .1, поступающему на вход разрешени записи с пр мого выхода триггера 8,The overflow pulse from the output of the counter enters the counting input of the counter 5, to the input of the element OR 20 and to the input of the driver 7 pulses. On the leading edge of the short pulse arriving with the pulse shaper 7, the trigger 8 is set to one. The potential of logical 1 from the direct output of the trigger 8 is fed to the inputs of the write resolution of the counter k, register 18 and to the reset input of the counter 19 of the number of coincidences. The leading edge of the overflow pulse adds one to the contents of counter 5. From the bits of counter 5, the modified code goes to the set inputs of counter k and is written to it by a logical signal .1 received at the write enable input from the forward trigger output 8,
Таким образом, по окончании первого цикла сравнени кодов на выходах разр дов счетчика k по витс код, соответствующий адресу второй чейки блока I пам ти.Thus, at the end of the first cycle of comparing the codes at the outputs of the bits of the counter k, the code corresponding to the address of the second cell of the memory block I is displayed.
Так как в исходном состо нии ре- гист|эы 13 и 1 обнулены, а элемент И 9 открыт по первому входу, то импульс переполнени с выхода счетчика поступает через элементы ИЛИ 20, И 9 на вход разрешени записи регистра 13- Своим передним фронтом этот импульс разрешает запись информации с установочных входов вSince the registers 13 and 1 are reset to zero in the initial state, and the element 9 is open at the first input, the overflow pulse from the counter output goes through the elements OR 20, and 9 to the input of the register recording resolution 13- pulse enables recording of information from the setup inputs to
0 0
5 0 50
5five
00
5five
00
5five
регистр 13- На 1-м - k-м установочном входе регистра 13 в первом цикле работы устройства находитс код числа, хран щегос в первой чейке блока 1 пам ти, который с выходов разр дов регистра 18, а на (k + 1)-м - 2k-M установочном входе регистра 13 находитс код частости i повторени данного кода, который поступает с выходов разр дов счетчика 19 количества совпадений. С выходов разр - до.в регистра 13 значение частости повторени кода i поступает на первую группу входов схемы 15 сравнени , на второй группе входов которой находитс минимальный код нулей с выходов разр дов регистра 14. Так как значение кода частости i отлично от нул , то потенциал логической 1 с второго, выхода схемы 15 сравнени поступает через одновибратор 12 в виде импульса на вход сброса регистра 1A и открывает по первому входу элемент И 10. Следовательно, во втором цикле работы устройства значение частости повторени кода i с выхода счетчика 19 количества совпадений будет записано в регистр 1 по сигна- лу на втором входе элемента И 10.register 13- At the 1st - kth installation input of register 13 in the first cycle of the device operation there is the code of the number stored in the first cell of memory 1, which from the outputs of the bits of register 18, and at (k + 1) - m - 2k-M setup input of the register 13 is the code of the frequency i of the repetition of this code, which comes from the bits of the counter 19 of the number of matches. From the outputs of the discharge - to. In register 13, the value of the frequency of repetition of code i is fed to the first group of inputs of the comparison circuit 15, on the second group of inputs of which there is a minimum code of zeros from the outputs of the bits of the register 14. Since the value of the code of the frequency i is different from zero, the potential of logical 1 from the second, output of the comparison circuit 15 goes through the one-shot 12 in the form of a pulse to the reset input of register 1A and opens element 10 of the first input. Therefore, in the second cycle of the device, the value of the code i repetition frequency from the counter output 19 matches will be recorded in register 1 by a signal at the second input of the element And 10.
(М 4- 1)-й импульс, поступающий с выхода генератора 6 импульсов, начинает второй цикл сравнени кодов. Поступа на вход чтени блока 1 пам ти , (М + 1)-й импульс передним фронтом считывает код из второй чейки блока 1 пам ти. С выходов блока 1 пам ти код из второй чейки поступает на первую группу входов с;хемы 17 сравнени и по установочным входам записываетс в регистр 18, на входе разрешени записи которого находитс потенциал логической Т с выхода триггера 8. При этом на первую и вторую группы входов схемы 17 сравнени поступает код из одной и той же чейки блока 1 пам ти, в результате чего на выходе схемы 17 сравнени по вл етс потенциал логической 1, который прибавл ет единицу к содержимому счетчика 19 количества совпадений. Своим задним фронтом (М -f 1)-й импульс с выхода гене- ратора 6 импульсов переводит триггер 8 в нулевое состо ние и прибавл ет единицу к содержимому счетчика k.The (M 4-1) th pulse, coming from the output of the generator of 6 pulses, begins the second cycle of code comparison. The input to the read of block 1 of memory, the (M + 1) -th pulse, with its leading edge, reads the code from the second cell of block 1 of memory. From the outputs of memory block 1, the code from the second cell enters the first group of inputs c; comparison schemes are written to the register 18, and the potential inputs from the output of the trigger 8 are found at the input resolution of the record. At the same time, the first and second groups the inputs of the comparison circuit 17 receive a code from the same cell of the memory 1, resulting in the output of the comparison circuit 17 a potential of logical 1 appears, which adds one to the contents of the counter 19 of the number of matches. By its falling edge (M – f 1) -th pulse from the output of the generator 6 pulses, the trigger 8 is switched to the zero state and adds one to the contents of the counter k.
Таким образом, с выхода триггера 8 поте нциал логического О запреща- . ет запись по установочным входам ин1д первого сравниваемого числа,который поступает с выходов разр дов регистра 13 Если код частости i первого сравниваемого числа меньше или равен коду частости i второго сравниваемого числа, потенциал логической 1 с первого выхода схемы 15 сравнени поступает через формирователь 11 им9 --150986910Thus, from the output of the trigger 8, the logic of the logical O is forbidden. There is no entry on the setup inputs of the first compared number that comes from the outputs of the register bits 13 If the code of the frequency i of the first compared number is less than or equal to the code of the frequency i of the second compared number, the potential of logical 1 from the first output of the comparison circuit 15 goes through shaper 11 im9 - -150986910
формации в регистр 1Ь, в счетчик k и разрешает подсчет импульсов счетчиком 19 количества совпадений. На выходах разр дов счетчика k устанавливаетс адрес следующей по пор дку , т.е. третьей, чейки блока 1 пам ти . Следующие (М - 2) импульсы, I поступающие с выхода генератора 6 импульсов, своими передними фронтами ю пульсов в виде импульса на вход сбро- считывают коды из следующих по пор д- са регистра 13 и открывает по перку (М - 2)-х чеек блока 1 пам ти вому входу элемент И 9. на первую группу входов схемы 17 Если код чартости i, первого сравни- сравнени , в то врем как на второй : группе входов схемы Т сравнени 15 сохран етс код из второй чейкиformations in register 1b, in counter k, and enables pulse counting by counter 19 of the number of coincidences. At the outputs of the bits of the counter k, the address of the next order is set, i.e. the third, memory block 1. The next (M - 2) pulses, I coming from the output of the generator 6 pulses, with their leading edges of pulses in the form of a pulse to the input, reset the codes from the next 13 registers and open the (M - 2) -x perk cells of memory 1 entry element 9. And on the first group of inputs of the circuit 17 If the code of the charter is i, the first comparison is compared, while on the second: the group of inputs of the comparison circuit T 15 is stored the code from the second cell
сравнени поступает через формирователь 12 импульсов в виде импульса на вход сброса регистра И и откры- 20 вает по первому входу элемент И 10. Таким образом, в регистре 13 или 14 остаютс значени наиболее частоthe comparison enters through the pulse shaper 12 as a pulse to the reset input of the AND register and opens the element AND 10 at the first input. Thus, in the register 13 or 14, the values most often remain
ваемого числа больше кода частости второго сравниваемого числа, потенциал логической 1 с второго выхода схемы 1 5number is greater than the frequency code of the second compared number, the potential of logical 1 from the second output of the circuit 1 5
блока 1 пам ти, записанный в регистр 18. Поступа на вход усилител в нулевое состо ние триггера 8, импульсы подтверждают состо ние триггера..memory unit 1, recorded in register 18. The input to the amplifier in the zero state of the trigger 8, the pulses confirm the state of the trigger ..
Эти импульсы своими задними фронтами измен ют содержимое счетчика k таким образом, что после (М + i)-ro импульса, поступившего с выхода генератора 6 импульсов на выходах разр дов счетчика k нахЬдитс код, соответствующий адресу (i + 1)-й чейки блока 1 пам ти. Счетчик 19 количества совпадений подсчитываетThese pulses, with their falling edges, change the contents of counter k in such a way that after (M + i) -ro pulse received from the generator output 6 pulses at the discharge of the bits of counter k, the code corresponding to the address of the (i + 1) -th block cell 1 memory. The counter 19 of the number of matches counts
встречающегос кода и частости пов25meeting code and frequency
торени данного кода itoken of this code i
«101 КС"101 COP
ПричемAnd
регистр, в котором хранилось меньшее значение частости повторени кода и данный код, будет обнулен сигналом сброса с соответствующего выхода схемы 13 сравнени . С выходов разр довthe register in which the lower value of the code repetition rate and the given code were stored will be reset by a reset signal from the corresponding output of the comparison circuit 13. From the outputs of the bits
число совпадений кода из второй чей-30 регистров 13 и Н значение наиболееthe number of matches of the code from the second whose-30 registers 13 and H value is the most
1д первого сравниваемого числа,который поступает с выходов разр дов регистра 13 Если код частости i первого сравниваемого числа меньше или равен коду частости i второго сравниваемого числа, потенциал логической 1 с первого выхода схемы 15 сравнени поступает через формирователь 11 импульсов в виде импульса на вход сбро- са регистра 13 и открывает по первому входу элемент И 9. Если код чартости i, первого сравни- 1d of the first compared number that comes from the outputs of register bits 13 If the code of the frequency i of the first compared number is less than or equal to the code of the frequency i of the second compared number, the potential of logical 1 from the first output of the comparison circuit 15 goes through the driver 11 pulses in the form of a pulse reset - sa register 13 and opens the first input element And 9. If the code of the charter i, the first
пульсов в виде импульса на вход сбро- са регистра 13 и открывает по первому входу элемент И 9. Если код чартости i, первого сравни- pulses in the form of a pulse to the reset input of the register 13 and opens the element I 9 on the first input. If the code of the charter i, the first
ваемого числа больше кода частости второго сравниваемого числа, потенциал логической 1 с второго выхода схемы 1 5number is greater than the frequency code of the second compared number, the potential of logical 1 from the second output of the circuit 1 5
встречающегос кода и частости повmeeting code
торени данного кода itoken of this code i
«101 КС"101 COP
ПричемAnd
регистр, в котором хранилось меньшее значение частости повторени кода и данный код, будет обнулен сигналом сброса с соответствующего выхода схемы 13 сравнени . С выходов разр довthe register in which the lower value of the code repetition rate and the given code were stored will be reset by a reset signal from the corresponding output of the comparison circuit 13. From the outputs of the bits
ки блока 1 пам ти с кодами из остальных чеек блока 1 пам ти. В результате счетчик 19 количества совпадений подсчитывает частость i повторени кода, хран щегос в регистре 18. (М - 1) -й импульс второго цикла сравнени кодов своим задним фронтом вызывает переполнение счетчика . Импульс переполнени , поступающий с выхода счетчика k, подготавливает 40 блок 2 управлени к третьему циклу сравнени кодов аналогично описанному ранее второму циклу и через элемент ИЛИ 20 и открытый по первому входу элемент И 10 поступает на вход раз- 45 решени записи регистра I . На 1-м - k-M установочном входе регистра lA во втором цикле работы устройства находитс код числа, хран щегос воki of block 1 of memory with codes from the remaining cells of block 1 of memory. As a result, the number of coincidences counter 19 counts the frequency i of the code repetition stored in register 18. The (M - 1) -th pulse of the second code comparison cycle, with its falling edge, causes the counter to overflow. An overflow pulse, coming from the output of counter k, prepares 40 control unit 2 for the third code comparison cycle, similarly to the second cycle described earlier and through the OR 20 element and the I 10 element opened at the first input to the I register recording resolution. At the 1st - k-M setup input of the register lA in the second cycle of the device operation there is a code of the number stored in
часто встречающегос числа и знач частости повторени данного кода через группу элементов ИЛИ 16 пос пают на группу входов элементов ИFrequently encountered numbers and repetition rates of a given code through a group of elements OR 16 match a group of inputs of elements AND
В i-M цикле, где i 1,Ы, устр ство дл сравнени кодов работает аналогично. Однако в i-м цикле ср нени кодов устръйство требует пр хождени с выхода генератора 6 та товых импульсов количества тактовых импульсов равного (М - i поскольку сравнение кодов, хран с в 1 - {i - 1) чейках блока пам ти уже выполнено за (i - 1) - количество Предыдущих циклов рабоIn the i-M cycle, where i 1, Ы, the device for comparing codes works in a similar way. However, in the i-th code block cycle, the device requires 6 clock pulses from the generator output to the number of clock pulses equal to (M - i, since the code comparison stored in 1 - {i - 1) is stored in the memory block. i - 1) - the number of previous work cycles
Таким образом, в i-м цикле раб устройства происходит сравнение к из i-й чейки блока 1. пам ти, хра щегос в регистре 18, с кодами изThus, in the i-th cycle, the slave of the device is compared to from the i-th cell of block 1. Memory stored in register 18 with codes from
второй чейке блока 1 пам ти, который-. (М - i)-x чеек блока 1 пам ти наthe second cell of memory block 1, which is -. (M - i) -x cells of memory block 1
поступает с выходов разр дов регистра 18, а на (k + 1)-м - 2k-M установочном входе регистра И находитс код i частости повторени данного числа . С выходов разр дов регистра k значение частости повторени кода ij поступает на вторую группу входов схемы 15 сравнени , на первой группе входов которой находитс код частостиcomes from the outputs of the register bits 18, and on the (k + 1) -m - 2k-M installation input of the register I is the code i of the repetition frequency of the given number. From the outputs of the bits of the register k, the value of the repetition rate of the code ij is fed to the second group of inputs of the comparison circuit 15, the first group of inputs of which contains the code of the frequency
5555
схеме 17 сравнени . Счетчик 19 кол чества совпадений подсчитывает ча тость повторени i-ro кода. Блок 3 сортировки определ ет по значени частости повторени кодов наиболее встречающеес значение кода за i цик работы устройства дл сравнени кодоScheme 17 Comparison. The counter 19 of the number of matches counts the repetition rate of the i-ro code. The sorting unit 3 determines, by the value of the repetition frequency of the codes, the most common code value for the i cycle of the device operation for comparing the code
Если при подсчете сигналов сравне в i-M цикле работы устройства счетчIf, when calculating signals, it is comparable in the i-M cycle of operation of the counter device
часто встречающегос числа и значение частости повторени данного кода через группу элементов ИЛИ 16 поступают на группу входов элементов И 22.Frequently the numbers and the frequency of repetition of a given code through a group of elements OR 16 arrive at a group of inputs of elements AND 22.
В i-M цикле, где i 1,Ы, устройство дл сравнени кодов работает аналогично. Однако в i-м цикле сравнени кодов устръйство требует прохождени с выхода генератора 6 тактовых импульсов количества тактовых импульсов равного (М - i), поскольку сравнение кодов, хран щихс в 1 - {i - 1) чейках блока 1 пам ти уже выполнено за (i - 1) - количество Предыдущих циклов работы.In the i-M cycle, where i 1, Ы, the device for comparing codes works in a similar way. However, in the i-th comparison cycle, the device requires 6 clock pulses from the generator output to be equal to (M - i), since the codes stored in 1 - {i - 1) of memory 1 have already been compared in ( i - 1) - the number of previous work cycles.
Таким образом, в i-м цикле работы устройства происходит сравнение кода из i-й чейки блока 1. пам ти, хран щегос в регистре 18, с кодами изThus, in the i-th cycle of the device operation, the code from the i-th cell of block 1 is compared to the memory stored in register 18 with the codes from
(М - i)-x чеек блока 1 пам ти на(M - i) -x cells of memory block 1
(М - i)-x чеек блока 1 пам ти на(M - i) -x cells of memory block 1
схеме 17 сравнени . Счетчик 19 количества совпадений подсчитывает частость повторени i-ro кода. Блок 3 сортировки определ ет по значению частости повторени кодов наиболее встречающеес значение кода за i циклов работы устройства дл сравнени кодов.Scheme 17 Comparison. The counter 19 of the number of matches counts the repetition rate of the i-ro code. The sorting unit 3 determines, by the value of the repetition frequency of the codes, the most common value of the code for the i device operation cycles for comparing the codes.
Если при подсчете сигналов сравнени в i-M цикле работы устройства счетчикIf when calculating the comparison signals in the i-M device operation cycle, the counter
19 количества совпадений переполнилс , т.е. частость повторени i-ro кода превысила установленный порог ко-, дового голосовани , устройство прекращает работу аналогично описанному ранее случаю. На выходе окончани сравнени устройства остаетс нулевой код. Потенциал логической 1 на выходе 25 достоверности устройства свидетельству.ет о том, что частость повторени i-ro кода превысила установленный порог кодового голосовани . С информационного выхода19 coincidences overflowed, i.e. The repetition frequency of the i-ro code exceeded the established threshold for code voting, the device stops working as in the case described earlier. At the output of the device comparison end, a zero code remains. The potential of logical 1 at the output 25 of the reliability of the device testifies that the repetition rate of the i-ro code has exceeded the established threshold for code voting. From the information output
10ten
счетчика 19 количества совпадений и по вление сигнала логической 1 на выходе 25 достоверности устройст произойдет только в случае, если вс коды, записанные в блок 1 пам ти, б дут одинаковы. В остальных случа х работа устройства дл сравнени кодов заканчиваетс поступлением с вы хода блока 3 сортировки значений наиболее часто встречающегос кода и частости повторени данного кода через группу элементов И 22 на информационный выход 26 устройства пthe counter 19 of the number of coincidences and the occurrence of the signal of logical 1 at the output 25 of the reliability of the device will occur only if all the codes recorded in memory block 1 are the same. In other cases, the operation of the device for comparing codes ends with the arrival from the output of the sorting unit 3 of the values of the most frequently encountered code and the repetition rate of the given code through the group of elements And 22 to the information output 26 of the device
26 устройства значени наиболее, час- 15 сигналу окончани сравнени на выто встречающегос кода и частости повторени данного кода выдаютс потребителю.26, the device has the most value, the frequency of the comparison termination signal, of the encountered code and the repetition rates of the given code are issued to the consumer.
Счетчик 5 подсчитывает количество циклов работы устройства.Counter 5 counts the number of cycles of operation of the device.
Если за М циклов работы устройства дл сравнени кодов счетчик 19 количества совпадений не переполните с , т.е. нет кода, частость повторени которого превышает установленный порог кодового голосовани , задний фронт первого импульса М-го цикла сравнени кодов с выхода генератора 6 импульсов., .поступа на счетный вход счетчика k, вызывает переполнение счетчиков А и 5- С выхода переполнени счетчика 5 потенциал логической 1 поступает на выход 2 окончани сравнени устройства и через элемент ИЛИ 21 на группу входов элементов И 22. С выхода блока 3 сортировки значени наиболее часто встречающегос кода и частости повторени данного кода через группу элементов И 2 поступают на информационный выход 2б устройства. По вление потенциала логической 1 на выходе 2 устройства свидетельствует об окончании процесса сравнени кодов, а с информационного выхода 26 устройства значени наиболее часто встречающегос кода и частости повторени данного кода выдаютс потребителю.If during M cycles of operation of the device for comparing codes, the counter 19 of the number of coincidences do not overflow with, i.e. there is no code whose repetition rate exceeds the set threshold for code voting, the falling edge of the first pulse of the M-th cycle comparing the codes from the generator output 6. pulses to the counting input of counter k causes overflow of counters A and 5C of the output of overflow of counter 5 potential logical 1 arrives at the output 2 of the device comparison end and through the OR element 21 to the input group of the AND 22 elements. From the output of the sorting unit 3, the values of the most frequently found code and the repetition frequency of the given code through the element group Tov and 2 arrive at the data output device 2b. The occurrence of the potential of logical 1 at the output 2 of the device indicates the end of the code comparison process, and from the information output 26 of the device, the values of the most frequently encountered code and repetition rates of this code are given to the consumer.
Работа устройства дл сравнени кодов в режиме выделени наиболее достоверного кода способом сортировки по значени м частости повторени кодов аналогична описанной работе устройства в режиме выделени наиболее достоверного кода способом кодового голосовани с любым порогом Отличие состоит в том, что порог голосовани устанавливаетс равным М, т.е. максимальным. ПереполнениеThe operation of the device for comparing codes in the selection mode of the most reliable code by the sorting method according to the repetition frequency values is similar to the described operation of the device in the selection mode of the most reliable code using the code voting method with any threshold. The difference is that the voting threshold is equal to М, i.e. . maximum. Overflow
счетчика 19 количества совпадений и по вление сигнала логической 1 на выходе 25 достоверности устройства произойдет только в случае, если все коды, записанные в блок 1 пам ти, будут одинаковы. В остальных случа х работа устройства дл сравнени кодов заканчиваетс поступлением с выхода блока 3 сортировки значений наиболее часто встречающегос кода и частости повторени данного кода через группу элементов И 22 на информационный выход 26 устройства поthe counter 19 of the number of coincidences and the appearance of the signal of logical 1 at the output 25 of the reliability of the device will occur only if all the codes recorded in memory block 1 are the same. In other cases, the operation of the device for comparing codes ends with the arrival from the output of the sorting unit 3 of the values of the most frequently encountered code and repetition rate of the given code through the group of elements And 22 to the information output 26 of the device
00
5five
00
5five
00
5five
00
5five
ходе 25 устройства.course 25 device.
Дл определени наименее достоверного результата по наименее часто встречающемус коду с указанием уровн недостоверности данного кода необходимо со счетчика 19 количества совпадений на (k +:1)-е - 2k-e установочные входы регистров 13 и 14 блока 3 сортировки подавать обратный код частости повторени сравниваемых чисел.To determine the least reliable result by the least frequent code indicating the level of unreliability of this code, it is necessary from counter 19 of the number of matches to (k +: 1) -e - 2k-e installation inputs of registers 13 and 14 of sorting unit 3 to submit the reverse code of repetition frequency compared numbers
Дл этой цели могут использованы инверсные выходы счетчика 19 количества совпадений. Работа устройства дл сравнени кодов в этом случае аналогична ранее описанной. В этом случае на информационный выход 26 устройства поступают значени наименее часто встречающегос кода и частости повторени данного кода по сигналу окончани сравнени , по вл ющемус на выходе 25 устройства.For this purpose, the inverted outputs of the counter 19 of the number of matches can be used. The operation of the device for comparing codes in this case is similar to that previously described. In this case, the information output device 26 receives the values of the least frequently encountered code and the frequency of repetition of this code according to the comparison termination signal appearing at the device output 25.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884392572A SU1509869A1 (en) | 1988-03-14 | 1988-03-14 | Multifunction module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884392572A SU1509869A1 (en) | 1988-03-14 | 1988-03-14 | Multifunction module |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1509869A1 true SU1509869A1 (en) | 1989-09-23 |
Family
ID=21361345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884392572A SU1509869A1 (en) | 1988-03-14 | 1988-03-14 | Multifunction module |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1509869A1 (en) |
-
1988
- 1988-03-14 SU SU884392572A patent/SU1509869A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1168926, кл. G Об F 7/0, 1985. Авторское свидетельство СССР № 1171778, кл. G Об F 7/02, t985. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4064553A (en) | Information processor | |
US3984815A (en) | Time of event recorder | |
US3999164A (en) | Printing device | |
SU1509869A1 (en) | Multifunction module | |
SU1018137A1 (en) | Graphic data reading device | |
SU1381429A1 (en) | Multichannel device for programmed control | |
SU1764053A1 (en) | Multichannel device for current claim servicing control | |
SU1171778A1 (en) | Device for comparing codes | |
SU858104A1 (en) | Logic storage device | |
SU1107118A1 (en) | Device for sorting numbers | |
SU1758864A2 (en) | Pulse selector by step period | |
SU1444744A1 (en) | Programmable device for computing logical functions | |
SU1238277A1 (en) | Device for selecting true code | |
SU1663614A1 (en) | Set driver | |
SU763856A1 (en) | Statistical control device | |
SU1377852A1 (en) | Device for sorting numbers | |
SU1223222A1 (en) | Device for sorting numbers | |
SU1467799A2 (en) | Device for selecting information channels | |
SU1288687A1 (en) | Digital discriminator | |
SU1594554A1 (en) | Device for input of discrete signals into microcomputer | |
SU1361567A1 (en) | Device for introducing information from two-position transducers | |
SU991413A1 (en) | Device for determination of a maximal number out of a group of numbers | |
SU839060A1 (en) | Redundancy logic device | |
SU670958A2 (en) | Telemetry information processing device | |
SU1651244A1 (en) | Device to define tentative pulse signal central position |