CN113987981B - Power-down time sequence control method, device and storage medium - Google Patents

Power-down time sequence control method, device and storage medium Download PDF

Info

Publication number
CN113987981B
CN113987981B CN202111141841.0A CN202111141841A CN113987981B CN 113987981 B CN113987981 B CN 113987981B CN 202111141841 A CN202111141841 A CN 202111141841A CN 113987981 B CN113987981 B CN 113987981B
Authority
CN
China
Prior art keywords
power
circuit
capacitor
resistor
type
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
CN202111141841.0A
Other languages
Chinese (zh)
Other versions
CN113987981A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111141841.0A priority Critical patent/CN113987981B/en
Publication of CN113987981A publication Critical patent/CN113987981A/en
Application granted granted Critical
Publication of CN113987981B publication Critical patent/CN113987981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means

Abstract

The application relates to a power-down time sequence control method, a device and a storage medium. The method comprises the following steps: judging the type of a power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit; and based on the type of the power-down circuit, adopting a control circuit corresponding to the type to perform power-down time sequence control on the power-down circuit. The method can enable the time sequence control of the power-down circuit to be more accurate and reliable, and simultaneously can give consideration to the power-down sequence of the chip reset signal.

Description

Power-down time sequence control method, device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a power-down timing control method, apparatus, and storage medium.
Background
In a general circuit design process, there are two main types of control of power on and power off time sequences of a circuit: the scheme is that the chip enable signal and the chip reset signal are converted by adopting the IO control power supply of the CPLD to meet the power-on and power-off time sequence requirement of the chip. In another scheme, the power-on time sequence is realized by gradually pushing the chip EN signal of the next stage by adopting the PG signal of the power chip and controlling the discharging speed of each circuit by the resistance value of the discharging resistor. The above schemes have the disadvantages of different degrees: the scheme one relates to CPLD control time sequence, the cost is higher, and the workload is larger; in the second scheme, the discharging resistor is controlled to be powered down, the time sequence is inaccurate, and the power down sequence of the chip reset signal cannot be considered.
Disclosure of Invention
Based on this, it is necessary to provide a power-down time sequence control method, a device and a storage medium for solving the above technical problems, so that the time sequence control of the power-down circuit is more accurate and reliable, and the power-down sequence of the chip reset signal can be considered.
In one aspect, a power-down timing control method is provided, the method including:
judging the type of a power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit;
and based on the type of the power-down circuit, adopting a control circuit corresponding to the type to perform power-down time sequence control on the power-down circuit.
In one embodiment, the method comprises:
if the type is a reset signal powering-down circuit, enabling a first control circuit to perform powering-down time sequence control on the reset signal powering-down circuit;
and if the type is a delay power-down circuit, enabling a second control circuit to perform power-down time sequence control on the delay power-down circuit.
In one embodiment, the method comprises:
the first control circuit detects the power supply voltage of the circuit under the reset signal in real time, and when the power supply voltage is smaller than a preset voltage threshold value, the switch of the reset signal is pulled to a grounding state.
In one of the embodiments of the present invention,
the first control circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor and a third capacitor; the first resistor and the second resistor are connected in series, and the first capacitor, the second capacitor and the third capacitor are connected in parallel; the third resistor is connected between the first capacitor and the second capacitor.
In one of the embodiments of the present invention,
the second control circuit comprises a tank circuit and a diode, and the tank circuit and the diode are connected in series.
In one of the embodiments of the present invention,
the energy storage circuit comprises a plurality of capacitors, and the capacitors are connected in parallel.
In another aspect, there is provided a power-down timing control apparatus, the apparatus comprising:
the judging module is used for judging the type of the power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit;
and the control module is used for controlling the power-down time sequence of the power-down circuit by adopting the control circuit corresponding to the type based on the type of the power-down circuit.
In one embodiment, the control module is configured to:
if the type is a reset signal powering-down circuit, enabling a first control circuit to perform powering-down time sequence control on the reset signal powering-down circuit;
and if the type is a delay power-down circuit, enabling a second control circuit to perform power-down time sequence control on the delay power-down circuit.
In one of the embodiments of the present invention,
the first control circuit detects the power supply voltage of the circuit under the reset signal in real time, and when the power supply voltage is smaller than a preset voltage threshold value, the switch of the reset signal is pulled to a grounding state.
In yet another aspect, a computer readable storage medium is provided, having stored thereon a computer program which when executed by a processor performs the steps of:
judging the type of a power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit;
and based on the type of the power-down circuit, adopting a control circuit corresponding to the type to perform power-down time sequence control on the power-down circuit.
According to the power-down time sequence control method, the power-down time sequence control device and the storage medium, the power-down time sequence control is performed on the power-down circuit based on the type of the power-down circuit by judging the type of the power-down circuit, so that the time sequence control of the power-down circuit is more accurate and reliable, and meanwhile, the power-down sequence of the chip reset signal can be considered.
Drawings
FIG. 1 is a flowchart of a power-down timing control method according to an embodiment;
FIG. 2 is a circuit diagram of a first control circuit in one embodiment;
FIG. 3 is a circuit diagram of a second control circuit in one embodiment;
FIG. 4 is a block diagram of a power down timing control apparatus according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a power-down timing control method is provided, the method comprising:
s1: and judging the type of the power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit.
In this step, the types of the power-down circuits include a reset signal power-down circuit and a delay power-down circuit, wherein the reset signal power-down circuit refers to a circuit requiring input and output of a reset signal, and the delay power-down circuit refers to a circuit requiring delay power-down.
After receiving the power-down instruction, executing the judging operation of the type of the power-down circuit, and transmitting a judging result to a module with a function of controlling the power-down time sequence.
S2: and based on the type of the power-down circuit, adopting a control circuit corresponding to the type to perform power-down time sequence control on the power-down circuit.
Different power-down circuit types have different requirements on power-down time delay, the reset signal power-down circuit needs to be powered down quickly, and the time delay power-down circuit needs to be powered down in a time delay mode.
According to the power-down time sequence control method, the power-down time sequence control is carried out on the power-down circuit based on the type of the power-down circuit by judging the type of the power-down circuit, so that the time sequence control of the power-down circuit is more accurate and reliable, and meanwhile, the power-down sequence of the chip reset signals can be considered.
In one embodiment, the method comprises:
if the type is a reset signal powering-down circuit, enabling a first control circuit to perform powering-down time sequence control on the reset signal powering-down circuit;
and if the type is a delay power-down circuit, enabling a second control circuit to perform power-down time sequence control on the delay power-down circuit.
Specifically, the control circuit corresponding to the type of the power-down circuit comprises a first control circuit and a second control circuit.
For the reset signal power-down circuit, the first control circuit capable of realizing quick power-down is started to perform power-down time sequence control on the reset signal power-down circuit, so that quick power-down is achieved.
For the delay power-down circuit, the delay power-down circuit is required, and then a second control circuit capable of realizing delay power-down is started to perform power-down time sequence control on the delay power-down circuit, so that delay power-down is achieved.
In one embodiment, the method comprises:
the first control circuit detects the power supply voltage of the circuit under the reset signal in real time, and when the power supply voltage is smaller than a preset voltage threshold value, the switch of the reset signal is pulled to a grounding state.
Specifically, when the first control circuit detects that the power supply voltage drops to a certain preset threshold value, the switch of the reset signal is pulled to the ground, so that the power supply is rapidly discharged, the reset signal is pulled down before the power supply drops, and the requirements of the chip on the reset signal are met.
In one of the embodiments of the present invention,
the first control circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor and a third capacitor; the first resistor and the second resistor are connected in series, and the first capacitor, the second capacitor and the third capacitor are connected in parallel; the third resistor is connected between the first capacitor and the second capacitor.
Specifically, as shown in fig. 2, the first control circuit may be implemented as a potential detection circuit including a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1, a second capacitor C2, and a third capacitor C3; the first resistor R1 and the second resistor R2 are connected in series, and the first capacitor C1, the second capacitor C2 and the third capacitor C3 are connected in parallel; the third resistor R3 is connected between the first capacitor C1 and the second capacitor C2. The potential detection circuit is connected to the S port of the chip.
In addition, fig. 2 further includes a reset signal output circuit and a discharging path, where the reset signal output circuit is composed of a resistor R4, a resistor R5 and a capacitor C4, one end of the resistor R4 is connected to the a port of the chip, the other end of the resistor R5 is connected to one end of the capacitor C4, and then connected to the power VCC, and the other end of the resistor R5 is connected to the other end of the capacitor C4 and then grounded. One end of a resistor R6 in the discharging path is connected to the port B0 of the chip, and the other end of the resistor R6 is connected with the GND port of the chip and then grounded. The B1 port of the chip is a reset signal input port.
In one of the embodiments of the present invention,
the second control circuit comprises a tank circuit and a diode, and the tank circuit and the diode are connected in series.
Specifically, for a circuit needing to be powered down by time delay, an energy storage circuit is added and a diode is connected in series, and the time delay power-down circuit can still maintain a power supply state for a period of time under the condition that other circuits are powered down due to the energy storage characteristic of the energy storage circuit and the unidirectional conduction characteristic of the diode.
In one of the embodiments of the present invention,
the energy storage circuit comprises a plurality of capacitors, and the capacitors are connected in parallel.
Specifically, as shown in fig. 3, the tank circuit is implemented as a tank capacitor, which includes 5 capacitors, namely, capacitors C5, C6, C7, C8 and C9, and the 5 capacitors are connected in parallel. One end of each of the 5 parallel capacitors is grounded, the other end of each of the 5 parallel capacitors is connected with a diode D1 and a resistor R7 in series in sequence and then connected with a power supply VCC, and the diode D1 has the characteristic of unidirectional conduction.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
In one embodiment, as shown in fig. 4, there is provided a power-down timing control apparatus, the apparatus comprising:
a judging module 401, configured to judge a type of a power-down circuit, where the type includes a reset signal power-down circuit and a delay power-down circuit;
and the control module 402 is configured to perform power-down timing control on the power-down circuit by using a control circuit corresponding to the type based on the type of the power-down circuit.
In one embodiment, the control module 402 is configured to:
if the type is a reset signal powering-down circuit, enabling a first control circuit to perform powering-down time sequence control on the reset signal powering-down circuit;
and if the type is a delay power-down circuit, enabling a second control circuit to perform power-down time sequence control on the delay power-down circuit.
In one of the embodiments of the present invention,
the first control circuit detects the power supply voltage of the circuit under the reset signal in real time, and when the power supply voltage is smaller than a preset voltage threshold value, the switch of the reset signal is pulled to a grounding state.
In one of the embodiments of the present invention,
the first control circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor and a third capacitor; the first resistor and the second resistor are connected in series, and the first capacitor, the second capacitor and the third capacitor are connected in parallel; the third resistor is connected between the first capacitor and the second capacitor.
In one of the embodiments of the present invention,
the second control circuit comprises a tank circuit and a diode, and the tank circuit and the diode are connected in series.
In one of the embodiments of the present invention,
the energy storage circuit comprises a plurality of capacitors, and the capacitors are connected in parallel.
For specific limitation of the power-down timing control apparatus, reference may be made to the limitation of the power-down timing control method hereinabove, and the description thereof will not be repeated. The above-mentioned various modules in the power-down timing control apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer readable storage medium is provided having stored thereon a computer program which when executed by a processor performs the steps of:
judging the type of a power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit;
and based on the type of the power-down circuit, adopting a control circuit corresponding to the type to perform power-down time sequence control on the power-down circuit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the type is a reset signal powering-down circuit, enabling a first control circuit to perform powering-down time sequence control on the reset signal powering-down circuit;
and if the type is a delay power-down circuit, enabling a second control circuit to perform power-down time sequence control on the delay power-down circuit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the first control circuit detects the power supply voltage of the circuit under the reset signal in real time, and when the power supply voltage is smaller than a preset voltage threshold value, the switch of the reset signal is pulled to a grounding state.
In one of the embodiments of the present invention,
the first control circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor and a third capacitor; the first resistor and the second resistor are connected in series, and the first capacitor, the second capacitor and the third capacitor are connected in parallel; the third resistor is connected between the first capacitor and the second capacitor.
In one of the embodiments of the present invention,
the second control circuit comprises a tank circuit and a diode, and the tank circuit and the diode are connected in series.
In one of the embodiments of the present invention,
the energy storage circuit comprises a plurality of capacitors, and the capacitors are connected in parallel.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (6)

1. A power down timing control method, the method comprising:
judging the type of a power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit;
based on the type of the power-down circuit, adopting a control circuit corresponding to the type to perform power-down time sequence control on the power-down circuit;
if the type is a reset signal powering-down circuit, enabling a first control circuit to perform powering-down time sequence control on the reset signal powering-down circuit; the first control circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor and a third capacitor; the first resistor and the second resistor are connected in series, and the first capacitor, the second capacitor and the third capacitor are connected in parallel; the third resistor is connected between the first capacitor and the second capacitor;
if the type is a time delay power-down circuit, a second control circuit is started to perform power-down time sequence control on the time delay power-down circuit; the second control circuit comprises a tank circuit and a diode, and the tank circuit and the diode are connected in series.
2. The method of claim 1, wherein the method comprises:
the first control circuit detects the power supply voltage of the circuit under the reset signal in real time, and when the power supply voltage is smaller than a preset voltage threshold value, the switch of the reset signal is pulled to a grounding state.
3. The method of claim 1, wherein,
the energy storage circuit comprises a plurality of capacitors, and the capacitors are connected in parallel.
4. A power-down timing control apparatus, the apparatus comprising:
the judging module is used for judging the type of the power-down circuit, wherein the type comprises a reset signal power-down circuit and a delay power-down circuit;
the control module is used for performing power-down time sequence control on the power-down circuit by adopting a control circuit corresponding to the type based on the type of the power-down circuit;
if the type is a reset signal powering-down circuit, enabling a first control circuit to perform powering-down time sequence control on the reset signal powering-down circuit; the first control circuit comprises a first resistor, a second resistor, a third resistor, a first capacitor, a second capacitor and a third capacitor; the first resistor and the second resistor are connected in series, and the first capacitor, the second capacitor and the third capacitor are connected in parallel; the third resistor is connected between the first capacitor and the second capacitor;
if the type is a time delay power-down circuit, a second control circuit is started to perform power-down time sequence control on the time delay power-down circuit; the second control circuit comprises a tank circuit and a diode, and the tank circuit and the diode are connected in series.
5. The apparatus of claim 4, wherein,
the first control circuit detects the power supply voltage of the circuit under the reset signal in real time, and when the power supply voltage is smaller than a preset voltage threshold value, the switch of the reset signal is pulled to a grounding state.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 3.
CN202111141841.0A 2021-09-28 2021-09-28 Power-down time sequence control method, device and storage medium Active CN113987981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111141841.0A CN113987981B (en) 2021-09-28 2021-09-28 Power-down time sequence control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111141841.0A CN113987981B (en) 2021-09-28 2021-09-28 Power-down time sequence control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113987981A CN113987981A (en) 2022-01-28
CN113987981B true CN113987981B (en) 2024-01-12

Family

ID=79737016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111141841.0A Active CN113987981B (en) 2021-09-28 2021-09-28 Power-down time sequence control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113987981B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750378A (en) * 2019-09-30 2020-02-04 山东信通电子股份有限公司 Multi-power-supply power-off sequential circuit and power-off method
CN111490762A (en) * 2020-06-23 2020-08-04 深圳市芯天下技术有限公司 Novel power-on and power-off reset circuit
CN113246887A (en) * 2021-06-09 2021-08-13 中国第一汽车股份有限公司 Sequential circuit control method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7304521B2 (en) * 2005-01-28 2007-12-04 Altera Corporation Delay circuit for synchronizing arrival of a clock signal at different circuit board points

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750378A (en) * 2019-09-30 2020-02-04 山东信通电子股份有限公司 Multi-power-supply power-off sequential circuit and power-off method
CN111490762A (en) * 2020-06-23 2020-08-04 深圳市芯天下技术有限公司 Novel power-on and power-off reset circuit
CN113246887A (en) * 2021-06-09 2021-08-13 中国第一汽车股份有限公司 Sequential circuit control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113987981A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US9985519B2 (en) Voltage generation circuit
US20140195734A1 (en) Power management
US10033268B2 (en) Apparatuses and methods for charge pump regulation
US20080191786A1 (en) High voltage generation circuit and method for generating high voltage
JP5801380B2 (en) Staged NAND power-on reset
KR102475458B1 (en) Power on reset circuit and semiconductor memory device having the same
US20210098031A1 (en) Managing startups of bandgap reference circuits in memory systems
CN105577152A (en) Protection circuit in load switch
CN109783406B (en) Method for controlling memory device, controller thereof and electronic device
CN103312158A (en) Boosting circuit
CN113205852B (en) Power-down test control circuit, test system and method of memory system
CN103346735A (en) Clock signal generation method and device of microcontroller and microcontroller
CN113987981B (en) Power-down time sequence control method, device and storage medium
CN1848089A (en) Method and system for providing an auxiliary bios code in an auxiliary bios memory utilizing time expiry control
KR100391738B1 (en) Improvement of operating efficiency of a nonvolatile memory
CN217469914U (en) Power-on reset circuit
CN114155888B (en) Hard disk power supply control device and method, computer equipment and storage medium
CN114822667A (en) Method for accurately injecting VDT in eMMC test, storage medium and electronic equipment
US9164562B2 (en) Data storage device for forcibly discharging residual voltage, method operating the same, and data processing system including the same
WO2013191893A1 (en) Alternate control settings
US20070216465A1 (en) Semiconductor device
CN111585555B (en) Anti-vibration circuit, method and intelligent terminal
CN103730145A (en) Flash memory and voltage control method thereof
US20240143057A1 (en) Fast bleed of power rails
US11335409B2 (en) Data erasing method of non-volatile memory and storage device using the same

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
GR01 Patent grant
GR01 Patent grant