Delphi Application designed to control stepper motors

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

STEPPER MOTOR SPEED AND POSITION CONTROL

Micro-Step Driving for Stepper Motors: A Case Study

GLOLAB Two Wire Stepper Motor Positioner

Infrared Sensor and FBUS Technology for House Security System Based on Mobile Phone

Principles of Adjustable Frequency Drives

DC Motor control Reversing

Drive circuit basics + V. τ e. Industrial Circuits Application Note. Winding resistance and inductance

Unit 33 Three-Phase Motors

Electronic Speed Variator for a Brushless DC Motor

CENTRONICS interface and Parallel Printer Port LPT

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Ocean Controls RC Servo Motor Controller

Microstep Driver Manual Version 6/13/2006

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

AN470 APPLICATION NOTE

Bob Rathbone Computer Consultancy

AN235 Application note

Controlling a Dot Matrix LED Display with a Microcontroller

Motor Fundamentals. DC Motor

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

SYSTEM 4C. C R H Electronics Design

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A

Using Xbee in Serial Communication

Design and Construction of Robotic Drilling Machine for Softer Materials- An Overview

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

Access Control Using Smartcard And Passcode

The components. E3: Digital electronics. Goals:

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

Advanced Data Capture and Control Systems

A Digital Timer Implementation using 7 Segment Displays

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

AN2680 Application note

TPM Product Type 107-D162-NNT 48-channel digital input and 16-channel digital output module with pluggable terminal

WORKING WITH STEPPER MOTORS

Motors and Generators

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

DK40 Datasheet & Hardware manual Version 2

Design Project: Power inverter

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications

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

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012

AND8008/D. Solid State Control Solutions for Three Phase 1 HP Motor APPLICATION NOTE

AP-1 Application Note on Remote Control of UltraVolt HVPS

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Lab 8: DC generators: shunt, series, and compounded.

THE SOLAR TRACKING SYSTEM A PROJECT BY ARINDAM BOSE, ECE, 4TH YEAR OF FUTURE INSTITUTE OF ENGINEERING AND MANAGEMENT

Transformerless UPS systems and the 9900 By: John Steele, EIT Engineering Manager

Development of a Computer-Controlled Security Gate System.

SYNCHRONOUS MACHINE TESTING WITH MOTOR CIRCUIT ANALYSIS INSTRUMENTATION

A Surveillance Robot with Climbing Capabilities for Home Security

Application Note AN-1187

CHAPTER 11: Flip Flops

Lab 7: Operational Amplifiers Part I

Chen. Vibration Motor. Application note

MDC Series

Construction and Application of a Computer Based Interface Card

COMPUTER BASED REMOTE CONTROL FOR LAYOUT OF SCALED MODEL TRAINS

5800 AND BiMOS II LATCHED DRIVERS UCN5800L UCN5800A

SYSTEM 45. C R H Electronics Design

Unit/Standard Number. High School Graduation Years 2010, 2011 and 2012

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

Modular I/O System Analog and Digital Interface Modules

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

Electronic Rotary Table Divider V2.1 Construction

.OPERATING SUPPLY VOLTAGE UP TO 46 V

Tech Info Document: PIC16F84A LCD Satellite Antenna Tracking Interface

Synchronous motor. Type. Non-excited motors

11. PROTECTIVE CIRCUITS, LED INDICATORS and FAULT CONDITIONS... 15

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE ELECTRICAL MACHINES II UNIT-I SYNCHRONOUS GENERATOR

*ADVANCED ELECTRIC GENERATOR & CONTROL FOR HIGH SPEED MICRO/MINI TURBINE BASED POWER SYSTEMS

Content Map For Career & Technology

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

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

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

Interfacing Analog to Digital Data Converters

Setup for PWM Tests of BLDC Motor

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

Arduino Lesson 13. DC Motors. Created by Simon Monk

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

What Is Regeneration?

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

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

Interfacing To Alphanumeric Displays

Simulation of Electric Drives using the Machines Library and the SmartElectricDrives Library

Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand)

2003 THRU 2024 HIGH-VOLTAGE, HIGH-CURRENT DARLINGTON ARRAYS ABSOLUTE MAXIMUM RATINGS FEATURES

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Design and Applications of HCPL-3020 and HCPL-0302 Gate Drive Optocouplers

User Manual. AS-Interface Programmer

8-Bit Microcontroller with Flash. Application Note. Using a Personal Computer to Program the AT89C51/C52/LV51/LV52/C1051/C2051

Part Number Description Packages available

13 ELECTRIC MOTORS Basic Relations

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

LSI/CSI LS7362 BRUSHLESS DC MOTOR COMMUTATOR/CONTROLLER DESCRIPTION:

AC Induction Motor Slip What It Is And How To Minimize It

Inductance. Motors. Generators

Transcription:

Delphi Application designed to control stepper motors Bogdanel-Andrei BUCUR, Cristian ANDRONIC University of Bacau, Department of Energetics, Mechatronics and Computer Science e-mail: rector@ub.ro Keywords: Stepper motor, paralel port, drivers, Delphi application. Abstract: The paper presents an application created in Borland Delphi 7 that is running an stepper motor through a circuit consists of a continuous power source and drivers for that motor. The application allows control motor speed, torque type, direction of rotation, the number of steps and the number of rotations. This work resolve the issue via the use of the PIC and other detection circuits for motor drivers. In fact the driver is powered from a DC source of 24 V, and ordered computer parallel port through which pulses to give the movement motor. 1. STEPPER MOTOR A stepper motor is a brushless, synchronous electric motor that can divide a full rotation into a large number of steps. The motor's position can be controlled precisely, without any feedback mechanism. Stepper motors are similar to switched reluctance motors, which are very large stepping motors with a reduced pole count, and generally are closed-loop commutated. A unipolar stepper motor has logically two windings per phase, one for each direction of current. Since in this arrangement a magnetic pole can be reversed without switching the direction of current, the commutation circuit can be made very simple (eg. a single transistor) for each winding. Typically, given a phase, one end of each winding is made common: giving three leads per phase and six leads for a typical two phase motor. Often, these two phase commons are internally joined, so the motor has only five leads. A microcontroller or stepper motor controller can be used to activate the drive transistors in the right order, and this ease of operation makes unipolar motors popular with hobbyists; they are probably the cheapest way to get precise angular movements. A stepperr motor performance is strongly dependent on the drive circuit. Torque curves may be extended to greater speeds if the stator poles can be reversed more quickly, the limiting factor being the winding inductance. To overcome the inductance and switch the windings quickly, one must increase the drive voltage. This leads further to the necessity of limiting the current that these high voltages may otherwise induce.[1] 2. PARALEL PORT The Parallel Port is the most commonly used port for interfacing home made projects. This port will allow the input of up to 9 bits or the output of 12 bits at any one given time, thus requiring minimal external circuitry to implement many simpler tasks. The port is composed of 4 control lines, 5 status lines and 8 data lines. It's found commonly on the back of your PC as a D-Type 25 Pin female connector. There may also be a D-Type 25 pin male connector. This will be a serial RS-232 port and thus, is a totally incompatible port. Below is a table of the "Pin Outs" of the D-Type 25 Pin connector and the Centronics 34 Pin connector. The D-Type 25 pin connector is the most common connector found on the Parallel Port of the computer, while the Centronics Connector is commonly found on printers. The IEEE 1284 standard however specifies 3 different connectors for use with the Parallel Port. The first one, 1284 Type A is the D-Type 25 connector found on the back of most computers. The 2nd is the 1284 Type B which is the 36 pin Centronics Connector found on most printers. EEE 1284 Type C however, is a 36 conductor connector like the Centronics, but smaller. This connector is claimed to have a better clip latch, better electrical properties and is easier to assemble. It also contains two more pins for signals which can be used to see whether the other device connected, has power. 1284 Type C connectors are recommended for new designs, so we can look forward on seeing these new connectors in the near future.[2]

Imgage 1. Pin Assignments of the D-Type 25 pin Parallel Port Connector Pin No (D-Type 25) Pin No SPP Signal (Centronics) Direction In/out 1 1 nstrobe In/Out Control Yes 2 2 Data 0 Out Data 3 3 Data 1 Out Data 4 4 Data 2 Out Data 5 5 Data 3 Out Data 6 6 Data 4 Out Data 7 7 Data 5 Out Data 8 8 Data 6 Out Data 9 9 Data 7 Out Data 10 10 nack In Status 11 11 Busy In Status Yes 12 12 Paper-Out / In Paper-End Register Hardware Inverted Status 13 13 Select In Status 14 14 nauto- Linefeed In/Out Control Yes 15 32 nerror / nfault In Status 16 31 ninitialize In/Out Control 17 36 nselect-printer / nselect-in 18-25 19-30 Ground Gnd In/Out Control Yes Table 1. Pin Assignments of the D-Type 25 pin Parallel Port Connector

3. DRIVERS The ULN2003 is a monolithic high voltage and high current Darlington transistor arrays. It consists of seven NPN darlington pairs that features high-voltage outputs with common-cathode clamp diode for switching inductive loads. The collector-current rating of a single darlington pair is 500mA. The darlington pairs may be parrlleled for higher current capability. Applications include relay drivers, hammer drivers, lampdrivers, display drivers(led gas discharge), line drivers, and logic buffers. The ULN2003 has a 2.7kW series base resistor for each darlington pair for operation directly with TTL or 5V CMOS devices.[3] Image 2. Pin connection Image 3. Schematic (each darlington pair)

4. DELPHI APPLICATION The application designed to command the parallel port is implemented in Borland Delphi 7. This application allows the user to command stepping motor driver with the help of several options: 4.1 THE CONTROL OF THE MOTOR DIRECTION The engine can be configured to move in a direction of Backward or Forward and it can be changed at any time 4.2 THE STEPPING MOTOR Image 4. The direction control The application allows the motor running with either of the three types of engine torque specific stepper motors Image 5. The stepping control 4.3 THE SPEED CONTROL Speed can be controlled with this option, which defines the period of time between the two stationary consecutive steps Image 6. The control of the speed

4.4 THE CONTROL OF THE STEPS NUMBER The software controls both the number of motor running steps and the number or complete rotations, regardless of the type of torque selected Image 7. The control of the steps number 4.5 THE GUI The application has an attractive graphical user interface. This is intuitive and easy to use Image 8. The control of the steps number

5. THE ELECTRONIC BOARD Image 9. The electronic board 6. REFERENCES: [1]. www.wikipedia.com [2]. http://www.beyondlogic.org/spp/parallel.htm [3]. http://www.datasheetcatalog.com/datasheets_pdf/u/l/n/2/uln2003.shtml