Claims (1)
Указанна -цель достигаетс тем, что в устройстве дл определени экстремума дл каждого разр да пр мой и инверсный выходы D-триггеров подключены соответственно к первым входам первого и второго элементов И-НЕ, вторые входы первого и второго элементов И-НЕ подключены соответственно к шинам инверсного и пр мого кода, третьи входы подкхпочены к выходу третьего элемента И-НЕ старшего разр да, выходы первого и второго элементов И-НЕ подключены к первому и второму входам третьего элемента И-НЕ, третий вход которого подключен к выходу третьего элемента И-НЕ старшего разр да, а выход подключён к третьим входам первого и второго элементов И-НЕ младшего разр, да, входы выходного элементаИ-НБ подключены к выходам первых элементов И-НЕ всех р зрадов устрой ства при определении максимума и к выходам лторых элементов И-НЕ все разр дов устройства при определении минимума. На фиг. 1 изображена схема ус-тройства дл определени экстремума дл случа определени максимума; на фиг. 2 - импульсы управлени уст ройством и АЦП. Схема включает О-триггеры 1 пам ти; логические элементы И-НЕ 2-4 сравнени кода, поступающего с выхо да АЦП с кодом, записанным в. триггерах пам ти (запоминающий регистра выходной логический элемент И-НЕ 5. Пр мое значение цифрового кода входной информации от АЦП подают на D-вход соответствующего триггера Ь где ,2,3.. - число разр дов запоминающего регистра, и на вход логического элемента И-НЕ 3. На С-вхо ды триггеров I подают тактовые импульсы . Инверсное значение кода под ют на вход другого логического элемента И-НЕ 2, на вторые входы логических элементов 3 и 2 подают соо ветственно инверсное и пр мое значе ние информации с выхода триггеров запоминающего регистра, на третьи входы подают сигналы с выхода логического элемента 4 предьвдущего разр да . На входы логических элементов 4 подают сигналы с выходов логических элементов 2 и 3 и выхода логического элемента 4 предыдущего разр да . На вход логического элемента И-НЕ 5- подают сигналы с выходов логических элементов 2 (определ етс максимум) или 3 (определ етс минимум ) . Если обозначить через А код, поступающий с выхода АЦП ,а, ...,а., где п - число разр дов, а через В - код, записанный в запоминающий регистр В)-,в ,в,2,.. . ,в, где а,а .. . ,3, и в ,3,.,. .. .в разр ды кодов, то можно записать Булеву функцию, реализованную в пре лагаемом устройстве. ,, где N - сигнал : на выходе логическ го элемента 5; N сигнал на выходе логическо го элемента 2 первого разр да: 9 N, - сигнал на выходе логического элемента 2 п-го разр да. N 1при .jb-, . где Ryi - сигнал на выходе логического элемента 4 п-го разр да . Работа устройства определени экстремума совместно с экстремальным регул тором происходит следующим образом . Нараст;акщему значению входной информации (максимум не достигнут) соотзетствует случай . После прохо;кдени максимума значение входной информации уменьшаетс В, А и на выходе устройства определени экстремума по вл етс сигнал, равный I. Дл обеспеченин устойчивой работы устройства импульсы управлени устройством и АЦП должны быть сдвинуты во времени (фиг, 2). Предлагаемое устройство целесообразно использовать в автоматике в качестве основного функционального узла шаговых экстремальных регул торов.. Особенно эффективно использование этого устройства с цифровым вольтметром в качества АЦП,когда нар ду с преобразованием информации будет и цифрова индикации функции показател качества. Предлагаемое устройство обладает положительным эффектом, заключающимс в том, что оно хорошо сопр гаетс с АЦП, так как и устройство и АЦЦ работают от одного генератора запуска. Возможно использование в качестве АЦП цифровых вольтметров, имеющих, как правило, выход измер емого Напр жени в двоично-дес тичном коде, при этом не требуетс дешифратор дес тичного кода в циклический по сравнению с известным устройством . Формула изобретени Устройство дл определени экстремума , содержащее О-триггеры, элеменТЫ И-НЕ и выходной элемент И-НЕ, отличающеес тем, что, с целью расширени функционалышх возможностей, в нем дл каждого разр да пр мой и инвереный выходы Dтриггеров подключены соответственно к первым входам первого и второго элементов И-НЕ, вторые входь) первого и второго элементов И-НЕ подключены соответственно к шинам инверсного и пр мо го кода, третьи входы подключены к выходу третьего элемента И-НЕ старшего разр да., выходы первого и второго элементов И-НЕ подключены к первому и второму входам третьего элемента И-НЕ, третий вход которого подключен к выходу третьего элемента И-НЕ.старшего разр да, а выход подключен к .третьим входам первогоThis target is achieved by the fact that in the device for determining the extremum for each bit, the direct and inverse outputs of the D-flip-flops are connected respectively to the first inputs of the first and second elements AND-NOT, the second inputs of the first and second elements AND-NOT are connected respectively to the buses inverse and direct code, the third inputs are connected to the output of the third NAND element of the higher order, the outputs of the first and second elements of the NAND are connected to the first and second inputs of the third NAND element, the third input of which is connected to the output of t its element is NOT the highest bit, and the output is connected to the third inputs of the first and second elements of the NAND low bit, yes, the inputs of the output element of the N-NB are connected to the outputs of the first elements of the AND-NOT of all sizes of the device when determining the maximum and the outputs of the second elements NAND all bits of the device when determining the minimum. FIG. Figure 1 shows the scheme of the device for determining the extremum for the case of determining the maximum; in fig. 2 - device control pulses and ADC. The circuit includes O-triggers of 1 memory; logical elements AND-NOT 2-4 code comparison, coming from the output and the ADC with the code recorded in. memory triggers (memory register output logic element AND-NOT 5. The direct value of the digital code of input information from the ADC is fed to the D input of the corresponding trigger L where, 2.3 .. is the number of bits of the memory register, and to the input of the logic element IS-NOT 3. Clock pulses are sent to the C-inputs of the trigger I. The inverse code value is fed to the input of another logical element AND-HE 2, to the second inputs of the logic elements 3 and 2 the inverse and direct value of the information with trigger output memory register on tr These inputs provide signals from the output of the logic element 4 of the previous bit. The inputs of logic elements 4 provide signals from the outputs of logic elements 2 and 3 and the output of logic element 4 of the previous bit. To the input of logical elements AND-NOT 5, they output signals from the outputs of logical elements 2 (determined by maximum) or 3 (determined by minimum). If we denote by A the code coming from the output of the ADC, a, ..., a., where n is the number of bits and B is the code recorded in memory register B) -, в, в, 2, ... , in, where a, and ... , 3, and in, 3,.,. ... in code bits, then a Boolean function implemented in the proposed device can be written. ,, where N is the signal: at the output of logic element 5; N is the signal at the output of logic element 2 of the first bit: 9 N, is the signal at the output of logic element 2 of the nth bit. N 1 .jb-,. where Ryi is the signal at the output of the logic element 4 of the n-th bit. The operation of the device for determining the extremum in conjunction with the extreme controller is as follows. Accumulation; the corresponding value of the input information (maximum not reached) corresponds to the case. After passing through the maximum value, the value of the input information decreases B, A and the output of the device for determining the extremum is a signal equal to I. To ensure stable operation of the device, the device control pulses and the ADC must be shifted in time (Fig. 2). The proposed device should be used in automation as the main functional unit of step-by-step extreme regulators. It is especially effective to use this device with a digital voltmeter as an ADC when, along with information conversion, there is also a digital display of the quality indicator function. The proposed device has a positive effect in that it is well coupled with the ADC, since both the device and the ATC are operated from a single start generator. It is possible to use digital voltmeters as an ADC, having, as a rule, the output of the measured Voltage in a binary-decimal code, without the decryption of the decimal code in cyclic as compared with the known device. The invention The device for determining the extremum, containing O-triggers, elements AND-NOT and output element AND-NOT, characterized in that, in order to expand the functionality of the possibilities, for each bit the direct and inverted outputs of the D triggers are connected respectively to the first the inputs of the first and second elements AND-NOT, the second input) of the first and second elements AND-NOT are connected respectively to the tires of the inverse and direct code, the third inputs are connected to the output of the third element AND-NOT higher order., the outputs of the first and second el The elements AND-NOT are connected to the first and second inputs of the third element AND-NOT, the third input of which is connected to the output of the third element of the IS-NOT. most significant bit, and the output is connected to the third inputs of the first
«"
«"
от пиfrom pi
Фиг.1. 1.
и второго элементов И-НЕ младшего разр да, входы выходного элемента И-НЕ подключены к выходам первых элементов И-НЕ всех разр дов устройства при определении максимума и к выходам вторых элементов И-НЕ всех разр дов устройства при определенииand the second elements of the NAND low-order bit, the inputs of the output element of the NAND are connected to the outputs of the first elements of the NAND all of the device bits when determining the maximum and to the outputs of the second elements of the N-ALL of the device bits when determining
минимума. Iminimum. I
Источники информации, прин тые во внимание при экспертизеSources of information taken into account in the examination
1, Авторское свидетельство СССР № 438005, кл. G 05 В 13/02, 1975 (прототип).1, USSR Author's Certificate No. 438005, cl. G 05 13/02, 1975 (prototype).
На следующую децадуTo the next decade
Импульсы на С-дходеImpulses on the C-tide
импульсы запуска АЦП Фиг.гADC trigger pulses
I (I (