مجله مدل سازی در مهندسی (Sep 2022)

Modelling of All-optical 3-inputs XOR logical gates using artificial neural networks

  • samaneh hamedi,
  • hamed Dehdashti Jahromi

DOI
https://doi.org/10.22075/jme.2022.24374.2137
Journal volume & issue
Vol. 20, no. 70
pp. 147 – 159

Abstract

Read online

All-optical logic gates are the most important unit for achieving all-optical processing systems. Developing a fast and efficient method for studying the behavior of all-optical logic gates is very important and has been considered by researchers. In this paper, general regression neural networks and linear method are used to predict a three-input all-optical XOR logic gate output. The simulation results show that both methods can precisely model the behavior of the device. The training time of the neural network in the linear method with the optimal structure is about 93 seconds, which is much longer than the GRNN method with a training time of 8 seconds. Both models predict the output in less than 1 second which show a great improvement over the conventional method with 12 seconds. In the GRNN method with the smoothing factor of 0.001, the best results were obtained with MSE, RSE and MAE error values of 1.97×10-7, 5.95×10-6, and 1.6×10-4, respectively. In the linear method with 200 initial training data, the minimum values of MSE, RSE, and MAE are 1.11×10-22, 2.14×10-16 and 2.11×10-11, respectively, and the best modeled output is achieved. The value of correlation coefficient (R2) between the modeled output and the desired output of the logic gate is one for both neural network methods, which indicates a very good prediction for this method.

Keywords