Author Topic: Pick&place files: Component rotation on the bottom side  (Read 6158 times)

0 Members and 1 Guest are viewing this topic.

Offline LukasTopic starter

  • Frequent Contributor
  • **
  • Posts: 412
  • Country: de
    • carrotIndustries.net
Pick&place files: Component rotation on the bottom side
« on: February 25, 2020, 12:59:09 am »
Hello Everyone,

I recently added Pick&place export to Horizon EDA (see https://www.eevblog.com/forum/eda/horizon-eda-version-1-0!/new/#new), but I haven't been able to conclusively figure out how the zero rotation is defined for parts placed on the bottom side. See the attachment for what I mean: Is Q3 or Q2 at the correct angle? This boils down to whether a component is moved to the bottom side of the board by mirroring it about the X or Y axis.

So far I've seen software do both, but is there some kind of standard, or does everyone do whatever they please and it's up to the assembly house to determine the proper orientation?

Lukas
 

Offline Deni

  • Regular Contributor
  • *
  • Posts: 70
  • Country: hr
Re: Pick&place files: Component rotation on the bottom side
« Reply #1 on: February 25, 2020, 07:08:50 am »
I am not sure that there's a standard, but I prefer Y-axis mirroring. Similar thing to Pin 1 reference location for 0-degree rotation, where I like lower-left corner. Perhaps due to fact that most screens
have better X-axis resolution, so with that kind of orientation you can display part footprint bigger. Our p&p machines (Universal GSM) can transform data any way you want, so it is not that critical.
« Last Edit: February 25, 2020, 07:10:52 am by Deni »
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Pick&place files: Component rotation on the bottom side
« Reply #2 on: February 25, 2020, 03:17:39 pm »
You can ask an assembler but to me the most logical would be to use the coordinates from looking at the top of the board and mark the component as 'mirrored'. This makes checking the XY file versus the design (as seen on the monitor) easy. This is what Orcad's Allegro seems to do. Another issue is the part's origin. Recently an assembler asked me for an placement file which uses the centre of the part as the origin instead of pin 1.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Deni

  • Regular Contributor
  • *
  • Posts: 70
  • Country: hr
Re: Pick&place files: Component rotation on the bottom side
« Reply #3 on: February 25, 2020, 03:44:16 pm »
All p&p machines use centroid coordinates as a part position reference, no wonder there.
 

Offline Pseudobyte

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: us
  • Embedded Systems Engineer / PCB Designer
Re: Pick&place files: Component rotation on the bottom side
« Reply #4 on: February 25, 2020, 04:25:30 pm »
Here you go! Hope this Helps. Rotation is always from the top in pick and place data.



“They Don’t Think It Be Like It Is, But It Do”
 

Offline Pseudobyte

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: us
  • Embedded Systems Engineer / PCB Designer
Re: Pick&place files: Component rotation on the bottom side
« Reply #5 on: February 25, 2020, 04:39:19 pm »
As to the standard question. The format is defined in ODB++ as x, y, rot, mirror.

When you provide data to a CM they will generally be using some sort of data preparation tool. They will take your gerbers, and your placement data, interpret  the rotation mirror and x/y data. They then will correct for tape rotation of parts. As long as you give x, y, rotation, and mirror you should be fine. I would not modify the output of the tool to interpret the rotation based on mirror.
“They Don’t Think It Be Like It Is, But It Do”
 

Offline LukasTopic starter

  • Frequent Contributor
  • **
  • Posts: 412
  • Country: de
    • carrotIndustries.net
Re: Pick&place files: Component rotation on the bottom side
« Reply #6 on: February 25, 2020, 08:42:46 pm »
Thanks a lot for trying this out in Altium. KiCad does it this way as well, so I'll keep the export this way even though it's the other way round in the board editor.
 

Offline Feynman

  • Regular Contributor
  • *
  • Posts: 192
  • Country: ch
Re: Pick&place files: Component rotation on the bottom side
« Reply #7 on: February 26, 2020, 06:49:59 am »
I think the convention for part rotation on the bottom side doesn't matter too much (I've seen both). Either way, there is a lot of manual work involved in the assembly shop, since there is no standard format for XY-files.
Regarding Horizon EDA I would focus on generation of neat assembly drawings (PDF). I think that's much more important than the actual rotation convention.
« Last Edit: February 26, 2020, 06:54:56 am by Feynman »
 

Offline b2che

  • Newbie
  • Posts: 1
  • Country: de
Re: Pick&place files: Component rotation on the bottom side
« Reply #8 on: December 07, 2023, 12:41:29 pm »
Hi all, I've been banging my head about this issue today, and enjoyed the nice (and I believe correct) diagram form Pseudobyte (thanks!) However, I think it looks a bit more interesting on a part that is not symmetrical about an axis, so here it is for a SOIC8. You can see the interesting Altium behavior of mirroring over the x-axis when moving a part to Bottom. That is, the footprint is mirrored over the x-axis to move it to Bottom, and then the rotation angle is added counter-clockwise as seen from Top.




« Last Edit: December 07, 2023, 12:49:48 pm by b2che »
 

Offline Feynman

  • Regular Contributor
  • *
  • Posts: 192
  • Country: ch
Re: Pick&place files: Component rotation on the bottom side
« Reply #9 on: December 09, 2023, 05:02:08 pm »
Here is how Pulsonix does it:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf