Pspice仿真
pspice电路仿真设计

随着电子设计自动化(EDA)的兴起,PSPICE逐渐 成为主流的电路仿真软件。
2000年代至今PSPICE断更新升级,支持更多复杂电路和高级功 能。
PSPICE的主要功能
电路图绘制与编辑
提供丰富的元件库和绘图工具 ,方便用户绘制电路图。
电路仿真与分析
支持多种仿真和分析功能,如 直流分析、交流分析、瞬态分 析等。
设置仿真精度
调整仿真精度,以获得更准确的仿真结果。
设置初始条件
为电路元件设置初始状态,以便进行仿真计 算。
电路仿真的基本步骤
建立电路模型
根据电路原理图,使用PSPICE软件建立相应 的电路模型。
定义元件参数
为电路元件设置合适的参数值,确保仿真结 果的准确性。
运行仿真
启动仿真计算,观察仿真波形和数据,分析 电路性能。
用于嵌入式系统的电路设计和仿真,如微控制器、DSP等。
科研与教育
广泛应用于科研机构和高校,作为电子工程学科的教学和实验工具。
02
PSPICE电路设计基础
电路元件的选取与参数设置
电阻
根据电路需求选择适当的电阻值和功率,设 置合适的电阻精度。
电感
根据工作频率、电流和磁芯材料等参数选择 合适的电感值和额定电流。
时序逻辑电路
02
设计一个同步计数器,通过PSPICE验证其时序行为和性能指标。
微处理器模型
03
使用PSPICE建立微处理器的电路模型,进行功能仿真和性能预
测。
混合信号仿真案例
ADC/DAC仿真
设计一个模数转换器和数模转换 器,利用PSPICE分析其性能和相 互影响。
数字通信系统
设计一个简单的数字通信系统, 包括调制解调器和信道模拟,通 过PSPICE进行系统级仿真和分析。
PSpice基本仿真分析例程

PSpice基本仿真分析例程⼀、瞬态分析⼆、直流分析2.1、直流分析电路2.2、直流分析配置2.3、直流分析输出波形受供电电源的限制,输出最⼤值为±15V。
三、交流分析3.1.1、交流分析电路13.1.1、交流分析设置13.1.1、交流分析输出波形图1由于使⽤的运放为理想运放,没有频率特性,因此输出电压固定为输⼊2V。
3.2.1、交流分析电路2添加电容C1使放⼤电路有了频率特性,低频C1断路,⾼频C1短路。
3.2.1、交流分析配置23.2.1、交流分析波形图2四、参数分析4.1.1、直流参数分析电路4.1.2、直流参数分析配置增益对数递增100-1M4.1.3、直流参数分析波形图由图中所⽰环路增益越⼩误差越⼤。
五、温度分析5.1基本温度分析电路5.2、器件温度系数参数设定(TC)5.3、温度分析参数配置5.3.1、初始TNOM设定为0℃5.3.2、直流分析温度配置5.4、温度分析波形图六、交流&参数分析(低通滤波器)6.1.1、交流扫⾯低通滤波器电路图6.1.1、交流扫⾯低通滤波器仿真配置6.1.1、交流扫⾯低通滤波器输出波形每10倍频40db。
七、BUCK降压电路7.1.1、BUCK降压电路仿真原理图7.1.2、BUCK降压电路仿真配置(瞬态分析)7.1.3、BUCK降压电路输出波形Ⅰ、V(OUT)输出端波形Ⅱ、电感电流与V(OUT)稳态波形。
7.2.1、BUCK降压电路仿真2 通过调整电源输⼊与负载电阻,测试电路中重要参数变化。
Sbreak模拟负载,Sbreak的值在10Ω与20Ω之间变化。
Sbreak参数:7.2.2、仿真参数配置7.2.3、BUCK降压电路相关参数波形。
仿真⽂件:链接:https:///s/1iyoNV5LS5iU3obppImrNJA提取码:suc7。
PSpice直流仿真(一)

PSpice直流仿真实践(1)使用PSpice软件最终目的就是对各种电路进行仿真分析。
本章列举了各种模拟电路PSpice仿真实践的例子,读者通过这些例子,可以进一步体会PSpice 的应用特点和强大的电路分析能力。
PSpice可以对以下类型的电路进行仿真分析:直流电路、交流电路、电路的暂态、模拟电子电路、模拟电路、数模混合电路。
一、直流工作点分析语句此语句规定计算并打印出电路的直流工作点(又称直流偏置点)。
这时电路中的电感按短路、电容按开路处理。
设置了该语句,输出文件可打印所有节点电压、所有电压源的电流及电路的直流功耗、所有晶体管各极的电流和电压、非线性受控源的小信号(线性化)参数。
注意:无论输入文件中有无.OP语句,程序在进行直流、交流和暂态分析时,都要自动进行直流偏置点分析。
只是没有.OP语句时,输出文件只打印所有节点电压和所有电压源的电流及电路的直流功耗三项内容。
二、直流扫描分析语句直流分析语句用于对电路作直流分析。
语句在执行过程中,对指定的变量在指定的范围内进行扫描,每给一个变量的扫描点,就对电路进行一次直流分析计算,计算内容是节点电压和支路电流。
直流分析语句可对如下变量进行扫描:●电源:任何独立电压源和独立电流源的电流、电压值均可设为扫描变量。
●模型参数:在.MODEL语句中描述的模型参数均可设为扫描变量。
●温度:设置TEMP作为扫描变量时,对每个扫描变量值,电路元器件的模型参数都要更新为当时温度下的值,所以执行该分析程序就是分析了扫描温度下的电路的直流特性。
●全程参数:扫描变量使用关键字PARAM,后跟参数名。
按照.PARAM的定义,该扫描变量就为全程参数。
说明:对哪个变量扫描,该变量就是自变量,即Probe输出图形的横坐标。
直流分析语句格式:分析语句对变量扫描时有四种扫描方式,它们是:LIN:线性扫描,每一个扫描点和它前后扫描点之间的距离是相等的。
每两个相邻扫描点间的距离为扫描增量。
pspice仿真实验报告

pspice仿真实验报告Pspice仿真实验报告引言:电子电路设计与仿真是电子工程领域中的重要环节。
通过使用电路仿真软件,如Pspice,能够在计算机上对电路进行模拟,从而节省了大量的时间和成本。
本文将介绍一次使用Pspice进行的仿真实验,并对实验结果进行分析和讨论。
实验目的:本次实验的目的是设计一个低通滤波器,通过Pspice进行仿真,并验证其性能指标。
实验步骤:1. 设计电路图:根据低通滤波器的设计要求,我们选择了一个二阶巴特沃斯滤波器。
根据滤波器的截止频率和阻带衰减要求,我们确定了电路的参数,包括电容和电感的数值。
2. 选择元件:根据电路图,我们选择了适当的电容和电感元件,并将其添加到Pspice软件中。
3. 设置仿真参数:在Pspice中,我们需要设置仿真的时间范围和步长,以及输入信号的幅值和频率等参数。
4. 运行仿真:通过点击运行按钮,Pspice将开始对电路进行仿真。
仿真结果将以图表的形式显示出来。
实验结果:通过Pspice的仿真,我们得到了低通滤波器的频率响应曲线。
从图表中可以看出,在截止频率以下,滤波器对输入信号的衰减非常明显,而在截止频率以上,滤波器对输入信号的衰减较小。
这符合我们设计的要求。
此外,我们还可以通过Pspice的仿真结果,得到滤波器的幅频特性和相频特性。
通过分析这些结果,我们可以进一步了解滤波器的性能,并对其进行优化。
讨论与分析:通过本次实验,我们深入了解了Pspice仿真软件的使用方法,并成功设计了一个低通滤波器。
通过仿真结果的分析,我们可以看到滤波器的性能符合预期,并且可以通过调整电路参数来进一步优化滤波器的性能。
然而,需要注意的是,仿真结果可能与实际电路存在一定的误差。
因此,在实际应用中,我们需要结合实际情况,对电路进行实际测试和调整。
结论:通过Pspice的仿真实验,我们成功设计了一个低通滤波器,并验证了其性能指标。
通过对仿真结果的分析和讨论,我们进一步了解了滤波器的特性,并为实际应用提供了一定的参考。
pspice仿真的几大类型

