Hall Effect Sensor. Hall Effect Switch

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

Data Acquisition Using NI-DAQmx

Lab 3: Introduction to Data Acquisition Cards

Lab 4 - Data Acquisition

EET 310 Programming Tools

CHAPTER 11: Flip Flops

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

Cell Phone Vibration Experiment

Exercise 10: Basic LabVIEW Programming

LabVIEW Lesson 5 Clusters

Evaluation copy. Build a Temperature Sensor. Project PROJECT DESIGN REQUIREMENTS

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

GENERAL SCIENCE LABORATORY 1110L Lab Experiment 6: Ohm s Law

FRC WPI Robotics Library Overview

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

MODEL 5010 DUAL CHANNEL SMOKE/FIRE DETECTION MODULE

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

Hands On ECG. Sean Hubber and Crystal Lu

SYSTEM 4C. C R H Electronics Design

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

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach Starting up the Equipment...

EVAL-UFDC-1/UFDC-1M-16

Article : A-451. RPM amplifyer. Technical card : Updated :

Transmitter Interface Program

SYSTEM 45. C R H Electronics Design

RLC Series Resonance

Getting Started Manual

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

Physics 221 Experiment 5: Magnetic Fields

mdm-mp3 minidirector with MP3 Player

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

Hands-On: Introduction to Object-Oriented Programming in LabVIEW

LG Air Conditioning Multi F(DX) Fault Codes Sheet. Multi Split Units

Creative Inquiry Electronics Project Lab Manual. NI mydaq

ezsystem elab16m Project 1F: Alarm System (Full Project description)

Application Note AN-SERV-006

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

Experiment 3: Magnetic Fields of a Bar Magnet and Helmholtz Coil

Mini Effect Gizmo. User s Manual. RJM Music Technology, Inc.

Conversion Between Analog and Digital Signals

Ampere's Law. Introduction. times the current enclosed in that loop: Ampere's Law states that the line integral of B and dl over a closed path is 0

Electronic Speed Variator for a Brushless DC Motor

Evaluation copy. Blood Pressure. Project PROJECT DESIGN REQUIREMENTS

IPX AUTOMATIC IP NETWORK LOSS BACKUP A/B SWITCH INSTRUCTION BOOK IB

DC Motor with Shaft Encoder

PHD User Manual. Table of Contents

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

PUSH BUTTON START INSTALLATION MANUAL

Figure 8-1 Four Possible Results of Adding Two Bits

GLOLAB Two Wire Stepper Motor Positioner

POINTS POSITION INDICATOR PPI4

Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor)

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

UNIVERSITY OF WATERLOO ELECTRICAL & COMPUTER ENGINEERING DEPARTMENT ME269 ELECTROMECHANICAL DEVICES AND POWER PROCESSING.

Description. Dimensions. Features. precision works better

MOTION COORDINATOR MC206X Quick Connection Guide

Three Channel Optical Incremental Encoder Modules Technical Data

INSTRUMENTATION AND CONTROL TUTORIAL 3 SIGNAL PROCESSORS AND RECEIVERS

ABB Drives. User s Manual HTL Encoder Interface FEN-31

DSP Laboratory: Analog to Digital and Digital to Analog Conversion

ISP Engineering Kit Model 300

Objectives. Capacitors 262 CHAPTER 5 ENERGY

GPIB Instrument Control

CONTENTS. What is ROBOTC? Section I: The Basics

Experiment 3: Magnetic Fields of a Bar Magnet and Helmholtz Coil

DIRECT CURRENT GENERATORS

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual

Servo Info and Centering

Points Position Indicator (PPI1) for Points Motors with Common Ground

Agilent AEDB-9140 Series Three Channel Optical Incremental Encoder Modules with Codewheel, 100 CPR to 500 CPR Data Sheet

X8 Option 2 - Technology

Mini Amp Gizmo. User s Manual. RJM Music Technology, Inc.

MANUAL FOR BREAKOUT BOARD HG06

Data Acquisition in LabVIEW

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Equipment: Power Supply, DAI, Wound rotor induction motor (8231), Electrodynamometer (8960), timing belt.

Lectric Enterprises 5905 Sprucepine Drive Winston Salem, NC Telephone

DATA ACQUISITION FROM IN VITRO TESTING OF AN OCCLUDING MEDICAL DEVICE

User's Guide DylosLogger Software Version 1.6

Apple iphone/ipod Touch - ieffect Mobile Guitar Effect Accessory & Application

Work with Arduino Hardware

Implementing PID Temperature Control Using LabVIEW. Abstract. Introduction

Dash 18X / Dash 18 Data Acquisition Recorder

Accurate Measurement of the Mains Electricity Frequency

Solar Matters III Teacher Page

Throttle Body Fuel Injection

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

Event counters in NOVA

BLE Series. Data setting software MEXE02 OPERATING MANUAL. Tabel of contents 1 Synchronization with the driver Monitor function...

A1000 Cheat Sheet (Open Loop Vector)

Bob Rathbone Computer Consultancy

Hands-onIntroduction todataacquisition

3-Digit Counter and Display

INTRODUCTION TO SERIAL ARM

Differential-Hall-Effect based Sensors Series A5S

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

Interfacing Analog to Digital Data Converters

Chen. Vibration Motor. Application note

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Transcription:

Hall Effect Sensor By: John Muratore, Research Associate Professor, Aviation Systems and Flight Research, University of Tennessee Space Institute William Moonan, Graduate Research Assistant, Aviation Systems and Flight Research, University of Tennessee Space Institute Joseph Young, Graduate Research Assistant, Aviation Systems and Flight Research, University of Tennessee Space Institute Approach As a test article we will be using a Lego motor to which a bar magnet has been attached. This will excite a Hall effect sensor. Every time one of the ends of the bar magnet rotates past the switch, it will switch state. By counting the number of times the switch changes in a second and dividing by 2, the rotation rate per second can be determined. We will use the protoboard and mydaq for our data acquisition in this task. Hall Effect Switch The Hall effect switch consists of a piece of semiconductor to which a chemical has been added to make it sensitive to magnetic fields. This produces a small electrical signal which is detected and amplified in the chip. The Hall effect switch actually only switches on the south pole passage of the magnet. The bar magnet is mounted on the gear of the Lego motor such that the north-south pole axis is aligned with the shaft of rotation. This results in a switch whenever either end of the bar passes the Hall Effect switch. This sensor can be purchased from Paralax Instruments at http://www.parallax.com/storesearchresults/tabid/768/list/0/sortfield/4/productid/90/ Default.aspx?txtSearch=hall+effect Lego brand motors are available at most toy stores. 1

Step 1 - Wiring The Hall Effect switch consists of a small square housing for the integrated circuit. Note that the switch is in itself magnetized. The pinout for the switch is as follows : Lettering on face Pin 3 +5 V DC input power Pin 3 Output Pin 2 Ground 2

This should be wired as follows : mydaq AI0- AI0+ 7805 5.6 kohm Hall Effect Sensor AGND +15 Lego motor 10 micro-farad capacitor Lego battery pack NOTE: Make sure mydaq is not plugged into the USB port while wiring the +15 VDC/GND pins; if it is, simply unplug the mydaq and plug it back in after the wiring process is completed. 3

Developing the software Step 2 First open LabVIEW and select the block diagram display. Then define the DAQMX channel by selecting the Create Channel Function from the DAQMX function on the Measurement Section of the Function Palette.. It should then be wired by selecting the wiring function off the tools menu and right-clicking on the required functions and creating controls on the front panel associated with - input terminal configuration - minimum value - maximum value - physical channel On the front panel, the input terminal configuration should be selected to differential. The minimum value should be set to 0. The maximum value should be set to 5 and the physical channel should be set to Devx/AI0 4

Step 3 Then select the DAQMX read function and place on the block diagram, wiring from the create channel function to the DAQMX read as seen below and create an indicator on the front panel for the output Step 4 Place the read in a while loop and control the execution of the while loop with a Boolean on the front panel as follows: Step 5 Then add the DAQMX stop function as follows at the output of the while loop so that it executes when the stop button is pressed on the front panel and a dialog decode box from the dialog sub palette on the function palette so that any error messages will be displayed when the stop button is pressed. 5

Step 6 On the Front Panel select a waveform chart off the Controls palette and place on the front panel. On the block diagram, wire this to the output of the read function as follows. 6

The front panel should look like the following Step 7 Now run the VI. Place the motor with the gear facing the lettered side of the Hall effect switch and observe the results. You will have to place the gear with the magnet very close to the Hall effect switch. It may be helpful to place a jumper over the Hall effect switch so it doesn t jump around very much in response to the changing magnetic field. The result should look like this 7

Step 8 With the loop running the sampling at 1 sample at a time, it is hard to get a good capture of the rotation. To fix this we will insert some timing into the data acquisition and let the data acquisition hardware buffer the data acquisition. From the DAQMX sub-palette, place the timing function on the block diagram. Wire the samples/channel and rate to 1000. Also change the read function to be a single channel multiple samples acquisition and add 1000 to the number of samples per channel. This will acquire 1000 samples over one second period. Once that is done, you have to change the waveform chart to a waveform graph and change the output variable data from a scalar to an array. Once that is done it should look like 8

And when you run it while running the motor it should look like Step 9 To determine the RPM, all we need to do now is count the number of pulses in ARRAY, divide by 2 to get revolutions per second and multiply by 60 to get the Revolutions Per Minute or RPM. To do this, we will post-process the ARRAY after it is acquired by using a FOR loop and use a CASE statement to determine if we have found another pulse to count. First place a FOR loop on the block diagram. Then wire the number of samples into the loop. Wire the ARRAY into the FOR loop and leave the auto indexing enabled (indicated by [] on the loop terminal). Take the elements of the ARRAY and add a comparison to determine if the value is GREATER THAN 2. Wire the output of this comparison into the selection input for a CASE structure. Add 2 shift registers to the FOR loop. One of the shift registers will keep the count of the pulses. The other shift register will hold a Boolean that will keep track of whether the signal was in a high or low state on the last pass of the FOR loop. Basically the case statement will work by only incrementing the count of pulses when the value in ARRAY is greater than 2 volts and when it was less than 2 volts on the last value of the array (last pass of the FOR loop). Initialize the shift register for the pulse count to 0 by placing a numeric constant outside the shift register and feeding it to it. Program the TRUE and FALSE cases as below 9

Divide the output of the pulse count shift register by 2 and wire to an indicator on the front panel to display the revolutions per second. Give this a try and record the number of revs/per second. Then modify the VI to multiply the revs/second by 60 and display RPM. 10

Your final display should look something like this Data There are two LEGO motors that we are working with. The first is the original LEGO motor (2838) and has high RPM but low torque. The second (5292) is a more modern motor which has higher torque but lower RPM. There are two locations for connecting an axle to this motor. The innermost connection has higher RPM than the outer. 11

The performance of these motors is documented at www.philohome.com. 12

AS 508 Lab 8 Hall Effect Sensor Name 1. Which motor has highest RPM? 2. What is the difference in RPM between the two shaft outputs of the 5292 motors? 3. Are the RPMs recorded in your experiment higher or lower than those reported on the wwww.philohome.com website for an equal voltage? Plot your observations on the plots from the website. 4. What is another sensor typically used to determine rotation rate of a shaft? 5. How could this magnetic sensor be modified to determine direction or rotation of a motor? To determine position? 6. What other types of sensors could you use other than the magnetic characteristics of the Hall effect switch to count pulses as the shaft rotated? 7. What LabVIEW function would you use if you needed to detect and track the maximum RPM observed? 8. What LabVIEW function would you use to time the performance of the data acquisition loop? 9. What LabVIEW function would you use to compute the mean and standard deviation of the observed RPM? 13