Design Of Stepper Motor Control Interface With Embedded Systems

Similar documents
Object Tracking by PID Control and Image Processing On Embedded System

World Scientific Research Journal (WSRJ) ISSN: Design and Implementation of Stepper Motor Control System Based on 52 MCU

Raspberry Pi 3 Model B

IoE Workshop. Marc Khayat, CCIE #41288, Leonard Janer Technical Managers. June 16

Understanding the Concept of Microcontroller Based Systems To Choose The Best Hardware For Applications

II. PROPOSED SYSTEM AND IMPLEMENTATION

w w w. b a s e t r a i n i n g i n s t i t u t e. c o

Ryan Everaert Application Note Team - I Application Note for Toshiba Bipolar Stepper, Part Number TB6560AHQ

SMART PHONE BASED ENERGY MANAGEMENT SYSTEM USING RASPBERRY PI3

A Raspberry Pi Based System for ECG Monitoring and Visualization

Smart Door Security Control System Using Raspberry Pi

Me Stepper Driver. Overview

Cooking with Team 279

Implementation of ATM security using IOT

Raspberry Pi. Hans-Petter Halvorsen, M.Sc.

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY (BUET) DHAKA TECHNICAL SPECIFICATION FOR SUPPLY AND INSTALLATION OF LABORATORY EQUIPMENTS (PKG1).

AlphaBot2 robot building kit for Raspberry Pi 3 Model B

The TechNexion Difference

Index. Jeff Cicolani 2018 J. Cicolani, Beginning Robotics with Raspberry Pi and Arduino,

Kevin Meehan Stephen Moskal Computer Architecture Winter 2012 Dr. Shaaban

TOUCH PANEL PC 10.1 USER GUIDE

World Scientific Research Journal (WSRJ) ISSN: Design and Implementation of Stepper Motor Control System

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

Raspberry Pi & GPIO Zero

Overview of the Raspberry Pi Models 3B & 2B

IOTs Based Stepper Motor Control using ARDUINO

Pill-Matic Product Design Specification Rev. 1.1 Connor Dueck, Devon Louie, Adam Gabriel, Jerry Yao, Peter Hsu ENSC305W, ENSC440W 10/16/03

An Object Tracking for Studio Cameras by OpenCV-based Python Program

Introduction to Microcontrollers

A platform to build smart solutions for everyday ease

International Journal of Research

Interaction with the Physical World

Intel Galileo gen 2 Board

SECOND EDITION. Arduino Cookbook. Michael Margolis O'REILLY- Tokyo. Farnham Koln Sebastopol. Cambridge. Beijing

Wireless Fire Fighting Robot

3D Scanner PDR. Team 8 Oct. 23, Vangjel Frasheri Siyan Lin Chenkai Zhou. Advisor: Professor Tessier

DESIGN OF LIGHTWEIGHT E- ATTENDANCE PROTOTYPE USING RASPBERRY PI

IoT Based Traffic Signalling System

MegaPi Born to Motion Control

Two Hybrid Stepper Motor Models

Power Supply, Arduino MEGA 2560, and Stepper Motors Connections

Raspberry Pi Workshop

AN INTELLIGENT ENERGY MANAGEMENT SYSTEM USING RASPBERRY PI AND IOT

Raspberry Pi Compute Development board

V1BOOST-STEPPER Unipolar Stepper Motor BoosterPack for the MSP430 LaunchPad. User s Guide

International Journal of Engineering Trends and Applications (IJETA) Volume 4 Issue 6, Nov-Dec 2017

IoT Project Proposals

INTERFACING HARDWARE WITH MICROCONTROLLER

Design and Implementation of Interactive Home Automation System through using Raspberry Pi

A Low Cost Internet of Things Network for Contamination Detection in Drinking Water Systems Using Raspberry Pi

Ten (or so) Small Computers

USE OF GSM TECHNILOGY TO CONTROL THE SPEED OF STEPPER MOTOR

