## Abstract

Conversion of optical data from decimal to binary format is very important in optical computing and optical signal processing. There are many binary code systems to represent decimal numbers, the most common being the binary coded decimal (BCD) and gray code system. There are a wide choice of BCD codes, one of which is a natural BCD having a weighted code of 8421, by means of which it is possible to represent a decimal number from 0 to 9 with a combination of $4\text{\hspace{0.17em}}\mathrm{bit}$ binary digits. The reflected binary code, also known as the Gray code, is a binary numeral system where two successive values differ in only $1\text{\hspace{0.17em}}\mathrm{bit}$. The Gray code is very important in digital optical communication as it is used to prevent spurious output from optical switches as well as to facilitate error correction in digital communications in an optical domain. Here in this communication, the author proposes an all-optical frequency encoded method of “:decimal to binary, BCD,” “binary to gray,” and “gray to binary” data conversion using the high-speed switching actions of semiconductor optical amplifiers. To convert decimal numbers to a binary form, a frequency encoding technique is adopted to represent two binary bits, 0 and 1. The frequency encoding technique offers advantages over conventional encoding techniques in terms of less probability of bit errors and greater reliability. Here the author has exploited the polarization switch made of a semi conductor optical amplifier (SOA) and a property of nonlinear rotation of the state of polarization of the probe beam in SOA for frequency conversion to develop the method of frequency encoded data conversion.

© 2011 Optical Society of America

Full Article | PDF Article**OSA Recommended Articles**

Sisir Kumar Garai

Appl. Opt. **51**(11) 1757-1764 (2012)

Chongfu Zhang, Leyang Wang, Sathishkumar Perumal, Kun Qiu, and Heng Zhou

Opt. Express **19**(16) 14937-14948 (2011)

Jianji Dong, Yuan Yu, Yin Zhang, Xiang Li, Dexiu Huang, and Xinliang Zhang

Opt. Express **19**(11) 10587-10594 (2011)