Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Ideas For Design]

Excel Formula Calculates Standard 1%-Resistor Values



Christine Schneider, Bruce Trump  |   ED Online ID #1480  |   January 21, 2002

Article Rating:

The Excel cell formula below calculates the nearest standard 1%-resistor value without using a lookup table or macro. Type or electronically paste the text below into any cell (other than A1). The formula will calculate the nearest 1%-resistor for the value in cell A1. This formula can be copied and replicated to other cells just like any standard Excel cell formula.

A properly constructed spreadsheet used to calculate standard circuit values can produce more accurate designs. When calculating interdependent component values, standard resistor values can be used to calculate subsequent component values. This approach avoids a buildup of tolerance errors. Also, it will sometimes yield a more accurate design than if "perfect" calculated values are converted to nearest standard 1% values following the completion of all other calculations.

Mantissas of the 96-value-per-decade sequence are derived by

r = 10 i/96 where i = 0, 1, 2 to 96

Each mantissa is then rounded to three significant digits, which creates small deviations from perfectly spaced values. The Excel formula calculates the two nearest standard values and tests them with the desired resistor value to select the closer.

  =IF(A1>(INT(0.5+100*POWER(10,I  F(96*(LOG(A1)-INT(LOG(A1)))-  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)<0,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)-1,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0))/96)) *  POWER(10,INT(LOG(A1))-2) +  INT(0.5+100*POWER(10,(IF(96*(LO  G(A1)-INT(LOG(A1)))-  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)<0,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)-1,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0))+1)/96)) *  POWER(10,INT(LOG(A1))-2))/2,  INT(0.5+100*POWER(10,(IF(96*(LO  G(A1)-INT(LOG(A1)))-  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)<0,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)-1,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0))+1)/96)) *  POWER(10,INT(LOG(A1))-  2),INT(0.5+100*POWER(10,IF(96*(L  OG(A1)-INT(LOG(A1))) -  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)<0,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0)-1,  ROUND(96*(LOG(A1)-  INT(LOG(A1))),0))/96)) *  POWER(10,INT(LOG(A1))-2))

Note: Type this formula into the spreadsheet cell as a continuous entry without carriage returns.




Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • C Tools Accelerate HDV Development On Xilinx FPGAs
  • A New Design Inflection Point
  • Forecasting Industry Growth For 2009 And Beyond
  • EDA Retools To Exploit Multicore Architectures
  • Design And Verification Move Up In Abstraction
  • EDA Retools To Exploit Multicore Architectures
  • A New Design Inflection Point
  • Design And Verification Move Up In Abstraction
    1) Transportation Guidelines For Lithium Batteries Get Updated
    (1156 views today)
    2) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (259 views today)
    3) WHITE PAPER: Liquid-Level Monitoring Using a Pressure Sensor
    (195 views today)
    4) 1-A Switching Regulators Operate With 96% Efficiency To Replace Linear Regulators
    (128 views today)
    5) The Field Of Energy Harvesting Begins To Ripen
    (107 views today)
    ALL TOP 20







    Reader Comments

    Rating Only

    Rating Only -September 18, 2008   (Article Rating: )

    Rating Only

    Rating Only -July 02, 2007   (Article Rating: )

    This program amongst other things calculates the best combination of series-parallel resistors to match your required value.

    http://homepage.ntlworld.com/taylorfamily1/rval.html

    Mike Watts -November 03, 2006
    Read more comments...

    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources