Document Type : Reseach Article

Authors

1 Department of Electrical Engineering, Islamic Azad University, Kermanshah Branch, Kermanshah, Iran

2 Department of Computer Engineering, Islamic Azad University, Kermanshah Branch, Kermanshah, Iran

Abstract

In this article, a two-dimensional photonic crystal-based XOR gate is designed and simulated. For this purpose, an initial two-dimensional photonic crystal structure is chosen and waveguides are created for inputs and outputs. Then, defect rods are selected so that the obtained outputs are approximately consistent with the XOR gate truth table. After that, we will be looking for the best output so that the highest optical power is created for logic 1 and the lowest power in the logical state of 0. For this reason, the simulation is performed for four defect rods and the output is obtained for different the radius of the rods. Then, using the K-Nearest Neighbors algorithm, which is a machine learning algorithm, the best output for logic 0 and also for logic 1 is obtained. The results show that the designed logic gate has high output power in logic 1 and very low power in the logic 0 state.

Keywords

  • [1] Roshani, M.B. Jamshidi, F. Mohebi, S. Roshani, “Design and Modeling of a Compact Power Divider with Squared Resonators Using Artificial Intelligence. Wireless Personal Communications,” 117(3), 2085 2020.
  • [2] Lalbakhsh, M.U. Afzal, T. Hayat, K.P. Esselle, K. Manda, “All-metal wideband metasurface for near-field transformation of medium-to-high gain electromagnetic sources,” Scientific Reports, 11(1), 1 2021.
  • [3] Pirasteh, S. Roshani and S. Roshani, “A modified class-F power amplifier with miniaturized harmonic control circuit,” AEU-International Journal of Electronics and Communications, 97, 202-209, 2018.
  • [4] Lalbakhsh, G. Mohamadpour, S. Roshani, M. Ami, S. Roshani, A.S.M.D. Sayem, M. Alibakhshikenari, S. Koziel, “Design of a Compact Planar Transmission Line for Miniaturized Rat-Race Coupler With Harmonics Suppression,” IEEE Access, 9, 129207 2021.
  • [5] Roshani, S. Roshani, “Design of a high-efficiency class-F power amplifier with large signal and small signal measurements.” Measurement. 149, 106991 2020.
  • [6] Lotfi, S. Roshani, S. Roshani, M.S. Gilan, “Wilkinson power divider with band-pass filtering response and harmonics suppression using open and short stubs.” Frequenz., 74(5-6), 169 2020.
  • [7] Lalbakhsh, R.B.V.B. Simorangkir, N. Bayat-Makou, A.A. Kishk, K.P. Esselle, “Advancements and artificial intelligence approaches in antennas for environmental sensing, Artificial Intelligence and Data Science in Environmental Sensing,” ISBN 9780323905084, 19 2022.
  • [8] S. Paul, K. Mandal, A. Lalbakhsh, “Single-layer ultra-wide stop-band frequency selective surface using interconnected square rings,” AEU-International Journal of Electronics and Communication, 132, 153630 2021.
  • [9] Adibi, M. Amin Honarvar, and Ali Lalbakhsh, “Gain Enhancement of Wideband Circularly Polarized UWB Antenna using FSS, Radio Science,” 56, 1 2021.
  • Hadei, G. Dadashzadeh, Y. Torabi, A. Lalbakhsh, “Terahertz beamforming network with a nonuniform contour,” Applied Optics 61 (4), 1087-1096, 2022
  • Roshani, J. Azizian,S. Roshani, M. Jamshidi, F. Parandin, “Design of a miniaturized branch line microstrip coupler with a simple structure using artificial neural network,” Frequenz, 76(5-6), 255-263, 2022.
  • Roshani, and S. Roshani, “Design of a very compact and sharp bandpass diplexer with bended lines for GSM and LTE applications,” AEU-International Journal of Electronics and Communications, 1;99, 354-360, 2019.
  • Parandin, A. Sheykhian, “Design and simulation of a 2 × 1 All-Optical multiplexer based on photonic crystals,” Optics & Laser Technology, 151, 108021, 2022.
  • Askarian, G. Akbarizadeh, M. Fartash, “An all-optical half subtractor based on kerr effect and photonic crystals.” Optik 207, 164424, 2020.
  • Olyaee, M. Seifouri, A. Mohebzadeh-Bahabady, M. Sardari, “Realization of all-optical NOT and XOR logic gates based on interference effect with high contrast ratio and ultra-compacted size,” Opt Quant Electron, 50, 385, 2018.
  • Parandin, A. Sheykhian, “Designing a Circuit for High-Speed Optical Logic Half Subtractor,” International Journal of Circuits, Systems and Signal Processing, vol. 16, pp. 887-891, 2022.
  • J. Maleki, A. Mir, M. Soroosh, “Designing an ultra-fast all-optical full-adder based on nonlinear photonic crystal cavities,” Opt Quant Electron 52, 196, 2020
  • Parandin, A. Sheykhian, “Design of an all-optical half adder based on photonic crystal ring resonator.” Opt Quant Electron 54, 443, 2022.
  • Askarian, G. Akbarizadeh, M. Fartash, “All-optical half-subtractor based on photonic crystals.” Appl. Opt. 58, 5931–5935, 2019.
  • Parandin, S. Olyaee, R. Kamarian, M. Jomour, “Design and Simulation of Linear All-Optical Comparator Based on Square-Lattice Photonic Crystals. Photonics,” 9, 459, 2022.
  • R. Jalali Azizpour,M. Soroosh, N. Dalvand, Y. Seifi-Kavian, “All-Optical Ultra-Fast Graphene-Photonic Crystal Switch,” Crystals, 9(9):461, 2019.
  • Olyaee, F. Taghipour, “Design of new square-lattice photonic crystal fibers for optical communication applications,”Int. J. Physical Sci., 6(18), 4405-4411, 2011.
  • Mohebzadeh-Bahabady, S. Olyaee, “All-optical NOT and XOR logic gates using photonic crystal nano-resonator and based on an interference effect,” IET Optoelectronics, 12(4), 191-195, 2018.
  • Parandin, F. Heidari, M. Aslinezhad, et al. “Design of 2D photonic crystal biosensor to detect blood components.” Opt Quant Electron 54, 618, 2022
  • Askarian, “Design and analysis of all optical half subtractor in 2D photonic crystal platform.” Optik 228, 166126, 2021.
  • Parandin, N. Bagheri, “Design of a 2 × 1 multiplexer with a ring resonator based on 2D photonic crystals,” Results in Optics, 11, 100375, 2023.
  • Askarian, F. Parandin, “A novel proposal for all optical 1-bit comparator based on 2D linear photonic crystal.” J Comput Electron 22, 288–295, 2023.
  • Askarian, F. Parandin, “Numerical analysis of all optical 1-bit comparator based on PhC structure for optical integrated circuits.” Opt Quant Electron 55, 419, 2023.
  • Parandin, “Ultra-compact and low delay time all optical half adder based on photonic crystals.” Opt Quant Electron 55, 398, 2023.
  • Nayyeri Raad, A., Saghaei, H. & Mehrabani, Y.S. “An optical 2-to-4 decoder based on photonic crystal X-shaped resonators covered by graphene shells.”Opt Quant Electron 55, 452 2023.
  • J. Maleki, M. Soroosh, A. Mir, “Ultra-fast all-optical 2-to-4 decoder based on a photonic crystal structure,” Appl. Opt. 59, 5422-5428, 2020.
  • Mohammadi, M. Soroosh, A. Kovsarian, et al. “Improving the transmission efficiency in eight-channel all optical demultiplexers.” Photon Netw Commun 38, 115–120, 2019.
  • Parandin, A. Sheykhian, N. Bagheri, “A novel design for an ultracompact optical majority gate based on a ring resonator on photonic crystal substrate.” J Comput Electron, 2023.
  • Naghizade, H. Saghaei, “A novel design of fast and compact all-optical full-adder using nonlinear resonant cavities.” Opt Quant Electron 53, 262, 2021
  • Haddadan, M. Soroosh, N. Alaei-Sheini, “Designing an electro-optical encoder based on photonic crystals using the graphene–Al2O3 stacks,” Appl. Opt. 59, 2179-2185, 2020.
  • Parandin, M. Moayed, F. Heidari, “All-optical diode for terahertz optical power rectification based on two-dimensional photonic crystals,” Microelectronics Journal, 136, 105779, 2023.
  • Mokhtarbaf, A., Mosleh, M., Saghaei, H. et al. “Design and simulation of all-optical majority gates using fluid infiltration approach in photonic crystal slab.”Opt Quant Electron 55, 265 2023.
  • Olyaee, F. Taghipour, “Design of new square-lattice photonic crystal fibers for optical communication applications,”Int. J. Physical Sci., 6(18), 4405-4411, 2011.
  • Parandin; M. Malmir, “Low Delay Time All Optical NAND, XNOR and OR Logic Gates Based on 2D Photonic Crystal Structure,” Journal of Electrical and Computer Engineering Innovations (JECEI), 8, 1, 1-8, 2020.
  • Hastie, R. Tibshirani, J. Friedman, “The elements of statistical learning: Data mining, inference, and prediction (2nd ed.).” New York, NY: Springer, 2009.
  • M. Bishop, “Pattern recognition and machine learning.” New York, NY: Springer. 2006.
  • Hastie, R. Tibshirani, J. Friedman, The elements of statistical learning: data mining, inference, and prediction.” Springer Science & Business Media, 2009.
  • S. Altman, “An introduction to kernel and nearest-neighbor nonparametric regression. The American Statistician,” 46(3), 175-185, 1992.
  • Cover, P. Hart, “Nearest neighbor pattern classification.” IEEE transactions on information theory, 13(1), 21-27, 1967.
  • Geron, “Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow: Concepts, tools, and techniques to build intelligent systems.” O'Reilly Media, Inc, 2019.