CN205594571U - Power controlling means and computer - Google Patents

Power controlling means and computer Download PDF

Info

Publication number
CN205594571U
CN205594571U CN201620331314.4U CN201620331314U CN205594571U CN 205594571 U CN205594571 U CN 205594571U CN 201620331314 U CN201620331314 U CN 201620331314U CN 205594571 U CN205594571 U CN 205594571U
Authority
CN
China
Prior art keywords
power
power supply
processor
controller
control module
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 - Lifetime
Application number
CN201620331314.4U
Other languages
Chinese (zh)
Inventor
田社校
吴少校
张长营
陈朝灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Loongson Technology Corp Ltd
Original Assignee
Loongson Technology Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Loongson Technology Corp Ltd filed Critical Loongson Technology Corp Ltd
Priority to CN201620331314.4U priority Critical patent/CN205594571U/en
Application granted granted Critical
Publication of CN205594571U publication Critical patent/CN205594571U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

本实用新型提供一种电源控制装置和计算机。该电源控制装置包括:基础电源、按键、控制器、恢复电源、工作电源、电源控制模块和处理器;基础电源用于为按键和控制器供电;控制器与按键连接并监测按键的触发;恢复电源根据控制器发送的信号开始或停止向电源控制模块供电;工作电源根据电源控制模块发送的信号开始或停止向处理器供电;控制器还分别与电源控制模块和处理器连接,用于向处理器发送中断信号,以使处理器进入待机状态。本实用新型提供的电源控制装置和计算机中,控制器与处理器直接连接,控制处理器直接进入待机状态,可减少计算机待机的复杂度,减少功耗;同时可在关机状态下关闭电源控制模块,进一步降低功耗。

The utility model provides a power control device and a computer. The power control device includes: a basic power supply, a button, a controller, a recovery power supply, a working power supply, a power control module and a processor; the basic power supply is used to supply power to the button and the controller; the controller is connected to the button and monitors the triggering of the button; the recovery The power supply starts or stops supplying power to the power control module according to the signal sent by the controller; the working power supply starts or stops supplying power to the processor according to the signal sent by the power control module; The processor sends an interrupt signal, so that the processor enters the standby state. In the power control device and the computer provided by the utility model, the controller is directly connected with the processor, and the processor is directly controlled to enter the standby state, which can reduce the complexity of the computer standby and reduce power consumption; at the same time, the power control module can be turned off in the shutdown state , to further reduce power consumption.

Description

电源控制装置和计算机Power Control Units and Computers

技术领域technical field

本实用新型涉及硬件结构,尤其涉及一种电源控制装置和计算机。The utility model relates to a hardware structure, in particular to a power control device and a computer.

背景技术Background technique

电源管理是计算机操作系统的一个重要功能,主要用于在计算机运行、待机和关机状态下进行用电管理,达到节约功耗的目的。Power management is an important function of the computer operating system. It is mainly used to manage power consumption when the computer is running, standby and shut down, so as to save power consumption.

现有计算机的操作系统中,设置有基于高级电源配置接口(AdvancedConfiguration Power Interface,ACPI)标准的电源控制模块,用于对计算机的用电状况进行管理,计算机的开机、待机和关机操作均通过该电源控制模块实现。图1为现有计算机的电源管理的原理结构图。如图1所示,基础电源一直保持为按键和电源控制模块供电的状态,电源控制模块检测按键的触发情况,并结合当前计算机所处的状态向处理器和工作电源发出相应的操作信号,实现计算机的开机、待机和关机。In the operating system of an existing computer, a power control module based on the Advanced Configuration Power Interface (ACPI) standard is provided to manage the power consumption status of the computer. The power control module is implemented. FIG. 1 is a schematic structural diagram of power management of a conventional computer. As shown in Figure 1, the basic power supply has always been in the state of supplying power to the buttons and the power control module. The power control module detects the triggering of the buttons, and sends corresponding operation signals to the processor and the working power supply in combination with the current state of the computer to realize Computer startup, standby and shutdown.

但是,现有计算机在实现待机功能时,是通过操作系统与基本输入输出系统(BIOS)的多次交互,执行存储在BIOS中的多个ACPI表中包含的大量ACPI代码,完成处理器内部寄存器的配置,从而实现计算机的待机,不仅操作复杂耗时长,而且功耗较大。However, when the existing computer realizes the standby function, it executes a large amount of ACPI codes contained in multiple ACPI tables stored in the BIOS through multiple interactions between the operating system and the basic input output system (BIOS), and completes the processing of the internal registers of the processor. configuration, so as to realize the standby of the computer, not only the operation is complex and time-consuming, but also consumes a lot of power.

实用新型内容Utility model content

本实用新型提供一种电源控制装置和计算机,用以解决现有计算机待机时操作复杂耗时长的问题。The utility model provides a power supply control device and a computer, which are used to solve the problem of complex and time-consuming operations when the existing computer is in standby.

本实用新型一方面提供一种电源控制装置,包括:基础电源、按键、控制器、恢复电源、工作电源、电源控制模块和处理器;One aspect of the utility model provides a power control device, including: a basic power supply, a button, a controller, a recovery power supply, a working power supply, a power supply control module and a processor;

所述基础电源分别与所述按键和所述控制器连接,用于为所述按键和所述控制器供电;The basic power supply is respectively connected to the button and the controller for supplying power to the button and the controller;

所述控制器与所述按键连接,用于监测所述按键的触发;The controller is connected to the button for monitoring the triggering of the button;

所述恢复电源分别与所述控制器和所述电源控制模块连接,用于根据所述控制器发送的信号开始或停止向所述电源控制模块供电;The recovery power supply is respectively connected to the controller and the power control module, and is used to start or stop supplying power to the power control module according to a signal sent by the controller;

所述工作电源分别与所述电源控制模块和所述处理器连接,用于根据所述电源控制模块发送的信号开始或停止向所述处理器供电;The working power supply is respectively connected to the power control module and the processor, and is used to start or stop supplying power to the processor according to a signal sent by the power control module;

所述控制器还分别与所述电源控制模块和所述处理器连接,用于在所述处理器的状态为工作状态时,在监测到所述按键的触发时长满足预设待机条件时,通过与所述处理器之间的连接向所述处理器发送中断信号,所述中断信号用于控制所述处理器进入待机状态。The controller is also connected to the power control module and the processor respectively, and is used to, when the state of the processor is in the working state, when it is detected that the triggering duration of the key meets the preset standby condition, by The connection with the processor sends an interrupt signal to the processor, and the interrupt signal is used to control the processor to enter a standby state.

如上所述的电源控制装置,所述电源控制模块设置在所述处理器中。According to the above power control device, the power control module is set in the processor.

如上所述的电源控制装置,所述控制器还用于,As described above in the power control device, the controller is also used to:

在监测到所述按键的触发时长满足预设关机条件时,所述控制器通过与所述电源控制模块之间的连接向所述电源控制模块发送第一断电信号,所述电源控制模块通过与所述工作电源之间的连接将所述第一断电信号转发至所述工作电源,所述第一断电信号用于控制所述工作电源断电;所述控制器通过与所述恢复电源之间的连接向所述恢复电源发送第二断电信号,所述第二断电信号用于控制所述恢复电源断电。When it is detected that the trigger duration of the key meets the preset shutdown condition, the controller sends a first power-off signal to the power control module through the connection with the power control module, and the power control module transmits a first power-off signal through the The connection with the working power supply forwards the first power-off signal to the working power supply, and the first power-off signal is used to control the power-off of the working power supply; the controller communicates with the recovery The connection between the power supplies sends a second power-off signal to the restoration power supply, and the second power-off signal is used to control power-off of the restoration power supply.

如上所述的电源控制装置,所述预设待机条件为:As described above in the power control device, the preset standby condition is:

所述按键的触发时长大于预设待机时长,且小于预设关机时长。The triggering duration of the key is longer than the preset standby duration and shorter than the preset shutdown duration.

如上所述的电源控制装置,所述预设关机条件为:As described above in the power control device, the preset shutdown condition is:

所述按键的触发时长大于预设关机时长。The triggering duration of the key is longer than the preset power-off duration.

如上所述的电源控制装置,所述控制器还用于,As described above in the power control device, the controller is also used to:

在所述处理器的状态为待机状态时,在监测到所述按键的触发时长满足预设唤醒条件时,通过与所述处理器之间的连接向所述处理器发送唤醒信号,所述唤醒信号用于控制所述处理器恢复工作状态。When the state of the processor is in the standby state, when it is detected that the trigger duration of the key meets the preset wake-up condition, a wake-up signal is sent to the processor through the connection with the processor, and the wake-up The signal is used to control the processor to resume working state.

如上所述的电源控制装置,所述预设唤醒条件为:As for the above-mentioned power control device, the preset wake-up condition is:

所述按键的触发时长大于预设唤醒时长,且小于预设关机时长。The triggering duration of the key is longer than the preset wake-up duration and shorter than the preset shutdown duration.

如上所述的电源控制装置,所述控制器还用于,As described above in the power control device, the controller is also used to:

在所述处理器的状态为关机状态时,在监测到所述按键的按键时长满足预设开机条件时,通过与所述恢复电源之间的连接向所述恢复电源发送第一供电信号,所述第一供电信号用于控制所述恢复电源向所述电源控制模块供电;When the state of the processor is in the shutdown state, when it is detected that the duration of pressing the key meets the preset power-on condition, a first power supply signal is sent to the recovery power supply through the connection with the recovery power supply, so The first power supply signal is used to control the recovery power supply to supply power to the power control module;

在接收到所述电源控制模块发送的供电完成信号后,所述控制器通过与所述电源控制模块之间的连接向所述电源控制模块发送第二供电信号,所述电源控制模块通过与所述工作电源之间的连接将所述第二供电信号转发至所述工作电源,所述第二供电信号用于控制所述工作电源向所述处理器供电。After receiving the power supply completion signal sent by the power control module, the controller sends a second power supply signal to the power control module through the connection with the power control module, and the power control module communicates with the power control module The connection between the working power supplies forwards the second power supply signal to the working power supply, and the second power supply signal is used to control the working power supply to supply power to the processor.

如上所述的电源控制装置,所述预设开机条件为:As for the above-mentioned power control device, the preset power-on condition is:

所述按键的触发时长大于预设开机时长。The triggering duration of the key is longer than the preset power-on duration.

本实用新型另一方面还提供一种计算机,包括如上所述的电源控制装置。Another aspect of the present invention also provides a computer, including the above-mentioned power control device.

