Author Topic: Can kicad DRC flag the following poorly constructed trace?  (Read 2104 times)

0 Members and 1 Guest are viewing this topic.

Offline julian1Topic starter

  • Frequent Contributor
  • **
  • Posts: 771
  • Country: au
The likely cause is user error - inconsistent routing grids, followed by a cleanup tracks that removed a track segment at the bend. 
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11771
  • Country: us
    • Personal site
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #1 on: May 31, 2024, 09:37:24 pm »
I don't think it can. It can only mark a completely broken connection. The minimum trace width is detected based on the specified track width, not based on how those tracks interact.
Alex
 

Online Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3891
  • Country: nl
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #2 on: May 31, 2024, 11:04:51 pm »
I don't know when ataradov checked this last but KiCad can do this. I think it was introduced in KiCad V7, but I am not sure.
The setting is in: PCB Editor / File / Board Setup / Design Rules / Constraints / Minimum connection width

And in DRC it looks like:


 
The following users thanked this post: I wanted a rude username

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11771
  • Country: us
    • Personal site
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #3 on: May 31, 2024, 11:07:07 pm »
I checked on V8, but the project I tried had minimum connection with set to 0. I guess it got left at 0 after the version upgrades and I never adjusted it.
Alex
 

Online Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3891
  • Country: nl
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #4 on: May 31, 2024, 11:10:04 pm »
For me it was also set to zero. This probably disables it. I set it to 0.15mm to be able to verify it works and to make the screenshot.

I am not sure about the details. Maybe it's always set to zero by default.  :-//
« Last Edit: May 31, 2024, 11:12:07 pm by Doctorandus_P »
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11771
  • Country: us
    • Personal site
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #5 on: May 31, 2024, 11:21:57 pm »
It looks like the clean default project has all widths set to 0. I use a template project that I made a long time ago, which has all the settings configured as I like. But this option did not exist when I first created the template, so this width was set to 0, which migrated to all the projects created based on that template.
Alex
 

Offline julian1Topic starter

  • Frequent Contributor
  • **
  • Posts: 771
  • Country: au
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #6 on: June 01, 2024, 12:30:08 am »
Thanks a lot. I am using v6. I just tried v7, and this has the extra 'minimum track connection' property as well as 'minimum track width'.
Using 'minimum connection width' with a non-default value the mistake gets picked up. (DRC also identified another marginal case which is nice).
So the solution may be to upgrade.
« Last Edit: June 01, 2024, 12:32:20 am by julian1 »
 

Offline ahbushnell

  • Frequent Contributor
  • **
  • Posts: 749
  • Country: us
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #7 on: June 01, 2024, 03:31:10 am »
Looks like a fuse to me.  :) 
 :)
 

Offline johansen

  • Super Contributor
  • ***
  • Posts: 1137
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #8 on: June 01, 2024, 04:49:08 am »
Am i the one who thought the OP was you know who?
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11771
  • Country: us
    • Personal site
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #9 on: July 05, 2024, 03:54:09 pm »
I was just working on a new board and had this check enabled. It is very annoying in practice. It detects connection width between islands on the planes created by vias and other routing. And even just a BGA IC sitting on a plane would create narrow connections because of the limited resolution of the plane hole generator. All those narrow bridges are marked, even though they don't matter at all.

Ideally this needs to be much smarter and only flag if the narrow bridge is the only connection between the elements.
Alex
 

Online Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3891
  • Country: nl
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #10 on: July 05, 2024, 07:06:41 pm »
So first you are telling KiCad to check for narrow connections, and then you complain KiCad flags these narrow connections.  :palm:

I can see at least 4 different ways to fix this.
  • Reduce the clearance for that (presumably) GND zone by a tiny bit.
  • Reduce the diameater of those pads by a tiny bit (Either will create enough room for the zone to fit normally between those pads.
  • Reduce the minimum connection width to a value that is narrower then the actual copper connection.
  • It probably can be done with custom rules too (In various ways).
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11771
  • Country: us
    • Personal site
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #11 on: July 05, 2024, 07:54:55 pm »
No, I'm complaining that it checks individual connections, not the narrowest connection point of the same net. I guess there are a couple of reasons for those checks and strictly speaking KiCad is correct. But from a practical point of view, I'm only interested in narrow bridges that can lead to the loss of functionality if broken. 

Also, those narrow bridges are KiCad's fault too. The actual gap between the pads is wide enough, but KiCad's polygon generator narrows down the bridges.

Here is another example of this "bad" behavior.  It flags all the small dummy lands of plane formed by the traces. In this case, if the connection is broken, functionality is not going to be affected at all.

I may be asking too much, of course.
Alex
 

Offline julian1Topic starter

  • Frequent Contributor
  • **
  • Posts: 771
  • Country: au
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #12 on: July 05, 2024, 08:43:35 pm »
I noticed issues for fills and bga packages also.
Probably the reason the check is not enabled by default.
Having the option to treat the two cases - connected copper fill (where one expects some slivers) versus ordinary traces independently - might be a way to improve the test.
There is a slightly similar issue - with flood filling power/gnd bga pins where one doesn't want thermal reliefs while for other larger packages they are desirable, but there is no way to disambiguate the handling.

It is still a useful test to enable and run once, as part of a final checklist, followed by a visually scan.
 

Offline Kurets

  • Contributor
  • Posts: 30
  • Country: se
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #13 on: August 24, 2024, 08:53:53 pm »
Likely the good solution is to require that trace end points overlap like the Altium design rule "complete connections" (I think it is called like that). This rule require that trace ends touch aend that a trace must end in the centre of a pad to be considered connected.

Not always desirable, but I have used that rule to find similar errors in reviews.
 

Offline MustardMan

  • Contributor
  • Posts: 44
  • Country: au
Re: Can kicad DRC flag the following poorly constructed trace?
« Reply #14 on: September 17, 2024, 02:42:29 am »
Having "put up with" that functionality in Altium (before I switched to KiCad) I must say I despise it.
The way KiCad allows you to route a track to anywhere within a pad is marvellous! Consider a largish SMD square pad, with a small track entering. Sometimes I want the track to just skim into the top (for example - you might like the side...)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf