Control method, control device, integrated chip, electronic equipment and medium
By designing the current relationship between the control module and the working module in the integrated chip and controlling the working module to turn off when resetting the signal, the problem of excessive starting current of the integrated chip is solved, and stable start-up under low current conditions is achieved.
Patent Information
- Application Number
- CN202411232317.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2025-02-07
AI Technical Summary
The starting current of existing integrated chips during the power-on or reset phase is too high to start at extremely low currents.
A control method is designed, and the integrated chip includes a control module and a working module, and the working current of the control module is smaller than the working current of the working module. When a reset signal is detected, the control module controls the working module to be turned off, and the working module will be turned on after the reset program is completed.
It effectively reduces the startup current of the integrated chip during power-on or reset, and achieves smooth start-up under low power supply current conditions.
Smart Images

Figure CN119396273A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of computer systems, and in particular to a control method, a control device, an integrated chip, an electronic device, and a computer-readable storage medium. Background Art
[0002] The peak current required by the integrated chip during the power-on or reset stage is too high. The startup current peak of the integrated chips currently on the market is usually high, and the integrated chip cannot be started at an extremely low current. Summary of the invention
[0003] Embodiments of the present application provide a control method, a control device, an integrated chip, an electronic device, and a computer-readable storage medium.
[0004] The control method of the embodiment of the present application is used for an integrated chip, the integrated chip includes a control module and a working module, the working current of the control module is less than the working current of the working module. The control method includes: when a reset signal is detected, the control module controls the working module to turn off; after determining that the reset program is completed, the control module controls the working module to turn on.
[0005] In some embodiments, the working module includes a main startup analog circuit and oscillator unit, a main digital power supply unit, a memory and a digital unit, and a central processing unit. After determining that the reset program is over, the control module controls the working module to start up, including: after determining that the reset program is over, the control module controls the main startup analog circuit and oscillator unit to start up; after the main startup analog circuit and oscillator unit are turned on, the control module controls the main digital power supply unit to start up; after the main digital power supply unit is turned on, the control module controls the memory and the digital unit and the central processing unit to start up.
[0006] In some embodiments, the control module includes a reset control unit, the reset control unit includes a first timer, and the first timer is a digital circuit structure timer or an analog circuit structure timer. The control method includes: using the reset control unit to detect a reset signal; when the reset signal is detected, controlling the first timer to start timing; when the timing value of the first timer is a preset value, determining that the reset program ends.
[0007] In certain embodiments, after determining that the reset program has ended, the control module controls the working module to start up, including: after determining that the reset program has ended, the control module controls the working module to start up and enter the software main program; when the working module executes the software main program and the execution time reaches a first preset time, the working module is controlled to enter a standby sleep state; when the working module enters the standby sleep state and the entry time reaches a second preset time, the working module is controlled to start up and continue to execute the software main program.
[0008] In certain embodiments, the control module includes a reset control unit, the reset control unit includes a second timer, and the control method includes: when the count value of the second timer reaches the count value corresponding to the first preset duration, determining that the execution duration has reached the first preset duration; when the count value of the second timer reaches the count value corresponding to the second preset duration, determining that the entry duration has reached the second preset duration.
[0009] In some embodiments, the control module includes a low current and low speed control unit, and the control method includes: when a reset signal is detected, the low current and low speed control unit controls the working module to turn off; after determining that the reset program is completed, the low current and low speed control unit controls the working module to turn on.
[0010] The control device of the embodiment of the present application is used for an integrated chip, the integrated chip includes a control module and a working module, and the control device includes a first control unit and a second control unit. The first control unit is used to control the working module to turn off when a reset signal is detected; the second control unit is used to control the working module to turn on after determining that the reset program is completed.
[0011] The integrated chip of the embodiment of the present application comprises a control module and a working module. The control module is connected to the working module, and when the reset signal is detected, the control module controls the working module to be turned off, and when the reset program is determined to be finished, the control module controls the working module to be turned on.
[0012] The electronic device according to the embodiment of the present application includes the integrated chip according to any one of the above embodiments.
[0013] The computer-readable storage medium of the embodiment of the present application stores a computer program thereon, and when the program is executed by a processor, the processor executes any one of the control methods described above.
[0014] The control method, control device, integrated chip, electronic device and computer-readable storage medium of the implementation mode of the present application are such that the working module is in a closed state before the reset program is completed, which can effectively reduce the startup current when the integrated chip is powered on or reset, and greatly reduce the demand for power current at startup, so that the integrated chip can be successfully started in the low power current working mode.
[0015] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0017] Figure 1 is a flow chart of a control method of certain embodiments of the present application;
[0018] Figure 2 is a schematic diagram of an integrated chip according to certain embodiments of the present application;
[0019] Figure 3 is a flow chart of a control method of certain embodiments of the present application;
[0020] Figure 4 is a schematic diagram of an integrated chip according to certain embodiments of the present application;
[0021] Figure 5 is a flow chart of a control method of certain embodiments of the present application;
[0022] Figure 6 is another flow chart of the control method of certain embodiments of the present application;
[0023] Figure 7 is another flow chart of the control method of certain embodiments of the present application;
[0024] Figure 8 It is another flow chart of the control method of certain embodiments of the present application;
[0025] Fig. 9 is a schematic diagram of an electronic device according to certain embodiments of the present application. DETAILED DESCRIPTION
[0026] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0027] See also Figure 1 The control method of the embodiment of the present application is used for an integrated chip 100, the integrated chip 100 includes a control module 10 and a working module 20, the working current of the control module 10 is less than the working current of the working module 20, and the control method includes:
[0028] Step 01: When a reset signal is detected, the control module 10 controls the working module 20 to shut down;
[0029] Step 02: After determining that the reset procedure is completed, the control module 10 controls the working module 20 to start.
[0030] The control device of the embodiment of the present application is used for the integrated chip 100, and the integrated chip 100 includes a control module 10 and a working module 20, and the control device includes a first control unit and a second control unit. The control method of the embodiment of the present application can be implemented by the control device of the embodiment of the present application, wherein step 01 can be implemented by the first control unit, and step 02 can be implemented by the second control unit. That is to say, the first control unit is used to control the working module 20 to turn off when the reset signal is detected by the control module 10. The second control unit is used to determine that after the reset program is completed, the control module 10 controls the working module 20 to turn on.
[0031] See also Figure 2 The integrated chip 100 of the embodiment of the present application includes a control module 10 and a working module 20. The control module 10 is connected to the working module 20. When the control module 10 detects a reset signal, the working module 20 is controlled to be turned off. When it is determined that the reset program is completed, the working module 20 is controlled to be turned on.
[0032] In the control method, control device and integrated chip 100 of the implementation mode of the present application, before the reset program is completed, the working module 20 is in a closed state, which can effectively reduce the startup current when the integrated chip 100 is powered on or reset, and greatly reduce the demand for power current at startup, so that the integrated chip 100 can be successfully started in the low power current working mode.
[0033] Specifically, the integrated chip 100 includes a control module 10 and a working module 20. The control module 10 can be a core control module with low power consumption and fast response capability, and the working current of the control module 10 is less than that of the working module 20. The control module 10 can be designed to be always on. Since the working current of the control module 10 is extremely low, it can be maintained in a standby mode with extremely low power consumption for a long time, ensuring that the control module 10 can respond quickly even when the power current is very limited, and continuously detect and identify the reset signal. The working module 20 can be the main working function module of the integrated chip 100, such as an oscillator, a central processing unit, and a peripheral circuit, etc. These working modules require a relatively high working current during normal operation. When the control module 10 detects the reset signal, the control module 10 controls the working module 20 to turn off. In this way, during the execution of the reset program, the working module 20 is in a closed state and does not consume current, which reduces the requirements for the stability of the power supply during the reset program, so that the integrated chip 100 can operate smoothly in the case of a very small power supply current, while taking into account the appropriate balance of the power-on startup time of the integrated chip 100. After determining that the reset program is over, the control module 10 controls the working module 20 to turn on. After the reset procedure is completed, the control module 10 confirms that the system is ready, and the control module 10 can gradually restore the functions of the working modules 20 according to the preset priority order. This process ensures system stability and minimizes the startup current by accurately controlling the startup sequence of the working modules 20. In this way, the integrated chip 100 can achieve smooth startup under extremely low current conditions.
[0034] In one embodiment, the integrated chip 100 can be a chip integrated with a humidity detection device powered by a small solar cell. The integrated chip 100 includes a small solar cell that can only provide a very small current. The small solar cell powers the integrated chip 100, and a capacitor is connected to the power supply terminal to store charge. The integrated chip 100 includes a control module 10 and a working module 20. The working current of the control module 10 is less than the working current of the working module 20. When a reset signal is detected, the control module 10 controls the working module 20 to turn off. After determining that the reset program is over, the control module 10 controls the working module 20 to turn on. In this way, the control method of the embodiment of the present application enables the integrated chip 100 to start smoothly in a low power current working mode.
[0035] It should be noted that the above examples are provided for the convenience of illustrating the implementation of the present application and should not be construed as limiting the scope of protection of the present application.
[0036] Please also read Figure 3 and Figure 4In some embodiments, the working module 20 includes a main startup analog circuit 21, an oscillator unit 22, a main digital power supply unit 23, a memory and digital unit 24 and a central processing unit 25, and step 02 includes:
[0037] Step 021: After determining that the reset procedure is completed, the control module 10 controls the main startup analog circuit 21 and the oscillator unit 22 to start;
[0038] Step 022: After the main startup analog circuit 21 and the oscillator unit 22 are turned on, the control module 10 controls the main digital power supply unit 23 to be turned on;
[0039] Step 023: After the main digital power unit 23 is turned on, the control module 10 controls the memory and digital unit 24 and the central processing unit 25 to turn on.
[0040] In some embodiments, the control device includes a first control subunit, a second control subunit, and a third control subunit. The control method of the embodiment of the present application can be implemented by the control device of the embodiment of the present application, wherein step 021 can be implemented by the first control subunit, step 022 can be implemented by the second control subunit, and step 023 can be implemented by the third control subunit. That is to say, the first control subunit is used to determine that after the reset program is completed, the control module 10 controls the main startup analog circuit 21 and the oscillator unit 22 to turn on. The second control subunit is used to control the control module 10 to control the main digital power supply unit 23 to turn on after the main startup analog circuit 21 and the oscillator unit 22 are turned on. The third control subunit is used to control the control module 10 to control the memory and digital unit 24 and the central processing unit 25 to turn on after the main digital power supply unit 23 is turned on.
[0041] Specifically, the control module 10 can detect the progress of the reset program and determine whether the reset program is completed. The working module 20 includes a main startup analog circuit 21, an oscillator unit 22, a main digital power supply unit 23, a memory and a digital unit 24 and a central processing unit 25. The control module 10 is responsible for the coordination and control of the entire startup process to achieve stable startup and efficient operation of the working module 20. After the control module 10 determines that the reset program is over, the control module 10 can send a startup signal to the main startup analog circuit 21 and the oscillator unit 22 to trigger the main startup analog circuit 21 and the oscillator unit 22 to start working. The activation of the main startup analog circuit 21 can provide the necessary analog signal for the initial power-on of the system to ensure that the subsequent circuits can operate normally. The main startup analog circuit 21 includes but is not limited to functions such as voltage monitoring, current limiting and signal conditioning. After the oscillator unit 22 is turned on, a stable clock signal is generated to provide a timing reference for the entire working module 20. The stability of the oscillator unit 22 directly affects the operating performance of the entire system. After the main startup analog circuit 21 and the oscillator unit 22 are turned on, the control module 10 controls the main digital power supply unit 23 to turn on, and the main digital power supply unit 23 provides a stable power supply for the digital circuit part (for example: memory and digital unit 24, central processing unit 25), ensuring that the digital circuit part can work normally under a stable voltage. After the main digital power supply unit 23 is turned on, the control module 10 controls the memory and digital unit 24 and the central processing unit 25 to turn on. The memory and digital unit 24 includes various types of memory (such as RAM, ROM) and digital logic circuits for storing program instructions, data and performing logical operations. The central processing unit 25 is the core processing unit of the system, responsible for executing the program stored in the memory, and controlling the workflow of each unit to achieve the overall function. In this way, the various units of the working module 20 can be gradually started according to the pre-set order and conditions to ensure the reliable operation of the entire system. The control method of the embodiment of the present application is more practical and efficient.
[0042] The central processor 25 may refer to a driver board. The driver board may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0043] See also Figure 5In some embodiments, the control module 10 includes a reset control unit 11, the reset control unit 11 includes a first timer 111, the first timer 111 is a digital circuit structure timer or an analog circuit structure timer, and the control method includes:
[0044] Step 031: Detecting a reset signal using the reset control unit 11;
[0045] Step 032: When a reset signal is detected, the first timer 111 is controlled to start timing;
[0046] Step 033: When the timing value of the first timer 111 reaches a preset value, it is determined that the reset procedure is completed.
[0047] In some embodiments, the control device includes a detection unit, a third control unit and a determination unit. The control method of the embodiment of the present application can be implemented by the control device of the embodiment of the present application, wherein step 031 can be implemented by the detection unit, step 032 can be implemented by the third control unit, and step 033 can be implemented by the determination unit. In other words, the detection unit is used to detect the reset signal using the reset control unit 11. The third control unit is used to control the first timer 111 to start timing when the reset signal is detected. The determination unit is used to determine that the reset program ends when the timing value of the first timer 111 is a preset value.
[0048] Specifically, the reset control unit 11 can continuously monitor the reset signal from the outside or inside. The reset signal can be triggered by the user through a button, or it can be generated by the system automatically after detecting an error condition, and the error condition includes but is not limited to power fluctuations, hardware failures, etc. After the reset control unit 11 detects the reset signal, the first timer 111 starts timing. When the timing value of the first timer 111 reaches the preset value, it means that the reset program has lasted for a sufficient time, the system has been restored to the initial state, and the reset program has ended. The first timer 111 can be a timer with a digital circuit structure or a timer with an analog circuit structure. The type selection of the first timer 111 is flexible, and the type and timing accuracy of the appropriate timer can be selected according to actual needs. The setting of the preset value is also flexible, and the preset value can be determined according to the specific needs and characteristics of the system to ensure that the reset program is completed when the timing value is the preset value, while avoiding excessive waiting time affecting the user experience.
[0049] See also Figure 6 In some embodiments, after determining that the reset procedure is completed, the control module 10 controls the working module 20 to start, including:
[0050] Step 024: After determining that the reset program is finished, the control module 10 controls the working module 20 to start and enter the software main program;
[0051] Step 025: When the working module 20 executes the main software program and the execution time reaches a first preset time, the working module 20 is controlled to enter a standby sleep state;
[0052] Step 026: When the working module 20 enters the standby sleep state and the entry time reaches a second preset time, the working module 20 is controlled to start and continue to execute the software main program.
[0053] In some embodiments, the control device includes a fourth control unit, a fifth control unit, and a sixth control unit. The control method of the embodiment of the present application can be implemented by the control device of the embodiment of the present application, wherein step 024 can be implemented by the detection unit, step 025 can be implemented by the third control unit, and step 026 can be implemented by the determination unit. That is to say, the fourth control unit is used to determine that after the reset program is completed, the control module 10 controls the working module 20 to start and enter the main software program. The fifth control unit is used to control the working module 20 to enter the standby sleep state when the working module 20 executes the main software program and the execution time reaches the first preset time. The sixth control unit is used to control the working module 20 to start and continue to execute the main software program when the working module 20 enters the standby sleep state and the entry time reaches the second preset time.
[0054] Specifically, after the reset program is finished, the integrated chip 100 has completed the initialization and is in a stable state, and the control module 10 can control the working module 20 to start, so that the working module 20 enters the software main program, and the working module 20 starts to execute various tasks and functions of the software main program. The control module 10 can monitor the duration of the working module 20 executing the software main program. When the working module 20 executes the software main program to the first preset duration, the control module 10 determines that the current working module 20 may enter an idle or low-load state, and can send a standby sleep instruction to the working module 20 to control the working module 20 to enter a standby sleep state. In the standby sleep state, part or all of the circuits of the working module 20 will be turned off or reduce power consumption, but still maintain the ability to respond to external events or internal signals so as to quickly wake up when needed. The control module 20 can be a software control module or a hardware control module, which is not limited here. After the working module 20 enters the standby sleep state, the control module 10 continues to monitor time or external events. When the working module 20 enters the standby sleep state for a second preset time, the control module 10 sends a wake-up instruction to the working module 20, controls the working module 20 to exit the standby sleep state and continue to execute the previous software main program. This can not only respond quickly, but also further reduce energy consumption. By reasonably controlling the startup, execution and standby sleep state switching of the working module 20, effective reduction of power consumption and efficient use of resources are achieved.
[0055] Please also read Figure 4 and Figure 7 In some embodiments, the control module 10 includes a reset control unit 11, the reset control unit 11 includes a second timer 112, and the control method includes:
[0056] Step 041: When the count value of the second timer 112 reaches the count value corresponding to the first preset duration, it is determined that the execution duration reaches the first preset duration;
[0057] Step 042: When the count value of the second timer 112 reaches the count value corresponding to the second preset time length, it is determined that the entry time length reaches the second preset time length.
[0058] In some embodiments, the control device includes a seventh control unit and an eighth control unit, and the control method of the embodiment of the present application can be implemented by the control device of the embodiment of the present application, wherein step 041 can be implemented by the seventh control unit, and step 042 can be implemented by the eighth control unit. That is, the seventh control unit is used to determine that the execution duration reaches the first preset duration when the count value of the second timer 112 reaches the count value corresponding to the first preset duration. The eighth control unit is used to determine that the entry duration reaches the second preset duration when the count value of the second timer 112 reaches the count value corresponding to the second preset duration.
[0059] In one embodiment, the control module 10 includes a reset control unit 11, and the reset control unit 11 includes a second timer 112. The first preset duration may be 20 microseconds, and the second preset duration may be 4 milliseconds. When the count value of the second timer 112 is 20 microseconds, the control working module 20 enters a standby sleep state. The count of the second timer 112 is cleared and restarted. When the count value of the second timer 112 is 4 milliseconds, the control working module 20 starts and continues to execute the main software program. In this way, more intelligent and efficient energy management can be achieved without sacrificing functionality.
[0060] It should be noted that the above examples and specific numerical values are for the convenience of explaining the implementation of the present application and should not be construed as limiting the scope of protection of the present application.
[0061] See also Figure 8 In some embodiments, the control module 10 includes a low current and low speed control unit, and the control method includes:
[0062] Step 051: When a reset signal is detected, the low current and low speed control unit controls the working module 20 to shut down;
[0063] Step 052: After determining that the reset procedure is completed, the low current and low speed control unit controls the working module 20 to start.
[0064] In some embodiments, the control device includes a ninth control unit and a tenth control unit, and the control method of the embodiment of the present application can be implemented by the control device of the embodiment of the present application, wherein step 051 can be implemented by the ninth control unit, and step 052 can be implemented by the tenth control unit. That is to say, the ninth control unit is used to control the low current and low speed control unit to turn off the working module 20 when the reset signal is detected. The tenth control unit is used to control the low current and low speed control unit to turn on the working module 20 after determining that the reset program is completed.
[0065] Specifically, the control module 10 includes a low current and low speed control unit, which can manage the switch state of the working module 20 in a more sophisticated and energy-saving manner. In some embodiments, the control module 10 includes a low current and low speed control unit in addition to the control logic. The low current and low speed control unit is designed to control the opening and closing of the working module 20 in a low power consumption mode to reduce the overall energy consumption and potential power loss. The low current and low speed control unit can improve the overall stability and reliability while ensuring performance.
[0066] See also Fig. 9 , an electronic device 500 according to an embodiment of the present application includes an integrated chip 100. In the electronic device 500 according to an embodiment of the present application, before the reset procedure is completed, the working module 20 of the integrated chip 100 is in a closed state, which can effectively reduce the startup current when the integrated chip 100 is powered on or reset, and greatly reduce the demand for power supply current during startup, so that the integrated chip 100 can be successfully started in a low power supply current working mode.
[0067] In one embodiment, the electronic device 500 can be a humidity detection device powered by a small solar cell. The electronic device 500 includes an integrated chip 100. The integrated chip 100 is a humidity detection device chip powered by a small solar cell. The humidity detection device powered by a small solar cell includes a small solar cell, which powers the integrated chip 100. The integrated chip 100 includes a control module 10 and a working module 20. The working current of the control module 10 is less than the working current of the working module 20. When a reset signal is detected, the control module 10 controls the working module 20 to turn off; after determining that the reset program is over, the control module 10 controls the working module 20 to turn on. In this way, the control method of the embodiment of the present application can enable the integrated chip 100 to start smoothly in the working mode of low power current.
[0068] The computer-readable storage medium of the embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, the steps of the control method of any of the above-mentioned embodiments are implemented.
[0069] In the computer-readable storage medium of the above-mentioned embodiment, before the reset program is completed, the working module 20 is in a closed state, which can effectively reduce the startup current when the integrated chip 100 is powered on or reset, and greatly reduce the demand for power current during startup, so that the integrated chip 100 can be successfully started in the low power current working mode.
[0070] It can be understood that the computer program includes computer program code. The computer program code can be in source code form, object code form, executable file or some intermediate form. The computer readable storage medium 300 can include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution medium.
[0071] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0072] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0073] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM).
[0074] In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0075] It should be understood that the various parts of the embodiments of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0076] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0077] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0078] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0079] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above implementation methods within the scope of the present application.
Claims
1. A control method, characterized in that: The control method is used for an integrated chip, the integrated chip includes a control module and a working module, the working current of the control module is smaller than the working current of the working module, and the control method includes: When a reset signal is detected, the control module controls the working module to shut down; After determining that the reset procedure is completed, the control module controls the working module to start.
2. The control method according to claim 1, characterized in that: The working module includes a main startup analog circuit and an oscillator unit, a main digital power supply unit, a memory and a digital unit and a central processing unit. After the reset procedure is determined to be completed, the control module controls the working module to start, including: After determining that the reset procedure is finished, the control module controls the main startup analog circuit and the oscillator unit to start; After the main startup analog circuit and the oscillator unit are turned on, the control module controls the main digital power supply unit to turn on; After the main digital power supply unit is turned on, the control module controls the memory, the digital unit and the central processing unit to turn on.
3. The control method according to claim 1, characterized in that: The control module includes a reset control unit, the reset control unit includes a first timer, the first timer is a digital circuit structure timer or an analog circuit structure timer, and the control method includes: Detecting a reset signal using the reset control unit; When a reset signal is detected, controlling the first timer to start timing; When the timing value of the first timer is a preset value, it is determined that the reset procedure is finished.
4. The control method according to claim 1, characterized in that: After the reset procedure is determined to be finished, the control module controls the working module to start, including: After determining that the reset program is finished, the control module controls the working module to start and enter the software main program; When the working module executes the software main program and the execution time reaches a first preset time, controlling the working module to enter a standby sleep state; When the working module enters the standby sleep state and the entry time reaches a second preset time, the working module is controlled to start and continue to execute the software main program.
5. The control method according to claim 4, characterized in that: The control module includes a reset control unit, the reset control unit includes a second timer, and the control method includes: When the count value of the second timer reaches the count value corresponding to the first preset duration, determining that the execution duration reaches the first preset duration; When the count value of the second timer reaches the count value corresponding to the second preset duration, it is determined that the entry duration reaches the second preset duration.
6. The control method according to claim 1, characterized in that: The control module includes a low current and low speed control unit, and the control method includes: When a reset signal is detected, the low-current and low-speed control unit controls the working module to shut down; After determining that the reset procedure is completed, the low-current and low-speed control unit controls the working module to start.
7. A control device, characterized in that: The control device is used for an integrated chip, the integrated chip includes a control module and a working module, and the control device includes: A first control unit, wherein the first control unit is configured to control the control module to shut down the working module when a reset signal is detected; The second control unit is used to determine that after the reset program is completed, the control module controls the working module to start.
8. An integrated chip, characterized in that: The integrated chip includes a control module and a working module. The control module is connected to the working module. When a reset signal is detected, the control module controls the working module to be turned off, and when the reset program is determined to be finished, the control module controls the working module to be turned on.
9. An electronic device, characterized in that: The electronic device comprises the integrated chip according to claim 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the processor is caused to execute the control method according to any one of claims 1 to 6.