Introduction to NMOS and PMOS Transistors

原文链接:https://anysilicon.com/introduction-to-nmos-and-pmos-transistors/

Introduction to NMOS and PMOS Transistors

In this article, we will introduce the basic concepts of the MOSFET, with focus on its two main forms: the NMOS transistor and the PMOS transistor. We will also discuss briefly the manufacturing process, the mathematical models and the two main applications of NMOS and PMOS: amplifiers and switches.

The article Ultimate Guide to: Electronic Circuit, presents the concepts of passive and active components, as well as the basics of transistors. However, we focused on the bipolar transistor, which is widely used, but far from the only one in electronics. In this article, we will discuss the Metal-Oxide Field Effect Transistors, or MOSFET for short. These transistors are widely applied in mixed-signal instrumentation, ASICs and switched-mode power supplies. Understanding NMOS and PMOS transistors, as well as where they are applied and how to implement them, is fundamental, as they have become the main choice of transistor for almost any application. They provide very large input impedance, fast switching capabilities, small ON resistance, and very small footprint, which is perfect for high density designs.

NMOS and PMOS Models

In electronic terms, the working principle of a transistor is very simple: it has three main terminals, and the current flowing through one of its terminals can be controlled by the voltage between the other two terminals. In the case of a MOSFET, the voltage between the gate and the source ports controls the current flowing through the drain. The relationship between the drain current (ID) and the gate-to-source voltage (VGS) is highly non-linear, and it is divided in three operation regions. Each region has its own conditions, properties and equations, as described in the table below:
在这里插入图片描述
在这里插入图片描述1
Figure 1: NMOS symbol, characteristic curve and operation modes

In practical terms, the operation modes describe how the drain current (ID) reacts to a variation in the drain to source voltage (VDS), and are key to understand the MOSFET applications. In the cut-off region the transistor acts as an open-circuit between drain and source, in the linear region the relation between VDS and ID is almost ohmic, and in the saturation mode the current is – ideally – independent on VDS. The channel-length modulation effect prevents the current to be completely independent of VDS, so the λ term describes how the current changes with VDS during saturation. The constants Kn and Kp depend on the MOSFET material (oxide capacitance and charge mobility) and geometry (channel width W and length L). When developing a microelectronics circuit, the designer can use the W and L values to control the current equation. In circuit design, the gate-to-source voltage VGS is used to control the operation mode of the transistor.

PMOS vs NMOS Transistor Types

There are two types of MOSFETs: the NMOS and the PMOS. The difference between them is the construction: NMOS uses N-type doped semiconductors as source and drain and P-type as the substrate, whereas the PMOS is the opposite. This has several implications in the transistor functionality (Table 1). The most evident one is the drain current direction and the voltages polarity: the threshold voltage VTH, the VGS and the VDS are negative. Secondly, the charge carriers are not the same: NMOS uses electrons and PMOS uses holes as majority carriers. This greatly affects the K constant, resulting in several differences:

  • NMOS are faster than PMOS;
  • The ON resistance of a NMOS is almost half of a PMOS;
  • PMOS are less prone to noise;
  • NMOS transistors provide smaller footprint than PMOS for the same output current;

The NMOS is used more often due to its advantages, however many applications require the polarization characteristics of the PMOS. Also, in analog and digital microelectronics both NMOS and PMOS are widely used. Particularly, one of the most popular MOS structures applies both: the CMOS (complementary MOS). This structure (Figure 2) acts as a digital inverter: when the voltage VG is low, the NMOS turns off and the PMOS turns on, creating a low impedance path from the output to VCC, and when VG is high the NMOS turns on and the PMOS turns off, resulting in a low impedance path to ground. This ensures that the output pin is always connected to a stable and well defined voltage, which is essential for digital systems. Of course, both NMOS and PMOS should be designed to operate symmetrically.

在这里插入图片描述
Figure 2: The NMOS symbol, PMOS symbol and CMOS symbol

The Body-Effect

Although the transistor operation can be described by the gate, drain and source, the MOSFET is actually a 4-pin device. The fourth port is called body, and it is connected to the substrate of the transistor. If the voltage between the body and the source is different from zero, the transistor will suffer from the body-effect. The body-effect changes the threshold voltage VT and can be used to dynamically modify the properties of the transistor. However, it is usually considered an undesired effect, that occurs when the body node is not directly connected to the source voltage. For simplicity, every equation in this article considers VBS = 0 V, so the body-effect is nulled.

在这里插入图片描述
Figure 3: NMOS without and with body effect.

Construction and Physical Operation

MOS transistors are built on top of silicon wafers. This process uses semiconductor doping and oxide growth to create N-type, P-type and insulating regions in a layer-by-layer fashion. Geometric shapes are obtained via photolithography and chemical etching. A simplified illustration of the NMOS and PMOS cross-section can be seen in Figure 4.

