I enjoyed, the book, - great work! There appear to be a couple of problems with the code and/or formula at the end of the book for the coil calculators. First off, the formula given for coil thickness is sqrt(N*w) whereas it appears it should be sqrt(N)*w ... this change makes the coil thickness output with the sample numbers on page 259 match the expected result of 3.76mm and the mean radius also matches. Note this error is in all three source formats. I still can't get the 2.741mH result however (I get 2.595mH) ... not a huge discrepancy but I haven't figured out where the problem lies. I've inserted all of the values from my (Excel) implementation below.
Inner Radius | 216 | mm |
Wire Thickness | 0.56 | mm |
Number of Turns | 45 | |
c | 3.7565942 | |
a | 217.878297 | |
x | 7.4319E-05 | |
S1 | 0.00027379 | |
S2 | 2025 | |
S3 | 0.55443273 | |
S4 | 0.50000619 | |
S5 | 5.03198936 | |
S6 | 0.85001486 | |
S7 | 4.68198068 | |
Mean Radius | 217.878297 | mm |
Coil Thickness | 3.7565942 | mm |
Inductance | 2.59584335 | mH |
Comment