Phone

    00852-6915 1330

chips Related Articles

Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips

IC Chips

Bluetooth vs. Wi-Fi for IoT applications

IoT, in its ever-evolving domain, characterized by the interconnectedness of devices that continually transform our technological environment, faces a crucial decision in selecting between Bluetooth and Wi-Fi as wireless communication technologies. With the increasing popularity of networked devices, wireless communication technologies play an even more crucial role in ensuring seamless interoperability amongst these connected systems. Three major wireless communication standards come from the IoT framework: Wi-Fi, ZigBee, Bluetooth, etc. Among these, Wi-Fi and Bluetooth have become the methods of preference for a substantial section of consumers. The WIFI Alliance regulates Wi-Fi, which is one of the essential elements in wireless network communication technology. This strength lies in a good platform for high data speed transmission and internet connectivity, ensuring that it becomes imperative in situations where the bandwidth or data transfer rates are vital. On the other hand, Bluetooth, under the leadership of the Bluetooth Technology Alliance, portrays itself as an adaptable communication protocol. Its ability to wirelessly connect a wide variety of devices makes it an attractive option for many IoT applications. x With the evolving boundaries of IoT, choosing between Bluetooth and Wi-Fi becomes a critical aspect as both technologies provide different benefits and scenarios. Technical BackgroundThe technical differences between Bluetooth and Wi-Fi determine which to use. Wi-Fi, which uses IEEE 802.11 standards, is known for its high data transmission rates, making it perfect for bandwidth-intensive applications that require speed and connectivity. Bluetooth, which adheres to the IEEE 802.15.1 standard, excels in short-range communication settings due to its low power consumption, making it an attractive option for energy-efficient IoT devices. Wi-Fi typically operates in the 2.4 GHz and 5 GHz frequency bands, offering high data rates but potentially higher power consumption. In contrast, Bluetooth, utilizing the 2.4 GHz band, prioritizes low-power communication, proving advantageous for applications like smart home devices and wearables. Wi-Fi's strengths lie in scenarios demanding rapid data transfer and robust internet connectivity, while Bluetooth shines in applications where conserving power and forming short-range connections are paramount. Whether deploying IoT solutions in industrial automation or smart homes, a clear grasp of the technical disparities between Bluetooth and Wi-Fi is essential for optimizing connectivity based on specific requirements. This exploration aims to elucidate these technical differentiators, enabling informed decisions regarding the application of Bluetooth or Wi-Fi in diverse IoT scenarios. Application Scenario ComparisonThe following is the application scenario comparison that provides insights into the distinctive strengths of Bluetooth and Wi-Fi, aiding decision-makers in selecting the most suitable wireless technology for specific IoT use cases. Smart HomesBluetooth: Good enough for smart home appliances requiring low power and short-range communications; therefore, devices such as thermostats, light bulbs, or security systems can be connected smoothly with ease.Wi-Fi: Suited for high-speed applications in a smart home, giving a reliable internet connection. Suitable for devices that require continuous data transmission, like smart cameras and media streaming units. Wearable TechnologyBluetooth: It also thrives in the wearable space because of its energy efficiency and ability to form fast, spontaneous connections. Many fitness trackers, smartwatches, and health monitoring devices use it.Wi-Fi: Nor as feasible for wearables because of increased power consumption and the fact that it is not ideal in terms of battery lifespan. Industrial IoT (IIoT)Bluetooth: Effective for short messaging in industrial operations, linking sensors up, and keeping tabs on the equipment. Being low-power, it is suitable for battery-operated devices.Wi-Fi: Ideal for IIoT applications requiring large data rates and connectivity in larger areas. Widely adopted in industrial automation and remote monitoring. HealthcareBluetooth: Mostly popular with medical equipment such as glucose monitors and wearable health trackers. Patient monitoring systems benefit from its low-power features and trustworthy short-range connectivity.Wi-Fi: Deployed in health care environments for large data applications like medical imaging and centralized patient records, with high bandwidth critical. Retail and Beacon Technology Bluetooth: Prominent in retail when using beacon technology that allows proximity-based marketing and customer engagement. Bluetooth Beacons provide a highly efficient means of smartphone communication to allow for personalized shopping.Wi-Fi: Uncommon with higher power consumption but can be used to have broader connectivity in large retail spaces. Overall ConsiderationsBluetooth: Better in low-power applications for short-ranged links and fast device bonding. It is very appropriate for the IoT application that emphasizes energy efficiency.Wi-fi: It is ideal for fast data communications and stable internet connections and supports multiple device connectivity. It is suitable when power consumption is not a really important factor. Performance Metrics ComparisonBluetooth and wi-fi showcase distinct strengths, allowing decision-makers to align their IoT applications as follows:Data Transfer RatesBluetooth: Provides lower data transmission rates for the apps with typical information exchange. Usually between 1-3 Mbps, thus hindering its overall effectiveness in data-intensive tasks.Wi-fi: It is excellent at high-speed transfers; it performs very well, from 20 Mbps to several gigabits per second. It is perfect for applications that need reliable real-time data transfer.RangeBluetooth: Designed for short-range communications, generally up to 100 meters, and thus ideal in close proximity situations such as within a room or the PAN.Wi-fi: Offers a broader reach with a range of around 100 meters and even more; ideal for applications that require connectivity within broad areas like smart houses or industrial complexes.Power ConsumptionBluetooth: Bluetooth is famous for its low power consumption; therefore, it fits in battery-operated devices. Allows for extended device runtime without regular recharging.Wi-fi: Typically, Bluetooth has a higher power consumption than other technologies, negatively affecting devices' battery life. It is better for applications with the availability of a steady power source.Interference and CongestionBluetooth: It works at the 2.4 GHz frequency with high interference from other devices operating on this specific band, but the frequency hopping prevents potential problems.Wi-fi: Works on 2.4 and 5 GHz frequencies, with more channels to minimize interference. However, congestion in urban areas can affect performance.Device DensityBluetooth: Very efficient in connecting a moderate range of devices within small spaces; hence, appropriate for applications such as personal use and IoT where the number of connections is limited.Wi-fi: Since wi-fi can handle a more significant number of devices simultaneously, it is particularly suitable for environments with many connected devices around us (like an office or public place). Integration and Compatibility IssuesBluetooth IntegrationSeamless Device Pairing: Bluetooth is a leading software feature due to its ease of connecting devices. This simplicity makes it a preferred option for IoT applications because of the need to establish fast and straightforward connections. Compatibility across Devices: The standardized protocol made by Bluetooth allows compatibility between numerous devices; interoperability and ease of integration for the IoT ecosystem are promoted through this.Wi-fi IntegrationNetwork Complexity: Wi-fi is high-speed but needs more complicated network settings. However, this complexity comes with challenges in some IoT networks, necessitating appropriate network planning for better performance.Compatibility Challenges: Wi-fi devices may face compatibility issues due to standard variations (e.g., 802.11ac vs. 802.11n) and security protocols. Ensuring uniformity across devices is crucial for seamless integration.Cross-Platform ConsiderationsBluetooth: Introduced features like BLE enrich the cross-platform representation and allow for communication between diverse operating systems and products. The multifaceted nature of IoT works very well in many different ways.Wi-fi: Cross-platform compatibility is usually robust, although the wi-fi specification differences can create some issues. Consistent implementation of the standards is vital to ensure seamless integration across the varied devices.Security ProtocolsBluetooth: Include security measures such as pairing codes and encryption to protect communication. However, in some cases, it is necessary to use other security measures along with this method.Wi-fi: Provides many robust security mechanisms, such as WPA3 encryption. Still, weaknesses like the KRACK attack highlight that ongoing security patches and vigilance are essential.Application SpecificityBluetooth: The ideal choice for applications that need simplicity and fast connections, like wearable devices or even smart home technologies. In simple device diversity cases, the integration is usually very straightforward.Wi-fi: Thrives in applications requiring high-speed data transfer and internet connection and takes on more complex IoT cases. Optimal performance requires careful integration planning. Technical Challenges and LimitationsWhile Bluetooth and wi-fi provide different benefits to IoT applications, they also introduce specific technical challenges related to their associated limitations.BluetoothLimited Range: In applications that need a broader range of communication, up to 100 meters, Bluetooth's range may create a limitation. This may require some additional installation of the access points or mesh networks to expand the radius.Data Transfer Speed: While Bluetooth is satisfactory for medium to low-speed data transmission needs, it can fail in applications requiring high-speed rates. Wi-fi is better in that it requires more bandwidth.Interference: The Bluetooth technology falls within the 2.4 GHz band, which means that other devices in the same frequency range may cause interference and unreliable communication caused by weak signals from these instruments. But frequency hopping reduces interference.Device Density: Bluetooth is ideal for connecting many devices in a small environment. It might fail to manage the concurrent connections in a busy environment with many interconnected devices. Wi-fiPower Consumption: One limitation of battery-powered IoT devices is that wi-fi. Energy-efficient design and power management optimization can help address this challenge.Complex Network Configuration: The size of the IoT deployment makes managing a wi-fi network alot more complicated. Coordinated network planning, security, and device compatibility are needed to function at their best.Interference and Congestion: Even though wi-fi has more frequency bands to reduce interference, high-density deployments in urban and enterprise areas can also create network congestion problems, which affect performance.Range vs. Data Rate: Wi-fi data transfer rates are mainly at a range's expense. Such balancing requires detailed attention or even some extra infrastructure in the IoT applications. Future Trends and DevelopmentsBluetooth EvolutionBluetooth Low Energy (BLE): Bluetooth development was BLE that enhances energy efficiency for more IoT applications. Such advancement makes Bluetooth a beautiful replacement for devices with long battery life, including sensors and wearables.Mesh Networking: Bluetooth's mesh networking is a larger-scale deployment for IoT technologies. This evolution allows the devices to operate seamlessly over long distances and creates many new opportunities in the intelligent buildings sector and industrial IoT.Wi-fi AdvancementsWi-fi 6 and Beyond: With the coming of wi-fi 6, which allows for higher data transfer rates and network functioning. The wi-fi standards, however, are on an evolving path that will continue to address the growing bandwidth intensity needs of IoT applications.5G Integration: Including wi-fi in 5G networks has become an important development that has given rise to faster connectivity and data transfer speeds. This synergy opens the doors to many applications requiring real-time data processing and low latency, including augmented reality and autonomy.Coexistence and integrationFuture developments could include using Bluetooth and wi-fi in hybrid solutions, considering both technologies' strengths. By doing so, IoT devices can benefit from the many advantages of low-power Bluetooth and fast wi-fi. Final NoteBy comparing Bluetooth and wi-fi in IoT applications, it is possible to demonstrate the many different merits of these technologies. Bluetooth is characterized by its compactness, low power consumption, and short-range connection. On the contrary, wi-fi has excellent data speed and a wide range. Decision-makers should assess these factors based on their specific needs in IoT.As one can see, waves of innovations will be ongoing, including Bluetooth Low Energy, mesh networking, and wi-fi 6 integration with the fifth generation. However, over time, attention should be given to performance metrics criteria, integration complexity issues, and emerging trends. It is crucial for successfully implementing Bluetooth and wi-fi potential in interconnectivity through IoT.
Allen On 2024-01-31   113
IC Chips

FPGAs vs Microcontrollers

Introduction & Technical Background:Investigating the intriguing domains of FPGA (Field-Programmable Gate Array) and microcontrollers demonstrates the critical roles these two technologies play in embedded systems and digital design. By programming FPGAs at the hardware level, users can design unique digital circuits using these incredibly adaptable integrated circuits. Because of their great flexibility, they are perfect for complicated applications that need to be reconfigurable and prototyped quickly. Microcontrollers, on the other hand, are small integrated circuits that house a CPU core, memory, and several peripherals on a single chip. They offer an affordable option for simple to moderately complicated applications and are built for specialized needs. A microcontroller is a small integrated circuit that is used in embedded systems to control particular functions. Integrated circuits known as Field Programmable Gate Arrays (FPGAs) are frequently offered off-the-shelf. The reason they are called "field-programmable" is because they enable users to modify the hardware after it has been manufactured to satisfy certain use case specifications. FPGAs are "field-programmable," meaning that users can program the hardware after it is manufactured, whereas microcontrollers can only be more loosely customized. Microcontrollers:"Microcontrollers (MCU) are used in embedded systems to perform a certain task, handle communication, and control other hardware components." ( Pervasive Cardiovascular and Respiratory Monitoring Devices, 2023). To manage a single function in a device, a microcontroller is integrated into a system. It accomplishes this by using its core CPU to evaluate data that it gets from its I/O peripherals. In the home and workplace, building automation, manufacturing, robotics, automotive, lighting, smart energy, industrial automation, communications, and Internet of Things (IoT) deployments are just a few of the industries and applications that use microcontrollers. FPGAs"An FPGA is, as the name implies, a component comprising a large number of logic gates and other functional parts connected by a network, the connectivity of which can be determined by “programming” the device." (High-Performance Computing, 2018). The majority of FPGAs are programmed using an SRAM-based methodology. These FPGAs require external boot devices, but they can be programmed and reprogrammed in-system. Digital signal processing, biomedical instrumentation, device controllers, software-defined radio, random logic, medical imaging, computer hardware emulation, voice recognition, cryptography, filtering and communication encoding, and more are some of the specific applications that make use of an FPGA. Comparison between Microcontrollers and FPGAs:Power Consumption:In comparison and contrast, FPGAs are less efficient than parts like ASICs (Application Specific Integrated Circuits). When logic utilization drops due to reprogramming an FPGA, inefficiency also results. Similarly, more power is consumed when transistors are not in use. Microcontrollers are slower than FPGAs, though. The degree of customization and complexity that separates an FPGA from a microcontroller is the primary distinction. Their cost and level of usability also differ. In essence, an FPGA enables more intricate operations, higher levels of customization, and hardware modifications that can be made in the past. Because of their massive number of programmable parts and parallel architecture, FPGAs typically use more power than microcontrollers. An FPGA's power consumption is influenced by several variables, including the quantity of active logic parts, the interconnect switching frequency, and the I/O activity. Processing Speed:A microcontroller's typical processing speed falls between MHz to 50 MHz. While on the other hand, clock rates for FPGAs typically range from 100 MHz to 200 MHz. Compared to a CPU, which can readily operate at 3 GHz or higher, these rates are far lower. Flexibility & Programmability:When deciding between FPGAs and microcontrollers, the desired application's needs for customization and flexibility must be taken into account. An FPGA might be a preferable option if the application calls for a high level of hardware customization and flexibility. A microcontroller, however, would be more appropriate if the application could profit from the software-based customization and integrated peripherals that microcontrollers provide. It is crucial to take the target application's complexity and development time into account while deciding between FPGAs and microcontrollers. An FPGA can be a preferable option if the application calls for a high level of hardware customization and the development team has the required FPGA development experience. A microcontroller might be a better option, though, if the application can take advantage of the simpler and quicker development process that microcontrollers provide and the development team has more software development experience. The decision between FPGAs and microcontrollers can also be influenced by development time and complexity. A microcontroller can be a better option because of its easier and quicker development process if the development team has more experience with software development and high-level programming languages. On the other hand, an FPGA can be a preferable option if the team has experience with FPGA development and the application requires a high level of hardware customization. Through meticulous examination of the specifications and comparative analysis of various technologies, designers can make well-informed choices that optimize performance, power efficiency, flexibility, and development time, all while meeting the demands of their intended application. It is crucial to assess the unique needs of the intended application and balance the benefits and drawbacks of each technology when evaluating cost-related issues. An FPGA might be a preferable option if the application requires high-performance parallel processing and can afford the higher initial price of FPGAs. A microcontroller might be more appropriate, though, if the application can profit from the cheaper initial costs and easier development process that microcontrollers provide. Application FieldsMicrocontrollers are utilized in automatically operated items and gadgets, including power tools, toys, office equipment, appliances, implanted medical devices, remote controls, car engine control systems, and other embedded systems. Small, inexpensive, programmable microcontrollers are used to regulate the operation and behavior of a wide range of consumer electronics devices. They can communicate with sensors, buttons, LEDs, displays, motors, and other parts since they are integrated into circuits. Numerous characteristics of microcontrollers make them suited for use in embedded systems, including: Because every required peripheral is housed on a single integrated circuit chip, they are self-contained. They are intended to execute one specific application.FPGAs are perfect for applications like data analytics, machine learning, and scientific simulations because they can be programmed to create specialized hardware circuits that can execute certain algorithms far quicker than CPUs and GPUs. Because of their ability to make use of both temporal and spatial parallelism, FPGAs are frequently employed as implementation platforms for real-time image processing applications. FPGAs are advantageous in excellent-performance Computing applications because of their excellent energy efficiency, low latency, and parallel processing capabilities. They have been applied to several High-Performance Computing use cases, including data compression, cryptography, and machine learning. ConclusionIn conclusion, diverse applications can benefit from the distinct benefits and challenges that FPGAs and microcontrollers offer. Microcontrollers have a simpler development process and use less power than FPGAs, but FPGAs are better at parallel processing workloads and allow a great degree of hardware customization. It is crucial to take into account aspects like cost, development time, performance, power consumption, adaptability, and the particular needs of the intended application while deciding between various technologies. Through meticulous assessment of these variables and comprehensive consideration of the benefits and drawbacks of each technology, designers are better equipped to make options that best suit their projects' requirements, maximizing flexibility, power efficiency, performance, and development time.
Allen On 2023-12-29   81
IC Chips

How Embedded Controllers are Changing the World

  With the evolving times and fast-advancing technologies, smart devices, computerized systems and other industrial applications are heavily relying on miniature computing.  In today’s world, embedded systems are a critical part of the daily average person ranging from their application in homes, offices, industries and even personal gadgets.   These embedded systems have become a crucial part of real life partly due to their ease of use, minimal intervention and availability. The engineering behind these systems is to meet the requirements while being efficient, low powered and meeting essential demands. Some of the devices that we used daily with smart devices include microwaves, smart ovens, refrigerators, washing machines, and smart lighting, to mention but a few.   Artificial intelligence and machine learning in recent days have been in the limelight with many investors and a major key player in the world of technology contributing to its growth. The application of machine learning and artificial intelligence is virtually limitless. The heart of most devices using this technology are embedded systems. As the use of embedded systems continues to grow within every industry and sector, so does technology.   Embedded systems and embedded controllers are often used interchangeably and for the most part, can pass for each other. However, there is a slight difference in meaning. Embedded Systems vs Embedded Controllers An embedded system is a combination of hardware and software designed for a specific purpose, often with real-time constraints. It typically consists of a microcontroller, memory, input/output peripherals, and sometimes additional hardware such as sensors or actuators. Embedded systems are used in a wide range of applications, including consumer electronics, automotive, aerospace, and industrial automation.   An embedded controller is a type of microcontroller, often just referred to as a microcontroller, that is specifically designed for controlling a specific device or system. It is typically used in embedded systems that require precise control over the operation of mechanical or electrical components. Embedded controllers often have specialized features such as analogue-to-digital converters, timers, and communication interfaces that make them well-suited for controlling a specific system.   In general, an embedded controller is a specific type of microcontroller that is designed to perform a specific function within an embedded system. Meanwhile, an embedded system can consist of various components, including microcontrollers, and is designed to perform a specific task or set of tasks. Thus, an embedded system is the device and interface that we interact with daily while the microcontroller is the control unit that gives life to the technology.   Over the years, embedded controllers have evolved significantly with major improvements and advancements from the earliest microprocessors and iterations of a microcontroller to the advanced microcontrollers we use today. Why embedded controllers Embedded controllers are found in a wide variety of devices, products and systems from household appliances and medical devices to industrial machinery and automotive systems. Their application also can be vastly diverse from simple automation applications such as light control to entire industrial automation setups. With the rise of IoT and industrial application of IoT (IIoT), applications in the industrial sector have rapidly expanded.   Aside from their simplicity, inexpensiveness and a vast array of applications, embedded systems are chosen for their other advantages. Compared to traditional computers and microprocessors, embedded controllers are the key enablers of modern automation.   Here are a few key indicators of how embedded systems have evolved and changed the world of automation and modern miniaturized computing: Improved efficiency  Embedded controllers are helping to improve efficiency in a variety of applications, from smart homes to industrial automation. By automating routine tasks and optimizing processes, these controllers can help reduce waste, save energy, and streamline operations.   Enhanced functionality  Embedded controllers are enabling new and innovative features in a wide range of products, from cars and smartphones to medical devices and appliances. These controllers are making it possible to deliver new levels of performance, functionality, and convenience to consumers and businesses.   Increased automation Embedded controllers are helping to drive the automation of many industries, from manufacturing and logistics to agriculture and healthcare. By automating routine tasks, these controllers can help increase productivity, reduce costs, and improve quality control.   Greater precision and accuracy Embedded controllers are enabling greater precision and accuracy in many applications, from medical devices and scientific instruments to automotive systems and consumer electronics. By controlling and monitoring specific functions, these controllers can help ensure that products and systems operate reliably and accurately.   Advancements in technology Embedded controllers are driving advancements in technology, from the Internet of Things (IoT) to autonomous vehicles and smart cities. These controllers are enabling the development of new technologies and systems that are transforming the way we live, work, and interact with the world around us.   Integration of communication interfaces In the mid-2000s, microcontrollers began to integrate communication interfaces, such as Ethernet, Wi-Fi, and Bluetooth, which made it possible to connect devices to the internet and other devices. This paved the way for the development of the Internet of Things (IoT).   Advancements in power efficiency In recent years, microcontrollers have become more power-efficient, with the development of low-power processors, sleep modes, and power management systems. This has enabled the development of battery-powered devices that can operate for extended periods.   Advanced functionality and security Today's microcontrollers offer advanced functionality, such as real-time operating systems, graphics processing, and machine learning capabilities. They also incorporate advanced security features to protect against cyber threats.   Embedded controllers are shaping the world we live in, enabling new levels of efficiency, functionality, and automation across a wide range of industries and applications. As technology continues to advance, microcontrollers are likely to continue to evolve and play an increasingly important role in our lives.   Exploring Embedded Controllers in Real Life As earlier said, the application of embedded controllers has become immense and the potential of further exploration is still underway. With these advancements and vast applications, the impact of this technology is revolutionary and is shaping the future.   Embedded controllers are changing the world in several ways, thanks to their ability to improve efficiency, increase productivity, and enhance functionality in a wide range of applications. Here are a few examples:   Smart Home Automation and Home Appliances In terms of vast applications and the most widely explore uses of embedded controllers, home automation carries the day. This is perhaps due to the simplicity of using embedded controllers and embedded systems, enabling small applications, simple smart devices, DIY projects of automation and other reliable solutions to smart monitoring and even security systems. Embedded controllers are a key component of the smart home revolution, enabling homeowners to remotely monitor and control their appliances, heating and cooling systems, security systems, and more. This allows for greater energy efficiency, convenience, and comfort.   Health Management Systems Embedded controllers are playing an important role in healthcare, enabling the development of advanced medical devices that can monitor and administer medication with greater accuracy and precision. This improves patient outcomes and reduces the risk of errors.   Medical Devices Over the longest time, medical devices and other healthcare-related systems have tried to incorporate embedded systems. This allows for easier monitoring, management and even automation of simple processes. The systems can gather and collect data on a patient’s condition and monitor progress in treatment by monitoring heart rate, pulse rate and other vitals. The information can be relayed to caregivers or doctors via the cloud.   Medical devices, such as pacemakers and insulin pumps, rely on embedded controllers to monitor vital signs and even administer medication. These controllers are designed to operate reliably and accurately in a wide range of conditions Automobiles and Autonomous Vehicles With the advent of the booming exploration in autonomous and self-driving vehicles, such as self-driving cars, autonomous submarines and unmanned drones, the use of embedded controllers has played a key role. Providing navigation systems, IoT modules, battery management systems and other subsystems that relay all the needed data to the users. Embedded controllers are a critical component of autonomous vehicles, enabling them to monitor their surroundings, make decisions, and take action without human intervention. This has the potential to revolutionize transportation and make it safer and more efficient.   In modern automobiles, embedded systems are designed and fitted to provide a better customer experience whilst also providing enhanced safety on the road. The result of this has been realized with lower traffic fatalities over the years.Adaptive speed control, automobile breakdown warning, pedestrian detection, merging assistance, airbags, and other active safety systems are some prominent examples. These are a few of the characteristics that are expected to reduce the risk of accidents and increase demand for embedded systems throughout the world.   Industrial automation With Industry 4.0 on the cusp of fruition, embedded controllers are playing a vital role in its realization being the link between modern technology, IoT and industrial systems. Most industrial systems and setups are adopting machine learning and artificial intelligence to improve work efficiency, accuracy, repeatability, and safety and reduce the cost of labour. This is possible since machines using sophisticated algorithms can identify defects, reduce downtime and diagnose systems before failure.   Embedded controllers are used in industrial automation systems to control machinery and monitor production processes. These controllers can operate in harsh environments and are designed to withstand high temperatures, vibrations, and other stresses. In such applications robots are designed to perform tasks that are considered dangerous. Robots are equipped with embedded systems, employing the use of sensors actuators and feedback from other systems to perform the tasks safely.   Consumer electronics Devices like smartphones, tablets, and smart speakers use embedded controllers to manage their complex functions and interfaces. These controllers help to optimize battery life, reduce power consumption, and enhance user experiences.   Overall, the evolution of microcontrollers has enabled the development of a wide range of devices and systems, from simple household appliances to complex industrial machinery and the Internet of Things. As technology continues to advance, microcontrollers are likely to continue to evolve and play an increasingly important role in our lives.   FAQs What is an embedded controller? An embedded controller, also known as a microcontroller, is a small computer system that is designed to control and manage specific tasks within electronic devices.   Embedded controllers are changing the world in several ways, such as improving efficiency, enhancing functionality, increasing automation, and enabling new technologies and systems.   What are some examples of applications that use embedded controllers? Examples of applications that use embedded controllers include smart homes, medical devices, automotive systems, industrial automation, and the Internet of Things (IoT).   Embedded controllers are playing an important role in healthcare, enabling the development of advanced medical devices that can monitor and administer medication with greater accuracy and precision, leading to improved patient outcomes and reduced risk of errors.   Embedded controllers are a critical component of the IoT, enabling devices to communicate with each other and with the internet, and enabling the development of new technologies and systems that are transforming the way we live and work.   What are some future developments in embedded controllers? Future developments in embedded controllers are likely to include advancements in processing power and memory, integration of communication interfaces, improvements in power efficiency, and advanced functionality such as machine learning and artificial intelligence          
Karty On 2023-03-27   316
Resistors

Popularization of Science - MCU

CatalogIntroductionⅠ What is a Microcontroller(MCU)?Ⅱ The History of the Microcontroller (MCU)Ⅲ The Classification and Application of MCUⅣ China MCU Technology and Well-known ManufacturersⅤ  The Basic Functions of MCUⅥ Learning Methods - Using MCUⅦ Six Main Dimensions of MCU Products for Future ImprovementⅧ Programming of MCUⅨ Summary of the MCU Programming EngineerⅩ How to Develop MCU Ⅺ 5 Tips to Solve the Questions About the MCU CrystalⅫ Summary of Chip OperationFAQIntroductionA microcontroller (MCU) is a small computer built on a single metal-oxide-semiconductor (MOS) integrated circuit (IC) chip. A microcontroller is made up of a CPU  (processor core), memory, and programmable input/output peripherals. On chip, a small amount of RAM, as well as ferroelectric RAM, NOR flash, or OTP ROM , is commonly included. Microcontrollers  , in contrast to microprocessors  used in personal computers  or other general-purpose applications, are designed for embedded applications and are made up of a number of discrete chips. This article will delve deeper into the MCU.Ⅰ What is a Microcontroller(MCU)? Microcontroller UnitThe microcontroller unit (MCU) appropriately reduces the frequency and specifications of the CPU  and integrates peripheral interfaces such as memory, counter, USB, A/D conversion, UART, PLC, and DMA. At the same time, even the LCD driver circuit is integrated on a single chip to form a chip-level computer, which can be controlled in different combinations for different applications, such as mobile phones, PC peripherals, remote controls, automotive electronics, industrial stepping motors, machines The control of the arm, etc., can be seen in the MCU.Figure 1 MCU componentsⅡ The History of the Microcontroller (MCU)Microcontroller Unit has a short history, but it has evolved quickly. Its generation and development are roughly synchronized with that of microprocessors  (CPUs). Since Intel Corporation of the United States first introduced 4-bit microprocessors  in 1971, its evolution can be roughly divided into five stages. The following is an overview of the development of Intel's MCU.1971-1976  The initial stage of MCU developmentIn November 1971, Intel introduced the Intel 4004, a 4-bit microprocessor with an integration level of 2000 transistors/chips and equipped with RAM, ROM, and shift registers, which served as the first MCS-4 microprocessor. The Intel 8008 8-bit microprocessor was introduced, followed by other 8-bit microprocessors  from various companies.1976-1980  Low-performance MCU stageThe MCS-48 series, introduced by Intel Corporation in 1976, has a monolithic structure that integrates an 8-bit CPU.  an 8-bit parallel I/O interface, an 8-bit timer/counter, RAM, and ROM on a semiconductor chip. Its addressing range is limited (no more than 4 KB), there is no serial I/O, the RAM and ROM capacity is limited, and the interrupt system is simple, but its functions can meet the needs of general industrial control and intelligent instruments and meters.1980~1983  High-performance MCU stageHigh-performance 8-bit microcontrollers introduced at this stage typically include serial ports, multi-level interrupt processing systems, and multiple 16-bit timers/counters. The capacity of the on-chip RAM and ROM  is increased, and the addressing range can reach 64 KB. A/D conversion interfaces are also available on individual chips. 1983~late 1980s  16-bit microcontroller stage.In 1983, Intel introduced a high-performance 16-bit microcontroller MCS-96  series. The chip integration level was as high as 120,000 transistors/chips due to the use of the most recent manufacturing process.1990sCPUs are developing to a higher level in all directions, such as integration, function, speed, reliability, and application fields. Ⅲ The Classification and Application of MCUMCUs are classified into two types based on their memory type: those with no on-chip ROM  and those with on-chip ROM,  The chip without on-chip ROM  must be used externally with EPROM (typically 8031); the chip with on-chip ROM  is classified as on-chip EPROM (typically 87C51), MASK on-chip mask ROM  (typically 8051), on-chip Flash (typically 89C51), and other types.MCUs are classified into two types based on their intended use: general-purpose and special-purpose. It is classified into4, 8, 16, and 32-bit MCUs based on the width of the data bus and the number of data bytes that can be processed at the same time.Figure 2 MCU product category At present, the most widely used MCU market in China is in the consumer electronics  field, followed by the industrial field and the automotive electronics  market. Consumer electronics  include home appliances, televisions, game consoles, and audio and video systems. Industrial fields include smart homes, automation, medical applications, and new energy generation and distribution. The automotive field includes automotive powertrains and safety control systems. Industrial MCU Industrial MCU products  are primarily used for motor control operation, data acquisition control, and other functions in motor control, instrumentation, low-voltage power distribution, power tools, industrial robots, and other application scenarios.Figure 3 Electric-Vehicle-ChargerThe number of MCU devices is increasing as the complexity of industrial equipment increases. Consider industrial robots: at least ten MCU products  are used in a single industrial robot.Home Appliance MCU MCU is widely used in household appliances, mainly used to realize system control, motor control, panel display control, and other functions.The home appliance market is mainly divided into small household appliances and everyone electricity, small household appliances including kitchen appliances (microwave oven, induction cooker, soybean milk machine, etc.), household appliances (vacuum cleaner, electric fan, electric heater, etc.), personal life small household appliances (electric toothbrush, hairdryer, etc.), everyone electricity mainly for air conditioning, refrigerator, washing machine, and other white appliances.Figure 4 Induction-heating-cooker-app-block-diagramAt the moment, 32-bit MCUs have become the market's mainstream due to their higher specifications and performance, as well as their constantly decreasing cost, and are widely used in automotive electronics.  industrial control/medical, and other fields; however, there are still a large number of application scenarios requiring simple control, and low-value MCUs have cost advantages, so they continue to occupy a large market.BitApplication4Calculator, auto instrument, auto anti-theft device, pager, wireless phone, CD player, LCD dynamic controller, children's toys, scales, chargers, Tire gauge, thermometer, remote control, etc8Electrical appliances, ammeter, motor controller, electric toy machine, pager, fax machine, telephonograph, keyboard and USB, etc16Mobile phones, digital cameras and video recorders, etc32Smart home, IoT, motor and frequency conversion control, security monitoring, fingerprint identification, touch keys, Modem, GPS, STB, Workstation, ISDN telephone, laser printer and color fax machine, etc64Advanced workstation, multimedia interactive system, advanced TV game instrument, advanced terminal, etc.According to IC Insights, the global MCU market is about 16.4 billion dollars in 2019 and could reach about 20 billion dollars by 2023.The scale of China's MCU market was about 25.6 billion yuan in 2019, accounting for about 26% of the global market, with a compound growth rate of 9% from 2015 to 2019.In terms of the global market, the auto circuit accounts for 33% of the global MCU market. According to IC Insights data, the automotive MCU market space will reach $8.1 billion in 2023, the overall growth rate is considerable; At the moment, 32-bit MCUs have become the market's mainstream due to their higher specifications and performance, as well as their constantly decreasing cost, and are widely used in automotive electronics.  industrial control/medical, and other fields; however, there are still a large number of application scenarios requiring simple control, and low-value MCUs have cost advantages, so they continue to occupy a large market.Figure 5  MCU Market StructureFrom the perspective of pattern, the top five global automotive MCU market shares in 2020 were Renesas, NXP, Infineon, Texas Instruments and Microchip, accounting for 87% in total.Ⅳ China MCU Technology and Well-known ManufacturersMCU market is still dominated by overseas leaders, and Chinese high-quality manufacturers are gradually making breakthroughs in the segmented fields, and their share is expected to increase rapidly under the background of accelerated localization in China.The global MCU market is expected to grow further, with the global MCU market size reaching $16.4 billion in 2019 and $20 billion in 2023.On the demand side, improvements in automotive electrification, accelerated IoT  penetration, increased demand for intelligent frequency conversion in home appliances, rapid iteration of wearable devices, and steady growth in industrial control continue to drive the rapid growth of the MCU industry. (Using MCU as an example, the global market compound growth rate from 2020 to 2023 is 7.7 percent, and the market space is expected to be 8.1 billion dollars by 2023)On the supply side, the MCU industry is experiencing a continuous shortage due to the epidemic in 2020. Infineon, NXP.  and ST  , as well as other overseas MCU large factories, have appeared several times to dozens of times the price, with delivery times of more than 50 weeks; persistent shortages are expected to last at least through the end of 2021 and the first quarter of 2022.In terms of circuit barriers, the requirements of automobile circuits in the MCU downstream field are the highest, followed by industrial and home appliance circuits, and the relative requirements of consumer electronics  are slightly lower, according to MCU product environmental temperature, yield, and service life, and other parameters.According to the industry competition pattern, Chinese MCU manufacturers have a low market share, benefit from accelerated replacement due to stock shortages in the short term, and have ample room for improvement in the long term:The global MCU market is more concentrated, with a microchip, ST  MICROELECTRONICS, Renesas, TI, NXP  , Infineon, and other manufacturers occupying more than 80% of the market share; China's MCU market is approximately 25 billion yuan, and the total market share of domestic MCU manufacturers is less than 12%, primarily concentrated in the consumer market, which has ample room for expansion.The shortage of goods leads to the acceleration of the pace of China's MCU manufacturers, in the automotive, industrial, and consumer circuit, the pace of China's MCU certification continues to accelerate. Renesas Electronics - the world's first automotive MCU manufacturer Renesas was founded in 2003 by the merger of Hitachi Semiconductor division and Mitsubishi Electric Semiconductor division. Its main business covers automotive, industrial, communications, and other fields. Renesas is the world's first automotive MCU manufacturer, accounting for 30% of the automotive MCU market in 2020.Renesas MCU has a complete product line covering EV/HEV, powertrain, electric vehicle, vehicle dashboard, vehicle network, chassis control, ADAS, and other application fields.Microchip technology -8 bit MCU main features, acquisition of Atmel to supplement the strength of 32 bit MCUMicrochip Technology Corporation (Microchip) was founded in 1989, Microchip technology is the world's leading supplier of single-chip and analog semiconductors. The company's main business is the microcontroller, memory products, analog interface, and mixed information products, technology licensing, and so on.The products are mainly used in embedded control systems and IoT-related industries, including data processing, Medical Internet + (IoT), smart city, Industry 4.0, intelligent healthcare, etc. Major customers include Intel, Dell, Lockheed Martin, HP, Boeing, etc. STST -ARM architecture MCU king ST was founded in 1987, its products are mainly used in automotive products, computer peripherals, communication systems, consumer products, industrial automation control systems, and other aspects. Its major customers include Apple, blackberry, Bosch, Cisco, Conti, HP, Nokia, Obata, Samsung, and Western Digital.MCU vehicle grade products accounted for 32.13% of the company's revenue. St holds 8.5% of the current MCU market and is the leader in the segmented 32bitMCU  market.ST has been deeply engaged in the automotive semiconductor field for many years, and the company has a complete industrial chain, its products have a very high-cost performance ratio, and occupy a dominant position in the MCU of vehicle regulation level. Its customers include Nissan, Audi, SAIC, Tesla, and many other companies. NXP - the world's leading automotive MCU manufacturer NXP Semiconductor was founded in 2006. It was formerly the semiconductor division of Philips. NXP's main business is MCU, MPU, and other products, which can be widely used in automotive electronics  , industrial control, smart city, smart home, and wearable products. Its MCU/MPU based on the S32 automotive platform has obvious advantages in safety and efficiency and has been adopted by mainstream OEMs around the world.The industry's first crossover MCU was independently developed by NXP: I. MX RT series. Such products have been recognized by many Internet platforms (such as Amazon) for their high integration, cost performance, and security.NXP's acquisition of Freescale (founded by MOTOROLA) in 2015 gives it a deeper presence in the automotive industry. In 2020, 47% of its revenue came from vehicle MCU. At present, the company accounts for 27.8% of the global automotive MCU industry, ranking second in the world. NXP  provides complete semiconductor solutions for intelligent vehicles including automotive entertainment systems, Advanced Driver Assistance Systems (ADAS). Sino Wealth Electronics - China's largest home appliance MCU manufacturer Sino Wealth Electronic Ltd. is an MCU integrated circuit design company, the main products include 8-bit Flash MCU, 8-bit OTP/Mask MCU, 16-bit  DSP , 4-bit OTP/Mask MCU, widely used in household appliances, automotive, industrial control, security, and other fields;In the field of small household appliances, the company's competitors are mainly ABOV from Korea and Holtek from Taiwan. In the field of white household appliances, the company's competitors are mainly from Europe and America, including Renesas, NEC, TI, STM, and so on. Ⅴ The Basic Functions of MCUInternal-function diagramFor most MCUs, the following functions are the most common and basic. The description methods for different MCUs may differ, but the essence is essentially the same.1. Timer: Although there are many different types of Timers, they can be divided into two categories. The first is a Timer with a fixed time interval, which means that its timing is set by the system and cannot be controlled by the user program. The system only provides a few different types of Timers. The user program is given a fixed time interval, such as 32Hz, 16Hz, 8Hz, and so on. Because Timers of this type are relatively common in 4-bit MCUs,they can be used to implement clock, timing, and other related functions.The other type is Programmable Timer. The timing of this type of Timer can be controlled by the user's program. The control methods include the selection of the clock source, the selection of the prescale number, and the setting of the preset number, etc. There are Most MCUs have all three at the same time, and some may have one or both of them. This kind of Timer application is very flexible, and the actual use is also ever-changing. One of the most common applications is to use it to achieve PWM  output.Since the clock source can be freely selected, such Timers are generally combined with the Event Counter.2. IO port: Any MCU has a certain number of IO ports. Without IO ports, the MCU will lose the channel of communication with the outside world. According to the configurable situation of the IO port, it can be divided into the following types:Pure input or pure output : This type of IO port is determined by the MCU hardware design, and can only be input or output, and cannot be set in real-time by software.3. Directly read and write IO port: For example, the IO port of MCS-51 belongs to this type of IO port. When the read IO port command is executed, it is an input port; when the write IO port command is executed, it is automatically an output port.Program programming to set the direction of input and output: the input or output of this type of IO port is set by the program according to the actual needs, the application is more flexible, and can realize some bus-level applications, such as12C bus, various LCD, LED Driver control bus, etc.When using the IO port, this point must be kept in mind: for the input port, there must be a clear level signal to ensure that it cannot be floated (this can be achieved by adding a pull-up or pull-down resistor); and for the output port, the output state level must be Considering its external connection, it should be ensured that there is no source current or sink current in Standby or static state.External interrupts: External interrupts are a basic function of most MCUs. They are commonly used for real-time signal generation, data sampling, and state detection. Rising edge, falling edge, and level triggering are all interrupting methods. In most cases, the external interrupt is handled via the input port. If it is an IO port, the interrupt function will only be enabled when it is set as an input port; if it is set as an output port, the external interrupt function will be automatically closed (with some exceptions in ATMEL's ATiny series, where the output port can also trigger the interrupt function). The application of external interrupt is as follows:Detection of external trigger signals: One is based on real-time requirements, such as thyristor control, detection of sudden signals, and so on, while the other is based on power savings.Measurement of signal frequency:: To ensure that the signal is not missed, an external interrupt is the best option.Decoding data: To reduce design costs in the field of remote control applications, it is frequently necessary to use software to decode various encoded data, such as Manchester and PWM encoding.Button detection and system wake-up: In order for the MCU to enter the Sleep state, it must be woken up via an external interrupt. The most basic form is a button, and the level change is caused by the button's action.4. Communication interface: The communication interface provided by MCU generally includes SPI interface, UART. I2C interface, etc., which are described as follows:SPI interface: This type of interface is the most basic communication method provided by most MCUs. Its data transmission is controlled by a synchronous clock. The signals include SDI (serial data input), SDO (serial data output), SCLK (serial clock), and Ready signal; in some cases, there may be no Ready signal; this type of interface can work in Master mode or Slave mode, the popular saying is to see who provides the clock signal, the party providing the clock is the Master, and the opposite party It is Slaver.UART(Universal Asynchronous Receive Transmit):It belongs to the most basic asynchronous transmission interface. Its signal lines only have two Rx and Tx lines. The basic data format is: Start Bit + Data Bit(7-bits/8-bits) + Parity Bit(Even, Odd or None) + Stop Bit(1~2Bit). The time occupied by one bit of data is called Baud Rate .For most MCUs, the length of data bits, data check mode (odd check, even check or no check), Stop Bit length and Baud Rate can be flexibly set through program programming. Certainly. The most common way of this type of interface is to communicate with the serial port of the PC.I2C interface: I2C  is a data transmission protocol developed by Philips. It also uses two signals to implement: SDAT (serial data input and output) and SCLK (serial clock). The biggest advantage is that multiple devices can be attached to this bus, and they can be identified and accessed through addresses; one of the biggest advantages of the I2C  bus is that it is very convenient to use software to implement through the IO port, and the data rate of its transmission is completely controlled by SCLK. To control, it can be fast or slow, unlike the UART  interface, which has strict rate requirements.5. Watchdog: Watchdoga basic configuration of most MCUs, can only allow the program to reset it but not close it (some are set when the program is burned in, such as Microchip PIC  series MCUs), while some MCUs are It is determined by a specific method whether it is turned on or not. For example, in Samsung's KS57 series, as long as the program accesses the Watchdog  register, it is automatically turned on and cannot be turned off again. Generally speaking, the reset time of the watchdog can be set by the program. The most basic application of Watchdog  is to provide a self-recovery ability for the MCU to crash due to unexpected failure.Ⅵ Learning Methods - Using MCUThe basic principles and functions of any MCU are similar. The only difference is the configuration and quantity of its peripheral function modules and the instruction system.For the instruction system, although it seems to be different in form, it is only a difference in symbols, and the meanings it represents, the functions to be completed, and the addressing modes are similar.To learn about an MCU, the first thing you need to know is its ROM space, RAM space, number of IO ports, number of timers and timing methods, peripheral function modules (Peripheral Circuit) provided, interrupt sources, operating voltage, and power consumption, etc.After understanding these MCU Features, the next step is to compare the functions of the selected MCU with the required functions of the actual project development and clarify which resources are currently required and which are not used in this project.For the functions that need to be used in the project but are not provided by the selected MCU, it is necessary to carefully understand the relevant information of the MCU, to use an indirect method to achieve it. For example, the developed project needs to communicate with the COM port of the PC, and If the selected MCU does not provide a UART  port, it can be implemented through external interrupts.For the resources needed for project development, you need to carefully understand and read the Manua*, while for the unneeded function modules, you can ignore or browse. For MCU learning, the application is the key and the main purpose.For beginners or designers who use this MCU for the first time, they may encounter a lot of ambiguous descriptions of the functions of the MCU. For this kind of problem, there are two ways to solve it, one is to write a special verification program to understand the functions described in the data; the other can be ignored for the time being. Leave it to modify and improve when debugging. The former method is suitable for projects with loose time and beginners, while the latter method is suitable for those who have some experience in single-chip development or when the project schedule is more urgent.Don't take the time to learn the command system in particular. The instruction system is simply a logical description symbol. During programming, you can only check the relevant instructions in accordance with the logic requirements of the program. As your programming skills improve, you will become more proficient in the instruction system.Ⅶ Six Main Dimensions of MCU Products for Future ImprovementStronger computing performance: MCU towards 500Mhz main frequency, MPU increase more processor cores;Additional wireless connection functions: More RF modules have been integrated.Low power consumption, high energy efficiency ratio: integrated analog chip, and low power analog peripheralsContinued support for hardware accelerators: high integration of algorithms and toolsSafety: improve anti-interference ability and safetyCost-effective: reduce costⅧ Programming of MCUThe programming of MCUs and PCs differ significantly. Although C-based MCU development tools are becoming more popular, assembly language remains the most concise and efficient programming language for designers who are efficient program code and like to use assembly.Circuit diagram to build your own microcontroller programmerThe basic framework for MCU programming is roughly the same, divided into the initialization part (the biggest difference between MCU programming and PC programming), the main program loop body, and the interrupt handler. as shown below:1.Initialization: The most basic and important step in the design of all MCU programs is an initialization, which generally includes the following:Mask all interrupts and set the stack pointer to In general, the initialization section does not want any interruptions to occur.Clearing the system's RAM and displaying the Memory: Although it is not always necessary, it is recommended to develop good programming habits for the sake of reliability and consistency, particularly to avoid accidental errors.IO port initialization: Set the input and output modes of the relevant IO port based on the project's application requirements. Set the pull-up or pull-down resistance for the input port, and the initial resistance for the output port.Interrupt setup: Enable and set interrupt trigger conditions for all interrupt sources required by the project, and close unnecessary interrupts that are not used.Initialization of other functional modules: For all peripheral functional modules of MCU that need to be used, corresponding Settings must be carried out according to the application requirements of the project. For example, Baud Rate, data length, verification mode and Stop Bit length should be set for communication of UART  , and clock source should be set for Programmer Timer. Frequency and Reload Data, etc.Initialization of parameters: after completing the initialization of MCU hardware and resources, the following is the initialization of some variables and data used in the program. This part of initialization needs to be designed according to the specific project and the overall arrangement of the program. For some applications that use EEPROM to store the number of prefab items, it is recommended to copy the relevant data to THE RAM of MCU during initialization to improve the speed of data access and reduce the power consumption of the system (in principle, access to the external EEPROM will increase the power consumption of the power supply).2.Main program loop body: Most MCUs run continuously for a long time, so their main program bodies are basically designed in a looping manner. For applications with multiple working modes, there may be many Each loop body is converted between each other through state flags. For the main program body, the following modules are generally arranged:Calculation procedures: Calculation procedures are generally time-consuming, so it is strongly opposed to processing in any interrupt, especially multiplication and division operations.Processing programs with low or no real-time requirements;Display transfer program: mainly for applications with external LED and LCD Driver.3. Interrupt handler: The interrupt program is mainly used to handle tasks and events with high real-time requirements, such as detection of external sudden signals, detection, and processing of buttons, timing counting, LED display scanning, etc.Under normal circumstances, the interrupt program should keep the code as concise as possible. For functions that do not need to be processed in real-time, the trigger flag can be set in the interrupt, and then the main program executes the specific transaction - this is very important, especially for low-power, low-speed MCUs, is necessary to ensure timely responses to all interrupts.4. There are various MCU processing methods for various task bodies.For example, for low-speed, low-power MCU (Fosc=32768Hz) applications, considering that such projects are handheld devices and use ordinary LCD, the response to buttons and display response requires high real-time performance, so generally Timed interrupts are used to process button actions and data display; for high-speed MCUs, such as Fosc>1MHz applications, since the MCU has enough time to execute the main program loop body at this time, it can only be interrupted at the corresponding Various trigger flags are set in the program, and all tasks are executed in the main program body.5. In MCU programming, special attention should be paid to:Avoid situations where the same variable or data is accessed or set in both the interrupt and the main body. The effective prevention method is to arrange the processing of such data in a module, and decide whether to execute the relevant operation of the data by judging the trigger flag; In other bodies (mainly interrupts), only the trigger flag is set where the processing of the data is required. This ensures that data execution is predictable and unique.Ⅸ Summary of the MCU Programming EngineerTo develop a good habit of summarizing, summarizing is not only a summary of their learning, but also a review and deepening of the learning process, but also to avoid the second error.Before writing the program, we should have a solid understanding of the project so that we can start with a solid idea and a general framework. It is critical to consider the layout and what makes the most sense. To determine which module should be completed first, specific steps for the module, how to name each function, and the relationship with other modules. Take a piece of paper and scribble down significant progress.For C language modular programming, we should first divide each module, a module programming, determine a sequence, and then write the next module based on the success of the previous one. When it comes to header files, write the module's header file after you've finished writing the module.Do not ignore the fact that the program must be unreasonable to comprehend its origins and find a solution. When looking for a source, it should be pertinent; you can search for relevant data on the Internet or consult with others. For example, the primary function of another project was incorporated into this project. Some functions are named multiple times. Step by step analysis of the cause, also according to the experimental phenomenon. When defining the port, the incorrect interface was selected. When you can't solve a problem, it's sometimes good to take a break. Things can go wrong no matter how simple they seemThe problems of code utilization efficiency, anti-interference, and MCU reliability continue to plague MCU application development. Ⅹ How to Develop MCU 1How to reduce program bugsThe following are the over-arching management parameters that should be considered during system operation in order to reduce program bugs.Physical parameters: These are primarily system input parameters that include excitation parameters, acquisition and processing operating parameters, and result parameters at the end of processing.Resource parameters: These are primarily the resources of the system's circuits, devices, and functional units, such as memory capacity, storage unit length, and stacking depth.These application parameters are frequently expressed as the application conditions of some single-chip microcomputers and functional units. The term "process parameter" refers to a parameter that changes in an orderly manner during the system's operation.2How to improve the efficiency of C language programming codeIt is an inevitable trend of the development and application of MCU to use C language to design MCU. If you are programming in C, it is best to be familiar with the C compiler you are using to achieve maximum efficiency. First test the number of statement lines in the assembly language corresponding to each C language compilation, so that you can clearly know the efficiency. When programming in the future, use the statement with the highest compilation efficiency. Each C compiler will have certain differences, so the compilation efficiency will also be different. The code length and execution time of an excellent embedded system C compiler is only 5-20% longer than the same functional degree written in assembly language.C language can be used for complex and time-critical projects, but the premise is that you are very familiar with the C language and C compiler of the MCU system and that you pay special attention to the data types and algorithms that the C compiler system can support. Although C is the most commonly used high-level language, the C language compilation system varies due to MCU manufacturer differences, particularly in the operation of some special function modules. As a result, if you don't understand these features, you'll have a lot of trouble debugging, which will result in lower execution efficiency than assembly language.3 How to Solve the MCU Anti-Interference ProblemThe most effective way to prevent interference is to remove interference sources and cut off interference paths, but this is often difficult to do, so we can only conclude that MCU's anti-interference ability is insufficient. While improving the anti-interference capability of hardware systems, software anti-interference has received increasing attention due to its flexible design, ability to save hardware resources, and high reliability.As for the program run fly, in fact, can also use software trap and watchdog to pull the program back to reset state, so the MCU software anti-interference is the most important to deal with the reset state.In most cases, MCU will have some sign registers that can be used to determine the reason for the reset; alternatively, you can bury some tokens in RAM yourself. Different reset causes can be determined in each program reset by judging these signs. You can also use different flags to jump directly to the corresponding program. In this manner, the program will run indefinitely, and the user will be unaware that it has been reset.4How to test the reliability of the MCU systemWhen a MCU system design is completed, there will be different test items and methods for different MCU system products, but some must be tested:lTest the completeness of the software functions of the MCUlPower-on and power-off testlAging testlTests such as ESD and EFT Sometimes, we can also simulate the damage that may occur in human use. For example, the contact port of the MCU system is intentionally rubbed with the human body or clothing fabric, thereby testing the antistatic ability. Use a high-power electric drill to work close to the MCU system to test the anti-electromagnetic interference ability.To sum up, the MCU has become an important aspect of the development and application of the computer.Most of the functions that must be realized by analog circuits or digital circuits in the past can now be realized by software methods using a single-chip microcomputer. This control technology in which software replaces hardware is also called micro-control technology, which is a revolution of traditional control technology.In addition, in the process of development and application, we must master the skills and improve the efficiency, so as to facilitate its wider use.Ⅺ 5 Tips to Solve the Questions About the MCU CrystalCrystal oscillator for MCUCommon causes of the crystal can not vibratePCB wiring error;Microcontroller quality issues;Crystal vibration quality issues;The load capacitance or matching capacitance does not match the crystal oscillator or the capacitor quality is incorrect;PCB board damp, resulting in impedance mismatch and inability to vibrate;The crystal oscillator circuit is too long;There is a line between the feet of crystal;Influence of peripheral circuit.You are advised to rectify faults one by one as follows: 1Remove the possibility of circuit error so that you can compare the recommended circuit of the corresponding type of microcontroller.2 Rule out the possibility of poor peripheral components; because peripheral components are nothing more than resistance and capacitance.3Rule out the possibility of using a crystal oscillator as a stop oscillator because you will not be experimenting with just one or two crystal oscillators.4Try changing the capacitor at both ends of the crystal; perhaps the crystal oscillator will begin to vibrate; please refer to the crystal oscillator capacitor size instructions.5In PC  B wiring, crystal oscillator circuit wiring should be as short as possible and as close to IC as possible, not between crystal oscillator feet. Ⅻ Summary of Chip OperationThe operation of the chip is mainly the operation of the registers in the chip. The registers in the chip have their unique address mapped on the memory, which is the operation of the corresponding address. To learn the chip, first look at the sequence diagram, then understand the corresponding registers, understand how to operate, define the required port (the program can recognize), write and read the operation program.Cross-sectional-views-of-chip-operationHow data is written to the chip, how it is read out, and through which port it is input or read.When connecting a chip through a bus, the first step is to understand the protocol of the bus. The chip connected to the I2c bus is controlled by the bus.1One 74HC595 lattice is used for column selection, and the other two are used for color selection. The lattice is equivalent to a set of diodes.The diode lights up only when one end is switched to a high level and the other to a low level. Just one end of the selection of different, bright different colors.Timer working mode selection: Set timer T1 in the high four digits and timer T0 in the low four digits. Then the last two characters of each mode set the working mode. When using interrupts, note that after entering the interrupt, the reset should be reset.2Serial port transceiver: Baud rate is generally set in mode 2 (automatic reloading initial value) because different devices have different data processing capabilities, the baud rate is set mainly to take care of low-speed devices and for communication between each other. The interrupt flag bit should be cleared by the software. When setting the serial port interrupt, either sending or receiving can enter the interrupt function, so pay attention to setting the interrupt function. (Self-sense generally sets a function, as the upper machine or lower machine).If you send interrupts, you have to figure out how to enter interrupts the first time, so you send them once and then you can enter interrupts. Only one byte can be sent at a time, and only after TI is set to one can the next byte be sent.3Pcf8591ad conversion, there are four channels of input, read PC  F8591, which channel, read is that channel input voltage, after the conversion of data stored in the chip, then read. Read to write the address of the chip, the son writes device address (0 x40 | channel number) and then reads the data.4Da conversion is to write the device address into the chip first, then write the sub-address (0x40) and then write the digital quantity to be converted. Device address chip information is introduced.5For the liquid crystal display, write data display, he will always display, do not continue to refresh, to change, only re-input.6For THE DS1302 clock chip, reading data is read out of the first data at the falling edge of the eighth clock when writing data, and then prepare for the next output. Pay attention to the writing of the program, but also pay attention to the position of the return value.7In Ds1302, the register is specified first, and then data is written to it. The registers on the chip data indicate the address. 8Initialization is best to write, in case you forget later. When reading or writing, the first operation is the lowest or highest bid, which can be judged according to the sequence diagram.9For the infrared transceiver, receiving, he is according to the length of time between the two falling edges to determine the high level or low level, write a program, first with the timer to determine the length of time, save, and then into binary (the program written to see more, very good).10Stepper motor: mainly used as switches, stepper motor torque decreases with the increase of speed. It is mainly used for automatic feeding of parts processing on machine tools. It can also be used in high-precision control places.Stepper motor is an open-loop control element stepper motor that converts electric pulse signal into angular displacement or linear displacement. In the case of the overload, motor speed, stop position depends only on the pulse signal frequency and pulse number, and are not affected by load change, when the stepper driver receives a pulse signal, it is driving a stepper motor according to set the direction of a fixed Angle, known as the "step Angle", its rotation is based on the Angle of the fixed step by step. The angular displacement can be controlled by controlling the number of pulses to achieve accurate positioning. At the same time, the speed and acceleration of the motor can be controlled by controlling the pulse frequency, achieving the purpose of speed regulation.11Servo motor : Servo motor refers to the engine that controls the operation of mechanical components in a servo system. It is an indirect transmission device for auxiliary motors. Servo motors can control speed, position accuracy is very accurate, voltage signal can be converted into torque and speed to drive the control object. Servo motor rotor speed is controlled by the input signal, and can respond quickly, in the automatic control system, used as an executive element, and has the characteristics of mechanical and electrical time constant is small, high linearity, starting voltage, etc., can receive the electrical signal into the motor shaft angular displacement or angular velocity output. It is divided into DC and AC servo motors. Its main characteristic is that when the signal voltage is zero, there is no rotation phenomenon, and the speed decreases uniformly with the increase of torque.12Chinese Characters overview: To output Chinese characters on display or printer, Chinese characters are designed into a dot matrix graph according to graphic symbols, and corresponding dot matrix codes (glyphs) are obtained.The unified encoding for the representation of Chinese characters in the computer is called the internal code (such as national code), and the internal code is unique (equivalent to the id number of the character). The encoding of Chinese characters formed to facilitate the input of Chinese characters is the input code, which belongs to the external code of Chinese characters. The input code varies with the encoding mode and is diverse. The Chinese character code formed for displaying and printing Chinese characters is the character code, and the computer finds the character code in the character library through the character code and realizes its conversion.Machine code: According to the GB code, each Chinese character has a certain binary code, but this code will conflict with THE ASCII code when handled internally by the computer. To solve this problem, the first byte of each GB code is incremented by 1. Because ASCII code only uses 7 bits, the "1" on the first digit can be used as a symbol to identify Chinese character codes. When the computer processes the code with the first digit of "1", it will be interpreted as the information of Chinese characters, and when it processes the code with the first digit of "0", it will be interpreted as the ASCII code. After such processing, the national code (internal code) is the machine's internal code.If put this "mouth" word graphic "." With "0" instead, you can very vividly get the "mouth" glyphs :0000H 0004H 3FFAH 2004H2004H 2004H2004H 2004H2004H 2004H2004H 2004H 3FFAH 2004H 0000H 0000H. Computer to output "mouth", find shows that character first address, according to the "mouth" machine code after calculation, to find a "mouth" glyph code, and then according to the glyph code (to) in binary character generator, in turn, scan control on the screen, which is where the "0" of the binary empty, is a place where "1" swept out of the window, Then you get the character graph of the mouth.Chinese characters are arranged according to the order of national standard codes and stored in the memory in the form of binary files, which constitute the Chinese character font library, also known as the Chinese character font library, called the Chinese character library1312864 liquid crystal: Each display point corresponds to a binary number, with 1 indicating on and 0 indicating off. The RAM that stores this lattice information is called the display data memory. To display a graph or Chinese character is to write the corresponding lattice information into the corresponding storage unit.When the horizontal address = 0FH, it will be reset to 00H, but it will not automatically add one to the vertical address. Therefore, when writing multiple data in a row, the program needs to determine whether the vertical address needs to be reset14GDRAM: Drawing display RAM provides 128×8 bytes of memory space. When changing the drawing RAM, the horizontal and vertical coordinate values are successively written, and then two bytes of data are written to the drawing RAM. The address counter (AC) will automatically increment the horizontal address (X address) and reset to 00H when the horizontal address is 0XFH. Vertical addresses will not be carried automatically plus 1. The drawing display must be turned off during writing to the drawing RAM,For C, a defined variable is automatically allocated space and its address is the name of the variable. Through this name, the data can be recruited in memory, and the new data can be obtained through an operation. In assembly, the programmer needs to define the storage space and send the data to the accumulator for operation, and the programmer needs to operate every step. In C, this is done by the compiler.FAQ1. What is the main function of microcontroller?Microcontroller is a compressed micro computer manufactured to control the functions of embedded systems in office machines, robots, home appliances, motor vehicles, and a number of other gadgets. A microcontroller is comprises components like - memory, peripherals and most importantly a processor.2. What is an example of a microcontroller?The examples of 8-bit microcontrollers are Intel 8031/8051, PIC1x, and Motorola MC68HC11 families. The 16-bit microcontroller performs greater precision and performance as compared to the 8-bit.3. What are the elements of a microcontroller?Therefore, the microcontroller must also satisfy the five basic elements of input, calculation, storage, output, and control. These are called five elements of microcontrollers.4. Which is best microprocessor or microcontroller?If you need access to large amounts of really fast memory then a microprocessor is likely your best option. A microcontroller is already embedded with memory so the memory choices are fewer than with a microprocessor. The maximum amount of FLASH memory available with most microcontrollers is usually around 2MB.5. What is difference between BIOS and CMOS?The BIOS is the program that starts a computer up, and the CMOS is where the BIOS stores the date, time, and system configuration details it needs to start the computer. ... CMOS is a type of memory technology, but most people use the term to refer to the chip that stores variable data for startup.6. Is CMOS a RAM or ROM?RAM and ROM are the products, but Complimentary Metal Oxide Semiconductor (CMOS) is the process they are built in. CMOS uses two different types of transistors to achieve a lower overall power consumption.7. Whats an RTC battery?The Real Time Clock (RTC) battery provides power for the internal clock/calendar and for maintaining system configuration settings. This error can occur when a machine has been left turned-off for an extended period of time (approximately one to four months), and it is the result of a depleted RTC battery.            
kynix On 2022-01-12   1702
Resistors

Semiconductor Manufacturing Steps with Flow Charts

IntroductionThe manufacture of each semiconductor components products requires hundreds of processes. After sorting, the entire manufacturing process is divided into eight steps: Wafer Processing, Oxidation, Photography, Etching, Film Deposition, Interconnection, Test, and Package.Figure 1. Semiconductor Parts Manufacturing ProcessCatalogIntroductionⅠ Wafer ProcessingⅡ OxidationⅢ PhotomaskⅣ EtchingⅤ Film DepositionⅥ InterconnectionⅦ TestⅧ PackageⅠ Wafer ProcessingFewer people know, all semiconductor processes start with a grain of sand. Because the silicon contained in sand is the raw material needed to produce wafers. A wafer is a round slice formed by cutting a single crystal column made of silicon (Si) or gallium arsenide (GaAs). To extract high-purity silicon materials, silica sand is required, a special material with a silicon dioxide content of up to 95%, which is also the main raw material for making wafers. Wafer processing is the process of making and obtaining wafers.Semiconductor Production Process Explained① Ingot CastingFirst, the sand needs to be heated to separate the carbon monoxide and silicon, and the process is repeated until the ultra-high purity electronic grade silicon (EG-Si) is obtained. High-purity silicon melts into a liquid, and then solidifies into a single-crystal solid form called an "ingot", which is the first step in semiconductor manufacturing. The manufacturing precision of silicon ingots (silicon pillars) is very high, reaching the nano level.② Ingot CuttingAfter the previous step is completed, you need to cut off both ends of the ingot with a diamond saw, and then cut it into slices of a certain thickness. The diameter of the ingot slice determines the size of the wafer. Larger and thinner wafers can be divided into more units, which helps reduce production costs. After cutting the silicon ingot, it is necessary to add a "flat area" or "indent" mark on the slice, so that it is convenient to set the processing direction based on it as a standard in the subsequent steps.③ Wafer Surface PolishingThe thin slice obtained through the above-mentioned cutting process is called a "die", that is, an unprocessed "raw wafer". The die surface is uneven, and it is impossible to directly print circuit patterns on it. Therefore, it is necessary to first remove surface defects through grinding and chemical etching processes, then form a smooth surface through polishing and then cleaning residual contaminants. Ⅱ OxidationThe role of the oxidation process is to form a protective film on the surface of the wafer. It can protect the wafer from chemical impurities, prevent leakage current from entering the circuit, diffusion during ion implantation, and the wafer from slipping off during etching.Figure 2. OxidationThe first step of the oxidation process is to remove impurities and pollutants, such as organic matter, metals and evaporation residual moisture with four steps. After the cleaning is completed, the wafer can be placed in a high temperature environment of 800 to 1200 degrees Celsius, and a layer of silicon dioxide is formed by the flow of oxygen or vapor on the wafer surface. Oxygen diffuses through the oxide layer and reacts with silicon to form oxide layers of different thicknesses, which can be measured after the oxidation is complete.✔️Dry Oxidation and Wet Oxidation MethodAccording to the different oxidants in the oxidation reaction, the thermal oxidation process can be divided into dry oxidation and wet oxidation. The former uses pure oxygen to produce a silicon dioxide layer, which is slow but the oxide layer is thin and dense. The latter requires both oxygen and high solubility. The characteristic of water vapor is that the growth rate is fast, but the protective layer is relatively thick and the density is low.Figure 3. Dry Oxidation and Wet Oxidation MethodIn addition to the oxidizer, there are other variables that affect the thickness of the silicon dioxide layer. First of all, the wafer structure, surface defects and internal doping concentration will affect the rate of formation of the oxide layer. In addition, the higher the pressure and temperature generated by the oxidation equipment, the faster the oxide layer will be formed. In the oxidation process, it is also necessary to use dummy wafers according to the location of the wafers in the unit to protect the wafers and reduce the difference in oxidation degree. Ⅲ PhotomaskPhotomask is the use of light to "print" circuit patterns onto a wafer. We can understand it as semiconductor parts drawing on the surface of the wafer. The higher the fineness of the circuit pattern, the higher the integration of the product chip, which can only be achieved through advanced photomask technology. Specifically, it can be divided into three steps: photoresist coating, exposure and development.① Coated PhotoresistThe first step in drawing a circuit on a wafer is to coat photoresist on the oxide layer. Photoresist changes the chemical properties of the wafer to become "photographic paper". The thinner the photoresist layer on the surface of the wafer, the more uniform the coating, and the finer the patterns that can be printed. In addition, this step can use the "spin coating" method.Figure 4. Coating PhotoresistAccording to the difference of UV light reactivity, photoresist can be divided into two types: positive glue and negative glue. The former will decompose and disappear after being exposed to light, leaving a pattern of unreceived areas, while the latter will polymerize after being exposed to light to let the pattern of the light-receiving part appear.② ExposeAfter covering the photoresist film on the wafer, the circuit can be printed by controlling the light irradiation. This process is called "exposure." We can selectively pass light through the exposure equipment. When the light passes through the mask containing the circuit pattern, the circuit can be printed on the wafer coated with a photoresist film underneath.Figure 5. ExposureDuring the exposure process, the finer the printed pattern, the more components can be accommodated in the final chip, which helps to improve production efficiency and reduce the cost of individual components. ③ DevelopmentThe step after exposure is to spray developer on the wafer, in order to remove the photoresist in the area not covered by the pattern, so that the printed circuit pattern can be revealed. After the development is completed, it needs to be checked by various measuring equipment and optical microscopes to ensure the quality of the drawing of the circuit diagram. Ⅳ EtchingAfter the photolithography of the circuit diagram is completed on the wafer, an etching process is used to remove any excess oxide film and only the semiconductor circuit diagram is left. To do this, liquid, gas or plasma is used to remove the unselected parts.There are two main etching methods, depending on the material used: wet etching that uses a specific chemical solution for chemical reaction to remove the oxide film, and dry etching that uses gas or plasma.1) Wet EtchingFigure 6. Wet Etching MethodWet etching that uses chemical solutions to remove oxide films has the advantages of low cost, fast etching speed, and high productivity. However, wet etching has the characteristics of isotropy, that is, its speed is the same in any direction. This will cause the mask (or sensitive film) and the etched oxide film to not be completely aligned, making it difficult to process very fine circuit diagrams.2) Dry EtchingDry etching can be divided into three different types:The first is chemical etching, which uses etching gas (mainly hydrogen fluoride). Like wet etching, this method is also isotropic, which means that it is not suitable for fine etching.The second method is physical sputtering, that is, ions in the plasma are used to strike and remove the excess oxide layer. As an anisotropic etching method, it has different etching speeds in the horizontal and vertical directions, so its fineness must exceed that of chemical etching. However, the disadvantage of this method is that the etching speed is slow, because it completely relies on the physical reaction caused by ion collision.Figure 7. Physical SputteringThe third method is reactive ion etching (RIE). It combines the first two methods, that is, while using plasma for ionized physical etching, and chemical etching is performed with free radicals generated after plasma activation. In addition to the etching speed exceeding the first two methods, RIE can use the characteristics of ion anisotropy to achieve high-definition pattern etching.Figure 8. Reactive Ion Etching (RIE)Now dry etching has been widely used to improve the yield of fine semiconductor circuits. Maintaining the uniformity of full-wafer etching and increasing the etching speed are crucial. Today's most advanced dry etching equipment is supporting the production of the most advanced logic and memory chips with higher performance. Ⅴ Film DepositionIn order to create the micro devices inside the chip, we need to continuously deposit layers of thin films and remove the excess parts by etching, and add some materials to separate the different devices. Each transistor or memory cell is constructed step by step through the above process. The "thin film" we are talking about here refers to a "membrane" whose thickness is less than 1 micron (μm, one millionth of a meter) and cannot be manufactured by ordinary mechanical processing methods. Here the process of putting a thin film containing the desired molecular or atomic unit on the wafer is "deposition."Figure 9. DepositionTo form a multi-layer semiconductor structure, we need to fabricate a device stack first, that is, alternately stacking multiple thin metal (conductive) films and dielectric (insulating) films on the surface of the wafer, and then repeat the etching process to remove excess parts and form a three-dimensional structure. Technologies that can be used in the deposition process include chemical vapor deposition (CVD), atomic layer deposition (ALD) and physical vapor deposition (PVD). The methods using these technologies can be divided into dry and wet deposition.① Chemical Vapor DepositionFigure 10. Chemical Vapor DepositionIn chemical vapor deposition, the precursor gas chemically reacts in the reaction chamber and generates a thin film attached to the surface of the wafer and by-products that are drawn out of the chamber.Plasma-enhanced chemical vapor deposition requires the use of plasma to generate reactive gas. This method reduces the reaction temperature and is very suitable for temperature-sensitive structures. In addition, the use of plasma can also reduce the number of depositions, which can often lead to higher quality films.② Atomic Layer DepositionFigure 11. Atomic Layer DepositionAtomic layer deposition forms a thin film by depositing only a few atomic layers at a time. The key to this method is to loop the independent steps in a certain order and maintain good control. Coating the precursor on the wafer surface is the first step, after which different gases are introduced to react with the precursor to form the required substances on the wafer surface.③ Physical Vapor DepositionFigure 12. Physical Vapor DepositionPhysical vapor deposition refers to the formation of thin films by physical means. Sputtering is a physical vapor deposition method. Its principle is that atoms of the target material are sputtered out by the bombardment of argon plasma and deposited on the wafer surface to form a thin film.In some cases, the deposited film can be treated and improved by techniques such as ultraviolet heat treatment. Ⅵ InterconnectionThe conductivity of semiconductors is between conductors and non-conductors (ie insulators). This characteristic allows us to fully control the current. Through wafer-based lithography, etching and deposition processes, transistors and other components can be constructed, but they also need to be connected to achieve power and signal transmission and reception.Metal is used for circuit interconnection because of its conductivity, which is need to meet the following conditions:✔️Low Resistance: Since the metal circuit needs to pass current, the metal in it should have low resistance.✔️Thermochemical stability: The properties of the metal material must remain unchanged during the metal interconnection process.✔️High Reliability: With the development of integrated circuit technology, even a small amount of metal interconnect materials must have sufficient durability.✔️Manufacturing Cost: Even if the previous three conditions have been met, high cost is not suitable for the mass production.The interconnection process mainly uses two substances, aluminum (Al) and copper (Co).Figure 13. Al and Co Interconnection Process✔️Aluminum Interconnect ProcessThis process starts with aluminum deposition, photoresist application, and exposure and development, removing any excess aluminum and photoresist before entering the oxidation process through etching tech. After the foregoing steps are completed, repeat them until the interconnection is completed.With its excellent electrical conductivity, aluminum is also easy to lithography, etch, and deposit. In addition, it has a lower cost and a better adhesion to the oxide film. The disadvantage is that it is easy to corrode and has a low melting point. In addition, in order to prevent the reaction of aluminum and silicon from causing connection problems, it is also necessary to add a metal deposit to separate the aluminum from the wafer, which is called a "barrier metal."Aluminum circuits are formed by deposition. After the wafer enters the vacuum state, the thin film formed by aluminum particles will adhere to the wafer. This process is called "Vapour Deposition" and includes chemical vapor deposition and physical vapor deposition.✔️Copper Interconnection ProcessWith the improvement of semiconductor process precision and the shrinking of device size, the connection speed and electrical characteristics of aluminum circuits are gradually unable to meet the requirements. For this reason, we need to find new conductors that satisfy the requirements of both size and cost. With its lower resistance, so it can achieve faster connection speed. What’s more, copper is more reliable because it is more resistant to electromigration than aluminum, which is the movement of metal ions that occurs when current flows through the metal.However, copper does not easily form compounds, so it is difficult to vaporize and remove it from the wafer surface. To solve this problem, we no longer etch copper, but the dielectric materials, so that metal circuit patterns composed of trenches and via holes can be formed, and then copper is filled into the aforementioned to help interconnection, which is called "inlaid process".Figure 14. Copper Interconnection BarriersAs the copper atoms continue to diffuse into the dielectric, the insulation of the latter will decrease and produce a barrier layer that prevents the copper atoms from continuing to diffuse. Then a very thin copper seed layer will be formed on the barrier layer. After this step, electroplating can be carried out, that is, the high-aspect-ratio graphics are filled with copper. After filling, the excess copper can be removed by a metal chemical mechanical polishing (CMP) method. After completion, an oxide film can be deposited, and the excess film can be removed by photolithography and etching processes. The full entire process needs to be repeated continuously until the copper interconnection is completed.It can be seen from the above comparison that the difference between the copper interconnection and the aluminum interconnection is that the excess copper is removed by metal CMP instead of etching. Ⅶ TestThe main goal of the test is to check whether the quality of the semiconductor chip meets a certain standard, thereby eliminating defective products and improving the reliability of the chip. In addition, products that are tested and defective will not enter the packaging step, which helps to save cost and time. Electronic die sorting (EDS) is a testing method for wafers.EDS is a process for inspecting the electrical characteristics of each chip in the wafer state and thereby improving the semiconductor yield. EDS can be divided into five steps, as follows:Electrical Die Sorting (EDS)1)EPMTest whether the electrical parameters of transistors, capacitors, diodes and other devices meet the standards.2)Aging TestTest method of applying a certain temperature and AC/DC voltage to the wafer.3)TestPerform temperature, speed and motion tests on the wafer through the probe card.4)RepairReplace the components in the defective wafer and test again.5)InkUse special ink to mark defective chips.1) EPMEPM is the first step in semiconductor chip testing. This step will test every device (including transistors, capacitors, and diodes) that the semiconductor integrated circuit needs to use to ensure that its electrical parameters meet the standards. The measured electrical characteristic data will be used to improve the efficiency of the semiconductor manufacturing process and product performance (not to detect defective products).2) Wafer Aging TestThe semiconductor defect rate comes from two aspects, namely, the rate of manufacturing defects (higher in the early stage) and the rate of defects occurring throughout the life cycle afterwards. Wafer aging test refers to testing the wafer under a certain temperature and AC/DC voltage to find out which products may have defects in the early stage, that is, to improve the reliability of the final product by discovering potential defects.3) Parameters TestTemp TestHigh TemperaturVerify that the chip can work at a temperature that exceeds the maximum temperature by 10% or higher.Low TemperaturVerify that the chip can work at a temperature that lower the minimum temperature by 10% or more.Room TemperaturCheck whether the chip can work at room temperature (25°C).The high and low temperature test requirements for storage semiconductors are 85-90℃ and -5-40℃ respectively.Speed TestCoreCheck whether the core functions are valid.SpeedTest movement speed.Motion TestDCApply direct current to check whether the current and voltage are normal.ACApply alternating current to test movement characteristics.FunctionCheck whether all functions are normal.4) RepairRepairing is the most important test step, because some defective chips can be repaired, and you only need to replace the defective components.5) InkThe chips that failed the electrical test have been sorted out in the previous steps, but they still need to be marked to distinguish them. In the past, we needed to mark defective chips with special inks to ensure that they can be identified with the naked eye. Today, the system automatically sorts them based on the test data values. Ⅷ PackageSquare chips (also called single wafers) of equal size are formed on the wafers processed by the previous several processes. The next thing to do is to obtain individual chips by cutting. The chip that has just been cut is very fragile and cannot exchange electrical signals, so it needs to be processed separately. This process is packaging, including forming a protective shell on the outside of the semiconductor chip and allowing them to exchange electrical signals with the outside. The entire packaging process is divided into five steps, namely wafer sawing, single wafer attachment, interconnection, molding, and packaging testing.1) Wafer SawingTo cut countless densely arranged chips from the wafer, we must first grind the back of the wafer until its thickness can meet the needs of the packaging process. After grinding, we can cut along the scribing line on the wafer until the semiconductor chip is separated.There are three types of wafer sawing techniques: blade cutting, laser cutting and plasma cutting. Blade cutting refers to cutting wafers with diamond blades, which is prone to generate frictional heat and debris and thus damage the wafers. Laser cutting has higher precision and can easily handle wafers with thin thickness or small scribing line pitch. Plasma cutting uses the principle of plasma etching, so even if the scribing line pitch is very small, this technology can also be applied.2) Single Wafer AttachmentAfter all the chips are separated from the wafer, we need to attach the individual chips (single chip) to the substrate (lead frame). The role of the substrate is to protect the semiconductor chips and allow them to exchange electrical signals with external circuits. A liquid or solid tape adhesive can be used to attach the chip.3) BondFigure 15. BondingAfter attaching the chip to the substrate, we also need to connect the contact points of the two to achieve electrical signal exchange. There are two connection methods that can be used in this step: wire bonding using thin metal wires and flip chip bonding using spherical gold or tin blocks. Wire bonding is a traditional method, and flip-chip bonding can speed up semiconductor product manufacturing.4) MoldingFigure 16. MoldingAfter completing the connection of the semiconductor chip, it is necessary to use a molding process to add a package to the outside of the chip to protect the semiconductor integrated circuit from external conditions such as temperature and humidity. After the packaging mold is made as required, we put the semiconductor chip and the epoxy molding compound (EMC) into the mold and seal it. The sealed chip is in its final product.5) Package TestThe chip that has the final form must pass the final defect test. All that enters the final test is the finished semiconductor chip. They will be put into the test equipment, set different conditions such as voltage, temperature and humidity, etc. for electrical, functional and speed tests. The results of these tests can be used to find defects, improve product quality and production efficiency. Frequently Asked Questions about Semiconductor Manufacturing Steps1. What is a semiconductor and how is it made?Semiconductors are made from materials that have free electrons in their structure that can move easily between atoms, which aids the flow of electricity. ... Silicon has four electrons in its outer orbital, which allows the covalent bonds to form a lattice and thus form a crystal. 2. How many steps are in a manufacturing semiconductor?In semiconductor device fabrication, the various processing steps fall into four general categories: deposition, removal, patterning, and modification of electrical properties. 3. How is semiconductor manufactured?In the manufacturing process of IC, electronic circuits with components such as transistors are formed on the surface of a silicon crystal wafer. A thin film layer that will form the wiring, transistors and other components is deposited on the wafer (deposition). The thin film is coated with photoresist. 4. What type of operation is semiconductor processing?In semiconductor device fabrication, the various processing steps fall into four general categories: Deposition, Removal, Patterning, and Modification of electrical properties. Deposition is any process that grows, coats, or otherwise transfers a material onto the wafer. 5. What chemicals are used in semiconductor manufacturing?Semiconductors chemstry is mainly organized around the chemical treatment by solvents and acido-basic attacks of semiconductors. Chemistry of solvents : the main chemicals used during this stage are trichloroethylene, acetone, isopropanol and also other alcohols such as denatured ethanol.
kynix On 2021-08-18   52307
Resistors

How 555 Timers Work? Circuit Modes Analysis

IntroductionFor people who have been in touch with digital circuits or analog circuits, the 555 IC is definitely classic work. With its low cost and reliable performance, it is widely used in various electrical appliances, including instruments and meters, household appliances, electric toys, and automatic control. The 555 timer only needs a few external resistors and capacitors to realize pulse generation and conversion circuits, such as multiple oscillators, monostable triggers and schmitt triggers. So how does it work in the circuit? What the role of its circuit? Here gives several typical 555 circuit examples for specific analysis.555 Timers Circuit LearningCatalogIntroductionⅠ Basic 555 Timer Circuit AnalysisⅡ 555 Multivibrator Circuit AnalysisⅢ 555 Timer Monostable Flip Flop Circuit AnalysisⅣ Classic 555 Timer Circuits DiagramsⅤ 555 Timer IC ModesⅠ Basic 555 Timer Circuit Analysis555 Means What?555 timer is a convenient and powerful IC, which is widely used in signal generation, conversion, control and detection. The origin of this name, because it is divided by three 5KΩ resistors. The 555 timer is a simple integrated circuit that can be used to make many different electronic circuits. With the following circuits analysis you will know how 555 IC works.Figure 1. Basic 555 Timer Circuit✔️ Circuit AnalysisR is not the reset terminal, when set to 0, Q is 0,  is 1, Uo outputs 0, and is 1 added to the base of the transistor T, the transistor is in the conducting state.① When R=0, Q=1, uo=0, T is saturated and turned on.② When R=1 (there is no reset function at this time):UTH>2VCC/3, UTR>VCC/3, C1=0, C2=1, Q=1 or =0, uo=0, T is saturated and turned on. (Analysis: C1's positive input terminal is 2VCC/3, C1's negative input UTH terminal is greater than the positive input terminal, working in saturation, and output 0. C2's negative input terminal is 1VCC/3, which is smaller than the positive input Terminal UTH, and outputs 1. There is a horizontal line above RD and SD, which means low level, meaning is Reset. C1 outputs 0, RD is valid, then Q is 0, not 1, Uo outputs 0, and is not acting on the base of the triode.)③ When R=1, UTH<2VCC/3, UTR>VCC/3, C1=1, C2=1, Q and remain unchanged, uo and T remain unchanged. (Analysis is the same as above)④ When R=1, UTH<2VCC/3, UTR<VCC/3, C1=1, C2=0, Q=0, =1, uo=1, T is cut off. (Analysis is the same as above) Learn how the inputs interact with the supply voltage to trigger and reset the output high and low. Find out which pins can be used to adjust the threshold at which that change happens.Ⅱ 555 Multivibrator Circuit AnalysisFigure 2. 555 Multivibrator Circuit Analysis Figure 3. 555 Multivibrator Circuit Example✔️ Circuit Analysis First, the power supply VCC charges the capacitor C through R1 and R2, and the voltage of the capacitor must be relatively small, less than 1VCC/3. Similarly, the positive terminal of C1 is 2VCC/3, the negative terminal of C2 is 1VCC/3, and the TH and TR terminals are connected At the same time, it is less than 1VCC/3 at the beginning. At this time, C1 outputs 1, C2 outputs 0, and the set terminal is valid (with detailed confirmation): Q is 1, is not 0, and uo is 1, the transistor is cut off, and outputs high level. At this time, the power supply is still charging the capacitor. When the TH and TR terminals are connected together, the voltage is less than 2VCC/3 and greater than 1VCC/3; C1 outputs 1, C2 outputs 1, the transistor is cut off, and uo is 1. When the capacitor is greater than 2VCC/3, C1 outputs 0 and C2 outputs 1. At this time, Q is 0, is not 1, uo is 0, the output is low, and the transistor is turned on. The capacitor will be discharged through pin 7. After this, the voltage at the point where TH and TR connected will gradually decrease, less than 2VCC/3 and greater than 1VCC/3, and then it will be less than 1VCC/3, to form a harmonic oscillator.The pulse width tp1 of the first transient state, that is, the time required for uc to rise from VCC/3 charging to 2VCC/3 (charged through two resistors):The second transient state pulse width tp2, that is, the time required for uc to discharge from 2VCC/3 to VCC/3:Duty cycle: the time that the high level occupies the entire cycle., it can be seen that its duty cycle is always greater than 50%.Examples 1Circuit with Adjustable Duty Cycle (add an adjustable resistor)Figure 4. Circuit with Adjustable Duty Cycle (add an adjustable resistor)It can be calculated:Where T1=0.7R1C (T1 is charging time), T2=0.7R2C (T2 is discharging time)Total time T=T1+T2=0.7(R1+R2)CSo R1, R2, and C are determined, and the period T is also determined.Duty Cycle Calculation Example 2Circuit with Adjustable Duty Cycle (1KHz)Figure 5. Circuit with Adjustable Duty Cycle (1KHz)✔️ Circuit AnalysisT = 0.7(R1+R2)C, f = 1/T, the duty cycle circuit only needs to adjust the resistance value. Ⅲ 555 Timer Monostable Flip Flop Circuit AnalysisWorking Characteristics① It has two different working states: steady state and transient state.② Under the action of an external trigger pulse, it can switch from the steady state to the transient state. After the transient state is maintained for a period of time, the circuit can automatically return to the steady state.③ The transient state cannot be maintained for a long time, and the duration of its sustaining time depends on the parameters of the circuit itself and has nothing to do with the trigger pulse. So what is the principle of a monostable circuit?Figure 6. 555 Timer Monostable Circuit Analysis Figure 7. 555 Timer Monostable Circuit Example✔️ Circuit AnalysisFirst, the TR terminal is at a high level ui, which must be greater than 1VCC/3. At this time, C2 outputs 1, and the power supply charges capacitor C through R. The charging voltage is less than 1VCC/3 (TH), CO voltage is equal to 2VCC/3, C1 outputs 1, and it is in the holding state at this time. Assuming that the non-reset terminal of R is reset before power on, the output of uo is 0, and then the previous state is still maintained and the output is 0 at this time. is 1, the transistor is turned on, the capacitor is discharged through pin 7, and uc is zero level. At a certain moment, ui is low, C1 still outputs 1, C2 outputs 0, Q is 1, is 0, uo outputs 1 (high level), and the transistor has been in the cut-off state. At this time, VCC can charge the capacitor (uc is getting larger). When uc is between 1VCC/3~2VCC/3, assuming that the TR terminal returns to the original state (high level), C1 outputs 1 , C2 outputs 1, at this time uo keeps in original state, it is still 1, and the transistor is in the cut-off state. When uc is greater than 2VCC/3, C2 is still 1, C1 output is 0, Q is 0, is 1, and uo is 0, the transistor is turned on and in a discharging state, at this time, uc is getting smaller and smaller.Summery:1. As long as a low-level trigger signal is given, the temporary stable stay time is the charging time of voltage 0V~ 2Ucc/3 (the time represented by tp).2. Charging time Tp=1.1RC3. It can be used as a timing circuit, and the time can be determined by RC.Example: Timing Circuit Design (1s delay time)Figure 8. 555 Timer Delay Circuit ExampleⅣ Classic 555 Timer Circuits DiagramsThere are A LOT of projects out there using the 555 in various ways and it’s easy to find schematics to make a project that has already been proven. Here lists some typical projects using 555 timer in circuits. Let’s have a look. 🔺 Car Tachometer🔺 SIREN🔺 Flashing Lights🔺 Knight Rider Circuit🔺 Laser Ray🔺 Latch🔺 LED Dimmer🔺 555 Amplifier🔺 Light Detector🔺 Machine Gun🔺 Metal Detector🔺 Motor PWM🔺 Music Box🔺 Zener Diode Tester Ⅴ 555 Timer IC Modes555 timer will use different models in different circuits to meet circuit requirements. Therefore, it has many derivative models produced by different companies with different pin functions, and uses CMOS design. What;s more, some chips include several integrated 555 timers. Some common models of the 555 chip family are as follows:ManufacturerModelRemarksCustom Silicon SolutionsCSS555/CSS555CCMOS chip, minimum working voltage 1.2V, IDD < 5µACEMIULY7855*ECG SemiconductorsECG955MTimer Single Rc-type OscillatorExarXR-555Highly stable controllerFairchildNE555/KA555Time-delay or mono-stableHarrisHA555*IK SemiconILC555CMOS chip, minimum working voltage 2VTexas InstrumentsSE555/NE555*RenesasICM7555CMOS RC timersLithic SystemsLC555Available in Industry's Smallest 8-Bump DSBGAMaximICM7555CMOS RC timers, minimum working voltage 2VMotorolaMC1455/MC1555Monolithic timerNational SemiconductorLM1455/LM555/LM555C*National SemiconductorLMC555CMOS chip, minimum working voltage 1.5VNTE SylvaniaNTE955MAccurate time delaysRaytheonRM555/RC555*RCACA555/CA555C*STMicroelectronicsNE555N/ K3T647*Texas InstrumentsSN52555/SN72555*Texas InstrumentsTLC555CMOS chip, minimum working voltage 2VZetexZSCT1555Precision single cell timerNXPICM7555CMOSHitachi SemiconductorHA17555Accurate time delays or oscillations Frequently Asked Questions about 555 Timer Circuit1. What does a 555 timer do in a circuit?The 555 timer IC is a very cheap, popular and useful precision timing device which can act as either a simple timer to generate single pulses or long time delays, or as a relaxation oscillator producing a string of stabilised waveforms of varying duty cycles from 50 to 100%. 2. How much voltage can a 555 timer take?The standard TTL 555 can operate from a supply voltage between 4.5 volts and 18 volts, with its output voltage approximately 2 volts lower than its supply voltage VCC. The 555 can source or sink a maximum output current of 200mA, (but it may get hot at this level), so the circuit variations are unlimited. 3. What are the modes of operation of a timer?The timer registers can be used in two modes. These modes areTimer mode and the Counter mode. The only difference between these two modes is the source for incrementing the timer registers. 4. What are the basic operation modes of the 555 timer?The operating modes of a 555 timer are astable, bistable and monostable. Each mode of operation signifies with a circuit diagram and its output. 5. What is the maximum frequency of a 555 timer?2MHzaccording to the website, the 555 timer has a maximum frequency of 2MHz.
kynix On 2021-05-21   5414

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Follow us

Join our mailing list!

Be the first to know about new products, special offers, and more.

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication

Kynix

© 2008-2026 kynix.com all rights reserve.