Laboratory: Introduction to Mechatronics. Lab 5. DC Motor Speed Control Using PWM
|
|
- Erin Perkins
- 5 years ago
- Views:
Transcription
1 Laboratory: Introduction to Mechatronics Instructor TA: Edgar Martinez Soberanes Lab 5. DC Motor Speed Control Using PWM
2 Lab Sessions Lab 1. Introduction to the equipment and tools to be used in the lab, which include the development board (PICDEM 2 Plus),the microcontroller (PIC 16F1937), and the USB Oscilloscope (Analog Discovery). Lab 2. Experiment 2: Transistor Operation, Experiment 3: Passive filters, and an Op-Amp circuit experiment. Lab 3. Experiment 7: LED Control and Interruptions. Lab 4. Experiment 10: Stepper Motor Motion Control. Lab 5. Experiment 11: DC Motor Speed Control Using PWM. Lab 6. Experiment 12: Closed Loop DC Motor Position Control. 2
3 Lab 1. Outline Objective. Lecture o o Pulse Width Modulation (PWM). H-Bridge Circuit Time for the experiments. 3
4 Objective Objectives o To control the speed of a DC motor using a PWM signal from the PIC microcontroller in conjunction with an H-bridge amplifier circuit 4
5 Pulse Width Modulation (PWM) PWM signals are ON OFF signals (Pulses) whose HIGH or ON duration is changed (Width Modulation) in accordance with our requirements. o PWM is one of the simple and most commonly used techniques to produce analog voltages from digital signals. o Applications: Digital to Analog Converter (DAC), DC Motor Speed Control, Sine Wave Inverters, Brightness control etc. 5
6 This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off. 6
7 The PWM frequency is generally constant in the khz range. It has to be high enough to be seen by the powered system as a continuous signal. Duty Cycle is the percentage time that the signal is in the ON state versus the OFF state. DDDDDDDD CCCCCCCCCC % = PPPPPPPPPP WWWWWWWWW PPPPPPPPPPPP 100 7
8 PWM in the PIC microcontroller PWM signal can be easily generated using CCP modules available in the PIC microcontroller. CCP stands for Capture / Compare / PWM, which means that it can be used for Capture or Compare or PWM operations. The PWM standard mode makes use of one of the 8-bit timers (Timer2/4/6) to specify the PWM period. The period, duty cycle, and resolution are controlled by the following registers: o PRx registers o TxCON registers o CCPRxL registers o CCPxCON registers 8
9 The PWM period is specified by the PRx register of Timer2/4/6. The PWM period can be calculated using the formula: PPPPPP PPPPPPPPPPPP = (PPPPPP + 1)(4) 1 FFFFFFFF TTTTTTTT PPPPPPPPPPPPPPPP VVVVVVVVVV The PWM duty cycle is specified by writing a 10-bitvalue to two registers: CCPRxL register and DCxB<1:0> bits of the CCPxCON register. TheCCPRxL contains the eight MSbs and the DCxB<1:0>bits of the CCPxCON register contain the two LSbs. PPPPPPPPPP wwwwwwwwww = (CCCCCCCC) 1 FFFFFFFF TTTTTTTT PPPPPPPPPPPPPPPP VVVVVVVVVV 9
10 Example Suppose PR register of Timer2 has a value of 0x50 and the Internal clock is set at 4MHz. We want to determine the PWM Period and the CCPR value that would result in a Duty Cycle of 50%. PPPPPP PPPPPPPPPPPP = (PPPPPP + 1)(4) 1 FFFFFFFF TTTTTTTT PPPPPPPPPPPPPPPP VVVVVVVVVV = MMMMMM 1 = 8888 nnnn PPPPPPPPPP wwwwwwwwww = (CCCCCCCC) 1 FFFFFFFF TTTTTTTT PPPPPPPPPPPPPPPP VVVVVVVVVV CCPR = PPPPPPPPPP wwwwwwwww FFFFFFFF TTTTTTTT PPPPPPPPPPPPPPPP VVVVVVVVVV CCPR = 40.5 nnnn 4MMMMMM 1 = =
11 Summary To setup a PWM signal in the PIC: 1.Select a timer to use (Timer 2/4/6) 2.Set the PWM period by writing a value in the PRx register of the Timer chosen. 3.Define the Duty Cycle by writing the CCPR value. 11
12 H-Bridge Circuit The H-bridge circuit enables a voltage to be applied across a load in either direction. In DC motor applications this is required to be able to change direction of rotation. A H-bridge comprises four MOSFET power transistors (two PNP and two NPN) 12
13 PWM Signal 1 PWM Signal 2 13
14 14
15 Code Example 15
16 Thanks 16
For the op amp circuit above, how is the output voltage related to the input voltage? = 20 k R 2
Golden Rules for Ideal Op Amps with negative feedback: 1. The output will adjust in any way possible to make the inverting input and the noninverting input terminals equal in voltage. 2. The inputs draw
More informationLab Exercise 6: Digital/Analog conversion
Lab Exercise 6: Digital/Analog conversion Introduction In this lab exercise, you will study circuits for analog-to-digital and digital-to-analog conversion Preparation Before arriving at the lab, you should
More informationME 4447 / ME 6405 MICROPROCESSOR CONTROL OF MANUFACTURING SYSTEMS / INTRODUCTION TO MECHATRONICS
ME 4447 / ME 6405 MICROPROCESSOR CONTROL OF MANUFACTURING SYSTEMS / INTRODUCTION TO MECHATRONICS Instructor: Professor I. Charles Ume Phone: 404-894-7411 Office: MARC Building, Room 453 Office Hours: Wednesday
More informationMechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators
Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a
More informationUniversity of Pittsburgh
University of Pittsburgh Experiment #7 Lab Report Analog-Digital Applications Submission Date: 08/01/2018 Instructors: Dr. Ahmed Dallal Shangqian Gao Submitted By: Nick Haver & Alex Williams Station #2
More informationDesigning 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 informationEMBEDDED BOOST CONVERTER USING VOLTAGE FEEDBACK TECHNIQUE
IMPACT: International Journal of Research in Engineering & Technology (IMPACT: IJRET) ISSN(E): 2321-8843; ISSN(P): 2347-4599 Vol. 2, Issue 2, Feb 2014, 207-212 Impact Journals EMBEDDED BOOST CONVERTER
More informationDirect Current Waveforms
Cornerstone Electronics Technology and Robotics I Week 20 DC and AC Administration: o Prayer o Turn in quiz Direct Current (dc): o Direct current moves in only one direction in a circuit. o Though dc must
More informationPulse Width Modulation
ECEn 621" Computer Arithmetic" Project Notes Week 1 Pulse Width Modulation 1 Pulse Width Modulation A method of regulating the amount of voltage delivered to a load. The average value of the voltage fed
More information6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS
6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS Laboratory based hardware prototype is developed for the z-source inverter based conversion set up in line with control system designed, simulated and discussed
More informationEE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS
EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS OBJECTIVES In this experiment you will Explore the use of a popular IC chip and its applications. Become more
More informationLINEAR 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 informationESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab
ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals
More informationIntro To Engineering II for ECE: Lab 7 The Op Amp Erin Webster and Dr. Jay Weitzen, c 2014 All rights reserved.
Lab 7: The Op Amp Laboratory Objectives: 1) To introduce the operational amplifier or Op Amp 2) To learn the non-inverting mode 3) To learn the inverting mode 4) To learn the differential mode Before You
More informationPWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness
PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have
More informationLaboratory Design Project: PWM DC Motor Speed Control
EE-331 Devices and Circuits I Summer 2013 Due dates: Laboratory Design Project: PWM DC Motor Speed Control Instructor: Tai-Chang Chen 1. Operation of the circuit should be verified by your lab TA by Friday,
More informationMAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor
MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To understand and gain insight about how a
More informationCHAPTER 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 informationME 461 Laboratory #5 Characterization and Control of PMDC Motors
ME 461 Laboratory #5 Characterization and Control of PMDC Motors Goals: 1. Build an op-amp circuit and use it to scale and shift an analog voltage. 2. Calibrate a tachometer and use it to determine motor
More informationExperiment 9 : Pulse Width Modulation
Name/NetID: Experiment 9 : Pulse Width Modulation Laboratory Outline In experiment 5 we learned how to control the speed of a DC motor using a variable resistor. This week, we will learn an alternative
More informationWhen you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp
Op Amp Fundamentals When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp In general, the parameters are interactive. However, in this unit, circuit input
More informationUniversity of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Analog to Digital Converter
University of Pennsylvania Department of Electrical and Systems Engineering ESE Undergraduate Laboratory Analog to Digital Converter PURPOSE The purpose of this lab is to design and build a simple Digital-to-Analog
More informationUniversity of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013
Exercise 1: PWM Modulator University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Lab 3: Power-System Components and
More informationLINEAR APPLICATIONS OF OPERATIONAL AMPLIFIERS
LINEAR APPLICATIONS OF OPERATIONAL AMPLIFIERS OBJECTIVE The purpose of the experiment is to examine the linear applications of an operational amplifier. The applications that are designed and analyzed
More informationASTABLE MULTIVIBRATOR
555 TIMER ASTABLE MULTIIBRATOR MONOSTABLE MULTIIBRATOR 555 TIMER PHYSICS (LAB MANUAL) PHYSICS (LAB MANUAL) 555 TIMER Introduction The 555 timer is an integrated circuit (chip) implementing a variety of
More informationGrundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss
Grundlagen Microcontroller Counter/Timer Günther Gridling Bettina Weiss 1 Counter/Timer Lecture Overview Counter Timer Prescaler Input Capture Output Compare PWM 2 important feature of microcontroller
More informationCalhoon 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 informationLearning Objectives:
Learning Objectives: At the end of this topic you will be able to; Analyse and design a DAC based on an op-amp summing amplifier to meet a given specification. 1 Digital and Analogue Information Module
More informationo What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches
Cornerstone Electronics Technology and Robotics II H-Bridges and Electronic Motor Control 4 Hour Class Administration: o Prayer o Debriefing Botball competition Four States of a DC Motor with Terminals
More informationECE 363 EXAM #2 (F18) 4 problems for 100 pts Problem #1: Amplifier Output Error (25 pts)
ECE 363 EXAM #2 (F18) NAME: 4 problems for 100 pts Problem #1: Amplifier Output Error (25 pts) Consider an optical communication link for an infrared remote control. A transmitter sends a train of infrared
More informationBANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY
BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY Electronics Circuits II Laboratory (EEE 208) Simulation Experiment No. 02 Study of the Characteristics and Application of Operational Amplifier (Part B)
More informationEE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab Timer: Blinking LED Lights and Pulse Generator
EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 9 555 Timer: Blinking LED Lights and Pulse Generator In many digital and analog circuits it is necessary to create a clock
More informationCHAPTER 7 MAXIMUM POWER POINT TRACKING USING HILL CLIMBING ALGORITHM
100 CHAPTER 7 MAXIMUM POWER POINT TRACKING USING HILL CLIMBING ALGORITHM 7.1 INTRODUCTION An efficient Photovoltaic system is implemented in any place with minimum modifications. The PV energy conversion
More informationLab 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 informationField Effect Transistors
Field Effect Transistors Purpose In this experiment we introduce field effect transistors (FETs). We will measure the output characteristics of a FET, and then construct a common-source amplifier stage,
More informationPulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)
Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric
More informationElectronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory
Electronics Design Laboratory Lecture #6 Electronics Design Laboratory 1 Soldering tips ECEN 227 Electronics Design Laboratory 2 Introduction to Lab 3 Part B: Closed-Loop Speed Control -1V Experiment 3A
More informationEDE1204 Bi-Polar Stepper Motor IC
EDE1204 Bi-Polar Stepper Motor IC EDE1204 Coil B Control Signal 1 Coil B Coil A 18 Coil A Control Signal Coil B Control Signal 2 Coil B Coil A 17 Coil A Control Signal Connect to +5V DC 3 +5V OSC1 16 Oscillator
More informationEE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino
EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling
More informationLab 8. Stepper Motor Controller
Lab 8. Stepper Motor Controller Overview of this Session In this laboratory, you will learn: To continue to use an oscilloscope How to use a Step Motor driver chip. Introduction This lab is focused around
More informationLab 2 Operational Amplifier
Lab 2 Operational Amplifier Last Name: First Name: Student Number: Lab Section: Monday Tuesday Wednesday Thursday Friday TA Signature: Note: The Pre-Lab section must be completed prior to the lab session.
More informationAnalog Electronic Circuits Lab-manual
2014 Analog Electronic Circuits Lab-manual Prof. Dr Tahir Izhar University of Engineering & Technology LAHORE 1/09/2014 Contents Experiment-1:...4 Learning to use the multimeter for checking and indentifying
More informationEE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 0: Course Introduction
EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 0: Course Introduction The primary goal of the one-unit EE110 course is to serve as a small window to allow the freshman
More informationPhysics 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 informationMICROCONTROLLER TUTORIAL II TIMERS
MICROCONTROLLER TUTORIAL II TIMERS WHAT IS A TIMER? We use timers every day - the simplest one can be found on your wrist A simple clock will time the seconds, minutes and hours elapsed in a given day
More informationUniversity of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory
Published on Instrumentation LAB (http://instrumentationlab.berkeley.edu) Home > Lab Assignments > Digital Labs > Digital Circuits II Digital Circuits II Submitted by Nate.Physics on Tue, 07/08/2014-13:57
More informationActivity 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 informationCarleton University. Faculty of Engineering and Design, Department of Electronics. ELEC 2507 Electronic - I Summer Term 2017
Carleton University Faculty of Engineering and Design, Department of Electronics Instructors: ELEC 2507 Electronic - I Summer Term 2017 Name Section Office Email Prof. Q. J. Zhang Section A 4148 ME qjz@doe.carleton.ca
More informationModule 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage)
Explore More! Points awarded: Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Name: Net ID: Laboratory Outline A voltage comparator considers two voltage waveforms,
More informationControl System Circuits with Opamps
Control System Circuits with Opamps 27.04.2009 Purpose To introduce opamps, transistors and their usage To apply a control system with analog circuit elements. Difference Amplifier Figure 1 Basic Difference
More informationProject Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen
Project Proposal Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen Advisor Dr. Gary Dempsey Bradley University Department of Electrical Engineering December
More informationEE 308 Lab Spring 2009
9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width
More informationTouchless Control: Hand Motion Triggered Light Timer
Touchless Control: Hand Motion Triggered Light Timer 6.101 Final Project Report Justin Graves Spring 2018 1 Introduction Often times when you enter a new room you are troubled with finding the light switch
More informationCENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I)
CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I) Student ID: 2018 Fall 1 Introduction This lab session introduces some very basic concepts
More informationElectronic Concepts and Troubleshooting 101. Experiment 1
Electronic Concepts and Troubleshooting 101 Experiment 1 o Concept: What is the capacity of a typical alkaline 1.5V D-Cell? o TS: Assume that a battery is connected to a 20Ω load and the voltage across
More informationCornerstone Electronics Technology and Robotics Week 21 Electricity & Electronics Section 10.5, Oscilloscope
Cornerstone Electronics Technology and Robotics Week 21 Electricity & Electronics Section 10.5, Oscilloscope Field trip to Deerhaven Generation Plant: Administration: o Prayer o Turn in quiz Electricity
More informationPrelab 10: Differential Amplifiers
Name: Lab Section: Prelab 10: Differential Amplifiers For this lab, assume all NPN transistors are identical 2N3904 BJTs and all PNP transistors are identical 2N3906 BJTs. Component I S (A) V A (V) 2N3904
More informationTraining 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 informationStepping motor controlling apparatus
Stepping motor controlling apparatus Ngoc Quy, Le*, and Jae Wook, Jeon** School of Information and Computer Engineering, SungKyunKwan University, 300 Chunchundong, Jangangu, Suwon, Gyeonggi 440746, Korea
More informationDev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET REV. NO. : REV.
Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET LABORATORY MANUAL EXPERIMENT NO. ISSUE NO. : ISSUE DATE: July 200 REV. NO. : REV.
More informationElectronics. RC Filter, DC Supply, and 555
Electronics RC Filter, DC Supply, and 555 0.1 Lab Ticket Each individual will write up his or her own Lab Report for this two-week experiment. You must also submit Lab Tickets individually. You are expected
More informationSchool of Engineering Mechatronics Engineering Department. Experim. ment no. 1
University of Jordan School of Engineering Mechatronics Engineering Department 2010 Mechatronics System Design Lab Experim ment no. 1 PRINCIPLES OF SWITCHING Copyrights' are held by : Eng. Ala' Bata &
More informationMD04-24Volt 20Amp H Bridge Motor Drive
MD04-24Volt 20Amp H Bridge Motor Drive Overview The MD04 is a medium power motor driver, designed to supply power beyond that of any of the low power single chip H-Bridges that exist. Main features are
More informationCHAPTER ELEVEN - Interfacing With the Analog World
CHAPTER ELEVEN - Interfacing With the Analog World 11.1 (a) Analog output = (K) x (digital input) (b) Smallest change that can occur in the analog output as a result of a change in the digital input. (c)
More informationARDUINO BASED SPWM THREE PHASE FULL BRIDGE INVERTER FOR VARIABLE SPEED DRIVE APPLICATION MUHAMAD AIMAN BIN MUHAMAD AZMI
ARDUINO BASED SPWM THREE PHASE FULL BRIDGE INVERTER FOR VARIABLE SPEED DRIVE APPLICATION MUHAMAD AIMAN BIN MUHAMAD AZMI MASTER OF ENGINEERING(ELECTRONICS) UNIVERSITI MALAYSIA PAHANG UNIVERSITI MALAYSIA
More informationUniversity of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009
University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009 Lab 1 Power Amplifier Circuits Issued August 25, 2009 Due: September 11, 2009
More informationDESIGN OF SWITCHED MODE POWER SUPPLY
DESIGN OF SWITCHED MODE POWER SUPPLY Monalisa Das 1, Dr. P.R Thakura 2 1,2 Dept.of Electrical and Electronics Engineering, BIT Mesra, India ABSTRACT This paper presents the design of SMPS. The fly back
More informationLM4: The timer unit of the MC9S12DP256B/C
Objectives - To explore the Enhanced Capture Timer unit (ECT) of the MC9S12DP256B/C - To program a real-time clock signal with a fixed period and display it using the onboard LEDs (flashing light) - To
More informationET475 Electronic Circuit Design I [Onsite]
ET475 Electronic Circuit Design I [Onsite] Course Description: This course covers the analysis and design of electronic circuits, and includes a laboratory that utilizes computer-aided software tools for
More informationME 461 Laboratory #2 Timers and Pulse-Width Modulation
ME 461 Laboratory #2 Timers and Pulse-Width Modulation Goals: 1. Understand how to use timers to control the frequency at which events occur. 2. Generate PWM signals using Timer A. 3. Explore the frequency
More informationHello, 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 informationELCT 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 informationMinnesota State College Southeast ELEC 2260: Linear Integrated Circuits
Minnesota State College Southeast ELEC 2260: Linear Integrated Circuits A. COURSE DESCRIPTION Credits: 4 Lecture Hours/Week: 2 Lab Hours/Week: 4 OJT Hours/Week: *.* Prerequisites: None Corequisites: None
More informationDC motor control using arduino
DC motor control using arduino 1) Introduction: First we need to differentiate between DC motor and DC generator and where we can use it in this experiment. What is the main different between the DC-motor,
More informationControlling 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 informationCHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL
47 CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL 4.1 INTRODUCTION Passive filters are used to minimize the harmonic components present in the stator voltage and current of the BLDC motor. Based on the design,
More informationElectronics I. laboratory measurement guide
Electronics I. laboratory measurement guide Andras Meszaros, Mark Horvath 2015.02.01. 5. Measurement Basic circuits with operational amplifiers 2015.02.01. In this measurement you will need both controllable
More information5 TIPS FOR GETTING THE MOST OUT OF Your Function Generator
5 TIPS FOR GETTING THE MOST OUT OF Your Function Generator Introduction Modern function/waveform generators are extremely versatile, going well beyond the basic sine, square, and ramp waveforms. Function
More informationECEN Network Analysis Section 3. Laboratory Manual
ECEN 3714----Network Analysis Section 3 Laboratory Manual LAB 07: Active Low Pass Filter Oklahoma State University School of Electrical and Computer Engineering. Section 3 Laboratory manual - 1 - Spring
More informationEE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE
9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION
More informationModeling, Simulation and Implementation of Speed Control of DC Motor Using PIC 16F877A
Modeling, Simulation and Implementation of Speed Control of DC Motor Using PIC 16F877A Payal P.Raval 1, Prof.C.R.mehta 2 1 PG Student, Electrical Engg. Department, Nirma University, SG Highway, Ahmedabad,
More informationDigital to Analog Converters (DAC) Adam Fleming Mark Hunkele 3/11/2005
Digital to Analog Converters (DAC) Adam Fleming Mark Hunkele 3/11/2005 Outline Purpose Types Performance Characteristics Applications 2 Purpose To convert digital values to analog voltages Performs inverse
More informationChapter 5: Signal conversion
Chapter 5: Signal conversion Learning Objectives: At the end of this topic you will be able to: explain the need for signal conversion between analogue and digital form in communications and microprocessors
More informationEE 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 informationEE 230. Electronic Circuits and Systems. Randy Geiger 2133 Coover
EE 230 Electronic Circuits and Systems Randy Geiger 2133 Coover rlgeiger@iastate.edu 294-7745 Course Description Linear Systems Frequency domain characterization of electronic circuits and systems transfer
More informationME 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 informationMassachusetts Institute of Technology MIT
Massachusetts Institute of Technology MIT Real Time Wireless Electrocardiogram (ECG) Monitoring System Introductory Analog Electronics Laboratory Guilherme K. Kolotelo, Rogers G. Reichert Cambridge, MA
More informationDIGITAL ELECTRONICS ANALOG ELECTRONICS
DIGITAL ELECTRONICS 1. N10 4 Bit Binary Universal shift register. 2. N22- Random Access Memory (16*4). 3. N23- Read Only Memory. 4. N4-R-S/D-T Flip flop, characteristic and comparison. 5. Master Slave
More informationPreLab 6 PWM Design for H-bridge Driver (due Oct 23)
GOAL PreLab 6 PWM Design for H-bridge Driver (due Oct 23) The overall goal of Lab6 is to demonstrate a DC motor controller that can adjust speed and direction. You will design the PWM waveform and digital
More informationEE 230 Lab Lab 9. Prior to Lab
MOS transistor characteristics This week we look at some MOS transistor characteristics and circuits. Most of the measurements will be done with our usual lab equipment, but we will also use the parameter
More informationMicro Controller Based Ac Power Controller
Wireless Sensor Network, 9, 2, 61-121 doi:1.4236/wsn.9.112 Published Online July 9 (http://www.scirp.org/journal/wsn/). Micro Controller Based Ac Power Controller S. A. HARI PRASAD 1, B. S. KARIYAPPA 1,
More informationPIC 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 informationP 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 informationPulse-Width Modulation (PWM)
Pulse-Width Modulation (PWM) Modules: Integrate & Dump, Digital Utilities, Wideband True RMS Meter, Tuneable LPF, Audio Oscillator, Multiplier, Utilities, Noise Generator, Speech, Headphones. 0 Pre-Laboratory
More informationCOSC 3215 Embedded Systems Laboratory
Introduction COSC 3215 Embedded Systems Laboratory Lab 5 Temperature Controller Your task will be to design a temperature controller using the Dragon12 board that will maintain the temperature of an object
More informationTimer 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 informationMD03-50Volt 20Amp H Bridge Motor Drive
MD03-50Volt 20Amp H Bridge Motor Drive Overview The MD03 is a medium power motor driver, designed to supply power beyond that of any of the low power single chip H-Bridges that exist. Main features are
More informationExperiment (2) DC Motor Control (Direction and Speed)
Introduction Experiment (2) DC Motor Control (Direction and Speed) Controlling direction and speed of DC motor is very essential in many applications like: 1- Robotic application to change direction and
More informationPWM LED Color Control
1 PWM LED Color Control Through the use temperature sensors, accelerometers, and switches to finely control colors. Daniyah Alaswad, Joshua Creech, Gurashish Grewal, & Yang Lu Electrical and Computer Engineering
More informationStandard single-purpose processors: Peripherals
3-1 Chapter 3 Standard single-purpose processors: Peripherals 3.1 Introduction A single-purpose processor is a digital system intended to solve a specific computation task. The processor may be a standard
More information