PWM Signal Generator

Similar documents
Odyssey of the Mind Technology Fair. Simple Electronics

Talon and Talon SR User Manual

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

RC Camera Control. User Guide v /20/2012

RS232/DB9 An RS232 to TTL Level Converter

SYSTEM 45. C R H Electronics Design

RADIANT PLASMA 4700 Plasma Spark Generator

Radio Control System

Servo Info and Centering

SYSTEM 4C. C R H Electronics Design

Radio Control System

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

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

BUILD YOUR OWN RC SWITCH (Issue 3)

Basic Setup Guide. browndoggadgets.com. 12V Solar Charge Controller with Dual USB. Dull Introduction

ECEN 1400, Introduction to Analog and Digital Electronics

Digi-Motor Installation Guide

HYDRA HV OPERATION MANUAL. 2.0 Making Connections on your HYDRA speed control. Rosin core electrical solder

Assembly Instructions: Shortwave Radio Kit

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

A Practical Guide to Free Energy Devices

FRC WPI Robotics Library Overview

Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand)

INSTALLATION MANUAL TRAILER LIGHTS CONTROLLER MODULE TYPE MP2-D1 / MP2-D2

Ocean Controls RC Servo Motor Controller

LOW COST MOTOR PROTECTION FILTERS FOR PWM DRIVE APPLICATIONS STOPS MOTOR DAMAGE

Building the AMP Amplifier

DET Practical Electronics (Intermediate 1)

The DC Motor. Physics 1051 Laboratory #5 The DC Motor

Pulse Width Modulation

Battery Power Inverters

TruPower-Portable-500W. Solar Starter kit

How to modify a car starter for forward/reverse operation

MODEL 2202IQ (1991-MSRP $549.00)

Back-Up Camera Installation Guide

Robot Board Sub-System Testing. Abstract. Introduction and Theory. Equipment. Procedures. EE 101 Spring 2006 Date: Lab Section # Lab #6

PUSH BUTTON START INSTALLATION MANUAL

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

Principles of Adjustable Frequency Drives

Electrical Resonance

Wires & Connections Component Circuit Symbol Function of Component. Power Supplies Component Circuit Symbol Function of Component

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Build Your Own Solar Car Teach build learn renewable Energy! Page 1 of 1

Pulse Width Modulated (PWM) Controller for 12 Volt Motors

User and installation manual

GLOLAB Two Wire Stepper Motor Positioner

Advanced Robot Electrical Design

HOBBY SERVO FUNDAMENTALS BY: DARREN SAWICZ

Introduction to Electronic Signals

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

Electronics 5: Arduino, PWM, Mosfetts and Motors

Beginners Guide to the TDS 210 and TDS 220 Oscilloscopes

Small Scale Renewable Energy Control Systems

EDD-600 FLOW TOTALIZER RATE INDICATOR OPERATION MANUAL. P.O. Box Odessa, Texas USA.

Four/Five Axis TB6560 CNC Driver Users Manual

DC Motor control Reversing

Pololu DRV8835 Dual Motor Driver Shield for Arduino

Building an Electrolysis Copper Cleaner Roy Seifert

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

CHAPTER 11: Flip Flops

A Digital Timer Implementation using 7 Segment Displays

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

Massachusetts Institute of Technology

Heating, Ventilation, Air Conditioning and Refrigeration (HVACR)

Bill Conkling July 2012

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Phoenixtech Brushless Motor Speed Controller Programming Guide

DEPARTMENT OF ELECTRONICS ENGINEERING

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY

Specifying a Variable Frequency Drive s

Automotive Sensor Simulator. Automotive sensor simulator. Operating manual. AutoSim

Kit Watt Audio Amplifier

Using an Oscilloscope

STEALTH I DC MANUAL TECH SUPPORT WEB BLACK UNIT IS 24/36 ONLY

BUILDING INSTRUCTIONS

Design Project: Power inverter

Subject: Circuit Board troubleshooting Bulletin

SERVICE INSTRUCTION R410A. WALL MOUNTEDtype INVERTER SPLIT TYPE ROOM AIR CONDITIONER. Models Indoor unit Outdoor unit

EVANS ELECTRONIC TEMPERATURE CONTROL TROUBLESHOOTING GUIDE for systems equipped with electric coolant valve and external PC board.

Chapter 4: Pulse Width Modulation

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

By Authority Of THE UNITED STATES OF AMERICA Legally Binding Document

Windshield Wiper Motors

Easy Step 1000 Stepper Driver Module

Contractors Guide Central Inverter System Installation

SECTION 4 ELECTRIC MOTORS UNIT 17: TYPES OF ELECTRIC MOTORS

Automatic taper of charge rate for superior battery life through good equalization of cells and low water use rate.

Assembly and User Guide

Cornerstone Electronics Technology and Robotics I Week 15 Voltage Comparators Tutorial

I. R. D. T INSTITUTE OF RESEARCH DEVELOPMENT AND TRAINING

E. K. A. ADVANCED PHYSICS LABORATORY PHYSICS 3081, 4051 NUCLEAR MAGNETIC RESONANCE

Specification Requirements DBL 700MX and 1000MX Series UPS

DIY Y6. Build Manual V.A 2014

Companion Service Guide

7. What is the current in a circuit if 15 coulombs of electric charge move past a given point in 3 seconds? (1) 5 A (3) 18 A (2) 12 A (4) 45 A

************* OWNER'S MANUAL BAMF800/2 BAMF1250/2 BAMF1800/2 BAMF2200/2 BAMF2600/2 BAMF1200/4 BAMF1600/4 BAMF2000/1D BAMF4000/1D BAMF5500/1D

INSTALLATION INSTRUCTIONS

CutMaster Major External Replacement Parts

Mobile Device Power Monitor Battery Connection Quick Start Guide

Transcription:

PWM Signal Generator FIRST Robotics Team 358, Hauppauge, NY This is a useful stand-alone device for testing and using motors without a Robot Controller (RC). For those times when you want to run a motor at various speeds from a Victor or Jaguar Speed Controller before adding all the RC, joystick, etc. overhead equipment or programming. Just connect it and control motor speed by turning a knob. This is designed for use with Innovation First Victor speed controllers. Background: We can run motors on the test bench or in prototype setups via several methods: Driving them with an OI/RC, joystick, circuit breaker, victor/spike Connecting them directly to a 12v battery (only full on/off, reversing wires to reverse motor direction) Powering them with a Victor and a pwm signal generator Using a rheostat w/battery to vary speed (vary speed, reverse wires to reverse direction). Victor speed controllers receive their power from a 12v source, but are told what to do with that power via a control cable (see figure 2), generally from the RC, using a coded signal called Pulse Width Modulation (PWM). A PWM generator is a very cheap substitute for a FIRST Robot Controller/Operator Interface/joystick combination and gives you simple hardware speed control without needing a robot controller or any control programming. Theory: In FIRST competition the RC software orders up power from a Victor by specifying a value 0-254 and the robot controller hardware turns this request into a PWM signal the Victor hardware can understand.

A typical RC servo or Victor PWM signal is a square wave (see figure 1) of 5 volt pulses where each pulse varies in duration between 1ms, interpreted by the Victor as full reverse, and 2ms (full forward), with a 1.5ms pulse halfway between the two indicating neutral or no power output. The period of the whole PWM signal is around 16-17ms or about 60Hz. Jaguar Speed Controllers use a slightly broader pulse, but can be calibrated to use this Victor-range pulse, or the circuit can be modified slightly to produce a larger range. This PWM generator circuit creates a regular pwm signal with the timing of the pulses varied by the knob of a potentiometer. On a side note: when the voltage out of the Victor to a motor is less than full power (12v) the Victor actually switches on/off very fast (120Hz for a Victor 884) to give the motor a lower average voltage. This is also referred to as PWM, but in a different context. For instance, at half power the Victor will be switching on (letting 12v through) half the time and off (0v) the rest of the time so the average power coming out is 6 volts and the motor turns at half speed. Because the power is pulsed a normal multi-meter cannot be used to take accurate readings from a Victor. 5v 0v 17ms 2 ms 2 ms 1.5 ms Full Forward Neutral voltage 1 ms Full Reverse time Figure 1: PWM Control Signals (time between pulses is not to scale) Construction: We'll describe the materials and circuits used in ours and you can see how ours is put together from the photographs, but outside the circuit the rest of what you assemble is up to you, so this doesn't describe a step-by-step build of the layout or circuit. Ours drives motors for quick tests of mechanical assemblies and mechanisms before they're mounted on the robot, so it's important to us to be able to quickly connect/disconnect the bare wires of an motor. We chose to use alligator clips large enough to handle the 12v/40+amps a motor could draw and take care they are insulated so they cannot touch and spark. We also use simple wire nuts on occasion when the connections need to be more secure on moving parts. Some considerations are: How to connect the motor to the Victor? Possibilities include hardwiring the motor, using wire nuts, using alligator clips, or power connectors. It depends upon your need. Will you be swapping motors frequently so you'd need a quick disconnect or will it be semi-permanent? In the final configuration will the motors

be wired to a power connector or will they be wired directly to connectors suitable for a victor? How to connect the 12v battery? Anderson connectors are common in FIRST robotics, but alligator clips or other connectors could be used as well. Materials: (1) Anderson connector if a standard FRC 12v battery source is to be used, or an appropriate connector to a transformer or other source. (2) Large alligator clips for connecting to motors or plan to use an alternate such as wire nuts (1) Victor speed controller (1) Project box w/pcb board for mounting the electronics (1) Potentiometer w/knob (dial the speed) (1) Toggle switch (as a kill/run control) #6 gauge wire for main power #18 gauge or better wire for power to electronics PWM cable #22 gauge w/male connector Appropriate labels for the controls Mounting base (to put it all on) Tools: Multi-meter Low-wattage soldering iron w/solder Screwdriver(s) Drill

Wiring: Main Power: The basic layout is straight forward with the main power leading from the battery - to the Victor - to the motor just as you would normally wire your robot (see figure 2). We mounted this whole thing on a wooden base (shown above) and used a pair of power distribution blocks, but there are many ways to connect the battery and motor to the circuit. 12v power Power Victor Speed Controller Motor Control Signal Power PWM Generator or Robot Controller Figure 2: Operation Overview PWM Generator Circuit: The PWM Generator circuit draws minimal power and we took what power it needs off the Victor input terminals just like the Victor cooling fan does. The PWM output from the circuit connects to the Victor's PWM port. The control circuit itself and the parts required are shown in the following circuit diagram. We recommend wiring this and any new circuit on a temporary breadboard first for testing to make sure you understand how it works and prove you got the circuit right before soldering anything permanently. Two 555 timing chips and some capacitors and resistors are all that are needed along with the potentiometer to adjust the variable motor speed and a kill switch. One timer chip is setup to trigger the next, so one does the fixed pwm 17ms duration and the other the variable pulse (1-2ms). The electronic parts are pretty standard and can be purchased at outlets such as Radio Shack or online. Soldering should be done carefully with a low-wattage iron and thin solder so it melts easily. Circuit components typically should not be subjected to extensive, prolonged heat.