Tuesday, 4 October 2016

PCB Routing guidelines - Part 4

USB is found in computers, tablets, mobiles, laptops, electronic equipment, modern gateways, servers and in many electronics devices. There are several versions of USB evolved over a period of time like all communication interfaces. Among them USB2.0 might be getting older now with USB3.0 coming up in the new electronic devices but it is most widely used communication interface in the embedded world. For the designer information, USB2.0 is called high speed USB and USB3.0 is called Super speed USB. USB2.0 operates around 480Mbps speed whereas USB3.0 operates at a maximum of 5Gbps speed. The following are the most important considerations for a layout engineer to consider before jumping into the layout activity.
  1. Stack up -  with indication of USB signal routing layers
  2. Impedance controlled routing
  3. Trace width
  4. Trace separation
  5. Termination resistor placement
  6. Trace length
  7. Grounding considerations
  8. Supply filtering
  9. Other EMI/EMC considerations
  10. USB controller placement
  11. Layer splits and any voids
USB uses differential signaling for data transmission and all the above points are to be thoroughly listed for the routing and analyzed in depth before starting the routing. Whatever may be the routing techniques involved, maintaining the given signal quality is the ultimate goal. Let us look in this article the routing guidelines for the high speed USB.
  1. Route the differential signals with as smaller lengths as possible.
  2. Place the termination resistor as close as possible to the origin of USB signals.. In most cases, host is the originator, so, keep as close as possible to the host.
  3. Proper length matching to be achieved with the USB signals. This meant two traces D+,D- should have same length. (mismatch must be < 150 mils)
  4. Signals should have a continuous ground plane to maintain proper impedance, USB signals should always be routed as impedance controlled.
  5. Never route the USB signals under clock generators, crystals, oscillators.
  6. Ensure proper separation between USB differential signals during the break out or terminating to the connector. the spacing between the signals determine the impedance.
  7. USB signals should not cross any power/ground splits. If they cross that enables the return path to take a longer route which is like increasing the ground loop causing necessary signal integrity issues.
  8. Route the USB signals in a strip line topology. This meant that they must be routed in the inner layers to avoid any EMI issues in the system.
  9. While routing in the inner layers, take care that there are minimum vias. As the number of vias increases, impedance mismatch occurs and hence reflections leading to signal degradation.
  10. Avoid right angle bends at the corners, this causes reflections. Have a smoother routing with < 45 deg routing near the corners.
  11. USB signals should have sufficient spacing from high speed clocks and periodic signals to avoid any signal coupling.
  12. USB signals should not have any stubs. Stub at any point causes impedance discontinuity. Generally, for testing signals people tend to have a small stub with a test point. In such cases, don't have a stub more than 100 mils.
  13. Route the signals away from the board edges to avoid unnecessary coupling with the loose cables surrounding the system.
  14. Route signals with 90 ohms differential impedance as per USB standard.
  15. Follow the trace width specified by your manufacturer for achieving the USB standard impedance.
  16. Common mode choke must be placed as close as possible to the USB connector. Common mode chokes are used to filter common mode electromagnetic interference (EMI) currents without de-rating under high currents and without causing signal degradation.
  17. Effects of Split plane crossing can minimized by having stitching capacitors near by.