本实用新型实施例提供的电源控制装置和计算机,通过增加控制器和恢复电源,将控制器与处理器直接连接,恢复电源分别与控制器和电源控制模块相连,使得在控制器监测到所述按键的触发时长满足符合待机条件时,控制器可通过与处理器的连接,直接向处理器发送中断信号,使得处理器根据中断信号进入待机状态,减少计算机待机的复杂度,减少功耗;同时增加的控制器替代电源控制模块与按键直接连接,进行按键触发的实时监测,可使电源控制模块在关机状态下关闭,进一步降低功耗。The power supply control device and the computer provided by the embodiment of the utility model directly connect the controller to the processor by adding a controller and a recovery power supply, and the recovery power supply is connected to the controller and the power supply control module respectively, so that the controller monitors the When the triggering time of the key meets the standby condition, the controller can directly send an interrupt signal to the processor through the connection with the processor, so that the processor enters the standby state according to the interrupt signal, reducing the complexity of computer standby and reducing power consumption; at the same time The added controller replaces the power control module and is directly connected to the button to perform real-time monitoring of the button trigger, so that the power control module can be turned off in the shutdown state, further reducing power consumption.

附图说明Description of drawings

为了更清楚地说明本实用新型实施例的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本实用新型的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the utility model , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1为现有计算机的电源管理的原理结构图;Fig. 1 is the principle structural diagram of the power management of existing computer;

图2为本实用新型提供的电源控制装置实施例一的结构示意图。Fig. 2 is a schematic structural diagram of Embodiment 1 of the power control device provided by the present invention.

具体实施方式detailed description

为使本实用新型实施例的目的、技术方案和优点更加清楚,下面将结合本实用新型实施例中的附图,对本实用新型实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本实用新型一部分实施例,而不是全部的实施例。基于本实用新型中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本实用新型保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the utility model more clear, the technical solutions in the embodiments of the utility model will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the utility model. Obviously, the described The embodiments are some embodiments of the present utility model, but not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of the present utility model.

图2为本实用新型提供的电源控制装置实施例一的结构示意图。如图2所示,包括:基础电源1、按键2、控制器3、恢复电源4、工作电源5、电源控制模块6和处理器7;Fig. 2 is a schematic structural diagram of Embodiment 1 of the power control device provided by the present invention. As shown in Figure 2, it includes: basic power supply 1, button 2, controller 3, recovery power supply 4, working power supply 5, power control module 6 and processor 7;

基础电源1,分别与按键2和控制器3连接,用于为按键2和控制器3供电;The basic power supply 1 is connected to the button 2 and the controller 3 respectively, and is used to supply power to the button 2 and the controller 3;

控制器3与按键2连接,用于监测按键2的触发;The controller 3 is connected to the button 2 for monitoring the triggering of the button 2;

恢复电源4分别与控制器3和电源控制模块6连接,用于根据控制器3发送的信号开始或停止向电源控制模块6供电;The recovery power supply 4 is connected to the controller 3 and the power control module 6 respectively, and is used to start or stop supplying power to the power control module 6 according to the signal sent by the controller 3;

工作电源5分别与电源控制模块6和处理器7连接,用于根据电源控制模块6发送的信号开始或停止向处理器7供电;The working power supply 5 is connected to the power control module 6 and the processor 7 respectively, and is used to start or stop supplying power to the processor 7 according to the signal sent by the power control module 6;

控制器3还分别与电源控制模块6和处理器7连接,用于在处理器7的状态为工作状态时,在监测到按键2的触发时长满足预设待机条件时,通过与处理器7之间的连接向处理器7发送中断信号,中断信号用于控制处理器7进入待机状态。The controller 3 is also connected to the power control module 6 and the processor 7 respectively, and is used to communicate with the processor 7 when the triggering duration of the key 2 is detected to meet the preset standby condition when the processor 7 is in the working state. The connection between them sends an interrupt signal to the processor 7, and the interrupt signal is used to control the processor 7 to enter the standby state.

具体的,本实用新型实施例提供的电源控制装置可应用在计算机、服务器、基站等需要进行电源控制的设备中。该装置包括:基础电源1、按键2、控制器3、恢复电源4、工作电源5、电源控制模块6和处理器7,其中处理器7随电源控制装置的应用环境不同而不同,本实用新型下文仅以计算机为例进行说明,而并非对其限定。其中,控制器3具体可以为微型处理器、单片机等装置。Specifically, the power control device provided by the embodiments of the present invention can be applied to devices requiring power control such as computers, servers, and base stations. The device includes: a basic power supply 1, buttons 2, a controller 3, a recovery power supply 4, a working power supply 5, a power supply control module 6 and a processor 7, wherein the processor 7 varies with the application environment of the power control device. The utility model In the following, a computer is taken as an example for illustration, rather than limiting it. Wherein, the controller 3 may specifically be a microprocessor, a single-chip microcomputer or other devices.

基础电源1分别与按键2和控制器3连接,并为按键2和控制器3供电,基础电源1可以为电池、不间断电源等持续供电电源,保证按键2和控制器3持续有电,不随处理器的状态而改变。由于按键2和控制器3结构与功能简单,控制器3仅需一路3.3V电源供电,整个电路模块正常工作时的功耗小于30mW,故在一直有电的情况下也可保证耗电量较小。The basic power supply 1 is connected to the button 2 and the controller 3 respectively, and supplies power to the button 2 and the controller 3. The basic power supply 1 can provide continuous power supply such as batteries and uninterruptible power supplies, so as to ensure that the buttons 2 and the controller 3 are continuously powered, and do not The state of the processor changes. Due to the simple structure and function of the button 2 and the controller 3, the controller 3 only needs one 3.3V power supply, and the power consumption of the entire circuit module is less than 30mW when it is working normally, so it can ensure low power consumption even when there is always power on. Small.

