How do I learn RPL and solve this problem with it?

09262017, 06:20 PM
(This post was last modified: 09262017 06:21 PM by Dieter.)
Post: #32




RE: How do I learn RPL and solve this problem with it?
(09262017 01:02 PM)David Hayden Wrote: I'd solve it like so: Great, finally a possible method that is better than "brute force". ;) I tried a similar, but somewhat different approach. Here is how it works: Let T be the target resistance. Now do the following for all resistors > T and ≤ 2T:
Instead of quitting as soon as a combination within the allowed tolerance is found you can also run through all possible R1 (i.e. all resistors > T and ≤ 2T) and return the combination with the overall lowest deviation. But due to the individual tolerances of the two resistors this may not make much sense. On the other hand this returns the best possible combination even if it is not within tolerance. Here is an example: Try to find a combination for a target resistance of T = 350 Ω The first larger R1 in the E12 series is 390 Ω R2 = 350*390 / (390–350) = 3412,5 Ω So R2a = 3300 Ω and R2b = 3900 Ω 390*3300 / (390+3300) = 348,78 Ω which is T – 0,35% 390*3900 / (390+3900) = 354,55 Ω which is T + 1,30% The first value (3300 Ω) is within tolerance, so we already got a solution. Otherwise repeat these steps with R1 = 470, 560 and 680 Ω. Higher R1 values are not required, as 820 Ω already is > 2*350 Ω. This way a combination of two parallel resistors can be found. Here the best result was 348,78 Ω. In a final step, the gap to 350 Ω can be closed with another 1,2 Ω resistor in series. But since we are already within the tolerance of the individual resistors this is not really required. What do you think? Dieter 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)