5 Replies Latest reply on Nov 26, 2019 7:36 PM by adamwebber

    Plane Clearance Around Component Pads

    bills_alsentis

      Greetings Again,

       

      I have a line of pads I use for In Circuit Serial Programming for micro's that are spaced 2.54mm apart for use with a pogo pins/test probes fixture.  I added a Polygon Pour Plane (Gnd) to the same layer and would like to increase the pad to poly clearance around the pads to more than my default clearance of 0.2mm to prevent the pogo's from shorting to the plane with an unsteady hand - without having to increase the overall 0.2mm clearance for all the other components on the layer.

       

       

      I originally looked at adding a keepout to this layer, but this will not work as a keepout over the pads obviously creates DR violations.

       

      So I turned focus to creating a 2nd Power Plane Clearance Rule.  Since all 5 pads are the same size and unique to all other pads in my design, I created a Pad Class to include these pads and increased the Clearance.  Unfortunately this did not work as my default Clearance rule of 0.2mm was maintained after repour.  I then decided to make a 2nd Clearance Rule, but the "Where The First Object Matches" rule dialog does not include an option to select Pad Class like the Power Plane Clearance does.

       

      I am relatively new to CS, so I must be missing something here.  I would have thought the original Power Plane Clearance would have worked - do I have to somehow label my plane as a "Power" plane or similar?  Is CS not recognizing it as a Power plane?  Might there be a way to create a rule for clearance around certain components?

       

      I understand the Rules are executed based on Priorities, but I did not see where this was giving me the issue.

       

      Any help to understand better is appreciated - Thanks

        • Re: Plane Clearance Around Component Pads
          adamwebber

          The fix for your clearance problem will require some text editing but I guarantee it will work.   The following are the steps that you need to take:

           

          1-Go into your PCB Rules and Constraints Editor (Right-click and select Design --> Rules)

          2-In the Clearance section of the rules, duplicate the Clearance rule.  Name it Clearance_pogo or something like that.

          3-Give it a higher priority than the original Clearance rule.

          4-Export the Clearance RUL file.  Sometimes this gives me problems.  Sometimes it exports.  Sometimes it doesn't.

          5-Open the RUL file with a text editor such as Notepad++.

          6-Look for your Clearance rule that you just created.  Around the middle of the line it will have "NAME=Clearance_pogo".  It should be in the same order as the order in which it was placed in CS.

          7-Find SCOPE1EXPRESSION=All.

          8-Change "All" to the following:

               HasFootprint('Pogo PAD')

               Except "Pogo PAD" will be the name of YOUR footprint.  If you need to know what it's called, double-click on the footprint in CS and you will see the Name of the Footprint.  Copy and Paste that name.

          9-Save the text file.

          10-Import the RUL file into CS as a Clearance rule.

          11-In the rules you will see that both scopes utilize "All" in the drop-down menus but this will not be the case.  Don't change these values.  Click on the Clearance Heading and you will see that the first scope shows "HasFootprint('Pogo PAD')"

          12-Repour your polygon.

          Extra-If you don't wish to utilize a clearance for a particular rule, you can just delete the number.  It should then use the following Clearance rule.  Here's a pic.

          If you're wondering how I figured all of this out, I used to use Altium quite extensively.  A lot of these features are available in Altium but are limited in CS.  I used to do a lot of text editing of my Altium projects because it was limited in the functionality that I needed.  Luckily both CS and Altium are text-based.

          1 of 1 people found this helpful