n'/> Skip to main content

TYPES OF COMPUTER MEMORY AND ITS SELECTION

Several types of memory are used in computers: Such as Read-and-write memory (RAM), Read-only memory (ROM) and Mass storage.

  • RAM

Read-and-write memory (RAM) is used for storing data, instructions, and results during execution of a program. Semiconductor RAM consists of one or more silicon integrated circuits (each of which has many storage cells) and control logic so that information can be transferred into or out of the cell specified by the address.

Usually, the information that is stored in RAM is lost when power is removed. Thus, we say that RAM is volatile. Originally, the acronym RAM meant random-access memory, but the term has changed its meaning over time. As the term is used now, RAM means volatile semiconductor memory. (Actually, RAM is also available with small batteries that maintain information in the absence of other power.)

The time required to access data in RAM is the same for all memory locations. The fastest RAM is capable of access times of a few nanoseconds. No time penalty is incurred by accessing locations in random order.

There are two types of RAM in common use. In static RAM, the storage cells are SR flip-flops that can store data indefinitely, provided that power is applied continuously.

In dynamic RAM, information is stored in each cell as charge (or lack of charge) on a capacitor. Because the charge leaks off the capacitors, it is necessary to refresh the information periodically. This makes the use of dynamic RAM more complex than the use of static RAM. The advantage of dynamic RAM is that the basic storage cell is smaller, so that chips with larger capacities are available. A relatively small amount of RAM is needed in most control applications, and it is simpler to use static RAM.

  • ROM

In normal operation, read-only memory (ROM) can be read, but not written to. The chief advantages of ROM are that data can be read quickly in random order and that information is not lost when power is turned off. Thus, we say that ROM is nonvolatile (i.e., permanent). ROM is useful for storing programs such as the boot program, which is executed automatically when power is applied to a computer. In simple dedicated applications such as the controller for a clothes washer, all of the programs are stored in ROM. Several types of ROM exist. For example, in mask-programmable ROM, the data are written when the chip is manufactured. A substantial cost is incurred in preparing the mask that is used to write the data while manufacturing this type of ROM. However, mask-programmable ROM is the least expensive form of ROM when the mask cost is spread over a sufficiently large number of units. Mask-programmable ROM is not a good choice if frequent changes in the information stored are necessary, as in initial system development.

In programmable read-only memory (PROM), data can be written by special circuits that blow tiny fuses or leave them un-blown, depending on whether the data bits are zeros or ones. Thus, with PROM, we write data once and can read it as many times as desired. PROM is an economical choice if a small number of units are needed.

Erasable PROM (EPROM) is another type that can be erased by exposure to ultraviolet light (through a window in the chip package) and rewritten by using special circuits. Electrically erasable PROMs (EEPROMs) can be erased by applying proper voltages to the chip. Although we can write data to an EEPROM, the process is much slower than for RAM.

Flash memory is a nonvolatile technology in which data can be erased and rewritten relatively quickly in blocks of locations, ranging in size from 512 bytes up to 512 Kbytes. Flash memory has a limited lifetime, typically on the order of 10 thousand to 100 thousand read/write cycles. Flash is a rapidly advancing technology and may eventually replace hard drives for mass storage in general purpose computers.

  • MASS STORAGE MEMORY

Mass-storage units include hard disks and flash memory, both of which are read/write memory. Another type is CD-ROM and DVD-ROM disks, which are used for storing large amounts of data. Mass storage is the least expensive type of memory per unit of capacity. With all forms of mass storage except flash, a relatively long time is required to access a particular location. Initial access times for mass storage range upward from several milliseconds, compared with fractions of a microsecond for RAM or ROM. However, if mass-storage locations are accessed sequentially, the transfer rate is considerably higher (but still lower than for RAM or ROM). Usually, data and instructions need to be accessed quickly in random order during execution of a program. Thus, programs are stored in RAM or ROM during execution.

  • SELECTION OF COMPUTER MEMORY

The main considerations in choosing the type of memory to be used are:

1. The trade-off between speed and cost.

2. Whether the information is to be stored permanently or must be changed frequently.

3. Whether data are to be accessed in random order or in sequence.

In general-purpose computers, programs and data are read into RAM before execution from mass-storage devices such as hard disks. Because many different programs are used, it is not practical to store programs in semiconductor ROM, which would be too expensive for the large memory space required. Furthermore, information stored in ROM is more difficult to modify compared to data stored on a hard disk. We often find a small amount of ROM used for the startup or boot program in general-purpose computers, but most of the memory is RAM and mass storage.

On the other hand, in embedded microcontrollers, programs are usually stored in semiconductor ROM and only a small amount of RAM is needed to store temporary results. For example, in a controller for a television receiver, the programs for operating the TV are stored in ROM, but time and channel information entered by the user is stored in RAM. In this application, power is applied to the RAM even when the TV is “turned off.” However, during a power failure, the data stored in RAM are lost (unless the TV has a battery backup for its RAM). Usually, we do not find mass-storage devices used in embedded computers.

Comments

Popular posts from this blog

PRIMARY SECONDARY AND TERTIARY FREQUENCY CONTROL IN POWER SYSTEMS

Primary, Secondary and Tertiary Frequency Control in Power Systems Author: Engr. Aneel Kumar Keywords: frequency control, primary frequency control, automatic generation control (AGC), tertiary control, load-frequency control, grid stability. Frequency control keeps the power grid stable by balancing generation and load. When generation and demand drift apart, system frequency moves away from its nominal value (50 or 60 Hz). Grids rely on three hierarchical control layers — Primary , Secondary (AGC), and Tertiary — to arrest frequency deviation, restore the set-point and optimize generation dispatch. Related: Power System Stability — causes & mitigation Overview of primary, secondary and tertiary frequency control in power systems. ⚡ Primary Frequency Control (Droop Control) Primary control is a fast, local response implemented by generator governors (dro...

Advantages of Per Unit System in Power System Analysis | Electrical Engineering

  Advantages of Per Unit System in Power System Analysis In electrical power engineering, the per unit (p.u.) system is one of the most widely used techniques for analyzing and modeling power systems. It is a method of expressing electrical quantities — such as voltage, current, power, and impedance — as fractions of chosen base values rather than their actual numerical magnitudes. This normalization technique provides a universal language for system calculations, minimizing errors, simplifying transformer modeling, and enabling consistency across multiple voltage levels. Because of these benefits, the per unit system is essential in fault analysis, load flow studies, transformer testing, and short-circuit calculations . ⚡ What is the Per Unit System? The per unit system is defined as: Q u a n t i t y ( p u ) = A c t u a l   V a l u e B a s e   V a l u e Quantity_{(pu)} = \dfrac{Actual \ Value}{Base \ Value} Q u an t i t y ( p u ) ​ = B a se   ...

PHASOR DIAGRAM OF A TWO AXIS SALIENT POLE GENERATOR

Following phasor is phsor diagram of a two-axis salient pole generator . The following points apply to the drawing of phasor diagrams of generators and motors:- • The terminal voltage V is the reference phasor and is drawn horizontally. • The emf E lies along the pole axis of the rotor. • The current in the stator can be resolved into two components, its direct component along the ‘direct or d-axis’ and its quadrature component along the ‘quadrature or q-axis’. The emf E leads the voltage V in an anti-clockwise direction when the machine is a generator. Each reactance and resistance in the machine has a volt drop associated with it due to the stator current flowing through it. Consider a generator. The following currents and voltages can be shown in a phasor diagram for both the steady and the dynamic states. E                      the emf produced by the field current If . V    ...

DISTRIBUTION STATCOM D-STATCOM

The D-STATCOM is basically one of the custom power devices. It is nothing but a STATCOM but used at the Distribution level. The D-STATCOM is a voltage or current source inverter based custom power device connected in shunt with the power system. It is connected near the load at the distribution systems. The key component of the D-STATCOM is a power VSC that is based on high power electronics technologies. Basically, the D-STATCOM system is comprised of three main parts: a VSC, a set of coupling reactors and a controller. The basic principle of a D-STATCOM installed in a power system is the generation of a controllable ac voltage source by a voltage source converter (VSC) connected to a dc capacitor (energy storage device). The ac voltage source, in general, appears behind a transformer leakage reactance. The active and reactive power transfer between the power system and the D-STATCOM is caused by the voltage difference across this reactance. The D-STATCOM is connected in shunt w...

ADVANTAGES AND DISADVANTAGES OF CORONA EFFECT IN TRANSMISSION LINES | ELECTRICAL ENGINEERING GUIDE

Advantages and Disadvantages of Corona Effect in Power Systems In high-voltage overhead transmission lines , the corona effect plays a critical role in system performance. Corona occurs when the air around a conductor becomes ionized due to high electric stress. While often seen as a drawback because of power losses and interference , it also provides certain engineering benefits . This article explains the advantages and disadvantages of corona effect in detail, with examples relevant to modern electrical power systems. ✅ Advantages of Corona Effect Increase in Virtual Conductor Diameter Due to corona formation, the surrounding air becomes partially conductive, increasing the virtual diameter of the conductor. This reduces electrostatic stress between conductors and minimizes insulation breakdown risks. Related Reading: Electrostatic Fields in High Voltage Engineering Reduction of Transient Surges Corona acts like a natural cushion for sudden ...

DC GENERATORS

Principle: An electrical generator is a machine which converts mechanical energy into electrical energy. The energy conversion is based on the principle of the production of dynamically induced emf, where a conductor cuts magnetic flux, dynamically induced emf is produced in it according to Faraday’s Laws of electromagnetic Induction. This emf causes a current to flow if the conductor circuit is closed. Hence, two basic essential parts of an electrical generator are (i) a magnetic field and (ii) a conductor or conductors which can so move as to cut the flux. The following figure shows a single-turn rectangular copper coil rotating about its own axis in a magnetic field provided by either permanent magnets or electromagnets. The two ends of the coil are joined to two slip-rings ‘a’ and ‘b’ which are insulated from each other and from the central shaft. Two collecting brushes (of carbon or copper) press against the slip-rings. Their function is to collect the current induced in the coi...

Operation of Thyristor Controlled Series Capacitor (TCSC): Mechanism and Working Principles

Introduction In modern power systems, maintaining voltage stability and optimizing power transmission is crucial. One of the most effective FACTS (Flexible AC Transmission System) controllers for this purpose is the Thyristor Controlled Series Capacitor (TCSC) . TCSC dynamically adjusts line impedance , allowing for enhanced power flow, transient stability improvement, and subsynchronous resonance (SSR) mitigation . Unlike conventional fixed series capacitors, TCSC uses thyristor-controlled switching to regulate the compensation level in real-time, ensuring grid reliability and efficiency . In this article, we will explore: ✅ The working principle and internal structure of TCSC ✅ Modes of operation and impedance control mechanisms ✅ How TCSC enhances power system efficiency and stability Understanding the Thyristor Controlled Series Capacitor (TCSC) What is a TCSC? A Thyristor Controlled Series Capacitor (TCSC) is a power electronic-based controller used in transmission systems to ...