Збирач потоків

Self made amp circuit

Reddit:Electronics - 3 години 1 хв тому
Self made amp circuit

Amp Output.. If I succeed in making it, I'll upload it to Reddit and YouTube.

submitted by /u/Time_Double_1213
[link] [comments]

Latest issue of Semiconductor Today now available

Semiconductor today - 5 годин 40 хв тому
For coverage of all the key business and technology developments in compound semiconductors and advanced silicon materials and devices over the last month, subscribe to Semiconductor Today magazine...

The MOS 6502: How a $25 Chip Sparked a Computer Revolution

AAC - 6 годин 3 хв тому
Retro Register is a new All About Circuits column that explores technologies of the past and the lessons they hold for the future. Come along for our first deep dive on the MOS 6502.

Simple diff-amp extension creates a square-law characteristic

EDN Network - 6 годин 1 хв тому

Back on December 3, 2024, a Design Idea (DI) was published, “Single-supply single-ended inputs to pseudo class A/B differential output amp,” which created some discussion about using the circuit as a full wave rectifier.

DI editor Aalyia has kindly allowed a follow-up discussion about a circuit which could be utilized for this, but is better suited for square-law functions.

The circuit shown in Figure 1 is an LTspice implementation built around a bipolar differential amplifier with Q1 and Q3 serving as the + and – active differential input devices, respectively.

Figure 1 An LTspice implementation built around a bipolar differential amplifier with Q1 and Q3 serving as the + and – active differential input devices, respectively, allowing the circuit to be better suited for square-law functions.

Wow the engineering world with your unique design: Design Ideas Submission Guide

Additional devices Q2 and Q4 are added at the “center point” between Q1 and Q3, and act such that the collector currents of all devices are equal when no differential voltage is present.

This occurs because resistors R7 and R8 create a virtual differential zero-volt “center point” between the + and – differential inputs, and all device Vbe’s are the same, neglecting the small voltage drop across R7 and R8 due to Q2 and Q4 base bias currents.

R7 and R8 set the differential input impedance for the circuit configuration, where R1 and R3 set the signal source differential impedances for the simulations.

The device emitter currents are controlled by the “tail current source” I1 at 4 mA; thus, each device has an emitter current of ~1 mA with zero differential input. Note the -Diff Input signal is created by using a voltage-controlled voltage source with an effective gain of -1 due to the inverted sensing of the +Diff Input voltage (VIN+). This arrangement allows the input signal to be fully differential when LTspice controls the VI+ voltage source during signal sweeps.

This is not part of the circuit but used for comparisons: Voltage-controlled current source, B1, is configured to produce an ideal square-law characteristic by squaring the differential voltage (Vin+ Vin-) and scaling by factor “K”.

Figure 2 shows the simulation results of sweeping the differential input voltage sources from -200 mV to +200 mV while monitoring the various device currents. Note the differential output current, which is:

[Ic(Q1)+Ic(Q3)] – [Ic(Q2)+Ic(Q4)]

closely approximates the ideal square-law with a scale factor of 0.3 (amps/volt) for differential input voltages of ±60 mV.

Figure 2 Simulation results of sweeping the differential input voltage sources from -200 mV to +200 mV while monitoring the various device currents.

Please note this circuit is a transconductor type where the output is a differential current controlled by a differential input voltage.

Anyway, thanks to Aalyia for allowing us to follow up with this DI, and hopefully some folks will find this and the previous circuits interesting.

Michael A Wyatt is a life member with IEEE and has continued to enjoy electronics ever since his childhood. Mike has a long career spanning Honeywell, Northrop Grumman, Insyte/ITT/Exelis/Harris, ViaSat and retiring (semi) with Wyatt Labs. During his career he accumulated 32 US Patents and in the past published a few EDN Articles including Best Idea of the Year in 1989.

 Related Content

The post Simple diff-amp extension creates a square-law characteristic appeared first on EDN.

Top 10 Reinforcement Learning Companies in India

ELE Times - 8 годин 24 хв тому

Reinforcement learning (RL), a subfield of machine learning in which agents learn by interacting with their surroundings, is gaining significant popularity in India’s quickly developing AI ecosystem. RL is being used in a variety of areas, including financial modeling, smart energy grids, and autonomous systems. Indian businesses are using RL to innovate and create scalable solutions that are on par with international standards, rather than merely adopting it. The top 10 reinforcement learning companies in India will be explored in this article:

  1. Tata Consultancy Services (TCS)

As the global IT leader, TCS focuses on integrating RL into supply chain optimization, autonomous systems, and intelligent automation. It is AI laboratories work on adaptive algorithms that learn from changing environments in logistics, manufacturing, and operations for better decision making. The company also uses its platform TCS iON to apply RL to the fields of education and skill development, employing gamified and tailored learning to increase motivation and achieve better educational results.

  1. Infosys

As led by the Infosys Topaz platform, the AI-first initiative of the company shows faster advances in Reinforcement Learning (RL). The platform’s robotics, enterprise automation, and conversational AI are improved by RL and RLHF (Reinforcement Learning with Human Feedback). The completion and integration of these technologies enable the creation of adaptive, scalable, and self-learning enterprise solutions, such as automated fraud detection systems, predictive analytics, and enhanced customer care.

  1. Wipro

Wipro is currently engaging with Reinforcement Learning (RL) to upgrade automation, simulation, and intelligent systems across multiple sectors. The company utilizes RL in industrial automation and flight simulation, employing adaptive learning models to improve control mechanisms and decision-making procedures. Wipro’s investigations also extend to scalable RL methodologies for manufacturing and financial services, which facilitate more intelligent resource allocation and operational forecasting.

  1. HCL Technologies

HCL Technologies is continuously refining the applications of Reinforcement Learning (RL) across various focus areas, including cybersecurity, workforce analytics, and education. In workforce analytics, HCLTech uses RL for the customization of learning pathways and the prediction of talent development, enabling companies to match employee evolution with their strategic objectives. Their partnership with Pearson brings even greater value in the education sector, where RL-driven adaptive learning systems customize services to the learners and enhance the mastery of skills.

  1. ValueCoders

ValueCoders is an Indian software company specializing in adaptive smart system software development for healthcare, finance, and education sectors. They use computer vision, reinforcement learning, and MLOps to ease decision automation, enhance personalization, and boost system performance over time for their clients.

  1. Locus

Locus is a top-class supply chain and logistics company that focuses on streamlining and automating supply chain operations with the use of reinforcement learning (RL). With Locus, businesses can now enhance the planning of delivery routes, scheduling of deliveries, and even the allocation of resources. This allows companies to better control and reduce costs, increase the efficiency of their operations, and better respond to fluctuating demand and traffic conditions.

  1. Mad Street Den

Mad Street Den is the only company to blend reinforcement learning and computer vision through its Vue.ai platform to enhance personalized retail experiences. Their adaptive systems are designed to optimize merchandising, styling, and customer engagement on behalf of global fashion and e-commerce brands.

  1. Arya.ai

With a deep focus on reinforcement learning and deep neural networks, Arya.ai addresses autonomous decision systems. Their SaaS products with real-time adaptation enabled for finance, insurance, and robotics industries address fraud detection, claims automation, and smart underwriting.

  1. Infilect

Infilect uses visual intelligence platforms to implement RL in retail. Their technologies optimize pricing, merchandising, and shelf availability using RL-driven analytics, which helps brands lower stockouts and increase in-store compliance.

  1. Flutura Decision Sciences

The major industries of oil and gas, chemicals, and heavy machinery benefit from Flutura Decision Sciences’ artificial intelligence and reinforcement learning approaches to machine learning, which are used to develop their industrial internet of things platform, Cerebra. With Flutura, these industries can improve asset performance, anticipate failures, and minimize downtime. To offer complex system digital twins, Cerebra delivers diagnostics and prognostics, which are supported by physics models, heuristics, and machine learning.

Conclusion:

With smart healthcare, smart agriculture, and smart city systems, autonomous systems powered by reinforcement learning are ready to take off, marking the beginning of the AI revolution. With the development of edge AI and quantum computing, real-time decision-making will be dominated by RL. Due to the culture of innovation, availability of skilled resources, and the country’s bold vision, India has the potential to lead the world in adaptive intelligent systems in the upcoming years.

The post Top 10 Reinforcement Learning Companies in India appeared first on ELE Times.

КПІ долучається до національної акції "Стіл пам'яті"

Новини - 10 годин 29 хв тому
КПІ долучається до національної акції "Стіл пам'яті"
Image
kpi пт, 08/29/2025 - 12:33
Текст

🌻 Ми пам'ятаємо – кожного і кожну, хто захищає нас у цій війні. Хто віддає своє життя, аби ми мали змогу продовжувати навчання, обіймати рідних, будувати плани. КПІ ім.

Currently working on a electronics library

Reddit:Electronics - 13 годин 25 хв тому
Currently working on a electronics library

Fusion360 does not have the best libraries available, so I decided to start building an electronics library for all the boards/components that came with my arduino starter kit (plus a pico). Once I finish this , I plan on adding many other components that aren't available in Fusion.

submitted by /u/teslah3
[link] [comments]

Nuvoton Technology Unveils Upgraded NuMicro M2354 MCU: Enhanced Security and Compact Footprint for Server, IoT, and Edge

ELE Times - 13 годин 52 хв тому

High Security Integration, Low Power, and Small Package, Providing Cost-Effective RoT

Nuvoton Technology released the upgraded NuMicro M2354, tailored for applications such as server RoT, smart city, IoT, and smart metering.

NuMicro M2354 is an Arm TrustZone microcontroller based on the Armv8-M architecture and powered by the Arm Cortex-M23 CPU, designed to enhance IoT security. It is suitable for long-term confidentiality requirements and highly sensitive data protection scenarios.

The M2354 operates at frequencies up to 96 MHz, offers a wide operating voltage range of 1.7V to 3.6V, and a broad operating temperature range of -40°C to +105°C. The power consumption is 89.3 μA/MHz in LDO mode and 39.6 μA/MHz in DC-DC mode. The Standby Power-down mode consumes less than 2 µA, and the Deep Power-down mode without VBAT consumes less than 0.1 µA, effectively extending the device’s battery life and meeting the needs of long-term IoT operation.

For Secure FOTA, the M2354 has built-in dual-bank Flash Memory of up to 1024 KB and 256 KB of SRAM. In addition to supporting eXecute-Only-Memory (XOM) to prevent code theft, it also integrates a cryptographic hardware accelerator that supports FIPS PUB 197/180/180-2/180-4 and NIST SP 800-38A, as well as a hardware key store to protect against side-channel and fault injection attacks. In terms of secure boot mechanism, the upgraded M2354 supports the Root of Trust architecture based on DICE, implemented in Mask ROM, and supports ECDSA P-521. This feature automatically generates a unique device identity and establishes a chain of trust during boot, effectively verifying firmware version and preventing firmware rollback and tampering attacks. Furthermore, M2354 is compliant with PSA Level 3 and SESIP Level 3 security certifications, which meet the demands of the EU’s Cyber Resilience Act (CRA).

M2354 supports a wide range of peripherals, including CAN, USB 2.0 full-speed OTG, PWM, UART, SPI/I2S, Quad-SPI, I²C, and RTC.

M2354 also integrates several analog components, including analog comparators, ADC, and DAC.

The package options include LQFP-48, LQFP-64, and LQFP-128. The upgraded M2354 also offers a compact WLCSP49 package. With support of the SPDM (Security Protocol and Data Model) secure communication protocol, the upgraded M2354 is well-suited for Root of Trust applications in server motherboards and daughterboards.

The post Nuvoton Technology Unveils Upgraded NuMicro M2354 MCU: Enhanced Security and Compact Footprint for Server, IoT, and Edge appeared first on ELE Times.

It's getting Scrappy.

Reddit:Electronics - 22 години 8 хв тому
It's getting Scrappy.

Bout 6 months worth of it.

submitted by /u/Nateramis
[link] [comments]

Event-based vision comes to Raspberry Pi 5

EDN Network - 22 години 10 хв тому

A starter kit from Prophesee enables low-power, high-speed event-based vision on the Raspberry Pi 5 single-board computer. Based on the GenX320 Metavision event-based vision sensor, the kit accelerates development of real-time neuromorphic vision applications for drones, robotics, industrial automation, security, and surveillance. The camera module connects directly to the Raspberry Pi 5 via a MIPI CSI-2 (D-PHY) interface.

Consuming less than 50 mW, the 1.5-in. GenX320 sensor provides 320×320-pixel resolution with an event rate equivalent to ~10,000 fps. It offers >140-dB dynamic range and sub-millisecond latency (<150 µs at 1,000 lux).

Software resources include OpenEB, the open-source core of Prophesee’s Metavision SDK, with Python and C++ API support. Drivers, data recording, replay, and visualization tools can be found on GitHub.

The GenX320 starter kit is available for pre-order through Prophesee and authorized distributors. The Raspberry Pi 5 board is sold separately.

GenX320 starter kit product page

Prophesee

The post Event-based vision comes to Raspberry Pi 5 appeared first on EDN.

MCUs drive LCD and capacitive touch

EDN Network - 22 години 10 хв тому

Renesas’ RL78/L23 16-bit MCUs provide segment LCD control and capacitive touch sensing for responsive HMIs in smart home appliances, consumer electronics, and metering systems. Running at 32 MHz, these low-power MCUs include 512 KB of dual-bank flash memory, enabling seamless over-the-air firmware updates.

The MCUs offer an active current of 109 µA/MHz and a standby current as low as 0.365 µA, with a fast 1‑µs wakeup time. With a wide voltage range of 1.6 V to 5.5 V, they can operate directly from 5‑V power supplies commonly used in home appliances and industrial systems.

The reference mode of the integrated LCD controller reduces display power by approximately 30% compared to the RL78/L1X series. A snooze mode sequencer (SMS) enables dynamic segment updates without CPU intervention, further enhancing energy efficiency.

Development tools for the RL78/L23 include the Smart Configurator and QE for Capacitive Touch, which simplify system design and firmware setup. Renesas also provides the RL78/L23 Fast Prototyping Board, compatible with the Arduino IDE, and a capacitive touch evaluation system for hardware testing and validation.

RL78/L23 MCUs are available now from the Renesas website or distributors.

RL78/L23 product page 

Renesas Electronics 

The post MCUs drive LCD and capacitive touch appeared first on EDN.

Wireless SoC raises AI efficiency at the edge

EDN Network - 22 години 10 хв тому

The Apollo510B wireless SoC from Ambiq combines a 48-MHz dedicated network coprocessor with a Bluetooth LE 5.4 radio for power-efficient edge AI. Its Arm Cortex-M55 CPU, enhanced with Helium vector processing and Ambiq’s turboSPOT dynamic scaling, delivers up to 30× greater AI efficiency and 16× faster performance than Cortex-M4 devices. 

With 64 KB each of instruction and data cache, 3.75 MB of RAM, and 4 MB of embedded nonvolatile memory, the Apollo510B provides fast, real-time processing. Its 2D/2.5D GPU handles vector graphics, while SPI, I²C, UART, and high-speed USB 2.0 support flexible sensor and device connections. High-fidelity audio is enabled via a low-power ADC and stereo digital microphone PDM interfaces.

Apollo510B also integrates secureSPOT 3.0 and Arm TrustZone, enabling secure boot, firmware updates, and protection of data exchange across connected devices. These features make the device well-suited for always-on, intelligent applications such as wearables, smart glasses, remote patient monitoring, asset tracking, and industrial automation.

The Apollo510B SoC will be available in fall 2025.

Apollo510B product page 

Ambiq Micro

The post Wireless SoC raises AI efficiency at the edge appeared first on EDN.

Instruments work together to ensure design integrity

EDN Network - 22 години 10 хв тому

Smart Bench Essentials Plus is an enhanced set of Keysight test instruments offering improved precision and reliability. The core instruments—a power supply, waveform generator, digital multimeter, and oscilloscope—meet industry and safety standards such as ISO/IEC 17025, IEC 61010, and CSA. All instruments are managed from a single PC via PathWave BenchVue software, simplifying test automation and workflows.

According to Keysight, Smart Bench Essentials Plus delivers 10× higher DMM resolution, 5× greater waveform generator bandwidth, 4× more power supply capacity, and 64× higher oscilloscope vertical resolution over the previous series. Development engineers can test, troubleshoot, and qualify electronic designs while leveraging these benefits:

  • Reduce measurement errors with Truevolt technology in a 6.5-digit dual-display digital multimeter.
  • Generate accurate waveforms with Trueform technology in a 100-MHz waveform/function generator.
  • Deliver reliable, responsive power with a 400-W, four-channel DC power supply.
  • Capture even the smallest signals with a portable four-channel oscilloscope featuring a custom ASIC and 14-bit ADC.

Instruments have intuitive, color-coded interfaces and standardized menus to improve productivity. Built-in graphical charting tools make it easy to visualize and analyze test results.

To learn more about the Smart Bench Essentials Plus portfolio and request a bundled quote, click here.

Keysight Technologies 

The post Instruments work together to ensure design integrity appeared first on EDN.

AEC-Q100 LED driver delivers dynamic effects

EDN Network - 22 години 10 хв тому

Diodes’ AL5958Q matrix LED driver integrates a 48-channel constant-current source and 16 N-channel MOSFET switches for automotive dynamic lighting. Two cascade-connected drivers support up to 32 scans, well-suited for narrow-pixel mini- and micro-LED displays that use multiple RGB LEDs to deliver animated lighting effects and information.

The AEC-Q100 qualified driver employs multiplex pulse density modulation (M-PDM) control to raise the refresh rate of dynamic scanning systems without increasing the grayscale clock frequency or introducing EMI. Built-in matrix display command functions reduce processing overhead on the local MCU. These functions include automatic black-frame insertion, ghost elimination, and suppression of shorted-pixel caterpillars.

Operating from a 3-V to 5-V input, the AL5958Q’s 48 constant-current outputs supply up to 20 mA per LED channel string. Current accuracy between channels and matching across devices is typically ±1.5%.

The AL5958Q LED driver costs $1.60 each in lots of 2500 units.

AL5958Q product page

Diodes

The post AEC-Q100 LED driver delivers dynamic effects appeared first on EDN.

New Quantum Research Points Toward Practical Computing and Security

AAC - Чтв, 08/28/2025 - 20:00
Three recent research efforts highlight how the quantum field is moving from laboratory experiments to scalable, commercial-ready technologies.

Mixed signals, on a power budget: Intelligent low-power analog in MCUs

EDN Network - Чтв, 08/28/2025 - 18:20

It goes without saying that battery-powered devices are sensitive to power draw, especially during periods of inactivity. One such use case is in sensor nodes or portable sensors—these devices passively monitor a specific condition. When the threshold is exceeded, they trigger an alarm or log the event for further analysis. Since most devices incorporate some form of microcontroller (MCU), selecting an MCU with intelligent analog peripherals can reduce the Bill of Materials (BOM) by performing the same functions of a discrete device while potentially saving power by disabling the analog functionality when not needed.

To demonstrate these features, we built two demos on the PIC16F17576 microcontroller family. One demo aims to use as little power as possible while detecting temperature changes, while the other utilizes the embedded op-amps to dynamically adjust the gain based on the input signal.

Power consumption

Let’s start at the top—power consumption. No matter how you slice it, all roads will lead to the same basic tenets:

  • Keep VDD as low as possible
  • Minimize oscillator frequency
  • Turn off all unused peripherals and external circuits, when possible, and as much as possible
  • Avoid floating nodes on digital I/O

Beyond this advice, it becomes a lot more application-specific. For instance, most op-amps and ADCs don’t have an OFF switch. This is where intelligent analog peripherals fit into designs.

The “intelligent” part of their name is derived from the fact that they can be controlled in software. While most analog peripherals would not be considered power hungry, when optimizing battery life, every little bit of current matters, and generally, there is a higher quiescent current draw that the discrete device would have due to process limitations.

However, there are special low-power peripherals that allow for ultra-low power operation, even when enabled all the time. For instance, the Low Power Voltage Reference (VREFLP) and Low Power Analog Comparator (CMPLP) in the PIC16F17576 family of MCUs draw minimal power but can trigger interrupts to wake the CPU if action is needed.

For devices without these lower power peripherals, another peripheral available in PIC MCUs is the Analog Peripheral Manager (APM). The APM is a specialized counter that can toggle power ON/OFF to the analog peripherals while allowing the CPU to remain continuously in sleep.

If an event occurs, requiring intervention from the CPU, the peripherals can generate an interrupt to wake the device. This avoids having to perform the following sequence: wake the CPU, power on the peripherals, check the results, perform an action, shut down the peripherals, and return to deep sleep.

Low-power demo

The objective of the low-power demo is to demonstrate the new CMPLP and VREFLP as a temperature alarm. This application could be used for cold asset tracking to log when an event over the expected temperature occurs. For the demo implementation, we designed a circuit to detect when a person touches the thermistor(s), causing a rise in temperature.

Figure 1 A finished low power demo prototype that will detects the temperature rise that occurs when a person touches the thermistor(s).

Theory of operation

This circuit is composed of two PIC16F17576 MCUs; one device acts like the device under test (DUT) while the other handles power measurement and display.

Power measurement and display

To measure the minuscule amount of current pulled by the MCU DUT, it was important to design a circuit that could perform high-side current sensing while also being capable of maintaining the power supply at 1.8 V, which is the lowest recommended operating voltage for this device family. For reference, the minimum operating voltage is 1.62 V, which provides a 10% margin on the power supply before the device is out of specified operating conditions.

To measure the quiescent current of the MCU and low-power analog peripherals, a precision 1:1 current mirror IC was used to supply current to the DUT (Figure 2). This IC has a settable compliance output limit, but the tolerancing and ranging on the internal reference was not acceptable for our purposes, so we overdrive the integrated circuit with an external 1.8-V reference (MCP1501-18E) to avoid having to calibrate each unit individually.

Figure 2 The high-side current circuit to measure the minuscule amount of current pulled by the MCU DUT, and 1.8-V DUT power supply.

This ensures the power rail for the DUT is as close as possible to 1.8 V. Guard rings and planes are placed on the PCB to minimize the leakage current of this rail as much as possible. The 1:1 current output goes through a sense resistor, and then a differential measurement of the voltage at the resistor is performed with a 24-bit delta-sigma ADC (MCP3564R) with an external 2.048-V voltage reference (MCP1501-20E). This is shown in Figure 3. The resulting measurement is then displayed on the OLED screen attached to the board.

Figure 3 The ADC implementation where the differential measurement of the voltage at the resistor is performed with a 24-bit delta-sigma ADC with an external 2.048-V voltage reference.

A (good) problem we discovered late in the process was that the current measurement in this configuration is so stable, it looks hard-coded on the display. Thankfully, this can be easily disproved by gently touching the DUT’s decoupling capacitors with a finger or other slightly conductive object and observing the change in measured current.

DUT

The DUT device performs a simple but crucial role in detecting temperature changes with as little power consumption as possible. For this, CMPLP and VREFLP are used together with the Peripheral Pin Select (PPS) system to output the state of the CMPLP without waking the CPU.

In an actual application, CMPLP’s output edge (LOW ↔ HIGH) would be used to wake the CPU to perform some action like logging a temperature event or sounding an alarm.

Using the high-side current measurement circuit designed, we found the current of the microcontroller in this state is ~2.2 to 2.4 μA, but there is room for a tiny bit of extra power savings.

VREFLP is comprised of two separate subsystems: a low-power 1-V reference and a low-power DAC. This application uses the slightly more power-hungry low-power DAC instead of the fixed 1-V reference because the temperature change from physical contact is very small, and the system must recalibrate the threshold on startup to account for environmental variance. In an application where a few degrees of tolerance are acceptable, using the 1-V reference would save a few fractions of a microamp.

Notably, this demo does not use the APM because the APM requires an oscillator to remain active, consuming a little bit more power (~2.8 μA) than simply leaving these ultra-low power modules on. In a situation where multiple analog peripherals are being used, such as the integrated op-amps, ADC, etc., the APM would provide significant savings in power.

Dynamic gain

Another feature of intelligent analog peripherals is the ability to adjust on the fly. In some cases, a signal may have a large dynamic range that is tricky to measure without clipping.

Clipping a signal is usually considered undesirable, as waveform information about the signal is lost. A simple example of this is a microphone: whispering requires a high gain while shouting requires a low gain. With a fixed gain, designers pick the worst (reasonable) conditions to avoid signal clipping, but this, in turn, reduces the signal resolution.

A way around this problem is to use embedded op-amps. These op-amps aren’t going to outmatch the high-end op-amps, but they are often comparable to general-purpose ones.

And, in many cases, the integrated op-amps contain built-in resistor networks that allow the op-amp(s) to adjust the circuit gain as needed. This requires no extra components or specialized circuitry as it’s already integrated into the die.

Dynamic gain demo

One of the main use cases for the integrated op-amps inside MCUs is to dynamically switch gains depending on how strong the signal is. This is often performed to avoid clipping the signal when the signal strength is high.

This application creates a simple demonstration of this use case by amplifying the output of a pressure sensor and displaying it visually on an LED bar graph.

Figure 4 A dynamic gain demo that amplifies the output of a pressure sensor and displays it visually on an LED bar graph.

Theory of operation Pressure sensor

The pressure sensor in this application changes resistance depending on the amount of pressure applied. This resistor is used as part of a resistor divider network to generate an output signal from 0 to 2 V. Since both the discrete op-amp and the integrated op-amp have high-input impedances, the two circuits can share the same signal without loading down the network.

Dynamic gain circuit

The PIC16F17576 MCU has four op-amps, with two of them containing integrated resistor ladders. These ladders have eight steps, plus an additional option for unity gain (1x), for a total of nine options. Alternatively, resistors or other components can be connected to the I/O pins to assign an arbitrary gain or function, if desired.

In this demo, the MCU’s op-amp is switched between a gain of 2x (LOW) and 4x (HIGH) at runtime depending on the measured signal.

In most applications, when the signal strength is low, the gain would be HIGH. However, it is worth noting that in this demo, the inverse is true. This is purely for visual reasons; otherwise, the clipping condition would have more lights ON and thus appear “better” than the dynamic gain version at a glance. As the gain of the embedded op-amps is set up in software, it was easily reconfigured to match the desired behavior.

Measurement and display

The PIC16F17576 MCU also performs the measurement of both op-amp outputs to display on the LED bar graph. The internal Fixed Voltage Reference (FVR) is used to generate a stable 4.096 V from the +5-V (USB) supply for conversions. MCP23017 I2C I/O expanders are used to drive the LEDs of the display. 

Putting it all together

Adjusting the circuit gain without any external circuitry greatly simplifies designs where there are large signal ranges. These peripherals, of course, will not replace high-performance op-amps, ADCs, DACs, or voltage references, but embedded analog peripherals are a good way to handle signals that require some conditioning but aren’t particularly sensitive. This, coupled with low power functionality, makes them a useful tool to reduce circuit complexity, time to market, and ultimately the BOM in your design.

Robert Perkel is an application engineer for Microchip Technology. In this role, he develops technical content such as App Notes, contributed articles, and videos. He is also responsible for analyzing use cases of peripherals and the development of code examples and demonstrations. Perkel is a graduate of Virginia Tech, where he earned a Bachelor of Science degree in Computer Engineering.

Related Content

The post Mixed signals, on a power budget: Intelligent low-power analog in MCUs appeared first on EDN.

Toshiba launches 650V third-generation SiC MOSFETs in TOLL package

Semiconductor today - Чтв, 08/28/2025 - 18:16
Toshiba Electronic Devices & Storage Corp of Kawasaki, Japan has launched three 650V silicon carbide (SiC) MOSFETs equipped with its latest third-generation SiC MOSFET chips and housed in general-purpose surface-mount TOLL packages...

Сторінки

Subscribe to Кафедра Електронної Інженерії збирач матеріалів