MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL OBSERVATION OF DC MOTOR PARAMETERS BY ATMEGA-16 USING EMBEDDED SYSTEMS

Similar documents
Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

Automation of DC Motor Control using PWM Technique for thin film deposition

FABO ACADEMY X ELECTRONIC DESIGN

DC motor control using arduino

SPEED CONTROL OF DC MOTOR USING PWM TECHNIQUE

Serial communication inverter. Lab bench scenario. Inverter Board, A/D, D/A, PWM, Filters, Encoders. Inverter board. and Dimmer introduction

Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days

DC Motor Speed Control using PID Controllers

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

Speed Control of Single Phase Induction Motor Using Infrared Receiver Module

Microcontroller Based Closed Loop Speed and Position Control of DC Motor

Learning Objectives:

Modeling, Simulation and Implementation of Speed Control of DC Motor Using PIC 16F877A

Robotics & Embedded Systems (Summer Training Program) 4 Weeks/30 Days

PCB & Circuit Designing

ARDUINO BASED DC MOTOR SPEED CONTROL

PCB & Circuit Designing (Summer Training Program 2014)

An External Command Reading White line Follower Robot

Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller

DC-Motor Driver circuits

Electronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

II. MAIN BLOCKS OF ROBOT

ISSN: (Online) Volume 2, Issue 1, January 2014 International Journal of Advance Research in Computer Science and Management Studies

Administrative Notes. DC Motors; Torque and Gearing; Encoders; Motor Control. Today. Early DC Motors. Friday 1pm: Communications lecture

MICROCONTROLLER BASED SPEED SYNCHRONIZATION OF MULTIPLE DC MOTORS IN TEXTILE APPLICATIONS

Teaching Mechanical Students to Build and Analyze Motor Controllers

Massachusetts Institute of Technology. Lab 2: Characterization of Lab System Components

Industrial Fully Control Dc Motor Drive without Microcontroller. Four Quadrant Speed Control of DC Motor Using MOSFET and Push Button Switch

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

Speed Control of DC Motor Using Microcontroller

Ch 5 Hardware Components for Automation

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

Speed Control of the DC Motor through Temperature Variations using Labview and Aurdino

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL.

LINE MAZE SOLVING ROBOT

Implementation of Multiquadrant D.C. Drive Using Microcontroller

STAND ALONE SOLAR TRACKING SYSTEM

Sensors and Sensing Motors, Encoders and Motor Control

WifiBotics. An Arduino Based Robotics Workshop

Obstacle Avoidance Mobile Robot With Ultrasonic Sensors

SPEED SYNCHRONIZATION OF MASTER SLAVE D.C. MOTORS USING MICROCONTROLLER, FOR TEXTILE APPLICATIONS

Automobile Prototype Servo Control

Design and Development of Novel Two Axis Servo Control Mechanism

Pre-LAB 5 Assignment

THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN

DASL 120 Introduction to Microcontrollers

ECE 511: MICROPROCESSORS

Steady State Operating Curve Voltage Control System

Design and Implementation of DC Motor Speed Control Based on TMS Microcontroller

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY

Single-phase Variable Frequency Switch Gear

Designing of a Shooting System Using Ultrasonic Radar Sensor

Physics 4C Chabot College Scott Hildreth

Gesture Controlled Car

IMPLEMENTATION OF WATER LEVEL FILLING STRATEGY BY USING PWM TECHNIQUE

Speed Control Of Transformer Cooler Control By Using PWM

Power Factor Compensation Using PIC

MSK4310 Demonstration

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim

International Journal of Research In Science & Engineering e-issn: Volume: 3 Issue: 2 March-April 2017 p-issn:

Walle. Members: Sebastian Hening. Amir Pourshafiee. Behnam Zohoor CMPE 118/L. Introduction to Mechatronics. Professor: Gabriel H.

Microcontroller Based Automatic Control Home Appliances

Magnetic Field of the Earth

King Fahd University of Petroleum and Minerals. Department of Electrical Engineering

ECE 445 Spring 2017 Autonomous Trash Can. Group #85: Eshwar Cheekati, Michael Gao, Aditya Sule

Internet of Things (Winter Training Program) 6 Weeks/45 Days

Laboratory 11. Pulse-Width-Modulation Motor Speed Control with a PIC

EEL4914 Senior Design. Final Design Report

GRAPHICAL LCD BASED DIGITAL OSCILLOSCOPE

Basic NC and CNC. Dr. J. Ramkumar Professor, Department of Mechanical Engineering Micro machining Lab, I.I.T. Kanpur

Efficiency Optimized Brushless DC Motor Drive. based on Input Current Harmonic Elimination

7 Lab: Motor control for orientation and angular speed

Embedded & Robotics Training

Computer Numeric Control

Sensors and Sensing Motors, Encoders and Motor Control

SIMULATION AND IMPLEMENTATION OF PID-ANN CONTROLLER FOR CHOPPER FED EMBEDDED PMDC MOTOR

New Approach on Development a Dual Axis Solar Tracking Prototype

Control System Design for Tricopter using Filters and PID controller

ARDUINO / GENUINO. start as professional. short course in a book. faculty of engineering technology

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering Vol. 2, Issue 6, June 2013

Design of double loop-locked system for brush-less DC motor based on DSP

ANALYSIS OF V/f CONTROL OF INDUCTION MOTOR USING CONVENTIONAL CONTROLLERS AND FUZZY LOGIC CONTROLLER

Time Response Analysis of a DC Motor Speed Control with PI and Fuzzy Logic Using LAB View Compact RIO

Figure 1: Motor model

International Journal of Advance Engineering and Research Development

WIRELESS DC MOTOR SPEED AND DIRECTION CONTROL USING IR (PWM and H-Bridge)

CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008

Note to the Teacher. Description of the investigation. Time Required. Additional Materials VEX KITS AND PARTS NEEDED

Robotic Navigation Distance Control Platform

uc Crash Course Whats is covered in this lecture Joshua Childs Joshua Hartman A. A. Arroyo 9/7/10

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

PreLab 6 PWM Design for H-bridge Driver (due Oct 23)

DC SERVO MOTOR CONTROL SYSTEM

