A transistor switch can connect and disconnect a load very quickly. If the switch is periodically on and off, the load sees an average voltage.
For an ideal switch with supply voltage \(U_{\rm dc}\):
\[ \begin{align*} \overline{u}_{\rm L} = \frac{1}{T}\int_0^T u_{\rm L}(t)\,{\rm d}t = \frac{T_{\rm on}}{T}U_{\rm dc}. \end{align*} \]
The duty cycle is
\[ \begin{align*} d=\frac{T_{\rm on}}{T}. \end{align*} \]
Thus
\[ \begin{align*} \boxed{ \overline{u}_{\rm L}=dU_{\rm dc} } \end{align*} \]
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 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$):
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:
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.
Given is the circuit shown in the simulation below.
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.
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.