Calculation method of power consumption of microcontroller

Publisher:TechWhizKidLatest update time:2011-12-19 Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The power consumption of a microcontroller is very difficult to calculate, and at high temperatures, the power consumption of a microcontroller is a particularly important parameter.

For the time being, the power consumption of the microcontroller is divided as follows.

1. Internal power consumption (related to frequency)

2. Power consumption of digital input and output ports

2.1 Input port

2.2 Output High

2.3 Output Low

3. Analog input power consumption

Some basic parameters can be derived from the table below:

First, we calculate the internal power consumption. The power consumption of a microcontroller is generally related to the operating frequency. At a fixed frequency, it is related to the function. There are two ways to calculate it.

The first one is fixed frequency, and the increase and decrease function causes the current to change:

The second type is frequency change, regardless of the module used:

Secondly, calculate the power consumption of the digital port:

For digital output ports, according to the data in the table, the internal Rdson can be obtained, and the internal power consumption of output high and output low can be calculated.
It should be noted here that the power consumption of the input port is generally not large, but the power consumption of the designed IO port is relatively large when current is injected. At this time, the clamping diode is working, so pay attention to this part of the power consumption.

P=I.inject*Vf_diode

The input power consumption is relatively small when there is no clamping. If the input voltage is too high or too low, it will cause many problems.

The total power consumption of the MCU is the sum of three parts.

P.MCU=P.internal+P.IO+P.Analog

Keywords:MCU Reference address:Calculation method of power consumption of microcontroller

Previous article:Complete Function Analysis of the Special Function Registers of the MCU
Next article:Design of temperature controller based on MSP430F149 single chip microcomputer and fuzzy control

Recommended ReadingLatest update time:2024-11-16 21:30

51 single-chip microcomputer drives 12-bit AD conversion MAX1241 program and schematic diagram
Below is the circuit diagram of the connection between MAX1241 and 51 microcontroller: Download the complete project file of this program:  http://www.51hei.com/f/1241.rar Below is the source code: #include #define uchar unsigned char #define uint unsigned int #define High 1 #define Low 0 int t; sbit cs=P2^7;
[Microcontroller]
51 single-chip microcomputer drives 12-bit AD conversion MAX1241 program and schematic diagram
STM8 MCU STVD environment to view the instruction running time
In the debugging case, View- Core Registers can be viewed
[Microcontroller]
Introduction to the types and features of PIC microcontrollers
Everyone has heard of PIC microcontrollers to some extent. But how much do you know about them? Are you familiar with the different types of PIC microcontrollers? The PIC microcontroller series products launched by Microchip of the United States first adopted the embedded microcontroller with RISC structure. Its hig
[Microcontroller]
Introduction to the types and features of PIC microcontrollers
Guoxin Sichen | Application of domestic touch button series MCU TM56M1531 in smart desk lamp
With the rapid development of electronic products, household appliances are becoming more and more intelligent. Intelligent household appliances all have a common feature, which is that they all use MCU as the central control unit. Compared with ordinary household appliances, intelligent household appliances combine
[Embedded]
Guoxin Sichen | Application of domestic touch button series MCU TM56M1531 in smart desk lamp
51 Microcontroller Basics GPIO Input
Code: #include reg52.h //Introduce header file sbit KEY=P3^1; //Define a button sbit LED=P2^0; //Define an LED light void delay(unsigned int u16) //Delay function, delay within 0.6 seconds {         while(u16--); } void main(void) //Main function, the program is executed from here {         while(1) //Code loo
[Microcontroller]
51 Microcontroller Basics GPIO Input
Buzzer sings "Wish you peace" 51 single chip microcomputer
Buzzer sings "Wish you peace" *  * ********************************************************************************/ SPK bit P1.4 ORG 0000H LJMP START ORG 000BH INC 20H ;Interrupt service, interrupt counter plus 1 MOV TH0, #0D8H MOV TL0,#0EFH ;12M crystal , forming 10 millisecond interrupt RETI START:  MOV SP,#50H M
[Microcontroller]
Microcontroller Learning Notes 5---Timer and Interrupt Configuration
In this section, we will explain the program in the previous section and learn what is used. ① To create a new program, you must first include the header file. For example, many people use STC89C52, because it is a standard 51 core, so you only need to write #include "reg51.h". However, the STC15W series is not a st
[Microcontroller]
Microcontroller Learning Notes 5---Timer and Interrupt Configuration
Single chip microcomputer C8051F020 and its application in instruments and meters
1 Introduction At present, with the continuous improvement of science and technology and the level of industrial and agricultural production, higher and higher requirements are put forward for the corresponding instruments and meters. Therefore, instruments and meters need to expand a large number of pe
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号