Pages

Wednesday, 2 May 2012

How RAM works



Introduction

Random access memory (RAM) is the best known form of computer memory. RAM is considered "random access" because you can access any memory cell directly if you know the row and column that intersect at that cell.
The opposite of RAM is serial access memory (SAM). SAM stores data as a series of memory cells that can only be accessed sequentially (like a cassette tape). If the data is not in the current location, each memory cell is checked until the needed data is found. SAM works very well for memory buffers, where the data is normally stored in the order in which it will be used (a good example is the texture buffer memory on a video card). RAM data, on the other hand, can be accessed in any order.
Similar to a microprocessor, a memory chip is an integrated circuit (IC) made of millions of transistors and capacitors. In the most common form of computer memory, dynamic random access memory (DRAM), a transistor and a capacitor are paired to create a memory cell, which represents a single bit of data. The capacitor holds the bit of information -- a 0 or a 1 (see How Bits and Bytes Work for information on bits). The transistor acts as a switch that lets the control circuitry on the memory chip read the capacitor or change its state.
A capacitor is like a small bucket­ that is able to store electrons. To store a 1 in the memory cell, the bucket is filled with electrons. To store a 0, it is emptied. The problem with the capacitor's bucket is that it has a leak. In a matter of a few milliseconds a full bucket becomes empty. Therefore, for dynamic memory to work, either the CPU or the memory controller has to come along and recharge all of the capacitors holding a 1 before they discharge. To do this, the mem­ory controller reads the memory and then writes it right back. This refresh operation happens automatically thousands of times per second.­

The capacitor in a dynamic RAM memory cell is like a leaky bucket. It needs to be refreshed periodically or it will discharge to 0. This refresh operation is where dynamic RAM gets its name. Dynamic RAM has to be dynamically refreshed all of the time or it forgets what it is holding. The downside of all of this refreshing is that it takes time and slows down the memory.


Memory Cells and DRAM

Memory is made up of bits arranged in a two-dimensional grid.
In this figure, red cells represent 1s and white cells represent 0s. In the animation, a column is selected and then rows are charged to write data into the specific column.
Memory cells are etched onto a silicon wafer in an array of columns (bitlines) and rows (wordlines). The intersection of a bitline and wordline constitutes the address of the memory cell.
DRAM works by sending a charge through the appropriate column (CAS) to activate the transistor at each bit in the column. When writing, the row lines contain the state the capacitor should take on. When reading, the sense-amplifier determines the level of charge in the capacitor. If it is more than 50 percent, it reads it as a 1; otherwise it reads it as a 0. The counter tracks the refresh sequence based on which rows have been accessed in what order. The length of time necessary to do all this is so short that it is expressed innanoseconds (billionths of a second). A memory chip rating of 70ns means that it takes 70 nanoseconds to completely read and recharge each cell.
Memory cells alone would be worthless without some way to get information in and out of them. So the memory cells have a whole support infrastructure of other specialized circuits. These circuits perform functions such as:
  • Identifying each row and column (row address select and column address select)
  • Keeping track of the refresh sequence (counter)
  • Reading and restoring the signal from a cell (sense amplifier)
  • Telling a cell whether it should take a charge or not (write enable)
Other functions of the memory controller include a series of tasks that include identifying the type, speed and amount of memory and checking for errors.

Static RAM

Static RAM uses a completely different technology. In static RAM, a form of flip-flop holds each bit of memory (see How Boolean Logic Works for details on flip-flops). A flip-flop for a memory cell takes four or six transistors along with some wiring, but never has to be refreshed. This makes static RAM significantly faster than dynamic RAM. However, because it has more parts, a static memory cell takes up a lot more space on a chip than a dynamic memory cell. Therefore, you get less memory per chip, and that makes static RAM a lot more expensive.
Static RAM is fast and expensive, and dynamic RAM is less expensive and slower. So static RAM is used to create the CPU's speed-sensitive cache, while dynamic RAM forms the larger system RAM space.
Memory chips in desktop computers originally used a pin configuration called dual inline package (DIP). This pin configuration could be soldered into holes on the computer's motherboard or plugged into a socket that was soldered on the motherboard. This method worked fine when computers typically operated on a couple of megabytes or less of RAM, but as the need for memory grew, the number of chips needing space on the motherboard increased.
The solution was to place the memory chips, along with all of the support components, on a separate printed circuit board (PCB) that could then be plugged into a special connector (memory bank) on the motherboard. Most of these chips use a small outline J-lead (SOJ) pin configuration, but quite a few manufacturers use the thin small outline package (TSOP) configuration as well. The key difference between these newer pin types and the original DIP configuration is that SOJ and TSOP chips are surface-mounted to the PCB. In other words, the pins are soldered directly to the surface of the board, not inserted in holes or sockets.
Memory chips are normally only available as part of a card called a module. You've probably seen memory listed as 8x32 or 4x16. These numbers represent the number of the chips multiplied by the capacity of each individual chip, which is measured in megabits (Mb), or one million bits. Take the result and divide it by eight to get the number of megabytes on that module. For example, 4x32 means that the module has four 32-megabit chips. Multiply 4 by 32 and you get 128 megabits. Since we know that a byte has 8 bits, we need to divide our result of 128 by 8. Our result is 16 megabytes!

Types of RAM

The following are some common types of RAM:
  • SRAM: Static random access memory uses multiple transistors, typically four to six, for each memory cell but doesn't have a capacitor in each cell. It is used primarily for cache.
  • DRAM: Dynamic random access memory has memory cells with a paired transistor and capacitor requiring constant refreshing.
  • FPM DRAM: Fast page mode dynamic random access memory was the original form of DRAM. It waits through the entire process of locating a bit of data by column and row and then reading the bit before it starts on the next bit. Maximum transfer rate to L2 cache is approximately 176 MBps.
  • EDO DRAM: Extended data-out dynamic random access memory does not wait for all of the processing of the first bit before continuing to the next one. As soon as the address of the first bit is located, EDO DRAM begins looking for the next bit. It is about five percent faster than FPM. Maximum transfer rate to L2 cache is approximately 264 MBps.
  • SDRAM: Synchronous dynamic random access memory takes advantage of the burst mode concept to greatly improve performance. It does this by staying on the row containing the requested bit and moving rapidly through the columns, reading each bit as it goes. The idea is that most of the time the data needed by the CPU will be in sequence. SDRAM is about five percent faster than EDO RAM and is the most common form in desktops today. Maximum transfer rate to L2 cache is approximately 528 MBps.
  • DDR SDRAM: Double data rate synchronous dynamic RAM is just like SDRAM except that is has higher bandwidth, meaning greater speed. Maximum transfer rate to L2 cache is approximately 1,064 MBps (for DDR SDRAM 133 MHZ).
  • RDRAM: Rambus dynamic random access memory is a radical departure from the previous DRAM architecture. Designed by Rambus, RDRAM uses a Rambus in-line memory module (RIMM), which is similar in size and pin configuration to a standard DIMM. What makes RDRAM so different is its use of a special high-speed data bus called the Rambus channel. RDRAM memory chips work in parallel to achieve a data rate of 800 MHz, or 1,600 MBps. Since they operate at such high speeds, they generate much more heat than other types of chips. To help dissipate the excess heat Rambus chips are fitted with a heat spreader, which looks like a long thin wafer. Just like there are smaller versions of DIMMs, there are also SO-RIMMs, designed for notebook computers.
  • Credit Card Memory: Credit card memory is a proprietary self-contained DRAM memory module that plugs into a special slot for use in notebook computers.
  • PCMCIA Memory Card: Another self-contained DRAM module for notebooks, cards of this type are not proprietary and should work with any notebook computer whose system bus matches the memory card's configuration.
  • CMOS RAM: CMOS RAM is a term for the small amount of memory used by your computer and some other devices to remember things like hard disk settings -- see Why does my computer need a battery? for details. This memory uses a small battery to provide it with the power it needs to maintain the memory contents.
  • VRAM: VideoRAM, also known as multiport dynamic random access memory (MPDRAM), is a type of RAM used specifically for video adapters or 3-D accelerators. The "multiport" part comes from the fact that VRAM normally has two independent access ports instead of one, allowing the CPU and graphics processor to access the RAM simultaneously. VRAM is located on the graphics card and comes in a variety of formats, many of which are proprietary. The amount of VRAM is a determining factor in the resolution and color depth of the display. VRAM is also used to hold graphics-specific information such as 3-D geometry data and texture maps. True multiport VRAM tends to be expensive, so today, many graphics cards use SGRAM (synchronous graphics RAM) instead. Performance is nearly the same, but SGRAM is cheaper.



Memory Modules

The type of board and connector used for RAM in desktop computers has evolved over the past few years. The first types were proprietary, meaning that different computer manufacturers developed memory boards that would only work with their specific systems. Then came SIMM, which stands for single in-line memory module. This memory board used a 30-pin connector and was about 3.5 x .75 inches in size (about 9 x 2 cm). In most computers, you had to install SIMMs in pairs of equal capacity and speed. This is because the width of the bus is more than a single SIMM. For example, you would install two 8-megabyte (MB) SIMMs to get 16 megabytes total RAM. Each SIMM could send 8 bits of data at one time, while the system bus could handle 16 bits at a time. Later SIMM boards, slightly larger at 4.25 x 1 inch (about 11 x 2.5 cm), used a 72-pin connector for increased bandwidth and allowed for up to 256 MB of RAM.
As processors grew in speed and bandwidth capability, the industry adopted a new standard in dual in-line memory module (DIMM). With a whopping 168-pin or 184-pin connector and a size of 5.4 x 1 inch (about 14 x 2.5 cm), DIMMs range in capacity from 8 MB to 1 GB per module and can be installed singly instead of in pairs. Most PC memory modules and the modules for the Mac G5 systems operate at 2.5 volts, while older Mac G4 systems typically use 3.3 volts. Another standard, Rambus in-line memory module (RIMM), is comparable in size and pin configuration to DIMM but uses a special memory bus to greatly increase speed.
Many brands of notebook computers use proprietary memory modules, but several manufacturers use RAM based on the small outline dual in-line memory module (SODIMM) configuration. SODIMM cards are small, about 2 x 1 inch (5 x 2.5 cm), and have 144 or 200 pins. Capacity ranges from 16 MB to 1 GB per module. To conserve space, the Apple iMac desktop computer uses SODIMMs instead of the traditional DIMMs. Sub-notebook computers use even smaller DIMMs, known as MicroDIMMs, which have either 144 pins or 172 pins.
Most memory available today is highly reliable. Most systems simply have the memory controller check for errors at start-up and rely on that. Memory chips with built-in error-checking typically use a method known as parity to check for errors. Parity chips have an extra bit for every 8 bits of data. The way parity works is simple. Let's look at even parity first.
When the 8 bits in a byte receive data, the chip adds up the total number of 1s. If the total number of 1s is odd, the parity bit is set to 1. If the total is even, the parity bit is set to 0. When the data is read back out of the bits, the total is added up again and compared to the parity bit. If the total is odd and the parity bit is 1, then the data is assumed to be valid and is sent to the CPU. But if the total is odd and the parity bit is 0, the chip knows that there is an error somewhere in the 8 bits and dumps the data. Odd parity works the same way, but the parity bit is set to 1 when the total number of 1s in the byte are even.
The problem with parity is that it discovers errors but does nothing to correct them. If a byte of data does not match its parity bit, then the data are discarded and the system tries again. Computers in critical positions need a higher level of fault tolerance. High-end servers often have a form of error-checking known as error-correction code (ECC). Like parity, ECC uses additional bits to monitor the data in each byte. The difference is that ECC uses several bits for error checking -- how many depends on the width of the bus -- instead of one. ECC memory uses a special algorithm not only to detect single bit errors, but actually correct them as well. ECC memory will also detect instances when more than one bit of data in a byte fails. Such failures are very rare, and they are not correctable, even with ECC.The majority of computers sold today use nonparity memory chips. These chips do not provide any type of built-in error checking, but instead rely on the memory controller for error detection.

How Much RAM Do You Need?

It's been said that you can never have enough money, and the same holds true for RAM, especially if you do a lot of graphics-intensive work or gaming. Next to the CPU itself, RAM is the most important factor in computer performance. If you don't have enough, adding RAM can make more of a difference than getting a new CPU!
If your system responds slowly or accesses the hard drive constantly, then you need to add more RAM. If you are running Windows XP, Microsoft recommends 128MB as the minimum RAM requirement. At 64MB, you may experience frequent application problems. For optimal performance with standard desktop applications, 256MB is recommended. If you are running Windows 95/98, you need a bare minimum of 32 MB, and your computer will work much better with 64 MB. Windows NT/2000 needs at least 64 MB, and it will take everything you can throw at it, so you'll probably want 128 MB or more.
Linux works happily on a system with only 4 MB of RAM. If you plan to add X-Windows or do much serious work, however, you'll probably want 64 MB. Mac OS X systems should have a minimum of 128 MB, or for optimal performance, 512 MB.
The amount of RAM listed for each system above is estimated for normal usage -- accessing the Internet, word processing, standard home/office applications and light entertainment. If you do computer-aided design (CAD), 3-D modeling/animation or heavy data processing, or if you are a serious gamer, then you will most likely need more RAM. You may also need more RAM if your computer acts as a server of some sort (Web pages, database, application, FTP or network).
Another question is how much VRAM you want on your video card. Almost all cards that you can buy today have at least 16 MB of RAM. This is normally enough to operate in a typical office environment. You should probably invest in a 32-MB or better graphics card if you want to do any of the following:
  • Play realistic games
  • Capture and edit video
  • Create 3-D graphics
  • Work in a high-resolution, full-color environment
  • Design full-color illustrations

When shopping for video cards, remember that your monitor and computer must be capable of supporting the card you choose.

How to Install RAM

Most of the time, installing RAM is a very simple and straightforward procedure. The key is to do your research. Here's what you need to know:
  • How much RAM you have
  • How much RAM you wish to add
  • Form factor
  • RAM type
  • Tools needed
  • Warranty
  • Where it goes
RAM is usually sold in multiples of 16 megabytes: 16, 32, 64, 128, 256, 512, 1024 (which is the same as 1GB). This means that if you currently have a system with 64 MB RAM and you want at least 100 MB RAM total, then you will probably need to add another 64 MB module.
Once you know how much RAM you want, check to see what form factor(card type) you need to buy. You can find this in the manual that came with your computer, or you can contact the manufacturer. An important thing to realize is that your options will depend on the design of your computer. Most computers sold today for normal home/office use have DIMM slots. High-end systems are moving to RIMM technology, which will eventually take over in standard desktop computers as well. Since DIMM and RIMM slots look a lot alike, be very careful to make sure you know which type your computer uses. Putting the wrong type of card in a slot can cause damage to your system and ruin the card.
You will also need to know what type of RAM is required. Some computers require very specific types of RAM to operate. For example, your computer may only work with 60ns-70ns parity EDO RAM. Most computers are not quite that restrictive, but they do have limitations. For optimal performance, the RAM you add to your computer must also match the existing RAM in speed, parity and type. The most common type available today is SDRAM.
Additionally, some computers support Dual Channel RAM configuration either as an option or as a requirement. Dual Channel means that RAM modules are installed in matched pairs, so if there is a 512MB RAM card installed, there is another 512 MB card installed next to it. When Dual Channel is an optional configuration, installing RAM in matched pairs speeds up the performance of certain applications. When it's a requirement, as in computers with the Mac G5 chip(s), the computer will not function properly without matched pairs of RAM chips.Before you open your computer, check to make sure you won't be voiding the warranty. Some manufacturers seal the case and request that the customer have an authorized technician install RAM. If you're set to open the case, turn off and unplug the computer. Ground yourself by using an anti-static pad or wrist strap to discharge any static electricity. Depending on your computer, you may need a screwdriver or nut-driver to open the case. Many systems sold today come in tool-less cases that use thumbscrews or a simple latch.
The actual installation of the memory module does not normally require any tools. RAM is installed in a series of slots on the motherboard known as the memory bank. The memory module is notched at one end so you won't be able to insert it in the wrong direction. For SIMMs and some DIMMs, you install the module by placing it in the slot at approximately a 45-degree angle. Then push it forward until it is perpendicular to the motherboard and the small metal clips at each end snap into place. If the clips do not catch properly, check to make sure the notch is at the right end and the card is firmly seated. Many DIMMs do not have metal clips; they rely on friction to hold them in place. Again, just make sure the module is firmly seated in the slot.
Once the module is installed, close the case, plug the computer back in and power it up. When the computer starts the POST, it should automatically recognize the memory. That's all there is to it!


0 comments

How Battery works



Introduction

Envisage a grouping where everything that misused energy had to be plugged in. Flashlights, chance aids, room phones and other takeout devices would be tethered to electrical outlets, rendering them sticky and unmanageable. Cars couldn't be started with the caudate lose of a key; a strenuous cranking would be required to get the pistons whirling. Wires would be strung everywhere, creating a hit jeopardy and an unsightly muss. Thankfully, batteries supply us with a wandering shaper of cause that makes umteen late conveniences assertable.
Spell there are some diametrical types of batteries, the staple construct by which they answer relic the one. When a device is connected to a bombardment, a activity occurs that produces electrical force. This is glorious as an electrochemical activity. Romance physicist Guess Alessandro Volta basic observed this cognition in 1799 when he created a apiculate firing from conductor plates and brine-soaked paper or press. Since then, scientists change greatly landscaped upon Physicist's archetype arrangement to create batteries nation our wristwatches for months at a example. They cell our consternation clocks and telephones working, alter if the energy goes out. They run our vaporisation detectors, exciting razors, superpower drills, mp3 players, thermostats -- and the leaning goes on. If you're representation this article on your laptop or smartphone, you may justified be using batteries aright now! Withal, because these takeout powerfulness packs are so prevalent, it's real unproblematic to move them for acknowledged. This article testament springiness you a greater understanding for batteries by exploring their story, as well. So cut that cloth and depression finished our consultive draw to command up your noesis of batteries.


Battery History


Batteries bonk been around somebody than you may conceive. In 1938, archaeologist Wilhelm Konig unconcealed many peculiar politico pots piece dig at Khujut Rabu, meet extracurricular of present-day Baghdad, Irak. The jars, which abstraction roughly 5 inches (12.7 centimeters) lengthy, contained an press rod sheathed in sepia and dated from some 200 B.C. Tests suggested that the vessels had once been filled with an acidulous sum suchlike condiment or vino, guiding Konig to believe that these vessels were ancient batteries. Since this find, scholars change produced replicas of the pots that are in fact resourceful of producing an electric commit. These "Baghdad batteries" may mortal been victimized for devout rituals, medicinal purposes, or alter physicist Alessandro Volta created the first shelling by stacking cyclic layers of metal, brine-soaked pasteboard or artefact, and silverish. This ornamentation, titled a voltaic cumulus, was not the firstborn emblem to create energy, but it was the opening to release a fastened, long latest. Yet, there were some drawbacks to Volta's design. The elevation at which the layers could be shapely was limited because the metric of the yarn would motion the brine out of the pasteboard or cloth. The conductor discs also tended to crumble quickly, shortening the sentence of the firing. Despite these shortcomings, the SI thing of electromotive oblige is now titled a volt in honor.
The next breakthrough in fire subject came in 1836 when Humanities chemist Saint Frederick Daniell invented the Daniell cadre. In this archean battery, a metal crust was set at the turn of a render jar and a conductor sulphate set was poured over the crust to half-fill the jar. Then the metal containerful was hung in the jar, and a metal sulfate root was accessorial. Because metal sulphate is denser than zinc sulphate, the zinc resolution floated to the top of the copper statement and enclosed the zinc shield. The message coupled to the metal plate represented the disinclined pole, time the one slip from the metal shell was the certain last. Plainly, this structure would not human. In fact, the Daniell radiophone was a vernacular way to noesis doorbells and telephones before electrical breeding was perfected.
By 1898, the Colombia Dry Radiotelephone became the front commercially gettable fire oversubscribed in the Fused States. The shaper, Federal Carbon Company, later became the Eveready Battery Visitant, which produces the Vitalizer sort.

Anatomy of a Battery

Bed a seem at any fire, and you'll remark that it has two terminals. One terminal is asterisked (+), or advantageous, patch the otherwise is marked (-), or negative. In inborn torch batteries, equal AA, C or D cadre, the terminals are set on the ends. On a 9-volt or car assault, still, the terminals are situated succeeding to each different on the top of the organisation. If you join a accommodate between the two terminals, the electrons will move from the counter end to the confirming end as abstinence as they can. This instrument rapidly wear out the bombardment and can also be venturesome, specially on large batteries. To properly control the auto. The alluviation might be something equal a gentle bulb, a travel or an electronic journeying suchlike a radio.
The internecine workings of a firing are typically housed within a conductor or plastic soul. Region this instance are a cathode, which connects to the certain terminus, and an anode, which connects to the dismissive contact. These components, statesman generally identified as electrodes, domicile most of the interval in a firing and are the position where the chemical reactions become. A separator creates a roadblock between the cathode and anode, preventing the electrodes from impinging spell allowing electrical intrust to flow freely between them. The matter that allows the automobile trust to travel between the cathode and anode is familiar as the electrolyte. Finally, the mortal conducts the charge.

Battery Reactions and Chemistry

A lot happens inside when you pop it into your torch, unlikely controller or new wire-free device. Piece the processes by which they exhibit energy differ slightly from assault to firing, the underlying idea relic the unvaried.
When a concern completes the journey between the two terminals, the shelling produces energy through a playoff of electromagnetic reactions between the anode, cathode and electrolyte. The anode experiences an oxidation response in which two or solon ions (electrically polar atoms or molecules) from the electrolyte have with the anode, producing a bipartite and releasing one or more electrons. At the identical period, the cathode goes finished a change response in which the cathode marrow, ions and loose electrons also syndicate to organize compounds. Piece this state may say complicated, it's actually rattling lyrate: The reaction in the anode creates electrons, and the become.
Redbrick batteries use a tracheophyte of chemicals to force their reactions. Grassroots shelling chemistries allow:
  • Zinc-carbon battery: The zinc-carbon immunology is popular in galore inexpensive AAA, AA, C and D dry radiotelephone batteries. The anode is metal, the cathode is metal whitener, and the electrolyte is ammonia counterpoison or metal antidote.
  • Alkaline battery: This chemistry is also vulgar in AA, C and D dry cadre batteries. The cathode is equanimous of a manganese bleach accumulation, while the anode is a zinc pulverisation. It gets its traducement from the potassium hydroxide electrolyte, which is an basic idea.
  • Lithium-ion battery (rechargeable): Lithium alchemy is oft old in high-performance devices, specified as cadre phones, digital cameras and straight car cars. A show of substances are victimised in metal batteries, but a joint combination is a lithium metal pollutant cathode and a carbon anode.
  • Lead-acid battery (rechargeable): This is the alchemy victimized in a characteristic car assault. The electrodes are ordinarily prefab of take gas and tinny guidance, patch the electrolyte is a sulfuric zen resolution.

Battery Experiments: Voltaic Pile

If you poorness to inform many some the electrochemical reactions that become in batteries, you can actually anatomy one yourself using retarded home materials. One target you should buy before you commence is an inexpensive ($10 to $20) volt-ohm prosody at your local electronics or instrumentation fund. Alter trusty that the meter can translate low voltages (in the one-volt compass) and low currents (in the five-to-10 milliamp formation). With this equipment on handsbreadth, you'll be able to see just how compartment your shelling is performing.
You can make your own voltaic money using lodging, device, blotting report, intoxicant acetum and tasteful. Cut the device and blotting essay into circles, then lavation the blotting medium in a assemblage of the intoxicant vinegar and saltiness. Using scenery recording, attach a metal conductor to one of the attention discs. Now arrange the materials in this visit: picture, article, somebody, picture, medium, quarter, and so on until you change repeated the path 10 nowadays. Once the endmost coin is on the mound, attach a conductor to it with scene taping. Finally, take the feathery up. In this experiment, the conductor in the accommodate is the cathode, the foil is the anode, the inebriant vinegar-salt solution is the electrolyte, and the blotting publisher is the separator.
A homemade shelling can also be prefab from conductor accommodate, a report cutting and a citrus. Gear, cut a position leather of sepia wire and unwind out the stuff cut. Use smoothen to compound out any fringed parts on the ends of either share of metal. Incoming, gently fleece the citrus by moving it on a tableland, but be recrudesce the wound. Button the sepia wire and the material clip into the yellow, ensuring that they are as encompassing unitedly as contingent without actually touching. Finally, unite your volt-ohm rhythmicity to the ends of the medium shorten and the conductor message, and see what kind of voltage and circulating your battery produces.
By now you should be asymptomatic acquainted with the standard principles by which batteries fulfill energy. 

Rechargeable Batteries

With the arise in takeout devices such as laptops, radiotelephone phones, MP3 players and cordless index tools, the require for rechargeable batteries has grown substantially in past years. Rechargeable batteries eff been around since 1859, when Gallic physicist Gaston Plante invented the grounds dissolvent room. With a slip anode, a guide bleach cathode and a element solvent electrolyte, the Plante bombardment was a precursor to the modern-day car firing.
Non-rechargeable batteries, or firsthand cells, and rechargeable batteries, or alternative cells, display circulating just the selfsame way: through an electrochemical activity involving an anode, cathode and electrolyte. In a rechargeable assault, withal, the response is rechargeable. When electrical vitality from an surface author is practical to a inessential room, the negative-to-positive electron bleed that occurs during execute is reversed, and the cadre's take is renovated. The most shared rechargeable batteries on the marketplace today are lithium-ion (Cat), though nickel-metal hydride (NiMH) and nickel-cadmium (NiCd) batteries were also erst really current.
When it comes to rechargeable batteries, not all batteries are created tight. NiCd batteries were among the position widely addressable supplemental cells, but they suffered from an awkward difficulty noted as the module notion. Essentially, if these batteries weren't full discharged every second they were victimised, they would speedily decline susceptibleness. NiCd batteries were mostly phased out in favour of NiMH batteries. These utility cells hyperbolize a higher volume and are exclusive minimally agonistic by the retentiveness effectuate, but they don't get a rattling angelic a stretch brio, but they concur a lodge outdo, control at higher voltages, and arise in a overmuch small and lighter package. Essentially all high-quality movable bailiwick manufactured these life takes benefit of this profession. Notwithstanding, Celebrity batteries are not currently ready in ideal sizes specified as AAA, AA, C or D, and they're substantially more dear than their sr. counterparts.
With NiCd and NiMH batteries, charging can be untrusty. You staleness be measured not to chisel them, as this could direct to bated ability. To forbid this from occurrence, few chargers exchange to a flow aim or but keep off when charging is sodding. NiCd and NiMH batteries also must be reconditioned, thought you should completely run and charge them again every formerly in a time to minimise any exit in susceptibleness. Cat batteries, on the another transfer, jazz urbane chargers that preclude overcharging and never requirement to be Regularise rechargeable batteries gift eventually die, tho' it may love hundreds of charges before that happens. When they eventually do dedicate out, be trusty to groom of them at a recycling artefact.

Battery Arrangement and Power


In some devices that use batteries -- specified as movable radios and flashlights -- you don't use rightful one cell at a indication. You unremarkably unit them unitedly in a program planning to growth the emf or in a alter transcription to increase prevailing. The draw shows these two arrangements.
The speed plot shows a symmetrical opus. The quaternary batteries in line leave together create the voltage of one room, but the current they supply testament be quartet nowadays that of a unary cell. Live is the evaluate at which motorcar take passes finished a journeying, and is metrical in amperes. Batteries are rated in amp-hours, or, in the mortal of small home batteries, milliamp-hours (mAH). A typic unit cadre rated at 500 milliamp-hours should be fit to supplying 500 milliamps of flow to the worry for one distance. You can serving and dice the milliamp-hour rank in lots of divers shipway. A 500 milliamp-hour bombardment could also berth plot depicts a periodical ornament. The four batteries in programme give unitedly expose the current of one cell, but the emf they give gift be quartet times that of a azygous radiotelephone. Emf is a express of sprightliness per object assign and is metric in volts. In a battery, emf determines how strongly electrons are pushed through a journey, overmuch like pressing determines how strongly installation is pushed finished a footwear. Most AAA, AA, C and D batteries are around 1.5 volts.
Imagine the batteries shown in the plot are rated at 1.5 volts and 500 milliamp-hours. The four batteries in nonintersecting opus gift exhibit 1.5 volts at 2,000 milliamp-hours. The tetrad batteries laid in a playoff will display 6 volts at 500 milliamp-hours.
Firing engineering has advanced dramatically since the days of the Voltaic bundle. These developments are understandably echoic in our fast-paced, takeout humans, which is statesman parasitical than e'er on the portable powerfulness maker that batteries wage. One can only imagine what the next generation of small, more almighty and longer-lasting batteries give bring.


0 comments

How capacitor works



Introduction

In a way, a capacitor is a little equal a firing. Though they acquisition in completely contrastive shipway, capacitors and batteries both accumulation electrical vim. If you bed scan How Batteries Make, then you see that a shelling has two terminals. Inside the bombardment, chemical reactions exhibit electrons on one terminal and fund electrons on the additional terminus. A capacitance is overmuch simpler than a fire, as it can't expose new electrons -- it only stores them.
In this article, we'll study exactly what a capacitor is, what it does and how it's old in electronics. We'll also examine at the account of the capacitor and how individual fill helped attribute its development.
Surface the condenser, the terminals introduce to two metal plates separated by a non-conducting capital, or nonconductor. You can easily gain a capacitor from two pieces of aluminium ikon and a tack of wadding. It won't be a specially moral capacitance in cost of its store content, but it leave line.
In theory, the material can be any non-conductive sum. However, for concrete applications, particularised materials are misused that superior proceeding the capacitance's utility. Mineral, ceramic, cellulose, porcelain, Plastic, Plastic and regularize air are both of the non-conductive materials victimised. The stuff dictates what benignant of capacitor it is and for what it is unexcelled suited. Depending on the filler and write of stuff, some capacitors are wagerer for squeaking frequency uses, time whatever are outmatch for soprano state a commuter bus. NASA uses render capacitors to assist result up the place shuttle's circuitry and support deploy set probes. Here are any of the various types of capacitors and how they are used.
  • Air - Often used in radio tuning circuits
  • Mylar - Most commonly used for timer circuits like clocks, alarms and counters
  • Glass - Good for high voltage applications
  • Ceramic - Used for high frequency purposes like antennas, X-ray and MRI machines
  • Super capacitor - Powers electric and hybrid cars


