CN108170255B - Control device - Google Patents

Control device Download PDF

Info

Publication number
CN108170255B
CN108170255B CN201810068325.1A CN201810068325A CN108170255B CN 108170255 B CN108170255 B CN 108170255B CN 201810068325 A CN201810068325 A CN 201810068325A CN 108170255 B CN108170255 B CN 108170255B
Authority
CN
China
Prior art keywords
power
power domain
signal
domain
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.)
Active
Application number
CN201810068325.1A
Other languages
Chinese (zh)
Other versions
CN108170255A (en
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.)
CCore Technology Suzhou Co Ltd
Original Assignee
CCore Technology Suzhou Co 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 CCore Technology Suzhou Co Ltd filed Critical CCore Technology Suzhou Co Ltd
Priority to CN201810068325.1A priority Critical patent/CN108170255B/en
Publication of CN108170255A publication Critical patent/CN108170255A/en
Application granted granted Critical
Publication of CN108170255B publication Critical patent/CN108170255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3237Power saving characterised by the action undertaken by disabling clock generation or distribution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Abstract

The invention discloses a control device, which comprises a plurality of power domains, a power supply module and a plurality of switches; the power domains comprise logic circuits for realizing control functions of external devices, and the power domains comprise a first power domain comprising control circuits; the power supply module is used for outputting power to power domains, each power domain is connected with the power supply module, and a switch is connected between each power domain and the power supply module; the control circuit is used for controlling the switch correspondingly connected with the appointed power domain to be switched off to control the power supply to the appointed power domain according to the issued dormancy signal, and is also used for controlling the switch correspondingly connected with the appointed power domain to be switched on to control the power supply to the appointed power domain according to the issued wake-up signal. When the power supply is in the sleep mode, the control circuit in the control device can control the switches correspondingly connected with the other power domains except the first power domain to be disconnected according to the issued sleep signal, and compared with the existing method, the power consumption of the control device in the sleep mode is reduced.

Description

Control device
Technical Field
The invention relates to the field of chip power consumption control, in particular to a control device.
Background
In some low-power-consumption application scenarios, such as applications of automobile body control, fingerprint identification devices, mobile devices, cards and the like, the requirement on power consumption is high, and the control chip can enter a sleep mode under a specific condition to achieve the purpose of saving power consumption. When entering the sleep mode, the other logic circuits stop supplying power except for the circuits which partially store important information and the logic circuits which control the sleep wake-up function.
In the prior art, the low power consumption sleep mode adopted by the chip saves power consumption by a clock gating strategy, namely, a module clock which does not need to work is closed, and the purpose of reducing power consumption is achieved by controlling the module circuit unit not to generate logic inversion. However, this method only reduces the dynamic power consumption, and the static power consumption still exists when the chip enters the sleep mode, and the static power consumption of the chip is not reduced.
Disclosure of Invention
An object of the present invention is to provide a control device that can reduce power consumption in a sleep mode compared to the prior art.
In order to achieve the purpose, the invention provides the following technical scheme:
a power supply control device comprises a plurality of power domains, a power supply module and a plurality of switches;
the power domains comprise logic circuits for realizing control functions of external devices, and the power domains comprise a first power domain comprising control circuits;
the power supply module is used for outputting power to the power domains, each power domain is respectively connected with the power supply module, and the switch is connected between each power domain and the power supply module;
the control circuit is used for controlling the switch correspondingly connected with the appointed power domain to be switched off to control the power supply to the appointed power domain according to the issued dormancy signal, and is also used for controlling the switch correspondingly connected with the appointed power domain to be switched on to control the power supply to the appointed power domain according to the issued wake-up signal.
Optionally, the power supply module includes an output terminal, and each of the power domains is connected to the output terminal.
Optionally, the power supply module includes a plurality of output terminals, the plurality of power domains are respectively connected to the plurality of output terminals in a one-to-one correspondence, and the switch is connected between the power domains and the corresponding output terminals.
Optionally, the power supply module at least includes a first output end and a second output end, and the driving current output by the first output end is smaller than the driving current output by the second output end;
the first power domain is connected with the first output end, other power domains are connected with the first output end, and the power domains are connected with the second output end.
Optionally, the power supply module includes a first output end and a second output end, and the driving current output by the first output end is smaller than the driving current output by the second output end;
the power domains further comprise a second power domain and a third power domain, the first power domain is connected with the first output end, the second power domain is connected with the first output end through a switch, and the third power domain is connected with the second output end through a switch.
Optionally, the control circuit comprises:
the control module is used for sending a reset request signal aiming at a specified power domain to a reset module when a sleep signal aiming at the specified power domain entering a sleep mode is detected and a wake-up signal aiming at the specified power domain is not detected, sending a clock closing request signal aiming at the specified power domain to a clock module when a reset response signal aiming at the specified power domain and output by the reset module is received, generating an isolation control signal aiming at the specified power domain when the clock closing response signal aiming at the specified power domain is received, generating a signal for controlling a switch correspondingly connected with the specified power domain to be opened after a preset time is timed, and outputting the signal to the switch;
the reset module is used for enabling the reset signal of the designated power domain to be effective when receiving the reset request signal aiming at the designated power domain, and correspondingly outputting a reset response signal aiming at the designated power domain;
the clock module is used for turning off the clock of the specified power domain and sending a clock turn-off response signal aiming at the specified power domain when receiving a clock turn-off request signal aiming at the specified power domain;
the wake-up module is used for sending a wake-up signal aiming at a specified power domain to the control module;
the control module is further used for generating a signal for controlling the switch correspondingly connected with the specified power domain to be closed when receiving the wake-up signal aiming at the specified power domain, and outputting the signal to the switch; then after timing preset time, canceling the isolation control signal aiming at the specified power domain; after timing a preset time, sending a reset cancellation request signal aiming at the specified power domain to the reset module;
the reset module is further configured to disable the reset signal of the designated power domain when receiving a reset cancellation request signal for the designated power domain, so that the designated power domain is changed from a reset state to a normal operating state.
Optionally, if the output end of the power supply module connected to the specified power domain is not connected to other power domains requiring power supply, the control circuit is specifically configured to control the switch connected to the specified power domain to be turned off according to the issued sleep signal, and control the corresponding output end of the power supply module to stop outputting power, so as to control to turn off power supply to the specified power domain;
and if the output end of the power supply module connected with the specified power domain stops outputting power, the control circuit is further specifically configured to control the corresponding output end of the power supply module to turn on output power according to the issued wake-up signal, and control the switch correspondingly connected with the specified power domain to be closed, so as to control the switch to turn on power supply to the specified power domain.
Optionally, the control circuit comprises:
a control module for issuing a reset request signal for a power domain to a reset module when a signal for a specified power domain to enter a sleep mode is detected and a wake-up signal for the specified power domain is not detected, and sends a clock off request signal for the specified power domain to a clock module when receiving a reset response signal for the specified power domain output by the reset module, and generates an isolation control signal for the specified power domain upon receiving a clock off acknowledge signal for the specified power domain, after timing the preset time, generating a signal for controlling the switch correspondingly connected with the appointed power domain to be disconnected and outputting the signal to the switch, then after timing preset time, outputting a signal for controlling an output end of the power supply module, which is correspondingly connected with a specified power domain, to stop outputting power to the power supply module;
the reset module is used for enabling the reset signal of the designated power domain to be effective when receiving the reset request signal aiming at the designated power domain, and correspondingly outputting a reset response signal aiming at the designated power domain;
the clock module is used for turning off the clock of the specified power domain and sending a clock turn-off response signal aiming at the specified power domain when receiving a clock turn-off request signal aiming at the specified power domain;
the wake-up module is used for sending a wake-up signal aiming at a specified power domain to the control module;
the control module is further used for outputting a signal for controlling the output end, correspondingly connected with the designated power domain, of the power supply module to start power output to the power supply module when receiving a wake-up signal for the designated power domain, and generating a signal for controlling the switch, correspondingly connected with the designated power domain, of the power supply module to be closed after timing preset time when detecting an indication signal that the output end, correspondingly connected with the designated power domain, of the power supply module outputs power stably; then after timing preset time, canceling the isolation control signal aiming at the specified power domain; after timing a preset time, sending a reset cancellation request signal aiming at the specified power domain to the reset module;
the reset module is further configured to disable the reset signal of the designated power domain when receiving a reset cancellation request signal for the power domain, so that the designated power domain is changed from a reset state to a normal operating state.
Optionally, the clock module comprises:
the crystal oscillator clock is respectively connected with the control module and the timing unit and is used for outputting a clock signal;
and the timing unit is used for inputting a timing pulse signal to the control module.
Optionally, the power supply module comprises a voltage regulator for outputting a voltage to the power domain.
According to the technical scheme, the control device provided by the invention comprises a plurality of power domains, a power supply module and a plurality of switches, wherein each power domain comprises a logic circuit for realizing the control function of an external device, and the plurality of power domains comprise a first power domain comprising a control circuit; the power supply module is used for outputting power to the power domains, each power domain is connected with the power supply module, and a switch is connected between each power domain and the power supply module. The control circuit is used for controlling the switch correspondingly connected with the appointed power domain to be switched off to control the power supply to the appointed power domain according to the issued dormancy signal, and is also used for controlling the switch correspondingly connected with the appointed power domain to be switched on to control the power supply to the appointed power domain according to the issued wake-up signal.
When the power domains are going to enter the sleep mode, the control circuit can control the switches correspondingly connected with the power domains except the first power domain to be disconnected according to the issued sleep signal indicating the power domains to enter the sleep mode, so as to control the power to be cut off and supply power to the power domains except the first power domain, and enable the power domains to stop working. It can be seen that, when entering the sleep mode, each of the other power domains except the first power domain in the control apparatus is in the power-off state, and compared with the existing method, the method avoids the electrostatic power consumption still existing when entering the sleep mode, thereby reducing the power consumption of the control apparatus in the sleep mode.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a control device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a control device according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a control device according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a control circuit of the control device according to the embodiment of the present invention;
FIG. 5 is a state diagram of the control circuit controlling the power domain to switch between the power-down mode and the normal operation mode according to the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a control device, which comprises a plurality of power domains, a power supply module and a plurality of switches;
the power domains comprise logic circuits for realizing control functions of external devices, and the power domains comprise a first power domain comprising control circuits;
the power supply module is used for outputting power to the power domains, each power domain is respectively connected with the power supply module, and the switch is connected between each power domain and the power supply module;
the control circuit is used for controlling the switch correspondingly connected with the appointed power domain to be switched off to control the power supply to the appointed power domain according to the issued dormancy signal, and is also used for controlling the switch correspondingly connected with the appointed power domain to be switched on to control the power supply to the appointed power domain according to the issued wake-up signal.
The power supply module is used for carrying out voltage transformation, voltage stabilization and other processing on the output power of the power supply and outputting the output power to the power supply domain, and when the power supply domain is in a power-on state, a logic circuit contained in the power supply domain can normally run, so that the control function of an external device can be realized.
The power supply system comprises a power supply domain, a power supply module and a power supply module, wherein a switch is correspondingly connected between the power supply domain and the power supply module, and the power supply domain is connected with the power supply module when the switch correspondingly connected with the power supply domain is closed under the condition that the output end of the power supply module outputs electricity; when the switch correspondingly connected with the power domain is disconnected, the power domain is disconnected with the power supply module, and the power domain is in a power-off state.
When the power domains are going to enter the sleep mode, the control circuit can control the switches correspondingly connected with the power domains except the first power domain to be disconnected according to the issued sleep signal indicating the power domains to enter the sleep mode, so as to control the power to be cut off and supply power to the power domains except the first power domain, and enable the power domains to stop working. It can be seen that, when entering the sleep mode, each power domain except the first power domain in the control device is in the power-off state, and compared with the existing method, the method avoids the electrostatic power consumption when entering the sleep mode, thereby reducing the power consumption of the control device in the sleep mode.
In one embodiment, referring to fig. 1, the power supply module 10 includes an output terminal 100, and each of the power domains 11 is connected to the output terminal 100.
The first power domain 11 is connected to the output end 100 of the power supply module, and the power supply module keeps supplying power to the first power domain 11, so as to ensure that the control circuit 12 included in the first power domain operates.
Switches 13 are respectively connected between the other power domains 11 and the output end 100 of the power supply module 10, and when the switch correspondingly connected with the power domain is closed under the condition that the output end 100 of the power supply module outputs electricity, the input electricity to the power domain is started; when a switch corresponding to a power domain is open, power input to the power domain is turned off.
The control circuit 12 controls the switch correspondingly connected to the designated power domain to be turned off to control the power supply to the designated power domain according to the issued sleep signal, and is further configured to control the switch correspondingly connected to the designated power domain to be turned on to control the power supply to the designated power domain according to the issued wake-up signal.
When the power domain is to be in the sleep mode, the control circuit can control the switches correspondingly connected with the other power domains except the first power domain to be disconnected according to the issued sleep signal indicating the entering of the sleep mode, and control the power supply to the other power domains to be switched off.
In another embodiment, referring to fig. 2, the power supply module 20 includes a plurality of output terminals 200, and the plurality of power domains 21 are respectively connected to the plurality of output terminals 200 in a one-to-one correspondence manner.
The first power domain 21 is connected to one of the output terminals 200 of the power supply module 20, so as to maintain power supply to the first power domain 21, and ensure that the control circuit 22 included therein can operate.
A switch 23 is connected between each other power domain 21 and the corresponding output end 200 of the power supply module 20, and when the switch connected with the power domain is closed, the power domain is in a power-on state; when a switch corresponding to a power domain is turned off, power input to the power domain is turned off, and the power domain is in a power-off state.
In practical applications, the control circuit 22 consumes less power, and therefore, the driving current of the output voltage of the output terminal 200 of the power supply module 20 connected to the first power domain can be set correspondingly to be smaller. In specific implementation, the control circuit 22 includes as few logic circuits as possible, so long as the whole device can normally enter the sleep mode and be woken up normally, so as to ensure that power consumption is saved to the maximum extent in the sleep mode.
For the other outputs of the power supply module 20, each power domain is connected to an output that outputs a drive current that matches its requirements.
Therefore, in this embodiment, the power supply module supplies power to each power domain independently, each power domain may be connected to an output terminal of the power supply module, which outputs a driving current matching with the power domain, and each output terminal provides a driving current matching with the power domain, so as to flexibly supply power to each power domain.
In this embodiment, the way for the control circuit 22 to control the power domain to be powered on or powered off may be: the control circuit 22 controls the switch correspondingly connected to the designated power domain to be turned off according to the issued sleep signal to control the power supply to the designated power domain to be turned off, and is further configured to control the switch correspondingly connected to the designated power domain to be turned on according to the issued wake-up signal to control the power supply to the designated power domain to be turned on.
In this embodiment, each power domain is connected to each output end of the power supply module in a one-to-one correspondence manner, and further, the manner of controlling the power domain to be powered on or powered off by the control circuit 22 may also be: the control circuit 22 is specifically configured to control, according to the issued sleep signal, the switch correspondingly connected to the specified power domain to be turned off, and control the corresponding output end of the power supply module to stop outputting power, so as to control to turn off power supply to the specified power domain; the control circuit 22 is further configured to control, according to the issued wake-up signal, the switch correspondingly connected to the designated power domain to be turned on, and control the corresponding output terminal on the power supply module to turn on the output power, so as to control the power supply to the designated power domain to be turned on.
In the control mode, when the appointed power domain is controlled to enter the sleep mode, the switch correspondingly connected with the appointed power domain is controlled to be disconnected, and the output end of the power supply module correspondingly connected with the power domain is controlled to stop outputting power, so that the power consumption is reduced.
In another embodiment, the power supply module includes at least a first output terminal and a second output terminal, and the driving current output by the first output terminal is smaller than the driving current output by the second output terminal; the first power domain is connected with the first output end, other power domains are connected with the first output end, and the power domains are connected with the second output end.
In this embodiment, the first output end and the second output end of the power supply module output voltages of different driving currents, the power domains with lower power consumption can be connected with the first output end, and the power domains with high power consumption can be connected with the second output end, so that the power supply requirements of the power domains can be met, the power supply is flexible, and the power consumption can be effectively reduced.
In this embodiment, the manner in which the control circuit controls the power domain to be powered on or powered off may be: the control circuit controls the switch correspondingly connected with the appointed power domain to be switched off according to the issued dormancy signal so as to control the switch to supply power to the appointed power domain, and is also used for controlling the switch correspondingly connected with the appointed power domain to be switched on according to the issued wake-up signal so as to control the switch to supply power to the appointed power domain.
Further, if the output end of the power supply module connected to the designated power domain is not connected to other power domains requiring power supply, the control circuit is specifically configured to control the switch correspondingly connected to the designated power domain to be turned off according to the issued sleep signal, and control the corresponding output end of the power supply module to stop outputting power, so as to control the power supply to the designated power domain to be turned off; and if the output end of the power supply module connected with the specified power domain stops outputting power, the control circuit is further specifically configured to control the corresponding output end of the power supply module to turn on output power according to the issued wake-up signal, and control the switch correspondingly connected with the specified power domain to be closed, so as to control the switch to turn on power supply to the specified power domain. This helps to reduce power consumption.
Specifically referring to fig. 3, in an embodiment, the power supply module 30 includes a first output terminal 300 and a second output terminal 301, and the driving current output by the first output terminal 300 is smaller than the driving current output by the second output terminal 301; the plurality of power domains comprises a first power domain 310 comprising a control circuit 32, a second power domain 311 and a third power domain 312, wherein the first power domain 310 is connected to the first output terminal 300, the second power domain 301 is connected to the first output terminal 300 through a switch 33, and the third power domain 302 is connected to the second output terminal 301 through a switch 33.
In the control device of the present embodiment, for the first power domain 310 and the second power domain 311 which require smaller supply current, the first output terminal 300 which outputs smaller driving current is connected to transmit power to the first output terminal; for the third power domain 312, which consumes more power, it is powered by the second output terminal.
In the control device of this embodiment, if the control circuit controls to turn on or turn off the power supply to the designated power domain according to the issued signal, the method is as follows: controlling the switch correspondingly connected with the designated power domain to be switched on or switched off, and then the processing procedure of the control circuit is as follows:
referring to fig. 4, the control circuit includes: a control module 400, configured to, when a sleep signal for a specific power domain entering a sleep mode is detected and a wake-up signal for the specific power domain is not detected, send a reset request signal for the specific power domain to a reset module 401, and when a reset response signal for the specific power domain output by the reset module 401 is received, send a clock turn-off request signal for the specific power domain to a clock module 402, and when a clock turn-off response signal for the specific power domain is received, generate an isolation control signal for the specific power domain, and after a preset time is counted, generate a signal for controlling a switch connected to the specific power domain to turn off, and output the signal to the switch;
the reset module 401 is configured to enable a reset signal of the designated power domain when receiving a reset request signal for the designated power domain, and correspondingly output a reset response signal for the designated power domain;
the clock module 402 is configured to, when receiving a clock turn-off request signal for the specified power domain, turn off a clock of the specified power domain, and send a clock turn-off response signal for the specified power domain;
a wake-up module 403, configured to send a wake-up signal for a specific power domain to the control module 400;
the control module 400 is further configured to generate a signal for controlling a switch correspondingly connected to a specific power domain to be closed when receiving a wake-up signal for the specific power domain, and output the signal to the switch; then after timing preset time, canceling the isolation control signal aiming at the specified power domain; after a preset time is timed, a reset cancellation request signal for the specified power domain is sent to the reset module 401;
the reset module 401 is further configured to disable the reset signal of the designated power domain when receiving a reset cancellation request signal for the designated power domain, so that the designated power domain is changed from a reset state to a normal operating state.
If the control circuit controls the on or off of the power supply to the designated power domain according to the issued signal, the method comprises the following steps: the control circuit controls the switch correspondingly connected with the designated power domain to be disconnected and controls the corresponding output end in the power supply module to stop outputting power according to the issued sleep signal so as to control to cut off power supply to the designated power domain, and controls the switch correspondingly connected with the designated power domain to be closed and controls the corresponding output end in the power supply module to open and output power according to the issued wake-up signal so as to control to open and supply power to the designated power domain, so that the processing process of the control circuit is as follows:
referring to fig. 4, the control circuit includes:
a control module 400 for, upon detecting a sleep signal for a given power domain to enter a sleep mode, and a wake-up signal for the specified power domain is not detected, a reset request signal for the specified power domain is issued to the reset module 401, and upon receiving a reset acknowledge signal for the specified power domain output by the reset module 401, a clock off request signal for the specified power domain is issued to the clock module 402, and generates an isolation control signal for the specified power domain upon receiving a clock off acknowledge signal for the specified power domain, after timing the preset time, generating a signal for controlling the switch correspondingly connected with the appointed power domain to be disconnected and outputting the signal to the switch, then after timing preset time, outputting a signal for controlling an output end of the power supply module, which is correspondingly connected with a specified power domain, to stop outputting power to the power supply module;
the reset module 401 is configured to enable a reset signal of the designated power domain when receiving a reset request signal for the designated power domain, and correspondingly output a reset response signal for the designated power domain;
the clock module 402 is configured to, when receiving a clock turn-off request signal for the specified power domain, turn off a clock of the specified power domain, and send a clock turn-off response signal for the specified power domain;
a wake-up module 403, configured to send a wake-up signal for a specific power domain to the control module 400;
the control module 400 is further configured to, when receiving a wake-up signal for a specific power domain, output a signal to the power supply module, where the signal is used to control an output end of the power supply module, which is correspondingly connected to the specific power domain, to turn on and output power, and when detecting that an indication signal that the output end of the power supply module, which is connected to the specific power domain, outputs power stably is detected, generate a signal for controlling a switch, which is correspondingly connected to the specific power domain, to turn on after timing for a preset time, and output the signal to the switch; then after timing preset time, canceling the isolation control signal aiming at the specified power domain; after a preset time is timed, a reset cancellation request signal for the specified power domain is sent to the reset module 401;
the reset module 401 is further configured to disable the reset signal of the designated power domain when receiving a reset cancellation request signal for the designated power domain, so that the designated power domain is changed from a reset state to a normal operating state.
In the above-described processing procedure, the control module 400 generates an isolation control signal for the specified power domain, and issues the isolation control signal to the other power domains in the power supply state that receive the specified power domain signal, so that the other power domains form isolation for the specified power domain. So as to avoid interference and influence on other power domains after the power failure of the specified power domain.
The following describes in detail the processing procedure of the control circuit in the control device of this embodiment for controlling the power domain to switch from the normal operation mode to the power-off mode and from the power-off mode to the normal operation mode with reference to the control state diagram,
referring to fig. 5, the specific process of the control circuit controlling the designated power domain to switch from the normal operating mode to the power-off mode includes:
when in the default state, entering a reset request state for a specified power domain when a signal for entering a sleep mode for the specified power domain is detected;
when the power supply is in the reset request state, if a wake-up signal aiming at the specified power supply domain sent by the wake-up module 403 is received, the power supply jumps to the default state, otherwise, a reset request signal aiming at the specified power supply domain is sent to the reset module 401, so that the reset module 401 sends a reset signal to the specified power supply domain to change the specified power supply domain into the reset state; and when receiving a reset response signal for a specified power domain output by the reset module 401, jumping to a clock off state;
when the clock is in the off state, a clock off request signal for the designated power domain is sent to the clock module 402, so that the clock module 402 turns off the clock of the designated power domain; and jumping to an isolated state when receiving a clock off response signal;
when the power supply is in an isolated state, generating an isolation control signal of a designated power supply domain, and jumping to a switch-off state after timing preset time;
when the switch is in an off state, generating a signal for controlling the switch correspondingly connected with the designated power domain to be switched off, and outputting the signal to the switch to switch off the switch; after timing preset time, jumping to a power-off state;
when the power supply module is in a power-off state, if the control circuit controls the mode of turning off the power supply to the designated power domain according to the issued signal, namely controls the switch correspondingly connected with the designated power domain to be switched off and needs to control the corresponding output end in the power supply module to stop outputting power, a signal for controlling the output end connected with the designated power domain in the power supply module to stop outputting power is output to the power supply module, and the designated power domain is in a power-off mode; if the control circuit controls the power supply to the designated power domain to be turned off according to the issued signal in a manner of controlling the switch correspondingly connected with the designated power domain to be turned off, a signal for controlling the output end of the power supply module connected with the designated power domain to stop outputting power is not required to be output to the power supply module in the state.
Referring to fig. 5, the specific process of the control circuit controlling the power domain to switch from the power-off mode to the normal operating mode includes:
when the wake-up signal is detected, if the output end connected with the designated power domain in the power supply module stops outputting power, a signal for controlling the output end connected with the designated power domain in the power supply module to start outputting power is output to the power supply module, and the power supply state is jumped to; if the output end of the power supply module connected with the designated power domain outputs electricity normally, directly jumping to a power supply state;
when the power supply module is in a power supply state, when an indication signal that the output end of the power supply module, which is connected with a specified power domain, outputs power stably is received, the power supply module is timed for a preset time and then jumps to a switch-on state;
when the switch is in the switch on state, generating a signal for controlling the switch correspondingly connected with the designated power domain to be switched on, outputting the signal to the switch to switch on the switch, and jumping to the isolation switch state after timing preset time;
when the power supply is in an isolation state, canceling an isolation control signal aiming at a specified power supply domain, and jumping to a reset closing request state aiming at the specified power supply domain after timing preset time;
when the power supply is in the reset closing request state, a reset canceling request signal is sent to the reset module 401, so that the reset signal sent to the designated power supply domain by the reset module 401 is invalid, and the designated power supply domain is converted into a normal working state. The control state machine jumps to a default state.
Further, in the control device of each of the above embodiments, the clock module includes:
the crystal oscillator clock is respectively connected with the control module and the timing unit and is used for outputting a clock signal;
and the timing unit is used for inputting a timing pulse signal to the control module.
The control circuit also comprises a storage unit SRAM which is used for storing important information of the chip.
In the control device, the power supply module comprises a voltage stabilizer for outputting voltage so as to ensure that the power supply module outputs stable voltage to the control module or each power domain.
The above description describes a control device provided by the present invention in detail. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (9)

1. A control device is characterized by comprising a plurality of power domains, a power supply module and a plurality of switches;
the power domains comprise logic circuits for realizing control functions of external devices, and the power domains comprise a first power domain comprising control circuits;
the power supply module is used for outputting power to the power domains, each power domain is respectively connected with the power supply module, and the switch is connected between each power domain and the power supply module;
the control circuit is used for controlling the switch correspondingly connected with the appointed power domain to be switched off to control the power supply to the appointed power domain according to the issued dormancy signal, and is also used for controlling the switch correspondingly connected with the appointed power domain to be switched on to control the power supply to the appointed power domain according to the issued wake-up signal;
the control circuit includes:
the control module is used for sending a reset request signal aiming at a specified power domain to a reset module when a sleep signal aiming at the specified power domain entering a sleep mode is detected and a wake-up signal aiming at the specified power domain is not detected, sending a clock closing request signal aiming at the specified power domain to a clock module when a reset response signal aiming at the specified power domain and output by the reset module is received, generating an isolation control signal aiming at the specified power domain when the clock closing response signal aiming at the specified power domain is received, generating a signal for controlling a switch correspondingly connected with the specified power domain to be opened after a preset time is timed, and outputting the signal to the switch;
the reset module is used for enabling the reset signal of the designated power domain to be effective when receiving the reset request signal aiming at the designated power domain, and correspondingly outputting a reset response signal aiming at the designated power domain;
the clock module is used for turning off the clock of the specified power domain and sending a clock turn-off response signal aiming at the specified power domain when receiving a clock turn-off request signal aiming at the specified power domain;
the wake-up module is used for sending a wake-up signal aiming at a specified power domain to the control module;
the control module is further used for generating a signal for controlling the switch correspondingly connected with the specified power domain to be closed when receiving the wake-up signal aiming at the specified power domain, and outputting the signal to the switch; then after timing preset time, canceling the isolation control signal aiming at the specified power domain; after timing a preset time, sending a reset cancellation request signal aiming at the specified power domain to the reset module;
the reset module is further configured to disable the reset signal of the designated power domain when receiving a reset cancellation request signal for the designated power domain, so that the designated power domain is changed from a reset state to a normal operating state.
2. The control device of claim 1, wherein the power module includes an output terminal, and each of the power domains is connected to the output terminal.
3. The control device of claim 1, wherein the power supply module comprises a plurality of output terminals, a plurality of power domains are respectively connected with the plurality of output terminals in a one-to-one correspondence, and the switch is connected between the power domains and the corresponding output terminals.
4. The control device of claim 1, wherein the power supply module comprises at least a first output terminal and a second output terminal, the first output terminal outputting a driving current smaller than the driving current output by the second output terminal;
the first power domain is connected with the first output end, other power domains are connected with the first output end, and the power domains are connected with the second output end.
5. The control device of claim 1, wherein the power supply module comprises a first output terminal and a second output terminal, the first output terminal outputting a driving current smaller than the driving current output by the second output terminal;
the power domains further comprise a second power domain and a third power domain, the first power domain is connected with the first output end, the second power domain is connected with the first output end through a switch, and the third power domain is connected with the second output end through a switch.
6. The control device according to any one of claims 1 to 5, wherein if the output end of the power supply module connected to the specified power domain is not connected to another power domain that needs to supply power, the control circuit is specifically configured to control, according to a delivered sleep signal, the switch connected to the specified power domain to be turned off, and control the corresponding output end of the power supply module to stop outputting power, so as to control to turn off power supply to the specified power domain;
and if the output end of the power supply module connected with the specified power domain stops outputting power, the control circuit is further specifically configured to control the corresponding output end of the power supply module to turn on output power according to the issued wake-up signal, and control the switch correspondingly connected with the specified power domain to be closed, so as to control the switch to turn on power supply to the specified power domain.
7. The control device of claim 6, wherein the control circuit comprises:
a control module for issuing a reset request signal for a power domain to a reset module when a signal for a specified power domain to enter a sleep mode is detected and a wake-up signal for the specified power domain is not detected, and sends a clock off request signal for the specified power domain to a clock module when receiving a reset response signal for the specified power domain output by the reset module, and generates an isolation control signal for the specified power domain upon receiving a clock off acknowledge signal for the specified power domain, after timing the preset time, generating a signal for controlling the switch correspondingly connected with the appointed power domain to be disconnected and outputting the signal to the switch, then after timing preset time, outputting a signal for controlling an output end of the power supply module, which is correspondingly connected with a specified power domain, to stop outputting power to the power supply module;
the reset module is used for enabling the reset signal of the designated power domain to be effective when receiving the reset request signal aiming at the designated power domain, and correspondingly outputting a reset response signal aiming at the designated power domain;
the clock module is used for turning off the clock of the specified power domain and sending a clock turn-off response signal aiming at the specified power domain when receiving a clock turn-off request signal aiming at the specified power domain;
the wake-up module is used for sending a wake-up signal aiming at a specified power domain to the control module;
the control module is further used for outputting a signal for controlling the output end, correspondingly connected with the designated power domain, of the power supply module to start power output to the power supply module when receiving a wake-up signal for the designated power domain, and generating a signal for controlling the switch, correspondingly connected with the designated power domain, to be closed after timing preset time when detecting an indication signal that the output end, correspondingly connected with the designated power domain, of the power supply module outputs power stably; then after timing preset time, canceling the isolation control signal aiming at the specified power domain; after timing a preset time, sending a reset cancellation request signal aiming at the specified power domain to the reset module;
the reset module is further configured to disable the reset signal of the designated power domain when receiving a reset cancellation request signal for the power domain, so that the designated power domain is changed from a reset state to a normal operating state.
8. The control device of claim 1, wherein the clock module comprises:
the crystal oscillator clock is respectively connected with the control module and the timing unit and is used for outputting a clock signal;
and the timing unit is used for inputting a timing pulse signal to the control module.
9. The control apparatus of claim 1, wherein the power supply module comprises a voltage regulator for outputting a voltage to the power domain.
CN201810068325.1A 2018-01-24 2018-01-24 Control device Active CN108170255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810068325.1A CN108170255B (en) 2018-01-24 2018-01-24 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810068325.1A CN108170255B (en) 2018-01-24 2018-01-24 Control device

