Изобретение относитс к автомати ке, а именно к устройствам дл реал зации функций медианы трех аналоговых сигналов. По основному авт.св. № 879590 известно мажоритарное устройство, содержащее три усилител , к входу каждого из которых подключены первы выводы двух резисторов, второй вьшод одного из которых подключен к входной шине, а другого - к выходной, шесть ключевых элементов, выполненных на транзисторах типа п-р-п, шесть резисторов, первый вывод каждого из. которых соединен с базой соответствующего транзистора, вторы выводы резисторов соединены попарно с трем разными выходами усилителей седьмой резистор, включенный между выходом устройства и отрицательной шиной источника питани , транзисторы включены в две параллельные цепи так что в каждой цепи эмиттер первого тиристора соединен с коллектором второго, эмиттер второго - с коллек тором .третьего. Коллекторы первых транзисторов соединены с положительной шиной источника питани , эмиттеры третьих - с выходной шиной. Коллекторы и эмиттеры соответствующих транзисторов соединены попарно. Указанное устройство позвол ет из трех аналоговых сигналов выделить средний по величине lj . Однако известное устройство не дает представлени о том, что какой именно из входных сигналов вл етс средним по величине, что делает невозможным применение устройства в тех случа х, когда нужно знать, по которому из каналов проходит средний по величине сигнал. Целью изобретени вл етс повьш е ние контролепригодности путем вы влени состо ни каналов, по которым подаютс средний, максимальный и минимальный входные сигналы. Поставленна цель достигаетс тем что в мажоритарном устройстве в каждый канал введены два светодиода, каждый из которых включен параллельно резистору обратной св зи данного канала, причем анод одного светодиода соединен с катодом другого. На чертеже представлена электричес ка cjteMa мажоритарного устройства. Устройство содержит три усилител 1-3, резисторы 4-9, выходную шину 10 устройства, шесть транзисторов 11 - 16, соединенных последовательно в две параллельные Цепи.11, 13, 15 и 12,14,16. При этом эмиттер первого транзистора (например, 11) соединен с коллектором второго транзистора 13, эмиттер второго транзистора 13 соединен с коллектором третьего транзистора 15. Коллекторы первых транзисторов 11 и 12 соединены с положительной шиной 17 источника питани , эмиттеры третьих транзисторов 15 и 16 - с выходной шиной 10 устройства . Коллекторы и эмиттеры транзисторов 11 и 12, 13 и 14, 15 и 16 соединены попарно. Между выходом 10 и отрицательной шиной 18 источника питани включен седьмой резистор 19, Первый вывод каждого из шести резисторов 2.0 - 25 соединен с базой соответствующего транзистора 11 - 16, Вторые выводы резисторов 20 - 25 попарно соединены с выходами соответствующих усилителей 1-3, вход каждого из которых через соответствующий резистор 4-6 или 8 подключен к соответствующей входной шине 26, 27 или 28. .Шесть светодиодов 29-34 соединены попарно и подключены параллельно резисторам 5, 7 и 9 каждого усилител , причем анод одного светодиода соединен с катодом другого. Устройство работает следующим образом . Пары параллельно включенных транзисторов 11 и 12, 13 и 14, 15 и 16 образуют схемы выделени максимального сигнала из двух. Ток, протекающий через пару транзисторов (например 11 и 12), определ етс наиболее открытьш транзистором. Пары транзисторов 11 и 12, 13 и 14, 15 и 16, включенные последовательно с резистором 19, образуют схему с общим коллектором и вьщел ют из резистора 19 минимальный сигнал из трех. Напр жение на резисторе 19 зависит от тока, протекающего через три пары транзисторов , и определ етс наиболее закрытой парой транзисторов. В совокупности последовательность выбора максималь- , ного сигнала из каждых двух входных напр жений, а затем выбор минимального сигнала из трех определ ют на выходе средневыборочное значение напр жени трех входных сигналов. ||заимодействие схемы выделени медины (элементы 11-25) с трем усилител ми 1-3, обеспечиваемое резисторами 4-9 отрицательной обратной св зи, обеспечивает существенное увеличение точности выделени медианы. При высоких (пусть равных) значени х коэффициентов усилени усилителей (даже при незначительном неравенстве напр жений на шинах 26-28 или при незначительной неидентичности резисторов 4и5, 6и7, 8и9) выходные напр жени усилителей 1 - 3 резко отличаютс одна от другого,На выходе одног из них предельно высокий уровень, на выходе другого - предельно низкий, а на выходе третьего - промежуточный , измен к цийс в зависимости от текущего значени медианы входных напр жений. Вместе со схемой выделен медианы этот усилитель, например 1, функционирует как операционный, и коэффициент передачи с шины 26 на шину 10 определ етс только параметрами резисторов 4 и 5 обратной св зи Параметры резисторов 4 и 5, 6 и 7 8 и 9, отрицательной обратной св зи выбирает такими, чтобы коэффициент передачи усилителей 1 - 3 -был единице. В зтом случае потенциалы шины 10 и шины 26 равны, следовательно , через светодиоды 29 и 30 ток не The invention relates to automation, namely, devices for implementing the functions of the median of three analog signals. According to the main auth. No. 879590, a majority device is known, containing three amplifiers, the first of which is connected to the input of two resistors, the second one of one of which is connected to the input bus, and the other to the output, six key elements made on np-type transistors , six resistors, the first output of each of. which are connected to the base of the corresponding transistor, the second resistor leads are connected in pairs with three different outputs of the amplifiers, the seventh resistor connected between the output of the device and the negative power supply bus, the transistors are connected to two parallel circuits so that in each circuit the emitter of the first thyristor is connected to the second collector, the emitter the second, with the third collection. The collectors of the first transistors are connected to the positive power supply bus, the third emitters - to the output bus. The collectors and emitters of the respective transistors are connected in pairs. The said device allows to extract from the three analog signals the average value of lj. However, the known device does not give an idea that which of the input signals is average in size, which makes it impossible to use the device in cases where you need to know which of the channels passes the average signal. The aim of the invention is to increase testability by detecting the state of the channels through which the average, maximum and minimum input signals are fed. The goal is achieved by the fact that in the majority device, two LEDs are inserted into each channel, each of which is connected in parallel to the feedback resistor of this channel, with the anode of one LED connected to the cathode of the other. The drawing shows the electric cjteMa majority device. The device contains three amplifiers 1-3, resistors 4-9, the output bus 10 of the device, six transistors 11-16, connected in series to two parallel Circuits. 11, 13, 15 and 12,14,16. The emitter of the first transistor (for example, 11) is connected to the collector of the second transistor 13, the emitter of the second transistor 13 is connected to the collector of the third transistor 15. The collectors of the first transistors 11 and 12 are connected to the positive bus 17 of the power source, the emitters of the third transistor 15 and 16 are output bus 10 device. The collectors and emitters of transistors 11 and 12, 13 and 14, 15 and 16 are connected in pairs. The seventh resistor 19 is connected between output 10 and negative bus 18 of the power supply. The first output of each of the six resistors 2.0-25 connects to the base of the corresponding transistor 11-16. The second terminals of the resistors 20-25 are connected in pairs to the outputs of the corresponding amplifiers 1-3, the input of each of which through the corresponding resistor 4-6 or 8 is connected to the corresponding input bus 26, 27 or 28.. The six LEDs 29-34 are connected in pairs and connected in parallel to the resistors 5, 7 and 9 of each amplifier, and the anode of one LED is connected to the cathode m another. The device works as follows. A pair of parallel-connected transistors 11 and 12, 13 and 14, 15 and 16 form the selection of the maximum signal of the two. The current flowing through a pair of transistors (for example, 11 and 12) is determined by the most open transistor. Pairs of transistors 11 and 12, 13 and 14, 15 and 16, connected in series with resistor 19, form a circuit with a common collector and select the minimum of three from resistor 19. The voltage across the resistor 19 depends on the current flowing through the three pairs of transistors, and is determined by the most closed pair of transistors. In the aggregate, the sequence of selecting the maximum signal from each two input voltages, and then selecting the minimum signal from the three, determines the average sampling value of the voltage of the three input signals at the output. The || mediation of the medina selection circuit (elements 11-25) with three amplifiers 1–3, provided by negative feedback resistors 4–9, provides a significant increase in the median selection accuracy. At high (albeit equal) values of the amplification factors of the amplifiers (even with a slight inequality of voltages on buses 26-28 or with a slight non-identity of resistors 4 and 5, 6, 7, 8 and 9), the output voltages of amplifiers 1 - 3 differ greatly from one another. of these, an extremely high level, at the output of the other - an extremely low, and at the output of the third - an intermediate one, changes to cations depending on the current value of the median of the input voltages. Together with the circuit, this amplifier is allocated a median, for example 1, functions as an operational one, and the transmission coefficient from bus 26 to bus 10 is determined only by parameters of feedback resistors 4 and 5 Parameters of resistors 4 and 5, 6 and 7 8 and 9, negative feedback The connection is chosen so that the gain of the amplifiers 1 - 3 is one. In this case, the potentials of bus 10 and bus 26 are equal, therefore, through LEDs 29 and 30, the current is not
идет, отсутствие индикации на обоих светодиодах указывает, что на шину 26 поступает средний сигнал из трех.goes, the lack of indication on both LEDs indicates that the bus 26 receives the average of three signals.
Если на шину 27 поступает максимальный сигнал, то потенциал входа вьше потенциала шины 10, следовательно ток протекает через резистор 6 и светодиод 32, который указьшает о максимальном входном сигнале.If the bus 27 receives the maximum signal, the potential of the input is higher than the potential of the bus 10, therefore the current flows through the resistor 6 and the LED 32, which indicates the maximum input signal.
При поступлении на шину 28 минимального сигнала потенциал шины 28 ниже потенциала шины 10, следовательно ток протекает от шины 10 к шине 28 через резистор 8 и светодиод 33, который указывает о минимальном входном сигнале.When a minimum signal arrives at bus 28, the potential of bus 28 is lower than the potential of bus 10, therefore the current flows from bus 10 to bus 28 through a resistor 8 and a LED 33, which indicates a minimum input signal.
При этом погрешности вьшолнени операций с входными сигналами, в том числе мажоритарного преобразовани , очень малы, так как определ ютс практически только параметры усилителей и цепей обратной св зи.At the same time, the errors in performing operations with input signals, including the majority conversion, are very small, since practically only the parameters of amplifiers and feedback circuits are determined.
Использование изобретени позволит получить более обширную информацию о сигналах, поступающих на входы устройства, и улучшить характеристики управлени объектом, в котором будет применено предлагаемое техническое решение.The use of the invention will allow obtaining more extensive information about the signals arriving at the inputs of the device and improving the control characteristics of the object in which the proposed technical solution will be applied.