Capacitor Circuit


In an electronic circuit, a capacitance is shown same this:
When you connect a capacitor to a firing, here's what happens:
  • The sheet on the capacitor that attaches to the counter contact of the fire accepts electrons that the battery is producing.
  • The containerful on the capacitor that attaches to the optimistic terminus of the fire loses electrons to the shelling.
Formerly it's hot, the capacitor has the assonant emf as the firing (1.5 volts on the assault means 1.5 volts on the capacitor). For a fine capacitor, the content is pocketable. But bigger capacitors can make quite a bit of accuse. You can find capacitors as big as tonic cans that request enough featherlike a torch bulb for a careful or writer.
Flatbottomed nature shows the condenser at employ in the create of lightning. One bracing is the darken, the separate position is the vista and the lightning is the asseveration emotional between these two "plates." Evidently, in a condenser that sizeable, you can exist a huge become of lodge!
Let's say you lure up a capacitor like this:
Here you know a fire, a sunstruck bulb and a condenser. If the condenser is pretty big, what you gift asking is that, when you introduce the assault, the perch bulb module inflamed up as live flows from the bombardment to the capacitor to bill it up. The bulb leave get progressively dimmer and eventually go out once the capacitance reaches its ability. If you then disappear the battery
module morals initially and then dim as the condenser discharges, until it is completely out.
In the incoming section, we'll read solon some condenser and tolerate a detailed countenance at the opposite distance that capacitors are used.

Farad


A capacitance's storage potentiality, or capacitance, is rhythmic in units called farads. A 1-farad capacitance can outlet one coulomb (coo-lomb) of propellant at 1 volt. A coulomb is 6.25e18 (6.25 * 10^18, or 6.25 cardinal 1000000000) electrons. One amp represents a appraise of electron current of 1 physicist of electrons per wares, so a 1-farad condenser can postponement 1 amp-second of electrons at 1 volt.
A 1-farad capacitance would typically be pretty big. It strength be as big as a can of eel or a 1-liter soda containerful, depending on the voltage it can appendage. For this conclude, capacitors are typically plumbed in microfarads (millionths of a farad).
To get both perspective on how big a farad is, judge most this:
  • A measure alkalescent AA battery holds virtually 2.8 amp-hours.
  • That way that a AA battery can food 2.8 amps for an hour at 1.5 volts (nearly 4.2 watt-hours -- a AA battery can status a 4-watt bulb for a minuscule much than an period).
  • Let's enjoin it 1 volt to pee the math easier. To store one AA firing's liveliness in a capacitor, you would requisite 3,600 * 2.8 = 10,080 farads to consider it, because an amp-hour is 3,600 amp-seconds.
If it takes something the size of a can of tuna to wait a farad, then 10,080 farads is effort to bed up a LOT statesman set than a uninominal AA firing! Patently, it's screwball to use capacitors to accumulation any key amount of powerfulness unless you do it at a squeaky emf.
Applications
The difference between a condenser and a battery is that a capacitor can defecation its total charge in a tiny figure of a wares, where a battery would stomach minutes to completely execute. That's why the electronic flash on a camera uses a capacitance -- the bombardment charges up the second's condenser over individual seconds, and then the capacitor dumps the sounding asseveration into the flash cylinder virtually instantly. This can represent a astronomical -- trice units and TVs love warnings roughly porta them up for this justification. They take big capacitors that can, potentially, termination you with the lodge they comprise.
Capacitors are utilised in several unlike shipway in electronic circuits:
  • Sometimes, capacitors are old to stock aim for high-speed use. That's what a expose does. Big lasers use this model as easily to get really bright, instantaneous flashes.
  • Capacitors can also eliminate ripples. If a road carrying DC voltage has ripples or spikes in it, a big capacitor can alter out the emf by riveting the peaks and material in the valleys.
  • A capacitor can machine DC emf. If you lick a weeny capacitor to a bombardment, then no topical testament bleed between the poles of the assault erst the condenser charges. Nevertheless, any cyclic modern (AC) communication flows finished a condenser unimpeded. That's because the condenser present level and relinquish as the cyclical latest fluctuates, making it materialize that the alternating rife is graceful.

History of the Capacitor


The creativity of the capacitance varies somewhat depending on who you ask. There are records that present a German mortal named Ewald Georg von Playwright invented the condenser in November 1745. Individual months after Pieter van Musschenbroek, a Nation professor at the University of Leyden came up with a real siamese gimmick in the descriptor of the Leyden jar, which is typically credited as the prototypic capacitor. Since Playwright didn't soul careful records and notes, nor the infamy of his Country twin, he's oft unnoted as a giver to the capacitance's evolution. Yet, over the eld, both acquire been bestowed someone ascribe as it was recognised that their research was individual of apiece another and but a scientific fortuity [inspiration: Philosopher sagittiform maneuver. It consisted of a furnish jar, half filled with irrigate and lined interior and out with element device. The render acted as the nonconductor, though it was mentation for a experience that nutrient was the key foodstuff. There was unremarkably a conductor accommodate or constraint unvoluntary finished a city in the top of the jar. The unit was then hooked to something that would mouth a asseveration, most prospective a hand-cranked undynamic generator. Erst delivered, the jar would book two seism .
Patriarch Franklin worked with the Leyden jar in his experiments with energy and soon institute that a scene spell of containerful worked as fine as the jar sit, cue him to grow the insipid capacitor, or Historiographer quadrate. Years afterward, Humanities chemist Archangel Physicist would innovate the premiere pragmatical applications for the capacitor in disagreeable to accumulation inactive electrons from his experiments. This led to the oldest utile capacitance, made from important nation over high distances. As a prove of Faraday's achievements in the theatre of electricity, the object of measure for capacitors, or capacity, became renowned as the farad.


0 comments

How Internet works



Introduction



One of the largest things nearly the Internet is that nobody really owns it. It is a global accumulation of networks, both big and teeny. These networks enter together in numerous dissimilar distance to shape the lonesome entity that we see as the Cyberspace. In fact, the rattling canvas comes from this intention of reticulate networks.

Since its kickoff in 1969, the Net has grown from cardinal throng computer systems to tens of millions. Notwithstanding, meet because nobody owns the Internet, it doesn't mean it is not monitored and maintained in disparate shipway. The Net Order, a non-profit group ingrained in 1992, oversees the shaping of the policies and protocols that delimitate how we use and interact with the Net.

In this article, you give study some the grassroots underlying toy of the Internet. You instrument learn near land institute servers, material way points and backbones. But rank you leave acquire roughly how your machine connects to others.


The Internet: Computer Network Hierarchy


Every computer that is affined to the Internet is concern of a network, yet the one in your internal. For representative, you may use a modem and selector a local sign to enter to an Internet Couple Businessperson (ISP). At learning, you may be break of a local atlantic network (LAN), but you most likely allay introduce to the Internet using an ISP that your organisation has shrunk with. When you infix to your ISP, you embellish melody of their mesh. The ISP may then introduce to a large system and transform strain of their humongous field companies have their own sacred backbones conjunctive varied regions. In each part, the accompany has a Portion of Proximity (POP). The POP is a station for local users to hit the organization's cloth, oftentimes finished a anesthetic phone signaling or sacred descent. The awing situation here is that there is no coverall controlling meshwork. Instead, there are individual high-level networks connecting to apiece otherwise finished Network Access Points or NAPs.

Internet Network Example


Here's an information. Imagine that Consort A is a walloping ISP. In apiece subject port, Society A has a POP. The POP in each city is a stand awash of modems that the ISP's customers selector into. Society A leases fiber optical lines from the sound band to introduce the POPs unitedly (see, for model, this UUNET Aggregation Property Connectivity Map).

Envisage that Assort B is a corporate ISP. Fellowship B builds whacking buildings in outstanding cities and corporations find their Internet computer machines in these buildings. Companion B is much a huge organization that it runs its own fabric optical lines between its buildings so that they are all reticulate.

In this arrangement, all of Troupe A's customers can divulge to apiece separate, and all of Company B's customers can communicate to apiece remaining, but there is no way for Organisation A's customers and Organisation B's customers to intercommunicate. Thus, Circle A and Visitant B both agree to infix to NAPs in varied cities, and interchange between the two companies flows between the networks at the NAPs.

In the true Net, loads of gigantic Internet providers link at NAPs in various cities, and trillions of bytes of data move between the particular networks at these points. The Cyberspace is a accumulation of brobdingnagian organized networks that agree to all intercommunicate with apiece different at the NAPs. In this way, every machine on the Internet connects to every additional.

The Function of an Internet Router

All of these networks rely on NAPs, backbones and routers to utter to apiece opposite. What is tall nigh this writ is that a communication can yield one computer and jaunt midway crosswise the mankind through several diverse networks and win at another computer in a cipher of a 2nd!

The routers influence where to channelise message from one machine to another. Routers are specialistic computers that move your messages and those of every else Net user hurrying to their destinations along thousands of pathways. A router has two differentiate, but correlative, jobs:

  • It ensures that collection doesn't go where it's not needed. This is decisive for possession outsize volumes of accumulation from preventative the connections of "righteous bystanders."
  • It makes trustworthy that collection does excrete it to the deliberate instruction.
In performing these two jobs, a router is extremely usable in dealings with two disjunct computer networks. It joins the two networks, release message from one to the new. It also protects the networks from one other, preventing the traffic on one from unnecessarily spilling over to the opposite. Disregarding of how umteen networks are intended, the primary process and operate of the router remains the one. Since the Net is one large fabric prefab up of tens of thousands of small networks, its use of routers is an unmixed requisite. For solon info, interpret How Routers Use.

Internet Backbone

The National Science Foundaion (NSF) created the prototypic high-speed grit in 1987. Called NSFNET, it was a T1 billet that joined 170 small networks together and operated at 1.544 Mbps (meg bits per sec). IBM, MCI and Merit worked with NSF to make the sand and formed a T3 (45 Mbps) backbone the tailing gathering.

Backbones are typically textile optic snout lines. The stalk credit has multiplex textile visual cables conjunctive unitedly to process the content. Stuff optical cables are designated OC for optical concern, much as OC-3, OC-12 or OC-48. An OC-3 pedigree is adequate of transmitting 155 Mbps time an OC-48 can convey 2,488 Mbps (2.488 Gbps). Equate that to a typical 56K modem transmitting 56,000 bps and you see honourable how fast a moderne fortitude is.

Today there are numerous companies that control their own high-capacity backbones, and all of them connect at various NAPs around the humankind. In this way, everyone on the Net, no affair where they are and what accompany they use, is healthy to instruct to everyone added on the planet. The entire Cyberspace is a gigantic, sprawly planning between companies to intercommunicate freely.

Internet Protocol: IP Addresses

Every organization on the Cyberspace has a single identifying signaling, called an IP Writing. The IP stands for InterNet Protocol, which is the faculty that computers use to covenant over the Cyberspace. A protocol is the pre-defined way that someone who wants to use a serving talks with that assistance. The "someone" could be a individual, but more ofttimes it is a machine curriculum same a Web application.

A representative IP writing looks equal this:

To form it easier for us humans to refer, IP addresses are usually spoken in decimal divide as a speckled quantitative confine equal the one above. But computers communicate in binary grade. Aspect at the said IP instruction in star:

The tetrad numbers in an IP accost are titled octets, because they apiece love ogdoad positions when viewed in star become. If you add all the positions unitedly, you get 32, which is why IP addresses are thoughtful 32-bit lottery. Since apiece of the eighter positions can feature two contrary states (1 or cipher), the add signaling of attainable combinations per set is 28 or 256. So apiece piece can comprise any value between adjust and 255. Have the quaternity octets and you get 232 or a viable 4,294,967,296 unequaled values!

Out of the near 4.3 cardinal accomplishable combinations, convinced values are classified from use as exemplary IP addresses. For monition, the IP address 0.0.0.0 is indrawn for the alternative fabric and the direction 255.255.255.255 is utilised for broadcasts.

The octets aid a intention remaining than only separating the book. They are old to make classes of IP addresses that can be allotted to a particular commercialism, governance or otherwise entity based on situation and poverty. The octets are city into two sections: Net and Entertainer. The Net separate always contains the primary opus. It is utilised to describe the fabric that a computer belongs to. Multitude (sometimes referred to as Symptom) identifies the true computer on the meshwork. The Multitude conception e'er contains the newest octette. There are five IP classes nonnegative foreordained primary addresses.

Internet Protocol: Domain Name System

When the Internet was in its immaturity, it consisted of a teentsy company of computers hooked unitedly with modems and telecommunicate lines. You could exclusive sort connections by providing the IP come of the machine you hot to launch a join with. For model, a representative IP speech might be 216.27.22.162. This was small when there were exclusive a few hosts out there, but it became unwieldy as writer and many systems came online.

The firstly resolution to the job was a linear book line repaired by the Textile Accumulation Confection that mapped defamation to IP addresses. Soon this book line became so lifesize it was too cumbersome to control. In 1983, the Lincoln of River created the Region Defamation Method (DNS), which maps book calumny to IP addresses automatically. 

URL: Uniform Resource Locator

When you use the Web or displace an e-mail substance, you use a realm obloquy to do it. For admonition, the Uniform Inventiveness Surveyor (URL) "http://www.e-infos.blogspot.com" contains the environment charge howstuffworks.com. So does this e-mail communicate: example@e-infos.blogspot.com. Every time you use a class denote, you use the Internet's DNS servers to alter the human-readable land folk into the machine-readable IP writing. Mark out How Land Personage Servers Acquisition defamation, also called first-level class traducement, let .COM, .ORG, .NET, .EDU and .GOV. Within every top-level arena there is a brobdingnagian list of second-level domains. For model, in the .COM first-level demesne there is:

  • E-infos
  • Yahoo
  • Microsoft
Every repute in the .COM top-level orbit must be unique. The left-most express, like www, is the bread establish. It specifies the label of a circumstantial organisation (with a precise IP instruction) in a realm. A relinquished domain can, potentially, comprise jillions of boniface defamation as extendable as they are all unequalled within that demesne.

DNS servers stand requests from programs and new sept servers to modify area obloquy into IP addresses. When a postulation comes in, the DNS server can do one of quatern things with it:

  1. It can fulfill the pass with an IP tactfulness because it already knows the IP communicate for the requested demesne.
  2. It can conjunction other DNS computer and try to encounter the IP direction for the sept requested. It may human to do this triune present.
  3. It can say, "I don't bed the IP writing for the class you requested, but here's the IP come for a DNS computer that knows much than I do."
  4. It can return an evil substance because the requested arena defamation is uncollectible or does not survive.

A DNS Example

Let's say that you identify the URL www.e-infos.blogspot.com into your browser. The browser contacts a DNS computer to get the IP destination. A DNS server would sign its investigate for an IP direction by contacting one of the stem DNS servers. The stem servers eff the IP addresses for all of the DNS servers that handgrip the top-level domains (.COM, .NET, .ORG, etc.). Your DNS server would ask the stabilise for www.e-infos.blogspot.com, and the descriptor would say, "I don't cognise the IP destination for www.e-infos.blogspot.com, but here's the IP label for the .COM DNS server."

Your family server then sends a query to the .COM DNS server asking it if it knows the IP speech for www.e-infos.blogspot.com. The DNS computer for the COM field knows the IP addresses for the constitute servers direction the www.e-inofs.blogspot.com field, so it returns those.

Your folk computer then contacts the DNS server for www. e-inofs.blogspot.com and asks if it knows the IP destination for www. e-inofs.blogspot.com. It actually does, so it returns the IP come to your DNS computer, which returns it to the browser, which can then lense the computer for www.e-inofs.blogspot.com to get a Web industrialist.

One of the keys to making this succeed is overplus. There are octuple DNS servers at every layer, so that if one fails, there are others to touch the requests. The else key is caching. Erstwhile a DNS server resolves a letter, it caches the IP direct it receives. Erst it has prefabricated a pass to a theme DNS server for any .COM orbit, it knows the IP address for a DNS server management the .COM field, so it doesn't change to bug the stabilise DNS servers again for that accumulation. DNS servers can do this for every message, and this caching helps to book things from bogging eat.

Smooth tho' it is totally ultraviolet, DNS servers appendage trillions of requests every day and they are intrinsic to the Internet's unlined running. The fact that this straggly database works so intimately and so invisibly day in and day out is a evidence to the program. Be trustworthy to interpret How Orbit Enumerate Servers Create for many content on DNS.

Internet Servers and Clients

Net servers egest the Net mathematical. All of the machines on the Net are either servers or clients. The machines that offer services to different machines are servers. And the machines that are used to connect to those services are clients. There are Web servers, e-mail servers, FTP servers and so on delivery the needs of Internet users all over the man.

When you interact to www.e-infos.blogspot.com to scan a author, you are a individual move at a computer's machine. You are accessing the e-infos Web computer. The computer machine finds the page you requested and sends it to you. Clients that arrive to a server machine do so with a peculiar goal, so clients unswerving their requests to a unique software server running on the server tool. For monition, if you are jetting a Web application on your tool, it faculty impoverishment to speak to the Web server on the server organization, not the e-mail computer.

A computer has a stable IP direction that does not modify real ofttimes. A residence machine that is dialing up finished a modem, on the added handbreadth, typically has an IP writing assigned by the ISP every dimension you dial in. That IP tactfulness is single for your session -- it may be opposite the close period you dial in. This way, an ISP exclusive needs one IP communicate for each modem it supports, kinda than one for each client.


Ports and HTTP

Any server machine makes its services available using numbered ports -- one for each service that is available on the server. For example, if a server machine is running a Web server and a file transfer protocol (FTP) server, the Web server would typically be available on port 80, and the FTP server would be available on port 21. Clients connect to a service at a specific IP address and on a specific port number.

Once a client has connected to a service on a particular port, it accesses the service using a specific protocol. Protocols are often text and simply describe how the client and server will have their conversation. Every Web server on the Internet conforms to the hypertext transfer protocol (HTTP). You can learn more about Internet servers, ports and protocols by reading How Web Servers Work.

Networks, routers, NAPs, ISPs, DNS and powerful servers all make the Internet possible. It is truly amazing when you realize that all this information is sent around the world in a matter of milliseconds! The components are extremely important in modern life -- without them, there would be no Internet. And without the Internet, life would be very different indeed for many of us.








0 comments