Author Topic: TO220 heat sink plus to220 MOSFET (with answer)  (Read 2976 times)

0 Members and 1 Guest are viewing this topic.

Offline ahbushnellTopic starter

  • Frequent Contributor
  • **
  • Posts: 747
  • Country: us
TO220 heat sink plus to220 MOSFET (with answer)
« on: November 27, 2019, 02:36:59 am »
Hi,
I want to make a foot print for a to220 and a heat sink that is board mounted.  The Heatsink has a pin for connection to the heatsink.  I want to make two foot prints one for each part.  I set them up so they have the same origin so they line up when I place them. 

After I do that I get an error from over lapping foot prints.  Can I do something with rules to stop this? 

Thanks
Andy

I figured out what was going on.  It had nothing to do with interference between the mosfet and heat sink.  It was the height limit rule.  The MOSFET and the heatsink were busting through the ceiling. 
« Last Edit: December 04, 2019, 03:27:42 pm by ahbushnell »
 

Offline Batang

  • Regular Contributor
  • *
  • Posts: 54
  • Country: my
Re: TO220 heat sink plus to220 MOSFET
« Reply #1 on: November 27, 2019, 04:09:11 am »
If you are going to make 2 footprints i.e. TO220 & Heat sink

Why not make 2 parts, 1 TO220 without heat sink and 1 with.
« Last Edit: November 27, 2019, 04:19:27 am by Batang »
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22386
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: TO220 heat sink plus to220 MOSFET
« Reply #2 on: November 27, 2019, 05:59:53 am »
I do exactly that.  Use the stock TO-220 library part (i.e., from my libraries), then make the heatsink with its origin in the same location as the TO-220's origin.  Place them in the same location, and there you go.

Did you not provide 3D models?  If no, Altium assumes the footprint bounding box is collision.  If you CBA to add geometry, then you can always add a rule excepting them from collision.

Tim
« Last Edit: November 27, 2019, 06:01:37 am by T3sl4co1l »
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline ahbushnellTopic starter

  • Frequent Contributor
  • **
  • Posts: 747
  • Country: us
Re: TO220 heat sink plus to220 MOSFET
« Reply #3 on: November 27, 2019, 11:49:32 am »
I did use a 3D part.  The bounding box is rectangular but the heat sink is U shaped. 

How do I do the rule to avoid collision?  I was looking through the rules and I wasn't sure which one.  Do I need to make a rule for each pair of parts?

Thanks
Andy
 

Offline ahbushnellTopic starter

  • Frequent Contributor
  • **
  • Posts: 747
  • Country: us
Re: TO220 heat sink plus to220 MOSFET
« Reply #4 on: November 27, 2019, 11:50:24 am »
If you are going to make 2 footprints i.e. TO220 & Heat sink

Why not make 2 parts, 1 TO220 without heat sink and 1 with.
I did that.  But I'm not sure how to deal with the collision.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22386
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: TO220 heat sink plus to220 MOSFET
« Reply #5 on: November 27, 2019, 08:34:18 pm »
ahh.  Well, obviously, avoid any intersection or approach within whatever the rule is.  Default 10 mils?  Can always bump the heatsink back as much, and just ignore the misalignment with pins.  Hardware, probably better not to draw it..?

Add an exception like so:

Component Clearance, add rule, first object
HasFootprint('MyHeatsink')
second object
HasFootprint('MyTO220')
Or name them by designator, or...
Set clearance to 0, or a little negative or something.  Set priority so this new rule is done first (should already be there).

Alternately, set the global rule to the negation of these, so they are literally never checked.  Awkward for many exceptions, though.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: thm_w, ahbushnell

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7429
  • Country: ca
Re: TO220 heat sink plus to220 MOSFET
« Reply #6 on: November 27, 2019, 09:32:57 pm »
Altium appears to wrongly use the perceived (silkscreen) perimeter and collisions are a huge PITA with U-shaped or round parts, it assumes the biggest possible square. Seems to be the same Autotrax algorithm from many years ago lives on.

Don't forget keepout areas. I don't recommend running traces under a heatsink, where you rely on only the soldermask for insulation. If the aluminum sits flush, it will likely have sharp edges which can cut through.
 

Offline ahbushnellTopic starter

  • Frequent Contributor
  • **
  • Posts: 747
  • Country: us
Re: TO220 heat sink plus to220 MOSFET (with answer)
« Reply #7 on: December 04, 2019, 03:28:50 pm »
Hi,
I want to make a foot print for a to220 and a heat sink that is board mounted.  The Heatsink has a pin for connection to the heatsink.  I want to make two foot prints one for each part.  I set them up so they have the same origin so they line up when I place them. 

After I do that I get an error from over lapping foot prints.  Can I do something with rules to stop this? 

Thanks
Andy


I figured out what was going on.  It had nothing to do with interference between the mosfet and heat sink.  It was the height limit rule.  The MOSFET and the heatsink were busting through the ceiling.
 
The following users thanked this post: thm_w

Offline Pitrsek

  • Regular Contributor
  • *
  • Posts: 171
  • Country: cz
Re: TO220 heat sink plus to220 MOSFET
« Reply #8 on: December 20, 2019, 08:03:44 am »
If you are going to make 2 footprints i.e. TO220 & Heat sink

Why not make 2 parts, 1 TO220 without heat sink and 1 with.
Because this would mess-up your BOM. If you have two individual parts, you have two BOM entries with two coordinates(imagine SMD footprint with SMD heatsink - PnP assembly). Also you can mix and match different transistors with different heat sinks. Having individual parts is much more robust approach.
 

Offline Batang

  • Regular Contributor
  • *
  • Posts: 54
  • Country: my
Re: TO220 heat sink plus to220 MOSFET (with answer)
« Reply #9 on: December 20, 2019, 10:44:54 am »
I was talking about footprints not schematic symbols.

Having different footprints for the same part does not mess up the BOM.

If you want a TO-220 part mounted horizontal or vertical for example, 2 footprints.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf