KiCad

PCB design

Controlled impedance

Using manufacturer’s impedance calculator

Routing differential pairs

  1. Make sure that differential pair net names end with + and - or P and N.

    kicad differential pair net names
  2. In PCB Editor open File → Board Setup and create a net class for differential pair nets. Specify differential pair (DP) width and gap from PCB manufacturer’s calculator or from some other calculator.

    kicad differential pair net class

    Also make sure that minimum track width constraint is smaller than differential pair track width.

    kicad differential pair minimum track width constraint
  3. Position components so that the differential pair traces can be as straight as possible. If there are other components or traces close to the differential pair traces, try to move them further away.

    kicad differential pair routing component positioning
  4. Start routing by clicking Route Differential Pairs button or by pressing 6 on keyboard.
    KiCad documentation: https://docs.kicad.org/10.0/en/pcbnew/pcbnew.html#routing-differential-pairs

    kicad differential pair routing button

    To reduce impedance discontinuities and intra-pair skew: try to avoid bends, avoid using vias if possible or reduce the amount of vias and keep traces as symmetrical as possible.

    Some manual adjustments might be needed, which can be done by simply moving the tracks or rerouting segments of the tracks with Route Single Track (hotkey X) tool.

    kicad differential pair routed tracks

    When connecting tracks to ESD protection component, the tracks should go straight to the ESD protection component (like on the image above) to avoid ESD propagating between narrow gaps between tracks.

    kicad differential pair esd protection incorrect connection

    Stubs should be avoided in tracks as these will reduce ESD protection effectiveness and also cause signal reflections in general.

    kicad differential pair stubs

Jobset

  1. Create Jobset with File → New Jobset File.

    kicad jobset create
  2. Add Job with the + button.

    kicad add job

Gerbers and Drill Jobs

  1. Select PCB: Export Gerbers when adding a new Job.

    kicad add gerbers job
  2. Use the following Gerber Job Settings.

    kicad gerber job settings
  3. Add another Job and select PCB: Export Drill Data.

    kicad add drill data job
  4. Use the following Drill Data Job Settings.

    kicad drill data job settings
  5. Open destination folder settings.

    kicad jobset destination folder settings open
  6. Change Destination path to ${KIPRJMOD}.

    kicad jobset destination folder settings destination path
  7. Press Save Jobset.

    kicad jobset save
  8. Press Generate.

    kicad jobset folder generate
  9. Commit Jobset (*.kicad_jobset) and Gerber (GerberX2/*.gbr) files to the repository.

  10. If the Gerber files need to be updated open the Jobset and press Generate.