From WikiChip
Difference between revisions of "microcontroller"

 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{title|Microcontroller (MCU)}}
 
{{title|Microcontroller (MCU)}}
 +
{{semi devices}}
 +
 
A '''microcontroller''' ('''MCU''') is a [[microprocessor]] that contains a few additional components such as [[RAM]], [[ROM]], and programmable I/O ports primarily designed to control and drive other electronic equipment. MCUs are designed to be embedded, usually in a highly restrictive environment.  
 
A '''microcontroller''' ('''MCU''') is a [[microprocessor]] that contains a few additional components such as [[RAM]], [[ROM]], and programmable I/O ports primarily designed to control and drive other electronic equipment. MCUs are designed to be embedded, usually in a highly restrictive environment.  
  
Line 5: Line 7:
  
 
== Overview ==
 
== Overview ==
 +
[[Image:PIC18F8720.jpg|right|thumbnail|A [[PIC microcontroller|PIC]] 18F8720 microcontroller in an 80-pin [[Quad Flat Package|TQFP]] package]]
 +
 
Microcontrollers are [[microprocessor]]s with the necessary components incorporated into them to function as a single computer on a chip. This usually includes the [[CPU]], [[program memory|program]] and [[data memory]], [[programmable I/O|programmable]] [[serial communication|serial]] and [[parallel communication|parallel]] I/O ports, timers, and internal and external [[interrupts]]. External communication is a big part of microcontrollers. Because of that many MCUs allow for somewhat sophisticated I/O [[programmable I/O|data manipulation programmatically]].
 
Microcontrollers are [[microprocessor]]s with the necessary components incorporated into them to function as a single computer on a chip. This usually includes the [[CPU]], [[program memory|program]] and [[data memory]], [[programmable I/O|programmable]] [[serial communication|serial]] and [[parallel communication|parallel]] I/O ports, timers, and internal and external [[interrupts]]. External communication is a big part of microcontrollers. Because of that many MCUs allow for somewhat sophisticated I/O [[programmable I/O|data manipulation programmatically]].
  
The vast majority of microcontrollers are used in the controlling and monitoring of electronic equipment and products. Microcontrollers are designed to operate in a highly restrictive environments where characteristics such as cost, size, and power consumption are most important. MCUs range from {{arch|4|4}}-{{arch|32|32}} bits in word size and may come with as little as just a few kilobytes to a few 100s. Some MCUs can operate as low as just a few kHz and consume a few milliwatts or even microwatts in some situations. MCUs are also very cost-sensitive, ultra-cheap MCUs cost as little as just a few cents per 1000 units.
+
The vast majority of microcontrollers are used in the controlling and monitoring of electronic equipment and products. Microcontrollers are designed to operate in a highly restrictive environments where characteristics such as cost, size, and power consumption are most important. MCUs range from {{arch|4|4}}-{{arch|32|32}} bits in word size and may come with as little as just a few kilobytes to a few hundred. Some MCUs can operate as low as just a few kHz and consume a few milliwatts or even microwatts in some situations. MCUs are also very cost-sensitive, ultra-cheap MCUs cost as little as just a few cents per 1000 units.
  
 
== Applications ==
 
== Applications ==
Microcontrollers are primarily designed, as their name imply, to control and drive electronic equipment. MCUs are used in a plethora of embedded systems such as toys, calculators, remote controls, power tools, office machines, and industrial controllers. More recently MCUs have found their way to implantable medical devices and internet of things. A modern home might have 100s of embedded microcontrollers. MCUs can be found in almost all modern microwave ovens, refrigerators, dishwasher, coffee makers, and vacuum cleaners.
+
Microcontrollers are primarily designed, as their name imply, to control and drive electronic equipment. MCUs are used in a plethora of embedded systems such as toys, calculators, remote controls, power tools, office machines, and industrial controllers. More recently MCUs have found their way to implantable medical devices and internet of things. A modern home might have hundreds of embedded microcontrollers. MCUs can be found in almost all modern microwave ovens, refrigerators, dishwasher, coffee makers, and vacuum cleaners.
 +
 
 +
== History ==
 +
=== Background ===
 +
{{Further|MOS integrated circuit|Microprocessor chronology}}
 +
 
 +
The origins of both the [[microprocessor]] and the microcontroller can be traced back to the invention of the [[MOSFET]] (metal-oxide-semiconductor field-effect transistor), also known as the MOS transistor.<ref name="ieee">{{cite article |last1=Shirriff |first1=Ken |title=The Surprising Story of the First Microprocessors |journal=[[IEEE Spectrum]] |volume=53 |issue=9 |pages=48–54 |date=30 August 2016 |publisher=[[Institute of Electrical and Electronics Engineers]] |url=https://spectrum.ieee.org/tech-history/silicon-revolution/the-surprising-story-of-the-first-microprocessors |access-date=13 October 2019|doi=10.1109/MSPEC.2016.7551353 |s2cid=32003640 }}</ref> It was invented by [[Mohamed M. Atalla]] and [[Dawon Kahng]] at [[Bell Labs]] in 1959, and first demonstrated in 1960.<ref name="computerhistory">{{cite article|url=https://www.computerhistory.org/siliconengine/metal-oxide-semiconductor-mos-transistor-demonstrated/|title=1960: Metal Oxide Semiconductor (MOS) Transistor Demonstrated|journal=The Silicon Engine: A Timeline of Semiconductors in Computers|publisher=[[Computer History Museum]] |access-date=August 31, 2019}}</ref> The same year, Atalla proposed the concept of the [[MOS integrated circuit]], which was an [[integrated circuit]] chip [[semiconductor device fabrication|fabricated]] from MOSFETs.<ref name="Moskowitz">{{cite book |last1=Moskowitz |first1=Sanford L. |title=Advanced Materials Innovation: Managing Global Technology in the 21st century |date=2016 |publisher=[[John Wiley & Sons]] |isbn=9780470508923 |pages=165–167 |url=https://books.google.com/books?id=2STRDAAAQBAJ&pg=PA165}}</ref> By 1964, MOS chips had reached higher [[transistor density]] and lower manufacturing costs than [[bipolar junction transistor|bipolar]] chips. MOS chips further increased in complexity at a rate predicted by [[Moore's law]], leading to [[large-scale integration]] (LSI) with hundreds of [[transistors]] on a single MOS chip by the late 1960s. The application of MOS LSI chips to [[computing]] was the basis for the first microprocessors, as engineers began recognizing that a complete [[computer processor]] could be contained on a single MOS LSI chip.<ref name="ieee"/>
 +
 
 +
The first multi-chip microprocessors, the [[Four-Phase Systems AL1]] in 1969 and the [[Garrett AiResearch]] [[MP944]] in 1970, were developed with multiple MOS LSI chips. The first single-chip microprocessor was the [[Intel 4004]], released on a single MOS LSI chip in 1971. It was developed by [[Federico Faggin]], using his [[silicon-gate]] MOS technology, along with [[Intel]] engineers [[Marcian Hoff]] and [[Stan Mazor]], and [[Busicom]] engineer [[Masatoshi Shima]].<ref>{{cite article |title=1971: Microprocessor Integrates CPU Function onto a Single Chip |website=The Silicon Engine |url=https://www.computerhistory.org/siliconengine/microprocessor-integrates-cpu-function-onto-a-single-chip/ |publisher=[[Computer History Museum]] |access-date=22 July 2019}}</ref> It was followed by the [[4-bit]] [[Intel 4040]], the [[8-bit]] [[Intel 8008]], and the 8-bit [[Intel 8080]]. All of these processors required several external chips to implement a working system, including memory and peripheral interface chips.  As a result, the total system cost was several hundred (1970s US) dollars, making it impossible to economically computerize small appliances. [[MOS Technology]] introduced sub-$100 microprocessors, the 6501 and [[MOS Technology 6502|6502]], with the chief aim of addressing this economic obstacle, but these microprocessors still required external support, memory, and peripheral chips which kept the total system cost in the hundreds of dollars.
 +
 
 +
=== Development ===
 +
One book credits [[Texas Instruments|TI]] engineers Gary Boone and Michael Cochran with the successful creation of the first microcontroller in 1971. The result of their work was the [[TMS 1000]], which became commercially available in 1974. It combined read-only memory, read/write memory, processor and clock on one chip and was targeted at embedded systems.<ref>{{cite book
 +
|url=http://smithsonianchips.si.edu/augarten/p38.htm
 +
  |title=The Most Widely Used Computer on a Chip: The TMS 1000
 +
  |work=State of the Art: A Photographic History of the Integrated Circuit
 +
  |last=Augarten  |first=Stan
 +
  |publisher=Ticknor & Fields
 +
  |location=New Haven and New York
 +
  |year=1983
 +
  |isbn=978-0-89919-195-9
 +
  |access-date=2009-12-23
 +
}}</ref>
 +
 
 +
During the early-to-mid-1970s, Japanese electronics manufacturers began producing microcontrollers for automobiles, including 4-bit MCUs for [[in-car entertainment]], automatic wipers, electronic locks, and dashboard, and 8-bit MCUs for engine control.<ref>{{cite article |title=Trends in the Semiconductor Industry |url=http://www.shmj.or.jp/english/trends/trd70s.html |website=Semiconductor History Museum of Japan |access-date=2019-06-27 |archive-url=https://web.archive.org/web/20190627082830/http://www.shmj.or.jp/english/trends/trd70s.html |archive-date=2019-06-27 |url-status=dead }}</ref>
 +
 
 +
Partly in response to the existence of the single-chip TMS 1000,<ref name=CMoral2008>{{cite article|url=http://archive.computerhistory.org/resources/access/text/2013/05/102658328-05-01-acc.pdf |title=Oral History Panel on the Development and Promotion of the Intel 8048 Microcontroller|work=Computer History Museum Oral History, 2008|access-date=2016-04-04|page=4}}</ref> Intel developed a computer system on a chip optimized for control applications, the [[Intel 8048]], with commercial parts first shipping in 1977.<ref name=CMoral2008/> It combined [[Random access memory|RAM]] and [[Read only memory|ROM]] on the same chip with a microprocessor. Among numerous applications, this chip would eventually find its way into over one billion PC keyboards. At that time Intel's President, Luke J. Valenter, stated that the microcontroller was one of the most successful products in the company's history, and he expanded the microcontroller division's budget by over 25%.
 +
 
 +
Most microcontrollers at this time had concurrent variants. One had [[EPROM]] program memory, with a transparent quartz window in the lid of the package to allow it to be erased by exposure to [[ultraviolet]] light. These erasable chips were often used for prototyping. The other variant was either a mask programmed ROM or a [[Programmable read-only memory|PROM]] variant which was only programmable once. For the latter, sometimes the designation OTP was used, standing for "one-time programmable". In an OTP microcontroller, the PROM was usually of identical type as the EPROM, but the chip package had no quartz window; because there was no way to expose the EPROM to ultraviolet light, it could not be erased. Because the erasable versions required ceramic packages with quartz windows, they were significantly more expensive than the OTP versions, which could be made in lower-cost opaque plastic packages. For the erasable variants, quartz was required, instead of less expensive glass, for its transparency to ultraviolet light—to which glass is largely opaque—but the main cost differentiator was the ceramic package itself.
 +
 
 +
In 1993, the introduction of [[EEPROM]] memory allowed microcontrollers (beginning with the Microchip [[PIC16x84|PIC16C84]])<ref name="pic16c84ref">{{cite article
 +
|url=https://spectrum.ieee.org/tech-history/silicon-revolution/chip-hall-of-fame-microchip-technology-pic-16c84-microcontroller
 +
|title=Chip Hall of Fame: Microchip Technology PIC 16C84 Microcontroller
 +
|publisher=IEEE
 +
|access-date=September 16, 2018|date=2017-06-30
 +
}}</ref> to be electrically erased quickly without an expensive package as required for [[EPROM]], allowing both rapid prototyping, and [[in-system programming]]. (EEPROM technology had been available prior to this time,<ref name="mc68ch805ref">{{cite book |author=Motorola |title=Advance Information, 8-Bit Microcomputers MC68HC05B6, MC68HC05B4, MC68HC805B6, Motorola Document EADI0054RI |publisher= Motorola Ltd., 1988}}</ref> but the earlier EEPROM was more expensive and less durable, making it unsuitable for low-cost mass-produced microcontrollers.) The same year, Atmel introduced the first microcontroller using [[Flash memory]], a special type of EEPROM.<ref name="flash">{{cite article|title=Atmel's Self-Programming Flash Microcontrollers |url=http://www.atmel.com/dyn/resources/prod_documents/doc2464.pdf |date=2012-01-24 |access-date=2008-10-25}} by Odd Jostein Svendsli 2003</ref> Other companies rapidly followed suit, with both memory types.
 +
 
 +
Nowadays microcontrollers are cheap and readily available for hobbyists, with large online communities around certain processors.
  
 +
== See also ==
 +
* [[List of common microcontrollers]]
 +
* [[List of Wi-Fi microcontrollers]]
 +
* [[List of open-source hardware projects]]
 +
* [[Microbotics]]
 +
* [[Programmable logic controller]]
 +
* [[Single-board microcontroller]]
  
 +
== References ==
 +
{{Reflist}}
  
{{stub}}
+
[[Category:Microcontrollers| ]]
 +
[[Category:Embedded systems]]

Latest revision as of 19:44, 6 September 2024

Edit Values
Semiconductor Devices
Concepts
Devices

A microcontroller (MCU) is a microprocessor that contains a few additional components such as RAM, ROM, and programmable I/O ports primarily designed to control and drive other electronic equipment. MCUs are designed to be embedded, usually in a highly restrictive environment.

Microcontrollers, usually consume very little power, may run relatively slow, and typically execute individual task-specific programs. This is in contrast to system on chips (SoC) which are much more powerful devices, capable of executing modern-day operating systems and applications.

Overview[edit]

A PIC 18F8720 microcontroller in an 80-pin TQFP package

Microcontrollers are microprocessors with the necessary components incorporated into them to function as a single computer on a chip. This usually includes the CPU, program and data memory, programmable serial and parallel I/O ports, timers, and internal and external interrupts. External communication is a big part of microcontrollers. Because of that many MCUs allow for somewhat sophisticated I/O data manipulation programmatically.

The vast majority of microcontrollers are used in the controlling and monitoring of electronic equipment and products. Microcontrollers are designed to operate in a highly restrictive environments where characteristics such as cost, size, and power consumption are most important. MCUs range from 4-32 bits in word size and may come with as little as just a few kilobytes to a few hundred. Some MCUs can operate as low as just a few kHz and consume a few milliwatts or even microwatts in some situations. MCUs are also very cost-sensitive, ultra-cheap MCUs cost as little as just a few cents per 1000 units.

Applications[edit]

Microcontrollers are primarily designed, as their name imply, to control and drive electronic equipment. MCUs are used in a plethora of embedded systems such as toys, calculators, remote controls, power tools, office machines, and industrial controllers. More recently MCUs have found their way to implantable medical devices and internet of things. A modern home might have hundreds of embedded microcontrollers. MCUs can be found in almost all modern microwave ovens, refrigerators, dishwasher, coffee makers, and vacuum cleaners.

History[edit]

Background[edit]

Further information: MOS integrated circuit and Microprocessor chronology


The origins of both the microprocessor and the microcontroller can be traced back to the invention of the MOSFET (metal-oxide-semiconductor field-effect transistor), also known as the MOS transistor.[1] It was invented by Mohamed M. Atalla and Dawon Kahng at Bell Labs in 1959, and first demonstrated in 1960.[2] The same year, Atalla proposed the concept of the MOS integrated circuit, which was an integrated circuit chip fabricated from MOSFETs.[3] By 1964, MOS chips had reached higher transistor density and lower manufacturing costs than bipolar chips. MOS chips further increased in complexity at a rate predicted by Moore's law, leading to large-scale integration (LSI) with hundreds of transistors on a single MOS chip by the late 1960s. The application of MOS LSI chips to computing was the basis for the first microprocessors, as engineers began recognizing that a complete computer processor could be contained on a single MOS LSI chip.[1]

The first multi-chip microprocessors, the Four-Phase Systems AL1 in 1969 and the Garrett AiResearch MP944 in 1970, were developed with multiple MOS LSI chips. The first single-chip microprocessor was the Intel 4004, released on a single MOS LSI chip in 1971. It was developed by Federico Faggin, using his silicon-gate MOS technology, along with Intel engineers Marcian Hoff and Stan Mazor, and Busicom engineer Masatoshi Shima.[4] It was followed by the 4-bit Intel 4040, the 8-bit Intel 8008, and the 8-bit Intel 8080. All of these processors required several external chips to implement a working system, including memory and peripheral interface chips. As a result, the total system cost was several hundred (1970s US) dollars, making it impossible to economically computerize small appliances. MOS Technology introduced sub-$100 microprocessors, the 6501 and 6502, with the chief aim of addressing this economic obstacle, but these microprocessors still required external support, memory, and peripheral chips which kept the total system cost in the hundreds of dollars.

Development[edit]

One book credits TI engineers Gary Boone and Michael Cochran with the successful creation of the first microcontroller in 1971. The result of their work was the TMS 1000, which became commercially available in 1974. It combined read-only memory, read/write memory, processor and clock on one chip and was targeted at embedded systems.[5]

During the early-to-mid-1970s, Japanese electronics manufacturers began producing microcontrollers for automobiles, including 4-bit MCUs for in-car entertainment, automatic wipers, electronic locks, and dashboard, and 8-bit MCUs for engine control.[6]

Partly in response to the existence of the single-chip TMS 1000,[7] Intel developed a computer system on a chip optimized for control applications, the Intel 8048, with commercial parts first shipping in 1977.[7] It combined RAM and ROM on the same chip with a microprocessor. Among numerous applications, this chip would eventually find its way into over one billion PC keyboards. At that time Intel's President, Luke J. Valenter, stated that the microcontroller was one of the most successful products in the company's history, and he expanded the microcontroller division's budget by over 25%.

Most microcontrollers at this time had concurrent variants. One had EPROM program memory, with a transparent quartz window in the lid of the package to allow it to be erased by exposure to ultraviolet light. These erasable chips were often used for prototyping. The other variant was either a mask programmed ROM or a PROM variant which was only programmable once. For the latter, sometimes the designation OTP was used, standing for "one-time programmable". In an OTP microcontroller, the PROM was usually of identical type as the EPROM, but the chip package had no quartz window; because there was no way to expose the EPROM to ultraviolet light, it could not be erased. Because the erasable versions required ceramic packages with quartz windows, they were significantly more expensive than the OTP versions, which could be made in lower-cost opaque plastic packages. For the erasable variants, quartz was required, instead of less expensive glass, for its transparency to ultraviolet light—to which glass is largely opaque—but the main cost differentiator was the ceramic package itself.

In 1993, the introduction of EEPROM memory allowed microcontrollers (beginning with the Microchip PIC16C84)[8] to be electrically erased quickly without an expensive package as required for EPROM, allowing both rapid prototyping, and in-system programming. (EEPROM technology had been available prior to this time,[9] but the earlier EEPROM was more expensive and less durable, making it unsuitable for low-cost mass-produced microcontrollers.) The same year, Atmel introduced the first microcontroller using Flash memory, a special type of EEPROM.[10] Other companies rapidly followed suit, with both memory types.

Nowadays microcontrollers are cheap and readily available for hobbyists, with large online communities around certain processors.

See also[edit]

References[edit]

  1. 1.0 1.1 The Surprising Story of the First Microprocessors. IEEE Spectrum. 53 (9): 48–54. doi:10.1109/MSPEC.2016.7551353
  2. 1960: Metal Oxide Semiconductor (MOS) Transistor Demonstrated. The Silicon Engine: A Timeline of Semiconductors in Computers. {{{issue}}}
  3. (2016) Advanced Materials Innovation: Managing Global Technology in the 21st century. John Wiley & Sons, 165–167. ISBN 9780470508923.
  4. 1971: Microprocessor Integrates CPU Function onto a Single Chip
  5. Augarten, Stan (1983). The Most Widely Used Computer on a Chip: The TMS 1000. New Haven and New York: Ticknor & Fields. ISBN 978-0-89919-195-9.
  6. Trends in the Semiconductor Industry
  7. 7.0 7.1 Oral History Panel on the Development and Promotion of the Intel 8048 Microcontroller
  8. Chip Hall of Fame: Microchip Technology PIC 16C84 Microcontroller
  9. Motorola. Advance Information, 8-Bit Microcomputers MC68HC05B6, MC68HC05B4, MC68HC805B6, Motorola Document EADI0054RI. Motorola Ltd., 1988.
  10. Atmel's Self-Programming Flash Microcontrollers by Odd Jostein Svendsli 2003