GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Robin Chen's Blog
  • Archives
  • Tags
  • Categories
  • About
  • KinDemo
  • 上一篇Kinematic of Serial Robot Arm
  • 下一篇Mechatronics - On/Off Temperature Control

This view

  • Original page
  • New address

GeezerVison is showing robincpc.github.io — Mechatronics - Stepper Motors Control

Mechatronics - Stepper Motors Control

One of case studies at Mechatronics class at Columbia University taught by Dr. Fred R. Stolfi. The goal of this case study is get an understand of the issues and techniques for stepper motor control using an embedded microcomputer. Stepper motors are the preferred technology for position control system such as those in machine tools.
The main apparatus includes:

  • A microcontroller, PIC16F74
  • A Microchip microcomputer board
  • Two permanent magnet stepper motors (unipolar and bipolar)
  • Four optical interrupters (four sets of LED and Photo Transistor )

The film of stepper motors control:

The following describes the different modes of motor operation:

1. Mode 1 - Basic Incremental Motion
In mode 1, the microcomputer will rotate the stepper motors between the (optical) interrupters sequentially (i.e. only one motor will move at any time). For this mode, when the red button (on microcomputer board) is pressed, the microcomputer will cycle a stepper motor between the two interrupters by shortest path. Full step operation will be used for both motors (unipolar and bipolar)

2. Mode 2 - Basic Opposed Continuous Motion
In mode 2, the microcomputer basically controls the motors in full stepping operation continuously (two motors move at the same time) with the motors moving in opposite directions. Both motors start at the horizontal interrupter position. After red button is pressed, both motors are cyclically driven between the two interrupters continuously by the shortest path. If the red button is held down as the motors reach the horizontal interrupters, then motion is stopped. Otherwise the motion continuous. At any time when the motors have stopped moving, a green button press will switch to another mode. A red button press will start this mode again.

3. Mode 3 - Basic Synchronous Continuous Motion
In mode 3, the microcomputer basically control the motors in full stepping continuously ( again,two motors move at the same time) with the motors moving in the same direction. The bipolar motors start at the horizontal interrupter position and the unipolar motor start at the vertical interrupter position. After the red button is pressed, both motors are cyclically driven between the two interrupters continuously by the longest path. If the speeds of motors are different, the faster motor must wait at the interrupter position until the slower one reach interrupter position. If the red button is held down as the motors reach the starting position, the motion is stopped. Otherwise the motion continuous.

4. Mode 4 - Basic Opposed Continuous Motion - Wave Drive
In mode 4, the microcomputer basically controls the motors in wave drive motion the same way it was done in Mode 2 (full drive motion). After red button is pressed, both motors are cyclically driven between the two interrupters continuously by shortest path.If the speeds of motors are different, the faster motor must wait at the interrupter position until the slower one reach interrupter position. If the red button is held down as the motors reach the starting position, the motion is stopped. Otherwise the motion continuous.

文章作者: Robin Chen
文章連結: http://robincpc.github.io/2011/08/31/Mechatronics-Stepper-Motors-Control/
版權聲明: 本部落格所有文章除特別聲明外,均採用 CC BY-NC-SA 4.0 許可協議。轉載請註明來自 Robin Chen's Blog!
MechatronicsMicrocontrollercontrolmotor
相關推薦
2011-08-31
Mechatronics - On/Off Temperature Control

評論
avatar
Robin Chen
Personal blog about Robot, Programming, and AI
文章
19
標籤
57
分類
1
Follow Me
公告
This is my Blog
目錄
  1. 1. Mechatronics - Stepper Motors Control
最新文章
Interactive Robot Kinematics: Hands-On with ImGui and ImGuizmo
Interactive Robot Kinematics: Hands-On with ImGui and ImGuizmo2023-11-07
Set up My Hexo Blog2022-11-23
Install Wine with Mono & Gecko in Ubuntu 20.04
Install Wine with Mono & Gecko in Ubuntu 20.042020-04-29
Remote login localhost jupyter notebook through AWS EC2 instance by ssh reverse tunnel2019-11-26
Use ConqueGDB in Vim
Use ConqueGDB in Vim2017-09-21
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.