Chapter 8 ARCB as PWM Controller to Drive Servo Motor

Size: px
Start display at page:

Download "Chapter 8 ARCB as PWM Controller to Drive Servo Motor"

Transcription

1 Chapter 8 ARCB as PWM Controller to Drive Servo Motor 8.1 Introduction PWM is one of the powerful techniques used in control systems today. They are not only employed in wide range of control applications which includes: speed control, power control, measurement and communication. In the presented work a PWM (pulse width modulation) controller is designed using robot control panel. This definitely proves the universality of the robot control panel as PWM controller which can be used in many embedded robots. PWM Basics Many embedded systems are built to have PWM as a hardware function since PWM is a cheap way to do digital to analog conversion. In PWM for example, a base frequency of say 1,000Hz and each cycle output a single pulse whose width varies from 0% of the period to 100% of the period. The base frequency of the PWM is f = 1/T so that the frequency content of a PWM signal will have frequencies at f and higher due to the base frequency. The signal information is transmitted by the duty cycle and will be, generally, a much lower frequency signal. Thus a relatively simple low pass filter can eliminate the frequencies at the base frequency and above and recover an analog signal from the PWM. The Philips LPC2138 has 6 channels of pulse width modulation. There are 7 registers to accommodate the PWM with register 0 being used to set the base frequency. Thus, since there is only one base frequency register all 6 channels must have the same base frequency. 110

2 PWM on the LPC2138 can be single edge or double edged. Single edge PWM is as shown in Figure-8.1. In double edge PWM the ending point of the pulse and the starting point of the pulse is a variable and can be set each cycle. In single edge PWM only the ending edge of the PWM is a variable and the starting edge is always set at the base frequency. PWM is activated with the help of square wave whose duty cycle is changed to get a varying voltage output as a result of average value waveform. Consider a square wave shown in Figure-8.1. T on is the time for which the output is high and T off is time for which output is low. Let T be the time period of the wave such that, T = T on + T off Duty cycle of a square wave is defined as The output voltage varies with duty cycle as Vout = D x Vin = x Vin 111

3 So it can be seen from the final equation the output voltage can be directly varied by varying the T on value. If T on is 0, Vout is also 0. If T on is T then Vout is Vin or say maximum. Volts T/2 T on T T off Time Figure-8.1: Single Edge Pulse Width Modulation. Single edge PWM requires one register (plus the base register) so that one can have 6 single edge channels of PWM on the LPC2138. For double edged PWM one need a base register plus a starting edge register plus an ending edge register so that only 3 channels of double edged PWM is available on the LPC2138. One can mix single and double edged channels as long as one doesn t run out of the 6 available registers. The Figure-8.2 below shows the LPC2138 PWM block diagram. 112

4 Figure-8.2: PWM Block Diagram Note that each PWM channel has its own timer/counter so that it does not use Timer0 or Timer1. 113

5 8.2 PWM Programming in ARM7 A PWM block, like a Timer block, has a Timer Counter and an associated Prescale Register along with Match Registers. These work exactly the same way as in the case of Timers. Match Registers 1 to 6 (except 0) are pinned on LPC213x i.e. the corresponding outputs are diverted to actual Pins on LPC213x MCU. The PWM function must be selected for these Pins to get the PWM output. These pins are given in Table-8.1. Output: PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 Pin Name: P0.0 P0.7 P0.1 P0.8 P0.21 P0.9 Table-8.1: PWM Pins. Note that PWM1 output corresponds to PWM Match Register 1 i.e PWMMR1, PWM2 output corresponds to PWMMR2, and so on. Also Match Register 0 i.e PWMMR0 is NOT pinned because it is used to generate the PWM Period. Also the PWM function must be selected for the pins mentioned above using appropriate PINSEL registers (PINSEL0 for PWM1,2,3,4,6 and PINSEL1 for PWM5). In LPC2138 there are 7 match registers inside the PWM block. Generally the first Match register PWMMR0 is used to generate PWM period and hence we are left with 6 Match Registers PWMMR1 to PWMMR6 to generate 6 Single Edge PWM signals or 3 Double Edge PWM signals. Double edge PWM uses 2 match registers hence one can get only 3 double edge outputs. The way this works in case of Single Edge PWM is as follows (and similarly for Double Edge): 1. Consider that our PWM Period duration is 6 milliseconds and TC increments every 1 millisecond using appropriate prescale value. 2. Now we set the match value in PWMMR0 as 6, this period will be same for all PWM outputs. 114

