Author Topic: Controlled Impedance Routing  (Read 4382 times)

0 Members and 1 Guest are viewing this topic.

Offline GiorevaTopic starter

  • Contributor
  • Posts: 19
Controlled Impedance Routing
« on: August 01, 2018, 07:59:38 pm »
Controlled Impedance Routing
I have to make USB 90 Ohm connection.
I do not understand what I'm wrong.







After design roule check, impedance is 259 ohm
 

Offline rachaelp

  • Supporter
  • ****
  • Posts: 156
  • Country: gb
Re: Controlled Impedance Routing
« Reply #1 on: August 01, 2018, 10:02:19 pm »
This will be a short reply because I’m on my phone sorry.

You have a 2 layer board with no reference planes. You’ve also set your trace width to max 0.3mm. The tool can’t change the width enough to obtain the impedance you require. Google for some PCB impedance calculators and experiment with the microstrip impedance calculator with different with traces with/without a reference plane below and with the plane at different distances to get a feel for how the stack up affects the achievable impedance.

If you want accurate impedance matching you’ll need to get your PCB vendor on board to help you specify the stack up to use.

Best Regards,

Rachael
I have a weakness for Test Equipment so can often be found having a TEA break (https://www.eevblog.com/forum/chat/test-equipment-anonymous-(tea)-group-therapy-thread/)
 

Offline GiorevaTopic starter

  • Contributor
  • Posts: 19
Re: Controlled Impedance Routing
« Reply #2 on: August 02, 2018, 06:01:08 am »
I do not need accurate.
I'm happy if DRC says 90 Ohm

I changed the maximum to 1 mm, but the routing is always similar and DRC always says 257 Ohms

Can I try to reduce the clerance ?
 

Offline GiorevaTopic starter

  • Contributor
  • Posts: 19
Re: Controlled Impedance Routing
« Reply #3 on: August 02, 2018, 06:05:51 am »
Also with Clearance at 0.05, DRC always same, 257 Ohm
 

Offline rachaelp

  • Supporter
  • ****
  • Posts: 156
  • Country: gb
Re: Controlled Impedance Routing
« Reply #4 on: August 02, 2018, 06:36:13 am »
Your biggest problem is you don't have a reference plane. If you play with an impedance calculator you'll see why.

If your bottom layer was a solid ground plane (which I know it can't because you need it for routing) then you'd get close to 90 ohms with 0.9mm - 1.0mm width traces on your top layer.

If you had a 4 layer stackup with inner reference planes no more than 0.5mm away from the outer routing layers then you'd get 90 ohms with around 0.3mm width traces.

Best Regards,

Rachael
I have a weakness for Test Equipment so can often be found having a TEA break (https://www.eevblog.com/forum/chat/test-equipment-anonymous-(tea)-group-therapy-thread/)
 

Offline rachaelp

  • Supporter
  • ****
  • Posts: 156
  • Country: gb
Re: Controlled Impedance Routing
« Reply #5 on: August 02, 2018, 10:54:34 am »
So I just reread your original post. You are doing USB so I think the differential impedance is 90 ohms which means the single ended impedance is 45 ohms. Here is a calculator which will help you calculate the parameters you need: https://www.everythingrf.com/rf-calculators/differential-microstrip-impedance-calculator

I have a weakness for Test Equipment so can often be found having a TEA break (https://www.eevblog.com/forum/chat/test-equipment-anonymous-(tea)-group-therapy-thread/)
 

Offline sdguy12

  • Contributor
  • Posts: 15
  • Country: us
Re: Controlled Impedance Routing
« Reply #6 on: August 02, 2018, 04:36:57 pm »
I would recommend going with a 4-layer PCB.  The cost difference between a 2-layer PCB and a 4-layer PCB is not that much.  It is always better in general to have a reference plane for VCC/GND when designing impedance controlled traces.  Remember that whenever you do a characterized impedance, you need to take into account the thickness of your dielectric material, the dielectric constant of the material, the width of the trace, and making sure that you have a solid plane underneath the trace for the return current since that goes directly underneath the signal trace.  You can do that with a 2-layer board, but you have to play around with placement and routing on the bottom layer and your copper pour.  Your life will be much easier if you switch to a 4-layer PCB using the a stackup like the following:

L1/Top : Signal
L2 : GND
L3 : VCC
L4/Bottom : Signal

And there are plenty of tools for figuring out the characteristic impedance of your trace to make sure it meets the 45ohm impedance that Rachael mentioned.  I personally use appcad or saturnPCB.
« Last Edit: August 02, 2018, 04:42:21 pm by sdguy12 »
Just some guy who likes electronics.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21606
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Controlled Impedance Routing
« Reply #7 on: August 02, 2018, 06:27:34 pm »
Are you using USB Full Speed, or High Speed?

Full speed is little more than CMOS logic level, and doesn't care at all about traces this short.  High speed is more critical, but won't mind a poorly matched impedance for trace lengths up to 200mm or so.

Controlled impedance is impractical on 1.6mm two layer board.  If you must, consider reducing board thickness to 1 or 0.8mm or even less (this reduces trace width below 0.5mm, still rather inconvenient), or positioning the receiver even closer to the connector, or using 4-layer construction.

Note that Altium will not calculate the impedance without a reference plane.  It doesn't know to check copper underneath or around a trace.  Instead, it assumes a signal layer is empty, and a plane layer is solid copper.  Better to calculate the trace width using an external calculator tool, and set design rules based on that.

BTW, note that the USB common mode impedance is also specified.  This sets how close the traces should be to each other, as well as their width, and the distance to nearby ground fill.  Again, you don't have much option here, so follow one of the above strategies.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8106
  • Country: fi
Re: Controlled Impedance Routing
« Reply #8 on: August 03, 2018, 09:30:36 am »
Since Altium cannot simulate or even approximate the actual impedance based on actual copper patterns, I fail to see the point in the controlled impedance routing function. Does it do anything else than what you can already do using any impedance calculator and just setting the width manually?
 

Offline GiorevaTopic starter

  • Contributor
  • Posts: 19
Re: Controlled Impedance Routing
« Reply #9 on: August 05, 2018, 04:29:41 pm »
Tanks

I can not use multilayer, I sell my card for € 40
I use USB 1.0, the track is 5cm, I would say that I can limit my paranoia.

I tried this calculator because it uses mm
https://www.eeweb.com/tools/edge-coupled-microstrip-impedance
Using 1mm trck, 1mm spacing, i have 4 value:
Odd (Z): 74.9 ohms Even (Z): 104 ohms
Common (Z): 51.8 ohms Differential (Z): 150 ohms

I have to obtain 45ohm for common and 90ohm for differential ?

I have not 3mm of space for routing it, but i can on half lenght.


 

Offline Gibson486

  • Frequent Contributor
  • **
  • Posts: 324
  • Country: us
Re: Controlled Impedance Routing
« Reply #10 on: August 24, 2018, 03:17:04 am »
If you want controlled impedance, you need a solid ground plane under those traces. Usually this means you need a 4 layer board (at least...if your traces switch sides, you still need a ground plane right under those traces).

Also, I only use those controlled impedance calculators to get me in the ball park of what trace width I need. Then I tell the pcb vendor what I need. I do this by making the traces a different size than the non impedance controlled traces. I add a note saying that all pcb traces with this width need to be xx ohm controlled impedance and that they can change the size to match their own stack up as long as it is a certain percentage of what I put on artwork. 

You could specify the actual stack up, but it will cost you more if you are just doing prototypes.
 

Offline Gibson486

  • Frequent Contributor
  • **
  • Posts: 324
  • Country: us
Re: Controlled Impedance Routing
« Reply #11 on: August 24, 2018, 03:23:23 am »
Tanks

I can not use multilayer, I sell my card for € 40
I use USB 1.0, the track is 5cm, I would say that I can limit my paranoia.

I tried this calculator because it uses mm
https://www.eeweb.com/tools/edge-coupled-microstrip-impedance
Using 1mm trck, 1mm spacing, i have 4 value:
Odd (Z): 74.9 ohms Even (Z): 104 ohms
Common (Z): 51.8 ohms Differential (Z): 150 ohms

I have to obtain 45ohm for common and 90ohm for differential ?

I have not 3mm of space for routing it, but i can on half lenght.




You cannot do controlled impedance like that. You have some choices....make the traces as short as you can get it and hope for the best, put some buffer as your input and hope for the best, transcode the usb into a much more friendly (ie slower) protocol, go crazy with transformers. 
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf