project goals our task was to take the proof of concept and make a production ready prototype with...

1
Project Goals Our task was to take the proof of concept and make a production ready prototype with the following parameters • Use low cost microprocessor • Add RS-232 I/O functionality • Implement identical logic of original system • Replace variable resistors with software timers • Maintain all other specifications • Preserve existing product housing Keith Benson – President, Bonitron Inc. Stephen Collings – Engineer, Bonitron Inc. Dr. Andrew Dozier – EECS Professor, Vanderbilt University System Diagram PCB Design Introduction Sponsors Bonitron HVAC Demand Scheduler Alexander Brown (EE) – Cory Haugh (EE) – Ajmer Dwivedi (ME) Problem Bonitron ceased producing the device when the microcontroller that it used went out of production. Last year, a design team successfully documented all the components used in the original demand scheduler. They also generated system diagrams, circuit schematics, and logic diagrams corresponding to the original design. This year our goal was to engineer a production ready prototype and deliver it to Bonitron. The Bonitron HVAC Demand Scheduler is a device that reduces the peak power consumption in a building running two HVAC units. It interfaces with the thermostats and only allows one unit to run at a time (unless a user overrides this functionality). By lowering peak power consumption the demand scheduler can drastically lower utility bills. Proof of Concept Designed Last Year M ain Board Pow er Conversion Signal Conversion 120V AC Power Supply Therm ostat1 Therm ostat2 H eat A/C C ontroller O utputRelays H eat A/C HVAC 1 HVAC 2 R S232 C onversion Com puter 5V O N/O FF O N/O FF D em and 1 D em and 1 G nd PicKit2 Program m er Vpp PGD PGC Programm ing H eader Vpp PGD PGC R xD TxD Vcc H eat R xD TxD R xD TxD G nd Vpp PGD PGC RA0 RA1 RA2 RA3 RA4 RA0 RA1 RA2 RA3 RA4 RD0 RD1 Ribbon Cable D isplay Board LE D s (5) C ontrol Buttons (2) D0 D1 D2 D3 D4 RD2 RD3 D0 D1 A\C Signal G nd O N\O FF O N\O FF RB0 RB1 RD2 RD3 Signal G nd Signal G nd O N/O FF O N/O FF Signal G nd Signal G nd Signal G nd H eat A\C Signal G nd Signal G nd Signal G nd Vcc G nd Vcc G nd 120V AC System G nd AC N eutral C hassis G nd • Four main functions: Power conversion, signal conversion, RS-232 communications, and microcontroller • Demands from the thermostats are routed to the microcontroller. The microcontroller's decision to activate a unit is based on parameters set by the user Microcontroller Selection Name Cyclone II FPGA HCS12 87C51 PIC16F747 Part Number EP2C35F672C8N MC9S12UF32 P87C51FB-4N PIC16F747 Producer Altera Freescale NXP Microchip Unit Cost $99.70 $4.20 $7.80 $3.20 Package 672-FBGA 64-LQFP 40-PDIP 40-PDIP Programming Software Quartus II MGTEK MiniIDE Third Party Bundled with PicKit Cost 0.00 0.00 0.00 0.00 Programming Hardware Serial Port Cable USB Cable ZIF Socket + USB PicKit 2 Cost $150.00 $100.00 $110.00 $50.00 Programming Language VHDL Assembly \ C Assembly Assembly \ C Custom Header Y Y N Y Timers N Y Y Y RS-232 N Y Y Y Internal Clock N N Y Y Non-Volatile Code N Y Y Y Notes: Previous group’s FPGA, used in FPGA class at Vanderbilt Used in microcontroller class at Vanderbilt Microcontroller currently used in Bonitron Board Lowest Cost to Project Development Approach • Use PICkit 2 development environment Hardware programmer for PIC microcontrollers USB programmable Connects via 6 pin header on PCB Packaged with starter kit for testing • Copied 90% from previous PCB layout • Added connections for new microcontroller and serial communications • 2 sided through hole design allows easier trace routing than previous single sided board PCB floorplan PCB trace layout Graphical User Interface • GUI controls timers and overrides Parallels functionality of previous override design Replaces variable resistors with programmable timing capabilities • Allows user to program timers without physically manipulating components •Tested using feedback loop GUI Testing Using Feedback Loop Assembly and Testing • PCB fully assembled and functional • GUI functional and communicating with PIC16F747 microcontroller

Upload: abigail-paul

Post on 13-Dec-2015

221 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Project Goals Our task was to take the proof of concept and make a production ready prototype with the following parameters Use low cost microprocessor

Project Goals

Our task was to take the proof of concept and make a production ready prototype with the following parameters

bull Use low cost microprocessorbull Add RS-232 IO functionalitybull Implement identical logic of original systembull Replace variable resistors with software timersbull Maintain all other specificationsbull Preserve existing product housing

bull Keith Benson ndash President Bonitron Incbull Stephen Collings ndash Engineer Bonitron Incbull Dr Andrew Dozier ndash EECS Professor Vanderbilt University

System Diagram PCB Design

Introduction

Sponsors

Bonitron HVAC Demand SchedulerAlexander Brown (EE) ndash Cory Haugh (EE) ndash Ajmer Dwivedi (ME)

Problem

Bonitron ceased producing the device when the microcontroller that it used went out of production Last year a design team successfully documented all the components used in the original demand scheduler They also generated system diagrams circuit schematics and logic diagrams corresponding to the original design This year our goal was to engineer a production ready prototype and deliver it to Bonitron

The Bonitron HVAC Demand Scheduler is a device that reduces the peak power consumption in a building running two HVAC units It interfaces with the thermostats and only allows one unit to run at a time (unless a user overrides this functionality) By lowering peak power consumption the demand scheduler can drastically lower utility bills

Proof of Concept Designed Last Year

Main Board

Power Conversion

Signal Conversion

120V AC Power Supply

Thermostat 1

Thermostat 2

Heat

AC

Controller

Output Relays

Heat

AC

HVAC 1

HVAC 2

RS232 Conversion

Computer

5V

ONOFF

ONOFF

Demand 1

Demand 1

Gnd

PicKit 2 Programmer

Vpp

PG

D

PG

C

ProgrammingHeader

Vp

p

PG

D

PG

C

RxD

TxD

Vcc Heat

RxD

TxD

RxD

TxD

Gnd

Vpp PGD PGC

RA0RA1RA2RA3RA4

RA0RA1RA2RA3RA4

RD0

RD1

Ribbon Cable

Display Board

LEDs (5)

Control Buttons (2)

D0D1D2D3D4

RD2RD3

D0D1

ACSignal Gnd

ONOFF

ONOFF

RB0

RB1

RD2RD3

Signal Gnd

Signal Gnd

ONOFF

ONOFF

Signal Gnd

Signal Gnd

Signal Gnd

Heat

ACSignal Gnd

Signal Gnd

Signal Gnd

VccGnd

VccGnd

120V AC

System GndAC Neutral

Chassis Gnd

bull Four main functions Power conversion signal conversion RS-232 communications and microcontroller

bull Demands from the thermostats are routed to the microcontroller The microcontrollers decision to activate a unit is based on parameters set by the user

Microcontroller SelectionName Cyclone II FPGA HCS12 87C51 PIC16F747

Part Number EP2C35F672C8N MC9S12UF32 P87C51FB-4N PIC16F747

Producer Altera Freescale NXP Microchip

Unit Cost $9970 $420 $780 $320

Package 672-FBGA 64-LQFP 40-PDIP 40-PDIP

Programming Software Quartus II MGTEK MiniIDE Third Party Bundled with PicKit

Cost 000 000 000 000

Programming Hardware Serial Port Cable USB Cable ZIF Socket + USB PicKit 2

Cost $15000 $10000 $11000 $5000

Programming Language VHDL Assembly C Assembly Assembly C

Custom Header Y Y N Y

Timers N Y Y Y

RS-232 N Y Y Y

Internal Clock N N Y Y

Non-Volatile Code N Y Y Y

Notes

Previous grouprsquos FPGA used in FPGA

class at Vanderbilt

Used in microcontroller class

at Vanderbilt

Microcontroller currently used in Bonitron Board Lowest Cost to Project

Development Approach

bull Use PICkit 2 development environment

Hardware programmer for PIC microcontrollers

USB programmable

Connects via 6 pin header on PCB

Packaged with starter kit for testing

bull Copied 90 from previous PCB layout

bull Added connections for new microcontroller and serial communications

bull 2 sided through hole design allows easier trace routing than previous single sided board

PCB floorplan PCB trace layout

Graphical User Interface

bull GUI controls timers and overrides

Parallels functionality of previous override design

Replaces variable resistors with programmable timing capabilities

bull Allows user to program timers without physically manipulating components

bullTested using feedback loop

GUI Testing Using Feedback Loop

Assembly and Testing

bull PCB fully assembled and functional

bull GUI functional and communicating with PIC16F747 microcontroller

  • Slide 1