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

Similar documents
EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab Timer: Blinking LED Lights and Pulse Generator

Introduction to Electronics and Breadboarding Circuits

Electronic Components

Hobby Servo Tutorial. Introduction. Sparkfun:

Low Voltage, High Current Time Delay Circuit

Electronic Instrumentation. Experiment 8: Diodes (continued) Project 4: Optical Communications Link

Electronics. RC Filter, DC Supply, and 555

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

Servos A Brief Guide

Electronic Instrumentation

ENGR4300 Test 3A Fall 2002

Feed-back loop. open-loop. closed-loop

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

Stepper Motor Driver CW8060

Blue Point Engineering

DC->DC Power Converters

Lab Exercise 9: Stepper and Servo Motors

Direct Current Waveforms

Bill of Materials: PWM Stepper Motor Driver PART NO

BRUSHLESS DC MOTOR FAMILY

Autonomous Robot Control Circuit

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

Long Loopstick Antenna

The NMIH-0050 H-Bridge

DC-Motor Driver circuits

Stepper Motor Driver CW230

CV Arpeggiator Rev 1. Last updated

6V to 12V dc-dc boost converter using 555 timer IC

LM555 and LM556 Timer Circuits

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS

HANDS-ON LAB INSTRUCTION SHEET MODULE 3 CAPACITORS, TIME CONSTANTS AND TRANSISTOR GAIN

Semiconductor 9/21/2015

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

LAB MODULES. MSCI 222C Introduction to Electronics. Charles Rubenstein, Ph. D. Professor of Engineering & Information Science

IR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015

Lab 2 Revisited Exercise

o Semiconductor Diode Symbol: The cathode contains the N-type material and the anode contains the P-type material.

PWM BASED DC MOTOR SPEED CONTROLLER USING 555 TIMER

1 Second Time Base From Crystal Oscillator

Basic Electronics Refresher

Lab 8. Stepper Motor Controller

Laboratory Final Design Project. PWM DC Motor Speed Control

815-BR SERVO AMPLIFIER FOR BRUSH SERVOMOTORS

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

Adafruit 16-Channel Servo Driver with Arduino

30-80V, 8.2A Peak, No Tuning, Nulls loss of Synchronization

Multivibrators. Department of Electrical & Electronics Engineering, Amrita School of Engineering

Series AMLDLW-Z Up to 1000mA LED Driver

Precision Switchable Vout Regulator for OTP Applications

Transistor Flasher Kit MitchElectronics 2018

Exercise 2-2. Antenna Driving System EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION

OPERATINGINSTRUCTIONS for SIXTEENCHANNEL SERVO MOTOR CONTROLLER and SIXTEENCHANNEL JOYSTICK AMPLIFIER February 27, 1999

Application Note # 5448

EDC Quick Start Guide

Speed Control of DC Motor Using Microcontroller

National Quali cations Date of birth Scottish candidate number

MTC-2 highlight features: ACU highlight features: Contents. MTC-2 and ACU User Manual V4.0

Half stepping techniques

In this activity, you will program the BASIC Stamp to control the rotation of each of the Parallax pre-modified servos on the Boe-Bot.

Application Note AN-1075

High-Voltage High-Current Stepper Motor Driver IK6019A TECHNICAL DATA

Designing and Implementing of 72V/150V Closed loop Boost Converter for Electoral Vehicle

R2000 FAQs [R2000FAQ.doc rev:0807]

Laboratory Design Project: PWM DC Motor Speed Control

16 Bit Micro Experimenter Assembly and Check out Instructions

Wiring Manual NEScaf April 2010 (August 2006)

DynaDrive INFORMATION MANUAL SDFP(S)

Metal Detector. Student Lab Guide. Engineering Teaching Laboratory. Lab Partner(s)

40106 Hex Oscillator Workshop Instructions. bbob drake, aka fluxmonkey

Installation Tech Note Dallas, Texas

I 2 C RedBot & DC Motor Servo Motor Control

The Torxis Linear Servo meets the following environmental conditions:

Experiment #3: Micro-controlled Movement

S100A40AC SERIES BRUSHLESS SERVO AMPLIFIERS Model: S100A40AC

LAB #10: Analog Interfacing

Experiment (2) DC Motor Control (Direction and Speed)

Series AMLD-Z Up to 1000mA LED Driver

DC motor control using arduino

PS2-SMC-06 Servo Motor Controller Interface

555 Astable Kit MitchElectronics 2018

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

N386X APPLICATION INFORMATION

Automobile Prototype Servo Control

PAiA 4780 Twelve Stage Analog Sequencer Design Analysis Originally published 1974

BME/ISE 3511 Bioelectronics I - Laboratory Exercise #4. Variable Resistors (Potentiometers and Rheostats)

Lighting Tutorial Cornerstone Electronics Technology and Robotics I Week 7

Two Hour Robot. Lets build a Robot.

Musical Pencil. Tutorial modified from musical pencil/

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already!

Analog Effect Pedals. EE333 Project 1. Francisco Alegria and Josh Rolles

High Current MOSFET Toggle Switch with Debounced Push Button

3 Circuit Theory. 3.2 Balanced Gain Stage (BGS) Input to the amplifier is balanced. The shield is isolated

InnobotTM User s Manual

ELECTRONIC GIANT. EG3113 Datasheet. Half-Bridge Driver. Copyright 2017 by EGmicro Corporation REV 1.0

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

B25A20FAC SERIES BRUSHLESS SERVO AMPLIFIERS Model: B25A20FAC 120VAC Single Supply Operation

LM3647 Universal Battery Charger for Li-Ion, Ni-MH and Ni-Cd Batteries

Mach3 USB Motion Card (STB5100) Installation Manual

DUAL STEPPER MOTOR DRIVER

Transcription:

The bipolar amplifier is well suited for controlling motors for vehicle propulsion. Figure 12-45 shows a good-sized 24VDC motor that runs nicely on 13.8V from a lead acid battery based power supply. You usually don t need the high speed of a DC motor, so it s better to buy motors with built-in gear reduction, called gear head motors, because they already have lower speed and higher torque. However, you can lower the ratio externally with drive belts where the smaller pulley, such as the one in Figure 12-45, is on the motor, and the larger one is on the axle connected to the wheel. Figure 12-45. Bipolar amplifier connected to a large DC motor RC Servo Interface RC Servos were originally intended for operating the flight surfaces of radio-controlled model airplanes, but have found a new home in robotics. They contain a highly-geared-down DC motor and a shaft feedback circuit that allows accurate position control over a 180-degree range of motion. Control comes in the form of a series of pulses (illustrated in Figure 12-46). The control pulse width varies from 1ms for 0 degrees to 2ms for 180 degrees. Some Servos can rotate beyond this range, but one standard among the many available Servos is that a 1.5ms pulse will place the shaft at its midpoint. 222

1.0 ms 15 ms 0 90 1.5 ms 15 ms 2.0 ms 15 ms 180 Pulse Width Servo Position Figure 12-46. Pulse width and shaft angle Unfortunately, the output of the NXT can t be used to directly create the control pulses for a couple of reasons: the voltage is too high, and you can t generate pulses as short as a few ms. However, you can make a little interface circuit that will generate the proper size pulses and use the NXT output to control the width of those pulses. The heart of the interface circuit is the LTC555 CMOS timer (see Figure 12-47). Pin 1 White NXT Pin 2 Black R1 R2 R3 D1 R4 D2 C1 C2 8 U1 VCC 2 4 TRIGGER 3 5 RESET OUTPUT 6 CONTROL 7 THRESHOLD DISCHARGE GND 1 + 6Vdc Servo Red Servo Yellow or White Servo Black Figure 12-47. RC Servo interface circuit Resistors R3 and R4, along with capacitor C2 and diode D1, determine the pulse width and the time between pulses. Resistor R1 and Zener diode D2 guarantee that the PWM output level of the NXT is limited to 5V, while resistor R2 and capacitor C1 smooth out the NXT PWM to a DC level. The plot in Figure 12-48 shows how the power level is related to the DC level. This DC level is fed into the control input of the TLC555 to vary the Servo pulse width. The Servo also needs its own 6V power supply, which can be easily provided by batteries. 223

Tip It is a good idea to include an on/off switch to turn off power to the Servo when it is not in use. 5 4 Voltage 3 2 1 0 0 20 40 60 80 100 Power Figure 12-48. Plot of output power vs control voltage Figure 12-49 shows the RC Servo interface built on a solderless breadboard. The complete bill of materials for the circuit is in Table 12-6, along with the step-by-step instructions in Table 12-7. With the component values listed, the interface will produce pulses shorter than 1ms for an output power level of 0 and longer than 2ms for a level of 100. An output power level of about 50 will be close to the 1.5ms (90- degree) center point. Connectors for Servos are available from the same suppliers as the Servos themselves. 224

Figure 12-49. RC Servo interface on solderless breadboard Table 12-6. Bill of Materials Component Part Number Description Radio Shack R1 1K Ohm 1/4 W Resistor 271-312 R2 47K Ohm 1/4 W Resistor See R1 R3 10K Ohm 1/4 W Resistor See R1 R4 100K Ohm 1/4 W Resistor See R1 C1 0.1uF Metal Film or Ceramic 272-135 C2 0.22uF Metal Film or Ceramic 272-1070 U1 TLC555 CMOS Timer 276-1718 D1 1N4148 Small Signal Diode 276-1122 D2 1N4733 5.1V Zener Diode 276-563 225

Table 12-7. Component Placement Component Start End U1 pin 1 F3 D2 anode cathode Y2 E2 J1 Y3 J3 C2 Y4 J4 J2 Y7 J7 J3 F7 E7 J4 D3 G6 J5 G4 D5 R1 X2 A2 R2 B2 B6 R3 C3 D4 R4 C4 C5 C1 C6 C7 D1 anode cathode A4 A5 Servo White or Yellow I5 Servo Red Black I6 I7 6V Red Black J6 Y5 NXT White Black X1 Y1 The completed RC Servo and interface can be seen in Figure 12-50. The little 6V battery box conveniently included an on/off switch. The NXT-G output control program from earlier in this chapter is perfect for exploring the operation of the RC Servo. At first, with the output power at 0, the Servo should rotate fully counterclockwise. As you increase the power level, the Servo will start to move clockwise. Eventually the Servo will stop moving when the power level approaches 100. 226

Caution It is generally not a good idea to drive the Servo beyond its normal range of motion (for my Servos, it relates to power levels from 20 to 80). Figure 12-50. Completed RC Servo interface 227