SHARP LR38627

Technical Manual
Digital Signal Processing LSI for CCD (LR38627)
Ver. 0.42
Published in Feb 2007
* Specifications of the product covered herein may be subject to change without notice.
General Precautions
This document and the product covered herein are protected by international copyright and proprietary right laws.
Do not use the document for any purpose other than for using the product. Do not disclose the document to third
parties without prior permission from SHARP.
The product covered herein is designed expressly for use in consumer-oriented electronics. If you contemplate
using the product for the equipment that demands high reliability, including control and safety equipment for
automobiles, trains or aircrafts and rescue and security equipment, please be sure to contact SHARP in advance.
Do not use the product for medical equipment related to life support.
LARGE-SCALE IC GROUP
SHARP
CONFIDENTIAL
LR38627
Preliminary Technical Manual Ver0.42
[Table of Contents]
1. OUTLINE OF LSI ……………………………………………………………………………………… 1-1
1.1.
FEATURE
………………………………………………………………………….. 1-1
1.2.
FUNCTIONS OF DIGITAL SIGNAL PROCESSING
………………………….….. 1-1
2. PIN ASSIGNMENT
………………………………………………………………………….. 2-1
3. SYSTEM ARCHECTURE …………………………………………………………………………..
3.1
SYSTEM ARCHITECTURE EXAMPLE …………………………………………………….
3.2
OPERATION MODE SELECTION BY TERMINAL SETTINGS
…………………...
3.3
CCD SENSOR
…………………………………………………………………………...
3.4
HOST I/F ………………………………………………………………………………………
3.5
EEPROM ………………………………………………………………………………………
3.6
HOST I/F ACCESS BY 2-WIRED SYSTEM BUS ………………………………………….
3.7
EEPROM ACCESS BY 2-WIRED SYSTEM BUS ………………………………………….
3.8
POWER SUPPLY SEQUENCE
……………………………………………………..
3.9
MUTE CONTROL WHEN POWER SUPPLY SEQUENCE ………………………………
3-1
3-1
3-2
3-3
3-3
3-3
3-4
3-5
3-6
3-6
4. FUNCTION EXPLANATION …………………………………………………………………………... 4-1
4.1.
INNER COMPOSITION
……………………………………………………………….. 4-1
4.2.
DRIVING PULSE GENERATION
…………………………………………………….. 4-2
4.2.1
PHASE ADJUSTMENT OF THE CCD DRIVE PULSE
…………………………….... 4-2
4.3.
INPUT ADJUSTMENT
……………………………………………………………….. 4-3
4.3.1
SHADING COMPENSATION ……………………………………………………………….. 4-3
4.3.2
LINE CRAWL COMPENSATION
…………………………………………………….. 4-7
4.3.3
FIXED BLEMISH COMPENSATION …………………………………………………….. 4-8
4.3.4
CAREER BALANCE
………………………………………………………………... 4-10
4.4.
BRIGHTNESS SIGNAL PROCESSING ADJUSTMENT
…………………………….... 4-11
4.4.1
GAMMA CHARACTERISTIC
…………………………………………………….. 4-11
4.4.2
WHITE CLIP
…………………………………………………………………………… 4-13
4.4.3
MIDDLE-HIGH FREQUENCY ENHANCEMENT …………………………………………. 4-13
4.4.4
APERTURE CORRECTION ………………………………………………………………... 4-14
4.4.5
SELF ADJUSTMENT OF PARAMETER THAT SYNCHRONIZES
WITH AUTOMATIC CONTROL
…………………………………………………….. 4-15
4.5.
EXPOSURE CONTROL
………………………………………………………………... 4-18
4.5.1
FIXATION OF IRIS …………………………………………………………………………… 4-18
4.5.2
EXPOSURE FIXATION AND RESTART HYSTERESIS
………………………………. 4-20
4.5.3
EXPOSURE OPERATION SPEED
…………………………………………………….. 4-21
4.5.4
RANGE OF EXPOSURE CONTROL ……………………………………………………... 4-22
4.5.5
ADJUSTMENT OF EXPOSURE MULTIPLICATION
………………………………. 4-23
4.5.6
RANGE OF MULTIPLICATION
…………………………………………………….. 4-24
4.6.
COLOR SIGNAL PROCESSING ADJUSTMENT ………………………………………….. 4-26
4.6.1
RGB MATRIX
……………………………………………………………………………. 4-26
4.6.2
RGB GAMMA CHARACTERISTIC
………………………………………….. 4-27
4.6.3
GENERATION OF COLOR DIFFERENCE SIGNAL
………………………………. 4-28
4.6.4
COLOR SUPPRESSION
………………………………………………………………... 4-29
4.7.
WHITE BALANCE CONTROL
…………………………………………………….. 4-31
4.7.1
FIXATION OF AWB
………………………………………………………………… 4-31
4.7.2
GENERATION OF THREE REFERENCE POINT …………………………………………. 4-31
4.7.3
ADJUSTMENT OF WHITE BALANCE TO WHITE SAMPLE
…………………… 4-32
4.7.4
GAIN OF COLOR DIFFERENCE SIGNAL
………………………………………….. 4-34
4.7.5
PHASE ADJUSTMENT OF COLOR DIFFERENCE
………………………………. 4-35
4.7.6
ADJUSTMENT OF AWB MULTIPLICATION FRAME
………………………………. 4-36
4.7.7
RANGE OF AWB MULTIPLICATION ……………………………………………………... 4-38
4.7.8
ADJUSTMENT OF AWB FIXATION FRAME
………………………………………….. 4-39
4.7.9
RESTRICTION OF AWB RANGE OF MOTION ………………………………………….. 4-40
4.7.10 AWB OPERATION SPEED ………………………………………………………………... 4-41
4.7.11 OTHER AWB PARAMETER ………………………………………………………………... 4-41
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.8.
4.8.1
4.8.2
4.9.
4.9.1
LR38627
Preliminary Technical Manual Ver0.42
OUTPUT ADJUSTMENT
………………………………………………………………...
ADJUSTMENT OF ENCODERS
……………………………………………………..
ADJUSTMENT OF DIGITAL OUTPUT ……………………………………………………..
ADDITIONS
……………………………………………………………………………
TABLE OF EXPOSURE CONTROL
……………………………………………………..
4-42
4-42
4-43
4-45
4-45
5. REGISTER LIST ………………………………………………………………………………………. 5-1
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
1. Outline of LSI
This product is the LSI equipped with the drive timing pulse generator of the 270-thousand to 470-thousand pixels
CCD area sensor, each pulse generator for the television signal, the signal processing function for converting to the
video signal from the CCD image converted to digital signal, driver of Vertical transfer pulse for the CCD and
AFE captured CDS, PGA, AD converter.
1.1.
Feature
· Supply voltage: 4 power sources of 15V, -8V, 3.3V, and 1.8V.
· It corresponds to the CCD of 270-thousand and 410-thousand pixels for NTSC,
·
·
·
·
·
·
1.2.
320-thousand and 470-thousand pixels for PAL
18MHz 12bit A/D converter is contained.
Generating circuit for the CCD drive signal and various pulses for television signals is contained.
The analog image is outputted (10bit DA converter).
NTSC/PAL are corresponded.
YUV digital output (8bit x 2).
Each parameter for camera signal processing is variable.
Functions of digital signal processing
· The automatic exposure control function is equipped.
· The automatic white balance control function is equipped.
· The automatic carrier balance equalizer function is equipped.
· The line crawl compensation function is equipped.
· The white blemish compensation function is equipped.
· The gamma correction functions for brightness signal and the color signal are equipped independently.
· Lens shading compensation function is equipped.
· Black out error reductive function is equipped.
· The video output of the image inversion function is equipped.
· 4K bit EEPROM Read/Write function for the adjustment parameter storage.
(LR38627 needs EEPROM which has 16 or more bytes page access feature).
1-1
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
Pin assignment
2
No.
1
2
3
4
Name
NC
NC
EHDAI
EHSL
IO type
IOS_4
IS_D
5
EHCS
IS
6
7
8
EHWP
EEPWP
EEPCS
IS
O_4
O_4
9
EEPDAI
IOS_4
10
11
12
13
14
15
16
17
18
19
20
21
EEPDAO
TEST6
EEPCK
VDDL
GND
GND33
VDDH
Y0
Y1
Y2
Y3
Y4
IOS_4
I_D
IOS_4
VDDL
GND
GND
VDDH
IO_4
IO_4
IO_4
IO_4
IO_4
22
Y5
IO_4
23
Y6
IO_4
24
Y7
IO_4
25
TEST5
I_D
26
CSYNC
O_4
27
VD
O_4
28
HD
O_4
29
UV7
IO_4
30
31
32
33
34
NC
NC
NC
NC
NC
-
Function
Must be opened
Must be opened
Data input terminal from the external host to adjust camera parameters.
Connect to ground.
DSP device address select. Related to access from adjustment host.
(EHCS=L) 1010000X (A0h)
X… R/W
(EHCS=H) 1100000X (C0h)
X… R/W
DSP write protect input. Related to access from adjustment host. (Low Enable)
EEPROM write protect output. Connect to EEPROM. (Low Enable)
Must be opened
EEPROM からのデータ入出力端子です
(EEPROM のデータ端子およびプルアップ抵抗に接続して下さい)
Must be opened
Test terminal which must be connected to ground.
EEPROM clock output. Connect to EEPROM. (Pull-up is needed)
Power supply for internal logic part. (1.8V)
Ground terminal
Ground terminal
Power supply for I/O buffers. (3.3V)
Digital video output (Luminance bit0)
Digital video output (Luminance bit1)
Digital video output (Luminance bit2)
Digital video output (Luminance bit3)
Digital video output (Luminance bit4)
(TEST2=TEST3=L) Digital video output (Luminance bit5)
(TEST2=TEST3=H) Connect to ground.
(TEST2=TEST3=L) Digital video output (Luminance bit6)
(TEST2=TEST3=H) Connect to ground.
(TEST2=TEST3=L) Digital video output (Luminance bit7)
(TEST2=TEST3=H) Control input AGCSW (0:AGC active / 1:AGC stopped)
Connect to ground or be opened.
Composit sync pulse / Digital video output s pixel clock (RCLK)
(See description on register CSYNC_SEL)
Vertical timing pulse / Digital video vertical valid signal.
(See description on register VD_SEL)
Holizontal timing pulse / Digital video holizontal valid signal.
(See description on register HD_SEL)
(TEST2=TEST3=L) Digital video output (Chroma bit 7)
(TEST2=TEST3=H) Control input EEMD3 (See EEMD shutter speed table)
Must be opened
Must be opened
Must be opened
Must be opened
Must be opened
2-1
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
No.
Name
35
UV6
37
UV4
38
UV3
39
UV2
40
UV1
41
UV0
42
43
44
45
46
47
VDDL
GND
GND33
VDDH
VDDDAD
GNDDA
48
VIDEO
49
VB
50
VREF
51
52
53
54
55
IREF
VDDDAA
GND_TG
GND33_TG
VDDH_TG
56
CKI
57
CKO
58
59
60
61
62
63
64
65
66
VDDL_TG
GND_TG
GND33_TG
VDDH_TG
NC
NC
NC
NC
NC
67
FH2
LR38627
Preliminary
Technical Manual Ver0.42
IO type
Function
(TEST2=TEST3=L) Digital video output (Chroma bit 6)
IO_4
(TEST2=TEST3=H) Control input EEMD2 (See EEMD shutter speed table)
(TEST2=TEST3=L) Digital video output (Chroma bit 4)
IO_4
(TEST2=TEST3=H) Control input EEMD0 (See EEMD shutter speed table)
(TEST2=TEST3=L) Digital video output (Chroma bit 3)
IO_4
(TEST2=TEST3=H) Control input WB1
(See description on fixed white balance)
(TEST2=TEST3=L) Digital video output (Chroma bit 2)
IO_4
(TEST2=TEST3=H) Control input WB0
(See description on fixed white balance)
(TEST2=TEST3=L) Digital video output (Chroma bit 1)
IO_4
(TEST2=TEST3=H) Control input BLC
(TEST2=TEST3=L) Digital video output (Chroma bit 0)
IO_4
(TEST2=TEST3=H) Control input MIR
VDDL
Power supply for internal logic part. (1.8V)
GND
Ground terminal
GND
Ground terminal
VDDH
Power supply for I/O buffers. (3.3V)
VDDDAD Power supply for D/A converter s digital part. (3.3V)
GND
Ground terminal
Video signal output from D/A converter.
O_A
(Terminate by register)
D/A converters external capacitance terminal.
I_A
(See reference circuit diagram)
D/A converter s reference voltage input.
O_A
(Supply DC 1.2V)
O_A
D/A converter s reference current input.
VDDDAA Power supply for D/A converter s analog part. (3.3V)
GND
Ground terminal.
GND
Ground terminal
VDDH_TG Power supply for I/O buffers. (3.3V)
Clock oscillator input.
OSC_I
Crystal oscillator s frequency (NTSC:28.63636MHz PAL:28.375MHz)
Clock oscillator output.
OSC_O
CKI and CKO make oscillator circuit.
VDDL
Power supply for internal logic part (1.8V)
GND
Ground terminal
GND
Ground terminal
VDDH_TG Power supply for I/O buffers (3.3V)
Must be opened
Must be opened
Must be opened
Must be opened
Must be opened
Holizontal CCD s driving pulse. Connect to CCD. (3.3V)
O_16
(Several CCD may need level converter)
2-2
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
No.
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Name
LR38627
Preliminary
Technical Manual Ver0.42
IO type
Function
Holizontal CCD s driving pulse. Connect to CCD. (3.3V)
FH1
O_16
(Several CCD may need level converter)
FR
O_8
Output gate resetting pulse.
ADCKD
O_4
A/D converter s sampling clock. Connect to analog-front-end IC.
FCDS
O_4
CDS sampling pulse (for feed through). Connect to analog-front-end IC.
FS
O_4
CDS sampling pulse (for pixel output). Connect to analog-front-end IC.
GND_TG
GND
Ground terminal
GND33_TG
GND
Ground terminal
VDDH_TG VDDH_TG Power supply for I/O buffers (3.3V)
ACL
IS_U
Reset input for logic part
Test terminal which must be connected to ground.
TEST1
I_D
OFDXD
O_4
OFD(Over Flow Drain) pulse. Connect to V-driver
VH1XD
O_4
Pixel transfer gate pulse. Connect to V-driver
V1XD
O_4
Vertical CCD clocking pulse. Connect to V-driver
V2XD
O_4
Vertical CCD clocking pulse. Connect to V-driver
V3XD
O_4
Vertical CCD clocking pulse. Connect to V-driver
VH3XD
O_4
Pixel transfer gate pulse. Connect to V-driver
V4XD
O_4
Vertical CCD clocking pulse. Connect to V-driver
Test terminal.
(TEST2=TEST3=H) Y7-5,UV7-0 are control inputs(MIR,BLC,EEMD,WB)
TEST2
I_D
(TEST2=L)
Y7-5,UV7-0 are output terminals.
Test terminal.
(TEST2=TEST3=H) Y7-5,UV7-0 are control inputs(MIR,BLC,EEMD,WB)
TEST3
I_D
(TEST3=L)
Y7-5,UV7-0 are output terminals.
BLKX
O_4
Must be opened
ADCLP
O_4
A/D input-clamp pulse. Connect to analog front end IC.
OBCLP
O_4
Optical black pixel clamp pulse. Connect to analog front end IC.
VDDL_TG
VDDL
Power supply for internal logic part. (1.8V)
GND_TG
GND
Ground for internal logic part.
Ground for I/O buffers.
GND33_TG
GND
Especially low noise care is needed for this terminal.
Power supply for I/O buffers. (3.3V)
VDDH_TG VDDH_TG
Especially low noise care is needed for this terminal.
NC
Must be opened
NC
Must be opened
NC
Must be opened
NC
Must be opened
NC
Must be opened
NC
Must be opened
Ground for internal logic part.
GND_TG
GND
Especially low noise care is needed for this terminal.
Ground for I/O buffers.
GND33_TG
GND
Especially low noise care is needed for this terminal.
TEST4
I_D
Test terminal which must be connected to ground.
ADI11
IS
Digitized video input bit11(MSB). Connect to analog-front-end IC.
ADI10
IS
Digitized video input bit10. Connect to analog-front-end IC.
ADI9
IS
Digitized video input bit9. Connect to analog-front-end IC.
2-3
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
No.
106
107
108
109
110
111
112
113
114
115
116
117
118
119
Name
ADI8
ADI7
ADI6
ADI5
ADI4
VDDH
GND
GND33
VDDL
ADI3
ADI2
ADI1
ADI0
EEPSL1
IO type
IS
IS
IS
IS
IS
VDDH
GND
GND
VDDL
IS
IS
IS
IS
IS_D
120
AFESCK
O_4
121
AFEDAT
O_4
122
AFECSN
O_4
123
EHCK
IOS_4
124
EEPSL2
IS_D
125
126
127
128
EHDAO
NC
NC
NC
IOS_4
-
LR38627
Preliminary
Technical Manual Ver0.42
Function
Digitized video input bit8. Connect to analog-front-end IC.
Digitized video input bit7. Connect to analog-front-end IC.
Digitized video input bit6. Connect to analog-front-end IC.
Digitized video input bit5. Connect to analog-front-end IC.
Digitized video input bit4. Connect to analog-front-end IC.
Power supply for I/O buffers (3.3V)
Ground terminal.
Ground terminal.
Power supply for internal logic part. (1.8V)
Digitized video input bit3. Connect to analog-front-end IC.
Digitized video input bit2. Connect to analog-front-end IC.
Digitized video input bit1. Connect to analog-front-end IC.
Digitized video input bit0. Connect to analog-front-end IC.
Connect to ground.
Serial communication port (shift clock) to control AGC gain, etc.
Connect to analog-front-end IC
Serial communication port (shift data) to control AGC gain, etc.
Connect to analog-front-end IC
Serial communication port (chip select) to control AGC gain, etc.
Connect to analog-front-end IC
Clock input terminal from the external host to adjust camera parameters.
Connect to ground.
0: Automatically start reading parameters from EEPROM when power on.
1: No initial read when power on
Must be opened.
Must be opened.
Must be opened.
Must be opened.
2-4
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
I/O Symbols
I/O Symbol
I
IS
I_D
I_U
IS_D
IS_U
I_A
IO_4
IOS_4
O_1
O_4
O_16
O_20
O_A
OSC_I
OSC_O
I/O Type
CMOS level input terminal
Schmidt level input terminal
CMOS level input terminal (pull-down resistance 84 kΩ contained)
CMOS level input terminal (pull-up resistance 100 kΩ contained)
Schmidt level input terminal (pull-down resistance 84 kΩ contained)
Schmidt level input terminal (pull-up resistance 96kΩ contained)
Analog input terminal
Input and output terminals CMOS level input Capable output current is 4mA.
Input and output terminals schmidt level input Capable output current is 4mA.
Output terminals Capable output current is 1mA. (when the power is 3V)
Output terminals Capable output current is 4mA. (when the power is 3.3V)
Output terminals Capable output current is 16mA. (when the power is 3.3V)
Output terminals Capable output current is 20mA.
(when the power VDD is 3V, VH=15V, VL=-8V)
Analog output terminal
Input terminal for the oscillation circuit
Output terminal for the oscillation circuit
GND
AVDD
DVDD
VDD
VH
VL
VDDL
VDDH
VDDH_TG
VDDDAA
VDDDAD
Ground
Power source A: Analog power source (3.0V~3.6V)
Power source B: Digital power source (3.0V~3.6V)
Power source C: IO power source. (3.0V~3.6V)
Power source D: Power source for V-Driver. (10V~20V)
Power source E: Power source for V-Driver. (-10V~-5V)
Power source F: Internal core power source. (1.62V~1.98V)
Power source G: IO power source. (3.0V~3.6V)
Power source H: IO power source. (3.0V~3.6V)
Power source J: Analog power source for DA converter. (3.0V~3.6V)
Power source K: Digital power source for DA converter. (3.0V~3.6V)
2-5
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
3
3.1
LR38627
Preliminary
Technical Manual Ver0.42
System Archecture
System architecture example
The camera system can be composed in following composition.
For the details, refer to the reference circuit example.
A high voltage drive circuit for the CCD drive is contained.
Correlation double sampling and the analog gain circuit of the CCD output are contained.
クロック
Clock 3.3V
3.3V 1.8V
1.8V
CCD
Video
Driver
CDS/
AGC
LR38627
V-driver
Reset
EEPROM
Host for
adjustment
3-1
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
3.2
LR38627
Preliminary
Technical Manual Ver0.42
Operation mode selection by terminal settings
By the TEST2 and TEST3 terminal setting, it selects the following IO polarity. When each terminal is set to input,
it is enable to control the operation mode by each terminals with register SW_SEL(address 018h[0])=’0’ and
disable to use the digital outputs.
TEST2 and TEST3
UV[7:0]
Y[7:5]
Y[4:0]
Digital output
Control by terminals
“00” or “01” or “10”
“11”
Output
Input
Output only
Enable
Disable
Kinds of control
Operation mode
EEMD
WB_SEL
BLC
MIR
AGCSW
TEST2,3=”00”,”01”,”10” or
(TEST2,3=”11” and SW_SEL=1)
Controlled Function
Fixed speed of an electronic shutter
Fixed white balance mode
Backlight compensation mode
Mirror mode
Fixed AGC value mode
Disable
Enable
Registers
REG_EEMD
REG_WBSEL
REG_BLC
REG_MIR
REG_AGCSW
Address[bit]
019h[7:4]
019h[3:2]
019h[1]
019h[0]
018h[7]
TEST2,3=”11”
and SW_SEL=0
Terminals
UV[7:4]
UV[3:2]
UV[1]
UV[0]
Y[7]
By the terminal setting, it selects the following communication mode.
Terminals
EHCS
EEPSL2
Communication mode
L
H
Slave device address
Slave device address
“1010000Xb”
“1100000Xb”
EEPROM automatic initial reading
EEPROM automatic initial reading
is enabled.
is disabled.
3-2
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
3.3
LR38627
Preliminary
Technical Manual Ver0.42
CCD Sensor
This LSI has a timing generation circuit and a voltage change circuit, and then this is enable to drive the following
CCD sensor. (Some CCD is used with external circuit of Amplifier transmitter of horizontal drive pulse.)
Supported sensor
270-thousand pixels CCD sensor for NTSC
410-thousand pixels CCD sensor for NTSC
320-thousand pixels CCD sensor for PAL
470-thousand pixels CCD sensor for PAL
3.4
Register settings (Adrs:001h)
TVMD (bit5)
SCCD (bit4)
0
0
0
1
1
0
1
1
Host I/F
At the host I/F that the following serial bus was connected with, it can set a parameter for the various setting.
Serial bus
2-wired system bus
(3-wired system bus)
3.5
Terminal used
For communication
For control
EHCK
EHCS
EHDAI
(EHWP)
Rate
(Max)
Reference standerd
400kbps
Standard Mode I2C-BUS
( I2C-BUS SPECIFICATION
Ver2.1: Jan.2000)
EEPROM
It controls EEPROM which the following serial bus was connected with to save or load of the parameter for the all
kind setting in the DSP can be done. Also, each parameter can be automatically read in case of start-up.
Incidentally, in case of saving / loading to EEPROM, this DSP accesses EEPROM continuously in 16 bytes, being
the longest. Therefore, EEPROM use the one which has the page write feature of equal to or more than 16 bytes.
Serial bus
2-wired system bus
(3-wired system bus)
Terminal used
For communication
For control
EEPCK
EEPDAI
EEPSL2
(EEPWP)
Rate
(Max)
400kbps
Reference devices
M24C04 (ST-MICRO)
24LC04B (MICROCHIP)
3-3
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
3.6
LR38627
Preliminary
Technical Manual Ver0.42
Host I/F access by 2-wired system bus
Host I/F by 2-wire system bus of this LSI has the function to write and read of the outside host, according to
logical format (1), (2) in the following of Standard Mode I2C-BUS.
Host I/F by 2-wire system consists of clock line (EHCK) for the serial communication and serial data line
(EHDAI). As for the EHCK, EHDAI line, the pull-up each to the I/O power level.
In case of the 3-wire system, in addition to the above signal, it uses write-protect signal (EHWP).
At the time of EHWP='1', it returns ACK by the above writing format but writing in the register isn't done.
(1) Data writing format to the DSP for byte.
EHCK
Slave Device
EHDAI
Register address
W
address
Direction of the data transfer:
□ extemal host this LSI
Write register Data
S M
L
AM
L AM
LA S
T S
S
C S
S C S
SC P
B
B
KB
BKB
BK
■ this LSI
extemal host
(EHWP)
(2) Data reading format from the DSP for 1 byte.
EHCK
Slave Device
EHDAI
W
address
Slave Device
Register address
R
address
Read register Data
S M
L
AM
L A
R M
L
AM
L NS
T S
S
C S
S C
S S
S
C S
S AP
B
B
KB
B K
T B
B
KB
B
(EHWP)
• Start bit (ST)
• Slave Device address
• ACK bit,NACK bit (NA)
• Register address (8bit)
• Register data (8bit)
• Stop bit (SP)
• Resta bit (RST)
(don’t care)
: It is provide for start communication.
: Slave Device for communication is provide
: The bit for handshaking in one bit is followed 8 bit data
(slave device address, register address, and register data).
: Receive data. It specified the lower 8bit inside of 12bit address.
: Send and receive data. Read/ Write value of register.
: It is provide for stop communication.
: It is provide for start reading.
○Start bit (START), Restart bit (RESTA), Stop bit (STOP)
Start bit and Restart bit are defined that the data line (SDAH) changes low level from high level with the clock
line (SCLH) keeping high level. Stop bit is defined that the data line (SDAH) changes High level from Low
level with the clock line (SCLH) keeping high level
○ACK bit, NACK bit
The following one bit of 8 bit data (slave device address, register address, and register data) is a bit for
handshaking. When 8 bit data is normally received, the device that receives 8 bit data generates ACK bit
(Active Low). At this time, the other device where 8 bit data was transmitted opens the data line. When the
host is communicating with other slave devices and 8 bit data cannot be normally received, this device opens
the data line and generates NACK bit (Active High) with an external pull-up resistor.
3-4
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
3.7
LR38627
Preliminary
Technical Manual Ver0.42
EEPROM access by 2-wired system bus
In the setting of the following registers, a set value of each register of DSP is written in EEPROM, the register of
DSP can be set from EEPROM.
Register setting value
Address 02F9h
00h
No Operation
(default)
03h
DSP→EEPROM
Batch data writing
0Ch
EEPROM→DSP
Set data reading
3-5
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
3.8
LR38627
Preliminary
Technical Manual Ver0.42
Power supply sequence
The power supply is turned on according to the following procedures.
Procedure
1.8V
3.3V
15V
-8V
Clock
Reset
Note
Before turning on the
OFF
OFF
OFF
OFF
Stop
Low
power supply
Core power supply
ON
OFF
OFF
OFF
Stop
Low
1
turning on
IO power supply
ON
ON
OFF
OFF
Stop
Low
2
turning on
3
Clock turning on
ON
ON
OFF
OFF
Oscillation
Low
4
ON
ON
ON
OFF
Oscillation
Low
1
V driverpower
supply turning on
5
ON
ON
ON
ON
Oscillation
Low
2
6
Reset release
ON
ON
ON
ON
Oscillation
High
3
7
Parameter setting
ON
ON
ON
ON
Oscillation
High
Note1) Please turn it on after the low input of V-driver becomes under 0.5V and the high input of it becomes
over the VDD (TYP:3.3V) - 0.5V.
Note2) Please turn it on after the VH (15V) become over the VH * 0.9.
Note3) Please do the reset release and turn on ΦV after the clock is steady and the VL (-8V) become under
the VL * 0.9.
Note4) When re-turning on, Please wait till the VL become over the VL * 0.1 after the each power supply
turn off. And then, please do the above sequence.
Turn on sequence
Turn off sequence
(1) 1.8V
(2) 3.3V
(4) 15V
(5) -8V
(3) clock
reset
(6) reset
ΦV(VdrOUT)
ΦH, ΦR
(7) parameter
3.9
Mute control when power supply sequence
After turning on the power supply, the image output is muted until the parameter read from EEPROM and
automatic control become stable. The mute function is turned on and off by the MUTE_ON register, and the
number of muted frames is set by the MUTE_TI register.
Adr[bit]
Register
00Ah[7]
MUTE_ON
00Ah[6:0]
MUTE_TI
Explanation
0: The mute function is not used.
1: The mute function is used.
Number of frames in which mute is done
3-6
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4. Function explanation
4.1.
Inner composition
The inside of this LSI is composed of the following modules.
Driver
Driving pulse
generation
AFE
(CDS,AGC,ADC)
Exposure
control
Brightness signal
processing
Output adjustment
(Encoder)
Input adjustment
Color signal
processing
DAC
AWB
Each functions are adjusted by the following modules:
modules
Functions
Driving pulse generation
Generation of driving pulse suitable for each CCD
Phase adjustment of the horizontal CCD drive pulse
Phase adjustment of the CDS sampling pulse
Control of electronic shutter pulses according to exposure level
Blackout error reductive correction
AFE control
Input adjustment
Shading correction curve
Fixed blemish compensation (eight points or less)
Line crawl compensation
Brightness signal processing Gamma correction
White clip
Aperture correction
Color signal processing
Adjustment of RGB matrix
Adjustement of white balance
Color different signal generation
Adjustment of color suppression
Adjustment of color difference matrix
Exposure control (IRIS)
Electronic shutter and AGC value controls
Output adjustment
Generation of NTSC/PAL signal
Adjustment of SETUP level
4-1
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.2.
LR38627
Preliminary
Technical Manual Ver0.42
Driving pulse generation
4.2.1
Phase adjustment of the CCD drive pulse
When the output image data is affected by noise cause of power changing, there is a possibility to be able to ease by
the phase adjustment. The rsettings for phase adjustment are followed.
Adr[bit]
Register
00Fh[4]
SEL_FH
Phase invert of horizontal drive pulse FH1 and FH2
00Fh[3:2]
SEL_FH1
Phase adjustment of horizontal drive pulse FH1 (by delay)
(1)
00Fh[1:0]
SEL_FH2
Phase adjustment of horizontal drive pulse FH2 (by delay)
(2)
012h[5:4]
SEL_FR1
Phase adjustment of rising edge of output reset pulse FR (by delay)
(3)
012h[2:0]
SEL_FR2
Phase adjustment of falling edge of output reset pulse FR (by foward)
(4)
010h[2:0]
SEL_FCDS
Phase adjustment of feedthrough clamp pulse FCDS (by delay)
(5)
010h[6:4]
SEL_FS
Phase adjustment of sampling pulse of imagedata FS (by delay)
(6)
011h[6:4]
011h[2:0]
Explanation
SEL_ADCK2 Phase adjustment of A/D convert clock ADCK (by delay)
Phase adjustment of A/D convert clock ADCK (by clock)
000: default
001: +0.5 CKI (410,470k-pixels: 90 degree, 270,320k-pixels:60 degree)
010: +1.0 CKI (410,470k-pixels: 180 degree, 270,320k-pixels:120 degree)
SEL_ADCK
011: +1.5 CKI (410,470k-pixels: 270 degree, 270,320k-pixels:180 degree)
100: +2.0 CKI (410,470k-pixels: forbidden, 270,320k-pixels:240 degree)
101: +2.5 CKI (410,470k-pixels: forbidden, 270,320k-pixels:300 degree)
others: forbidden
FH1
(1)
(1)
FH2
(2)
(2)
FR
(3)
(6)
(7)
(7)
(5)
FS
ADCK
(7)
(4)
(5)
FCDS
(1,2)
(6)
(7)
4-2
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
Preliminary
Technical Manual Ver0.42
Input adjustment
4.3.1
Shading compensation
Quantities of light might attenuate in the part around the lens when the wide-angle lens is used.
This can be eased by the shading compensation function. To use the shading compensation function, the
compensation gain characteristic is set to the second r radius power from the center part by the straight line. It
provides for each range of the radius of the second power with SHD_RNG1 to 12, and the gain in each division
point is set with SHD_OFS0 to 13.
r radius
Gain
×2(Maximum)
Set to
SHD_OFST*
×1
1 2 3
4
5
6
sections
7 8
r2
9
10 11 12
SHD_OFST0 to 13
4.3.
LR38627
SHD_OFST10
1 2 3 4
5 6
7 8 9
SHD_RNG1 to 12
10
11 12
r2
SHD_OFST* is set to a monotone increase (increase or constancy) in all sections.
It becomes about one time gain by SHD_OFST*=00h, nearly twice the gain by SHD_OFST=FFh. SHD_RNG* is
chosen to become it for the width of each section to describe the N-th power of two.
4-3
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
Adr[bit]
24Ah[1]
23Eh[7:0]
23Fh[7:0]
240h[7:0]
241h[7:0]
242h[7:0]
243h[7:0]
244h[7:0]
245h[7:0]
246h[7:0]
247h[7:0]
248h[7:0]
249h[7:0]
230h[7:0]
231h[7:0]
232h[7:0]
233h[7:0]
234h[7:0]
235h[7:0]
236h[7:0]
237h[7:0]
238h[7:0]
239h[7:0]
23Ah[7:0]
23Bh[7:0]
23Ch[7:0]
23Dh[7:0]
LR38627
Register
SHD_TH
SHD_RNG1
SHD_RNG2
SHD_RNG3
SHD_RNG4
SHD_RNG5
SHD_RNG6
SHD_RNG7
SHD_RNG8
SHD_RNG9
SHD_RNG10
SHD_RNG11
SHD_RNG12
SHD_OFST0
SHD_OFST1
SHD_OFST2
SHD_OFST3
SHD_OFST4
SHD_OFST5
SHD_OFST6
SHD_OFST7
SHD_OFST8
SHD_OFST9
SHD_OFST10
SHD_OFST11
SHD_OFST12
SHD_OFST13
Preliminary
Technical Manual Ver0.42
Explanation
0: Shading is corrected.
1: Shading is not corrected.
Beginning point in section 1 of radius of the second power
Beginning point in section 2 of radius of the second power
Beginning point in section 3 of radius of the second power
Beginning point in section 4 of radius of the second power
Beginning point in section 5 of radius of the second power
Beginning point in section 6 of radius of the second power
Beginning point in section 7 of radius of the second power
Beginning point in section 8 of radius of the second power
Beginning point in section 9 of radius of the second power
Beginning point in section 10 of radius of the second power
Beginning point in section 11 of radius of the second power
Beginning point in section 12 of radius of the second power
Gain at shading center (increment)
Shading gain in beginning point in section 1 (increment)
Shading gain in beginning point in section 2 (increment)
Shading gain in beginning point in section 3 (increment)
Shading gain in beginning point in section 4 (increment)
Shading gain in beginning point in section 5 (increment)
Shading gain in beginning point in section 6 (increment)
Shading gain in beginning point in section 7 (increment)
Shading gain in beginning point in section 8 (increment)
Shading gain in beginning point in section 9 (increment)
Shading gain in beginning point in section 10 (increment)
Shading gain in beginning point in section 11 (increment)
Shading gain in beginning point in section 12 (increment)
Shading gain in ending point in section 12 (increment)
4-4
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
The correspondence of the number of pixels from the center and the correspondence to two power value of radius r
set to SHD_RNG* is shown in the following tables about X and the direction of Y. Please multiply two values of
the table by the number of Y pixels for interlace.
[Number of pixels from center]
Using for interlace, Horizontal coordinates Y are multiplied twice.
(Unit: pixel)
410k
pixels
470k
pixels
270k
pixels
320k
pixels
2
r
X
Y
X
Y
X
Y
X
Y
1
45
29
45
34
64
28
64
34
2
64
41
64
49
90
39
90
48
3
78
50
78
60
110
48
110
59
4
90
58
90
69
128
56
128
68
5
101
65
101
77
143
62
143
76
6
110
71
110
84
156
68
156
83
7
119
77
119
91
169
74
169
90
8
128
82
128
98
181
79
181
96
9
135
87
135
104
192
84
192
102
10
143
92
143
109
202
88
202
108
11
150
96
150
115
212
92
212
113
12
156
101
156
120
221
97
221
118
13
163
105
163
125
230
101
230
123
14
169
109
169
129
239
104
239
128
15
175
112
175
134
247
108
247
132
16
181
116
181
138
256
112
256
136
17
186
120
186
142
263
115
263
141
18
192
123
192
147
271
118
271
145
19
197
127
197
151
278
122
278
149
20
202
202
286
125
286
152
21
207
207
293
128
293
22
212
212
300
131
300
23
217
217
306
306
24
221
221
313
313
25
226
226
320
320
26
230
230
326
326
27
235
235
332
332
28
239
239
338
338
29
243
243
344
344
30
247
247
350
350
31
251
251
356
356
32
256
256
362
362
33
259
259
367
367
34
263
263
373
373
35
378
378
36
384
384
37
389
389
38
394
394
39
399
399
40
404
41
409
Y
X
Upper limit
An example of the upper limit of SHD_RNG* is requested from the maximum diagonal as followed.
CCD
Upper limit of SHD_RNG
270k pixels
52
410k pixels
56
320k pixels
51
470k pixels
54
4-5
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
The center of shading compensation can be corrected by the following settings.
Adr[bit]
Register
24Fh[4:0]
CENX_ADJ
Correction of shading center coordinates (Horizontal)
250h[4:0]
CENY_ADJ
Correction of shading center coordinates (Vertical)
Explanation
A standard value when the center of shading is suitable for the center of each CCD is as follows.
CCD
270k pixels
7
2
CENX_ADJ
CENY_ADJ
410k pixels
5
2
320k pixels
6
2
470k pixels
5
1
Radius r
CENX,Y_ADJ
The shading gain can be adjusted at each color filter (C1, C2, C3 and C4) of CCD.
After it sets it to SHD_GAIN_ACT=1, the gain of each filter is adjusted by the SHD_GAIN_C1-C4 register. The
gain (characteristic set by the straight line) for the sensitization is done by SHD_GAIN_xx times. There is a
possibility to be able to ease by this setting when is in the part in the surrounding with the color.
Gain
×2(Maximum)
×1
r2
Adr[bit]
Register
Explanation
24Ah[0]
SHD_GAIN_ACT
24Bh[5:0]
SHD_GAIN_C1
24Ch[5:0]
SHD_GAIN_C2
The shading gain of the C1 pixel (Ye+Mg) is corrected.
(one time gain by 20h, twice gain by 3Fh)
The shading gain of the C2 pixel (Cy+Mg) is corrected.
24Dh[5:0]
SHD_GAIN_C3
The shading gain of the C3 pixel (Cy+G) is corrected.
24Eh[5:0]
SHD_GAIN_C4
The shading gain of the C4 pixel (Ye+G) is corrected.
Please set to 1.
4-6
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.3.2
LR38627
Preliminary
Technical Manual Ver0.42
Line crawl compensation
Stripes pattern (line crawl) by the career difference in a high luminance part where the CCD output becomes near
the satiety region is reduced.
The line crawl compensation function can be turned on and off by the LC_ON register.
The threshold for the line crawl detection is adjusted by the LINE_U register. If a big value is set to LINE_U, it
becomes difficult to be detected. If a small value is set to LINE_U, it becomes easy to be detected.
It influences the image quality emphasizing the career difference when an extremely small value is set to LINE_U.
Adr[bit]
Register
264h[7:0]
LINE_U
265h[4]
LC_ON
Explanation
Line crawl detection threshold
1: Line crawl compensation ON
0: Line crawl compensation OFF
4-7
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.3.3
LR38627
Preliminary
Technical Manual Ver0.42
Fixed blemish compensation
The blemish can be compensated to the defect of CCD to understand coordinates beforehand. The image data of a
pertinent pixel is replaced by setting coordinates by the mean value of the right and left vicinity pixel of the same
filter.
Because vertical pixel is all-in drived, two blemish pixels at a set of coordinate (X, Yo) on Odd field and (X, Ye)
on even field is displayed by a blemish pixel at a set of coordinate (x, y) on CCD. For compensation to a set of
coordinates (x, y), please set the values on the below table to a set of compensation coordinates (WNxxH,
WNxxV).
Horizontal compensation
Vertical compensation coordinate (WNxxV)
CCD
coordinate(WNxxH)
Yo=Ye-1
Ye=Yo
Ye=Yo-1
270k pixels
X +13
(Y-21)*2+5
(Y-21)*2+6
410k pixels
X +15
(Y-21)*2+6
(Y-21)*2+7
320k pixels
X +18
(Y-24)*2+5
(Y-24)*2+4
470k pixels
X +14
(Y-24)*2+6
(Y-24)*2+5
Without blemish compensation, WNxxV and WNxxH are set as 000h.
The blemish coordinates can be set up to eight by the following settings.
Adr[bit]
Register
272h[3:2], 270h[7:0]
WN00H
272h[1:0], 271h[7:0]
WN00V
275h[3:2], 273h[7:0]
WN01H
275h[1:0], 274h[7:0]
WN01V
278h[3:2], 276h[7:0]
WN02H
278h[1:0], 277h[7:0]
WN02V
27Bh[3:2], 279h[7:0]
WN03H
27Bh[1:0], 27Ah[7:0]
WN03V
27Eh[3:2], 27Ch[7:0]
WN04H
27Eh[1:0], 27Dh[7:0]
WN04V
281h[3:2], 27Fh[7:0]
WN05H
281h[1:0], 280h[7:0]
WN05V
284h[3:2], 282h[7:0]
WN06H
284h[1:0], 283h[7:0]
WN06V
287h[3:2], 285h[7:0]
WN07H
287h[1:0], 286h[7:0]
WN07V
Explanation
Blemish compensation coordinates
The horizontal coordinates of point 1
Blemish compensation coordinates
The vertical coordinates of point 1
Blemish compensation coordinates
The horizontal coordinates of point 2
Blemish compensation coordinates
The vertical coordinates of point 2
Blemish compensation coordinates
The horizontal coordinates of point 3
Blemish compensation coordinates
The vertical coordinates of point 3
Blemish compensation coordinates
The horizontal coordinates of point 4
Blemish compensation coordinates
The vertical coordinates of point 4
Blemish compensation coordinates
The horizontal coordinates of point 5
Blemish compensation coordinates
The vertical coordinates of point 5
Blemish compensation coordinates
The horizontal coordinates of point 6
Blemish compensation coordinates
The vertical coordinates of point 6
Blemish compensation coordinates
The horizontal coordinates of point 7
Blemish compensation coordinates
The vertical coordinates of point 7
Blemish compensation coordinates
The horizontal coordinates of point 8
Blemish compensation coordinates
The vertical coordinates of point 8
4-8
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
[Example of detection and compensation method of blemish coordinates (X, Y) by watching]
When you adjust the blemish that appears on the screen by watching, aperture function is turned off to detect the
blemish coordinates and correct it in the following way.
1) Horizontal settings
The signal position of the blemish as Th is read by the horizontal wave form measure function of the oscilloscope.
Th for the mirror image is measured from the right edge of the image as shown in the figure below.
Th for normal image
Th for mirror image
Blemish
Right edge
Left edge
Measured Th for a blemish pixel in one horizontal period
Horizontal coordinate of blemish is found by the Th displaied on oscilloscope as followed.
CCD
Translation Th on time axis to horizontal coordinate X
270k pixels
X = Th / 3 * 28.636 MHz
410k pixels
X = Th / 2 * 28.636 MHz
320k pixels
X = Th / 3 * 28.375 MHz
470k pixels
X = Th / 2 * 28.375 MHz
2) Vertical settings
The TV line with the blemish as Ye and Yo is read by the TV line measure function of the oscilloscope.
Because vertical pixel is all-in drived, please make it change to one back and forth TV line for the propriety value.
3) Example
The example of the blemish compensation value is shown below.
coordinate of blemish pixels on the screen
CCD
Horizontal
Vertical
270k pixels
Th= 32.9 us
Ye=195 TV line
Yo=194 TV lineHorizontal coordinate (WNxxH) = 32.9us / 3 * 28.63636 + 13 = 327
Vertical coordinate (WNxxV) = (195 - 21) * 2 + 5
= 353
→ 147h (hexdecimal)
→ 161h (hexdecimal)
To use the register of point 1 for blemish compensation, please set the value in the followed table.
Register address
Binary value
Horizontal coordinate (WN00H)
272h [3:2]
270h [7:0]
01
01000111
Vertical coordinate (WN00V)
272h [1:0]
271h [7:0]
01
01100001
4-9
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.3.4
LR38627
Preliminary
Technical Manual Ver0.42
Career balance
The value of the OB pixel is multiplied and the change of a black level is canceled. It multiplies C1, C2, C3, and
each C4 filter for the average level, and cancels with the color when shading by driving difference etc.
Adr[bit]
Register
040h[6]
CB_FIX
041h[7:0]
FIX_CB1
Explanation
0: Usually (automatic career balance)
1: Fixed career balance (FIX_CB1-4 is used)
Fixed career balance subtraction value of C1 pixel
042h[7:0]
FIX_CB2
Fixed career balance subtraction value of C2 pixel
043h[7:0]
FIX_CB3
Fixed career balance subtraction value of C3 pixel
044h[7:0]
FIX_CB4
Fixed career balance subtraction value of C4 pixel
4-10
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
Preliminary
Technical Manual Ver0.42
Brightness signal processing adjustment
4.4.1
gamma characteristic
4
5
6
Section
8
9
7
10
11
12
2 3 45 6 7
10 13
0 1 2 3
(∆)
0
1
OFST
4.4.
LR38627
1 2 3
4
5
6
7
8
9
10
11
12
YGAM_RNG*
The shape of the straight line is set according to the following settings. The starting point is the average of OB
level, and the corrected data for the input below the OB level is made to the absolute value by the same
characteristic. Please set the width in the section to become the N-th power of two. Excluding the N-th power of
two cause the operation error margin.
For the last section (section 12), ∆ is requested from the following table. The straight line is extended even to
the input that corresponds to YGAM_RNG + ∆, and the output value at the position is set to YGAM_OFST13.
256 - YGAM_RNG12
Δ
0,1
2
3,4,5
6,7,8,9,10,11
12,13,14,15,16,17,18,19,20,21,22,23
24 - 47
48 - 95
96 -
1
2
4
8
16
32
64
128
Moreover, the brightness after the gamma correction over the following upper limit is clipping in the encoder.
(upper limit of the gamma correction) = 255 ‒ SETUP/4 ‒ SYNCLEV/2 + 16
4-11
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
Adr[bit]
Register
Explanation
1AEh[7:0]
YGAM_RNG1
Brightness gamma starting point of 1st section
1AFh[7:0]
YGAM_RNG2
Brightness gamma starting point of 2nd section
1B0h[7:0]
YGAM_RNG3
Brightness gamma starting point of 3rd section
1B1h[7:0]
YGAM_RNG4
Brightness gamma starting point of 4th section
1B2h[7:0]
YGAM_RNG5
Brightness gamma starting point of 5th section
1B3h[7:0]
YGAM_RNG6
Brightness gamma starting point of 6th section
1B4h[7:0]
YGAM_RNG7
Brightness gamma starting point of 7th section
1B5h[7:0]
YGAM_RNG8
Brightness gamma starting point of 8th section
1B6h[7:0]
YGAM_RNG9
Brightness gamma starting point of 9th section
1B7h[7:0]
YGAM_RNG10
Brightness gamma starting point of 10th section
1B8h[7:0]
YGAM_RNG11
Brightness gamma starting point of 11th section
1B9h[7:0]
YGAM_RNG12
Brightness gamma starting point of 12th section
1A0h[7:0]
YGAM_OFST0
Output at brightness gamma input =0
1A1h[7:0]
YGAM_OFST1
Output at brightness gamma input =YGAM_RNG1
1A2h[7:0]
YGAM_OFST2
Output at brightness gamma input =YGAM_RNG2
1A3h[7:0]
YGAM_OFST3
Output at brightness gamma input =YGAM_RNG3
1A4h[7:0]
YGAM_OFST4
Output at brightness gamma input =YGAM_RNG4
1A5h[7:0]
YGAM_OFST5
Output at brightness gamma input =YGAM_RNG5
1A6h[7:0]
YGAM_OFST6
Output at brightness gamma input =YGAM_RNG6
1A7h[7:0]
YGAM_OFST7
1A8h[7:0]
1A9h[7:0]
1AAh[7:0]
1ABh[7:0]
1ACh[7:0]
1ADh[7:0]
YGAM_OFST8
YGAM_OFST9
YGAM_OFST10
YGAM_OFST11
YGAM_OFST12
YGAM_OFST13
2FAh[0]
YGAM_SEL
Output at brightness gamma input =YGAM_RNG7
Output at brightness gamma input =YGAM_RNG8
Output at brightness gamma input =YGAM_RNG9
Output at brightness gamma input =YGAM_RNG10
Output at brightness gamma input =YGAM_RNG11
Output at brightness gamma input =YGAM_RNG12
Output at brightness gamma input =YGAM_RNG12+∆
Selection about OB data at gamma function
0: symmetry at the OB level
1: no OB subtraction. γ function is set from zero code of ADIN
4-12
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.4.2
LR38627
Preliminary
Technical Manual Ver0.42
White Clip
The maximum value of the brightness signal can be set with WHCLP.
The brightness signal of WHCLP or more is replaced with WHCLP_OUT.
Please set the same value to WHCLP and WHCLP_OUT usually.
WHCLP, WHCLP_OUT
SETUP
SYNCLEV
Adr[bit]
Register
20Bh[7:0]
WHCLP
Explanation
The clipping level of the brightness signal
20Ch[7:0] WHCLP_OUT The output level for the clipping signal
4.4.3
Middle-high frequency enhancement
The middle-high frequency enhance characteristics can be set with following settings.
The gain of enhancement can be automatically adjusted by the exposure multiplication value.
.
Adr[bit]
Register
Explanation
204h[4]
SEL_BPF
select the enhance characteristics
40
20
filter output (dB)
0
SEL_BPF=0
-20
SEL_BPF=1
-40
-60
-80
0
0.1
0.2
0.3
0.4
0.5
normalization frequency
(value times by clock = real frequency)
21B[4:0]
BPFGA
Adjustment of the enhance gain
4-13
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.4.4 Aperture correction
The edge signal is superimposed to the brightness signal, and do the aperture correction (edge enhancement).
Before the edge signal is extracted, the edge element of the high luminance part can be decreased by the APT_LIM
register.
The edge emphasis degree can be adjusted by putting the gain on the edge signal by HAPTGA and VAPTGA
register.In rounding processing of the low-level edge signal by HAPTCL and VAPTCL register after the edge
signal is extracted, the minute noise element is not emphasized. In rounding processing of the high-level edge
signal by APT_O_LIM register, it can be adjusted that an extreme edge is not superimposed.
APTLIM
Edge signal
HAPTCL or
VAPTCL
APT_O_LIM
HAPTGA or
VAPTGA
Adr[bit]
Register
Explanation
204h[0]
HAPT_OFF
204h[1]
VAPT_OFF
204h[3:2]
HAPT_SEL
208h[7:0]
APT_LIM
0: The horizontal aperture correction is ON
1: The horizontal aperture correction is OFF
0: The vertical aperture correction is ON
1: The vertical aperture correction is OFF
00: characteristic 1
01: characteristic 2
1-: don’t use
High luminance limit value at edge extraction circuit input level
213h[4:0]
HAPTGA
Gain of the horizontal edge signal
214h[4:0]
VAPTGA
Gain of the vertical edge signal
206h[6]
HAPTCLSEL
207h[6]
VAPTCLSEL
206h[5:0]
HAPTCL
0: The horizontal edge signal is not rounded.
1: The horizontal edge signal is rounded.
0: The vertical edge signal is not rounded.
1: The vertical edge signal is rounded.
Low-level limit value of the rounded horizontal edge signal
207h[5:0]
VAPTCL
Low-level limit value of the rounded vertical edge signal
209h[7:0]
APT_O_LIM
High-level limit value after edge signal gain is processed
4-14
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.4.5
LR38627
Preliminary
Technical Manual Ver0.42
Self adjustment of parameter that synchronizes with automatic control
The following signal parameters are synchronized with the automatic controls and suppressed automatically.
Shading compensation gain
Aperture gain
1) Synchronized and suppressed with AGC when AGC goes up more
than a set value
2) Synchronized and suppressed with the exposure multiplication value
when AGC is maximum and the exposure multiplication value falls
than the target value.
1) Synchronized and suppressed with AGC when AGC goes up more
than a set value.
2) Synchronized and suppressed with the exposure multiplication value
when AGC is maximum and the exposure multiplication value falls
than the target value.
3) Synchronized and suppressed with WBR when WBR goes up more
than a set value.
・ Shading compensation gain
The shading gain can be automatically suppressed by judging the decrease in quantities of light of subject when it is
dark. The suppression level of the shading compensation gain is calcurated by using the exposure multiplication
value and the AGC value (called “AGC_DAT” in ch.4.5.1) generated internally automatically.
The suppression that synchronizes with AGC_DAT is not done for AGC_DAT<SHD_S. The gain is suppressed by
AGC_DAT under SHD_S ≤ AGC_DAT ≤ MAX_AGC. When the exposure is insufficient with MAX_AGC, it is
suppressed by the difference the exposure multiplication value EDATA to the target value REF_IRIS. Regardless of
the AGC value, it is suppressed by the exposure multiplication value synchronization with the under-exposure in the
state of the transition of the automatic exposure control
To invalidate this automatic adjustment, it is set as SHD_H=SHD_Y=0.
Under-exposure
Proper exposure
Compensation
gain
Suppression
level (0 to 32)
Inclination: SHD_Y
Inclination
:SHD_H
SHD_S
MAX_AGC
Synchronized with AGC_DAT
REF_IRIS
Synchronized with EDATA
Light intensity of subject: Less
Suppression level = (AGC_DAT – SHD_S) * SHD_H /32 + (REF_IRIS –EDATA) * SHD_Y/16
Adr[bit]
Register
Explanation
22Dh[7:0]
SHD_S
Shading gain attenuation beginning point (AGC value)
22Eh[5:0]
SHD_H
22Fh[5:0]
SHD_Y
AGC synchronization coefficient of shading gain
Exposure multiplication value synchronization
coefficient of shading gain
4-15
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
(example of settings)
When the compensation gain is 32 before it suppresses and it is set SHD_S=4Ch, SHD_H=1Eh, and SHD_Y=08h,
the gain characteristics becomes as followed.
1) AGC becomes over 18dB with the decrease in quantities of light of subject, the gain suppression is started.
2) Suppression level is 50% and compensation gain is 16 at maximum AGC (24 dB in this example).
3) When quantities of light decrease continuesly and the exposure is insufficient with MAX_AGC, the gain is
suppressed by the EDATA.
4) When EDATA=REF_IRIS / 2, the gain becomes 0.
Compensation
gain
SHD_H=1Eh
100% (32 degree)
SHD_Y=08h
Suppression
start
50%(16)
(AGC_DAT)
REF_IRIS=40h
SHD_S=4Ch
EDATA=20h
AGC_DAT=5Dh
(AGC=18dB)
(AGC=24dB:MAX_AGC)
Light intensity of subject: Less
4-16
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
・ Aperture gain
The Aperture gain can be automatically suppressed by using AGC value and the exposure multiplication value to
judge the decrease in quantities of light of subject when it is dark. To invalidate this automatic adjustment, it is set
as APT_H=APT_Y=0.
Under exposure
Proper expoure
Inclination
: APT_H
Inclination: APT_Y
APT_S
(EDATA is less)
(AGC_DAT)
MAX_AGC
REF_IRIS
Synchronized with AGC_DAT
Synchronized with EDATA
Light intensity of subject:less
An actual aperture gain is the one that the above-mentioned characteristic was multiplied to horizontal aperture gain
(HAPTGA) and vertical aperture gain (VAPTGA). Please refer to the adjustment of the shading gain for the
example of a setting value.
Adr[bit]
Register
Explanation
215h[7:0]
APT_S
Suppression beginning point of aperture gain(AGC value).
216h[5:0]
APT_H
217h[5:0]
APT_Y
213h[4:0]
HAPTGA
AGC synchronization coefficient of aperture gain.
Exposure integrated value synchronization coefficient of
aperture gain.
The horizontal aperture gain.
214h[4:0]
VAPTGA
The vertical aperture gain.
Aperture gain can be automatically adjustment synchronous with red gain for white balance (WBR).
Inclination:APT_K
Limit: APT_L
WBR
APT_W
Adr[bit]
Register
218h[5:0]
APT_L
219h[7:0]
APT_W
21Ah[5:0]
APT_K
Color temperature: Low → High
Explanation
Limit of WBR synchronzation aperture gain adjustment.
Beginning point of WBR synchronzation aperture gain
adjustment
WBR coefficient address of aperture gain.
4-17
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.5.
LR38627
Preliminary
Technical Manual Ver0.42
Exposure control
It is a function to adjust the AGC value of AFE-module and the electronic shutter speed of CCD utomatically, and
to keep the input level of the image data of this LSI to be constant.
4.5.1 Fixation of IRIS
When the adjustment of the circuit gains of the brightness gamma, the color separation matrix, the color difference
gain, and etc. and the automatic control are unnecessary, the exposure control can be fixed by the following
settings.
Adr[bit]
019h[7:4]
080h[0]
053h[5:4],
054h[7:0]
018h[7]
104h[0]
109h[7:0],
10Ah[0]
Register
REG_EEMD
AGC_FIX
FIX_AGC1
Explanation
The speed of an electronic shutter is fixed.
When AGC_FIX=1, the AGC value is fixed to FIX_AGC1.
AGC value at AGC_FIX=1
When REG_AGCSW=1 and AGC_FIX=0, the AGC value is
fixed by a present value.
When EE_ADR_HOLD=1, the address of the exposure table is
EE_ADR_HOLD
fixed to FIX_IRIS_ADR1.
REG_AGCSW
FIX_IRIS_ADR1 A fixed address at EE_ADR_HOLD=1
When the shutter speed and the AGC value are fixed by the set according to the exposure table, EE_ADR_HOLD
is used. When only either of the AGC value or the shutter speed is fixed, AGC_FIX and REG_EEMD are used.
REG_EEMD
For NTSC
For PAL
0000
1/60
1/50
0001
1/100
1/120
0010
1/250
1/250
0011
1/500
1/500
0100
1/1000
1/1000
0101
1/2000
1/2000
0110
1/5000
1/5000
0111
1/10000
1/10000
1000
1/20000
1/20000
1001
1/50000
1/50000
1010
1/100000
1/100000
1110
Automatic control (Note1)
1111
Automatic control
Another
Set prohibition
Note) The maximum shutter speed can be set with MAX_SH.
If it is REG_AGCSW=AGC_FIX=0 even when the shutter is fixed with REG_EEMD, the automatic exposure
control by AGC is done.
4-18
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
(example of settings)
To fix the AGC gain, the FIX_AGC1 register is set referring to the following expressions and tables.
AGC gain (dB) = FIX_AGC1 * 44.016 / 1023 – 8.097
Under the automatic exposure control, it is adjusted by the AGC_DAT made by the sum of the data (AGC_TBL)
from exposure table and minimum AGC value (REF_AGC). The REF_AGC is set referring to the following tables.
AGC gain (dB) = (AGC_TBL + REF_AGC)*8 * 44.016 / 1023 – 8.097
SHD_S for shading compensation, APT_S for aperture, and CKI_S for color cuppression under the quantities of
light shortage are referring to the following tables as AGC_DAT.
dB
-8.1
0.2
2.9
6.0
9.1
11.9
15.0
18.1
21.2
23.9
27.0
30.1
33.2
35.6
AGC_DAT
(AGC_TBL+REF_AGC)
SHD_S, APT_S, CKI_S
0 (00h)
24 (18h)
32 (20h)
41 (29h)
50 (32h)
58 (3Ah)
67 (43h)
76 (4Ch)
85 (55h)
93 (5Dh)
102 (66h)
111 (6Fh)
120 (78h)
127 (7Fh)
FIX_AGC1
0 (000h)
192 (0C0h)
256 (100h)
328 (148h)
400 (190h)
464 (1D0h)
536 (218h)
608 (260h)
680 (2A8h)
744 (2E8h)
816 (330h)
888 (378h)
960 (3C0h)
1016 (3F8h)
Please set FIX_IRIS_ADR1 register referring to the following tables to invalidate the automatic exposure control
by fixed shutter speed and fixed AGC. A set value of FIX_IRIS_ADR1 to reache the target dB value changes by
setting REF_AGC.MAX_AGC register as upper limit of the exposure table is set by following tables similar to
FIX_IRIS_ADR1.
The example of the maximum AGC gain or fixation AGC gain to 6dB and 36dB is shown below.
Address of the exposure table = 185 + AGC_TBL (NTSC)
Address of the exposure table = 188 + AGC_TBL (PAL)
6dB
NTSC
REF_AGC AGC_TBL
0
24
32
41
6dB
41
17
9
0
36dB
FIX_IRIS_ADR1
226
202
194
185
PAL
REF_AGC AGC_TBL
0
24
32
41
41
17
9
0
NTSC
minimum
REF_AGC
AGC
0
-8.1
24
0.2
32
2.9
41
6.0
36dB
FIX_IRIS_ADR1
229
205
197
188
PAL
minimum
REF_AGC
AGC
0
-8.1
24
0.2
32
2.9
41
6.0
MAX_AGC
FIX_IRIS_ADR1
312
288
280
271
MAX_AGC
FIX_IRIS_ADR1
315
291
283
274
4-19
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.5.2
LR38627
Preliminary
Technical Manual Ver0.42
Exposure fixation and restart hysteresis
If the exposure control data is installed on the constant error range set with CTLD_0 for exposure target value
REF_IRIS, the exposure control is fixed
After fixing the exposure control, neither the shutter nor the AGC value are changed until the error margin with
REF_IRIS become exposure restart standard CTLD_AGC or more. The exposure control is restarted when going
out beyond the limits of CTLD_AGC. A value that is bigger than CTLD_0 is set to CTLD_AGC usually.
Exposure control data
EE_STEP
CTLD_0
REF_IRIS
CTLD_AGC
Gain
Time
Down
Fixation
Up
Time
Adr[bit]
Register
102h[7:0]
CTLD_AGC
103h[7:0]
CTLD_0
Explanation
standard value for exposure restart
(comparison to the error marginfrom REF_IRIS)
standard values for exposure fixation
(comparison to the error marginfrom REF_IRIS)
4-20
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.5.3
LR38627
Preliminary
Technical Manual Ver0.42
Exposure operation speed
The operation speed of the exposure control can be adjusted by the following settings.
First of all, the number of steps increased and decreased by the exposure once control is adjusted with EE_STEP.
EE_STEP sets three stages according to the degree of the error margin of exposure control data (integrated value)
and exposure target value REF_IRIS.
It changes into REF_IRIS by 1 step when the control data is 75%-150%, and by the setting of EE_STEP_H or
EE_STEP_M when others. It moves in twice steps of EE_STEP_H/M when a set value of EE_STEP_H/M is not 0,
and moves by one when it is 0.
It sets it with EE_STEP_H.
200%
Exposure control data
It sets it with EE_STEP_M.
150%
1
100%
REF_IRIS
75%
EE_STEP_M
50%
EE_STEP_H
EE_STEP_H,M setting value
0
Excluding 0
Adr[bit]
Amount of increase and decrease
1
EE_STEP_H,M×2
Register
Explanation
Number of steps increased and decreased by exposure once control
110h[4:0] EE_STEP_H
(far from REF_IRIS)
Number of steps increased and decreased by exposure once control
10Fh[3:0] EE_STEP_M
(medium range of error margin)
Exposure control data LPF characteristic setting for the outside of
060h[1]
EE_LPF_H hysteresis frame
0: thning out 1: average
Exposure control data LPF characteristic setting for the inside of
060h[0]
EE_LPF_L hysteresis frame
0: thning out 1: average
Thinning out operation setting of exposure control for the outside of
hysteresis frame
00: every field
108h[3:2] IRIS_DLY_H
01: once per two fields
10: once per four fields
11: once per eight fields
Thinning out operation setting of exposure control for the inside of
hysteresis frame
00: every field
108h[1:0] IRIS_DLY_L
01: once per two fields
10: once per four fields
11: once per eight fields
4-21
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.5.4
LR38627
Preliminary
Technical Manual Ver0.42
Range of exposure control
The automatic exposure control synchronizes with AGC and shutter speed according to the exposure control table
of ch.4.9.1. It is used AGC_DAT for the synchronization that added AGC_TBL obtained from the exposure control
table and REF_AGC as minimum AGC gain.
AGC_DAT = AGC_TBL + REF_AGC
The upper bound of AGC, the address lower bound at the high speed shutter, and the open speed selection at a
low-speed shutter can be adjusted among ranges defined in the exposure control table.
Adr[bit]
Register
019h[7:4]
REG_EEMD
071h[0],
070h[7:0]
MAX_SH
072h[0]
MIN_SH_SEL
074h[0],
073h[7:0]
MAX_AGC
Explanation
1111: The automatic exposure control is done.
1110: The automatic exposure control is done with the limitation of
the maximum shutter speed by MAX_SH.
0000-1010:The speed of the shutter is fixed. (references 4.5.1)
The speed of the highest shutter is set.
Please set the address lower bound value of the useful range of the
exposure control table.
0: the minimum shutter speed is 1/60 second. (when PAL, 1/50sec.)
1: the minimum shutter speed is 1/100 second. (when PAL, 1/120sec.)
The maximum gain of AGC is set.
Please set the address upper bound value of the useful range of the
exposure control table.
The range of the address controlled with AGC is shown in the following tables among the exposure table. The
range changes by selecting driving mode and AFE used. Please set it to MAX_AGC from among this range.
Moreover, please set MAX_SH within the range of the shutter control in the table.
Range of shutter
control
(range of
MAX_SH)
Range of AGC
control
(range of
MAX_AGC)
TVMD=0 (NTSC)
TVMD=1 (PAL)
No.0(000h) –
No.185(0B9h)
No.0(000h) –
No.188(0BCh)
No.185(0B9h) –
No.312(138h)-REF_AGC
No.188(0BCh) –
No.315(13Bh)-REF_AGC
Note) 36db or more cannot be set as MAX_AGC.
4-22
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.5.5 Adjustment of exposure multiplication
The multiplication data for the exposure control is calculated based on the following three statistics.
E_DATA
HPEAK
LPEAK
Brightness mean value
(It can be an injury with the weight multiplication)
High luminance peak
Low brightness peak
Data for exposure control = {E_DATA * ( 256 - H_PEE - L_PEE ) +
HPEAK* P_HEE + LPEAK* P_LEE} ÷ 256
Please set to become P_HEE+P_LEE<256.
The influence of the peak value can be considered for contrasty subject.
So as not to make the high luminance part of contrasty subject easy to saturate, P_HEE register is set to consider
the influence of a high luminance peak. Oppositely, so as not to influent the high luminance part, CLIP_IRIS
register is set to clip the upper bound before it multiplies.
Adr[bit]
Register
105h[7:0]
P_HEE
106h[7:0]
P_LEE
111h[6]
MOD8
124h[7:0]
CLIP_IRIS
Explanation
Correction ratio of integrated values by brightness High
peak value
Correction ratio of integrated values by brightness Low
peak value
Switch of method of detecting peak
0: The maximum value of 8 pixel average
1: The maximum value of 4 pixel average
Setting of brightness level upper bound when exposure
data is multiplied.
The brightness signal of CLIP_IRIS or more is clipped
with CLIP_IRIS and multiplied.
4-23
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.5.6 Range of multiplication
The integrated value of the exposure data can be requested by dividing one image into 12groups (Gr.A-L), and
setting the coefficient individually. The division method to 12 groups can be selected from the following six kinds.
Gr.A
Gr.B
Gr.G
Gr.H
K L
L K
Gr.I
Gr.J
Gr.C
Gr.E
Gr.C
Gr.D
Gr.F
Gr.D
NWE_TYPE1=”000”
Gr.A
Gr.B
Gr.G
Gr.K
Gr.K
Gr.H
Gr.I
Gr.L
Gr.L
Gr.J
Gr.C
Gr.E
Gr.C
Gr.D
Gr.F
Gr.D
NWE_TYPE1=”001”
Gr.A
Gr.B
Gr.L
Gr.G
Gr.L
Gr.H
Gr.K
Gr.K
Gr.I
Gr.L
Gr.J
Gr.L
Gr.C
Gr.E
Gr.C
Gr.D
Gr.F
Gr.D
NWE_TYPE1=”010”
Gr.A
Gr.B
Gr.G
Gr.A
Gr.B
Gr.G
Gr.A
Gr.B
Gr.G
K L
I
Gr.K
H
I
L K
I
H
I
Gr.L
Gr.J
Gr.C
Gr.E
Gr.C
Gr.D
Gr.F
Gr.D
NWE_TYPE1=”100”
Gr.L
Gr.K
Gr.K
Gr.L
Gr.J
Gr.C
Gr.E
Gr.C
Gr.D
Gr.F
Gr.D
NWE_TYPE1=”101”
I
H
Gr.L
I
Gr.K
Gr.L
Gr.J
Gr.L
Gr.C
Gr.E
Gr.C
Gr.D
Gr.F
Gr.D
NWE_TYPE1=”110”
NWE_TYPE2=”00”
NWE_TYPE2=”01”
Except Multiplication
Multiplication part
Multiplication part
Except Multiplication
Multiplicated
Multiplication part
All part is
Multiplication part
Except Multiplication
Moreover, a part of the image can be assumed to be multiplication off the subject besides the weight putting by
above-mentioned NWE_TYPE1. The specification of multiplying off the subject the area can be selected from the
following 4 types.
NWE_TYPE2=”10”
NWE_TYPE1=”11”
(examples)
The integrated value with default settings is center-weighted as followed. To even up the weight putting, all group
is set as 8.
6
7
11
7
11
7
7
6
14
8
7
8
11
11
8
6
8
8
8
7
8
7
6
8
8
default settings
8
8
8
8
8
8
8
8
8
evenness settings
4-24
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Adr[bit]
Register
112h[3:0]
regA
Weight putting coefficient for Gr.A
112h[7:4]
regB
Weight putting coefficient for Gr.B
113h[3:0]
regC
Weight putting coefficient for Gr.C
113h[7:4]
regD
Weight putting coefficient for Gr.D
114h[3:0]
regE
Weight putting coefficient for Gr.E
114h[7:4]
regF
Weight putting coefficient for Gr.F
115h[3:0]
regG
Weight putting coefficient for Gr.G
115h[7:4]
regH
Weight putting coefficient for Gr.H
116h[3:0]
regI
Weight putting coefficient for Gr.I
116h[7:4]
regJ
Weight putting coefficient for Gr.J
117h[3:0]
regK
Weight putting coefficient for Gr.K
117h[7:4]
regL
Weight putting coefficient for Gr.L
111h[2:0]
NWE_TYPE1
Shape selection of multiplication group
111h[4:3]
NWE_TYPE2
Selection of multiplying off area
Technical Manual Ver0.42
Explanation
For the comparison between exposure integration value and standard value as REF_IRIS1 and REF_IRIS2, please
fill the following restrictions about the weight putting coefficient.
Σ(C,DE,F,G,H,I,J)+Σ(A,B,K,L)*2=128
If NEW_TYPE2 is set as 01, 10, or 11, please set the weight putting coefficients to make the sum for the useful
area 96 as above evenness settings.
4-25
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.6.
LR38627
Preliminary
Technical Manual Ver0.42
Color signal processing adjustment
4.6.1
RGB matrix
The matrix matched to the sensor spectrum characteristic is adjusted for RGB separated by the complementary
filter. 3×3 coefficients of the matrix are adjusted by the following registers. Each coefficient is set by the one's
complement.
Adr[bit]
Register
Explanation
045h[7:0]
MRR
Rout element coefficient to make Rin (two's complement)
046h[7:0]
MRG
Gout element coefficient to make Rin (two's complement)
047h[7:0]
MRB
Bout element coefficient to make Rin (two's complement)
048h[7:0]
MGR
Rout element coefficient to make Gin (two's complement)
049h[7:0]
MGG
Gout element coefficient to make Gin (two's complement)
04Ah[7:0]
MGB
Bout element coefficient to make Gin (two's complement)
04Bh[7:0]
MBR
Rout element coefficient to make Bin (two's complement)
04Ch[7:0]
MBG
Gout element coefficient to make Bin (two's complement)
04Dh[7:0]
MBB
040h[5:0]
Bout element coefficient to make Bin (two's complement)
Gain control for matrix adjustment
00 : by half
RGB_DIVSEL 01 : default
10 : twice
11 : four times
First of all, please set the parameters MRR, MGG, and MBB to obtain by strength to which the red green blue code
is appropriate according to the characteristic of the optical system. Afterwards, if the G signal sensitivity to
wavelength in the vicinity of red is high, the value of the minus is set to the MGR coefficient to remove the
correlation for instance.
Rout
Gout
Bout
=
MRR
MRG
MRB
Rin
MGR
MGG
MGB
Gin
MBR
MBG
MBB
Bin
4-26
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.6.2
LR38627
Preliminary
Technical Manual Ver0.42
RGB gamma characteristic
The gamma control can be put by a common characteristic to RGB value in which the white balance is adjusted.
The characteristic of the gamma control can be set by the straight line. However, please set CGAM_OFS0-13 to
become a monotone increase (increase or constancy) in all sections and set the width in the section to become the
N-th power of two.
About ∆ in the last section, please refer to ch.4.4.1
4
5
6
7
10
11
12
OFSET
2 3 45 6 7
10 13
0 1 2 3
Section
8
9
0
1
Δ
1 2 3
4
5
6
7
8
9
10
11
12
Adr[bit]
Register
Explanation
1CEh[7:0]
CGAM_RNG1
Color gamma starting point of 1st section
1CFh[7:0]
CGAM_RNG2
Color gamma starting point of 2nd section
1D0h[7:0]
CGAM_RNG3
Color gamma starting point of 3rd section
1D1h[7:0]
CGAM_RNG4
Color gamma starting point of 4th section
1D2h[7:0]
CGAM_RNG5
Color gamma starting point of 5th section
1D3h[7:0]
CGAM_RNG6
Color gamma starting point of 6th section
1D4h[7:0]
CGAM_RNG7
Color gamma starting point of 7th section
1D5h[7:0]
CGAM_RNG8
Color gamma starting point of 8th section
1D6h[7:0]
CGAM_RNG9
Color gamma starting point of 9th section
1D7h[7:0]
CGAM_RNG10
Color gamma starting point of 10th section
1D8h[7:0]
CGAM_RNG11
Color gamma starting point of 11th section
1D9h[7:0]
CGAM_RNG12
Color gamma starting point of 12th section
1C0h[7:0]
CGAM_OFST0
Color gamma output at input =0
1C1h[7:0]
CGAM_OFST1
Color gamma output at input =CGAM_RNG1
1C2h[7:0]
CGAM_OFST2
Color gamma output at input =CGAM_RNG2
1C3h[7:0]
CGAM_OFST3
Color gamma output at input =CGAM_RNG3
1C4h[7:0]
CGAM_OFST4
Color gamma output at input =CGAM_RNG4
1C5h[7:0]
CGAM_OFST5
Color gamma output at input =CGAM_RNG5
1C6h[7:0]
CGAM_OFST6
Color gamma output at input =CGAM_RNG6
1C7h[7:0]
CGAM_OFST7
Color gamma output at input =CGAM_RNG7
4-27
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.6.3
LR38627
Preliminary
Technical Manual Ver0.42
1C8h[7:0]
CGAM_OFST8
Color gamma output at input =CGAM_RNG8
1C9h[7:0]
CGAM_OFST9
Color gamma output at input =CGAM_RNG9
1CAh[7:0]
CGAM_OFST10
Color gamma output at input =CGAM_RNG10
1CBh[7:0]
CGAM_OFST11
Color gamma output at input =CGAM_RNG11
1CCh[7:0]
CGAM_OFST12
Color gamma output at input =CGAM_RNG12
1CDh[7:0]
CGAM_OFST13
Color gamma output at input = CGAM_RNG12+∆
Generation of color difference signal
The color-difference signal is generated from RGB signals after gamma correction. Please usually use the default
value though the color difference signal is generated can be adjusted.
Each coefficient is set by the two's complement.
R-Y
K_UVG1
K_UVG3
R-G
K_UVG2
K_UVG4
B-G
=
B-Y
Adr[bit]
Register
Explanation
1DAh[7:0]
K_UVG1
R-G coefficient when R-Y is made
1DBh[7:0]
K_UVG2
R-G coefficient when B-Y is made
1DCh[7:0]
K_UVG3
B-G coefficient when R-Y is made
1DDh[7:0]
K_UVG4
1E0h[1:0]
UV_DIVSEL
B-G coefficient when B-Y is made
Gain control for color differential signal
00 : one-quarter
01 : by half
10 : default
11 : twice
4-28
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.6.4 Color suppression
There are four kinds of color suppression processing of this LSI: color suppression to the edge part, color
suppression in the high luminance region, color suppression in the low brightness region, and color suppression at
low illuminance.
・ Color suppression to the edge
It is a function to suppress the false color generated in the edge part of the horizontal and vertical direction.
The color is suppressed by suppressing the color difference gain (The gain of one or less is multiplied) by the
signal generated putting the gain after a low-level part clipping of the edge signal of brightness.
・
Adr[bit]
Register
1E1h[6]
CKIL_OFF
200h[7:0]
201h[7:0]
CKIHELE
CKIVELE
202h[7:4]
CKIHEGA
202h[3:0]
CKIVEGA
204h[5]
CKISFT
204h[6]
CKISEL0
204h[7]
CKISEL1
Explanation
0: The color is suppressed. (Usually)
1: The color is not suppressed.
The horizontal edge signal of CKIHELE or less is clipped.
The vertical edge signal of CKIVELE or less is clipped.
Gain put on the horizontal edge signal for the edge color suppression
gain signal generation
Gain put on the vertical edge signal for the edge color suppression
gain signal generation
Circuit gain adjustment of edge color suppression signal
0: default
1: by half
0: It averages by the horizontal two pixels.
1: It doesn't average by the horizontal two pixels.
Operation setting of edge color suppression
Please set it 1.
・ Color suppression in the high luminance or low brightness
It is a function to suppress the color signal in the high luminance region or the low brightness region in the image.
The color suppression level is decided by the following expressions. The color is suppressed by multiplying the
color difference gain by this color suppression level.
for high luminance region : (Brightness signal (Before the gamma) - CKI_HCL) × CKI_HGA
for low brightness region : (CKI_LCL - Brightness signal (Before the gamma)) × CKI_LGA
Adr[bit]
Register
1E2h[7:0]
CKI_HCL
1E3h[7:0]
CKI_LCL
1E4h[7:4]
CKI_HGA
Explanation
The color suppression is done to the pixel of the brightness (ADIN[11:0])
as CKI_HCL*16 or more
The color suppression is done to the pixel of the brightness (ADIN[11:0])
as CKI_LCL*4 or less
Gain of high luminance color suppression
1E4h[3:0]
CKI_LGA
Gain of low brightness color suppression
4-29
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
・ Color suppression at low illuminance
Color suppression level can be automatically made strong by using AGC value and the exposure multiplication
value to judge the decrease in quantities of light of subject when it is dark. To invalidate this automatic adjustment,
it is set as COL_H=COL_Y=0.
Proper exposure
Under exposure
Inclination
: COL_H
Inclination: COL_Y
COL_S
MAX_AGC
REF_IRIS
Synchronized with AGC_DAT
Synchronized with EDATA
Light intensity of subject: Less
Adr[bit]
Register
Explanation
211h[7:0]
COL_S
The color suppression beginning point (AGC value).
212h[5:0]
COL_H
AGC synchronization coefficient for color suppression level.
210h[5:0]
COL_Y
EDATA synchronization coefficient for color suppression level
Please refer to ch. 4.4.5 the adjustment of the shading gain for the example of a setting value.
・ Color difference noise suppression
It is possible to make it to colorlessness by doing the clip because there is a possibility of the noise in the part of
low-level about the color-difference signal.
Adr[bit]
Register
Explanation
1E6h[7:4]
NSUP_R
The R-Y signal of NSUP_R or less is adjusted to 0.
1E6h[3:0]
NSUP_B
The B-Y signal of NSUP_B or less is adjusted to 0.
4-30
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.7.
LR38627
Preliminary
Technical Manual Ver0.42
White balance control
4.7.1
Fixation of AWB
When the adjustment of the gains of the brightness gamma, the color separation matrix, the color difference gain,
and etc. and automatic control are unnecessary, the white balance control and the exposure control can be fixed by
the following settings.
Adr[bit]
133h[6]
019h[3:2]
Register
SELFIXWB
REG_WB_SEL
SELFIXWB WB_SEL
0
00
0
01
0
10
1
00
1
01
1
10
4.7.2
11
Explanation
0: A fixed white balance is set with REF_xxx.
1: A fixed white balance is set with FIX_xxx.
00: Fixed white balance mode 1 (FIX1 or REF1)
01: Fixed white balance mode 2 (FIX2 or REF2)
10: Fixed white balance mode 3 (FIX3 or REF3)
11: Automatic control (REF1,2,3 is used )
White balance
Fixed to REF1
Fixed to REF2
Fixed to REF3
Fixed to FIX1
Fixed to FIX2
Fixed to FIX3
Self adjustment
Color difference gain and color difference matrix gain
It fixes in the REF1 parameter group.
It fixes in the REF2 parameter group.
It fixes in the REF3 parameter group.
It fixes in the FIX1 parameter group.
It fixes in the FIX2 parameter group.
It fixes in the FIX3 parameter group.
Linear interpolation by white balance red gain WBR
Between MIN and MAX through REF1, REF2, and REF3
Generation of three reference point
For automatic control or fixed to REF1,2,3, then a standard color temperature, a standard lighting, and the object
are defined by three conditions (a low color temperature, a middle level, and the high color temperature). The
reference parameter that can adjust the white balance is made at each color temperature.
White balance gain WBR and WBB are increased and decreased under the automatic control so that the integrated
value may approach the starting point (no color) within the range of the MIN/MAX restriction. The color
difference gain and the color difference matrix gain are calculated by interpolating between the three reference
point of REF1, 2, and 3 based on white balance red gain (WBR).
・ Gain interpolation of color difference and color difference matrix
Color difference gain toward R-Y(+) is interpolated as followed.
Range of WBR
MIN_WBR*2 < WBR < REF_WBR1
REF_WBR1 < WBR < REF_WBR2
Interpolated color difference gain
REF_GA_R1P
{ REF_GA_R2P * (WBR - REF_WBR1)
+ REF_GA_R1P * (REF_WBR2 - WBR) }
/ (REF_WBR2 ‒ REF_WBR1)
REF_WBR2 < WBR < REF_WBR3
{ REF_GA_R3P * (WBR - REF_WBR2)
+ REF_GA_R2P * (REF_WBR3 - WBR) }
/ (REF_WBR3 ‒ REF_WBR2)
REF_WBR3 < WBR < MAX_WBR*2
REF_GA_R3P
Color difference gain toward R-Y(-), B-Y(+), B-Y(-) and color difference matrixes is interpolated as same.
4-31
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.7.3
LR38627
Preliminary
Technical Manual Ver0.42
Adjustment of white balance to white sample
The white balance gain in the three reference point is decided.
White balance red gain REF_WBR1, 2, 3 are used when adjusting it for the reference, and used as a straight line
reference point of the interpolation synchronized WBR for color difference gain and matrix in automatic control.
However, white balance blue gain REF_WBB1, 2, 3 are used when adjusting it for the reference, there are not used
in automatic control.
White balance to white sample in automatic control is not influenced by REF_WBR1,2,3 and REF_WBB1,2,3.
For the adjustment of white balance, it is set the shape of multiplication frame, gain limit (MIN_WBR,
MAX_WBR, MIN_WBB_OFST*, MAX_WBB_OFST*), and etc.
Adr[bit]
Register
Explanation
163h[7:0]
REF_WBR1
White balance red gain for REF1 (low color temperature)
164h[7:0]
REF_WBB1
White balance blue gain for REF1 (low color temperature)
165h[7:0]
REF_WBR2
White balance red gain for REF2 (middle color temperature)
166h[7:0]
REF_WBB2
White balance blue gain for REF2 (middle color temperature)
167h[7:0]
REF_WBR3
White balance red gain for REF3 (high color temperature)
168h[7:0]
REF_WBB3
White balance blue gain for REF3 (high color temperature)
Please, set each values to meet the below conditions.
REF_WBR1 ≤ REF_WBR2 ≤ REF_WBR3
REF_WBB3 ≤ REF_WBB2 ≤ REF_WBB1
R-Y
WBR (+)
WBB(-)
White
WBB(+)
WBR (-)
B-Y
4-32
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
(examples)
WBB
511
lower bound by
upper bound by MAX_WBR
reference point specified by
parameter set of REF1
256
upper bound by
MAX_WBB_OFST*
reference point specified by
parameter set of REF2
3500K
reference point specified by
parameter set of REF3
5500K
lower bound by
MIN_WBB_OFST*
8000K
0
64
MIN to
REF1
96
REF1 to
REF2
128
160 192
REF2 to REF3
256
511
WBR
REF3 to MAX
Each reference point is defined by 8bit and useful region is showed by the one point chain line in the above. White
balance gain is defined by 9 bit and showed by the solid line. MIN_WBR, MAX_WBR, MIN_WBB_OFST* and
MAX_WBB_OFST* are defined by 9bit which only 8bit is adjustable by the registers but LSB is fixed to 0.
RGB matrix is adjusted to keep REF_WBR1-3 and REF_WBB1-3 in the useful region as reference point.
White balance gain as WBR and WBB are increased or decresed in the above solid line based on IQ integration.
The color difference gain and matrix are calculated by interpolating between the three reference point of REF1, 2,
and 3 based on white balance red gain (WBR).
When WBR is less than REF_WBR1, it is used a parameter set for REF1. When WBR is between REF_WBR1
and REF_WBR2, it is used a interpolating parameter set from REF1 and REF2. When WBR is between
REF_WBR2 and REF_WBR3, it is used a interpolating parameter set from REF2 and REF3. When WBR is more
than REF_WBR3, it is used a parameter set for REF3.
4-33
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.7.4
LR38627
Preliminary
Technical Manual Ver0.42
Gain of color difference signal
The color difference gain of each area on R-Y and the B-Y axis can be adjusted by the following settings. Three
points referred to by automatic control are set to REF_GA_xxx. It is possible to fix to either of the reference points
of automatic control with WB_SEL at SEL_FIX_WB=0. It sets to SEL_FIX_WB=1 and used the FIX_xxx group
to set a fixed white balance to the point besides the reference point of automatic control.
Adr[bit]
Register
169h[7:0]
REF_GA_R1M
16Ah[7:0]
REF_GA_B1M
16Bh[7:0]
REF_GA_R1P
16Ch[7:0]
REF_GA_B1P
16Dh[7:0]
REF_GA_R2M
16Eh[7:0]
REF_GA_B2M
16Fh[7:0]
REF_GA_R2P
170h[7:0]
REF_GA_B2P
171h[7:0]
REF_GA_R3M
172h[7:0]
REF_GA_B3M
173h[7:0]
REF_GA_R3P
174h[7:0]
REF_GA_B3P
14Bh[7:0]
FIX_GA_R1M
:
:
156h[7:0]
FIX_GA_B3P
1E0h[7]
MODE_MAT
133h[6]
SELFIXWB
019h[3:2]
REG_WB_SEL
Explanation
Automatic control reference point of Color difference gain
toward R-Y axis in - region (low color temperature)
Automatic control reference point of Color difference gain
toward B-Y axis in - region (low color temperature)
Automatic control reference point of Color difference gain
toward R-Y axis in + region (low color temperature)
Automatic control reference point of Color difference gain
toward B-Y axis in + region (low color temperature)
Automatic control reference point of Color difference gain
toward R-Y axis in - region (middle color temperature)
Automatic control reference point of Color difference gain
toward B-Y axis in - region (middle color temperature)
Automatic control reference point of Color difference gain
toward R-Y axis in + region (middle color temperature)
Automatic control reference point of Color difference gain
toward B-Y axis in + region (middle color temperature)
Automatic control reference point of Color difference gain
toward R-Y axis in - region (high color temperature)
Automatic control reference point of Color difference gain
toward B-Y axis in - region (high color temperature)
Automatic control reference point of Color difference gain
toward R-Y axis in + region (high color temperature)
Automatic control reference point of Color difference gain
toward B-Y axis in + region (high color temperature)
Color difference gain at fixed white balance (SEL_FIX_WB=1)
Selection of the setteings used in - region of each axis.
0: xxxP (it is used same parameters as the (+) region)
1: xxxM (it is used different parameters at the (+) region)
0: A fixed white balance is set with REF_xxx.
1: A fixed white balance is set with FIX_xxx.
00: Fixed white balance mode 1 (FIX1 or REF1)
01: Fixed white balance mode 2 (FIX2 or REF2)
10: Fixed white balance mode 3 (FIX3 or REF3)
11: Automatic control (REF1, 2, 3 is used )
R-Y
GA_RxP
GA_BxM
GA_BxP
B-Y
GA_RxM
4-34
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.7.5
LR38627
Preliminary
Technical Manual Ver0.42
Phase adjustment of color difference
The phase of the color-difference signal of each area on R-Y and B-Y axis is adjusted by the following settings.
Three points referred to by automatic control are set to REF_MAT_xxx. It is possible to fix to either of the
reference points of automatic control with WB_SEL at SEL_FIX_WB=0. It sets to SEL_FIX_WB=1 and the
FIX_xxx group is used to set a fixed white balance to the point besides the reference point of automatic control.
Adr[bit]
Register
175h[7:0]
REF_MAT_R1M
176h[7:0]
REF_MAT_B1M
177h[7:0]
REF_MAT_R1P
178h[7:0]
REF_MAT_B1P
179h[7:0]
REF_MAT_R2M
17Ah[7:0] REF_MAT_B2M
17Bh[7:0]
REF_MAT_R2P
17Ch[7:0]
REF_MAT_B2P
17Dh[7:0] REF_MAT_R3M
17Eh[7:0]
REF_MAT_B3M
17Fh[7:0]
REF_MAT_R3P
180h[7:0]
REF_MAT_B3P
157h[7:0]
FIX_MAT_R1M
:
:
162h[7:0]
FIX_MAT_B3P
1E0h[7]
MODE_MAT
133h[6]
SELFIXWB
019h[3:2]
REG_WB_SEL
R-Y
MAT_RxP (-)
Explanation
Amount of B-Y correction of color difference matrix
R-Y axis in - region (low color temperature)
Amount of R-Y correction of color difference matrix
B-Y axis in - region (low color temperature)
Amount of B-Y correction of color difference matrix
R-Y axis in + region (low color temperature)
Amount of R-Y correction of color difference matrix
B-Y axis in + region (low color temperature)
Amount of B-Y correction of color difference matrix
R-Y axis in - region (middle color temperature)
Amount of R-Y correction of color difference matrix
B-Y axis in - region (middle color temperature)
Amount of B-Y correction of color difference matrix
R-Y axis in + region (middle color temperature)
Amount of R-Y correction of color difference matrix
B-Y axis in + region (middle color temperature)
Amount of B-Y correction of color difference matrix
R-Y axis in - region (high color temperature)
Amount of R-Y correction of color difference matrix
B-Y axis in - region (high color temperature)
Amount of B-Y correction of color difference matrix
R-Y axis in + region (high color temperature)
Amount of R-Y correction of color difference matrix
B-Y axis in + region (high color temperature)
toward
toward
toward
toward
toward
toward
toward
toward
toward
toward
toward
toward
Color difference matrix at fixed white balance (SEL_FIX_WB=1)
Selection of the setteings used in - region of each axis.
0: xxxP (it is used same parameters as the (+) region)
1: xxxM (it is used different parameters at the (+) region)
0: A fixed white balance is set with REF_xxx.
1: A fixed white balance is set with FIX_xxx.
00: Fixed white balance mode 1 (FIX1 or REF1)
01: Fixed white balance mode 2 (FIX2 or REF2)
10: Fixed white balance mode 3 (FIX3 or REF3)
11: Automatic control (REF1, 2, 3 is used )
MAT_RxP (+)
MAT_BxM (-)
MAT_BxP (+)
MAT_BxM (+)
MAT_BxP (-)
B-Y
MAT_RxM (+)
MAT_RxM (-)
REF_MAT_* and FIX_MAT_* are set by the one's complement.
4-35
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.7.6
LR38627
Preliminary
Technical Manual Ver0.42
Adjustment of AWB multiplication frame
Color difference information on the pixel that enters in the set frame on the IQ axis is averaged, and the error
margin of the white balance in the no coloring part is calculated. The multiplication frame is set by four parameters
of AWB_IP, AWB_IM, AWB_QP, and AWB_QM as shown in figure below (a). Moreover, the multiplication frame
in the no coloring part can be adjusted in proportion to the color temperature as shown in figure below (b).
I
I
WBR largeness
Q
AWB_IP
Q
AWB_QP
WBR Smallness
AWB_QM
AWB_IM
(a)
(b)
When the multiplication frame is adjusted in proportion to the color temperature, the frame at the lowest color
temperature set with MIN_WBR is set to the AWB_xx_S register by the absolute value, and the inclination of the
change is set to the AWB_K_xx register by the one's complement. Multiplication frame AWB_QP, AWB_QM,
AWB_IP, and AWB_IM at present are calculated according to present white balance red gain WBR.
AWB_IP_S
AWB_QP
AWB_QP_S
AWB_IP
Present WBR
MAX_WBR
MIN_WBR
AWB_IM_S
AWB_QM
AWB_QM_S
Adr[bit]
Register
13Fh[7:0]
AWB_IP_S
140h[7:0]
AWB_IM_S
141h[7:0]
AWB_QP_S
142h[7:0]
AWB_QM_S
12Ch[7:0]
AWB_K_IP
12Dh[7:0]
AWB_K_IM
12Eh[7:0]
AWB_K_QP
12Fh[7:0]
AWB_K_QM
AWB_IM
Inclination =AWB_K_QP
AWB_K_QM
Inclination =AWB_K_IP
AWB_K_IM
132h[7:0]
MIN_WBR
Explanation
Integrating range on + region toward the I axis at lowest color
temperature (absolute value)
Integrating range on - region toward the I axis at lowest color
temperature (absolute value)
Integrating range on + region toward the Q axis at lowest color
temperature (absolute value)
Integrating range on - region toward the Q axis at lowest color
temperature (absolute value)
inclination synchronized WBR of frame side on + region toward
the I axis (one's complement)
inclination synchronized WBR of frame side on - region toward
the I axis (one's complement)
inclination synchronized WBR of frame side on + region toward
the Q axis (one's complement)
inclination synchronized WBR of frame side on - region toward
the Q axis (one's complement)
Minimum value of WBR as High rank 8bit of internal 9bit
131h[7:0]
MAX_WBR
Maximum value of WBR as High rank 8bit of internal 9bit
The - sign of AWB_K_* is set when the absolute value of the AWB multiplication frame decreases.
4-36
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
The range of brightness of the multiplication object for the white balance control can be restricted. It is multiplied
the pixels between AWBHCL and AWBLCL in the IQ multiplication frame as shown in the following figures.
brightness
AWBHCL
Range of multiplication for AWB
AWBLCL
The range of the multiplication brightness for the white balance can adjust according to the exposure level of data
calculated from HPEAK, LPEAK and K_CL as it is used for a low range when it is dark, and a high range when it
is bright.
Upper bound of the multiplication range = AWBHCL +
[((K_CL)×(HPEAK) + (256-K_CL)×(LPEAK))/256-REF_WBPK] × K_WBCL/128
Lower bound of the multilplication range = AWBLCL +
[((K_CL)×(HPEAK) + (256-K_CL)×(LPEAK))/256-REF_WBPK] ×K_WBCL/128
[Brightness]
HPEAK
256-K_CL
..
K_CL
Exposure level
×K_WBCL/128
LPEAK
REF_WBPK
[Brightness]
AWBHCL
AWBLCL
Under exposure
Adr[bit]
Register
13Ah[7:0]
13Bh[7:0]
13Dh[7:0]
13Eh[7:0]
13Ch[7:0]
AWBHCL
AWBLCL
K_CL
K_WBCL
REF_WBPK
Range of multiplication
=[((K_CL)×(H peak)+(256-K_CL)×(L peak))/256 - REF_WBPK]×K_WBCL/128
Over exposure
Explanation
upper bound of multiplication brightness range for AWB
lower bound of multiplication brightness range for AWB
Ratio of HPEAK and LPEAK
Adjustment sensitivity from AWBHCL
Adjustment beginning level of AWBHCL and AWBLCL
4-37
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.7.7 range of AWB multiplication
The part that multiplies the IQ data for the white balance can be limited. Moreover, both a central emphasis and all
screen multiplication can be multiplied by ratio calculation.
Adr[bit]
Register
Explanation
121h[7:0]
CWPA_IQ
The central emphasis part is set. (The means of each bit is as follows.)
[7:6]
CWP_IQ_H
Hhorizontal base position of central emphasis multiplication
[5:4]
CWP_IQ_V
[3:2]
CWA_IQ_H
[1:0]
CWA_IQ_V
120h[6:0]
CW_IQ
Vertical base position of central emphasis multiplication
Central emphasis multiplication size
(set the number of horizontal multiplication blocks -1)
Central emphasis multiplication size
(set the number of vertical multiplication blocks -1)
Ratio of central emphasis multiplication and all screen multiplication
When central emphasis part is selected the center four blocks as the white block in the figure below, it is set
CWPA_IQ=55h.
CWP_IQ_V
CWP_IQ_H
00
01
10
11
CWA_IQ_H=01
00
01
Multiplication
10
11
CWA_IQ_V=0
(example) The example when CWPA_IQ is set respectively is shown.
Multiplication
Multiplication object:4×3 Multiplication object:2×4
Multiplication object:1×2
CWPA_IQ =1Eh (00,01,11,10) CWPA_IQ=87h(10,00,01,11) CWPA_IQ=41h(01,00,00,01)
The one that the mean value of the central emphasis multiplication and all screen multiplication was calculated as
follows in the ratio of CW_IQ:64-CW_IQ is evaluated as an amount of the white balance error margin.
+
Multiplication
((Central emphasis) × CW_IQ + (All screen multiplication) × (64-CW_IQ))/64
4-38
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.7.8 Adjustment of AWB control domain
This LSI adjusts the gain of R and B based on the error margin from the starting point of the IQ integrated value
(color no) and adjusts the white balance. As a result, when the IQ integrated value enters in a frame to stop the
AWB control to which I and Q are set with both AWB_IW_S and AWB_QW_S, the AWB operation is stopped.
The AWB operation is restarted when going out outside the restart judgment frame to which either of I or Q of the
IQ integrated value is set with AWB_IW_L and AWB_QW_L by subject's changing after stopping AWB.
Hysteresis can be given by setting the restart judgment frame of AWB_IW_L and AWB_QW_L more greatly than
a frame of AWB_IW_S and AWB_QW_S.
Moreover, when the exposure is steady, the operation of AWB is oppressed. AWB restart operation is delayed the
predetermined number for WAIT_NUM.
I
Restart frame
Q
Frame for AWB stopping
AWB_QW_L
AWB_IW_S
Restart
Operation
Stop
AWB_IW_L
AWB_QW_
Adr[bit]
Register
Explanation
12Bh[7:4]
AWB_IW_S
Frame for AWB stopping (I axis)
12Bh[3:0]
AWB_QW_S
Frame for AWB stopping (Q axis)
143h[6:0]
AWB_IW_L
AWB restart judgment frame (I axis for hysteresis)
144h[6:0]
AWB_QW_L
134h[2:0]
WAIT_NUM
AWB restart judgment frame (Q axis for hysteresis)
When the exposure is fixed, only a set number delays the
restart judgment.
(Note)
A fixation frame and the restart frame become the same by the positive and negative direction for the IQ axis.
4-39
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.7.9 Restriction of AWB range of motion
This LSI automatically increases and decreases the gain of R and B element (internal signal WBR and WBB)
based on the IQ integrated value for the white balance adjustment. The adjustable range of WBR and WBB can be
restricted, and the color drawing in by the follow of an extreme color temperature to the source of light and the
mis-detection of white be prevented.
White balance red gain (WBR) can set minimum value and the maximum value. White balance blue gain (WBB)
can set minimum value and the maximum value by the characteristic set to WBR by the straight line.
Adr[bit]
131h[7:0]
132h[7:0]
188h[7:0]
189h[7:0]
18Ah[7:0]
18Bh[7:0]
18Ch[7:0]
18Dh[7:0]
18Eh[7:0]
18Fh[7:0]
190h[7:0]
191h[7:0]
192h[7:0]
:
19Bh[7:0]
Register
MAX_WBR
MIN_WBR
MAX_WBB_OFST0
MAX_WBB_OFST1
MAX_WBB_OFST2
MAX_WBB_OFST3
MAX_WBB_OFST4
MAX_WBB_OFST5
MAX_WBB_OFST6
MAX_WBB_OFST7
MAX_WBB_OFST8
MAX_WBB_OFST9
MIN_WBB_OFST0
:
MAX_WBB_OFST9
Explanation
Upper bound value of white balance red gain (WBR)
Lower bound value of white balance red gain (WBR)
WBB upper bound value at WBR=0
WBB upper bound value at WBR=64
WBB upper bound value at WBR=96
WBB upper bound value at WBR=112
WBB upper bound value at WBR=128
WBB upper bound value at WBR=144
WBB upper bound value at WBR=160
WBB upper bound value at WBR=192
WBB upper bound value at WBR=256
WBB upper bound value at WBR=511
WBB lower bound value at WBR=0
:
WBB lower bound value at WBR=511
WBB
MAX_WBB_OFST3
MIN_WBB_OFST2
WBR
0
128
256
511
(Note)
Internal 9-bits signal WBR and WBB take the value of 0-511.
MIN_WBR, MAX_WBR, MIN_WBB_OFS0-9, and MAX_WBB_OFS0-9 set high rank 8bit with LSB=0. On the
other hand, REF_WBR (B) 1, 2, 3, and FIX_WBR (B) 1, 2, 3 set low rank 8bit with MSB=0. Moreover, please
decrease in all sections or set to become the same MAX_WBB_OFS0-9 and MIN_WBB_OFS0-9.
4-40
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.7.10 AWB operation speed
The AWB operation speed can be adjusted by setting the following settings.
It is possible to thin out once every several-time by setting it to the CMP_CT register by the number of the AWB
operation interval of fields. The IQ integrated value is decreased in the setting of the IQ_LPF register and the
change according to peculiar data can be decreased to past data by smoothing it.
IQ_LPF
00
01
1x
LPF operation of IQ
Mean value at 4 vertical period
Mean value at 2 vertical period
LPF none
White balance gain WBR and WBB are controlled in proportion to the amount of the error margin from the
starting point of the IQ integrated value. The amount of the steps by the once AWB adjustment can be adjusted by
coefficient K_WBR_H and K_WBB_H.
Adr[bit]
Register
Explanation
139h[7:0]
CMP_CT
133h[1:0]
IQ_LPF
137h[7:0]
K_WBR_H
138h[7:0]
K_WBB_H
AWB operation interval (number of fields)
After the IQ integrated value is smoothed between frames
above, the error margin is judged.
The amount of the change increased and decreased by the
once AWB adjustment is adjusted. (red gain)
The amount of the change increased and decreased by the
once AWB adjustment is adjusted. (blue gain)
4.7.11 Other AWB parameter
Adr[bit]
Register
Explanation
It is judged that there is not the non coloring pixel if the
123h[7:0] AWB_ZERO_CO number of data in the IQ multiplication frame is below this set
value.
4-41
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.8.
LR38627
Preliminary
Technical Manual Ver0.42
Output adjustment
4.8.1 Adjustment of encoders
The operation mode of the encoder and the level is set by the following settings.
Adr[bit]
001h[5]
001h[3]
002h[6]
01Fh[7]
01Fh[6:0]
Register
Explanation
0: NTSC
TVMD
1: PAL
0: Interlace display (Usually)
NI
1: Non-interlace display
0: Usually
STANDBY_DAC
1: DAC standby (There is no analog output. )
0: The black level setup is added.
ZERO_CTRL
1: It doesn't add.
SETUP
The setup level is adjusted.
020h[7:0]
SYNCLEV
021h[5]
ENC_MUTE
021h[4:0]
OUTGA
The height of CSYNC of the video wave form is adjusted.
0: Usually
1: The color-difference signal is not superimposed.
The output gain is adjusted.
023h[7:0]
BAS_B
The amplitude of color burst signal (B-Y) is adjusted.
022h[7:0}
BAS_R
The amplitude of color burst signal (R-Y) is adjusted.
(Note)
Please use OUTGA basically like 1.0 times (10h).
4-42
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
4.8.2
LR38627
Preliminary
Technical Manual Ver0.42
Adjustment of digital output
This LSI can make the digital output with 16 bit from YUV signal. And it outputs the 8bit parallel data at SCCD=1
using 410k and 470k-pixels CCD.
When the gain adjustment in the signal processing further output steps is necessary for the design of the entire
system including the display system, or using the analog output with a digital output together, it adjusts it by the
following registers.
Adr[bit]
Register
Explanation
01Eh[7:0]
DIG_Y_GAIN
Brightness gain for digital output
1DEh[7:0]
DIG_U_GAIN
Color difference gain for digital output (B-Y)
1DFh[7:0]
DIG_V_GAIN
01Bh[1:0]
HD_SEL
01Ch[1:0]
VD_SEL
01Ah[2:0]
CSYNC_SEL
002h[0]
OUT_MODE[0]
002h[1]
OUT_MODE[1]
Color difference gain for digital output (R-Y)
Output selection of terminal HD
00: HD (horizontal synchronizing signal of timing generator)
10: 'L' output fixation
11: HREF (horizontal effective signal of digital output)
Others: The prohibition.
Output selection of terminal VS
00: VD (vertical synchronizing signal of timing generator)
10: 'L' output fixation
11: VS (vertical effective signal of digital output)
Others: The prohibition.
Output selection of terminal CSYNC
000: 'L' output fixation
010: Sampling clock RCLK is output.
100: CSYNC
Others: The prohibition.
0: terminal Y[7:0] and UV[7:0] are fixed in L.
1: terminal Y[7:0] and UV[7:0] are used for digital output.
0: YUV output
1: UYVY output (Prohibit it at SCCD=0. )
When using digital output, please set VD_SEL, HD_SEL and CSYNC_SEL to use terminal VD, HD and CSYNC
as VS, HREF and RCLK respectively.
・ digital output image size
TVMD
SCCD
CCD
0
0
1
1
0
1
0
1
270,000 pixels
410,000 pixels
320,000 pixels
470,000 pixels
X
502
754
492
738
Output size
Y
484 (242*2)
484 (242*2)
574 (287*2)
574 (287*2)
Frame rate
60field/sec
60field/sec
50field/sec
50field/sec
4-43
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
・ horizontal timing of digital YUV output (top of the field)
Please latch the valid data with VS= HREF= 1 at the falling edge of RCLK. RCLK is outputted during VS=
HREF= 0. When SCCD=0, RCLK is stopped temporarily during horizontal branking period.
・
・
VD
(VS)
HD
(HREF)
CSYNC
(RCLK)
Y7-Y0
Y[0] Y[1] Y[2] Y[3] Y[4]
…
Y[498]Y[499]Y[500]Y[501]
Y[0] Y[1] Y[2]
UV7-UV0
U[0] V[0]
…
U[498]V[498]U[500]V[500]
U[0] V[0]
VD
(VS)
HD
(HREF)
CSYNC
(RCLK)
Y7-Y0
Y[0] Y[1] Y[2] Y[3] Y[4]
…
Y[498]Y[499]Y[500]Y[501]
UV7-UV0
U[0] V[0]
…
U[498]V[498]U[500]V[500]
U[2] V[2]
U[4]
horizontal timing of digital UYUV output
HD
(HREF)
CSYNC
(RCLK)
U[0] Y[0] V[0] Y[1]
U[2] Y[2] V[2] Y[3]
U[4] Y[4] V[4] Y[5]
…
U[752]Y[752]V[753]Y[753]
vertical timing of digital output
When VS=0, HREF is not outputted.
VD
(VS)
HD
(HREF)
CSYNC
(RCLK)
Y7-Y0
(ODD field)
UV7-UV0
(EVEN field)
・
U[4]
horizontal timing of digital YUV output (last of the field)
Y7-Y0
・
U[2] V[2]
0
2
4
478
480
482
1
3
5
479
481
483
field judging
For a field judging signal is not outputted, please check it by the followed method.
(1) By the phase relation between HD and VD.
(2) After reset released, care about the outer field judging signal by the 1st VS output.
field judging (NTSC)
VD
(VD)
HD
(HD)
EVEN
ODD
EVEN
EVEN
ODD
EVEN
field judging (PAL)
VD
(VD)
HD
(HD)
4-44
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
U[2]
CONFIDENTIAL
4.9.
LR38627
Preliminary
Technical Manual Ver0.42
Additions
4.9.1 Table of exposure control
The address on the teble is used exposure control by increased or decreased.
Actually AGC gain is added the lowest AGC gain(REF_AGC) and AGC difference on the following table.
Maximum actually AGC gain is 36 dB.But these are calculating values not dispersion of characteristic.
NTSC (270thousand pixels, 410thousand pixels CCD) exposure tables
SHT column means: Exposure time (ms)
AGC column means: AGC difference from minimum AGC gain (db)
Minimum AGC gain (dB) = REF_AGC * 0.3445 – 8.097
No.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
SHT
0.0125
0.0125
0.0125
0.0136
0.0136
0.0136
0.0150
0.0150
0.0150
0.0164
0.0164
0.0164
0.0181
0.0181
0.0181
0.0201
0.0201
0.0201
0.0223
0.0223
0.0223
0.0248
0.0248
0.0248
0.0275
0.0275
0.0275
0.0307
0.0307
0.0307
0.0345
0.0345
0.0345
0.0390
0.0390
0.0390
0.0443
0.0443
0.0443
0.0503
0.0503
0.0503
0.0571
0.0571
0.0571
0.0648
0.0648
0.0648
0.0738
0.0738
0.0738
0.0843
0.0843
0.0843
AGC
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
No.
54
56
57
58
59
55
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
SHT
0.0950
0.0950
0.1061
0.1061
0.1061
0.0950
0.1184
0.1184
0.1184
0.1321
0.1321
0.1321
0.1478
0.1478
0.1478
0.1665
0.1665
0.1665
0.1878
0.1878
0.1878
0.2114
0.2114
0.2300
0.2300
0.2514
0.2514
0.2749
0.2749
0.2749
0.3054
0.3054
0.3054
0.3385
0.3385
0.3690
0.3690
0.4020
0.4020
0.4325
0.4325
0.4656
0.4656
0.4656
0.5292
0.5292
0.5292
0.5927
0.5927
0.5927
0.6563
0.6563
0.7198
0.7198
AGC
+0.00
+0.69
+0.00
+0.34
+0.69
+0.34
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.00
+0.34
No.
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
SHT
0.7834
0.7834
0.8469
0.8469
0.9105
0.9105
0.9741
0.9741
1.0376
1.0376
1.1012
1.1012
1.1647
1.1647
1.2283
1.2918
1.3554
1.4189
1.4825
1.5461
1.6096
1.6732
1.7367
1.8003
1.8638
1.9274
1.9910
2.0545
2.1181
2.1816
2.2452
2.3087
2.3723
2.4358
2.4994
2.5630
2.6901
2.8172
2.9443
3.0714
3.1985
3.3256
3.4528
3.5799
3.7070
3.8341
4.0248
4.2154
4.4061
4.5968
4.7874
4.9781
5.2323
5.4866
AGC
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
No.
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
SHT
5.7408
5.9950
6.2492
6.5035
6.8212
7.1390
7.4568
7.7746
8.1559
8.5373
8.9186
9.3635
9.8084
10.253
10.762
11.270
11.842
12.414
13.050
13.685
14.384
15.084
15.846
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
16.609
AGC
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.34
+0.69
+1.03
+1.38
+1.72
+2.07
+2.41
+2.76
+3.10
+3.45
+3.79
+4.13
+4.48
+4.82
+5.17
+5.51
+5.86
+6.20
+6.55
+6.89
+7.24
+7.58
+7.92
+8.27
+8.61
+8.96
+9.30
+9.65
+9.99
+10.3
No.
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
SHT
AGC
16.609
+10.7
16.609
+11.0
16.609
+11.4
16.609
+11.7
16.609
+12.1
16.609
+12.4
16.609
+12.7
16.609
+13.1
16.609
+13.4
16.609
+13.8
16.609
+14.1
16.609
+14.5
16.609
+14.8
16.609
+15.2
16.609
+15.5
16.609
+15.8
16.609
+16.2
16.609
+16.5
16.609
+16.9
16.609
+17.2
16.609
+17.6
16.609
+17.9
16.609
+18.3
16.609
+18.6
16.6089 +19.0
16.6089 +19.3
16.6089 +19.6
16.6089 +20.0
16.6089 +20.3
16.6089 +20.7
16.6089 +21.0
16.6089 +21.4
16.6089 +21.7
16.6089 +22.1
16.6089 +22.4
16.6089 +22.7
16.6089 +23.1
16.6089 +23.4
16.6089 +23.8
16.6089 +24.1
16.6089 +24.5
16.6089 +24.8
16.6089 +25.2
16.6089 +25.5
16.6089 +25.8
16.6089 +26.2
16.6089 +26.5
16.6089 +26.9
16.6089 +27.2
16.6089 +27.6
16.6089 +27.9
16.6089 +28.3
16.6089 +28.6
16.6089 +28.9
No.
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
SHT
AGC
16.6089 +29.3
16.6089 +29.6
16.6089 +30.0
16.6089 +30.3
16.6089 +30.7
16.6089 +31.0
16.6089 +31.4
16.6089 +31.7
16.6089 +32.0
16.6089 +32.4
16.6089 +32.7
16.6089 +33.1
16.6089 +33.4
16.6089 +33.8
16.6089 +34.1
16.6089 +34.5
16.6089 +34.8
16.6089 +35.1
16.6089 +35.5
16.6089 +35.8
16.6089 +36.2
16.6089 +36.5
16.6089 +36.9
16.6089 +37.2
16.6089 +37.6
16.6089 +37.9
16.6089 +38.2
16.6089 +38.6
16.6089 +38.9
16.6089 +39.3
16.6089 +39.6
16.6089 +40.0
16.6089 +40.3
16.6089 +40.7
16.6089 +41.0
16.6089 +41.3
16.6089 +41.7
16.6089 +42.0
16.6089 +42.4
16.6089 +42.7
16.6089 +43.1
16.6089 +43.4
16.6089 +43.8
4-45
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
PAL (320thousand pixels, 470thousand pixels CCD) exposure tables
SHT column means: Exposure time (ms)
AGC column means: AGC difference from minimum AGC gain (db)
Minimum AGC gain (dB) = REF_AGC * 0.3445 – 8.097
No.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
SHT
0.0125
0.0125
0.0125
0.0136
0.0136
0.0136
0.0150
0.0150
0.0150
0.0164
0.0164
0.0164
0.0181
0.0181
0.0181
0.0199
0.0199
0.0199
0.0221
0.0221
0.0221
0.0247
0.0247
0.0247
0.0274
0.0274
0.0274
0.0305
0.0305
0.0305
0.0344
0.0344
0.0344
0.0389
0.0389
0.0389
0.0441
0.0441
0.0441
0.0501
0.0501
0.0501
0.0569
0.0569
0.0569
0.0647
0.0647
0.0647
0.0737
0.0737
0.0737
0.0840
0.0840
0.0840
0.0947
0.0947
0.0947
0.1058
0.1058
0.1058
AGC
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
No.
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
SHT
0.1181
0.1181
0.1181
0.1319
0.1319
0.1319
0.1474
0.1474
0.1474
0.1660
0.1660
0.1660
0.1874
0.1874
0.1874
0.2108
0.2108
0.2295
0.2295
0.2508
0.2508
0.2742
0.2742
0.2742
0.3047
0.3047
0.3047
0.3377
0.3377
0.3681
0.3681
0.4011
0.4011
0.4316
0.4316
0.4645
0.4645
0.4645
0.5279
0.5279
0.5279
0.5913
0.5913
0.5913
0.6547
0.6547
0.7182
0.7182
0.7816
0.7816
0.8450
0.8450
0.9084
0.9084
0.9718
0.9718
1.04
1.04
1.10
1.10
AGC
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.69
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
+0.00
+0.34
No.
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
SHT
1.162
1.162
1.225
1.289
1.352
1.416
1.479
1.543
1.606
1.669
1.733
1.796
1.860
1.923
1.986
2.050
2.113
2.177
2.240
2.304
2.367
2.430
2.557
2.684
2.811
2.938
3.065
3.191
3.318
3.445
3.572
3.699
3.826
4.016
4.206
4.396
4.587
4.777
4.967
5.157
5.411
5.665
5.918
6.172
6.426
6.743
7.060
7.377
7.694
8.074
8.455
8.835
9.279
9.723
10.17
10.67
11.18
11.69
12.26
12.83
AGC
+0.00
+0.34
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
No.
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
SHT
13.465
14.099
14.797
15.494
16.255
17.080
17.904
18.792
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
AGC
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.00
+0.34
+0.69
+1.03
+1.38
+1.72
+2.07
+2.41
+2.76
+3.10
+3.45
+3.79
+4.13
+4.48
+4.82
+5.17
+5.51
+5.86
+6.20
+6.55
+6.89
+7.24
+7.58
+7.92
+8.27
+8.61
+8.96
+9.30
+9.65
+9.99
+10.3
+10.7
+11.0
+11.4
+11.7
+12.1
+12.4
+12.7
+13.1
+13.4
+13.8
+14.1
+14.5
+14.8
+15.2
+15.5
+15.8
+16.2
+16.5
+16.9
+17.2
+17.6
No.
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
SHT
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
AGC
+17.9
+18.3
+18.6
+19.0
+19.3
+19.6
+20.0
+20.3
+20.7
+21.0
+21.4
+21.7
+22.1
+22.4
+22.7
+23.1
+23.4
+23.8
+24.1
+24.5
+24.8
+25.2
+25.5
+25.8
+26.2
+26.5
+26.9
+27.2
+27.6
+27.9
+28.3
+28.6
+28.9
+29.3
+29.6
+30.0
+30.3
+30.7
+31.0
+31.4
+31.7
+32.0
+32.4
+32.7
+33.1
+33.4
+33.8
+34.1
+34.5
+34.8
+35.1
+35.5
+35.8
+36.2
+36.5
+36.9
+37.2
+37.6
+37.9
+38.2
No.
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
SHT
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
19.743
AGC
+38.6
+38.9
+39.3
+39.6
+40.0
+40.3
+40.7
+41.0
+41.3
+41.7
+42.0
+42.4
+42.7
+43.1
+43.4
+43.8
4-46
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4. Function explanation.................................................................................................................................. 4-1
4.1.
Inner composition ........................................................................................................................... 4-1
4.2.
Driving pulse generation .................................................................................................................. 4-2
4.2.1 Phase adjustment of the CCD drive pulse.......................................................................................... 4-2
4.3.
Input adjustment............................................................................................................................. 4-3
4.3.1 Shading compensation.................................................................................................................. 4-3
4.3.2 Line crawl compensation .............................................................................................................. 4-7
4.3.3 Fixed blemish compensation .......................................................................................................... 4-8
4.3.4 Career balance .......................................................................................................................... 4-10
4.4.
Brightness signal processing adjustment ............................................................................................ 4-11
4.4.1 gamma characteristic.................................................................................................................. 4-11
4.4.2 White Clip ............................................................................................................................... 4-13
4.4.3 Middle-high frequency enhancement ............................................................................................. 4-13
4.4.4 Aperture correction.................................................................................................................... 4-14
4.4.5 Self adjustment of parameter that synchronizes with automatic control.................................................. 4-15
4.5.
Exposure control .......................................................................................................................... 4-18
4.5.1 Fixation of IRIS ........................................................................................................................ 4-18
4.5.2 Exposure fixation and restart hysteresis .......................................................................................... 4-20
4.5.3 Exposure operation speed............................................................................................................ 4-21
4.5.4 Range of exposure control ........................................................................................................... 4-22
4.5.5 Adjustment of exposure multiplication ........................................................................................... 4-23
4.5.6 Range of multiplication .............................................................................................................. 4-24
4.6.
Color signal processing adjustment ................................................................................................... 4-26
4.6.1 RGB matrix ............................................................................................................................. 4-26
4.6.2 RGB gamma characteristic .......................................................................................................... 4-27
4.6.3 Generation of color difference signal ............................................................................................. 4-28
4.6.4 Color suppression...................................................................................................................... 4-29
4.7.
White balance control .................................................................................................................... 4-31
4.7.1 Fixation of AWB ....................................................................................................................... 4-31
4.7.2 Generation of three reference point................................................................................................ 4-31
4.7.3 Adjustment of white balance to white sample .................................................................................. 4-32
4.7.4 Gain of color difference signal ..................................................................................................... 4-34
4.7.5 Phase adjustment of color difference.............................................................................................. 4-35
4.7.6 Adjustment of AWB multiplication frame ....................................................................................... 4-36
4.7.7 range of AWB multiplication........................................................................................................ 4-38
4.7.8 Adjustment of AWB fixation frame ............................................................................................... 4-39
4.7.9 Restriction of AWB range of motion .............................................................................................. 4-40
4.7.10
AWB operation speed ............................................................................................................. 4-41
4.7.11
Other AWB parameter............................................................................................................. 4-41
4-47
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
CONFIDENTIAL
LR38627
Preliminary
Technical Manual Ver0.42
4.8.
Output adjustment......................................................................................................................... 4-42
4.8.1 Adjustment of encoders .............................................................................................................. 4-42
4.8.2 Adjustment of digital output ........................................................................................................ 4-43
4.9.
Additions .................................................................................................................................... 4-45
4.9.1 Table of exposure control ............................................................................................................ 4-45
4-48
© 2007 SHARP Corporation All rights reserved.
SHARP Corporation reserves the right to change products or specifications without notice.
5. Register List
The set register is descrived from the external EEPROM and external host as follows.
The read only registers and address 2BFh - 2F9h and 2FFh is not stored to EEPROM.
Bank selection (specified the register address[11:8]) is specified by MSADR register (address XFFh).
Please set a specified value to the register which the value of is written in the colomn of settings.
Adr
Bit RegisterName
7 6 Reserved
5 5 TVMD
001
4 4 SCCD
3 3 NI
2 0 Reserved
7 7 Reserved
6 6 STANDBY_DAC
5 2 Reserved
002
1 1
0 0
003 7 0 Reserved
004 7 0 Reserved
005 7 0 Reserved
7 7 MUTE_ON
00A
6 0 MUTE_TI
7 5 Reserved
4 4 SEL_FH
00F
3 2 SEL_FH1
1 0 SEL_FH2
6 4 SEL_FS
010
2 0 SEL_FCDS
6 4 SEL_ADCK2
011
2 0 SEL_ADCK
7 6 Reserved
5 4 SEL_FR1
012
3 3 SEL_FR
2 0 SEL_FR2
Description
CCD, Video method
0: NTSC
1: PAL
Selection of number of pixels.
0: 270 or 320 thousands of pixels
1: 410 or 470 thousand of pixels
Non-interlaced mode
0: Normal(interlaced)
1: Non-interlaced
Standby of D/A converter.
0: Normal
1: Standby
Selecting of the digital output mode.
0: YUV 16bit the output Parallel.
1: UYVY 8bit the output Parallel.
Set 0 when select of 270 or 320 thousands pixels(SCCD=0)
Presence or absence of the digital output.
0: Not the digital output
1: The digital outputt
Output mute setting at the time of the power turned on ON/OFF
0: The mute is not used.
1: The mute outputs it only at set time.
Output mute setting at the time of the power turned on ON/OFF
Set by the vertical period number.
FH1,2 polarity inverse
0: normal 1: inverse
phase adjustment for FH1
00: standard - 11: delay 3ns
phase adjustment for FH2
00: standard - 11: delay 3ns
phase adjustment for FS
000: standard - 111: delay 14ns
phase adjustment for FCDS
000: standard - 111: delay 14ns
phase adjustment for ADCK
000: standard - 111: delay 14ns
phase adjustment for ADCK
000: standard 001: +60°
010: + 120°
011: +180°
100: + 240°
101: +300°
others : forbidden
phase adjustment for FR
00: standard - 11: delay 3ns
FR polarity inverse
0: normal 1: inverse
phase adjustment for the falling edge of FR
000: standard - 111: delay 7ns
5-1
init settings R/W
00
00h
R/W
000
0
0001
04h
00h
00h
08h
R/W
00h
00h
08h
86h
R/W
R/W
R/W
R/W
000
00h
R/W
11h
R/W
00h
R/W
00
00h
R/W
Adr Bit RegisterName
013 7 0 Reserved
014 7 0 Reserved
015 7 0 Reserved
016 1 0 OBINVMD
7 7 REG_AGCSW
018
0 0 SW_SEL
7 4 REG_EEMD
019 3 2 REG_WB_SEL
1 1 REG_BLC
0 0 REG_MIR
7 7 INV_CSYNC
6 3 Reserved
01A
2 0 CSYNC_SEL
7 7 INV_HD
6 2 Reserved
01B
1 0 HD_SEL
Description
Operation at the time of the Black Out is detected.
00: No operation
01: FR is reversed.
10: FH1,2 are inversed.
11: Forbidden
AGC autmatic control is stopped
0: Autmaticy control
1: The fixed AGC(REF_AGC)
When terminal TEST2=TEST3='1' and SW_SEL='0', terminal Y7 is valid
instead of this.
Selection of settings when TEST2,3="11"
0: Terminal UV[7:0] and Y[7] is valid
1: Register (adrs 018h,019h) is valid
In the case of terminal TEST2,3="00", "01","10", please set to '1'
Adjustment of shutter speed
0000: 1/60 (NTSC) or 1/50(PAL)
:
1010: 1/100000
1110: Autmatic (control with MAX_SH)
1111: Autmatic
When terminal TEST2=TEST3='1' and SW_SEL='0', terminal UV7-4 is valid
instead of this.
Selecting of white balance mode
00: fixed mode WB1
01: fixed mode WB2
10: fixed mode WB3
11: Autmatic control
When terminal TEST2=TEST3='1' and SW_SEL='0', terminal UV3-2 is valid
instead of this.
Switching of backlight mode
0: Normal
1: Backlight
When terminal TEST2=TEST3='1' and SW_SEL='0', terminal UV1 is valid
instead of this.
Switching of mirror image mode
0: Normal
1: Mirror
When terminal TEST2=TEST3='1' and SW_SEL='0', terminal UV0 is valid
instead of this.
CSYNC polarity inverse
0: normal 1: inverse
Output signal from CSYNC terminal
000: L fixed
010: RCLK
100: CSYNC
others: Forbidden
HD polarity inverse
0: normal 1: inverse
Output signal from HD
00: HD (CCD horizontal driving pulse)
10: L fixed
11: HREF (horizontal valid signal of digital output)
others: Forbidden
5-2
init settings R/W
00h 00h R/W
00h 00h R/W
00h 00h R/W
00h
R/W
01h
R/W
FDh
R/W
0000
86h
R/W
00000
03h
R/W
Adr
Bit RegisterName
7 7 INV_VD
6 2 Reserved
01C
1 0 VD_SEL
01D 7 0 Reserved
01E 7 0 DIG_Y_GAIN
01F
7 7 ZERO_CTRL
6 0 SETUP
020 7 0 SYNCLEV
6 6 SYNC_OFF
021
5 5 ENC_MUTE
4 0 OUTGA
022
7 7 BAS_R
6 0 BAS_R
023
7 7 BAS_B
6 0 BAS_B
7 7 Reserved
6 6 CB_FIX
040
5 4 RGB_DIVSEL
041
042
043
044
3
7
7
7
7
0
0
0
0
0
Reserved
FIX_CB1
FIX_CB2
FIX CB3
FIX CB4
045 7 0 MRR
046
047
048
049
04A
04B
04C
04D
04E
053
054
055
056
7
7
7
7
7
7
7
7
7
5
3
7
7
7
0
0
0
0
0
0
0
0
0
4
0
0
0
0
MRG
MRB
MGR
MGG
MGB
MBR
MBG
MBB
Reserved
FIX AGC1[9:8]
Reserved
FIX AGC1[7:0]
Reserved
Reserved
Description
VD polarity inverse
0: normal 1: inverse
Output signal from VD
00: VD (CCD vertical driving pulse)
10: L fixed
11: VS (vertical valid signal of digital output)
others: Forbidden
Gain for luminance signal of digital output.
setup level adjustment
0: Not addition of setup level
1: Addition of setup level
Setup level (one's complement)
SYNC level adjustment
SYNC addition control to the analog signal output
0: With the SYNC signal addition
1: Without the SYNC signal
Color-difference mute
0: Color output
1: Black and white output
Gain of analog output (10h = Multiplied once)
sign of Burst level R-Y settings
0: +
1: Burst level R-Y setting (Positive number)
sign of Burst level B-Y settings
0: +
1: Burst level B-Y setting (Positive number)
Fixation of career balance
0: The autmatic carrier balance control.
1: The fixed carrier balance control.
gain adjustment for RGB matrix
00: 1/2
01: 1 times
10: twice
11: 4 times
please set it to "1000"
Career balance C1 fixed value Set 80h.
Career balance C2 fixed value Set 80h.
Career balance C3 fixed value Set 80h.
Career balance C4 fixed value Set 80h.
Adjustment factor of RGB matrix.
R element contribution to R one's complement number
G element contribution to R one's complement number
B element contribution to R one's complement number
R element contribution to G one's complement number
G element contribution to G one's complement number
B element contribution to G one's complement number
R element contribution to B one's complement number
G element contribution to B one's complement number
B element contribution to B one's complement number
The fixed AGC The set value(the upper bit)
The fixed AGC The set value
-
5-3
init settings R/W
00000
03h
00h
78h
R/W
00h
R/W
R/W
A4h
R/W
68h
R/W
10h
R/W
00h
R/W
B4h
R/W
0
11h
00h
00h
00h
00h
R/W
1000
80h
80h
80h
80h
R/W
R/W
R/W
R/W
48h
R/W
00h
00h
F3h
3Ah
F3h
00h
00h
7Fh
00h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00h
0Dh
0Dh
0Dh
00h
0000
0Dh
0Dh
R/W
R/W
R/W
R/W
Adr
Bit RegisterName
7 2 Reserved
Description
Selecting of IRIS date of outside hysteresis range.
0: thining out
1 1 EE_LPF_H
1: thining out with averaging
060
(the interval is set by IRIS_DLY_H)
Selecting of IRIS date of inside hysteresis range.
0: thining out
0 0 EE_LPF_L
1: thining out with averaging
(the interval is set by IRIS_DLY_L)
Limitation of the maximum shutter speed.
070 7 0 MAX_SH[7:0]
071 0 0 MAX_SH[8]
Address setting of the exposure table lower limit.
7 1 Reserved
minimum shutter speed
072
0 0 MIN_SH_SEL
0: 1/60 (NTSC) or 1/50(PAL)
1: 1/100(NTSC) or 1/120(PAL)
Limitation of the maximum AGC gain.
073 7 0 MAX_AGC[7:0]
074 0 0 MAX_AGC[8]
Address setting of the exposure table lower limit.
AGC type.
0: The automatic AGC control
080 0 0 AGC_FIX
1: AGC is fixed (used data is FIX_AGC1)
There is an influence by AGCSW.
The AGC control lower limit value
081 7 0 REF_AGC
It is base of AGC set values given by the exposure table.
083 7 0 Reserved
084 7 0 Reserved
085 7 0 AFE_OFFSET
Black label setting of AFE.
0A7 7 0 Reserved
0A8 7 0 Reserved
100 7 0 REF IRIS1
The exposure control target value as normally used
101 7 0 REF IRIS2
The exposure control target value at the backlight
102 7 0 CTLD H
Exposure restart standard.(Hysteresis range)
103 7 0 CTLD L
Exposure fixation standard.
The fixed of the automatic exposure control
104 0 0 EE_ADR_HOLD
0: automatic
1: fixed the exposure table address by FIX IRIS ADR1.
IRIS data luminance High peak ratio
105 7 0 P_HEE
Set as 256 or lower by adding P LEE+P HEE
IRIS data luminance Low peak ratio
106 7 0 P_LEE
Set as 256 or lower by adding P LEE+P HEE
107 7 0 Reserved
Exposure control operation thinning out. (out of hysteresis range)
00: Every operation
3 2 IRIS_DLY_H
01: Once per 2 fields
10: Once per 4 fields
11: Once per 8 fields
108
Exposure control operation thinning out. (hystereesis range inside)
00: Every operation
1 0 IRIS_DLY_H
01: Once per 2 fields
10: Once per 4 fields
11: Once per 8 fields
The following two functions are used combinedly.
109 7 0 FIX_IRIS_ADR1[7:0]
The address at the time of the fixed exposure control by EE_ADR_HOLD.
Exposure control start address at the time of the the power switch is turned
10A 0 0 FIX_IRIS_ADR1[8]
on.
Control amount setting of Automatic exposure control.
10F 3 0 EE_STEP_M
When the difference between the exposure reference value and the exposure
integration value is midium range.
Control amount setting of Automatic exposure control.
110 4 0 EE_STEP_H
When the difference between the exposure reference value and the exposure
integration value is far range.
5-4
init settings R/W
000010
08h
R/W
00h
00h
R/W
R/W
0000000
00h
R/W
38h
01h
R/W
R/W
00h
R/W
20h
R/W
00h
00h
80h
1Ah
00h
40h
60h
06h
02h
00h
00h
1Ah
00h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00h
R/W
00h
R/W
00h
R/W
00h
00h
R/W
05h
R/W
F2h
R/W
00h
R/W
08h
R/W
0Fh
R/W
Adr
Bit RegisterName
7 7 MAX_IQAREA
111 6 6 MOD8
4 3 NWE_TYPE2
2 0 NWE_TYPE1
7 4 regB
112
3 0 regA
7 4 regD
113
3 0 regC
7 4 regF
114
3 0 regE
7 4 regH
115
3 0 regG
7 4 regJ
116
3 0 regI
7 4 regL
117
3 0 regK
118 0 0 MON_ZEROFLAG
119 7 0 MON EDATA
11A 7 0 MON_HPEAK
11B 7 0 MON_LPEAK
11C 7 0 MON_IDATA
11D 7 0 MON_QDATA
11E 7 0 MON_IDATA2
11F 7 0 MON_QDATA2
7 7 Reserved
120
6 0 CW_IQ
7 6 CWP_IQ_H
121 5 4 CWP_IQ_V
3 2 CWA_IQ_H
1 0 CWA_IQ_V
122 7 0 Reserved
123 7 0 AWB_ZERO_CO
124 7 0 CLIP_IRIS
Description
init settings R/W
Switching of the AWB white detection flame
0: Normal
1: Fixing the maximum flame
Switching of Peak detection.
05h
R/W
0: The peak is detected from the 8 pixels average.
1: The peak is detected from the 4 pixels average.
Selection of integration off area.
Selection of weighted for calculating the exposure data.
Weighted coefficient 2 for calculating the exposure data.
(Upper part of the image)
76h
R/W
Weighted coefficient 1 for calculating the exposure data.
(Upper part of the image)
Weighted coefficient 4 for calculating the exposure data.
(lower part of the image)
67h
R/W
Weighted coefficient 3 for calculating the exposure data.
(lower part of the image)
Weighted coefficient 6 for calculating the exposure data.
(lower part of the image)
68h
R/W
Weighted coefficient 5 for calculating the exposure data.
(lower part of the image)
Weighted coefficient 8 for calculating the exposure data.
(center of the image)
EBh
R/W
Weighted coefficient 7 for calculating the exposure data.
(center of the image)
Weighted coefficient 10 for calculating the exposure data.
(center of the image)
BBh
R/W
Weighted coefficient 9 for calculating the exposure data.
(center of the image)
Weighted coefficient 12 for calculating the exposure data.
(side of the image)
77h
R/W
Weighted coefficient 11 for calculating the exposure data.
(side of the image)
Test register
R
0: the number of no-color data > AWB_ZERO_CO
1: the number of no-color data < AWB ZERO CO
Read out the exposure integration value
R
Read out high luminance peak data for the exposure integration.
R
Read out low luminance peak data for the exposure integration.
R
Read out the integration of I inside of the frame for AWB
R
(one's complement number)
Read out the integration of Q inside of the frame for AWB
R
(one's complement number)
Read out the integration of I about all region for AWB
R
(one's complement number)
Read out the integration of Q about all region for AWB
R
(one's complement number)
0
00h
R/W
AWB Weighted ratio of all screen average VS center weighted.
0: All screen average - 64: Center weighted
AWB center weighted region the horizontal position about the upper left
R/W
block of the area
AWB center weighted region the vertical position about the upper left block
55h
R/W
of the area
AWB center weighted region the horizontal size of target area
R/W
AWB center weighted region the vertical size of target area
R/W
00h 00h R/W
Minimum value of the appropriate count within the area for judging
08h
R/W
achromatic color portion.
Setting of the luminance level upper limit for the integrating exposure data.
R/W
The luminance signal bigger than this coefficient is clipped by this coefficient C0h
before integrated.
5-5
Adr
125
Bit RegisterName
7 3 Reserved
2 2 IQ_DIVSEL2
1 0 IQ_DIVSEL
12B
7 4 AWB_IW_S
3 0 AWB_QW_S
12C 7 0 AWB_K_IP
12D 7 0 AWB_K_IM
12E 7 0 AWB_K_QP
12F 7 0 AWB_K_QM
131 7 0 MAX_WBR
132 7 0 MIN_WBR
6 6 SELFIXWB
133 5 5 Reserved
1 0 IQ_LPF
7 6 Reserved
5 5 AWB_PON
134
4 4 AWB_ALL
135
136
137
138
139
3
2
7
7
7
7
7
3
0
0
0
0
0
0
Reserved
WAIT NUM
Reserved
Reserved
K WBR H
K WBB H
CMP CT
13A 7 0 AWBHCL
13B 7 0 AWBLCL
13C 7 0 REF_WBPK
13D 7 0 K_CL
13E 7 0 K_WBCL
13F 7 0 AWB_IP_S
140 7 0 AWB_IM_S
141 7 0 AWB_QP_S
142 7 0 AWB_QM_S
143 6 0 AWB IW L
144 6 0 AWB QW L
Description
gain for the integlation of AWB
0: normal 1: 4 times
gain for the integlation of AWB
00 : normal 01: 2 times 10: 4 times others : forbidden
Error margin of the axis I for AWB fixation frame.
Error margin of the axis Q for AWB fixation frame.
Inclination of AWB integration frame adjustment by WBR for axis I toward +
region (one's complement number)
Inclination of AWB integration frame adjustment by WBR for axis I toward region (one's complement number)
Inclination of AWB integration frame adjustment by WBR for axis Q toward +
region (one's complement number)
Inclination of AWB integration frame adjustment by WBR for axis Q toward region (one's complement number)
R side upper limit of AWB gain variation range
It corresponds to WBR[8:1].
R side lower limit of AWB gain variation range
It corresponds to WBB[8:1].
Selecting the coefficient of the fixed white balance mode WB1, WB2 and
WB3.
0: The same REF_xx as automatic white balance is used.
1: FIX_xxx different from automatic white balance is used
selecting LPF type of I and Q data for AWB
00: Average of the 4 vertical periods
01: Average of the 2 vertical periods
1-: Without LPF
initial AWB control at power on
0: AWB control after the exposure fixation
1: AWB control before the exposure fixation
AWB control without useful data in the integlation frame
0: AWB stopped
1: AWB control based on the average of all colors
the number of frames to wait under the exposure fixation
inclination of R side multiplier for AWB speed (Positive number)
inclination of B side multiplier for AWB speed (Positive number)
AWB operation interval (number of fields)
Upper limit of AWB integration luminance range.
Value in starting point of high luminance peak synchronization adjustment.
lower limit of AWB integration luminance range.
Value in starting point of low luminance peak synchronization adjustment.
starting point of AWB integration luminance range.
Start point of mixture value of HPEAK and EDATA for adjust
H/LPEAK and E_DATA mixture ratio.
synchronized coefficient for AWB integration luminance range.
AWB detection area inside of the I axis positive direction
(at the normal operation)
AWB detection area inside of the I axis negative direction
(at the normal operation)
AWB detection area inside of the Q axis positive direction
(at the normal operation)
AWB detection area inside of the Q axis negative direction
(at the normal operation)
White fixation area outside of the I axis (for the hysteresis)
White settled area outside of the Q axis (for the hysteresis)
5-6
init settings R/W
00h
R/W
11h
R/W
R/W
00h
R/W
00h
R/W
00h
R/W
00h
R/W
58h
R/W
2Bh
R/W
22h
1000 R/W
10
B7h
R/W
0
08h
08h
04h
08h
00h
R/W
R/W
R/W
R/W
R/W
8Ch
R/W
00h
R/W
00h
R/W
00h
00h
R/W
R/W
FFh
R/W
FFh
R/W
FFh
R/W
FFh
R/W
04h
02h
R/W
R/W
Adr
Bit RegisterName
FIX_xxx
145
146
147
148
149
14A
14B
14C
14D
14E
14F
150
151
152
153
154
155
156
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
FIX_WBR1
FIX WBB1
FIX WBR2
FIX WBB2
FIX WBR3
FIX WBB3
FIX_GA_R1M
FIX_GA_B1M
FIX_GA_R1P
FIX_GA_B1P
FIX_GA_R2M
FIX_GA_B2M
FIX_GA_R2P
FIX_GA_B2P
FIX_GA_R3M
FIX_GA_B3M
FIX_GA_R3P
FIX_GA_B3P
157 7 0 FIX_MAT_R1M
158
159
15A
15B
15C
15D
15E
15F
160
161
162
7
7
7
7
7
7
7
7
7
7
7
0
0
0
0
0
0
0
0
0
0
0
FIX_MAT_B1M
FIX_MAT_R1P
FIX_MAT_B1P
FIX_MAT_R2M
FIX_MAT_B2M
FIX_MAT_R2P
FIX_MAT_B2P
FIX_MAT_R3M
FIX_MAT_B3M
FIX_MAT_R3P
FIX_MAT_B3P
REF_xxx
163
164
165
166
167
168
169
16A
16B
16C
16D
16E
16F
170
171
172
173
174
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
REF_WBR1
REF_WBB1
REF WBR2
REF WBB2
REF WBR3
REF WBB3
REF_GA_R1M
REF_GA_B1M
REF_GA_R1P
REF_GA_B1P
REF_GA_R2M
REF_GA_B2M
REF_GA_R2P
REF_GA_B2P
REF_GA_R3M
REF_GA_B3M
REF_GA_R3P
REF_GA_B3P
175 7 0 REF_MAT_R1M
176 7 0 REF_MAT_B1M
177 7 0 REF_MAT_R1P
Description
Setting of the fixed white balance. (When SELFIXWB=1is, these are valid)
R gain,B gain and color-difference gain sets Positive number.
The matrix coefficient sets one's complement number.
R gain when it is fixed by WB1 (It is the 9 bit data added 1 to MSB)
B gain when it is fixed by WB1
R gain when it is fixed by WB2
B gain when it is fixed by WB2
R gain when it is fixed by WB3
B gain when it is fixed by WB3
R-Y negative direction color-difference gain at WB1 (Positive number)
B-Y negative direction color-difference gain at WB1 (Positive number)
R-Y positive direction color-difference gain at WB1 (Positive number)
B-Y positive direction color-difference gain at WB1 (Positive number)
R-Y negative direction color-difference gain at WB2 (Positive number)
B-Y negative direction color-difference gain at WB2 (Positive number)
R-Y positive direction color-difference gain at WB2 (Positive number)
B-Y positive direction color-difference gain at WB2 (Positive number)
R-Y negative direction color-difference gain at WB3 (Positive number)
B-Y negative direction color-difference gain at WB3 (Positive number)
R-Y positive direction color-difference gain at WB3 (Positive number)
B-Y positive direction color-difference gain at WB3 (Positive number)
Coefficient of the matrix correction R-Y negative direction at WB1
(one's complement)
Coefficient of the matrix correction B-Y negative direction at WB1
Coefficient of the matrix correction R-Y positive direction at WB1
Coefficient of the matrix correction B-Y positive direction at WB1
Coefficient of the matrix correction R-Y negative direction at WB2
Coefficient of the matrix correction B-Y negative direction at WB2
Coefficient of the matrix correction R-Y positive direction at WB2
Coefficient of the matrix correction B-Y positive direction at WB2
Coefficient of the matrix correction R-Y negative direction at WB3
Coefficient of the matrix correction B-Y negative direction at WB3
Coefficient of the matrix correction R-Y positive direction at WB3
Coefficient of the matrix correction B-Y positive direction at WB3
Setting of automatic white balance reference point.
Setting of the fixed white balance. (When SELFIXWB=0, these are valid)
R gain, B gain and color-difference gain sets Positive number.
The matrix coefficient sets one's complement number.
R gain at WB1 and reference 1
B gain at WB1 and reference 1
R gain at WB2 and reference 2
B gain at WB2 and reference 2
R gain at WB3 and reference 3
B gain at WB3 and reference 3
R-Y negative direction color-difference gain at WB1 and reference 1
B-Y negative direction color-difference gain at WB1 and reference 1
R-Y positive direction color-difference gain at WB1 and reference 1
B-Y positive direction color-difference gain at WB1 and reference 1
R-Y negative direction color-difference gain at WB2 and reference 2
B-Y negative direction color-difference gain at WB2 and reference 2
R-Y positive direction color-difference gain at WB2 and reference 2
B-Y positive direction color-difference gain at WB2 and reference 2
R-Y negative direction color-difference gain at WB3 and reference 3
B-Y negative direction color-difference gain at WB3 and reference 3
R-Y positive direction color-difference gain at WB3 and reference 3
B-Y positive direction color-difference gain at WB3 and reference 3
Coefficient of the matrix correction R-Y negative direction at WB1 and
reference 1
Coefficient of the matrix correction B-Y negative direction at WB1 and
reference 1
Coefficient of the matrix correction R-Y positive direction at WB1 and
reference 1
5-7
init settings R/W
R/W
69h
B6h
95h
4Eh
A1h
3Bh
A0h
34h
A0h
44h
B4h
44h
B4h
54h
A8h
4Ch
D0h
54h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7Fh
R/W
F0h
FCh
Ech
7Fh
00h
E0h
F8h
7Fh
ECh
B0h
F0h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
69h
B6h
95h
4Eh
A1h
3Bh
A0h
34h
A0h
44h
B4h
44h
B4h
54h
A8h
4Ch
D0h
54h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7Fh
R/W
F0h
R/W
FCh
R/W
Adr
Bit RegisterName
178 7 0
179 7 0
17A 7 0
17B 7 0
17C 7 0
17D 7 0
17E 7 0
17F 7 0
180 7 0
188
189
18A
18B
18C
18D
18E
18F
190
191
192
193
194
195
196
197
198
199
19A
19B
1A0
1A1
1A2
1A3
1A4
1A5
1A6
1A7
1A8
1A9
1AA
1AB
1AC
1AD
1AE
1AF
1B0
1B1
1B2
1B3
1B4
1B5
1B6
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Description
Coefficient of the matrix correction B-Y positive direction at WB1 and
REF_MAT_B1P
reference 1
Coefficient of the matrix correction R-Y negative direction at WB2 and
REF_MAT_R2M
reference 2
Coefficient of the matrix correction B-Y negative direction at WB2 and
REF_MAT_B2M
reference 2
Coefficient of the matrix correction R-Y positive direction at WB2 and
REF_MAT_R2P
reference 2
Coefficient of the matrix correction B-Y positive direction at WB2 and
REF_MAT_B2P
reference 2
Coefficient of the matrix correction R-Y negative direction at WB3 and
REF_MAT_R3M
reference 3
Coefficient of the matrix correction B-Y negative direction at WB3 and
REF_MAT_B3M
reference 3
Coefficient of the matrix correction R-Y positive direction at WB3 and
REF_MAT_R3P
reference 3
Coefficient of the matrix correction B-Y positive direction at WB3 and
REF_MAT_B3P
reference 3
Limitation of the adjustment range for automatic white balance B gain(WBB).
MAX/MIN _WBB_xxx
Setting of the value that corresponds to WBB[8:1].
MAX WBB OFST0 WBB upper bound value at WBR=0
MAX WBB OFST1 WBB upper bound value at WBR= 64
MAX WBB OFST2 WBB upper bound value at WBR= 96
MAX WBB OFST3 WBB upper bound value at WBR=112
MAX WBB OFST4 WBB upper bound value at WBR=128
MAX WBB OFST5 WBB upper bound value at WBR=144
MAX WBB OFST6 WBB upper bound value at WBR=160
MAX WBB OFST7 WBB upper bound value at WBR=192
MAX WBB OFST8 WBB upper bound value at WBR=256
MAX WBB OFST9 WBB upper bound value at WBR=511
MIN WBB OFST0 WBB lower bound value at WBR= 0
MIN WBB OFST1 WBB lower bound value at WBR= 64
MIN WBB OFST2 WBB lower bound value at WBR= 96
MIN WBB OFST3 WBB lower bound value at WBR=112
MIN WBB OFST4 WBB lower bound value at WBR=128
MIN WBB OFST5 WBB lower bound value at WBR=144
MIN WBB OFST6 WBB lower bound value at WBR=160
MIN WBB OFST7 WBB lower bound value at WBR=192
MIN WBB OFST8 WBB lower bound value at WBR=256
MIN WBB OFST9 WBB lower bound value at WBR=511
Setting on the luminance gamma
YGAM_xxx
The value that corresponds to ADIN [11:4] is set.
YGAM OFST0
output of luminance gamma as input=0
YGAM OFST1
output of luminance gamma as input=YGAM RNG1
YGAM OFST2
output of luminance gamma as input=YGAM RNG2
YGAM OFST3
output of luminance gamma as input=YGAM RNG3
YGAM OFST4
output of luminance gamma as input=YGAM RNG4
YGAM OFST5
output of luminance gamma as input=YGAM RNG5
YGAM OFST6
output of luminance gamma as input=YGAM RNG6
YGAM OFST7
output of luminance gamma as input=YGAM RNG7
YGAM OFST8
output of luminance gamma as input=YGAM RNG8
YGAM OFST9
output of luminance gamma as input=YGAM RNG9
YGAM OFST10
output of luminance gamma as input=YGAM RNG10
YGAM OFST11
output of luminance gamma as input=YGAM RNG11
YGAM OFST12
output of luminance gamma as input=YGAM RNG12
YGAM OFST13
output of luminance gamma as input=YGAM RNG13
YGAM RNG1
Luminance gamma starting point in straight line section 1
YGAM RNG2
Luminance gamma starting point in straight line section 2
YGAM RNG3
Luminance gamma starting point in straight line section 3
YGAM RNG4
Luminance gamma starting point in straight line section 4
YGAM RNG5
Luminance gamma starting point in straight line section 5
YGAM RNG6
Luminance gamma starting point in straight line section 6
YGAM RNG7
Luminance gamma starting point in straight line section 7
YGAM RNG8
Luminance gamma starting point in straight line section 8
YGAM RNG9
Luminance gamma starting point in straight line section 9
5-8
init settings R/W
ECh
R/W
7Fh
R/W
00h
R/W
E0h
R/W
F8h
R/W
7Fh
R/W
ECh
R/W
B0h
R/W
F0h
R/W
R/W
7Fh
7Fh
78h
5Bh
3Ah
33h
2Eh
28h
28h
28h
78h
78h
5Ah
45h
28h
20h
18h
17h
17h
17h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00h
0Fh
17h
23h
2Ch
35h
43h
5Bh
66h
70h
79h
88h
94h
A6h
04h
08h
10h
18h
20h
30h
50h
60h
70h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Adr Bit RegisterName
1B7 7 0 YGAM RNG10
1B8 7 0 YGAM RNG11
1B9 7 0 YGAM RNG12
CGAM xxx
1C0 7 0 CGAM OFST0
1C1 7 0 CGAM OFST1
1C2 7 0 CGAM OFST2
1C3 7 0 CGAM OFST3
1C4 7 0 CGAM OFST4
1C5 7 0 CGAM OFST5
1C6 7 0 CGAM OFST6
1C7 7 0 CGAM OFST7
1C8 7 0 CGAM OFST8
1C9 7 0 CGAM OFST9
1CA 7 0 CGAM OFST10
1CB 7 0 CGAM OFST11
1CC 7 0 CGAM OFST12
1CD 7 0 CGAM OFST13
1CE 7 0 CGAM RNG1
1CF 7 0 CGAM RNG2
1D0 7 0 CGAM RNG3
1D1 7 0 CGAM RNG4
1D2 7 0 CGAM RNG5
1D3 7 0 CGAM RNG6
1D4 7 0 CGAM RNG7
1D5 7 0 CGAM RNG8
1D6 7 0 CGAM RNG9
1D7 7 0 CGAM RNG10
1D8 7 0 CGAM RNG11
1D9 7 0 CGAM RNG12
1DA 7 0 K UVG1
1DB 7 0 K UVG2
1DC 7 0 K UVG3
1DD 7 0 K UVG4
1DE 7 0 DIG_U_GAIN
1DF 7 0 DIG_V_GAIN
7 7 MODE_MAT
1E0
6 2 Reserved
1 0 UV_DIVSEL
1E1 6 6 CKIL_OFF
1E2 7 0 CKI_HCL
1E3 7 0 CKI_LCL
1E4
1E5
1E6
1E9
1EA
1EB
1EC
1ED
7
3
7
7
3
7
7
7
0
7
4
0
0
4
0
0
0
0
0
0
Description
Luminance gamma starting point in straight line section 10
Luminance gamma starting point in straight line section 11
Luminance gamma starting point in straight line section 12
Setting og the color gamma RGB commonness
output of color gamma as input=0
output of color gamma as input=CGAM RNG1
output of color gamma as input=CGAM RNG2
output of color gamma as input=CGAM RNG3
output of color gamma as input=CGAM RNG4
output of color gamma as input=CGAM RNG5
output of color gamma as input=CGAM RNG6
output of color gamma as input=CGAM RNG7
output of color gamma as input=CGAM RNG8
output of color gamma as input=CGAM RNG9
output of color gamma as input=CGAM RNG10
output of color gamma as input=CGAM RNG11
output of color gamma as input=CGAM RNG12
output of color gamma as input=CGAM RNG13
Color gamma starting point in straight line section 1
Color gamma starting point in straight line section 2
Color gamma starting point in straight line section 3
Color gamma starting point in straight line section 4
Color gamma starting point in straight line section 5
Color gamma starting point in straight line section 6
Color gamma starting point in straight line section 7
Color gamma starting point in straight line section 8
Color gamma starting point in straight line section 9
Color gamma starting point in straight line section 10
Color gamma starting point in straight line section 11
Color gamma starting point in straight line section 12
Color difference generation matrix coefficient (one's complement)
R-Y = (R-G) * K_UVG1 + (B-G) * K_UVG3
B-Y = (R-G) * K_UVG2 + (B-G) * K_UVG4
Gain of digital output U(B-Y) element
Gain of digital output V(R-Y) element
Selection of parameter of color difference matrix and color difference gain
(address 14Bh-180h)
0: Same coefficient (xxxP) is used
1: Another coefficient (xxxP/xxxM) is
Gain control for color differential signal
00 : 1/4
01 : 1/2
10 : default
11 : twice
Setting of color killer control
0: Color killer is used
1: Color killer is not used
High luminance color suppression beginning brightness level
The pixel of brightness more than this value is gradually suppressed in the
color.
Low brightness color suppression beginning brightness level
The pixel of brightness below this value is gradually suppressed in the color.
color suppression gain for high brightness (Positive number)
color suppression gain for low brightness (Positive number)
please set it to 66h
Noise suppression of low-level color difference signal (R-Y)
Noise suppression of low-level color difference signal (B-Y)
Read out WBB for AWB gain
Read out WBR for AWB gain
CKI_HGA
CKI_LGA
Reserved
NSUP_R
NSUP_B
MON_WBR
MON_WBB
MON_SH_DAT[7:0]
Read out the shutter speed ( output of exposure table)
MON_SH_DAT[8]
MON_AGC_DATA[7:0] Read out AGC gain ( output of exposure table)
5-9
init settings R/W
80h
R/W
A0h
R/W
C0h
R/W
R/W
00h
R/W
05h
R/W
0Ah
R/W
13h
R/W
1Bh
R/W
23h
R/W
32h
R/W
4Fh
R/W
5Eh
R/W
6Ch
R/W
79h
R/W
8Dh
R/W
9Ah
R/W
A6h
R/W
04h
R/W
08h
R/W
10h
R/W
18h
R/W
20h
R/W
30h
R/W
50h
R/W
60h
R/W
70h
R/W
80h
R/W
A0h
R/W
C0h
R/W
2Dh
R/W
Edh
R/W
02h
R/W
39h
R/W
R/W
6Ch
6Ch
R/W
82h
00000
R/W
00h
R/W
80h
R/W
08h
R/W
12h
R/W
00h
66h
R/W
11h
R/W
-
R
R
R
R
R
Adr Bit RegisterName
1F0 7 0 OBDUM_LEV
1F1 7 0 OB_IRIS
1F2
1F3
200
201
7
7
7
7
7
202
3
7
0
0
0
0
4
0
7
Reserved
Reserved
CKIHELE
CKIVELE
CKIHEGA
CKIVEGA
Reserved
6 6 CKISEL0
5 5 CKISFT
4 4 SEL_BPF
204
3 2 HAPT_SEL
1 1 VAPT_OFF
0 0 HAPT_OFF
206
6 6 HAPTCLSEL
5 0 HAPTCL
207
208
209
20A
20B
20C
6 6 VAPTCLSEL
5
7
7
7
7
7
0
0
0
0
0
0
VAPTCL
APT_LIM
APT_O_LIM
Reserved
WHCLP
WHCLP_OUT
210 5 0 COL_Y
211
212
213
214
215
216
7
5
4
4
7
5
0
0
0
0
0
0
COL_S
COL_H
HAPTGA
VAPTGA
APT S
APT_H
217 5 0 APT_Y
218
219
21A
21B
22D
22E
5
7
5
4
7
5
0
0
0
0
0
0
APT L
APT W
APT K
BPFGA
SHD_S
SHD_H
22F 5 0 SHD_Y
Description
Detected level for strong light (BlackOut) by OB-DUM >OBDUM_LEV.
Exposure level to release the storong light (BlackOut) mode
It returns to normal mode when the address of the exposure table becomes this
or less.
Horizontal edge color suppression starting point
Vertical edge color suppression starting point
Horizontal edge color suppression gain (Positive number)
Vertical edge color suppression gain (Positive number)
Please set to 1
Edge signal generation switch for edge color suppression
0: The horizontal two pixel average
1: It doesn't average by two pixels.
gain adjustment of edge color suppression signal
0: Nomal
1: 1/2
Band-path filter selection
0: filter 1
1: filter 2
Horizontal aperture control selection
00: filter 1 ( 0 -1 2 -1 0 )
01: filter 2 (-1 0 2 0 -1)
1-: Forbidden
Vertical aperture control setting
0: With the control
1: Without the control
Horizontal aperture control setting
0: With the control
1: Without the control
Rounding process of the horizontal edge signal
0: Without the rounding process
1: With the rounding process
Suppression level setting of the horizontal edge signal
Rounding process of the vertical edge signal
0: Without the rounding process
1: With the rounding process
Suppression level setting of the vertical edge signal
High luminance limit value to edge extraction circuit input level
High luminance limit value after edge signal gain is corrected
please set it to 33h
Level of white clip judgment
Output level at white clip
Color suppression level calculation coefficient from underexposure value
when AGC is the maximum
Low illuminance color suppression beginning point (AGC gain)
Color suppression level calculation coefficient from excessive amount of AGC
The horizontal aperture signal gain
The vertical aperture signal gain
Beginning point of low illuminance aperture suppression
Gain setting of edge signal suppression to AGC value (Positive number)
Aperture suppression level calculation coefficient of AGC from underexposure
value when AGC is the maximum
Lower bound value of aperture gain suppression by WBR gain
aperture gain synchronization beginning point to WBR gain
Coefficient of aperture gain suppression by WBR gain
BPF gain
Low illuminance shading suppression beginning point (AGC value)
Low illuminance shading suppression coefficient (AGC value)
When AGC is the maximum, it is shading suppression coefficient.
(under exposure amount)
5-10
init settings R/W
80h
R/W
70h
00h
80h
D0h
D0h
R/W
00h
80h
11h
R/W
R/W
R/W
R/W
R/W
1
00h
R/W
00h
R/W
00h
R/W
80h
FFh
00h
FFh
FFh
R/W
R/W
R/W
R/W
R/W
33h
20h
R/W
50h
10h
06h
06h
50h
08h
R/W
R/W
R/W
R/W
R/W
R/W
10h
R/W
00h
59h
00h
02h
FCh
3Fh
R/W
R/W
R/W
R/W
R/W
R/W
10h
R/W
Adr
Bit RegisterName
SHD_OFSTxx
230
231
232
233
234
235
236
237
238
239
23A
23B
23C
23D
7
7
7
7
7
7
7
7
7
7
7
7
7
7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SHD_OFST0
SHD_OFST1
SHD_OFST2
SHD_OFST3
SHD_OFST4
SHD_OFST5
SHD_OFST6
SHD_OFST7
SHD_OFST8
SHD_OFST9
SHD_OFST10
SHD_OFST11
SHD_OFST12
SHD_OFST13
SHD_RNGxx
23E
23F
240
241
242
243
244
245
246
247
248
249
24A
24B
24C
24D
24E
24F
250
260
261
262
263
264
7
7
7
7
7
7
7
7
7
7
7
7
0
0
0
0
0
0
0
0
0
0
0
0
SHD_RNG1
SHD_RNG2
SHD_RNG3
SHD_RNG4
SHD_RNG5
SHD_RNG6
SHD_RNG7
SHD_RNG8
SHD_RNG9
SHD_RNG10
SHD_RNG11
SHD_RNG12
1 1 SHD_TH
0
5
5
5
5
4
4
7
7
7
7
7
7
0
0
0
0
0
0
0
0
0
0
0
0
5
Reserved
SHD GAIN
SHD GAIN
SHD GAIN
SHD GAIN
CENX_ADJ
CENY_ADJ
Reserved
Reserved
Reserved
Reserved
LINE_U
Reserved
C1
C2
C3
C4
265 4 4 LC_ON
266
267
268
269
26A
26B
26E
26F
270
271
3
7
7
7
7
7
7
4
4
7
7
0
0
0
0
0
0
0
0
0
0
0
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
MON HAPTGA
MON VAPTGA
WN00H[7:0]
WN00V[7:0]
Description
Increase of shading gain
00: Without gain (Multiplied once)
FF: 1.99 times
Curve of shading correction (gain increment at center of screen)
Curve of shading correction (gain increment of beginning point in section 1)
Curve of shading correction (gain increment of beginning point in section 2)
Curve of shading correction (gain increment of beginning point in section 3)
Curve of shading correction (gain increment of beginning point in section 4)
Curve of shading correction (gain increment of beginning point in section 5)
Curve of shading correction (gain increment of beginning point in section 6)
Curve of shading correction (gain increment of beginning point in section 7)
Curve of shading correction (gain increment of beginning point in section 8)
Curve of shading correction (gain increment of beginning point in section 9)
Curve of shading correction (gain increment of beginning point in section 10)
Curve of shading correction (gain increment of beginning point in section 11)
Curve of shading correction (gain increment of beginning point in section 12)
Curve of shading correction (gain increment of ending point in section 12)
Shading correction
Definition of straight line section in distance from center of screen
Curve of shading correction (beginning point in input section 1)
Curve of shading correction (beginning point in input section 2)
Curve of shading correction (beginning point in input section 3)
Curve of shading correction (beginning point in input section 4)
Curve of shading correction (beginning point in input section 5)
Curve of shading correction (beginning point in input section 6)
Curve of shading correction (beginning point in input section 7)
Curve of shading correction (beginning point in input section 8)
Curve of shading correction (beginning point in input section 9)
Curve of shading correction (beginning point in input section 10)
Curve of shading correction (beginning point in input section 11)
Curve of shading correction (beginning point in input section 12)
ON/OFF of the Shading correction
0: With shading
1: Without shading
please set it to 1
Each element Adjustment of shading gain (C1) 3Fh: twice - 00h: 1 time
Each element Adjustment of shading gain (C2) 3Fh: twice - 00h: 1 time
Each element Adjustment of shading gain (C3) 3Fh: twice - 00h: 1 time
Each element Adjustment of shading gain (C4) 3Fh: twice - 00h: 1 time
Correction of shading center coordinates (Horizontal)
Correction of shading center coordinates (Vertical)
Signal level for the line crawl judgement(Positive number)
Line crawl correction control
0: Without correction
1: With correction
Read out the aperture gain (horizontal)
Read out the aperture gain (vertical)
White blemish horizontal direction coordinates 1 Lower 8 bit
White blemish vertical direction coordinates 1 Lower 8 bit
5-11
init settings R/W
R/W
00h
0Fh
1Eh
2Dh
3Ch
4Bh
5Ah
69h
78h
87h
A7h
C7h
E7h
F6h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
10h
20h
30h
40h
50h
60h
70h
80h
90h
B0h
D0h
F0h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
02h
1
20h
20h
20h
20h
00h
00h
00h
00h
10h
10h
C8h
00h
00h
10h
10h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
000
00h
14h
30h
30h
30h
30h
10h
00h
00h
R/W
0000
14h
30h
30h
30h
30h
10h
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R/W
R/W
Adr
272
273
274
275
276
277
278
279
27A
27B
27C
27D
27E
27F
280
281
282
283
284
285
286
287
Bit
3 2
1 0
7 0
7 0
3 2
1 0
7 0
7 0
3 2
1 0
7 0
7 0
3 2
1 0
7 0
7 0
3 2
1 0
7 0
7 0
3 2
1 0
7 0
7 0
3 2
1 0
7 0
7 0
3 2
1 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
7 0
RegisterName
WN00H[9:8]
WN00V[9:8]
WN01H[7:0]
WN01V[7:0]
WN01H[9:8]
WN01V[9:8]
WN02H[7:0]
WN02V[7:0]
WN02H[9:8]
WN02V[9:8]
WN03H[7:0]
WN03V[7:0]
WN03H[9:8]
WN03V[9:8]
WN04H[7:0]
WN04V[7:0]
WN04H[9:8]
WN04V[9:8]
WN05H[7:0]
WN05V[7:0]
WN05H[9:8]
WN05V[9:8]
WN06H[7:0]
WN06V[7:0]
WN06H[9:8]
WN06V[9:8]
WN07H[7:0]
WN07V[7:0]
WN07H[9:8]
WN07V[9:8]
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
SL RWA
Reserved
Reserved
2BF
2C0
2C1
2C2
2C3
2C4
2C5
2C6
2C8
2C9
2D0
2D1
2D3
2E0
2E1
2ED
TEST
…
2F6 7 0
7 7 Reserved
6 4 CMD_STAT
2F9
3 0 EEP_RW
Description
White blemish horizontal direction coordinates 1 Upper 2 bit
White blemish vertical direction coordinates 1 Upper 2 bit
White blemish horizontal direction coordinates 2 Lower 8 bit
White blemish vertical direction coordinates 2 Lower 8 bit
White blemish horizontal direction coordinates 2 Upper 2 bit
White blemish vertical direction coordinates 2 Upper 2 bit
White blemish horizontal direction coordinates 3 Lower 8 bit
White blemish vertical direction coordinates 3 Lower 8 bit
White blemish horizontal direction coordinates 3 Upper 2 bit
White blemish vertical direction coordinates 3 Upper 2 bit
White blemish horizontal direction coordinates 4 Lower 8 bit
White blemish vertical direction coordinates 4 Lower 8 bit
White blemish horizontal direction coordinates 4 Upper 2 bit
White blemish vertical direction coordinates 4 Upper 2 bit
White blemish horizontal direction coordinates 5 Lower 8 bit
White blemish vertical direction coordinates 5 Lower 8 bit
White blemish horizontal direction coordinates 5 Upper 2 bit
White blemish vertical direction coordinates 5 Upper 2 bit
White blemish horizontal direction coordinates 6 Lower 8 bit
White blemish vertical direction coordinates 6 Lower 8 bit
White blemish horizontal direction coordinates 6 Upper 2 bit
White blemish vertical direction coordinates 6 Upper 2 bit
White blemish horizontal direction coordinates 7 Lower 8 bit
White blemish vertical direction coordinates 7 Lower 8 bit
White blemish horizontal direction coordinates 7 Upper 2 bit
White blemish vertical direction coordinates 7 Upper 2 bit
White blemish horizontal direction coordinates 8 Lower 8 bit
White blemish vertical direction coordinates 8 Lower 8 bit
White blemish horizontal direction coordinates 8 Upper 2 bit
White blemish vertical direction coordinates 8 Upper 2 bit
EEPROM Setting of slave adress
test register
EEPROM State of access
--1: The operation of the initialization
-1-: On writting
1--: On reading
EEPROM Access TRIG
00: EEPROM Access preparation
03: EEPROM Writing beginning
0C: EEPROM Reading beginning
others: Forbitten
5-12
init settings R/W
00h
R/W
00h
00h
R/W
R/W
00h
R/W
00h
00h
R/W
R/W
00h
R/W
00h
00h
R/W
R/W
00h
R/W
00h
00h
R/W
R/W
00h
R/W
00h
00h
R/W
R/W
00h
R/W
00h
00h
R/W
R/W
00h
R/W
00h
00h
R/W
R/W
00h
R/W
6Fh
0Fh
40h
24h
26h
01h
03h
00h
2Ah
00h
0Ch
00h
A0h
0Ch
00h
00h
00h
6Fh
0Fh
40h
24h
26h
01h
03h
00h
2Ah
00h
0Ch
00h
A0h
0Ch
00h
00h
00h
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
W
W
-
R
00h
R/W
Adr
Bit RegisterName
7 3 ENC_SEL
2FA
0 0 YGAM_SEL
2FC 3 0 Reserved
0FF
1FF 7 0 MSADR
2FF
Description
adjustment of encoder timing
please set a specified value of each CCD.
selection of OB calculation at gamma circuit
0: normally
1: no OB calculation. Gamma is affected from zero-code of ADIN
-
init settings R/W
Register Bank is set for useing next accesses.
00
5-13
00
00
R/W
00h
R/W
R/W