final presentation
play

Final Presentation P14452 Overview MSDI Review MSDII Customer - PowerPoint PPT Presentation

Final Presentation P14452 Overview MSDI Review MSDII Customer Needs Detailed Design Revisited Requirements Build Functional Test Decomposition Reflect Concept Selection Detailed Design What Remains


  1. Final Presentation P14452

  2. Overview ● MSDI Review ● MSDII ○ Customer Needs ○ Detailed Design Revisited ○ Requirements ○ Build ○ Functional ○ Test Decomposition ● Reflect ○ Concept Selection ○ Detailed Design ○ What Remains ○ Lessons Learned

  3. MSDI Review

  4. Customer Needs

  5. Requirements

  6. Functional Decomposition

  7. Concept Selection

  8. Benchmarking Device Our DAQ MSR145 MSR160 Slice Micro Total Cost ~$80 $1018 $1417 ~$7000 Number of 2 1 1 3 Sensors Max Sample 20,000 Hz 50 Hz 1,000 Hz 120,000 Hz Rate Capture 4M Samples 4M Samples 2M Samples 2M Samples Duration (8GB SD) (8GB SD) Input Voltage 0-2.5V 0-10V 0-10V 0.5-23.5V Bit Width 16 Bit 12 Bit 12 Bit 16 Bit

  9. Detailed Design Overview ● Thermal Analysis ● Vibration Analysis ● Analog Signal Processing ● Digital Control

  10. Thermal Analysis

  11. Vibration Analysis ● Resonant frequency of compressor found to be 6 Hz in X and Z, and 12 Hz in Y ● Theoretical resonant frequency of PCB calculated to be 8450 Hz

  12. Analog Signal Path ● 2.5mm Jack ● MAX7403 Filter ○ 8th order Low-pass filter ○ Adjustable cutoff frequency ● MAX9939 PGA Adjustable gain factor ○ 0.2 - 157 V/V ■

  13. Digital Control ● Freescale KL25Z ○ 48 MHz ○ 32-bit ○ SAR ADC ■ 16-bits ■ 1 MSPS ○ SPI ○ USB

  14. MSDII

  15. Detailed Design Revisited ● Enclosure Selection ● Printed Circuit Board Design ● Microcontroller Roulette ● Bill of Materials

  16. Enclosure Selection BEX Series 1 ● Aluminum ○ Gaskets and Endcaps ○ ○ Flange Mounts Perfect size for PCB ○ Needs Adapter Plate ●

  17. PCB Design (Revision 1) ● Single Board Small Footprint ○ Low Profile ○ ● Freescale KL05Z ● Problems ○ Missing Protection Diodes USB Backwards ○ No Battery Connector ○ Signal Connector Pads ○ Incorrect Wrong SD Pads ○

  18. PCB Design (Revision 2) ● Daughter Board Signal Conditioning ○ Power ○ ○ microSD ● Problems Battery Connector ○ ○ Diodes Backward Power Switch ○ Buck-Boost Enable ○ SD Pad inverted ○ ○ Header Spacing

  19. Microcontroller Roulette ● STMicro STM32F373 ● Freescale KL05z 3 Sigma-delta ADC 48 MHz ○ ○ SD Interface 4 KB RAM ○ ○ $250 Dev Board No USB ○ ○ ● TI MSP430 ○ $13 Dev Board SAR ADC MBED ○ ○ <8 MHz Clock ● WINNER: Freescale KL25z ○ < $5 Dev Board 48 MHz ○ ○ ● Cypress PSOC ○ 16 KB RAM Analog Front-end USB ○ ○ Configurable Logic $13 Dev Board ○ ○ Small Input Range MBED ○ ○

  20. Bill of Materials Item Quantity Cost FRDM-KL05Z 1 $12.95 BOX Exclosure 1 $10.93 PCB 1 $33 MAX7403 (LPF) 2 $3.76 ea. MAX9939 (PGA) 2 $1.68 ea. LiPo Battery 1 $1.20 Sensor Ports 2 $0.50 ea MISC ~$10 Total Cost: ~$80

  21. Testing Overview ● Enclosure Vibration Testing ● PCB Testing ○ Power Conditioning ○ Analog Signal Path ● Software Testing ○ Microcontroller Firmware ○ DAQ Configurator

  22. Enclosure Vibration Testing ● B & K shaker table ● SigLab software ● Accelerometer on shaker table and top of enclosure

  23. Enclosure Vibration Testing Random - Chirp - w/o Rubber w/o Rubber Endcaps Endcaps Chirp - Random - w/ Rubber w/ Rubber Endcaps Endcaps

  24. PCB Testing: Power ● The output of the boost converter is dependent on the resistors R1 and R2 ● The design had the resistors reversed but this was fixed

  25. PCB Testing: Power ● The Li-po charging chip was working ● This is proved by the status pin being high when the battery is charging ● The status pin is connected to an input on the microcontroller

  26. PCB Testing: Analog Path Output of Filter Output of PGA Sensor input from function Vout range 0.25V - VDD generator 0-2 Vpp input @ VCOM= VDD/2 VOUTA = VCC/2 - Gain * 1kHz VOUT = (VIN - VCOM) + VOS (VINA+ - VINA-) + Gain * VOS VOS-INHERENT = (VOUTA - VCC/2)/Gain

  27. PCB Testing: Low-pass filter Fc= 1MHz, Fc= 1MHz, Fout= 10Hz Fout= 11kHz fC = fCLK / 100 Fc= 1MHz, Fc= 900kHz, Fout= 100Hz Fout= 10kHz

  28. SW Testing: Firmware ● Completed: SD Card ○ Read ■ Write ■ ○ PWM (LPF) ADC ○ Internal Square ■ Wave ● In Progress: ADC External Signals ○ PGA ○ On-board 3-axis ○ Accelerometer

  29. SW Testing: Configuration ● Completed: File Manipulation ○ New ■ Save ■ ■ Open Exit ○ Load / Store Settings ○ ● In Progress: ○ Generation of Standalone Executable

  30. Reflect: What Remains? ● Mechanical ● Digital Seal Enclosure Complete Firmware Testing ○ ○ ○ Install Power Switch ○ USB Mass Storage ● Analog ● Documentation ○ Update PCB Design to ○ User Manual Fix Problems Found in Developer Manual ○ Testing Find replacement for ○ PGA (Wide Input)

  31. Reflect: Lessons Learned ● Mechanical ● Electrical Existing enclosures are READ Datasheets ○ ○ abundant ○ Consult Experts Cross-Discipline Design Twice, Build Once ○ ○ knowledge is important Simulate Early, Simulate ○ Use intuition to validate Often ○ simulation results ○ Triple check designs before ordering

  32. Reflect: Lessons Learned ● Computer ● Overall Best Processor != Best Communication with ○ ○ Solution Customer Dev Board vs. Full Frequency ■ ■ Custom Expectations ■ ADC Roulette Get it in Writing ■ ■ ■ PSOC Trap ○ Testing in MSDI SD Cards - Not That Easy Importance of a ○ ■ Prototype

  33. Questions?

Recommend


More recommend