Publications (2)

Publication Number Publication Date
CN108170255A CN108170255A (en) 2018-06-15
CN108170255B true CN108170255B (en) 2020-07-03

Family

ID=62515336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810068325.1A Active CN108170255B (en) 2018-01-24 2018-01-24 Control device

Country Status (1)

Country Link
CN (1) CN108170255B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109933846A (en) * 2019-01-29 2019-06-25 厦门码灵半导体技术有限公司 The control system and its power control method of super low-power consumption, electronic device
CN110908493A (en) * 2019-11-15 2020-03-24 浙江大华技术股份有限公司 Power supply control method and device
CN112947738A (en) * 2019-12-10 2021-06-11 珠海全志科技股份有限公司 Intelligent terminal power supply system and intelligent terminal standby and wake-up method
CN113660713A (en) * 2020-05-12 2021-11-16 大唐移动通信设备有限公司 Active antenna processing unit, and method and device for switching working state
CN114003079B (en) * 2020-07-28 2023-08-08 瑞昱半导体股份有限公司 Circuit applied to multiple power domains

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251870A (en) * 2008-03-21 2008-08-27 北京中星微电子有限公司 Method for emulation to validate isolated unit in multi-power supply field
CN101251766A (en) * 2008-03-21 2008-08-27 北京中星微电子有限公司 Multimedia processing platform chip
CN103245869A (en) * 2013-04-10 2013-08-14 福州瑞芯微电子有限公司 Detecting method for integrated circuit power supply base pin short circuit judging
CN104914967A (en) * 2015-06-10 2015-09-16 福州瑞芯微电子有限公司 Power domain reset controlling method and device
CN105988493A (en) * 2015-01-29 2016-10-05 中芯国际集成电路制造(上海)有限公司 Voltage regulating device and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101858159B1 (en) * 2012-05-08 2018-06-28 삼성전자주식회사 Multi-cpu system and computing system having the same
US9425792B2 (en) * 2013-07-29 2016-08-23 Texas Instruments Incorporated Reconfigurable power switch chains for efficient dynamic power saving

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251870A (en) * 2008-03-21 2008-08-27 北京中星微电子有限公司 Method for emulation to validate isolated unit in multi-power supply field
CN101251766A (en) * 2008-03-21 2008-08-27 北京中星微电子有限公司 Multimedia processing platform chip
CN103245869A (en) * 2013-04-10 2013-08-14 福州瑞芯微电子有限公司 Detecting method for integrated circuit power supply base pin short circuit judging
CN105988493A (en) * 2015-01-29 2016-10-05 中芯国际集成电路制造(上海)有限公司 Voltage regulating device and method
CN104914967A (en) * 2015-06-10 2015-09-16 福州瑞芯微电子有限公司 Power domain reset controlling method and device

Also Published As

Publication number Publication date
CN108170255A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN108170255B (en) Control device
US9395797B2 (en) Microcontroller with multiple power modes
CN103490758B (en) For selecting the circuit and method of power supply
US9252774B2 (en) Integrated circuit wake-up control system
US11139511B2 (en) Control circuit, battery having the control circuit and battery control method
CN114072984B (en) Battery management apparatus
KR20120127263A (en) Supplying a clock signal and a gated clock signal to synchronous elements
KR20060087716A (en) Memory device
US11372470B2 (en) Control system for controlling intelligent system to reduce power consumption based on bluetooth device
US20140013135A1 (en) System and method of controlling a power supply
CN101771755B (en) Electricity-saving control device for baseband chip of mobile terminal
CN114839909A (en) Low-power-consumption control system and interaction method in low-power-consumption control system
CN113595053A (en) Low-power consumption sensing chip of no clock standby
CN107226044B (en) Control system of electric control component
CN216290864U (en) Power supply switch circuit
CN214929515U (en) Wake-up circuit, PCB and electronic device
US5569965A (en) Control method for reducing quiescent current
CN213693148U (en) Novel radar sensor timesharing power saving circuit
CN219718089U (en) Power-on and/or power-off control device and electronic equipment
JP2001077313A (en) Integrated circuit device
JP6956036B2 (en) Semiconductor devices and circuit control methods
KR100728555B1 (en) Apparatus for Supplying Power-up Signal in Semiconductor Integrated Circuit
JP2023104213A (en) On-vehicle system, management device, and management method
CN108241399B (en) Power consumption step suppression circuit
EP2275964B1 (en) Electronic circuit with capacitor

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 215011 23rd Floor, Building 3, Suzhou Pioneer Park, 209 Zhuyuan Road, Suzhou High-tech Zone, Jiangsu Province

Applicant after: Suzhou Guoxin Technology Co., Ltd.

Address before: 215011 23rd Floor, Building 3, Suzhou Pioneer Park, 209 Zhuyuan Road, Suzhou High-tech Zone, Jiangsu Province

Applicant before: Suzhou Guoxin Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant