Design Review - Purdue College of Engineering

Download Report

Transcript Design Review - Purdue College of Engineering

ECE 477 Design Review
Team 8 − Spring 2013
Names:
Fabian W, Siddharth B, Vineeth H, Sriram R
Outline
•
•
•
•
•
•
•
•
•
•
Project overview
Project-specific success criteria
Block diagram
Component selection rationale
Packaging design
Schematic and theory of operation
PCB layout
Software design/development status
Project completion timeline
Questions / discussion
Project Overview
•
Printer power management system
•
Use the power indicator LED as a light
sensor
•
Control printer's power based on light levels
•
Route incoming print jobs to local
storage/printer
Project-Specific Success Criteria
•
•
•
•
•
An ability to detect change in light in a room with an LED
An ability to control the printer’s power state and display it via an
LCD on the detection of change in light
An ability to accept incoming print jobs and queue the jobs up using
local memory while printer is in sleep mode
An ability to wake up printer and forward the queued up print jobs
using standard protocol
An ability to control and set the various timeout options for the
printer’s sleep and hibernate states based on user input
Printer state transition diagram
RST
IDLE
READY
if(sleep_timeout == true)
incoming
print jobs
or
Moderate
change in
light
lights = on
if(hibernate_timeout == true)
or
or
room_lights = turned off
incoming
print jobs
SLEEP
HIBERNATE
print jobs being
forwarded/executed
print jobs
completed
if(hibernate_timeout == true)
or
room_lights = turned off
BUSY
Block Diagram
110VAC
Power
Relay
3
110VAC
3
4
Ethernet
4
5VDC
6
PIC32MX795F512H
Microcontroller
Touch
Screen
SPI-to-Ethernet
Controller
SD Card
16
LCD
Display
2
SM Power Supply (to all
components)
Ethernet
4
Component Selection Rationale
Microcontroller
PIC32MX795F512H
MK60DN512VLL10
Operating Freq (MHz)
80
100
ATD channels
16
3
Serial Interface - Type
UART, SPI, I2C, CAN,
USB, Ethernet
UART,SPI,I2C,I2S,CAN,
USB,Ethernet
Supply Voltage (V)
1.71 to 3.6
2.3 to 3.6
Internal Flash (kByte)
512
512
Internal RAM (kByte)
128
128
Total (I/O) pin count
64 (53)
100 (66)
Microcontroller
selected
Component Selection Rationale
•
SPI-to ETH Controller required for interfacing with printer/user
network
•
Voltage regulator - LM3102 - 5VDC to 3.3VDC @ 2.5A
•
Power Relay - low power consumption that could operate at 3.3V
•
UART-to-USB chip - MCP2200
•
microSD Card - SanDisk 2Gb
•
LCD - 20x4 character LCD
•
Touchscreen - 3.9" 4 wire Resistive
Packaging Design
•
•
•
•
•
•
Components located inside the box:
o The printed circuit board
o The power relay
o 5VDC power adapter
Components located on the sides of the box:
o Two power sockets
o One ethernet port
Components located on the top of the box:
o 20x4 LCD screen + Touchscreen
o Green printer LED
Dimensions: 5"x4"x3"
Weight: ~1lb
Material: Plastic
Packaging Design
Ethernet
Power supply
to Printer
Dimensions:
Length - 5"
Width - 4"
Height - 3"
110VAC
Ethernet
Touch
screen/LCD
CAD
PACKAGE
ILLUSTRATION
Schematic - Power Circuitry
Schematic - Microcontroller
Schematic - PIC32 Circuitry
Schematic - Microcontroller
Breakout Ports
Schematic - Debugging Circuitry
Schematic - Local Memory
Schematic - LCD Connector
Schematic - SPI to Ethernet
Schematic - ADC Components
PCB – w/ Ground Plane
PCB – w/o Ground Plane
PCB – Top Copper
PCB – Bottom Copper
PCB Layout - Power Circuitry
PCB Layout - Debugging Circuit
PCB Layout - Microcontroller
Software Design/Development Status
MICROCONTROLLER - PIC32MX795F512H
FUNCTIONS
USE
PROGRESS
TMR
Controlling sleep/hibernate timeout settings
Scheduled
ADC
ADC voltage sampling
Working
Light Sensor
Driver
Use the printer LED as a light sensor
Scheduled
UART
Testing and debugging
Working
SPI
R/W data to SD card, SPI-to-ETH Controller
Scheduled
SDCard
Driver
Driver that can handle the data I/O to and from
the SDCard
Scheduled
LCD Driver
Parallel data shift-out to LCD
In Progress
Software Design
Reset
initializeUART/ADC/SPI()
configureInterrupts()
while(1)
sampleADCVoltage()
writeIncomingPacketsToSDCard()
updateLCD()
readAndForwardPacketsOnSPI()
togglePrinterMode()
Project Completion Timeline
WEEK
TASK
DELIVERABLES
Week 8
Design review presentation. Tweak the PCB. Continue
software development. Prototype parts.
Design Review
Presentation
Week 9
Incorporate changes/comments from Design Review into
the schematic and PCB. Prototype parts.
Proof-of-Parts, Final
Schematic, and Final
PCB Layout
Week 10 Spring Break
Spring Break
Week 11 Continue software development and testing.
Software Report
Week 12 Begin populating/testing PCB. Test PCB section-bysection as parts are added, port software and add
functions one-by-one
Patent Liability Analysis
Report
Project Completion Timeline
WEEK
TASK
DELIVERABLES
Week 13
Continue populating/testing PCB. Test PCB section-bysection as parts are added, port software and add
functions one-by-one
Reliability and Safety
Analysis Report
Week 14
Continue populating/testing PCB. Test PCB section-bysection as parts are added, port software and add
functions one-by-one
Ethical/ Environmental
Impact Analysis Report
Week 15
Finalize packaging and system integration. Start
assembling and editing Final Report.
User Manual
Week 16
Create PSSC demo video. Create Poster and Senior
Design Report. Finish editing Final Report. Prepare for
Final Presentation.
PSSC Demo Video
Week 17
Submit project deliverables. Practice Final Presentation.
Senior Design Report,
Poster, Final
Presentation
Questions?
*
*No guarantee