| Home Page | Overview | Site Map | Index | Appendix | Illustration | Preface | Contact | Update | FAQ |
![]() |
at most a weak current before a certain threshold gate voltage VG (usually a few volts) is attained at the base. Once the gate voltage is over the threshold voltage VTH, the transistor is turned on (acting as a switch) and the current increases exponentially (acting as an amplifier, see Figure 13-03c(b)). Figure 13-03c(c) shows the effect of VG on the valence and conduction bands. The |
Figure 13-03c Transistor [view large image] |
bendings of those are ultimately responsible for turning on the current flow in the transistor when VG - VTH > 0. |
![]() |
This type is called Field-Effect Transistor (FET) and uses mostly in integrated circuits (IC). There are other types of transistor such as bipolar junction transistor (BJT). It is especially useful as amplifier in analog circuits (see Figures 13-03c2, 13-03e, and "Difference between BJT and FET"). |
Figure 13-03c2 BJT/FET |
![]() |
![]() |
|
Figure 13-03d Electronic Circuit |
Figure 13-03e Logic Gate |
![]() |
(see Figure 13-03f), and also thank to the limitation of human sight and hearing. The ability to distinguish two very close points is about 0.01 cm, and the perception of image persists for about 1/16th of a second (Due to this, when many still images are shown in a |
Figure 13-03f Digital Age |
sequence; they give the illusion of moving images. For example, when separate images are moved in front of the eyes at the speed of at least 16 frames per second, we experience the images being real and live). The following example is mostly about visual image. |
![]() |
Figure 13-03h zooms into the IC to show its innards in size scale ~ 100 times smaller on each successive frame : (a) IC in package with linear dimension ~ 5 cm. (b) Interconnecting tracks under the IC with size ~ 10-2 cm. (c) Further enlargement of the tracks ~ 10-4 cm. (d) An image of the transistor ~ 10-6 cm. | |
Figure 13-03g Pixels |
Figure 13-03h Size Scale of IC [view large image] |
________________________________________![]() |
(b) This one shows the 2 different designs of the image scanning systems - CCD (Charge Coupled Device) and CMOS (Complementary Metal Oxide Semiconductor) image sensors. While CCD goes through the photon-to-electron (involving the capacitor C) and electron-to-voltage (as the amplifier A, both C and A are FET) steps within the image sensor before running the ADC process in an circuit board, the CMOS has these steps completed in the pixel and the ADC is executed within the image sensor (see further information in "Background Information on CCD and CMOS Technology"). (c) Further elaboration on CCD and CMOS, especially on the charge transfer step in CCD in which the electrons are moved from one register (pixel) to another serially. |
Figure 13-03i Image Scanning |
(d) This is a pictorial displays about photon-to-electron in the FET, and electron transfer by shifting the applying voltage (to the FET) in CCD. |
![]() |
Blu-ray disc has enough space to keep so many copies of movie; it is the advant of broadband internet streaming (also see "List of streaming media services"), which skips the requirement of storage as opposite to downloading. Anyway, the Blu-ray and its like are still somewhat useful today (as of 2022) for keeping a copy of whatever. However, the USB (thumb drive) is a preferable alternate. Since the mid 2010's, the laptop computers |
Figure 13-03j Digital Storages [view large image] |
and audio port in automobiles have the DVD slots replaced by USB terminals. Followings are brief description of the digital elements in various storage media. |
![]() |
Every time the light reflects back, the attached photocell detects it, realizes it has seen a land, and sends a burst of electric current to an electronic circuit that generates the number one; otherwise, the electronic circuit generates the number zero. The series of data on the disc is decoded by an electronic circuit (called digital to analog converter or |
Figure 13-03k Compact Discs [view large image] |
DAC) in the CD player and converts them back into a changing pattern of electric currents. A loudspeaker transforms the electric currents into sounds (by changing their electrical energy into sound energy). |
![]() |
(b) As shown in Figure 13-03l, the Hard Disk Drive (HDD) Read/Write (R/W) mechanism is similar to those employed for Compact Disc (CD), except that the binary numbers are represented by magnetized spots on the disk. A typical HDD consists of a spindle that holds the platter. The platter is made from a non-magnetic material, usually aluminum alloy, glass, or ceramic. It is coated with a shallow layer of magnetic material typically 10-20 nm in depth, on which the digital data are magnetized with opposite magnetic field direction (related to the pre-set field) as 1 and otherwise as 0 (see Figure 13-03m,b). |
[view large image] |
![]() |
(c) The USB flash drive (available since 2010) is a data storage device using flash memory (see "How USB Flash Drive Work?") to store data with an integrated USB interface (see Figure 13-03m). It is typically re-movable, re-writable and much smaller than an optical disc. The flash memory is similar to the Field Effect Transistor (FET, see Figure 13-03c,a), except that the insulator under the "Gate (now called Control Gate)" is replaced by the "Floating Gate" which stores electrons by applying voltage to the "Control Gate' creating the binary number 1 ("0" is represented by no charge). The charges can be removed by applying high voltage to the source (see Figure 13-03m and Figure 13-03n,c). |
Figure 13-03m USB Flash Drive [view large image] |
![]() |
(d) Solid-State Drive (SSD) uses flash memory similar to the USB flash drive. As such, it has no moving parts unlike the HDD and its storage capacity can surpass the HDD too (Figure 13-03j). See "What Is a Solid-State Drive (SSD)?" for further detail. |
Figure 13-03n Storage Element [view large image] |

m = 2
fm, fc = carrier frequency,
c = 2
fc, modulation index
=
f/fm,
f the frequency deviation (from fm), and bandwidth = 2(
f+fm).
f as shown in the table below left :
![]() |
![]() |
the screen instantly without delay, thank to the 19th century technique called "multiplexing" (more precisely "frequency multiplexing in this case) which is known now as "broadband internet". As shown in Figures 13-03p and 13-03q, the data are separated into several packages (called channels) near the carrier frequency. The information bearing wave would have certain bandwidth after modulation (see Figure 13-03o). These "data waves" would travel different routes in parallel |
Figure 13-03o |
Figure 13-03p Broadband Internet [view large image] |
making the delivering time much shorter. They are finally reassembled at the receiving end to be viewed. |
![]() |
In practice, There are 2 carrier frequencies of 2.4 and 5 GHz in use by the public. The 2.4 GHz has 14 channels for bandwidth of either 20, 40, or 80 MHz (Figure 13-03r). Use of the 5 GHz with bandwidth up to 160 MHz may encounter problem with channel interference as the separation between them is reduced by about 1/2 (as compared to the 2.4 GHz), although data transfer rate would improved as it depends on bandwidth, i.e., broader bandwidth (hence "broadband") packs more data. |
Figure 13-03q [view large image] |
![]() |
Overlapping affects 2.4 GHz as well; therefore, only channels 1, 6, 11 are typically used in the US. In the rest of the world, the four channels 1, 5, 9, 13 are typically recommended (see "Wireless Radio Channels", and "2.4 GHz Channel Planning"). Figure 13-03r explains the concepts of carrier frequency, distribution of channels (and the overlappings), and bandwidth. |
Figure 13-03r |
The insert at upper right corner is an one channel packet with signal near the carrier frequency fc , the Side-Band (SB) within the Band-Width (BW) can also deliver data . Each carrier frequency is modulated as shown in Figure 13-03o. |
![]() |
Digital Subscriber Line (DSL) also provides fast data transmission over copper telephone lines (instead of the even faster fiber cable). The "A" in ADSL refers to "Asymmetric" between more downloads than uploads (Figure 13-03s,b). |
Figure 13-03s |
Dialup internet use 20th century technology with modems to convert data from digital to analog and back to digital at the sending and receiving ends of a telephone line respectively. It is now used mostly in rural areas. |
![]() |
|
Figure 13-03t |
![]() |
For those of us old enough to remember the CRT monitor in the 20th century. It was a chunky and very heavy object occupying 1/3 of the desk space (look like the image on the left). It was replaced by the plasma monitor in the early 2000's and followed subsequently by the LCD, and now OLED. |
![]() |
0, the liquid crystals are aligned with the field direction, and let the passing light to go through. It is eventually blocked by the 2nd parallel polarizer, the screen becomes dark (Figure 13-03b). |
Figure 13-03u LCD Display |
which is in turn controlled by the incoming signal. Figure 13-03d shows a small section of the LCD rectangular array. The RGB filters enables the display of vivid color. |
![]() |
|
Figure 13-03v OLED Display |
See "What's So Good About OLED" and the next generation PeLED. Figure 13-03v,d is reminiscence of the first flat screen technology which uses different kinds of plasma to excite phosphors to emit light. |
![]() |
![]() |
||
Figure 13-03w |
IC Fabrication [view large image] |
![]() |
|
Figure 13-03x |
![]() |
|
Figure 13-03y |
![]() |
|
Figure 13-03z |
|
![]() |
|
Figure 13-03z2 |
Here's a YouTube video on "How ASML, TSMC And Intel Dominate The Chip Market". ASML - Advanced Semiconductor Materials Lithography. TSMC - Taiwan Semiconductor Manufacturing Company = 臺積電 |
![]() |
|
Figure 13-03z3 Logic Gates |
The same figure also shows the corresponding electronic circuit to implement the logic gate (just one example for the AND gate). Logic gates are primarily implemented using diodes or transistors acting as electronic switches. See "List of Logic Gates". |
![]() |
The inputs are kept in storages initially far away from the CPU when they are not needed. Those that are required for operation has to be housed in a place called register which can response as quick as the clock cycle (see Figure 13-03z9). |
Figure 13-03z4 Hierarchy of Memory [view large image] |
Here's a summary of the various kinds of storage according to capacity and speed (also related to cost - more expansive for the speedier ones, see Figure 13-03z4). |
![]() |
memory providing the quickest input/output of data (to the CPU). Its structure is very simple to hold 8, 16, 32 or 64 bits of binary numbers. It is usually implemented as "Flip-flop and then Latch" by 4 BJTs. Figure 13-03z5 shows a single element holding 1 bit of data which is set to 0 or 1 by a pulse of electric current and then holding it at that state until the next clock cycle for executing another instruction (see Figure 13-03z5). |
Figure 13-03z5 [view large image] Processor Register |
There are many types of register, each one has a special name in Assembly language (see for example, "Assembly - Registers"). |
![]() |
Cache memory is implemented by the Static Random Access Memory (SRAM), which follows the same architecture for register but using 4 FETs instead (see the "difference", and Figure 13-03z6). It helps the processing because of no need for searching the information everywhere (if the information is in there already). Caching can also be applied and leveraged throughout various layers of technology including Networking layers, Content Delivery Networks (CDN), DNS, web applications, and Databases. |
Figure 13-03z6 Cache
| Some computer also add buffer (a temporary storage) to queue up data for synchronization with the faster cpu processing. |
![]() |
the Static DAM (SDAM) used for cpu cache needed constant power supply (hence Static) and Dynamic DAM (DRAM) used for fast primary storage needed intermittent power refreshment (hence Dynamic). See "Difference between SRAM and DRAM". The small voltage from the memory cell is bumped up by the Sense Amplifier. |
Figure 13-03z7
| Figure 13-03z7 shows the addressing and read/write schemes for SDAM and DRAM. Multiplexing/De-multiplexing refers to break up and then recombine back the whole for expediting the transmission process. Also see "DRAM Read/Write". |
![]() |
![]() |
Figure 13-03z8 CPU Structure, Data Formats [view large image], |
Datapath for R-type (ADD), and I, J Types |
![]() |
Control Unit (CU): It takes in the opcode from the current instruction, and sends signal to the the corresiponding processor. Different signals are generated on each clock cycle to make the overall operation happen. Figure 13-03za links all kinds of CU opcodes to various processors. While Figure 13-03zb lists the values of different CU opcode for various operations (the JtoPC = branch, X = ignored, ALUcontrol is not opcode - it is added to show its relationship with the ALUOp). |
Figure 13-03z8a Control Unit (CU) Signals for ADD [view large image] (Figure 13-03z8b)
|
|
![]() |
1). Some cycle may have some free time since the temporal requirement would be different for each step and the machine cycle has to be the longest to accommodate all steps (hence the base for "Instruction Pipelining"). Such processing is automatic and doesn't need extra efforts to supervise (see Figure 13-03z9,a and b which also show the Instruction Cycle = N machine cycles for N 1 from beginning to end of an instruction). |
Figure 13-03z9 Clock Cycle
|
![]() |
![]() |
Figure 13-03z11 shows the clock cycles consumed in the process and reveals that very little time spends on the bus (omnibus in Latin), It is the retrieval which takes up most of the time - 2 cycles in this example, while there could be more. Meanwhile, this step also increases the Program Counter (PC) by 4 bytes using the ADD instruction to point to the next sequential instruction. Sometimes the PC will be updated with a different value from the execution step (via the control signals such as |
Figure 13-03z10 Fetch | Figure 13-03z11 Clock Cycles for Fetch [view large image] | "Shift left 2 bytes" (for Sign-Extension), "Mux" (2n selector, n = 1, ..., i.e., which one to pick), or "PCsrc" (update PC by 4 bytes). See picture in Figure 13-03z8 and "Datapath for fetch"). |
![]() |
fields and store these values in the internal registers 1 and 2, respectively in the register file; it would also appoint an output register. The Control Unit decodes (translates the machine codes in the instruction) and generates control signals to various processors. They determines the type of action to be taken (see Figure 13-03z12,z8,z8a,z8b). There is also a "Sign Extend (SE)" field to extend the target address to two 16 bits for J-type instruction. The ALUOut contains the branch target address if the instruction is Jump. The Decode step often piggybacks at the ID/EX boundary between 2 clock cycles. |
Figure 13-03z12 Decode Step
| (see Figure 13-03z8 and the image below)![]() |
![]() |
ALU address (in Data Memory) Read Data ALUOut MemtoReg=0 (see Figure 13-03z8). |
Figure 13-03z13 Machine Codes
|
|
![]() |
|
Figure 13-03z14 Ex... |
![]() |
understand and generating corresponding response. The next level is the Assembly language which translates the machine code to some kind of syntax for comprehension by human (mainly Assembler programmer). Figure 13-03z15 shows an example of "ADD" instruction translating from machine code to Assembler.
| ||||
Figure 13-03z15 Machine-Assembler |
![]() |
![]() |
Java codes can run on all platforms that support Java without the need to recompile (see Figure 13-03z16 for an example). Python - It uses variety of programming styles and associated language constructs to generate the most suitable programming tool. Figure 13-03z16 is an example of Python program. |
Figure 13-03z16 OOP
| Figure 13-03z17 Python Program [view large image] |
![]() |
Here's the FORTRAN language reference, and coding sample from the bygone era of FORTRAN IV (circa 1961) : |
![]() |
Col. 1 : Blank, or a "c" or "*" or ! for comments. Col. 2-5 : Statement label (optional). Col. 6 : Continuation of previous line (optional). Col. 7-72 : Statements. Col. 73-80: Sequence number (optional, rarely used today) Symbol * means default format for READ / WRITE (Figure 13-03z18,b). |
Figure 13-03z18 FORTRAN JCL and Source Program [view large image] |
Figure 13-03z18,b is an example to calculate the area A of triangle by A = [s(s-a)(s-b)(s-c)]1/2 where s = (a+b+c)/2
|
![]() |
For example, all the webpages in this site are coded in HyperText Markup Language (HTML). Figure 13-03z19 is a very small segment taken from the page on "Monte Carlo Methods". It shows the enrichment of the text by linking to additional references, and a picture to attract attention. Beside adding more information, the presentation in the web is very important for advertiser to promote its products. There are HTML editor for free such as CoffeeCup. The HTML document can be uploaded to the Web Hosting Provider, which will manage the web browsing (for a fee). |
Figure 13-03z19 HTML as Markup Language [view large image] |
The source codes in Figure 13-03z19,a : "The Monte Carlo ....(Figure 01)". |
![]() |
Finally, the mobile device considered the keyboard as "inconvenient truth" and becomes just an option (for entering a password at least). The visual streaming and sound (of music) are now the main interest instead of arithmetic computation. Figure 13-03z20 illustrates the evolution. Actually, the desktop is alive and used for serious work. Curiously, gamers prefer desktop because of its superior computing power and storage capacity. |
Figure 13-03z20 Types of Computers [view large image] |
![]() |
|
Figure 13-03z21 CHIPSET |
|
![]() |
The external Peripherals include : input devices such as Keyboard, Mouse; output devices such as Monitor, Speakers, Printer; those perform both input, output functions : CD-ROM Drive, Webcam, Scanner, Serial Port Device (such as the Point Of Sale Cash Register), Internet Gateway Box (with modem + router) and USB. See Figure 13-03z22 for some of the Peripherals. |
Figure 13-03z22 Peripherals [view large image] |
![]() |
The operating system (OS) manages all of the software and hardware on the computer. After initially loaded into the computer by a boot program, it manages all activities in the computer. The application programs make use of the operating system by sending requests for services through the Application Program Interface (API) which connects computers or pieces of software to each other. Users can also interact directly with the operating system through the User Interface (UI), such as the Command-Line Interface (CLI) or a Graphical UI (GUI). Device driver is the system software for hardware interface. The OS brings powerful benefits to user applications without which, every program would need to include its own UI and other interfaces. |
Figure 13-03z23 |
Figure 13-03z23 shows the processing of the computer by the user with the OS in between the softwares and hardwares
(see "Understanding Operating Systems" for more details). |
![]() |
|
Figure 13-03z24 OS Processing |
An application program can incur (instantiate) many independent processes, e.g., each one of the display in the multiple screens is one standalone process (see Figure 13-03z24). |
).
![]() |
![]() |
It is normal for the OS to control the processing of the various parts in the computer. The OS is similar to the conductor (in orchestra), who directs the tempo of various musical instruments (the hardwares) playing the musical notes (the application programming codes) by the musicians (the user, see Figure 13-03z25). Similarly, interruption of playing certain instrument occur as required by the compositions (the software). |
Figure 13-03z25 |
Figure 13-03z26 |
The OS interrupt is invoked by : |

![]() |
various hardware and software processings optimally. Figure 13-03z27 shows its CPU usage of about 3% during a busy time (regular usage would be ~ 0.1%, and 0% for no activity) in the Task Manager display. |
Figure 13-03z27 Task Manager |
invoked by ctrl+shift+esc (for Windows 10). |
![]() |
other security sensitive operations. For example, some device drivers are programs written in highly privileged code. Unprivileged codes are the instructions that are only executed in user mode. Typically, the transfer of control to the supervisor mode is achieved by executing a software interrupt instruction. |
Figure 13-03z28 |
For systems without MMU or MPU, all codes run in supervisor mode, MMU - Memory Management Unit, MPU - Memory Protection Unit. |
![]() |
as the Level 1 cache. The task of memory management is to provide ways (by interrupts) to dynamically allocate portions of the primary memory to programs at their request, and free it for other programs when no longer needed. Such process involves the swapping segment of primary allocation in and out of the disk (virtual) memory (see Figure 13-03z29). Paging is similar but in equal block size (see "Difference between Swapping and Paging"). Page fault is the required segment not found, and to be resolved by MM. |
Figure 13-03z29 |
For I/O device with slow rate of data transfer (to the primary memory) such as from the hard-disk, MM delegates the work to a channel or a direct memory access controller; an interrupt is activated only when the transfer is completed. |
![]() |
All operating systems today can perform multitasking. When the computer opens the Web browser, Microsoft Word and email at the same time, the operating system is doing multitasking (see Figure 13-03z30). The user is not aware of the switching because the computer's very fast processing rate is beyond comprehension of the human mind. |
Figure 13-03z30 |
File
Run new task
cmd.exe.
![]() |
1. File names: The names of the files stored in the directory. 2. File types: The type of file, such as text, image, audio, video, or executable. 3. File sizes: The size of each file in the directory, typically measured in bytes or kilobytes. 4. File creation and modification dates: The dates and times when each file was created or last modified. 5. File permissions: The access permissions for each file, which determine who can read, write, or execute the file. 6. File attributes: Additional metadata associated with each file, such as the author, keywords, or description. 7. Subdirectories: Information about any subdirectories that are contained within the directory. |
Figure 13-03z31 File System and Directory |
File directories are used by computer operating systems to organize and manage files on a storage device, such as a hard drive or flash |
![]() |
There are lot of discussions about AI subjugating or exterminating the human race (see "How Frightened Should We Be of AI ?"). Such scenario will never happen as all living organisms generate their energy internally through either photo-synthesis or by consuming carbohydrate (eventually turning into numerous tiny organic batteries called ATP, see "Why ATP ?"); while the AIs are machines powered by electricity which is controlled by human. The image on the left illustrates the |
| termination of a scheming AI by a human. It is from the trailer of the 1968 movies "2001: A Space Odyssey", see : details. |
![]() |
The "File Format Overview and Information" lists a huge amount of different |
Figure 13-03z32 Filetypes |
file types available. To get more detailed information about each file extension, just click on the links or the " > ". It also previde examples. |
![]() |
other's resources within a Local Area Network (LAN). Every one in the network keeps track of its own user accounts and security settings and no single computer is in charge of the workgroup. The same image also adds the processing in the internet environment. It involves an additional layer of Internet Service Provider (ISP) for the exchange of information between the users and whatever in the internet. The users pay the ISP for such service. |
Figure 13-03z33 NOS |
Anyway, all participating members in whatever networking scheme would have NOS installed in their device for such incredible event to happen. |
![]() |
|
Figure 13-03z34 OS Types |
![]() |
![]() |
"List of DOS commands". |
Figure 13-03z35 DOS Command [view large image] |
Figure 13-03z36 |
Or click an icon by using the "Graphical Interface" such as the "Go!" in Figure 13-03z36 to get date. The OS would do the rest. |
________________________________________
)

________________________________________
________________________________________
________________________________________

________________________________________