Efficient HVAC System

Similar documents
Efficient HVAC Control System

Wireless Power Panel Meter (WPPM)

WiFi Shield. User Guide

Wireless Home Control System

RN-174. WiSnap M2 Super Module. Features. Description. Applications. ~ page 1 ~ rn-174-ds v1.1 6/1/2011

Product Brief. Model: TLM922S-P01A. Ver.1.0

PICado Alpha Development Board V1.0

RN-174 WiFly Super Module

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 4/20/2011

Lost Item Pager. Project Description. Russ Kinley

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 1/24/2011

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

INTELLIGENT APPLIANCE CONTROL SYSTEM USING ARM7 AND ZIGBEE

Product Brief. Model: TLM922S-P01A. Ver.1.4

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 3/3/2011

Carambola2 (-I) Data sheet. Carambola2 is a tiny surface mountable 2.4 GHz Wi-Fi module running OpenWRT linux software

LoRaWAN Pressure / Level and Temperature Sensor

ALPW-BLEM103 Datasheet 1.0 Bluetooth Low Energy HCI

Energy consumption optimization for a wireless sensor for the IOT

eip-10 Embedded TCP/IP 10-BaseT Network Module Features Description Applications

LoRaWAN Pressure / Depth and Temperature Sensor

Digital Circuits Part 2 - Communication

RF4431 wireless transceiver module

CM5000 DATASHEET v0.1

ICP05 IBOARD LITE ICP05. - iboard lite

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

LM931 Bluetooth low energy Module

LM930 Bluetooth low energy Module (with U.FL Connector) Standalone (With Embedded Bluetooth v4.1 Stack)

RN-171-EK Evaluation Board

RN-171-XV b/g Wireless LAN Module

Mercury System SB310

Module Introduction. This training module provides an overview of Freescale s scalable solutions for low data rate 2.4 GHz connectivity.

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

PL1167. Low Power High Performance Single Chip 2.4GHz Transceiver. Product Description: Key Features: Applications: Pin Configuration:

BLUE bean. Data sheet

Reindeer Technologies Pvt Ltd Excellence through Innovation

Rambutan (-I) Data sheet. Rambutan is a dual-band (2.4 or 5 GHz) module with a fast 720 MHz CPU and 128 MB of RAM and Flash

Truck Smart Blind Spot Detection System Group #32. David Sheets (EE) Neel Sheth (EE) Aris Socorro (CpE) Abhijith Santhoshkumar (CpE)

OpenPicus WIFI module. Introduction. Pinout. Features

Applications Wi-Fi sensors Wi-Fi automation Internet of things Wi-Fi enterteinment Serial to Wi-Fi

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

SBC65EC. Ethernet enabled Single Board Computer

Manual iaq-engine Indoor Air Quality sensor

Lima (-I) Data sheet. Lima has N 2x2 radio supporting up to 300 Mbps data-rate and comes in two versions: commercial or industrial temperature

802.11b/g/n IOT Module

Bolt 18F2550 System Hardware Manual

International Journal of Electronics and Communication Engineering & Technology (IJECET), INTERNATIONAL JOURNAL OF ELECTRONICS AND

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

Getting to know the Arduino IDE

ECE 480 Team 5 Introduction to MAVRK module

RN-134. WiFly GSX Super Module SuRF Board. Features. Description. Applications. ~ page 1 ~ rn-134-ds v1.

ECE 189A Senior Capstone December 16, 2014 Team Leader: Will Miller Charles Crain, Isaac Flores, Brian Phan, Sarah Pilkington

ASV 2008 Son of a Boatname. Group 1 Michael Podel Gor Beglaryan Kiran Bernard Christina Sylvia

ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features

ELET114A Bluetooth Module DATASHEET. Website: / 7

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Slave Embedded Serial Bluetooth board Features and Benefits

Homework 6: Printed Circuit Board Layout Design Narrative Due: Friday, February 27, at NOON

Customize service and solution for wireless transportation products. Bluetooth Module Hardware Datasheet BLE1010C2P

automation catalog NX5 Family of controllers for building a u t o m a t i o n a n d e n e r g y managment. by rikmed x rikmed

A UNIVERSAL REMOTE CONTROLLER WITH HAPTIC INTERFACE FOR CUSTOMER ELECTRONIC DEVICES

CEL ZigBee TM / Application Brief

Amarjeet Singh. January 30, 2012

BLE MODULE SPECIFICATIONS

nblue TM BR-MUSB-LE4.0-S2A (CC2540)

Prototyping Module Datasheet

Product specification

IP67 Certified 2T2R 2.4GHz Outdoor Wireless-N Access Point - PoE-Powered 300 Mbps b/g/n WiFi AP

MODEL: WL40EW2F. Wireless I/O WL40F Series

Mohammad Shaffi 1, D Ravi Nayak 2. Dadi Institute of Engineering & Technology,

GW-USB-05. User's Guide. FW v1.07. IQRF USB Gateway MICRORISC s.r.o. User_Guide_GW-USB-05_ Page 1

EZmoto V4.1 Product description Rev. 2 30/07/2015

Indriya_DP_03A14. Features. Block Diagram. XBEE based Wireless Sensor Network development platform

By Ambuj Varshney & Akshat Logar

SMART HOME SYSTEMS. Group 10. Daniel Moody CpE Thien Luu EE Joel LeGros EE Vu Ha EE

IP67 Certified 2T2R 5GHz Outdoor Wireless-N Access Point - PoE-Powered 300Mbps a/n WiFi AP

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

LM961 Bluetooth Dual Mode Module Standalone (With Embedded Bluetooth v4.1 Stack)

Control Panel CP600 CP651, CP651-WEB

Wireless Solutions. 5.1 Wireless LAN & Wireless Modem. Wireless Modems. Intelligent GPRS/GSM Modules. Mini-Programmable Automation Controllers

Capacitive Touch Remote Control Reference Design User s Guide

Product description Rev. 3 11/06/14

Group 39. Jeff Mueller, EE Jon Graff, EE Thierry Alerte, CpE Jonathan Schooley, EE

ARDUINO PRIMO. Code: A000135

Rugged Mobile Computer PT21 / PT26. Portable Innovation Technology The Power Behind Your Rugged Mobile Computing

Instructionss. features: Actual Size Image. start up defaults. Sends server.) User configurable. All on - 1 -

New STM32WB Series MCU with Built-in BLE 5 and IEEE

SUB-MASTER MICROCONTROLLER FOR HOME CONTROL ON FINGERTIPS

WM1030 Rev Introduction. Ultra low power DASH7 Modem. Applications. Description. 868 / 915 MHz. Features. WIZZILAB Technical datasheet 1/10

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

LM930 Bluetooth low energy Module (with IPEX Connector) Standalone (With Embedded Bluetooth v4.1 Stack)

IEEE Testing Signal Compliance of ZigBee Standard

MC 11 EB-2 Power supply cabinet with external bus, AC version

BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1

Page 1 of 11 Version 1.2 Release Date: PenMount PM2204 PCI Controller Board Data Sheet. Table of contents

Transcription:

Efficient HVAC System Group 6 Sponsored by AC3 Development Group LLC Derick Holzmacher Cory Glass Andrew Mertens Joshua New

Motivation HVAC systems are one of the leading energy consuming appliances in use in any building. With the recent push toward green technology, there is a new demand for a more efficient, and affordable HVAC control system. There has also become a need for an HVAC system that introduces filtered outside air into the building in order to provide the occupants enhanced air quality.

Project Overview A more efficient HVAC control system to save the user money on a monthly basis through reduced power consumption A user friendly interface through a wall mount touch screen thermostat with web connectivity that allows settings to be viewed and changed from a mobile device

Objectives Accurately read temperature and relative humidity both inside and outside building. Wirelessly transmit outside data to the main control unit User interface must be a thermostat replacement in the form of a touch screen that is easy to view and intuitive to operate. Communicate with the internet so that the user can view and manipulate system settings from a remote location via mobile device. Must be expandable to incorporate additional HVAC components and sensors.

Objectives Allow the user to input desired temperature and relative humidity set points Determine the most efficient components to use to heat or cool the building based on settings ranging from max comfort to max savings Display the current percentage of the total system energy being used via an energy usage bar Allow the user to view current power consumption Allow the user to input a specific tolerance level for each comfort setting Expandable coding to incorporate HVAC systems consisting of more than 2 AC units System must be able to be installed without the need for the running of any new wires

Specifications and Requirements Must be able to provide 24V AC to control HVAC components (output) Wireless transmission of temperature and relative humidity data over a distance of at least 100 feet Measure indoor and outdoor temperature (+- 0.5 º C) and relative humidity (+- 5%) with specific accuracy Measure realistic outdoor temperature (-20 º F 110 º F) and relative humidity (0% - 100%) Main Control Unit powered by existing 24V AC wall power (input) Total cost of the HVAC system $1500 or less for initial prototyping

Component Overview Main Control Unit Main Microcontroller 802.11b Wi-Fi Transceiver 802.15.4 ZigBee Transceiver Temperature / Relative Humidity Sensor Control Relays Outside Sensing Unit Secondary Microcontroller 802.15.4 ZigBee Transceiver Temperature / Relative Humidity Sensor User Interface Evervision 7 LCD Touch Screen SLCD5 Controller

Main Control Unit Components with Connection Types

Main Control Unit (MCU) Houses several components such as the SHT21 sensor, dspic33fj256gp710a main microcontroller, ZigBee MRF24J40MB wireless transceiver, and the MRF24WB0MA 802.11b wireless transceiver Powered by a 24V AC common wire that is installed for a thermostat during the initial construction project Minimum, Maximum, and typical operating voltages for components associated with the MCU

Comparison of Main Microcontroller Options dspic33fj64gp206a dspic33fj256gp506a dspic33fj256gp710a Pins 64 64 100 Flash Memory 64Kbyte 256kbyte 256Kbyte ADC 1 ADC, 18 ch. 1 ADC, 18 ch. 2 ADC, 32 ch. UART 2 2 2 SPI 2 2 2 I 2 C 1 2 2 I/O Pins 53 53 85

Reasons for choosing dspic33fj256gp710a C compiler optimized instruction set 256K bytes Flash memory 30K bytes RAM 85 Programmable I/O pins Supports 2 I 2 C modules Supports 2 UART modules The sponsors have stressed their desire to expand the capabilities of the system

Conversion from 24V AC to 3.3V DC First signal needs to be converted from AC to DC using full wave rectification The entire signal is the same polarity but the magnitude of the signal is still not constant to be considered DC. The signal is rippling in magnitude and in order to solve that problem a smoothing capacitor will be used Next step after using a smoothing capacitor is to use a voltage regulator Sine wave input Bridge Rectifier (Full wave rectification) Smoothing Capacitor Voltage Regulator Desired DC Output Voltage

Remote Sensing Unit Components with Connection Types

20 Pins Secondary Microcontroller PIC24F04KA201 4K bytes Program Memory SRAM 512 bytes 3 16-bit timers 1 UART 1 SPI 1I 2 C

Functions of Secondary Microcontroller Take input from Temperature and Relative Humidity Sensor (12 or 14 bits) Plug number into conversion formula Send information to Main Control Unit

Secondary Microcontroller Minimum Connections This is the PIC24F04KA201 and the minimum required connections as described in the data sheet

Secondary Microcontroller with other external connections Secondary microcontroller with connections to ZigBee RF transceiver, temperature and humidity sensor, and female RJ11port

Comparison of LCD Touch Screens (Sponsor Decision) Company Name Size of LCD Touch Screen Controller Name Evervision 7 inches SLCD5 Controller Kyocera 5.7 inches SLCD+ controller Controller Specs -Power Supply Min 3.0 V to Max 3.6 V - 4 MB of flash memory -16 bit color -Power Supply Min 3.0 V to Max 3.6 V - 4 MB of flash memory -16 bit color Development Kit Price $499 $499 NEC 8.4 inches SLCD5 Controller -Power Supply Min 3.0 V to Max 3.6 V - 4 MB of flash memory -16 bit color $799

Advantages of the 7 Evervision Development Kit SLCD5 controller was bundled with 7 Evervision LCD screen Evervision LCD screen utilizes 4 wire resistive touch technology. SLCD5 controller provides easy to use commands to implement bitmaps and macros

Commands Used in Development Xi 1 100 200 of User Interface Places bitmap index 1 at pixel location 100x200 Bd 1 x y text dx dy bmp1 bmp2 Places a button at x y with text identifier text with text offset of dx dy, displays bitmap index of bmp1 in state 1 and bmp2 at state 2 T text string x y Places text at (x, y) in respect to the origin point Display of various bitmaps and buttons

Format of LCD Touch Screen User Interface

SCLD5 Communication Setup Utilizes RS-232 for serial communication to host microcontroller COM0 is deemed the Main port and is connected to the embedded processor to control the display COM1 port or Aux is typically used to update the display of bitmaps and macros SCLD5 Communication Setup (2 RS232 Ports)

Wireless Protocols The protocols that we researched and considered were the ZigBee, Wi-Fi, and Bluetooth The best communication interface for wireless in system communication was ZigBee ZigBee was relatively simple and would be easily able to handle the readings we had to send Good amount of sample code available To enable mobile device connectivity we chose a Wi-Fi transceiver Works well because there is normally not an Ethernet connection wired to the thermostat

Wireless Protocols Wireless Protocols Bluetooth (Class 1) ZigBee (802.15.4) Wi-Fi (802.11 b) Optimal Range (indoor): ~100 meter 10 75 meters 30 meters Frequency Band: 2.4 GHz ISM band 2.4 GHz ISM band 2.4 GHz ISM band Communication type: WPANs PANs WLAN Power required to operate: 100mW 1mW 100mW Cost of implementation: Low Cost Low Cost Medium Cost Bandwidth: 1 Mbps 0.250 Mbps 11 Mbps Encrypted: Yes Yes Yes Primary Use: Data exchange over short distances Small, low powered devices Mobile Internet

802.15.4 MRF24J40MB RF Transceiver The sensors and secondary microcontrollers collect data which needs to be wirelessly sent to the main microcontroller Our device that we wanted required low power consumption to increase battery life, low data rate and secure networking MRF24J40MB is compatible with Microchip s Microcontroller Families (PIC16F, PIC18F, PIC24F/H, dspic33).

802.11 b MRF24WB0MA RF Transceiver This radio transceiver contains 36 pin surface mountable module that s dimensions are 21 mm x 31 mm Requires low supply voltage: 2.7V 3.6V (3.3 V is typical standard) Operates on the 2.4 2.483.5 GHz band, which is the 802.11 b protocol Designed to be used with Microchip s TCP/IP software stack and microcontroller families The MRF24WB0MA module and a PIC microcontroller operating the TCP/IP stack will allow for implementation of a wireless web server

MRF24WB0MA RF Transceiver (cont) This module interfaces to the microcontroller via a four-wire serial slave SPI interface, as well as the interrupt, hibernate, reset, power, and ground signals Offers different modes of low current consumption depending upon what is recommended by the user Receive (RX) mode only uses 85 ma, Transmit (TX) mode only uses 154 ma, Hibernate mode uses < 1 ua, while the Sleep mode uses 250 ua CS SPI Chip Select input SCK clock SDI, SDO SPI data In and data out pins MRF24WB0MA interface to microcontroller

Sensors The sensor we chose was the Sensirion SHT21 Humidity and Temperature Sensor Uses I 2 C protocol to communicate with the microcontroller The SHT21 has a normal operating range from 20 ºC to 100 ºC (68 ºF to 212 ºF) at about 8% relative humidity and -20 ºC to 60 ºC (-4 ºF to 140 ºF) at 90% relative humidity Default resolution of 12 bits for relative humidity and 14 bits for temperature

I 2 C protocol and commands for SHT 21 Uses two bidirectional lines for the I 2 C format: Serial Data Line (SDA), Serial Clock (SCL) Data can be sent across the SDA line after a start condition has been met The start condition is when the SDA line goes from a high to low while the SCL is high When the data is already done sending, a stop condition of the SDA going from a low to a high while the SCL is high occurs The I 2 C protocol once the start condition happens is followed up by a header made up of 7-bit device addresses and an SDA directional bit Start and Stop Conditions for I 2 C protocol

Factors in Calculating Relative Humidity and Temperature Values Once the bits measurement is taken and the bits are transferred, it must be converted into a number that makes sense to the user Binary number must be converted to a decimal number (called S RH or S T for relative humidity and temperature) Once converted into decimal representation, the value must be plugged into a formula to get the final output Formulas for Calculating Relative Humidity and Temperature Values for the User RH = - 6 + 125 * (S RH / 2 16 ) units % RH T = -46.85 + 175.72 * (S T / 2 16 ) units ºC

Selected Battery Type Pros Cons Alkaline (AA) - Long battery life - Has Energy Capacity of 2850 mah - Drain rate affects the capacity Lithium - Ion - Produce nominally 3.6 to 3.7 V (very powerful) - Generates high current - Has an energy capacity of 2250 mah - Relatively low self - discharge rate - Most expensive in cost Nickel Cadmium (AA) -Decent discharge rate - Nominal cycle life of over 1,000 cycles -Short term battery life - Max current is approx 400 ma - Being prone to damage by overcharging

Software Overview C language used to code compiled with C30 compiler from Microchip LCD Interface programmed through microcontroller TCP/IP Stack and web server provided by Microchip

HVAC Data Structures HVAC Int : NumUnits inithvac(); processhvac(); inserthvac(hvac_uni t) HVAC_List HVACList : next HVACList : prev HVAC_Unit : unit 0..* HVAC_Unit uint : state uint : heat HVACDevice : Type

Use Case Diagram Main Control System «uses» Get Sensor Readings Wireless Sensor Process HVAC Control «uses» Humidifier Adjust Settings «extends» Power Relays AC1 «extends» Adjust Venting System AC2 User Adjust Power Settings Adjust Comfort Settings Venting

Design Issues Structs in C compiled with the C30 compiler are not word aligned and cause an address error trap when accessed Delays caused by lack of library support for PCB components Original 802.11 chips unavailable. Had to change to external antenna model.

Successes Uploading initial layout for the LCD screen in progress. One of two PCB designs is complete. Progressing through software development All main components have been ordered and received. Under budget

Component Description 7 Evervision LCD Development Kit Budget and Financing Part Number Manufacturer Total 52-0102-12 Evervision Reach Technology $499 MRF24J40MA PICtail Daughter Board MRF24J40MB PICtail Daughter Board AC164136-4 Microchip $60 AC164134-2 Microchip $30 Explorer 16 Kit DV164037 Microchip $299 Battery Holder 1024K-ND Keystone Electronic $7.59 PIC24F16KA102 Plug-in Module (PIM) MRF24J40MB Zigbee Wireless Module dspic33fj256gp710 A Main Microcontroller PIC24F04KA201 Secondary Microcontroller MA240017 Microchip $25 MRF24J40MBT- I/RM Microchip $34.74 DSPIC33FJ256GP71 0 Microchip $17.08 PIC24F0KA201-I/SO Microchip $1.72 Grand Total: $974.13

Current Progress Overall Testing Prototyping Development Ordering Research 0 10 20 30 40 50 60 70 80 90 100 Estimated Percentage Complete

Questions