Author Topic: Resistor availability frustration  (Read 8402 times)

0 Members and 1 Guest are viewing this topic.

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Resistor availability frustration
« on: December 18, 2012, 11:00:24 pm »
I've finished the design of my latest project which is a digitally controlled dummy load (seems like everyone is building one) and this is the first time I decided to put some thought into building something with specified accuracy and resolution for reading current and voltage levels of the load. So I carefully calculated everything, experimented with several options and came out with something that gives out nice round numbers, specified errors and ranges I'd want. I even optimized it to use only two values of 1% resistors for 1/8 and 8x gains.

But I did a bad mistake of not checking local electronics shops if they carry metalized 1% 0.6 W resistors I wanted to use for dividers and op amp gain settings. I knew most of them carried those, but none has the values that fit my project. It'd be a pain in the ass to redesign and recalculate everything now and I'm looking for options. The best thing I can think of is manually sorting and matching standard 5% carbon resistors using a current source and my 0.03% DC accuracy rated meter. The temperature coefficient would be higher, but I could replace them later when I get a stock of the right resistors somewhere.

Is there any other clever workaround for this? I can just order the damned resistors online, but I've only found a single supplier that actually has any of the matching pair of values in stock but then the shipping cost would be something around 70% of the total cost, even if I order a larger quantity of them.

Also any hints to avoid this situation in the future (beyond "check the suppliers") are welcome.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8550
  • Country: us
    • SiliconValleyGarage
Re: Resistor availability frustration
« Reply #1 on: December 18, 2012, 11:14:59 pm »
that's why in professional meters they don't give a rats ass about the absolute values. as long as tempco is known and the resistors are long term stable they are good. the rest is calibration....
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: Resistor availability frustration
« Reply #2 on: December 18, 2012, 11:58:10 pm »
McMonster,

Can you post this part of your schematic? May be someone can help you.

Do you know what values of resistors you can get? Are they E12, E24 series or random values?

Jay_Diddy_B
 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #3 on: December 19, 2012, 12:45:04 am »
Do you know what values of resistors you can get? Are they E12, E24 series or random values?
I used this calculator, it searches for E24 and E96 values. By the way, is there a calculator that can search for resistor network/divider combination values for arbtirary number of resistors from standard E series and within a defined error?

I'll post entire schematic later after a small rework and cleanup.
 

Offline cwalex

  • Frequent Contributor
  • **
  • Posts: 299
  • Country: au
Re: Resistor availability frustration
« Reply #4 on: December 19, 2012, 02:26:41 am »
rs components offers free shipping atm in australia. do they have the same deal for your country?
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 12384
  • Country: us
Re: Resistor availability frustration
« Reply #5 on: December 19, 2012, 02:34:46 am »
What resistor values do you want and what resistor values can you obtain? Since you don't give resistor values it is hard for anyone to help you.

Furthermore, do you need exact values or do you need ratios? Very often ratio dividers are not critical about absolute values as long as they are within a reasonable range.
 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #6 on: December 19, 2012, 02:36:19 am »
rs components offers free shipping atm in australia. do they have the same deal for your country?

Nope, their shipping is bloody expensive.
 

Offline Shuggsy

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
Re: Resistor availability frustration
« Reply #7 on: December 19, 2012, 03:27:09 am »
If space isn't an issue (is it? do you have a PCB?) then maybe you can stick a few available resistors in series/parallel to get he value you need? It's a pain, but could save you some re-design I suppose. What value are you trying to achieve?
 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #8 on: December 19, 2012, 03:42:39 am »
If space isn't an issue (is it? do you have a PCB?) then maybe you can stick a few available resistors in series/parallel to get he value you need? It's a pain, but could save you some re-design I suppose. What value are you trying to achieve?
The space isn't a big issue judging from previous revision, that's why I asked about a better resistor calculator. Just trying to get a 1/8 divider. I'm querying local shops for the complete lists of values they have or if they source the correct values for me.
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: Resistor availability frustration
« Reply #9 on: December 19, 2012, 04:32:39 am »
In the E24 series of resistors

91K and 13K will give you a division ration 8 to 1.

You can also use 9.1K and 1.3K


You can also use:

33K and 4.7K will give you a division ratio of 8.02 : 1 which is a 0.25% error


Jay_Diddy_B
 

Offline saturation

  • Super Contributor
  • ***
  • Posts: 4787
  • Country: us
  • Doveryai, no proveryai
    • NIST
Re: Resistor availability frustration
« Reply #10 on: December 19, 2012, 03:20:09 pm »
that's why in professional meters they don't give a rats ass about the absolute values. as long as tempco is known and the resistors are long term stable they are good. the rest is calibration....

its not a good idea to base a design on a fixed parameter of a component.  In this case, an issue isn't resistor tolerance, but the stability over time and enviromental conditions, mostly heat but others play too like humidity, but not the tolerance.  Its just so happens that low tolerance components also have good stability, but you should base the design on the actual stablity specifications then calibrate out the differences, as freee- suggested.

So I carefully calculated everything, ...I even optimized it to use only two values of 1% resistors for 1/8 and 8x gains.

But I did a bad mistake of not checking local electronics shops if they carry metalized 1% 0.6 W resistors ....

Is there any other clever workaround for this? .......

Also any hints to avoid this situation in the future (beyond "check the suppliers") are welcome.
Best Wishes,

 Saturation
 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #11 on: December 19, 2012, 10:05:28 pm »
that's why in professional meters they don't give a rats ass about the absolute values. as long as tempco is known and the resistors are long term stable they are good. the rest is calibration....
its not a good idea to base a design on a fixed parameter of a component.  In this case, an issue isn't resistor tolerance, but the stability over time and enviromental conditions, mostly heat but others play too like humidity, but not the tolerance.  Its just so happens that low tolerance components also have good stability, but you should base the design on the actual stablity specifications then calibrate out the differences, as freee- suggested.

Good point. I've compared some datasheets and metal film resistors I want to use have an order of magnitude better stability than typical carbon resistors. And they're still dirt cheap, so I think this was a good choice if not for this annoying availability problem. I planned to do calibration in software anyway, with the exception of the pot for LM723 (low drift and temperature compensated reference).

Here's the schematic if someone is interested, I think this will be the final version:
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8550
  • Country: us
    • SiliconValleyGarage
Re: Resistor availability frustration
« Reply #12 on: December 20, 2012, 12:23:57 am »
i hope you have breadboarded that analog part.... it;s going to oscillate like hell.

you need to provide some 'taming' (dampening) across u3B...
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #13 on: December 20, 2012, 04:29:26 am »
i hope you have breadboarded that analog part.... it;s going to oscillate like hell.

you need to provide some 'taming' (dampening) across u3B...
It was breadboarded two revisions ago and worked fine, I'll recheck tomorrow.
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: Resistor availability frustration
« Reply #14 on: December 20, 2012, 10:51:02 am »
Hi,

Check Q2 and Q4 on the schematic. I think that Q2 should be NPN and Q4 should be PNP. The way it is drawn on your schematic both transistors are ON if the output of U3B is between 0.5V and 11.5V

Study this thread for ideas on the analog portion of the load: https://www.eevblog.com/forum/projects/did-i-forget-anything-constant-current-load/

Regards,

Jay_Diddy_B
 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #15 on: December 20, 2012, 05:26:10 pm »
Check Q2 and Q4 on the schematic. I think that Q2 should be NPN and Q4 should be PNP. The way it is drawn on your schematic both transistors are ON if the output of U3B is between 0.5V and 11.5V
You're right, fixed.

Quote
Study this thread for ideas on the analog portion of the load: https://www.eevblog.com/forum/projects/did-i-forget-anything-constant-current-load/
I've seen this thread already, thanks.

What I'm going to do now is check the stability and order the damned resistors online along with the parts for my next project to save money on shipping, I figured out I won't have time to etch and build it this year anyway as I'll be visiting my family. Thank you all for your input.
 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #16 on: December 22, 2012, 06:05:14 pm »
I breadboarded the analog part and the oscillations are there, up to 30 kHz. What would you recommend to get rid of them? I tried filtering in the control loop between U3A and U3B, but this causes large settling times and I would not be able to do fast changing or pulse loads.

Everything else seems to work fine by the way, except for that I used standard tolerance components and the gains and levels are totally screwed. And I feel like LM723's datasheet is lying to me with , but I'll investigate this another time.

And I think I should've put this thread in projects section, any mods around?
 

Offline JoannaK

  • Frequent Contributor
  • **
  • Posts: 336
  • Country: fi
    • Diytao making blog
Re: Resistor availability frustration
« Reply #17 on: December 23, 2012, 05:37:26 am »
If this were mine (and a hobby) project, I'd just use whatever closest resistors I could get and did calibration of output I and V with the microcontroller software while testing the circuit. It's a lot easier to change few values from code than hunt absolutely optimal (=correct) parts.  :-/O

Of course, there may be some accuracy loss, if the Op-amp gain/bias settings ain't just optimal for AD/DA conversions, but those can be fixed at next revision if you'll indeed need the maximum accuracy.

And, wellcome the wonderfull world of electronics. Where lead times for even most mandatory parts can be 40 weeks or more.
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: ca
Re: Resistor availability frustration
« Reply #18 on: December 23, 2012, 12:48:17 pm »
Hi,
Try a resistor of about 2.2K Ohms between the base and emitters of the driver transistors Q2 and Q4. With out this resistor the op-amp has to move 2x Vbe to before the gate voltage changes.

You could also post an updated schematic.

Jay_Diddy_B

 

Offline McMonsterTopic starter

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Resistor availability frustration
« Reply #19 on: December 23, 2012, 03:45:49 pm »
I did some experimenting and reading and this is updated circuit, there are no oscillations over what current range I can get (all the resistance in the wires with the crocodile clips add up to over an ohm), at least on the breadboard. I'll have to do some more reading on dealing with opamps in the future.



If this were mine (and a hobby) project, I'd just use whatever closest resistors I could get and did calibration of output I and V with the microcontroller software while testing the circuit. It's a lot easier to change few values from code than hunt absolutely optimal (=correct) parts.  :-/O
I think I'll put some more pots in there for the gains, but 1% stay, I've found the supplier that has them in stock.

Quote
Of course, there may be some accuracy loss, if the Op-amp gain/bias settings ain't just optimal for AD/DA conversions, but those can be fixed at next revision if you'll indeed need the maximum accuracy.
This is an experiment in analog/semi-precision stuff, I mostly played with digital electronics before.

Quote
And, wellcome the wonderfull world of electronics. Where lead times for even most mandatory parts can be 40 weeks or more.
I come from the boring world of software developement, where the bandwidth is the limit! And this annoys me like hell. :P

Hi,
Try a resistor of about 2.2K Ohms between the base and emitters of the driver transistors Q2 and Q4. With out this resistor the op-amp has to move 2x Vbe to before the gate voltage changes.
Tried it and no noticeable change in oscillations, just limited the maximum current of the sink.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf