SGS Thomson Microelectronics STV0502 Datasheet

CCD SENS OR S AN AL O G PROC ESSO R IC
.
SERIAL BUS CONTROL
VIDEO
.
CORRELATED DOUBLE SAMPLING OF THE CCD SIGNAL
.
DIGITALLY CONTROLLED VARIABLE AMPLI­FIER AND BLACK CLAMP LEVEL
.
8 BITS PIXEL RATE ADC
STV0502
AUDIO
.
MICROPHONE PREAMP WITH SWI TCHABLE AGC (RANGE 34dB - 60dB) OR FIXED GAIN
DESCRIPTION
The chip integrates the analog functions needed in a CCD Video Camera, more particularly for video­conferencing purpose.
The CCD signal is sampled, amplified to a useful level and digitized by an 8 bits ADC. The gain of the amplifier and the black level clamp c an be adjusted by a serial bus.
PIN CONNECTIONS
VCCGND
BLACK_REF
NOT USED
VAGCIN CDS_OUT CDS_REF
CDS_IN
NOT USED NOT USED
DATA7 DATA6 DATA5 DATA4
1 2 3 4 5
V
SS
6 7
8 9 10 11
TQFP44 Full (10 x 10 x 1.40mm)
(Plastic Quad Flat Pack)
ORDER CODE : STV0502
The audio microphone preamplifier allows a micro­phone to be connected to the chip, which outputs a differential audio line level signal ready for digital conversion or straight amplification. The preampli­fier incorporates an AGC to adapt to the income signal level. The AGC is switchable ON/OFF by the serial interface.
CC
TOPVBOT
GND
V
OB_CAP
AGC LEVEL
4041424344
39 38 37 36 35 34
16 1714 1512 13
V
TEST ONLY
18 19 20 21 22
33
V 32 31 30 29 28 27 26 25 24 23
BIAS
V
CC
AF_OUT-
AF_OUT+
CAGC
ACC
MIC_REF
MICRO_IN
GND
ADC_CLOCK
SCLK
October 1998
DATA2
DATA3
DATA0
DATA1
DD
V
V
V
SDATA_IO
OB
FS
FCDS
0502-01.EPS
SS
DD
1/15
STV0502
PINOUT DESCRIPTION
Pin Signal Ana./Dig. Type Description
1 VAGCIN Analog I Video Variable Gain Input 2 CDS_OUT Analog O CDS Output 3 CDS_REF Analog - CDS Reference 4 CDS_IN Analog I CDS Input 5V
SS
8 DATA[7] Digital O ADC Output - MSB
9 DATA[6] Digital O ADC Output 10 DATA[5] Digital O ADC Output 11 DATA[4] Digital O ADC Output 12 DATA[3] Digital O ADC Output 13 DATA[2] Digital O ADC Output 14 DATA[1] Digital O ADC Output 15 DATA[0] Digital O ADC Output - LSB 16 V 17 V
DD DD
18 SDATA_IO Digital I/O Serial Interface Data Wire 19 V
SS
20 OB Digital I OB Pulse 21 FCDS Digital I FCDS Pulse 22 FS Digital I FS Pulse 23 SCLK Digital I Serial Bus Clock Wire 24 ADC_CLOCK Digital I ADC Clock Input Pulse 25 GND Analog - Microphone Ground 26 MICRO_IN Analog - Microphone Input 27 MICRO-REF Analog - Microphone Internal Reference 28 ACC Analog - Microphone Preamplifier DC Level Capacitor 29 CAGC Analog - Microphone Preamplifier AGC Capacitor 30 AF_OUT+ Analog O Microphone Preamplifier Output (diff. +) 31 AF_OUT- Analog O Microphone Preamplifier Output (diff. -) 32 V 33 V 34 V
CC
BIAS
CC
35 GND Analog - ADC Ground 36 VTOP Analog - ADC Top Reference 37 VBOT Analog - ADC Bottom Reference 38 TEST ONLY Analog - Test only (AGCOUT/ADCIN) 39 AGCLEVEL Analog - Audio AGC Threshold Configuring Pin 40 OB_CAP Analog - Black Clamp DC Loop Capacitor 42 BLACK_REF Analog - Video Voltage Reference 43 V
CC
44 GND Analog - Video Ground
6-7
41
NC NC
Digital - ADC Data Ground
Digital - ADC Data Supply Digital - Digital Supply
Digital - Digital Ground
Analog - Microphone Preamplifier Supply Analog - Microphone Internal Supply (regulated) Analog - ADC Supply
Analog - Video Supply
-
-
-
-
Not to be connected Not to be connected
0502-01.TBL
2/15
BLOCK DIAGRAM
STV0502
V
REF
G = 1 G = 1 G = 1
BIAS
G = 1
VREG PSRR
BIAS
AGC
CORRELATED
DOUBLE
SAMPLING
AUDIO
INTERFACE
FUNCTIONAL DESCRIPTION 1 - Video Section
A CCD signal is provided to the STV0502, via a coupling capacitor , as well as the pulses FS/FCDS. The CDS (Correlated Double Sampling) is perform­ing a clamp of the CCD signal during the FCDS pulse. The signal obtained is then sampled during the FS pulse, and held the rest of the period. The resulting signal is then the difference between the useful pixel level, and the pixel level corresponding to no charge which can vary from one pixel to another. Therefore, the parasitic level offset from one pixel to another is removed.
This signal is DC coupled to the ACG, amplified by a variable gain amplifier, bus controlled (0.07dB step), which gain is in the range +6dB to +23.7dB (17.7dB range). Typically, the amplifier is controlled in order to keep the signal at an optimum level (AGC) to be digitized. An extra 12dB can be added up via a bit of the serial interface. In this cas e the gain range becomes +18dB up to + 36dB.
At this point, the signal is clamped to a Black level during the OB pulse. The black level is 5 bits bus controlled, and its range corresponds to [0 LSB ; 31 LSB] of the ADC. The black level is made with a 5 bits DC frequency DAC, using the same V
BOTTOM
and V
voltage references than
TOP
the ADC for matching purposes. The clamp is m ade out of a OB puls e sampled comparator between the
VIDEO GAIN AMPLIFIER &
A/D CONVERTER INTERFACE
INTERFACE
SERIAL BUS
6dB/18dB
Range
0-18dB
COMP
ADJUST & CLAMP
A/D CONV
D/A CONV
BLACK LEVEL
STV0502
DAC output voltage (Black) and the ADC input signal. The comparator has a symetrical current output charging a capacitor. The obtained voltage is buffered and used as a feedback to t he AGC input stage. This clamp makes sure that ADCin is matched to the DAC black settin g during the OB pulse, disregarding any offset in the AGC path.
Then the signal is digitized by a fast ADC, clocked at the pixel rate. The output of the chip is then an 8-bit pixel DATA, ready for digital post-processing.
2 - Audio Section
The chip integrates a high gain audio amplifier, in order to process low signals coming from a speech microphone, and provide on its output a line level, differential audio signal, for digital conversion, or power amplification. Two modes can be selected : fixed gain mode or AGC mode. In case of AGC mode, a peak detection of the signal is pe rformed in order to regulate the output signal on a defined level of 1.5V level can be chosen at 1.5V pin at respectively ground or supply voltage (a pull­up resistor to supply is already included on chip), for compatibility purposes between the 502 and various back-end chips.
The system includes a Low-Noise fixed amplifier (26dB), and a bias circuitry at the front.
or 1VPP (non-diff). This regulated
PP
or 1VPP thanks to a
PP
0502-02.EPS
3/15
STV0502
FUNCTIONAL DESCRIPTION
(continued)
It is followed by a Voltage Controlled Amplifier (range 8dB - 34dB), that can be switched into a fixed 26dB gain amplifier. The VCA output is differential and 2 buffers are driving the two output pins, with a load impedance down to 5kΩ. A bias circuitry and an external capacitor (ACC) form a DC feedback loop on the VCA DC bias, in order to correct any DC offset on the VCA output. Finally , a peak detector (double alternance) is used to compare the output signal with the reference
Figure 1
CDS_IN
FCDS
FS
CDS_OUT
ADC_IN
ADC_CLOCK
Pixel N
t1
t3
t2 t4
Sampling
Period
Pixel N+1 Pixel N+2 Pixel N+3 Pixel N+4 Pixel N+5
t
PROP
Pixel N Pixel N+1 Pixel N+2 Pixel N+3 Pixel N+4
t
DADC
threshold, to be regulated at. An external capacitor (CAGC) is used for the AGC time constants. If the signal goes above the threshold, a 500µA current is charging the capacitor with a fast reponse time(attack). In case of very big signals, a second charge cureent of about 5mA is given, in order to reduce the period during which the output signal is saturated. Otherwise, a constant 1µA current dis­charges the capacitor with a slow response time (decay). The capacitor voltage controls the VCA gain. This constitues the AGC loop.
DATA_OUT
Notation :
Figure 2
4/15
Pixel N-4 Pixel N-3 Pixel N-2 Pixel N-1 Pixel N
3 CLK Pipe-Line Delay
- t1 is the delay between the falling edge of FCDS and the beginning of the active pixel level from the CCD.
- t2 is the delay between the falling edge of FS and the end of the active pixel level from the CCD.
t1, t2, t3 and t4 must be kept > 0 in the Application.
-t
is the propagation delay between CDS_OUT and ADC_IN signals (within the AGC block).
PROP
is the delay on the ADC outputs between the rising edge of the clock and data output.
-t
DADC
CDS_IN = CCD Signal
FCDS
FS
CDS_OUT
Feedtrough Level
Signal Level
Pixel N+1
0502-03.EPS
0502-04.EPS
STV0502
FUNCTIONAL DESCRIPTION
(continued)
3 - Serial Bus Specification
It is a 2-wires (data and clock) serial bus, used as a slave.
Clock line is monodirectional (input) and allways sent by the master to the chip, whereas Data line is bidirectional (I/O).
There are 3 registers (8 bits), both writable/readable. Each register can be addressed by a 4 bits address
word, followed by a R/W bit, and an 8 bits word Data (read/write).
2 main patterns can be sent : Reset Pattern and Read/Write pattern.
3.1 -Timings and Protocol
The data bit is t aken into ac count when t he clock is rising.
- Reset Pattern : resets all the registers to their default (Power On) values : format = 16 * (data=1) | 2 * (data=0) (total = 18 clocks)
- Read/Write Pattern : format = 4 addr bits | R/W bit | 8 data bits (total = 13 clocks)
Figure 3
Please note that : 1/ On power On conditions, SDATA line is in Write
(Input) Mode.
2/ In case of a read pattern, the SDATA line is
automatically set to Read (Output mode) during 8 clock cycles (Data D7 - D0) after R/W bit has been sent, and comes back in Write (Input mode) after the 13th clock cycle.
3/ There is no timing restriction between two
consecutive patterns (a pattern being defined as one of the two above).
3.2 - Register Summary
Register
Video Amplifier Gain 0000 DDDD.DDDD Black Level Adjust 0001 XXXD.DDDD Video High Gain Select 0001 XXDX.XXXX Test Mode 0001 DDXX.XXXX Microphone AGC 0010 XXXX.XXXD
X : unused bits D : means useful bits
Address
(A3-A0)
Data Format
(D7-D0)
Please note that 3 different functions are merged in register address 01.
CLK
SDATA
Figure 4
1 2 3 4 5 6 7 8 9 10111213141516 1 2
2 CLK CyclesMinimum 16 CLK Cycles
Reset Pattern
12345678910111213
CLK
SDATA
A3 A2 A1 A0 R/W D7 D6 D5 D4 D3 D2 D1 D0
Read/Write Pattern
0502-05.EPS
0502-06.EPS
5/15
Loading...
+ 10 hidden pages