Control method and device, electronic equipment and program product
By introducing large-core and small-core hierarchical architectures into the processors of electronic devices, using small-core to control the voltage output of the power supply chip, the noise problem caused by the piezoelectric effect of ceramic capacitors is solved, and effective noise control and energy consumption are achieved. reduce.
Patent Information
- Application Number
- CN202411046008.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-19
AI Technical Summary
The piezoelectric effect of ceramic capacitors in laptops and other equipment leads to vibration and noise, affecting the user experience, and it is difficult to effectively control the existing technology.
By introducing a hierarchical architecture of large cores and small cores into the processor of electronic devices, the small cores use to send voltage adjustment instructions in the noise reduction control state to control the voltage output of the power chip, thereby reducing the piezoelectric effect of the ceramic capacitor. shock.
It effectively reduces device noise, improves user experience, and reduces energy consumption without affecting processor performance.
Smart Images

Figure CN118981241A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of computer equipment, and relate to but are not limited to a control method, device, electronic equipment and program product. Background Art
[0002] At present, during the use of notebooks and other devices, the piezoelectric effect of ceramic capacitors (Multilayer Ceramic Capacitor, MLCC) may cause vibration, and then obvious noise will appear, affecting the user experience.
[0003] Therefore, there is an urgent need for a solution that can control the noise of the device. Summary of the invention
[0004] In view of this, embodiments of the present application provide a control method, device, electronic device, and program product.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a control method, which is applied to an electronic device, wherein a processor of the electronic device includes at least a first component and a second component, and the processing performance of the first component is better than the processing performance of the second component, and the method includes:
[0007] Determining that the electronic device is in a noise reduction control state;
[0008] The second component sends a voltage adjustment instruction to the first component;
[0009] The first component controls the voltage output of the power chip in the noise reduction control state based on the voltage adjustment instruction, wherein the power chip is used to provide power to the processor of the electronic device.
[0010] In a second aspect, an embodiment of the present application provides a control device, the device comprising:
[0011] A first determining module, configured to determine that the electronic device is in a noise reduction control state, wherein a processor of the electronic device includes at least a first component and a second component, and a processing performance of the first component is better than a processing performance of the second component;
[0012] a sending module, configured to send a voltage adjustment instruction to the first component by using the second component;
[0013] A control module is used to control the voltage output of a power chip in the noise reduction control state based on the voltage adjustment instruction using the first component, wherein the power chip is used to provide power to the processor of the electronic device.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor and a power chip, wherein the processor comprises at least a first component and a second component, the processing performance of the first component is better than the processing performance of the second component, the power chip provides electrical energy to the processor, the memory stores a computer program that can be run on the processor, and the processor implements the steps in the above method when executing the computer program.
[0015] In a fourth aspect, an embodiment of the present application provides a storage medium storing executable instructions for implementing the above method when executed by a processor.
[0016] In a fifth aspect, a computer program product includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the steps in the above method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1A A schematic diagram of an implementation flow of a control method provided in an embodiment of the present application;
[0018] Figure 1B A schematic diagram of a layered architecture of an electronic device provided in an embodiment of the present application;
[0019] Figure 1C A schematic diagram of communication between a central processing unit and a power chip provided in an embodiment of the present application;
[0020] Figure 1D A schematic diagram of a power chip outputting a power signal to a central processing unit provided in an embodiment of the present application;
[0021] Figure 2 A schematic diagram of a process for entering a noise reduction working state provided in an embodiment of the present application;
[0022] Figure 3A A schematic diagram of a pie chart and a table showing the proportion of each CPU state provided in an embodiment of the present application;
[0023] Figure 3B A schematic diagram of a group of measured output voltage values of a power chip provided in an embodiment of the present application;
[0024] Figure 4 A schematic diagram of a noise reduction control process provided in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of the structure of a control device provided in an embodiment of the present application;
[0026] Figure 6 A hardware entity schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the embodiments of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0028] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0029] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0031] The present application provides a control method, which is applied to an electronic device, wherein a processor of the electronic device includes at least a first component and a second component, and the processing performance of the first component is better than the processing performance of the second component, such as Figure 1A As shown, the method includes:
[0032] Step S110, determining that the electronic device is in a noise reduction control state;
[0033] Here, the noise reduction control state refers to a state in which the electronic device can reduce the fluctuation of the voltage value provided to the processor and reduce the vibration caused by the piezoelectric effect of the ceramic capacitor by executing the following steps S120 and S130, thereby achieving the noise reduction effect of the electronic device.
[0034] The processor may be a central processing unit (CPU) of an electronic device. The first component may be a large core of the CPU, namely a performance core (P-core), which usually has a higher main frequency and powerful computing power, and is suitable for processing tasks with high performance requirements, such as running large applications and games with high graphics requirements. The second component may be a small core of the CPU, namely an energy efficiency core (E-core), which is designed to be low power and high efficiency, and can handle low load and multi-core workloads, such as daily applications, browsing the web, and answering calls.
[0035] During the implementation process, the second component can determine that the electronic device processes the noise reduction control state when it is determined that the user is using the electronic device, or other components can notify the second component after determining the noise reduction control state. For example, it can be determined whether the electronic device needs to perform noise reduction operations based on the state of the display on or off (DISPLAY ON / OFF). When it is determined that the display is on, the noise reduction execution logic can be entered; when the small core of the processor determines that the display is off, or other components determine that the display is off and notify the small core, it can be determined that the user is not using the electronic device, that is, the noise reduction logic does not need to be executed.
[0036] Figure 1B A schematic diagram of a layered architecture of an electronic device provided in an embodiment of the present application, such as Figure 1B As shown, the hierarchical architecture diagram includes hardware (HW Device) 21, firmware (Firmware) 22, operating system (Windows) 23 and application (Application) 24. In the implementation process, whether to enter the noise reduction logic can be controlled by turning on / off the display in the hardware 21. The noise reduction logic can also be set by setting the basic input / output system (BIOS) stored in the firmware 22. The noise reduction logic can also be entered by setting a corresponding program control in the application of the application 24.
[0037] Step S120, the second component sends a voltage adjustment instruction to the first component;
[0038] During implementation, the voltage control right may be switched from the first component to the second component. For example, when the VPU is in an idle state, the voltage control right for controlling the CPU power supply voltage may be transferred from the large core to the small core. Here, the voltage control right includes the C state and the serial voltage identification (SVID) control right.
[0039] Here, C-States, or CPU Power States, are different low-power modes that the CPU enters when idle to reduce power consumption. C-States start from C0, which is the normal working mode of the CPU, and the CPU is in a 100% running state. The higher the number after C, the deeper the CPU sleeps, the more the CPU power consumption is reduced, and it takes more time to return to C0 mode.
[0040] Figure 1C A communication diagram between a central processing unit and a power chip provided in an embodiment of the present application is shown in FIG. Figure 1CAs shown, the schematic diagram includes a central processing unit 11 and a power chip 12, wherein:
[0041] When the central processing unit 11 controls the output voltage of the power chip 12 through the SVID protocol, the small core in the central processing unit 11 controls the large core to send the SVID protocol signal.
[0042] During implementation, the small core is also able to recognize C-States.
[0043] Step S130: The first component controls the voltage output of the power chip in the noise reduction control state based on the voltage adjustment instruction, wherein the power chip is used to provide power to the processor of the electronic device.
[0044] like Figure 1C As shown, the power chip 12 can provide power to the central processing unit 11 .
[0045] During the implementation process, the first component (large core) can send a voltage adjustment instruction based on the second component (small core) and send an SVID protocol signal to control the voltage output of the power chip 12.
[0046] Figure 1D A schematic diagram of a power chip outputting a power signal to a central processing unit provided in an embodiment of the present application, such as Figure 1D As shown, the schematic diagram includes a power chip 12 and a central processing unit 11, wherein:
[0047] When the user uses the electronic device, he / she determines that the noise reduction function needs to be turned on, so the pin (ANS_EN) 13 of the power chip 12 needs to be set to a high position. In order to reduce power consumption, the pin ANS_EN needs to be switched to a low position after maintaining the high position for a period of time.
[0048] The power chip 12 outputs power signals to the central processing unit 11 through four phases (phase 1, phase 2, phase 3, and phase 4).
[0049] In the embodiment of the present application, it is first determined that the electronic device is in a noise reduction control state; then the second component sends a voltage adjustment instruction to the first component; finally, the first component controls the voltage output of the power chip in the noise reduction control state based on the voltage adjustment instruction. In this way, when the electronic device is in a noise reduction control state, the second component of the electronic device can be used to control the first component to adjust the voltage output of the power chip, and while accurately adjusting the voltage output, the noise reduction function of the electronic device is realized, and the energy consumption of the electronic device is effectively reduced.
[0050] In some implementations, a first power consumption of the first component when not receiving the voltage adjustment instruction is lower than a second power consumption of the first component when receiving the voltage adjustment instruction.
[0051] The control method further comprises the following steps:
[0052] When the first component does not receive the voltage adjustment instruction, setting the first component to a state where the voltage adjustment instruction is not executed;
[0053] When receiving the voltage adjustment instruction, the first component sets the first component to a state of executing the voltage adjustment instruction, wherein a first power consumption of the first component when the voltage adjustment instruction is not executed is lower than a second power consumption of the first component when the voltage adjustment instruction is executed.
[0054] In the embodiment of the present application, the first power consumption of the first component when not receiving the voltage adjustment instruction is lower than the second power consumption of the first component when receiving the voltage adjustment instruction. In this way, the energy consumption of the first component can be effectively reduced without affecting the execution of the voltage adjustment instruction by the first component.
[0055] Figure 2 A schematic diagram of a process for entering a noise reduction working state provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the process diagram includes:
[0056] Step S210, the operating system reports whether the CPU enters the power saving mode to the small core;
[0057] Step S220, the power chip obtains the whole machine current value obtained by the mainboard current detection in real time, calculates the whole machine power consumption based on the whole machine current value, and reports it to the small core through the SVID protocol interface;
[0058] Step S230: When the small core determines that the power consumption of the entire machine is above 700 mW and the system has not entered the power saving state, the large core is controlled to enter the degraded design.
[0059] Here, 700 milliwatts (mW) is an implementable power consumption threshold. During implementation, the user can also configure a more reasonable power consumption threshold according to actual usage.
[0060] In some embodiments, only step S210 may be performed, and when the small core determines that the system has not entered the power saving mode, that is, the user is using the electronic device, the large core is controlled to enter a degraded design, that is, a noise reduction control state.
[0061] In some embodiments, only step S220 can be executed. When the small core determines that the power consumption of the entire machine (the real-time power consumption of the electronic device) meets the power consumption threshold (700mW) and determines that the user is using the electronic device, the large core is controlled to enter a degraded design, that is, a noise reduction control state.
[0062] In some embodiments, the above step S110 “determining that the electronic device is in a noise reduction control state” may be implemented by at least one of the following steps:
[0063] Step 111: When it is determined that the real-time power consumption of the electronic device is greater than a first power consumption threshold, setting the electronic device to the noise reduction control state;
[0064] Here, the real-time power consumption can be used as Figure 2 The mainboard current detection shown obtains the real-time current value of the whole machine; the real-time current is then reported to the power chip to calculate the real-time power consumption of the electronic device.
[0065] The first power consumption threshold can be set according to actual conditions. For example, the first power consumption threshold can be set to 700 mW.
[0066] During the implementation process, the second component (or other components of the electronic device) can determine that the user is using the electronic device when it is determined that the real-time power consumption of the electronic device is greater than the first power consumption threshold, and set the electronic device to a noise reduction control state to reduce the impact of noise on the user.
[0067] Step 112: When it is determined that the processor is in the first state, setting the electronic device to the noise reduction control state, wherein the power consumption of the processor in the first state is greater than or equal to a second power consumption threshold;
[0068] In some embodiments, the first state can be any state of C0 to C8 of the processor, that is, it can refer to the working means of the processor. For example, the second component (or other components of the electronic device) can determine that the processor is in the C3 / C4 state, that is, it determines that the user is using the electronic device, and sets the electronic device to a noise reduction control state to reduce the impact of noise on the user.
[0069] In some embodiments, the first state may be that the CPU is in an idle (IDLE) state. For example, a user uses the Fn+Q key combination to quickly switch between different performance modes by pressing these two keys, wherein the quiet mode has low noise and a more comfortable experience. The first state may be a quiet mode switched by the user. In addition, the operating system will dynamically adjust the working state of the CPU according to the system's power management policy. For example, when the battery power is low or the system load is light, the operating system may reduce the frequency of the CPU or put the CPU into a deeper sleep state (such as C-states) to further save power. Triggering the screen off can also trigger the CPU to enter an idle state.
[0070] Step 113: When it is determined that the noise value of the environment in which the electronic device is located does not meet the noise threshold, setting the electronic device to the noise reduction control state.
[0071] In some embodiments, the noise value of the environment in which the electronic device is located can be obtained using a noise detection application program set in the electronic device. The noise monitoring application program can use a built-in microphone of the electronic device to detect the environmental noise and give a corresponding decibel value.
[0072] In some embodiments, the noise value of the environment in which the electronic device is located can be tested using a noise meter or a sound level meter, etc., which are instruments specifically used to measure the environmental noise level, and can display the decibel value of the noise in real time. The noise meter or the sound level meter can be integrated in the electronic device.
[0073] During the implementation process, if the noise value of the environment in which the electronic device is located is large, and the noise generated by the vibration of the ceramic capacitor can be ignored compared to the environmental noise, there is no need to control the noise reduction of the electronic device; if the noise of the environment in which the electronic device is located is small, the noise generated by the vibration of the ceramic capacitor is very obvious in a quiet environment and will bring a bad user experience, then it is necessary to control the noise reduction of the electronic device and set the electronic device to a noise reduction control state.
[0074] Here, the noise threshold can be set according to the actual usage scenario. When the second component (or other components of the electronic device) determines that the noise of the environment in which the electronic device is located is less than the noise threshold, the electronic device can be set to be in a noise reduction control state; when it is determined that the noise of the environment in which the electronic device is located is greater than or equal to the noise threshold, the electronic device may not be subjected to noise reduction processing.
[0075] During the implementation process, any judgment step of step 111, step 112, and step 113 can be used to determine whether to set the electronic device to a noise reduction control state; any two judgment steps of step 111, step 112, and step 113 can also be used in combination to determine whether to set the electronic device to a noise reduction control state; and steps 111, step 112, and step 113 can also be used in combination to determine whether to set the electronic device to a noise reduction control state.
[0076] In the embodiment of the present application, determining that the electronic device is in a noise reduction control state includes at least one of the following steps: when it is determined that the real-time power consumption of the electronic device is greater than the first power consumption threshold, setting the electronic device in a noise reduction control state; when it is determined that the processor is in the first state, setting the electronic device in a noise reduction control state; when it is determined that the noise value of the environment in which the electronic device is located does not meet the noise threshold, setting the electronic device in a noise reduction control state. In this way, any of the above steps, or any two of the above three steps, or a combination of the above three steps, can be used to determine whether the electronic device enters the noise reduction control state.
[0077] In some embodiments, the control method further comprises the following steps:
[0078] Step S140, obtaining the real-time power consumption of the electronic device;
[0079] During implementation, the power chip can be used to obtain the real-time power consumption of the electronic device in real time.
[0080] Step S150, determining at least one adjustment voltage value in the voltage adjustment instruction based on the real-time power consumption;
[0081] Here, the adjustment voltage value may be proportional to the real-time power consumption, that is, the greater the real-time power consumption, the greater the adjustment voltage value may be. For example, when the implementation power consumption is determined to be 700mw, the adjustment voltage value may be determined to be 0.8 volts (V); when the implementation power consumption is determined to be 600mw, the adjustment voltage value may be determined to be between 0.5V and 0.6V; when the implementation power consumption is determined to be 500mW, the adjustment voltage value may be determined to be between 0.3V and 0.4V.
[0082] Correspondingly, in step S130, "the first component controls the voltage output of the power chip in the noise reduction control state based on the voltage adjustment instruction" can be implemented by the following process:
[0083] The first component controls the voltage output of the power chip in the noise reduction state based on at least one of the adjustment voltage values.
[0084] Here, the voltage output of the power chip can be controlled to be consistent with the adjustment voltage. For example, the voltage output of the power chip can be controlled to be between 0.8V, 0.5V and 0.6V, or between 0.3V and 0.4V.
[0085] In the embodiment of the present application, the real-time power consumption of the electronic device is first obtained; then at least one adjustment voltage value in the voltage adjustment instruction is determined based on the real-time power consumption; finally, the first component controls the voltage output of the power chip in the noise reduction state based on the at least one adjustment voltage value. In this way, the adjustment voltage determined based on different real-time power consumption is more in line with the voltage requirements of the processor of the electronic device in the working state, and the capacitor noise caused by voltage fluctuations is further reduced.
[0086] In some embodiments, the voltage adjustment instruction further includes a voltage value switching frequency, and the above step of "the first component controls the voltage output of the power chip in the noise reduction state based on at least one adjusted voltage value" can be implemented by the following steps:
[0087] Step 131: In the noise reduction control state, determine that the processor switches to at least two sub-states and a target voltage value corresponding to each sub-state, wherein power consumption of at least two of the sub-states is less than a second power consumption threshold, and power consumption of each of the sub-states is different;
[0088] Here, the power consumption of the processor in the two sub-states is both less than the second power consumption threshold, that is, the two sub-states may be any power saving state below C3 / C4.
[0089] Figure 3A A schematic diagram of a pie chart and a table showing the proportion of each CPU state provided in an embodiment of the present application, such as Figure 3A As shown in the figure, the total proportion of C9 / C10 in all CPU states reached 63.86%. For example, the two sub-states can be C9 and C10 respectively. In the C9 / C10 state, the processor has the lowest power consumption, and the corresponding target voltage value is the most different from the voltage value in other states. When switching between C9 / C10 and other states, it is also the easiest to generate a large voltage difference, causing noise of electromagnetic capacitors.
[0090] During implementation, the target voltage value corresponding to each sub-state can be set according to the actual situation, and the target voltage value should not be too different from the voltage of other sub-states. Figure 3B A schematic diagram of a group of measured output voltage values of a power chip provided in an embodiment of the present application, such as Figure 3B As shown, it can be tested that the target voltage value is set between 0.7V and 0.8V.
[0091] Step 132: The first component controls the power chip to adjust the output voltage based on at least two of the target voltage values and the voltage value switching frequency.
[0092] Here, the voltage value switching frequency may be a frequency of switching the output voltage. For example, when the target voltage values are 0.7V and 0.8V, the voltage switching frequency is a frequency of switching between 0.7V and 0.8V.
[0093] During the implementation process, the first component (small core) sends internal instructions to the second component (large core) under specific conditions, such as light load, and connects to the SVID controller through the large core to send voltage SVID instructions and corresponding slope instructions. At the same time, the frequencies of the two target voltages (high and low voltage) can be dynamically switched. At this time, the CPU is still in the power saving state of C9 / C10, and the power saving state is not affected.
[0094] In the embodiment of the present application, the voltage adjustment instruction also includes a voltage value switching frequency. In the noise reduction control state, the processor is determined to switch to at least two sub-states and the target voltage value corresponding to each sub-state; the first component controls the power supply chip to adjust the output voltage based on at least two target voltage values and the voltage value switching frequency. In this way, the power supply chip can adjust the output voltage based on at least two target voltage values and the voltage value switching frequency, so that the processor maintains a certain power saving state, and at the same time can reduce the noise generated by the vibration of the electromagnetic capacitor.
[0095] In some implementations, the step of controlling the output voltage further includes the following steps:
[0096] Step 133, counting the corresponding holding time of each sub-state;
[0097] During implementation, the retention time corresponding to each sub-state may be counted based on historical usage data of the electronic device in combination with current usage data.
[0098] In some implementations, the second component (or other components of the electronic device) can be used to calculate the retention time corresponding to each sub-state based on historical usage data of the electronic device in combination with current usage data.
[0099] Step 134: Determine the voltage value switching frequency based on the corresponding holding time of each of the sub-states.
[0100] In some embodiments, the second component (or other components of the electronic device) may determine the voltage value switching frequency based on the corresponding holding time length of each of the sub-states.
[0101] Here, the corresponding holding time of each sub-state is proportional to the switching frequency of the voltage value. For example, the longer the holding time of the sub-state, the longer the voltage value of the corresponding sub-state is maintained; similarly, the shorter the holding time of the sub-state, the shorter the voltage value of the corresponding sub-state stays. The voltage value corresponding to the C9 state is 0.8V, and the voltage value corresponding to the C10 state is 0.3V. In this way, if the holding time of the C9 state is 1:3 to the holding time of the C10 state, then the ratio of the holding time of the voltage value of 0.8V to the holding time of the voltage value of 0.3V is also 1:3.
[0102] In the embodiment of the present application, the corresponding holding time of each sub-state is first counted; then the voltage value switching frequency is determined based on the corresponding holding time of each sub-state. In this way, the voltage value switching frequency is determined based on the corresponding holding time of each sub-state, so that the voltage value of the control output can be more consistent with the working state of the processor.
[0103] In some embodiments, the electronic device has a set waiting time; the waiting time is the waiting time for the processor to enter any of the at least two sub-states from the first state, and the method for controlling the output voltage further includes the following steps:
[0104] Step 135: Modify the waiting time in response to the time parameter received by the electronic device.
[0105] In some embodiments, the first state is a state where the electronic device is above C3 / C4, which can be a screen-off state. The waiting time to enter any of the two sub-states from the first state can be to enter the C9 / C10 state from the state above C3 / C4. For example, the waiting time to enter can be set to 30 seconds (s), that is, if the user does not operate the electronic device after 30s in the C3 / C4 state, the C9 / C10 state is entered. Since the user may trigger the operation in the 15th second, all processors do not need to enter the C9 / C10 state, that is, the number of voltage changes provided to the processor can be reduced.
[0106] In some embodiments, the time for the processor to switch from the C0 state to the C1 to C8 state can be set to 20 seconds. For example, when the electronic device is turned off, the processor switches from C0 to C3 within 20 seconds, which reduces the processor from entering the state between C1 to C8, further reduces the probability of the processor entering the C9 / C10 state, and effectively reduces voltage fluctuations.
[0107] In some embodiments, the waiting duration may be modified by a second component (or other component of the electronic device) in response to a duration parameter received by the electronic device.
[0108] In the embodiment of the present application, the waiting time is modified in response to the time parameter received by the electronic device. In this way, the user can set the waiting time according to actual needs and determine a balanced noise reduction strategy between reducing power consumption and reducing noise.
[0109] In some embodiments, when it is determined that the processor of the electronic device switches from any of the sub-states to the first working state, the target voltage is increased to the working voltage;
[0110] When the electronic device is running a large load, such as gaming or video scenes above 1080P, the processor of the electronic device switches directly from C9 / C10 to C0. The voltage can be switched from 0.8V to the operating voltage, effectively reducing the voltage difference and reducing the vibration of the electromagnetic capacitor.
[0111] When it is determined that the electronic device switches from any of the sub-states to the second working state, the target voltage is increased to an intermediate voltage, wherein the intermediate voltage is greater than the target voltage and less than the working voltage;
[0112] When it is determined that the electronic device switches from the second working state to the first working state, raising the intermediate voltage to the working voltage;
[0113] The power consumption of the first working state is greater than the power consumption of the second working state.
[0114] When the electronic device is running with a light load, such as clicking the mouse, opening office, operating documents, etc., the processor of the electronic device switches from C9 / C10 to C3 / C4, that is, the voltage is switched from 0.8V to the intermediate voltage corresponding to the C3 / C4 state; when there are operations such as editing documents in the C3 / C4 state, it switches from C3 / C4 to C10, that is, the voltage is switched from the intermediate voltage corresponding to the C3 / C4 state to the working voltage of the C0 state. In this way, gradually raising the voltage value can also effectively reduce the voltage difference and reduce the vibration of the electromagnetic capacitor.
[0115] Figure 4 A schematic diagram of a noise reduction control process provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the following steps are included:
[0116] Step S410, start;
[0117] Step S420, the electronic device is started in a default state;
[0118] Step S430, display on / off event;
[0119] During the implementation process, customized P-code can be used to transfer the control of Cstate and SVID to the small core when the CPU is idle (IDLE), and determine whether to start the noise reduction control logic based on the state of the display (DISPLAY ON / OFF).
[0120] Step S440, dynamically control the C9 / C10 noise reduction state on / off;
[0121] In some embodiments, whether to turn on / off the C9 / C10 noise reduction state can be determined by acquiring the real-time power of the electronic device.
[0122] In some embodiments, the ambient noise may be acquired to determine whether to turn the C9 / C10 noise reduction state on / off.
[0123] During the implementation process, control intervention can be carried out from the bottom-level CPU core. In IDLE, the control of the CPU's SVID instructions is transferred from the large core to the small core. Under specific conditions, such as light load, the small core sends internal instructions to the large core, which is connected to the SVID controller through the large core to send voltage SVID instructions and corresponding slope instructions. At the same time, the frequency of high and low voltages can be dynamically switched. At this time, the CPU is still in the C9 / C10 power-saving state, and the power-saving state is not affected.
[0124] Step S450: modify the waiting time.
[0125] According to the behavior of the CPU and the state of the operating system test, in the IDLE state, the operating system will periodically wake up the CPU working voltage after communicating with the CPU, in order to quickly respond to the operation and processing of various software. For example, in the standby state, since various software needs to be woken up at any time in the background, the output voltage of the CPU must be switched frequently, and the level changes dynamically from 0V to 0.3 to 0.8V, and the frequency is determined by the length of time the CPU stays in the C9 / C10 state. By setting different wake-up times for VCCINDEMOTION, you can successfully avoid the voltage switching of the CPU in the C9 / C10 state.
[0126] Dynamically control the execution time of the SVID decay command (DECAY COMMAND) without affecting the CPU's C state. The CPU can still control the SVID protocol from the bottom layer in the C9 / C10 power saving state, so that the VCCIN power supply can be more customized in the CPU's C9 / C10 state to prevent the DECAY COMMAND from executing the output, thereby maintaining the CPU power output at a high voltage level, reducing the switching frequency of high and low voltage levels, and reducing the voltage difference ΔV at the two poles of the ceramic capacitor, thereby reducing the vibration amplitude of the ceramic capacitor, and then reducing the resonance amplitude of the entire motherboard, achieving a significant reduction in the sound intensity level of audio noise.
[0127] In the embodiment of the present application, when it is determined to enter the noise reduction logic, control intervention is performed from the bottom CPU core. In IDLE, the control right of the CPU's SVID instruction is transferred from the large core to the small core. Under specific conditions, such as light load, the small core sends internal instructions to the large core, which is connected to the SVID controller through the large core to send voltage SVID instructions and corresponding slope instructions. At the same time, the frequency of high and low voltages can be dynamically switched to reduce the switching frequency of high and low voltage levels, reduce the voltage difference between the two poles of the ceramic capacitor, thereby reducing the vibration amplitude of the ceramic capacitor, and then reduce the resonance amplitude of the overall motherboard, thereby greatly reducing the sound intensity level of audio noise. Using the small core to send internal instructions can achieve the effect of reducing power consumption.
[0128] Based on the foregoing embodiments, an embodiment of the present application provides a control device, which includes the modules included, each module includes sub-modules, and can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0129] Figure 5 A schematic diagram of the structure of the control device provided in the embodiment of the present application is shown in FIG. Figure 5 As shown, the device 500 includes:
[0130] A first determining module 510 is used to determine that the electronic device is in a noise reduction control state, wherein the processor of the electronic device includes at least a first component and a second component, and the processing performance of the first component is better than the processing performance of the second component;
[0131] A sending module 520, configured to send a voltage adjustment instruction to the first component by using the second component;
[0132] The control module 530 is used to control the voltage output of the power chip in the noise reduction control state based on the voltage adjustment instruction using the first component, wherein the power chip is used to provide power to the processor of the electronic device.
[0133] In some embodiments, a first power consumption of the first component when not receiving the voltage adjustment instruction is lower than a second power consumption of the first component when receiving the voltage adjustment instruction.
[0134] In some embodiments, the first determination module 510 includes at least one of the following sub-modules: a first setting sub-module, a second setting sub-module, and a second determination sub-module, wherein the first setting sub-module is used to set the electronic device to the noise reduction control state when it is determined that the real-time power consumption of the electronic device is greater than the power consumption threshold; the second setting sub-module is used to set the electronic device to the noise reduction control state when it is determined that the processor is in a first state, wherein the power consumption of the processor in the first state is greater than or equal to the first power consumption threshold; the third setting sub-module is used to set the electronic device to the noise reduction control state when it is determined that the noise value of the environment in which the electronic device is located does not meet the noise threshold.
[0135] In some embodiments, the control device also includes an acquisition module and a second determination module, wherein the acquisition module is used to acquire the real-time power consumption of the electronic device; the second determination module is used to determine at least one adjustment voltage value in the voltage adjustment instruction based on the real-time power consumption; correspondingly, the control module 530 is also used for the first component to control the voltage output of the power chip in the noise reduction state based on at least one of the adjustment voltage values.
[0136] In some embodiments, the voltage adjustment instruction also includes a voltage value switching frequency, and the control module 530 includes a fourth determination submodule and a first adjustment submodule, wherein the fourth determination submodule is used to determine that the processor switches to at least two substates and the target voltage values corresponding to each substate in the noise reduction control state, wherein the power consumption of at least two of the substates is less than the second power consumption threshold, and the power consumption of each of the substates is different; the first adjustment submodule is used for the first component to control the power supply chip to adjust the output voltage based on at least two of the target voltage values and the voltage value switching frequency.
[0137] In some embodiments, the control module 530 also includes a statistical submodule and a fifth determination submodule, wherein the statistical submodule is used to count the corresponding holding time of each of the substates; and the fifth determination submodule is used to determine the voltage value switching frequency based on the corresponding holding time of each of the substates.
[0138] In some embodiments, the electronic device has a set waiting time; the waiting time is the waiting time for the processor to enter any one of at least two sub-states from the first state, and the control module 530 also includes a modification sub-module for modifying the waiting time in response to a time parameter received by the electronic device.
[0139] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0140] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0141] Correspondingly, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the control method provided in the above embodiment are implemented.
[0142] Correspondingly, an embodiment of the present application provides an electronic device, Figure 6 A hardware entity diagram of an electronic device provided in an embodiment of the present application, such as Figure 6 As shown, the hardware entity of the device 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores a computer program that can be run on the processor 602, and the processor 602 implements the steps of the control method provided in the above embodiment when executing the program.
[0143] The memory 601 is configured to store instructions and applications executable by the processor 602, and can also cache data to be processed or processed by the processor 602 and various modules in the electronic device 600 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0144] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0145] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0146] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0147] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0148] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0149] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0150] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0151] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0152] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0153] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0154] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0155] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A control method, applied to an electronic device, wherein a processor of the electronic device comprises at least a first component and a second component, wherein the processing performance of the first component is better than the processing performance of the second component, and the method comprises: Determining that the electronic device is in a noise reduction control state; The second component sends a voltage adjustment instruction to the first component; The first component controls the voltage output of the power chip in the noise reduction control state based on the voltage adjustment instruction, wherein the power chip is used to provide power to the processor of the electronic device. 2 . The method according to claim 1 , wherein a first power consumption of the first component when not receiving the voltage adjustment instruction is lower than a second power consumption of the first component when receiving the voltage adjustment instruction.
3. The method according to claim 1, wherein determining that the electronic device is in a noise reduction control state comprises at least one of the following steps: When determining that the real-time power consumption of the electronic device is greater than a first power consumption threshold, setting the electronic device to the noise reduction control state; When it is determined that the processor is in the first state, the electronic device is set to be in the noise reduction control state, wherein: The power consumption of the processor in the first state is greater than or equal to a second power consumption threshold; When it is determined that the noise value of the environment in which the electronic device is located does not meet the noise threshold, the electronic device is set to be in the noise reduction control state.
4. The method of claim 1, further comprising: Acquiring real-time power consumption of the electronic device; Determine at least one adjusted voltage value in the voltage adjustment instruction based on the real-time power consumption; Correspondingly, the first component controls the voltage output of the power chip in the noise reduction control state based on the voltage adjustment instruction, including: The first component controls the voltage output of the power chip in the noise reduction state based on at least one of the adjustment voltage values.
5. The method according to claim 4, wherein the voltage adjustment instruction further comprises a voltage value switching frequency, and the first component controls the voltage output of the power chip in the noise reduction state based on at least one adjustment voltage value, comprising: In the noise reduction control state, determining that the processor switches to at least two sub-states and target voltage values corresponding to each sub-state, wherein the power consumption of the processor in at least two of the sub-states is less than a second power consumption threshold, and the power consumption of each of the sub-states is different; The first component controls the power chip to adjust the output voltage based on at least two of the target voltage values and the voltage value switching frequency.
6. The method of claim 5, further comprising: Counting the retention time corresponding to each of the sub-states; The voltage value switching frequency is determined based on the corresponding holding time length of each of the sub-states.
7. The method according to claim 5, wherein the electronic device has a set waiting time; the waiting time is the waiting time for the processor to enter any of the at least two sub-states from the first state, and the method further comprises: The waiting duration is modified in response to a duration parameter received by the electronic device.
8. A control device, comprising: A first determining module, configured to determine that the electronic device is in a noise reduction control state, wherein a processor of the electronic device includes at least a first component and a second component, and a processing performance of the first component is better than a processing performance of the second component; a sending module, configured to send a voltage adjustment instruction to the first component by using the second component; A control module is used to control the voltage output of a power chip in the noise reduction control state based on the voltage adjustment instruction using the first component, wherein the power chip is used to provide power to the processor of the electronic device.
9. An electronic device, comprising a memory, a processor and a power chip, wherein the processor comprises at least a first component and a second component, the processing performance of the first component is better than the processing performance of the second component, the power chip provides electrical energy for the processor, the memory stores a computer program that can be run on the processor, and the processor implements the steps in the method described in any one of claims 1 to 7 when executing the computer program.
10. A computer program product, comprising a computer program or instructions, wherein when the computer program or instructions are executed by a processor, the steps in the method according to any one of claims 1 to 7 are implemented.
