Subject:
|
Re: Angle Sensor
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sun, 28 Mar 1999 15:19:04 GMT
|
Original-From:
|
S. Crawshaw <SC10003@ENG.CAM.AC.UKantispam>
|
Viewed:
|
1022 times
|
| |
| |
On Sat, 27 Mar 1999, Michel Verhagen wrote:
> Well, then I guess I need to build my own rotation sensor using a "Potmeter"
> (variable resistor) because I need a real angle, actually I need an angle
> per time value. Is this is possible?
So long as your software remembers to count the revolutions, it's surely
very simple to gear the Lego sensor to get a real angle... however for
your idea below, you might need much too much gearing!
> Did someone ever tried to balance a long broom on his hand or finger? I'm
> creating a car that does just that using fuzzy logic...
You shouldn't need fuzzy logic to do this; it's a fairly well-known
control problem - easily controllable like this:
motor input = k1 * angle + k2 * rate of angle
+ k3 * car position + k4 * car speed
where you need to find k1, k2, k3, k4 (which will depend on your setup)
This will allow you to keep the broom balanced, plus make the car stay
(roughly) in a chosen place (give or take the motion necessary to keep
the broom balanced)
I was going to try this, but haven't got an angle sensor yet...
===============================================================
Stuart Crawshaw
Control Group
Engineering Dept
Cambridge University
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 1 Reply: | | RE: Angle Sensor
|
| (...) Oh Oh, time to get on the flame suit. I agree with Stuart. Fuzzy logic was one of those fads that was to be applied to ALL control systems. The problem is that many control system problems are well understood and solutions are already in (...) (26 years ago, 28-Mar-99, to lugnet.robotics)
|
Message is in Reply To:
| | Re: Angle Sensor
|
| Well, then I guess I need to build my own rotation sensor using a "Potmeter" (variable resistor) because I need a real angle, actually I need an angle per time value. Is this is possible? I saw something about this on a website in the mindstorms (...) (26 years ago, 27-Mar-99, to lugnet.robotics)
|
5 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
|
|
|
|