PSpice A/D数模仿真技术主要包括以下几类仿真:
1、直流扫描分析(DC Sweep)
电路的某一个参数在一定范围内变化时,电路直流输出特性的分析和计算。
2、交流扫描分析(AC Sweep)
计算电路的交流小信号线性频率响应特性,包括幅频特性和相频特性,以及输入输出阻抗。
3、噪声分析(Noise)
在设定频率上,计算电路指定输出端的等效输出噪声和指定输入端的等效输入噪声电平。
4、直流偏置点分析(Bias Point)
当电路中电感短路,电容断路时,电路静态工作点的计算。
进行交流小信号和瞬态分析之前,系统会自动计算直流偏置点,以确定瞬态分析的初始条件和交流小信号条件下的非线性器件的线性化模型参数。
5、时域/瞬态分析(Transient)
在给定激励下,电路输出的瞬态时域响应的计算,其初始状态可由用户自定义,也可是直流偏置点。
6、蒙特卡洛分析(Monte-Carlo)
根据实际情况确定元件参数分布规律,然后多次重复进行指定电路特性的分析,每次分析时的元件参数都采用随机抽样方式,完成多次分析后进行统计分析,就可以得到电路特性的分散变化规律。
7、最坏情况分析(Worst)
电路中元件处于极限情况时,电路输入输出特性分析,是蒙特卡洛的极限情况。
8、参数扫描分析(Parametric Sweep)
电路中指定元件参数暗规律变化时,电路特性的分析计算。
9、温度分析(Temperature)
在指定温度条件下,分析电路特性。
10、灵敏度分析(Sensitivity)
计算电路中元件参数变化对电路性能的影响。
PSpice基础仿真分析与电路控制描述

PSpice基础仿真分析与电路控制描述简介本文档将介绍PSpice基础仿真分析和电路控制的相关概念和使用方法。
PSpice是一款电路仿真软件,可帮助电路设计师评估和优化电路性能。
PSpice的基本功能- 电路仿真:通过输入电路原理图和元件参数,PSpice可以对电路进行仿真分析,以评估电路的性能和行为。
- 波形分析:PSpice可以生成电路中各个节点电压和电流的波形图,以帮助理解电路运行情况。
- 参数扫描:PSpice可以对电路中的元件参数进行扫描,以评估元件参数对电路性能的影响。
- 优化分析:PSpice可以通过自动化搜索算法优化电路参数,以达到用户定义的目标。
仿真步骤1. 绘制电路原理图:使用PSpice提供的元件库绘制电路原理图,设置元件参数和连接关系。
2. 设置仿真选项:设置仿真类型和仿真参数,如直流分析、交流分析、变化频率分析等。
3. 运行仿真:通过点击仿真按钮或执行仿真命令,PSpice开始进行仿真计算。
4. 分析仿真结果:根据仿真结果生成的波形图和数据表格,分析电路的性能和行为。
电路控制描述- 电源控制:通过设置电源的电压或电流源来控制电路中的电压和电流。
- 开关控制:通过激活或关闭开关元件, 来控制电路中的电压或电流流动。
- 反馈控制:通过将电路输出信号与输入信号进行比较,并根据差异调整电路参数,实现对电路的控制。
示例下面是一个简单的PSpice仿真和电路控制的示例:* 这是一个简单的RC电路R1 N1 N2 1kC1 N2 N3 1uV1 N1 0 DC 10R2 N3 0 10k.tran 0.1ms 10ms.end通过上述示例,我们可以:1. 进行直流分析,评估电路的直流稳态行为。
2. 进行时间域分析,查看电路中各个节点的电压随时间的变化。
3. 通过改变元件参数、调整输入电压或通过反馈控制等方式,控制电路的行为和性能。
希望本文档能够帮助您了解PSpice的基础仿真分析和电路控制的相关内容。
PSpice仿真软件使用指南说明书

April 2016© 2013Cadence Design Systems, Inc. All rights reserved.Portions © Apache Software Foundation, Sun Microsystems, Free Software Foundation, Inc., Regents of the University of California, Massachusetts Institute of T echnology, University of Florida. Used by permission. Printed in the United States of America.Cadence Design Systems, Inc. (Cadence), 2655 Seely Ave., San Jose, CA 95134, USA.Product PSpice contains technology licensed from, and copyrighted by: Apache Software Foundation, 1901 Munsey Drive Forest Hill, MD 21050, USA © 2000-2005,Apache Software Foundation. Sun Microsystems, 4150 Network Circle, Santa Clara, CA 95054 USA © 1994-2007, Sun Microsystems, Inc. Free Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA © 1989, 1991, Free Software Foundation, Inc. Regents of the University of California, Sun Microsystems, Inc., Scriptics Corporation, © 2001, Regents of the University of California. Daniel Stenberg, © 1996 - 2006, Daniel Stenberg. UMFPACK ©2005,TimothyA.Davis,UniversityofFlorida,(**************.edu).KenMartin,WillSchroeder,Bill Lorensen © 1993-2002, Ken Martin, Will Schroeder, Bill Lorensen. Massachusetts Institute of Technology, 77 Massachusetts Avenue, Cambridge, Massachusetts, USA © 2003, the Board of Trustees of Massachusetts Institute of Technology. All rights reserved.Trademarks: Trademarks and service marks of Cadence Design Systems, Inc. contained in this document are attributed to Cadence with the appropriate symbol. For queries regarding Cadence’s trademarks, contact the corporate legal department at the address shown above or call 800.862.4522.Open SystemC, Open SystemC Initiative, OSCI, SystemC, and SystemC Initiative are trademarks or registered trademarks of Open SystemC Initiative, Inc. in the United States and other countries and are used with permission.All other trademarks are the property of their respective holders.Restricted Permission: This publication is protected by copyright law and international treaties and contains trade secrets and proprietary information owned by Cadence. Unauthorized reproduction or distribution of this publication, or any portion of it, may result in civil and criminal penalties. Except as specified in this permission statement, this publication may not be copied, reproduced, modified, published, uploaded, posted, transmitted, or distributed in any way, without prior written permission from Cadence. Unless otherwise agreed to by Cadence in writing, this statement grants Cadence customers permission to print one (1) hard copy of this publication subject to the following conditions:1.The publication may be used only in accordance with a written agreement between Cadence and itscustomer.2.The publication may not be modified in any way.3.Any authorized copy of the publication or portion thereof must include all original copyright,trademark, and other proprietary notices and this permission statement.4.The information contained in this document cannot be used in the development of like products orsoftware, whether for internal or external use, and shall not be used for the benefit of any other party, whether or not for consideration.Disclaimer: Information in this publication is subject to change without notice and does not represent a commitment on the part of Cadence. Except as may be explicitly set forth in such agreement, Cadence does not make, and expressly disclaims, any representations or warranties as to the completeness, accuracy or usefulness of the information contained in this document. Cadence does not warrant that use of such information will not infringe any third party rights, nor does Cadence assume any liability for damages or costs of any kind that may result from use of such information.Restricted Rights: Use, duplication, or disclosure by the Government is subject to restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its successor.ContentsBefore you begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 How to use this guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Symbols and conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Related documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 What this user’s guide covers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 PSpice overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Add-on options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 PSpice Smoke Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 PSpice Advanced Optimizer Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 PSpice Advanced Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 SLPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 If you don’t have the standard PSpice A/D package . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Comparison of the different versions of PSpice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 If you have PSpice Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Minimum hardware requirements for running PSpice: . . . . . . . . . . . . . . . . . . . . . . . . 32 PSpice Samples and T utorials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Part one: Simulation primer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 1Things you need to know . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Chapter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 What is PSpice? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Analyses you can run with PSpice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Basic analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Advanced multi-run analyses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Analyzing waveforms with PSpice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 What is waveform analysis? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Using PSpice with other programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Using design entry tools to prepare for simulation . . . . . . . . . . . . . . . . . . . . . . . . . . 47What is the PSpice Stimulus Editor? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 What is the PSpice Model Editor? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Files needed for simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Files that design entry tool generates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Other files that you can configure for simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Files that PSpice generates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Directory structure for analog projects in Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 How are files configured at the design level maintained in the directory structure for analog projects? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 How are files configured at the profile level maintained in the new directory structure for analog projects? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 What happens when I convert an analog project that uses a design from another project or from another location? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 What should I do if the schematic for a converted analog project uses FILESTIM n parts from the SOURCE library? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Design Entry HDL libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Reference Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Local libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 PSpice model libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 The cds.lib file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Encrypting PSpice Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Using PSpiceEnc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Using Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 722Simulation examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Chapter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Example circuit creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Using Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Using Design Entry HDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Using Design T emplates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Finding out more about setting up your design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Running PSpice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Performing a bias point analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Using the simulation output file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Finding out more about bias point calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99DC sweep analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Setting up and running a DC sweep analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Displaying DC analysis results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Finding out more about DC sweep analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 T ransient analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Finding out more about transient analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 AC sweep analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 Setting up and running an AC sweep analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 AC sweep analysis results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Finding out more about AC sweep and noise analysis . . . . . . . . . . . . . . . . . . . . . . . 122 Parametric analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Setting up and running the parametric analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Analyzing waveform families . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Finding out more about parametric analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Performance analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Finding out more about performance analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136Part two: Design entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1383Preparing a design for simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Chapter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Checklist for simulation setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 T ypical simulation setup steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Advanced design entry and simulation setup steps . . . . . . . . . . . . . . . . . . . . . . . . . 141 When netlisting fails or the simulation does not start . . . . . . . . . . . . . . . . . . . . . . . . 142 Using parts that you can simulate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Vendor-supplied parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Passive parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Breakout parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Behavioral parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Simulating asymmetric parts in PSpice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Simulating homogenous parts in PSpice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Specifying values for part properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 Using global parameters and expressions for values . . . . . . . . . . . . . . . . . . . . . . . . . . 158Global parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 Defining power supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 For the analog portion of your circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 For A/D interfaces in mixed-signal circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Defining stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 Analog stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 Digital stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Things to watch for . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Unmodeled parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Unconfigured model, stimulus, or include files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 Unmodeled pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 Missing ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 Missing DC path to ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1854Creating and editing models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Chapter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 What are models? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 How are models organized? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Model libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Model library configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Global vs. design vs. profile models and libraries . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Nested model libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 PSpice-provided models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Model library data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Device characteristic curves-based models vs. Template-based models . . . . . . . . 195 T ools to create and edit models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Ways to create and edit models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 Using the Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 Ways to use the Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Running the Model Editor alone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 Starting the Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Creating models using the Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Creating models based on device characteristic curves . . . . . . . . . . . . . . . . . . . . . 203Creating models based on PSpice templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 Importing an existing model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 Enabling and disabling automatic part creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 Running the Model Editor from the schematic editor . . . . . . . . . . . . . . . . . . . . . . . . 215 Model creation examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 Example: Creating a PSpice model based on device characteristic curves . . . . . . . 219 Example: Creating template-based PSpice model . . . . . . . . . . . . . . . . . . . . . . . . . . 228 Editing model text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 Example: editing a Q2N2222 instance model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 Using the Create Subcircuit Format Netlist command (Capture only) . . . . . . . . . . . . . . 237 Changing the model reference to an existing model definition . . . . . . . . . . . . . . . . . . . 239 Reusing instance models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 Reusing instance models in the same schematic . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Making instance models available to all designs . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Configuring model libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 The Configuration Files tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 How PSpice uses model libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Adding model libraries to the configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 Changing the model library scope from profile to design, profile to global, design to global and vice versa . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 Changing model library search order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 Changing the library search path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 Handling smoke information using the Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Adding smoke information to PSpice models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Creating template-based PSpice models with smoke information . . . . . . . . . . . . . . 256 Using the Model Editor to edit smoke information . . . . . . . . . . . . . . . . . . . . . . . . . . 256 Examples: Smoke . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 Adding smoke information to the D1 diode model . . . . . . . . . . . . . . . . . . . . . . . . . . 257 Adding smoke information to the OPA_LOCAL operational amplifier model . . . . . . 259 Smoke parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 Diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Bipolar Junction Transistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 Magnetic Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 Ins Gate Bipolar T ransistor (IGBT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 Junction FET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 Operational Amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268MOSFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 Voltage Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271 Darlington T ransistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2735Creating parts for models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 Chapter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 What’s different about parts used for simulation? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 Ways to create parts for models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 Preparing your models for part creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 Starting the Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 Using the Model Editor to create parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 Batch mode of part creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 Interactive mode of part creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 Creating Design Entry T ool parts for all models in a library . . . . . . . . . . . . . . . . . . . . . . 282 Using batch mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 Using interactive mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284 Setting up automatic part creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Creating parts in the batch mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Creating parts using interactive mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 Basing new parts on a custom set of parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Editing part graphics (Capture only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 How Capture places parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Defining grid spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 Attaching models to parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 MODEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 Defining part properties needed for simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 PSPICETEMPLATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310 IO_LEVEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 MNTYMXDL Y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 PSPICEDEFAULTNET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3216Analog behavioral modeling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 Chapter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 Overview of analog behavioral modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 The ABM part library file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 Placing and specifying ABM parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326 Net names and device names in ABM expressions . . . . . . . . . . . . . . . . . . . . . . . . . 326 Forcing the use of a global definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 ABM part templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 Control system parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 Basic components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 Limiters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 Chebyshev filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Integrator and differentiator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 T able look-up parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 Laplace transform part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 Math functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348 ABM expression parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 An instantaneous device example: modeling a triode . . . . . . . . . . . . . . . . . . . . . . . 353 PSpice-equivalent parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356 Implementation of PSpice-equivalent parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 Modeling mathematical or instantaneous relationships . . . . . . . . . . . . . . . . . . . . . . 358 Lookup tables (ET ABLE and GT ABLE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 Frequency-domain device models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364 Laplace transforms (LAPLACE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364 Frequency response tables (EFREQ and GFREQ) . . . . . . . . . . . . . . . . . . . . . . . . . 366 Cautions and recommendations for simulation and analysis . . . . . . . . . . . . . . . . . . . . . 369 Instantaneous device modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 Frequency-domain parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370 Laplace transforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370 T rading off computer resources for accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 Basic controlled sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 Creating custom ABM parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375。
OrCAD-PSPICE-仿真入门

强大的分析工具
ORCAD-PSPICE提供了丰富 的分析工具,如波形分析、 频谱分析、噪声分析等,帮 助用户深入了解电路性能。
灵活的参数化分析
用户可以通过参数化分析功 能,对电路元件参数进行扫 描和优化,找到最佳的电路 性能。
THANKS FOR WATCHING
感谢您的观看
orcad-pspice仿真入门
目 录
• 引言 • ORCAD-PSPICE概述 • ORCAD-PSPICE仿真流程 • 常见电路仿真分析 • 高级仿真技术 • ORCAD-PSPICE仿真实例
01 引言
目的和背景
学习和掌握ORCAD-PSPICE仿真软件, 能够为电子工程师提供强大的电路设 计和分析工具,帮助他们快速验证电 路原理、优化电路参数和提高设计效 率。
ORCAD-PSPICE支持模拟、数字和混合信号电路的仿真,能够进行电路性能分析和优化,帮助工程师快速、准确地完成电路 设计和验证。
ORCAD-PSPICE的功能和特点
丰富的元件库
ORCAD-PSPICE提供了广泛 的元件库,包括各种模拟、 数字和混合信号元件,方便 用户进行电路设计和仿真。
高精度仿真
蒙特卡洛分析
蒙特卡洛分析是一种基于概率统计的 仿真技术,用于分析电路性能的统计 分布情况。在Orcad-Pspice中,可 以通过在仿真设置中设置蒙特卡洛分 析参数,对电路性能进行概率统计。
VS
蒙特卡洛分析可以帮助设计者了解电 路性能的统计分布情况,从而评估电 路性能的可靠性。
最坏情况分析
最坏情况分析是一种仿真技术,用于分析电 路性能在元件参数最坏情况下的表现。在 Orcad-Pspice中,可以通过在仿真设置中 设置最坏情况分析参数,对电路性能进行最 坏情况分析。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
华中科技大学
《电子线路设计、测试与实验》实验报告
实验名称:PSpice软件仿真练习
院(系):自动化学院
地点:
实验成绩:
指导教师:汪小燕
2014年 3 月26 日
一、实验目的
1.了解电子电路CAD技术的基本知识,熟悉仿真软件PSpice的主要功能。
2.学习利用仿真手段,分析,设计电子电路。
3.初步掌握用仿真软件PSpice分析,设计电路的基本方法和技巧。
二、实验元器件
计算机,PSpice仿真软件
三、预习要求
1.认真阅读本书附录A,详细了解PSpice软件的功能,仿真步骤及使用方法。
2.熟悉单极共射放大电路的静态工作点,输入,输出电阻及幅频特性,相频特性等。
四、实验原理及参考电路
PSpice用于电子电路的仿真分析,除了可以对模拟电路,数字电路进行仿真分析外,还可以对模拟混合电路进行分析,具有优化设计的功能。
本实验以单级共射放大电路为例,简要介绍Capture和PSpice A/D两部分软件的仿真步骤及使用方法。
单级共射放大参考电路的仿真步骤如图 4.1.1所示,三极管型号为Q2N222( =50),试分析:
(1)放大电路的工作点
(2)当输入电压信号为幅值10mV,频率1kHz的正弦波时,仿真输入,输出波形。
(3)仿真该电路电压增益的幅频响应和相频响应曲线。
(4)仿真该电路的输入,输出电阻频率响应曲线。
图4.1.1 单级共射放大电路
五、实验内容与步骤
1 在主页下创建一个新的工程项目文件
2 按照图4.1.1绘制单级共射放大电路原理图
(1)调元器件
(2)移动、旋转和删除元器件
(3)画连接线
(4)修改元器件标号和参数
(5)对节点定义节点名
3 设置仿真分析类型,创建仿真简要表(Simulation Profile)
(1)通过直流工作点分析(Bias Piont),来获得例题的分析要求
(2)通过瞬态分析,得到放大电路的输入、输出波形
(3)通过交流扫描分析(AC Sweep),获得放大电路电压增益的幅频和相频响应
4 电路规则检查及生成电路连接网表
5 仿真
(1)电路的静态工作点
(2)仿真电路的输入,输出波形
(3)仿真放大电路的电压增益的幅频响应曲线和相频响应曲线
6 求输入阻抗
六、注意事项
绘制电路原理图时,要特别注意各个元器件之间的连接,以及各导线之间的连接,切不可没连上或者重叠,这样在进行电路规则检查时,建立网表文件时,屏幕会弹出错误提示窗口。
电路检查不通过,将不能进行仿真。
七、实验要求
⏹已知条件
●+VCC=+9V
●RL=2kΩ
●Vi=10mV(有效值)
●Rs=50Ω
⏹技术指标要求
●增益:≥30
●输入电阻:≥ 1KΩ
●输出电阻:≤3KΩ
●fL<100Hz
●fH>300kHz
八、实验结果
(1)单管电路放大器的电路设计
设计的电路图如下:
(2)单管电路放大器的静态工作点
对设计的电路进行静态工作点分析,得到的结果如下如上图,将电压值已经标出。
各节点对应的电压如下:
(3)Probe程序观测观测输入、输出电压波形,计算电压增益Av
用瞬态仿真观察输入和输出的波形,并标记输入输出波形的最高点和最低点,来观测波形是否失真。
得到的波形的结果如下:
从图中我们可以看到输入波形V(i)的最低点和最高点为(-14.614mv,14.793mv),该波形的有效值约等于10mv。
输出波形V(o)最低点和最高点为(-583.489mv,538.816mv),输出波形存
在小许饱和失真,其失真度为583.489538.816
583.48
9
10%
-
⨯
≈7.6%,基本上不存
在失真。
电压增益
583.489
39.4>30
14.793
≈
=
V
A
,实现了单管放大器的放大功能,符合实
验要求。
(4)幅频响应曲线
幅频响应对应的波特图如下:
上图A1(78.209,28.040)和A2(21.05M,28.854)分别对应3dB点。
可以看出,A1点的频率f为下限频率L f,L f=78.209Hz < 100Hz。
A2点的频率f 为上限频率H f,H f=21.05MHz > 100KHz。
其上限频率和下限频率均符合实验设计要求。
(5)输入阻抗i R
对设计的电路进行频域分析,绘制输入电阻
()
()
7
=
i
V i
R
I R的图像如下:
由于本设计电路的频率=1f kHz ,对应图像的点为(711.660,2.5016k ),那么输入阻抗 2.5016≈Ωi R k ,显然符合小于3k Ω的实验要求。
(5)输出阻抗o R
在测量电路的输出阻抗之前,我们首先要对电路做一些小小的修改。
通过测量我们可以知道,通过负载电阻R6的电压约为583mv 。
故我们令Vs=0,信号源短路,取掉负载RL ,外加一个信号源VSIN(583mv),用软件做出Ro =V(Vs)/I((C1))的曲线。
可以清晰的看到,图中的输出阻抗o 2.4270≈ΩR k 3k <Ω。
九、 附加思考题
二 参数对于静态工作点及放大电路直流工作状态的影响;静态工作点的位
置与非线性失真。
解答:做出放大实验图,通过控制变量的方法来检测参数对具体工作点的影响。
实验电路图如下:
参数对于静态工作点及放大电路直流工作状态的影响
1. 分析Rb 对静态工作点的影响
控制Rc=500欧和Vcc=12V 不变,只改变Rb ,观察 CEQ
V 、BQ I 和CQ I
的变
化。
Rb=100k 欧时,得到的静态工作点如图:
当Rb=90k 欧时,得到的静态工作点如图:
当Rb=80k欧时,得到的静态工作点如图:
观察以上三图模拟,可以看出随着Rb 的增加,CEQ
V 减小 、
BQ
I 增加和
CQ
I 增
加。
Rb 过大,会使Q 点进入截止区;Rb 过小,会使Q 点进入饱和区;
2. 分析Rc 对静态工作点的影响
控制Rb=100k 欧和Vcc=12V 不变,只改变Rc ,观察 CEQ
V 、
BQ
I 和
CQ
I 的
变化。
Rc=500欧时,得到的静态工作点如上图。
Rc=600欧时,得到的静态工作点如上图。
Rc=700欧时,得到的静态工作点如上图
观察以上三图模拟,Rc 增大时,IBQ 不变、ICQ 减小,VCEQ 减小,Q 点向饱和区方向变化。
3. 分析Vcc 对静态工作点的影响
控制Rb=100k 欧和Rc=500不变,只改变Vcc ,观察
CEQ V 、BQ I 和CQ I 的变化。
Vcc=12V 时,得到的静态工作点如上图;
Vcc=11V 时,得到的静态工作点如图;
Vcc=10V时,得到的静态工作点如图
观察以上三图模拟,VCC增大时,IBQ增大、ICQ增大,VCEQ增大,Q点上移。
静态工作点的位置与非线性失真
如果静态值设置不当,即静态工作点位置不合适,将出现严重的非线性失真。
如果Q选择的过低,VEQ、IBQ过小,则BJT会在交流信号vbe负半周的分支附近进入截止区,这种失真叫做截止失真。
如果Q选择的过高,VEQ、IBQ过大,则BJT会在交流信号vbe正半周的分支附近进入饱和区,这种失真叫做饱和失真。
截止失真和饱和失真都是由于BJT特性曲线的非线性引起的,因此称为非线性
失真。