| поискавой системы для электроныых деталей |
|
LM9820CCWM датащи(PDF) 16 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
LM9820CCWM датащи(HTML) 16 Page - National Semiconductor (TI) |
|
16 / 21 page ![]() 16 http://www.national.com example, the R offset and gain settings will be used for the first conversion following a falling edge on NewLine if the color mode is set to Single Input Color (001). For the Single Input Color, Bayer and Green Stripe modes, the mux will always connect the OSB input to the sampler. The offset and gain settings will alternate values every pixel according to the order indicated by the Sampler and Color Mode register (see Table 2). The first falling edge of NewLine following a write to the Sampler and Color Mode register will ready the offset and gain to cycle through the colors of the first line of the programmed color mode. Each subsequent falling edge of NewLine will switch the off- set and gain settings to the first color of the next line. The LM9810/20’s unused OS inputs should not be left unconnected. All three OS inputs should be tied together on the LM9810/20 side of the clamp capacitor (see Figure 3). For the Line Rate Color mode, the mux will cycle through the OSR, OSG and OSB inputs after each falling edge of NewLine. The R, G and B offset & gain settings will be used when the mux is set to the OSR, OSG and OSB input, respectively. OSR and the R offset & gain settings will always be used on the first line following a write register 0. 1.5 Data Latency The latency through the LM9810/20 is 8 SampCLK periods plus one MCLK period. The data output on D5 - D0 (MSBs b11 - b6 or b9 - b4) represents data whose reference signal was sampled 8 tSampCLK + tMCLK + tSampSU earlier (see Diagram 1). 1.6 Programmable Gain The output of the Sampler drives the input of the x3 Boost gain stage. The gain of the x3 Boost gain is 3V/V if bit B5 of the cur- rent color’s gain register (registers 4,5, and 6) is set, or 1V/V if bit B5 is cleared. The output of the x3 gain stage is the input to the offset DAC and the output of the offset DAC is the input to the PGA (Programmable Gain Amplifier). The PGA provides 5 bits of gain correction over a 0.93V/V to 3V/V (-0.6 to 9.5dB) range. The x3 Boost gain stage and the PGA can be combined for an overall gain range of .93V/V to 9.0V/V (-.6 to 19dB). The gain setting for each color (registers 4, 5 and 6) should be set during calibration to bring the maximum amplitude of the strongest pixel to a level just below the desired maximum output from the ADC. The PGA gain is determined by the following equation: If the x3 Boost gain is enabled then the overall signal gain will be three times the PGA gain. 1.7 Offset DAC The Offset DAC removes the DC offsets generated by the sensor and the LM9810/20’s analog signal chain (see section 1.7.1, Internal Offsets). The DAC value for each color (registers 1,2 and 3) should be set during calibration to the lowest value that still results in an ADC output code greater than zero for all the pixels when scanning a black line. With a PGA gain of 1V/V, each LSB of the offset DAC typically adds the equivalent of 5 LM9810 LSBs or 20 LM9820 LSBs, providing a total offset adjustment range of ±150 LM9810 LSBs or ±590 LM9820 LSBs. The Offset DAC’s output voltage is given by: In terms of output codes, the offset is given by: The offset is positive if bit B5 is cleared and negative if B5 is set. Since the analog offset is added before the PGA gain, the value of the PGA gain must be considered when selecting the offset DAC values. 1.7.1 Internal Offsets Figure 4 is a model of the LM9810/20’s internal offsets. Equation 5 shows how to calculate the expected output code given the input voltage (VIN), the LM9810/20 internal offsets (VOS1, VOS2, VOS3), the programmed offset DAC voltage (VDAC), the pro- grammed gains (GB, GPGA) and the analog channel gain con- stant C. C is a constant that combines the gain error through the AFE, ref- erence voltage variance, and analog voltage to digital code con- version into one constant. Ideally, C = 2048 codes/V (4096 codes/2V) for the LM9820 and 512 codes/V (1024 codes/2V) for the LM9810. Manufacturing tolerances widen the range of C (see Electrical Specifications). Figure 4: Internal Offset Model Equation 5: Output code calculation with internal offsets Equation 6 is a simplification of the output code calculation, neglecting the LM9810/20’s internal offsets. DOS OS OSB SENSOR NC CCLAMP Figure 3: OS Connections for single output sensors LM9810/20 OSG OSR PGA Gain V V ---- 0.933 + .0667 (value in bits B4-B0) = Equation 1: PGA Gain V DAC 9.75mV (value in B4 - B0) ⋅ = Equation 2: Offset DAC Output Voltage Offset 5LSBs (value in B4 - B0) PGA Gain ⋅⋅ = Equation 3: LM9810 Offset Equation Offset 20LSBs (value in B4 - B0) PGA Gain ⋅⋅ = Equation 4: LM9820 Offset Equation VDAC DAC Offset GPGA Σ + + ADC + + + + VOS3 VOS2 Σ Σ GB + + VOS1 VIN Σ x3 Boost 1V/V or 3V/V PGA 0.93V/V to 3V/V DOUT D OUT V IN V OS 1 + ()G B V DAC V OS2 ++ ()G PGA V OS1 + ()C = |
|
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |