Lab 4: Pulse Width Modulation and Introduction to Simple Virtual Worlds (PWM) (PWM)
|
|
|
- Leonard Jacobs
- 9 years ago
- Views:
Transcription
1 1 Lab 4: Pulse Width Modulation and Lab 4: Pulse Width Modulation and Introduction to Simple Virtual Worlds Introduction to Simple Virtual Worlds (PWM) (PWM)
2 Virtual Spring and Virtual Wall 2 Virtual Spring Puck attached to a reference point by a virtual spring with constant k If the puck is moved to either side, spring exerts a restoring force F s = kx We will use a motor and encoder to create a virtual torsional spring Virtual Wall On one side of a virtual wall ( x < x 0 ), wheel spins freely (motor applies no force) Once the wheel rotates into ( x > x 0 ), motor applies a force Virtual Spring (top) and Virtual Wall
3 3 Equations T w = KΘ w T w = Wheel Torque, Nmm K = Spring Constant, Nmm/degree Θ w = Displacement, degrees Embedded system units are encoder counts and PWM duty cycle! (Counts/Encoder Rev)(Wheel Rev/Degree) = Counts/Degree
4 Duty Cycle-to-Motor Torque (ETH) dc +/- 835 Nmm Motor Torque (Nmm) Motor Limits duty cycle (0,1) T m (dc 0.5) Nmm
5 Enhanced Modular Input/Output Subsystem (emios) 5 Use emios to generate Pulse Width Modulation (PWM) signal to the motor 24 channels with many different operating modes See Chapter 17 MPC5553-RM emios Operation Modes Timer Mode Input Channel Modes Single Action Input Capture Input Pulse Width Measurement Input Period Measurement Pulse/Edge Accumulation Pulse Edge Counting Quadrature Decode Output Channel Modes Single Action Output Compare Double Action Output Compare Output Pulse Width Modulation Center Aligned Output Pulse Width Modulation Output Pulse Width and Frequency Modulation Buffered UM & ETH: OPWFMB
6 6 Programming the emios Like other peripherals, the emios must be configured by writing commands to special purpose registers emios Module Configuration Register (MCR) emios Channel Control Register (CCR) emios Channel A/B Data Registers (CADR, CBDR) Structure to access these registers is contained in MPC5553.h
7 emios OPWFMB 7 We will be using the OPWFMB mode emios data registers CADR and CBDR configure PWM duty cycle and switching period Counter [] Output 10 C max 8 C Th 6 T C Time[s]; T C =0.1s T On = T C C Th 1 0 T = T C C max T On = D T Time[s]; T C =0.1s OPWFMB counter and PWM output
8 8 emios PWM Data Registers The value in register CBDR determines the switching period (in clock ticks) duty cycle resolution and switching period are related
9 9 emios PWM Data Registers The value in register CADR determines the duty cycle OPWFMB: CADR=DC*CBDR Example: 10% DC CADR = 10; CBDR = 100; Resolution = 1%
10 10 emios PWM Data Registers Note about Double Buffering: Reading CADR returns the Register A1 value Writing CADR writes the value to Register A2 The same applies for CBDR Values in Registers A2&B2 are latched into A1&B1 when there is a match on Comparator B
11 11 emios PWM Comparators Comparators A and B trigger on exact matches Comparator A Match: Output set to EDPOL Comparator B Match: Output set to negative EDPOL Counter is Reset Registers A2&B2 latch into Registers A1&B1
12 12 PWM Frequency Configuration 2 prescalers located in the module control register (MCR) and the channel control register (CCR) determine the PWM frequency Global Prescaler (all 24 channels) GPRE: emios_mcr[16:23] global prescaler divides system clock by 1 to 256 (see Table 17-7) System clock is 120MHz We want PWM frequency = HZ Channel Prescaler UCPRE: emios_ccr[4:5] Additional timebase scaling (divide by 1 to 4)
13 13 EMIOS_MCR GPRE: Global prescaler - selects the clock divider as shown in Table 17-7 GPREN: Prescaler enable (enabled = 1) GTBE: Timebase enable (enabled = 1)
14 14 EMIOS_CCR See Table UCPRE: Selects clock divider 0b00 = divide by 1 0b11 = divide by 4 UCPREN: Prescaler enable (enabled = 1) BSL: Bus select (use internal counter, BSL = 0b11) EDPOL: Edge polarity (trigger on falling edge = 0) MODE: Selects the mode of operation. See Table or (we want output pulse width and frequency modulation, buffered, with FLAG set on both matches)
15 15 Lab 4 Software As usual, you are given mios.h with function prototypes; you will write the functions in mios.c, plus application code in lab4.c Four functions are required: Init_MIOS_clock Init_PWM Set_PWMPeriod Set_PWMDutyCycle
16 16 Lab 4 Software Init_MIOS_clock, Init_PWM: Configure the MCR, CCR and set initial values for the data registers Use the structure defined in MPC5553.h to access the registers Initialize the data registers to 50% duty cycle (zero torque output) Don t forget to turn on the output pads for the PWM channel /* Init data registers CADR and CBDR for 50% duty cycle */ EMIOS.CH[miosChannel].CADR.R = newperiod>>1; /* divide by 2 */ duty_cycle[mioschannel] = 0.50f; /* initialize static global */ EMIOS.CH[miosChannel].CBDR.R = newperiod; /* Turn on the output pads for our PWM channel */ SIU.PCR[179 + mioschannel].b.pa = 0b1; SIU.PCR[179 + mioschannel].b.obe = 0b1;
17 17 Lab 4 Software Set_PWMPeriod, Set_PWMDutyCycle 24 bit values written to data registers CADRn, CBDRn determine period and duty cycle Values are NOT units of time Clock Ticks per period For 120MHz system clock: counts_per_period = /PWM_FREQ
18 18 Lab 4 Assignment Use everything you ve learned so far: Read a duty cycle value from a QADC pin and output a PWM signal to the oscilloscope Drive the motor and haptic wheel with the PWM signal Experiment with different frequencies and observe motor response What do you expect to happen at 2Hz? 20KHz? Output and feel a constant 200 Nmm torque Implement the virtual spring and virtual wall using QD function of the etpu and the emios PWM Measure oscillation frequency for virtual spring, and timing of software loop that implements the spring Experiment with different values of the spring constant for the virtual wall and observe the effect
19 19 Lab 4 Assignment You will need to write the following code (template files are provided) worlds.h and worlds.c Code for the virtual spring and virtual wall As usual, prototypes are contained in worlds.h; you write the code for these functions in worlds.c motor.h and motor.c Code to generate motor output torque lab4.c Read the encoder, calculate the restoring torque and output the appropriate PWM to the motor
Timer A (0 and 1) and PWM EE3376
Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in the peripheral
ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation
ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation Program Definition: Write a program to control the speed of a dc motor using pulse width modulation. Discussion: The speed of a dc motor is
AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar
AVR Timer/Counter Prof Prabhat Ranjan DA-IICT, Gandhinagar 8-bit Timer/Counter0 with PWM Single Compare Unit Counter Clear Timer on Compare Match (Auto Reload) Glitch-free, Phase Correct Pulse Width Modulator
Section 14. Compare/Capture/PWM (CCP)
M Section 14. Compare/Capture/PWM (CCP) HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction...14-2 14.2 Control Register...14-3 14.3 Capture Mode...14-4 14.4 Compare
AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE
AVR 8-bit Microcontrollers AVR131: Using the AVR s High-speed PWM APPLICATION NOTE Introduction This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available
1/22/16. You Tube Video. https://www.youtube.com/watch?v=ympzipfabyw. Definitions. Duty Cycle: on-time per period (specified in per cent)
Definition Pulse Width Modulation (PWM) is simply a way of getting the micro-controller to manage pulsing a pin on and off at a set period and duty cycle. The LPC11U24 has four timers with four match registers
Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold
REAL-TIME CLOCK Real-Time Clock The device is not a clock! It does not tell time! It has nothing to do with actual or real-time! The Real-Time Clock is no more than an interval timer connected to the computer
1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver
Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,
AN3332 Application note
Application note Generating PWM signals using STM8S-DISCOVERY Application overview This application user manual provides a short description of how to use the Timer 2 peripheral (TIM2) to generate three
Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa
Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation
Pulse Width Modulation Applications
Pulse Width Modulation Applications Lecture 21 EE 383 Microcomputers Learning Objectives What is DTMF? How to use PWM to generate DTMF? How to use PWM to control a servo motor? How to use PWM to control
HT1632C 32 8 &24 16 LED Driver
328 &216 LED Driver Features Operating voltage: 2.V~5.5V Multiple LED display 32 ROW /8 COM and 2 ROW & 16 COM Integrated display RAM select 32 ROW & 8 COM for 6 display RAM, or select 2 ROW & 16 COM for
PWM IN AVR. Developed by: Krishna Nand Gupta Prashant Agrawal Mayur Agarwal
PWM IN AVR Developed by: Krishna Nand Gupta Prashant Agrawal Mayur Agarwal PWM (pulse width Modulation) What is PWM? Frequency = (1/T) Duty Cycle = (Thigh/T) What is need of PWM? I answer this in respect
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output
ServoOne. Specification. Option 2 - Technology. x 11. x 8 X 8. x 10. x 9. x 7. x 6 TTL Encoder / TTL Encoder simulation
x - + - + x L L L AC SO 4-45 A DC SO 4- A ServoOne Specification x 9 - + - + x 7 x 8 X 8 Option - Technology x 6 TTL Encoder / TTL Encoder simulation Specification ServoOne Specification Option - Technology
USB-QUAD08. Eight-channel Quadrature Encoder Input Device. Specifications
Eight-channel Quadrature Encoder Input Device s Document Revision 1.1 May 2012 Copyright 2012 s All specifications are subject to change without notice. Typical for 25 C unless otherwise specified. s in
RENESAS TECHNICAL UPDATE
RENESAS TECHNICAL UPDATE TN-RX*-A***A/E RENESAS TECHNICAL UPDATE 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan Renesas Electronics Corporation Date: Apr. 1, 2013 Product Category
HT46R14A Single Phase AC Induction Motor Frequency Converter Application
HT46R14A Single Phase AC Induction Motor Frequency Converter Application D/N:HA0095E Introductions Initially the main reason for using frequency conversion technology was for speed control, however to
Motor Control using NXP s LPC2900
Motor Control using NXP s LPC2900 Agenda LPC2900 Overview and Development tools Control of BLDC Motors using the LPC2900 CPU Load of BLDCM and PMSM Enhancing performance LPC2900 Demo BLDC motor 2 LPC2900
How many high-speed counters (HSCs) are provided by the SIMATIC S7-1200 PLC? SIMATIC S7-1200. FAQ March 2010. Service & Support. Answers for industry.
How many high-speed counters (HSCs) are provided by the SIMATIC S7-1200 PLC? SIMATIC S7-1200 FAQ March 2010 Service & Support Answers for industry. Question This entry is from the Service&Support portal
Flexible Active Shutter Control Interface using the MC1323x
Freescale Semiconductor Document Number: AN4353 Application Note Rev. 0, 9/2011 Flexible Active Shutter Control Interface using the MC1323x by: Dennis Lui Freescale Hong Kong 1 Introduction This application
Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of
Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of applications such as home appliances, medical, automotive,
Talon and Talon SR User Manual
Talon and Talon SR User Manual Brushed DC motor controller Version 1.3 Cross the Road Electronics, LLC www.crosstheroadelectronics.com Cross The Road Electronics, LLC Page 1 4/2/2013 Device Overview Clear,
DS1104 R&D Controller Board
DS1104 R&D Controller Board Cost-effective system for controller development Highlights Single-board system with real-time hardware and comprehensive I/O Cost-effective PCI hardware for use in PCs Application
EFC 3600. Frequency converters
2 Bosch Rexroth AG Electric Drives and Controls Documentation Compact and complete: space saving side-by-side assembly, plug-in I/O terminals, with brake chopper and mains filter for ultra-simple installation
Flexible Counter Series in DIN size 24 x 48 mm
Flexible Counter Series in DIN size 24 x 48 mm high contrast 8-digit LCD display or brilliant 6-digit LED display 2 different supply voltages available: independent of mains supply with lithium battery
Frequency Converter Fv
2 Bosch Rexroth AG Electric Drives and Controls Documentation Brake chopper with up to 30 kw continuous braking power Easy to operate and service (detachable fan, LCD operating panel with copy function)
X8 Option 2 - Technology
moog AC DC AC 4 to 450 A 4 to 210 A Compact MSD Servo Drive TTL in out Specification X8 Option 2 - Technology TTL Encoder Simulation / TTL Master Encoder moog Specification Option 2 - Technology TTL encoder
Stepper motor I/O. Application Note DK9222-0410-0014 Motion Control. A General information on stepper motors
Stepper motor Keywords Stepper motor Fieldbus Microstepping Encoder Phase current Travel distance control Speed interface KL2531 KL2541 Part A of this Application Example provides general information on
CPU systron S 200 - S 250 - S 250c. systron S 200 - S 250 - S 250c. CPUs to the process modules. Stand-alone PLC
E031019 000823 systron S 200 - S 250 - S 250c CPU systron S 200 - S 250 - S 250c 45 mm width Flexible and expandable Easy to use software for bus connection (S 250/ S 250c) CPUs to the process modules
Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply
Servo Motors (SensorDAQ only) Project 7 Servos are small, relatively inexpensive motors known for their ability to provide a large torque or turning force. They draw current proportional to the mechanical
DP8570A DP8570A Timer Clock Peripheral (TCP)
DP8570A DP8570A Timer Clock Peripheral (TCP) Literature Number: SNAS557 DP8570A Timer Clock Peripheral (TCP) General Description The DP8570A is intended for use in microprocessor based systems where information
Simulink Models for Autocode Generation
Simulink Models for Autocode Generation J. S. Freudenberg EECS 46, Fall 008 Simulink Models Suppose that you have developed a Simulink model of a virtual world, such as a wall or -mass system. We have
Servo Info and Centering
Info and Centering A servo is a mechanical motorized device that can be instructed to move the output shaft attached to a servo wheel or arm to a specified position. Inside the servo box is a DC motor
Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip
Pulse Width Modulation (PWM) LED Dimmer Circuit Using a 555 Timer Chip Goals of Experiment Demonstrate the operation of a simple PWM circuit that can be used to adjust the intensity of a green LED by varying
FRC WPI Robotics Library Overview
FRC WPI Robotics Library Overview Contents 1.1 Introduction 1.2 RobotDrive 1.3 Sensors 1.4 Actuators 1.5 I/O 1.6 Driver Station 1.7 Compressor 1.8 Camera 1.9 Utilities 1.10 Conclusion Introduction In this
Lab Experiment 1: The LPC 2148 Education Board
Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,
Instructions for Setting the T560 Digital Delay Generator for the Target Delay
Instructions for Setting the T560 Digital Delay Generator for the Target Delay Important! These instructions are only to be followed by beam-line operators who have been trained to operate the target!!
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
APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.
APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)
DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS
DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS U. Pogliano, B. Trinchera, G.C. Bosco and D. Serazio INRIM Istituto Nazionale di Ricerca Metrologica Torino (Italia)
Description. Dimensions. Features. www.pwb-encoders.com. precision works better
Description The MEC22 is a high resolution optical hollow shaft encoder that can be fixed quickly and easily on different sizes of motor shafts. The encoder provides two square wave outputs in quadrature
Microcontroller for Variable Speed BLDC Fan Control System. T.C. Lun System Engineer, Freescale Semiconductor, Inc.
Microcontroller for Variable Speed BLDC Fan Control System T.C. Lun System Engineer, Freescale Semiconductor, Inc. 1 Introduction Portable, feature rich, high-performance and compact in size are typical
PowerBox PBX 180. Installation and Users Guide
PowerBox PBX 180 Installation and Users Guide Firmware and Tool Version 060 7/14/2015 Table of Contents Table of Contents 1 Introduction... 4 2 Hardware... 6 3 Software Installation... 7 3.1 Software Installation
Configuring the FlexTimer for Position and Speed Measurement with an Encoder
Freescale Semiconductor Application Note Document Number: AN4381 Rev. 0, 12/2011 Configuring the FlexTimer for Position and Speed Measurement with an Encoder by: Matus Plachy System Application Engineer,
DS1621 Digital Thermometer and Thermostat
Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent
CHAPTER 11: Flip Flops
CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach
Using Arduino Microcontrollers to Sense DC Motor Speed and Position
ECE480 Design Team 3 Using Arduino Microcontrollers to Sense DC Motor Speed and Position Tom Manner April 4, 2011 page 1 of 7 Table of Contents 1. Introduction ----------------------------------------------------------
DAC Digital To Analog Converter
DAC Digital To Analog Converter DAC Digital To Analog Converter Highlights XMC4000 provides two digital to analog converters. Each can output one analog value. Additional multiple analog waves can be generated
Counters and Decoders
Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter
ADS9850 Signal Generator Module
1. Introduction ADS9850 Signal Generator Module This module described here is based on ADS9850, a CMOS, 125MHz, and Complete DDS Synthesizer. The AD9850 is a highly integrated device that uses advanced
The Design of DSP controller based DC Servo Motor Control System
International Conference on Advances in Energy and Environmental Science (ICAEES 2015) The Design of DSP controller based DC Servo Motor Control System Haiyan Hu *, Hong Gu, Chunguang Li, Xiaowei Cai and
Semiconductor MSM82C43
Semiconductor MSM8C3 Semiconductor MSM8C3 INPUT/OUTPUT PORT EXPANDER GENERAL DESCRIPTION The MSM8C3 is an input/output port expander device based on CMOS technology and designed to operate at low power
A Lesson on Digital Clocks, One Shots and Counters
A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters
AN3371 Application note
Application note Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs Introduction Note: A real-time clock (RTC) is a computer clock that keeps track of the current time.
Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield
Arduino Dual L6470 Stepper Motor Shield Data Sheet Adaptive Design ltd V1.0 20 th November 2012 Adaptive Design ltd. Page 1 General Description The Arduino stepper motor shield is based on L6470 microstepping
Serial Communications
Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation
Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module
Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module RS0 Microcontroller LEDs Motor Control Pushbuttons Purpose: To demonstrate an easy way of using a Freescale RS0K2 microcontroller
Preset Counter signo 721
Most simple handling Impressive, clearly readable display in 48x48 mm Input frequency up to 60 khz Easy installation due to pluggable terminals TECHNICAL DATA GENERAL Display Height of digits Supply voltage
A Lesson on Digital Clocks, One Shots and Counters
A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters
PCM Encoding and Decoding:
PCM Encoding and Decoding: Aim: Introduction to PCM encoding and decoding. Introduction: PCM Encoding: The input to the PCM ENCODER module is an analog message. This must be constrained to a defined bandwidth
CPW Current Programmed Winder. Application Handbook. Copyright 2002 by Eurotherm Drives, Inc.
CPW Current Programmed Winder Application Handbook Copyright 2002 by Eurotherm Drives, Inc. All rights strictly reserved. No part of this document may be stored in a retrieval system, or transmitted, in
MicroMag3 3-Axis Magnetic Sensor Module
1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI
AP32084. TriCore. Sinusodial 3-Phase Output Generation Using The TriCore General Purpose Timer Array. Microcontrollers
Application Note, V 1.0, Jan. 2005 AP32084 TriCore Sinusodial 3-Phase Output Generation Using The TriCore Microcontrollers Never stop thinking. TriCore Revision History: 2005-01 V 1.0 Previous Version:
80 Series - Modular timers 16 A. Features 80.01 80.11
80 Series - Modular timers 16 A Features 80.11 Multi-function and mono-function timer range - Multi-function & multi-voltage 80.11 - On-delay, multi-voltage 17.5 mm wide Six time scales from 0.1s to 24h
Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board
Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Abstract This application note is a tutorial of how to use an Arduino UNO microcontroller to
Section 15. Quadrature Encoder Interface (QEI)
Section 15. Quadrature Encoder Interface (QEI) HIGHLIGHTS This section of the manual contains the following major topics: 15.1 Introduction... 15-2 15.2 Control and Status Registers... 15-4 15.3 Programmable
8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.
AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,
Experiment 8 : Pulse Width Modulation
Name/NetID: Teammate/NetID: Experiment 8 : 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
Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill
Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.
Timer Value IRQ IACK
Real Time Clocks & s Programming with Real-time clocks Real-time clock is just another source of interrupts. Should have high priority in real-time systems Timing jitter must be accommodated or tolerated
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time
Using the Siemens S65 Display
Using the Siemens S65 Display by Christian Kranz, October 2005 ( http://www.superkranz.de/christian/s65_display/displayindex.html ) ( PDF by Benjamin Metz, 01 st November 2005 ) About the Display: Siemens
Chapter 6 PLL and Clock Generator
Chapter 6 PLL and Clock Generator The DSP56300 core features a Phase Locked Loop (PLL) clock generator in its central processing module. The PLL allows the processor to operate at a high internal clock
PowerPC Microprocessor Clock Modes
nc. Freescale Semiconductor AN1269 (Freescale Order Number) 1/96 Application Note PowerPC Microprocessor Clock Modes The PowerPC microprocessors offer customers numerous clocking options. An internal phase-lock
DT9836 Series. BNC Connection Box. OEM Embedded Version
BUS: USB DT9836 Type: Simultaneous Multifunction DT9836 Series Simultaneous Analog Input Multifunction Data Acquisition USB Modules Simultaneously Captured Analog Input Channels 12 separate 16-bit A/D
AN1200.04. Application Note: FCC Regulations for ISM Band Devices: 902-928 MHz. FCC Regulations for ISM Band Devices: 902-928 MHz
AN1200.04 Application Note: FCC Regulations for ISM Band Devices: Copyright Semtech 2006 1 of 15 www.semtech.com 1 Table of Contents 1 Table of Contents...2 1.1 Index of Figures...2 1.2 Index of Tables...2
AN4646 Application note
Application note Peripheral interconnections on STM32F401 and STM32F411 lines Introduction On top of the highest performance and the lowest power consumption of the STM32F4 family, STM32F401/411 peripherals
I 2 S bus specification
1.0 INTOUCTION Many digital audio systems are being introduced into the consumer audio market, including compact disc, digital audio tape, digital sound processors, and digital TV-sound. The digital audio
Designing an efficient Programmable Logic Controller using Programmable System On Chip
Designing an efficient Programmable Logic Controller using Programmable System On Chip By Raja Narayanasamy, Product Apps Manager Sr, Cypress Semiconductor Corp. A Programmable Logic Controller (PLC) is
AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR134: Real Time Clock (RTC) using the Asynchronous Timer Features Real Time Clock with Very Low Power Consumption (4 μa @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts
Application Note: AN00103 Enabling DSD256 in the USB Audio 2.0 Device Reference Design Software
Application Note: AN00103 Enabling DSD256 in the USB Audio 2.0 Device Reference Design Software The XMOS USB Audio 2.0 device software reference design software supports stereo DSD64 and DSD128 streaming
AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors
AVR1600: Using the XMEGA Quadrature Decoder Features Quadrature Decoders 16-bit angular resolution Rotation speed and acceleration 1 Introduction Quadrature encoders are used to determine the position
AN10849. LPC1700 RTC hardware auto calibration. Document information. RTC, Hardware Auto Calibration, LPC1700, Graphic LCD
Rev. 01 1 July 2009 Application note Document information Info Keywords Abstract Content RTC, Hardware Auto Calibration, LPC1700, Graphic LCD Using the LPC1700 RTC s auto calibration feature Revision history
Pulse Width Modulation
Pulse Width Modulation Pulse width modulation (PWM) is a powerful technique for controlling analog circuits with a microprocessor's digital outputs. PWM is employed in a wide variety of applications, ranging
Hollow Cylinder Apparatus (GDS SS-HCA)
HCA:1 Options available for SS-HCA Axial Load/Torque 1kN/1Nm 1kN/2Nm 12kN/2Nm 15kN/4Nm Dynamic upgrade frequencies Hollow Cylinder Apparatus (GDS SS-HCA).5Hz 2Hz 1Hz 5Hz Sample Height/Outer Ø/Inner Ø 2/1/6mm
Speed Controller 4-Quadrant PWM configurable via PC
4-Quadrant PWM configurable via PC For combination with: DC-Micromotors and Brushless DC-Servomotors Series Power supply for electronic Power supply for motor Max. continuous output current Max. peak output
TwinCAT NC Configuration
TwinCAT NC Configuration NC Tasks The NC-System (Numeric Control) has 2 tasks 1 is the SVB task and the SAF task. The SVB task is the setpoint generator and generates the velocity and position control
Lab 5 Getting started with analog-digital conversion
Lab 5 Getting started with analog-digital conversion Achievements in this experiment Practical knowledge of coding of an analog signal into a train of digital codewords in binary format using pulse code
SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION
1 SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION By Lannes S. Purnell FLUKE CORPORATION 2 This paper shows how standard signal generators can be used as leveled sine wave sources for calibrating oscilloscopes.
The Design of a Low-Cost and Robust Linkage Position Sensor
The Design of a Low-Cost and Robust Linkage Position Sensor Project Proposal By: Leann Vernon and Phillip Latka Advisor: Dr. Jose Sanchez December 16th, 2013 Table of Contents Introduction 2 Project Description..
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control
Microcontroller Programming Beginning with Arduino. Charlie Mooney
Microcontroller Programming Beginning with Arduino Charlie Mooney Microcontrollers Tiny, self contained computers in an IC Often contain peripherals Different packages availible Vast array of size and
FEATURES DESCRIPTION APPLICATIONS BLOCK DIAGRAM. PT2272 Remote Control Decoder
Remote Control Decoder DESCRIPTION PT2272 is a remote control decoder paired with PT2262 utilizing CMOS Technology. It has 12-bit of tri-state address pins providing a maximum of 531,441 (or 312) address
LSI/CSI LS7362 BRUSHLESS DC MOTOR COMMUTATOR/CONTROLLER DESCRIPTION:
LSI/CSI LS UL LSI Computer Systems, Inc. 1 Walt Whitman oad, Melville, NY 11 (1) 1-000 FAX (1) 1-00 A00 BUSHLESS DC MOTO COMMUTATO/CONTOLLE FEATUES: Speed Control by Pulse Width Modulating (PWM) only the
AFG-100/200 series USB Modular Arbitrary Function Generator. Date: Oct, 2014
AFG-100/200 series USB Modular Arbitrary Function Generator Date: Oct, 2014 Outline Product Overview Feature, Advantage and Benefit Comparison Chart Ordering Information 22 Product information AFG-125,
PART B QUESTIONS AND ANSWERS UNIT I
PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional
