Via Calculator gives too low resistance values

Bug #1844804 reported by Philipp Legrum
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Medium
jean-pierre charras

Bug Description

I tried the new VIA calcualtor for the first time.
See attached screenshot.

Reconstrucing the formula within Python, my calculation gives the same mantissa but is x100 off from what KiCAD says.

I hardly dare to report a bug here, because I know from experience how easy it is to get orders of magnitudes wrong... But KiCad's resistance values seem so low.

Also, I do not understand what Clearance hole diameter is. The black circle, I guess. Couldn't that be labeled in the sketch? The PCB Calculator shows negative capacitance values for improper input.

Application: KiCad
Version: (5.99.0-135-ga1fe8cfa5-dirty), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF

Revision history for this message
Philipp Legrum (philulm) wrote :
Revision history for this message
Seth Hillbrand (sethh) wrote :

I agree. Those values look too low.

Additionally, for your input values, assuming a max temp rise of 1°C, I would say the ampacity is too high as well (I calculate around 1.43A)

Ahmad, do you have time to look at this one?

Changed in kicad:
importance: Undecided → Medium
milestone: none → 6.0.0-rc1
status: New → Triaged
Revision history for this message
jean-pierre charras (jp-charras) wrote :

I am fixing it (with an other minor issue).
In fact the resistivity values in list are in Ohm.m (this is ok) but the code was thinking it is in Ohm.cm (100x to low)

Changed in kicad:
assignee: nobody → jean-pierre charras (jp-charras)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 130d52dd80225d1d987b5f2733a61d3835214aa2
https://git.launchpad.net/kicad/patch/?id=130d52dd80225d1d987b5f2733a61d3835214aa2

Changed in kicad:
status: Triaged → Fix Committed
tags: added: pcb-calculator
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.