Design and Development of Labview Based Steering Wheel Angle Sensor System

Similar documents
Accurate Measurement of the Mains Electricity Frequency

Microcontroller-based experiments for a control systems course in electrical engineering technology

VEHICLE MONITORING CONTROLLING AND TRACKING SYSTEM BY USING ANDROID APPLICATION

International Journal of Electronics and Computer Science Engineering 1588

MicroMag3 3-Axis Magnetic Sensor Module

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Sense it! Connect it! Bus it! Solve it! EncoderS

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

Experimental Study of Automated Car Power Window with Preset Position

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

8051 MICROCONTROLLER COURSE

Micro-Step Driving for Stepper Motors: A Case Study

Digital Single Axis Controller

Tire pressure monitoring

FRC WPI Robotics Library Overview

Lab 2 Sensor Modeling Introduction to the Wiimote and the Wiimote LABVIEW Interface

Chapter 8. Digital and Analog Interfacing Methods

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

GT Sensors Precision Gear Tooth and Encoder Sensors

STEPPER MOTOR SPEED AND POSITION CONTROL

Design and Construction of Variable DC Source for Laboratory Using Solar Energy

Chapter 8. Digital and Analog Interfacing Methods

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

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

The Answer to the 14 Most Frequently Asked Modbus Questions

MEMS ACCELEROMETER BASED PASSWORD RECOGNITION SYSTEM USING GSM

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy

Harmonic oscillations of spiral springs Springs linked in parallel and in series

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

INTRODUCTION TO SERIAL ARM

RF Measurements Using a Modular Digitizer

Address for Correspondence

ModS. SIO. USB analog. computer

Chapter 8. Digital and Analog Interfacing Methods

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

DATA LOGGING SYSTEM FOR PRESSURE MONITORING

Study on the Auto Air Conditioning Controller Testing System Based on Lab Windows/CVI

LOCAL INTERCONNECT NETWORK (LIN)

Ocean Controls RC Servo Motor Controller

Three Axis TB6560 CNC Driver Users Manual

Design and Implementation of a 4-Bar linkage Gripper

Conversion Between Analog and Digital Signals

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

AN-812 APPLICATION NOTE

Automated Profile Vehicle Using GSM Modem, GPS and Media Processor DM642

Design and Implementation of an Accidental Fall Detection System for Elderly

Verification of Short Circuit Test Results of Salient Poles Synchronous Generator

AN2680 Application note

DESIGN OF SMS ENABLED CAR SECURITY SYSTEM

Solar Tracking for Maximum and Economic Energy Harvesting

Hand Gestures Remote Controlled Robotic Arm

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

Microcontroller for Variable Speed BLDC Fan Control System. T.C. Lun System Engineer, Freescale Semiconductor, Inc.

Advantages of Auto-tuning for Servo-motors

Data Acquisition Using NI-DAQmx

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Physical Specifications (Custom design available.)

Using angular speed measurement with Hall effect sensors to observe grinding operation with flexible robot.

Introduction to Electronic Signals

AAT001-10E TMR Angle Sensor

A Surveillance Robot with Climbing Capabilities for Home Security

The Design of a Low-Cost and Robust Linkage Position Sensor

Using Xbee in Serial Communication

2.0 Command and Data Handling Subsystem

Sensor-Based Robotic Model for Vehicle Accident Avoidance

Microcontroller to Sensor Interfacing Techniques

Stepper motor I/O. Application Note DK Motion Control. A General information on stepper motors

WxGoos-1 Climate Monitor Installation Instructions Page 1. Connections. Setting an IP Address

Steering Angle Sensor Resets

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

Embedded Intensive Patient Care Unit

Induction Motor Theory

Electronic Speed Variator for a Brushless DC Motor

HIGH SECURED VEHICLE WITH INTERIOR VENTILATION CONTROL AND PERIMETER MONITORING SYSTEM

BASIC ELECTRONICS AC CIRCUIT ANALYSIS. December 2011

2011, The McGraw-Hill Companies, Inc. Chapter 3

Motors and Generators

DESIGN AND IMPLEMENTATION OF LOW COST HOME SECURITY SYSTEM USING PIC MICROCONTROLLER ANDGSM NETWORK

Four/Five Axis TB6560 CNC Driver Users Manual

I2C PRESSURE MONITORING THROUGH USB PROTOCOL.

Computer Controlled Generating Stations Control and Regulation Simulator, with SCADA SCE

Keywords: rainfall detection, rain sensor, buzzer and alarm system.

E-TRACKING SYSETEM FOR MUNICIPAL SOLID WASTE MANAGEMENT USING RFID TECHNOLOGY

AA and AB-Series Analog Sensors

What Is an Electric Motor? How Does a Rotation Sensor Work?

Network Enabled Battery Health Monitoring System

PC BASED PID TEMPERATURE CONTROLLER

FACTORY AUTOMATION INTELLIGENT CLAMP MONITORING FOR MACHINE TOOL SPINDLES WITH INDUCTIVE POSITIONING SYSTEMS

Description. Dimensions. Features. precision works better

CELL PHONE CONTROL ROBOT CAR

KINETIC ENERGY RECOVERY SYSTEM BY MEANS OF FLYWHEEL ENERGY STORAGE

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

How To Control Gimbal

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

MSc in Autonomous Robotics Engineering University of York

Gear Trains. Introduction:

PHD User Manual. Table of Contents

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

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

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

Transcription:

Design and Development of Labview Based Steering Wheel Angle Sensor System Tony George 1, Susan acharia 2, Elizabeth Rufus 3 and achariah C Alex 4 1,3,4 School of Electronics Engineering, Vellore Institute of Technology Vellore, Tamil Nadu, India 2 Computer Science Department, Vedavyasa Institute of Technology Malappuram, Kerala, India 1 tonygeorge@ vit.ac.in 4 zachariahcalex@ vit.ac.in Abstract Conventional angle sensors can measure only 360,but passenger car steering wheel turns through +/-720 o (a total of 4 complete turns). In this paper we describe igmr based steering wheel angle sensor implementation which can be used as a rotation sensor to measure +/- 720. Keyword- Steering Wheel Angle Sensor, IGMR, Angle Sensor, GMR. I. INTRODUCTION The discovery of Power Steering (PS) system and its implementation in automobiles has substantially reduced the driving effort by assisting in turning the wheels with the help of an external power source. In a modern Electrical Power Steering (EPS) an electronic motor is directly connected to the steering gearbox that helps in turning the steering wheel with less effort and ease. Steering wheel angle sensor is used to detect the orientation and motion of the steering wheel of a vehicle. This measured angle is used to give assistive power to steering via an electric motor and according to the driving conditions it changes the amount of assistance [1].The steering wheel angle is also used for electronic stability program, advanced front lighting systems, lane departure warning system and 4 wheel steering etc. There are different methods to find out the angle of a steering wheel based on Optical encoder, Hall Effect and AMR. Optical encoder steering wheel angle sensor for measuring four turn (1440) requires a counter or register because it can measure only 360 at a time and in next rotation its angle value is added to the last value using rotation register. This method has several disadvantages while using in automobile because quiescent current requires storing steering angle data that can t give at certain situations [3]. Hall-effect steering wheel angle sensor is another method in which Hall Effect vane switches is used to register the angle and the number of rotation of steering wheel. A magnetic code disc rotates with the steering shaft and strongly reduces the magnet s field or screens it off completely. Absolute measurement with good resolution is not achieved in this method [3]. Anisotropic magneto resistive (AMR) sensors can be used for measurement of steering wheel angle but sensitivity of the sensor is less compared to Giant Magnetic Resistance (GMR) based angle measurement sensors. The integrated Giant Magnetic Resistance ( igmr ) TLE5010 manufactured from infineon is a 360 angle sensor is used in this work, which measure the angular movement with the orientation of a magnetic field of a permanent magnet fixed to the rotating object by calculating the sine and cosine angle elements with monolithic igmr [4]. Passenger car steering wheel turns through +/-720 o (a total of 4 complete turns), conventional angle of rotation sensors can measure only 360. So we need to measure + /- 720 degree using an angle rotation sensor with contact less, absolute angle measurement, without the need of a revolution counter but should give angle information upon wakeup. II. EXPERIMENTAL SETUP FOR INTEGRATED GIANT MAGNETIC RESISTANCE BASED MULTI TURNS ABSOLUTE ANGLE SENSOR SYSTEM Four turns absolute angular position sensor system requires special mechanical arrangement to rotate the magnets over the magnetic angle sensors. In this system sensor as shown in Fig 1 (a) is used for measuring four turns of steering angle so that a hub gear wheel G attached to steering column rotate two cogwheels g 1 and g 2 with different number of teeth. These cogwheels are used as measuring gear wheels which is fixed with a permanent magnet at center. Each cog wheel with magnet fixed at center is place over igmr angle sensor. The number of teeth on one cog wheel differs to that on other, which means that they therefore change their rotational angle values. By combining the angle measured using these two sensors it is possible to obtain the total angle of rotation. This increase the measurement ranges to +/-720 degree, which allows four turns absolute angular position sensing of steering wheel. ISSN : 0975-4024 Vol 7 No 2 Apr-May 2015 577

The two measuring gears g 1 and g 2 representing angle θ 1 having n number of teeth and angle θ 2 having n+3 number of teeth are twirled by a hub gear representing angle φ having n+9 teeths of the steering column. The arrangement of a steering wheel angle sensor is shown in Fig 1 (a). The direction of the magnetic field of the magnet centered cogwheel determines the angle θ 1 and θ 2 using igmr 1 and igmr 2 angle sensors. The igmr 1 and igmr 2 elements are fixed to steering shaft cover. The measuring gears g 1 and g 2 have magnets attached with the gears. These magnets intern is twirled when the hub wheel G turns. A change in magnetic field is detected by igmr 1 and IGMR 2 and that magnetic field changes angle value. By combining the angle values of igmr 1 and igmr 2 the total angular rotation is calculated. Fig 1. (a) Arrangement of a steering wheel angle sensor Fig 1. (b) Experimental setup for four circles absolute angular position sensor system ent of a steering wheel angle sensor Fig 1. (c) Connection diagram of microcontroller with both igmr sensors ISSN : 0975-4024 Vol 7 No 2 Apr-May 2015 578

III. DETERMINATION OF THE STEERING ANGLE FROM THE ANGLES OF MEASURING GEARS The mathematical relations for the steering wheel angle are obtained from the pair of measuring gears angles. The angle of rotation φ of the steering wheel with hub gear is calculated from the measured angle θ i of the igmr i sensor gear wheel as follows [2]: i ϕ = ( θ i + ni ) (1) where is the number of teeth of the driving gear wheel (steering column), i the number of teeth of sensor gear wheel i, n i the current number of revolutions of the sensor gear wheel i. A pair of sensors with i=1 and i=2 are necessary to compute the number of revolutions n i. For sensor elements, 1 and 2(where = 1 = 2 = 360 ) and numbers of teeth of the measuring gear wheels z 1 and z 2. In this case we have the numbers of periods as p 1 and p 2,where p 2 = z 1 and p 1 = z 2. The following equations are valid in a similar way for arbitrary and numbers of teeth. The computation of the angle of rotation φ is unique in the range [0, φ max]. The maximum angle of rotation φ max for two sensor elements is 1 ϕ max = p1 p2 (2) From equation (1) and p 1 = 2 and p 2 = 1 we get p2 p1 ϕ = ( θ 1 + n1 ) = ( θ 2 + n2 ) (3) p1 θ 2 p2 θ 1 = ( p2 n1 p1 n2) (4) p 1 θ 2 p2 θ 1 = p2 n1 p1 n2 The right hand side is replaced with an integer k, θ 2 = p1 p θ 1 k 2 (6) Here p 1, p 2, are constant then k = θ 2 θ 1 (7) The k value calculated from angles θ1 and θ2 is an integer as per equation (7) is rounded to the next value. We need to solve equation (7) using θ1 and θ2 and select the corresponding number of revolutions n1 or n2 from lookup table[2]. From the values n1 or n2, the rotation angle φ is obtained. A setup is made as shown in Fig 1(b) for experimental analysis of four circles absolute angular position sensor system designed. Tested the output verified the results for 1440 by rotating 4 turns in this setup and found suitable to be fixed on the steering. IV. IMPLEMENTATION OF DATA ACQUSITION SYSTEM FOR ANGLE SENSOR For communication with igmr, angle calculation and to send this data communication to different locations to display or store the result, we need to develop a system which needs proper hardware and software. For display and store the result in Personal Computer (PC) a data acquisition system is developed with LabView and RS232 communication. Microchip PIC Microcontroller (PIC16F877A) serial peripheral interface (SPI) is used to get angle data from the igmr (TLE5010). Angle calculations are done in the microcontroller and the result is transmitted to PC LabVIEW program using RS232 communication with microcontroller. A. Hardware For Data Acquisition System A 360 angle sensor,tle5010 is used to detect the changing direction of the magnetic field of a magnet placed in the measuring cogwheels. igmr sensors have two resistance bridges. These sensors arranged in a way that makes them 90 degrees to each other. The bridge parts are composed of GMR (giant magneto resistance) elements. When the steering wheel is turned, a measurement cogwheel with permanent magnet rotates over a GMR element and this changes the bridge voltage. An integrated analog to digital converter (ADC) is used to convert the two bridge voltage to 16 bit digital value and is stored in separate registers. The registers contain sine and cosine angle components which are converted to angle value mathematically with trigonometric functions. PIC16F877A microcontroller is used for this mathematical operation. Data communication between TLE5010 ADC register and PIC16F877A is done via bi-directional SPI interface. The read out from sine and cosine values registers are mathematically processed for finding the changing direction(angle) of the magnetic field. (5) ISSN : 0975-4024 Vol 7 No 2 Apr-May 2015 579

For measuring larger steering angles two TLE5010 is used. Both are connected to one SPI interface of a PIC16F877A as shown in Fig 1 (c). Each connected TLE5010 is addressed using a dedicated chip select.the broadcast command is used for communication between the microcontroller and TLE5010. The clock for the sensors is provided by an external from a boxed crystal oscillator which ensures a synchronous operation. The sensor has its own PLL to generate the necessary clock frequency for the chip operation [4]. The read out data from both the TLE5010 is converted into angle values of each sensor using an arc tan function. These two angle values are transmitted to PC and is processed in LabVIEW to convert it into steering wheel angle and save the data in PC. A line driver MAX232 is used to connect PIC16F877A with PC serial port. B. Software for Data Acquisition System CCS C compiler is used to program low cost PIC16F877A microcontroller. Microcontroller works as a data acquisition card for LabVIEW program that runs on PC. TLE5010 is connected to microcontroller SPI interface. Built-in function for SPI is used with some modification according to TLE5010 datasheet. PIC16F877A reads the igmr analog voltage data from register of TLE5010 and convert into angle value using mathematical function. This angle values from both sensor is send to the PC using RS232 communication protocol. In LabVIEW program these two angle values are converted into steering wheel angle. V. DETERMINATION OF FOUR TURNS ABSOLUTE ANGULAR POSITION USING ONLINE SYSTEM DESIGNED WITH LABVIEW Four turns absolute angle value is calculated from the data send from the PIC16F877A microcontroller using LabVIEW software is discussed here A. Analysis Of Accrued Data From Two Sensors Data acquired using microcontroller interface to PC with LabVIEW is used for analysis of result obtained from four rotations of hub gear wheel, which is connected to cog wheels with magnets and sensors. A steeper motor is used to rotate the hub gear wheel uniformly to measure the angle data for analysis. The accrued data from both igmr is plotted in graph as shown in fig 2 (a). This graph shows the relationship between two values of output from igmr 1 and igmr 2 after complete four turn of hub gear wheel (1440 ). In x axis hub wheel rotation angle and in y axis measured values from both igmr sensors is plotted. From this it is clear that the difference between two sensor values varies linearly with respect to other. Fig 2. (a) Acquired data from both igmr sensors for same angular rotation of hub gear wheel Fig 2. (a) Difference plotted between igmr 1 angle igmr 2. igmr 1 angle value is subtracted with igmr 2 angle value to obtain the variation in two measured values and plotted a graph as shown in fig 2 (b). It shows that the difference between the two sensors decreasing linearly while increasing the number of turns or degree of rotation. From this it is concluded that if the difference between two sensor values are measured then it is possible to find the number of turns of the steering wheel using a lookup table. Using equation (1) calculated the angle of steering wheel, the output after four rotations is shown in Fig 3 (a). It is linearly increasing from 0 to 1440. ISSN : 0975-4024 Vol 7 No 2 Apr-May 2015 580

Fig 3 (a) angular rotation with respect to sensor angle value Fig 3 (b)labview front panel which shows the angle value with steering wheel rotation B. Implementation Steering Wheel Angle Sensor The sensor is implemented on an actual steering wheel as shown in Fig 4. Hub wheel is fixed to the steering column and cogwheels are attached to it. When the steering wheel rotates, the hub wheel attached to it intern rotates its cogwheels with magnets at the center and the relative position of the cogwheels are obtained. From this the steering wheel angle is measured. The sensor requires no power supply when the engine is switched off. In spite of getting a power supply during the engine switch off, the sensor marks the current steering angle when turned on. Fig 4 Implementation of sensor system in car steering The advantage of the system is not limited to the increase in measurement range, the system gives a fixed range for measuring angle.the interaction exist between two cog wheels thereby providing a limited number of settings for steering angle. If the measured values go beyond the available range the interface protocol is invalid. C. Error Analysis The implementation of sensor system is shown in Fig.4. The error graph for steering wheel angle sensor is shown in Fig.5. In this graph x axis represents the original steering wheel angle φ and y axis represents the calculated error. The error for this system reaches 4 in some locations. The reason for error is permanent magnet alignment is not correct due to assembly error and effect of gear precision. ISSN : 0975-4024 Vol 7 No 2 Apr-May 2015 581

Fig. 5 Experimental error for steering wheel angle sensor VI. CONCLUSION In this paper, we described the design and implementation of a steering wheel angle sensor system based on igmr. This system gives a flexible design for absolute four-turn steering wheel angle measurement. The error can be minimized to less than 1.5 using accurate mechanical assembly. Using this principle, it becomes feasible to cover a measurement range of four-turns steering-wheel rotations without the need to use a revolution counter or register. The steering-wheel angle is produced in the form of an absolute angle across the entire steeringcolumn rotation range and no quiescent current required to store steering angle data. This flexible design allows wide scope of applications. REFERENCES [1] Infineon, EPS with GMR-Based Angular and Linear Hall Sensor, Germany: Infineon Technologies, 2008. [2] Elmar Dilger Matthias Gulbins, Thomas Ohnesorge, Bernd Straube: On a Redundant Diversified Steering Angle Sensor. Robert Bosch GmbH, 2003. [3] William Kimberly: Automotive Electrics and Automotive Electronics systems and components 4 th edition Robert Bosch Gmbh, Professional Engineering publishing, January 2004. [4] TLE5010 GMR Based Angular Sensor: Infineon Preliminary Data Sheet, V 0.9, May 2007. ISSN : 0975-4024 Vol 7 No 2 Apr-May 2015 582