CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-27-2005, 02:57 PM
 
Join Date: Jul 2005
Location: USA
Posts: 64
kochevnik is on a distinguished road
Standalone Joystick Stepper Control

I have a project I am beginning to work on. I want to use a joystick (without a PC) to pan and tilt a 20 to 30 pound table . I figured I would use a gearing system for the motor to provide more torque and that I was shooting for rotatating the table 180 degrees in about 2 to 5 seconds.

I know that an oscillator (555) circuit could be used to send signals to the stepper drive, but all of the designs I have seen that use this circuit use a potentiometer to set the speed of the motor and then use switches to turn the rotation on or off. That's not what I want.

What I want is to be able to use a standard joystick (with pots) to change the speed and direction of the table's rotation. Move the joystick a little and the speed is low, move it farther and the speed increases proportionally.

I searched for DAYS on google and the best thing I found so far was here:

http://www.imshome.com/osc.html

This seems like it would do the trick, of course not real cheap either

Anybody have any better ideas / suggestions for accomplishing this ?

And on a side note, using bipolar motors for the 20+ pound table what would you recommend for sizing the stepper motors ? ... besides bigger is better

Thanks,
Matt
Reply With Quote

  #2   Ban this user!
Old 08-27-2005, 03:48 PM
j m j m is offline
 
Join Date: Jun 2005
Location: uk
Posts: 62
j m is on a distinguished road

Could you not use multiple 555’s controlled by a separate switch, to say three different speeds one for each speed. set at: slow medium and fast.

Link, may be helpful? http://www.buildyouridea.com/hardwar.../joystick.html

Sorry I cant be more help jm
Reply With Quote

  #3  
Old 08-27-2005, 08:51 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Vco

What you need to use is a VOLTAGE CONTROLLED OSCILLATOR (VCO). The applied voltage as it increases sends out a square wave frequency in proportion to the voltage applied.

The joystick pot would be used to vary the voltage to the VCO. The output of the VCO would be used as is or amplified to create the steps to a stepping motor.

Do a search on VCO integrated circuits.

I know Motorola, Texas Instruments, and several other companies manufacture them.

I can not offer any more assistance than this.
Reply With Quote

  #4  
Old 08-27-2005, 09:15 PM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,580
ynneb is on a distinguished road

Sounds like you want to be able to move a telescope or a surveylence camera.

I would not be using steppers or servos, but simple DC motors.

This will eliminate the need for pulse control. That way you could simply uses a variable voltage controller, similar to what you might find on a model railway.
Reply With Quote

  #5   Ban this user!
Old 08-27-2005, 09:23 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

several microcontrollers have multiple analog to digital converters which you could use as joystick pot position detection.
a simple voltage dividing cct with the pot wipper tap into the adc would work perfectly.
the micro could output signals to your motor controller, be it by wire or wireless to a dc pm motor, stepper or ac motor.
even screw jacks, the kind that are on hospital beds may fit yout bill.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-27-2005, 09:53 PM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Originally Posted by kochevnik
I have a project I am beginning to work on. I want to use a joystick (without a PC) to pan and tilt a 20 to 30 pound table . I figured I would use a gearing system for the motor to provide more torque and that I was shooting for rotatating the table 180 degrees in about 2 to 5 seconds.

Thanks,
Matt
Matt,

I think you need to answer this question: is the table to follow the joystick's position? Examples-you push the stick forward, but only halfway. The platform tilts from its upright position forward 45 degrees and stops. Then you push the stick the rest of the way forward. Now the platform moves till it is tilted over to 90 degrees. Let the stick go and the platform returns upright.

Or just the speed setting? Example:you push the stick forward, but only halfway. The platform begins to tilt forward at half speed, but continues moving till you let go of the stick. When you let go of the stick it stays where it is.

I just want to make sure I understand what you are trying to do. If it's not being too nosey, what's the application?

Evodyne
Reply With Quote

  #7   Ban this user!
Old 08-27-2005, 10:01 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

to move a servalience cam, go to the auto wreckers and pull the electric mirror control
they are cheap and work great.
for heavier movement the workings of an electric drivers seat.
there is a wealth of stuff at the auto wreckers for small movements (electric door lock solenoids and the likes.)
Reply With Quote

  #8   Ban this user!
Old 08-28-2005, 07:58 AM
JavaDog's Avatar  
Join Date: Mar 2004
Location: USA
Posts: 847
JavaDog is on a distinguished road

Originally Posted by smarbaga
to move a servalience cam, go to the auto wreckers and pull the electric mirror control
they are cheap and work great.
for heavier movement the workings of an electric drivers seat.
there is a wealth of stuff at the auto wreckers for small movements (electric door lock solenoids and the likes.)
That is really damn clever - never thought of that!
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Check Out My Build-Log: http://www.cnczone.com/forums/showthread.php?t=6452
Reply With Quote

  #9   Ban this user!
Old 08-28-2005, 11:24 AM
 
Join Date: Jul 2005
Location: USA
Posts: 64
kochevnik is on a distinguished road

Some great ideas ! Thanks everyone.

I think you need to answer this question: is the table to follow the joystick's position? Examples-you push the stick forward, but only halfway. The platform tilts from its upright position forward 45 degrees and stops. Then you push the stick the rest of the way forward. Now the platform moves till it is tilted over to 90 degrees. Let the stick go and the platform returns upright.

Or just the speed setting? Example:you push the stick forward, but only halfway. The platform begins to tilt forward at half speed, but continues moving till you let go of the stick. When you let go of the stick it stays where it is.
The second is what I want.

My reason for going for steppers vs. DC motors was :
1) I am more familiar with steppers having worked on them when CNC'ing my mill
2) it was my understanding that most DC motors were more for high speed rotation, and that there wasn't an easy way to make the motor stop and hold position
3) I thought that DC motors would be harder to find the right one and higher cost
4) I thought the steppers would be easier to position more accurately.

Maybe I am wrong about some / all of this ? Opinions, please ?

I should also mention that power requirements are a factor here too. The system will someday run off a battery/ PV system and the lower the overall power usage the better, althought the system will not be on 24/7 but just on demand maybe once or twice a week for a few hours at a time. I know that with a stepper motor they will draw power even in the holding position, altho with some controllers, the current can be set to drop to 30,50,70 percent after a second or two if the motor isn't moving. I do need the system to hold position, so it's either steppers, DC motors with some kind of powered brake (still sucks power) or some type of clever system of locking the position either with using some type of mechanical brake or low powered solenoid/brake system, which seems to add complexity. Having to choose between using a little more juice or added complexity, I'll choose the juice as system reliability is very important as well.

It just seemed to me that a stepper system with idle-current reduction would be the simplest way to go. I'll use whatever works, but I need as many opinions as possible so I can sort it all out.

Thanks,
Matt
Reply With Quote

  #10   Ban this user!
Old 08-28-2005, 11:55 AM
Evodyne's Avatar  
Join Date: Dec 2004
Location: USA
Posts: 518
Evodyne is on a distinguished road

Matt,

Hi! O.K, let me suggest something simple, that might keep the price down as well. You want to move a fairly good weight, so you'll need some gear reduction for sure. And you want it positive locking. A worm gear setup does both! Hmmm...where can a cheap part be found: old car power window units! They are a "unit" consisting of a 12V DC motor (NOT a stepper) driving a worm gear meshed to a round gear. This gear has a shaft that moves the window mechanism. See attached pictures. A bonus is that they have mounting provisions.

For driving them you need a speed controller. Here is one that can handle two motors. Now, it doesn't just hook to a potentiometer or a joystick, but that can be handled easily enough. I'm really pressed for time right now and need to get going NOW, so the rest will have to wait. More later...

Lance
Attached Images
     
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-28-2005, 12:43 PM
 
Join Date: Aug 2005
Location: Sweden
Age: 60
Posts: 48
jans123 is on a distinguished road

Hi! I just want to add a warning here. Those DC motors used in the automotive industry (windows, wind-screen wipers etc.) some times have the chassis connected to one of the poles. (At least the wind-screen wiper does). Be careful when assembling the unit and make sure you don't get a short cirquit. The window mechanism motor might work well. I like the idea.
(Sorry about my spelling, but Engish isn't my native languague)
/Jan Sjöholm/Sweden
Reply With Quote

  #12   Ban this user!
Old 08-28-2005, 12:59 PM
 
Join Date: Aug 2005
Location: Sweden
Age: 60
Posts: 48
jans123 is on a distinguished road

Hi! A simple VCO doesnt solve the problem. You will need a lot of "glue" to build a discrete cirquit that solves this problem, but it can be done. I built something like this years ago for tilting swash-plates in hydraulic pumps, but today I would use a programmable micro-controller like the AVR-chips. My advice: Find someone who could help you program a AVR-chip and you could wire up a complete control system for several axes and a couple of joysticks with less than ten components.
Doing this, you could even let the AVR send pulses either to a control circuit for stepper motors or you could let the AVR control power transistors connected to the stepper motors directly or you could use simple H-bridges to power DC motors for window elevators suggested by another gentleman elsewhere here.
The program can't be that complex. Probably a student could do it as an exercise.
(Sorry about my typing, but English isn't my native languague)
/jan sjöholm / sweden
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 10:34 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361