# Research of Tri-State Optical Signal Detectors for Ternary Optical Computers
## 3 Results
### Experimental Preparation and Experimental Steps  
Before the experiment, 576 liquid crystal pixels were divided into 9 regions according to the mounting position of the light source of the optical operator, and selected test points within each region according to the distance from the light source, as shown in Figure 10. The light source is not photographed in Figure 10 because the light source was hidden at the time of production, and the reader should note that the actual light source is shown directly above in Figure 10.  
The position of the light source is above the liquid crystal array shown in Figure 10, so region 2 is closest to the light source and has the strongest light intensity; regions 1 and 3 are on both sides of the light source and have slightly weaker light intensity; region 5 is at a suitable distance from the light source and has stable light intensity; regions 4, 6, 7, 8 and 9, are farther away from the light source and have weaker light intensity. This experiment produced nine mutually independent tri-state light signal detection circuits, the purpose of which is firstly to correspond to the partition; secondly to test the discrete nature, stability, and sensitivity of the light-sensitive sensor used in the experiment; and thirdly so that the independent light-sensitive circuit can be flexibly moved on the pixels in the area to which it belongs to facilitate the experiment. In this experiment, a CXDSMD023 photosensitive sensor model was used to make a light-sensitive tube, and tape was wrapped around the top to shade the light, as shown in Figure 11.  
Figure 10: Experimental partition map. Figure 9: The SD16 system. In the experiment, the tube is fixed above the liquid crystal pixel, and the vertical distance between the tube and the liquid crystal is about 1 mm. After the preparation process, the optical processor will randomly output the calculation results used for the test, followed by the tri-state optical signal detector for the display of its corresponding LCD pixels for photoelectric signal conversion. If the LCD pixel shows white light, the latch will eventually output 11; if the LCD pixel shows light green light, the latch will eventually output 10; if the LCD pixel shows blue light, the latch will eventually output 00. Next, the corresponding voltage dividing resistance value of the LCD pixels in each area is determined, and the adjustable resistor is adjusted according to the output of the latch during the experiment, so that the latch finally outputs the correct result. For recording purposes, each LCD pixel is numbered. Using the numbered bits of the optical operator processor bits as a reference, an example of the liquid crystal numbering of processor bit 0 and processor bit 1 can be given, where from left to right the liquid crystal pixels are numbered 0-1, 0-2, 0-3, 1-1, 1-2, and 1-3, and the processor bits are numbered as shown in Figure 12.  
After numbering the liquid crystal pixels, we can record the code of the liquid crystal pixel selected for the experiment in each sub-area in the experimental record book and perform the following experimental steps:  
1. We use a 5 V power supply for the nine detection circuits, and the photoreceptor circuit latch input enables terminal LE in parallel, using an electrical signal control,  
Figure 11: Experimental method diagram. Figure 12: Numbering of processor bits. while the output of each latch OE is also connected in parallel to the ground, so that it is effective. The latch output is connected to a multimeter tuned to the voltage range, which makes it more intuitive to view the values and easy to adjust the resistance values of the adjustable resistors;
2. We fix the head of the tube at 1 mm directly above the LCD pixel;
3. The optical processor randomly outputs the test results and sends an input enable signal to the latch, which latches the signal and outputs it, and the output result is the voltage value displayed on the multimeter;
4. We record the resistance value and voltage value of each photoreceptor circuit.