To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 17765
17764  |  17766
Subject: 
Re: Control lego motors and rotation sensors
Newsgroups: 
lugnet.robotics
Date: 
Fri, 26 Apr 2002 03:00:14 GMT
Original-From: 
Steve Baker <[sjbaker1@airmail.net]NoMoreSpam[]>
Reply-To: 
sjbaker1@airmail.netSTOPSPAM
Viewed: 
605 times
  
Jerry Kalpin wrote:

Changing the motor 'speed' (pulse wave modulation) really only changes the
torque.  It will only change the speed if the motor is heavily loaded.
Another technique that is more successful is to create a control loop in
which the motor is on for 5 ticks and off for (say) 10 ticks.  Whatever the
load condition the motor will run at 1/3 of full speed.

That's not really any different from what the RCX's firmware does though.
You are doing pulse-width modulation and so does the firmware.

The only difference is that you are using a longer time-constant.

----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1@airmail.net>   WorkMail: <sjbaker@link.com>
URLs : http://www.sjbaker.org
       http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
       http://prettypoly.sf.net http://freeglut.sf.net
       http://toobular.sf.net   http://lodestone.sf.net



Message has 1 Reply:
  Re: Control lego motors and rotation sensors
 
(...) The standard firmware does pulse-width modulation alternating between ON and FLOAT. What I think Jerry is suggesting is pulse-width modulation alternating between ON and BRAKE (which does control speed quite handily, and is what legOS does). - (...) (22 years ago, 26-Apr-02, to lugnet.robotics)

Message is in Reply To:
  Re: Control lego motors and rotation sensors
 
Changing the motor 'speed' (pulse wave modulation) really only changes the torque. It will only change the speed if the motor is heavily loaded. Another technique that is more successful is to create a control loop in which the motor is on for 5 (...) (22 years ago, 26-Apr-02, to lugnet.robotics)

10 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR