| Electronic Components Datasheet Search |
|
MAX86140 Datasheet(PDF) 46 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
MAX86140 Datasheet(HTML) 46 Page - Maxim Integrated Products |
|
46 / 89 page ![]() Picket Fence Detect-and-Replace Function Under typical situations, the rate of change of ambient light is such that the ambient signal level during exposure can be accurately predicted and high levels of ambient rejection are obtained. However, it is possible to have situations where the ambient light level changes extremely rapidly, for example when in a car with direct sunlight exposure passes under a bridge and into a dark shadow. In these situations, it is possible for the MAX86140/ MAX86141 ambient light correction (ALC) circuit to fail and produce and erroneous estimation of the ambient light during the exposure interval. The MAX86140/MAX86141 has a built-in algorithm, called the picket fence function, that can correct for these extreme conditions resultant failure of the ALC circuit. The picket fence function works on the basis that the extreme conditions causing a failure of the ALC are rare events. These events resulting in a large deviation from the past sample history of a normal PPG riding on a motion effect signal, which normally would change relatively slowly with respect to the sampling interval. Under these conditions, it is possible to detect sample values that are well outside the normal sample to sample deviation and replace those samples with an extrapolated value based on the relatively recent history of samples. The picket fence function is enabled by setting PF_ ENABLE (address 0x16[7]) bit to 1. The power on reset default of MAX86140/MAX86141 has the picket fence function disabled. The function begins with detecting a picket fence event. Detection is done by taking the absolute value of the difference between the present ADC converted value a predicted point, called an estimation error, and comparing this estimation error to a threshold. If the estimation error exceeds the threshold, then the present ADC converted point is considered a picket fence event. The predicted point referred to above is computed in one of two ways, set by the value in the PF_ORDER (address 0x16[6]) bit. If PF_ORDER = 0 the predicted point is simply the previous ADC converted point. If PF_ORDER = 1, the predicted point is a least square fit extrapolation based on the previous four picket fence outputs, which, under normal circumstances, is identical to the ADC converted inputs. The threshold used in detecting a picket fence event is a low passed version of the running estimation error computed above times a multiplier. The multiplier used is set by the THRESHOLD_SIGMA_MULT (address 0x16[1:0]) bits and can be 4, 8, 16, or 32 times the running low-passed filter output of the estimation error. The low-pass filter function is controlled by two parameters, the IIR_TC (address 0x16[5:4]) bits and IIR_INIT_VALUE (address 0x16[3:2]) bits. The IIR_TC bits control the filters time constant and are adjustable from 8 to 64 samples. The IIR_INIT_VALUE bits control the initial values for the IIR low pass filter when the algorithm is initialized. When a picket fence event is detected, the option of how to extrapolate the correct point is again controlled by the PF_ORDER bit. This point can be identical as the previous point (PF_ORDER = 0) or a least square fit extrapola- tion based on the previous four ADC converted points (PF_ORDER = 1). Figure 31 below illustrates the function in block diagram form. If the picket fence algorithm is enabled (bit PF_ENABLE = 1), the input from the ADC, s(n) generates p(n) in a way that is dependent on the value of the PF_ORDER bit. Value s(n) is subtracted from p(n) and turned into a positive number d(n) and fed into the IIR low-pass filter producing value lpf(n). The output of the low pass filter lpf(n) is then multiplied by a user constant, THRESHOLD_SIGMA_MULT to produce the picket fence threshold, PFT(n). The value d(n) is then compared to this threshold and if greater than the PFT(n), the point s(n) is replaced with the point p(n). www.maximintegrated.com Maxim Integrated │ 46 MAX86140/ MAX86141 Best-in-Class Optical Pulse Oximeter and Heart-Rate Sensor for Wearable Health |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |