pspice - amobbsd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853udrn82.pdfpspice ( ) pspice ......

60
Pspice () Pspice Pspice ! ! ! OutFile ! ,! 1 2 3 4 1 . 2 3 4 5 6 A: Simulation Setting B C

Upload: lediep

Post on 23-Mar-2018

239 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Pspice� (���)Pspice������������ ������������ Pspice ����������������

� ��!!" #$%&�'(�)* �+,-./01+1�!*,2�34�3

4+*34�/0�!*2�3456�7�89:;��<�=>!�?@%&AB�.

��CDEFG��H�-*�?@ ��IJ:K�L=>�M,NOP�?@*EF�

Q5:;�+RS�TABUVWXYZ�H[!

\]%&^W34�89.. OutFile��!_ ,)A`.�a����L!

���34���

1��34

2�34

3�Q534

4���34

�34���

1�����34.

2�����34

3���34

4���34

5����34

6�������_34

5 EF:;!3"#

$% A: �� Simulation Setting�&'

$% B� ��()*5�&'

$% C���+,-�&'

Page 2: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

������

�34�PSpiceA$%+,./0E1EF 2�34P3*4$EF�

5�6789:WQ5;E-<=�Q5>>?O@A��34��34T

*34?BCD+,/0EFQ5G��34BCHI8AM�34PEJ

;K��A`�L ProbeMBN� Vo- ViO/�PQR��@)S$QW=�Q

5�T��0O/P

UV �WX Capture / Capture CIS.YWZ[\A]�^ ( Fig.1)P

( Fig 1)

�_'`Wa�W��Z[����! ( Fig.2)

( Fig.2)

Page 3: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

����W'����!

�A`.�`���� �P(Fig.3)

(Fig.3)

�A`�������� �,^ Pspice IJ��` �,���W���

�������!C����*���� !

Analog or Mixed A/D 5"#RIJ

PC Board Wizard $%&'S(:;

Programmable Logic Wizard CPLD) FPGA:;

Schematic 'S(:;

*�� �.�L Pspice� ��+ ��'S( �,-���P(Fig.4)

(Fig.4)

Page 4: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�� Creat based upon an existing project �A`.�������!C�����

���� ���S������P

�A`���W�����P(Fig.5)

(Fig.5)

)* ������:;� P �����A`.��� Capture / Capture CIS�L

�����P!"���S��� �A`.�W Pspice Resources��!

��� !W�X"#���.$!

1L�%�� Pspice���&':K1L!

�A`()�.. �B$ Pspice�^X*+,-.

IJ:K��//0��

Page 5: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�,�2�����!

)* ��1$������!����(Fig.6)

Ok! ��_2���..B+B�_�$�034 �.

(Fig.6)

�A`.������ #%&� Capture�25�&'26L7!

12 �)A`1$����!

1!8 ��^�29� PspiceIJ!

(:;<� \]�IJ=>�%&A`$89�?@AB3W�/0�CDB4��

EIJ�JF�;G5HI!�?TA`�������A�5� !)

���S�� ��,^��34!

Page 6: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�S��

����������

�� �� ���

E6 V1 VDC/Source

E� R1 R/Analog_p

R2 R/Analog_p

� 0 0/Source

%&�����S������?@� �,���W=>)*�

1 ��*�����������! ���!ABA`����� ������?@�

�.���E�"�

W*�8� R/Analog_P

W*�8� R/Design Cache

��:

�.��*�����!D�� ��^IJ*)A`#<�� ���R/Design Cache

�?@��<�H�=>! !H[��"�� �AB$��^L#O�!� Cache

�G��#$!UV$�=>�<%

&'1=>� �W(A`)%� Design Cache ��*+%$`,- �+���

? ���P

1����

��+*� Place part,!*� Place ground��<!_� �� ��0�� ��

����?@��.O��0�P

Page 7: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

1L,<� ��/�^�W�!:K ��IJ���

�_� �!����

Pspice--�New Simulation Profile�!

����W �!(Fig.7)

(Fig.7)

��� Simulation Profile�Z�!)!�"(Test one)#!

1L!^$W�����W �!

Simulation Setting (Fig.8)�%& ��:K �� Analysis�:K!

' �T+B(LC)���!

Page 8: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

(Fig.8)

�*� Analysis�+,.&�

�-�. ��Analysis type(34/0); Sweep variable(0112); Options(�:K);

Sweep type(01/0)P

� Analysis type(34/0)� �! DC Sweep.

� Option�� �! Primary Sweep.

� Sweep variable�A`.�2 ����

Voltage Source E36��

Current Source E�6��

Global parameter 45Q5

Model parameter 60Q5

Temperature '7:K

� Sweep type�� �A`^WX:KP(Linear; logarithmic, value line),�438:K! �

A`..!

� �4IJ�� �Linear)A`!�Star�9: 0v��End�9: 15v�� Increment

��9: 1v.5�_� !

�)A`.����W;� �!'*��<8=>?@! �ABC^�

Page 9: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�A`_� Trace�����!(3��D@)

Add Trace��6����W Add Trace �!

�C�A`.����. Simulation Output variables( Functions and MacrosP(Fig.9)

� ��� �A`.�)7�12�8�M,/2���*5!�E9�F���

�G,�H�W_ Trace Expression!+3 �,.,%��7�?@�*Max()*5�

:12�/0P �A`.��;I�� Trace Expression� [Max ( V2(V1))].*W

,�%-��J!

��.. ��IJ=>*+*.<���

IJ���(Fig.10)

Page 10: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

(Fig.10)

��/0� �A`^89�34!

������

34�PSpiceA$�� ��E�EF��34��?�U���=

)�C����P�*�$EF�B�� >?O�!��D��34��B�

]EF�!>"������`��U�� Q5P

�� W�� ��'W�� test two.opj!

� �����W�!

�S���(Fig.11)

(Fig.11)

��������

�� �� ���

E6 V1 VAC/Source

E� R1 R/Analog_p

Page 11: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

E L1 L/Analog_p

E� C1 C/ Analog_p

# 0 0/Source

<� �!$ Simulation Setting!"#:K!:K��(Fig.12)

(Fig.12)

:K� �� DC��:K2�$!$%&� �A`.�WX'�(%�:K)*!

��0+,��- �.$ 500/ 100k, Total �.� 200!Total�0&)* �'.�_

� 200!

%&A`.�� �TA`^1234.(%&A`:KW��^3��L()

Output File Options4���� (� ��/0�Q5)*56)7_�)*8�����

�)*�)��W�9�� ��,*��8KL(����!

/0��(Fig.13)

Page 12: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

(Fig.13)

��#</0+*21� �A`NOW��+:;�<�,-.�!

�8NOIJ/0Q5=>

_? Edit Profile�)A`J� ��IJQ5:KQ5%&! �A`/689�M,!0

�!:KIJQ5!@�A!1#W�IJ��P_ RunBC2 ,A!W3!

*4��

� Fig.13��! �)7:;�55� I(R1)!

`��6�+�A��WX��7�DX55�)*!8�9$�E�.!

��F?@ ���;%&!

^�IJ/0��8LB�)7�/0����56)*=>

�A`� Toggle cursor ���!"#)7�_?��G � �A`.�� ���H

:;�������A���!?T���W���56 ����P

�� �A`.������!

<� ���W���������/!

Page 13: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

� ���I���W��_��<_

���I���%=�_

�/0�� )!

�/0�% )!

��"/0�_���

�B#%&$%&�

$�/0�34� #%&A`89''..B+B]�(��)*?

+,>��)!� �A`-��%�./0�� f=7.0503kHz ,�%EJ� i=20mA

�A`+,;12;1W�56�34�A 4*56�K7!

������

��^EF:;�?@A`89:�WX=>)*�;?WR<�2�B=L �A>

�/0�`?� ��,-!�,�� �@AAB,NOW�EF��2��Q5�

�!,B R,C,CCPD �+ABOWM^WMIJ�E�?@ �),�Q534L!

Q534)*�$EF��@WQ5�W�K7�F7G�A PSpice 34]�H012

�)*IJ�KNL��MQ5��N �T*O9�OPBPPB*QCW_��

� �����34*�E��� �34*�����T*Q534P

�^ PspiceIJ�?@� ����^��

��^ �34EF��S��^WQ534!

Page 14: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

+��EF� �,^W���NO!�%&89NOW�!������(Fig.14)

���� �A`.�5LW Parameters ���!)*Q5� @!"( 89#�

�)�$�%&���

Param/Special'���7�!��!

1L!<� �,^()�� ��)*$^ ��+!!"���

�_,����-��.�/FQ ��!����������_��

)���3C�0P������

������0%�� �<����3�0%���!

_ New Row

����W��%��Add New Row��%�!

�@����12�

Page 15: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

_ Apply��!ok!

� �)� L���8 !Q5" R13#��$!

NO%&��'S��(Fig.14)

<� �M,^()*

+�,NOW� Simulation Setting.!(NO�����)

Page 16: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

1L!- �,..IJ/0!_14@�!

�<����

�A`.����� R�Q5���!���5L �WX�� �

RQ5�����,��/0�����'�� 27�!� �8�,����'���

�34!<� �+�!_ ok!��!� �.. Pspice� �^LX���*+*J���

/0����!

Page 17: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

IJ���/0�

AB%&.�+*���!A`7�W��R!7���/0�����

� ��Q534���� �!!%&A`".89�EF#$�34W��� RQ

5$EF�/%!&B'$Q5��$EF�/%�(S0�)$!

������

*+34�PSpiceA$%�,-./E0EF12*+34�T)*-EF�?3%4P5

A�6 12�,78��-EF���?9%44:3�/;TA���<812�,�

78��-=M/04=M456P*+341�>?�T>7@�!"*;6AB8C

>��D3P

��WWE� RCEF�1234!

F� ��9GW:HSI!

Page 18: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

2� �� ��J

�, V1 VPULSE/Source

EK R1 R/Analog_p

E� C1 CAnalog_p

# 0 0/Source

LF� �,�)$W����,;�=>!

�A`#<�,�MQ5�MQ5<����=> �

Q5 7!

V1 8�

V2 !

TD :3?9

TR �T?9

TF �N?9

PW ?@8�

PER 45

<� ��:K Simulation Setting,�:K Simulation Setting��Analysis Type��� Time

Domain (Transient ).:KQ5��I��!

Page 19: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

��F34W�/0�09P�U�/0��0/�!��/0���/0!!"*�

3EF!���(t=RC=8000*1e-7=80ms,%&A`�.�W��� �=>��E

F��<������)A`.�L/0��*����������!)CD%&��

2���:KQ534O��A`��O� R�Q5�O�Q5../0�����! \

]%&�A�A`�� W�!

IJ/0(��I)�

�!%&NOW�Q5�"�?9?#$5� 20ms%` �O�W�Q5�&'(O� 200

)�..EF��0

*+*EF/ �34�W!CD��%&A`89���!<�J**+B,�

EDA�J*1-.�/10!A`16 ��-2�33CC)A`^89�:;!(I enjoy it

very much ! [email protected])

$��42�� �A56������P%&89�.56!7789#,���!

Page 20: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Pspice� (� �)�WR� �,2�88��/!+� D�%&��$2� Pspice�!���19��:

�:; ��-. Pspice<!

�,=���+/�)`�M5>!

1��Q7834.

2�D�;?34

3�'@34.

4�AB34

5�CD<34

6�E+EF-2_34

W��Q7834

��G�Q #��78F*�Q�?@<!����HR%&ABFI�!��_�

�! ����EF�?@���+AB���� *���!��������=>�

�AB����Q5+� ��IJ��<�%�1!�)���W[��=>!

��� Pspice��<�� => Pspice�)#�L!

��34�J�,����� �!?34"�#7$34P

�#7$KWorst Case%*&EF��G�Q5�C��'()_�*+=SR?,T�

EF-B��%S�P�#7$34KWorst Case Analysis%)*�./EFG�Q5�

��7$0�12�EF-BD$3.4?��%S�P5���%S�? B�6:;,

-�U>7*�H89PWCase34*W=V;34P

�#�7$�52�?:)*�

X|dV VdX X

Δ=Δ 3.4C; +<

5=� N��<��[��> �A`��52?5�?�

1 21 2

1 2

...... nn n

n

VV VX X X XX X X

δδ δδ δ δ

= + + +• • • •

iX• ��@ i<A����V• B����%<�4!� n<A�CD n+2EEF7$

34!

Page 21: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

��HR

WDEV ��� *&FG�VWI��������A`DJKG<�P

�LOT ��� *��������A`?��L��� ?%��P

��R�� �R��?����� LOT����� �� DEV����P

EF�����

�����34�� ���,����W���=>!

����)* ���KE�J�*������! ���, !"����#�!

$%E� R6, ����&:K'(!� Tolerance)��"�*��+��,�

�� -. /�0

E4 VCC VCC/Source

VEE VCC/Source(��-*1OL

23)

GND 0/Source

E� R R/Analog_P

�45 Q2N2222 Q2N2222

E� C C/Analog_P

Page 22: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

1!<�6:K78IJ9:!+���,�

���:K9:�;T! �,:K��9:< V(OUT1) �)� Vary devices thatPP)�

:< both DEV and LOT��� DEV � LOT^���� ��^IJ�?@AB�=�W

X�����[�AB��AB+��>�!? �)��7� LOT(�@��)�

DEV(AB��������+)P

�6_%More Settings)��6..�*C���

Monte Carlo/Worst-Case Output File Options)��

�D,:K�*��+� Output File��9:�56����56���9:���!

Page 23: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

? �A`.����Q59:���!

List model Parameter values in the output file)��E�)*����Q5��9:��

Output file���!? �A`$EF^ L�34P

%&AB!%�WM=)*�DEV � LOTAB+!FTT-:G Tolerance�"�A`

�?9:��

=>CD��1#H�! �A`7� Rbreak E���1 �H?7������$

I�� �$CA`�� Pspice�-.�3!

7�W6.. RbreakP

��%J�&_%E�� �A`.�

_%)A`�� Pspice Model�3! �6""���&!

�<�X� AMS Model Editor�)��� �A`.���-.� Pspice-.���E

K<�.model Rbreak RES R=1

<� �6<�"_���

.model Rbreak Res R=1 DEV=10% LOT=5%

������ AMS model Editor)�L!

��)A`�=>L!

1��� :KL��� ��..IJ������

Page 24: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

/0��! �A`.�����!3����*�����/0���'���[�34�

�!(�)*�%�[����!

�A` /0��.� R��$EF�!"!

#$%�)&34

%�)&34�'34�();**+,��-.EF/�Q5���);30

U1�>�2�(W3M455+]/��Q5�459�67�8,�EF&

B�);30U1��EF&B��9�-+��`:EFR;<-.=//P

('��>?*NN�:;�Q0�N"L**�A@AP

�^%�)1342B(`��/S !

���:K+,�2�

Page 25: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

����33W2��Monte Carlo options��'O�

Number of :<�C)DP5? 5P

Use :4(EF30

Random number: ��?4555@:�A`�<�G#>�$EF�!"!

Save data: $56����HI��X@:!

� ��../0J��

Ok!L ../0J��!

�� ������34�?@��K�>��B�Q ��,+!EFW.AR�!

�$'A34

<� ��$'A��:K!

����/�Q5�*.Q5�:.?C�'2��6�'L'�? 27Spice67����

Page 26: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

8=34�M?�A`('A34N.+M��>'AP9��EA5��-106-+40 )

,^+M'A34P��?��L�+���>��$�W�� B�����

�?�,��W����EF34P����:$��-273 �?+B�*P

1!<� ��$�Q5����:K�������34� �T,:K� !! �)

4(:1�!!

�:K!O��� ��..:K�"X#$�

Run the simulateion at temperature::K��%&�` x�'(��EF!

Repeat the simulateion for each of the temp::K���%&� �A`)*��89#,�

/0��?TA`$+�$/0�!,!

89:K�!-.�

Page 27: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

_/;�!

� ��..IJ/0-0!

�A`#<�$/0�!,PA`1`��%&�� �A`23�$E4���$E

F/0�!,!�� �T,5�EF!,�<6+77)W%&!�AB*89IR<

6!

�A� R6�E4��@:�4( Rbreak� �A`$ Rbreak�� Pspice�;���<!

Save bias point(�=>K_�%&) " Load Bias point (=R>K_�%&)A`/6 �?

,^�34$EF^����%&_�=�@=!

Page 28: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�ABC34

BC34T*W%D!T+B>L!<� ��^W.BC34!

BC34)*?$EF�E,OF�BC?^�34P�*"GH34WT�(�PEF�

?;,�BCI�*E4�JK�@BC-�U���JK�A��������PPSpice

�� AC34��_�$� ���;����������?$� ���;��

������P�������E��$�������/���W����EL���*

V/ Hz ���E����* /A HZ P

]��+��1.* !!!�-,+!, �34) OKL!

"#$%&�'

$�&34*�%(M)*N+34?�$���,�W$-/0��./34�;��

.�3/-0/�O 2P91./3/`:2J3P

134-*$PEL^$%&34

_4 Fourier��<-.Q5��/0�

�6*($5��RAB.�S�

��NO�7

-.

Page 29: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

5 Scale8�O9 Log�:)A`;T< L!=�J*1Q!T#��S!

�'��/0-.Q5��

Y#E+(.�)>?_34

�E@EF��A E+>?_*B3J,P<9�LCBAD �U�T�R��E(M

F0�Q5GPWF?�����?@� �H��(� OPIU! ���*SJ_E

L-SELK�K�E��CLKMND�P

�6*(/SQ�^E+34�

8:K1,O/�/

Page 30: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�E8�8��OW*P��V�7$QFR��"�U���^E+_�(&^�=

$�E(M.�NL;�PCC�P )+a@� #%&BSL@�LHK�U?9

�2M!

$�E+34� �*.+�/0��!*,�56��/0-*��W������!

+B�56��� ��a��56 Z��P� �)��,2�. outfile �

56���,2�34!

����_3456�(W)

������5��_�56�DF� �TA`.�.�S)A`L!

Page 31: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

%&.���

X���56)*�_�56��,B��X56� ���,_

�� V�)������!!

����_3456�(")

�#���*$%&'���*E(K�����)�*!#A+*E(�!*E+!

����_3456�(�)

W.,T> #%&�-�*34�$%L!34�*,�.�;Q5��#

�A`.��/01���016�E(N2!A`16 �+6�343L!

Page 32: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

1�4�5 �!..CC���*$%67&'

**** 09/24/05 10:28:44 ******* PSpice 10.2.0 (Jan 2004) ******* ID# **************

** Profile: "SCHEMATIC1-lesson four" [ d:\12\lession four-pspicefiles\schematic1\lesson

four.sim ]

**** CIRCUIT DESCRIPTION

******************************************************************************

** Creating circuit file "lesson four.cir"

** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY

SUBSEQUENT SIMULATIONS

(*$%&')*WT8� Z��!IJ9L��?@89�+W]:��*89

#,���!������������EF�S����%� �� �����

L!)

���-*W8��=���AB����IJQ5�O��J�IJ�����

��!5`6*,���=W P

*Libraries:

* Profile Libraries :

* Local Libraries :

.LIB "../../../lession four-pspicefiles/lession four.lib"

* From [PSPICE NETLIST] section of C:\Cadence\SPB_15.2\tools\PSpice\PSpice.ini file:

.lib "nom.lib"

WN������*��!������ #%&�";Z��+��L!

*Analysis directives:

.OP

.TF V([OUT2]) V_V4

.PROBE V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))

.INC "..\SCHEMATIC1.net"

��34�#5��� �.�L

. TF V([OUT2]) V_V4��!)* ��:K��34?@ �:K� ����

�TA`.�6��S���� ��� SCHEMATIC1.netP

Page 33: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

**** INCLUDING SCHEMATIC1.net ****

* source LESSION FOUR

V_V4 N00899 0

+SIN 0 10mv 500k 0 0 0

R_R2 N002721 0 1k

Q_Q1 N00769 N00623 VEE Q2N2222

Q_Q2 N00623 N00623 VEE Q2N2222

C_C1 OUT1 OUT2 5p

Q_Q3 OUT1 N00897 N00769 Q2N2222

R_R5 N00897 N00899 1k

R_R3 OUT1 VCC 10k

V_V2 VCC 0 +12Vdc

R_R4 OUT2 VCC 10k

V_V3 VEE 0 -12Vdc

Q_Q4 OUT2 N002721 N00769 Q2N2222

R_R6 N00623 VCC R_R6 20k

.model R_R6 RES R=1 DEV=+-5%

**** RESUMING "lesson four.cir" ****

.END

)* �EF���������! �A`.�����_* N+�$�0����!

#�$W�����!�� � ����!��+"!

�#�%&$$^+%34�?@AB�&%+%� OutFile�� �� <&'�%&

(,89)..�*'+X56,* �M,� �P

Page 34: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�!�"5-EF:;�

PSpice A/DA`$�.<5-'REF/(34�A`��5-0123 $45�. $P

PSpice�6�7"L5-EF34�)C34=B�"*8�9+�":;P

�� �^W,<W=>��������B%&$ Pspice ��B��� ?�

L����P

�����W-��

��� �� ���

��@ DSTM Digstim1/SOURCESTM

��� 7400 7400/7400

�� 7408 7408/7408

�� 7402 7402/7402

!�52�"#�

Y A AB B AB= • + •

=>� �<�$A�IJ%&

'()�)*:K��@���?*

��+,-� DSTM.�.�_/+,01!2�C32��(Edit Pspice Model)!

Page 35: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�B�W4�C5�6�

�D7� �,2� ����8���96E%&A`.W�L.�+�%&,F:

W;)*�-'1<W=G/�>?�!�H �2� ClockP

_/��<W4�C5�6;� @�

I6� ,�:KW;!*W?*U0:KC5! �/612(Frequency and duty cycle)�,J�:K ��?3!�? �TA`:KW;I�?3�2�(Period and on time))A`L!AW*�412(Frequency)�AB)*K5=(Duty Cycle) ,A�)*CDL(Initial value)�AM)*?3:?(Time delay)P:K1��_ OK!DSTM2�:K��66 @�+�?312,OW;�OE 4Mhz'1!

Page 36: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

:K*FL�.��:KW; Stimulation Setting�:K��P6;� @�

_/� �A`../06E� �TA`34W;�9����..*+*J�G!/0�6;�

�A`7�H�.��#5EW% P

�A`+I2#5�JW;#5�#N6;�

Y=A AB B AB• + •

( )AB A B= +

AB AB= •

AB AB= +

Page 37: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

<� �%&�..5-IJ��� outfile�����*�A&

**** 09/26/05 09:45:23 ******* PSpice 10.2.0 (Jan 2004) ******* ID# ************* Profile: "SCHEMATIC1-Sz" [ D:\12\Sz-PSpiceFiles\SCHEMATIC1\Sz.sim ]**** CIRCUIT DESCRIPTION******************************************************************************* Creating circuit file "Sz.cir"** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN

BY SUBSEQUENT SIMULATIONS*Libraries:* Profile Libraries :* Local Libraries :.STMLIB "../../../sz-pspicefiles/sz.stl"* From [PSPICE NETLIST] section of C:\Cadence\SPB_15.2\tools\PSpice\PSpice.ini file:.lib "nom.lib"*Analysis directives:.TRAN 0 5us 0.PROBE V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*)).INC "..\SCHEMATIC1.net"

`6���J ���?^IJ*WG�KLP �A`G)S��/�M!�!S�EW�N!83��B)*�N�OZ83P

**** INCLUDING SCHEMATIC1.net ***** source SZX_U2A N00345 N00324 N00426 $G_DPWR $G_DGND 7408 PARAMS:+ IO_LEVEL=0 MNTYMXDLY=0X_U2B N00324 N00363 N00451 $G_DPWR $G_DGND 7408 PARAMS:+ IO_LEVEL=0 MNTYMXDLY=0U_DSTM1 STIM(1,0) $G_DPWR $G_DGND N00345 IO_STM

STIMULUS=STM1X_U3A N00426 N00451 Y $G_DPWR $G_DGND 7402 PARAMS:+ IO_LEVEL=0 MNTYMXDLY=0U_DSTM2 STIM(1,0) $G_DPWR $G_DGND N00363 IO_STM

STIMULUS=STM2X_U1A N00345 N00363 N00324 $G_DPWR $G_DGND 7400 PARAMS:+ IO_LEVEL=0 MNTYMXDLY=0**** RESUMING Sz.cir ****.END

�W83 �.�����9,*EF�����M!O>��N83��#5P:KQ

Page 38: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

* D:\12\Sz-PSpiceFiles\sz.stl written on Mon Sep 26 09:41:52 2005 * by Stimulus Editor -- Serial Number: ********** -- Version 10.2.0 ;!Stimulus Get;! STM1 Digital STM2 Digital;!Ok;!Plot Axis_Settings;!Xrange 0s 2us;!AutoUniverse;!XminRes 1ns;!YminRes 1n;!Ok.STIMULUS STM1 STIM (1, 1) ;! CLOCK 2Meg 0.5 0 0+ +0s 0 + +250ns 1 + Repeat Forever+ +250ns 0 + +250ns 1 + EndRepeat.STIMULUS STM2 STIM (1, 1) ;! CLOCK 4Meg 0.5 0 0+ +0s 0 + +125ns 1 + Repeat Forever+ +125ns 0 + +125ns 1 + EndRepeatW83�S����,R! �$A)S�!%& �A`?!S�%E�N��WXN#5!+�XN#5P*X��@�#5!

**** 09/26/05 09:45:23 ******* PSpice 10.2.0 (Jan 2004) ******* ID# *********** Profile: "SCHEMATIC1-Sz" [ D:\12\Sz-PSpiceFiles\SCHEMATIC1\Sz.sim ]**** Digital Gate MODEL PARAMETERS******************************************************************************

D_08 D_02 D_00TPLHMN 7.000000E-09 4.800000E-09 4.400000E-09TPLHTY 17.500000E-09 12.000000E-09 11.000000E-09TPLHMX 27.000000E-09 22.000000E-09 22.000000E-09TPHLMN 4.800000E-09 3.200000E-09 2.800000E-09TPHLTY 12.000000E-09 8.000000E-09 7.000000E-09TPHLMX 19.000000E-09 15.000000E-09 15.000000E-09

�?���56* ��IJ?$��EF��Q5��SP�9�6�

TPLMN T���U*�A& �A`��V:O�� Pspice ;U�Q]!`���������Q5��!

Page 39: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

**** 09/26/05 09:45:23 ******* PSpice 10.2.0 (Jan 2004) ******* ID# *********** Profile: "SCHEMATIC1-Sz" [ D:\12\Sz-PSpiceFiles\SCHEMATIC1\Sz.sim ]**** Digital IO MODEL PARAMETERS******************************************************************************

IO_STM IO_STDDRVL 0 104DRVH 0 96.4

AtoD1 AtoD_STDAtoD2 AtoD_STD_NXAtoD3 AtoD_STDAtoD4 AtoD_STD_NXDtoA1 DtoA_STM DtoA_STDDtoA2 DtoA_STM DtoA_STDDtoA3 DtoA_STM DtoA_STDDtoA4 DtoA_STM DtoA_STD

TSWHL1 1.511000E-09TSWHL2 1.487000E-09TSWHL3 1.511000E-09TSWHL4 1.487000E-09TSWLH1 3.517000E-09TSWLH2 3.564000E-09TSWLH3 3.517000E-09TSWLH4 3.564000E-09TPWRT 100.000000E+03 100.000000E+03

JOB CONCLUDED� I/0��!

**** 09/26/05 09:45:23 ******* PSpice 10.2.0 (Jan 2004) ******* ID# 1111111111** Profile: "SCHEMATIC1-Sz" [ D:\12\Sz-PSpiceFiles\SCHEMATIC1\Sz.sim ]**** JOB STATISTICS SUMMARY******************************************************************************

Total job time = .16

$EF�� ��!

Page 40: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

#$ A%

Simulation Seetings

��34��L� �<�,����11�.. ��IJC!������:K�B

� ��IJ34^1�!*+*�RR!

�L��� S!W!P��"#�$ Simulation Setting^1�$%!

General&'2(�

Simulation: IJ�)�PK�*

Input�

|-------Poject Name ����F+,�*

|-------Schematic filename���

|-------Schematic -S.

Output

|-------Output �����)

|-------Waveform data /0�)

Notes: M>�/0

Page 41: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Analysis)+12�3��� �����L1�"�649+!

5W Configuration File

�C5� �A`�BC6�IJ����)�7A`8C �)347� !

_/ Browse�A`��C6�IJ���)�_ Edit� �A`9�/032�� Simulation

Editor7 �A`.�/0�$/0^�L1�34!

:;���<=� �345-���B�<!

Page 42: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Options

D7+�<���D���)* �$ ��IJ^:K�����!

Category � �A`.���CD$+� ��IJ� �AB�+��,�!,^��1

�/0����!+� �\]XQ5�1+,�O�:����) ok L!%&���

�A`89�O�W�C�!

AB%&�Q534������8.�L�������+ W>]��Default nominal

Temperature �:K!�� �A`.�WF ����� ���:� 27 �!"A`O

WO..�..��$ ��!#�$%!+�"W%�O>*&=��'L!T�^C6

�IJ�?@�T���T :?���!

Page 43: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Data Collection

Data Collection,'��)* 564(!" )*���E+�E,�E@�5-�.�

/0P�? �TA`�X56��12� CSDF12!

Common Simulation Data Format (CSDF)

Probe Window

Page 44: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

34 �W5��6@�!CD, �IJ�?@AB�8.��7�!34�

Capture �! 7�!�89*�:�! �+;C*�/0H<?99

#5�-,�EF���OAM)A`5=IJ�/0! Q19�! ;>@?!B

@ <�CAB)* ��:K Probe�COAM��!Q5�)��) OKL!

DU B�E�FL#5��B,8�D%&L1�..!

Page 45: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

#5�* �X 89

Bandwidth(1,db_level)= x2-x1

{1|Searchforward level(max-db_level,p) !1Searchforward level(max-db_level,n) !2;

}

OGA>

Bandwidth_Bandpass_3dB(1)= x2-x1

{1|Search forward level(max-3,p) !1

Search forward level(max-3,n) !2;}

OGH�

YMax-3dB.�A>

Bandwidth_Bandpass_3dB_XRange(1,begin_x,end_x)=x2-x1

{1|Search forward(begin_x,end_x) level(max-3,p) !1Search forward(begin_x,end_x) level(max-3,n) !2;

}

OG X I�E?

CenterFrequency(1,db_level) =(x1+x2)/2

{1|Search forward level(max-db_level,p) !1Search forward level(max-db_level,n) !2;}

R7�J

FK

CenterFrequency_XRange(1,db_level,begin_x,end_x)=(x1+x2)/2

{1|Search forward(begin_x,end_x) level(max-db_level,p) !1Search forward(begin_x,end_x) level(max-db_level,n) !2;

}

�W?�XE?�O

G��J

FK

ConversionGain(1,2) = y1/y2

ConversionGain(<magnitude trace>, <magnitude trace>){1|Search forward max !1;2|Search forward max !2;}

OGLM

ConversionGain_XRange(1,2,begin_x,end_x) = y1/y2

ConversionGain_XRange(<magnitude trace>, <magnitudetrace>,<begin_x>, <end_x>){1|Search forward(begin_x,end_x) max !1;2|Search forward(begin_x,end_x) max !2;}

�W?�XIE?�

OGCL

M

Cutoff_Highpass_3dB(1) = x1

{1|Search forward level(max-3,p) !1;

}

YNOP

FK

Cutoff_Highpass_3dB_XRange(1,begin_x,end_x) =x1

{1|Search forward (begin_x,end_x) level(max-3,p) !1;}

YNOP

FK?�X�

Cutoff_Lowpass_3dB(1) = x1

{1|Search forward level(max-3,n) !1;

}

HNOP

FK

Page 46: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Cutoff_Lowpass_3dB_XRange(1,begin_x,end_x) =x1

{1|Search forward (begin_x,end_x) level(max-3,n) !1;

}

HNOP

FK?�X�

DutyCycle(1) =(x2-x1)/(x3-x1)

{1|Search forward level (50%, p) !1

Search forward level (50%, n) !2Search forward level (50%, p) !3;

}

K5=

DutyCycle_XRange(1,begin_x,end_x)= (x2-x1)/(x3-x1)

{1|Search forward (begin_x,end_x)level (50%, p) !1Search forward (begin_x,end_x)level (50%, n) !2Search forward (begin_x,end_x)level (50%, p) !3;}

� X I�+E?

��K5

=

Falltime_NoOvershoot(1) = x2-x1

Falltime_NoOvershoot(<trace name>){

1|Search forward level(90%, n) !1Search forward level(10%, n) !2;

}

��G?

3(Q�R)

Falltime_StepResponse(1)=x4-x3

Falltime_StepResponse(<trace name>){

1|Search forward x value (0%) !1Search forward x value (100%) !2Search forward /Begin/ level (y1+0.1*(y2-y1),n) !3Search forward level (y1+0.9*(y2-y1),n) !4;

}

H@IR

?��G

?3

Falltime_StepResponse_XRange(1,begin_x,end_x)=x4-x3

Falltime_StepResponse_XRange(<tracename>,<begin_x>,<end_x>){1|Search forward (begin_x,end_x) x value (0%) !1

Search forward (begin_x,end_x) x value (100%) !2Search forward /Begin/(begin_x,end_x) level(y1+0.1*(y2-y1),n) !3Search forward (begin_x,end_x) level (y1+0.9*(y2-y1),n) !4;

}

H@IR

?��G

?3� X�E?�

GainMargin(1,2) =0-y2

GainMargin(<phase trace>, <dB magnitude trace>){1|Search forward level (-180) !1;2|Search forward xval (x1) !2;}

�SJ�

% � -180�?�L

M�

Max(1) = y1 {1|Search forward max !1;

}

�%�

Page 47: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Max_XRange(1,begin_x,end_x)=y1

{1| search forward (begin_x,end_x) max !1 ;

}

���+XE?��

�%�

Min(1) = y1 {1| search forward min !1;

}

�C�K

Min_XRange(1,begin_x,end_x)=y1

{1| search forward (begin_x,end_x) min !1 ;

}

�<+ XE?��

�K�

NthPeak(1,n_occur) = y1

