CN107066250A - Power control circuit, electric equipment and power consumption control method - Google Patents
Power control circuit, electric equipment and power consumption control method Download PDFInfo
- Publication number
- CN107066250A CN107066250A CN201710006253.3A CN201710006253A CN107066250A CN 107066250 A CN107066250 A CN 107066250A CN 201710006253 A CN201710006253 A CN 201710006253A CN 107066250 A CN107066250 A CN 107066250A
- Authority
- CN
- China
- Prior art keywords
- chip
- power consumption
- control
- low
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000002618 waking effect Effects 0.000 claims abstract description 7
- 230000005540 biological transmission Effects 0.000 claims description 15
- 239000013256 coordination polymer Substances 0.000 claims description 14
- 238000000465 moulding Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Abstract
The invention provides a kind of power control circuit, electric equipment and power consumption control method.The power control circuit includes control module, writing module and latch module;The control module is used for the operation that the clock source for turning off the chip is performed when receiving low power consumption control instruction, and the operation for sending the operation of the first control signal to the writing module and the clock source for opening the chip being performed when receiving and waking up reset instruction is performed while the clock source of the chip is turned off;The writing module is used to perform the operation for sending write signal to the latch module when receiving first control signal;The latch module is used to when the chip is in low-power consumption mode and exited latch low-power consumption mode mark after low-power consumption mode.The present invention can turn off the clock source of chip when receiving low power consumption control instruction, and after follow-up chip is reset and wakes up and exit low-power consumption mode, it is possible to achieve the low-power consumption mode mark of latch will not be waken up reset instruction removing.
Description
Technical field
The present invention relates to power consumption control techniques field, and in particular to a kind of power control circuit, electric equipment and power consumption control
Method processed.
Background technology
By the function to be realized of integrated circuit becomes increasingly complex, number of transistors is more and more, and the electric energy of chip disappears
Consumption also increases therewith.But the epoch increasingly popularized in current Internet of Things and portable equipment, battery volume requirement is less and less,
Stand-by time to equipment but requires more and more longer, so require that the power consumption of chip is low as far as possible, therefore it is required that chip exists
Enter low-power consumption mode when idle, to reduce power consumption.
, it is necessary to which related mark records such a state after chip enters low-power consumption mode, when chip exit it is low
During power consumption mode, the CPU of chip is by reading the related mark to determine currently to be waken up by low-power consumption mode, afterwards
It may need to carry out some operations.Because clock source can be typically also switched off by low-power consumption mode, therefore chip will pass through correlation
Reset can be just waken up, but the reset signal also cannot fall previous flag bit to reset.
The content of the invention
Based on above-mentioned present situation, it is a primary object of the present invention to provide a kind of power control circuit, electric equipment and power consumption
Control method, can realize that the low-power consumption mode mark latched will not after chip is reset and wakes up and exit low-power consumption mode
It is waken up the purpose of reset instruction removing.
In order to solve the above technical problems, technical scheme provides a kind of power control circuit, for controlling core
The power consumption of piece, the power control circuit includes:Control module, writing module and latch module;
The control module is used for the behaviour that the clock source of the shut-off chip is performed when receiving low power consumption control instruction
Make, the chip is entered low-power consumption mode, and performed while the clock source of the chip is turned off to said write module
Send the operation of the first control signal and the behaviour for the clock source for opening the chip is performed when receiving and waking up reset instruction
Make, the chip is exited low-power consumption mode;
Said write module, which is used to perform when receiving first control signal to send to the latch module, to be write
The operation of signal, makes the latch module write-in low-power consumption mode mark;
The latch module is used for when the chip is in low-power consumption mode and exited latch after low-power consumption mode
The low-power consumption mode mark, when the chip exits low-power consumption mode, the central processing unit of the chip is by reading
The low-power consumption mode mark for stating latch module latch determines that presently described chip is waken up by low-power consumption mode.
Preferably, on the chip reset when, the latch module performs the operation reset to reset itself.
Preferably, the control module includes the first control unit and the second control unit;
First control unit is used to perform when receiving the low power consumption control instruction to the described second control list
Member sends the second control signal, the operation of first control signal is sent to said write module and described call out is being received
The operation that the 3rd control signal is sent to second control unit is performed during awake reset instruction;
Second control unit is used for the clock that the shut-off chip is performed when receiving second control signal
The operation in source, makes the chip enter low-power consumption mode, and performed when receiving three control signal described in opening
The operation of the clock source of chip, makes the chip exit low-power consumption mode.
Preferably, on the chip reset when, first control unit perform to second control unit send out
The operation of the 4th control signal is sent, so that second control unit opens the clock source.
Preferably, first control unit includes the first d type flip flop, the first phase inverter and the second phase inverter;
The Q ends of first d type flip flop input respectively with first phase inverter, the input of second phase inverter
End is connected, and the CP ends of first d type flip flop are connected by second control unit with the clock source of the chip, so that institute
State the clock signal that the first d type flip flop receives the clock source of the chip under the control of second control unit, described
The D ends of one d type flip flop are used to receive the low power consumption control instruction, and the CLR ends of first d type flip flop are used to receive described call out
Awake reset instruction;
The output end of first reverser is connected with second control unit, and the output end of first reverser is used
In sending second control signal and the 3rd control signal to second control unit;
The output end of second phase inverter is connected with said write module, the output end of second phase inverter be used for
Said write module sends first control signal.
Preferably, second control unit includes Clock gating;
The Enable Pin of the Clock gating is connected with first control unit, and the Enable Pin of the Clock gating is used to connect
Receive second control signal and the 3rd control signal that first control unit is sent, the input of the Clock gating
The clock source of the end connection chip, the letter that the output end of the Clock gating is received according to the Enable Pin of the Clock gating
The clock signal of the clock source of number output chip.
Preferably, said write module includes the second d type flip flop and 3d flip-flop;
The CP ends of second d type flip flop and the CP ends of the 3d flip-flop by second control unit with
The clock source of the chip is connected, so that second d type flip flop and the 3d flip-flop are in second control unit
The clock signal of the lower clock source for receiving the chip of control;
CLR ends, the CLR ends of the 3d flip-flop of second d type flip flop are connected with first control unit,
The CLR ends of second d type flip flop and the CLR ends of the 3d flip-flop are used to receive what first control unit was sent
First control signal;
The Q ends of second d type flip flop are connected with the D ends of the 3d flip-flop;
The Q ends of the 3d flip-flop are connected with the latch module, and the Q ends of the 3d flip-flop are used for described
Latch module sends said write signal.
Preferably, the latch module includes four d flip-flop;
The CP ends of the four d flip-flop are connected by second control unit with the clock source of the chip, so that
The four d flip-flop receives the clock signal of the clock source of the chip under the control of second control unit, described
The SET ends connection said write module of four d flip-flop, the SET ends of the four d flip-flop are used to receive said write module
The said write signal of transmission, the Q ends of the four d flip-flop are used for the central processing unit for connecting the chip.
Preferably, in addition to:Module is removed, the removing module is used for after the chip exits low-power consumption mode,
Performed in the clearance order that the central processing unit for receiving the chip is sent to the latch module and send clear signal
Operation, to remove the low-power consumption mode mark that the latch module is latched.
Preferably, the removing module includes and door and the 3rd reverser, the input and the described 3rd with door
The output end of reverser is connected, and the input of the 3rd reverser is used to receive the institute that the central processing unit of the chip is sent
Clearance order is stated, the output end with door is used to send the clear signal to the latch module.
In order to solve the above technical problems, present invention also offers a kind of electric equipment, including above-mentioned power control circuit.
In order to solve the above technical problems, present invention also offers a kind of power consumption control method, including:
S1:Control module performs the operation of the clock source of shut-off chip when receiving low power consumption control instruction, makes described
Chip enters low-power consumption mode, and is performed while the clock source of the chip is turned off to writing module transmission the first control letter
Number operation, said write module performed when receiving first control signal to latch module send write signal behaviour
Make, make the latch module write-in low-power consumption mode mark and latch;
S2:The control module performs the operation for the clock source for opening the chip when receiving and waking up reset instruction,
The chip is set to exit low-power consumption mode, wherein, the latch module is when the chip is in low-power consumption mode and exits
The low-power consumption mode mark is latched after low-power consumption mode, when the chip exits low-power consumption mode, in the chip
Central processor determines that presently described chip is by low work(by reading the low-power consumption mode mark that the latch module is latched
Consumption pattern is waken up.
Preferably, also include before step S1:
On the chip during reset, the latch module performs the operation reset to reset itself.
Preferably, step S1 includes:
S11:First control unit performs to the second control unit when receiving low power consumption control instruction and sends the
Two control signals, the operation to said write module transmission first control signal;
S12:Second control unit performs the clock for turning off the chip when receiving second control signal
The operation in source, makes the chip enter low-power consumption mode, and said write module is performed when receiving first control signal
The operation of write signal is sent to the latch module, makes the latch module write-in low-power consumption mode mark and latches.
Preferably, step S2 includes:
S21:First control unit is performed to second control unit when receiving the wake-up reset instruction
Send the operation of the 3rd control signal;
S22:Second control unit performs the clock for opening the chip when receiving three control signal
The operation in source, makes the chip exit low-power consumption mode.
Preferably, also include before step S1:
On the chip during reset, first control unit performs to second control unit and sends the 4th control
The operation of signal processed, so that second control unit opens the clock source.
Preferably, also include upon step s 2:
After the chip exits low-power consumption mode, remove module and sent in the central processing unit for receiving the chip
Clearance order when perform the operation that clear signal is sent to the latch module, to remove described in the latch module latches
Low-power consumption mode mark.
The power control circuit that the present invention is provided, it is possible to achieve receive low power consumption control instruction when shut-off chip when
Zhong Yuan, makes the chip enter low-power consumption mode, and after follow-up chip is reset and wakes up and exit low-power consumption mode, Ke Yishi
The low-power consumption mode mark now latched will not be waken up the purpose of reset instruction removing.
Brief description of the drawings
Hereinafter with reference to accompanying drawing to being described according to the present invention.In figure:
Fig. 1 is a kind of structural representation for power control circuit that embodiment of the present invention is provided;
Fig. 2 is the structural representation for another power control circuit that embodiment of the present invention is provided;
Fig. 3 is the circuit knot of a preferred specific embodiment of the power control circuit that embodiment of the present invention is provided
Structure schematic diagram.
Embodiment
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic diagram for power control circuit that embodiment of the present invention is provided, the power consumption control
Circuit is used for the power consumption of control chip, and the power control circuit includes control module 100, writing module 200 and latch module
300;
The control module 100 is used for the clock source that the shut-off chip is performed when receiving low power consumption control instruction
Operation, makes the chip enter low-power consumption mode, and performed while the clock source of the chip is turned off to said write mould
Block 200 sends the operation of the first control signal and the clock source for opening the chip is performed when receiving and waking up reset instruction
Operation, the chip is exited low-power consumption mode, for example, the low power consumption control instruction can be the chip central processing unit
The instruction sent, the instruction that the wake-up reset instruction can send for external circuit;
Said write module 200, which is used to perform when receiving first control signal to send to the latch module, to be write
Enter the operation of signal, make the latch module write-in low-power consumption mode mark;
The latch module 300 is used for when the chip is in low-power consumption mode and exited lock after low-power consumption mode
The low-power consumption mode mark is deposited, when the chip exits low-power consumption mode, the central processing unit of the chip is by reading
The low-power consumption mode mark that the latch module is latched determines that presently described chip is waken up by low-power consumption mode.
The power control circuit that embodiment of the present invention is provided, it is possible to achieve turned off when receiving low power consumption control instruction
The clock source of chip, makes the chip enter low-power consumption mode, and is reset in follow-up chip and wake-up and exits low-power consumption mode
Afterwards, it is possible to achieve the low-power consumption mode mark of latch will not be waken up the purpose of reset instruction removing.
Wherein, for above-mentioned power control circuit, on the chip during reset, the latch module is performed to certainly
Body resets the operation reset.
Preferably, the power control circuit that embodiment of the present invention is provided can also include removing module, the removing mould
Block is used for after the chip exits low-power consumption mode, the clearance order sent in the central processing unit for receiving the chip
Shi Zhihang sends the operation of clear signal to the latch module, to remove the low-power consumption mode that the latch module is latched
Mark.It can realize that the low-power consumption mode mark can actively be removed by the central processing unit of chip by the removing module.
Referring to Fig. 2, Fig. 2 is the schematic diagram for another power control circuit that embodiment of the present invention is provided, the power consumption control
Circuit processed is used for the power consumption of control chip, and the power control circuit includes control module 100, writing module 200, latch module
300 and remove module 400;
Wherein, the control module 100 includes the first control unit 110 and the second control unit 120;
First control unit 110 is used to perform to second control unit when receiving low power consumption control instruction
120 send the second control signals, the operation of first control signal are sent to said write module 200 and receiving
The operation for being performed when waking up reset instruction and the 3rd control signal being sent to second control unit 120 is stated, for example, the low-power consumption
The instruction that control instruction can send for the central processing unit of the chip, what the wake-up reset instruction can send for external circuit
Instruction;
Second control unit 120 be used to performing when receiving second control signal shut-off chip when
Zhong Yuan operation, makes the chip enter low-power consumption mode, and institute is opened in execution when receiving three control signal
The operation of the clock source of chip is stated, the chip is exited low-power consumption mode.
In addition, on the chip reset when, first control unit 110 is performed to second control unit
120 send the operation of the 4th control signal, so that second control unit opens the clock source.
Said write module 200, which is used to perform when receiving first control signal to send to the latch module, to be write
Enter the operation of signal, make the latch module write-in low-power consumption mode mark;
The latch module 300 is used for when the chip is in low-power consumption mode and exited lock after low-power consumption mode
The low-power consumption mode mark is deposited, when the chip exits low-power consumption mode, the central processing unit of the chip is by reading
The low-power consumption mode mark that the latch module is latched determines that presently described chip is waken up by low-power consumption mode, this
Outside, on the chip reset when, the latch module performs the operation reset to reset itself;
The removing module 400 is used for after the chip exits low-power consumption mode, in the chip is received
The operation that clear signal is sent to the latch module is performed during the clearance order that central processor is sent, to remove the latch mould
The low-power consumption mode mark that block is latched.
The power control circuit that embodiment of the present invention is provided, it is possible to achieve turned off when receiving low power consumption control instruction
The clock source of chip, makes the chip enter low-power consumption mode, and is reset in follow-up chip and wake-up and exits low-power consumption mode
Afterwards, it is possible to achieve the low-power consumption mode mark of latch will not be waken up the purpose of reset instruction removing, and the low-power consumption mode
Mark can actively be removed by the central processing unit of chip.
Referring to Fig. 3, Fig. 3 is the electricity of a preferred specific embodiment of the power control circuit that embodiment of the present invention is provided
Line structure schematic diagram, the power control circuit is used for the power consumption of control chip, and the power control circuit includes the first control unit
110th, the second control unit 120, writing module 200, latch module 300 and removing module 400.
As shown in figure 3, the first control unit 110 can be anti-phase including the first d type flip flop D1, the first phase inverter A1 and second
Device A2.
Wherein, the first d type flip flop D1 Q ends input respectively with the first phase inverter A1, the second phase inverter A2 input
End is connected, and the first d type flip flop D1 CP ends pass through the second control unit 120 and clock source (Clock source) phase of chip
Even, so that the first d type flip flop receives the clock signal of the clock source of the chip under the control of the second control unit 120, pass through
The low power consumption control instruction that the central processing unit (CPU) that first d type flip flop D1 D ends can receive the chip is sent, by the
One d type flip flop D1 CLR ends can receive the wake-up reset instruction of external circuit transmission, and first d type flip flop D1 is to make chip
D type flip flop into where the enable bit (DEEP_STOP_EN) of low-power consumption mode.
First reverser A1 output end is connected with the second control unit 120, can by the first reverser A1 output end
To send the second control signal and the 3rd control signal to the second control unit 120.
Second phase inverter A2 output end is connected with writing module 200, can be to by the second phase inverter A2 output end
Writing module 200 sends the first control signal.
As shown in figure 3, the second control unit 120 can include Clock gating A3.
Clock gating A3 Enable Pin E is connected with the first control unit 110, can be with by Clock gating A3 enable E ends
Receive the second control signal and the 3rd control signal of the first control unit 100 transmission.Specifically, as shown in Fig. 2 Clock gating
A3 Enable Pin E is connected with the first reverser A1, DEEP_STOP_EN is negated by the first reverser A1, to control A3
Enable Pin E.Clock gating A3 input CK connects the clock source (Clock source) of the chip, and Clock gating A3's is defeated
Go out to hold GCK according to the clock signal (FCLK) of the clock source of Clock gating A3 Enable Pin E received signal pio chips.
That is, FCLK is the clock controlled by DEEP_STOP_EN, and when DEEP_STOP_EN is 1 (i.e. high level), Enable Pin E is 0 (i.e.
Low level) when, FCLK can be turned off, output end GCK does not export FCLK, when DEEP_STOP_EN is 0 (i.e. low level), Enable Pin
E is 1 (i.e. high level), output end GCK outputs FCLK.
Wherein, writing module 200 can occur to withdraw circuit with synchronous using asynchronous, as shown in figure 3, writing module 200
Including two d type flip flops, respectively the second d type flip flop D2 and 3d flip-flop D3;
Second d type flip flop D2 CP ends and 3d flip-flop D3 CP ends pass through the second control unit 120 and chip
Clock source is connected, so that the second d type flip flop D2 and 3d flip-flop D3 receives the core under the control of the second control unit 120
The clock signal of the clock source of piece.Specifically, as shown in figure 3, the second d type flip flop D2 CP ends and 3d flip-flop D3 CP
End is all connected to Clock gating A3 output end GCK ends.
Second d type flip flop D2 CLR ends, 3d flip-flop D3 CLR ends is connected with the first control unit 110, passes through
2-D trigger D2 CLR ends and 3d flip-flop D3 CLR ends can receive the first control of the first control unit 110 transmission
Signal.Specifically, as shown in Fig. 2 the second d type flip flop D2 CLR ends, that 3d flip-flop D3 CLR ends are connected to second is anti-phase
Device A2 output end, so that the second phase inverter A2 output end sends the first control signal to writing module 200.
Further, the second d type flip flop D2 Q ends are connected with 3d flip-flop D3 D ends.
And further, 3d flip-flop D3 Q ends are connected with latch module 300, pass through 3d flip-flop D3 Q
End can send write signal to latch module 300.
When DEEP_STOP_EN is 1 (during high level), by the second reverser A2 to the second d type flip flop D2 and the 3rd
D type flip flop D3 is resetted, and for the asynchronous generation and synchronously withdraws circuit, the asynchronous occurring source via CLR (D2/D3) makes Q
(D3) while being changed into low level, but synchronously withdraw after two clock cycle can be postponed.
As shown in figure 3, latch module 300 preferably includes four d flip-flop D4.
Four d flip-flop D4 CP ends are connected by the second control unit 120 with the clock source of chip, specifically, for example
Clock gating A3 output end GCK ends are connected to, so that four d flip-flop D4 is received under the control of the second control unit 120
The clock signal of the clock source of chip.Four d flip-flop D4 SET ends connection writing module 200, passes through four d flip-flop D4
SET ends can receive writing module 200 transmission write signal, specifically, for example, be connected to 3d flip-flop D3 Q ends.
The central processing unit of the chip can be connected by four d flip-flop D4 Q ends, the central processing unit of the chip is read
The information latched to the latch module, such as low-power consumption mode mark PENDING.In addition, four d flip-flop D4 D ends connection
Module 400 is removed, can be received by four d flip-flop D4 D ends and remove the clear signal that module 400 is sent.
Module 400 is removed to preferably include and door A4 and the 3rd reverser A5.With door A4 an input and the 3rd reverser
A5 output end is connected, and becomes with the level height of door A4 another input with the information change that latch module is latched
Change, for example, four d flip-flop D4 Q ends can be connected with door A4 another input.Pass through the 3rd reverser A5 input
The clearance order that the central processing unit of the chip is sent can be received, can be to latch module 300 by the output end with door A4
Clear signal is sent, specifically, is connected with door A4 output end with four d flip-flop D4 D ends;
For above-mentioned removing module, effective operation of the central processing unit of chip can be believed by the 3rd reverser A5
Number negated, by the way that the central processing unit of chip can be enable to fall four d flip-flop D4 low-power consumption mode clearly with door A4
Indicate (PENDING), while when the central processing unit of chip is not operated to four d flip-flop D4, four d flip-flop D4
Low-power consumption mode mark (PENDING) can be latched, to enable the central processing unit of the chip to read the latch mould
The information that block is latched, such as low-power consumption mode mark PENDING.
For above-mentioned power control circuit, the first d type flip flop D1, the second d type flip flop D2,3d flip-flop D3, the 4th
The d type flip flop that d type flip flop D4 can trigger for rising edge, often
SET the and CLR ends of-one d type flip flop are using low level as useful signal, and the signal at Q ends and the signal at Q ends are mutual
Complement signal;
The course of work of power control circuit as shown in Figure 3 described in detail below:
1st, power on reset operation is performed when electric on chip.Now, external circuit is sent out to the first d type flip flop D1 CLR ends
The signal WP_RSTJ sent the and signal MST_RSTJ sent to four d flip-flop D4 CLR ends is useful signal.For
First d type flip flop D1, when the signal WP_RSTJ that its CLR end is received is useful signal, its Q end is exported by clear 0, i.e. DEEP_
STOP_EN is 0, and the first phase inverter A1 exports 1 (the 4th i.e. above-mentioned control signal).So that Clock gating A3 opens chip
Clock source, its output end GCK outputs FCLK.For four d flip-flop D4, when the signal MST_RSTJ that its CLR end is received is to have
When imitating signal, the output of its Q end is by clear 0 (performing the operation to reset itself clearing).
In addition, during electrification reset, because DEEP_STOP_EN is 0, the second d type flip flop D2 and 3d flip-flop
D3 CLR ends are invalid, therefore the second d type flip flop D2 and 3d flip-flop D3 Q ends output level not can determine that.But passing through two
3d flip-flop D3 Q ends output must be 1 after the individual FCLK cycles, due to priority of the CLR signal than SET signal of d type flip flop
Height, so for four d flip-flop D4, even if CLR signal and SET signals are simultaneously effective in reseting procedure, but CLR signal is excellent
First level is high, therefore the output of its Q end is still for after the completion of 0, i.e. chip electrification reset, PENDING is that 0, DEEP_STOP_EN is 0.This
When chip normal work, Clock gating A3 can export FCLK always.
2nd, when the low power consumption control instruction that the central processing unit (CPU) that the D terminations of the first d type flip flop receive chip is sent
When, i.e. when the signal CPU set pulse of CPU outputs are useful signal, the CPU is by the first d type flip flop D1 set, i.e. its Q
=1,Now DEEP_STOP_EN=1.First phase inverter A1 output end exports 0 to Clock gating A3 Enable Pin E
(the second i.e. above-mentioned control signal).Clock gating A3 Enable Pin E turns off the clock source of chip after the signal is received, and stops
FCLK is exported, Clock Tree and gate can all remain static, now chip is in low-power consumption mode.
Simultaneously as DEEP_STOP_EN is 1, the second reverser A3 output end to the second d type flip flop D2 CLR ends and
3d flip-flop D3 CLR ends export 0 (the first i.e. above-mentioned control signal), the second d type flip flop D2,3d flip-flop D3 meetings
It is reset.Now 3d flip-flop D3 Q ends export 0 (i.e. above-mentioned write signal) to four d flip-flop D4 SET ends, the
Four d flip-flop D4 by its SET home position signal into 1, i.e. PENDING=1 so that four d flip-flop D4 write low-power consumption mode
Mark.
3rd, when the first d type flip flop D1 CLR terminations receive the wake-up reset instruction of external circuit transmission, for example, outside
Circuit can produce the low level signal that a width is at least 1 FCLK cycle on WP_RSTJ.This low level signal can be answered
The first d type flip flop D1 of position, i.e. its Q end output 0.Now DEEP_STOP_EN=0, the first phase inverter A1 output end are to clock gate
The Enable Pin E for controlling A3 exports 1 (the 3rd i.e. above-mentioned control signal), and Clock gating A3 Enable Pin E is beaten after the signal is received
The clock source of chip is opened, starts to export FCLK, chip is exited low-power consumption mode.
Meanwhile, the second d type flip flop D2 and 3d flip-flop D3 reset signal will be removed, and 3d flip-flop D3 is in warp
Cross after two FCLK cycles, its Q end output 1, four d flip-flop D4 set end SET is changed into invalid.
During this period, MST_RSTJ is constantly in the high level output latched in high level, four d flip-flop D4
(PENDING=1) can always exist, also will not be changed into invalid because of four d flip-flop D4 set end SET and change.Should
PENDING indicate for memorization COMS clip be previously in low-power consumption mode, the mark can by chip central processing unit read and
Carry out the postrun relevant treatment of program recovery.
4th, when the clearance order that the central processing unit that the input of the 3rd phase inverter receives chip is sent, i.e. chip
When the signal CPU clear pulse of central processing unit output are useful signal, with door A4 output end to four d flip-flop D4
D ends export 0 (i.e. above-mentioned clear signal), four d flip-flop D4 Q ends can be latched as 0, i.e. low-power consumption mode mark
(PENDING marks) is fallen clearly.
Wherein, for above-mentioned power control circuit, signal WP_RSTJ and signal MST_RSTJ are synchronous by FCLK
Reset signal, and be that low level is effective, and when MST_RSTJ is effective, WP_RSTJ is simultaneously effective, but when WP_RSTJ is effective
When, MST_RSTJ is unaffected.When signal CPU set pulse and signal CPU clear pulse are operate on FCLK
Clock domain, is the high level pulse for producing a FCLK cycle when they are effective.
The power control circuit that embodiment of the present invention is provided, it is possible to achieve turned off when receiving low power consumption control instruction
The clock source of chip, makes the chip enter low-power consumption mode, and is reset in follow-up chip and wake-up and exits low-power consumption mode
Afterwards, it is possible to achieve the low-power consumption mode mark of latch will not be waken up the purpose of reset instruction removing, and the low-power consumption mode
Mark can actively be removed by the central processing unit of chip, in addition, the logic of the power control circuit consumes relatively low, circuit structure
It is simple and reliable.
In addition, embodiment of the present invention additionally provides a kind of electric equipment, including above-mentioned power control circuit.
In addition, embodiment of the present invention additionally provides a kind of power consumption control method, it can be used for above-mentioned power consumption control electricity
Road, this method includes:
S1:Control module performs the operation of the clock source of shut-off chip when receiving low power consumption control instruction, makes described
Chip enters low-power consumption mode, and is performed while the clock source of the chip is turned off to writing module transmission the first control letter
Number operation, said write module performed when receiving first control signal to latch module send write signal behaviour
Make, make the latch module write-in low-power consumption mode mark and latch;
S2:The control module performs the operation for the clock source for opening the chip when receiving and waking up reset instruction,
The chip is set to exit low-power consumption mode, wherein, the latch module is when the chip is in low-power consumption mode and exits
The low-power consumption mode mark is latched after low-power consumption mode, when the chip exits low-power consumption mode, in the chip
Central processor determines that presently described chip is by low work(by reading the low-power consumption mode mark that the latch module is latched
Consumption pattern is waken up.
Preferably, also include before step S1:
On the chip during reset, the latch module performs the operation reset to reset itself.
Preferably, step S1 includes:
S11:First control unit performs to the second control unit when receiving low power consumption control instruction and sends the
Two control signals, the operation to said write module transmission first control signal;
S12:Second control unit performs the clock for turning off the chip when receiving second control signal
The operation in source, makes the chip enter low-power consumption mode, and said write module is performed when receiving first control signal
The operation of write signal is sent to the latch module, makes the latch module write-in low-power consumption mode mark and latches.
Preferably, step S2 includes:
S21:First control unit is performed to second control unit when receiving the wake-up reset instruction
Send the operation of the 3rd control signal;
S22:Second control unit performs the clock for opening the chip when receiving three control signal
The operation in source, makes the chip exit low-power consumption mode.
Preferably, also include before step S1:
On the chip during reset, first control unit performs to second control unit and sends the 4th control
The operation of signal processed, so that second control unit opens the clock source.
Preferably, also include upon step s 2:
After the chip exits low-power consumption mode, remove module and sent in the central processing unit for receiving the chip
Clearance order when perform the operation that clear signal is sent to the latch module, to remove described in the latch module latches
Low-power consumption mode mark.
Those skilled in the art is it is easily understood that on the premise of not conflicting, above-mentioned each preferred scheme can be free
Ground combination, superposition.
It should be appreciated that above-mentioned embodiment is only illustrative, and not restrictive, without departing from the basic of the present invention
In the case of principle, various obvious or equivalent modification or replace that those skilled in the art can make for above-mentioned details
Change, be all included in scope of the presently claimed invention.
Claims (17)
1. a kind of power control circuit, the power consumption for control chip, it is characterised in that the power control circuit includes:Control
Molding block, writing module and latch module;
The control module is used for the operation that the clock source of the shut-off chip is performed when receiving low power consumption control instruction, makes
The chip enters low-power consumption mode, and performs while the clock source of the chip is turned off to said write module and send the
The operation of one control signal, and when receiving wake-up reset instruction, the operation of the clock source of the chip is opened in execution, is made
The chip exits low-power consumption mode;
Said write module, which is used to perform when receiving first control signal to the latch module, sends write signal
Operation, make latch module write-in low-power consumption mode mark;
Latch is described after the latch module is used for when the chip is in low-power consumption mode and exited low-power consumption mode
Low-power consumption mode mark, when the chip exits low-power consumption mode, the central processing unit of the chip is by reading the lock
The low-power consumption mode mark that storing module is latched determines that presently described chip is waken up by low-power consumption mode.
2. power control circuit according to claim 1, it is characterised in that on the chip during reset, the lock
Storing module performs the operation reset to reset itself.
3. power control circuit according to claim 1, it is characterised in that the control module includes the first control unit
With the second control unit;
First control unit is used to perform when receiving the low power consumption control instruction to be sent out to second control unit
The second control signal is sent, the operation of first control signal is sent to said write module and described wake up again is being received
The operation that the 3rd control signal is sent to second control unit is performed during bit instruction;
Second control unit is used for the clock source that the shut-off chip is performed when receiving second control signal
Operation, makes the chip enter low-power consumption mode, and the chip is opened in execution when receiving three control signal
Clock source operation, the chip is exited low-power consumption mode.
4. power control circuit according to claim 3, it is characterised in that on the chip during reset, described
One control unit performs the operation that the 4th control signal is sent to second control unit, so that second control unit is beaten
Open the clock source.
5. power control circuit according to claim 3, it is characterised in that first control unit is touched including the first D
Send out device, the first phase inverter and the second phase inverter;
The Q ends of first d type flip flop input respectively with first phase inverter, the input phase of second phase inverter
Even, the CP ends of first d type flip flop are connected by second control unit with the clock source of the chip, so that described the
One d type flip flop receives the clock signal of the clock source of the chip under the control of second control unit, and the first D is touched
The D ends of hair device are used to receive the low power consumption control instruction, and the CLR ends of first d type flip flop are multiple for receiving the wake-up
Bit instruction;
The output end of first reverser is connected with second control unit, the output end of first reverser be used for
Second control unit sends second control signal and the 3rd control signal;
The output end of second phase inverter is connected with said write module, and the output end of second phase inverter is used for described
Writing module sends first control signal.
6. power control circuit according to claim 3, it is characterised in that second control unit includes clock gate
Control;
The Enable Pin of the Clock gating is connected with first control unit, and the Enable Pin of the Clock gating is used to receive institute
Second control signal and the 3rd control signal of the first control unit transmission are stated, the input of the Clock gating connects
The clock source of the chip is connect, the output end of the Clock gating is defeated according to the Enable Pin received signal of the Clock gating
Go out the clock signal of the clock source of the chip.
7. power control circuit according to claim 3, it is characterised in that said write module includes the second d type flip flop
With 3d flip-flop;
The CP ends of second d type flip flop and the CP ends of the 3d flip-flop by second control unit with it is described
The clock source of chip is connected, so that the control of second d type flip flop and the 3d flip-flop in second control unit
The clock signal of the lower clock source for receiving the chip;
CLR ends, the CLR ends of the 3d flip-flop of second d type flip flop are connected with first control unit, described
The CLR ends of second d type flip flop and the CLR ends of the 3d flip-flop are used to receive the described of the first control unit transmission
First control signal;
The Q ends of second d type flip flop are connected with the D ends of the 3d flip-flop;
The Q ends of the 3d flip-flop are connected with the latch module, and the Q ends of the 3d flip-flop are used to latch to described
Module sends said write signal.
8. power control circuit according to claim 3, it is characterised in that the latch module includes four d flip-flop;
The CP ends of the four d flip-flop are connected by second control unit with the clock source of the chip, so that described
Four d flip-flop receives the clock signal of the clock source of the chip, the 4th D under the control of second control unit
The SET ends connection said write module of trigger, the SET ends of the four d flip-flop are used to receive the transmission of said write module
Said write signal, the Q ends of the four d flip-flop are used for the central processing unit for connecting the chip.
9. according to any described power control circuits of claim 1-8, it is characterised in that also include:Module is removed, it is described clear
Except module is used to exit after low-power consumption mode in the chip, performs and sent out to the latch module when receiving clearance order
The operation of clear signal is sent, to remove the low-power consumption mode mark that the latch module is latched.
10. power control circuit according to claim 9, it is characterised in that the removing module includes and door and the 3rd
Reverser, described to be connected with an input of door with the output end of the 3rd reverser, the input of the 3rd reverser
The clearance order that the central processing unit of the chip is sent is received, the output end with door is used for the latch module
Send the clear signal.
11. a kind of electric equipment, it is characterised in that including any described power control circuits of claim 1-10.
12. a kind of power consumption control method of power consumption for control chip, it is characterised in that including:
S1:Control module performs the operation of the clock source of shut-off chip when receiving low power consumption control instruction, makes the chip
Performed into low-power consumption mode, and while the clock source of the chip is turned off to writing module the first control signal of transmission
Operation, said write module performs the operation that write signal is sent to latch module when receiving first control signal,
Make the latch module write-in low-power consumption mode mark and latch;
S2:The control module performs the operation for the clock source for opening the chip when receiving and waking up reset instruction, makes institute
State chip and exit low-power consumption mode, wherein, the latch module is when the chip is in low-power consumption mode and exits low work(
The low-power consumption mode mark is latched after consumption pattern, when the chip exits low-power consumption mode, the centre of the chip
Reason device determines that presently described chip is by low-power consumption mould by reading the low-power consumption mode mark that the latch module is latched
What formula was waken up.
13. power consumption control method according to claim 12, it is characterised in that also include before step S1:
On the chip during reset, the latch module performs the operation reset to reset itself.
14. power consumption control method according to claim 12, it is characterised in that step S1 includes:
S11:First control unit performs to the second control unit when receiving the low power consumption control instruction and sends the second control
Signal processed, the operation to said write module transmission first control signal;
S12:Second control unit performs the clock source that turns off the chip when receiving second control signal
Operation, makes the chip enter low-power consumption mode, said write module is performed when receiving first control signal to institute
The operation that latch module sends write signal is stated, makes the latch module write-in low-power consumption mode mark and latches.
15. power consumption control method according to claim 14, it is characterised in that step S2 includes:
S21:First control unit is performed when receiving the wake-up reset instruction and sent to second control unit
The operation of 3rd control signal;
S22:Second control unit performs the clock source of opening the chip when receiving three control signal
Operation, makes the chip exit low-power consumption mode.
16. power consumption control method according to claim 14, it is characterised in that also include before step S1:
On the chip during reset, first control unit performs to second control unit and sends the 4th control letter
Number operation so that second control unit opens the clock source.
17. according to any described power consumption control methods of claim 12-16, it is characterised in that also include upon step s 2:
After the chip exits low-power consumption mode, remove module and performed when receiving clearance order to the latch module
The operation of clear signal is sent, to remove the low-power consumption mode mark that the latch module is latched.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710006253.3A CN107066250A (en) | 2017-01-05 | 2017-01-05 | Power control circuit, electric equipment and power consumption control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710006253.3A CN107066250A (en) | 2017-01-05 | 2017-01-05 | Power control circuit, electric equipment and power consumption control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107066250A true CN107066250A (en) | 2017-08-18 |
Family
ID=59624273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710006253.3A Pending CN107066250A (en) | 2017-01-05 | 2017-01-05 | Power control circuit, electric equipment and power consumption control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107066250A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110488673A (en) * | 2019-06-26 | 2019-11-22 | 珠海格力电器股份有限公司 | A kind of data processing module and data processing method of low-power consumption mode |
CN110568921A (en) * | 2019-09-09 | 2019-12-13 | 大唐半导体科技有限公司 | Method for reducing chip power consumption |
CN111061358A (en) * | 2018-10-15 | 2020-04-24 | 珠海格力电器股份有限公司 | Clock-free chip wake-up circuit, wake-up method and chip |
WO2024078147A1 (en) * | 2022-10-13 | 2024-04-18 | 华润微集成电路(无锡)有限公司 | Power consumption control circuit, chip, and electronic device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4323981A (en) * | 1977-10-21 | 1982-04-06 | Tokyo Shibaura Denki Kabushiki Kaisha | Central processing unit with improved ALU circuit control |
US20070109900A1 (en) * | 2004-06-14 | 2007-05-17 | Ryotaro Sakurai | Nonvolatile memory apparatus |
CN102467209A (en) * | 2010-11-01 | 2012-05-23 | 飞思卡尔半导体公司 | Debugger recovery on exit from low power mode |
CN102592105A (en) * | 2011-01-17 | 2012-07-18 | 上海华虹集成电路有限责任公司 | Low power consumption design method based on close-range wireless communication |
CN102799260A (en) * | 2012-07-31 | 2012-11-28 | 福州瑞芯微电子有限公司 | Circuit and method for managing SOC chip by low-power consumption mode based on clock off |
US20130067258A1 (en) * | 2010-05-20 | 2013-03-14 | Toshiaki Furuya | Data processor and electronic control unit |
CN103019132A (en) * | 2012-11-21 | 2013-04-03 | 杭州士兰微电子股份有限公司 | Chip and method for realizing low-power-consumption mode |
CN103412634A (en) * | 2013-07-30 | 2013-11-27 | 深圳市汇顶科技股份有限公司 | Device and method for awakening MCU (micro control unit) of SOC (system on chip) chip |
CN103631360A (en) * | 2013-11-15 | 2014-03-12 | 北京兆易创新科技股份有限公司 | Chip allowing sleep mode and method |
CN104143969A (en) * | 2013-05-08 | 2014-11-12 | 博通集成电路(上海)有限公司 | Sleep mode circuit and method for making circuit be in sleep mode |
CN104320111A (en) * | 2014-09-25 | 2015-01-28 | 中国兵器工业集团第二一四研究所苏州研发中心 | Clock source automatic management circuit |
CN106055026A (en) * | 2016-07-20 | 2016-10-26 | 深圳市博巨兴实业发展有限公司 | Real time clock unit in microcontroller SOC (System On Chip) |
CN206388132U (en) * | 2017-01-05 | 2017-08-08 | 珠海格力电器股份有限公司 | Power control circuit and electric equipment |
-
2017
- 2017-01-05 CN CN201710006253.3A patent/CN107066250A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4323981A (en) * | 1977-10-21 | 1982-04-06 | Tokyo Shibaura Denki Kabushiki Kaisha | Central processing unit with improved ALU circuit control |
US20070109900A1 (en) * | 2004-06-14 | 2007-05-17 | Ryotaro Sakurai | Nonvolatile memory apparatus |
US20130067258A1 (en) * | 2010-05-20 | 2013-03-14 | Toshiaki Furuya | Data processor and electronic control unit |
CN102467209A (en) * | 2010-11-01 | 2012-05-23 | 飞思卡尔半导体公司 | Debugger recovery on exit from low power mode |
CN102592105A (en) * | 2011-01-17 | 2012-07-18 | 上海华虹集成电路有限责任公司 | Low power consumption design method based on close-range wireless communication |
CN102799260A (en) * | 2012-07-31 | 2012-11-28 | 福州瑞芯微电子有限公司 | Circuit and method for managing SOC chip by low-power consumption mode based on clock off |
CN103019132A (en) * | 2012-11-21 | 2013-04-03 | 杭州士兰微电子股份有限公司 | Chip and method for realizing low-power-consumption mode |
CN104143969A (en) * | 2013-05-08 | 2014-11-12 | 博通集成电路(上海)有限公司 | Sleep mode circuit and method for making circuit be in sleep mode |
CN103412634A (en) * | 2013-07-30 | 2013-11-27 | 深圳市汇顶科技股份有限公司 | Device and method for awakening MCU (micro control unit) of SOC (system on chip) chip |
CN103631360A (en) * | 2013-11-15 | 2014-03-12 | 北京兆易创新科技股份有限公司 | Chip allowing sleep mode and method |
CN104320111A (en) * | 2014-09-25 | 2015-01-28 | 中国兵器工业集团第二一四研究所苏州研发中心 | Clock source automatic management circuit |
CN106055026A (en) * | 2016-07-20 | 2016-10-26 | 深圳市博巨兴实业发展有限公司 | Real time clock unit in microcontroller SOC (System On Chip) |
CN206388132U (en) * | 2017-01-05 | 2017-08-08 | 珠海格力电器股份有限公司 | Power control circuit and electric equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061358A (en) * | 2018-10-15 | 2020-04-24 | 珠海格力电器股份有限公司 | Clock-free chip wake-up circuit, wake-up method and chip |
CN111061358B (en) * | 2018-10-15 | 2021-05-25 | 珠海格力电器股份有限公司 | Clock-free chip wake-up circuit, wake-up method and chip |
CN110488673A (en) * | 2019-06-26 | 2019-11-22 | 珠海格力电器股份有限公司 | A kind of data processing module and data processing method of low-power consumption mode |
CN110568921A (en) * | 2019-09-09 | 2019-12-13 | 大唐半导体科技有限公司 | Method for reducing chip power consumption |
CN110568921B (en) * | 2019-09-09 | 2021-11-30 | 大唐半导体科技有限公司 | Method for reducing chip power consumption |
WO2024078147A1 (en) * | 2022-10-13 | 2024-04-18 | 华润微集成电路(无锡)有限公司 | Power consumption control circuit, chip, and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206388132U (en) | Power control circuit and electric equipment | |
CN107066250A (en) | Power control circuit, electric equipment and power consumption control method | |
CN103645794B (en) | Chip and method for achieving sleep mode wake-up through edge detection circuit | |
CN104516296B (en) | A kind of awakening method and peripheral module of the micro controller system based on peripheral module | |
CN103631360B (en) | A kind of chip and method for supporting sleep pattern | |
CN104049713B (en) | Use the integrated clock gate (ICG) of clock cascaded complementary switching logic | |
TWI297425B (en) | Clock gating circuit | |
CN101329589B (en) | Control system and method of low power consumption read-write register | |
CN103412990A (en) | Multi-level collaborative low-power design method | |
CN103730149B (en) | A kind of read-write control circuit of dual-ported memory | |
CN104597790B (en) | A kind of awakening method of serial ports controller and micro controller system based on it | |
CN201083993Y (en) | Microcontroller | |
CN106100621A (en) | A kind of automatic reset structure for clock handoff procedure | |
CN102684646A (en) | Single-edge master-slave D trigger | |
CN106484029A (en) | Safe burr-free clock switching construction | |
CN102111147B (en) | Asynchronous counter circuit and realizing method thereof | |
CN106066684B (en) | Master-slave mode SOC chip low power consumpting controling circuit | |
CN201302731Y (en) | Attendance checking access control machine | |
CN102156899A (en) | Clock management unit of RFID tag chip | |
CN101689851A (en) | Logic state catching circuits | |
CN201060393Y (en) | 8 bit online debugging microcontroller | |
CN108628793A (en) | SPI communication circuit and method | |
US6954872B2 (en) | Registering events while clocking multiple domains | |
US20210184657A1 (en) | Apparatus for Asynchronous Latch with Improved Performance and Associated Methods | |
TWI398099B (en) | A logic circuit stores a pulse latch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |