Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Is this balun bidirectional

Status
Not open for further replies.

yschuang

Full Member level 3
Joined
Feb 1, 2004
Messages
183
Helped
15
Reputation
30
Reaction score
2
Trophy points
1,298
Activity points
1,002
defined in subckt 0 spice

Hello, all

I have a question about the balun which is listed below.
Is this balun bidirectional ?
I can get the balanced signals 'vp' and 'vn' if vd and vc are known.
However, I can not get the unbalanced signals 'vp' and 'vn' if vd and vc are known.

.subckt balun vd vc vp vn
e1 vp vc transformer vd gnd 2
e2 vc vn transformer vd gnd 2
.ends balun
 

Hello, renwl

The following is my spice deck.

*** Balun
.subckt balun vd vc vp vn
e1 vp vc transformer vd gnd 2
e2 vc vn transformer vd gnd 2
.ends balun
*** CKT
vx+ vx+ 0 pwl(0 0 1n 0 1.01n 250m 1000n 250m 1000.1n -250m 2000n -250m 2000.1n 250m)
vx- vx- 0 pwl(0 0 1n 0 1.01n -250m 1000n -250m 1000.1n 250m 2000n 250m 2000.1n -250m)
Xtest vodm vocm vx+ vx- balun
.op
.tran 0.1n 3000n
.lib 'cmos35.txt' nominal
.end

Error messages are the following.
**error** no input to vccs/vcvs at node 0:vodm defined in subckt 0
**error** inductor/voltage source loop found containing 1:e2 defined in subckt balun

Can you tell me how to fix them ? Thanks
 

I remembered that it is not bidirectional, you can get the bidirectional one from designer's guide website, but I'm sorry that I cannot remember the address.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top