Energy Monitoring System (EMS) Abstract

Size: px
Start display at page:

Download "Energy Monitoring System (EMS) Abstract"

Transcription

1 Energy Monitoring System (EMS) Abstract Dean J. Boman Project ID: Rev - March 22, 2012 Prepared for: DesignSpark chipkit TM Challenge

2 Abstract The Energy Monitoring System (EMS) provides real-time home electrical energy usage data to the occupants so informed energy usage decisions can be made. The system hosts a web server that provides a web page with the current energy usage on a circuit-by-circuit basis. In addition, the system interfaces with the overall home automation system so long term monitoring and logging can be accomplished. The Energy Monitoring System consists of the chipkit Max32 development board along with two extension board that hosts the unique interfaces required by the system. A block diagram is shown in Figure 1 and the completed project in shown in Figure 2. The main electrical panel for the home contains 32 individual circuits, so 32 current sensors are used to measure the current consumed by each branch circuit. The branch circuits consist of a mixture of 15 A, 20 A, 25 A, 30 A, 40 A, and 50 A circuits so the sensor sensitivity is tailored to the capacity of the individual branch circuits. The current sensors drive the EMS Interface Board which filters the sensor signal and adjusts the voltage level to be compatible with the Max32 analog to digital converter (ADC) inputs. The EMS Interface Board provides the conditioned signals to the EMS Max32 Board which contains a 32 to 4 analog mux which route the signals to four of the Max32 ADC channels. The EMS Max32 Board also contains an Ethernet interface and power supply. A representative web page display is shown in Figure 3. The software design for the Energy Monitoring System utilizes custom software written in the C language using the Microchip MPLAB development environment to implement all the functions required to measure the real-time energy usage. This custom software is integrated with the Microchip TCPIP stack, which provides the web server interface and all the other standard network functions.

3 SPI 12 V chipkit Max32 Development Board 4 ADC Inputs Select 4 8 to 1 Muxes 32 Buffer Amp/ 1 KHz Filter Sensor 0 +9 V Buffer Amp/ 1 KHz Filter Sensor 31-9 V EMS Interface Board Electrical Panel Power Supply 120 V AC Input Ethernet Interface EMS Max32 Board Energy Monitoring System Router Legend Part of project Internet Not part of project Purchased item Home Automation System Figure 1 EMS Block Diagram

4 Figure 2 Photo of Completed EMS Project

5 Figure 3 Representative Web Page

6 Sample of Code In order to measure the energy usage of each circuit the current waveform provided to the PIC32 ADC via the EMS Interface Board and current sensors must be sampled sufficiently fast enough such that the RMS current value can be calculated. The filter design on the EMS Interface Board limits the bandwidth to 1 KHz so a 99.8 usec sample period (10 KHz) was chosen. In order to calculate the RMS current the waveform must be measured over precisely one cycle of the 60 Hz AC waveform. To implement the timing for the sampling and RMS calculation timer2 was configured to generate an interrupt at a 99.8 usec rate. The timer is configured with the following code: //Configure timer2 for realtime keeping but setting it for a 99.8 usec interrupt rate T2CON = 0x0040; TMR2 = 0; PR2 = TIMER2_MATCH; IFS0CLR = _IFS0_T2IF_MASK; IEC0SET = _IEC0_T2IE_MASK; //Timer off, 16 bit mode, /16 from peripheral clk //Configure for the 99.8 usec rate //Configure Timer2 Interrupt INTEnable(INT_T2, INT_ENABLED); INTSetVectorPriority(INT_TIMER_2_VECTOR, INT_PRIORITY_LEVEL_2); INTSetVectorSubPriority(INT_TIMER_2_VECTOR, INT_SUB_PRIORITY_LEVEL_0); //Configure for multi-vectored mode INTConfigureSystem(INT_SYSTEM_CONFIG_MULT_VECTOR); //Enable interrupts INTEnableInterrupts(); //Timer is ready so turn it on T2CON = 0x8040; //Timer on, 16 bit mode, /16 from peripheral clk When the timer times out after 99.8 usec, the interrupt service routine (Timer2Handler) is called, which set various flags as shown in the following code. The TickFlag is set to indicate to the while(1) loop in main() that it is time to sample the ADC, the HalfSecondFlag is used to toggle an LED for indication that the system is operating. Once per second the UpdateRTC() routine is called to update the real time clock. The real time clock is set once per hour based on an external time server. // // Interrupt Service Routines // void ISR(_TIMER_2_VECTOR,ipl2) Timer2Handler(void) { //Update the second counter with the 50 msec timer ticks Sec_counter++; TickFlag = TRUE; if(sec_counter == 5010) HalfSecondFlag = TRUE; if(sec_counter == 10020) { Sec_counter = 0; HalfSecondFlag = TRUE; UpdateRTC(); } } // Reset interrupt flag IFS0CLR = _IFS0_T2IF_MASK;

7 Within the main() function a while(1) loop continuously looks for the TickFlag to go true. When a TRUE flag is detected a measurement is taken on a specific measurement channel and after 167 samples have been collected (167 samples equals 1 cycle of the 60 Hz AC waveform) the RMS value is calculated using the following equation. Irms 1 N x 166 i 0 I( i) 2 The measurement process starts with measurement channel 0 (as defined by the ChannelIndex variable) by making a call to the ReadCurrent() function at the beginning of a second (as defined by the SecondFlag) and proceeds through all 32 channels. A code snippet from main() that implements this functionality is shown below. // // Main application entry point. // void main(void) {... while(1) { //The TickFlag is set every time the 99.8 usec interrupt from timer2 fires if(tickflag == TRUE) { //The ChannelIndex variable is set to 0 at the top of each second if(channelindex < 32) { //Sample the given channel current measurements for one cycle of the //60 Hz cycle (167 * 99.8 usec is one cycle) ChannelCurrentData[ChannelDataIndex++] = ReadCurrent(ChannelIndex); if(channeldataindex >= 167) { //We have a full cycle of data in memory so calculate the RMS value //Tests show this calculation takes about 330 usec ChannelSquareSum = 0; //First calculate the sum of the square for(i=0;i<167;i++) ChannelSquareSum += pow(channelcurrentdata[i],2); //Now calculate the RMS current ChannelRMSCurrent[ChannelIndex] = sqrt(channelsquaresum/167); } } ChannelIndex++; ChannelDataIndex = 0; } TickFlag = FALSE; //Advance to the next channel //Do the one second tasks if((secondflag == TRUE)) { //Since it is the top of the second we start a data collection ChannelIndex = 0; ChannelDataIndex = 0; SecondFlag = FALSE;... } //if((secondflag == TRUE))

8 EMS Interface Board Schematic

9

10

11

12

13

14 EMS Max32 Board Schematic

15

16

17

18

19 EMS Interconnect

20

ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair. Overview

ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair. Overview ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair Overview For this assignment, you will be controlling the light emitted from and received by an LED/phototransistor pair. There are many

More information

Using Z8 Encore! XP MCU for RMS Calculation

Using Z8 Encore! XP MCU for RMS Calculation Application te Using Z8 Encore! XP MCU for RMS Calculation Abstract This application note discusses an algorithm for computing the Root Mean Square (RMS) value of a sinusoidal AC input signal using the

More information

Microcontroller: Timers, ADC

Microcontroller: Timers, ADC Microcontroller: Timers, ADC Amarjeet Singh February 1, 2013 Logistics Please share the JTAG and USB cables for your assignment Lecture tomorrow by Nipun 2 Revision from last class When servicing an interrupt,

More information

VORAGO Timer (TIM) subsystem application note

VORAGO Timer (TIM) subsystem application note AN1202 VORAGO Timer (TIM) subsystem application note Feb 24, 2017, Version 1.2 VA10800/VA10820 Abstract This application note reviews the Timer (TIM) subsystem on the VA108xx family of MCUs and provides

More information

ELCT 912: Advanced Embedded Systems

ELCT 912: Advanced Embedded Systems ELCT 912: Advanced Embedded Systems Lecture 5: PIC Peripherals on Chip Dr. Mohamed Abd El Ghany, Department of Electronics and Electrical Engineering The PIC Family: Peripherals Different PICs have different

More information

PIC Analog Voltage to PWM Duty Cycle

PIC Analog Voltage to PWM Duty Cycle Name Lab Section PIC Analog Voltage to PWM Duty Cycle Lab 5 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage

More information

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 PIC Functionality General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 General I/O Logic Output light LEDs Trigger solenoids Transfer data Logic Input Monitor

More information

Using a PIC for Analog to Digital Conversion

Using a PIC for Analog to Digital Conversion Using a PIC for Analog to Digital Conversion Luke LaPointe November 12, 2009 Executive Summary: Analog to Digital Conversion or ADC is mandatory when dealing with analog signals that must be stored and

More information

Lab 5 Timer Module PWM ReadMeFirst

Lab 5 Timer Module PWM ReadMeFirst Lab 5 Timer Module PWM ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) Interrupt Vector Table 3) Pin out Summary 4) DriverLib API 5) SineTable Overview In this lab, we are going to use the output hardware

More information

NuMicro N76E003 Brushless DC Motor Control User Manual

NuMicro N76E003 Brushless DC Motor Control User Manual NuMicro Brushless DC Motor Control User Manual The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission

More information

Timer A. Last updated 8/7/18

Timer A. Last updated 8/7/18 Last updated 8/7/18 Advanced Timer Functions Output Compare Sets a flag and/or creates an interrupt when the counter value matches a value programmed into a separate register Input Capture Captures the

More information

Brian Hanna Meteor IP 2007 Microcontroller

Brian Hanna Meteor IP 2007 Microcontroller MSP430 Overview: The purpose of the microcontroller is to execute a series of commands in a loop while waiting for commands from ground control to do otherwise. While it has not received a command it populates

More information

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd. PR10 Controlling DC Brush Motor using MD10B or MD30B Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended

More information

AC Current click PID: MIKROE Weight: 27 g

AC Current click PID: MIKROE Weight: 27 g AC Current click PID: MIKROE-2523 Weight: 27 g AC Current click can measure alternating currents up to 30A and it features the MCP3201 ADC (analog to digital) converter and the MCP607 CMOS Op Amp, both

More information

P a g e 1. Introduction

P a g e 1. Introduction P a g e 1 Introduction 1. Signals in digital form are more convenient than analog form for processing and control operation. 2. Real world signals originated from temperature, pressure, flow rate, force

More information

TKT-3500 Microcontroller systems

TKT-3500 Microcontroller systems TKT-3500 Microcontroller systems Lec 4 Timers and other peripherals, pulse-width modulation Ville Kaseva Department of Computer Systems Tampere University of Technology Fall 2010 Sources Original slides

More information

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs. Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs. 1 The purpose of this course is to provide an introduction to the RL78 timer Architecture.

More information

PIC ADC to PWM and Mosfet Low-Side Driver

PIC ADC to PWM and Mosfet Low-Side Driver Name Lab Section PIC ADC to PWM and Mosfet Low-Side Driver Lab 6 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage

More information

Practical Exercise. STM32F4 Discovery. Alessandro Palla

Practical Exercise. STM32F4 Discovery. Alessandro Palla Practical Exercise STM32F4 Discovery Alessandro Palla alessandro.palla@for.unipi.it Outline STM32F4 Discovery Application: USB Mouse with accelerometer Hardware Configuration o o o o o Requirements Peripherals

More information

Web-Enabled Speaker and Equalizer Final Project Report December 9, 2016 E155 Josh Lam and Tommy Berrueta

Web-Enabled Speaker and Equalizer Final Project Report December 9, 2016 E155 Josh Lam and Tommy Berrueta Web-Enabled Speaker and Equalizer Final Project Report December 9, 2016 E155 Josh Lam and Tommy Berrueta Abstract IoT devices are often hailed as the future of technology, where everything is connected.

More information

SUNSTAR 传感与控制 TEL: FAX: Humidity and temperature measurement system using a

SUNSTAR 传感与控制   TEL: FAX: Humidity and temperature measurement system using a Humidity and temperature measurement system using a low-cost Universal Transducer Interface Introduction The use of an Universal Transducer Interface (UTI) greatly simplifies electronic measurement of

More information

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER 65 CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER 4.1 INTRODUCTION Many control strategies are available for the control of IMs. The Direct Torque Control (DTC) is one of the most

More information

Section 35. Output Compare with Dedicated Timer

Section 35. Output Compare with Dedicated Timer Section 35. Output Compare with Dedicated Timer HIGHLIGHTS This section of the manual comprises the following major topics: 35.1 Introduction... 35-2 35.2 Output Compare Registers... 35-3 35.3 Modes of

More information

ATmega16A Microcontroller

ATmega16A Microcontroller ATmega16A Microcontroller Timers 1 Timers Timer 0,1,2 8 bits or 16 bits Clock sources: Internal clock, Internal clock with prescaler, External clock (timer 2), Special input pin 2 Features The choice of

More information

802.11g Wireless Sensor Network Modules

802.11g Wireless Sensor Network Modules RFMProducts are now Murata Products Small Size, Integral Antenna, Light Weight, Low Cost 7.5 µa Sleep Current Supports Battery Operation Timer and Event Triggered Auto-reporting Capability Analog, Digital,

More information

17082 AMP Creating Class D Amplifiers with PIC MCUs and Analog

17082 AMP Creating Class D Amplifiers with PIC MCUs and Analog 17082 AMP Creating Class D Amplifiers with PIC MCUs and Analog 2013 Microchip Technology Incorporated. All Rights Reserved. 17082 AMP Slide 1 Agenda Audio Amplifier Specs. Class A/B/AB/D overview Op Amp

More information

Design Implementation Description for the Digital Frequency Oscillator

Design Implementation Description for the Digital Frequency Oscillator Appendix A Design Implementation Description for the Frequency Oscillator A.1 Input Front End The input data front end accepts either analog single ended or differential inputs (figure A-1). The input

More information

Designing with a Microcontroller (v6)

Designing with a Microcontroller (v6) Designing with a Microcontroller (v6) Safety: In this lab, voltages are less than 15 volts and this is not normally dangerous to humans. However, you should assemble or modify a circuit when power is disconnected

More information

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which behaves like ADC with external analog part and configurable

More information

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name MPSD A/D Lab Exercise Analog-to-Digital Converter Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in a

More information

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes Purpose The intent of this course is to provide you with information about the main features of the S08 Timer/PWM (TPM) interface module and how to configure and use it in common applications. Objectives

More information

MAXREFDES73#: WEARABLE, GALVANIC SKIN RESPONSE SYSTEM

MAXREFDES73#: WEARABLE, GALVANIC SKIN RESPONSE SYSTEM MAXREFDES73#: WEARABLE, GALVANIC SKIN RESPONSE SYSTEM MAXREFDES39# System Board Introduction GSR measurement detects human skin impedance under different situations. A variety of events affect the skin

More information

Characterization of a PLL circuit used on a 65 nm analog Neuromorphic Hardware System

Characterization of a PLL circuit used on a 65 nm analog Neuromorphic Hardware System Internship-Report Characterization of a PLL circuit used on a 65 nm analog Neuromorphic Hardware System Aron Leibfried May 14, 2018 Contents 1 Introduction 2 2 Phase Locked Loop (PLL) 3 2.1 General Information..............................

More information

PWMLib PWM Library. Jim Schimpf. Document Number: PAN Revision Number: April Pandora Products. 215 Uschak Road Derry, PA 15627

PWMLib PWM Library. Jim Schimpf. Document Number: PAN Revision Number: April Pandora Products. 215 Uschak Road Derry, PA 15627 PWMLib Jim Schimpf Document Number: Revision Number: 0.8 Pandora Products. 215 Uschak Road Derry, PA 15627 Creative Commons Attribution 4.0 International License 2015 Pandora Products. All other product

More information

Digital Acquisition of Analog Signals A Practical Guide

Digital Acquisition of Analog Signals A Practical Guide Digital Acquisition of Analog Signals A Practical Guide Nathan M. Neihart Senior Design Presentation Motivation A common task for many senior design projects is to interface an analog signal with a digital

More information

Solar Mailbox project. Pictures of the Solar Mailbox

Solar Mailbox project. Pictures of the Solar Mailbox Solar Mailbox project The purpose of this project is to develop a self sufficient Mailbox (real one) that will be powered only by the sun and that will display the number of the house, but only in accordance

More information

Design and Development of Smart. Harmonic Analyzer

Design and Development of Smart. Harmonic Analyzer Chapter - 4 Design and Development of Smart Harmonic Analyzer 4.1 Introduction: There is steady evolution in the field of generation, distribution, and use of electricity since many years. New methods

More information

Generating DTMF Tones Using Z8 Encore! MCU

Generating DTMF Tones Using Z8 Encore! MCU Application Note Generating DTMF Tones Using Z8 Encore! MCU AN024802-0608 Abstract This Application Note describes how Zilog s Z8 Encore! MCU is used as a Dual-Tone Multi- (DTMF) signal encoder to generate

More information

Physics 335 Lab 7 - Microcontroller PWM Waveform Generation

Physics 335 Lab 7 - Microcontroller PWM Waveform Generation Physics 335 Lab 7 - Microcontroller PWM Waveform Generation In the previous lab you learned how to setup the PWM module and create a pulse-width modulated digital signal with a specific period and duty

More information

LINEAR IC APPLICATIONS

LINEAR IC APPLICATIONS 1 B.Tech III Year I Semester (R09) Regular & Supplementary Examinations December/January 2013/14 1 (a) Why is R e in an emitter-coupled differential amplifier replaced by a constant current source? (b)

More information

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its main features and the application benefits of leveraging

More information

Real Time Operating Systems Lecture 29.1

Real Time Operating Systems Lecture 29.1 Real Time Operating Systems Lecture 29.1 EE345M Final Exam study guide (Spring 2014): Final is both a closed and open book exam. During the closed book part you can have a pencil, pen and eraser. During

More information

Exercise 3: Sound volume robot

Exercise 3: Sound volume robot ETH Course 40-048-00L: Electronics for Physicists II (Digital) 1: Setup uc tools, introduction : Solder SMD Arduino Nano board 3: Build application around ATmega38P 4: Design your own PCB schematic 5:

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-395 Technical notes on using Analog Devices products, processors and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors

More information

Microprocessor & Interfacing Lecture Programmable Interval Timer

Microprocessor & Interfacing Lecture Programmable Interval Timer Microprocessor & Interfacing Lecture 30 8254 Programmable Interval Timer P A R U L B A N S A L A S S T P R O F E S S O R E C S D E P A R T M E N T D R O N A C H A R Y A C O L L E G E O F E N G I N E E

More information

Analog Digital Converter

Analog Digital Converter Analog Digital Converter - Overview Analog Digital Conversion - Operation Modes: Single Mode vs. Scan mode - Registers for Data, Control, Status - Using the ADC in Software - Handling of Interrupts Karl-Ragmar

More information

Atmel ATmega328P Timing Subsystems. Reading

Atmel ATmega328P Timing Subsystems. Reading 1 P a g e Atmel ATmega328P Timing Subsystems Reading The AVR Microcontroller and Embedded Systems using Assembly and C) by Muhammad Ali Mazidi, Sarmad Naimi, and Sepehr Naimi Chapter 9: Programming Timers

More information

DIGITAL UTILITY SUB- SYSTEMS

DIGITAL UTILITY SUB- SYSTEMS DIGITAL UTILITY SUB- SYSTEMS INTRODUCTION... 138 bandpass filters... 138 digital delay... 139 digital divide-by-1, 2, 4, or 8... 140 digital divide-by-2, 3, 4... 140 digital divide-by-4... 141 digital

More information

IST TSic Temperature Sensor IC. Technical Notes ZACwire Digital Output

IST TSic Temperature Sensor IC. Technical Notes ZACwire Digital Output IST TSic Temperature Sensor IC Technical Notes ZACwire Digital Output CONTENTS 1 ZACWIRE COMMUNICATION PROTOCOL FOR THE TSIC...2 1.1 TEMPERATURE TRANSMISSION PACKET FROM A TSIC TM...2 1.2 BIT ENCODING...3

More information

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li EEL 4744C: Microprocessor Applications Lecture 8 Timer Reading Assignment Software and Hardware Engineering (new version): Chapter 14 SHE (old version): Chapter 10 HC12 Data Sheet: Chapters 12, 13, 11,

More information

EE 314 Spring 2003 Microprocessor Systems

EE 314 Spring 2003 Microprocessor Systems EE 314 Spring 2003 Microprocessor Systems Laboratory Project #9 Closed Loop Control Overview and Introduction This project will bring together several pieces of software and draw on knowledge gained in

More information

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications Reading Assignment EEL 4744C: Microprocessor Applications Lecture 8 Timer Software and Hardware Engineering (new version): Chapter 4 SHE (old version): Chapter 0 HC Data Sheet: Chapters,,, 0 Introduction

More information

Homework 9: Software Design Considerations

Homework 9: Software Design Considerations Homework 9: Software Design Considerations Team Code Name: Treasure Chess Group No. 2 Team Member Completing This Homework: Parul Schroff E-mail Address of Team Member: pschroff @ purdue.edu Evaluation:

More information

Instrument Cluster Display. Grant Scott III Erin Lawler Mike Carlson

Instrument Cluster Display. Grant Scott III Erin Lawler Mike Carlson Instrument Cluster Display Grant Scott III Erin Lawler Mike Carlson ECE 570 December 4 th, 2014 Presentation Outline Introduction and Motivation Features Temperature Sensing LCD Display Fahrenheit/Celsius

More information

dspic30f Quadrature Encoder Interface Module

dspic30f Quadrature Encoder Interface Module DS Digital Signal Controller dspic30f Quadrature Encoder Interface Module 2005 Microchip Technology Incorporated. All Rights Reserved. dspic30f Quadrature Encoder Interface Module 1 Welcome to the dspic30f

More information

O 2 SENSORS Zirconium Dioxide (ZrO 2 ) Software & Hardware Design Guide

O 2 SENSORS Zirconium Dioxide (ZrO 2 ) Software & Hardware Design Guide O 2 SENSORS Zirconium Dioxide (ZrO 2 ) Software & Hardware Design Guide This document describes the recommended software and hardware requirements to control and analyse data from SST Sensing s range of

More information

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some application examples. 1 The two comparators inside STM32 microcontroller

More information

Federal Urdu University of Arts, Science & Technology Islamabad Pakistan THIRD SEMESTER ELECTRONICS - II BASIC ELECTRICAL & ELECTRONICS LAB

Federal Urdu University of Arts, Science & Technology Islamabad Pakistan THIRD SEMESTER ELECTRONICS - II BASIC ELECTRICAL & ELECTRONICS LAB THIRD SEMESTER ELECTRONICS - II BASIC ELECTRICAL & ELECTRONICS LAB DEPARTMENT OF ELECTRICAL ENGINEERING Prepared By: Checked By: Approved By: Engr. Saqib Riaz Engr. M.Nasim Khan Dr.Noman Jafri Lecturer

More information

Utilizing the Trigger Routing Unit for System Level Synchronization

Utilizing the Trigger Routing Unit for System Level Synchronization Engineer-to-Engineer Note EE-360 Technical notes on using Analog Devices DSPs, processors and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors

More information

Using Infrared Array Devices in Smart Home Observation and Diagnostics

Using Infrared Array Devices in Smart Home Observation and Diagnostics Using Infrared Array Devices in Smart Home Observation and Diagnostics Galidiya Petrova 1, Grisha Spasov 2, Vasil Tsvetkov 3, 1 Department of Electronics at Technical University Sofia, Plovdiv branch,

More information

MCT U.I. Driver Reference Manual Motor Control Technologies; LLC

MCT U.I. Driver Reference Manual Motor Control Technologies; LLC MCT U.I. Driver Reference Manual Motor Control Technologies; LLC www.mocontech.com 1. The MCTUI Driver...2 2. MCT Hardware Methods...2 2.1.1. BuildDataPacket()...2 3. Third Party Hardware Methods...5 3.1.

More information

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ υιοπασδφγηϕκλζξχϖβνµθωερτψυιοπασδ φγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκλζ ξχϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµ EE 331 Design Project Final Report θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ

More information

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5.

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5. RFM Products are now Murata products. Small Size, Light Weight, Low Cost 7.5 µa Sleep Current Supports Battery Operation Timer and Event Triggered Auto-reporting Capability Analog, Digital, Serial and

More information

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24

Gentec-EO USA. T-RAD-USB Users Manual. T-Rad-USB Operating Instructions /15/2010 Page 1 of 24 Gentec-EO USA T-RAD-USB Users Manual Gentec-EO USA 5825 Jean Road Center Lake Oswego, Oregon, 97035 503-697-1870 voice 503-697-0633 fax 121-201795 11/15/2010 Page 1 of 24 System Overview Welcome to the

More information

Oct 30 Announcements. Bonus marked will be posted today Will provide 270 style feedback on multiple-choice questions. [3.E]-1

Oct 30 Announcements. Bonus marked will be posted today Will provide 270 style feedback on multiple-choice questions. [3.E]-1 Oct 30 Announcements Code Marked and on Blackboard This week: Mon 2:30 to 3:00pm, Tues 2:30 to 3:30 and W-F 1:30 to 3:00pm opportunity to talk about code: earn 2 extra points on the coding part Bonus marked

More information

Dual FOC Servo Motor Control on i.mx RT

Dual FOC Servo Motor Control on i.mx RT NXP Semiconductors Document Number: AN12200 Application Note Rev. 0, 06/2018 Dual FOC Servo Motor Control on i.mx RT 1. Introduction This application note describes the dual servo demo with the NXP i.mx

More information

Three-Stage Coil Gun

Three-Stage Coil Gun Three-Stage Coil Gun Final Project Report December 8, 2006 E155 Dan Pivonka and Michael Pugh Abstract: A coil gun is an electronic gun that fires a projectile by means of the magnetic field generated when

More information

Application - Power Factor Correction (PFC) with XMC TM. XMC microcontrollers July 2016

Application - Power Factor Correction (PFC) with XMC TM. XMC microcontrollers July 2016 Application - Power Factor Correction (PFC) with XMC TM XMC microcontrollers July 2016 Agenda 1 Key features 2 Specification 3 System block diagram 4 Software overview 5 Highlight MCU features 6 CCM PFC

More information

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources October 11, 2002 Stanford University - EE281 Lecture #4 #1 Announcements Project Proposal Lecture #4 Outline AVR Processor Resources A/D Converter (Analog to Digital) Analog Comparator Real-Time clock

More information

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter AVR400: Low Cost A/D Converter Features Interrupt Driven : 23 Words Low Use of External Components Resolution: 6 Bits Measurement Range: 0-2 V Runs on Any AVR Device with 8-bit Timer/Counter and Analog

More information

Application Note. The Direct Digital Synthesis Generator

Application Note. The Direct Digital Synthesis Generator Application Note AN2109 The Direct Digital Synthesis Generator By: Victor Kremin Associated Project: Yes Associated Part Family: CY8C25xxx, CY8C26xxx Summary The low-frequency programmable signal generator

More information

The PicoPak Clock Measurement Module

The PicoPak Clock Measurement Module Keywords The PicoPak Clock Measurement Module W.J. Riley Hamilton Technical Services Beaufort, SC 29907 USA bill@wriley.com Precise phase measurements, clock measurement module, frequency stability, direct

More information

MicroToys Guide: Motors A. Danowitz, A. Adibi December A rotary shaft encoder is an electromechanical device that can be used to

MicroToys Guide: Motors A. Danowitz, A. Adibi December A rotary shaft encoder is an electromechanical device that can be used to Introduction A rotary shaft encoder is an electromechanical device that can be used to determine angular position of a shaft. Encoders have numerous applications, since angular position can be used to

More information

css Custom Silicon Solutions, Inc.

css Custom Silicon Solutions, Inc. css Custom Silicon Solutions, Inc. GENERAL PART DESCRIPTION The is a micropower version of the popular timer IC. It features an operating current under µa and a minimum supply voltage of., making it ideal

More information

AC Induction Motor (ACIM) Control using a Digital Signal Controller (DSC)

AC Induction Motor (ACIM) Control using a Digital Signal Controller (DSC) Research Journal of Applied Sciences, Engineering and Technology 4(19): 3740-3745, 2012 ISSN: 2040-7467 Maxwell Scientific Organization, 2012 Submitted: March 07, 2012 Accepted: March 30, 2012 Published:

More information

Outlines. Examples. Hardware Interface. What s Embedded Systems? Krerk Piromsopa, Ph.D. Department of Computer Engineering Chulalongkorn University

Outlines. Examples. Hardware Interface. What s Embedded Systems? Krerk Piromsopa, Ph.D. Department of Computer Engineering Chulalongkorn University Outlines Hardware Interface Introduction to Embedded / Real Time Systems Polling, Interrupt Devices and Interfaces LED Krerk Piromsopa, Ph.D. Department of Computer Engineering Chulalongkorn University

More information

GCE A level 1145/01 ELECTRONICS ET5. P.M. THURSDAY, 31 May hours. Centre Number. Candidate Number. Surname. Other Names

GCE A level 1145/01 ELECTRONICS ET5. P.M. THURSDAY, 31 May hours. Centre Number. Candidate Number. Surname. Other Names Surname Other Names Centre Number 0 Candidate Number GCE A level 1145/01 ELECTRONICS ET5 P.M. THURSDAY, 31 May 2012 1 1 2 hours For s use Question Maximum Mark Mark Awarded 1. 6 2. 9 3. 8 4. 6 1145 010001

More information

Lynx. RoIP Gateway DISPATCH LYNX MOBILE. Optional serial ports provide remote control of radio configuration over the VoIP network.

Lynx. RoIP Gateway DISPATCH LYNX MOBILE. Optional serial ports provide remote control of radio configuration over the VoIP network. LYNX MOBILE Lynx DISPATCH RoIP TM SYSTEM Gateway LYNX TM ROIP GATEWAY OVERVIEW The Lynx system provides Radio over IP (RoIP) communications interoperability between radio base stations and VoIP networked

More information

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION M i c r o p r o c e s s o r s a n d M i c r o c o n t r o l l e r s P a g e 1 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION Microcomputer system design requires

More information

High-Torque/High-Power Bipolar Stepper Motor Driver Using 8-bit PIC Microcontroller. Over Temperature Detection COG1 COG1C COG2

High-Torque/High-Power Bipolar Stepper Motor Driver Using 8-bit PIC Microcontroller. Over Temperature Detection COG1 COG1C COG2 High-Torque/High-Power Bipolar Stepper Motor Driver Using 8-bit PIC Microcontroller Author: INTRODUCTION Mike Gomez Microchip Technology Inc. This application note describes a driver solution for a high-torque

More information

ADC Board 4 Channel Notes September 29, DRAFT - May not be correct

ADC Board 4 Channel Notes September 29, DRAFT - May not be correct ADC Board 4 Channel Notes September 29, 2006 - DRAFT - May not be correct Board Features 4 Chan - 130MSPS 16 bit ADCs LTC2208 - Data clocked into 64k Sample FIFOs 1 buffered clock input to CPLD 1 buffered

More information

M0518. M0518 Board Supporting Package Directory Introduction. Rev M of 11 Rev Nuvoton Technology Corp.

M0518. M0518 Board Supporting Package Directory Introduction. Rev M of 11 Rev Nuvoton Technology Corp. Board Supporting Package Directory Introduction Rev.3.00.002 1 of 11 Rev.3.00.002 Directory Information Document Library SampleCode Driver reference manual and revision history. Driver header and source

More information

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers Freescale Semiconductor Application Note Document Number: AN4836 Rev. 1, 07/2014 Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers by Freescale

More information

Real Time Implementation of Power Electronics System

Real Time Implementation of Power Electronics System Real Time Implementation of Power Electronics System Prof.Darshan S.Patel M.Tech (Power Electronics & Drives) Assistant Professor,Department of Electrical Engineering Sankalchand Patel College of Engineerig-Visnagar

More information

AN3252 Application note

AN3252 Application note Application note Building a wave generator using STM8L-DISCOVERY Application overview This application note provides a short description of how to use the STM8L-DISCOVERY as a basic wave generator for

More information

Timer A (0 and 1) and PWM EE3376

Timer A (0 and 1) and PWM EE3376 Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model l l l l Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in

More information

CS/ECE/EEE/INSTR F241 MICROPROCESSOR PROGRAMMING & INTERFACING MODULE 8: I/O INTERFACING QUESTIONS ANUPAMA KR BITS, PILANI KK BIRLA GOA CAMPUS

CS/ECE/EEE/INSTR F241 MICROPROCESSOR PROGRAMMING & INTERFACING MODULE 8: I/O INTERFACING QUESTIONS ANUPAMA KR BITS, PILANI KK BIRLA GOA CAMPUS CS/ECE/EEE/INSTR F241 MICROPROCESSOR PROGRAMMING & INTERFACING MODULE 8: I/O INTERFACING QUESTIONS ANUPAMA KR BITS, PILANI KK BIRLA GOA CAMPUS Q1. Distinguish between vectored and non-vectored interrupts

More information

Addendum SmartPAC Third Party Communications Firmware

Addendum SmartPAC Third Party Communications Firmware Addendum SmartPAC Third Party Communications Firmware The SmartPAC Third Party Communications Firmware option enables SmartPAC 2 and the original SmartPAC to transmit real-time and status information to

More information

2. Circuit diagram The overall functional diagram is:

2. Circuit diagram The overall functional diagram is: An LC meter in C By Juan H la Grange, ZS6SZ 1. Introduction This article and project is based on Digital LC Meter Version 2 by Phil Rice VK3BHR [https://sites.google.com/site/vk3bhr/home/index2-html] and

More information

Module 13: Interfacing ADC. Introduction ADC Programming DAC Programming Sensor Interfacing

Module 13: Interfacing ADC. Introduction ADC Programming DAC Programming Sensor Interfacing Module 13: Interfacing ADC Introduction ADC Programming DAC Programming Sensor Interfacing Introduction ADC Devices o Analog-to-digital converters (ADC) are among the most widely used devices for data

More information

PWM research and implementation on MCS-51

PWM research and implementation on MCS-51 PWM research and implementation on MCS-51 PWM approach provides an efficient way for gaining output control, as well as another approach named PFM is the other popular way. The principle of PWM is very

More information

Calhoon MEBA Engineering School. Study Guide for Proficiency Testing Industrial Electronics

Calhoon MEBA Engineering School. Study Guide for Proficiency Testing Industrial Electronics Calhoon MEBA Engineering School Study Guide for Proficiency Testing Industrial Electronics January 0. Which factors affect the end-to-end resistance of a metallic conductor?. A waveform shows three complete

More information

Activity 4: Due before the lab during the week of Feb

Activity 4: Due before the lab during the week of Feb Today's Plan Announcements: Lecture Test 2 programming in C Activity 4 Serial interfaces Analog output Driving external loads Motors: dc motors, stepper motors, servos Lecture Test Activity 4: Due before

More information

Figure 1: One Possible Advanced Control System

Figure 1: One Possible Advanced Control System Control and Navigation 3 Cornerstone Electronics Technology and Robotics III (Notes primarily from Underwater Robotics Science Design and Fabrication, an excellent book for the design, fabrication, and

More information

AWG-GS bit 2.5GS/s Arbitrary Waveform Generator

AWG-GS bit 2.5GS/s Arbitrary Waveform Generator KEY FEATURES 2.5 GS/s Real Time Sample Rate 14-bit resolution 2 Channels Long Memory: 64 MS/Channel Direct DAC Out - DC Coupled: 1.6 Vpp Differential / 0.8 Vpp > 1GHz Bandwidth RF Amp Out AC coupled -10

More information

Timing System. Timing & PWM System. Timing System components. Usage of Timing System

Timing System. Timing & PWM System. Timing System components. Usage of Timing System Timing & PWM System Timing System Valvano s chapter 6 TIM Block User Guide, Chapter 15 PWM Block User Guide, Chapter 12 1 2 Timing System components Usage of Timing System 3 Counting mechanisms Input time

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY Type of course: Engineering (Elective) GUJARAT TECHNOLOGICAL UNIVERSITY ELECTRICAL ENGINEERING (09) ADVANCE MICROCONTROLLERS SUBJECT CODE: 260909 B.E. 6 th SEMESTER Prerequisite: Analog and Digital Electronics,

More information

M051 Series BSP Directory

M051 Series BSP Directory M051 Series BSP Directory Directory Introduction for 32-bit NuMicro Family Directory Information Document Library SampleCode Driver reference manual and revision history. Driver header and source files.

More information

AN4014 Application Note Adjustable LED blinking frequency using a potentiometer and STM8SVLDISCOVERY Application overview

AN4014 Application Note Adjustable LED blinking frequency using a potentiometer and STM8SVLDISCOVERY Application overview Application Note Adjustable LED blinking frequency using a potentiometer and STM8SVLDISCOVERY Application overview Note: This document introduces a very simple application example which is ideal for beginners

More information