Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

Similar documents
Hello, and welcome to this presentation of the STM32 Infrared Timer. Features of this interface allowing the generation of various IR remote control

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

Hello, and welcome to this presentation of the STM32L4 power efficiency optimization with an external SMPS.

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

AN3248 Application note

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages

AN4277 Application note

Designing with STM32F3x

AN4112 Application note

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

Power Factor Correction in Digital World. Abstract. 1 Introduction. 3 Advantages of Digital PFC over traditional Analog PFC.

Temperature Monitoring and Fan Control with Platform Manager 2

How to Protect Buck Regulators from Overcurrent Damage

UM2068 User manual. Examples kit for STLUX and STNRG digital controllers. Introduction

RF4463F30 High Power wireless transceiver module

Temperature Monitoring and Fan Control with Platform Manager 2

Hello, and welcome to this presentation of the STM32 LCD TFT display controller. It covers all of the features of the LTDC controller which is used

DASL 120 Introduction to Microcontrollers

Microcontrollers: Lecture 3 Interrupts, Timers. Michele Magno

Microcontroller: Timers, ADC

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss

Data Logger Subsystems Mark Buccini February 2012

RF4432 wireless transceiver module

Activity 4: Due before the lab during the week of Feb

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones

Fig 1: The symbol for a comparator

32-bit ARM Cortex-M0, Cortex-M3 and Cortex-M4F microcontrollers

Critical Design Review: M.A.D. Dog. Nicholas Maddy Timothy Dayley Kevin Liou

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

AN3252 Application note

AN310 Energy optimization of a battery-powered device

Embedded Robotics. Software Development & Education Center

Exercise 5: PWM and Control Theory

CMOS MT9D111Camera Module 1/3.2-Inch 2-Megapixel Module Datasheet

Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC MCUs

Section 45. High-Speed Analog Comparator

Real Time Embedded Systems. Lecture 1 January 17, 2012

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

LD7523 6/16/2009. Smart Green-Mode PWM Controller with Multiple Protections. General Description. Features. Applications. Typical Application REV: 00

802.11g Wireless Sensor Network Modules

Optimizing System Operation Using a Flexible Digital PWM Controller

Application Report SLVA075

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5.

PIC ADC to PWM and Mosfet Low-Side Driver

Application Circuits 3. 3V R2. C4 100n G PI O. 0 G PI O S e t u p d a ta G PI O. 5 G PI O M o t i o n I n t G PI O. 4 G PI O.

ELCT 912: Advanced Embedded Systems

Figure 1. LDC Mode Operation Example

FAN7093 High-Current PN Half-Bridge Driver

Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives

HB-25 Motor Controller (#29144)

HT8 MCU Internal Ultra-Low Power Consumption RTC Application Note

VNQ7004SY. Quad-channel high-side driver with 16-bit SPI interface for automotive applications. Features. Description

STM32L100C6 STM32L100R8 STM32L100RB

Data Sheet. APDS-9702 Signal Conditioning IC for Optical Proximity Sensors with Digital I 2 C Interface. Features. Description.

STM32L062K8 STM32L062T8

Ultra-low-power 32-bit MCU ARM-based Cortex -M3, 128KB Flash, 16KB SRAM, 4KB EEPROM, LCD, USB, ADC, DAC. STM32L151x6/8/B. STM32L152x6/.

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

STM32L151xE STM32L152xE

PanelMatch StayLit PRODUCT HIGHLIGHT. PWM Signal. Potentiometer. Microsemi. Lamp current 5 or 6mA per Lamp PACKAGE ORDER INFO

A4950. Full-Bridge DMOS PWM Motor Driver. Description

The Fan Company Microcontroller Fan. Prepared by. JMC Engineering

STM32L100x6/8/B-A. Ultra-low-power 32-bit MCU ARM -based Cortex -M3, 128KB Flash, 16KB SRAM, 2KB EEPROM, LCD, USB, ADC, DAC.

Hardware Platforms and Sensors

UM1763 User manual. Description of STLUX385A examples kit. Introduction. Reference documents

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

Pin 19 GPIO. Counters/Delay Generators CNT1 CNT2 CNT3 CNT4 CNT5 CNT6 CNT7 CNT8 CNT9. DFF/Latches. Pin 15 GPIO DFF0 DFF1 DFF2 DFF3 DFF4

16-Bit, Single-Channel, Ultra-Low Power, Delta-Sigma ADC with 2-Wire Serial Interface

POLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) USER S GUIDE

MICROCONTROLLER TUTORIAL II TIMERS

Pololu Dual G2 High-Power Motor Driver for Raspberry Pi

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

High Frequency 600-mA Synchronous Buck/Boost Converter

Extremely Accurate Power Surveillance, Software Monitoring and Sleep Mode Detection. Pin Assignment. Fig. 1

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (An ISO 3297: 2007 Certified Organization)

Course Introduction. Purpose: Objectives: Content: 24 pages 3 questions. Learning Time: 35 minutes

STM32L162VC STM32L162RC

STM32L100RC. Ultra-low-power 32b MCU ARM -based Cortex -M3, 256KB Flash, 16KB SRAM, 4KB EEPROM, LCD, USB, ADC, DAC, memory I/F.

For reference only Refer to the latest documents for details

LM4: The timer unit of the MC9S12DP256B/C

Run-time Power Control Scheme Using Software Feedback Loop for Low-Power Real-time Applications

OBSOLETE. Bus Compatible Digital PWM Controller, IXDP 610 IXDP 610

Lab 8 D/A Conversion and Waveform Generation Lab Time: 9-12pm Wednesday Lab Partner: Chih-Chieh Wang (Dennis) EE145M Station 13

MP V, 3.2A, H-Bridge Motor Driver

AP CANmotion. Evaluation Platform with BLDC Motor featuring XC886CM Flash Microcontroller Version 2007/10. Microcontrollers

Using the VM1010 Wake-on-Sound Microphone and ZeroPower Listening TM Technology

CMOS Serial Digital Pulse Width Modulator INPUT CLK MODULATOR LOGIC PWM 8 STAGE RIPPLE COUNTER RESET LOAD FREQUENCY DATA REGISTER

AN Industrial Stepper Motor Driver. Application Note Abstract. Introduction. Stepper Motor Control Method

Microprocessor & Interfacing Lecture Programmable Interval Timer

STM32L031x4 STM32L031x6

MICROPROCESSORS A (17.383) Fall Lecture Outline

STM32L082KB STM32L082KZ STM32L082CZ

A5976. Microstepping DMOS Driver with Translator

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

F²MC-8FX/16LX/16FX/FR FAMILY BLDC DRIVE WITH THE PPG

TLE7810G. Integrated double low-side switch, high-side/led driver, hall supply, wake-up inputs and LIN communication with embedded MCU (16kB Flash)

STM32L051x6 STM32L051x8

Freescale Semiconductor, I L Simplified Application Schematic V DD. CMOS Serial Shift Registers and Latches.

Low Power Design of Successive Approximation Registers

DNT2400. Low Cost 2.4 GHz FHSS Transceiver Module with I/O

LD /01/2013. Boost Controller for LED Backlight. General Description. Features. Applications. Typical Application REV: 00

Transcription:

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some application examples. 1

The two comparators inside STM32 microcontroller provide a binary output which indicates if the analog voltage on the plus input is larger than the voltage on the negative input. It allows the MCU to react when the analog signal crosses a predefined threshold. The comparator continuously monitors voltage in contrast to an analog-to-digital converter which operates in sampled mode. The comparator can be used to wake up devices from Sleep, Low-power sleep and Stop modes. Applications can benefit from the flexible configuration of comparator properties which can be locked for safety reasons. Another safety feature of comparator is its ability to generate a break signal for timers allowing to safely stop the generation of PWM driving signals. 2

The two integrated comparators can be combined into a single window comparator. The analog properties of the comparator include hysteresis or a trade-off between speed and power consumption are configurable. It offers flexible inter-connections of inputs and outputs allowing a threshold selection of several external and internal inputs such as DAC outputs or internal reference voltage outputs. The comparator output can be connected to I/Os using the alternate function channels or internally redirected to a variety of timer inputs such as enabling the break event for fast PWM shutdown. The user can create cycle-by-cycle current control or input captures for timing measurements. 3

This slide shows the general block diagram of the comparator integrated in the device. 4

The comparators power consumption can be adjusted to have the optimum trade-off between the speed and energy efficiency for a given application. There are three modes available: high speed, medium speed and ultra-low-power. The high speed mode would be preferred for power conversion applications - for example, a motor control design. While ultra-low power mode would be the right choice for battery-powered applications where reaction times are not critical - for example in PIR sensor monitoring. The comparator can stay active even if the rest of the system is suspended and the clock is switched off. 5

The comparator can trigger an interrupt on the rising, falling or both edges of the comparator output through the EXTI line.

The on-chip comparator remains active and can be used to wake up the device from all low-power modes except Standby and Shutdown.

The on-chip comparator configuration capability allows the user to select the best performance point for the targeted application. It replaces the external stand-alone comparator, thereby reducing the bill of materials. 8

The purpose of the window comparator is to trigger an interrupt if the analog voltage goes beyond the defined lower and upper voltage thresholds applied to the inverting inputs of each comparator. This event can generate an interrupt through the EXTI line. Two non-inverting inputs can be connected internally by enabling the WINMODE bit and therefore save one IO for another purpose. 9

Comparator output values can generate break input signals for the timers on input pins using GPIO alternate function selections incorporating the I/O open drain connection. The purpose of the break function is to protect power switches driven by PWM signals generated by timers. The two break inputs are usually connected to fault outputs of power stages and 3-phase inverters. When activated, the break circuitry shuts down the PWM outputs and forces them to a predefined safe state. Please see the timer training slides for more details. 10

The comparator can be used in the cycle-by-cycle regulation loop for monitoring the peak value of the current flowing into the load. The purpose of the blanking function is to prevent incorrect current regulation tripping due to short duration current spikes at the beginning of the PWM period. Short current spikes caused by activating the power switches can produce false pulses on the comparator output marked by the blue color on the diagram. These pulses need to be masked by a blanking window to avoid false fault detection. The blanking window waveform can be generated by one of the timer output channels. 11

Both comparators have identical electrical parameters and configuration options. The difference in input interconnections are summarized in this table. For the difference in output redirections, please refer to product datasheet.

This is a list of peripherals related to the comparators. Please refer to these peripheral trainings for more information if needed. Thank you. 13