CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

16
CY3236A- PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

description

CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK). Agenda. PIR Theory PIR Motion Detection—The PSoC Way. PIR Theory. PIR Theory - Basics. Humans at normal body temperature radiate most strongly in the infrared spectrum at an approximate wavelength of 10uM - PowerPoint PPT Presentation

Transcript of CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

Page 1: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

CY3236A-PIRMOTION:Pyroelectric Infrared(PIR) Motion Detection EvaluationKit (EVK)

Page 2: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

2

Agenda

• PIR Theory

• PIR Motion Detection—The PSoC Way

Page 3: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

PIR Theory

Page 4: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

4

PIR Theory - Basics

• Humans at normal body temperature radiate most strongly in the infrared spectrum at an approximate wavelength of 10uM

• To detect this signal, a transducer is required that converts the infrared signal to current or voltage

Page 5: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

5

PIR Theory – PIR Sensors

• A PIR sensor is made of ceramic material that generates surface charge when exposed to infrared radiation

• As the amount of radiation increases, the surface charge generated increases

• A FET is used to buffer this signal

Page 6: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

6

PIR Theory – PIR Sensors

• As the sensor is sensitive to a wide range of radiation, a filter window is added

• This window limits theinfrared rays falling on the ceramic pickup to 8um-14um range

• Also, a resistor is added to the source of the FET to convert the charge to voltage

Filter Window Ceramic Substrate

Page 7: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

7

PIR Theory – PIR Sensors

• The output of the sensor is the function of infrared radiation

• But the output is also affected by vibration, radio interference, sunlight etc

What is the solution?

Filter Window Ceramic Substrate

Page 8: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

8

PIR Theory – PIR Sensors

• Dual Sensors are used• Both sensors are connected

out of phase such that any excitation that is common to both the sensors cancel out

• A body passing before the sensors excites first one and then the other sensor

Two Sensors connected out of phase

Physical Construction of a dual sensor

Page 9: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

9

PIR Theory – Fresnel Lens

• To improve the range and detection angle, Fresnel Lens are used

• A Fresnel lens is a plano convex lens that has been collapsed on itself to form a flat lens that retains its optical characteristics, but is thinner and has lesser absorption losses

Page 10: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

10

PIR Theory – Fresnel Lens

• There are many types of Fresnel Lens available, each having a different angle of coverage, focal length etc

Page 11: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

11

PIR Theory – Detection

• When an object moves in front of the sensor, the dual elements are excited one after other

• The resultant output is a +ve signal followed by a –ve signal

Page 12: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

12

PIR Theory – Detection

• The signal is first amplified using an amplifier and then fed to a comparator

• The comparator produces an output when the sensor detects a movement

• This comparator output can be further processed to control electrical loads

Page 13: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

13

PIR Motion Detection Applications

• Automatic Lighting Controls• Automatic Door Openers• Security Systems• Activating Wireless Cameras

Page 14: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

PIR Motion Detection—The PSoC Way

Page 15: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

15

PIR Detection – The PSoC Way

• The Amplifier is implemented in 2 stages with capacitive coupling between stages

• ADC measures the output of amplifier stage

ACDINCVR_1

13bits@240spsGain = 16

IM

PGA_21uF

Vcc

100KGain = 16

IM

PGA_1

.15uF

1uFP0.7

buf0P0.3 P0.0

buf1P0.5AGND

PIR

Page 16: CY3236A-PIRMOTION: Pyroelectric Infrared (PIR) Motion Detection Evaluation Kit (EVK)

16

PIR Detection – The PSoC Way

• Digital High Pass Filter and Decision logic in firmware

• All Hardware and Firmware implemented in One PSoC Device

Refer to AN2105 on www.cypress.com/designresources

11-z-1

1a

13bits@240sps

1-z-8

1-z-1

0.15 Hz IIR HP Filter

Datain 16bits@30sps

Decimate by 86.7 Hz LPSinc Filter

Dataout