×

Sensor or capacitance measuring with a microprocessor

  • US 7,472,028 B2
  • Filed: 06/21/2005
  • Issued: 12/30/2008
  • Est. Priority Date: 06/25/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. An apparatus for measuring a parameter, the apparatus comprising:

  • a microprocessor having a plurality of pins;

    a sensor capacitor configured to change capacitance as the parameter changes, the sensor capacitor having a first lead electrically connected to a first pin of the microprocessor, and a second lead electrically connected to a second pin of the microprocessor;

    a first reference capacitor having a first lead electrically connected to a third pin of the microprocessor, and a second lead electrically connected to the second pin of the microprocessor;

    a resistor having a first lead electrically connected to a fourth pin of the microprocessor, and a second lead electrically connected to the second pin of the microprocessor;

    a second reference capacitor having a first lead electrically connected to a fifth pin of the microprocessor, and a second lead electrically connected to the second pin of the microprocessora comparator configured to detect whether a threshold voltage has been reached;

    a timer, wherein the apparatus is configured to use the timer to measure how long it takes for;

    the sensor capacitor to reach the threshold voltage;

    the first reference capacitor to reach the threshold voltage; and

    the second reference capacitor to reach the threshold voltage;

    wherein the sensor capacitance is calculated using the formula;


    Sensor Capacitance=[(TimerS−

    Timer1)/(Timer2−

    Timer1)](Ref2−

    Ref1)+Ref1wherein;

    TimerS is the time for the sensor capacitor to reach the threshold voltage,Timer1 is the time for the first reference capacitor to reach the threshold voltage,Timer2 is the time for the second reference capacitor to reach the threshold voltage,Ref1 is the capacitance of the first reference capacitor, andRef2 is the capacitance of the second reference capacitor.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×