Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
electrical_engineering_and_electronics_2:block14 [2026/06/09 04:47] mexleadminelectrical_engineering_and_electronics_2:block14 [2026/06/09 05:26] (current) mexleadmin
Line 38: Line 38:
 Applications to motor drivers and power stages are continued in [[block14|Block 14]]. Applications to motor drivers and power stages are continued in [[block14|Block 14]].
 </callout> </callout>
 +
 +===== 2.8 Applications for bipolar junction transistors =====
 +
 +==== 2.8.1 Darlington-Transistor====
 +
 +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 [[https://en.wikipedia.org/wiki/Darlington_transistor|Wikipedia under Darlington circuit]].
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgjCAMB0l3BWKsAsYBsAOdAmSYBOdAdkwUkxRBUhCXLoFMBaMMAKABcQBmBHEDkyZeWQcKjgQzHNATpIBYpHR9iCsGWToEKbDxQ8sFHqapg4IACaMAZgEMArgBtO7AE69I59V6o4cKlojFQR2AGc-QUCooRFaWgdncMYPaj1wFCoskQCg8HYAd3SRHjwS3n4C7jR0KJyo2ghmHmgcMARMA0hiHHkyQmRiYhQcU35MAgJTMGJwSxsHFzdio1ze0VyYyCLN6OyMvKhdhqPTiR3VqrjYiQ4AJQqwLKewAQTqWiQPmDCAcwqfAEDTWkh2ALepSqkL2CXYjxhz3MQnAbzBnzo6N+uxhR1xFy4IEwwW84BRPFJTWkrQCCGICAsowsZggMGGoxmpkwpE6ODmFloiycrhx5PKMKBBU8iJeuO2BUiGEENHAdQp+US9mSqWldUIAiVgQ+o1kdPYPGUqqixKirOOCL1BANeoU6JV3zBcnhtt86syGoxHoSXotwTEftqtrB7AAHuICCBfCh0AniAn-FQACL2dzOACWADs-pwAPYF5gAZUYnEcAAd2DRaFhchJerQbqyADrhMDdmRyBRKFRqBQUWbdmA6PSqQzGLpGXs9uDdoXLKDdxctNodLo0Xr9NCYCfQdljIGTaY8QhHpeQFd2YXcB4gHR63yv-1ur5Yr0AtuVAR-1BOFHn-JFE3FNFjW-H4vWKf8+UA8ojh2TwwJeBD5Q4SIPyOXCLkkJIUjSD9ZjqXD5RCHRdnwkRm3EEQOHg8o-SA6F2CAAmi noborder}}
 +</WRAP>
 +
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +==== 2.8.2 Internal life of an operational amplifier ====
 +
 +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 [[1_amplifier_basics#feedback|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 [[https://en.wikipedia.org/wiki/Operational_amplifier|Wikipedia under operational amplifier]].
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgjCAMB0lwzFaAmS9IDZIBZIE4MN5sB2bADkQFZIQq7aqBTAWjDACgAXEeeDcCQH9yggbQgtksMPFkYwecuTJkQLeNAx5kpZGEhVyVeHjzZsrUQdoATJgDMAhgFcANl269+IXbRG+uFDqEMgk0EoY5ETkkOzIVMgCGlo6egZGJmYWVuBwIPbO7p48fuAWviTI5djBbOAoSthUTcjI8CRU2ITqMCRg3ULwVIQdisR5do6uHhwAxoESOpXVitUSrOwNyE0t5NhtHV09MHCcAO4r4FhXa1Acl2UDtU-LkBwAlldh1T+8qMEYJwvgQrqD4ADaKdODwIWIQBhamAhMFJAMIthiF08JASEgMIkDCoSHgwORkfsIDYCtNil4wDdkQIwMhrCiJCFsChjBDsGBErgDm0kC0qCM5CR+rgRIhqYUZp5LizrMtlb5IKJ3krWerRKDUJqHgikctEbr7pczQaQPqNRbFjVwDrnva1QyJM6KlrjddaGazd6Au7eFEfd6-mq-gGjf6XlUw0ao7UAtHLuCAX8IVDE-GyhG3jnqlmQ6Ji4GfHnc0FA6GEsJQ2XCw6-n9y8yUXwBNa2+bOw6ayqi7W7QPzZjfiOjQFrdPdPcAEpXK3xhmAkBBflrmBUDiLzMZ+MBKHr2hsejH7e7-7wuHd4LV2AjLo0PDoODvuDnwHQHcAeXXt52iMtB3u8i4sPqQRsDqZQcjQSAfnEW4-hw0rrhQICxHQKJ3P4VAAPpgPhkD4bgSj4agxHQERJEXOokESDcsFGsGTyMuyqFoCEOE6iwGF3vwhHEYRbQ4lR740bAZzCcg+GCfAnGyiymEgRuXrlEJtGiSRpzSbpcQyYR2ByRwABGgjrng64JN42YAB4hMo6h4mwjC0C8tQAM4fAAtgADm4HwOB8TC2AAOp5YVhQAdj5AD29huBFcUOBFTjRVF0VxX5TAAE5OFwHxxdFThJZ5Tj+dARq2nqXbxu8DlsM0vgqCEME4uugQgAAqhwjUsnib4hFs6CIB5IAAKJ9XQJiBFZIxWQk1TjQAgtNJj0O0Ahir8pidXOvUOW0EDwOQu2DcY+21AAytNqCIPwi1hLw8bjSwABq02KPQAy+DZyJXSAYV+Z9R3Cjsvinde423UAA noborder}}
 +</WRAP>
 +
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +===== 2.9 Applications for Field-Effect Transistors =====
 +
 +==== 2.9.1 NOT Gate ====
 +
 +Just about all consumer electronics products have field-effect transistors at their core. In detail, this is based on [[https://en.wikipedia.org/wiki/CMOS|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.
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgzCAMB0lwrFWYBsB2AHGgnAFlwIwFoH4BMYiYkIiuE8ApgLREBQAZiAdmSPhhBkyufrkFg+BaIhiQynbr3Dw+w0ZT5gI02bAUBzISP7YUx0fAJ8akNgCUL4SKPVC0NqCAw1ZXmPBsAO7caOYCSnwRdgBu3GSCuGbxieL8tPy+-kiBIW5J5vkoonZ5JrhwTvQ2waHhacThlaV1mTSNKjUhHZqRnVBsZJBoVZVk8E00ogDyAKoAKgS1btSuJtrmLSsogvnNg8MpYoLWiQThIACSAHJsFTr4tKrufPAYJdy4APoEX5BfhHkX3gf2gv3+ZB+3zAXxud0gD1EKDGHhAKEkXiIPz+AIIQJBMHBX0hWJhc0WbAATsdnKIIhtMXA7AR4NgadV2cUvENuEy+Uy2EYIgUaVZPHZHPSXDSyKjbN4svKArVCPVEhjoiq0iLhVyWsLKsKMfrzuzTRVbCrzYbTb0TeZehy7QcRgapj42ulyQoQvSduz9iy2fTUDTUCchO1+fyXa0LZ86YarrcjKdTOY02L-LHVZ6wO9PaI4QAPcBoVzwV2YITI9ImADKAEsALYABwANo2OI3GAATNhAA noborder}}
 +</WRAP>
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +==== 2.9.2 Reverse Polarity Protection ====
 +
 +
 +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 [[http://www.lothar-miller.de/s9y/categories/39-Verpolschutz|page of Lothar Miller]].
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgjCAMB0lwrFWAWMA2AHGgTJMBONAdg3kg2RDKqsioFMBaMMAKADMRk5xlLu6hEAGZh4aIhjZWAcy48C2eXVwYoUVgHcRFEEOxElQyFq7I1Q+GCNoNwzFWt7b8NINt0T9tQZshfIGiUnrKOSmBELk6q6iYARiLCdOZc1NhJGgkEtsi2SbbpIQAe-pBK2K7+WP7w+FzgSgCiRQAu9ABOAHYAhgA2ADoAzgDKAK4ADuO9AJ6sJcLwPvBEqYjYbvVOAAoA9r3d7QCWLdNDW+07bQDGLYc7nXNcGOWLVFb+aBCUToedbV19IYAGR23QAJqwEshDFw6ssfMIICYSrgVEQIIixNgMHVvkoABRXHbtdr0G5DbqdMFDX5Eklklr9fqdIbjPYHY7TACUrG4WPIIEYKWxahSdHgAH0wBLIBLuPgMBLJWhoMgZRLsEqJcJeZAxLlKEK1K5POo1dLZfLFcrVerNWqddpULYhHwLB5WO1lLx+Ap8Eo6GA4HBPWFwJEw8ZwCGwTpKEEuOhApQlGD6OxuqNei1TMJdAm85RjKZncnEy6PcN-DD9NxnOoIBneoN6OppAAlfx1jAqAU92LyGimmDwVid7B1ljlAVTgd1xiSWISVhAAt noborder}}
 +</WRAP>
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +==== 2.9.3 Level Converter ====
 +
 +
 +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$.
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgjCAMB0l3BWK0wCYDMYBsGsBYM8B2SPATiJCIiQUgCgAzEdUkVVPFt1BLF1OGhIYkVPXRdGAdwAmAJwD2ABwA6ARxgAOSP0hDqaOGDJgieBJLDoApgFpK+wQ1nstWtx-Son7liBkFFQ1tXXppASc+SM8ocNjeflQ-ZI8GCNT2aI4uRLiMziz+MyTo9Ji89C1csviqmv48fCK4+RZqlvrwIj1weDh6NpyW4ZKoPv76ACV2QrHRvC59fTx9dGh0ceXhafauMa6wRa2QVZARLZ2C-Z7uG706tgOeQoYAGRBmnzT2SB+IRgAQwANgBnGwsDZxACy51ueXwUV66yIEiwHmGeUxRGccXQ6L2nQ6qBxW3osK+ZRaTh2AEkQGR+N59IzYttaPFWSZBHgPNz8qc+WQeV58QLeSwxaz0GLytKpUyfALWZkVaTymgMdF5rUIprfnzktT6B8JTLkbLxkCwRD1pt3udjubPmdnfoASDwZD7fEmrk-qdKQ8IghjplQ7l1fEI5L+DHmeL5XGnbLfVzhackwKY-zyMUMwx6fGlTHMuzzr6vgGEGgDeKg+da3kHQh4QHEXX3QFPRCRPQwAgyOAjd8XZ3fhN+pMB0OG-rmxOwFOp-3B43BHlW6Vekql8v4Kuh1u6zWNwGnO79weAB4gByCdAIPkmFhYCD7DwAEQAlvIbABjAAXb9FAAO1UUEACFv0AiCAAoAAkNAAeQAV0A5R0IASnoW9eS8NcsCIId8R5cAv1-ADgLAiDoNg0FEJQ9DMMAnDbwcJxvD6dhH1OciQDQjD0NomDcLvUkSUoOwkh0PiwA8WlQJYkTALEt8kEkz4tAgZIVn4xTlKg0Tb0HIcOA8IizMwOSPEEwy6PoAAjU4JQHCASHfF8GHY0MXOKPBNkWIcPxAaFv3-JR-zAwClGBYEbHkeCaNBO0ADU2NOSwXMoLA6EyvT5NC8LIui2L4sShjkoQWB0qc8ShwHd1zFOQqGCAA noborder}}
 +</WRAP>
 +
 +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 [[https://en.wikipedia.org/wiki/Level_shifter|Wikipedia]] and can be derived with simulation.
 +
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +
 +==== 2.9.4 Voltage Doubler/Inverter ====
 +
 +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, [[https://en.wikipedia.org/wiki/Charge_pump|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 [[https://www.renesas.com/eu/en/www/doc/datasheet/icl7660.pdf|ICL7660]] (Renesas), [[https://www.ti.com/lit/ds/symlink/lmc7660.pdf|LMC7660]] (TI), [[http://ww1.microchip.com/downloads/en/DeviceDoc/21465C.pdf|TC7660]] (Microchip) integrated. Details on how it works can be found in [[https://www.youtube.com/watch?v=LYKGuc6ibe0&ab_channel=tanzawalab|this video]], for example.
 +
 +<WRAP> {{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgjCAMB0l3EaQGwA4DsAmVBOT6MdIctMQBmHEMgVkhBoFMBaMMAKACUQAWMZcOgE9U9MEKiSe9ctHKT6MGuwDG4MGQ2p1ZTJG2LY8CJmhFMmNiNQ09ycpBpQjHbuXIDRFD720mQyJg8ODhmIeERVE6KzsoA7hRo1NK8-MmK7Alsuvo61EFQmXnZxdiFCR5+EnwC4gKQRZWCAk1a5YlVLUl6BkXYfhoUkDx5DQn9+SMOIxYjDWo0PCM4AosjYEsKRggMYWD6i+RC2GCoBi7sAOYMmxsja+DIMQ0ATiDowyAr7593knTwK4-dabD7rJ4KIolaESEpjZp5WajPoFJF1SbtdFowZIhoABwCuW+Tz8t0h1xJ4E2lP4zyKIno3we33hzNWeC+9SKNA5xKJXISlOJWE57WQIu+YNF8PwmhxZ2R4xFSImuMaSW+DOlXFSAiC9C1+oUvGeW2UACNqPYrSb6Nh5DLUajlQVHescSK4ewAB7UdBTYgUEgUQbrbQANwA9gAbAAuAENLowADoAZwAJpGAK7m6OMF7sAnomF6gqIQpF2GDLFlyG+ujyDROWy1MphkAAYUwPveEHE8hw62q4G0HY4vuQyCoGnQAQ5YAcvBHIE4ABkezxKIJ5DxAgj2wBVce8LeYI68PdGw-d2lDGYFJq46jgeCvwG36Z5VqDO0vt+vxofDADl3D1XIGmkeRbD8ARkBoTwYmAgB9MAkMgJDpBwVAkPQMw0DQ7ZUKI9g9FnUCQC8T8vBGDtVwAaUAhDvAEFkSMgMigJAoCIRo+j2EjCgnHLTC-EMctGyoMRJPYIA noborder}}
 +</WRAP>
 +
 +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?
 +
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +==== 2.9.5 Voltage Inverter in the Microcontroller ====
 +
 +
 +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 [[https://en.wikipedia.org/wiki/Charge_pump|Wikipedia under charge pump]] and "[[http://www.righto.com/2018/08/inside-die-of-intels-8087-coprocessor.html|Inside the 8087's substrate bias circuit]]".
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgjCCsCmC0CcIAMA6AzAFnkzAmekA7BgGxgAcGYJIWUUSUcYYAUAGYhq6NpIZcS5LvxAlGqGqiS5WAc0HDuvIV0i5kyVgCVFIeDTSqMwibUaRNElJB3gaYDAOrhcwiBp6NcNkD8toKI5gkIioJqwA7uBgGo4CuIRxTlrRickCyuApSFF6BnqxpnlG7uJ6uLgCudGQ5eSMJBiMDakVVRXkxWlIwlXevSLVeTxKoll8wwDG7QJ13h2MYHCEXEFOkGiQGLhgSJDkhPuW0khsACZQ5ZVz111+4AByVBGX8yCt7zcPYM+O5PIrt57u8thoJKwAJL2PzNGKeOHWSy2aEsBEDPqI5C+FGuJRGMSZAlIqCsABO4HgGjQBKKXGJ4HJhPpDkMDLYMxcaEoMJpUnAKxAsB8VIwhEgRHIaGISRw2KQZ1YnLcLLxXB5S0FIuwJGUVUIaHg8DAYRQCrYCjp3OcKuaZlylsMPJcdqsI0GfL8HtENV5tJo-S0nCy8UKKXKknlsmiaOyzlisIhAGcYaGXCbweAQOwAIYAGyT0CVhJajThoc1sDAaCFgRYFB2SEIhHEu2JZsVCiaS3D5ZbbtKJY+jFlw7dMapqtGqtyzRruDq9l4om+jAwAH0wOukOvmvByOvINugtv17hd+u0Kw535F2B+5MhpoWJvT3uD-AUAZHElj1ud+eL5Xje4imCABo0E0mjcK+O7voeZr3iQf6nueMFXgARn4uA1tylhVt4FBtOmk4uIGuQAB5qLQGCWEhNHCAkAhkgAlgAdnIAA6SYAPZJlMLF5nmOYAC48WSrBYYaEDcrwRHSloVGJGutHmBoTiMbCyAAGqwJA2ncecrEAG7QBJVGQHstCQI0PK0TWTEgAADmSPEidAUwiSxPFsdxAlklMACuLEiawVHSpYVA0JsDkmrQWkACIAMKwIFbFTDxgVOXm7FyJJUDwKs0rCOomQnGFQpWXsqzkA4Vk2iASYsQAtoFOVme53EAMoiQAb2SaV5UAA noborder}}
 +</WRAP>
 +
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +==== 2.9.6 H-Bridge ====
 +
 +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 [[http://www.ti.com/lit/ds/symlink/drv8835.pdf#page=9|DRV8835]]).
 +Details can be found on [[https://en.wikipedia.org/wiki/H-bridge|Wikipedia under four-quadrant actuators]].
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&ctz=CQAgjCAsB0AM8MUgzAUwLQHYS2mWkATAKyQBsAnLMWABwUNjFRkjPGxsZhgBQAZiBKtCmQiGQEhYnOGjNcsQrwBKEqWDKdJkcGHGdOkTgtm5ivAO7rdYCuJ1DCu2FZtPdj4Tl4Bzd4S0tO7IyKyGqkLErJDBhLDBseBC4EhC8ummuJhIuQh8YcFezkLGHma8AJIhDsQOBjhw4haFbFrlZGWEJRH+0ZyBwf0SYRXWw926E9E+4+12ze2TPmrDmibz+mZQJtvmAmz20osDMpxgGYrKADZQmuBHkEkLZnBKEtC0NF8UQbSYmCeYgwyBcvAATlBno8KKwXudeAATEYiIIoqIiECI1D8ACGAFdrgAXJFsQIPZrk9YpbF4wkk5F1OJopkYmk4gnEtwTFnkwazNoDGas7yuObnI6s+Hc+btKXtMVQWHlCY9NyhEQzLwzRUaoRorxoxXEI6icRaOJnXjIHISMhxEp65YQCLxbDIOoSBy0TziXQASwAdgA3AA6AGcAMIAGQA0rw3SALcck10ZLoY-HE45kA4pJ0oCBMwnYNhvGahAkUwGQxHi9Zip5RstXIJvGBMKxHB2u8g5AomiWyzMe5XgqOa2Go3GDsnR2tOyN+40lEOk1XR51zouMzOG6MXt2jrqD+1uwrSXrD6eBliOfTeJAmHdNTFlaKV+8IExzhgKEJuBdN54EgBgwPAiDlRdNxQLhGERDVaxYPKZDRV4ABlO0HV0J8EJcZI8WucNUFkZQkPueJEnuaVyJEMpcLZVw1HbEQNzhFJ8EQTJuMMaBlEwnNxG8XNtkI4jSN4AAPcASCEb9MD7EpdBKeIAFIpJk9g+w7PsZmU3QcnUgB7JNkiMWBflSJNoHw3RgnOWQIGQXgTNEMydgobB8Eab8Ujc5ygA noborder}}
 +</WRAP>
 +
 +==== 2.9.7 MOSFET as Substitution for Diodes ====
 +
 +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 [[https://www.analog.com/en/products/ltc4417.html|LTC4417]])
 +
 +
 +<WRAP>{{url>https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgzCAMB0l3AWAnC1b0DYQEYYCY48B2IsSADjwxSJAFZIdGEI6BTAWm2wCgAzcHhx5ygkAlFgI2aHSjQ8-EEizYRyrBPHYcs+YoDuYtaJXDRkHka1byzC1Zxrxo7BntRHbj3jwIXngBOIL7+WqE4CP6MuHA8AOYhfpH+EdhEWIyWwRzJ5KK5-iZQTHFGXGCaBWo+PAAuIBxa2FGNyS3ROPJ0GEShYETYSNhgQ0jyGHR0blQ92JTuzrEgACZsfACGAK4ANnUJbUXuhzgZJZZGYELFheZBjWYdjc2tMfCWADIPqq1c6k8xECbHYAZzY9E8Rm8AWhEQuOGOaWccJ4ACVnnZwOR-BxpkIwNjzuJGHIst00RjGGA6EJcc5qUIyQg3kSYHQeCtGnQzlpcepwqt1ts9hyuWcInzRBEhGtNrt9uUaVLkpKAvCIuF8mqeAAHEJazWuVoQLIHERG1Ja9KZTyJJpwFLPB3W866p0ee0xY2u8oIDBhArMjyWO1+oq-MOnG3ZZ7+gJNOMA0rw1W8yNaSwEWhNTEM55aPP+ACqvCzlKxOKikkJxcUZY4GGSvMmVXEIBLPHrjdSKpbSTC7brkGzIywEvmPYHRaHI8q8ZdNnbpeHJy1tzjxbUABoALYbAAenZXtyoOOSfmYS7wu4PPC+HDMV0Yf0kBCJwLBEJjD6wT4xgjJWIyjEMgz38UDbROKQsFuPNTQaHMAKgt9AQfaAWDoOxBl6XoaVIZRZGpLC3DIMBkDwdgOFcB1ZWFBVGlHfsGLfaUeByc841gyBOiAxxwjyRgUUufFuI0cBRMsARH1EswNR0GRSQUJQrnE8ChAiKRdEUmcQKQIQ4zAPS2xLa890Pes3HEFUbCbQcjxHX8jMQwyhE3RwVIQZIVJczxOS4TQvNc89BTlEU-MsnzvKMmUhXlHgACNnlknErnGXxGR4fcMSlBBswwkIGDbZIPgAew2FZMpCbgQmQEI4wo1yapAUryoSkJIAgKhwCIQTkhTbt43cURwkcBtz17CgmMMZiPEsjNRpqJjLJRRKG0gdScQYWgKOiNquGqrqhlc+byiGpjcXFPrRrO3luVbSwsrWy1n2QCBRkvZIAAUSoMNhAgAHX+gA7AAiAB5VEQf+kEAHENjqNhKofYaiCOMISCK-wAGUDAASzqABjAALDZ4p2Nhoe+36AZBABJIGdS2OoQR4AkcFEAAxHQyTfLgl1Z1xaC5oleZ0acBZCcZhbeGXnx0FqVmh1E2BBXGQTqErAglrBpfoWWQhAf7LCAA noborder}}
 +</WRAP>
 +
 +
 +==== 2.9.8 Other MOSFET Applications====
 +
 +MOSFETs are not only used for pure switching of currents. Further applications are also:
 +  - as a display element in TFT screens ({{https://en.wikipedia.org/wiki/Floating-gate_MOSFET|TFT ... Thin Film Transistor}}).
 +  - as memory element e.g. in SD cards {{https://en.wikipedia.org/wiki/Floating-gate_MOSFET|Floating Gate Transistor}}, or also new approaches, like {{https://en.wikipedia.org/wiki/Ferroelectric_RAM|Ferroelectric_Random_Access_Memory}})
 +  - as an integrated "upstream" element for power bipolar junction transistors, especially in the {{https://en.wikipedia.org/wiki/Insulated-gate_bipolar_transistor|Bipolar_transistor_with_insulated_gate_electrode}} (IGBT)
 +  - as a chemical sensor for various materials (see {{https://en.wikipedia.org/wiki/Chemical_field-effect_transistor|Chemical_sensitive_field_effect_transistor}})
 +  - as a link between photonics/optoelectronics and classical electronics
 +
 +~~PAGEBREAK~~ ~~CLEARFIX~~
 +
 +====== Exercises ======
 +
 +<panel type="info" title="Exercise 2.8.1 Current/Voltage/Power limitations"> <WRAP group><WRAP column 2%>{{fa>pencil?32}}</WRAP><WRAP column 92%>
 +
 +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.
 +
 +  - Investigate the [[https://www.ti.com/lit/ds/symlink/lm317.pdf|LM317 datasheet]] in order to find out, whether the LM317 is suitable for the operating conditions: 
 +    - input voltage  $V_{\rm I,max}=14  ~\rm V$, 
 +    - output voltage $V_{\rm O}    =3.3 ~\rm V$ and 
 +    - output current $I_{\rm O}    =0.8 ~\rm A$.
 +  - When the linear regulator acts as a shunt resistor, how can the power loss $P_{\rm loss}$ be calculated?
 +  - 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. 
 +    - 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$. 
 +    - 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?
 +</WRAP></WRAP></panel>
 +
 +<panel type="info" title="Exercise 2.10.1 beta factor on BJT"> <WRAP group><WRAP column 2%>{{fa>pencil?32}}</WRAP><WRAP column 92%>
 +
 +  - 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$?
 +  - A quite common BJT is the BC847, which can be bought from multiple suppliers. Given the datasheet from {{circuit_design:bc847_ser.pdf|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.
 +</WRAP></WRAP></panel>
 +
 +<panel type="info" title="Exercise 2.10.2 Voltage calculation"> <WRAP group><WRAP column 2%>{{fa>pencil?32}}</WRAP><WRAP column 92%>
 +
 +Given is the circuit shown in the simulation below. 
 +  - 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}$.
 +  - For the second situation, the base current of $I_\rm B=250 ~\rm µA$ is needed. 
 +    - In order to do so: calculate first $U_{\rm BE}$ of the first situation. $U_{\rm BE}$ is assumed to be constant.
 +    - Calculate the correct value of $R$.
 +    - Run the simulation and set $R$ to the calculated value. Try to measure $\beta$. Why is it not $150$ anymore?
 +
 +<WRAP>
 +{{url>https://www.falstad.com/circuit/circuitjs.html?running=false&hideSidebar=true&ctz=CQAgjCAMB0l3BWcMBMcUHYMGZIA4UA2ATmIxAUgpABZsKBTAWjDACgA3cQqlGqsDxB4qo2lSRiYCNgHduVESBR9houcowo1IbHho7IbAE679OvQbA0DVbDzYAXXQm1hi2y+A9RwvgZQgACYMAGYAhgCuADaOGoK8-GYGfOryXqnJyvhQbNgYdmjenq7FfmnKqu6eRdW5pioGSo0KvngFNBgaLc1ahmwA5q2ZCcoIhP55hHhZYBgTNILg85P2My11aDN16gAetJjgRTZWKPQpBgBKbPs2SGC4tAj32OfgMwAyNyA4yxB49wwBisMwAyt8ENtCG5sG5CEgLiAAKoAHQAziiAI7ohAANW+sPoc082EBCPeIAAQgSloJ6LC4QtlAYAJLdKo+DZCIz7FAIchgM6aU5M1TXfJ2czWAxeOYTCDqIA noborder}}
 +</WRAP>
 +
 +</WRAP></WRAP></panel>
 +
 +<panel type="info" title="Exercise 2.10.3 Low Side Switch and High Side Switch"> <WRAP group><WRAP column 2%>{{fa>pencil?32}}</WRAP><WRAP column 92%>
 +
 +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.
 +  - Explain the advantages of the MOSFET compared to the BJT based on this application.
 +  - 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?
 +  - How can the problem be solved? Try to combine the BJT low-side switch as a driver with the FET high-side switch.
 +
 +<WRAP>
 +{{url>https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWKsDMCBMAOAbNymwAWBTTQzAThBUxCUJToFMBaMMAKABdwx0R0hSOEKEBQqOBAsA7NDAzs5MNhTsZMyH1ZhGMGRnyZ0+CigoXi4OCAAmTAGYBDAK4AbLt2ops4RdWxaBV9hNhBCaAsoqMIZCjiLaQR5eDhCdDB4kgp0ViowG3tnd08AJxExFWEiMXRBSQKOAHMKgQRfGoEZfmFIDgAlECVxYRR+QWqBOngBaCR0OckYBA5y4YnecYlq+FWBUj9fFB9Dht3BrCD-dHbTiH4EGYX5xd655oDaG6PArp6oPY+II5T5tELWDhA1p1SogmFLSG-KGZfiEFTgEG9RG0KEMVHovEI5GicLDFGksRY8q4sagwgUcGNFq4hmghB8BGDY6+NFHSBiXlSB5PRbPJbvQbsVGYYQy8Jy+7TGxisVvFYtTr0jok9n-PrlTU2TXDHYcBybeXVEnkUb8MCLGVm7w89G412Me1IR0AD3CSFZdQgiVqYgAMgB7ADuAB0AM4AZQAlvY4-HI4muABjAAWHF96GwQZ56RAwfEIAAEommtnU8mmKn01nc76WBRKjQkna0eFywAhABSABU89JdPwaPwWMdqJh6OWALIAeXjADEAKIjwZtnnDNhYClLcLVJC9ZArEwyVpVa8HsQANQAwo+OJfQTfkXeQE+X2-cTYoVxb9n1fSAr0NK0xCAn9QKvFhhhtaRaUQh8QO3VktTHO9WTPCRT3FFZ42kBC5R3S0j2cNxYyYSR0A4dJGA2GQQ2EBAEEpej0A9YRmOsOh2IBBjSSQXjCGwJA2I4oS2AQKhRPEkBeL6aSwFk6xhDEpACixFS1LGDSFP0wSuLHNTJOE-ipJMmS5LEGzLIBIA noborder}}
 +</WRAP>
 +
 +</WRAP></WRAP></panel>
 +
 +<panel type="info" title="Exercise 2.10.4 Simple Temperature Detector"> <WRAP group><WRAP column 2%>{{fa>pencil?32}}</WRAP><WRAP column 92%>
 +
 +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.
 +
 +  - 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$. 
 +    - What is the ideal value of $R_ \rm D$?
 +    - The value in the simulation is not correct. Which effect does this have?
 +  - At second, the system shall be designed for a temperature threshold of $T_0=50 ~\rm °C$. 
 +    - The $R(T)$-characteristic the NTC $R_2$ is shown in the diagram below. What is the value of $R_2(T_0)$?
 +    - The BJT is conducting for $U_{\rm BC}=0.6 ~\rm V$. What is the correct value for $R_1$? 
 +
 +{{drawio>diagramtemperaturesensor.svg}}
 +
 +{{url>https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWKsDMCBMAOAbNymwAWBTTQzAThARWpENoQFMBaMMAKADcQ2x0QKMr3YCwFAZCj0pSKfOgIOAJ0FiJakOgTZpYeJBXgs4Df0xbC88PA5hsYk+ivGLWNyAAmTAGYBDAFcAGwAXFiCmT3BpBUhOEJAKXRRIQldBVL1kHQB2dBQKGgRCbFIwTBzkbBTCijAchFT0Il19KW9-YJCOAHcRfkFhFAEhNMM+4cG08ymoXvTRhfR5eZnxEfVJecn1-s25vqSMtMmUse2RzNPlg80zzW1dQxRSu8y2ZMyVtClr35HhFI2nBBHg5DYFNptCAACpMAC2AAcmMo-CEAsomBwAB4ibBpdAUCxsQiVFIQAlpACqOJEpIyujYaAyVGmFgAyrTygSULRxLp8ro2SAACJc7CVdDQ7laEyUkAAJVpbElKWk+Vo8qVuKk+Qs+ksFPA+tpv1wNlBrONWmV9UEJGkLyNzkVHCAA noborder}}
 +
 +
 +</WRAP></WRAP></panel>
 +
 +===== Learning questions =====
 +
 +
 +=== 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 ===
 +
 +{{electronic_circuitry:transistor_question.png}}
 +
 +<quizlib id="quiz" rightanswers="[['a2'],['a1','a2'], ['a0', 'a1']]" submit="Check answers">
 +
 +<question title="Looking at the picture above, which of the following statement(s) is/are correct?" type="checkbox">
 +The transistor has an NPN structure internally.|
 +The collector terminal is at the bottom.|
 +It is a bipolar junction transistor.|
 +To make $I_\rm C$ flow, the voltage $U_{\rm BE}$ must become positive.
 +</question>
 +
 +<question title="Which statement(s) about bipolar junction transistors is/are correct?" type="checkbox">
 +The current $I_\rm C$ or the voltage $U_{\rm BC}$ controls the current flow $I_\rm B$.|
 +The input characteristic of a bipolar junction transistor corresponds to that of a diode.|
 +The disadvantage of the bipolar junction transistor is the continuous current flow required in the conductive state.|
 +VCC stands for Voltage Common Connector.
 +</question>
 +
 +<question title="Which statement(s) about MOSFETs is/are correct?" type="checkbox">
 +MOSFET stands for the structure of the field-effect transistor made of metal oxide and semiconductor.|
 +Due to the body diode, the MOSFET acts in one direction like a diode.|
 +Enrichment type MOSFET are conductive with $U_{\rm GS} =0 ~\rm V$.|
 +In N-channel MOSFETs, holes are the current-carrying charge carriers.
 +</question>
 +</quizlib>
 +
 +====== Further reading ======
 +
 +  * a nice clip about the background why the [[https://youtu.be/bHwl8TdEI6k | MOSFET is probably the most significant invention of the 20th Century]].
 +