控制器3与按键2连接,用于监测按键2的触发。具体的,当用户按压按键2时产生脉冲信号,控制器3监测脉冲信号的持续时长,并通过判断持续时长是否满足预设开机条件、预设待机条件、预设关机条件或预设唤醒条件等,以确定用户通过按键2发送的信号为开机、待机、关机或唤醒,并排除误触发。The controller 3 is connected with the button 2 and is used for monitoring the triggering of the button 2 . Specifically, when the user presses the button 2, a pulse signal is generated, and the controller 3 monitors the duration of the pulse signal, and judges whether the duration satisfies the preset power-on condition, preset standby condition, preset shutdown condition or preset wake-up condition, etc. , to determine whether the signal sent by the user through button 2 is power-on, standby, power-off or wake-up, and to eliminate false triggering.

恢复电源4分别与控制器3和电源控制模块6连接,控制器3根据按键2发送的信号的不同,向恢复电源4发送不同的信号,控制恢复电源4开始或停止向电源控制模块6供电。恢复电源4与基础电源1不是同一个电源,恢复电源为新增电源,恢复电源4可以为电池或外接电源。通过控制恢复电源4关闭,可使得电源控制模块6在关机时断电。在现有技术中,电源控制模块电路结构复杂,正常工作时需3.3V、2.5V、1.1V等多路电源供电,由基础电源直接供电(如图1所示),由于基础电源还同时为按键供电,电源控制模块监测按键的触发情况,因此,即使计算机处于关机状态,电源控制模块也不断电,仍然耗电。而本实施例中,通过增加控制器3和恢复电源4,恢复电源4单独向电源控制模块6供电,控制器3监测按键2的触发情况,从而可在计算机关机时通过控制恢复电源4关闭,来使得电源控制模块6断电,从而可显著减少耗电。The recovery power supply 4 is connected to the controller 3 and the power control module 6 respectively, and the controller 3 sends different signals to the recovery power supply 4 according to the signal sent by the button 2 to control the recovery power supply 4 to start or stop supplying power to the power control module 6 . The recovery power supply 4 is not the same power supply as the basic power supply 1. The recovery power supply is a newly added power supply. The recovery power supply 4 can be a battery or an external power supply. By controlling the recovery power supply 4 to be turned off, the power supply control module 6 can be powered off when shutting down. In the prior art, the circuit structure of the power supply control module is complicated, and it needs multiple power supplies such as 3.3V, 2.5V, 1.1V, etc. during normal operation, and is directly powered by the basic power supply (as shown in Figure 1). The key is powered, and the power control module monitors the triggering of the key. Therefore, even if the computer is turned off, the power control module is not powered off and still consumes power. In this embodiment, by adding the controller 3 and the recovery power supply 4, the recovery power supply 4 supplies power to the power control module 6 alone, and the controller 3 monitors the triggering of the button 2, so that the recovery power supply 4 can be controlled to turn off when the computer is shut down. To make the power control module 6 power off, thereby significantly reducing power consumption.

工作电源5分别与电源控制模块6和处理器7连接,控制器3根据按键2发送的信号的不同,向电源控制模块6发送不同的信号,电源控制模块6将该信号转发至工作电源5,控制工作电源5开始或停止向处理器7供电。工作电源5可以为电池、不间断电源或外接电源等。The working power supply 5 is connected with the power supply control module 6 and the processor 7 respectively, and the controller 3 sends different signals to the power supply control module 6 according to the signal sent by the button 2, and the power supply control module 6 forwards the signal to the working power supply 5, Control the working power supply 5 to start or stop supplying power to the processor 7 . The working power supply 5 can be a battery, an uninterruptible power supply or an external power supply and the like.

控制器3还分别与电源控制模块6和处理器7连接,由于控制器3直接与处理器7连接,可直接向处理器7发送信号,从而使得控制器3可在处理器7的状态为工作状态时,在监测到按键2的触发时长满足预设待机条件时,向处理器7发送中断信号,处理器7在接收到中断信号后,通过对内部寄存器的配置,进入待机状态。The controller 3 is also connected with the power control module 6 and the processor 7 respectively. Since the controller 3 is directly connected with the processor 7, it can directly send a signal to the processor 7, so that the controller 3 can work in the state of the processor 7. state, when it is detected that the trigger duration of the button 2 meets the preset standby condition, an interrupt signal is sent to the processor 7, and the processor 7 enters the standby state by configuring the internal register after receiving the interrupt signal.

可选的,电源控制模块6设置在处理器7中,以实现电路结构的一体化。Optionally, the power control module 6 is set in the processor 7 to realize the integration of the circuit structure.

