Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN1828 Datasheet(PDF) 12 Page - STMicroelectronics

Part # AN1828
Description  The document explains how to design
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1828 Datasheet(HTML) 12 Page - STMicroelectronics

Back Button AN1828 Datasheet HTML 8Page - STMicroelectronics AN1828 Datasheet HTML 9Page - STMicroelectronics AN1828 Datasheet HTML 10Page - STMicroelectronics AN1828 Datasheet HTML 11Page - STMicroelectronics AN1828 Datasheet HTML 12Page - STMicroelectronics AN1828 Datasheet HTML 13Page - STMicroelectronics AN1828 Datasheet HTML 14Page - STMicroelectronics AN1828 Datasheet HTML 15Page - STMicroelectronics AN1828 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 17 page
background image
12/17
PIR (PASSIVE INFRARED) DETECTOR USING ST7FLITE05/09/SUPERLITE
2.1 SIGMA-DELTA IMPLEMENTATION
Sigma-Delta (as shown in Figure 7) needs an integrator, comparator and digital filter for 1 bit
DAC.
Figure 7. Sigma-Delta Conversion concept
Note: Refer to AN1827 for more details on Sigma-Delta implementation
These components are implemented in the application as follows:
– Comparator: On-chip ADC is used
– 1-Bit DAC: I/O Port PB2 is used
– Integrator: External Resistor and capacitor.
The Sigma-Delta software procedure is as follows:
1. Fix a threshold level for the transistor output (measured by the microcontroller’s ADC
input). This is selected as 3V (96h) in our application.
2. Configure the AR Timer to generate an overflow interrupt every 52 µs.
3. Read the value of the transistor Q1 output signal in ISR (interrupt service routine) using the
microcontroller’s ADC input.
4. Make the PWM signal HIGH if the ADC input is less than the threshold level.
5. Make the PWM signal LOW if the ADC input is greater than the threshold level.
By reading the output signal of transistor Q1 with the on-chip ADC, the biasing signal (1-bit
DAC) is adjusted by software.
On motion detection, the signal from the sensor tries to change the threshold voltage level. But
as the threshold voltage is kept at a fixed level by the biasing signal, this leads to a change in
the duty cycle of the biasing signal. This variation in the duty cycle can be detected by calcu-
lating the number of times the biasing signal (calculated by variable low_var as also shown in
flow chart) is made LOW in a fixed time, 52msec (1000 times the periodic interrupt) in our soft-
ware.
Digital
Filter
VREF
1 Bit DAC
+
+
-
-
Integrator
Comparator



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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