当前位置:首 页 --> 方案设计
Atmel SAM4S无线无源红外移动检测参考设计
发布时间:2014/8/8 9:32:00 来源:
在线咨询:
给我发消息
李湘宁 2850985550
给我发消息
张代明 3003290139
给我发消息
姚红霞 3003214837
13713728695
Atmel公司的SAM4S是基于高性能32位ARM® Cortex®-M4 RISC处理器的闪存MCU,工作频率120MHz,闪存高达2048KB,SRAM高达160KB,外设包括带嵌入收发器的全速USB器件端口,用于SDIO/SD/MMC的高速MCI,具有静态存储器控制器的外接总线接口等.工作电压1.62V- 3.6V,主要用在红外移动检测,消费类电子,工业控制,PC外设等.本文介绍了SAM4S系列主要特性,框图,以及无线无源红外(PIR)移动检测参考设计主要特性,框图,电路图,材料清单和PCB元件布局图.
The Atmel SAM4S series is a member of a family of Flash microcontrollers based on the high-performance 32-bit ARM® Cortex®-M4 RISC processor. It operates at a maximum speed of 120 MHz and features up to 2048 Kbytes of Flash, with optional dual-bank implementation and cache memory, and up to 160 Kbytes of SRAM. The peripheral set includes a full-speed USB Device port with embedded transceiver, a high-speed MCI for SDIO/SD/MMC, an External Bus Interface featuring a Static Memory Controller to connect to SRAM, PSRAM, NOR Flash, LCD Module and NAND Flash, two USARTs, two UARTs, two TWIs, three SPIs, one I2S, as well as one PWM timer, two three-channel general-purpose 16-bit timers (with stepper motor and quadrature decoder logic support), one RTC, one 12-bit ADC, one 12-bit DAC and one analog comparator.
The SAM4S series is ready for capacitive touch, offering native support for the Atmel QTouch® library for easy implementation of buttons, wheels and sliders.
The SAM4S device is a medium-range general-purpose microcontroller with the best ratio in terms of reduced power consumption, processing power and peripheral set. This enables the SAM4S to sustain a wide range of applications that includes consumer, industrial control, and PC peripherals.It operates from 1.62V to 3.6V.
The SAM4S series is pin-to-pin compatible with the SAM3N, SAM3S series (48-, 64- and 100-pin versions), SAM4N and SAM7S legacy series (64-pin versions).

SAM4S系列主要特性:
 Core
̶ ARM Cortex-M4 with 2 Kbytes of cache running at up to 120 MHz
̶ Memory Protection Unit (MPU)
̶ DSP Instruction Set
̶ Thumb®-2 instruction set
 Pin-to-pin compatible with SAM3N, SAM3S, SAM4N and SAM7S legacy products (64-pin version)
 Memories
̶ Up to 2048 Kbytes embedded Flash with optional dual-bank and cache memory
̶ Up to 160 Kbytes embedded SRAM
̶ 16 Kbytes ROM with embedded boot loader routines (UART, USB) and IAP routines
̶ 8-bit Static Memory Controller (SMC): SRAM, PSRAM, NOR and NAND Flash support
 System
̶ Embedded voltage regulator for single supply operation
̶ Power-on-Reset (POR), Brown-out Detector (BOD) and Watchdog for safe operation
̶ Quartz or ceramic resonator oscillators: 3 to 20 MHz main power with failure detection and optionallow-power 32.768 kHz for RTC or device clock
̶ RTC with Gregorian and Persian calendar mode, waveform generation in low-power modes
̶ RTC clock calibration circuitry for 32.768 kHz crystal frequency compensation
̶ High-precision 8/12 MHz factory-trimmed internal RC oscillator with 4 MHz default frequency fordevice startup. In-application trimming access for frequency adjustment.
̶ Slow clock internal RC oscillator as permanent low-power mode device clock
̶ Two PLLs up to 240 MHz for device clock and for USB
̶ Temperature sensor
̶ Low-power tamper detection on two inputs, anti-tampering by immediate clear of general-purpose
backup registers
̶ Up to 22 Peripheral DMA (PDC) Channels
 Low-Power Modes
̶ Sleep, wait and backup modes, down to 1 μA in backup mode
̶ Ultra low-power RTC
 Peripherals
̶ USB 2.0 Device: 12 Mbps, 2668 byte FIFO, up to 8 bidirectional Endpoints. On-chip transceiver.
̶ Up to two USARTs with ISO7816, IrDA®, RS-485, SPI, Manchester and Modem Mode
̶ Two 2-wire UARTs
̶ Up to two Two-Wire Interface modules (I2C-compatible), one SPI, one Serial Synchronous Controller (I2S), one high-speed Multimedia Card Interface (SDIO/SD Card/MMC)
̶ Two three-channel 16-bit Timer/Counters with capture, waveform, compare and PWM mode.
Quadrature decoder logic and 2-bit Gray up/down counter for stepper motor
̶ 4-channel 16-bit PWM with complementary output, fault input, 12-bit dead time generator counter for motor control
̶ 32-bit Real-time Timer and RTC with calendar, alarm and 32 kHz trimming features
̶ Up to 16-channel, 1Msps ADC with differential input mode and programmable gain stage and auto calibration
̶ One 2-channel 12-bit 1Msps DAC
̶ One Analog Comparator with flexible input selection, selectable input hysteresis
̶ 32-bit Cyclic Redundancy Check Calculation Unit (CRCCU) for data integrity check of off-/on-chip
memories
̶ Register write protection
 I/O
