Custom Antenna, Cannot start routing inside a keep out area or board outline

Hello

I was design a RFID/NFC card ( for some cool stuff ) , after using STMicroelectronics antenna design tools to verify the equivalent inductance is correct, I generate the antenna shape

Then, I using that shape counter draw the antenna ( .kicad_mod files ).

But, when I was layout the board, and wiring the trace, it keeps show error massage " Cannot start routing inside a keep out area or board outline ". No matter I change to pad on the antenna into connector or through hole, it keep showing same error massage.

A bug or am I missing something?

I place the packing project in my Github, download

the antenna file was located in Antenna.pretty folder, including image files.

KiCad version 5.1.6, Windows 10 1909

Thanks

1 Like

The pcb file of your project is empty so we can not really check whats going on.

My guess is that there is either some keepout area defined, something on edge cute somewhere or a bug in kicad. (there was a bug in an early version 5 release where circles on edge cut are troublesome so doulbe check that you are really on version 5.1.6)

You can edit the keepout area and (temporarily?) set it’s properties to allow tracks.
image

For antenna’s it would be useful to allow a single net in a keepout area, but as far as I know this is not supported (Yet) by KiCad. I had a little look at gitlab for keepout area’s, and it seems this has not been mentioned before.

As a workaround: Antenna’s tend to be on the side of a PCB. Instead of a keepout area, you can make a “fence” around it from some PCB tracks and lock them.

1 Like

A good idea, so register it as a wishlist item

Maybe this could be done with the new DRC rule system? @JeffYoung would know about that.

I update the archive files including PCB layout, new version can be download now.

It looks like this

Also, something weird is that if I just trans antenna shape image from F.Mask layer into F.Cu layer, then adding connector pad or SMD pad, it works. However those antenna won’t work properly due to the right angle edge and less symmetry out trace

KiCad Application stats

  • Version: (5.1.6)-1, release build

Platform:

  • Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
    Build Info:
  • wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
  • Boost: 1.71.0
  • OpenCASCADE Community Edition: 6.9.1
  • Curl: 7.66.0
  • Compiler: GCC 9.2.0 with C++ ABI 1013

Do you know already this tools?

That is a useful tools, Thanks

But, I think the main problem ( or issue? ) is the KiCad DRC rule system think that PCB antenna is some kinds of trace, not component, so not only antenna trace, but also connector pad has keep out zone protect, like the orange ring highlight.

And sadly, I have no idea how to disable/ignore keep out zone on that connector pad. But I found a " Alternative Solution" to deal with it.

Create a line which match the trace you want at F.Silk, then trans it into F.Cu layer. Although the DRC will warning you if you running DRC, but the trace looks fine after plot the Gerber file

If you have graphical lines on copper maybe combine them with the pad into a complex pad. That way DRC knows that it should be connected to the same net.

Use ‘allow DRC violations’ with caution. Just be aware it is a choice. Maybe not a good one. Maybe not the best one. But sometimes it is ‘the one’.

The new DRC system in development will make it possible to do things like this without disabling DRC in a future version of KiCad.

1 Like

@Suzhou65 did you use Keepout to get rid of Copper fill? In this case ZOne cutout would do the trick.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.