The utility model discloses a logic circuit for increasing the common-mode transient
immunity of an OOK modulation and
demodulation digital
isolator, the logic circuit comprises a transmitting terminal TX and a receiving terminal RX, the receiving terminal RX comprises a cross-coupled common-gate pre-drive
amplifier composed of a plurality of transistors, the common-gate pre-drive
amplifier amplifies signals sent by the transmitting terminal TX, and the common-gate pre-drive
amplifier is used for amplifying the signals sent by the receiving terminal TX; the envelope
comparator is used for comparing the output
voltage of the common-gate pre-drive amplifier and outputting a corresponding high-level
signal or a low-level
signal; the forward common-mode
voltage change rate detection circuit is a
transistor MN5, the
transistor MN5 is connected with the common-gate pre-drive amplifier, and the
transistor MN5 is switched on or switched off by an output
voltage signal of the transmitting end TX; the negative common-mode voltage change rate detection circuit is a transistor MP5, the transistor MP5 is connected with the common-gate pre-drive amplifier, and the transistor MP5 is switched on or switched off by an output voltage signal of the common-gate pre-drive amplifier; and the logic circuit is used for comparing an output signal of the output end of the envelope
comparator, an output signal of the positive common-mode voltage change rate detection circuit and an output signal of the negative common-mode voltage change rate detection circuit, and outputting a logic
processing result.