Rules | Recent posts | topic RSS | Search | Register  | Log in

Resistor and capacitor value selection given discrete values

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Downloads/Uploads
Author Message
rajsodhi



Joined: 11 Feb 2003
Posts: 2
Location: California


Post11 Feb 2003 19:49   Resistor and capacitor value selection given discrete values

Hi,

I thought these little Matlab programs were pretty useful.

Say you want to find a resistor value combination that most closely approximates a particular divide ratio, or whatever other function you can think of for r1 and r2. Given discrete values in your kit, which two will get you the closest?

Or say you want to pick a resistor and a capacitor whose corner frequency is some desired number, say, 2.5 kHz. Given all the fixed values, what combination will get you the closest?

These little programs help with this problem. Feel free to modify the code to suit your needs. Like say you only want to choose from resistors presently in your bill of materials, then the selection list would need to be modified. The basic algorithm presented may be expanded to accomodate functions of three values, like r1, r2, and r3.

Enjoy! Smile

Raj



Sorry, but you need login in to view this attachment

Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Downloads/Uploads
Page 1 of 1 All times are GMT + 2 Hours


Abuse
Administrator
Moderators
topic RSS 
sitemap