Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
68
Добавлен:
06.06.2017
Размер:
3.31 Mб
Скачать

Curve fitting with the optimizer

Load the circuit file OPT4. It looks like this:

Figure 28-11 The OPT4 circuit

Select AC analysis and press F2. Press F8. The standard run looks like this, after placing the cursors at 2MHz and 10MHz. Note the value of db(V(OUT)) is 1.397 at 2MHz and -9.583 at 10MHz.

Figure 28-12 AC analysis before optimization

667

Select AC/ Optimize or press CTRL + F11. This loads the Optimize dialog box for AC analysis. It looks like this:

Figure 28-13 The Optimizer dialog box for OPT4

These settings for the OPT4 circuit determine the value of R1, C1, and L1 that equate the six values of DB(V(OUT)) to specified values at different frequencies. To summarize, it finds the following:

The value of R1, C1, and L1 that:

Equates Y_Level(DB(V(OUT)),1,1,2e+006) to 2.188

Equates Y_Level(DB(V(OUT)),1,1,4e+006) to 10.449

Equates Y_Level(DB(V(OUT)),1,1,6e+006) to -1.696

Equates Y_Level(DB(V(OUT)),1,1,8e+006) to -9.103

Equates Y_Level(DB(V(OUT)),1,1,10e+006) to -13.939

Equates Y_Level(DB(V(OUT)),1,1,20e+006) to -27.134

In short, we are trying to match six data points, at frequencies ranging from 2 MHz to 20 MHz on the plot of db(v(out)).

In equate optimization, the optimizer actually minimizes the square root of the sum of the squares of the differences between the target and actual values. The Total Error field always shows this root-mean-square error measure.

668 Chapter 28: Optimizer

Click on the Optimize button. After a few seconds the optimizer finds the optimal values; R1= 255, L1=3u, and C1 = 500pF.

Click on the Apply and Close buttons, then press F2. When the run is over, press F8. The Apply and Close buttons copy the optimized values to the circuit and F2 produces a new run with the optimized values. The display should look like this, after locating and tagging the 2MHz and 10MHz values.

Figure 28-14 The optimized plot

Checking two of the equate values, at 2Mhz and 10MHz, we find they equal the specified target values 2.188 and -13.939 respectively.

The optimizer was able to match these values exactly in this example. That is because the target values were taken originally from a circuit that was identical to the optimized circuit. We know that the target values are realizable because they came from an actual circuit. In cases like this it is sometimes possible for the optimizer to find scaled versions of the same circuit, since these have exactly the same circuit response. A scaled circuit is derived from a circuit by multiplying every resistance and inductance value by a scale factor and by dividing every capacitor value by the same factor. There are an infinite number of such scaled circuits. This is not usually a problem, only something to be aware of. You may get many optimal solutions to this kind of problem.

669

670 Chapter 28: Optimizer

 

 

File types

Appendix A

 

 

Bold files are essential to the proper operation of the program and should not be

 

 

removed.

 

 

Italicized files save user preferences and should not be removed, although the pro-

 

 

gram will work without them.

 

 

Underlinedfiles are user-generated and, while optional, may contain important

 

 

user-created data.

 

 

The remaining files are optional and usually can be deleted to conserve space.

*.1, *.2...*.n - Monte Carlo worst case circuit files *.AMC - AC Monte Carlo statistics

*.ANO - AC numeric output

*.ASA

- AC save analysis / probe simulation

*.BIN

- Filter designer circuit template file

*.BMP - Graphics file in BMP format

*.BOM - Bill of Materials

*.CAP

- Listing of capacitor values used in the filter designer

*.CIR

- Micro-Cap schematic file

*.CKT

- SPICE circuit file

*.CNT

- Help contents file

*.CMP - Component Library file

*.DAT

- User preferences file.

*.DMC - DC Monte Carlo statistics *.DNO - DC numeric output

*.DOC - Results file created when MC7 is run under batch mode

*.DSA

- DC save analysis / probe simulation

