解码器是三值光学计算机(ternary optical computer,TOC)中负责将运算器输出的结果从三值光信号变换成对应的电信号的部件.根据现有三值光学计算机的实际状况,实现了一款自动千位三值光学计算机解码器系统.该系统由4个数码摄像头和嵌入式系统组成:利用摄像头采集三值光学处理器输出的运算结果的图像,由嵌入式系统处理这些图像以获得运算结果的数值.嵌入式系统中的软件包括拍照控制、数值生成和输出控制三个主要部分.创建的地址定位技术可解决运算器输出图像与摄像头拍摄图像在像素数量上差别过大的问题.提出并实现的降蓝技术可解决蓝光对液晶暗状态的严重干扰问题.建立的自检机制可提高解码结果的准确性和可靠性.
Decoder is an important component in ternary optical computer(TOC),which can translate the optical arithmetic component's output signal into corresponding electronic signals.A kilobit automatic decoder based on the current ternary optical computer is discussed.The decoding system is composed of four cameras and an embedded board.The cameras capture pictures exported from the optical arithmetic component,and process them with an embedded board to produce the result.The decoding software in the embedded system includes photographic control,numeric-generation and output-control.Address-locating,blue-reduction and self-checking techniques are proposed.Address-locating solves the problem that the arithmetic component's output pixels do not precisely match the pixels captured by the cameras.Blue-reduction solves the problem of serious jam of the dark state from blue lights.Self-checking improves accuracy and reliability of the decoder.