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.

HSPICE: how do I measure "Vout/(Vin1-Vin2)"?

Status
Not open for further replies.

Nygen Patricia

Newbie level 2
Joined
Oct 13, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
17
Hi all

This is a rather simple question. The circuit is a differential to single-ended. Meaning the gain is Vout/(Vin1-Vin2).


I have define:
*-----------------------------
*Indepedent voltage sources
* (I have Cmmom-mode of DC=1.5V with small signal *symmetric swing).
*-----------------------------
V+ Vin1 0 DC 1.5V AC 0.5 0 Sin(0 0.05 2kHz)
V- Vin2 0 DC 1.5V AC 0.5 180 Sin(0 -0.05 2kHz)



*printing out the gain
.print AC VDB(Vout,Vin1).

However, it should be Vout/(Vin1-Vin2). And I have trouble doing this. What can I do to make it happen?
 

kenambo

Full Member level 6
Joined
Feb 26, 2012
Messages
394
Helped
52
Reputation
104
Reaction score
48
Trophy points
1,308
Location
India
Activity points
3,844
Actually there is no need to give 180 degree phase shifted input to the second input.

you can set AC gain for one input and set 0 for second input

so no need to worry about vin1-vin2 as vin2 is zero..

Try this.

thanks
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top