Author Topic: Multi Channel Design - Anyone had any experience  (Read 3290 times)

0 Members and 1 Guest are viewing this topic.

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Multi Channel Design - Anyone had any experience
« on: August 06, 2017, 03:23:18 am »
Has anyone layed out a multi-channel design and then flattened the designators by back annotating to the schematic and then tried to add components to the schematic and keep getting messages of duplicate designators etc ?

Still to this day I am having nightmares which makes you wonder why they added this feature in the first place if it is so difficult to use  :palm:
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21606
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Multi Channel Design - Anyone had any experience
« Reply #1 on: August 06, 2017, 06:20:31 am »
I prefer to avoid back annotation if possible, for exactly this reason.

If you must, then add the part to the schematic, update the PCB to add the component, then rename the new component and back-annotate.

All the designators are stored in the .Annotation file.  Needless to say, if components or UIDs get confused, things will get out of sync.  It's plain text, so if worse comes to worse, you can edit it manually, but it should sort itself out after resetting component links and updating the design.

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

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Multi Channel Design - Anyone had any experience
« Reply #2 on: August 07, 2017, 03:10:58 am »
I just realized I have a situation where some of the component links are broken and for some reason the brain dead thing does not give you the option of linking by unique ID which would solve the problem  :palm:

Apparently if you back annotate to many times this can happen :palm: 
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21606
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Multi Channel Design - Anyone had any experience
« Reply #3 on: August 07, 2017, 05:45:17 am »
The links ARE by UID... ???

The single biggest thing that can screw with UIDs is copying a schematic file.  The UIDs remain the same, so they get doubled up.  You need to reset them on the schematic (T, V, R).

And yeah, that's the other big problem: if UID AND designator get out of sync, you're screwed and have to match them manually.  (You can match them on the link dialog, or copy and paste UIDs between components and parts.)

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

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Multi Channel Design - Anyone had any experience
« Reply #4 on: August 07, 2017, 01:10:06 pm »
The links ARE by UID... ???

The single biggest thing that can screw with UIDs is copying a schematic file.  The UIDs remain the same, so they get doubled up.  You need to reset them on the schematic (T, V, R).

And yeah, that's the other big problem: if UID AND designator get out of sync, you're screwed and have to match them manually.  (You can match them on the link dialog, or copy and paste UIDs between components and parts.)

Tim

Hi Tim

Here is the problem in a nutshell with one of many examples of duplicate designators after I run the compiler.


Code: [Select]
Logical Designator    Physical Designator

BC110       -->         ????   (Should be BC25 because of the same unique id)
BC90         -->         BC110



How to get BC110 on the schematic to link with BC25 by matching up the unique ids and then push back to the schematic so these errors no longer appear ?

Regards
David



« Last Edit: August 07, 2017, 01:20:09 pm by snoopy »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21606
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Multi Channel Design - Anyone had any experience
« Reply #5 on: August 07, 2017, 03:49:56 pm »
Go to PCB view, select Project / Component Links.  Find BC110 in the SCH list, BC25 in the PCB list, and hit the ">" button.  (Or, if these have already been linked with other parts, find them in the right-side pairs list and press the "<" button, then do the above.)

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

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Multi Channel Design - Anyone had any experience
« Reply #6 on: August 08, 2017, 01:39:21 am »
Go to PCB view, select Project / Component Links.  Find BC110 in the SCH list, BC25 in the PCB list, and hit the ">" button.  (Or, if these have already been linked with other parts, find them in the right-side pairs list and press the "<" button, then do the above.)

Tim

Hi Tim

I did all of that and pushed it back to the schematic but it does not work ! Still get the duplicate designators :(

cheers
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21606
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Multi Channel Design - Anyone had any experience
« Reply #7 on: August 08, 2017, 07:21:53 am »
Huh, so is that a schematic compile warning?

Because the compiler doesn't take account of the annotation file.  If you have e.g. R10 in a channel that's numbered $ComponentPrefix$ChannelIndex$ComponentIndex (so its instances will be named "R110", "R210", etc.), and you have R110 elsewhere in the schematic, then the schematic annotation won't detect any issues (because there is only one part with logical name "R110"), but the compiler will emit a warning, because there are multiple physical parts (R110 by name, and "R110" from channel 1, "R210" from channel 2, etc.).

That is an issue if you are doing simulations (the compiled designators are used for simulation).  It doesn't matter on the PCB, because the PCB does use the annotation file.

At least, I think that's what it does.  Again, good reasons to avoid using confusing names and back annotation...

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

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Multi Channel Design - Anyone had any experience
« Reply #8 on: August 08, 2017, 02:16:40 pm »
Huh, so is that a schematic compile warning?

Because the compiler doesn't take account of the annotation file.  If you have e.g. R10 in a channel that's numbered $ComponentPrefix$ChannelIndex$ComponentIndex (so its instances will be named "R110", "R210", etc.), and you have R110 elsewhere in the schematic, then the schematic annotation won't detect any issues (because there is only one part with logical name "R110"), but the compiler will emit a warning, because there are multiple physical parts (R110 by name, and "R110" from channel 1, "R210" from channel 2, etc.).

That is an issue if you are doing simulations (the compiled designators are used for simulation).  It doesn't matter on the PCB, because the PCB does use the annotation file.

At least, I think that's what it does.  Again, good reasons to avoid using confusing names and back annotation...

Tim

It makes it awkward to add new components when it is in a pickle like this. I have tried everything anyone can suggest but nothing seems to be able to fix it except I have found a convoluted way of fixing it which I will document here to help anyone else.

Run the compiler and click on one of the duplicate errors. You will see details in the dialog box below the messages. It will look something like this:-

BC110
BC110 (C90)

Double click on the one without the associated physical designator in brackets because this is the component that has lost its physical designator. Now double click on the component and copy its UID to the clipboard. Now find the UID in the .annotation file. Below this entry is the physical designator that it should be linked to (for example BC52) but for some reason Altium is to brain dead to offer component linking by UID  :palm: Now replace the logical designator (BC110) with the physical designator BC52. Recompile and note the error disappears. Also cross probe the component on the schematic to make sure it matches up with the correct part on the board.

Now repeat for all of the other duplicate errors |O I'm sure there must be some hidden undocumented feature that makes this is easy but I could not find it ! It seems to be an issue with multi channel design implementation.

Moral of the story is don't back annotate a multi channel design unless you are well and truly sure it is finished and you do not want to change anything !!

cheers
david
« Last Edit: August 08, 2017, 02:18:11 pm by snoopy »
 

Offline ludzinc

  • Supporter
  • ****
  • Posts: 506
  • Country: au
    • My Misadventures In Engineering
Re: Multi Channel Design - Anyone had any experience
« Reply #9 on: August 08, 2017, 09:13:15 pm »
Can be tricky to get right.

Here's the reminder I write for myself: http://ludzinc.blogspot.com.au/2014/08/altium-multichannel.html?m=1

 

Offline snoopyTopic starter

  • Frequent Contributor
  • **
  • Posts: 767
  • Country: au
    • Analog Precision
Re: Multi Channel Design - Anyone had any experience
« Reply #10 on: August 09, 2017, 02:25:36 am »
Can be tricky to get right.

Here's the reminder I write for myself: http://ludzinc.blogspot.com.au/2014/08/altium-multichannel.html?m=1

Good doco ;)

On your example can you try adding a resistor on the top level schematic and then run the annotator ? What is the annotation for the new resistor ? When I tried to do it on my own designs it would designate the resistor as R2 instead of R5 as it should be as though it does not understand the new re-annotated parts !! Therefore when you run the compiler you get duplicate designators error :palm: Perhaps they have changed it in version 17 because I haven't been able to test it because of these duplicate component errors which I am working through at the moment !!
« Last Edit: August 09, 2017, 04:13:32 am by snoopy »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf