Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206

Size: px
Start display at page:

Download "Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206"

Transcription

1 Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206 Attention! To access the laboratory experiment you must have: booked a lab time in the reservation system (Daisy). completed your personal knowledge control on the Web (Web-quiz). done all preparation tasks mentioned in the lab booklet. During the lab you work in groups of two, but both students are responsible individually for their preparation and implementation. Booth students should bring their lab booklets. This frontpage is used as your receipt that the lab is completed. Save the receipt until you have received the full course registered in the database (Ladok). 1

2 Introduction Measuring digital pulses, number, period, frequency, pulse width, etc. is one of the most common tasks of an embedded system. Many sensors has output value in form of digital pulses - You've already met resistive sensors included in an RC oscillator having variable frequency as output. Frequency is a quantity that can be measured very accurately, but different frequency ranges high/low demands different measuring methods. PIC proccessorerna has a self-running CCP device that can be used to offload processor the work of following the signals during the measurement. At the lab, you will measure the period time and frequency. You will try an LC oscillator, and use it as a non-contact proximity sensor for different metals. PIC processor CCP device may alternatively be used to generate PWM signals. A common use is then controlling a motor. Enhenced CCP, ECCP, as with PIC16F690 is meant to "directly" be able to drive a DC motor with variable speed and direction. The goal of the lab Show some different methods for frequency measurement. Orienting yourself about IO devices for the measurement of digital pulses. Show how these can be used with sensors. Orient yourself on oscillators and phase-shifting network. Orienting yourself about IO devices for motor control. Show how to control a DC motor speed and direction. Attention! Your lab time may be prior all course elements that may be needed for the lab has been lectured. You would then have to read the course material for yourself in advance - there are links to all slides for the lectures and exercises. 2

3 Frequency Measurement and period time measurement Read Microchip PIC16F690-manual about how the ECCP-unit is to be configured for capture mode. frequency.c Preparation task 1 (done before the lab) 74HC4040.pdf An easy way to obtain test frequencies to measure, is to use a 12-step frequency divider chip (type 4040, at the price of 10 SEK). PIC processor can be configured so that the internal system clock fosc/4, 1 MHz, is available at one of the pins. All in all, you get twelve different frequencies to measure! 3

4 Assume that the frequency dividing chip is clocked by 1MHz. Calculate, and write down the values of the twelve measurement frequencies in Table 1. Table 1 measurement frequencies Laboratory task 1 Connect pin 3 CLKOUT to the frequency divider input CLK. Now there are twelve frequencies from 244 Hz to 500 khz available for measurement with f_in (CCP1 pin 5). Now measure the 12 frequencies with the program frequency.c and read the values with the UART Tool. Fill in the frequency and period in Table 1. 4

5 To get an accurate periodic time you need to collect many TIMER1-tick over the period of the unknown measurement frequency, but less than 16-bit maximum value of because in the program we does not take into account if TIMER1 "turn around". (This would occur at about 15 Hz, but we have no access to such low frequencies). An accurate frequency value then builds on that the integer division will provide a sufficient number of digits. Any decimals are "thrown away" by the program. Higher frequencies than Hz could not be held in 16-bit variable f so for these the readings become "wrong". Mark in the column labeled? which of the measurements that give good, and which of them that results in poor accuracy. Then discuss with lab assistant. Most readings will be "incredible" good, hove does that come? How would the readings change if the PIC processor's internal oscillator was even better tuned? (the internal clock can be trimmed)? Preparation task 2 (done before the lab) Problems with high frequencies The high frequencies easily get error because TIMER1 only counts a few clock pulses. The solution is to instead configure the CCP unit to count clock pulses between every 16th rising edge of the measuring signal. It then will present the measured value "multiplied" by 16. If the frequency then is tto be indicated by prefix khz one must also divide by This should be done by changing the constant in the program (calculation done at compilation time), it is unnecessary to introduce more arithmetic operations for the PIC processor (calculations done at run-time)! khz-scale. Save program frequency.c as frequency_high.c and change CCP1 mode from each edge to each 16:th edge. Change the division constant " " to a value that suits this new khz-measurement. The program printout should look like ( if the measurement signal is 500 khz ): Frequency f is [khz] Period T(*16) is [us] Laboratory task 2 Problems with high frequencies The high frequencies may get errors because TIMER1 counts to few clock pulses. Compile and run your khz programs from preparatory task 1. Measure and fill in values in Table 2. 5

6 Table 2 High test frequencies [khz] Now it went good to measure and print out the high frequencies? Preparation task 3 (done before the lab) cd4069ub.pdf From Digital Design course you may remember the ring oscillator? An odd number of inverters connected in a ring, form an unstable asynchronous sequential circuit, which starts to oscillate at high frequency. This connection can be used to "measure" a inverter gate delay - with simple means. Derive, and write down, an expression of how the gate delay can be calculated from Ring oscillator period time. t PD = Can you find any notification on gate delay in the circuit 4069's data sheets? Labuppgift 3 Lab inverter circuit 4069 was constructed in the 1980s, and thus slow compared to today's fast circuits. Connect 5 of the inverters to a ring oscillator as shown. The inverters are already connected to the breadboard as a group of two in series and another group of three. 6

7 Disconnect the lead CLKOUT from the PIC processor, instead connect the ring oscillator output Out to the frequency divider chip input CLK. You should now measure the ring oscillator period time with your program frequency_high.c. Select the appropriate output from the frequency divider to f_in so that the measurement is accurate. Then calculate the gate delay for a 4069-inverter gate. Use the formula from preparation task 3, taking into account how much you divided down the measurement frequency. t PD [ns] = Your inverter is mounted on a breadboard, where the access points have higher capacitance than is the case on a circuit board. The data is sheet is very "old" - perhaps the circuit he have been improved over the years? Preparation task 4 (done before the lab) LC-oscillator. The sixth inverter, the one that was not used in the ring oscillator, we use as a LC oscillator. A CMOS inverter with a resistor between it's output and input, is "trapped" in between "1" and "0" (2.5V) and becomes an "analogue" amplifier instead of a digital circuit. The inverting can now be seen as that the amplifier will phase shift 180 ("-" sign). In addition to the inverter/amplifier, we have an ac network with a resonant circuit. This circuit will phase shift further a total of 360 which is the same thing as "no phase shift at all." For a frequency close to the resonance frequency, that all this is true, it becomes an amplified "feedback" that starts the oscillator! Calculate the resonant frequency formula here in the lab booklet. L = 100 µh, C = 470 pf. f 0 [MHz] = 7

8 Laboratory task 4 Remove the wires you connected the ring oscillator with. Connect instead the frequency divider CLK with LC oscillator LCosc. Measure LC oscillator frequency with your program frequency_high.c. Try out a suitable connection of f_in so that the measurement will be accurate. Compare with the calculated resonant frequency from preparation task 4. (About errors: Coil has 5% tolerance, capacitors 20% tolerance, the PIC processor's built-in oscillator is factory trimmed to 1% tolerance.) f 0 [MHz] = Preparation task 5 (done before the lab) For a parallel resonance circuit comes that the resonant frequency changes with both the coil inductance L, and the losses in the coil and in the magnetic field, that we symbolizes with the "resistance" r. Metal objects near the coil will affect the resonance frequency in several different ways. Prepare an addition/alteration to your program frequency_high.c Turn the red LED (RC0) if the period time is reduced a few percent, and lighting the green LED (RC1) if the period time increases a few percent. Otherwise, both LEDs should be off. Appropriate program name is metalsensor.c. NOTE! here there is a risk that one runs into PIC processor's RMW problem! 8

9 Laboratory task 5 Non-contact metal detector. The lab equipment includes a ferrite rod (magnetically influenced) and another common brass rod (which is magnetically uninfluenced). Both rods are influenced by eddy currents. Now select the connection of f_in so that you get a good measure of the time period with many digits. Write down the measured value. Modify the program frequency.c with LED lights to indicate increased and decreased cycle time, as in preparation 5. Show lab assistant that your metal detector can distinguish between iron and other metals! Commercial metal sensors that are sensitive over greater distances have coils that spreads the magnetic field in the probing direction - see principle figure! 9

10 PWM control of a DC motor Read Microchip PWM. speed.c PIC16F690-manual about how ECCP-unit can be configured for As soon as an embedded system need to affect ambient mechanics, it needs a motor. During the lab you are going to study how the PWM controller used to control a DC motor. Preparation task 6 (done before the lab) Study program speed.c. It takes an 8-bit value with the AD converter from the potentiometer, and transfer it to the PWM unit 8 bit Duty Cycle. With the potentiometer one can thus directly control the DC motor speed.. Your task is to modify the this program to control the motor speed and direction. The program is prepared for the changes. Figure out in advance how to do this. Laboratory task 6 Remove line f_in from the PIC processor. Connect the potentiometer center tap SpeedControl to ADC channel AN9. Connect P1D to PWM- and P1B to PWM+. Compile and download the program speed.c. It runs the motor in one direction at a speed that increases with clockwise rotation of the potentiometer. Your task now is to modify the program speed.c so that it controls the engine speed in the two directions of rotation, standing still in the middle position, and 10

11 with the maximum possible speed in the two end positions. Engine speed must not be "jerking" in any mode. Appropriate program name is dir_speed.c. Show for the lab assistant. The supply voltage to the motor from the USB connector are limited to 5V. LEGO engine is a 9V motor. The motor drive circuit (7667) can work with a separate voltage up to 15V. Maybe the lab assistant have a stronger, 9V, battery to plug in? - in that case we double the engine's speed range. (The assistant will first remove the jumper to 5V, and then connect a 9V battery) ATTENTION! 5V jumper must be removed when connecting external voltage to the motor drive circuit! Do you have time to spare? If you are well prepared for the lab, then you probably now have time for a "voluntary" task. CMOS inverter, ring-oscillator, LC-circuit, LC-oscillator, can be simulated with LT-spice. Simulate with LT-Spice Ready drawn schematic cmos_inv.asc cmos_model.txt Simulate the circuit. Ready drawn schematic inverter_ring.asc Simulate the circuit. Ready drawn schematic LC_resonance.asc Simulate the circuit. Ready drawn schematic LC_osc.asc Simulate the circuit. Good Luck! When you are finished. Restore the equipment before the next lab group. See the picture under "Frequency Measurement and periodic time". Clean lab location. 11

12 Bill of material Om If you ever need to build a similar experiment equipment, you can see here what components we used. Breadboard GL-23F ELFA Microcontroller 8 Bit DIL-20, PIC16F690-I/P ELFA Hex Inverter DIL-14, CD4069UBE ELFA Bit Binary Count DIL-16, 74HCT4040N ELFA Trimpot cermet 10 k Lin 500 mw, 72PTR10KLF ELFA Resistor 1 st 10k. Resistors 1 st 8.2k, 1 st 4.8 M. Capacitors 2 st ceramic 470 p Inductance 1 st 100 uh 170 ma B82141-A1104-J ELFA Resistors 2 st 500 k. 1 st Led with integrated resistor 5V red ELFA st Led with integrated resistor 5V green ELFA Jumpers: 13 orange, 9 yellow, 11 green, 1 red, 1 brown. 5 st metal. William Sandqvist william@kth.se 12

Laboration: AD-conversion and the Thevenin theorem.

Laboration: AD-conversion and the Thevenin theorem. Laboration: AD-conversion and the Thevenin theorem. Embedded Electronics IE1206 Attention! To access the laboratory experiment you must have: completed your personal knowledge control on the Web (Web-quiz).

More information

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

Pulse-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 information

About LC Meter This is one of the most accurate and simplest LC inductance / capacitance Meters that one can find, yet one that you can easily build y

About LC Meter This is one of the most accurate and simplest LC inductance / capacitance Meters that one can find, yet one that you can easily build y Home Electronic Store Electronic Blog Electronic Schematics Tutorials Downloads Lin Very Accurate LC Meter based on PIC16F84A IC. LC Meter Part's List: 2x 1K 2x 6.8K 1x 47K 3x 100K 1x 10K POT 2x 10pF 1x

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

Laboratory 11. Pulse-Width-Modulation Motor Speed Control with a PIC

Laboratory 11. Pulse-Width-Modulation Motor Speed Control with a PIC Laboratory 11 Pulse-Width-Modulation Motor Speed Control with a PIC Required Components: 1 PIC16F88 18P-DIP microcontroller 3 0.1 F capacitors 1 12-button numeric keypad 1 NO pushbutton switch 1 Radio

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

IE1206 Embedded Electronics

IE1206 Embedded Electronics IE1206 Embedded Electronics Le1 Le3 Le4 Le2 Ex1 Ex2 PIC-block Documentation, Seriecom Pulse sensors I, U, R, P, serial and parallel KC1 LAB1 Pulse sensors, Menu program Start of programing task Kirchhoffs

More information

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

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

More information

Project: Electromagnetic Ring Launcher

Project: Electromagnetic Ring Launcher Project: Electromagnetic Ring Launcher Introduction: In science museums and physics-classrooms an experiment is very commonly demonstrated called the Jumping Ring or Electromagnetic Ring Launcher. The

More information

Lab Exercise 9: Stepper and Servo Motors

Lab Exercise 9: Stepper and Servo Motors ME 3200 Mechatronics Laboratory Lab Exercise 9: Stepper and Servo Motors Introduction In this laboratory exercise, you will explore some of the properties of stepper and servomotors. These actuators are

More information

Direct Current Waveforms

Direct 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 information

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

University 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 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

EXPERIMENT #2 CARRIER OSCILLATOR

EXPERIMENT #2 CARRIER OSCILLATOR EXPERIMENT #2 CARRIER OSCILLATOR INTRODUCTION: The oscillator is usually the first stage of any transmitter. Its job is to create a radio-frequency carrier that can be amplified and modulated before being

More information

When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp

When 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 information

Introduction to Using the PIC16F877 Justin Rice IMDL Spring 2002

Introduction to Using the PIC16F877 Justin Rice IMDL Spring 2002 Introduction to Using the PIC16F877 Justin Rice IMDL Spring 2002 Basic Specs: - 30 pins capable of digital I/O - 8 that can be analog inputs - 2 capable of PWM - 8K of nonvolatile FLASH memory - 386 bytes

More information

DE1.3 Electronics 1. Tips on Team Projects

DE1.3 Electronics 1. Tips on Team Projects DE1.3 Electronics 1 Tips on Team Projects To help you progress with the team project, I have prepared this documents to provide extra instructions that you should find helpful. 1. How can I drive TWO motors

More information

RC Filters and Basic Timer Functionality

RC Filters and Basic Timer Functionality RC-1 Learning Objectives: RC Filters and Basic Timer Functionality The student who successfully completes this lab will be able to: Build circuits using passive components (resistors and capacitors) from

More information

Lab Exercise 6: Digital/Analog conversion

Lab 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 information

Laboratory Exercise 1 Microcontroller Board with Driver Board

Laboratory Exercise 1 Microcontroller Board with Driver Board Laboratory Exercise 1 Microcontroller Board with Driver Board The purpose of this lab exercises is to demonstrate how the Microcontroller Board can be used to control motors connected to the Driver Board

More information

DC Motor and Servo motor Control with ARM and Arduino. Created by:

DC Motor and Servo motor Control with ARM and Arduino. Created by: DC Motor and Servo motor Control with ARM and Arduino Created by: Andrew Kaler (39345) Tucker Boyd (46434) Mohammed Chowdhury (860822) Tazwar Muttaqi (901700) Mark Murdock (98071) May 4th, 2017 Objective

More information

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT, 250KSPS ADC

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT, 250KSPS ADC DESCRIPTION QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 1255 LTC1605CG/LTC1606CG The LTC1606 is a 250Ksps ADC that draws only 75mW from a single +5V Supply, while the LTC1605 is a 100Ksps ADC that draws

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

ANALOG TO DIGITAL CONVERTER

ANALOG TO DIGITAL CONVERTER Final Project ANALOG TO DIGITAL CONVERTER As preparation for the laboratory, examine the final circuit diagram at the end of these notes and write a brief plan for the project, including a list of the

More information

MFJ-249B HF/VHF SWR ANALYZER

MFJ-249B HF/VHF SWR ANALYZER TABLE OF CONTENTS MFJ-249B... 2 Introduction... 2 Powering The MFJ-249B... 3 Battery Installation... 3 Alkaline Batteries... 3 NiCd Batteries... 4 Power Saving Mode... 4 Operation Of The MFJ-249B...5 SWR

More information

Experiment 5: Basic Digital Logic Circuits

Experiment 5: Basic Digital Logic Circuits ELEC 2010 Laboratory Manual Experiment 5 In-Lab Procedure Page 1 of 5 Experiment 5: Basic Digital Logic Circuits In-Lab Procedure and Report (30 points) Before starting the procedure, record the table

More information

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

I hope you have completed Part 2 of the Experiment and is ready for Part 3. I hope you have completed Part 2 of the Experiment and is ready for Part 3. In part 3, you are going to use the FPGA to interface with the external world through a DAC and a ADC on the add-on card. You

More information

Custom Integrated Circuit (MSM9520RS) Replacement Module

Custom Integrated Circuit (MSM9520RS) Replacement Module FT-101Z/ FT-107/ FT-707/ FT-901,902 (later version) DISPLAY COUNTER UNIT (PB-2086A) Custom Integrated Circuit (MSM9520RS) Replacement Module Assembly and Installation Manual (v1.3e) STEP-BY-STEP PROCEDURES

More information

ELEC3106 Electronics. Lab 3: PCB EMI measurements. Objective. Components. Set-up

ELEC3106 Electronics. Lab 3: PCB EMI measurements. Objective. Components. Set-up ELEC3106 Electronics Lab 3: PCB EMI measurements Objective The objective of this laboratory session is to give the students a good understanding of critical PCB level Electromagnetic Interference phenomena

More information

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory

University 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 information

DEMO CIRCUIT 1004 ADC DRIVER AND 7X7MM HIGH-PERFORMANCE ADC QUICK START GUIDE ADC Driver and 7x7mm High-Performance ADC DESCRIPTION

DEMO CIRCUIT 1004 ADC DRIVER AND 7X7MM HIGH-PERFORMANCE ADC QUICK START GUIDE ADC Driver and 7x7mm High-Performance ADC DESCRIPTION DEMO CIRCUIT 1004 QUICK START GUIDE ADC Driver and 7x7mm High-Performance ADC DESCRIPTION Demonstration circuit 1004 is a reference design featuring Linear Technology Corporation s Analog- Digital Converter

More information

Multi-Stage Power Conversion Proposal

Multi-Stage Power Conversion Proposal Multi-Stage Power Conversion Proposal Joe Driscoll, Paul Hemberger, David Yamnitsky Introduction MSPC is a three stage power converter system where each stage not only supports a useful application, but

More information

Introduction. Inductors in AC Circuits.

Introduction. Inductors in AC Circuits. Module 3 AC Theory What you ll learn in Module 3. Section 3.1 Electromagnetic Induction. Magnetic Fields around Conductors. The Solenoid. Section 3.2 Inductance & Back e.m.f. The Unit of Inductance. Factors

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 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 information

IMPLEMENTATION OF QALU BASED SPWM CONTROLLER THROUGH FPGA. This Chapter presents an implementation of area efficient SPWM

IMPLEMENTATION OF QALU BASED SPWM CONTROLLER THROUGH FPGA. This Chapter presents an implementation of area efficient SPWM 3 Chapter 3 IMPLEMENTATION OF QALU BASED SPWM CONTROLLER THROUGH FPGA 3.1. Introduction This Chapter presents an implementation of area efficient SPWM control through single FPGA using Q-Format. The SPWM

More information

Power Pulse Modulator A High Performance Versatile Square Pulse Generator

Power Pulse Modulator A High Performance Versatile Square Pulse Generator Power Pulse Modulator A High Performance Versatile Square Pulse Generator Model: PWM-OCXi v2.2 Type: High Voltage, 9A, 340V, 1.5MHz, Active Protection Features and Specifications * Max current varies with

More information

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #10 Electronics Design Laboratory 1 Lessons from Experiment 4 Code debugging: use print statements and serial monitor window Circuit debugging: Re check operation

More information

Homebrew and Experimenters Group HF Inductance Bridge (Compiled by VK2TOX)

Homebrew and Experimenters Group HF Inductance Bridge (Compiled by VK2TOX) Homebrew and Experimenters Group HF Inductance Bridge (Compiled by VK2TOX) There are a number of ways to measure inductances used in construction of RF equipment. One of the most versatile ways is with

More information

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor The bipolar amplifier is well suited for controlling motors for vehicle propulsion. Figure 12-45 shows a good-sized 24VDC motor that runs nicely on 13.8V from a lead acid battery based power supply. You

More information

Homework Assignment 03

Homework Assignment 03 Question (75 points) Homework Assignment 03 Overview Tuned Radio Frequency (TRF) receivers are some of the simplest type of radio receivers. They consist of a parallel RLC bandpass filter with bandwidth

More information

DATA SHEET. HEF4541B MSI Programmable timer. For a complete data sheet, please also download: INTEGRATED CIRCUITS

DATA SHEET. HEF4541B MSI Programmable timer. For a complete data sheet, please also download: INTEGRATED CIRCUITS INTEGRATED CIRCUITS DATA SHEET For a complete data sheet, please also download: The IC04 LOCMOS HE4000B Logic Family Specifications HEF, HEC The IC04 LOCMOS HE4000B Logic Package Outlines/Information HEF,

More information

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2 Dedan Kimathi University of technology Department of Electrical and Electronic Engineering EEE2406: Instrumentation Lab 2 Title: Analogue to Digital Conversion October 2, 2015 1 Analogue to Digital Conversion

More information

Frequency Synthesizer Project ECE145B Winter 2011

Frequency Synthesizer Project ECE145B Winter 2011 Frequency Synthesizer Project ECE145B Winter 2011 The goal of this last project is to develop a frequency synthesized local oscillator using your VCO from Lab 2. The VCO will be locked to a stable crystal

More information

STUDENT NUMBER Letter VCE VET ELECTRONICS. Written examination. Monday 31 October 2005

STUDENT NUMBER Letter VCE VET ELECTRONICS. Written examination. Monday 31 October 2005 Victorian CertiÞcate of Education 2005 SUPERVISOR TO ATTACH PROCESSING LABEL HERE Figures Words STUDENT NUMBER Letter VCE VET ELECTRONICS Written examination Monday 31 October 2005 Reading time: 9.00 am

More information

CHAPTER 6 PHASE LOCKED LOOP ARCHITECTURE FOR ADC

CHAPTER 6 PHASE LOCKED LOOP ARCHITECTURE FOR ADC 138 CHAPTER 6 PHASE LOCKED LOOP ARCHITECTURE FOR ADC 6.1 INTRODUCTION The Clock generator is a circuit that produces the timing or the clock signal for the operation in sequential circuits. The circuit

More information

Assembly Manual for VFO Board 2 August 2018

Assembly Manual for VFO Board 2 August 2018 Assembly Manual for VFO Board 2 August 2018 Parts list (Preliminary) Arduino 1 Arduino Pre-programmed 1 Faceplate Assorted Header Pins Full Board Rev A 10 104 capacitors 1 Rotary encode with switch 1 5-volt

More information

QUASAR PROJECT KIT # /24 HOUR GIANT CLOCK

QUASAR PROJECT KIT # /24 HOUR GIANT CLOCK This project was originally published in the electronics magazine, Silicon Chip, a few years ago. It is issued here as a kit with permission. Some modifications to the original published circuit and software

More information

CV Arpeggiator Rev 1. Last updated

CV Arpeggiator Rev 1. Last updated CV Arpeggiator Rev Last updated 6--20 The CV Arpeggiator is a modular synth project used for creating arpeggios of control voltage. It utilizes a custom programmed PIC 6F685 micro controller. It includes

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 05.11.2015

More information

Filters And Waveform Shaping

Filters And Waveform Shaping Physics 3330 Experiment #3 Fall 2001 Purpose Filters And Waveform Shaping The aim of this experiment is to study the frequency filtering properties of passive (R, C, and L) circuits for sine waves, and

More information

t w = Continue to the next page, where you will draw a diagram of your design.

t w = Continue to the next page, where you will draw a diagram of your design. Name EET 1131 Lab #13 Multivibrators OBJECTIVES: 1. To design and test a monostable multivibrator (one-shot) using a 555 IC. 2. To analyze and test an astable multivibrator (oscillator) using a 555 IC.

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 13.11.2014

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

JUMA-TRX2 DDS / Control Board description OH2NLT

JUMA-TRX2 DDS / Control Board description OH2NLT JUMA-TRX2 DDS / Control Board description OH2NLT 22.08.2007 General Key functions of the JUMA-TRX2 DDS / Control board are: - provide user interface functions with LCD display, buttons, potentiometers

More information

ENGINEERING TRIPOS PART II A ELECTRICAL AND INFORMATION ENGINEERING TEACHING LABORATORY EXPERIMENT 3B2-B DIGITAL INTEGRATED CIRCUITS

ENGINEERING TRIPOS PART II A ELECTRICAL AND INFORMATION ENGINEERING TEACHING LABORATORY EXPERIMENT 3B2-B DIGITAL INTEGRATED CIRCUITS ENGINEERING TRIPOS PART II A ELECTRICAL AND INFORMATION ENGINEERING TEACHING LABORATORY EXPERIMENT 3B2-B DIGITAL INTEGRATED CIRCUITS OBJECTIVES : 1. To interpret data sheets supplied by the manufacturers

More information

EE2304 Implementation of a Stepper Motor using CMOS Devices Fall 2004 WEEK -2-

EE2304 Implementation of a Stepper Motor using CMOS Devices Fall 2004 WEEK -2- WEEK -2-1. Objective Design a controller for a stepper motor that will be capable of: Making the motor rotate with variable speed (the user should be able to adjust the rotational speed easily and without

More information

Hydra: A Three Stage Power Converter

Hydra: A Three Stage Power Converter 6.101 Project Proposal Paul Hemberger, Joe Driscoll, David Yamnitsky Hydra: A Three Stage Power Converter Introduction Hydra is a three stage power converter system where each stage not only supports a

More information

Voltage Dividers a learn.sparkfun.com tutorial

Voltage Dividers a learn.sparkfun.com tutorial Voltage Dividers a learn.sparkfun.com tutorial Available online at: http://sfe.io/t44 Contents Introduction Ideal Voltage Divider Applications Extra Credit: Proof Resources and Going Further Introduction

More information

Part (A) Using the Potentiometer and the ADC* Part (B) LEDs and Stepper Motors with Interrupts* Part (D) Breadboard PIC Running a Stepper Motor

Part (A) Using the Potentiometer and the ADC* Part (B) LEDs and Stepper Motors with Interrupts* Part (D) Breadboard PIC Running a Stepper Motor Name Name (Most parts are team so maintain only 1 sheet per team) ME430 Mechatronic Systems: Lab 5: ADC, Interrupts, Steppers, and Servos The lab team has demonstrated the following tasks: Part (A) Using

More information

Once the DS1821 comes up as a thermostat it will not return to 1-wire mode until it receives a special signal sequence, as follows:

Once the DS1821 comes up as a thermostat it will not return to 1-wire mode until it receives a special signal sequence, as follows: DS1821 Reset Circuit Introduction The Dallas DS1821 "Programmable Digital Thermostat and Thermometer" is a member of the "1 Wire" family of interface chips but has a number of peculiarities not shared

More information

AERO2705 Space Engineering 1 Week 7 The University of Sydney

AERO2705 Space Engineering 1 Week 7 The University of Sydney AERO2705 Space Engineering 1 Week 7 The University of Sydney Presenter Mr. Warwick Holmes Executive Director Space Engineering School of Aerospace, Mechanical and Mechatronic Engineering The University

More information

High Voltage Waveform Sensor

High Voltage Waveform Sensor High Voltage Waveform Sensor Computer Engineering Senior Project Nathan Stump Spring 2013 Statement of Purpose The purpose of this project was to build a system to measure the voltage waveform of a discharging

More information

DEMO CIRCUIT 1057 LT6411 AND LTC2249 ADC QUICK START GUIDE LT6411 High-Speed ADC Driver Combo Board DESCRIPTION QUICK START PROCEDURE

DEMO CIRCUIT 1057 LT6411 AND LTC2249 ADC QUICK START GUIDE LT6411 High-Speed ADC Driver Combo Board DESCRIPTION QUICK START PROCEDURE DESCRIPTION Demonstration circuit 1057 is a reference design featuring Linear Technology Corporation s LT6411 High Speed Amplifier/ADC Driver with an on-board LTC2249 14-bit, 80MSPS ADC. DC1057 demonstrates

More information

Lab Experiments. Boost converter (Experiment 2) Control circuit (Experiment 1) Power diode. + V g. C Power MOSFET. Load.

Lab Experiments. Boost converter (Experiment 2) Control circuit (Experiment 1) Power diode. + V g. C Power MOSFET. Load. Lab Experiments L Power diode V g C Power MOSFET Load Boost converter (Experiment 2) V ref PWM chip UC3525A Gate driver TSC427 Control circuit (Experiment 1) Adjust duty cycle D The UC3525 PWM Control

More information

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1 .A Basic Wireless Control ECEN 2270 Electronics Design Laboratory 1 Procedures 5.A.0 5.A.1 5.A.2 5.A.3 5.A.4 5.A.5 5.A.6 Turn in your pre lab before doing anything else. Receiver design band pass filter

More information

University of Jordan School of Engineering Electrical Engineering Department. EE 219 Electrical Circuits Lab

University of Jordan School of Engineering Electrical Engineering Department. EE 219 Electrical Circuits Lab University of Jordan School of Engineering Electrical Engineering Department EE 219 Electrical Circuits Lab EXPERIMENT 4 TRANSIENT ANALYSIS Prepared by: Dr. Mohammed Hawa EXPERIMENT 4 TRANSIENT ANALYSIS

More information

ELECTROMAGNETIC INDUCTION AND ALTERNATING CURRENT (Assignment)

ELECTROMAGNETIC INDUCTION AND ALTERNATING CURRENT (Assignment) ELECTROMAGNETIC INDUCTION AND ALTERNATING CURRENT (Assignment) 1. In an A.C. circuit A ; the current leads the voltage by 30 0 and in circuit B, the current lags behind the voltage by 30 0. What is the

More information

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

6. 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 information

Module -18 Flip flops

Module -18 Flip flops 1 Module -18 Flip flops 1. Introduction 2. Comparison of latches and flip flops. 3. Clock the trigger signal 4. Flip flops 4.1. Level triggered flip flops SR, D and JK flip flops 4.2. Edge triggered flip

More information

PAK-Vb/c PWM Coprocessor Data Sheet by AWC

PAK-Vb/c PWM Coprocessor Data Sheet by AWC PAK-Vb/c PWM Coprocessor Data Sheet 1998-2003 by AWC AWC 310 Ivy Glen League City, TX 77573 (281) 334-4341 http://www.al-williams.com/awce.htm V1.8 23 Oct 2003 Table of Contents Overview...1 If You Need

More information

Fig.1. A basic inductance and capacitance. (CR) oscillator.

Fig.1. A basic inductance and capacitance. (CR) oscillator. Constructional Project PIC LCF METER JOHN BECKER Simple monitoring of inductance, capacitance and frequency values HIS simple PIC-based unit was designed to measure and display the Tvalues of inductors

More information

+15 V 10k. !15 V Op amp as a simple comparator.

+15 V 10k. !15 V Op amp as a simple comparator. INDIANA UNIVESITY, DEPT. OF PHYSICS, P400/540 LABOATOY FALL 2008 Laboratory #7: Comparators, Oscillators, and Intro. to Digital Gates Goal: Learn how to use special-purpose op amps as comparators and Schmitt

More information

o 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

o 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 information

PAK-VIIIa Pulse Coprocessor Data Sheet by AWC

PAK-VIIIa Pulse Coprocessor Data Sheet by AWC PAK-VIIIa Pulse Coprocessor Data Sheet 2000-2003 by AWC AWC 310 Ivy Glen League City, TX 77573 (281) 334-4341 http://www.al-williams.com/awce.htm V1.6 30 Aug 2003 Table of Contents Overview...1 If You

More information

are equally illuminated, the lamp I 1

are equally illuminated, the lamp I 1 Student ID: 21643431 Exam: 387018RR - PRACTICAL EXERCISE ADVANCED ELECTRONIC COMPONENTS When you have completed your exam and reviewed your answers, click Submit Exam. Answers will not be recorded until

More information

Laboratory 2 More Resistor Networks and Potentiometers.

Laboratory 2 More Resistor Networks and Potentiometers. Laboratory More Resistor Networks and Potentiometers. Introduction Laboratory page of 5 This is a relatively short laboratory, because you will also be assembling your Micro-BLIP, a customized device based

More information

BEST BMET CBET STUDY GUIDE MODULE ONE

BEST BMET CBET STUDY GUIDE MODULE ONE BEST BMET CBET STUDY GUIDE MODULE ONE 1 OCTOBER, 2008 1. The phase relation for pure capacitance is a. current leads voltage by 90 degrees b. current leads voltage by 180 degrees c. current lags voltage

More information

Low Cost Motor Control Family

Low Cost Motor Control Family Low Cost Motor Control Family 2011 Microchip Technology Incorporated. All Rights Reserved. Comparator with blanking and filtering Slide 1 Welcome to the Low Cost Motor Control Family web seminar. My Name

More information

Polyphase network kit

Polyphase network kit Polyphase network kit 1. Introduction This polyphase network module is designed to be used with the QRP Labs receiver module kit. It takes as inputs, four phase audio from the Quadrature Sampling Detector

More information

The G4EGQ RAE Course Lesson 4A AC theory

The G4EGQ RAE Course Lesson 4A AC theory AC. CIRCUITS This lesson introduces inductors into our AC. circuit. We then look at the result of having various combinations of capacitance, inductance and resistance in the same circuit. This leads us

More information

AN-1164 Cycle Stealing Control

AN-1164 Cycle Stealing Control AN-1164 Cycle Stealing Control In this app note we will create a cycle stealing control unit for AC line-powered loads using a Silego GreenPAK CMIC device. Cycle stealing is also known as cycle skipping,

More information

Quantizer step: volts Input Voltage [V]

Quantizer step: volts Input Voltage [V] EE 101 Fall 2008 Date: Lab Section # Lab #8 Name: A/D Converter and ECEbot Power Abstract Partner: Autonomous robots need to have a means to sense the world around them. For example, the bumper switches

More information

Embedded Systems and Software

Embedded Systems and Software Embedded Systems and Software Notes on Lab 2 Embedded Systems in Vehicles Lecture 2-4, Slide 1 Lab 02 In this lab students implement an interval timer using a pushbutton switch, ATtiny45, an LED driver,

More information

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley YOUR NAME: YOUR SID: Lab 5: RC Oscillators EE43/100 Spring 2013 Kris Pister YOUR PARTNER S NAME: YOUR PARTNER S SID: STATION NUMBER: LAB SECTION: Pre- Lab GSI Sign- Off: Pre- Lab Score: /40 In- Lab Score:

More information

Switch/ Jumper Table 1-1: Factory Settings Factory Settings (Jumpers Installed) Function Controlled Activates pull-up/ pull-down resistors on Port 0 digital P7 I/O lines Activates pull-up/ pull-down resistors

More information

Design of Low Cost Embedded Power Plant Relay Testing Unit

Design of Low Cost Embedded Power Plant Relay Testing Unit Design of Low Cost Embedded Power Plant Relay Testing Unit S.Uthayashanger, S.Sivasatheeshan, P.R Talbad uthayashanger@yahoo.com Supervised by: Dr. Thrishantha Nanayakkara thrish@elect.mrt.ac.lk Department

More information

Laboratory Assignment Number 3 for Mech 143. Pre-Lab: Part 1 Interfacing to a DC Motor and Potentiometer

Laboratory Assignment Number 3 for Mech 143. Pre-Lab: Part 1 Interfacing to a DC Motor and Potentiometer Purpose: Minimum Parts Required: Laboratory Assignment Number 3 for Mech 143 Due by 5:00 pm on Thursday, February 11, 1999 Pre-Lab Due by 5:00pm on Tuesday, February 9, 1999 This lab is intended to acquaint

More information

Power Pulse Modulator A High Performance Versatile Square Pulse Generator

Power Pulse Modulator A High Performance Versatile Square Pulse Generator Power Pulse Modulator A High Performance Versatile Square Pulse Generator Model: PWM-OCXi v2 Type: High Voltage, 9A, 500V, 1.5MHz, Active Protection Features and Specifications Advanced active voltage

More information

EE-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 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 information

IE1206 Embedded Electronics

IE1206 Embedded Electronics E06 Embedded Electronics Le Le3 Le4 Le Ex Ex PC-block Documentation, Seriecom Pulse sensors,, R, P, serial and parallel KC LAB Pulse sensors, Menu program Start of programing task Kirchhoffs laws ode analysis

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

4/30/2012. General Class Element 3 Course Presentation. Practical Circuits. Practical Circuits. Subelement G7. 2 Exam Questions, 2 Groups

4/30/2012. General Class Element 3 Course Presentation. Practical Circuits. Practical Circuits. Subelement G7. 2 Exam Questions, 2 Groups General Class Element 3 Course Presentation ti ELEMENT 3 SUB ELEMENTS General Licensing Class Subelement G7 2 Exam Questions, 2 Groups G1 Commission s Rules G2 Operating Procedures G3 Radio Wave Propagation

More information

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering EXPERIMENT 2 BASIC CIRCUIT ELEMENTS OBJECTIVES The purpose of this experiment is to familiarize the student with

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

Lab 2.2 Custom slave programmable interface

Lab 2.2 Custom slave programmable interface Lab 2.2 Custom slave programmable interface Introduction In the previous labs, you used a system integration tool (Qsys) to create a full FPGA-based system comprised of a processor, on-chip memory, a JTAG

More information

EE12: Laboratory Project (Part-2) AM Transmitter

EE12: Laboratory Project (Part-2) AM Transmitter EE12: Laboratory Project (Part-2) AM Transmitter ECE Department, Tufts University Spring 2008 1 Objective This laboratory exercise is the second part of the EE12 project of building an AM transmitter in

More information

1. Each group will get one aluminum BUD chassis (also called BUD box ).

1. Each group will get one aluminum BUD chassis (also called BUD box ). I. INTRODUCTION At the beginning of this lab, each group will be given an aluminum box called a BUD box or a BUD chassis. ( BUD is just the name of a company that makes these boxes.) Each BUD box has a

More information

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Recommended Due Date: By your lab time the week of February 12 th Possible Points: If checked off before

More information

Exercise 1: RF Stage, Mixer, and IF Filter

Exercise 1: RF Stage, Mixer, and IF Filter SSB Reception Analog Communications Exercise 1: RF Stage, Mixer, and IF Filter EXERCISE OBJECTIVE DISCUSSION On the circuit board, you will set up the SSB transmitter to transmit a 1000 khz SSB signal

More information

List of Items Available in the Laboratory the Lab

List of Items Available in the Laboratory the Lab List of Items Available in the Laboratory the Lab Category Component 555 Timer $0.30 5V Relay $3.50 74xxx Series IC Chip $0.30 Battery - 12V (rechargeable Lead-acid type) $16.00 Battery - 6V (rechargeable

More information