2 Diodes and Transistors

The electronics in personal computers, mobile phones, electric toothbrushes, and like all other digital companions, are based on transistor circuits. In introduction_to_digital_systems it has already been explained that all logic circuits can be traced back to NAND and NOR gates, respectively, via conjunctive and disjunctive normal forms. These in turn consist of transistors. In the simulation below, the structure of a NAND gate is shown in the current CMOS structure. CMOS here indicates the structure of the circuit and semiconductor structure: Complementary metal-oxide-semiconductor - an oppositely complementary circuit of semiconductors of the metal-oxide-semiconductor structure. The complementary structure is shown by the fact that.

  • from the digital output ($OUT2$) to ground two transistors of one kind are connected in series and
  • from the digital output ($OUT2$) to the $5~\rm V$ supply, two transistors of a different type are connected in parallel.

These two different kinds of MOS-transistors and further used kinds shall be explained in this chapter.

Learning Objectives the bipolar transistor

By the end of this section, you will be able to:

  1. Know what types of bipolar transistors there are, and what their layer structure and circuit symbol look like.
  2. Know how the two types of bipolar transistors are controlled.
  3. Know what are the main characteristics of the bipolar transistor and what they look like.

Learning Objectives for the field-effect transistor

By the end of this section, you will be able to:

  1. Know what types of MOSFETs there are, and what their layer structure and circuit symbol look like.
  2. Know what the output characteristics of the MOSFET look like.
  3. know what the body diode is and where it comes from.
  4. know what to look for in the output characteristics when designing a semiconductor element.

A variable resistor can be developed from the diode or PN junction. With this controlled transition resistor („transfer resistor“ or better transistor) the resistance can be changed by a current and thus the current let through can be adjusted.

Video-Transcript (Alternative to the explanation in the video)

As just described, the bipolar junction transistor (BJT) is built by a three-layer alternately doped layer structure, which corresponds to two diodes opposite and connected in series. Depending on the layer sequence (or „direction of the diodes“), PNP or NPN transistors result, represented by different circuit symbols with three terminals (see Abbildung 1).

Abb. 1: Switching sign and simplified structure of NPN and PNP bipolar junction transistors circuit_design:bipolartransistor_npn_oder_pnp_struktur.svg

In both transistor variants, charge carriers are emitted from the emitter terminal (E) toward the collector terminal (C) if a suitable current flows through the base terminal (B). In simplified terms, the negative charge carriers of the n-doped sides could represent a current through an NPN structure if negative charge carriers were also present in the P-doped layer. The current $I_\rm C$ flowing with it in the technical current direction is illustrated in the circuit symbol by the arrow direction at the emitter. In the NPN transistor, the current $I_\rm C$ flows from the collector to the emitter. Since positive charge carriers enable conductivity in the PNP transistor, the technical current direction here points from the emitter to the collector, and the arrow on the emitter points towards the collector. The direction of the arrow is similar to the direction of the diode or the PN junction. Other mnemonic devices for the direction of the arrow are:

  • PNP: arrow Points iN Proudly
  • NPN: arrow Not Pointing iN

The following simulation shows the correct connection of the transistors. In general, the arrow of the symbol of the technical current direction must point at the correct interconnection. The base current $I_\rm C$ is almost always generated in the circuits by a voltage source between base and emitter with a voltage $U_{\rm BE}$. In this case, a positive voltage concerning the emitter is required for the NPN transistor and a negative voltage concerning the emitter is required for the PNP transistor. In practical applications, the NPN transistors predominate, among other things because the negative charge carriers used there produce a higher conductivity. For the following explanations, only NPN transistors are considered.

A central question that arises from a closer look at the simulation is: Why does a technical current flow into the base? I.e. Why does a flow of positive charge carriers has to be supplied into the P-layer of the NPN transistor? Wouldn't it be more plausible that negative charge carriers have to be supplied, since these are not present in the P-layer and are needed for transport?

To understand this, knowledge of the PN junction is needed. In the figure Abbildung 2, the structure of the NPN transistor is shown in the band model. In the N-doped collector and emitter, the free-moving negative charge carriers (darker spots) and stationary positive charge carriers (green circles) are drawn, and in the base, correspondingly, the free-moving positive charge carriers (brighter spots) and stationary negative charge carriers (red circles). Both PN-junctions have formed a junction. A positive voltage $U_{\rm CE}$ is applied to the transistor, which cannot generate any current flow in the situation shown. Due to the positive voltage $U_{\rm CE}$ and the missing potential at the base, the voltage $U_{\rm BE}$ decreases, which leads to a reduction of the junction. In contrast, the voltage $U_{\rm CB} = U_{\rm CE} -U_{\rm BE}$ increases. Thus, the junction between the base and the collector becomes larger. When the external voltage $U_{\rm CE}$ is varied, there will always be at least one PN junction that is reverse biased, i.e. the transistor will block.

Abb. 2: Transistor in band model circuit_design:bandmodeltransistor.svg

To deplete the junction between the collector and the base, the latter must be connected in the forward direction. Switching the transistor takes several steps, which are described below via Abbildung 3:

Abb. 3: function of NPN bipolar junction transistor circuit_design:funktion_des_bipolartransistor2.svg

  1. Figure: The physics of this takes place in the narrow P-layer. The following images refer to the highlighted section.
  2. Figure - Situation $U_{\rm CE}=0~{\rm V}, U_{\rm BE}=0 ~\rm V$: In this picture the unpowered transistor is shown. In it the free charge carriers (electrons in green, holes in red) and the junction layers between base and emitter, and base and collector in yellow. Only the junction layer shows the stationary charge carriers with their sign. As shown in the band model, the stationary charge carriers are present everywhere in both doped regions.
  3. Figure - Situation $U_{\rm CE}=0~{\rm V}, 0~{\rm V}<U_{\rm BE}<0.6~\rm V$: First, consider a small, positive voltage $U_{\rm BE}$. This provides holes in the base with current $I_\rm B$. This operates the PN junction between the base and emitter in the forward direction. In the figure, it is indicated with black circles that the injected holes compensate some stationary negative charge carriers in both junction layers. Electrons also flow through the emitter into the n-region, which attenuates the junction on the other side.
  4. Figure - Situation $U_{\rm CE}=0~{\rm V}, U_{\rm BE}>0.6 \rm V$: When the forward voltage of the PN junction between the base and emitter is exceeded, the injected holes and electrons cancel the bottom junction. In the simulation below, it can be seen that the circuitry of the transistor is such that in the diode circuit (which is not physically correct), the diode between the base and emitter becomes conductive.
  5. Figure - Situation $U_{\rm CE}>0~{\rm V}, U_{\rm BE}>0.6~\rm V$: Now with this voltage at the base, the working circuit, i.e. a voltage $U_{\rm BE}>0$ should be present at the output. In the real system, the base is very small compared to the mean free path length of the electrons („path to recombination with a hole“). This changes the situation at the upper PN junction. In a classical diode, no electrons are present in the P-doped region. However, the electrons present here can cross the base and compensate for the stationary positive charge carriers in the upper junction. The holes injected into the base in turn compensate for the stationary negative charge carriers. Thus, this junction layer is also removed. This is possible as long as enough holes are injected into the base.
  6. Figure - Situation $U_{\rm CE}>0~{\rm V}, U_{\rm BE}>0.6~\rm V$: Thus, in the NPN bipolar junction transistor, both holes (to remove the junction layers) and electrons (as the „main agents“ responsible for charge transport, the so-called majority carrier charges) contribute to the conductivity. This is where the name bipolar junction transistor comes from.

The simulation shows the simplified model of the opposing diodes. The necessary input current $I_\rm C$ and the corresponding input voltage $U_{\rm BE}$ resemble the ratios of the diode between base and emitter. In Abbildung 4 the principle of operation is shown. The current $I_\rm B$ across the diode between base and emitter regulates the current $I_\rm C$ in the working circuit. This regulation is done by the variable resistor $R_{\rm CE}$.

jbt_funktionsweise.jpgAbb. 4: function of NPN bipolar junction transistor

In the previous chapter 1 Amplifier basics the characteristics of a black box have already been discussed, there, especially for an amplifier. The methodology can also be applied here. In the video above, the first parameter has already been described: The current gain $\beta=\frac{I_\rm C}{I_\rm B}$, or in the form of a graph, the current gain characteristic $I_{\rm C}(I_\rm B)$.1).

Another characteristic is the input characteristic $U_{\rm BE}({I_\rm B})$ or as differential characteristic (=slope in the characteristic) the differential input resistance $r_{\rm BE}=\frac{{\rm d} U_{\rm BE}}{{\rm d} I_\rm B}$. As described earlier, the structure between the base and emitter resembles a diode. Accordingly, the input characteristic resembles that of a diode. Since the current flow $I_\rm B$ is very small (a few microamps or smaller), the input resistance $r_{\rm BE}$ is large.

The following simulation shows the current gain characteristic $I_{\rm C}(I_{\rm B})$ and input characteristic $U_{\rm BE}({I_\rm B})$ by varying $U_{\rm BE}$ (or $I_\rm B$).

For the description of the transistor, the output characteristics $U_{\rm CE}({I_\rm C})$ and the differential collector-emitter resistance $r_{\rm CE}=\frac{U_{\rm CE}}{I_\rm C}$ present in it as a slope is particularly important. This can be seen in the following simulation for different input voltages $U_{\rm BE}$ (and thus different control currents $I_\rm B$). The output characteristics can be divided into different ranges:

  1. cut off region: at low input voltages $U_{\rm BE}< 600~\rm mV$, the junction is not degraded. Accordingly, the entire transistor becomes non-conducting. In the output characteristics, this can be seen by the fact that when the output voltage $U_{\rm CE}$ is positive, the output current $I_\rm C$ becomes very small. In this case, the transistor on the output side corresponds to a high-impedance resistor or an open switch.
  2. Gain region (or active region): at larger input voltages $U_{\rm BE}> 600~\rm mV$, the junction is degraded. In the gain region, the output characteristic behaves as a straight line. The output current $I_\rm C$ is thus only dependent on $I_\rm B$, as defined by the current gain $\beta=I_{\rm C}/I_{\rm B}$.
  3. Saturation region: The saturation region is found at larger input voltages $U_{\rm BE}> 600~\rm mV$ and only small output voltage $U_{\rm CE}$. At constant input voltage $U_{\rm BE}$ the output voltage behaves to the output current like a high non-linear resistor. in this case, the transistor on the output side corresponds to a low-impedance resistor or a conducting switch.

In the datasheet, a different nomenclature is occasionally found, resulting from the so-called H-characteristic of quadrupole theory2):

  • current gain $h_{\rm fe}=\beta (I_{\rm C}, U_{\rm CE})=\frac{I_\rm C} {I_\rm B}$
  • input resistance $h_{\rm ie}=r_{\rm BE}(I_{\rm C}, U_{\rm CE})=\frac{U_{\rm BE}}{I_\rm B}$
  • output resistance $h_{\rm oe}=r_{\rm CE}(I_{\rm B}, U_{\rm BE})=\frac{U_{\rm CE}}{I_\rm C}$

The bipolar junction transistor is used where a low threshold voltage or current amplifier is required. This is advantageous in various amplifier circuits, for example. Bipolar junction transistors are also found in some simple power supplies. The most common bipolar junction transistor circuit is the so-called collector circuit. This is characterized by the fact that a constant voltage - the supply voltage - is applied to the collector. Several collector circuits can be operated by a common voltage supply. This means that the same voltage is applied to all collector connections. Because of the wide use that bipolar junction transistors have had, even today the common voltage supply of electronic circuits is called $V_{\rm CC}$, where $\rm CC$ stands for Common Collector. This is often seen even when bipolar junction transistors are no longer used.

A major disadvantage of the bipolar junction transistor is that a control current is required for switching. Especially in digital circuits, but also in power electronics, this results in a non-negligible input power $P=U_{\rm BE}\cdot I_\rm B$. This leads to losses and waste heat, which must be taken into account in the power supply and thermal design. For this reason, bipolar junction transistors are no longer used in current microcontrollers. In these fields, the bipolar junction transistor has been displaced by the field-effect transistor.

Note: Bipolar junction transistors

There are 2 different types of bipolar junction transistors. These differ in the type of layer structure, or majority carrier charges:

  • NPN bipolar junction transistors: Major conduction occurs via electrons from the emitter to the collector. These electrons cannot pass through the P-doped region without current $I_\rm B$ injected in the base. By this current $I_\rm B>0$ holes are introduced into the base, which removes the junction layers.
  • PNP bipolar transistors: Major conduction occurs via holes from the emitter to the collector. These holes cannot pass through the N-doped region without current $I_\rm B$ injected in the base. By this current $I_\rm B<0$ electrons are introduced into the base, which removes the junction layers.

In the bipolar junction transistor, both types of charge carriers are involved in the transport.

A field effect transistor (FET) also consists of two diodes connected against each other, which have a common N- or P-layer. However, the conductivity of the field-effect transistor is not generated by applying a control-current, but solely by a control-voltage. In the case of the bipolar junction transistor, the control current was also generated by a control voltage. However, the control current must flow continuously to drive the bipolar junction transistor, since the charge carriers introduced via the base recombine internally.

In Abbildung 5 a special field-effect transistor is drawn the so-called „metal-oxide-semiconductor field-effect transistor“. This will be explained in more detail below. The Abbildung 6 outlines the principle of operation: the control voltage $U_{\rm GS}$ (in English often as $V_{\rm GS}$) regulates the current $I_\rm D$ in the working circuit. This is done by the resistance $R_{\rm DS}$ between $\rm D$rain and $\rm S$ource.

Abb. 5: FET circuit symbols circuit_design:fet_prinzip.svg

To distinguish the transistor types, and to emphasize the physics behind them, the terminals are labeled differently for the field-effect transistor:

  • (S) Source: Terminal from which the charge carriers pass through the transistor (roughly corresponds to the emitter).
  • (G) Gate: Terminal at which a voltage can be used to change the conductivity (roughly corresponds to the base, with control currents being injected there).
  • (D) Drain: Terminal at which the charge carriers arrive and leave the transistor (corresponds approximately to the collector).

In addition, there is the „Bulk“ (B) in the structure, which refers to the basic substrate of the transistor. This is usually not led out separately but shorted to the source terminal. In some FETs, the bulk is represented by the middle connection.

mosfet-front-final-test_jpg_project-body.jpgAbb. 6: Function of the MOSFET

In the following simulation, you can see that the field-effect transistor behaves much like a switch, which is controlled by a voltage. No current seems to flow on the gate, but when the voltage on the gate changes, the behavior changes from „conductive“ to „open“.

The structure of the metal oxide semiconductor field-effect transistor (Metal Oxide Semiconductor Field-Effect Transistor: MOSFET) resembles the bipolar junction transistor at first glance. In Abbildung 7, the individual figures (1)…(3) show the layering of an N-channel (German: N-Kanal) MOSFET, and in (4) the circuit symbol is shown again. In contrast to the NPN-bipolar junction transistor, the middle P-doped layer (bulk) is not directly connected to the control electrode. Rather, the metal layer of the gate (Abbildung 7, Fig. (5), gray), the insulating layer of the oxide (shown in purple), and the conductive P-doped layer of the bulk (shown in red) form a capacitor. It should be noted that the bulk is at the potential of the source connection (dotted line in the picture).

Abb. 7: MOSFET layering circuit_design:mosfet_pinch_off.svg

Without voltage difference, $U_{\rm GS}$ between gate and source, a (small) junction is formed at the PN junctions. If the voltage difference $U_{\rm GS}$ is increased, the capacitor between the gate and bulk is charged. This accumulates electrons opposite the gate electrode (Abbildung 7, Fig. (2), green „wedge“). If the voltage difference $U_{\rm GS}$ exceeds a certain threshold voltage, the enriched electrons form a channel between the source and the gate. This allows a current $I_\rm D \gg 0$ to flow through the MOSFET (Abbildung 7 Fig. (3)).

The switching symbol (Abbildung 7, figure (4)) can also be described as follows: Capacitors form between gate and source, between gate and base, and between gate and drain, respectively, in the off state because of the oxide layer (purple in Fig. (1))3). To drive the MOSFET, the voltage at the gate $U_{\rm GS}$ must be such that a PN junction forms in the bulk, indicated by the white-filled triangle in figure (4). Since the apex of the triangle (or the diode symbol sketched with it) points toward the gate, it is clear that we are dealing with an N-channel MOSFET.

In the simulation, the same voltage ratios are shown as in Abbildung 7 (1)…(3). The toggle switch on the left makes it possible to invert the voltage $U_{\rm DS}$ across the transistor. If this becomes negative, a slightly different situation arises: The MOSFET appears to become conductive regardless of what voltage $U_{\rm GS}$ assumes. This is because another diode has been hidden in the layer structure: a junction has formed between the bulk (p) and drain (n), which is operated at $U_{\rm DS}<0$ and with the bulk and source connected in the forward direction. This so-called body diode is explicitly built into the simulation at (3b).

The output characteristic $U_{\rm DS}({I_\rm D})$ is also to be considered for the MOSFET. This is also similar to the bipolar junction transistor, but now the different characteristics are adjustable by different control voltages $U_{\rm GS}$ and not by a control current.

Unfortunately, the naming of the different operating ranges of a MOSFET differs from that of the bipolar junction transistor:

  1. Cut-Off region: at low input voltages $U_{\rm GS}$, no channel can be formed. Accordingly, the entire transistor becomes nonconducting. In the output, the characteristic is can be seen by the fact that at positive output voltage $U_{\rm DS}$ the output current $I_\rm D$ becomes very small. In this case, the transistor corresponds to a high-impedance resistor, or an open switch, on the output side.
  2. Saturation region: for larger input voltages $U_{\rm GS}> U_{\rm th}$ above a threshold, a conductive channel is formed. In the saturation region, the output characteristic behaves like a straight line. The output current $I_\rm D$ is thus only dependent on $U_{\rm GS}$.
  3. linear region (active region): The linear region is found at larger input voltages $U_{\rm GS}> U_{\rm th}$ and only small output voltage $U_{\rm DS}$. At constant input voltage $U_{\rm GS}$, the output voltage to output current behaves like a high non-linear resistor. In this case, the transistor on the output side corresponds to a low-impedance resistor or a conducting switch.

It should be noted that the saturation region for MOSFET and bipolar junction transistors characterizes different operating ranges.

The so far considered (and also most frequently used) field-effect transistor is the so-called „N-channel enhancement type MOSFET“. The part „N-channel“ comes from the type of the current-forming charge carrier and was already given above. The part „enhancement type“ represents, that the charge carriers are not present at first and have to be accumulated in the bulk using the voltage $U_{\rm GS}$ for conductivity.

Some circuits (especially digital circuits) also use „P-channel enhancement type MOSFET“, where holes are the current-forming charge carriers. In the simulation, this type of MOSFET is shown. Most clearly, when the P-channel enhancement type MOSFET is connected, the drain and source are generally reversed. Thus, the numerical values of $U_{\rm DS}$ and $I_\rm D$ in the output characteristics become negative. To enrich holes in the P-channel, a negative voltage must be applied to the gate $U_{\rm DS}<0$.

In the Abbildung 8 the circuit symbols of different variants of MOSFETs are shown. In the MOSFETs in the top row, an N-channel is formed for charge transport, and in the bottom row, a P-channel is formed.


Abb. 8: FET circuit symbols circuit_design:fet_schaltsymbol.svg

Three variations of an N-channel enhancement type MOSFET are shown in Abbildung 8 in the upper left. In the first circuit symbol, the circle represents that it is a discrete device, i.e., a single MOSFET not integrated with others in a chip. The second circuit symbol has already been used in the previous chapters. The third circuit symbol of the same N-channel enhancement type MOSFET is the reduced version (i.e., without bulk). This representation is used for simplification in digital circuits.

In Abbildung 8 on the lower left, three variations of a P-channel enhancement type MOSFET are shown. Again, the circle on the first circuit symbol indicates that it is a discrete device, but now the direction of the arrow on the bulk is rotated. The second switching symbol is used in the same way as for the N-channel MOSFET - in integrated circuits. The third symbol is again the reduced version (without bulk). For the digital circuit, it is only important whether the switch closes or opens at a high signal ($= 5~\rm V$). Since the P-channel enhancement type MOSFET opens, this is drawn with a negation sign (small circle) at the gate.

In Abbildung 8 on the right, the so-called N-channel and P-channel depletion-type MOSFET are shown. The MOSFETs considered so far were not conductive in the off state (i.e. $U_{\rm DS}=0$). However, in some applications, it would be good if the MOSFET resembled a conductive switch when off. Looking at the layer structure (Abbildung 7, Figure (1)…(3)), this is possible via selective re-doping of the region opposite the gate. The doping can be used to dislocate a conductive channel. The charge carriers of this channel can be displaced or depleted by a suitable electric field - and thus suitable gate voltage $U_{\rm GS}$. Thus, the MOSFET becomes non-conducting in the presence of a reverse voltage $U_{\rm GS}$. In the circuit symbol, the „short circuit“ between the source and drain is also drawn pictorially.

Remember: MOSFETs

There are 4 different types of MOSFETs. On the one hand, these differ in the type of current-forming charge carriers:

  • N-channel: The current-forming charge carriers are electrons.
  • P-channel: The current-forming charge carriers are holes.

The second distinguishing feature is the off-state conductivity ($U_{\rm GS}=0$):

  • enhancement type: When the gate voltage is $U_{\rm GS}=0$, no conductive channel is present. Only by charging the gate bulk capacitor, the channel is formed or the carriers are enriched.
  • depletion type: At a gate voltage of $U_{\rm GS}=0$, a conductive channel is present. By charging the gate bulk capacitor, the channel is reduced or the charge carriers are displaced („depleted“).

In the field-effect transistor, the electric field of the gate-bulk capacitor enriches or depletes only those charge carriers that contribute to charge transport.

For all transistors and diodes, various limit values must be observed for the circuit design. These can be entered directly in the output characteristics (Abbildung 9, above). Due to the heating of the component and the resulting increase in intrinsic conduction, two limit values result:

  • In the conducting state, the power dissipation $P_{\rm loss}=R(T)\cdot I^2$ forms a direct reference to the current through the semiconductor element $I_{\rm C}, I_{\rm D}, I_{\rm D}$ (bipolar junction transistor, MOSFET, diode). This results in current $I_{\rm max}$, which should not be exceeded.
  • In the state where there is both a noticeable current and voltage, there is a maximum allowed power $P_{\rm tot}={\rm const.}=U\cdot I$. This is a hyperbola in the output characteristic. If the output current exceeds this hyperbola, the semiconductor element heats up to such an extent that, due to the increasing intrinsic conductivity, the conductivity drops, which in turn leads to an increasing current. This effect leads to the thermal destruction of the component.

In addition, a maximum voltage $U_{\rm max}$ must not be exceeded. This is usually due to the (internal) dielectric strength of the component.

Abb. 9: operating area of semiconductor elements circuit_design:arbeitsbereich_von_halbleiterelementen.svg

These limits are especially important if, for example, a MOSFET is to be used as a switch (example: Abbildung 9, below). In this case, there are two states:

  • Switch is conductive: a low voltage $U_{\rm DS}$ is applied, at which a large current $I_{\rm D}<I_{\rm max}$ flows.
  • Switch is non-conductive: A high voltage $U_{\rm DS}<U_{\rm max}$ is applied, at which no current flows.

When switching from „conductive“ to „non-conductive“, even if the individual current and voltage limits are taken into account, this can destroy the switch. In Abbildung 9, this case can be seen in the diagram below. Current flow $I_\rm D$ is initially maintained (or is only small), although voltage $U_{\rm DS}$ increases (blue line). In this case, $P_{\rm tot}$ may be exceeded and the MOSFET is destroyed due to thermal overload.

To speed up the switching process (especially for power MOSFETs, e.g. for motor drivers), so-called driver circuits generate the voltage $U_{\rm GS}$. With these driver circuits, the control voltage can be made available and reset very quickly. For this purpose, currents in the range of several amperes must be provided for a short time for charging and discharging the gate capacitor.

Remember: Maximum output values of a semiconductor element

