-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8855f7a
commit 16decc5
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
# R-Calc | ||
|
||
R-Calc is a tool designed to calculate resistor networks aiming to approximate a given equivalent resistance as closely as possible. | ||
|
||
Currently under development!: | ||
[Try R-Calc on Github Pages](https://mitchilaser.github.io/R-Calc/) | ||
|
||
R-Calc is a tool designed to calculate resistor networks aiming to approximate a given equivalent resistance as closely as possible. | ||
|
||
## Example | ||
|
||
Suppose you require a 608kΩ resistor, but the closest available option in the E24 resistor series is 604kΩ. R-Calc can help find combinations of resistors to achieve a resistance close to 608kΩ: | ||
|
||
| Resistor combination | deviation | | ||
|:------------------------------------:|:---------:| | ||
| 150kΩ + 470kΩ = 620kΩ | 1,9% | | ||
| 330kΩ + (470kΩ ∥ 680kΩ) = 607,9kΩ | 0,014% | | ||
| 68kΩ + 100kΩ + 220kΩ + 220kΩ = 608kΩ | Exact | | ||
| Resistor combination | = | deviation | | ||
|:--------------------:|:---------:|:---------:| | ||
| 620kΩ | 620kΩ | 1,9% | | ||
| 620kΩ ∥ 30000kΩ | 607,446kΩ | 0,091% | | ||
| 1kΩ + 47kΩ + 560kΩ | 608kΩ | Exact | | ||
|
||
R-Calc iteratively combines two and later on three resistors, trying to find the closest value to approximate a target resistor. Once an exact approximation is reached, further calculations are unnecessary as additional resistors will not improve the approximation. | ||
|
||
## Future | ||
|
||
R-Calc iteratively combines two, three, or four resistors until it achieves a network with an acceptably close approximation to the specified replacement resistance. Once an exact approximation is reached, further calculations are unnecessary as additional resistors will not improve the approximation. | ||
Maybe, some time, this tool will also be able to calculate on networks with 4 resistors but this might take a while to implement and currently 3 resistors seem to be good enough for most purposes. |