| поискавой системы для электроныых деталей |
|
ADPD107 датащи(PDF) 23 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADPD107 датащи(HTML) 23 Page - Analog Devices |
|
23 / 66 page ![]() Data Sheet ADPD105/ADPD106/ADPD107 Rev. A | Page 23 of 66 STATE MACHINE OPERATION During each time slot, the ADPD105/ADPD106/ADPD107 operate according to a state machine. The state machine operates in the following sequence, shown in Figure 24. STANDBY REGISTER 0x10 = 0x0000 ULTRALOW POWER MODE NO DATA COLLECTION ALL REGISTER VALUES ARE RETAINED. PROGRAM REGISTER 0x10 = 0x0001 SAFE MODE FOR PROGRAMING REGISTERS NO DATA COLLECTION DEVICE IS FULLY POWERED IN THIS MODE. NORMAL OPERATION REGISTER 0x10 = 0x0002 LEDs ARE PULSED AND PHOTODIODES ARE SAMPLED STANDARD DATA COLLECTION DEVICE POWER IS CYCLED BY INTERNAL STATE MACHINE. Figure 24. State Machine Operation Flowchart The ADPD105/ADPD106/ADPD107 operate in one of three modes: standby, program, and normal sampling mode. Standby mode is a power saving mode in which no data collection occurs. All register values are retained in this mode. To place the devices in standby mode, write 0x0 to Register 0x10, Bits[1:0]. The devices power up in standby mode. Program mode is used for programming registers. Always cycle the ADPD105/ADPD106/ADPD107 through program mode when writing registers or changing modes. Because no power cycling occurs in this mode, the devices may consume higher current in program mode than in normal operation. To place the devices in program mode, write 0x1 to Register 0x10, Bits[1:0]. In normal operation, the ADPD105/ADPD106/ADPD107 pulse light and collect data. Power consumption in this mode depends on the pulse count and data rate. To place the devices in normal sampling mode, write 0x2 to Register 0x10, Bits[1:0]. NORMAL MODE OPERATION AND DATA FLOW In normal mode, the ADPD105/ADPD106/ADPD107 follow a specific pattern set up by the state machine. This pattern is shown in the corresponding data flow in Figure 25. The pattern is as follows: 1. LED pulse and sample. The ADPD105/ADPD106/ADPD107 pulse external LEDs. The response of a photodiode or photo- diodes to the reflected light is measured by the ADPD105/ ADPD106/ADPD107. Each data sample is constructed from the sum of n individual pulses, where n is user configurable between 1 and 255. 2. Intersample averaging. If desired, the logic can average n samples, from 2 to 128 in powers of 2, to produce output data. New output data is saved to the output registers every N samples. 3. Data read. The host processor reads the converted results from the data register or the FIFO. 4. Repeat. The sequence has a few different loops that enable different types of averaging while keeping both time slots close in time relative to each other. SAMPLE 1: TIME SLOT B 16 BITS [14 + LOG2(nA)] BITS UP TO 20 BITS [14 + LOG2(nA × NA)] BITS UP TO 27 BITS [14 + LOG2(nB × NB)] BITS UP TO 27 BITS TIME SLOT B TIME SLOT A 16-BIT CLIP IF VAL ≤ (216 –1) VAL = VAL ELSE VAL = 216 –1 NA NOTES 1. nA AND nB = NUMBER OF LED PULSES FOR TIME SLOT A AND TIME SLOT B. 2. NA AND NB = NUMBER OF AVERAGES FOR TIME SLOT A AND TIME SLOT B. 16 BITS [14 + LOG2(nB)] BITS UP TO 20 BITS 16-BIT CLIP IF VAL ≤ (216 –1) VAL = VAL ELSE VAL = 216 –1 NB 1 NB ADC OFFSET [14 + LOG2(nA)] BITS UP TO 22 BITS SAMPLE 1: TIME SLOT A SAMPLE NB: TIME SLOT B SAMPLE NA: TIME SLOT A 14 BITS 14 BITS 20-BIT CLIP IF VAL ≤ (220 –1) VAL = VAL ELSE VAL = 220 –1 nA nA 14-BIT ADC 1 nA 1 NA FIFO 32-BIT DATA REGISTERS 16-BIT DATA REGISTERS 01 01 REGISTER 0x11[13] Figure 25. ADPD105/ADPD106/ADPD107 Datapath |
|
ссылки 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 |