̶ Up to 79 I/O lines with external interrupt capability (edge or level sensitivity), debouncing, glitch
filtering and on-die series resistor termination
̶ Three 32-bit Parallel Input/Output Controllers, Peripheral DMA-assisted Parallel Capture mode
 Packages
̶ 100-lead packages
 LQFP, 14 x 14 mm, pitch 0.5 mm
 TFBGA, 9 x 9 mm, pitch 0.8 mm
 VFBGA, 7 x 7 mm, pitch 0.65 mm
̶ 64-lead packages
 LQFP, 10 x 10 mm, pitch 0.5 mm
 QFN, 9 x 9 mm, pitch 0.5 mm
 WLCSP, 4.42 x 3.42 mm, pitch 0.4 mm (SAM4S16/S8)
 WLCSP, 3.32 x 3.32 mm, pitch 0.4 mm (SAM4S4/S2)
̶ 48-lead packages
 LQFP, 7 x 7 mm, pitch 0.5 mm
 QFN, 7 x 7 mm, pitch 0.5 mm

图1.SAM4SD32/SD16/SA16 100引脚版框图

图2.SAM4SD32/SD16/SA16 64引脚版框图

The Atmel® SAM4S16 microcontroller builds on the high-performance, 32-bit ARM®-based Cortex®-M4 core. The SAM4S16 features:
Maximum operating speed of 120MHz
1MB of Flash and 128KB of SRAM
1.62V to 3.6V supply
Power consumption 200µA/MHz in dynamic mode at low operating frequency, 30mA at 100MHz and 3µA at 1.8V in back-up mode with the RTC running External bus interface supports SRAM, PSRAM, NOR Flash, LCD module and NAND Flash Extensive peripheral set for connectivity, system control and analog interfacing Native support for Atmel QTouch® capacitive touch technology for implementation of buttons, sliders and wheels Pin-to-pin compatible with Atmel SAM7S, SAM3N and SAM3S MCUs Parallel Input/Output (IO) data capture mode

SAM4S无线无源红外(PIR)移动检测参考设计
PIR Motion Detectors have been present for a considerable time in building, home alarm and monitoring systems markets. A PIR Motion Detector predominantly converts a microwave signal, infra-red light in this case, emitted from a human body, into an electrical signal. A PIR Motion Detector does not detect a body standing still, but in motion only.
Having a PIR Motion Detector on its own is not enough in an alarm or monitoring system. Such a system is also equipped with a CMOS imaging sensor to take a snapshot of the moving body in front of the PIR sensor. The acquired image can then be transmitted over wired or wireless medium.
The reference design implemented around the Atmel® SAM4S ARM® Cortex®-M4 based MCU is particularly well suited for this kind of application and provides ready to use hardware and software blocks. The SAM4S PIO Controller integrates an interface able to read data from a CMOS digital image sensor and store images in internal or external memory with the CPU being in sleep mode, thus optimizing power consumption when running from batteries. One important requirement, as well, is the image compression process for transmitting images to optimize transmission time and in turn, power consumption.
Compared to higher priced CMOS imaging sensor devices with embedded JPEG compression, the SAM4S device is able to perform JPEG compression through software. Other features, such as low-power analog comparator or analog-to-digital converter for motion detection, low-power modes and PIO state preservation (even in backup mode), simplify the design by reducing the count of external components, board space and therefore, overall system cost.

图3. SAM4S WPIR-RD板外形图

SAM4S WPIR-RD板主要特性:
• IAR Embedded Workbench®
• ASF Board support with Peripheral drivers and examples
• SAM4S-WPIR-RD board
• Motion Detector Camera
• Wireless Image Transfer using ZigBee® PRO

图4. SAM4S WPIR-RD板框图

图5. SAM4S WPIR-RD板电路图(1)

图6. SAM4S WPIR-RD板电路图(2)

图7. SAM4S WPIR-RD板电路图(3)

图8. SAM4S WPIR-RD板电路图(4)

图9. SAM4S WPIR-RD板电路图(5)

图10. SAM4S WPIR-RD板电路图(6)

图11. SAM4S WPIR-RD板电路图(7)

图12. SAM4S WPIR-RD板电路图(8)

图13. SAM4S WPIR-RD板PCB图

图14. SAM4S WPIR-RD板PCB元件布局图:顶层 

图15. SAM4S WPIR-RD板PCB元件布局图:底层
SAM4S WPIR-RD板材料清单:

 
    您可能对以下产品感兴趣  
产品型号 功能介绍 兼容型号 封装形式 工作电压 备注
 
深圳市永阜康科技有限公司 粤ICP备17113496号 服务热线:0755-82863877 手机:13242913995