Results 1 to 6 of 6

Thread: Controlling stepper motor, readout in degrees

  1. #1
    Registered
    Join Date
    Dec 2005
    Location
    USA
    Posts
    11
    Downloads
    0
    Uploads
    0

    Controlling stepper motor, readout in degrees

    Hi there, I figured I would post this over on this forum because the people here actually work with this kind of stuff (although probably more machine related).

    What I am trying to do is make an elevation control for a ham radio antenna system. The antennas need to be able to rotate at least 90deg, and the rotation speed of the boom should be about 1rpm (or, more specifically, 90deg in 15 seconds). I cant have it set up to where I push a button to rotate the antennas and it spins around 3 times . I can figure out the gearing, thats not a problem.

    Can you guys give me some insight as to controlling a stepper motor for this application? I Want to have at least 1 worm gear drive in the system so the antennas stay put where they are moved. 2 worm gears would probably be the best option.

    I would like the display to show degrees of elevation rather than decimal numbers and have "limit switches" set for 0deg and 90deg so I cant over rotate the array. I am guessing that the control parameters would all be set up with a computer program, right? So I would just have to have a way of reading the steps and then have a formula to convert the step count to degrees. That seems simple enough. Is there a way to figure out the calculation and then build a control box for the steppper motor that doesnt need a computer?

    The array is not going to be very big, and it will be ballanced so it wont take a whole lot of force to move. Gearing it down to 1rpm will give me more than enough torq I would say. What kind of stepper motors should I look at? I saw the ones on the hobby cnc site that were 200oz or so of torq. With this geared down to a 1rpm final drive that would probably do the trick.

    Steve


  2. #2
    Registered holbieone's Avatar
    Join Date
    Feb 2007
    Location
    usa
    Posts
    633
    Downloads
    1
    Uploads
    0
    you'll need to know how many degrees per step the motor is capable of

    and you'll need to know the ratio of the worm gear

    for the software i mite have some stuff i wrote a long time ago that will do what you want it to I'll have to check


  3. #3
    Registered
    Join Date
    Jul 2005
    Location
    USA
    Posts
    442
    Downloads
    0
    Uploads
    0
    DC motor hooked up to the worm with a potentiometer sensing angle.

    Use the same type of potentiometer as the control.

    Subtract the two wiper voltages for an error signal, amplify, integrate and sum for a PI loop. Use a BJt push-pull pair to drive the motor from the summing amp.

    Take the wiper voltage from the antenna pot and scale/offset to 0-900mV in order to use a cheap panel meter for display.

    Aaron


  4. #4
    Registered
    Join Date
    Dec 2005
    Location
    USA
    Posts
    11
    Downloads
    0
    Uploads
    0
    Aaron, thanks for the tip on the pots. I have heard of that done before, but I figured it would be more difficult to set that up for computer control.

    Are there any good single stepper motor control boards that would fit this application? And can I store a program withen those boards, or do they strictly take the input from a computer and transfer that into the code that controls the motor?

    holbieone, what kind of program(s)? Would it be a simple matter of entering in a formula for converting steps to degrees and giving it an upper and lower limit? Or is there anything more involved in it?

    Steve


  • #5
    Registered holbieone's Avatar
    Join Date
    Feb 2007
    Location
    usa
    Posts
    633
    Downloads
    1
    Uploads
    0
    you can use a basic stamp to control the board


  • #6
    Gold Member High Seas's Avatar
    Join Date
    Sep 2003
    Location
    Malaysia/Australia/NZ/USA
    Posts
    1,126
    Downloads
    0
    Uploads
    0
    I haven't played with these - yet.

    http://www.phidgets.com/index.php

    But seems like it could almost be plug and play. 'Spose you want the readout (they have LED modules too) to get good azimuth/elevation? de KF4JQB - let me know your solution when you get it sorted - pm or via winlink...
    Jim
    Experience is the BEST Teacher. Is that why it usually arrives in a shower of sparks, flash of light, loud bang, a cloud of smoke, AND -- a BILL to pay? You usually get it -- just after you need it.


  • Similar Threads

    1. Controlling Stepper motor driver boards
      By scarr in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 4
      Last Post: 01-28-2006, 09:17 AM
    2. SDK or Library for controlling Stepper Control Boards
      By tarquingq in forum General CAM Discussion
      Replies: 0
      Last Post: 12-22-2005, 02:01 PM
    3. controlling stepper motor without pc
      By kerimtemel in forum Hobbycnc (Products)
      Replies: 4
      Last Post: 05-18-2005, 02:29 PM
    4. Controlling a 90 VDC Gear Motor with Encoder
      By electron in forum Servo Motors and Drives
      Replies: 3
      Last Post: 02-22-2005, 01:35 PM
    5. DIY digital readout
      By kong in forum General Electronics Discussion
      Replies: 21
      Last Post: 02-08-2005, 05:54 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.