CN103631357B - Power management system and power management method - Google Patents
Power management system and power management method Download PDFInfo
- Publication number
- CN103631357B CN103631357B CN201210301890.0A CN201210301890A CN103631357B CN 103631357 B CN103631357 B CN 103631357B CN 201210301890 A CN201210301890 A CN 201210301890A CN 103631357 B CN103631357 B CN 103631357B
- Authority
- CN
- China
- Prior art keywords
- graphics processor
- control unit
- monitoring control
- graphics
- timing controller
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3243—Power saving in microcontroller unit
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3253—Power saving in bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
本发明提供一种电源管理系统。该系统包括:一显示装置;一图形处理器;一时序控制器,包括一视频帧缓冲器;以及一监测控制单元,用以监测图形处理器所在一总线的多个总线活动,并由总线活动中过滤与图形处理器相应的多个图形处理活动,其中监测控制单元还依据等图形处理活动估计该图形处理器的一闲置时间周期,其中监测控制单元还控制图形处理器突发写入多张影像至视频帧缓冲器,藉以让时序控制器足以在闲置时间周期内于显示装置播放图形处理器所写入的影像以进行面板自动更新。
The present invention provides a power management system. The system includes: a display device; a graphics processor; a timing controller including a video frame buffer; and a monitoring control unit for monitoring multiple bus activities of a bus where the graphics processor is located, and filtering multiple graphics processing activities corresponding to the graphics processor from the bus activities, wherein the monitoring control unit also estimates an idle time period of the graphics processor based on the graphics processing activities, wherein the monitoring control unit also controls the graphics processor to burst write multiple images to the video frame buffer, so that the timing controller is sufficient to play the images written by the graphics processor in the display device within the idle time period to perform automatic panel update.
Description
技术领域technical field
本发明是有关于电源管理,特别是有关于控制面板自动更新(Panel selfrefresh)的电源管理系统及方法。The present invention relates to power management, in particular to a power management system and method for automatically updating a control panel (Panel selfrefresh).
背景技术Background technique
在传统的显示技术中,利用处理器支持屏幕呈现画面往往需要消耗不少电力,因为传统显示装置面板在显示画面没有更新时,仍然会从系统存储器或图形处理器(例如GPU)读取显示画面,并向图形处理器发出中断(interrupt)信号。然而,随着科技进步,Intel在嵌入式DisplayPort标准(embeddedDisplayPort,eDP)1.3版中已发展出面板自动更新(Panel Self Refresh)的技术,意即当使用者在浏览网站或阅读电子书时,因为画面内容通常是静态的。因此,显示装置面板在画面没有更新时,仅会采用显示装置面板的内置存储器中的数据以及自动限制屏幕更新率(refresh rate),并且不再读取系统存储器或图形处理器的显示画面,并且将中断信号降低至每秒30次(视屏幕更新率而定),藉以降低功率消耗。In traditional display technology, it often consumes a lot of power to use the processor to support the screen to display the picture, because the traditional display device panel still reads the display picture from the system memory or the graphics processor (such as GPU) when the display picture is not updated , and send an interrupt signal to the graphics processor. However, with the advancement of technology, Intel has developed the Panel Self Refresh (Panel Self Refresh) technology in the embedded DisplayPort standard (embeddedDisplayPort, eDP) version 1.3, which means that when users browse websites or read e-books, because Screen content is usually static. Therefore, when the display device panel does not update the picture, it will only use the data in the built-in memory of the display device panel and automatically limit the screen refresh rate (refresh rate), and no longer read the display screen of the system memory or the graphics processor, and Reduces interrupts to 30 times per second (depending on screen update rate) to reduce power consumption.
图1是显示符合eDP 1.3标准且可控制面板自动更新的传统电源管理系统的简要功能方块图。如图1所示,电源管理系统10包括一图形处理器20及一显示装置面板30,其中显示装置面板30还包括一时序控制器(T-CON)40、一显示装置50及一背光模块60。图形处理器20包括一传送端21,用以传送图形处理器20所产生的显示画面至时序控制器40。图形处理器20可为位于一独立显示卡上的一图形处理器(GPU),或是位于一主机板(Mainboard)上的一中央处理器(CPU)(例如Intel i5、i7CPU)中的一图形处理器。时序控制器40至少包括一接收端41、一像素排列单元42、一显示装置接口(LCDinterface)43、一视频帧缓冲器(Video frame buffer)44及一背光控制单元(Backlight control unit)45。Figure 1 is a simplified functional block diagram showing a conventional power management system that complies with the eDP 1.3 standard and can automatically update the control panel. As shown in FIG. 1 , the power management system 10 includes a graphics processor 20 and a display device panel 30, wherein the display device panel 30 further includes a timing controller (T-CON) 40, a display device 50 and a backlight module 60 . The graphics processor 20 includes a transmitting end 21 for transmitting the display frame generated by the graphics processor 20 to the timing controller 40 . The graphics processing unit 20 can be a graphics processing unit (GPU) on an independent display card, or a graphics processing unit (GPU) on a mainboard (Mainboard) (such as Intel i5, i7CPU). processor. The timing controller 40 at least includes a receiving end 41 , a pixel arrangement unit 42 , a display device interface (LCD interface) 43 , a video frame buffer (Video frame buffer) 44 and a backlight control unit (Backlight control unit) 45 .
简单来说,时序控制器40通过接收端41接收来自图形处理器20的显示画面,再经由像素排列单元42将所接收的画面的像素重新排列并将重新排列过后的像素储存于视频帧缓冲器44。显示装置接口43通过像素排列单元42由视频帧缓冲器44中读取画面数据,并控制显示装置50中的列驱动器51及行驱动器52,藉以显示所读取的画面。背光控制单元45用以控制背光模块60的开关。In simple terms, the timing controller 40 receives the display picture from the graphics processor 20 through the receiving terminal 41, and then rearranges the pixels of the received picture through the pixel arrangement unit 42 and stores the rearranged pixels in the video frame buffer. 44. The display device interface 43 reads picture data from the video frame buffer 44 through the pixel arrangement unit 42 , and controls the column driver 51 and the row driver 52 in the display device 50 to display the read picture. The backlight control unit 45 is used to control the switch of the backlight module 60 .
需注意的是,在传统的时序控制器40中,视频帧缓冲器44的尺寸往往均仅有一个视频帧的大小。以全分辨率高画质画面(Full HD)为例,其大小可为1920*1080*3=6220800bytes(约为6Mbytes)。时序控制器40中还可选择性地包括一影像编码器及一影像解码器(未绘示),其中影像编码器将接收端41所接收的显示画面进行编码,再将编码后的显示画面通过像素排列单元42储存于视频帧缓冲器244中。详细内容可参考「An LCD Driver with on-chip framebuffer and 3times image compression」SPIE-IS&T 2008,Vol.6807,68070H-1。It should be noted that, in the conventional timing controller 40 , the size of the video frame buffer 44 is often only the size of one video frame. Taking a full-resolution high-definition picture (Full HD) as an example, its size may be 1920*1080*3=6220800bytes (about 6Mbytes). The timing controller 40 may also optionally include an image encoder and an image decoder (not shown), wherein the image encoder encodes the display images received by the receiving end 41, and then passes the encoded display images through The pixel arrangement unit 42 is stored in the video frame buffer 244 . For details, please refer to "An LCD Driver with on-chip framebuffer and 3times image compression" SPIE-IS&T 2008, Vol.6807, 68070H-1.
在时序控制器40进行面板自动更新(例如处于静止画面时)时,会直接由视频帧缓冲器44中取出所储存的画面数据并直接在显示装置50上播放,此时图形处理器20可处于低功耗状态,藉以节省电力。除此之外,当图形处理器20检测到有新影像数据时(例如来自敲击键盘按键或是移动鼠标),图形处理器20会唤起传送端21,并传送一张新影像数据至时序控制器40中的视频帧缓冲器44。When the timing controller 40 performs panel automatic update (for example, when it is in a still picture), it will directly take out the stored picture data from the video frame buffer 44 and directly play it on the display device 50. At this time, the graphics processor 20 can be in A low power state to save power. In addition, when the graphics processor 20 detects that there is new image data (for example, from typing a key on the keyboard or moving the mouse), the graphics processor 20 will wake up the transmitting end 21 and transmit a piece of new image data to the timing control Video frame buffer 44 in device 40.
在传统的电源管理系统10中,因图形处理器20经常收到来自时序控制器40的中断信号或是收到外部装置的中断信号,图形处理器20必需经常被唤醒而处于工作状态(例如ACPI标准所规范的S0状态)。换句话说,图形处理器20经常处于高功耗的工作状态下,并无法有效地降低电源管理系统10的功率消耗。因此,亟需一种电源管理系统更有效地降低功率消耗,藉以达到更长的使用时间。In the traditional power management system 10, because the graphics processor 20 often receives an interrupt signal from the timing controller 40 or receives an interrupt signal from an external device, the graphics processor 20 must often be woken up to be in a working state (such as ACPI S0 state specified by the standard). In other words, the graphics processor 20 is often in a high power consumption state, which cannot effectively reduce the power consumption of the power management system 10 . Therefore, there is an urgent need for a power management system to reduce power consumption more effectively, so as to achieve a longer service time.
发明内容Contents of the invention
本发明提供一种电源管理系统。该系统包括:一显示装置;一图形处理器;一时序控制器,包括一视频帧缓冲器;以及一监测控制单元,用以监测图形处理器所在一总线的多个总线活动,并由总线活动中过滤与图形处理器相应的多个图形处理活动,其中监测控制单元还依据等图形处理活动估计该图形处理器的一闲置时间周期,并控制该图形处理器在该闲置时间周期内处于一低功耗状态;其中监测控制单元还控制图形处理器突发写入多张影像至视频帧缓冲器,藉以让时序控制器足以在闲置时间周期内于显示装置播放图形处理器所写入的影像以进行面板自动更新。The invention provides a power management system. The system includes: a display device; a graphics processor; a timing controller including a video frame buffer; and a monitoring control unit for monitoring a plurality of bus activities of a bus where the graphics processor is located, and by the bus activity filtering a plurality of graphics processing activities corresponding to the graphics processor, wherein the monitoring control unit also estimates an idle time period of the graphics processor according to the graphics processing activities, and controls the graphics processor to be at a low level during the idle time period Power consumption state; wherein the monitoring control unit also controls the graphics processor to burst write multiple images to the video frame buffer, so that the timing controller is sufficient to play the images written by the graphics processor on the display device during the idle time period. Perform panel auto-update.
本发明还提供一种电源管理系统。该系统包括:一显示装置;一图形处理器,包括一监测控制单元,用以监测该图形处理器所在的一总线的多个总线活动,并由该等总线活动中过滤与该图形处理器相应的多个图形处理活动;以及一时序控制器;其中该监测控制单元还依据该等图形处理活动估计该图形处理器的一闲置时间周期,并控制该图形处理器在该闲置时间周期内处于一低功耗状态,其中该监测控制单元还控制该图形处理器突发写入多张影像至该视频帧缓冲器,藉以让该时序控制器足以在该闲置时间内于该显示装置播放该图形处理器所写入的该等影像。The invention also provides a power management system. The system includes: a display device; a graphics processor, including a monitoring control unit, which is used to monitor a plurality of bus activities of a bus where the graphics processor is located, and filter the bus activities corresponding to the graphics processor a plurality of graphics processing activities; and a timing controller; wherein the monitoring control unit also estimates an idle time period of the graphics processor according to the graphics processing activities, and controls the graphics processor to be in an idle time period during the idle time period In a low power consumption state, the monitor control unit also controls the graphics processor to burst write multiple images to the video frame buffer, so that the timing controller is sufficient to play the graphics processing on the display device during the idle time the images written by the device.
本发明还提供一种电源管理方法,用于一电源管理系统,该电源管理系统包括一图形处理器、一监测控制单元、一时序控制器及一显示装置。该方法包括:利用该监测控制单元监测该图形处理器所在的一总线的多个总线活动,并由该等总线活动中过滤与该图形处理器相应的多个图形处理活动;利用该监测控制单元依据该等图形处理活动估计该图形处理器的一闲置时间周期,并控制该图形处理器在该闲置时间周期内处于一低功耗状态;利用该监测控制单元控制该图形处理器突发写入多张影像至该时序控制器的一视频帧缓冲器,藉以让该时序控制器足以在该闲置时间周期内于该显示装置播放该图形处理器所写入的该等影像以进行面板自动更新。The present invention also provides a power management method for a power management system, the power management system includes a graphic processor, a monitoring control unit, a timing controller and a display device. The method includes: using the monitoring control unit to monitor multiple bus activities of a bus where the graphics processor is located, and filtering multiple graphics processing activities corresponding to the graphics processor from the bus activities; using the monitoring control unit Estimating an idle time period of the graphics processor according to the graphics processing activities, and controlling the graphics processor to be in a low power consumption state during the idle time period; using the monitoring control unit to control the graphics processor burst write A plurality of images are sent to a video frame buffer of the timing controller, so that the timing controller is sufficient to play the images written by the graphics processor on the display device during the idle time period for automatic panel update.
附图说明Description of drawings
图1是显示符合eDP 1.3标准且可控制面板自动更新的传统电源管理系统的简要功能方块图。Figure 1 is a simplified functional block diagram showing a conventional power management system that complies with the eDP 1.3 standard and can automatically update the control panel.
图2A是显示依据本发明一实施例的电源管理系统200的简要功能方块图。FIG. 2A is a schematic functional block diagram showing a power management system 200 according to an embodiment of the present invention.
图2B是显示依据本发明另一实施例的电源管理系统200的简要功能方块图。FIG. 2B is a schematic functional block diagram showing a power management system 200 according to another embodiment of the present invention.
图3A是显示依据本发明一实施例中来自各装置到图形处理器所在的总线的中断信号的示意图。FIG. 3A is a schematic diagram showing interrupt signals from various devices to the bus on which the graphics processor resides according to an embodiment of the invention.
图3B是显示在图3A中重新排列及分群后的中断信号的示意图。FIG. 3B is a schematic diagram showing interrupt signals rearranged and grouped in FIG. 3A .
图3C是显示依据本发明一实施例中监测控制单元222所发出的唤醒信号的示意图。FIG. 3C is a schematic diagram showing a wake-up signal sent by the monitoring control unit 222 according to an embodiment of the invention.
图4是显示依据本发明一实施例的监测控制单元222的状态机的状态图。FIG. 4 is a state diagram showing a state machine of the monitoring control unit 222 according to an embodiment of the invention.
图5是显示依据本发明一实施例的电源管理方法的流程图。FIG. 5 is a flowchart showing a power management method according to an embodiment of the invention.
[主要元件标号说明][Description of main component labels]
10、200~电源管理系统; 20、220~图形处理器;10. 200 ~ power management system; 20. 220 ~ graphics processor;
21、221~传送端; 30、230~显示装置面板;21, 221~transmitter; 30, 230~display device panel;
40、240~时序控制器; 41、241~接收端;40, 240~sequence controller; 41, 241~receiving end;
42、242~像素排列单元; 43、243~显示装置接口;42, 242~pixel arrangement unit; 43, 243~display device interface;
44、244~视频帧缓冲器; 45、245~背光控制单元;44, 244~video frame buffer; 45, 245~backlight control unit;
50、250~显示装置; 51、251~列驱动器;50, 250~display device; 51, 251~column driver;
52、252~行驱动器; 60、260~背光模块;52, 252~row driver; 60, 260~backlight module;
222~监测控制单元;222~monitoring control unit;
310、311、312、313、320、330、340~中断信号;310, 311, 312, 313, 320, 330, 340 ~ interrupt signal;
350、360~脉冲信号; 410-450~状态。350, 360~pulse signal; 410-450~status.
具体实施方式detailed description
为使本发明的上述目的、特征和优点能更明显易懂,下文特举一较佳实施例,并配合所附图式,作详细说明如下。In order to make the above objects, features and advantages of the present invention more comprehensible, a preferred embodiment will be described in detail below together with the accompanying drawings.
图2A是显示依据本发明一实施例的电源管理系统200的简要功能方块图。如图2A所示,电源管理系统200包括一图形处理器220及一显示装置面板230,其中显示装置面板230还包括一时序控制器(T-CON)240、一显示装置250及一背光模块260。图形处理器220包括一传送端221,用以传送图形处理器220所产生的显示画面至时序控制器240。在一实施例中,图形处理器220可为位于一独立显示卡上的一图形处理器(GPU)。在另一实施例中,图形处理器220可为位于一主机板(Mainboard)上的一中央处理器(CPU)(例如Intel i5、i7CPU)中的一图形处理器。时序控制器240至少包括一接收端241、一像素排列单元242、一显示装置接口(LCD display interface)243、一视频帧缓冲器(Video frame buffer)244及一背光控制单元(Backlight control unit)245。FIG. 2A is a schematic functional block diagram showing a power management system 200 according to an embodiment of the present invention. As shown in FIG. 2A, the power management system 200 includes a graphics processor 220 and a display device panel 230, wherein the display device panel 230 further includes a timing controller (T-CON) 240, a display device 250 and a backlight module 260 . The graphics processor 220 includes a transmitting end 221 for transmitting the display frame generated by the graphics processor 220 to the timing controller 240 . In one embodiment, the graphics processor 220 may be a graphics processing unit (GPU) on a separate graphics card. In another embodiment, the graphics processor 220 may be a graphics processor located in a central processing unit (CPU) (such as Intel i5, i7 CPU) on a mainboard. The timing controller 240 includes at least a receiving end 241, a pixel arrangement unit 242, a display device interface (LCD display interface) 243, a video frame buffer (Video frame buffer) 244 and a backlight control unit (Backlight control unit) 245 .
简单来说,时序控制器240通过接收端241接收来自图形处理器220的多张影像,再经由像素排列单元242将所接收的多张影像的像素重新排列并将重新排列过后的多张影像的像素储存于视频帧缓冲器244。显示装置接口243通过像素排列单元242由视频帧缓冲器244中依序读取该等影像的像素数据,并控制显示装置250中的列驱动器251及行驱动器252,藉以依次显示所读取的多张影像。背光控制单元245用以控制背光模块260的开关。需注意的是,本发明的视频帧缓冲器244与传统电源管理系统10中的视频帧缓冲器44不同,视频帧缓冲器44仅能储存一张影像,而本发明的视频帧缓冲器244可储存多张影像(例如10张或30张影像,其数量可调整)。换句话说,本发明的视频帧缓冲器244可一次储存10张影像,以供进行面板自动更新之用。In simple terms, the timing controller 240 receives multiple images from the graphics processor 220 through the receiving end 241, and then rearranges the pixels of the received multiple images through the pixel arrangement unit 242 and rearranges the pixels of the rearranged multiple images. The pixels are stored in video frame buffer 244 . The display device interface 243 sequentially reads the pixel data of the images from the video frame buffer 244 through the pixel arrangement unit 242, and controls the column driver 251 and the row driver 252 in the display device 250, so as to sequentially display the read multiple images. images. The backlight control unit 245 is used to control the switch of the backlight module 260 . It should be noted that the video frame buffer 244 of the present invention is different from the video frame buffer 44 in the conventional power management system 10. The video frame buffer 44 can only store one image, while the video frame buffer 244 of the present invention can Store multiple images (eg 10 or 30 images, the number of which can be adjusted). In other words, the video frame buffer 244 of the present invention can store 10 images at a time for automatic updating of the panel.
图2B是显示依据本发明另一实施例的电源管理系统200的简要功能方块图。在一实施例中,电源管理系统200还包括一监测控制单元222,用以监测(monitor)图形处理器220所在的总线(例如系统总线或PCI-E总线)的总线活动(bus activity)。在一实施例中,监测控制单元222可为在图形处理器220外部的一微控制器(Microcontroller unit),如图2A所示。在另一实施例中,监测控制单元222亦可内建于图形处理器220中,如图2B所示。在一实施例中,监测控制单元222亦可以是由特定硬件所支持的一软件插件,但本发明并不限于此。FIG. 2B is a schematic functional block diagram showing a power management system 200 according to another embodiment of the present invention. In one embodiment, the power management system 200 further includes a monitoring control unit 222 for monitoring the bus activity of the bus (such as the system bus or PCI-E bus) where the graphics processor 220 is located. In one embodiment, the monitoring control unit 222 may be a microcontroller (Microcontroller unit) outside the graphics processor 220, as shown in FIG. 2A. In another embodiment, the monitoring control unit 222 can also be built in the graphics processor 220, as shown in FIG. 2B. In an embodiment, the monitoring control unit 222 may also be a software plug-in supported by specific hardware, but the present invention is not limited thereto.
时序控制器240在进行面板自动更新(PSR)时是定时发送中断信号至图形处理器220,监测控制单元222还可将图形处理器220在总线上来自不同装置(例如来自PCI-E、USB、SATA及SDIO接口的装置)的中断信号重新排列,并将重新排列后的中断信号分群,并分配至紧接在时序控制器240定时发送的中断信号之后。举例来说,图形处理器220原本的总线活动状态,意即未重新排列前的各种中断信号是如图3A所示。以画面更新率为每秒60张画面为例,时序控制器240每秒需要30张完整的画面,每张完整的画面可拆成上图场(top field)及下图场(bottom field),再由时序控制器240依序对每张完整画面的上图场及下图场进行解交错(de-interlacing)以让显示装置250具有每秒60张画面的画面更新率。换句话说,时序控制器240每1/30秒就需要从图形处理器220取得一张完整的画面,意即发出一次中断信号以取得画面。The timing controller 240 regularly sends an interrupt signal to the graphics processor 220 when performing automatic panel update (PSR). SATA and SDIO interface devices) interrupt signals are rearranged, and the rearranged interrupt signals are grouped and distributed immediately after the interrupt signals regularly sent by the timing controller 240 . For example, the original bus active state of the graphics processor 220 , that is, various interrupt signals before being rearranged, is shown in FIG. 3A . Taking the picture update rate of 60 pictures per second as an example, the timing controller 240 needs 30 complete pictures per second, and each complete picture can be divided into a top field and a bottom field. Then, the timing controller 240 sequentially performs de-interlacing on the upper field and the lower field of each complete frame so that the display device 250 has a frame update rate of 60 frames per second. In other words, the timing controller 240 needs to obtain a complete frame from the graphics processor 220 every 1/30 second, that is, an interrupt signal is sent to obtain a frame.
图3A是显示依据本发明一实施例中来自各装置到图形处理器所在的总线的中断信号的示意图。图3B是显示在图3A中重新排列及分群后的中断信号的示意图。图3C是显示依据本发明一实施例中监测控制单元222所发出的唤醒信号的示意图。由图3A可得知,由时序控制器240所发出至图形处理器220的中断信号310及320之间的时间间隔为1/30秒(意即其时间单位约为毫秒等级),而来自其它装置的中断信号311~313原本可能分布在这1/30秒的间隔之间。经过监测控制单元222重新排列后的中断信号是如图3B所示,其中由时序控制器240所发出至图形处理器220中断信号330及340的时间间隔亦为1/30秒,需注意的是图3B中相同标号的中断信号表示均来自同一装置,且重新排列后的中断信号仅为说明之用,与图形处理器无关的总线活动会被过滤掉(例如中断信号311、312),而仅保留与图形处理器220有关的中断信号(例如中断信号310、320、313)。如图3C所示,监测控制单元222传送一唤醒信号至图形处理器220,藉以让图形处理器220在唤醒信号为高逻辑电平(high logic level)时处于工作状态,其中图形处理器220在工作状态时的电压例如为1W。当唤醒信号为低逻辑电平(low logic level)时,则让图形处理器220处于低功耗状态(例如一睡眠状态),其中图形处理器220在低功耗状态时的电压例如为0.001w。更详细而言,因为来自各装置至图形处理器220的中断信号均会被监测控制单元222重新排列及分群(grouping),并分配至紧接于来自时序控制器240所定时发送的中断信号之后一并处理,在这段具有许多中断信号的期间内(例如脉冲信号350及360),可让图形处理器220处于工作状态,藉以集中进行各装置的操作控制。在唤醒信号为低逻辑状态的期间,图形处理器220则进入低功耗状态。当唤醒信号处于高逻辑状态时,除了让图形处理器220进入工作状态,还可作为一突发控制信号(burst controlsignal)用以提升图形处理器220的操作频率(operating frequency)。更进一步而言,若图形处理器220的预设操作频率为1GHz,当唤醒信号处于高逻辑状态时,监测控制单元222会将图形处理器220的操作频率提高至1.3GHz(非限定,可调整),藉以突发(burst)图形处理器220在短时间内将多张连续影像(例如10张或30张影像)写入视频帧缓冲器244。FIG. 3A is a schematic diagram showing interrupt signals from various devices to the bus on which the graphics processor resides according to an embodiment of the invention. FIG. 3B is a schematic diagram showing interrupt signals rearranged and grouped in FIG. 3A . FIG. 3C is a schematic diagram showing a wake-up signal sent by the monitoring control unit 222 according to an embodiment of the invention. It can be seen from FIG. 3A that the time interval between the interrupt signals 310 and 320 sent by the timing controller 240 to the graphics processor 220 is 1/30 second (that is, the time unit is about millisecond level), while the interrupt signals from other The interrupt signals 311-313 of the device could have been distributed among the intervals of 1/30 second. The interrupt signal rearranged by the monitoring control unit 222 is as shown in FIG. 3B, wherein the time interval between the interrupt signals 330 and 340 sent by the timing controller 240 to the graphics processor 220 is also 1/30 second. It should be noted that Interrupt signals with the same label in FIG. 3B all come from the same device, and the rearranged interrupt signals are only for illustration purposes, and bus activities that are not related to the graphics processor will be filtered out (such as interrupt signals 311, 312), and only Interrupt signals associated with the graphics processor 220 (eg, interrupt signals 310, 320, 313) are retained. As shown in FIG. 3C , the monitoring control unit 222 sends a wake-up signal to the graphics processor 220, so that the graphics processor 220 is in a working state when the wake-up signal is a high logic level (high logic level), wherein the graphics processor 220 is in the working state. The voltage in the working state is, for example, 1W. When the wake-up signal is low logic level (low logic level), then let the graphics processor 220 be in a low power consumption state (such as a sleep state), wherein the voltage of the graphics processor 220 in the low power consumption state is, for example, 0.001w . In more detail, because the interrupt signals from each device to the graphics processor 220 will be rearranged and grouped by the monitoring control unit 222, and distributed immediately after the interrupt signal sent from the timing controller 240 Processing together, during this period with many interrupt signals (such as the pulse signals 350 and 360 ), the graphics processor 220 can be in the working state, so as to centralize the operation control of each device. When the wake-up signal is in a low logic state, the graphics processor 220 enters a low power consumption state. When the wake-up signal is in a high logic state, in addition to making the graphics processor 220 work, it can also be used as a burst control signal to increase the operating frequency of the graphics processor 220 . Furthermore, if the preset operating frequency of the graphics processor 220 is 1GHz, when the wake-up signal is in a high logic state, the monitoring control unit 222 will increase the operating frequency of the graphics processor 220 to 1.3GHz (not limited, adjustable ), so that the graphics processor 220 can burst a plurality of consecutive images (for example, 10 or 30 images) into the video frame buffer 244 in a short time.
以PCI Express×4总线为例,其频宽可达到800MBytes/sec,再加上图形处理器220的操作频率为1GHz,则图形处理器220执行突发写入影像至视频帧缓冲器244的时间约仅有数十微秒(μs),而时序控制器240发送至图形处理器220的中断信号约为33毫秒(1/30秒)一次。就时间比例来看,图形处理器220执行突发写入影像的操作所占的时间比例非常小,因此图形处理器220在大部分的时间可处于低功耗状态,藉以节省电力。Taking the PCI Express×4 bus as an example, its bandwidth can reach 800MBytes/sec, plus the operating frequency of the graphics processor 220 is 1GHz, then the time it takes for the graphics processor 220 to perform burst writing of images to the video frame buffer 244 It is only tens of microseconds (μs), and the interrupt signal sent by the timing controller 240 to the graphics processor 220 is about every 33 milliseconds (1/30 second). In terms of time ratio, the graphics processor 220 takes a very small percentage of time to execute the burst image writing operation, so the graphics processor 220 can be in a low power consumption state most of the time, so as to save power.
承续前述实施例,可归纳得出本发明的监测控制单元222的主要三个功能:(1)监测图形处理器220所在的总线(PCI-E总线)的所有活动并筛选关于图形处理器220的活动;(2)控制图形处理器220突发写入多张影像至视频帧缓冲器244,藉以进行面板自动更新;(3)控制图形处理器220进入低功耗状态。Continuing the foregoing embodiments, the main three functions of the monitoring control unit 222 of the present invention can be summarized: (1) monitor all activities of the bus (PCI-E bus) where the graphics processor 220 is located and filter all the activities related to the graphics processor 220; (2) controlling the graphics processor 220 to burst write multiple images to the video frame buffer 244, so as to automatically update the panel; (3) controlling the graphics processor 220 to enter a low power consumption state.
在一实施例中,监测控制单元222持续监测总线的活动,并判断储存于视频帧缓冲器244中用于面板自动更新的影像数量是否不足。简单来说,进行面板自动更新的原则是不能让使用者感受到画面产生延迟。以微软「永远开启永远连接」(Always On Always Connected)标准的需求为例,当图形处理器220处于低功耗状态,且图形处理器220由低功耗状态回到工作状态的唤醒时间(wakeup time)的上限值为300毫秒。实际上图形处理器220的唤醒时间可能更快,例如100毫秒。In one embodiment, the monitoring control unit 222 continuously monitors the activity of the bus, and determines whether the number of images stored in the video frame buffer 244 for automatic panel updating is insufficient. To put it simply, the principle of auto-updating the panel is not to make the user feel the delay of the screen. Take Microsoft's "Always On Always Connected" (Always On Always Connected) standard requirement as an example. time) has an upper limit of 300 milliseconds. In fact, the wake-up time of the graphics processor 220 may be faster, for example, 100 milliseconds.
举例来说,监测控制单元222控制图形处理器220突发写入30张影像至视频帧缓冲器244,且显示装置250具有每秒60张影像的画面更新率,意实时序控制器240每秒需要30张完整的画面,每张完整的画面可拆成上图场(topfield)及下图场(bottom field),再由时序控制器240依序对每张完整画面的上图场及下图场进行解交错(de-interlacing)以让显示装置250具有每秒60张画面的画面更新率。因此,显示装置需要花费1秒以读取所储存的30张画面,读取每张画面平均间隔33毫秒。若图形处理器220所在的总线在20张影像(或660毫秒)后仍然没有活动,因660毫秒加上图形处理器220的唤醒时间300毫秒已接近面板自动更新发生显示数据不足的情况,此时监测控制单元222则需强制唤醒图形处理器220突发写入显示画面至视频帧缓冲器244,以避免面板自动更新有显示数据不足的情况发生。For example, the monitoring control unit 222 controls the graphics processor 220 to burst write 30 images to the video frame buffer 244, and the display device 250 has a frame update rate of 60 images per second, which means that the real-time sequence controller 240 30 complete pictures are required, and each complete picture can be divided into a top field and a bottom field, and then the timing controller 240 sequentially compares the top field and bottom field of each complete picture The fields are de-interlaced so that the display device 250 has a frame refresh rate of 60 frames per second. Therefore, it takes 1 second for the display device to read the stored 30 frames, and the average interval for reading each frame is 33 milliseconds. If the bus where the graphics processor 220 is located is still inactive after 20 images (or 660 milliseconds), because 660 milliseconds plus the wake-up time of the graphics processor 220 of 300 milliseconds is close to the automatic update of the panel, the display data is insufficient. The monitoring control unit 222 needs to forcibly wake up the graphics processor 220 to write the display image to the video frame buffer 244 in a burst, so as to avoid insufficient display data in the automatic update of the panel.
简单来说,监测控制单元222需提早判断在下一次完全唤醒图形处理器220之前是否会发生显示画面不足的情况,若是,监测控制单元222则直接唤醒图形处理器220突发写入显示画面至视频帧缓冲器244。若否,监测控制单元222则唤醒图形处理器220以执行来自应用程序或操作系统的指令。对于使用者来说,无论在那一种情况下均是感觉到图形处理器220是一直开启的。To put it simply, the monitoring control unit 222 needs to judge in advance whether there will be insufficient display images before the graphics processor 220 is fully awakened next time. frame buffer 244 . If not, the monitoring control unit 222 wakes up the graphics processor 220 to execute instructions from the application program or the operating system. For the user, no matter in which case, it feels that the graphics processor 220 is always on.
图4是显示依据本发明一实施例的监测控制单元222的状态机的状态图。在状态410中,监测控制单元222监测图形处理器220所在的总线(例如PCI-Express总线)的活动并筛选关于图形处理器220的活动。若是没有显示相关的活动,则回到状态410,监测控制单元222持续监测图形处理器220所在的总线的活动。在状态420,监测控制单元222可执行下列功能:(a)估计图形处理器220的闲置时间周期(idling time period)Tidle;(b)控制图形处理器220突发写入足够数量的显示数据至视频帧缓冲器244,足以在所估计的闲置时间周期之间进行面板自动更新;(c)控制图形处理器220进入低功率状态。FIG. 4 is a state diagram showing a state machine of the monitoring control unit 222 according to an embodiment of the invention. In state 410 , the monitoring control unit 222 monitors the activity of the bus on which the graphics processor 220 resides (eg, the PCI-Express bus) and screens activities related to the graphics processor 220 . If no related activity is displayed, return to state 410 , and the monitoring control unit 222 continuously monitors the activity of the bus where the graphics processor 220 is located. In state 420, the monitoring control unit 222 can perform the following functions: (a) estimate the idle time period (idling time period) T idle of the graphics processor 220; (b) control the graphics processor 220 to burst write a sufficient amount of display data to the video frame buffer 244, sufficient for automatic panel updates between estimated periods of idle time; (c) controlling the graphics processor 220 to enter a low power state.
在状态430,监测控制单元222监测下列情况:(d)显示数据不足事件(run-out-of-display event)及(e)图形处理活动(GPU activity),例如由应用程序或操作系统所启动的图形处理活动。当没有检测到任何事件,则回到状态430,监测控制单元222持续监测显示数据不足事件及图形处理器220的活动事件。当检测有事件发生,则进入状态440,监测控制单元222将唤醒信号设定为高逻辑状态,藉以让图形处理器220由低功耗状态进入工作状态。若是因(d)显示数据不足事件而使图形处理器220进入工作状态,则回到状态420。若是因(e)图形处理器220的活动事件而使图形处理器220进入工作状态,则进入状态450。在状态450,图形处理器220可在唤醒时间(例如:300毫秒)之内开始处理由应用程序或操作系统所开始的图形处理活动。In state 430, the monitoring control unit 222 monitors the following conditions: (d) run-out-of-display event and (e) graphics processing activity (GPU activity), such as initiated by an application program or an operating system graphics processing activity. When no event is detected, return to state 430 , and the monitoring control unit 222 continuously monitors the display data insufficient event and the activity event of the graphics processor 220 . When an event is detected, the state 440 is entered, and the monitoring control unit 222 sets the wake-up signal to a high logic state, so that the graphics processor 220 enters the working state from the low power consumption state. If the graphics processor 220 enters the working state due to (d) insufficient display data event, return to state 420 . If the GPU 220 enters the active state due to (e) an activity event of the GPU 220 , enter state 450 . In state 450 , the graphics processor 220 can start processing graphics processing activities initiated by applications or the operating system within a wake-up time (eg, 300 milliseconds).
图5是显示依据本发明一实施例的电源管理方法的流程图。在步骤S500,监测控制单元222监测图形处理器220所在的一总线的多个总线活动,并由总线活动中过滤与图形处理器220相应的多个图形处理活动。在步骤S510,监测控制单元222依据该等图形处理活动估计图形处理器220的一闲置时间周期。在步骤S520,监测控制单元222控制该图形处理器突发写入多张影像至该时序控制器的一视频帧缓冲器,藉以让该时序控制器足以在该闲置时间周期内于显示装置250播放图形处理器220所写入的该等影像以进行面板自动更新。FIG. 5 is a flowchart showing a power management method according to an embodiment of the invention. In step S500 , the monitoring control unit 222 monitors multiple bus activities of a bus on which the graphics processor 220 resides, and filters multiple graphics processing activities corresponding to the graphics processor 220 from the bus activities. In step S510 , the monitoring control unit 222 estimates an idle time period of the graphics processor 220 according to the graphics processing activities. In step S520, the monitoring control unit 222 controls the graphics processor to burst write multiple images to a video frame buffer of the timing controller, so that the timing controller is sufficient to play on the display device 250 during the idle time period The images written by the graphics processor 220 are used for panel auto-update.
本发明虽以较佳实施例揭露如上,然其并非用以限定本发明的范围,任何本领域技术人员,在不脱离本发明的精神和范围内,当可做些许的更动与润饰,因此本发明的保护范围当视所附的权利要求范围所界定者为准。Although the present invention is disclosed above with preferred embodiments, it is not intended to limit the scope of the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The scope of protection of the present invention should be defined by the appended claims.
Claims (7)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510997277.0A CN105446458B (en) | 2012-08-22 | 2012-08-22 | Power management system and power management method |
| CN201210301890.0A CN103631357B (en) | 2012-08-22 | 2012-08-22 | Power management system and power management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210301890.0A CN103631357B (en) | 2012-08-22 | 2012-08-22 | Power management system and power management method |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510997277.0A Division CN105446458B (en) | 2012-08-22 | 2012-08-22 | Power management system and power management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103631357A CN103631357A (en) | 2014-03-12 |
| CN103631357B true CN103631357B (en) | 2016-11-23 |
Family
ID=50212532
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210301890.0A Expired - Fee Related CN103631357B (en) | 2012-08-22 | 2012-08-22 | Power management system and power management method |
| CN201510997277.0A Expired - Fee Related CN105446458B (en) | 2012-08-22 | 2012-08-22 | Power management system and power management method |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510997277.0A Expired - Fee Related CN105446458B (en) | 2012-08-22 | 2012-08-22 | Power management system and power management method |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN103631357B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106155263B (en) * | 2015-04-14 | 2021-07-20 | 华为技术有限公司 | A kind of parameter adjustment method and device |
| CN105629843A (en) * | 2016-03-30 | 2016-06-01 | 辽宁开普医疗系统有限公司 | Control system enabling medical X-ray product to realize system sleep energy conservation |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080034238A1 (en) * | 2006-08-03 | 2008-02-07 | Hendry Ian C | Multiplexed graphics architecture for graphics power management |
| CN101149640A (en) * | 2006-10-31 | 2008-03-26 | 威盛电子股份有限公司 | Low-power-consumption computer operating system and method |
| CN101819510A (en) * | 2008-11-18 | 2010-09-01 | 英特尔公司 | Techniques to control self refresh display functionality |
| CN102143318A (en) * | 2011-01-21 | 2011-08-03 | 北京中星微电子有限公司 | Method and device for generating video file |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009289193A (en) * | 2008-05-30 | 2009-12-10 | Toshiba Corp | Information processing apparatus |
| CN105607725B (en) * | 2012-08-17 | 2019-03-01 | 宏碁股份有限公司 | Power management system and power management method |
-
2012
- 2012-08-22 CN CN201210301890.0A patent/CN103631357B/en not_active Expired - Fee Related
- 2012-08-22 CN CN201510997277.0A patent/CN105446458B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080034238A1 (en) * | 2006-08-03 | 2008-02-07 | Hendry Ian C | Multiplexed graphics architecture for graphics power management |
| CN101149640A (en) * | 2006-10-31 | 2008-03-26 | 威盛电子股份有限公司 | Low-power-consumption computer operating system and method |
| CN101819510A (en) * | 2008-11-18 | 2010-09-01 | 英特尔公司 | Techniques to control self refresh display functionality |
| CN102143318A (en) * | 2011-01-21 | 2011-08-03 | 北京中星微电子有限公司 | Method and device for generating video file |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105446458A (en) | 2016-03-30 |
| CN103631357A (en) | 2014-03-12 |
| CN105446458B (en) | 2018-09-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9141170B2 (en) | Techniques to control self refresh display functionality | |
| US8963863B2 (en) | Computer, display card, display device and method for updating display information | |
| US9047085B2 (en) | Method and apparatus for controlling sparse refresh of a self-refreshing display device using a communications path with an auxiliary communications channel for delivering data to the display | |
| CN103593040B (en) | Power management system and power management method | |
| US8907960B2 (en) | Computer, monitor and computer display method | |
| US20150082446A1 (en) | Method and apparatus for displaying potentially private information | |
| US20120207208A1 (en) | Method and apparatus for controlling a self-refreshing display device coupled to a graphics controller | |
| US20150082255A1 (en) | Methods and apparatus for displaying notification information | |
| CN103631357B (en) | Power management system and power management method | |
| TWI488034B (en) | Power management system and power management method | |
| CN112527227A (en) | Dynamic sleep of display panel | |
| TWI510908B (en) | Power management system and power management method | |
| JP2009258865A (en) | Display system, display monitor, display network system, and program | |
| US20240114150A1 (en) | Synchronized low-power video playback | |
| CN115840548A (en) | Ink screen reading device, display method thereof and computer readable storage medium | |
| TWI388978B (en) | Using screen saver as brightness control to extend battery life on mobile pc | |
| US20060017737A1 (en) | System and method for efficiently performing automatic frame transfers of image data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161123 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |