An image processor system for a charge coupled device (CCD) or CMOS imaging system includes a correlated double sample and variable gain (cdsvga) circuit for receiving data from a CCD system and an automatic gain control (AGC) circuit which first controls gain by adjusting said CCD system and then for yet a higher gain level makes gain adjustments in said cdsvga circuit AND a digital gain circuit to produce a combined target gain level. A processing system for an imager device includes a camera system for producing an imager signal, a correlated double sample (CDS) circuit for receiving data from an imager, a variable gain amplifier (VGA), an analog-to-digital converter (ADC) coupled to said CDS circuit, a digital gain circuit (DGC) coupled to said ADC, and an automatic gain control (AGC) circuit coupled to said DGC for controlling the CDS circuit and the DGC. The processing circuitry includes an analog front end and a digital signal processing system for capturing full motion video and outputting a CCIR 601 4:2:2 YCrCb video data output for presentation on a user selected display.
|
1. A correlated double sampler and variable gain amplifier (cdsvga) circuit for receiving CCD data, comprising:
a first fixed capacitor for receiving CCD data;
a first amplifier connected to said first fixed capacitor for amplifying CCD data, said first amplifier connected to said first fixed capacitor;
a first variable capacitor connected in parallel with said first amplifier;
a first switch connected in parallel with said first variable capacitor, said first switch being clocked at a first clock phase;
a second variable capacitor connected to said first amplifier;
a second amplifier connected to said second variable capacitor;
a second fixed capacitor connected in parallel with said second amplifier; and
a second switch connected in parallel with said second fixed amplifier; said second switch being clocked at a second clock phase; and
wherein a total gain of the cdsvga circuit is a product of a divided value derived from a value of the first fixed capacitor divided by a value of the second fixed capacitor and another divided value derived from a value of the second variable capacitor divided by a value of the first variable capacitor.
10. A correlated double sampler and variable gain amplifier (cdsvga) circuit for receiving CCD data, comprising:
a first fixed capacitor for receiving CCD data;
a first amplifier connected to said first fixed capacitor for amplifying CCD data, said first amplifier connected to said first fixed capacitor;
a first variable capacitor connected in parallel with said first amplifier;
a first switch connected in parallel with said first variable capacitor, said first switch being clocked at a first clock phase;
a second variable capacitor connected to said first amplifier;
a second amplifier connected to said second variable capacitor;
a second fixed capacitor connected in parallel with said second amplifier; and
a second switch connected in parallel with said second fixed amplifier; said second switch being clocked at a second clock phase; and
wherein the first fixed capacitor, the first amplifier, the first variable capacitor, and the first switch perform correlated double sampling by sampling a feed-through level across the first fixed capacitor when the first clock phase is high and an amplifier output of the first amplifier follows an input gain in accordance with a divided capacitor value that is derived from a negative of a value of the first fixed capacitor divided by a value of the first variable capacitor when the first clock phase is low.
11. A correlated double sampler and variable gain amplifier (cdsvga) circuit for receiving CCD data, comprising:
a first fixed capacitor for receiving CCD data;
a first amplifier connected to said first fixed capacitor for amplifying CCD data, said first amplifier connected to said first fixed capacitor;
a first variable capacitor connected in parallel with said first amplifier;
a first switch connected in parallel with said first variable capacitor, said first switch being clocked at a first clock phase;
a second variable capacitor connected to said first amplifier;
a second amplifier connected to said second variable capacitor;
a second fixed capacitor connected in parallel with said second amplifier; and
a second switch connected in parallel with said second fixed amplifier; said second switch being clocked at a second clock phase; and
wherein the second fixed capacitor, the second amplifier, the second variable capacitor, and the second switch perrorm correlated double sampling by sampling a feed-through level across the second fixed capacitor when the second clock phase is high and an amplifier output of the second amplifier follows an input gain in accordance with a divided capacitor value that is derived from a negative of a value of the second fixed capacitor divided by a value of the second variable capacitor when the second clock phase is low.
2. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
3. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
4. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
5. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
6. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
7. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
8. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
9. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
12. The correlated double sampler and variable gain amplifier (cdsvga) circuit according to
|
This application is a divisional of U.S. patent application Ser. No. 10/107,892 filed Mar. 27, 2002 now abandoned, which is a divisional of U.S. patent application Ser. No. 09/075,382 filed May 8, 1998, which is now abandoned.
This application is related to patent application Ser. Nos. 09/075,491, 09/075,449, 09/075,506, 09/075,446, and 09/075,348, respectively entitled “Digital Camera Signal Processor and Method” having inventors Syed Khalid Azim, Shih-Chung Chao, Brannon Craig Harris, and Ash Prabala; “High Voltage Input Pad System and Method” having inventors Douglas R. Holberg, Nadi Rafik Itani, and David R. Welland; “Pipelined Analog-to-Digital Converter (ADC) Systems. Methods, and Computer Program Products” having inventors Sandra Marie Johnson and David R. Welland; “Histogram-Based Automatic Gain Control Method and System for Video Applications” having inventors Nadi Rafik Itani, Caiyi Wang, and David R. Welland; and “Selectable Threshold Multimode Gain Control Apparatus and Method for Setting Mutually Continuous Analog. Digital, and Shutter Gain Levels” having inventors Nadi Rafik Itani, Caiyi Wang, and David R. Welland; each of these applications filed on even date herewith and incorporated herein by reference in their entirety.
This invention relates to analog and digital processors and methods, and more particularly to processing of full motion video derived from charge coupled device (CCD) cameras and CMOS imagers.
Charge coupled device (CCD) cameras are configured to capture full motion video according to many different CCD output formats and pixel rates. One such CCD camera includes a sensor array, a high voltage CCD driver for driving the sensor array, and a DC-DC converter. Such a camera produces a four-color mosaic CCD output, including a stream of cyan, magenta, yellow, and green color samples in various combinations.
These color samples are unfortunately not in a format which can directly be interpreted as images by a viewer using a display. In particular, the color samples are output from the CCD display in analog form representative of pixel information. Many conventional displays require a digital input representative of the image content to be displayed. Therefore, there is a need for a processor to convert the four-color mosaic CCD output into digital formatted data to enable user controlled hardware or software data processing leading to production of viewable digital images.
There is a further need for modularization of analog and digital subsystems that convert analog data into intermediate digital and final display-ready digital forms.
There is a further need to separately control gain over the analog and digital subsystems.
According to the present invention, a processing system for an imager device includes a camera system for producing an imager signal, a correlated double sample (CDS) circuit for receiving data from an imager, a variable gain amplifier (VGA), an analog-to-digital converter (ADC) coupled to said CDS circuit, a digital gain circuit (DGC) coupled to said ADC, and an automatic gain control (AGC) circuit coupled to said DGC for controlling the VGA circuit and said DGC.
According to one embodiment of the present invention, a correlated double sampler and variable gain amplifier (CDSVGA) circuit for receiving CCD data, includes a first fixed capacitor for receiving CCD data, and a first amplifier connected to the first fixed capacitor for amplifying CCD data. The first amplifier is connected to the first fixed capacitor, a first variable capacitor connected in parallel with said first amplifier, and a first switch connect in parallel with said first variable capacitor. The first switch is clocked at a first clock phase. The CDSVGA according to one embodiment of the present invention further includes a second variable capacitor connected to the first amplifier, a second amplifier connected to the second variable amplifier, a second fixed capacitor connected in parallel with the second amplifier, and a second switch connected in parallel with the second fixed amplifier. The second switch is clocked at a second clock phase.
According to one embodiment of the invention, a distributed gain control circuit (DGCC) includes an imager signal source, a timing circuit for controlling the production of signals to the imager signal source, an amplifier system for receiving imager signals from the imager signal source, an analog to digital converter connected to the amplifier for receiving an amplified imager signal stream from the amplifier and converting the amplified imager signal stream into digital form, a digital gain circuit connected to said analog to digital converter, and an automatic gain control (AGC) circuit for receiving an output digital level from the digital gain circuit for controlling the gain of the amplifier system and the digital gain circuit subject to a predetermined gain function (PGF).
According to one embodiment of the present invention, a signal processing system (SPS) on an integrated substrate for a video camera includes analog front-end (AFE) circuitry, and digital signal processing system (DSPS) circuitry connected to the analog front-end (AFE) circuitry.
According to the present invention, a signal processing system (SPS) for an imager device includes a camera system for producing an imager signal, a correlated double sample (CDS) circuit for receiving data from an imager, a variable gain amplifier (VGA), an analog-to-digital converter (ADC) coupled to the VGA circuit, a digital gain circuit (DGC) coupled to the ADC, and an automatic gain control (AGC) circuit for controlling the VGA circuit and the DGC.
According to the present invention, gain control of a signal processing system for an imager device includes a correlated double sampler, and variable gain amplifier circuit (CDSVGA) for receiving data from the imaging system, and an automatic gain control (AGC) circuit for controlling the level of gain provided to the camera system according to the present invention.
According to the present invention, signal processing circuitry for a video camera has first and second data processing subsystems including an analog front-end (AFE) and a digital signal processing system (DSPS) connected to the analog front-end (AFE). The signal processing system according to the present invention performs signal processing functions for a low cost CCD or CMOS imaging camera capable of capturing full motion video. A complete digital video camera according to one embodiment of the present invention includes in part a sensor array, a high voltage CCD driver, a DC-DC converter, the AFE and the DSPS. The AFE data processing subsystem according to the present invention receives a mosaic CCD output (a stream combining cyan, magenta, yellow and green color samples) from the CCD camera, performs analog signal processing, and produces a digital output which can be converted to a form suitable for image display. The DSPS data processing subsystem according to the present invention accepts the digital output of the AFE data processing subsystem, performs digital processing on the received digital output of the AFE, and according to one embodiment of the present invention outputs a CCIR 601 4:2:2 YCrCb video data product suitable for presentation on a user selected display.
The AFE and DSPS data processing subsystems can be implemented as a cooperative chipset according to the present invention. The respective data processing subsystems include registers which are configured according to the present invention to share a common address space of the respective subsystems. To an external controller, the combined AFE and DSPS subsystems are operable as a unitary data processing system. Additionally, the separate AFE and the DSPS of the respective subsystems according to the present invention can be used as stand-alone units which can be addressed and controlled directly through respective I2C interfaces.
The SPS according to the present invention is thus partitionable into physically separate subsystems which can individually be fabricated on separate semiconductor substrates to enable the combined installation of the AFE and its analog functions in an integrated camera package jointly operable with an imager. This enables digital data processing to be accomplished either in the camera package itself or separately in a personal computer or other data processing system. This processing transforms the digital analog pixel samples into display-ready digital data format. Accordingly, digital and analog signal processing functions are adaptively localizable and delocalizable in accordance with application package requirements. By establishing distributable analog and digital functionalities, the entire imager signal processing functionality can be localized and fabricated in silicon. Alternatively, the analog functions can be fabricated in silicon while the digital functions are software implemented. The development of separate analog and digital modules accordingly permits convenient system retrofitting with advanced analog or digital designs. Further, the analog and digital subsystems are operable at different data rates. Thus, the output of an analog to digital (A/D) converter within the AFE subsystem can be 2× lower than the 4:2:2 YCrCb format output from the digital section according to one embodiment of the present invention. By partitioning the subsystems into separate modules, the data transmitted from the analog module subsystem to the digital module subsystem can be provided at a reduced interfacing load between the analog and digital signal processing domains creating processing efficiencies. According to the present invention, the AFE subsystem provides an imager interface which is scalable for a plurality of selected imager output formats and pixel rates. In particular, the timing signals and clocks such as horizontal and vertical shift register clocks, the applicable imager output sampling pulses, and the number of horizontal and vertical pixels per frame are user programmable according to the present invention.
Further according to the present invention, independent and dependent (through the DSPS) register addressing is enabled and timing generator parameters are programmable. An automatic gain control circuit allows for up to 98 dB of gain range including shutter exposure with an option for flickerless operation that is enabled with a hysteresis method according to the present invention.
As shown in
Camera frame formats, according to the present invention, are subject to a user selected CCD format for data input to first SPS 17 and an output video frame format produced by second SPS 18. CCDs, according to the present invention, include interlaced odd and even frame format cameras, each containing half the vertical lines, as well as progressive scan CCD cameras. According to particular embodiments of the present invention, a variety of frame formats can be used.
According to one embodiment of the present invention, the horizontal CCD line time can be set at 63.5 microsecond, and the pixel clock frequency can be set to match the number of horizontal pixels produced by a selected CCD. For instance, for a 512×492 CCD producing 624 total pixels/line, a clock frequency of 9.82 can be set. According to the present invention, scaling and interpolation of frames from CCD array sensor 14, which would increase frame size, is avoided. Such scaling increases bandwidth undesirably. Scaling according to the present invention is left to the user's selected destination hardware, where scaling can be tailored to match consumer requirements. Further, according to the present invention, manipulation of video data to match particular format and refresh rate requirements of target displays is avoided at the camera, except for interpolation of the 512 active pixels/line to 640 active pixels/line for existing camera compatibility, which is implemented in the configuration of the second SPS 18 as detailed below. In particular, the first SPS 17 is configured, according to the present invention, to produce an unscaled analog output video signal. According to one embodiment of the present invention, the first SPS 17 is configured to produce a generalized digital representation of the analog output video signal which is independent of the specific format requirements of a target display. Further, according to one embodiment of the present invention, the first SPS 17 is configured to produce a generalized output video signal which is independent of the refresh requirements of a target display. Further, according to one embodiment of the present invention, the second SPS 118 is configured to produce an unscaled digital output video signal. Further, according to one embodiment of the present invention, the second SPS 18 is configured to produce a generalized digital output video signal which is independent of the specific format requirements of a target display. Further, according to one embodiment of the present invention, the second SPS 18 output video signal which is independent of the refresh requirements of a target display.
Data is formatted according to the present invention to accommodate multiple selected transmission channel requirements by producing a generalized output digital video signal. According to one embodiment of the present invention, first or second digital video outputs are selectable: first, a 4:2:2 YCrCb output multiplexed onto a 10 bit bus at twice the pixel sampling rate; and second, 20 bit parallel Y and CrCb outputs provided at a user selected pixel rate.
A block diagram of a signal processing system, a digital signal processing system (DSPS) 18, according to one embodiment to the present invention, is shown in
TABLE 1
EVEN FIELD
Sample
0
1
2
3
4
.
Hz line #0
Mg + Ye
G + Cy
Mg + Ye
G + Cy
Mg + Ye
.
Generates
RED color
difference
Hz line #1
G + Ye
MG + Cy
G + Ye
Mg + Cy
G + Ye
.
Generates
BLUE color
difference
. . .
TABLE 2
ODD FIELD
Sample
0
1
2
3
4
.
Hz line #0
Ye + G
Cy + Mg
Ye + G
Cy + Mg
Ye + G
.
Generates
BLUE color
difference
Hz line #1
Ye + Mg
Cy + G
Ye + Mg
Cy + G
Ye + Mg
.
Generates
RED color
difference
. . .
The functions performed by the color separation and filter block 32 further include generation of luma samples; the generation of chroma samples; and the performance of luma filtering. In particular, luma samples are generated by color separation and filter module 32 by determining the sum of a current input and a next input sample, i.e., Y(I)=x(I)+x(I+1). This produces for a first sample, Y(O)=(Mg+Ye)+(G+Cy)=3G+2R+2B. Other samples result in the same mix of R, G, and B. Chroma color difference samples are generated according to the present invention by subtracting two consecutive input samples. Each video line provides only one color difference sample (either red or blue). Absent color difference samples on each line are provided by copying the previous line of color difference samples. Examples of color difference calculations are:
Crd(0) for line 0 of even field=(Mg+Ye)[0]−(G+Cy)[1]=2R−G;
Crd(1) for line 0 of even field=(Mg+Ye)[2]−(G+Cy)[1]=2R−G; and
Cbd(0) for line 1 of even field=(Mg+Cy)[1]−(G+Ye)[0]=2B−G.
The first red color difference on a selected line is generated by subtracting a next sample from a current sample, and the blue color difference is generated by subtracting a current sample from a next sample. Luma samples are processed with a high pass filter with a peaked high frequency response.
A pin diagram of an analog image processor system (AIPS) 103 serving as an analog front end (AFE) in accordance with one embodiment of the present invention calls for AIPS 103 receiving image data at pin 17 according to one embodiment of the present invention. Data output is provided from AIPS 103 on pins 1-3, 35-38, and 42-44. Additional pins and functions of AIPS 103 are detailed in Table 3 which follows:
TABLE 3
PIN LIST FOR ANALOG IMAGE PROCESSOR SYSTEM
Seq.
Pin
Pin
Interface
No.
Name
Type
Type
Description of Function
1
DOUT7
O
CMOS 12 mA
This pin provides a digitized mosaic
data output.
2
DOUT8
O
CMOS 12 mA
This pin provides a digitized
mosaic data output.
3
DOUT9
O
CMOS 12 mA
This pin provides a digitized
mosaic data output.
4
CLKO
O
CMOS 12 mA
This pin provides a data clock
output.
5
VDDD
Supply
This pin provides a supply for
digital components.
6
GNDD
Ground
This pin provides a ground for
digital components
7
HSYNC
O
CMOS 4 mA
This pin provides a horizontal
sync signal.
8
SDA
B
N-CH O.D.
This pin provides a I2C data pin
(bidirectional).
9
SCL
I
CMOS
This pin provides a I2C bus
control.
10
VRST
I
CMOS
Vertical sync reset.
11
INTERP
I
CMOS
Interpolate mode pin
12
DIAG0
B
CMOS analog
Analog test I/O
13
DIAG1/
B
CMOS analog
Analog test I/O freq. of input
F_CLKIN
clock
14
RST
I
CMOS
Reset pin; may be connected to
external power-on-reset-circuit
15
SEAL_SUB
Analog
substrate
16
ACSUB
Analog
substrate
17
AIN
I
CMOS analog
Video data input from CCD
input
18
GNDAC
Ground
Ground for analog
19
VDDAC
Supply
Supply for analog
20
FR
I/O
CMOS 8 mA
Reset gate clock pulse for CCD
21
VDDAM
Supply
Supply for analog
22
GNDAM
Ground
Ground for analog
23
H1
I/O
CMOS 28 mA
Horizontal shift reg clock to
CCD
24
H2
I/O
CMOS 28 mA
Horizontal shift reg clock to
CCD
25
V4X
I/O
CMOS 4 mA
Vertical shift register clock to
V-driver
26
VH3X
I/O
CMOS 4 mA
Charge read pulse to V-driver
27
V3X
I/O
CMOS 4 mA
Vertical shift register clock to
V-driver
28
VH1X
I/O
CMOS 4 mA
Charge read pulse to V-driver
29
V1X
I/O
CMOS 4 mA
Vertical shift register clock to
V-driver
30
V2X
I/O
CMOS 4 mA
Vertical shift register clock to
V-driver
31
OFDX
O
CMOS 4 mA
Charge sweep out pulse for
shutter control-input to vertical
driver
32
XTAL_IN
I
CMOS
Chip input clock-2 × pixel clock
33
XTAL_OUT
O
CMOS
Oscillator output to crystal
34
VCLK
I/O
N-CH O.D.
Hz line freq. open-drain clock
4 mA
output
35
DOUT0
O
CMOS 12 mA
Digitized mosaic data output,
LSB
36
DOUT1
O
CMOS 12 mA
Digitized mosaic data output
37
DOUT2
O
CMOS 12 mA
Digitized mosaic data output
38
DOUT3
O
CMOS 12 mA
Digitized mosaic data output
39
CLK2XO
I/O
CMOS 12 mA
2 × pixel clock or 2 * 5/4 pixel
clock (when interpolation is
turned on)
40
GND_CORE
Ground
Ground for
Ground for pad ring1
pad ring 1
41
VDD_CORE
Supply
Supply for
Supply for pad ring1
pad ring1
42
DOUT4
O
CMOS 12 mA
Digitized mosaic data output
43
DOUT5
O
CMOS 12 mA
Digitized mosaic data output
44
DOUT6
O
CMOS 12 mA
Digitized mosaic data output
Correlated double sampler and variable gain amplifier circuit 114 parameters according to the present invention are expressed in Table 4 as follows:
TABLE 4
CDSVGA PARAMETERS
Symbol
Parameter
Conditions
Min
Typ
Max
Units
VinVGA
Input
1.65
V0–p
Voltage
Range
VoutVGA
Output
1.65
V0–p
Voltage
Range
AVGA
Total Gain
Minimum
0
dB
Setting
AVGA
Total Gain
Maximum
20
dB
Setting
τSS
Setting Time
Sampling for
17
ns
with 9 bits of
both stages
resolution
τSS
Setting Time
Clearing for
17
ns
with 9 bits of
both stages
resolution
VnVGA
Input
Maximum Gain
0.2
mV
Referred
Setting
Noise (rms)
Astep
Gain Step
Over Full Gain
39.2
78.4
117.6
mdB
Range
PWVGA
Power
78
mW
Dissipation
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Table 5 below is a diagram showing error signal generation by error circuit 193 according to the present invention. A 7 bit code is produced from histogram circuit 192, corresponding to one of the seven bins provided according to one embodiment of the present invention. From this, an appropriate error code is chosen and multiplied by a speed factor. The value of slew and speed are programmable. The slew value establishes the recovery speed from a very bright picture that saturated the output of the ADC.
TABLE 5
ERROR CODE GENERATION
Bin
Error
Error Output
Bin5
SLEW
Error × (Speed Multiplier)
Bin4
−2
Bin3
−1
Bin2
0
Bin1
1
Bin0
4
BinX
16
One of three AGC windows can be selected through associated register according to one embodiment of the present invention. In particular, a full AGC window, a ¼ full AGC window, and a 1/16 full AGC window can be selected. Changing the area upon which AGC adjustments are applied permits better scene selection according to the present invention. Maximum gain, minimum chip gain, and maximum shutter gain are programmable according to the present invention. The user selects maximum gain to cause a scene to go dark at a certain low light level rather than gaining up to a noisy image. A minimum chip gain level prevents the output of the camera system from becoming saturated by the time the shutter gain is supposed to be active. If the output of the imager saturates, the shutter gain will never be engaged and particular bright scenes will be lost.
Referring now to
Referring now to
An output digital data format according to the present invention for the AIPS 103 particularly includes embedded end of active video (EAV) code, blank codes, and start active video (SAV) code. The timing reference signals are contiguous with the video data and continue through the vertical blanking interval. Each timing reference signal consists of the four-word sequence. In addition to the embedded EAV and SAV timing signals, the CS7665 provides individual synchronization output signals which are employed by many video encoder circuits. These synchronization signals are typically used to interface the H.656 digital video stream to other components and subsystems. The individual synchronization signals include HREFOUT and VREFOUT. HREFOUT is an active-high signal indicating when active pixel data is being transmitted on DOA[0-9] or DOB[0-9]. HREFOUT is low when non-active picture data is being transmitted during horizontal blanking. Depending on the mode of operation, the HREFOUT signal follows either the HREFIN signal or the HREF defined by the EAV and SAV code. VREFOUT is an output signal that is active high when the CS7665 is putting out active video lines. The active-low portion of this signal defines the vertical blanking period. Alternately, when the ZV mode bit in register 06h is set, this output behaves as a VSYNC signal appropriate for ZV ports. The VSYNC signal is active-high during the first six horizontal line period of every field. The transition in VSYNC signal lags the HREF signal's rising edge during odd field and leads the rising edge of HREF during even field. The CS7665 delivers 4:2:2 component digital video output data in YCrCb format. The digital outputs can be configured for 10-bit interleaved Y and CrCb data, or for 20-bit parallel operation. The IN-TERL bit of the Operational Control Register 06h determines which output format is active. Logic 0 places the CS7665 in interleave mode with output data on channel “A”. Logic 1 places the CS7665 in non-interleaved mode where luminance data is output on channel “A” and chrominance data is output on channel “B”. According to one embodiment of the present invention, second SPS 18 accepts 10 bit digital video data samples from first SPS 17 in a CCIR 656 format. Such data samples include cyan, magenta, green and yellow pixel values, with a black reference level set at code 64. Binary codes “0000 0000.xx” and “1111 1111.xx” are reserved for synchronization information. Horizontal and vertical synchronization information is encoded in the data stream, according to one embodiment of the present invention. A diagram of an input video data waveform signal to first SPS 17 from CCD array sensor 14 begins at a horizontal reference level (HREF), enters a blanking period, and then completes with presentation of active video content. The blanking period includes transmission of EAV code, blank code, and SAV code. “T” is the output sample period. The blanking period includes three subperiods, the first being 4T sampling periods long, the second being NbT sampling periods long, and the third being 4T sampling periods long. EAV code is transmitted in the first subperiod of the blanking period, comprising four sample periods, respectively 0-3, according to the following Table 6. For this table, “f” is the field bit, “0” is the first field, “1” is the second field, “v” is the vertical blanking bit, “0” represents active video lines, “1” represents vertical blanking, and P3P2P1P0 are respective error protection bits as per CCIR standard 656.
TABLE 6
EAV code
Smpl.
Word
0
Hex FF
1
Hex 00
2
Hex 00
3
Bin 1fv1 P3P2P1P0
Blank code is transmitted in the second subperiod of the blanking period, comprising multiple sample periods including sample periods 4-7 et seq., according to the following Table 7:
TABLE 7
Blank code
Smpl.
Word
4
Hex 80 (U)
5
Hex 10 (Y)
6
Hex 00 (V)
7
Hex 10 (Y)
repeat above 4 words
SAV code is transmitted in the third subperiod of the blanking period, comprising four sample periods including sample periods 0-3, according to the following Table 8:
TABLE 8
SAV code
Smpl.
Word
0
Hex FF
1
Hex 00
2
Hex 00
3
Bin 1fv0 P3P2P1P0
During the active video period, active video samples of mosaic data are transmitted, except during VREF, when U=V=80(hex) and Y=10 (hex).
Referring now to
TABLE 9
FREQUENCY SYNTHESIZER PARAMETERS
Symbol
Parameter
Min
Typ
Max
Units
FXTALIN
CLKIN Frequency
6.75
27
MHZ
(F_CLKIN = 1)
(F_CLKIN = 0)
DXTALIN
CLKIN Duty Cycle
20
80
%
FX4CLK
X4CLK Frequency
27
54
MHZ
Output Jitter
200
ps
Duty Cycle
50
%
PLL Acquisition
20
us
Time
Referring now to
TABLE 10
H1 AND FR PHASE ADJUSTMENTS
H1
FR
rising edge
falling edge
rising edge
falling edge
Phase Delay
bits<7:6>
bits<5:4>
bits<3:2>
bits<1:0>
(ns)
00
00
00
00
0
01
01
01
01
Δt
10
10
10
20
2 * Δt
11
11
11
11
3 * Δt
Referring now to
Timing generator circuit 121 includes a horizontal timing generator 231 and a vertical timing generator 232, as shown in
Referring now to
The CCD system includes an array which is read out alternately as odd and even fields with interlaced horizontal lines. Thus, each field has half the total number of horizontal rows.
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
The transfer curve for a chroma low pass filter according to the present invention is shown in
TABLE 11
QUANTIZED CHROMA LPF COEFFICIENTS
Floating Point
Quantized
Implementation
0.0305
32/1024
32
0.903
92/1024
64 + 32 + 4
0.1664
168/1024
128 + 32 + 8
0.2205
224/1024
128 + 64 + 32
Word sizes at selected internal nodes of the color separation and filter are shown in
The output (luma, blue difference, red difference) of the color separation and filter module 32 is transformed into red, green and blue components by the YCrCb2RGB converter 323. The conversion involves multiplication with a 3×3 matrix, according to one embodiment of the present invention, as shown below:
The above coefficient values as specified below are settable, according to the present invention, as follows, for example:
K_yR=1; K_CrR=31/16; K_CbR=−1/2;
K_yG+1; K_CrG+−7/16; K_CbG=−9/16;
K_yB=1; K_CrB=−5/16; K_CbB=31/16;
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
Referring now to
TABLE 12
Horizontal line size (pixels)
Parameter
Description
429
624
780
858
Units
1/T
Output clock
13.5
19.6
25
27
MHZ
frequency
Nb
HREF samples - 8T
146
216
272
268
samples
AV
Active video
704
1024
1280
1440
samples
samples
Referring again to
Referring again to
Referring now to
Referring now to
In a diagram of an EPROM map for initialization of DSPS registers according to the present invention, an end of reset triggers a DSPS to download register values in any of selected attached devices from the EPROM. In particular, DSPS 18 goes out and fetches 3 bytes from the EPROM 481. These 3 bytes represent destination station address, register address, and data. DSPS 18 then writes the data into the specified register of the destined station. After completing this process, DSPS 18 goes out and reads the next 3 bytes from EPROM 481. The number of register data to be read from the EPROM 481 is loaded into a 2-byte count register in DSPS 18. The top 6 bytes in the EPROM specify the number of triple bytes to be read from EPROM 481. During the time DSPS 18 is doing initialization from EPROM 481, an INITACT bit is set in the status register of DSPS 18. Attempts to write to DSPS registers by an external controller are ignored during this time. The only exception to the above rule is when accessing data for the gamma RAM on DSPS 18.
Write operations from an external controller to any secondary device via DSPS 18 require the following operations. The external controller sends a 4-byte write command to DSPS 18. DSPS 18 initiates a write operation to a selected destination slave device and sets the I2CBUSY bit in the appropriate status register. The external controller polls the status register to check if DSPS 18 has completed the command.
DSPS 18 has a command buffer which allows an external controller to queue an additional command while the current command is still being executed. If more than one command is sent before the I2CBUSY bit is cleared, DSPS 18 saves only the last command and executes it after the current one is completed. Commands that involve writing or reading only to DSPS 18 registers are not put in the queue and are executed immediately without affecting any transactions going on in the master I2C interface. Any attempt to write data to one of the DSPS 18 registers from an external controller while DSPS 18 is busy initializing from EPROM 481 will be ignored. However, reads from DSPS 18 are allowed. If during a read or write operation to a slave device DSPS 18 fails to receive an acknowledge bit, the execution of the command is aborted and the NODEV bit in the status register is set. This bit remains set unless it is explicitly cleared by writing to it or a new command is written to DSPS 18.
Read operations from the external controller via DSPS 18 require a 4-byte command, according to the present invention, (when 4BYTEMODE pin is tied low) similar to the write operation described above. The behavior of I2CBUSY bit is also similar to what it is during write command. The read format consists of two bytes. The first byte is the device address with the direction bit set to “1” in order to indicate a “read.” The DSPS chip then sends one byte back on the bus, from the register which was addressed by the last write format or address set format.
The address set format consists of a 2 byte packet. The first byte is the device address with the data direction bit set to “0” in order to indicate a “write.” The second byte is the register address. The address set format is the same as a write format, however, the register data is not sent. It is used to set the address for the read format.
The I2C station addresses for both AFE 482 and DSPS 18 can be changed, according to the present invention, through the I2C interface. Location FF, for example, holds the station address for DSPS 18 and FE holds the station address for AFE 482. Once a station address is changed, all subsequent I2C accesses use the new station address.
The status register (01h) on DSPS 18 contains 3 bits related to the I2C interfaces:
(1) bit 0: NODEV—If DSPS fails to get an acknowledge from a slave device, the NODEV bit is set. It is cleared by writing to the register or if DSPS starts a new read/write transaction with a slave device.
(2) bit 1: I2CBUSY—This bit is set when DSPS 18′ master I2C interface is active talking with a selected of the slave devices. It is cleared when, according to the present invention, a transaction is completed or DSPS 18 fails to receive an acknowledge.
(3) bit 2: INITACT—Upon reset, DSPS 18 starts initializing all its own registers as well as the ones on slave devices. The INITACT bit is set during this process and is cleared when initialization is done.
DSPS 18 outputs data compatible with ZV port specifications according to one embodiment of the present invention. This mode is enabled by a register control bit called ZVMODE at register hex 06. The VREF output pin normally outputs the vertical blanking signal, but when ZVMODE bit is set, it outputs a VSYNC signal. The following register list shows registers for both the AFE 482 and DSPS 18 chips.
TABLE 13
Register
Default
(hex)
Register name
Access
Value
Comments
00h
Reset
W
00
bit 0 = 1 for Argus reset
bit 4 = 1 for Gorgon
reset Bit is
automatically cleared
01h
Status
R
00h
02h
Reserved
R
00h
03h
Digital gain
R/W
08h
1
04h
Brightness
R
NA
05h
Feature
R/W
00h
control
06h
Operation
R/W
0Dh
control
07h
Reserved
08h
Red balance
R/W
80h
1
09h
Blue balance
R/W
80h
1
0Ah
Red
R/W
80h
1
saturation
0Bh
Blue
R/W
80h
1
saturation
0Ch
Gamma
R/W
01h
correction
0Dh
Reserved
R
00h
0Eh
Test control
R/W
00h
register A
0Fh
Test control
R/W
00h
register B
10h
K_yR
R/W
80h
2
11h
K_CrR
R/W
7Ch
31/16
12h
K_CrR
R/W
E0h
−8
13h
K_yG
R/W
80h
2
14h
K_CrG
R/W
E4h
−7/16
15h
K_CbG
R/W
DCh
−9/16
16h
K_yB
R/W
80h
2
17h
K_CrB
R/W
ECh
−5/16
18h
K_CbB
R/W
7Ch
31/16
19h
Slave data
R
00h
Slave data register
register
cannot be written by
external controller
1Ah
EPROM
R/W
FFh
Indicates how many
count —low
triple bytes must be read
byte
from EPROM upon
1B
EPROM
R/W
FFh
reset.
count —high
byte
1C
Version
R
FFh
FF is the code for
(major)
revision A
1D
Version
R
00h
00 is the code for
(minor)
revision A
1E-1F
Reserved
R
00h
20h
Power down
R/W
00
bit 0 = 1 for Argus
power down
bit 4 = 1 for Gorgon
power down
21h
Test enable
R/W
00
bit 0 = 1 for Argus test
enable
bit 4 = 1 for Gorgon test
enable
22h
Test control
R/W
00
register
23
Version
R
00
24h
Operational
R/W
00
control
25h
Reserved
R
00
26h
Analog gain
R/W
00
27h
Shutter
R/W
00
28h
Brightness
R
00
29h-2Fh
Reserved
R
00h
30h-3Fh
Timing
R/W
control
40h-4Fh
Timing
R/W
control
50h-55h
Timing
R/W
control
56h-FDh
AFE station
R/W
54h
address
FEh
Gorgon's
R/W
54h
station
address
FFh
Argus'
R/W
34
station
address
Reset—00h. Writing a 1 to bit 0 at location 00h triggers a software reset in DSPS 18. Similarly, writing a 1 to bit 4 at location 00h triggers a software reset in AFE 482 chip. The bit automatically clears. The reset stays active for 32 cycles of CLKIN.
TABLE 14
Bit
Name
Access
Default
Description
0
Reset_dig
R/W
0
Writing a 1 resets the part.
Behaves identical to reset pin.
1-3
Reserved
R
0
4
Reset_ana
R/W
0
Writing a 1 resets the part.
5-7
Reserved
R
0
The following actions take place on either the register reset or the pin reset:
1. All registers go back to default values.
2. If an external EPROM is hooked with the local I2C bus, the EPROM data is downloaded into specified device registers at the end of reset.
Register 01h—status. This register is read only.
TABLE 15
Bit
Name
Access
Default
Description
0
EVNFLD
R
—
1 indicates even field.
1
NODEV
R
0
1 indicates that the addressed
slave device on local I2C bus
did not respond.
2
12CBUSY
R
0
1 indicates that DSPS master
I2C is still busy accessing the
addressed slave device.
3
INTACT
R
0
1 indicates that DSPS master
I2C is busy initializing registers
from EPROM.
4-7
Reserved
Bit 0 (even field) is provided as a means of synchronizing to the vertical camera rate. The bit is read as a “1” during even fields and as a “0” during odd fields.
Register 1Ch—Version (major). This register is read-only. Data=FF for revision A.
TABLE 16
Bit
Name
Access
Default
Description
0-3
R
F
4-7
R
F
Register 1Dh—Version (minor). This register is read-only. Data=00 for revision A.
TABLE 17
Bit
Name
Access
Default
Description
0-3
R
0
4-7
R
0
Digital gain—03h. This register controls the digital gain applied to the luma signal after the RGB2YUV block. The gain value varies from 0 to 3⅛ in increments of ⅛.
TABLE 18
Bit
Name
Access
Default
Description
0-4
DIG_GAIN
R/W
00h
00h = 0 (no brightness),
08h = 1, 1Fh = 31/8
5-7
Reserved
Brightness—04h. [not used] This register contains the maximum value of the low-pass filtered luminance signal. It changes at field rate. When AGC is enabled, the AGC circuit attempts to keep this value at 0EBh (235).
Feature control—05h.
TABLE 19
De-
Bit
Name
Access
fault
Description
0
AGCEN
R/W
0
Automatic gain control enable for
DSPS′ AGC if implemented.
1
AWBCTL
R/W
0
Automatic white balance control.
This bit is set by writing a “1”.
Writing a “0” has no effect. This
bit is read as a “1” while AWB is
in progress (it takes about
160 msec.). While AWB is in
progress, AGC is disabled if
implemented. This bit is read as
a “0” when AWB is not in
progress.
2
GAMMAON
R/W
0
Default is gamma correction
disabled.
3
LUMAOFF
R/W
0
Default is high pass luma filter
enabled.
4
CHRMOFF
R/W
0
Default is low pass chroma filter
enabled.
5
AGCWIN
R/W
0
Select full window when set to 1
for AGC peak. Select center ¼
window by default. Applies to
devices where AGC is
implemented.
6-7
Reserved
R
0
DSPS operational control—06h
TABLE 20
De-
Bit
Name
Access
fault
Description
0
OBLUE-
R/W
1
Blue line/red line indicator for odd
LINE
field. This bit determines if the first
line after VREF provides blue line
color difference pixels (“1”) or if it
provides red line color difference
(“0”).
1
EBLUE-
R/W
0
Blue line/red line indicator for even
LINE
field. This bit determines if the first
line after VREF provides blue line
color difference pixels (“1”) or if it
provides red line color difference
pixels (“)”).
2
POSPIX
R/W
1
Color difference operation signal for
odd field. This bit determines if the
first pixel of the first line from the
CCD is treated as a positive signal
or if it is treated as the negative
pixel in the color separation block.
3
HIZDOUT
R/W
1
Puts DOUT bus in Hi-Z state for
parallel operation of multiple
cameras. Hi-Z enabled when set to
1 (see notes).
4
INREF
R/W
0
HREF and VREF become input
pins. EAV and SAV codes in data
stream are ignored.
5
DVCI
R/W
0
Data output is in 8 bit DVCI mode
when set.
6
ZVMODE
R/W
0
ZV mode output enabled when set.
7
Reserved
R
0
Note on HIZDOUT:
the HIZDOUT bit and the HIZENB pin both affect the output pin tri-state conditions in the following manner. The 12C interface pins never go into Hi-Z mode.
TABLE 21
Effect on Output Pins
HIZDOUT bit
HIZENB pin
(XOR)
0
0
Active
0
1
Hi-Z enabled
1
0
Hi-Z enabled
1
1
Active
Red balance—08h. This register controls the red contribution to the R-Y chrominance signal. When it is 00h, the red contribution is minimized. When it is FFh, the red contribution is maximized. When AWB is in progress, this value is adjusted so that the absolute magnitude of the R-Y is minimized.
TABLE 22
Bit
Name
Access
Default
Description
0-7
RBAL
R/W
00h
This is the gain factor for the R-Y
component used for white
balancing.
Blue balance—09h. This register controls the blue contribution to the B-Y chrominance signal. When it is 00h, the blue contribution is minimized. When it is FFh, the blue contribution is maximized. When AWB is in progress, this value is adjusted so that the absolute magnitude of the B-Y is minimized.
TABLE 23
Bit
Name
Access
Default
Description
0-7
BBAL
R/W
00h
This is the gain factor for the B-Y
component used for white
balancing.
This register controls the amplitude of the final R-Y chrominance signal. At 00h, the amplitude of the R-Y signal is minimized. When it is FFh, the amplitude of the R-Y signal is maximized. A value of 80h sets the saturation to 1.
TABLE 24
Bit
Name
Access
Default
Description
0-7
RSAT
R/W
80h
This is the gain factor for the R-Y
component in the final output
signal.
Blue saturation—OBh. This register controls the amplitude of the B-Y chrominance signal. At 00h, the amplitude of the B-Y signal is minimized. When it is FFh, the amplitude of the B-Y signal is maximized.
A value of 80h sets the saturation to 1.
TABLE 25
Bit
Name
Access
Default
Description
0-7
BSAT
R/W
80h
This is the gain factor for the B-Y
component in the final output signal.
Gamma Correction—0Ch. The gamma correction register provides access to the R, G and B gamma look-up table RAMs. The procedure for write and read-access to all the 255 locations on each of the gamma RAM is shown below. The diagram shows the mode where register access through I2C requires three bytes (station address, register address, data). 4-byte mode access requires an additional byte in the beginning where the station address is repeated.
TABLE 26
Bit
Name
Access
Default
Description
0
GAMMA
R/W
1h
Selects blue gamma RAM for
BLUE
subsequent RAM accesses.
1
GAMMA
R/W
0h
Selects green gamma RAM for
GREEN
subsequent RAM accesses.
2
GAMMA
R/W
0h
Selects red gamma ram for
BLUE
subsequent ram accesses.
3-7
Reserved
Writing to the gamma register (0C) selects the R, G and/or B RAM. Continuing data writes without sending a stop bit after the register write results in writes to RAM location starting from location 00h. Reads from register 0Ch function in a similar way. All three gamma RAMs may be selected for simultaneously writing to them. Reading of the RAMs, however, should be done one at a time.
Test register A-0Eh. Select test modes for Argus.
TABLE 27
Bit
Name
Access
Default
Description
0
INCONT
R/W
0
Configures all input pins for
continuity test.
1
OCONT
R/W
0
Configures all bidirectional pins
for input continuity test.
2
RAMWR
R/W
0
Enables writing of COL_SEP
block input data into FIFO RAM.
3-7
Reserved
Test register B-0Fh. Specifies which test point in DSPS is observable on the output port of DSPS.
TABLE 28
TEST REGISTER B (0F hex)
Bits [3–0]
Observation Point
0000
Normal Y, U, V output
0001
FIFO RAM output
0010
Color separation Y output
0011
Color separation Cr output
0100
Color separation Cb output
0101
Gamma corrected R output
0110
Gamma corrected G output
0111
Gamma corrected B output
1000
R gamma RAM output
1001
G gamma RAM output
1010
B gamma RAM output
1011-1111
Unused
Color conversion coefficients—10h-18h. These represent the nine coefficients for the 3×3 matrix used to convert from YCrCb to RGB.
Power down control—20h.
TABLE 29
Bit
Name
Access
Default
Description
0
PDN_DIG
R/W
0
Enable power down mode of
digital chip.
1-3
Reserved
R
0
4
PDN_ANA
R/W
0
Enable power down mode of
analog chip.
5-7
Reserved
R
0
Test enable—21h.
TABLE 30
Bit
Name
Access
Default
Description
0
TSTEN_DIGT
R/W
0
Enable test mode of digital
chip.
1-3
Reserved
R
0
4
TSTEN_ANA
R/W
0
Enable test mode of analog
chip.
5-7
Reserved
R
0
Test modes. The DSPS system, according to the present invention, has several test modes which allow controllability and observability of internal circuits. Most of the tests are enabled by TESTPINB (pin) and TESTENB (register bit). In addition, a specific test bit corresponding to the desired test must be enabled by setting the appropriate test register bit. However, two of the tests, (I) parallel access to I2C registers, and (ii) parallel access to gamma RAM, are enabled only through pins. This also allows direct loading of the registers and gamma RAM for a non-PC, stand-alone-type application. The test modes are listed below:
1. Ability to observe selected nodes (through test register 0Fh) on DOUT bus.
2. Ability to write and read all I2C registers and gamma RAM through a parallel port composed of DIN pins operated in bidirectional mode.
3. Ability to write to FIFO RAM data that is input to COL_SEP block and also directly observe output from RAM.
4. Input and output pins can be configured for continuity test through bits 0 and 1 of register 0Eh.
Parallel access of I2C registers and gamma RAM. Argus allows parallel access of I2C registers and gamma RAM for testing purposes.
TABLE 31
PARALLEL ACCESS OF REGISTERS IN TEST MODE
Normal
Redefined
pin
pin
function
function
Type
Description
DIN [7-0]
ADDRS [7-0]
1
Register address
DIN8
SELREG
1
Select register address
space
DIN9
SELRAM
1
Select gamma RAM address
space
DOUT9
RDB
1
Parallel mode read strobe
DOUT8
WRB
1
Parallel mode write
strobe
DOUT [7-0]
TDAT
B
Parallel data
input/output
TPARENB
TPARENB
1
Enables parallel access.
TSTPINB must also be
enabled.
Data is written into the I2C registers by the rising edge of a WRB provided address which is already valid. Valid output data appears on TDAT corresponding to the input address when RDB becomes active low.
TABLE 32
PIN LIST FOR DSPS
Signal
Interface
Pin #
Signal Name
Type
Type
Description
1
4BYTMODE
1
CMOS
Sets the Argus slave
I2C interface in
4 bytes per write
transaction mode.
2
DOUT19
3
DOUT18
4
DOUT17
5
DOUT16
6
DOUT15
7
DOUT14
0
CMOS 16 mA
4:2:2 YUV data
output.
8
DOUT13
9
DOUT12
10
GND2
11
VDD2
12
DOUT11
13
DOUT10
14
DOUT9
15
DOUT8
16
DOUT7
17
DOUT6
18
DOUT5
19
DOUT4
20
DOUT3
21
GND3
22
VDD3
23
DOUT2
24
DOUT1
25
DOUT0
26
VDD4
Supply
27
GND4
Ground
28
SDAS
B
CMOS O.D. 8 mA
Slave 12C data pin
(bidirectional)
29
SCLS
1
CMOS
Slave 12C bus
control
30
HREFOB
0
CMOS 8 mA
Output HREF signal
31
VREFOB
0
CMOS 8 mA
Output VREF signal
32
HREFIB
1
Input HREF signal
33
VREFIB
1
Input VREF signal
34
RSTB
1
CMOS Schmitt
Reset pin; may be
connected to external
power-on-reset
circuit.
35
DIN9
B
CMOS 4 mA
Digital video input
36
DIN8
data from Gorgon.
37
DIN7
Data is in mosaic
38
DIN6
form encoded in
39
DIN5
CCIR 656 like
format.
Also used as parallel
I/O bus for accessing
12C registers and
gamma RAM during
test mode.
40
GND5
Ground
41
VDD5
Supply
42
DIN4
B
CMOS 4 mA
Digital video input
43
DIN3
data from AFE.
44
DIN2
Data is in mosaic
45
DIN1
form encoded in
46
DIN0
CCIR 656 like
format.
Also used as parallel
I/O bus for accessing
12C registers and
gamma RAM during
test mode.
47
SDA
B
CMOS O.D. 8 mA
Master 12C data pin
(bidirectional)
48
SCL
0
CMOS 8 mA
Master 12C bus
control
49
N.C.
Unused - connect to
ground
50
N.C.
Unused - connect to
ground
51
N.C.
Unused - connect to
ground
52
N.C.
Unused - connect to
ground
53
SCANMODE
1
CMOS
Is tied high during
scan test. Puts chip
in scan mode. For
example, bypasses
clock buffer and
reset.
54
INTERP
1
CMOS
Selects interpolation
mode
55
CLKIN
1
CMOS
Chip input clock = 2 × pixel clock
56
CLKIN2X
1
CMOS
Chip clock = 2 × or
2 × 5/4 pixel clock
57
GND1
1
Ground
58
VDD1
Supply
59
CLKOUT
0
CMOS 15 mA
2 × or 2 × 5/4 output
data clock.
60
TESTPINB
1
CMOS
Test pin for enabling
test mode
61
TPARENB
1
CMOS
Enables exterior
parallel mode access
to registers and
gamma RAM.
62
FIELD
1
CMOS
Field indication.
Changes on the
fourth horizontal line
in each field.
Odd field: FIELD = 0
Even field: FIELD = 1
63
HIZENB
1
CMOS
Test pin for putting
all output pins in
Hi-Z mode. Works
in conjunction with
HIZDOUT bit.
64
SCENBL
1
CMOS
Controlled by ATPG
during scan test.
In summary, according to the present invention, a signal processing system (SPS) for a video camera includes first and second subsystem modules, an analog front-end (AFE), and a digital signal processing system (DSPS) connected to the analog front-end (AFE). The signal processing system according to the present invention performs signal processing for a CCD camera capable of capturing full motion video. A complete digital video camera according to the present invention additionally includes a CCD array, a high voltage CCD driver, and a DC-DC converter. The AFE according to the present invention receives mosaic CCD output (a stream of cyan, magenta, yellow and green color samples) from a CCD camera, performs analog signal processing, and produces a 10 bit digital output. The DSPS according to the present invention accepts the digital output of the AFE, performs digital processing on the received digital output of the AFE, and, in turn, outputs a CCIR 601 like 4:2:2 YCrCb video data product according to one embodiment.
The AFE and the DSPS are a cooperative system according to the present invention. Their registers are configured according to the present invention to share the same address spaces, and to an external controller, the combined AFE and DSPS modules appear as a single device. Nonetheless, the AFE and the DSPS according to the present invention can be used as stand-alone systems which can be addressed directly through their respective I2C interfaces.
The combined signal processing system, according to the present invention, is partitioned into physically separate subsystems, respectively including an AFE and a DSPS, respectively fabricated on separate semiconductor substrates to enable the installation of the AFE and its analog functions with a CCD camera package jointly with the CCD imager, and to enable digital data processing to be accomplished either in the camera package itself or separately in a personal computer or other data processing system. Thus, digital and analog signal processing functions are adaptively localizable and delocalizable in accordance with application package requirements. By establishing distributable analog and digital functionalities, the entire CCD signal processing functionality can be localized and fabricated in silicon. Alternatively, the analog functions can be fabricated in silicon while the digital functions can be software implemented. The development of a separate analog and digital modules, according to the present invention, permits convenient retrofitting with advanced analog or digital designs. Further, the analog and digital subsystems are operable at different data rates. Thus, the output of an analog ADC is more than 2× lower than the 4:2:2 YCrCb format output from the digital section. By partitioning into separate modules, the data transmitted from the analog module to the digital module can be provided at a reduced interfacing rate between the analog and digital signal processing domains. According to the present invention, an analog front end provides a CCD interface which is scalable for a plurality of selected CCD output formats and pixel rates. In particular, the timing signals and clocks such as horizontal and vertical shift register clocks, applicable CCD output sampling pulses, and the number of horizontal and vertical pixels per frame are programmable. Further, according to the present invention, the starting pixel type is programmable in a predetermined register.
According to the present invention, a signal processing system (SPS) for an imager device includes a camera system for producing an imager signal, a correlated double sample (CDS) circuit for receiving data from an imager, a variable gain amplifier (VGA), an analog-to-digital converter (ADC) coupled to the VGA circuit, a digital gain circuit (DGC) coupled to the ADC, and an automatic gain control (AGC) circuit for controlling the CDS circuit and the DGC.
According to the present invention, gain control of a signal processing system for an imager device includes a correlated double sampler, a variable gain amplifier circuit for receiving data from the imaging system, and an automatic gain control (AGC) circuit for controlling the level of gain provided to the camera system and a correlated double sampler and variable gain amplifier (CDSVGA) circuit according to the present invention.
According to the present invention, signal processing circuitry for a video camera has first and second data processing subsystems including an analog front-end (AFE) and a digital signal processing system (DSPS) connected to the analog front-end (AFE). The signal processing system according to the present invention performs signal processing function for a low cost CCD or CMOS imaging camera capable of capturing full motion video. A complete digital video camera according to one embodiment of the present invention includes in part a sensor array, a high voltage CCD driver, and a DC-DC converter. The AFE data processing subsystem according to the present invention receives a mosaic CCD output (a stream combining cyan, magenta, yellow and green color samples) from the CCD camera, performs analog signal processing, and produces a digital output which can be converted to a form suitable for image display. The DSPS data processing subsystem according to the present invention accepts the digital output of the AFE data processing subsystem, performs digital processing on the received digital output of the AFE, and according to one embodiment of the present invention outputs a CCIR 601 4:2:2 YCrCb video data product suitable for presentation on a user selected display.
The AFE and DSPS data processing subsystems can be implemented as a cooperative chipset according to the present invention. The respective data processing subsystems include registers which are configured according to the present invention to share a common address space of the respective subsystems. To an external controller, the combined AFE and DSPS subsystems are operable as a unitary data processing system. Additionally, the separate AFE and the DSPS of the respective subsystems according to the present invention can be used as stand-alone units which can be addressed and controlled directly through respective I2C interfaces.
The SPS according to the present invention is thus partitionable into physically separate subsystems which can individually be fabricated on separate semiconductor substrates to enable the combined installation of the AFE and its analog functions in an integrated camera package jointly operable with an imager. This enables digital data processing to be accomplished either in the camera package itself or separately in a personal computer or other data processing system to transform the analog pixel sample into display-ready digital data format. Accordingly, digital and analog signal processing functions are adaptively localizable and delocalizable in accordance with application package requirements. By establishing distributable analog and digital functionalities, the entire imager signal processing functionality can be localized and fabricated in silicon. Alternatively, the analog functions can be fabricated in silicon while the digital functions are software implemented. The development of separate analog and digital modules accordingly permits convenient system retrofitting with advanced analog or digital designs. Further, the analog and digital subsystems are operable at different data rates. Thus, the output of an analog to digital (A/D) converter within the AFE subsystem can be 2× lower than the 4:2:2 YCrCb format output from the digital section according to one embodiment of the present invention. By partitioning the subsystems into separate modules, the data transmitted from the analog module subsystem to the digital module subsystem can be provided at a reduced interfacing load between the analog and digital signal processing domains creating processing efficiencies. According to the present invention, the AFE subsystem provides an imager interface which is scalable for a plurality of selected imager output formats and pixel rates. In particular, the timing signals and clocks such as horizontal and vertical shift register clocks, the applicable imager output sampling pulses, and the number of horizontal and vertical pixels per frame are user programmable according to the present invention.
Further according to the present invention, independent and dependent (through the DSPS) register addressing is enabled and timing generator parameters are programmable. An automatic gain control circuit allows for up to 98 dB of gain range including shutter exposure with an option for flickerless operation that is enabled with a hysteresis method according to the present invention.
Holberg, Douglas R., Wang, Caiyi, Welland, David R., Chao, Shih-chung, Prabala, Ash, Johnson, Sandra Marie, Itani, Nadi Rafik, Harris, Brannon Craig, Hansford, Alan, Azim, Syed Khalid
Patent | Priority | Assignee | Title |
10763294, | Feb 28 2018 | Samsung Electronics Co., Ltd. | Image sensor chips having sub-chips |
7456899, | Aug 05 2004 | DEUTSCHE BANK AG NEW YORK BRANCH, AS COLLATERAL AGENT | Imaging apparatus and control circuit of imaging device |
7492401, | Feb 03 2004 | Samsung Electronics Co., Ltd. | Correlated-double-sampling (CDS) with amplification in image sensing device |
7518645, | Jan 06 2005 | GOODRICH CORPORATION | CMOS active pixel sensor with improved dynamic range and method of operation |
7525472, | Dec 27 2006 | Semiconductor Energy Laboratory Co., Ltd. | Integration type and converter and device including same |
7903145, | Jun 07 2002 | SciMeasure Analytical Systems, Inc. | Camera head including an image pixel array and a preamplifier module |
7907179, | Jun 07 2002 | SciMeasure Analytical Systems, Inc. | Command module for controlling the camera |
7907191, | Jun 07 2002 | SciMeasure Analytical Systems, Inc. | Apparatus for sampling of analog video data from an image pixel array |
7916178, | Jun 07 2002 | SciMeasure Analytical Systems, Inc. | Camera system including a camera head and a camera control unit |
Patent | Priority | Assignee | Title |
5708263, | Feb 13 1996 | GLOBALFOUNDRIES Inc | Photodetector array |
6100928, | Jul 19 1996 | Ricoh Company, LTD | Digital camera with variable gain to offset exposure error |
6580456, | Nov 16 1997 | PICTOS TECHNOLOGIES INC | Programmable timing generator |
20050053352, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 05 1997 | WELLAND, DAVID | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Mar 24 1997 | HANSFORD, ALAN | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Jun 09 1997 | AZIM, SYED | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Nov 03 1997 | HOLBERG, DOUGLAS | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Nov 03 1997 | PRABALA, ASH | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Nov 03 1997 | HARRIS, BRANNON | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Nov 03 1997 | WANG, CAIYI | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Nov 03 1997 | CHAO, SHIH-CHUNG | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Nov 03 1997 | JOHNSON, SANDRA | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
Nov 04 1997 | ITANI, NADI | Cirrus Logic, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019838 | /0085 | |
May 01 2006 | Cirrus Logic, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
May 02 2011 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Apr 30 2015 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Apr 30 2019 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Oct 30 2010 | 4 years fee payment window open |
Apr 30 2011 | 6 months grace period start (w surcharge) |
Oct 30 2011 | patent expiry (for year 4) |
Oct 30 2013 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 30 2014 | 8 years fee payment window open |
Apr 30 2015 | 6 months grace period start (w surcharge) |
Oct 30 2015 | patent expiry (for year 8) |
Oct 30 2017 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 30 2018 | 12 years fee payment window open |
Apr 30 2019 | 6 months grace period start (w surcharge) |
Oct 30 2019 | patent expiry (for year 12) |
Oct 30 2021 | 2 years to revive unintentionally abandoned end. (for year 12) |