SBC3100 (Cortex-A72) Single Board Computer

F28HS Hardware-Software Interface: Systems Programming

Industrial Appliances Control Using Android Mobile & Bluetooth Technology

Raspberry Pi Introduction

BLUETOOTH BASED OFFICE AUTOMATION AND SECURITY SYSTEM USING RASPBERRY PI AND ANDROID APPLICATION

Automobile Design and Implementation of CAN bus Protocol- A Review S. N. Chikhale Abstract- Controller area network (CAN) most researched

Design of the Control System for Step Motor Based on MCU

[Tiwari*, 5(2): February, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

Microcontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.

Project Proposal Guide MATHWORKS TRACK Disclaimer:

Rajagiri School of Engineering & Technology, Kochi Department of Information Technology

TechNexion PICO SOM Expansion Board

Raspberry Pi. Quick-Start Guide. Rev 1.0, Mar 2017

Arduino Cookbook O'REILLY* Michael Margolis. Tokyo. Cambridge. Beijing. Farnham Koln Sebastopol

FriendlyELEC NanoPi Fire3 - Octa-Core Samsung S5P6818 Cortex-A53, 400M Hz - 1.4G Hz

RaRa Academy: Raspberry Pi. Karl Heinz Kremer - K5KHK

Design of Five Floors Elevator with SCADA System Based on S7200 PLC

ADVANCE VEHICLE CONTROL AND SAFETY SYSTEM USING FACE DETECTION

ARM HOW-TO GUIDE Interfacing Stepper Motor with LPC2148

MAKEVMA401 5 VDC STEPPER MOTOR WITH ULN2003 DRIVER BOARD USER MANUAL

Electronics Single Board Computers

Interactive Head Control of Embroidery Machine using Embedded Web Server

GUI Based Industrial Automation using Python under Linux

Wheel Chair for Physically Challenged Person

War Field Spy Robot Using Night Vision Technology

EP486 Microcontroller Applications

Academic Year Annexure I. 1. Project Title: Color sensor based multiple line follower robot with obstacle detection

Fatigue Detection to Prevent Accidents

micromax R Getting Started Guide

Study on Gear Chamfering Method based on Vision Measurement

Smart Mirror Group K Hector Zacarias EE Justin Gentry CpE Michael Trivelli CpE

SABRE Board for Smart Devices

QwikBox. Live Video Capture and Upload Device Group 25

IOT-GATE-RPI. Reference Guide

ReMutt Control. Critical Design Review

Elements of Microcomputer Microprocessor RAM (Random Access Memory) ROM (Read Only Memory) > PROM, EPROM, EEPROM I/O Devices Interface Components

60 mm sq. (2.36 inch sq.)

PLG160 Linear Stage PLG mm Travel PLG160 s. NEMA23 In-Line. Frameless Motor

WIND VELOCITY AND DIRECTION MEASUREMENT Chingunde Sheetal Laxman, Choudhary Manju Nenaram, Gaikwad Prajakta Prashant

Developement of Multi Interface Board for Educational Trainer Kit

BASICS OF THE RENESAS SYNERGY PLATFORM

International Journal of Engineering Trends and Technology (IJETT) Volume 32 Number 2- February 2016

Personal Computer-less (PC-less) Microcontroller Training Kit

Remote Controlling and Monitoring of Induction Motors through Internet

LV8414CSGEVK V1.0 Evaluation Kit User Guide

Design & Development of My SmartPhone Kit:

EDJE PROJECT. The Software Foundation for IoT Devices. IS2T S.A All rights reserved.

Model export to Ansys Electronics Desktop

Transcription:

International Journal Of Engineering Research And Development e- ISSN: 2278-067X, p-issn: 2278-800X, www.ijerd.com Volume 14, Issue 6 (June Ver. I 2018), PP.17-22 Design Of Stepper Motor Control Interface With Embedded Systems Eray Yılmazlar 1, Volkan Erdemir 2, Hilmi Kuşçu 3, Aydın Güllü 4 1-2 (Kırklareli University, Technical Sciences Vocational School, Kırklareli, TURKEY) 3 (Trakya University, Mechanical Engineering Department, Edirne, TURKEY) 4 (Trakya University, İpsala Vocational School, Edirne, TURKEY) Corresponding Author: Eray Yılmazlar ABSTRACT: In this study, the interface design which can be controlled in real time by the step motors which are widely used in the industrial area has been realized. For the purpose of the realized project, the use of the interface screens of the embedded system cards, which can see the same task instead of expensive industrial organs, has been realized. In the interface screen, the design for stepper motor cycle, number of steps, direction and speed control is created. The experimental set is designed to control for different stepper motors on the 7 display with raspberry pi. Remote access is provided between the interface screen and raspberry pi via the Windows IOT operating system. The interface screen design was made with the Microsoft Visual Studio program and run on the touch screen. The real-time control of the stepper motors is performed according to the options in the interface. The commands of the options were transmitted to the stepper motor drivers with raspberry's general purpose input / output pins and motor control was carried out. This study is an example of the development of more innovative designs with remote access, touch screen control and the use of embedded system cards according to other motor control interface designs. KEYWORDS: Stepper motor, Interface, Control, Embedded Systems ----------------------------------------------------------------------------------------------------------------------------- ---------- Date of Submission: 01-06-2018 Date of acceptance: 16-06-2018 ----------------------------------------------------------------------------------------------------------------------------- ---------- I. INTRODUCTION Today, the development of mobile devices, the remote communication of objects with the internet, the provision of control of devices and the preference of modern visual interfaces have also improved the interface designs[1, 2]. New generation interface designs have more modern visuals menus. It is developed in accordance with internet transfer and control of data. In order to perform these operations, the operating systems are required. Among these devices, the Raspberry pi card comes to the forefront in terms of features and ease of use. The aim of this work is to realize the use of raspberry pi computer card and display panel which can realize more practical, economical and modern designs for the tasks performed by costly control units such as PLC, HDMI Panel and desktop computer. Another aim is to realize the control of the stepper motor and the parameters affecting this control via the interface. When used in design, engineering experiments, the use of stepper motor and learning of working characteristics will also occur[3]. The materials used in the figure 1.0 are shown in table I. The design was also controlled by raspberry pi on the IPS screen of 4 different stepper motors for rotation, step, direction and speed control. Table I:Used Materials Used Materials Materials Name 1 Control Card Raspberry pi 3 A 1 HDMI Screen 7 Inch HDMI LCD Display 1024x600 IPS 4 Stepper Motor 28 BYJ-48 Reducing stepper motor 4 Stepper Motor Driver ULN2003A Stepper motor driver card A. Raspberry Pi 3 A Embedded system cards are easy to use, low cost, accessible, and practical, increasing the use of single card computers in the industry and academies, as the operating system can be installed on them. In the figure 1 the raspberry pi 3A series, which appeared to be in the study, was used. The following Table II defines the Technical Specification of Raspberry Pi 1 Model A[4]. 17

Fig. 1: Raspberry Pi Card Table II: Defines the Technical Specification of Raspberry Pi 1 Model A Specification of Raspberry Pi 3A Card SoC Broadcom BCM2837 CPU 4 ARM Cortex-A53, 1.2GHz GPU Broadcom Video Core IV RAM 1GB LPDDR2 (900 MHz) Networking 10/100 Ethernet, 2.4GHz 802.11n wireless Bluetooth Bluetooth 4.1 Classic, Bluetooth Low Energy Storage microsd GPIO 40-pin header, populated Ports HDMI, 3.5mm analogue audio-video jack, 4 USB 2.0, Ethernet, Camera Serial Interface (CSI), Display Serial Interface (DSI) B. Interface Screen The 7-inch HDMI LCD touch screen, shown in figure 2, was used in the study. Raspberry is connected with HDMI cable and is supplied with USB port. It has a screen resolution of 1024 600 and has a capacitive touch auditor. Fig. 2: Interface screen C. Step Motor Step motors are brushless DC motors used in machines, robots, automation systems to convert electrical pulse signals into circular motion or liner motion. The stepper motor must be controlled by a stepper motor drive circuit in order to rotate by angular steps. Today, there are many driver cards and kits that perform this control process. Similarly, pulse signals can be generated by many units such as PLC, FPGA, Arduino, Raspberry pi. Step motors are usually made in two phases. Depending on the motor phase number and structure, the number of connectors can be 4, 5, or 6[5]. Step motor drive topology can be classified according to motor structure. Drive topology of stepper motors is an important criterion for motor selection. There are two main topologies in the application of stepping motors: unipolar and bipolar. Bipolar step motor with four-pole stator comes from two windings (two-phase windings) divided into two parts in stepper motors. Bipolar stepping motors may have 4 winders or 6 tips with the lines removed in the middle of the two phase windings [6] Unipolar step motor with unipolar winding, bipolar motors are formed as well as in the middle of twophase windings. The midline line was connected to each other by 5, and 6 lines were formed without connecting. At the same time, the stator pole has windings which are not connected to each other but are wrapped in opposite directions. Figure 3 shows the schematic diagram of bipolar stepper motor and unipolar stepper motor In the realized project, 4 pieces of 28BYJ-48-5V series Stepper Motor are used. This stepper motor is preferred because it has 5V supply preference because of 4 phase, speed variation ratio 1/64, stride angle 5.625 / 64, frequency 100Hz, low current draw and economical[7]. 18

Fig. 3: Schematic diagram of bipolar stepper motor and unipolar stepper motor D. Step Motor driver The stepping motor must be supplied with the appropriate supply voltage to the windings of the stator so that it can perform its movement. The sequence of phase signals required for the motor is provided by a control circuit program. The ULN2003APG kit is shown in figure 4 as the drive circuit used in the design[8]. Fig. 4: ULN2003 Stepper motor driver II. INTERFACE DESIGN IN ON MICROSOFT VISUAL STUDIO Many interface panels have remote access, control card integrated touch screen structure. When these features are examined, it is observed that the interface applications of Microsoft Visual Studio respond to this need. The ease of use of these applications on control cards such as Raspberry pi, and the fact that it is economical, increases the usage of panel and raspberry pi together in interface designs. The implemented interface design was designed as a windows application in visual studio. The designed interface was communicated with the raspberry pi via the Remote Machine feature and the GPIO units of the card were controlled. The interface screen shown in figure created an integrated system by connecting to the 7inch touch screen with HDMI output of Raspberry Pi. In the interface design, it was created so that the characteristics of the stepper motor can be used in easy way. These features include number of revolutions, number of steps, speed of rotation, direction of rotation. There are 2 combo boxes on the interface screen. In these combo boxes, motor selection and rotation selection are made. There is also a text box that performs the rotation movement up to the desired number of steps instead of the rotation. The speed control of the stepper motor is performed with the slider set as the speed of rotation. The system is started with the forward and backward start buttons and is stopped with the stop button. Figure 5 shows the interface screen design III. STEPPER MOTOR CONTROL Stepper motors can be controlled using an open-loop control system without stepping motors needing feedback[9]. The step that the motor will take is provided by applying the pulse (square wave) voltage to the windings in turn. With the pulse signal provided by the stepper motor driver, the desired angular displacement and direction of rotation of the motor can be controlled. The speed and acceleration control of the stepper motor can also be achieved by controlling the frequency of the pulse signal [10]. Figure 6 shows the square wave signals produced by the motor driver and the rotational motion of the motor. In the block and flow diagram shown in figure 7, the stepper motor selection preferred by the user and the desired motion characteristics are transferred to the raspberry pi. The control software in the raspberry sends the signals to the stepper motor via the GPIO. The control software in the raspberry sends signals to the stepper motor via GPIO to perform the desired motion. 19

Fig. 5: Stepper motor control interface screen The stepper motors perform the rotation according to the signals from the driver. If the rotation is represented by a formula, the relationship between the phase currents and the torque is given by the following equations. Fig. 6: Square Wave Signals Produced By the Motor Driver and the Rotational Motion of the Motor [ ( )] (1) [ ( )] (2) [ ( ) ( ) ] (3) Where: i a, i b, V a, V b in equation1-4 are currents and voltages in phases A and B; R,L are winding s resistance and inductance respectively; Km is the motor torque constant, B is viscous friction coefficient, Nr is the number of rotor teeth, J is rotor s moment of inertia, τl is the load torque, ω is the rotor speed and is its angular position[10]. (4) 20

Fig. 7: Stepper motor control interface unit block and flow diagram IV. CONCLUSION The interface controls on many devices have evolved into more practical and easy-to-use designs as a result of improvements in today's technology. The use of embedded system cards in the devices used in the control methods has become more preferred because of the development of the hardware capabilities for control and be more economics. Fig. 8:Stepper Motor Control Unit As a result of the project in figure 8, stepper motor control system was prepared by using interface screen tool by using raspberry pi, one of the embedded system boards. In this design, Windows IOT and Raspbian operating systems supported by Raspberry PI have been tested in interface design and control. The Qt designer program for the Raspbian operating system has been tested in python. Since the Qt designer interface screen design was more ordinary, the Visual Studio program running with the more modern visual structured Windows IOT operating system was preferred. It is envisaged that the embedded system card of this embodiment will be an incentive and guide for use with interface control units. This study contributes to the training of stepper motor control. It also contributes to understanding how the stepper motor works, how it is controlled, and the use of control variable parameters. 21

REFERENCES [1]. Gubbi, J., et al., Internet of Things (IoT): A vision, architectural elements, and future directions. Future generation computer systems, 2013. 29(7): p. 1645-1660. [2]. Lee, I. and K. Lee, The Internet of Things (IoT): Applications, investments, and challenges for enterprises. Business Horizons, 2015. 58(4): p. 431-440. [3]. Korkmaz, H., et al. Developing a graduate level embedded system programming course content by using blended programming methodologies: Text-based and graphical. in Global Engineering Education Conference (EDUCON), 2014 IEEE. 2014. IEEE. [4]. Raspberry. Raspberry Pi. 2018 07/08/2018]; Available from: https://www.raspberrypi.org/. [5]. Fa-Qun, Q., J. Xue-Dong, and Z. Shi-qing, Design of stepping motor control system based on AT89C51 microcontroller. Procedia Engineering, 2011. 15: p. 2276-2280. [6]. Roy, T.S., H. Kabir, and M.A.M. Chowdhury, Simple Discussion on Stepper Motors for the Development of Electronic Device. International Journal of Scientific & Engineering Research, 2014. 5(1): p. 1089-1096. [7]. Kitronics. 28BYJ-48 5V Stepper Motor. 2018 [cited 2018; Available from: http://robocraft.ru/files/datasheet/28byj-48.pdf. [8]. Toshiba. ULN2003APG. 2018 [cited 2018; Available from: https://datasheet.lcsc.com/szlcsc/uln2004apg_c14336.pdf. [9]. KOCAOĞLU, S. and H. KUŞÇU. Design and control of PID-controlled ball and beam system. in Unitech. Int. Science Conference, Gabrovo. 2013. [10]. Defoort, M., et al., A third-order sliding-mode controller for a stepper motor. IEEE Transactions on Industrial Electronics, 2009. 56(9): p. 3337-3346. Eray Yılmazlar. Designof Stepper Motor Control Interfacewith Embedded Systems." International Journal Of Engineering Research And Development, vol. 14, no. 06, 2018, pp. 17 22 22