Understanding RC Servos and DC Motors What You’Ll Learn

Total Page:16

File Type:pdf, Size:1020Kb

Understanding RC Servos and DC Motors What You’Ll Learn Understanding RC Servos and DC Motors What You’ll Learn • How an RC servo and DC motor operate • Understand the electrical and mechanical details • How to interpret datasheet specifications and properly apply them in your application • How your controller selection can impact performance • Pros and Cons of selecting an RC Servo or DC Motor LifeApe Brief Overview •LifeApe Difference • Provide low cost controllers with easy to use software • Develop customized hardware and software products starting with small volumes • Deliver free application assistance for component selection, wiring, software development What Does It Mean to “Servo”? • Strictly speaking – there is no such thing as a servo motor • Servomechanism – is a system, not a “thing”. Consists of: • Feedback device (sensor) to measure external phenomena • Position, speed, torque, current, voltage, pressure, altitude, etc… • Compensator - Mathematical function that governs how the process is regulated • Plant – Physical thing you are trying to control Position PLANT Command Error COMPENSATOR MOTOR GEARHEAD + - FEEDBACK Actual Position POTENTIOMETER Quick RC Servo Introduction • RC servo → DC motor plus additional components needed for a servomechanism • RC Servos come in many different sizes • Standard, Pico, Micro, Giant, Tiny, Mini, Low Profile, Jumbo, … • Rotate either 90° or 180° total • Specialty servos can rotate continuously • Consist of 3 Wires • Power (4.5 VDC to 6 VDC), Ground, Signal (Control) • Standard pinout but different wire colors • Connector is not keyed so it can be plugged in backwards or misaligned RC Servo Physical Construction • RC Servo Components 360⁰ Hack • Gears (plastic or metal) • Bearings or Bushings • DC motor • Potentiometer • Electronics RC Servo Electrical Interface • Control is performed using Pulse Width Modulation (PWM) • Digital pulse train with constant frequency and variable duty cycle • Duration of the duty cycle (on time) controls the position of the RC servo • RC Servo Typical Timing: • Frequency → 20ms (50 Hz) • Neutral Position → 1.5 ms (7.5% Duty Cycle) → 0° position • Position Limit(max) → 1.0 ms (5% Duty Cycle) → -45° to -90° position • Position Limit(min) → 2.0 ms (10% Duty Cycle) → 45° to 90° position Analog and Digital RC Servos • No physical or component differences • Difference is all electrical • Analog Servo Update Rate = 50 Hz (20 ms) • Digital Servo Update Rate = 300 Hz (3.5 ms) Characteristic Advantage Comment Servo Response Digital Digital servos produce higher acceleration and better overall response Deadband Digital Digital servos can provide programmable deadband down to zero Disturbance Response Digital Generate “snappier” response to load change Position Accuracy Digital Lower deadband results in more accurate positioning Cost Analog Analog servos are substantially lower cost Holding Torque Digital Provides stiffer feel when stationary Power Consumption Analog Digital servos consumer 2x to 4x their analog equivalent Analog Vs. Digital Servos Continued Understanding the Specs Deadband Gear Type Voltage Pulse Width Speed Torque Current Weight Dimensions Width Material Analog 4.8 to 6.0 500us to 2ms 0.12 sec/60° 48 oz-in 4 us No Load Metal 0.3 oz L x W x H Digital Stall Plastic • Speed • Measurement of the time it takes the servo to rotate a certain number of degrees. • Has been standardized in most specifications to 60 degrees. In other words, the time it takes the servo wheel/arm to turn 60°. • Torque • Determines the maximum amount of rotational force the servo can apply at a right angle to a lever Application Considerations • Controller Controller RC Servo Accuracy • Software ease of use and flexibility Resolution Accuracy Difference • Adjust the min and max pulse widths • Set limits to guard against mechanical stops 16-bit 0.054° NA • Controller Resolution (see table) • Servo Power Supply 12-bit 0.88° 16x • Require an additional dedicated servo supply? 8-bit 14° 256x • Does the supply provide adequate current? • Assume ~600 mA per analog servo and double for digital servo. • Protection against cable miswiring • Servo Motor Sizing • Torque -> Apply torque wrench to shaft. Adjust torque until wrench is able to rotate the motor shaft. • Speed -> Determine your travel distance and maximum allowable time. “Typical” servo speed is 60° in 150 ms or approximately 180° in 500 ms at NO load. • Range of motion -> ±180°, ±90°, continuous rotation • Gear Material -> Cheap plastic, better plastic, metal DC Motor (Brushed Motor) Construction • Stator • Permanent magnets that surround the rotor which generate a stationary magnetic field • Rotor (Armature) • One or more windings that when energized (current flowing) produce a magnetic field • Brushes and Commutator • Work together to switch (commutate) the motor windings. As the motor turns, carbon brushes slide over the commutator closing the circuit. DC Motor Electrical Interface • H-Bridge circuit used to allow bidirectional current flow enabling motor to move both forward and reverse • Controller turns on appropriate switches with precise timing to ensure no cross conduction occurs • Switches are typically controlled with PWM DC Motor – Understanding the Specs • Stall torque • No load speed • No load current • Nominal voltage • Torque constant • Speed constant • Electrical time constant • Mechanical time constant • Rotor inertia • Ambient temperature Why and Why Not Use DC Motors? • Why? • Performance! Performance! Performance! • Much higher torque, speed, and acceleration in similar dimensions • Capable of replacing pneumatics in many applications • Smoother movement than RC Servos, MUCH smoother than pneumatics • Continuous rotation • Why Not? • Few (if any) animatronics controllers are designed to control DC motors • Feedback device needs to be supplied to provide positional control • Requires more mechanical know-how to attach load to shaft • More expensive IF an RC servo can meet your application requirements Summary Analysis Characteristic Advantage Torque DC Motor Speed DC Motor Cost RC Servo Motor Controller Options RC Servo Motor Range of Motion DC Motor Motion Smoothness DC Motor Mechanical Knowledge RC Servo Motor Ease of Use RC Servo Motor Thank You [email protected] 512.230.0468 www.lifeape.com.
Recommended publications
  • Control of DC Servomotor
    Control of DC Servomotor Report submitted in partial fulfilment of the requirement to the degree of B.SC In Electrical and Electronic Engineering Under the supervision of Dr. Abdarahman Ali Karrar By Mohammed Sami Hassan Elhakim To Department of Electrical and Electronic Engineering University of Khartoum July 2008 Dedication I would like to take this opportunity to write these humble words that are unworthy of expressing my deepest gratitude for all those who made this possible. First of all I would like to thank god for my general existence and everything else around and within me. Second I would like to thank my beloved parents(Sami & Sawsan), my brothers (Tarig & Hassan), and my sister (Latifa), thank you so much for your support, guidance and care, you were always there to make me feel better and encourage me. I would like also to thanks all my friends inside and out Khartoum university, thank you for your patients tolerance and understanding, for your endless love that has stretched so far, for easing my pain and pulling me through. A special thanks to my partner Muzaab Hashiem without his help and advice i won’t be able to do what i did, thank you for being an ideal partner, friend and bother. Last but not the least i would like to thank my supervisor Dr. Karar and all those who helped me throughout this project, thank you for filling my mind with this rich knowledge. Mohammed Sami Hassan Elhakim. I Acknowledgement The first word goes to God the Almighty for bringing me to this world and guiding me as i reached this stage in my life and for making me live and see this work.
    [Show full text]
  • Glossary Defns of Terms 1998-10 TWG INCOSE .Doc
    INCOSE SE Terms Glossary Version 0 October 1998 INCOSE SE Terms Glossary Document No.: TBD Version/Revision: 0 Date: October, 1998 File: Glossary Defns of Terms 1998-10 TWG INCOSE .doc Prepared by: INCOSE Concepts and Terms WG International Council on Systems Engineering (INCOSE) 2150 N. 107th Street, Suite 205 Seattle, WA 98133-9009 NOTICE This data was prepared by the Terminology Working Group of the International Council on Systems Engineering (INCOSE) for review and comment only. It is has been released by that agency as INCOSE Technical Data. It is subject to change without notice and may not be referred to as an INCOSE Technical Product. Copyright (c) 1998 by INCOSE, subject to the following restrictions: Author Use. Authors have full rights to use their contributions in a totally unfettered way. Abstraction is permitted with credit to the source. INCOSE Use. Permission to reproduce and use this document and to prepare derivative works from this document for INCOSE use is granted, provided this copyright notice is included with all reproductions and derivative works. External Use. This document may not be shared or distributed to any non-INCOSE third party. Requests for permission to reproduce this document in whole or part, or to prepare derivative works of this document for external and/or commercial use are prohibited. Copying, scanning, retyping, or any other form of reproduction of the content of whole pages or source documents is prohibited and shall not be approved by INCOSE. Electronic Version Use. Any electronic version of this document is to be used for personal use only and is not to be placed on a non-INCOSE sponsored server for general use.
    [Show full text]
  • In a Mechanical System, a Differential
    RADAR CIRCUIT ANALYSIS 13-14 THE DIFFERENTIAL SElSYN In a mechanical system, a differential con- 52 nects three shafts together in such a way that the amount that one shaft turns is equal to the dif- zsv ference between the amounts that the other two turn. The differential selsyn is named according to the two functions it performs. If the shaft of the differential selsyn serves to indicate the differ- ence in shafts positions of two other selsyns, the other two selsyns are generators and the differ- ential selsyn is a motor. If the differential selsyn shaft position is to be subtracted from that of a 53 selsyn generator (or vice versa) and the differ- ence to be indicated by the rotor position of a i----OV---o-i motor, the differential selsyn is then a generator. ~---OV--~~_-4 ~ The stator of the differential generator or motor is very similar to the stator of the ordi- nary selsyn. It consists of three sets of coils 0 wound in slots and spaced 120 apart around the Differential Transformer Action at 0° Position inside of the field structure. The rotor, however, differs considerably from that of an ordinary The selsyn generator just above is connected selsyn. It is cylindrical in shape and has three sets to a differential selsyn in which the rotor leads of coils wound in slots and equally spaced around are open. Both shafts are in the 0° position. Since the circumference. Connections to the external the stator coils of the differential selsyn connect circuits are made through three brushes riding on to the stator coils of the generator, the voltages three slip rings on the rotor shaft.
    [Show full text]
  • EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism Tim Davidson Ext
    EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism Tim Davidson Ext. 27352 [email protected] Objective To identify the plant model of a servomechanism, and explore the trade-off between rise time and overshoot incurred in proportional control of the servo(mechanism). Assessment Your mark for this lab will be assessed on your ability to complete each section. The marks for each section are indicated at the beginning of the section. Please demonstrate your results to the TAs and have your mark recorded. Please attend the lab section to which you have been assigned. 1 Description of Laboratory Equipment In this lab we will deal with an angular positioning system based around a DC motor. Such schemes are often used to position heavy or difficult to move objects using a ‘command tool’ which is easy to move. For example, moving the control surfaces of an aircraft using the lever in the cockpit. In our system, the plant is the motor (and its associated electronics). The input to the plant is a control signal c(t) and the output of the plant is a voltage which is proportional to the angle of the motor shaft, θ(t). Using information about the structure of the motor and Newtonian mechanics, the operation of the motor can be described by the following differential equation: d2θ(t) dθ(t) J + B = Kmc(t); (1) dt2 dt where J is the rotational inertia of the motor, B is the damping in the motor structure, and Km is the (internal) gain of the motor.
    [Show full text]
  • Servo Systems
    2012/3/26 Servo Systems Department of Mechanical Engineering Lecturer: Jia-Yush Yen 4/7/2010 A Control System Reference command Output Controller Actuator Plant Measurement Servo Systems 2 1 2012/3/26 Outline • Motors – Synchronous motor – Induction motor – DC motor –BLDC –PMAC – PWM principle – Driver design Servo Systems 3 Servo vs. Process System •A servomechanism is a feedback control system in which the controlled variable is a (mechanical) position, velocity, torque, frequency, etc. •A process control generally refers to control of other variables as liquid level, pressure, temperature, density, concentration, or chemical composition. Servo Systems 4 2 2012/3/26 Servo System Loop Set Point Network http://www.a-m- c.com/content/m101/generalservosystems. Servo Systems html 5 Motors http://en.wikipedia.org/wiki/Motor • Electric motor – a machine that converts electricity into a mechanical motion – AC motor, an electric motor that is driven by alternating current • Synchronous motor • Induction motor – DC motor, an electric motor that runs on direct current electricity • Brushed DC electric motor • Brushless DC motor – Linear motor – Stepper motor • Servo motor – an electric motor that operates a servo, Servocommonly Systems used in robotics 6 3 2012/3/26 Calculating Magnetic Field • Magnetic Field Intensity: where μ is the permeability • Magnetomotive force (mmf): Servo Systems 7 AC SYNCHRONOUS MOTOR Servo Systems 8 4 2012/3/26 AC Synchronous Motor • A synchronous electric motor is an AC motor distinguished by a rotor spinning with coils passing magnets at the same rate as the alternating current and resulting magnetic field which drives it. Another way of saying this is that it has zero slip under usual operating conditions http://www.mwit.ac.th/~Phy http://en.wikipedia.org/wiki/Sy sicslab/hbase/magnetic/mo nchronous_motor torac.html Servo Systems 9 Rotating Magnetic Field • Apply three-phase voltage to a three-phase stator winding creates a rotating field.
    [Show full text]
  • Introduction
    Introduction The Servo Trigger is a small board that helps you deploy hobby RC servo motors. When an external switch or logic signal changes state, the Servo Trigger tells an attached servo motor to move from position A to position B. The Servo Trigger in action. To use the Servo Trigger, you simply connect a hobby servo and a switch, then use the onboard potentiometers to adjust the start/stop positions and transition time. You can use a hobby servos in your projects without having to do any programming! In This Tutorial This hookup guide starts with some background information about hobby servo motors. From there, it jumps into getting the Servo Trigger working with a small servo, then examines some of the inner workings. Finally, for the adventurous, it explains how to customize the Servo Trigger by reprogramming it. Servo Motor Background In the most generic sense, a “servomechanism” (servo for short) is a device that uses feedback to achieve the desired result. Feedback control is used in many different disciplines, controlling parameters such as speed, position, and temperature. In the context we are discussing here, we are talking about hobby or radio-control servo motors. These are small motors primarily used for steering radio-controlled vehicles. Because the position is easily controllable, they are also useful for robotics and animatronics. However, they shouldn’t be confused with other types of servo motors, such as the large ones used in industrial machinery. An Assortment of Hobby Servos RC servos are reasonably standardized - they are all a similar shape, with mounting flanges at each end, available in graduated sizes.
    [Show full text]
  • Electrical Engineering Dictionary
    ratio of the power per unit solid angle scat- tered in a specific direction of the power unit area in a plane wave incident on the scatterer R from a specified direction. RADHAZ radiation hazards to personnel as defined in ANSI/C95.1-1991 IEEE Stan- RS commonly used symbol for source dard Safety Levels with Respect to Human impedance. Exposure to Radio Frequency Electromag- netic Fields, 3 kHz to 300 GHz. RT commonly used symbol for transfor- mation ratio. radial basis function network a fully R-ALOHA See reservation ALOHA. connected feedforward network with a sin- gle hidden layer of neurons each of which RL Typical symbol for load resistance. computes a nonlinear decreasing function of the distance between its received input and Rabi frequency the characteristic cou- a “center point.” This function is generally pling strength between a near-resonant elec- bell-shaped and has a different center point tromagnetic field and two states of a quan- for each neuron. The center points and the tum mechanical system. For example, the widths of the bell shapes are learned from Rabi frequency of an electric dipole allowed training data. The input weights usually have transition is equal to µE/hbar, where µ is the fixed values and may be prescribed on the electric dipole moment and E is the maxi- basis of prior knowledge. The outputs have mum electric field amplitude. In a strongly linear characteristics, and their weights are driven 2-level system, the Rabi frequency is computed during training. equal to the rate at which population oscil- lates between the ground and excited states.
    [Show full text]
  • Servo Control Design - Timothy Chang
    CONTROL SYSTEMS, ROBOTICS AND AUTOMATION - Vol. VIII - Servo Control Design - Timothy Chang SERVO CONTROL DESIGN Timothy Chang New Jersey Institute of Technology, Newark, NJ, USA Keywords: servo control, servomechanism, feedback, feedforward control, regulation, disturbance rejection, compensation, input shaping, lag compensator, lead compensation, phase margin, steady-state error, integral control, industrial regulator, stabilizing compensator, PID control, state feedback, frequency response, parameter optimization. Contents 1. Introduction 2. Classical Servo Control Design 2.1. Integrator Based Control 2.1.1. Design Example: Industrial Regulator 2.2. Phase Lag Control 2.2.1. Design Example: Phase Lag Compensation 2.3. Phase Lead Control 2.3.1. Design Example: Phase Lead Compensation 3. Modern Servo Control Design 3.1. Feedforward Control: Input Shaping 3.1.1. Mathematical Analysis of the Input Shaping Scheme 3.1.2. Design Example: Input Shaping for Unit Step Command 3.2. Feedback Control 3.2.1. Controller Parameterization 3.2.2. Time Domain Parameter Optimization 3.2.3. Frequency Domain Parameter Optimization 4. Conclusions Acknowledgements Glossary Bibliography Biographical Sketch Summary UNESCO – EOLSS Elements and design of servo control systems are discussed in this paper. The primary purpose of a servoSAMPLE system is to regulate the outputCHAPTERS of a dynamical system by means of feedback control. For pedagogical and historical reasons, the discussions of servo control are divided into two parts: classical and modern servo systems aiming at audience with an undergraduate and graduate level of engineering background respectively. Classical servo control deals with single-input, single-output systems in either frequency or time domain. It remains popular with many industrial applications due to its simplicity in design and implementation.
    [Show full text]
  • MEM01: DC-Motor Servomechanism Interdisciplinary Automatic Controls Laboratory - ME/ECE/CHE 389 February 5, 2016
    MEM01: DC-Motor Servomechanism Interdisciplinary Automatic Controls Laboratory - ME/ECE/CHE 389 February 5, 2016 Contents 1 Introduction and Goals 1 2 Description 2 3 Modeling 2 4 Lab Objective 5 5 Model Identification 5 5.1 Model Identification: Open-loop Step Response Analysis . .5 5.2 Model Identification: Open-loop Frequency Response Analysis . .7 6 Velocity Controller Design 8 7 Position Controller Design 8 1 Introduction and Goals The Precision Modular Servo (PMS) workshop serves as a model of a very popular device, the DC Servo Motor. This is often used in robotic applications. The word ‘servo’ comes from the Latin word servus meaning servant or slave. Thus the servo motor is intended to react to a given command, for example a desired position or velocity. In order for the motor to be called a servo motor it has to be equipped with a velocity and position measurement unit and motor driver. It may also include a simple servo motor controller. The main features distinguishing servo motors from normal motors are: • minimized rotor inertia, • minimized armature inductance, • improved withstand voltage and magnet saturation, • designed to withstand sudden acceleration and high frequency operation. The PMS unit allows for the design of different servo motor controllers and to test them in real time using the Matlab and Simulink environment. 1 Figure 1: Precision Modular Servo mechanical unit 2 Description The description of the PMS setup in this section refers mostly to the mechanical part and the control aspect. For details of the mechanical and electrical connection, the interface and an explanation of how the signals are measured and transferred to the PC, refer to the “Installation & Commissioning” manual.
    [Show full text]
  • Efficient Control of DC Servomotor Systems Using Backpropagation Neural Networks
    Georgia Southern University Digital Commons@Georgia Southern Electronic Theses and Dissertations Graduate Studies, Jack N. Averitt College of Spring 2011 Efficient Control of DC Servomotor Systems Using Backpropagation Neural Networks Yahia Makableh Follow this and additional works at: https://digitalcommons.georgiasouthern.edu/etd Recommended Citation Makableh, Yahia, "Efficient Control of DC Servomotor Systems Using Backpropagation Neural Networks" (2011). Electronic Theses and Dissertations. 771. https://digitalcommons.georgiasouthern.edu/etd/771 This thesis (open access) is brought to you for free and open access by the Graduate Studies, Jack N. Averitt College of at Digital Commons@Georgia Southern. It has been accepted for inclusion in Electronic Theses and Dissertations by an authorized administrator of Digital Commons@Georgia Southern. For more information, please contact [email protected]. 1 EFFICIENT CONTROL OF DC SERVOMOTOR SYSTEMS USING BACKPROPAGATION NEURAL NETWORKS by YAHIA MAKABLEH (Under the Direction of Fernando Rios-Gutierrez) ABSTRACT DC motor systems have played an important role in the improvement and development of the industrial revolution, making them the heart of different applications beside AC motor systems. Therefore, the development of a more efficient control strategy that can be used for the control of a DC servomotor system, and a well defined mathematical model that can be used for off line simulation are essential for this type of systems Servomotor systems are known to have nonlinear parameters and dynamic factors, such as backlash, dead zone and Coulomb friction that make the systems hard to control using conventional control methods such as PID controllers. Also, the dynamics of the servomotor and outside factors add more complexity to the analysis of the system, for example when the load attached to the control system changes.
    [Show full text]
  • Delta Robot Control Using Single Neuron PID Algorithms Based on Recurrent Fuzzy Neural Network Identifiers
    International Journal of Mechanical Engineering and Robotics Research Vol. 9, No. 10, October 2020 Delta Robot Control Using Single Neuron PID Algorithms Based on Recurrent Fuzzy Neural Network Identifiers Le Minh Thanh1, Luong Hoai Thuong1, Phan Thanh Loc2, Chi-Ngon Nguyen2 1 Vinh Long University of Technical Education, Vietnam 2 Can Tho University, Vietnam Email: [email protected], [email protected], [email protected], [email protected] Abstract—Parallel robot control is a topic that many implemented. For example, a robot proposed by Stewart researchers are still developing. This paper presents an with two platforms ensures fixed stability in a stationary application of single neuron PID controllers based on facility [3]. In 1985, a delta robot was developed and recurrent fuzzy neural network identifiers, to control the built in the Ecole Polytechnique Federale de Lausanne trajectory tracking for a 3-DOF Delta robot. Each robot (EPFL) called delta robots focused on industrial work [4]. arm needs a controller and an identifier. The proposed controller is the PID organized as a linear neuron, that the Based on this robot, the new architecture is implemented neuron’s weights corresponding to Kp, Kd and Ki of the according to the necessary characteristics in industry and PID can be updated online during control process. That school. For example, it is a robot with high accuracy but training algorithm needs an information on the object's slow motion is widely used in 3D printers [5]. In the sensitivity, called Jacobian information. The proposed industrial sector the need to optimize production has been identifier is a recurrent fuzzy neural network using to a major challenge for robotics companies since the 1980.
    [Show full text]
  • MEM02: Hydraulic Servomechanism Interdisciplinary Automatic Controls Laboratory - ME/ECE/CHE 389 February 5, 2016
    MEM02: Hydraulic Servomechanism Interdisciplinary Automatic Controls Laboratory - ME/ECE/CHE 389 February 5, 2016 Contents 1 Introduction and Goals 1 2 Description 2 3 Modeling 4 3.1 Servo-valve . .4 3.2 Hydro-motor . .4 4 Lab Objective 5 5 System Identification by Frequency Response 6 6 Velocity Controller Design 7 7 Position Controller Design 8 A Files 9 1 Introduction and Goals Closing a feedback loop around a rotary hydraulic actuator to obtain actuator shaft position that is pro- portional to a varying electrical signal is the most fundamental of mechanical control problems. In fact, this is called, “the basic regulator problem,” i.e., making the output position of a relatively massive device follow a low-power input signal by addition of position feedback and a power amplifier. Often the perfor- mance can be further improved by adding to the outer position feedback loop an inner velocity feedback loop. Since the position is often the angular position of a shaft, the angular velocity will be measured by a tachometer and the inner loop is then called the “tachometer feedback loop.” Virtually every undergraduate controls textbook discusses tachometer feedback performance improve- ment, including Ogata, Modern Control Engineering, 5th edition, page 164. 1 3ExperimentalSetup 8 Kd − 3ExperimentalSetupR(s) Y (s) G(s) 1/ s − 3.1 Overview K The electro-hydraulic system used in this experiments isp the EHS160 (FEEDBACK IN- STRUMENTS LTD). It consistsFigure of the 1: Block following diagram of hydraulic basic servomechanism-based components: regulator. the hydraulic pump which delivers hydraulic energy (located at the adjoining room), the servo system (Figures 3.1 and 3.2)2 Descriptionand the electrical patch with the outputs of the sensors and the electronic controller components (Figure 3.4).
    [Show full text]