6 3. Then configure PWM block such that when TC reaches value in PWMMR0 it is reset and a new Period begins. 4. Now let s assume 2 PWM signals of Pulse widths 2ms and 4ms are requred. 5. So use PWMMR1 and PWMMR2 to get the 2 outputs. For that set PWMMR1 = 2 and PWMMR2 = Then, Everytime a new period starts the Pin corresponding to PWMMR1 and PWMMR2 will be set High by default. 7. Whenever the value in TC reaches PWMMR1 and PWMMR2 its output will be set to low respectively. Their outputs will remain low until the next Period starts after which their outputs again become high, hence giving Single Edge PWM. This can be shown in the timming diagram Figure-8.3. PWMMR1=2 PWMMR2=4 Timer Counter T=0ms 2ms 4ms 6ms 12ms Timer Counter Reset at PWMMR0 match Figure-8.3: Timming Diagram Single Edge PWM. Rules for Single Edge Controlled PWM Outputs 1. All single edge controlled PWM outputs go high at the beginning of a PWM cycle unless their match value is equal to Each PWM output will go low when its match value is reached. If no match occurs (i.e. the match value is greater than the PWM rate), the PWM output remains continuously high. 115

7 Rules for Double Edge Controlled PWM Outputs Five rules are used to determine the next value of a PWM output when a new cycle is about to begin: 1. The match values for the next PWM cycle are used at the end of a PWM cycle (a time point which is coincident with the beginning of the next PWM cycle), except as noted in rule A match value equal to 0 or the current PWM rate (the same as the Match channel 0 value) has the same effect, except as noted in rule 3. For example, a request for a falling edge at the beginning of the PWM cycle has the same effect as a request for a falling edge at the end of a PWM cycle. 3. When match values are changing, if one of the "old" match values is equal to the PWM rate, it is used again once if the neither of the new match values are equal to 0 or the PWM rate, nor there was no old match value equal to If both a set and a clear of a PWM output are requested at the same time, clear takes precedence. This can occur when the set and clear match values are the same as in, or when the set or clear value equals 0 and the other value equals the PWM rate. 5. If a match value is out of range (i.e. greater than the PWM rate value), no match event occurs and that match channel has no effect on the output. This means that the PWM output will remain always in one state, allowing always low, always high, or "no change" outputs. The last 6 Match Registers i.e PWMMR1 to PWMMR6 have an associated PIN from which we get the PWM outputs. The PWM block controls the output of these pins depending on the value in its corresponding Match Register. For Single Edged PWM these Pins are set to High by default when a new Period starts i.e when TC is reset as per the PWM Rules given above. 116

8 Note that the width of the Pulse is stored in the Match Register. One can change the width of the pulse by changing the value in the corresponding Match register using a special register called Latch Enable Register which is used to control the way Match Registers get updated. Some of the important register in the PWM block is discusses below. 1) PWMTCR: PWM Timer Control Register This register is used to control the Timer Counter inside the PWM block. Only Bits: 0, 1 & 3 are used rest are reserverd. Bit 0: This bit is used to Enable/Disable Counting. When 1 both PWM Timer counter and PWM Prescale counter are enabled. When 0 both are disabled. Bit 1: This bit is used to reset both Timer and Prescale counter inside the PWM block. When set to 1 it will reset both of them (at next edge of PCLK). Bit 3: This is used to enable the PWM mode i.e the PWM outputs. Other Bits: Reserved. 2) PWMPR: PWM Prescale Register PWMPR is used to control the resolution of the PWM outputs. The Timer Counter(TC) will increment every PWMPR+1 Peripheral Clock Cycles (PCLK). 3) PWMMR0 PWMMR6: Match Registers These are the seven Match registers as explained above which contain Pulse Width Values i.e the Number of PWMTC Ticks. 4) PWMMCR: PWM Match Control Registers The PWM Match Control Register is used to specify what operations can be done when the value in a particular Match register equals the value in TC. For each Match Register we have 3 options: Either generate an Interrupt, or Reset the TC, or Stop, which stops the counters and disables PWM. Hence 117

9 this register is divided into group of 3 bits. The first 3 bits are for Match Register 0 i.e PWMMR0, next 3 for PWMMR1, and so on: Bit 0: Interrupt on PWMMR0 Match If set to 1 then it will generate an Interrupt else disable if set to 0. Bit 1: Reset on PWMMR0 Match If set to 1 it will reset the Timer Counter i.e PWMTC else disabled if set to 0. Bit 2: Stop on PWMMR0 Match If this bit is set 1 then both PWMTC and PWMPC will be stopped and will also make Bit 0 in PWMTCR to 0 which in turn will disable the Counters. Similarly {Bits 3,4,5} for PWMMR1, {Bits 6,7,8} for PWMMR2, {Bits 9,10,11} for PWMMR3,{Bits 12,13,14} for PWMMR4,{Bits 15,16,17} for PWMMR5, {Bits 18,19,20} for PWMMR6. 5) PWMIR: PWM Interrupt Register If an interrupt is generated by any of the Match Register then the corresponding bit in PWMIR will be set high. Writing a 1 to the corresponding location will clear that interrupt. Here: Bits 0,1,2,3 are for PWMMR0, PWMMR1, PWMMR2, PWMMR3 respectively and Bits 8,9,10 are for PWMMR4, PWMMR5, PWMMR6 respectively. Other bits are reserved. 6) PWMLER: Latch Enable Register The PWM Latch Enable Register is used to control the way Match Registers are updated when PWM generation is active. When PWM mode is active and we apply new values to the Match Registers the new values won t get applied immediately. Instead what happens is that the value is written to a Shadow Register. It can be thought of as a duplicate Match Register. Each Match Register has a corresponding Shadow Register. The value in this Shadow Register is transferred to the actual Match Register when: 118

10 1) PWMTC is reset (i.e at the beginning of the next period). 2) And the corresponding Bit in PWMLER is 1. Hence only when these 2 conditions are satisfied the value is copied to Match Register. Bit x in PWMLER corresponds to match Register x. I.e Bit 0 is for PWMMR0, Bit 1 for PWMMR1, and so on. Using PWMLER will be covered in the examples section. 7) PWMPCR: PWM Control Register This register is used for Selecting between Single Edged & Double Edged outputs and also to Enable/Disable the 6 PWM outputs which go to their corresponding Pins. Bits 2 to 6 are used to select between Single or Double Edge mode for PWM 2,3,4,5,6 outputs. a) Bit 2 : If set to 1 then PWM2(i.e the one corresponding to PWMMR2) output is double edged else if set 0 then its Single Edged. b) Similarly {Bits 3,4,5,6} for PWM3, PWM4, PWM5, PWM6 respectively. Bits 9 to 14 are used to Enable/Disable PWM outputs. a) Bit 9: If set to 1 then PWM1 output is enabled, else disabled if set to 0. b) Similarly {Bit 10,11,12,13,14} for PWM2, PWM3, PWM4, PWM5, PWM6 respectively. 119

11 Configuring and Initializing PWM Configuring PWM is very much similar to Configuring Timer except, additionally, one need to enable the outputs and select PWM functions for the corresponding PIN on which output will be available. But first we need to do some basic Math Calculations for defining the Period time, the resolution using a prescale value and then Pulse Widths. For this First we need to define the resolution of out PWM signal. Here the PWM resolution is the minimum increment that can use to increase or decrease the pulse width. Smaller the increment more fine will be the resolution. This resolution is defined using an appropriate Prescale Value. The calculation for Prescale is the same as the Timer given below: PWM Prescale (PWMPR) Calculations: The delay or time required for Y clock cycles of PCLK at X MHz is given by: Taking PR into consideration one get Y = PR+1. Now, consider that PCLK is running at 60Mhz then X=60. Hence if we use Y=60 i.e PR=59 then we get a delay of exact 1 micro-second(s). So with PR=59 and 60Mhz our formula reduces to: Similarly when, Y=60000 i.e. PR = the delay will be 1 milli-second(s): 120

12 This delay which is defined using Prescale will be the delay required for TC to increment by 1 i.e TC will increment every PR+1 Peripheral Clock Cycles (PCLK). Now, after working out the resolution, one can now Set and Initialize the PWM device as per the following steps: 1. Select the PWM function for the PIN on which you need the PWM output using PINSEL0/1 register. 2. Select Single Edge or Double Edge Mode using PWMPCR. By default it s Single Edge Mode. 3. Assign the Calculated value to PR. 4. Set the Value for PWM Period in PWMMR0. 5. Set the Values for other Match Registers i.e the Pulse Widths. 6. Set appropriate bit values in PWMMCR. For e.g. resetting PWMTC for PWMMR0 match and optionally generate interrupts if required. 7. Set Latch Enable Bits for the Match Registers that is to be used. 8. Then Enable PWM outputs using PWMPCR. 9. Now Reset PWM Timer using PWMTCR. Finally, enable Timer, Counter and PWM Mode using PWMTCR. 121

13 8.3 DC Servo Motor and Its Working Principle A servo motor is an electromechanical device in which the electrical input determines the position of motor armature. It is actually an assembly of four things: a normal DC motor, a gear reduction unit, a position-sensing device and a control circuit. Servo motors are used extensively in robotics industry and radio-controlled cars. DC servo motors are working in a closed loop control systems where the programmed positions of motion and velocity feedback controllers are required. A simplest method to control the rotation speed of a DC motor is to control its driving voltage. The higher the voltage is the higher speed the motor tries to reach. Servos are controlled by a pulse of variable width. The sent signal of this input pulse is characterized by a minimum pulse, maximum, and a repetition rate as shown in Figure-8.1. Given the rotation constraints of the servo, neutral is defined to be the position where the servo has exactly the same amount of potential rotation in a clockwise direction as it is in a counter clockwise direction.the servo should detect a pulse every 20 ms. The length of the pulse will determine how far the motor turns. For example, a 1.5 ms pulse will make the motor turn to a 90 degree position (neutral position). The position pulse must be repeated to instruct the servo to stay in position. In many applications, a simple voltage regulation would cause lots of power loss on control circuit, thus, a pulse width modulation method (PWM) is used in many DC motor controlling applications. In the basic PWM method, the operating power to the motors is turned ON and OFF to modulate the current to the motor. The PWM control method uses the widths of pulses in a pulse train to control the speed of the motor. In the presented work Parallex standard servo is used and controlled using PWM controller based on robot control panel. The specifications of 122

14 Parallax standart servo is given below in Table-8.2. Figure-8.4 shows the different pulse length and Parallax standard servo position. Power Requirements Communication Dimentions Operating Temperature Range Wieght 4 to 6V VDC, maximum current draw is 140 +/- 50mA at 6 VDC when operating in no load conditions, 15mA when in static state PWM, ms high pulse, 20ms intervals 2.2x0.8x1.6 inch excluding servo horn -10 to +50 C 44g Table-8.2: Parallax Standard Servo Specifications. Figure-8.4: PWM pulse length changes to control servo position. 123

15 The mathematical model of DC servo motor can be simplified by means of the equivalent circuit as shown in the Figure-8.5. Figure-8.5: DC Servo Motor Equivalent Circuit. The electrical part represented by armature and the mechanical part by T and J. As the field excitation is constant, the armature controller only depends on armature voltage. The mechanical equations describing this system can be written with the assumptions that the loss is included in load torque and neglecting viscous friction constant as given below, With, E b = Kω and T e = Ki Where i = armeture current, V a = armeture voltage, R a = armeture resistance, L a = armeture inductance, K = torque and back electromagnetic constant, ω = rotor angular speed, T e = electromagnetic torque, T = total load torque, J = rotor inertia. The control input is the armature voltage V a and the total load torque T is the disturbing input. The two state variables are armature current i and angular 124

16 speed ω. Then the previous equations lead to the state space model of DC motor: The two state variables excited the angular speed in order to perform a speed regulator related with the angular speed. Therefore, ω is considered as the output of the system and V a is the input. Taking into account only these two system variables, the transfer function of the DC motor is: The two time constants are defined as: Electrical time constant, And electro mechanical time constant, Therefore, 125

17 8.4 Experimental Setup PWM1 output from Pin P0.0 is used to control a RC Servo Motor. Four tactile switches are also used to bring the Servo at 4 different positions. P0.1, P0.2, P0.3, P0.4 will be used to take the input from the switches. One end of the tactile switches will be connected to each of these Pins and other end will be connected to ground. External 5V-6V supply source to drive the servo. Servos can work with 3.3v voltage levels for input PWM signal; hence we just need to connect the MCU PWM Output to Servo PWM Input wire. Figure-8.6 shows the schametic diagram of PWM controller using ARCB. When the user will press P1.16 the Pulse width will be 1ms, and similarly when the user presses P1.17, P1.18, and P1.19 the Pulse Width will change to 1.25ms, 1.5ms and 1.75ms respectively and hence Servo will change its position correspondingly. SW4 SW3 ARCB l P1.19 P1.18 P1.17 P1.16 P0.0 VCC GND GND SW2 SW1 PWM IN Servo Motor VCC GND Power Supply Figure-8.6: PWM Controller Schametic. 126

18 8.5 Software Implementation The software is written in the Embedded C language using the Keil µvision IDE. Program for PWM initialization, PLL intialization and PWM generation on P0.0 pin of robot control panel is self explanatory and is given as below: #include <lpc213x.h> #define PLOCK 0x #define PWMPRESCALE 60 void initpwm(void); void initclocks(void); int main(void) { initclocks(); //Initialize CPU and Peripheral 60Mhz initpwm(); //Initialize PWM while(1) { if(!((io1pin) & (1<<16)) ) // Check P1.16 { PWMMR1 = 1000; PWMLER = (1<<1); //Update Latch Enable bit for PWMMR1 } else if(!((io1pin) & (1<<17)) ) // Check P1.17 { PWMMR1 = 1250; 127

19 PWMLER = (1<<1); } else if(!((io1pin) & (1<<18)) ) // Check P1.18 { PWMMR1 = 1500; PWMLER = (1<<1); } else if(!((io1pin) & (1<<19)) ) // Check P1.19 { PWMMR1 = 1750; PWMLER = (1<<1); } } } void initpwm(void) { PINSEL0 = (1<<1); // Select PWM1 output for Pin0.0 PWMPCR = 0x0; //Select Single Edge PWM PWMPR = PWMPRESCALE-1; // 1 micro-second resolution PWMMR0 = 20000; // 20ms = 20k us - period duration PWMMR1 = 1000; // 1ms - pulse duration i.e width PWMMCR = (1<<1); // Reset PWMTC on PWMMR0 match PWMLER = (1<<1) (1<<0); // update MR0 and MR1 128

20 PWMPCR = (1<<9); // enable PWM output PWMTCR = (1<<1); //Reset PWM TC & PR PWMTCR = (1<<0) (1<<3); // enable counters and PWM Mode } void initclocks(void) { PLLCON = 0x01; // PPLE=1 & PPLC=0 so it will be enabled PLLCFG = 0x24; // set the multipler to 5 (i.e actually 4) // i.e 12x5 = 60 Mhz (M - 1 = 4) // Set P=2 since we want FCCO in range PLLFEED = 0xAA; PLLFEED = 0x55; while(!( PLLSTAT & PLOCK )); PLLCON = 0x03; PLLFEED = 0xAA; PLLFEED = 0x55; } VPBDIV = 0x01; // PCLK is same as CCLK i.e 60Mhz 129

21 8.6 Results and Conclusion The simulation is used to validate the results obtained from Keil µvision4 logic analyzer during debug session. Figure-8.7 shows the different PWM signals generated in the logic analyzer screen which is the required pulse to drive the DC servo motor. (a) Pulse width 1ms, P1.16 pressed. (b) Pulse width 1.25ms, P1.17 pressed 130

22 (c) Pulse width 1.50ms, P1.18 pressed. (d) Pulse width 1.75ms, P1.19 pressed Figure-8.7: PWM Signals on PWM1 The actual setup for PWM controller using LPC2138 based robot control panel to drive servo motor is shown in Figure

23 Figure-8.8: PWM Controller Actual Experimental Setup. This chapter provides the design and development of PWM controller based on ARCB to run DC servo motor. The design can be extended upto six PWM channels. Simulation results on the Keil IDE have proven its correctness and usefullness. 132

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

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

More information

CHAPTER 11: Flip Flops

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

More information

Pulse Width Modulation Applications

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

More information

ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation

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

More information

Timer A (0 and 1) and PWM EE3376

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

More information

Basic Pulse Width Modulation

Basic Pulse Width Modulation EAS 199 Fall 211 Basic Pulse Width Modulation Gerald Recktenwald v: September 16, 211 gerry@me.pdx.edu 1 Basic PWM Properties Pulse Width Modulation or PWM is a technique for supplying electrical power

More information

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

More information

Servo Info and Centering

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

More information

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

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

More information

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

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

More information

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

A 5 Degree Feedback Control Robotic Arm (Haptic Arm) A 5 Degree Feedback Control Robotic Arm (Haptic Arm) 1 Prof. Sheetal Nirve, 2 Mr.Abhilash Patil, 3 Mr.Shailesh Patil, 4 Mr.Vishal Raut Abstract: Haptics is the science of applying touch sensation and control

More information

Section 14. Compare/Capture/PWM (CCP)

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

More information

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

More information

Pulse Width Modulation

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

More information

Using the Motor Controller

Using the Motor Controller The Motor Controller is designed to be a convenient tool for teachers and students who want to use math and science to make thing happen. Mathematical equations are the heart of math, science and technology,

More information

1/22/16. You Tube Video. https://www.youtube.com/watch?v=ympzipfabyw. Definitions. Duty Cycle: on-time per period (specified in per cent)

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

More information

Interfacing Analog to Digital Data Converters

Interfacing Analog to Digital Data Converters Converters In most of the cases, the PIO 8255 is used for interfacing the analog to digital converters with microprocessor. We have already studied 8255 interfacing with 8086 as an I/O port, in previous

More information

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

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

More information

DC Motor control Reversing

DC Motor control Reversing January 2013 DC Motor control Reversing and a "Rotor" which is the rotating part. Basically there are three types of DC Motor available: - Brushed Motor - Brushless Motor - Stepper Motor DC motors Electrical

More information

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

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,

More information

Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

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

More information

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT ELECTRONICS ENGINEERING DEPARTMENT SVNIT, SURAT-395007, INDIA Prepared by: Anurag Gupta (U05EC401) Dhrumeel Bakshi (U05EC326) Dileep Dhakal

More information

Arduino Motor Shield (L298) Manual

Arduino Motor Shield (L298) Manual Arduino Motor Shield (L298) Manual This DFRobot L298 DC motor driver shield uses LG high power H-bridge driver Chip L298P, which is able to drive DC motor, two-phase or four phase stepper motor with a

More information

Step Response of RC Circuits

Step Response of RC Circuits Step Response of RC Circuits 1. OBJECTIVES...2 2. REFERENCE...2 3. CIRCUITS...2 4. COMPONENTS AND SPECIFICATIONS...3 QUANTITY...3 DESCRIPTION...3 COMMENTS...3 5. DISCUSSION...3 5.1 SOURCE RESISTANCE...3

More information

B0099 - Robo Claw 2 Channel 5A Motor Controller Data Sheet

B0099 - Robo Claw 2 Channel 5A Motor Controller Data Sheet B0099 - Robo Claw 2 Channel 5A Motor Controller Feature Overview: 2 Channel at 5A, Peak 7A Hobby RC Radio Compatible Serial Mode TTL Input Analog Mode 2 Channel Quadrature Decoding Thermal Protection Lithium

More information

STEPPER MOTOR SPEED AND POSITION CONTROL

STEPPER MOTOR SPEED AND POSITION CONTROL STEPPER MOTOR SPEED AND POSITION CONTROL Group 8: Subash Anigandla Hemanth Rachakonda Bala Subramanyam Yannam Sri Divya Krovvidi Instructor: Dr. Jens - Peter Kaps ECE 511 Microprocessors Fall Semester

More information

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

More information

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

More information

Lab 4: Pulse Width Modulation and Introduction to Simple Virtual Worlds (PWM) (PWM)

Lab 4: Pulse Width Modulation and Introduction to Simple Virtual Worlds (PWM) (PWM) 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) Virtual Spring and Virtual Wall 2 Virtual Spring

More information

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours)

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours) nfi Industrial Automation Training Academy Presents PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours) For: Electronics & Communication Engineering Electrical Engineering Instrumentation

More information

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors Applied and Computational Mechanics 3 (2009) 331 338 Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors M. Mikhov a, a Faculty of Automatics,

More information

Atmel Norway 2005. XMEGA Introduction

Atmel Norway 2005. XMEGA Introduction Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K

More information

INTRODUCTION TO SERIAL ARM

INTRODUCTION TO SERIAL ARM INTRODUCTION TO SERIAL ARM A robot manipulator consists of links connected by joints. The links of the manipulator can be considered to form a kinematic chain. The business end of the kinematic chain of

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

Display Board Pulse Width Modulation (PWM) Power/Speed Controller Module

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

More information

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

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

More information

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC YEDITEPE UNIVERSITY ENGINEERING & ARCHITECTURE FACULTY INDUSTRIAL ELECTRONICS LABORATORY EE 432 INDUSTRIAL ELECTRONICS EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC Introduction:

More information

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015 Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) The standard tuning values used in ADVANCED Motion Controls drives are conservative and work well in over 90%

More information

Adding Heart to Your Technology

Adding Heart to Your Technology RMCM-01 Heart Rate Receiver Component Product code #: 39025074 KEY FEATURES High Filtering Unit Designed to work well on constant noise fields SMD component: To be installed as a standard component to

More information

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India info@robokits.co.in http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to

More information

RCDC1 Radio Controlled Device Controller- 1 Channel

RCDC1 Radio Controlled Device Controller- 1 Channel RCDC1 Radio Controlled Device Controller- 1 Channel When the Mode Switch is in Position 1, Moving the joystick forward turns on the relay. When the joystick returns to center, the relay goes off (momentary

More information

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. http://www.muzique.com/news/mosfet-body-diodes/. Accessed 22/12/09.

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. http://www.muzique.com/news/mosfet-body-diodes/. Accessed 22/12/09. Pulse width modulation Pulse width modulation is a pulsed DC square wave, commonly used to control the on-off switching of a silicon controlled rectifier via the gate. There are many types of SCR s, most

More information

PCM Encoding and Decoding:

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

More information

2.6. In-Laboratory Session. 2.6.1. QICii Modelling Module. Modelling. 2.6.1.1. Module Description

2.6. In-Laboratory Session. 2.6.1. QICii Modelling Module. Modelling. 2.6.1.1. Module Description 2.6. In-Laboratory Session 2.6.1. QICii Modelling Module 2.6.1.1. Module Description The main tool for this lab is the front panel of the module entitled Modelling in the QICii software, which should be

More information

Brushless DC motor control using the LPC2141. LPC2148, ARM7, Brushless DC motor control

Brushless DC motor control using the LPC2141. LPC2148, ARM7, Brushless DC motor control Rev. 01 17 October 2007 Application note Document information Info Keywords Abstract Content LPC2148, ARM7, Brushless DC motor control This application note demonstrates the use of a low cost ARM7 based

More information

Lab Experiment 1: The LPC 2148 Education Board

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,

More information

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor Jaswandi Sawant, Divyesh Ginoya Department of Instrumentation and control, College of Engineering, Pune. ABSTRACT This

More information

Software Manual RS232 Laser Merge Module. Document # SU-256521-09 Rev A

Software Manual RS232 Laser Merge Module. Document # SU-256521-09 Rev A Laser Merge Module Document # SU-256521-09 Rev A The information presented in this document is proprietary to Spectral Applied Research Inc. and cannot be used for any purpose other than that for which

More information

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield

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

More information

Operational Amplifier - IC 741

Operational Amplifier - IC 741 Operational Amplifier - IC 741 Tabish December 2005 Aim: To study the working of an 741 operational amplifier by conducting the following experiments: (a) Input bias current measurement (b) Input offset

More information

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc.

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc. 1 How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc. The territory of high-performance motor control has

More information

HT46R14A Single Phase AC Induction Motor Frequency Converter Application

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

More information

Allen-Bradley/Rockwell

Allen-Bradley/Rockwell MANUFACTURER DATA SHEET High Speed Counter Manufacturer: Allen-radley/Rockwell Model Number: 1746-HSCE See www.geomartin.com for additional PDF datasheets Martin Part Number: E-014901-03 VendorPartNumber:

More information

DCMS DC MOTOR SYSTEM User Manual

DCMS DC MOTOR SYSTEM User Manual DCMS DC MOTOR SYSTEM User Manual release 1.3 March 3, 2011 Disclaimer The developers of the DC Motor System (hardware and software) have used their best efforts in the development. The developers make

More information

M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features

M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features 512-Kbit, serial flash memory, 50 MHz SPI bus interface Features 512 Kbits of flash memory Page program (up to 256 bytes) in 1.4 ms (typical) Sector erase (256 Kbits) in 0.65 s (typical) Bulk erase (512

More information

The quadrature signals and the index pulse are accessed through five 0.025 inch square pins located on 0.1 inch centers.

The quadrature signals and the index pulse are accessed through five 0.025 inch square pins located on 0.1 inch centers. Quick Assembly Two and Three Channel Optical Encoders Technical Data HEDM-550x/560x HEDS-550x/554x HEDS-560x/564x Features Two Channel Quadrature Output with Optional Index Pulse Quick and Easy Assembly

More information

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package. PRESETTABLE BCD/DECADE UP/DOWN COUNTERS PRESETTABLE 4-BIT BINARY UP/DOWN COUNTERS The SN54/74LS90 is a synchronous UP/DOWN BCD Decade (842) Counter and the SN54/74LS9 is a synchronous UP/DOWN Modulo-6

More information

Counters and Decoders

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

More information

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors Electronics Exercise 3: Uni-Polar Stepper Motor Controller / Driver Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles

More information

Analog Servo Drive 25A8

Analog Servo Drive 25A8 Description Power Range NOTE: This product has been replaced by the AxCent family of servo drives. Please visit our website at www.a-m-c.com or contact us for replacement model information and retrofit

More information

DMX2PWM 9 Channel Dimmer Setup Manual

DMX2PWM 9 Channel Dimmer Setup Manual DMX2PWM 9 Channel Dimmer Setup Manual www.ecue.de DMX2PWM 9ch Dimmer - Setup Manual e:cue control GmbH An OSRAM Company Rev. 1.3_01/2010 DMX2PWM 9ch Dimmer - Setup Manual Table of Contents 1. Device Overview....................................4

More information

Micro-Step Driving for Stepper Motors: A Case Study

Micro-Step Driving for Stepper Motors: A Case Study Micro-Step Driving for Stepper Motors: A Case Study N. Sedaghati-Mokhtari Graduate Student, School of ECE, University of Tehran, Tehran, Iran n.sedaghati @ece.ut.ac.ir Abstract: In this paper, a case study

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

8254 PROGRAMMABLE INTERVAL TIMER

8254 PROGRAMMABLE INTERVAL TIMER PROGRAMMABLE INTERVAL TIMER Y Y Y Compatible with All Intel and Most Other Microprocessors Handles Inputs from DC to 10 MHz 8 MHz 8254 10 MHz 8254-2 Status Read-Back Command Y Y Y Y Y Six Programmable

More information

A Lesson on Digital Clocks, One Shots and Counters

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

More information

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA Speed Control Methods of Various Types of Speed Control Motors Kazuya SHIRAHATA Oriental Motor Co., Ltd. offers a wide variety of speed control motors. Our speed control motor packages include the motor,

More information

Lecture - 4 Diode Rectifier Circuits

Lecture - 4 Diode Rectifier Circuits Basic Electronics (Module 1 Semiconductor Diodes) Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati Lecture - 4 Diode Rectifier Circuits

More information

Datasheet of the Easy Servo Drive ES-D808. 24-75VDC, 8.2A Peak, Close-loop, No Tuning. Version 0.1.0. http://www.leadshine.com

Datasheet of the Easy Servo Drive ES-D808. 24-75VDC, 8.2A Peak, Close-loop, No Tuning. Version 0.1.0. http://www.leadshine.com Datasheet of the Easy Servo Drive ES-D808 4-75VDC, 8.A Peak, Close-loop, No Tuning Version 0.1.0 http://www.leadshine.com Features Step and direction control Closed position loop for no loss of movement

More information

A Lesson on Digital Clocks, One Shots and Counters

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

More information

Lesson 16 Analog-to-Digital Converter (ADC)

Lesson 16 Analog-to-Digital Converter (ADC) Lesson 16 Analog-to-Digital Converter (ADC) 1. Overview In this lesson, the Analog-to-Digital Converter (ADC) of the Cortex-M3 is introduced. For detailed description of the features and controlling options

More information

Small Hardware Development and Prototyping Board for the SX28

Small Hardware Development and Prototyping Board for the SX28 Project Report: Small Hardware Development and Prototyping Board for the SX28 Project Number: PR57 1. Project Description 2. Schematic Diagram 3. Physical Diagram 4. Component Layout Diagram 5. Bill of

More information

Pulse width modulation

Pulse width modulation Pulse width modulation DRAFT VERSION - This is part of a course slide set, currently under development at: http://mbed.org/cookbook/course-notes We welcome your feedback in the comments section of the

More information

What Is Regeneration?

What Is Regeneration? What Is Regeneration? Braking / Regeneration Manual Regeneration Overview Revision 1.0 When the rotor of an induction motor turns slower than the speed set by the applied frequency, the motor is transforming

More information

RENESAS TECHNICAL UPDATE

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

More information

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME The national association for AMATEUR RADIO ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME This supplement is intended for use with the ARRL Morse Code Oscillator kit, sold separately.

More information

Talon and Talon SR User Manual

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,

More information

The 2N3393 Bipolar Junction Transistor

The 2N3393 Bipolar Junction Transistor The 2N3393 Bipolar Junction Transistor Common-Emitter Amplifier Aaron Prust Abstract The bipolar junction transistor (BJT) is a non-linear electronic device which can be used for amplification and switching.

More information

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

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,

More information

AN2680 Application note

AN2680 Application note Application note Fan speed controller based on STDS75 or STLM75 digital temperature sensor and ST72651AR6 MCU Introduction This application note describes the method of defining the system for regulating

More information

Chapter 6 PLL and Clock Generator

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

More information

ServoPAL (#28824): Servo Pulser and Timer

ServoPAL (#28824): Servo Pulser and Timer Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Experiment 8 : Pulse Width Modulation

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

More information

Motor Control using NXP s LPC2900

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

More information

Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist.

Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist. Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist. Abstract. I have been asked to put together a detailed article on a SWR meter. In this article I will deal

More information

Chapter 11 SERVO VALVES. Fluid Power Circuits and Controls, John S.Cundiff, 2001

Chapter 11 SERVO VALVES. Fluid Power Circuits and Controls, John S.Cundiff, 2001 Chapter 11 SERVO VALVES Fluid Power Circuits and Controls, John S.Cundiff, 2001 Servo valves were developed to facilitate the adjustment of fluid flow based on the changes in the load motion. 1 Typical

More information

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

More information

HT1632C 32 8 &24 16 LED Driver

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

More information

Accurate Measurement of the Mains Electricity Frequency

Accurate Measurement of the Mains Electricity Frequency Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC dogan@neu.edu.tr Abstract The frequency of the mains electricity supply

More information

Manufacturing Equipment Modeling

Manufacturing Equipment Modeling QUESTION 1 For a linear axis actuated by an electric motor complete the following: a. Derive a differential equation for the linear axis velocity assuming viscous friction acts on the DC motor shaft, leadscrew,

More information

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm Six-servo Robot Arm 1 1, Introduction 1.1, Function Briefing Servo robot, as the name suggests, is the six servo motor-driven robot arm. Since the arm has a few joints, we can imagine, our human arm, in

More information

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the

More information

0832 Dot Matrix Green Display Information Board User s Guide

0832 Dot Matrix Green Display Information Board User s Guide 0832 Dot Matrix Green Display Information Board User s Guide DE-DP105_Ver1.0 0832 DOT MATRIX GREEN DISPLAY INFORMATI BOARD USER S GUIDE Table of contents Chapter1.Overview... 1 1.1. Welcome... 1 1.2. Quick

More information

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual DMX-K-DRV Integrated Step Motor Driver + (Basic Controller) Manual DMX-K-DRV Manual page 1 rev 1.33 COPYRIGHT 2007 ARCUS, ALL RIGHTS RESERVED First edition, June 2007 ARCUS TECHNOLOGY copyrights this document.

More information

Optical Encoders. K. Craig 1. Actuators & Sensors in Mechatronics. Optical Encoders

Optical Encoders. K. Craig 1. Actuators & Sensors in Mechatronics. Optical Encoders Any transducer that generates a coded reading of a measurement can be termed an encoder. Shaft Encoders are digital transducers that are used for measuring angular displacements and velocities. Relative

More information

AN3332 Application note

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

More information

INDUCTION MOTOR PERFORMANCE TESTING WITH AN INVERTER POWER SUPPLY, PART 2

INDUCTION MOTOR PERFORMANCE TESTING WITH AN INVERTER POWER SUPPLY, PART 2 INDUCTION MOTOR PERFORMANCE TESTING WITH AN INVERTER POWER SUPPLY, PART 2 By: R.C. Zowarka T.J. Hotz J.R. Uglum H.E. Jordan 13th Electromagnetic Launch Technology Symposium, Potsdam (Berlin), Germany,

More information

Work with Arduino Hardware

Work with Arduino Hardware 1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running

More information

AN111: Using 8-Bit MCUs in 5 Volt Systems

AN111: Using 8-Bit MCUs in 5 Volt Systems This document describes how to incorporate Silicon Lab s 8-bit EFM8 and C8051 families of devices into existing 5 V systems. When using a 3 V device in a 5 V system, the user must consider: A 3 V power

More information

AC 2007-2485: PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD)

AC 2007-2485: PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD) AC 2007-2485: PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD) Samuel Lakeou, University of the District of Columbia Samuel Lakeou received a BSEE (1974) and a MSEE (1976)

More information

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies Soonwook Hong, Ph. D. Michael Zuercher Martinson Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies 1. Introduction PV inverters use semiconductor devices to transform the

More information