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 / 17766
17765  |  17767
Subject: 
Re: Control lego motors and rotation sensors
Newsgroups: 
lugnet.robotics
Date: 
Fri, 26 Apr 2002 05:41:16 GMT
Original-From: 
T. Alexander Popiel <POPIEL@WOLFSKEEPstopspammers.COM>
Viewed: 
738 times
  
In message:  <3CC8C2BE.F37BB501@airmail.net>
             Steve Baker <sjbaker1@airmail.net> writes:
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.

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).

- Alex



Message has 1 Reply:
  Re: Control lego motors and rotation sensors
 
Wow! I hope LegOS has the option to use On and Float too. I was planning on migrating to LegOS soon, but if it does On and Brake, it is to be avoided. That technique simply burns battery power! JB (...) (23 years ago, 26-Apr-02, to lugnet.robotics)

Message is in Reply To:
  Re: Control lego motors and rotation sensors
 
(...) 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 : (...) (23 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
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
3 hours ago
Custom Search

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