*.EMF

- Windows extended metafile (picture file)

*.ERR

- PCB error files

*.EXE

- MC7 and MODEL program files

*.FLT

- Filter preferences file

*.GIF

- Graphics file in GIF format. MC7 can read but not write GIF files

*.HLP - Help file

*.INC

- User definitions file MCAP.INC.

*.IND

- Listing of inductor values used in the filter designer

*.INX

- Index file

*.JED

- JEDEC file

671

*.JPG - Graphics file in JPG format. MC7 can read but not write JPG files

*.LBR - Micro-Cap binary library file *.LIB - SPICE library file

*.MAC- Micro-Cap macro file

*.MC7 - Micro-Cap usage statistics file

*.MC7 - Micro-Cap program file used for the demos or error messages *.MDLModel program data file

*.OPTResults file created when MODEL is run under batch mode *.NET - Orcad, Protel, PADS, or Accel netlist file

*.PKG - Package Library file

*.RES - Listing of resistor values used in the filter designer

*.SAN - Minimum, maximum, and default limits for model parameters

*.SEN

- Sensitivity analysis output file

*.SHP

- Shape Library file

*.STM

- Waveform file for digital file stimulus component

*.SVV

- State Variables editor text output file

*.TMC - Transient Monte Carlo statistics *.TNO - Transient numeric output

*.TOP

- Binary output file used in State Variables read operation

*.TSA

- Transient save analysis / probe simulation

*.TXT

- Text file created by the Component editor Parts List command

*.USR

- User waveform file for plotting or the User Source component

*.WMF - Windows meta file (picture file)

672

 

 

Model library files

 

Appendix B

 

 

 

AD.LIB

Demo file for part import illustration

 

 

ADV_LIN.LIB

Advanced Linear ICs

 

 

AMP.LIB

Amp connectors

 

 

ANALOG.LIB

Analog Devices ICs

 

 

APEX.LIB

ApexMicrotechnologyICs

 

 

APEXPWM.LIB

Apex PWM Models

 

 

BURRBN.LIB

Burr Brown ICs

 

 

CMOS.LIB

CD4000 series digital ICs

 

 

COMLIN.LIB

Comlinear ICs

 

 

CUR_REGS.LIB

Current regulator diodes

 

 

DIG000.LIB

74xxdigitalICs

 

 

DIG150.LIB

74xxdigitalICs

 

 

DIG167.LIB

74xxdigitalICs

 

 

DIG195.LIB

74xxdigitalICs

 

 

DIG250.LIB

74xxdigitalICs

 

 

DIG381.LIB

74xxdigitalICs

 

 

DIG604.LIB

74xxdigitalICs

 

 

DIG652.LIB

74xxdigitalICs

 

 

DIG874.LIB

74xxdigitalICs

 

 

DIGIO.LIB

DigitalI/Ointerfaces

 

 

DIGPLD.LIB

Programmablelogicdevices

 

 

DIODE.LBR

Diodes

 

 

ECL.LIB

ECL digital ICs

 

 

EDIODE.LBR

European diodes

 

 

ELANTEC.LIB

Elantec ICs

 

 

EUROPE.LBR

European transistors

 

 

FAIRCH.LIB

Fairchild discrete components

 

 

FWBELL.LIB

F.W. Bell hall generators

 

 

GENSEMI.LIB

General Semiconductor diodes

 

 

HARHIP.LIB

Harris Semiconductor bridge drivers

 

 

HARPRMOS.LIB

Harris Semiconductor power MOSFETs

 

 

HARRHMOS.LIB

Harris radiation hardened power MOSFETs

 

 

HARRIS.LIB

Harris Semiconductor ICs

 

 

HPDIODE.LIB

Hewlett Packard diodes

 

 

HPMOS.LBR

Hitachi power MOSFETs

 

 

INFINEON.LIB

Infineon discrete components

 

 

INTERSIL.LIB

Intersil MOSFETs

 

 

IRF.LIB

InternationalRectifiertransistors

 

 

IRPMOS.LBR

International Rectifier MOSFETs

673

JAPAN.LBR

Japanese transistors

JDIODE.LBR

Japanese diodes

JFET.LBR

JFETs

LASERIES.LIB

Harris LA series varistors

LINEAR.LIB

Linear Technology ICs

LTOPAMP.LBR

Linear Technology opamps

M_IC.LIB

Motorolaintegratedcircuits

M_IGBT.LIB

Motorola IGBT devices

M_OPAMP.LIB

Motorola OPAMPs

M_OPTO.LIB

Motorolaoptoelectronics

M_POWBJT.LIB

Motorola bipolar power devices

M_RECT.LIB

Motorola rectifiers

M_RFDEV.LIB

Motorola RF transistors

M_SMALL.LIB

Motorolasmallsignaldevices

M_TMOS.LIB

Motorola TMOS

M_ZENER.LIB

Motorola zeners

MAXIM.LIB

Maxim ICs

MICROSEM.LBR

Microsemidiodes

MPBJT.LBR

Motorola power BJTs

MPMOS.LBR

Motorola power MOSFETs

MSBJT.LBR

Motorolasmall-signalBJTs

MSENSOR.LIB

Motorola sensors

MZENER.LBR

Motorola zener diodes

NATION.LIB

National Semiconductor ICs

NOM.LIB

Master list of all library files

NP_DCDC.LIB

Newport Components DC-DC Converters

NSOPAMP.LBR

National Semiconductor opamps

NTC.LIB

Siemens thermistors

ONSEMI.LIB

ON Semiconductor Discrete Components

OP27.LIB

Used in one of the auto demos.

PASSIVE.LIB

Resistors

PCORE.LBR

Philips ferroxcube magnetic cores

PH_BJT.LIB

Philips Transistors

PH_DIODE.LIB

PhilipsDiodes

PH_FET.LIB

Philips JFETS

PH_MOS.LIB

Philips MOSFETS

PH_RFDEV.LIB

Philips RF transistors

PH_SHOT.LIB

Philips schottky diodes

PMOPAMP.LBR

Precision Monolithics opamps

POLYFET.LIB

Polyfet RF MOSFETs

PROFMOS.LBR

Profusion MOSFETs

674

RECTIFIE.LIB

Motorola rectifiers

SHINDEN.LIB

Shendengen diodes

SIMID.LIB

Siemensinductors

SIOV.LIB

Siemensvaristors

SMPS_CB.LIB

Switched-mode power supply models by C. Basso

STMICRO.LIB

Standard Microsystems linear opamps

TCORE.LBR

Tokin magnetic cores

THY_LIB.LIB

SCRs and Triacs

TI.LIB

Texas Instruments ICs

TIOPAMP.LBR

Texas Instruments opamps

TRANS.LIB

Transmissionlines

TUBE.LIB

Vacuum tube models by Duncan Munro

UTILITY.LBR

Generic models, pulse and sine sources

VARACTOR.LBR

Varactor diodes

VISHAY.LIB

SiliconixMOSFETS

XFMR.LIB

Transformers

XTAL.LIB

KDS crystals

ZASERIES.LIB

Harris ZA series varistors

ZETEX.LIB

Zetex diodes and transistors

675

676

Соседние файлы в папке Micro-Cap v7.1.6
  • #
    06.06.20171.32 Кб60model.CNT
  • #
    06.06.201776.72 Кб62MODEL.HLP
  • #
    06.06.20173.72 Кб60NETHASP.INI
  • #
    06.06.2017450 б59os.dat
  • #
    06.06.2017545 б63READ.ME
  • #
    06.06.20173.31 Mб68RM.PDF
  • #
    06.06.2017226.69 Кб61setup.bmp
  • #
    06.06.201795 б59SETUP.INI
  • #
  • #
    06.06.201749 б60setup.lid
  • #
    06.06.20172.04 Mб59Standard.cmp