High Speed Continuous Rotation Servo (# )

Instrument Cluster Display. Grant Scott III Erin Lawler Mike Carlson

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor

Transcription:

MEASUREMENT, PROTECTION, SPEED CONTROL AND GRAPHICAL OBSERVATION OF DC MOTOR PARAMETERS BY ATMEGA-16 USING EMBEDDED SYSTEMS MANOJ KUMAR SWAIN 1, N.SAROJ KUMAR 2, DIGVIJAY KUMAR 3 AND MANIKA NAYAK 4 1 Associate Professor in EEE Department, GIET, Gunupur 2,3,4 B. Tech student in EEE Department, GIET, Gunupur Abstract The objective of the present paper is to design a circuit which is applicable for multiple purposes of a dc motor. DC motors are widely used not only in the industries but also in daily life applications like drills, shapers, vacuum cleaner, spinning and weaving machines etc. So it is required to observe the basic parameters like voltage, current, speed and torque by measuring the values of those parameters. The experimental values are measured using different techniques and displayed in a 16x4 LCD. Two graphs have been plotted in 124X64 graphical LCD by taking the respective parameter values. Also it is designed for speed control of DC motor using PWM technique. Keywords DC motor, microcontroller, parameters calculation and displaying, graphical displaying, Speed control, PWM. I. INTRODUCTION The main objective of this project is to measure, protect, speed control and graphical observation of different parameters of a DC motor with a minimum cost, portable, reliable, easy operation and low power application. Large scale industries use different electric panels for controlling and smooth operation of high voltage DC motors. But it is difficult to invest that much of huge amount in small industrial labs, institutional labs, research centers, robotics clubs etc. It is neither affordable to use for daily life appliances like drills, hair driers, mixer, sewing machines, vacuum cleaners nor in small business purposed motor applications like lathes, boring mills, spinning and weaving machines, elevators, etc. So power electronics components and technology can be used both for improving the performance of the motor and implementation in its practical fields with the protection of the motor. It is also applicable to control the speed of the motor used in the machine by using PWM technique. This project is done using ATMEGA-16 microcontroller. II. BLOCK DIAGRAM AND CIRCUIT DIAGRAM DESCRIPTION Figure-1 shows the proposed blocks of the total project. The system is designed for a 12V, 1ampere, 200 rpm DC motor using ATMEGA 16A microcontroller programmed using the software AVR STUDIO-4 and SINAPROG. The project needs a L293D motor driver for controlling the speed of the DC motor. ACS712 current sensor is used to measure the current flows through the motor and gives the value of current to the microcontroller. Similarly speed sensor counts the number of rotations per minute and gives the value as input to microcontroller. Also 16X4 LCD displays the measured values and limit values entered in program and 128X64 graphical LCD shows the graphs by taking the respective values. @IJMTER-2016, All rights Reserved 145

Figure 1:- Block diagram of measurement, protection, speed control and graphical observation of dc motor Note: Power supply unit is not shown here, it is connected to each blocks. Figure 2:- Circuit diagram of measurement, protection, speed control and graphical observation of dc motor III. METHEDOLOGY The total project consists of four sections i.e A. Displaying the measured parameters(v,i,n,t) of a DC motor B. Giving limit values for protection purpose C. Graphical observation of respective parameters(n~i, V~t) D. Speed control by PWM technique A. Displaying measured parameters of DC motor:- The project is done to measure the basic parameters of the DC motor i.e. voltage, current, speed and torque which are the most important parameters for different loads. The different parameters are measured by different techniques. The voltage is measured across the supply terminals of motor by using voltage divider circuit and ADC converter. The (0-12)V voltage level of motor is compared with (0-5)V of the uc voltage level @IJMTER-2016, All rights Reserved 146

and according to that uc sends the voltage value by doing the comparison. The current flows through motor is measured by ACS712 current sensor which is connected to the 39 th and 40 th pin of microcontroller as shown in circuit diagram. It is connected in series in between motor driver and the DC motor so that the current flows through it. The speed is counted by using a IR sensor which provides increment of counter value per rotation by doing a small circle in wheel. Finally it provides the number of rotations counted in one minute. The required torque parameter value is calculated by ATMEGA-16 microcontroller by the required equation Figure 3:- 16X4 LCD displaying parameters value and limit values B. Giving limit values for protection purpose:- A dc motor should be protected against the parameters like current, voltage, speed, torque, etc. The voltage is measured and given as input to the microcontroller. Here power supply circuit is supplied through a 12V, 1 amp adapter so voltage level will not exceed to 12V. SO the voltage limit is given as 8V below which uc is programmed to stop the motor. Similarly the ACS712 current sensor gives the current value in milliampare. It is programmed to protect the motor against over current. The limit value given is 200 mamp. The uc will stop the motor if I value exceeds the limit. The speed sensor gives thr rpm value as input to the uc and the limit value is given 100 below which the uc stops the motor. Similarly the maximum torque value is given 90 N-cm. C. Graphical observation of respective parameters:- A 128X64 graphical LCD is used for graphical observation of the motor characteristics and the parameters. Here the LCD is programmed to divide into two parts horizontally. One part will show the different characteristics of dc motor like N~I, T~I, N~T and the other part will show any required different parameters like here it is programmed in the AVR STUDIO-4 for the voltage in X-axis and Time in Y-axis. As, So it is observed that torque is directly proportional to the armature current. Also, @IJMTER-2016, All rights Reserved 147

Figure 4:- 128x64 Graphical LCD From the equations torque (T) is inversely proportional to speed (N) and torque (T) is directly proportional to current (I) so that speed (N) and current (I) are inversely proportional to each other. D. Speed control by PWM technique:- So many methods are there for controlling the speed of a DC motor. Pulse width modulation id the simplest method to control the speed. PWM is implemented using a microcontroller, dependent on an input value for generating variable pulse widths, for driving motor at variable speed. PWM method generates binary signals, which has two periods of signals i.e. low and high. The width (W) of each repetitive pulse signal changes in between 0 and the total pulse period (t).the basic principle of PWM is to control the speed by changing the duty cycle. The load speed can be controlled by the conduction period of the pulse signal. Let t1= conduction time period (voltage level is maximum) t2= non-conducting time period t2 (voltage level is zero) Then the total time period is t (total)= t1+t2 Duty cycle= t1 / t(total) So the motor speed can be increased by increasing the numerator value i.e. the conduction time period t1. In this project the motor speed is changing from zero to maximum by changing the pulse given to the L293D. The three pins of L293D are connected to +5V, +12V and ground of the power supply circuit. Motor driver supplies +12V power to the motor. According to the pulse level from microcontroller (0-5V) it supplies to the motor (0-12V). In this way the speed changes from zero to the maximum. IV. RESULTS AND DISCUSSIONS The project model is supplied with 12V adapter through the dc socket. When the power switch is switched ON the 3 pins of 7805 voltage regulator provides three voltage levels i.e +12V, +5V and ground. From the three pins the total circuit is supplied according to the requirement. The ATMEGA-16A microcontroller is supplied with +5V. And the L293D motor driver is connected with the three pins of power supply unit. The motor starts rotating and all the measuring elements starts to measure the parameter values. LCD is displaying name of the parameters and both the measured values and limit values in first, second and third column respectively. From this experiment two graphs are plotted in GLCD from the observation values. The first graph is plotted by programming N~I out of the three characteristics curves. Figure-4 shows the graphical observation of N~I curve where speed is inversely proportional to current. The second graph is plotted by programming for any parameters. Here it is taken voltage vs time. The figure shows that voltage is constant with respect to time. The graph can be changed by taking any parameters @IJMTER-2016, All rights Reserved 148

according to the requirement by changing the variable names in X-axis and Y-axis respectively in the program. Figure 5:- Graphical displaying of measured values in 128x64 GLCD Figure6:-Project Model of measurement, protection, speed control and graphical observation of motor V. CONCLUSION AND FUTURE APPLICATIONS The basic goal of this project is to calculate parameters, to provide protection, to control the speed and to draw graphs according to respective parameters. In large industries it the same task is done using different panels which are very costly and are not affordable for small applications which are mentioned in introduction part. In this project the total four objectives are operated by a single ATMEGA-16 microcontroller. So it is very cheap compared to the total operations done by it. For this reason it can be used as an application in different products like in drill machines for over current protection, mixer machine for speed control, in lathe and spinning and weaving machines to show the speed of operation and limit value for smooth operation, in research centers for graphical observations, in boring mills to show speed and torque, etc. Also in future it can be implemented like a product by interfacing a keypad to the total circuit through which the limit values can be entered for different product applications according to their voltage, current, speed and torque ratings. So it can be modified as a displaying, protecting, speed controlling and graphical curve plotting product for universal dc motor based applications. dc @IJMTER-2016, All rights Reserved 149

REFERENCES [1] www.alldatasheet.com/datasheet-pdf/pdf/78532/.../atmega16.html [2] www.ti.com/lit/ds/symlink/l293.pdf [3] www.allegromicro.com/~/media/files/datasheets/acs712-datasheet.ashx [4] http://www.datasheetcatalog.com/datasheets_pdf/l/c/d/-/lcd-016m004a.shtml [5] http://www.engineersgarage.com/electronic-components/graphics-lcd [6] http://planetcalc.com/1908/ [7] http://www.ablab.in/128x64-graphical-lcd-interfacing-with-avr-atmega16-microcontroller/ @IJMTER-2016, All rights Reserved 150