本实用新型实施例提供的电源控制装置,通过增加控制器和恢复电源,将控制器与处理器直接连接,恢复电源分别与控制器和电源控制模块相连,使得在控制器监测到所述按键的触发时长满足符合待机条件时,控制器可通过与处理器的直接连接,直接向处理器发送中断信号,使得处理器根据中断信号进入待机状态,减少计算机待机的复杂度,减少功耗;同时增加的控制器替代电源控制模块与按键直接连接,进行按键触发的实时监测,可使电源控制模块在关机状态下关闭,进一步降低功耗。The power supply control device provided by the embodiment of the utility model directly connects the controller to the processor by adding a controller and a recovery power supply, and the recovery power supply is connected to the controller and the power supply control module respectively, so that when the controller monitors the button When the trigger duration meets the standby conditions, the controller can directly send an interrupt signal to the processor through a direct connection with the processor, so that the processor enters the standby state according to the interrupt signal, reducing the complexity of computer standby and power consumption; at the same time increasing The controller replaces the power control module and is directly connected to the button to monitor the real-time trigger of the button, so that the power control module can be turned off in the shutdown state, further reducing power consumption.

下面采用具体实施例,对本实用新型实施例提供的电源控制装置的开机、关机、待机过程进行详细说明。The following uses specific embodiments to describe in detail the process of starting up, shutting down and standby of the power control device provided by the embodiment of the present invention.

开机流程:Boot process:

控制器3在处理器7的状态为关机状态时,在监测到按键2的按键时长满足预设开机条件时,通过与恢复电源4之间的连接向恢复电源4发送第一供电信号,第一供电信号用于控制恢复电源4向电源控制模块6供电;When the state of the processor 7 is the shutdown state, the controller 3 sends the first power supply signal to the recovery power supply 4 through the connection with the recovery power supply 4 when it detects that the key press duration of the button 2 meets the preset power-on condition. The power supply signal is used to control the recovery power supply 4 to supply power to the power control module 6;

控制器3在接收到电源控制模块6发送的供电完成信号后,控制器3通过与电源控制模块6之间的连接向电源控制模块6发送第二供电信号,电源控制模块6通过与工作电源5之间的连接将第二供电信号转发至工作电源5,第二供电信号用于控制工作电源5向处理器7供电。After the controller 3 receives the power supply completion signal sent by the power control module 6, the controller 3 sends the second power supply signal to the power control module 6 through the connection with the power control module 6, and the power control module 6 communicates with the working power supply 5 The connection between them forwards the second power supply signal to the working power supply 5 , and the second power supply signal is used to control the working power supply 5 to supply power to the processor 7 .

其中,预设开机条件为:按键的触发时长大于预设开机时长。Wherein, the preset power-on condition is: the trigger time of the button is longer than the preset power-on time.

在具体实现过程中,当计算机(即处理器7)的状态为关机状态时,仅基础电源1向按键2和控制器3供电,恢复电源4与工作电源5均不供电。当用户按压按键2,控制器3监测按键2的触发时长,当确定该触发时长大于预设开机时长时,则认为满足预设开机条件;当触发时长小于预设开机时长时,则认为是误触发,控制器3将不进入开机流程;预设开机时长通常设置为3秒以上,以避免将用户的误触发判断为开机信号或其他信号。在确定满足预设开机条件时,认为用户通过按键2向计算机发送开机信号,此时,控制器3向恢复电源4发送第一供电信号,第一供电信号用于控制恢复电源4开始向电源控制模块6供电。当电源控制模块6正常上电完成后,向控制器3发送供电完成信号。可选的,电源控制模块6中设置有供电检测模块,用以检测电源控制模块6中的各供电电路是否正常。控制器3在接收到电源控制模块6发送的供电完成信号后,向电源控制模块6发送第二供电信号,电源控制模块6将第二供电信号转发至工作电源5,工作电源5根据该第二供电信号向处理器7供电。此时,控制器3记录计算机的状态为开机状态。在开机状态下,基础电源1、恢复电源4和工作电源5同时工作供电。In the specific implementation process, when the state of the computer (that is, the processor 7) is off, only the basic power supply 1 supplies power to the buttons 2 and the controller 3, and neither the recovery power supply 4 nor the working power supply 5 supplies power. When the user presses the button 2, the controller 3 monitors the trigger time of the button 2, and when it is determined that the trigger time is longer than the preset power-on time, it is considered that the preset power-on condition is satisfied; when the trigger time is less than the preset power-on time, it is considered to be an error trigger, the controller 3 will not enter the booting process; the preset booting time is usually set to more than 3 seconds, so as to avoid judging the user's false trigger as a booting signal or other signals. When it is determined that the preset power-on condition is satisfied, it is considered that the user sends a power-on signal to the computer through the button 2. At this time, the controller 3 sends the first power supply signal to the recovery power supply 4, and the first power supply signal is used to control the recovery power supply 4 to start to control the power supply. Module 6 supplies power. After the power control module 6 is normally powered on, it sends a power supply completion signal to the controller 3 . Optionally, a power supply detection module is provided in the power control module 6 to detect whether each power supply circuit in the power control module 6 is normal. After the controller 3 receives the power supply completion signal sent by the power control module 6, it sends a second power supply signal to the power control module 6, and the power control module 6 forwards the second power supply signal to the working power supply 5, and the working power supply 5 transmits the second power supply signal according to the second power supply signal. The power supply signal supplies power to the processor 7 . At this point, the controller 3 records the state of the computer as the power-on state. In the power-on state, the basic power supply 1, the recovery power supply 4 and the working power supply 5 work simultaneously to supply power.

可选的,处理器7还包括上电指示灯,当处理器7上电完成后,上电指示灯变亮,用以方便用户在按压按键2发送开机信号时,直观的确定当前触发不会被确定为误触发,在观察到上电指示灯亮时可松开按键2。Optionally, the processor 7 also includes a power-on indicator light. When the power-on of the processor 7 is completed, the power-on indicator light becomes bright, so that when the user presses the button 2 to send a power-on signal, it is intuitively determined that the current trigger will not If it is determined to be a false trigger, you can release button 2 when you observe that the power-on indicator light is on.

待机流程:Standby process:

控制器3在处理器7的状态为工作状态时,在监测到按键2的触发时长满足预设待机条件时,通过与处理器7之间的连接向处理器7发送中断信号,中断信号用于控制处理器7进入待机状态。When the state of the processor 7 is the working state, the controller 3 sends an interrupt signal to the processor 7 through the connection with the processor 7 when it detects that the trigger duration of the button 2 meets the preset standby condition. The control processor 7 enters the standby state.

其中预设待机条件为:按键的触发时长大于预设待机时长,且小于预设关机时长。The preset standby condition is: the triggering time of the key is longer than the preset standby time and less than the preset shutdown time.

在具体实现过程中,当计算机的状态为开机状态时,当用户按压按键2,控制器3监测按键2的触发时长,当确定该触发时长大于预设待机时长,且小于预设关机时长时,则认为当前触发时长满足预设待机条件;当触发时长小于预设待机时长,则认为是误触发,控制器3不进行任何操作;当触发时长大于预设关机时长时,则认为当前触发时长满足预设关机条件,进入关机流程;在确定满足预设待机条件时,认为用户通过按键2向计算机发送待机信号,此时,控制器3向处理器7发送中断信号,处理器7根据中断信号对内部寄存器进行设置,进入待机状态。此时,控制器3记录计算机的状态为待机状态。在待机状态下,基础电源1、恢复电源4和工作电源5同时工作供电。In the specific implementation process, when the state of the computer is the power-on state, when the user presses the button 2, the controller 3 monitors the trigger duration of the button 2, and when it is determined that the trigger duration is greater than the preset standby duration and less than the preset shutdown duration, Then it is considered that the current trigger duration meets the preset standby condition; when the trigger duration is less than the preset standby duration, it is considered to be a false trigger, and the controller 3 does not perform any operation; when the trigger duration is longer than the preset shutdown duration, it is considered that the current trigger duration meets Preset the shutdown condition and enter the shutdown process; when it is determined that the preset standby condition is met, it is considered that the user sends a standby signal to the computer through the button 2. At this time, the controller 3 sends an interrupt signal to the processor 7, and the processor 7 responds to the computer according to the interrupt signal. The internal registers are set to enter the standby state. At this point, the controller 3 records the state of the computer as the standby state. In the standby state, the basic power supply 1, the recovery power supply 4 and the working power supply 5 work simultaneously to supply power.

唤醒流程:Wake up process:

控制器3在处理器7的状态为待机状态时,在监测到按键2的触发时长满足预设唤醒条件时,通过与处理器7之间的连接向处理器7发送唤醒信号,唤醒信号用于控制处理器7恢复工作状态。When the state of the processor 7 is the standby state, the controller 3 sends a wake-up signal to the processor 7 through the connection with the processor 7 when it detects that the trigger duration of the button 2 meets the preset wake-up condition. The control processor 7 returns to the working state.

其中,预设唤醒条件为:按键的触发时长大于预设唤醒时长,且小于预设关机时长。Wherein, the preset wake-up condition is: the triggering time of the key is longer than the preset wake-up time and less than the preset power-off time.

在具体实现过程中,当计算机的状态为待机状态时,当用户按压按键2,控制器3监测按键2的触发时长,当确定该触发时长大于预设唤醒时长,且小于预设关机时长时,则认为当前触发时长满足预设唤醒条件;当触发时长小于预设唤醒时长,则认为是误触发,控制器3不进行任何操作;当触发时长大于预设关机时长时,则认为当前触发时长满足预设关机条件,进入关机流程;在确定满足预设唤醒条件时,认为用户通过按键2向计算机发送唤醒信号,此时,控制器3向处理器7发送唤醒信号,处理器7根据唤醒信号对内部寄存器进行设置,进入开机状态,计算机再次正常工作。此时,控制器3记录计算机的状态为开机状态。In the specific implementation process, when the state of the computer is in the standby state, when the user presses the button 2, the controller 3 monitors the trigger duration of the button 2, and when it is determined that the trigger duration is greater than the preset wake-up duration and less than the preset shutdown duration, It is considered that the current trigger duration meets the preset wake-up condition; when the trigger duration is less than the preset wake-up duration, it is considered to be a false trigger, and the controller 3 does not perform any operation; when the trigger duration is longer than the preset shutdown duration, it is considered that the current trigger duration satisfies Preset the shutdown condition and enter the shutdown process; when it is determined that the preset wakeup condition is met, it is considered that the user sends a wakeup signal to the computer through the button 2. At this time, the controller 3 sends a wakeup signal to the processor 7, and the processor 7 responds to the computer according to the wakeup signal. The internal registers are set, enter the power-on state, and the computer works normally again. At this point, the controller 3 records the state of the computer as the power-on state.

可选的,开机状态和待机状态时的预设关机时长可以相同。Optionally, the preset shutdown duration in the power-on state and the standby state can be the same.

关机流程:Shutdown process:

控制器3在监测到按键2的触发时长满足预设关机条件时,控制器3通过与电源控制模块6之间的连接向电源控制模块6发送第一断电信号,电源控制模块6通过与工作电源5之间的连接将第一断电信号转发至工作电源5,第一断电信号用于控制工作电源5断电;控制器3通过与恢复电源4之间的连接向恢复电源4发送第二断电信号,第二断电信号用于控制恢复电源4断电。When the controller 3 detects that the triggering duration of the key 2 meets the preset shutdown condition, the controller 3 sends the first power-off signal to the power control module 6 through the connection with the power control module 6, and the power control module 6 passes through the connection with the power control module 6. The connection between the power supplies 5 transmits the first power-off signal to the working power supply 5, and the first power-off signal is used to control the power-off of the working power supply 5; Two power-off signals, the second power-off signal is used to control the power-off of the recovery power supply 4 .

其中,预设关机条件为:按键的触发时长大于预设关机时长。Wherein, the preset power-off condition is: the trigger time of the key is longer than the preset power-off time.

在具体实现过程中,当计算机的状态为待机状态或开机状态时,当用户按压按键2,控制器3监测按键2的触发时长,当确定该触发时长大于预设关机时长时,则认为当前触发时长满足预设关机条件,认为用户通过按键2向计算机发送关机信号。此时,控制器3向电源控制模块6发送第一断电信号,电源控制模块6将第第一断电信号转发至工作电源5,工作电源5根据该第一断电信号停止向处理器7供电。在处理器7断电后,控制器3向恢复电源4发送第二断电信号,恢复电源4根据该第二断电信号停止向电源控制模块6供电。此时,控制器3记录计算机的状态为关机状态。在关机状态下,仅基础电源1工作供电。In the specific implementation process, when the state of the computer is the standby state or the power-on state, when the user presses the button 2, the controller 3 monitors the trigger duration of the button 2, and when it is determined that the trigger duration is greater than the preset shutdown duration, it is considered that the current trigger If the duration satisfies the preset shutdown condition, it is considered that the user sends a shutdown signal to the computer through button 2 . At this time, the controller 3 sends the first power-off signal to the power control module 6, and the power control module 6 forwards the first power-off signal to the working power supply 5, and the working power supply 5 stops sending power to the processor 7 according to the first power-off signal. powered by. After the processor 7 is powered off, the controller 3 sends a second power-off signal to the recovery power supply 4 , and the recovery power supply 4 stops supplying power to the power control module 6 according to the second power-off signal. At this point, the controller 3 records the state of the computer as a shutdown state. In the shutdown state, only the basic power supply 1 works to supply power.

可选的,在处理器7断电后,上电指示灯灭,用户可直观的确定当前触发被确定为关机信号,可在观察到上电指示灯灭时松开按键2。Optionally, after the processor 7 is powered off and the power-on indicator is off, the user can intuitively determine that the current trigger is determined as a shutdown signal, and release the button 2 when observing that the power-on indicator is off.

可选的,上述预设开机时长、预设待机时长、预设唤醒时长和预设关机时长可根据用户使用习惯而调整。本实用新型对此不做限定。Optionally, the above-mentioned preset power-on duration, preset standby duration, preset wake-up duration and preset shutdown duration can be adjusted according to the user's usage habits. The utility model is not limited to this.

本实用新型另一方面还提供一种计算机,包括如上述任一实施例中所述的电源控制装置。Another aspect of the present invention also provides a computer, including the power control device as described in any one of the above-mentioned embodiments.

最后应说明的是:以上各实施例仅用以说明本实用新型的技术方案,而非对其限制;尽管参照前述各实施例对本实用新型进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本实用新型各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present utility model, and are not intended to limit it; although the present utility model has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand : It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the various embodiments of the present invention Scope of technical solutions.

Claims (10)

1. a power control, it is characterised in that including: fundamental power supply, button, controller, Recover power supply, working power, energy supply control module and processor;
Described fundamental power supply is connected with described button and described controller respectively, is used for as described button and institute State controller to power;
Described controller by bonded, is used for monitoring the triggering of described button with described;
Described recovery power supply is connected with described controller and described energy supply control module respectively, for according to institute The signal stating controller transmission starts or stops to power to described energy supply control module;
Described working power is connected with described energy supply control module and described processor respectively, for according to institute The signal stating energy supply control module transmission starts or stops to power to described processor;
Described controller is connected with described energy supply control module and described processor the most respectively, for described When the state of processor is duty, meets at the triggering duration monitoring described button and preset standby bar During part, send interrupt signal, described interruption by the connection between described processor to described processor Signal is used for controlling described processor and enters holding state.
Power control the most according to claim 1, it is characterised in that described power supply controls Module is arranged in described processor.
Power control the most according to claim 1, it is characterised in that described controller is also For,
Monitor described button triggering duration meet preset cut-off condition time, described controller by with Connection between described energy supply control module sends the first power-off signal to described energy supply control module, described Described first power-off signal is forwarded to institute by the connection between described working power by energy supply control module Stating working power, described first power-off signal is used for controlling described working power power-off;Described controller leads to Cross connection between described recovery power supply and send the second power-off signal to described recovery power supply, described second Power-off signal is used for controlling described recovery power cut-off.
4. according to the power control described in any one of claims 1 to 3, it is characterised in that described Default waiting condition is:
The triggering duration of described button is more than presetting standby time, and is less than default shutdown duration.
Power control the most according to claim 3, it is characterised in that described default shutdown Condition is:
The triggering duration of described button is more than presetting shutdown duration.
Power control the most according to claim 1, it is characterised in that described controller is also used In,
When the state of described processor is holding state, meet at the triggering duration monitoring described button When presetting wake-up condition, send wake-up signal by the connection between described processor to described processor, Described wake-up signal is used for controlling described processor and resumes work state.
Power control the most according to claim 6, it is characterised in that described default wake-up bars Part is:
The triggering duration of described button wakes up duration up more than presetting, and less than presetting shutdown duration.
Power control the most according to claim 1, it is characterised in that described controller is also used In,
When the state of described processor is off-mode, meet at the button duration monitoring described button When presetting compressor start up condition, send first by the connection between described recovery power supply to described recovery power supply Power supply signal, described first power supply signal is used for controlling described recovery power supply and supplies to described energy supply control module Electricity;
Receive described energy supply control module send power supply complete signal after, described controller by with Connection between described energy supply control module sends the second power supply signal to described energy supply control module, described Described second power supply signal is forwarded to institute by the connection between described working power by energy supply control module Stating working power, described second power supply signal is used for controlling described working power and powers to described processor.
Power control the most according to claim 8, it is characterised in that described default start bar Part is:
The triggering duration of described button is more than presetting start duration.
10. a computer, it is characterised in that include the electricity as described in any one of claim 1 to 9 Source control device.
CN201620331314.4U 2016-04-19 2016-04-19 Power controlling means and computer Expired - Lifetime CN205594571U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620331314.4U CN205594571U (en) 2016-04-19 2016-04-19 Power controlling means and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620331314.4U CN205594571U (en) 2016-04-19 2016-04-19 Power controlling means and computer

Publications (1)

Publication Number Publication Date
CN205594571U true CN205594571U (en) 2016-09-21

Family

ID=56935063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620331314.4U Expired - Lifetime CN205594571U (en) 2016-04-19 2016-04-19 Power controlling means and computer

Country Status (1)

Country Link
CN (1) CN205594571U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508208A (en) * 2018-11-20 2019-03-22 郑州云海信息技术有限公司 A kind of starting up's control method, device, state machine and device storing equipment
CN109832677A (en) * 2019-03-26 2019-06-04 深圳市合元科技有限公司 The control method and electronic cigarette of electronic cigarette
CN114327016A (en) * 2021-11-30 2022-04-12 苏州浪潮智能科技有限公司 NVME disk identification method and related components

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508208A (en) * 2018-11-20 2019-03-22 郑州云海信息技术有限公司 A kind of starting up's control method, device, state machine and device storing equipment
CN109832677A (en) * 2019-03-26 2019-06-04 深圳市合元科技有限公司 The control method and electronic cigarette of electronic cigarette
CN109832677B (en) * 2019-03-26 2024-06-18 深圳市合元科技有限公司 Electronic cigarette control method and electronic cigarette
CN114327016A (en) * 2021-11-30 2022-04-12 苏州浪潮智能科技有限公司 NVME disk identification method and related components
CN114327016B (en) * 2021-11-30 2023-07-14 苏州浪潮智能科技有限公司 A kind of identification method and related components of NVME disk

Similar Documents

Publication Publication Date Title
CN103105915B (en) A kind of repositioning method of intelligent terminal and system
US10394307B2 (en) Information processing apparatus, information processing method, and program
CN101662370B (en) Dormancy/wakening method for server and server with dormancy/wakening function
US8786131B2 (en) Uninterruptible power supply and method for enabling the same to save energy
JP3170264U (en) Power saving electronic device for motherboard and its motherboard
TWI454899B (en) Electronic system and power control method thereof
JP3150567U (en) Electronic device that reduces power consumption when computer motherboard shuts down
CN101013340A (en) Method for reducing power consumption of wireless network interface card
WO2012152202A1 (en) State control method and device, and portable terminal
CN101655733A (en) Method and device for safely sleeping computer in power failure by matching with uninterruptible power supply
CN105487638B (en) Electronic circuit system and method for reducing power consumption
CN103970248A (en) power management circuit and method and computer system
CN205594571U (en) Power controlling means and computer
CN101403943A (en) Intelligent computer power supply integrated system
TWI693513B (en) Server system and power saving method thereof
TWI667569B (en) Computer wake-up method and computer power saving method
CN103700184B (en) The control method of multi-spectral money counting and checking machine machine in multilevel sleep mode
CN108227900B (en) Electronic device, energy-saving control method, energy-saving device, and readable storage medium
CN103488270A (en) Power saving method and electronic device thereof
CN201298200Y (en) Intelligent computer power supply integrated system
TWI451239B (en) Control method applied to computer system in hybrid sleep mode
CN113075991A (en) Control circuit and method based on power supply and startup and shutdown in dual-processor system
US11526203B2 (en) Method for switching power mode of computer device based on detected and determined system state, computer accessory, and computer system applying the method
CN211086971U (en) Micro control unit management circuit
CN101751110B (en) Electronic device for reducing shutdown power consumption of computer mainboard and computer mainboard

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Patentee after: Loongson Zhongke Technology Co.,Ltd.

Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Patentee before: LOONGSON TECHNOLOGY Corp.,Ltd.

CX01 Expiry of patent term

Granted publication date: 20160921