IJSRD - Cosmopolitan Diary for Scientific Research amp; Growth Vol. 2, Problem 12, 2015 ISSN (online): 2321-0613
Stepper Motor Control using LabVIEW and Nl-myRIO A Ganésan1 L Nhizanth2 Beds Kamban3 Gopalakrishnan.Ur4 1,2,3 Pupil 4Assistant Teacher 1,2,3,4 Department of Instrumentation and Control Anatomist 1,2,3,4 Saranathan College of Executive Trichy, India Abstract- In the present scenario, stepper engines are getting utilized for different applications expected to its versatility and convenience of control. This paper offers with the control of stepper engine using NI myRIO, because it is less complicated to work with LabVIEW programming, which is pretty easy. The pulse required to run the stepper electric motor is generated using National insurance myRIO and intérfaced with LabVlEW with the help of program code produced in the system. The supply voltage is definitely provided to the motor through a voltage drivers outlet and the engine's speed is managed by changing the time hold off in the LabVIEW system simulation specs. Here, unipolar stepper engine is taken into consideration and influx commute or full step push method is definitely utilized, since this type of technique is easy to carry out. Position sensors may obtain impacted by EMI and heat so we are going in for sensor much less control. This mechanical motion acquired making use of the stepper motor can end up being used in numerous industrial and actual time programs as well. Key terms: Stepper motor, LabVIEW, NI myRIO, EMI I. INTRODUCTION Traditionally position control is completed making use of DC motor, Air conditioner servo motor, Synchronous engine, Stepper electric motor, etc. Also though DC electric motor is easy to manage it offers some drawbacks like effects of overheating óf armature windings, ánd also torque to inertia is certainly low. Contemplating the above reasons placement is nowadays done using stepper engine because it provides precise place control owing to its built-in step movement and it can end up being easily controlled using open loop. Therefore no comments circuit is definitely required. Today they are being used in many versatile automatic applications like as Industrial robots, Room robotsamp; Healthcare softwares. The use of LabVIEW can be on the boost in universities and sectors specifically for data acquisition and process control. Frequently, there is usually a need to create LabVIEW software software program to work with international equipment, like a SIo-Syn stepper motor. Unfortunately, easy and obvious processes to develop motion control routines are not effortlessly obtainable. This document talks about a method develop to control a stepper motor using the LabVIEW software and the State Instrument hardware NI-myRIO. II. Mass DlAGRAM
Fig. 1: Schematic block diagram of stepper electric motor control loop
III. STEPPER MOTOR Stepper electric motor also known as Step electric motor in which individual rotation is fragmented into many ways. These engines are mainly utilized in measurement and handle programs. The commutator ánd brushes of standard motor are some of the most failure prepared components and they develop electric arcs that are unwanted or harmful in some environments. Stepper motors are brushless and it will be an electromechanical gadget which changes electric pulses into under the radar mechanical movements. The base or spindle óf a stepper electric motor rotates in discrete step increments, when electrical control pulses are used to it in the proper series. Stepper Motors come in a range of sizes, and benefits, from tiny floppy cd disk engines, to huge equipment steppers. There are usually two basic sorts of stepper engines, bipolar and unipolar. The motor which is used in this document is certainly a unipolar stepper engine. A unipolar stepper engine is actually two engines sandwiched together. Each engine is composed of two windings. Wires link to each óf the fóur windings of thé electric motor set, so there are usually eight wires coming from the motor. The commons fróm the windings are usually frequently ganged jointly, which decreases the wire count number to five or six instead of éight.
Fig. 2: Schematic diagram of unipolar stepper electric motor winding IV. STEPPER MOTOR Drivers The drivers signal consists of Double H Connection. H Connection allows a voltage to end up being used in either direction for a electric motor. This L Bridge power the unipolar engine. It can be utilized for treating the polarity ánd braking of thé engine. This signal is connected with the needed voltage of 12 volts to run the engine. The triggering is usually given by the myRIO electronic output interface. Digital result port creates 3.3V as activating pulse. Generally there are three forms of driver for a stepper engine, Full commute, half get and influx drive. In this we have operate the stepper engine using wave drive triggering. In this type only one wire is energized at a period as shown in the reality table.
All privileges set aside by www.ijsrd.com
478
Stepper Engine Control using LabVIEW and Nl-myRIO (IJSRD/VoI. 2/Concern 12/2015/124)
Fig. 3: Triggering Sequence Sixth is v. LABVIEW Laboratory Virtual Instrumentation Function Seat abbreviated as LabVIEW is definitely a Virtual programming language. LabVIEW is certainly a extremely productive, growth atmosphere for generating custom program that interact with the actual world indicators in fields like as research and executive. LabVIEW is distinctive because it makes this wide variety of tools obtainable in single environment. LabVIEW is certainly a growth atmosphere for problem solving leading to accelerated efficiency and constant advancement. G-Programming becoming a main device in LabVIEW offers been broadly used to interlink data acquisition, analysis and reasoning procedures. It is a higher level information flow graphical programming vocabulary designed to develop program that are usually interactive, performing in parallel ánd multi-core. lt is usually commonly used for commercial monitoring, handle and Automation. Development is completed using 3 sections as follows front side panel, Stop diagram and connector screen, where front panel serve as consumer interface where handles and indications are positioned and monitoring is transported out, Block diagram is made up of practical pads in which inputs are been born and connector panel can be utilized to produce sub VI'h. Compared to additional programming dialects LabVIEW is definitely user friendly because development is done by selecting and placing blocks instead than keying in a lengthy program code and mistake correction is usually very easy. Nowadays LabVIEW based programming atmosphere is definitely the innovator in the field of pc based dimension and data pay for VI. NI-MYRIO It is a equipment developed by State Instruments, Tx utilized to obtain and practice real period signals. It is usually a portable reconfigurable input / output abbreviated ás RIO. It comprises of a processor and FPGA embedded in it and it is small. It comprises of two development interface (MXP) fittings A and W carry identical place of indicators and both possess 34 pin number outs and a mini system interface (MSP) called Connector Chemical. In both the instances there are certain hooks which bring main and supplementary functions. Signals can end up being obtained and prepared in LabVIEW ánd the generated signals can end up being used in true period. NI-myRIO offers 3.3v, 5v, +/- 15v energy result. It provides connection with the sponsor computer either over USB or cellular connectivity. It offers an inbuilt accelerometer and unique features like Pulse width modulation, UART, Sound input and result terminals. The right after figure shows the flag out diagram of small system port from which we have got generated electronic indicators to activate stepper motor.
Fig. 4: Pin out diagram óf NI-myRIO mini system slot VII. EXPERIMENTAL SETUP The below figure shows the experimental setup of stepper electric motor interfaced with LabVIEW using NI-myRI0
Fig. 5: Experimental setup VIII. INTERFACING The software utilized for the project will be LabVIEW, version 2014.Welizabeth have set up our program in like a way that the RIO forces the driver outlet. my-RIO can only give a digital pulse of 3.3 volts not really even more than that, so we possess used this digital pulse to activate the driver circuit therefore that it will route the 12 volts connected to it to drive the stepper electric motor. We have got programmed the electric motor to run in both ahead and in reverse direction as well. By presenting a time hold off we have got also managed the acceleration of the engine. For the Forwards path in a specific series the electronic output comes from the series structure and similarly in the opposing path the series is given in the reverse purchase, for which Enum, case structures and while loop has been utilized. The fóur windings of thé engine are designated separate instances of Enum. The wires to become brought on in situation of forwards movement are usually in the following sequencered, natural, orange colored and azure. For reverse direction it should be powered in the reverse path. IX. SIMULATION AND Outcomes The pursuing depicts the block diagram and front side panel windows of the simuIation.
All rights arranged by www.ijsrd.com
479
Stepper Electric motor Control using LabVIEW and Nl-myRIO (IJSRD/VoI. 2/Concern 12/2015/124)
Fig. 6: Front screen of LabVIEW Stepper handle.vi
Freescale Semiconductor Application Be aware, AN2974 Rev. 1, 06/2005 3 “STEPPER MOTOR Research DESIGN”, by Silicon Labs. 4 Country wide Equipment, “LabVIEW Program code Interface Referrals Manual”, State Musical instruments, jan1998 Ed., Part Zero. 320539D-01. 5 Country wide Instruments, “LabVIEW Consumer Manual”, Country wide Instruments, Jan. 1998 Model 6 Age.Nesimi “Labview of electric circuits, devices, drives and laboratories”, Elizabeth. Nesimi, Prentice corridor, New Shirt 2002. 7 M.G Kothari and We.J Nagrath, “Electric devices”, 3rd edition, Tata McGraw Mountain, New Delhi, India. 8 Laidman Russell. “Unipolar Stepper Motors and Handle”. 1999 StepperWorld http://www.stepperworld.com 9 Brown, Ward. Brushless DC Engine Control Made Easy. 2002, Microchip Technology Inc. 10 Country wide Instruments “NI-myRIO-1900 user guide and specifications” 11 Country wide Tools “NI-myRIO projéct essentials guidé”.
Fig. 7: Engine block diagram off LabVIEW Stepper handle.vi By making use of shift signs up and situation structures we have provided the series in which the electric motor must operate in case of ahead and reverse directions, therefore that it goes in the needed direction appropriately. The usage of while cycle along with case structure with change signs up and enum can be known as as a State machine structures in LabVIEW. The front side -panel consists of Directed's that reveal the direction of the motor, sequence of the powéring of windings, ánd a call for the rate handle of the motor. As the period delay raises the rate of the motor lowers and vice-versa. A. CONCLUSION Hence the stepper electric motor control component has been implemented successfully using LabVIEW ánd my-RIO. Thé effectiveness of the project can be place to lucrative use in any in any type of environment that doesn't require or forbade the participation of human beings like in dangerous environments, exploration, and many such industrial, medical fields. Its software can therefore be expanded to any field with easy adjustments to make it work as a automatic arm. Reference point 1 Face, T.D. Mital, Deb.P. and Jabbar, (1988). Meters. A new. 'A stepper electric motor controller,' in Proceedings of the Cosmopolitan Meeting on Control, Oxford, UK. pp. 500-505. 2 Quick Begin for Beginners to Drive a Stepper Motor”, Writers - Matthew Offer 16-Little bit Automotive Programs Microcontroller Department,
All rights arranged by www.ijsrd.com
480
Stepper Motor Control using LabVIEW and Nl-myRIO A Ganésan1 L Nhizanth2 Beds Kamban3 Gopalakrishnan.Ur4 1,2,3 Pupil 4Assistant Teacher 1,2,3,4 Department of Instrumentation and Control Anatomist 1,2,3,4 Saranathan College of Executive Trichy, India Abstract- In the present scenario, stepper engines are getting utilized for different applications expected to its versatility and convenience of control. This paper offers with the control of stepper engine using NI myRIO, because it is less complicated to work with LabVIEW programming, which is pretty easy. The pulse required to run the stepper electric motor is generated using National insurance myRIO and intérfaced with LabVlEW with the help of program code produced in the system. The supply voltage is definitely provided to the motor through a voltage drivers outlet and the engine's speed is managed by changing the time hold off in the LabVIEW system simulation specs. Here, unipolar stepper engine is taken into consideration and influx commute or full step push method is definitely utilized, since this type of technique is easy to carry out. Position sensors may obtain impacted by EMI and heat so we are going in for sensor much less control. This mechanical motion acquired making use of the stepper motor can end up being used in numerous industrial and actual time programs as well. Key terms: Stepper motor, LabVIEW, NI myRIO, EMI I. INTRODUCTION Traditionally position control is completed making use of DC motor, Air conditioner servo motor, Synchronous engine, Stepper electric motor, etc. Also though DC electric motor is easy to manage it offers some drawbacks like effects of overheating óf armature windings, ánd also torque to inertia is certainly low. Contemplating the above reasons placement is nowadays done using stepper engine because it provides precise place control owing to its built-in step movement and it can end up being easily controlled using open loop. Therefore no comments circuit is definitely required. Today they are being used in many versatile automatic applications like as Industrial robots, Room robotsamp; Healthcare softwares. The use of LabVIEW can be on the boost in universities and sectors specifically for data acquisition and process control. Frequently, there is usually a need to create LabVIEW software software program to work with international equipment, like a SIo-Syn stepper motor. Unfortunately, easy and obvious processes to develop motion control routines are not effortlessly obtainable. This document talks about a method develop to control a stepper motor using the LabVIEW software and the State Instrument hardware NI-myRIO. II. Mass DlAGRAM
Fig. 1: Schematic block diagram of stepper electric motor control loop
III. STEPPER MOTOR Stepper electric motor also known as Step electric motor in which individual rotation is fragmented into many ways. These engines are mainly utilized in measurement and handle programs. The commutator ánd brushes of standard motor are some of the most failure prepared components and they develop electric arcs that are unwanted or harmful in some environments. Stepper motors are brushless and it will be an electromechanical gadget which changes electric pulses into under the radar mechanical movements. The base or spindle óf a stepper electric motor rotates in discrete step increments, when electrical control pulses are used to it in the proper series. Stepper Motors come in a range of sizes, and benefits, from tiny floppy cd disk engines, to huge equipment steppers. There are usually two basic sorts of stepper engines, bipolar and unipolar. The motor which is used in this document is certainly a unipolar stepper engine. A unipolar stepper engine is actually two engines sandwiched together. Each engine is composed of two windings. Wires link to each óf the fóur windings of thé electric motor set, so there are usually eight wires coming from the motor. The commons fróm the windings are usually frequently ganged jointly, which decreases the wire count number to five or six instead of éight.
Fig. 2: Schematic diagram of unipolar stepper electric motor winding IV. STEPPER MOTOR Drivers The drivers signal consists of Double H Connection. H Connection allows a voltage to end up being used in either direction for a electric motor. This L Bridge power the unipolar engine. It can be utilized for treating the polarity ánd braking of thé engine. This signal is connected with the needed voltage of 12 volts to run the engine. The triggering is usually given by the myRIO electronic output interface. Digital result port creates 3.3V as activating pulse. Generally there are three forms of driver for a stepper engine, Full commute, half get and influx drive. In this we have operate the stepper engine using wave drive triggering. In this type only one wire is energized at a period as shown in the reality table.
All privileges set aside by www.ijsrd.com
478
Stepper Engine Control using LabVIEW and Nl-myRIO (IJSRD/VoI. 2/Concern 12/2015/124)
Fig. 3: Triggering Sequence Sixth is v. LABVIEW Laboratory Virtual Instrumentation Function Seat abbreviated as LabVIEW is definitely a Virtual programming language. LabVIEW is certainly a extremely productive, growth atmosphere for generating custom program that interact with the actual world indicators in fields like as research and executive. LabVIEW is distinctive because it makes this wide variety of tools obtainable in single environment. LabVIEW is certainly a growth atmosphere for problem solving leading to accelerated efficiency and constant advancement. G-Programming becoming a main device in LabVIEW offers been broadly used to interlink data acquisition, analysis and reasoning procedures. It is a higher level information flow graphical programming vocabulary designed to develop program that are usually interactive, performing in parallel ánd multi-core. lt is usually commonly used for commercial monitoring, handle and Automation. Development is completed using 3 sections as follows front side panel, Stop diagram and connector screen, where front panel serve as consumer interface where handles and indications are positioned and monitoring is transported out, Block diagram is made up of practical pads in which inputs are been born and connector panel can be utilized to produce sub VI'h. Compared to additional programming dialects LabVIEW is definitely user friendly because development is done by selecting and placing blocks instead than keying in a lengthy program code and mistake correction is usually very easy. Nowadays LabVIEW based programming atmosphere is definitely the innovator in the field of pc based dimension and data pay for VI. NI-MYRIO It is a equipment developed by State Instruments, Tx utilized to obtain and practice real period signals. It is usually a portable reconfigurable input / output abbreviated ás RIO. It comprises of a processor and FPGA embedded in it and it is small. It comprises of two development interface (MXP) fittings A and W carry identical place of indicators and both possess 34 pin number outs and a mini system interface (MSP) called Connector Chemical. In both the instances there are certain hooks which bring main and supplementary functions. Signals can end up being obtained and prepared in LabVIEW ánd the generated signals can end up being used in true period. NI-myRIO offers 3.3v, 5v, +/- 15v energy result. It provides connection with the sponsor computer either over USB or cellular connectivity. It offers an inbuilt accelerometer and unique features like Pulse width modulation, UART, Sound input and result terminals. The right after figure shows the flag out diagram of small system port from which we have got generated electronic indicators to activate stepper motor.
Fig. 4: Pin out diagram óf NI-myRIO mini system slot VII. EXPERIMENTAL SETUP The below figure shows the experimental setup of stepper electric motor interfaced with LabVIEW using NI-myRI0
Fig. 5: Experimental setup VIII. INTERFACING The software utilized for the project will be LabVIEW, version 2014.Welizabeth have set up our program in like a way that the RIO forces the driver outlet. my-RIO can only give a digital pulse of 3.3 volts not really even more than that, so we possess used this digital pulse to activate the driver circuit therefore that it will route the 12 volts connected to it to drive the stepper electric motor. We have got programmed the electric motor to run in both ahead and in reverse direction as well. By presenting a time hold off we have got also managed the acceleration of the engine. For the Forwards path in a specific series the electronic output comes from the series structure and similarly in the opposing path the series is given in the reverse purchase, for which Enum, case structures and while loop has been utilized. The fóur windings of thé engine are designated separate instances of Enum. The wires to become brought on in situation of forwards movement are usually in the following sequencered, natural, orange colored and azure. For reverse direction it should be powered in the reverse path. IX. SIMULATION AND Outcomes The pursuing depicts the block diagram and front side panel windows of the simuIation.
All rights arranged by www.ijsrd.com
479
Stepper Electric motor Control using LabVIEW and Nl-myRIO (IJSRD/VoI. 2/Concern 12/2015/124)
Fig. 6: Front screen of LabVIEW Stepper handle.vi
Freescale Semiconductor Application Be aware, AN2974 Rev. 1, 06/2005 3 “STEPPER MOTOR Research DESIGN”, by Silicon Labs. 4 Country wide Equipment, “LabVIEW Program code Interface Referrals Manual”, State Musical instruments, jan1998 Ed., Part Zero. 320539D-01. 5 Country wide Instruments, “LabVIEW Consumer Manual”, Country wide Instruments, Jan. 1998 Model 6 Age.Nesimi “Labview of electric circuits, devices, drives and laboratories”, Elizabeth. Nesimi, Prentice corridor, New Shirt 2002. 7 M.G Kothari and We.J Nagrath, “Electric devices”, 3rd edition, Tata McGraw Mountain, New Delhi, India. 8 Laidman Russell. “Unipolar Stepper Motors and Handle”. 1999 StepperWorld http://www.stepperworld.com 9 Brown, Ward. Brushless DC Engine Control Made Easy. 2002, Microchip Technology Inc. 10 Country wide Instruments “NI-myRIO-1900 user guide and specifications” 11 Country wide Tools “NI-myRIO projéct essentials guidé”.
Fig. 7: Engine block diagram off LabVIEW Stepper handle.vi By making use of shift signs up and situation structures we have provided the series in which the electric motor must operate in case of ahead and reverse directions, therefore that it goes in the needed direction appropriately. The usage of while cycle along with case structure with change signs up and enum can be known as as a State machine structures in LabVIEW. The front side -panel consists of Directed's that reveal the direction of the motor, sequence of the powéring of windings, ánd a call for the rate handle of the motor. As the period delay raises the rate of the motor lowers and vice-versa. A. CONCLUSION Hence the stepper electric motor control component has been implemented successfully using LabVIEW ánd my-RIO. Thé effectiveness of the project can be place to lucrative use in any in any type of environment that doesn't require or forbade the participation of human beings like in dangerous environments, exploration, and many such industrial, medical fields. Its software can therefore be expanded to any field with easy adjustments to make it work as a automatic arm. Reference point 1 Face, T.D. Mital, Deb.P. and Jabbar, (1988). Meters. A new. 'A stepper electric motor controller,' in Proceedings of the Cosmopolitan Meeting on Control, Oxford, UK. pp. 500-505. 2 Quick Begin for Beginners to Drive a Stepper Motor”, Writers - Matthew Offer 16-Little bit Automotive Programs Microcontroller Department,
All rights arranged by www.ijsrd.com
480
NI myRIO: 'Electret Mic demo' LabVIEW project NTS. This video supplements the book 'NI myRIO Project Essentials Guide,' a free download available at. How To Convert pdf to word without. The digital tuner converts the continuous analog audio signal recorded by the microphone into the sampled digital discrete signal. The digital signal is converted to the frequency using the functions and the nearest tone is determined 1. Many digital tuners, after sampling the analogue signal, filter out noise and accept sound from a certain level of volume.