Abstract
An all optical comparator is designed based on photonic crystals. The proposed structure was designed based on optical threshold switching that is realized using three nonlinear ring resonators. All nonlinear rings have the same optical characteristics, such that they can drop low intensity (as low as 0.5 W/μm2) optical waves at 1550 nm, but cannot drop the optical waves with optical intensity of 1 W/μm2. For the proposed structure the rise and fall time are about 2 and 1 ps, respectively. Therefore the bit rate is about 167 GHz and the ON/OFF contrast ratios for O1, O2, and O3 are 13.5, 13.6, and 13.3 dB, respectively.