[SI-LIST] Re: Complex voltage division in Hspice?

  • From: "Clewell, Craig" <cclewell@xxxxxxxxxxxxxx>
  • To: "'atazad02@xxxxxxxxxxxxx'" <atazad02@xxxxxxxxxxxxx>
  • Date: Mon, 27 Oct 2003 09:55:51 -0500

You can do this using the equation writer in Awaves, or you can export your
data to a spreadsheet. 
First plot the voltages in dB and do your division.  
Then, you can use the equation writer, or the spreadsheet to do the math.
You can use 20*log(sqrt(sumsq(x,y))) to get the Real and Imaginary parts
from the result of your division.

Craig


-----Original Message-----
From: A.Z. [mailto:atazad02@xxxxxxxxxxxxx]
Sent: Sunday, October 26, 2003 12:19 AM
To: ywguo527@xxxxxxxxxxx
Cc: si-list@xxxxxxxxxxxxx
Subject: [SI-LIST] Re: Complex voltage division in Hspice?


But doesn't that FIRST take the voltage Magnitude (V is same as VM), and
THEN divide them?  I'm looking to FIRST divide the COMPLEX (Real+Im)
voltages and THEN get the resultant magnitude and phase, and probe it.  =
Do
you have a sample code for that operation?
Thanks,

-----Original Message-----
From: si-list-bounce@xxxxxxxxxxxxx [mailto:si-list-bounce@xxxxxxxxxxxxx] =
On
Behalf Of Guo Yawei
Sent: Saturday, October 25, 2003 7:15 PM
To: atazad02@xxxxxxxxxxxxx
Cc: si-list@xxxxxxxxxxxxx
Subject: [SI-LIST] Re: Complex voltage division in Hspice?


Now I am not in my office, so I cannot try by myself. But I guess you =
can=20
use=20
.probe beta=3Dpar('V(node1)/V(node2)') when you run AC analysis, where =
beta=20
is the parameter name according to your preference.

Good luck.



************************************************=20
Yawei Guo=20
Shanghai MicroScience IC Co., Ltd.=20
Shanghai, P.R.China=20
MSN: ywguo527@xxxxxxxxxxx=20

The poor longs for rich,=20
the rich longs for heaven,=20
but the wise longs for peace.=20
************************************************





>From: "A.Z." <atazad02@xxxxxxxxxxxxx>
>Reply-To: <atazad02@xxxxxxxxxxxxx>
>To: <ywguo527@xxxxxxxxxxx>
>Subject: RE: [SI-LIST] Re: Complex voltage division in Hspice?
>Date: Sat, 25 Oct 2003 18:48:15 -0700
>
>Hi Yawei,
>Thanks for your reply.  I need it for AC analysis, you are correct that =

>Hspice reports the Mag/Phase of all nodes automatically, but I need to
FIRST
>divide two node voltages, THEN find their Magnitude or Phase, do you=20
>know how this can be done in Hspice?  Thanks in advance.
>
>
>-----Original Message-----
>From: si-list-bounce@xxxxxxxxxxxxx=20
>[mailto:si-list-bounce@xxxxxxxxxxxxx]
On
>Behalf Of Guo Yawei
>Sent: Saturday, October 25, 2003 6:43 PM
>To: si-list@xxxxxxxxxxxxx
>Subject: [SI-LIST] Re: Complex voltage division in Hspice?
>
>
>Hi, Ata,
>
>Would you please explain which analysis do you need? AC analysis or=20
>transient analysis?
>
>If you run AC analysis, HSPICE will report the real part, imaginary=20
>part, the magnitude, the phase automaticly. However, for transient=20
>analysis,
what
>we care is the transient voltage at some specific time. So we don't=20
>need divide one complex voltage into real part and imaginary part.
>
>regards,
>
>
>************************************************
>Yawei Guo
>Shanghai MicroScience IC Co., Ltd.
>Shanghai, P.R.China
>MSN: ywguo527@xxxxxxxxxxx
>
>The poor longs for rich,
>the rich longs for heaven,
>but the wise longs for peace.
>************************************************
>
>
>
>
>
> >From: "A.Z." <atazad02@xxxxxxxxxxxxx>
> >Reply-To: atazad02@xxxxxxxxxxxxx
> >To: <si-list@xxxxxxxxxxxxx>
> >Subject: [SI-LIST] Complex voltage division in Hspice?
> >Date: Sat, 25 Oct 2003 13:00:19 -0700
> >
> >Hi,
> >Does anyone know how to divide two complex (imag+real) voltages in=20
> >Hspice easily?  And then extract their phase and magnitude AFTER the=20
> >complex division? Thanks,
> >
> >------------------------------------------------------------------
> >To unsubscribe from si-list:
> >si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
> >
> >or to administer your membership from a web page, go to:=20
> >//www.freelists.org/webpage/si-list
> >
> >For help:
> >si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field
> >
> >List archives are viewable at:
> >             //www.freelists.org/archives/si-list
> >or at our remote archives:
> >             http://groups.yahoo.com/group/si-list/messages
> >Old (prior to June 6, 2001) list archives are viewable at:
> >             http://www.qsl.net/wb6tpu
> >
> >
>
>_________________________________________________________________
>=C3=E2=B7=D1=CF=C2=D4=D8 MSN Explorer:   http://explorer.msn.com/lccn/
>
>------------------------------------------------------------------
>To unsubscribe from si-list:
>si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>
>or to administer your membership from a web page, go to:=20
>//www.freelists.org/webpage/si-list
>
>For help:
>si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field
>
>List archives are viewable at:
>               //www.freelists.org/archives/si-list
>or at our remote archives:
>               http://groups.yahoo.com/group/si-list/messages
>Old (prior to June 6, 2001) list archives are viewable at:
>               http://www.qsl.net/wb6tpu
>
>

_________________________________________________________________
=D3=EB=C1=AA=BB=FA=B5=C4=C5=F3=D3=D1=BD=F8=D0=D0=BD=BB=C1=F7=A3=AC=C7=EB=CA=
=B9=D3=C3 MSN Messenger:  http://messenger.msn.com/cn =20

------------------------------------------------------------------
To unsubscribe from si-list:
si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

or to administer your membership from a web page, go to:
//www.freelists.org/webpage/si-list

For help:
si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field

List archives are viewable at:    =20
                //www.freelists.org/archives/si-list
or at our remote archives:
                http://groups.yahoo.com/group/si-list/messages=20
Old (prior to June 6, 2001) list archives are viewable at:
                http://www.qsl.net/wb6tpu
 =20

------------------------------------------------------------------
To unsubscribe from si-list:
si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

or to administer your membership from a web page, go to:
//www.freelists.org/webpage/si-list

For help:
si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field

List archives are viewable at:     
                //www.freelists.org/archives/si-list
or at our remote archives:
                http://groups.yahoo.com/group/si-list/messages 
Old (prior to June 6, 2001) list archives are viewable at:
                http://www.qsl.net/wb6tpu
  
------------------------------------------------------------------
To unsubscribe from si-list:
si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

or to administer your membership from a web page, go to:
//www.freelists.org/webpage/si-list

For help:
si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field

List archives are viewable at:     
                //www.freelists.org/archives/si-list
or at our remote archives:
                http://groups.yahoo.com/group/si-list/messages 
Old (prior to June 6, 2001) list archives are viewable at:
                http://www.qsl.net/wb6tpu
  

Other related posts: