Author Topic: Equation question  (Read 2341 times)

0 Members and 1 Guest are viewing this topic.

Offline genesisTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Equation question
« on: June 05, 2009, 08:38:35 AM »
I'm sure this is obvious to everyone else, but on the equation to determine the appropriate resistor for the photoresistor circuit, how is that the Vin is dropped from the equation.  All the rest of the math makes perfect sense, but I don't understand why it is ok to drop the Vin.

The model equation is:

voltage difference = absolute_value((R*Vin)/(R+Rp_dark) - (R*Vin)/(R+Rp_bright))

and to find the local maximum ribs uses

F(x)=x/(x+Rd) - x/(x+Rb)  - where x = resistance of second resistor, Rd = Rp_dark, Rb = Rp_bright

Notice the Vin is dropped from the f(x) function. 

Any insight would be greatly appreciated. Thanks.

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: Equation question
« Reply #1 on: June 05, 2009, 06:58:09 PM »
Presumably because the 'answer' is F(x) ie a function of the resistance since thats what 'x' is defined as. What voltage you apply is up to you.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline genesisTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: Equation question
« Reply #2 on: June 07, 2009, 03:48:33 PM »
Surely, someone must know.

Offline awally88

  • Robot Overlord
  • ****
  • Posts: 212
  • Helpful? 0
Re: Equation question
« Reply #3 on: June 08, 2009, 04:25:59 AM »

Where did you find these equations?

Offline genesisTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: Equation question
« Reply #4 on: June 08, 2009, 07:26:41 AM »
The equations are on http://www.societyofrobots.com/schematics_photoresistor.shtml (about a quarter of the way down the page).

Offline genesisTopic starter

  • Beginner
  • *
  • Posts: 4
  • Helpful? 0
Re: Equation question
« Reply #5 on: June 09, 2009, 07:30:13 AM »
Figured it out.

 


Get Your Ad Here

data_list