在这里插入图片描述
Figure 4: NMOS and PMOS cross-sections

The drain and source regions are strongly doped with N-dopants (NMOS) or P-dopants (PMOS), and the substrate is doped with the opposite type (P-type for NMOS and N-type for PMOS). This alternation results in a depletion region that blocks any current between drain and source, which explains the cut-off region. The gate is connected to a thin layer of silicon dioxide, that insulates the gate connection from the substrate. When voltage is applied to the gate, the electric field attracts minority carriers to the region below the SiO2 layer. This is the “FET” (Field-Effect Transistor) part of the MOSFET. When enough charge is accumulated in that region, the minority carriers become the majority carriers, forming a channel with the same type as the drain and source (Figure 5). The gate-to-source voltage that results in channel inversion is the threshold voltage VTH. This is why NMOS require positive voltages (to attract electrons) and PMOS require negative voltages (to attract holes) for channel formation.

在这里插入图片描述
Figure 5: Channel formation and pinch-off in a NMOS transistor.

The channel presents ohmic resistance for a fixed VGS (linear operation mode) as long as VDS remains smaller than the VGS – VTH. After that, the charge concentration near the drain is nulled, and the channel becomes “pinched”. This is called channel pinch-off, and marks the division between the saturation and linear regions. As VDS increases, the pinch point moves and the effective length of the channel reduces, which results in the channel-length modulation effect discussed previously.

NMOS and PMOS Applications

It is difficult to cover every application of the NMOS and PMOS, as they can be used as active loads, voltage-controlled resistors, transimpedance amplifiers, current mirrors and even capacitors and diodes. Thus, we will focus on the most popular applications: voltage amplifiers and switches. However, the same reasoning used here can be applied to other cases.

Amplifier

Both NMOS and PMOS can be considered “voltage to current” converters, so one can design a voltage amplifier by simply adding a resistive load to the current output. However, in order to act as a proper current source, the drain current must be independent of the drain voltage (in other words, the output impedance should be really high). Therefore, to be used as a voltage amplifier, the MOSFET should operate inside the saturation region. Also, due to the highly non-linear nature of the current equations, the input signal should be kept small, to prevent non-linear effects. Circuit linearization techniques are available in the literature.

There are three main types of MOSFET amplifiers: the common-source, the common-drain and the common-gate. The difference between them is the role of each pin.

  • Common-Source: the gate is used as input, the source is connected to a fixed voltage and the drain is connected to a resistive load for amplification. The common-source is mainly used for high gains and high input impedance. However, the gain is negative, and the circuit is limited in frequency by the miller-effect.

  • Common-Gate: uses the source as input and the drain as output, while the gate is connected to a fixed voltage. In this amplifier, the input impedance is small because the signal is connected to the source. However, it eliminates the miller-effect, and therefore provides better bandwidth. Also, the gain is positive. It is typically used in high frequency applications and for current-to-voltage conversion.

  • Common-Drain: this amplifier connects the drain to a fixed voltage, uses the gate as input and the source as output. This topology is largely used in buffers, as it provides a stable and linear unit gain for the voltage.

在这里插入图片描述
Figure 6: Common-Source, Common-Drain and Common-Gate Amplifiers using NMOS.

The circuit design and analysis of these amplifiers can be done in three major steps:

  1. Select the topology according to the gain requirements and frequency characteristics of the design.
  2. Design a DC polarization circuit to provide a bias point to the transistor. This point can be designed using the equations from Table 1. The polarization must be selected in order to keep the transistor at the saturation point, while providing enough linearity and headroom for the output signal. The bias point will also determine the transconductance of the transistor.
  3. Using the small-signal linearized model of the MOSFET, design the circuit to provide the required gain, frequency behavior, input and output impedances, noise, etc.
Switch

A good switch can be defined by two characteristics: it provides a very large impedance if off and a very small impedance if on. If it fails to open the circuit, leakage currents will pass through and the signal path will become uncontrolled. If it fails to close, voltage drops will attenuate the signal and power losses will increase. MOSFETS are very good in both properties, as they provide very large impedance paths in the cut-off region, and very small series resistance in the linear region. Also, the command signal is isolated from the signal path, which simplifies significantly the control circuit. The low on resistance and high gate impedance are extremely desirable in switched-mode power converters, as they increase the efficiency significantly. Moreover, the small footprint of MOS switches escalates tremendously the density of logic ports inside one chip, which was fundamental for the digital boom in modern technology.

Both NMOS and PMOS transistors can be used as switches, and the application depends on the control signal and the current direction. In microelectronics applications, where the MOSFET dimensions can be modified, it is important to design the transistor to obtain a very low resistance point in the closed state, which can be done by modifying the W and L and the technology. Also, the parasitic capacitances should be minimized to prevent crosstalk through the transistor when in open state. Peak voltage, charge injection, maximum current and switching time are examples of parameters that should also be controlled. For applications using discrete MOSFETs, which is the case of most switched-mode power converters, the transistor switch should be selected considering all the above requirements, as well as heat dissipation and gate driving. There are several topologies of MOSFET switches. Figure 7 shows three different implementations: a simple NMOS switch, a transmission gate that allows bidirectional current and a CMOS digital inverter, that can be seen as a complementary switch.

在这里插入图片描述
Figure 7: NMOS switch, a transmission gate for bilateral switching and the CMOS inverter.

内容概要:本文档详细介绍了Android开发中内容提供者(ContentProvider)的使用方法及其在应用间数据共享的作用。首先解释了ContentProvider作为四大组件之一,能够为应用程序提供统一的数据访问接口,支持不同应用间的跨进程数据共享。接着阐述了ContentProvider的核心方法如onCreate、insert、delete、update、query和getType的具体功能与应用场景。文档还深入讲解了Uri的结构和作用,它是ContentProvider中用于定位资源的重要标识。此外,文档说明了如何通过ContentResolver在客户端应用中访问其他应用的数据,并介绍了Android 6.0及以上版本的运行时权限管理机制,包括权限检查、申请及处理用户的选择结果。最后,文档提供了具体的实例,如通过ContentProvider读写联系人信息、监听短信变化、使用FileProvider发送彩信和安装应用等。 适合人群:对Android开发有一定了解,尤其是希望深入理解应用间数据交互机制的开发者。 使用场景及目标:①掌握ContentProvider的基本概念和主要方法的应用;②学会使用Uri进行资源定位;③理解并实现ContentResolver访问其他应用的数据;④熟悉Android 6.0以后版本的权限管理流程;⑤掌握FileProvider在发送彩信和安装应用中的应用。 阅读建议:建议读者在学习过程中结合实际项目练习,特别是在理解和实现ContentProvider、ContentResolver以及权限管理相关代码时,多进行代码调试和测试,确保对每个知识点都有深刻的理解。
开发语言:Java 框架:SSM(Spring、Spring MVC、MyBatis) JDK版本:JDK 1.8 或以上 开发工具:Eclipse 或 IntelliJ IDEA Maven版本:Maven 3.3 或以上 数据库:MySQL 5.7 或以上 此压缩包包含了本毕业设计项目的完整内容,具体包括源代码、毕业论文以及演示PPT模板。 项目配置完成后即可运行,若需添加额外功能,可根据需求自行扩展。 运行条件 确保已安装 JDK 1.8 或更高版本,并正确配置 Java 环境变量。 使用 Eclipse 或 IntelliJ IDEA 打开项目,导入 Maven 依赖,确保依赖包下载完成。 配置数据库环境,确保 MySQL 服务正常运行,并导入项目中提供的数据库脚本。 在 IDE 中启动项目,确认所有服务正常运行。 主要功能简述: 用户管理:系统管理员负责管理所有用户信息,包括学生、任课老师、班主任、院系领导和学校领导的账号创建、权限分配等。 数据维护:管理员可以动态更新和维护系统所需的数据,如学生信息、课程安排、学年安排等,确保系统的正常运行。 系统配置:管理员可以对系统进行配置,如设置数据库连接参数、调整系统参数等,以满足不同的使用需求。 身份验证:系统采用用户名和密码进行身份验证,确保只有授权用户才能访问系统。不同用户类型(学生、任课老师、班主任、院系领导、学校领导、系统管理员)具有不同的操作权限。 权限控制:系统根据用户类型分配不同的操作权限,确保用户只能访问和操作其权限范围内的功能和数据。 数据安全:系统采取多种措施保障数据安全,如数据库加密、访问控制等,防止数据泄露和非法访问。 请假审批流程:系统支持请假申请的逐级审批,包括班主任审批和院系领导审批(针对超过三天的请假)。学生可以随时查看请假申请的审批进展情况。 请假记录管理:系统记录学生的所有请假记录,包括请假时间、原因、审批状态及审批意见等,供学生和审批人员查询。 学生在线请假:学生可以通过系统在线填写请假申请,包括请假的起止日期和请假原因,并提交给班主任审批。超过三天的请假需经班主任审批后,再由院系领导审批。 出勤信息记录:任课老师可以在线记录学生的上课出勤情况,包括迟到、早退、旷课和请假等状态。 出勤信息查询:学生、任课老师、班主任、院系领导和学校领导均可根据权限查看不同范围的学生上课出勤信息。学生可以查看自己所有学年的出勤信息,任课老师可以查看所教班级的出勤信息,班主任和院系领导可以查看本班或本院系的出勤信息,学校领导可以查看全校的出勤信息。 出勤统计与分析:系统提供出勤统计功能,可以按班级、学期等条件统计学生的出勤情况,帮助管理人员了解学生的出勤状况
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值