NthPeak(<trace name>, <n_occur>){

1|Search forward #3# n_occur:peak !1;}

Overshoot(1) =(y1-y2)/y2*100

Overshoot(<trace name>){

1|Search forward max !1Search forward xval(100%) !2;

}

��R?

�L%�

Overshoot_XRange(1,begin_x,end_x)= (y1-y2)/y2*100

Overshoot_XRange(<trace name>,<begin_x>,<end_x>){

1|Search forward (begin_x,end_x) max !1Search forward (begin_x,end_x) xval(100%) !2;

}

��R?

��%�

(�+ X ��E?�)

Peak(1, n_occur) =y1

{1|Search forward #3# n_occur:peak !1;

}

��TT

Period(1) = x2-x1 Peak(<trace name>, <n_occur>){

1|Search forward level (50%, p) !1Search forward level (50%, p) !2;

}

��P

��AL

PhaseMargin(1,2) =y2+180

PhaseMargin(<dB magnitude trace>, <phase trace>){1|Search forward level (0) !12|Search forward xval (x1) !2}

����

W X ���? Y��AL

PowerDissipation_mW(1, Period) =(y1-y2)*1000/(x1-x2)

PowerDissipation_mW(s(<load_voltage>*<load_current>),<period>){

1|Search forward xvalue(100%) !1Search backward /x1/ xvalue(.-Period) !2;

}Pulsewidth(1) =x2-x1

{1|Search forward level (50%, p) !1

�IR�

>�

Page 48: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Search forward level (50%, n) !2;}Pulsewidth_XRange(1,begin_x,end_x)= x2-x1

{1|Search forward (begin_x,end_x)level (50%, p) !1

Search forward (begin_x,end_x)level (50%, n) !2;}

��IR

>� (�+X�E?)

Q_Bandpass(1,db_level) =((x1+x2)/2)/(x2-x1)

{1|Search forward level(max-db_level,p) !1

Search forward level(max-db_level,n) !2;}

�� Q _�/0�

A>�

Q_Bandpass_XRange(1, db_level,begin_x,end_x) =((x1+x2)/2)/(x2-x1)

{1|Search forward (begin_x,end_x)

level(max-db_level,p) !1Search forward (begin_x,end_x)

level(max-db_level,n) !2;}

���

_�/0

A>� (�W? X I�E?�)

Risetime_NoOvershoot(1) = x2-x1

Risetime_NoOvershoot(<trace name>){

1|Search forward level(10%, p) !1Search forward level(90%, p) !2;

}

�BM?

3�� (Q�R?)

Risetime_StepResponse(1)=x4-x3

Risetime_StepResponse(<trace name>){

1|Search forward x value (0%) !1Search forward x value (100%) !2Search forward /Begin/ level (y1+0.1*(y2-y1),p) !3Search forward level (y1+0.9*(y2-y1),p) !4;

}

�BM?

3� (�H@#9�

��)

Risetime_StepResponse_XRange(1,begin_x,end_x)=x4-x3

Risetime_StepResponse_XRange(<tracename>,<begin_x>,<end_x>){

1|Search forward (begin_x,end_x) x value (0%) !1Search forward (begin_x,end_x) x value (100%) !2Search forward /Begin/(begin_x,end_x) level

(y1+0.1*(y2-y1),p) !3Search forward (begin_x,end_x) level

(y1+0.9*(y2-y1),p) !4;}

�+ X E??�B

B?3�

(H@#9���)

SettlingTime(1,SBAND_PERCENT)= x3-x1

SettlingTime(<trace name>,<SBAND_PERCENT>){ 1|Search forward x value (0%) !1

Search forward x value (100%) !2Search backward /x2/ level

(y1+(1-SBAND_PERCENT/100)*(y2-y1)) !3;}

�:?�

?3�4

9H@#

9 (�Q�N,��

��)SettlingTime_XRan SettlingTime_XRange(<trace �+N?

Page 49: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

ge(1,SBAND_PERCENT, begin_x,end_x)=x3-x1

name>,<SBAND_PERCENT>,<begin_x>,<end_x>){

1|Search forward (begin_x,end_x) x value (0%) !1Search forward (begin_x,end_x) x value (100%) !2Search backward /x2/ (begin_x,end_x) level

(y1+(1-SBAND_PERCENT/100)*(y2-y1)) !3;}

3�:?

9�H@

#9?3

SlewRate_Fall(1)=(y4-y3)/(x4-x3)

lewRate_Fall(<trace name>){

1|Search forward x value (0%) !1Search forward x value (100%) !2Search forward /Begin/ level (y1+0.25*(y2-y1),n) !3Search forward level (y1+0.75*(y2-y1),n) !4;

}

��/0

��GO

K*$6

SlewRate_Fall_XRange(1,begin_x,end_x)=(y4-y3)/(x4-x3)

SlewRate_Fall_XRange(<trace name>,<begin_x>,<end_x>){

1|Search forward (begin_x,end_x) x value (0%) !1Search forward (begin_x,end_x) x value (100%) !2Search forward /Begin/(begin_x,end_x) level

(y1+0.25*(y2-y1),n) !3Search forward (begin_x,end_x) level

(y1+0.75*(y2-y1),n) !4;}

��/0

��GO

K*$6

(� X I�E?�)

SlewRate_Rise(1)=(y4-y3)/(x4-x3)

SlewRate_Rise(<trace name>){

1|Search forward x value (0%) !1Search forward x value (100%) !2Search forward /Begin/ level (y1+0.25*(y2-y1),p) !3Search forward level (y1+0.75*(y2-y1),p) !4;

}

��/0

�BMO

K

SlewRate_Rise_XRange(1,begin_x,end_x)=(y4-y3)/(x4-x3)

SlewRate_Rise_XRange(<trace name>,<begin_x>,<end_x>){

1|Search forward (begin_x,end_x) x value (0%) !1Search forward (begin_x,end_x) x value (100%) !2Search forward /Begin/(begin_x,end_x) level

(y1+0.25*(y2-y1),p) !3Search forward (begin_x,end_x) level

(y1+0.75*(y2-y1),p) !4;}

��/0

�BMO

K*$6

(�:?�X IE?

�)

Swing_XRange(1,begin_x,end_x)=y2-y1

Swing_XRange(<tracename>,<X_range_begin_value>,<X_range_end_value>)

{1| search forward (begin_x,end_x) min !1

search forward (begin_x,end_x) max !2 ;}

�� X ��%��

�K�O

3�A�

Page 50: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

ZeroCross_XRange(1,begin_x,end_x)= x1

ZeroCross_XRange(<magnitude trace>,<begin_x>,<end_x>){

Search for where the Y-value is 0 1|Search forward (begin_x,end_x) level (0) !1;

}

� X �E?���

U_�

6��:+$����D%&PV��!��!

XatNthY(1,Y_value,n_occur)=x1

{1| search forward for n_occur:level (Y_value) !1 ;

}XatNthY_NegativeSlope(1,Y_value,n_occur)=x1

{1| search forward for n_occur:level (Y_value,negative) !1 ;}

XatNthY_PercentYRange(1,Y_pct,n_occur)=x1

{1| search forward for n_occur:level (Y_pct%) !1 ;

}XatNthY_PositiveSlope(1,Y_value,n_occur)=x1

{1| search forward for n_occur:level (Y_value,positive) !1 ;}

YatFirstX(1)=y1 YatFirstX(<trace name>){

1| search forward Xvalue (0%) !1 ;}

��WX��_?

� Y�

YatLastX(1)=y1 YatLastX(<trace name>){

1| search forward Xvalue (100%) !1 ;}

��% X�?��

% Y�

YatX(1,X_value)=y1

YatX(<trace name>,<X_value>){

1| search forward Xvalue (X_value) !1 ;}

X ��?�Y�

YatX_PercentXRange(1,X_pct)=y1

YatX_PercentXRange(<trace name>,<X_pct>){

1| search forward Xvalue (X_pct%) !1 ;}

�� �

�0B�

6�3�

��

ZeroCross(1) = x1 {1|Search forward level (0) !1;}

���_

Page 51: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

#$ C%&'()*+,-^��34�?@ �,� 5�� ��!

<� ���������*�����

W�VPULSE� IPULSE�Q5���

VPULSE , IPULSE

VPULSE� IPULSE�Q5�:K

Q5 �Q ��

V1 I1 !"� V A

V2 I2 #�� V A

TD :�?$ S

TF %&?$ S

TR '(?$ S

PW #)*+ S

PER ,� S

V1=0,V2=1V,TD=0S,TF=0S,TR=0S,PW=5us,PER=10us

IJ���/0�

AB%&\]-.� �,Z�W�/0�S��1D�2*�3Z�!�6 ��,�I

J���94*W�1��/�A* +B� �����5����5��>!E�

���$�N6E��!"� �76�?@+AB8� �9:,�/0!

Page 52: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

;�VSIN� ISIN�Q5���

VSIN (sinusoidal waveform) ISIN

Vsin� IsinQ5:K���

Q5 �Q ��

VOFF < !CE= V A

VAMPL IAMPL >" V A

FREP �� Hz

TD :�?$ S

DF #W?5 1/s

PHASE @�:� +

:?Q56%�

Voff=1,vampl=9,frep=1meg,td=1u,df=0.4meg,phase=0

/06%�

C52�AB�

( ) sin(2 ( ) )df t tdoff amplV V e f t tdπ θ− −+ − −

6$ Voff=0,TD=0,DF=0)* �CD�%��EF�P

Page 53: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

G�H5� VEXP(Exponential Waveform) IEXP

H5� VEXP(Exponential Waveform) IEXP&��0�

H5� VEXP IEXP�Q5�:K

Q5 �Q ��

V1 I1 !"� V A

V2 I2 #�� V A

TD1 '(:�?$ S

TC1 '(?$D5 S

TD2 %&:�?$ S

TC2 %&?$D5 S

6$ �:?Q56%� �

V1=2,v2=10,td1=1m,tc1=0.3m,td=5m,tc=0.5m

A]�6%/0�

Page 54: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

'�3IJK�(VPWL(Piece-WuseLinear) IPWL

VPWL&��0 IPWL&��0

()L�B�*/0�M$�(T1�V1 I1)R?L?$ t=T1?3IJ0/���$�

J0X��+�R?P�L��/D'),�$- �/0.A`/N---JI0B

VJP16:?�Q56% t1=0,v1=1,t2=10,v2=2,t3=15,v3=2,t4=20,v4=4,t5=25,v5=0

A]�6%�� �/0�

�L3IJK��)A`$- �/02A`/(/N------<JI0BVJ

O�,�K3J� VPWL_ENH IPWL_ENH

VPWL_ENH�0 IPWL_ENH�0

,�K3J�CD�P*' �W,�4�/N

,�K3J�Q5�:K

Q5 �Q ��

TSF ?$�5� S

VSF ISF E= E �5� V A

FIRST_nPAIRS S3_�)L$ 6

SECOND_nPAIRS S3_�)L$ 6

THIRD_nPAIRS S3_�)L$ 6

REPEAT_VALUE JNC5 C5

Page 55: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

1 6 : ? Q 5 6 % � TSF=1s,VSF=5v, ) L $ � (0, -1) (1, 1) (2, -1),

REPEAT_VALUE=3,A]6�� �/0

V���9�� VSFFM(Singl-Frequency Frequency-Modulated) ISFFM

VSFFM�0 ISFFM�0

VSFFM ISFFMQ5:K�

Q5 �Q ��

VOFF IOFF < !CE= V A

VAMPL IAMPL >" V A

Fc 7/�� Hz

Mod 98H5 6

Fm 98 ��� Hz

;[GB�

off amplVALUE=V +V sin (2 fc TIME+ mod sin (2 fm TIME))π π• • • • • •

16:?�Q56%�voff=0.5,vampl=4,fc=1.5k,mod=5,fm=300

A]�6%�� �/0�

Page 56: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

Y�C �� ISRC VSRC

ISRC VSRC

CD� �A`9 �������O+9(D:QE�R3�� ��T)

S�L�T;UO

EF�%&A`..�< ���VM, �89�^34OPspice-*= �W

�.���< �34V*,89�^�O

Page 57: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�!()*5W ��OT��

W�?>� ��(DigClock)

DigClock�0

DigClock�Q5:K

Q5 �Q DS�

OPPVAL ?>YE�?� 1

STARTVAL T=0??>!� 0

OFFTIME M?>,�@E�?�AZ?$ 0.5us

ONTIME M?>,�YE�?��AZ?$ 0.5us

DELAY :�?$ 0

IO-MODEL � IO-LEVEL��Q�

;���� ��

FileStim1�WF5W ��1���� �

FileStim2�2����2J �

FileStim4�4����2J �

FileStim8�8����2J �

FileStim16�16����2J �

FileStim32�32����2J �

C�06��

FILENAM�/0����$CXY32*� “Stimulus Files”%/(32�P ��ZZ6

[$ Stimulus Files3[��B,�PR3CD�����/N�P

��� V�EFOG��H"�IWR3O1B6%�

Page 58: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

TIMESCALE=<?$\J5�U

D �� 1U�D �� 2U�……,D �� nU

OCT(D �� O1U�D �� O2U�…...,D �� OnU)

HEX(D �� h1U�D �� h2U�…...,D �� hnU)

<?$\J5�U�/0/N����@$?$�\J5��DS�� 1

D �� nU WF ����TA`H? 255 �

OCT��������� 3��W�5,HEX� �������S����W�

5P

������(STIM(n))

���������

Stim1;Stim4;Stim8;Stim16

Stim(n)�0

��..�����*������

�� �� !C��!

",�#$ �M,\F�WIDTH, FORMAT,TIMSTEP,COMMAND1,…..,COMMAND16

WIDTH: H%&'��5P

FORMAT�H%&'4�[���P()�1�� 2���2�� 8���4�� 16

��PTA`4�*R��!+ 1 �� 2 ���� 3�� 8���,A[�-FORMAT�12EP

TIMSTEP�� TIMESCALE=<?./01�>@IP��@$?.?(!� c)

COMMAND1,…..,COMMAND16�$9W/0/2�3P

45�

WIDTH: 4

FORMAT: 1111

TIMSTEP: 10ns

COMMAND1:0 1100

COMMAND2: 9c 1110

……

�?TA`������

Page 59: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

WIDTH: 4

FORMAT: 1111

TIMSTEP: 10ns

COMMAND1:0 1100

COMMAND2�REPEAT 50 TIMES n=-1?�����P

…………..

TA`� GOTO��

WIDTH: 4

FORMAT: 1111

TIMSTEP: 10ns

COMMAND1:0 1100

COMMAND2: LABEL=startloop

COMMAND3: 9c 1110

COMMAND4: 10c 0110

…….

COMMAND9: 21c GOTO startloop

���0 ���DigStim(n)�

���5�EF�3� ��(����:K��`�� �)+������

Page 60: Pspice - amoBBSd1.amobbs.com/bbs_upload782111/files_50/ourdev_713853UDRN82.pdfPspice ( ) Pspice ... Pspice-- New Simulation Profile ˚! ˛˚˜˝W !(Fig.7) (Fig.7) Simulation Profile

���������

�./0%

OrCAD 9.0 �Z�� � !"�6#

PSPICE9�D$ II ��

OrCAD/PSpiceA/D 9.21 " %&' (P%2

')*+E,��7E���8K