PRELIMINARY MITSUBISHI Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) 1. Description M64282FP is a 128 x 128 pixel PIN CONFIGURATION (TOP VIEW) CMOS image sensor with built-in image processing and analog image output tuning functions. This device can detect an image and RESET Xck READ Xrst TSW LOAD PGND DGND process the image simultaneously PVDD DVDD as human retinas can. M64282FP VOUT SIN can achieve smaller system size, AVDD NC lower power consumption, AGND and START more intelligent image processing Outline : 16C 9-B functions. 2. Features l Single 5.0V supply l Low power dissipation ( Typ. 15 mW ) l Positive and negative image output l Edge enhancement / extraction l Output level & gain tuning 3. Application Image input device, Gaming, Human interface for PC, etc. 4. Block Diagram AGND 16 AVDD VOUT 15 14 Level Control Gain Control PVDD PGND 13 12 TSW READ RESET 11 10 9 Edge Control Pixel Array 128 x 128 LOGIC 1 START 2 NC 3 SIN 4 DVDD 5 DGND 1/18 6 7 8 LOAD Xrst Xck ver. 1.1E 5/21/98 MITSUBISHI PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) 5. Pin Configuration 9 8 16 1 Pin No. Symbol 1 START Function Start Input Image sensing start. Pulled down internally by 10k ohm. 2 NC1 3 SIN Non Connect Data Input Parameter input. Pulled down internally by 10k ohm. 4 DVDD Digital Power Supply Power for logic circuits. Must be connected to 5.0 V digital supply. 5 DGND Digital GND Ground for logic parts. 6 LOAD Data Set Input Parameter set enable. Pulled down internally by 10k ohm. 7 Xrst System Reset System reset terminal. Pulled up internally by 10k ohm. Low active. 8 Xck System Clock Input Clock input for MUX. Pulled down internally by 10k ohm. 9 RESET Memory Reset Input Parameter register reset. Pulled up internally by 10k ohm. Low active 10 READ Read Image Read image signal. 11 TSW Reserved 12 AGND1 Analog GND 13 AVDD1 Analog Power Supply Power for analog circuits. NOTE: Don’t connect to this pin. Ground for analog circuits. Must be connected to 5.0 V analog supply. 14 15 Vout Signal Output Analog image signal output in voltage. AVDD2 Analog Power Supply Power for analog circuits. Must be connected to 5.0 V analog supply. 2/18 ver. 1.1E 5/21/98 MITSUBISHI 16 AGND2 Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) PRELIMINARY Analog GND Ground for analog circuits. 6. Image Sensing Specifications 1 Item Specification 1 Resolution 128 x 123 2 Optical System 1/4 inch 7. Image Sensing Specifications 2 Item Specification 1 Detectable Illumination Range (Faceplate) 1lx ~ 10000lx* 2 Exposure Time Range 16 µsec ~ 1sec 3 System Clock (Xck) 500KHz 4 Frame Rate 10 fps ~ 30 fps 5 Output Voltage Range (Vout) 2.0Vp-p * Under Halogen Light Valve Illumination 8. Electrical Specifications - Absolute Maximum Ratings Symbol Limits Parameter Unit Min. Typ. Max. DVDD Digital Power Supply Voltage 4.5 5.0 5.5 V AVDD Analog Power Supply Voltage 4.5 5.0 5.5 V 9. Electrical specifications - DC Specifications Symbol Limits Parameter Min. Typ. Unit Max. VOH "H" Output Voltage (READ) 4.5 DVDD V VOL "L" Output Voltage (READ) 0.0 0.5 V VIH "H" Input Voltage 2.2 DVDD V VIL "L" Input Voltage 0.0 0.8 V 10. AC Timing Requirements See the waveforms on page 5 and 6. 3/18 ver. 1.1E 5/21/98 MITSUBISHI Symbol PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) Limits Parameter Units Min Typ. Max tcr Xck cycle time 2 - - µs tWHX Xck high pulse width 0.8 - - µs tWLX Xck low pulse width 0.8 - - µs tr Xck rise time - - 0.2 µs tf Xck fall time - - 0.2 µs tSS SIN setup time 0.4 - - µs tHS SIN hold time 0.4 - - µs tSL LOAD setup time 0.4 - - µs tHL LOAD hold time 0.4 - tWLX-0.4 µs tWHL LOAD high pulse width 0.8 - - µs tSXR Xrst setup time 0.4 - - µs tHXR Xrst hold time 0.4 - - µs tSR RESET setup time 0.4 - - µs tHR RESET hold time 0.4 - - µs 4/18 ver. 1.1E 5/21/98 MITSUBISHI PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) (A) Xck, SIN Timing tcr Xck 75% 25% tr tf tWHX tWLX SIN tSS tHS (B) Xck, LOAD Timing Xck tWHL LOAD tSL tHL 5/18 ver. 1.1E 5/21/98 MITSUBISHI PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) (C) Xck, Xrst, RESET Timing Xck Xrst tSXR tHXR tSR tHR tSST tHST RESET (D) Xck, START Timing Xck START 6/18 ver. 1.1E 5/21/98 MITSUBISHI PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) 11. Operation Reset Exposure Time Setup Image Sensing Mode Setup Parameter Setup Start Sensing Data Output END Fig. 11-1 Operation Flow Chart Figure 11-1 shows the image sensing sequence. First of all, all the registers must be reset and must be initialized to the appropriate values. The reset sequence completes when both Xrst and RESET signals are set low. There are 8 sets of registers, each of 7/18 ver. 1.1E 5/21/98 PRELIMINARY MITSUBISHI Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) which consists of 8 bits of data. Each input data consists of 11 bits; of these 11 bits, the first 3 bits are the address and the last 8 bits are the data. The input data is latched at the rising edge of Xck when LOAD signal is high, and the data of a register become valid at the falling edge of Xck. After all register are set, START signal must be asserted. Then, image sensing sequence starts at the rising edge of Xck. Image sensing sequence consists of two different processes: the exposing process to adjust the light intensity and the image read process to put out the image data after converting optical signal into electrical signal. After the exposure time defined by the registers 2 and 3 has passed, analog image data (total 16k pixels) is read out. To read image signal, READ signal must be asserted. At this moment, it becomes possible to change the registers, because the registers are irrelevant to the image read sequence. Once image sensing sequence starts, the chip will continue to put out image data until it is reset. 11.1. Parameter Register Assignments Symbol Bit Assignment Operation N 1 bit Exclusively set edge enhancement mode VH 2 bits Select vertical - horizontal edge operation mode E 4 bits Edge enhancement ratio Z 2 bits Zero point calibration ( Set the dark level output signal to Vref ) I 1 bit C0, C1 8 bits x 2 O 6 bits Select inverted/non-inverted output Exposure time Output reference voltage ( In both plus and minus direction ) V 3 bits Output node bias voltage (Vref) G 5 bits Analog output gain P, M, X 8 bits x 3 1-D filtering kernel. 11.2. Image Acquisition Modes (a) Positive Image Set “P” register (b) Negative Image 1 Set “I” register (c) Negative Image 2 Set “M” register (optional) (d) Edge Extraction (V, H, 2-D) Set “N” and “VH” register (e) Edge Extraction (1-D) Set “P” and “M” register (optional) (f) Edge Enhancement Set “N”, “VH” and “E” register (g) Offset Level Output Set “0” to both “C0” and “C1” 11.3 Register Assignment 8/18 ver. 1.1E 5/21/98 MITSUBISHI Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) PRELIMINARY Reg. No. Address 7 6 5 4 3 2 1 0 1 001 N VH1 VH0 G4 G3 G2 G1 G0 2 010 C17 C16 C15 C14 C13 C12 C11 C10 3 011 C07 C06 C05 C04 C03 C02 C01 C00 4 100 P7 P6 P5 P4 P3 P2 P1 P0 5 101 M7 M6 M5 M4 M3 M2 M1 M0 6 110 X7 X6 X5 X4 X3 X2 X1 X0 7 111 E3 E2 E1 E0 I V2 V1 V0 0 000 Z1 Z0 O5 O4 O3 O2 O1 O0 11.4. Data LOAD sequence Xck SIN A2 A1 A0 D7 D6 D5 3 bit address D4 D3 D2 D1 D0 8 bit data LOAD 11.5. About the image processing functions Artificial retina chip can put out positive, negative, edge extracted, and edge enhanced image in accordance with the parameter register settings. On-chip image processing is done with the 3 x 3 neighboring pixels. This chip executes subtraction between the central pixel P and the four neighboring pixels MN, MS, MW, and ME(see the right figure) to realize edge extraction as shown below: vertical edge (V edge), horizontal edge (H edge), and 2 MN dimensional edge (2-D edge). Moreover, this chip can program the weight value of the central pixel P and the other four pixels to MW produce edge enhanced images. P ME MS Four connected neighboring pixels 9/18 ver. 1.1E 5/21/98 MITSUBISHI Positive Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) PRELIMINARY V edge H edge Edge Modes 2-D edge Output Signal Effective Pixels {2P - (MN+MS)} x α 128(H) x 121(V) P-MS 128(H) x 123(V) H-Edge Extraction {2P - (MW+ME)} x α 128(H) x 123(V) 2D-Edge Extraction {4P - (MN+MS+ME+MW)} x α 128(H) x 121(V) V-Edge Enhancement P + {2P - (MN+MS)} x α 128(H) x 121(V) H-Edge Enhancement P + {2P - (MW+ME)} x α 128(H) x 123(V) 2D-Edge Enhancement P + {4P - (MN+MS+ ME+ MW)} x α 128(H) x 121(V) V-Edge Extraction α is the edge enhancement ratio set by “E” register. P and M indicate the signal value from each pixel. 11.6. Register Descriptions 11.6.1. “N” register (1 bit) If the “N” register is set, P and M registers (see 11.6.11.) are exclusively set to a specific vertical edge extraction / enhancement mode. In the case of “H”, for example, P register is set to 02 (HEX), and M register is set to 05 (HEX). If “N” register is set, access to P and M registers is always ignored. 11.6.2. “VH” register (2 bits) The “VH” register selects vertical, horizontal, and 2-dimensional edge extraction/enhancement operation. Register Setting Edge Mode VH1 VH0 0 0 No edge operation 0 1 Horizontal edge mode 10/18 ver. 1.1E 5/21/98 PRELIMINARY MITSUBISHI 1 0 Vertical edge mode 1 1 2-D edge mode Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) 11.6.3. “E” register (4 bits) The “E” register sets the edge enhancement ratio α. The most significant bit E3 specifies edge enhancement mode or edge extraction mode: “H” for edge extraction mode and “L” for edge enhancement mode. (In the case of normal image sensing operation, E3 should be set low) The ratio α is set as follows. 100 % means the same level as the P signal, which is the signal of the central pixel in the 3x3 processing kernel. Register Setting Edge Enhancement Ratio E2 E1 E0 0 0 0 50 % 0 0 1 75 % 0 1 0 100 % 0 1 1 125 % 1 0 0 200 % 1 0 1 300 % 1 1 0 400 % 1 1 1 500 % 11.6.4. “Z” Register (2 bits) It calibrates the zero value by setting the dark level output signal to Vref. Register Setting Calibration Z1 Z0 0 0 No calibration 1 0 Calibration for positive signal 0 1 Calibration for negative signal 11.6.5. “I” register (1 bit) If the “I” register is set to “H”, the output signal is inverted. if it is set to “L”, the signal is not inverted. 11.6.6. “C0 & C1” register (8 bits x 2) Both C0 and C1 registers determine Exposure time; the sum of the value of C0 register 11/18 ver. 1.1E 5/21/98 MITSUBISHI PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) and that of C1 register determines the actual exposure time. The offset level of image output can be obtained by setting both of C0 and C1 registers to 00 (the minimum exposure time). In this case, all pixels are read out as black level (optical black). The signal output format is the same as that of the normal output image. (Synchronized with the READ signal.) “C0” register (8 bits) Register Setting Exposure time (msec) 00 (HEX) 0 FF (HEX) 4.080 Step width 16 µsec Step number 256 “C1” register (8 bits) Register Setting Exposure time (msec) 00 (HEX) 0 FF (HEX) 1044.5 Step width 4.096 msec Step number 256 Notice: In the case of vertical edge extraction / enhancement mode, the exposure time should be greater than 0.768 msec. 11.6.7. “O” register (6 bits) The “O” register adjusts the offset level of the signal voltage. The most significant bit O5 is the sign bit: “H” for plus direction, “L” for minus direction modulation. The offset is adjusted by 5 bit accuracy. The maximum absolute value of the offset level is 1V. ( In the case O5 is “H”. ) Register Setting Offset voltage (V) 20 (HEX) 0 3F (HEX) 1 Step width 32mV Step number 32 12/18 ver. 1.1E 5/21/98 Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) PRELIMINARY MITSUBISHI (In the case O5 is “L”) Register Setting Offset voltage (V) 00 (HEX) 0 1F (HEX) -1 Step width -32mV Step number 32 11.6.8. “V” register ( 3 bits ) It sets the output node voltage Vref. Register Setting Vref (V) V2 V1 V0 0 0 0 0.0 0 0 1 0.5 0 1 0 1.0 0 1 1 1.5 1 0 0 2.0 1 0 1 2.5 1 1 0 3.0 1 1 1 3.5 11.6.9. “G” register (5 bits) The “G” register sets the output gain of the image output signal. If the most significant bit G4 is “H”, The total gain increases by 6dB. Register Setting G3 G2 G1 Total Gain (dB) G0 G4 0 1 0 0 0 0 14.0 20.0 0 0 0 1 15.5 21.5 0 0 1 0 17.0 23.0 0 0 1 1 18.5 24.5 0 1 0 0 20.0 26.0 0 1 0 1 21.5 27.5 0 1 1 0 23.0 29.0 13/18 ver. 1.1E 5/21/98 Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) PRELIMINARY MITSUBISHI 0 1 1 1 24.5 30.5 1 0 0 0 26.0 32.0 1 0 0 1 29.0 35.0 1 0 1 0 32.0 38.0 1 0 1 1 35.0 41.0 1 1 0 0 38.0 44.0 1 1 0 1 41.0 47.0 1 1 1 0 45.5 51.5 1 1 1 1 51.5 57.5 11.6.10. Typical register settings The following table shows the typical image acquisition modes and the register settings to each mode. Mode Z1 Z0 N VH1 VH0 P M X E3 I Posi. 1 0 0 0 0 01 00 01 0 0 Inv. 1 0 0 0 0 01 00 01 0 1 H Enh. 1 0 0 0 1 01 00 01 0 0 H Enh. Inv. 1 0 0 0 1 01 00 01 0 1 H Ext. 0 0 0 0 1 01 00 01 1 0 H Ext. Inv. 0 0 0 0 1 01 00 01 1 1 V Enh. 1 0 1 1 0 01 00 01 0 0 V Enh. Inv. 1 0 1 1 0 01 00 01 0 1 V Ext. 0 0 1 1 0 01 00 01 1 0 V Ext. Inv. 0 0 1 1 0 01 00 01 1 1 2D Enh. 1 0 1 1 1 01 00 01 0 0 2D Enh. Inv. 1 0 1 1 1 01 00 01 0 1 2D Ext. 0 0 1 1 1 01 00 01 1 0 2D Ext. Inv. 0 0 1 1 1 01 00 01 1 1 11.6.11. P and M register settings for programmable 1-D filtering Both P and M registers specify 1-D filtering kernel consisting of +1, 0 and -1 weight values. The kernel is processed with the image pixels along vertical direction. The following table shows the typical image acquisition modes and the register settings. Some modes are the same as those of the table in 11.6.10. Moreover, “Negative” output in the table is the same as the “Inverted” output in the table in 11.6.10. V(PM) mode works similar to the filtering pattern of (+1, -1). 14/18 ver. 1.1E 5/21/98 Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) PRELIMINARY MITSUBISHI Mode Z1 Z0 N VH1 VH0 P M X E3 I Posi. 1 0 0 0 0 01 00 01 0 0 Neg. 0 1 0 0 0 00 01 01 0 1 V (PM) 0 0 0 0 0 01 02 01 0 0 V Enh. 1 0 0 1 0 02 05 01 0 0 V Ext. 0 0 0 1 0 02 05 01 1 0 2D Enh. 1 0 0 1 1 02 05 01 0 0 2D Ext. 0 0 0 1 1 02 05 01 1 0 15/18 ver. 1.1E 5/21/98 Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) PRELIMINARY MITSUBISHI 12. Operation Timing (1) Chip Reset Reset timing of the chip. Reset timing is synchronized with the rising edge of Xck clock. (2) Data Input Settings of the exposure time, initial value of each scanner, Vref value, and gain value. Data (8 bits x 8) input timing is synchronized with the rising edge of Xck clock. (3) Image Data Output Image pixel data is serially read out synchronized with Xck clock. (1) Chip Reset 1 clock cycle Xck XRST RESET (2) Data Input Xck SIN A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 LOAD Data 0 Data 7 becomes becomes valid 16/18 valid ver. 1.1E 5/21/98 MITSUBISHI PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) (3) Image Data Output Xck S TART Exposure Time READ Vout (0,0) (1,0)(2,0) (3,0) Start sensing 1st frame. (127,0) (0,1)(1,1) Start 1st frame (start exposre) image data output. Xck S TART Exposure Time READ Vout (124,127) (126,127) (125,127) (127,127) End sensing 1st frame. Start sensing 2nd frame. (START signal is automatically generated inside the chip 5 clocks after the fall edge of READ. ) 17/18 ver. 1.1E 5/21/98 MITSUBISHI PRELIMINARY Mitsubishi Integrated Circuit M64282FP Image Sensor (Artificial Retina LSI) 13. Outline dimension 18/18 ver. 1.1E 5/21/98