|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Why not analog sensors??
I am frustrated by the nearly exclusive use of digital sensors in the kit -- sensors that output either 1 or 0. The Banner sensors are like that, and the IR sensors in the trackers are like that. Why not analog?
Some may think that "1" or "0" is a much cleaner, noise-free signal than an analog signal, but it is nearly information-free as well! I know one team used constant tracker hunting to get a better idea of the direction of the IR, and that is a great solution given one-bit sensors. But if each tracker's IR sensor put out an analog value proportional to the "brightness" of the IR it was seeing, then small pointing errors could be determined as the difference between the values, without having to hunt back and forth with the servo. Integrate the sensor difference and apply to the servo -- or something like that. If two analog line sensors were pointed, "defocused", at the left and right edges of the line such that the output was a measure of how far off the edge the sensor was, then, again, the small error signal would be the difference of the sensors. Negative means "too far left", positive means "too far right", and zero means right on. Yes, the outputs would have some noise in them -- that's part of the fun, filtering out the noise. I think part of the reason that the gyro approach works well is that it gives an analog measure of the error. Comments anyone? |
|
#2
|
||||
|
||||
|
Re: Why not analog sensors??
Quote:
|
|
#3
|
||||
|
||||
|
Re: Why not analog sensors??
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
Re: Why not analog sensors??
For the most part, regarding the kit, FIRST operates on a two-part plan: 1) what's cheap, and 2) what's free. Maybe it was neither to acquire analog sensors which perform the same functions as the digital sensors we received. If you want to use analog sensors, you can, but I don't see any reason why you should be complaining about what was provided in the kit.
It's not like FIRST is getting kickbacks from the digital sensors industry... |
|
#5
|
||||
|
||||
|
Re: Why not analog sensors??
digital sensors are also easier for novice teams to use, whereas analog sensors are harder to implement algorithms for. there's no restriction on getting more complicated sensors, but FIRST also probably wants to provide newer, more inexperienced teams with things that are simple to use.
the cheap/free argument is also quite valid. |
|
#6
|
|||||
|
|||||
|
Re: Why not analog sensors??
Quote:
.Quote:
Quote:
Quote:
Quote:
-Kevin |
|
#7
|
|||||
|
|||||
|
Re: Why not analog sensors??
Quote:
Not at all, I was thinking "information theoretically". One bit is the smallest amount of information. 10 bits is a lot more. Now, it also depends on bandwidth and noise, and if the one-bit case is fast enough, you can get a lot of information. Quote:
Quote:
BTW, I'm here at the regional in Trenton, NJ, and when I asked which beacon was "1" and which beacon was "0", I got some pretty blank looks. I said, "You know, the IR beacons for IR tracking?" More blank looks. They found someone from IFI who made a few calls and learned that "this" beacon is connected to pwm01 and "that" one is on pwm02. But I still can't get it to work. Tomorrow we will have our test beacons, so maybe we can get some answers. It's pretty hard to debug with only one run every 90 minutes, with no telemetry, just observing the robot from the stands about 200 feet away! Quote:
-Norm Last edited by gnormhurst : 05-03-2004 at 19:11. |
|
#8
|
|||||
|
|||||
|
Re: Why not analog sensors??
Quote:
You would need two sensors (just like Kevin's tracker setup). The ratio of the difference to the sum (left-right)/(left+right) would indicate the off-angle-ness: if they have equal outputs, it's pointed straight; if the left is larger, it's pointed right; right larger means pointed left. Or something like that. Quote:
![]() Last edited by gnormhurst : 05-03-2004 at 19:24. |
|
#9
|
||||
|
||||
|
Re: Why not analog sensors??
The IR sensors are used because they are standard and readily available. All IR receivers in home electronics equipment are (almost) identical to these. They have quite a lot of circuitry in them (they just look small
) so they filter out the noise and decode the binary signal. In my opinion these sensors are much more reliable than those that would depend on brightness. What if someone takes a picture during autonomous? ![]() |
|
#10
|
|||||
|
|||||
|
Re: Why not analog sensors??
Quote:
using two digital sensors is, in tandem, rediculously useful. Think about your eyes -- look at an object... if you close your left eye and can see it, check your right eye -- if your right eye can't see it, you need to turn left... when you can turn left and see it, and you can see it with both eyes, it's in front of you.... once one eye loses sight, re-evaluate and adjust. |
|
#11
|
||||
|
||||
|
Re: Why not analog sensors??
I'm not sure what the point of this discussion is
Sensor choice obviously depends on the application, and I think that FIRST lets you use just about anything you want. In the kit, well, FIRST gives us what they give us, and from what I've seen it's decent stuff that is pretty easy to use. Beyond that, as long the sensors you want to use are legal, then use them ![]() |
|
#12
|
|||||
|
|||||
|
Re: Why not analog sensors??
Sometimes Digital makes sense (Encoders, bumpers, IR finding) and sometimes it doesn't (Position, Air Pressure, current). Basically, you ask "Do I need 1024+ values, or do I just need to calibrate and have a above/below return?"
|
|
#13
|
||||
|
||||
|
Re: Why not analog sensors??
As has already been said indirectly several times, what's wrong with a simple signal with a simple algorithm? Sure, it's really fun to make a complex algorithm that works, but in the real world, the simpler things are, the less likely they are to fail and the easier they are to maintain.
Linux is an example of this. It gives you complete power; you can delete anything, access kernel memory, change kernel memory, etc. It lets you do anything, but if you don't know what you are doing, you can easily break it. (assuming, of course you are admin; users are a different story.) Windows on the other hand, doesn't let you do that. It pretty much protects you from stuff that you can do to break it. (It lets itself break itself, but again, another story) The banner sensor are the same way; you don't have as much power, but they protect you from interference from anything other than what you actually want. Last edited by Ryan M. : 07-03-2004 at 08:56. |
|
#14
|
|||
|
|||
|
Re: Why not analog sensors??
The irony of your analogy, Texan, is that it's a lot easier to bring down a Windows machine than it is a Linux machine (assuming non-root accounts on both sides, of course)
![]() |
|
#15
|
||||
|
||||
|
Re: Why not analog sensors??
Quote:
Last edited by Adam Y. : 07-03-2004 at 11:36. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interrupts and rotation sensors | kor | Programming | 3 | 12-02-2004 11:05 |
| Harmful side effects with current sensors | m0rph3us | Electrical | 2 | 11-02-2004 07:31 |
| wiring diagram for light sensors??? | pagemauck | Control System | 1 | 21-01-2004 16:32 |
| what type of sensors are good and convenient | magical hands | Programming | 7 | 04-01-2004 23:04 |
| Q&A Discuss: Optical sensors with EduBot | CD47-Bot | Extra Discussion | 2 | 01-03-2003 18:37 |