[PCB_FORUM] Re: Assigning Xnet to a Relay

Hello Seiji

Yes, it can be done for non-discrete components.  

It's been a while but here's an example of how a resistor network is set up:

Pins 1,2,3,4,6,7,8,9 -> single-ended pins
Pins 5,10 -> connected inside, tied high or low externally.  Pins are connected 
to other end of resistors.  

10  9   8   7   6 
o   o   o   o   o
|   |   |   |   |
|   R   R   R   R
|   |   |   |   |
-----------------
|   |   |   |   |
R   R   R   R   |
|   |   |   |   |
o   o   o   o   o
1   2   3   4   5

 
In your Setup Advisor:

1 - Set up everything for DC nets and Device Setup
2 - Go to SI Model Assignment
3 - Select the relay component
4 - Create Model
5 - Create Espice model
6 - Delete the entire Single Pins entry
7 - Type "1 5 2 5 3 5 4 5 6 10 7 10 8 10 9 10"  into the Single Pins entry  
(without quotes)
         This defines the pairs.
8 - Leave the Common pin blank
9 - Hit OK
10 - Edit model.

For my resistor network it will end up like this:
========================
("RES_NETWORK_51R_8_51R" 
    ("ESpice" 
".subckt RES_NETWORK_51R_8_51R 1 5 2 5 3 5 4 5 6 10 7 10 8 10 9 10
R1 1 5  51
R2 2 5  51
R3 3 5  51
R4 4 5  51
R5 6 10  51
R6 7 10  51
R7 8 10  51
R8 9 10  51
.ends RES_NETWORK_51R_8_51R
") 
    ("PinConnections" 
        ("1" "5") 
        ("5" "1") 
        ("2" "5") 
        ("5" "2") 
        ("3" "5") 
        ("5" "3") 
        ("4" "5") 
        ("5" "4") 
        ("6" "10") 
        ("10" "6") 
        ("7" "10") 
        ("10" "7") 
        ("8" "10") 
        ("10" "8") 
        ("9" "10") 
        ("10" "9")
    )
)
========================

Note the above example does not know about the internal tying of pins 5,10.


Another example is a resistor array of 4 resistors:

8   7   6   5
o   o   o   o
|   |   |   |
R   R   R   R
|   |   |   |
o   o   o   o
1   2   3   4

Steps 1-5 - same as before
6 - Delete the entire Single Pins entry
7 - Type "1 10 2 9 3 8 4 7 5 6"  into the Single Pins entry  (without quotes)
8 - Leave the Common pin blank
9 - Hit OK
10 - Edit model.

For my resistor array it will end up like this:
========================
("RES_NETWORK_51R_8_51R" 
    ("ESpice" 
".subckt RES_NETWORK_51R_8_51R 1 8 2 7 3 6 4 5
R1 1 8  51
R2 2 7  51
R3 3 6  51
R4 4 5  51
.ends RES_NETWORK_51R_8_51R
") 
    ("PinConnections" 
        ("1" "8") 
        ("8" "1") 
        ("2" "7") 
        ("7" "2") 
        ("3" "6") 
        ("6" "3") 
        ("4" "5") 
        ("5" "4")
    )
)
========================

I hope I got everything right.  As I said, it's been a while since I did it.


Your simpler relay will be similar to these, although I do admit I'm not sure 
exactly how without further work.  I suggest you look at the above examples and 
experiment a little.  You may be able to use the Common Pin field.

Hope this helps.

Cheers,
Richard




__________________________
Richard Moffat
PCB Specialist Engineer
Allied Telesis Labs
ph. +64 (3) 3393000
richard.moffat@xxxxxxxxxxxxxxxxxxx


>>> On 16/12/2008 at 8:31 a.m., in message 
>>> <CABB6353DE368746B974D9CC89B1D06D01AE2EF5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
>>>  "Gerry Meier" <gerry.meier@xxxxxxxxxxxxxx> wrote:

Xnets are for passive devices primary resistors, capacitors. You would have to 
set the relay model up as a discrete device I would suppose.
 

Gerry Meier, Sr. PCB Designer
Freedom CAD Services. Inc
Voice: (256)776-7470 or (603) 864-1350
Email:gerry.meier@xxxxxxxxxxxxxx
visit us at http://www.freedomcad.com
 
 


From:icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of seiji arimitsu
Sent: Monday, December 15, 2008 12:49 PM
To: icu-pcb-forum@xxxxxxxxxxxxx 
Subject: [PCB_FORUM] Assigning Xnet to a Relay

 
Hello All,
 
I am trying to assign the Xnet property to a 8 pin relay.
 
1 2  3  4
O O O O
O O O O
8 7  6  5
 
Pins 1, 6, and 7 are GND and pin 2 is PWR.  
 
pins 4 and 5 is same net and would like to set up the xnet with Pin 8.
 
How would I set the device model to accomplish this?  If anyone could help I 
would appreciate it.
 
Thank you,
Seiji
 



This correspondence and any attachments are considered confidential. If you are 
not the intended recipient, please notify Freedom CAD Services, Inc. 
immediately by either replying to this message or by sending an email to 
operations@xxxxxxxxxxxxxx; please destroy all copies of this message and any 
attachments. Thank you. 
NOTICE: This message contains privileged and confidential
information intended only for the use of the addressee
named above. If you are not the intended recipient of
this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it.
If you have received this message in error please
notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the
individual sender, except where the sender has the
authority to issue and specifically states them to
be the views of Allied Telesis Labs.
-----------------------------------------------------------
To subscribe/unsubscribe: 
Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
with a subject of subscribe or unsubscribe

To view the archives of this list go to 
http://www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
-----------------------------------------------------------

Other related posts: