ГчЭHche
0505
соwith
N5 N5 1 Изобретение относитс к автомати ке и цифровой измерительной технике и может быть использовано в система измерени и допускового контрол . Цель изобретени - упрощение уст ройства и повышение его быстродействи . На чертеже представлена функ1щональна схема устройства. Устройство содержит генератор им пульсов 1, счетчики 2 и 3, триггеры 4 и 5, входы 6 и 7 сравниваемых чисел , элементы И 8 и 9, триггер 10, элемент И 11, элемент ИЛИ 12, счетчик 13, элементы И 14-16, выходы 17-1, входы 20 допустимей разности вход 21 запуска. Устройство работает следующим образом. Импульсом записи с входа 7 в счет чик 2 записываетс величина измер е мого параметра А. Импульсом затеей с входа 6 в счетчик 3 записываетс число (N-AMQ.KC) г-де N - емкость счетчика 2. Одновременно с этим триггеры 4 и 5 устанавливаютс в ед ничное состо ние. Импульсом с входов 20 в счетчик 13 записываетс ве личина допуска на измер емый параметр (А маис А„ин ) Таким образом, зна АМ Семкость счетчика 2 выбирают минимально возможной , поэтому величина (N-A( ) будет значительно меньше самого числа. С пр мых выходов триггеров 4 и 5 на элементы И 8 и 9 поступают сигналы, разрешающие прохождение , счетных импульсов с генератора 1 на входы счетчиков 2 и 3, а сигнал,пос тупающий с инверсного выхода триггера 5 на элемент И 14, запрещает прохождение счетных импульсов с генератора 1 на счетчик 13. На выхода 17-19 сигналы отсутствуют. После прихода разрешающего импульса по входу 21 генератор 1 начинает выра; батьшать счетные импульсы, которые поступают через элемент И 8 на суммирующий вход счетчика 2 и через элемент И 9 на вычитающий вход счет чика 3. Если величина измер емого параметра А больше своего максимально допустимого значени Ац,. ,,то импул переполнени счетчика 2 по витс раньше импульса обнулени счетчика 222 Импульс переполнени счетчика 2 устанавливает триг1 ер 4 в нулевое состо ние. Сигнал с инверсного выхода триггера 4 через элемент ИЛИ 12 запрещает работу генератора 1 и одновременно поступает на первый вход элемента И 11. Так как на второй вход элемента И 11 в это врем поступает разрешающий сигнал с пр мого выхода триггера 5, то на выходе 17 по вл етс сигнал, означающий, что измер емый параметр А вышел из пол допуска, т.е. А А„(, . Если величина измер емого параметра меньше Ац, ,, то сначала по витс импульс обнулени счетчика 3, устанавливающий триггер 5 в нулевое состо ние, который своим инверсным выходом разрешает прохождение счетных импульсов через элемент И 14 на вычитающий вход счетчика 13. Если величина измер емого параметра находитс в поле допуска, т.е. АМИН А A,Q|(,,TO за импульсом обнулени счетчика 3 по витс импульс переполнени счетчика 2, который установит триггер 4 в нулевое состо ние . Сигнал с инверсного выхода триггера 4 через элемент ИЛИ 12 запрещает работу генератора 1 и одновременно поступает на первый вход элемента И 15. Так как на второй вход элемента И 15 в это врем поступает разрешающий сигнал с инверсного выхода триггера 5, то на выходе 18 по витс сигнсШ, означающий, что измер емый параметр А находитс в поле допуска . Если же величина измер емого параметра А меньше минимально допус- тимого значени Ац.,, , то за импульсом обнулени счетчика 3 по витс импульс обнулени счетчика 13, в котором была записана величина пол допуска ( ) . Импульс обнулени счетчика 13 перебрасывает триггер 10 в единичное состо ние. Сигнал с пр мого выхода триггера 10 поступает на второй вход элемента И 16, на первый вход которого поступает разрешающий сигнал с инверсного выхода триггера 5. Сигнал с выхода элемента И 16 через элемент ИЛИ 12 запрещает работу генератора 1 и одновременно поступает на выходную шину 19, это означает что измер емый сигнал меньше минимально допустимого значени А «ин (А ,XN5 N5 1 The invention relates to automation and digital measurement technology and can be used in a measurement and tolerance control system. The purpose of the invention is to simplify the device and increase its speed. The drawing shows a functional diagram of the device. The device contains a pulse generator 1, counters 2 and 3, triggers 4 and 5, inputs 6 and 7 of the compared numbers, elements AND 8 and 9, trigger 10, element 11 and 11, element OR 12, counter 13, elements 14-16, outputs 17-1, inputs 20 of the allowable difference input start 21. The device works as follows. The pulse of recording from input 7 counts the value of the measured parameter A. Counter. Pulse from input 6 to counter 3 records the number (N-AMQ.KC) g de N - the capacity of counter 2. At the same time, triggers 4 and 5 set to unit state. The impulse from the inputs 20 to the counter 13 records the value of the tolerance on the measured parameter (A maize A Таким in). Thus, the value of AM Seven meters of counter 2 are chosen as low as possible, therefore the value (NA () will be significantly less than the number itself. From the direct outputs triggers 4 and 5, elements 8 and 9 receive signals allowing the passage of counting pulses from generator 1 to the inputs of counters 2 and 3, and the signal coming from the inverse output of trigger 5 to element I 14 prohibits the passage of counting pulses from generator 1 on the counter 13. On exit 17-19 signals After the arrival of the enabling pulse at the input 21, the generator 1 starts expressing the counting pulses that flow through the AND 8 element to the summing input of the counter 2 and through the AND 9 element to the subtracting input of the counter 3. If the value of the measured parameter A is greater than its maximum the permissible value of AC ,., then the overflow pulse of counter 2 is in vits before the pulse of zeroing of counter 222 The overflow impulse of counter 2 sets the trigger 1 to the zero state. The signal from the inverse output of the trigger 4 through the element OR 12 prohibits the operation of the generator 1 and simultaneously enters the first input of the element 11. Since the second signal of the direct output of the trigger 5 arrives at the second input of the element 11 11, then output 17 to is a signal meaning that the measured parameter A is out of tolerance, i.e. А А "(,. If the value of the measured parameter is less than Aq,", then first the counter zero reset pulse 3 turns on, which sets the trigger 5 to the zero state, which by its inverse output permits the passage of counting pulses through the AND 14 element to the counting input of the counter 13 If the value of the parameter being measured is in the tolerance field, i.e. AMIN A A, Q | (,, TO behind the zero pulse of counter 3, a pulse of overflow of counter 2 appears, which sets trigger 4 to the zero state. Signal from the inverse output trigger 4 through the element OR 12 is prohibited The operation of the generator 1 and simultaneously arrives at the first input of the element AND 15. As the second input of the element 15 at this time receives the enabling signal from the inverse output of the trigger 5, the output 18 causes a signal S that means that the measured parameter A is in the tolerance field. If the value of the measured parameter A is less than the minimum allowable value of Ac., then the impulse of resetting counter 13, in which the value of the tolerance field () was recorded, is followed by the impulse of zeroing of counter 3. The zero reset pulse of the counter 13 transfers the trigger 10 to one state. The signal from the direct output of the trigger 10 is fed to the second input of the element AND 16, the first input of which receives the enabling signal from the inverse output of the trigger 5. The signal from the output of the element AND 16 through the element OR 12 prohibits the operation of generator 1 and simultaneously enters the output bus 19, This means that the measured signal is less than the minimum acceptable value of A «in (A, X