For each semiconductor element, there are three maximum values to consider at the output:

  • a maximum voltage limit $U_{\rm max}$,
  • a maximum current limit $I_{\rm max}$,
  • a maximum power limit $P_{\rm tot}=U \cdot I$

The Darlington circuit or the Darlington transistor (as a discrete element) is a simple construction, which makes it possible to control the output voltage $U_{\rm BE}$ with a considerably lower base current $I_\rm B$. In the simulation is the Darlington circuit compared to a simple bipolar junction transistor. Details can be found in Wikipedia under Darlington circuit.

The operational amplifier as an „almost ideal“ differential voltage amplifier represents a central component of electronic circuit technology from the next chapter on. In the chapter basics to amplifiers - feedback an ideal differential voltage amplifier was already used. In the simulation, the core of the differential voltage amplifier is simplified. Accordingly, there is no differential voltage at the input, but a small sinusoidal voltage. This is first applied to the base of the first bipolar junction transistor, which is a high-impedance input amplifier stage. The current $I_\rm C$ regulated by this in turn leads to a base of another bipolar junction transistor and then to the output amplifier stage. In the simulation, this setup achieves a differential gain of about $A_\rm D=10'000'000$. In real differential amplifiers, this is more in the range $A_\rm D ≈100'000$. Details can be found in Wikipedia under operational amplifier.

Just about all consumer electronics products have field-effect transistors at their core. In detail, this is based on CMOS technology (CMOS: Complementary metal-oxide-semiconductor) is used. The MOSFETs on the ground side and the MOSFETs on the power supply side behave in opposite ways, i.e. complementary. The simulation shows the simplest gate, the NOT gate. Another gate was considered in an introductory way.

Many chips (such as microcontrollers) can be destroyed by an incorrectly polarized power supply. Battery-powered electronics should have an active protection circuit for this. A diode is not practical for the power supply (why?). Instead, a MOSFET can be used, which does not pass negative voltages. Details are well explained on the page of Lothar Miller.

During electronics development, several integrated circuits (e.g. intelligent light sensor, microcontroller, intelligent LED) may require different voltage levels. This can lead to problems especially during data exchange if logic High has to be in a certain voltage range. This problem can be solved by a level converter. The level converter (also logic level converter, level shifter) enables the bidirectional connection of digital connections of different voltage levels, e.g. $5 ~\rm V$ to $3.3 ~\rm V$.

For the level converter, any N-channel enhancement MOSFET whose threshold voltage is below $1.8...2.0 ~\rm V$ can be used. This limit is due to the minimum logic level of $2.0 ~\rm V$ for logic high. For simplicity, „logic level enhancement mode MOSFET“ is used, which is just optimized for the logic voltage of $3.3 ~\rm V$.

The way it works is well explained on Wikipedia and can be derived with simulation.

As a power supply for electronics, $5 ~\rm V$ or $3.3 ~\rm V$ is often used. In the following chapter, we will see that a bipolar power supply is often used for operational amplifier circuits. To be able to generate $-5 ~\rm V$ at low currents from a $5 ~\rm V$ supply, charge pumps are often used. One such can be seen in the simulation. In the oscilloscope (in the simulation below), the voltage $U_{\rm C1}$ is displayed at the input capacitor $C1$ and $U_{\rm C2}$ at the storage capacitor C1. This circuit can be found, for example, in IC ICL7660 (Renesas), LMC7660 (TI), TC7660 (Microchip) integrated. Details on how it works can be found in this video, for example.

Study Questions:

  • In which state is the voltage $U_{\rm C1}$ equal to $1 ~\rm V$?
  • In which state is the difference between the voltages $U_{\rm C2}-U_{\rm C1}$ across the two capacitors equal to $1 ~\rm V$?
  • What happens if the voltage sources for $0 ~\rm V$ and $1 ~\rm V$ are reversed?
  • How can this circuit be implemented with diodes instead of changeover switches?

In some microcontrollers, a negative voltage is required internally (e.g. for operational amplifiers). Since this voltage is not supplied externally, the microcontroller must provide it via an internal circuit. The simulation shows a circuit that can be integrated into a microcontroller in this way. The ring oscillator generates a high-frequency clock signal, which drives an inverter stage (logical NOT gate). The charge can then be shoveled down via the two capacitors in such a way that the capacitor provides a negative voltage at the output. For more information, see Wikipedia under charge pump and „Inside the 8087's substrate bias circuit“.

In many applications, current and voltage must be controlled independently of each other. This is the case, for example, with a motor (= ohmic-inductive load). There, the current is essentially proportional to the torque and the voltage to the speed. If voltage and current are to be output bipolar (or in the application: Torque and speed are to be controlled in both directions), a four-quadrant controller made of transistors is suitable. In modern integrated circuits, these are made of MOSFETs, directly equipped with the MOSFET driver, and several four-quadrant controllers can be found next to each other (e.g. the stepper motor driver DRV8835). Details can be found on Wikipedia under four-quadrant actuators.

Diodes always show a voltage drop given by the forward voltage. To circumvent this issue a MOSFET can be used.
The following example shows one way to cope with it, when two voltage sources should be combined (e.g. a rechargeable battery with $U_1$ and a nonrechargable buffer battery with $U_2$):

  • The left side depicts a way to combine the two voltages with diodes. The higher voltages will be led through the diode. The diode of the lower voltage is set in reverse, since the cathode of the diode is on the higher voltage
    The disadvantages of this setup are:
    • One cannot choose the voltage on the output. It will be always given by the highest voltage.
    • There will always be the voltage drop of the diode
  • The right side shows an alternative way to connect both voltages: the antiparallel p-MOSFETs avoid conductivity via the due to the body diode. The MOSFET pair is driven by a BJT in order to have a digital signal as an input.
    The disadvantages of this setup are:
    • It is possible to short-circuit both voltages
    • It is more complex

Often the rightside one can be simplified and the disadvantages can be avoided by using integrated circuits (like LTC4417)

MOSFETs are not only used for pure switching of currents. Further applications are also:

  1. as a display element in TFT screens (TFT ... Thin Film Transistor).
  2. as memory element e.g. in SD cards Floating Gate Transistor, or also new approaches, like Ferroelectric_Random_Access_Memory)
  3. as an integrated „upstream“ element for power bipolar junction transistors, especially in the Bipolar_transistor_with_insulated_gate_electrode (IGBT)
  4. as a chemical sensor for various materials (see Chemical_sensitive_field_effect_transistor)
  5. as a link between photonics/optoelectronics and classical electronics

Exercises

Exercise 2.8.1 Current/Voltage/Power limitations

Imagine you work at the company „mechatronics and robotics“ and you try to build an IoT device for vehicles.
This device shall use the power of the $12 ~\rm V$-battery of the vehicle to send regular information over Wifi. The Wifi IC needs $3.3 ~\rm V$ supply voltage and drains up to $800 ~\rm mA$ when sending signals.

To get the supply voltage a linear regulator shall be used. In detail, you want to use the LM317 regulator. A linear regulator acts as a regulated shunt resistor, which regulates its voltage drop to have a fixed output value. The output value can be regulated with a voltage divider.

  1. Investigate the LM317 datasheet in order to find out, whether the LM317 is suitable for the operating conditions:
    1. input voltage $V_{\rm I,max}=14 ~\rm V$,
    2. output voltage $V_{\rm O} =3.3 ~\rm V$ and
    3. output current $I_{\rm O} =0.8 ~\rm A$.
  2. When the linear regulator acts as a shunt resistor, how can the power loss $P_{\rm loss}$ be calculated?
  3. With the power loss $P_{\rm loss}$ the temperature of the IC will rise. The power loss takes place within the junction. This creates a temperature drop $T_{\rm Jx}$ between the junction and surrounding. The IC will get soldered onto a PCB, and therefore the temperature drop $T_{\rm JB}$ between junction and board is most important. These temperature drop can be calculated by: $\Delta T_{\rm JB}= T_{\rm J} - T_{\rm B} =R_{\theta \rm JB}\cdot P_{\rm loss}$, where $R_{\theta \rm JB}$ is the junction-to-board thermal resistance.
    1. Search for the thermal information of the LM317 in the datasheet and calculate the maximum temperatures of the junction $T_{\rm J}$, when the temperature of the board $T_{\rm B}$ is $30 ~\rm °C$.
    2. Which package of the IC can be used, when the operating virtual junction temperature $T_\rm J$ in the recommended operating conditions shall not be exceeded?

Exercise 2.10.1 beta factor on BJT

  1. A bipolar junction transistor shows with a load the collector current $I_\rm C = 398 ~\rm mA$ and the base current $I_\rm B= 2 ~\rm mA$. What is the value of the current gain $\beta$?
  2. A quite common BJT is the BC847, which can be bought from multiple suppliers. Given the datasheet from BC847 - Nexperia, what is the needed base current $I_\rm B$, when a collector current of $I_\rm C=2 ~\rm mA$ shall be driven? Calculate $I_\rm B$ for all 3 groups of BC847 transistors in the datasheet.

Exercise 2.10.2 Voltage calculation

Given is the circuit shown in the simulation below.

  1. For the first situation the base current is given with $I_ \rm B=50 ~\rm µA$, and the current gain $\beta=150$.
    Calculate the voltage drop $U_\rm L$ on the load $R_\rm L$ and $U_{\rm CE}$.
  2. For the second situation, the base current of $I_\rm B=250 ~\rm µA$ is needed.
    1. In order to do so: calculate first $U_{\rm BE}$ of the first situation. $U_{\rm BE}$ is assumed to be constant.
    2. Calculate the correct value of $R$.
    3. Run the simulation and set $R$ to the calculated value. Try to measure $\beta$. Why is it not $150$ anymore?

Exercise 2.10.3 Low Side Switch and High Side Switch

Given is the circuit shown in the simulation below. The transistor is called either a „High Side Switch“ or a „Low Side Switch“, depending on the voltage which is directly connected to it. In the depicted circuits each transistor drives a load resistor of $10 ~\Omega$. The input to the base/gate is a logic signal with $0 ~\rm V$ and $5 ~\rm V$ as a voltage level.

  1. Explain the advantages of the MOSFET compared to the BJT based on this application.
  2. Change the voltage $VCC$ from $5 ~\rm V$ to $15 ~\rm V$, with the switch on the lower left corner. Are the transistors still able to switch in all configurations?
  3. How can the problem be solved? Try to combine the BJT low-side switch as a driver with the FET high-side switch.

Exercise 2.10.4 Simple Temperature Detector

Given is the circuit shown in the simulation below. $R_2$ is an NTC resistor, which is used to detect the rise over a threshold temperature.

  1. At first, the series resistor in front of the LED has to be calculated. For this, the voltage drop $U_{\rm CE}$ of the BJT can be neglected. The given LED lights are bright for about $10 ~\rm mA$ (lighting starts for about $1 ~\rm mA$). The supply voltage is $U_\rm S=5.0 ~\rm V$ and the forward voltage of the LED is $U_{\rm LED}=1.7 ~\rm V$.
    1. What is the ideal value of $R_ \rm D$?
    2. The value in the simulation is not correct. Which effect does this have?
  2. At second, the system shall be designed for a temperature threshold of $T_0=50 ~\rm °C$.
    1. The $R(T)$-characteristic the NTC $R_2$ is shown in the diagram below. What is the value of $R_2(T_0)$?
    2. The BJT is conducting for $U_{\rm BC}=0.6 ~\rm V$. What is the correct value for $R_1$?

circuit_design:diagramtemperaturesensor.svg

for self-study

  • Describe the function of a transistor.
    • Sketch the layered structure of a bipolar junction transistor. Explain the switching through of a PNP bipolar junction transistor with the help of the sketch drawn.
    • Draw the simplified diode equivalent circuit of an NPN transistor and describe the working.
  • Explain the difference between a PNP and NPN transistor.
    • Draw a circuit each with the respective switch connected to $U+ = 5~\rm V$ and ground in such a way that switching through is possible with a voltage between U+ and ground at the base.
    • Name the respective connections of the transistors in the drawing.
    • What voltage must be applied to the base in each case for the transistor to switch through?
    • How should the sign of the control current be chosen in each case?
    • In what size range is a typical current gain?
  • Current-controlled and voltage-controlled transistors
    • Explain the difference between a current-controlled transistor and a voltage-controlled transistor.
    • Which type of transistor is current-controlled and which is voltage controlled?
    • Draw a circuit diagram each for a current-controlled transistor and a voltage-controlled transistor.
    • What is the doping order of the transistors drawn?
  • What are the two basic types of transistors?
  • MOSFET
    • What are the advantages of a MOSFET over a bipolar junction transistor?
    • How is a MOSFET constructed? (layer structure, connections)
  • H-bridge
    • Draw an H-bridge with switches (ideal switch), a resistive/inductive load, and an external voltage source with V+ and GND.
    • How can the various switches be controlled to have any voltage between V+ and V- applied to the load? What is the technical term for the method of control?
  • Draw the PWM signal necessary to generate a sinusoidal output when a full bridge is used.
  • What are the uses for transistors
    • What are some uses for transistors?
    • Draw a voltage doubler.
    • What is a level converter?
    • Why is it preferred to use field-effect transistors rather than bipolar junction transistors nowadays?

with answers

Looking at the picture above, which of the following statement(s) is/are correct?
Which statement(s) about bipolar junction transistors is/are correct?
Which statement(s) about MOSFETs is/are correct?
You Scored % - /

Further reading

Image references

References to the media used
Element License Link
Video: Circuit Elements - Diodes and Transistors - Part 4 CC-BY (Youtube) https://www.youtube.com/watch?v=KjyHta5p9WE
Abbildung 4: Function of the NPN bipolar junction transistor (c) Open Music Lab, with permission for further use Source: Mail of the illustrator
Abbildung 6: function of the MOSFET (c) Open Music Lab, with permission to reuse CrowdSupply

1) In practice, a distinction is still made between small-signal current gain $\beta = h_{\rm fe} = \frac{{\rm d} I_{\rm C}}{{\rm d} I_{\rm B}}$ and large-signal current gain $B = h_{\rm FE}= \frac{I_{\rm C}}{I_{\rm B}}$. In small-signal behavior, a relatively small change around a fixed operating point (e.g., around certain values $I_\rm C$ and $U_{\rm CE}$) is considered. In large-signal behavior, a change between 0 and a given value is considered. For nonlinear characteristics, the two quantities may differ. In this course, only the small-signal behavior is described. The large-signal behavior and the distinction between the two considerations are not considered in this course
2), 3) In field-effect transistors, an additional capacitor forms between source and drain, which can lead to overvoltages at the MOSFET, especially during fast switching of inductors