Increasing the bit rate, the photonic band gap width, the transmission channels capacity and their transfer speed is the main goal of improving and optimizing modern communication networks and systems. Currently, the best choice is to use optical communications, which further confirms the inevitability of the migration from electronics to optics and photonics. Consequently, these specific optical networks consist of optical fibers [1, 2], waveguides [3, 4], filters [5, 6], demultiplexers [7, 8], logic gates [9–11], adders [12], decoders and encoders [13–15], sensors and biosensors [16, 17]. It has been demonstrated that all the mentioned optical devices can be realized using photonic crystals (PCs). Consequently that they can be used to realize ultra-compact devices suitable for optical integrated circuits.
Optical encoders are logic circuits with 2n input ports and n output ports. It can used to perform the reverse operation of the decoder. Only one input among n is activated at a time, which corresponds to a binary number at the output. In general, it is used in all digital systems to translate decimal values into binary in order to perform binary functions such as addition, subtraction, multiplication. They can play a substantial role in the encoding blocks of communication links. The all-optical encoder is investigated to switch the optical input signal to different output ports. Moreover, it compresses digital data for transmission and storage in optical data processing [18, 19].
In the literature, the 2DPC-based encoder is realized by various techniques, namely multimode interference [20], self-collimation effect [21], nonlinear Kerr effect [10]. Functional performance, such as bit rate, response time, switching speed, size, operating wavelength and contrast ratio were estimated.
An all-optical 4-to-2 digital encoder was proposed by Moniem [22], in this structure, he combined four resonant rings with a T waveguide to design the proposed encoder. The optical power and footprint of this encoder can reach 200 mW and 1225 µm2 respectively inside PCs. The optical intensity at the input ports and the footprint of this device are 4 W/µm2 and 880 µm2 respectively. Recently, Salimzadeh and Alipour-Banaei [25] presented an all-optical 8 to 3 encoder based on three all-optical OR gates. They used silicon rods with 10–18 m2/W for the nonlinear Kerr coefficient, which offered 15 W/µm2 at the input ports. A new all-optical reversible encoder was proposed using two ring resonators based nonlinear ellipticals ring resonator [26]. Most of the work mentioned has been done by combining nonlinear Kerr effects with PC-based resonators. As we know, for proper functioning of nonlinear structures, we need to cast large amounts of optical intensities into the input ports.
The encoders are reported with the previously mentioned techniques using linear and non-linear materials. Typically, nonlinear material-based encoder requires high input power to introduce nonlinearity although it offers high contrast ratio and narrow operating frequency. In this attempt, for better confinement the encoder based on a waveguide coupled with a nonlinear ring resonator. This structure requires a reduced input power (from 1.3 to 3 mW/µm2) compared to other structures found in the literature in order to create the nonlinear Kerr effect. Moreover, high switching speed and high contrast ratio are the major advantages of the discussed encoder. To analyze it, Plane Wave Expansion (PWE) and Finite Difference Time Domain (FDTD) [27, 28] are the two numerical methods used to estimate the propagation modes and the output spectrum, respectively.
The remainder of the article is organized as follows: In Sect. 2, we discussed the encoder description and design method, in Sect. 3, presentation and discussion of simulation results, and in Sect. 4, we have finished our work with a conclusion.