Highlighted text? Practice this concept. Highlighted passages and figures open related questions.
Practice related questions (33)Progress & bookmarks
Current section
5 Input/Output Unit
p. 92
Practice this section 33 linked exam questions with default filters
Progress
Not marked complete
Related questions in this lesson 39
USB interfaces73D printing1Device drivers3Printers and process colors4Display technologies6Switch chattering2Input/output control1Touch panels2Bluetooth interfaces2Digitizers and tablets3Serial modem interfaces1Display memory capacity3Daisy-chain connections2Laser-printer dpi and ppm1Input/output completion interrupt1p. 92
5 Input/Output Unit
In order to use a computer, it is necessary to enter data in the computer, and send out the result of processing this data inside the computer. Here, a device that is used for entering data is called an input unit, and a device that is used for output is called an output
Various input units and output units are available. Each unit has appropriate functions that are suitable for input data or output format. This section describes the types, characteristics, and mechanism of typical input/output units.
5 - 1 Input Unit
Input unit is a device used for entering data in a computer. Input units include devices that enter characters or numbers by using signals, devices that read data written in a paper, and devices for entering position information (pointing devices).
5-1-1 Devices for Entering Characters and Numbers by Using Signals
(1) Keyboard
When an old keyboard is used, one depression of a key
Keyboard
may work as if the same key were pressed several times.
p. 93
5-1-2 Device for Reading Data Written on Paper
(1) OCR (Optical Character Reader)
OCR (Optical Character Reader) optically reads the
handwritten characters or printed characters on the basis of
the strength of the reflected light, and enters them as data.
OCRs developed in the early days could only read
characters that were written in special OCR fonts.
However, modern OCRs can sufficiently read even
handwritten characters. Therefore, it is also used for
reading a zip code (or postal code) that is written on a
letter or a postcard. However, there is a risk of the reading
mistake (misreading) of characters, and therefore, it is
necessary to thoroughly check the entered data.
(2) OMR (Optical Mark Reader)
OMR (Optical Mark Reader) is a device that optically reads the portions that are marked with black color on a mark sheet by using the reflected light, and enters them as data. Instead of reading characters or numbers, it reads the marked position information. This input device converts this position information into the corresponding data for processing. Therefore, it cannot handle stains or such spots well, but there are fewer reading mistakes. It is used for reading (grading) answer sheets of exams where there are
many examination candidates.
(3) MICR (Magnetic Ink Character Reader)
MICR (Magnetic Ink Character Reader) is a device for
entering characters just like OCR; however, it can only
enter characters of a special font written with a special ink
mixed with magnetic material. It is not affected by stains
because it reads characters that are printed with
magnetized ink. Since characters cannot be created without
a special device, it is used as a reading device for notes and
checks.
p. 94
(4) Barcode reader
Barcode reader is a device that optically reads a bar code that represents data with bars (lines) of different thickness and different spacing. Its typical use is as the input device of a POS system, which is used in the cash registers of retail stores.
p. 95
(5) Image scanner
Image scanner
image data is also called an image sensor.
5-1-3 Pointing Device
(1) Mouse
Mouse is a device that feeds the amount of rotation and direction by rotating the ball that is located at the bottom. It got this name because its shape resembles a mouse. Pointing devices that have similar functions include the trackball or the acupointer where the ball is rotated by turning the
bottom side up.
(2) Joystick
Joystick is a device where a stick is moved back and forth and around, and position information is fed on the basis of the direction and its angle. It is used in operating game software.
(3) Touch screen (touch panel)
p. 96
[Input method of touch screen]
- • Infrared shielding method (Infrared method) It detects the position from the changes in infrared ray reflection that occurs when an infrared ray beam is shielded.
- • Capacitance method It detects the position from the changes in electrical charge on the surface which is caused by the static electricity in the portion that is touched.
- • Analog resistive film method (Resistive film method) It detects the position from the changes in the resistance values of the resistive film in the portion that is touched.
- • Matrix switching method It detects the position where the electrode switches that are arranged on the matrix are pressed.
(4) Light pen
Light pen is an input device that feeds position information by directly pointing and tracing on a display screen. The tip of the light pen has an optical sensor, and the position on the display can be detected from the movement of this sensor.
5-1-4 Other Input Devices
(1) Digitizer/tablet
Control) machine tool.
(2) Card reader
Card reader is used for reading information that is recorded in a card. Typical card readers include a magnetic card reader that is used for reading magnetically recorded information
p. 97
in a bank cash card or a credit card, and an IC card reader that is used for reading information in an IC card (a card with an embedded IC chip). The IC card is used as an entrance key card or a card key.
(3) Biometric authentication device
Biometric authentication device is a device that feeds information for biometric authentication using physical and behavioral features of human beings. There are devices that feed (authenticate) information of the intended staff members who are targeted for authentication by an authentication method, such as a face authentication device, a palm authentication device, a fingerprint authentication device, and an iris authentication device.
(4) Sound input device
Sound input device is a device that identifies sounds (analog signals) of human beings and feeds data after these analog signals are converted into digital signals by using electronic circuits (A/D converter). It is also used as a biometric authentication device for authenticating voice pattern or voice print.
(5) Digital camera
Digital camera is a device that feeds the images taken by it to a computer. Instead of the film that is used in normal cameras, it uses CCD (Charge Coupled Device) for the conversion of graphic images into digital data. In most cases, smart media, which is a type of flash memory, is used as the recording medium of images. Moreover, a digital video camera is used for recording video.
5 - 2 Output Unit
Output unit is a device that is used for exporting the processing results outside computers. Output units include displays that show the results and printers that print the results.
5-2-1 Display
p. 98
In addition, for increasing the display speed and the precision of images, a graphic accelerator (a type of video chip) is required. In the raster scan display, where images are scanned line by line, there is an output method called interlaced mode. This method extracts every other scanning line and displays one image over two rounds, and thereby, increases the display speed. However, flickering can easily occur on the screen with this method, so in most of the cases, non-interlaced mode is used where scanning lines are displayed in sequence from the top.
p. 99
(1) CRT display
CRT display is an output device that uses a cathode-ray tube just like television. Light is emitted by applying electron beams onto a phosphor screen, and any character or image can be drawn depending on the beam strength. While it has advantages in that the screen is easy to see and display speed is also fast, it suffers from disadvantages in that the device is large (because of depth) and power consumption is also high. Furthermore, there is another problem of burning the image on the display when the same image is displayed for a long time. In order to prevent this burning, software called a screen saver is used.
(2) LCD (Liquid Crystal Display)
LCD (Liquid Crystal Display) is an output device that uses liquid crystals whose permeation rate of light varies depending on voltage. As compared with CRT displays, it is thin and lightweight, and consumes less power. Therefore, it is mostly used in a notebook PC; however, these days it is also used in a desktop PC. Since liquid crystals themselves do not emit any light, either a reflection board is embedded or a back-light method is used where light is thrown from the rear. As compared with an STN liquid crystal display, which controls multiple pixels with one semiconductor, the response speed of a TFT liquid crystal display, which controls one pixel with one transistor, is faster and its viewing angle is also broad. Therefore, TFT LCDs are more widely used these days.
(3) PDP (Plasma Display Panel)
PDP (Plasma Display) is an output device where gas is sealed between two panels of glass and light is emitted by applying voltage. While it has higher luminance and wider viewing angle in comparison with other methods, power consumption is also large because high voltage is required.
(4) OLED (Organic Light Emitting Diode) display
OLED (Organic Light Emitting Diode) display is an output device that uses organic compounds that emit light when voltage is applied. Unlike a liquid crystal display, it emits light on its own on a glass substrate. Its response speed is fast, image quality is of high luminance because of high contrast, and the viewing angle is also wide. In addition, power consumption is small, so it has potential to become the next-generation display. However, its life is short.
p. 100
5-2-2 Printer
(1) Impact printer
Impact printer is a device that prints by mechanically striking ink ribbon on paper with a print head. Although it generates noise, it is possible to simultaneously print multiple copies by placing carbon paper between multiple sheets of paper.
- 1) Dot impact printer This is a serial printer that prints each character separately. From the back of the ink ribbon, it strikes the print head that has the pins each of which corresponds to a dot and these pins are arranged in the shape of characters. Kanji characters and graphic symbols can also be printed if they can be represented as an aggregation of dots.
p. 101
- 2) Line printer
This printer prints all characters in one line at a time. It uses either a print drum method, where all characters in one line are printed by striking ink ribbon on the paper while the print drum rotates, or a dot method where the number of print heads is equal to the number of characters.
(2) Non-impact printer
Non-impact printer is a device that prints by transferring ink or toner onto paper by using heat, etc. While it does not produce much noise and it can print various graphic symbols, it cannot handle simultaneous printing of multiple copies by using carbon paper.
- 1) Thermal printer
This is a general term for printers that use heat for printing.
- • Thermal printer
This printer uses heat and special heat-sensitive paper.
- • Thermal wax transfer printer (thermal transfer printer)
This printer transfers waxed color ink that is applied on the ink ribbon of four colors (CMYK) by melting it with heat.
- • Dye sublimation thermal transfer printer
This printer applies heat to four-color (CMYK) sublimation dyes mounted on a film in order to convert the dyes directly to the gaseous state, which is absorbed by special paper.
- 2) Inkjet printer This is a serial printer that prints each character separately, in units of dots by blowing ink in the shape of characters from the print head. These days, the photo printer is commonly used where photo quality (image quality like photographs) is produced by using four or more color inks.
- 3) Laser printer
This is a page printer that prints in units of pages by affixing toner (powder ink) onto a photoconductive drum by using a laser, and then transferring the toner onto the paper. Since it uses the same principle as a copier, it is also referred to as an electrophotographic printer. A printer or a printer driver creates a print image in the bitmap format. Therefore, the size of characters and spacing between lines can be freely adjusted and even images
p. 102
5-2-3 Other Output Devices
(1) Plotter
Plotter is a device that prints graphics and is used for
printing drawings that are created with CAD, etc. There
is the flatbed plotter, which moves the pen in X axis and
Y axis by fixing the paper (this is referred to as an XY
plotter), and there is the drum plotter, which moves the
pen only in the Y axis direction while the paper wrapped
on the drum is moved in the X axis direction.
(2) Projector
Projector is an output device that projects the data that is inside the computer. It is generally used for enlarged projection of display images on a large screen. The brightness of the light source of the projector is expressed in units of lumen (lm).
(3) Electronic paper
Electronic paper is a very thin (about 0.1mm) display device that is made of soft material and has the characteristics of paper. Power consumption is very small, and data can be repeatedly reproduced and erased. This is one of the applied technologies of MEMS (Micro-Electro-Mechanical Systems), which is a nanometer level micro-electro-mechanical device and manufacturing technology.
(4) Voice synthesizer
Voice synthesizer converts data that is inside the computer (digital data) into analog signals by using an electronic circuit (D/A converter), and artificially creates and generate a human voice or other sounds. It is used in screen readers (screen reading software) that read out the
p. 103
information on the display, and is also used for making announcements in public institutions, transport facility, and event venues. Moreover, vocaloid, which sings a song by using the voice of a sampled person and by feeding melody and lyrics, is also one of the methods of using a voice synthesizer in a broad sense.
5 - 3 Other Input/Output Units
If an input unit is defined as a device that is used for entering data into a computer, and an output unit is defined as a device that is used for exporting the results of internal processing, in addition to general input/output units, the following devices are also classified as input/output units.
(1) Communication control unit
Communication control unit is a device that is used for various controls when the computer is connected to a network. It performs serial-parallel conversion of data (serialization and deserialization of characters), error control on data, etc. Since it receives data from the network and transmits data to the network, it is classified as a type of input/output device.
[LAN interface card]
This is a card-type interface device used for connecting a computer (mainly a PC) to a LAN (Local Area Network) which is a private communication network that is laid in a limited area). Wired LAN interface card, which is connected by using cable, and wireless LAN interface card, which is connected with wireless means such as electromagnetic waves, are available.
(2) Drive unit
Drive unit is a device that is used for operating other machinery or machinery. It converts the directions that are given by a computer into a mechanical operation (e.g., an operation of the robot arm that is used in a factory) and transmits it to the outside. Therefore, it can be called a type of output device. Sensors (devices that convert the measured values into electric signals) and switches that are used in machines with built-in drive units are also input devices, in a broad sense.
p. 104
- • Chattering Chattering is a phenomenon where in response to pressing the push button switch of a mechanical contact once, a series of “on” and “off” signals is generated during a few milliseconds of pressing the switch. As a measure for preventing false operation, there is a method of waiting for the “on” and “off” signals to become stable.
(3) Imaging device
Imaging device is a device that feeds images. Digital cameras and digital video cameras are also classified as imaging devices. There are also electron microscopes and radio telescopes that import and analyze input images as digital data inside the computer.
5 - 4 Input/Output Control Methods
(1) Program control (direct control)
Program control (direct control) interprets the input/output control program with the arithmetic and logical unit of the CPU and gives directions to input/output units, and in this manner, data is exchanged between the input/output units and the main memory unit via the CPU. While this is the most basic control method, there is a large difference in the operating speed between CPU and input/output units, and therefore, it reduces the efficiency of utilization of the CPU.
(2) DMA (Direct Memory Access) method
p. 105
(3) Channel control
Channel control uses a dedicated processing unit (input/output channel or channel) for input/output. When the channel program is sent to an input/output channel from the CPU, the input/output channel independently fetches the required information and decodes the instructions. In this manner, the input/output channel controls the input/output independently of the CPU. It is mainly used as the input/output control of general-purpose computers.
[Classification of input/output channels]
- • Selector channel: ··· This exclusively controls one input/output unit at a time.
- • Multiplexer channel: ··· This simultaneously controls multiple input/output units.
- • Byte multiplexer channel: This controls low-speed data transfer in units of bytes.
- • Block multiplexer channel: This controls high-speed data transfer in units of blocks.
5 - 5 Input/Output Interfaces
Input/output interfaces are rules (standards) for connecting peripheral devices, such as input devices and output devices, to computers. Also, software that controls the peripheral devices connected to input/output interfaces is called a device driver.
5-5-1 Classification of Input/Output Interfaces
Input/output interfaces can be classified into serial interface (serial data transfer method in units of bits) and parallel interface (parallel data transfer method in units of bytes or words). Also, since digital signals are used inside the computer, in order to connect the peripheral devices that support analog signals, it is necessary to perform conversion between analog signals and digital signals by using analog input/output interfaces (analog input/output board).
p. 106
5-5-2 Types of Input/Output Interfaces and their Characteristics
(1) RS-232C (Recommendation Standard-232C)
p. 107
- • Interface board This is a board that allows the number of ports (slots) to be increased by mounting on the expansion slot of a PC. (The analog input/output board is also an interface board.) There are some products that support serial interface board, parallel interface board, and data transfer method (input/output interface). For example, in order to increase RS-232C interface ports, you can mount a serial interface board or an RS-232C interface board.
(2) SCSI (Small Computer Systems Interface)
SCSI is a parallel interface used for connecting computers like PCs to peripheral devices. It is standardized by ANSI (American National Standards Institute), and it allows two-way transmission of data. It is mainly used for high-speed data transfer in hard disk drives and CD-ROM drives. With daisy chain connection from a device that is connected to the PC, SCSI can connect up to seven peripheral devices. A SCSI ID (identification number: 0 to 7) is assigned in order to identify the connected devices. In this case, the connection sequence does not matter as long as the ID is unique; that is, it need not be in the sequence of 0 to 7.
[Advanced SCSI standards]
- • SCSI-2
• Fast SCSI:
Transfer speed of 10 Mbps with 8-bit bus
• Wide SCSI:
Transfer speed of 20 Mbps with 16-bit bus
- • SCSI-3
• Ultra SCSI:
Transfer speed of 20 Mbps with 8-bit bus
• Ultra Wide SCSI: Transfer speed of 40 Mbps with 16-bit bus
In SCSI-3, serial interface technique based on the serial SCSI is standardized, which allows high-speed data transfer at 50 to 200 Mbps.
(3) USB (Universal Serial Bus)
USB · 7 questions is a serial interface standardized in 1996, and it can connect various peripheral devices such as a keyboard, a mouse, and a modem. By using a USB hub, up to 127 devices can be connected in the tree configuration. Multiple standards for the shape of connectors are defined according to the device to be used.
p. 108
[Data transfer modes of USB]
- • USB1.1 It is available in low-speed mode (1.5 Mbps) that is used for connecting low-speed peripheral devices such as a keyboard and a mouse, and full-speed mode (12 Mbps) used for connecting somewhat high-speed peripheral devices such as a printer and a scanner.
- • USB2.0 There are three types of data transfer modes. A mode is added to two data transfer modes of USB1.1. This third mode is called high-speed mode (480 Mbps) and is used for connecting high-speed peripheral devices such as external hard disks.
- • USB3.0 In addition to the three types of data transfer modes of USB 2.0, SuperSpeed mode (5,120Mbps) is added. Also power management is improved in the standard.
(4) IEEE 1394
IEEE 1394 is a serial interface that allows high-speed transfer of data and is used for connecting multimedia-related devices such as digital cameras. It is available in three types of data transfer modes (100 Mbps, 200 Mbps, and 400 Mbps), and its main characteristic is that devices can be connected even without going through a PC. This standard is owned by IEEE (Institute of Electrical and Electronics Engineers), and Apple’s FireWire and Sony’s i.Link are trade names of IEEE 1394.
[Common functions of USB and IEEE 1394]
- • Bus power method (Bus powered) In this method, power is supplied from a PC via connection cable. The amount of power that is supplied by this method is limited. Therefore, operation of devices that have large power consumption cannot be ensured.
- • Hot plug In this method, a cable (device) can be connected and disconnected while the power supply of the computer is on.
(5) Centronics
Centronics is a parallel interface used for connecting with printers, and it is standardized as IEEE1284 by IEEE (Institute of Electrical and Electronics Engineers) including up to the extended specifications. There are standards such as D-Sub 25 pins (24 pins) and 36 pins.
p. 109
(6) GPIB (General Purpose Interface Bus)
GPIB is a parallel interface that is used for connecting with measuring instruments, and it is standardized as IEEE 488.1. Up to 31 peripheral devices can be connected.
(7) Serial ATA (Serial Advanced Technology Attachment)
Serial ATA is a high speed interface that is developed by modifying the parallel interface ATA (ATA/ATAPI-4) to the serial interface. Parallel interface ATA (ATA/ATAPI-4) was the official standard of IDE (Integrated Device Electronics) that was standardized by ANSI (American National Standards Institute). It is generally used for connecting high-speed data transfer devices such as built-in hard disk and optical disc devices like CD-ROM drive. At present, serial ATAIII that has the communication speed of 6 Gbps is most widely used. While serial ATA basically connects devices and ports (controllers) on a one-to-one basis, it is possible to increase the number of ports by using a port multiplier. In the conventional ATA, a master-slave connection was used where two devices that have a master-slave relationship were connected to one cable. However, this method is not used in serial ATA.
(8) IrDA (Infrared Data Association)
IrDA is an association for creating standards for data communication using infrared rays, and it is also a serial interface that is created by this association. The maximum communication distance is 1 meter, and it is necessary to place the communication ports within ±15 degrees without any shields such as partitions. Infrared communication that does not require connection cables is used for data exchange between personal digital assistants like smartphones or tablet terminals, and for data exchange between personal digital assistants and notebook PCs.
(9) Bluetooth
p. 110
(10) HDMI (High-Definition Multimedia Interface)
HDMI is a standard of communication interface that transmits voice and video as digital signals. It was jointly created by Hitachi Ltd., Panasonic Corporation, Phillips, Thomson Multimedia, Sony Corporation, and Toshiba Corporation, with Silicon Image of the United States taking the lead. With a single cable where voice, video, and control signals are integrated, wiring of AV devices can be simplified to just one wire. While it was mainly developed as an input/output interface for home appliances and AV devices, at present it is widely used in PCs as well. The base of HDMI is the serial interface DVI (Digital Visual Interface), which produces high quality images by transmitting digital signals instead of analog RGB, which sends video signals by using analog signals of three primary colors (RGB) of light.
5-5-3 Device Driver
(1) Device driver
p. 111
that is required for each peripheral device, and peripheral devices cannot be used without device drivers. For example, in order to use a printer, a device driver (printer driver) for the printer is required. Moreover, software that manages the device drivers is called a device manager. When multiple devices are connected, the device driver has another role to play in synchronizing with each device (aligning the timing of operation). While each device driver for basic peripheral devices is provided in advance, we need to obtain a device driver for the other peripheral device (e.g., a newly purchased peripheral device) from the Internet or CD-ROM that is supplied with the device and then install it separately (i.e., install software in the computer).
(2) BIOS (Basic Input/Output System)
BIOS is software (program) that provides the standard means of input and output in computers. When the computer is started, the OS (software for controlling the computer) embeds the device drivers of the peripheral devices that are detected by the BIOS so that the use of peripheral devices become possible.
(3) PnP (Plug and Play)
PnP (Plug and Play) is a function (mechanism) that allows the immediate use of a peripheral device by just connecting it to a computer. As for the basic mechanism, as soon as a peripheral device is connected, the OS recognizes the connected device and automatically sets the device driver so that the device can be used. Since the user does not need to perform any manual settings, even a beginner who does not have any knowledge of the device driver can easily use the computer and the peripheral device.
In order to implement a hot plug (a function that allows the connection and disconnection of a device while the power supply is kept on) that is offered by USB or IEEE 1394, it is necessary that the OS of the applicable computer support Plug and Play.
Section progress
Original chapter exercises
Original chapter exercises →New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015



















