Троичный триггер, содержащий два двунаправленных ключа, четыре логических элемента, три резистора, конденсатор и три входа, два из которых являются информационными, причем второй информационный вход первого двунаправленного ключа соединен с входом четвертого логического элемента, выход которого соединен с одним из входов третьего логического элемента, выход которого соединен с первым выходом триггера и через последовательно соединенные первый резистор, конденсатор и третий резистор с вторым информационным входом второго двунаправленного ключа и входом первого логического элемента, выход которого соединен с одним из входов второго логического элемента, выход которого соединен с вторым выходом триггера и с первым выводом второго резистора, второй и третий логические элементы выполнены в виде элементов ИЛИ-НЕ, отличающийся тем, что, с целью повышения помехоустойчивости, в него введены два инвертора и четвертый резистор, а третий вход триггера является управляющим входом, который соединен с управляющими входами первого и второго двунаправленных ключей, первые информационные входы которых подключены соответственно к первому и второму входам триггера, при этом входы первого и второго инверторов подключены к выходам соответственно первого и четвертого логических элементов, а выходы - к другим входам соответственно третьего и второго логических элементов, второй вывод второго резистора подключен к точке соединения третьего резистора с конденсатором, четвертый резистор включен между точкой соединения первого резистора с конденсатором и входом четвертого логического элемента, причем первый и четвертый логические элементы выполнены в виде инверторов.A three-way trigger containing two bidirectional keys, four logic elements, three resistors, a capacitor and three inputs, two of which are informational, with the second information input of the first bidirectional key connected to the input of the fourth logic element, the output of which is connected to one of the inputs of the third logic element , the output of which is connected to the first trigger output and through serially connected first resistor, capacitor and third resistor with the second information input of the second bidirectional key and the input of the first logic element, the output of which is connected to one of the inputs of the second logic element, the output of which is connected to the second output of the trigger and the first output of the second resistor, the second and third logic elements are in the form of OR-NOT elements, characterized in that In order to improve noise immunity, two inverters and a fourth resistor are inserted into it, and the third trigger input is a control input that is connected to the control inputs of the first and second bidirectional keys, the first information whose inputs are connected respectively to the first and second inputs of the trigger, while the inputs of the first and second inverters are connected to the outputs of the first and fourth logic elements, respectively, and the outputs to other inputs of the third and second logic elements, respectively, the second output of the second resistor is connected to the junction point the third resistor with a capacitor, the fourth resistor is connected between the connection point of the first resistor with the capacitor and the input of the fourth logic element, the first and the fourth second logic elements are in the form of inverters.