CN113687709A - Control method and device and electronic equipment - Google Patents

Control method and device and electronic equipment Download PDF

Info

Publication number
CN113687709A
CN113687709A CN202110976712.7A CN202110976712A CN113687709A CN 113687709 A CN113687709 A CN 113687709A CN 202110976712 A CN202110976712 A CN 202110976712A CN 113687709 A CN113687709 A CN 113687709A
Authority
CN
China
Prior art keywords
voltage
power supply
mode
electronic device
noise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110976712.7A
Other languages
Chinese (zh)
Inventor
范长明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110976712.7A priority Critical patent/CN113687709A/en
Publication of CN113687709A publication Critical patent/CN113687709A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • G06F1/305Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Abstract

The application discloses a control method, a control device and electronic equipment, wherein the method comprises the following steps: obtaining a voltage control instruction, wherein the voltage control instruction is used for instructing a power supply to output voltage according to a target voltage; under the condition that the noise reduction control condition is met, controlling the power supply to output voltage according to a first mode; under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode; in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs voltage according to the current voltage; and in the second mode, the power supply outputs voltage according to the target voltage.

Description

Control method and device and electronic equipment
Technical Field
The present application relates to the field of computer device technologies, and in particular, to a control method and apparatus, and an electronic device.
Background
At present, during the use of equipment such as a notebook computer, the piezoelectric effect of a ceramic capacitor can exist to cause a vibration phenomenon, so that obvious noise appears to influence the use experience of a user.
Therefore, a scheme capable of controlling the noise of the device is needed.
Disclosure of Invention
In view of the above, the present application provides a control method, an apparatus and an electronic device, as follows:
a control method, comprising:
obtaining a voltage control instruction, wherein the voltage control instruction is used for instructing a power supply to output voltage according to a target voltage;
under the condition that the noise reduction control condition is met, controlling the power supply to output voltage according to a first mode;
under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode;
in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs voltage according to the current voltage; in the second mode, the power supply outputs voltage according to the target voltage;
wherein, in the electronic device powered by the power supply, there is a first component which is excited by a voltage change of the power supply to generate noise, and in the first mode, the electronic device powered by the power supply generates a first noise, and in the second mode, the electronic device powered by the power supply generates a second noise;
the first noise is less than or equal to the second noise.
In the method, preferably, the noise reduction control condition is satisfied, and the method includes:
the target pin of the power chip connected to the power supply is set high.
The above method, preferably, further comprises:
monitoring the running state of the electronic equipment;
if the electronic equipment is in a first running state, setting the target pin to be a high position; the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value.
The above method, preferably, further comprises:
monitoring the running state of the electronic equipment;
if the electronic equipment is in a first running state and receives a first instruction, setting the target pin to be a high position;
setting the target pin to be low under the condition that the target pin is set to be high and a second instruction is received;
the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value.
In the method, preferably, the first instruction and the second instruction are sequentially generated by the electronic device according to a preset time interval.
In the above method, preferably, in the first mode, if the voltage control command is a boost type command, after the power supply outputs a voltage according to the target voltage, the method further includes:
sending a first signal to the electronic device, the first signal causing the electronic device to determine that the power supply outputs a voltage signal of the target voltage;
in the first mode, if the voltage control instruction is a step-down type instruction, the method further includes, after the power supply outputs a voltage according to a current voltage:
sending a second signal to the electronic device, the second signal causing the electronic device to determine that the power supply outputs a voltage signal of the target voltage.
In the method, preferably, the electronic device has a set waiting duration, and the waiting duration is greater than or equal to a third threshold; the waiting time is the time for the electronic equipment to wait to enter the second running state in the first running state;
the second operating state is: a state in which the power consumption value is less than or equal to the first threshold value and the temperature value is less than or equal to the second threshold value.
In the method, preferably, the waiting duration modifies the operation setting according to the duration received by the electronic device.
A control device, comprising:
the command receiver is used for obtaining a voltage control command, and the voltage control command is used for instructing the power supply to output voltage according to a target voltage;
the controller is used for controlling the power supply to output voltage according to a first mode under the condition that the noise reduction control condition is met; under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode;
in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs voltage according to the current voltage; in the second mode, the power supply outputs voltage according to the target voltage;
wherein, in the electronic device powered by the power supply, there is a first component which is excited by a voltage change of the power supply to generate noise, and in the first mode, the electronic device powered by the power supply generates a first noise, and in the second mode, the electronic device powered by the power supply generates a second noise;
the first noise is less than or equal to the second noise.
An electronic device, comprising:
a power source;
a first component which is excited by the voltage change of the power supply to generate noise;
the power supply controller is used for obtaining a voltage control instruction, and the voltage control instruction is used for indicating the power supply to output voltage according to target voltage; under the condition that the noise reduction control condition is met, controlling the power supply to output voltage according to a first mode; under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode;
in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs voltage according to the current voltage; in the second mode, the power supply outputs voltage according to the target voltage;
in the first mode, the electronic equipment powered by the power supply generates first noise, and in the second mode, the electronic equipment powered by the power supply generates second noise;
the first noise is less than or equal to the second noise.
It can be seen from the above technical solutions that, in a control method, an apparatus, and an electronic device disclosed in the present application, after obtaining a voltage control instruction for instructing a voltage to output a voltage according to a target voltage, it is determined whether a noise reduction control condition is satisfied, if the noise reduction control condition is satisfied, a power supply may be controlled to output the voltage according to a first mode, and if the noise reduction control condition is not satisfied, the power supply may be controlled to output the voltage according to a second mode, where in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs the voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs the voltage according to a current voltage, except that in the second mode, no matter what type of instruction the voltage control instruction is, the power supply outputs the voltage according to the target voltage, therefore, the mode of voltage output of the power supply is switched to reduce the voltage difference of the voltage output by the power supply so as to achieve the purpose of noise reduction.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a control method according to an embodiment of the present application;
FIG. 2 is an illustration of an embodiment of the present application;
FIGS. 3 and 4 are partial flow charts of a first embodiment of the present application;
FIGS. 5-7 are diagrams of another example of an embodiment of the present application, respectively;
fig. 8 is a schematic structural diagram of a control device according to a second embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to a third embodiment of the present application;
FIG. 10 is a diagram of the circuit architecture of the present application as applied to a computer;
fig. 11-23 are diagrams of an application example of the present application to a computer.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a flowchart of an implementation of a control method provided in an embodiment of the present application is shown, where the method may be applied to an electronic device with a power supply, such as a mobile phone, a pad, or a notebook, where the power supply is instructed by the electronic device to supply power to the electronic device.
Specifically, the method in this embodiment may include the following steps:
step 101: a voltage control command is obtained.
The voltage control instruction is used for instructing the power supply to output voltage according to the target voltage. The voltage control instruction may be an instruction that a second component in the electronic apparatus sends to the power supply to request the power supply to perform voltage output to the second component in accordance with the target voltage.
It should be noted that the second component is a component that needs a voltage signal to support to operate in the electronic device, such as a component with computing capability, such as a central Processing unit (cpu) (central Processing unit) or a graphics Processing unit (gpu) (graphics Processing unit), and the power supply supplies power for the operation of the second component in the electronic device, and the second component sends a voltage control instruction, such as an svid (system V Interface description) instruction, to the power supply to notify the power supply to output a target voltage required by the second component to the second component. Therefore, in this embodiment, the state of the pin or the interface between the second component and the power supply can be monitored, and the voltage control command sent to the power supply by the second component is further obtained.
Step 102: it is determined whether the noise reduction control condition is satisfied, and if the noise reduction control condition is satisfied, step 103 is executed, and if the noise reduction control condition is not satisfied, step 104 is executed.
The noise reduction control condition is a scene condition requiring noise reduction processing. For example, a user needs to perform noise reduction in a scene sensitive to noise of the electronic device; for another example, noise reduction is required in a scene where low noise of the electronic device is required in a special place, and the like. In this embodiment, whether the noise reduction control condition is satisfied or not may be determined by acquiring the operating state of the electronic device and/or the environmental parameters of the environment in which the electronic device is located and analyzing the corresponding application scenario.
Step 103: and controlling the power supply to output voltage according to the first mode.
In the first mode, if the voltage control command is a boost type command, the power supply outputs voltage according to the target voltage, and if the voltage control command is a buck type command, the power supply outputs voltage according to the current voltage.
Specifically, in the first mode, the power supply may determine a command type of the voltage control command, that is, determine whether the voltage control command is a step-up command or a step-down command, and if the voltage control command is the step-up command, the power supply outputs a voltage according to a target voltage to achieve a purpose of stepping up a current voltage output by the power supply to the target voltage, and if the voltage control command is the step-down command, the power supply continues to output the voltage according to the current voltage, and at this time, the output voltage of the power supply remains unchanged.
Step 104: and controlling the power supply to output voltage according to the second mode.
And in the second mode, the power supply outputs voltage according to the target voltage. Specifically, in the second mode, the power supply does not need to judge the type of the command, and after receiving the voltage control command, the power supply can directly output the voltage according to the target voltage according to the instruction of the voltage control command, so as to achieve the purpose of boosting, reducing or maintaining the voltage.
Specifically, in an electronic apparatus that uses a power supply for power supply, there is a first component, such as a ceramic capacitor or the like, that is excited by a voltage change of the power supply to generate noise. In this embodiment, in the first mode, the electronic device powered by the power source generates a first noise, and in the second mode, the electronic device powered by the power source generates a second noise, because the voltage output by the power source in the first mode is only boosted or maintained, and the voltage output by the power source in the second mode is not only boosted or maintained but also reduced, the voltage difference generated by the voltage output by the power source in the first mode is significantly lower than the voltage difference generated by the voltage output by the power source in the second mode, and therefore the first noise generated by the electronic device in the first mode is less than or equal to the second noise generated by the electronic device in the second mode.
The noise referred to in the present application refers to a sound that is disordered and discordant in pitch and tone variation, and specifically is generated by irregular vibration of the sounding body (different from musical tones), that is, the noise is a sound generated when the sounding body vibrates irregularly; or, the noise refers to sound which should not be present in a certain environment, and can be understood as noisy and harsh sound, such as sound which prevents people from normally resting, studying and working, and sound which interferes with sound to be heard by people, and belongs to noise. The noise reduction in the present application refers to reducing the sound intensity, sound power, and the like of noise, so that the electronic device after noise reduction does not affect the use of a user.
As can be seen from the foregoing solution, in a control method provided in an embodiment of the present application, after obtaining a voltage control command for instructing a voltage to output a voltage according to a target voltage, whether a noise reduction control condition is met is determined, if the noise reduction control condition is met, a power supply may be controlled to output the voltage according to a first mode, and if the noise reduction control condition is not met, the power supply may be controlled to output the voltage according to a second mode, where in the first mode, if the voltage control command is a step-up type command, the power supply outputs the voltage according to the target voltage, and if the voltage control command is a step-down type command, the power supply outputs the voltage according to a current voltage, except that in the second mode, no matter what type of command the voltage control command is, the power supply outputs the voltage according to the target voltage, therefore, the mode of voltage output of the power supply is switched to reduce the voltage difference of the voltage output by the power supply so as to achieve the purpose of noise reduction.
In one implementation, the noise reduction control condition may be satisfied as: the target pin of the power chip connected to the power supply is set high.
The target pin is a pin provided for the noise reduction function on the power supply chip, such as an ANS _ EN pin shown in fig. 2. In this embodiment, when determining whether the noise reduction control condition is satisfied, it may be determined whether a target pin on the power chip is set to a high bit, and when the target pin is set to the high bit, it may be determined that the noise reduction condition is satisfied. For example, if the ANS _ EN pin is set to high, it may be determined that the noise reduction control condition is satisfied at this time.
In one implementation, the high or low bit of the target pin is set in this embodiment by the following implementation, as shown in fig. 3:
step 301: the operation state of the electronic device is monitored, step 302 is executed if the electronic device is in the first operation state, and step 303 is executed if the electronic device is in other operation states.
The operation state may include a power consumption value of the electronic device and/or a temperature value of the electronic device. Specifically, the power consumption value of the electronic device may be a power consumption value of the second component, and the temperature value of the electronic device may be a temperature value of the second component. Based on this, in this embodiment, the current power consumption value and/or the temperature value of the electronic device may be detected to monitor the operation state of the electronic device.
Step 302: the target pin is set high.
Specifically, the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value.
Step 303: the target pin is set low.
That is to say, in this embodiment, under the condition that the power consumption value of the electronic device is too high or the temperature value is too high, it may be determined that the user is frequently using the electronic device, and at this time, the electronic device needs to reduce noise, and based on this, the target pin may be set to a high position, and under the condition that the power consumption value of the electronic device is not high and the temperature value is not high, it may be determined that the user does not have a high demand for the electronic device, and at this time, the electronic device may operate normally, and based on this, the target pin may be set to a low position.
In another implementation, the high bit or status of the target pin is set in this embodiment by the following implementation, as shown in fig. 4:
step 401: the operation state of the electronic device is monitored, if the electronic device is in the first operation state, step 402 is executed, and if the electronic device is in the other operation state, step 403 is executed.
The operation state may include a power consumption value of the electronic device and/or a temperature value of the electronic device. Specifically, the power consumption value of the electronic device may be a power consumption value of the second component, and the temperature value of the electronic device may be a temperature value of the second component. Based on this, in this embodiment, the current power consumption value and/or the temperature value of the electronic device may be detected to monitor the operation state of the electronic device.
Specifically, the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value.
Step 402: monitoring whether a first instruction is received, if the first instruction is received, executing step 404, and if the first instruction is not received, returning to executing step 402 to continuously monitor whether the first instruction is received.
The first instruction is an instruction for switching the target pin from a low bit to a high bit.
Step 403: the target pin is set low.
Step 404: the target pin is set high.
Step 405: and if the target pin is set to be high, monitoring whether a second instruction is received, if the target pin is set to be high and the second instruction is received, executing the step 406, and if the second instruction is not received, returning to the step 405 to continuously monitor whether the second instruction is received.
Step 406: the target pin is set to low, and the process returns to step 403 until the electronic device enters other operation states from the first operation state.
Wherein the second instruction is an instruction instructing to switch the target pin from a high bit to a low bit.
And the first instruction and the second instruction are sequentially generated by the electronic equipment according to a preset time interval. The time interval here may be a preset duration value such as 10 seconds or 20 seconds. That is to say, the electronic device generates a command once every other time interval when being in the first operating state, the command interval is a first command and a second command, the first command is generated first when the electronic device is in the first operating state to instruct the target pin to be switched from the low bit to the high bit, the second command is generated after the preset time interval to instruct the target pin to be switched from the high bit to the low bit, the first command is generated again after the preset time interval to instruct the target pin to be switched from the low bit to the high bit, and so on until the electronic device is in other operating states. If the electronic device enters the first operation state again, the electronic device may generate the first instruction again, generate the second instruction after the preset time interval, generate the first instruction again after the preset time interval, and so on.
It should be noted that, after the electronic device enters the first operation state, the first instruction may be generated after a preset time interval, that is, the first instruction and the second instruction are sequentially generated according to the preset time interval from the electronic device entering the first operation state.
For example, as shown in fig. 5, in the case of high temperature or large power consumption, the computer generates a first instruction for 10 seconds before the target pin is switched from low to high, and after 10 seconds, generates a second instruction for switching the target pin from high to low, and after 10 seconds, generates a first instruction for switching the target pin from low to high, and so on until the computer is in a low-power and low-power state, such as a sleep state. If the computer again enters a high temperature or power consumption state, the computer may regenerate the first instruction and after 10 seconds, the second instruction, then after 10 seconds, the first instruction, and so on.
Therefore, when the computer is in an application scene needing noise reduction, namely a scene with high temperature or large power consumption, the target pin can be switched to be in a high position or a low position according to the instruction, namely the noise reduction function is turned on or turned off according to the instruction, and the situation of high power consumption caused by continuous boosting of the power supply voltage due to the fact that the target pin is continuously in the high position is avoided.
In another implementation, the setting of the target pin may be implemented by the user through other controllers in the electronic device, such as ec (embedded controller) in a computer, as shown in fig. 6.
In one implementation, in the first mode, after the power supply outputs the voltage according to the target voltage if the voltage control command is a boost type command, the power supply in this embodiment may further send a first signal to the electronic device, where the first signal enables the electronic device to determine that the power supply outputs the voltage signal of the target voltage.
Wherein the first signal may be an alert signal for informing a second component, such as a CPU: the power supply has already performed voltage output in accordance with the target voltage required by the second component, based on which the second component side determines that the voltage output by the power supply satisfies its own voltage demand.
In the first mode, if the voltage control instruction is a step-down type instruction, after the power supply outputs a voltage according to the current voltage, the power supply in this embodiment may further send a second signal to the electronic device, where the second signal enables the electronic device to determine a voltage signal at which the power supply outputs the target voltage.
Wherein the second signal may be an alert signal, the first signal for informing a second component, such as a CPU: the power supply already outputs voltage according to the target voltage required by the second component, so that the deception second component can determine that the voltage output by the power supply meets the own voltage requirement, and on the basis of the voltage output by the power supply, the power supply can normally operate according to the required target voltage on the side of the second component.
In one implementation, the first operation state may be a state in which the power consumption value is greater than a first threshold or the temperature value is greater than a second threshold, that is, the first operation state is a non-sleep state in which the electronic device normally operates, such as an operation state in which the CPU is in a C7 state; in addition, the electronic device may further have a second operating state, where the second operating state is: the power consumption value is less than or equal to the first threshold value, and the temperature value is less than or equal to the second threshold value, that is, the second operation state may be a sleep state with low power consumption of the electronic device, such as an idle state of the CPU in the C9/C10 state. It can be seen that the voltage output by the power supply in the first operating state is higher than the voltage output by the power supply in the second operating state.
Based on this, in this embodiment, a waiting duration of the electronic device may also be set for the electronic device, where the waiting duration is a duration for the electronic device to wait to enter the second operation state in the first operation state, so that the electronic device enters the second operation state if there is no other input operation after waiting for the waiting duration greater than or equal to the third threshold in the first operation state. As shown in fig. 7, after the electronic device is awakened from the second operation state, such as the sleep state, and enters the first operation state, such as the normal operation state, the electronic device monitors the input operation and waits for a preset 30 ms after monitoring the input operation, and if there is no new input operation, the electronic device enters the second operation state again, that is, in this embodiment, by prolonging the waiting time of entering the second operation state, the frequency of switching the high voltage to the low voltage by the power supply is reduced, so as to avoid frequent switching of the high voltage and the low voltage by the voltage, thereby reducing the number of times of voltage difference existing on the first component, and achieving the purpose of reducing noise.
Specifically, the waiting duration set in this embodiment may modify the operation setting according to the duration received by the electronic device. For example, a waiting time length is set in a BIOS of a computer for 30 milliseconds by a user, the BIOS writes a value of 30 milliseconds into a CPU, so that the CPU enters a sleep state after being awakened and continuously waits for a new input operation for 30 milliseconds, if the new input operation occurs in the waiting period of 30 milliseconds, the CPU counts again and waits for 30 milliseconds again, and therefore the frequency of the CPU entering the sleep state within a certain time length is reduced, the frequency of switching a high voltage into a low voltage by a power supply is reduced, frequent high-voltage and low-voltage switching of the voltage is avoided, the frequency of voltage difference existing on a ceramic capacitor is reduced, and the purpose of reducing noise is achieved.
Referring to fig. 8, a schematic structural diagram of a control apparatus according to a second embodiment of the present disclosure is provided, where the apparatus may be applied to an electronic device with a power supply, such as a mobile phone, a pad, or a notebook, and in the electronic device, the power supply is instructed by the electronic device to supply power to the electronic device.
Specifically, the control device in this embodiment may include the following structure:
an instruction receiver 801 configured to obtain a voltage control instruction, where the voltage control instruction is used to instruct a power supply to perform voltage output according to a target voltage;
a controller 802 for controlling the power supply to output a voltage in a first mode when the noise reduction control condition is satisfied; under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode;
in the first mode, if the voltage control instruction is a boosting type instruction, the power supply outputs voltage according to target voltage, and if the voltage control instruction is a voltage reduction type instruction, the power supply outputs voltage according to current voltage; in a second mode, the power supply outputs voltage according to the target voltage;
the electronic equipment powered by the power supply comprises a first component, a second component and a third component, wherein the first component is excited by voltage change of the power supply to generate noise, and in a first mode, the electronic equipment powered by the power supply generates first noise, and in a second mode, the electronic equipment powered by the power supply generates second noise;
the first noise is less than or equal to the second noise.
As can be seen from the foregoing solution, in the control device provided in the second embodiment of the present application, after obtaining the voltage control command for instructing the voltage to output according to the target voltage, it is determined whether the noise reduction control condition is satisfied, if the noise reduction control condition is satisfied, the power supply may be controlled to output the voltage according to the first mode, and if the noise reduction control condition is not satisfied, the power supply may be controlled to output the voltage according to the second mode, where in the first mode, if the voltage control command is a step-up type command, the power supply outputs the voltage according to the target voltage, and if the voltage control command is a step-down type command, the power supply outputs the voltage according to the current voltage, except that in the second mode, no matter what type of command the voltage control command is, the power supply outputs the voltage according to the target voltage, therefore, the mode of voltage output of the power supply is switched to reduce the voltage difference of the voltage output by the power supply so as to achieve the purpose of noise reduction.
In one implementation, the noise reduction control condition is satisfied, including: the target pin of the power chip connected to the power supply is set high.
Based on the above implementation, in this embodiment, a target pin is set by monitoring an operating state of the electronic device, for example, if the electronic device is in a first operating state, the target pin is set to be in a high position; the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value. Or if the electronic equipment is in a first running state and receives a first instruction, setting the target pin to be a high position; setting the target pin to be low under the condition that the target pin is set to be high and a second instruction is received; the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value.
Optionally, the first instruction and the second instruction are sequentially generated by the electronic device according to a preset time interval.
In one implementation, in the first mode, if the voltage control command is a boost type command, after the power supply outputs a voltage according to the target voltage, the controller 802 may further send a first signal to the electronic device, where the first signal causes the electronic device to determine that the power supply outputs a voltage signal of the target voltage;
in the first mode, if the voltage control instruction is a step-down type instruction, after the power supply outputs a voltage according to the current voltage, the controller 802 may further send a second signal to the electronic device, where the second signal enables the electronic device to determine that the power supply outputs a voltage signal of the target voltage.
In one implementation manner, the electronic device in this embodiment has a set waiting duration, where the waiting duration is greater than or equal to a third threshold; the waiting time is the time for the electronic equipment to wait to enter the second running state in the first running state; the second operating state is: a state in which the power consumption value is less than or equal to the first threshold value and the temperature value is less than or equal to the second threshold value.
Optionally, the waiting duration modifies the operation setting according to the duration received by the electronic device.
It should be noted that, for the specific implementation of each unit in the present embodiment, reference may be made to the corresponding content in the foregoing, and details are not described here.
Referring to fig. 9, a schematic structural diagram of an electronic device according to a third embodiment of the present application is shown, where the electronic device may be a mobile phone, a pad, or a notebook.
In this embodiment, the electronic device may include the following structure:
a power supply 901 for outputting a voltage to supply power to the electronic device.
The first component 902 is excited by the voltage variation of the power source 901 to generate noise, such as a ceramic capacitor.
The second component 903 may be a component with computing power, such as a CPU or GPU.
A power controller 904, such as a power chip, for obtaining a voltage control command, where the voltage control command is used to instruct the power supply 901 to output a voltage according to a target voltage; in the case where the noise reduction control condition is satisfied, the power supply 901 is controlled to perform voltage output in the first mode; controlling the power supply 901 to output voltage according to the second mode when the noise reduction control condition is not satisfied;
in the first mode, if the voltage control command is a boost type command, the power supply 901 outputs a voltage according to a target voltage, and then the power supply controller 904 sends a first signal to the second component 903, so that the electronic device determines that the power supply 901 outputs a voltage signal of the target voltage; if the voltage control instruction is a step-down type instruction, the power supply 901 outputs a voltage according to the current voltage; in the second mode, the power supply 901 outputs a voltage according to a target voltage, and then the power supply controller 904 sends a second signal to the second component 903, so that the electronic device determines that the power supply 901 outputs a voltage signal of the target voltage;
in the first mode, the electronic equipment powered by the power supply generates first noise, and in the second mode, the electronic equipment powered by the power supply generates second noise;
the first noise is less than or equal to the second noise.
In addition, the electronic device may further include a memory and the like, where the memory is used to store an application program, so that the second component 903 can run the application program under the support of the output voltage of the power supply 901 to implement a corresponding function. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The second component 903 is configured to notify the power supply 901 to output a required target voltage to the second component 903 by sending a voltage control command, such as an SVID command, to the power supply 901.
As can be seen from the above solution, in an electronic device provided in the third embodiment of the present application, after obtaining a voltage control command for instructing a voltage to output a voltage according to a target voltage, it is determined whether a noise reduction control condition is satisfied, if the noise reduction control condition is satisfied, a power supply may be controlled to output the voltage according to a first mode, and if the noise reduction control condition is not satisfied, the power supply may be controlled to output the voltage according to a second mode, where in the first mode, if the voltage control command is a step-up type command, the power supply outputs the voltage according to the target voltage, and if the voltage control command is a step-down type command, the power supply outputs the voltage according to a current voltage, except that in the second mode, no matter what type of command the voltage control command is, the power supply outputs the voltage according to the target voltage, therefore, the mode of voltage output of the power supply is switched to reduce the voltage difference of the voltage output by the power supply so as to achieve the purpose of noise reduction.
Taking an electronic device as an example, the following describes the technical solution in the present application in detail:
firstly, according to the technical scheme of the application, a VID DOWN command in an SVID command of a CPU is controlled to perform selective command avoidance (Bypass), namely only a VID UP command is executed, and meanwhile, the CPU is deceived to execute VID DWON, so that the output voltage of a power supply is always maintained at a high voltage level, the switching frequency of different voltage levels is reduced, the voltage difference delta V of two poles of a ceramic capacitor is reduced, the vibration amplitude of two ends of the ceramic capacitor MLCC is reduced, the resonance amplitude of the whole mainboard is further reduced, and the sound intensity level of audio noise is greatly reduced.
In conjunction with the circuit architecture diagram shown in fig. 10, the CPU sends an SVID instruction to the power supply chip to cause the power supply chip to control the power supply to output a corresponding voltage. In the process, the power supply normally works, namely in the second mode, the power supply can execute the voltage increase or decrease according to the VID command sent by the CPU, in the IDLE state, namely in the first mode, the novel power supply chip adds a 'control VID' function PIN, when the Enable PIN (namely a PIN ANS _ EN) is low, the power supply chip executes according to the VID UP or VID DOWN sent by the CPU, and after finishing a piece of data, the power supply chip sends an Alert signal to the CPU to inform the CPU that the VID command is executed.
When the Enable PIN is high, the power chip will only execute the instruction of VID Up and refuse to execute the instruction of VID DOWN, and after finishing each data, the power chip will also synchronously send an Alert signal to the CPU to "trick" the CPU to execute the VID instruction.
Therefore, when the noise reduction function is turned on, the output voltage level of the power chip is always maintained at the high level, and is not lowered to the low voltage level, as shown in fig. 11. Therefore, the voltage difference delta V of the two poles of the ceramic capacitor is reduced, so that the vibration amplitude of the two ends of the ceramic capacitor MLCC is reduced, the resonance amplitude of the whole main board is further reduced, and the sound intensity level of audio noise is greatly reduced.
Specifically, as shown in the flow chart in fig. 12, after the computer is turned on, the EC defaults to start the noise reduction function by setting the high bit of the pin ANS _ EN, and then, the EC detects whether the system power consumption of the computer is greater than 5W or whether the temperature value of the CPU is greater than 45 degrees, if so, the EC sends an enable high bit instruction and an enable low bit instruction according to a fixed frequency with 10 seconds as a period, so that the power supply chip periodically starts or closes the noise reduction function according to the frequency of 10 seconds, and if not, the EC notifies the power supply chip to close the noise reduction function.
As shown in fig. 13 and 14, for the noise example diagram when the pin ANS _ EN is switched to the low position, that is, the noise reduction function is not turned on, it can be seen that the generated noise is particularly obvious when the voltage signal is 16kHz, and the generated noise has reached 35.8dB, and there are cases where indexes exceed in the indexes of sound pressure spl, loudness Tone, deviation Tone _ to _ noise, proportion Modulation, and Sharpness shape, as the area framed in fig. 14.
As shown in fig. 15 and fig. 16, which are noise example diagrams when the pin ANS _ EN is switched to the high position, that is, the noise reduction function is turned on, it can be seen that the noise reduction effect is particularly obvious when the voltage signal is 16kHz, and has been reduced to 12.4dB, and there are exponential reductions in the indexes of sound pressure spl, loudness Tone, deviation Tone _ to _ noise, occupancy Modulation, and Sharpness, etc.
Furthermore, in the technical scheme of the application, two parameters of power consumption and CPU temperature are introduced into the system at the same time to serve as switching conditions for dynamically switching the Enable PIN to be high or low. For example, under the condition of high power consumption or high temperature of a CPU, the power consumption is prevented from being overlarge due to the timed switching noise reduction function. In the high power consumption state, it indicates that a user needs to start a noise reduction function when using a computer, and therefore, the pin 13, i.e., the pin ANS _ EN, needs to be set to a high bit, as shown in fig. 17, the pin 13 is enabled by the EC through the IC _ EN, and other pins continue to be in respective states and are not affected by the pin 13. In order to reduce power consumption, the pin ANS _ EN needs to be switched to a low state after being maintained in a high state for a certain period of time, and so on.
In addition, the power supply can be adjusted to output different voltage levels when the CPU is in the C9/C10 state in the technical scheme of the application, so that the power supply output is maintained at the high voltage level, the switching frequency of the high and low different voltage levels is reduced, the voltage difference delta V of the two poles of the ceramic capacitor is reduced, the vibration amplitude of the ceramic capacitor MLCC is reduced, the resonance amplitude of the whole mainboard is reduced, and the sound intensity level of audio noise is greatly reduced.
Specifically, when the power chip normally works, in the IDLE state, the operating system and the CPU may wake up the CPU working voltage at regular time after communicating with each other, in order to quickly correspond to the operation and processing of various software, in the standby state, since various software needs to be woken up at any time in the background, the output voltage of the CPU needs to be frequently switched, the voltage level dynamically changes from 0V to 1.6V, as shown in fig. 18, and the frequency is determined according to the length of the stay time of the CPU in the C9/C10 state.
In order to reduce the change frequency of the voltage level, different wake-up times can be set for the VCCIN DEMOTION in the technical scheme of the application, so that the voltage switching of the CPU in the state of C9/C10 can be successfully avoided. For example, as shown in fig. 19, after the computer is powered on, the computer is started in a default state, that is, the computer is woken up with a default waiting duration of 10 ms, the BIOS is notified after a delay of 10 s after the start of the delay timer, and the CPU VCCIN DEMOTION is modified by the BIOS to 30 ms (of course, other durations are also possible), so that the duration of waiting after being woken up is extended from 10 ms to 30 ms, thereby avoiding frequent switching of voltage levels, and thus avoiding a situation of loud noise caused by excessively frequent voltage difference transformation.
As shown in fig. 20, in the case where the waiting time period is not extended, the power supply is in a state where the CPU outputs the voltage, and based on this, as shown in fig. 21, the computer has an index exceeding the standard in the indexes such as the sound pressure spl, the loudness Tone, the deviation Tone _ to _ noise, the occupancy ratio Modulation, and the Sharpness shape, as shown in fig. 21, and the area is framed in fig. 21.
As shown in fig. 22, in the case where the extended waiting time period is 30 ms, the power supply is in a state where the CPU outputs the voltage, and based on this, as shown in fig. 23, the computer has exponential reductions in the indexes such as the sound pressure spl, the loudness Tone, the deviation Tone _ to _ noise, the occupancy Modulation, and the Sharpness.
In conclusion, the technical scheme of the application can greatly improve the problem of serious audio noise of the notebook computer during working, does not change the vibration period and frequency of the power supply, and has no influence on the output efficiency of the power supply, so that the performance of the notebook computer and the battery endurance are not influenced.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A control method, comprising:
obtaining a voltage control instruction, wherein the voltage control instruction is used for instructing a power supply to output voltage according to a target voltage;
under the condition that the noise reduction control condition is met, controlling the power supply to output voltage according to a first mode;
under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode;
in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs voltage according to the current voltage; in the second mode, the power supply outputs voltage according to the target voltage;
wherein, in the electronic device powered by the power supply, there is a first component which is excited by a voltage change of the power supply to generate noise, and in the first mode, the electronic device powered by the power supply generates a first noise, and in the second mode, the electronic device powered by the power supply generates a second noise;
the first noise is less than or equal to the second noise.
2. The method of claim 1, the noise reduction control condition being satisfied, comprising:
the target pin of the power chip connected to the power supply is set high.
3. The method of claim 2, further comprising:
monitoring the running state of the electronic equipment;
if the electronic equipment is in a first running state, setting the target pin to be a high position; the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value.
4. The method of claim 2, further comprising:
monitoring the running state of the electronic equipment;
if the electronic equipment is in a first running state and receives a first instruction, setting the target pin to be a high position;
setting the target pin to be low under the condition that the target pin is set to be high and a second instruction is received;
the first operating state is: a state in which the power consumption value is greater than the first threshold value or the temperature value is greater than the second threshold value.
5. The method of claim 4, the first instruction and the second instruction being generated by the electronic device sequentially at a preset time interval.
6. The method according to claim 1 or 2, wherein in the first mode, after the power supply performs voltage output in accordance with the target voltage if the voltage control command is a boost type command, the method further comprises:
sending a first signal to the electronic device, the first signal causing the electronic device to determine that the power supply outputs a voltage signal of the target voltage;
in the first mode, if the voltage control instruction is a step-down type instruction, the method further includes, after the power supply outputs a voltage according to a current voltage:
sending a second signal to the electronic device, the second signal causing the electronic device to determine that the power supply outputs a voltage signal of the target voltage.
7. The method of claim 4, the electronic device having a set wait duration, the wait duration being greater than or equal to a third threshold; the waiting time is the time for the electronic equipment to wait to enter the second running state in the first running state;
the second operating state is: a state in which the power consumption value is less than or equal to the first threshold value and the temperature value is less than or equal to the second threshold value.
8. The method of claim 7, wherein the wait duration modifies an operational setting based on a duration received by the electronic device.
9. A control device, comprising:
the command receiver is used for obtaining a voltage control command, and the voltage control command is used for instructing the power supply to output voltage according to a target voltage;
the controller is used for controlling the power supply to output voltage according to a first mode under the condition that the noise reduction control condition is met; under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode;
in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs voltage according to the current voltage; in the second mode, the power supply outputs voltage according to the target voltage;
wherein, in the electronic device powered by the power supply, there is a first component which is excited by a voltage change of the power supply to generate noise, and in the first mode, the electronic device powered by the power supply generates a first noise, and in the second mode, the electronic device powered by the power supply generates a second noise;
the first noise is less than or equal to the second noise.
10. An electronic device, comprising:
a power source;
a first component which is excited by the voltage change of the power supply to generate noise;
the power supply controller is used for obtaining a voltage control instruction, and the voltage control instruction is used for indicating the power supply to output voltage according to target voltage; under the condition that the noise reduction control condition is met, controlling the power supply to output voltage according to a first mode; under the condition that the noise reduction control condition is not met, controlling the power supply to output voltage according to a second mode;
in the first mode, if the voltage control instruction is a boost type instruction, the power supply outputs voltage according to the target voltage, and if the voltage control instruction is a buck type instruction, the power supply outputs voltage according to the current voltage; in the second mode, the power supply outputs voltage according to the target voltage;
in the first mode, the electronic equipment powered by the power supply generates first noise, and in the second mode, the electronic equipment powered by the power supply generates second noise;
the first noise is less than or equal to the second noise.
CN202110976712.7A 2021-08-24 2021-08-24 Control method and device and electronic equipment Pending CN113687709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110976712.7A CN113687709A (en) 2021-08-24 2021-08-24 Control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110976712.7A CN113687709A (en) 2021-08-24 2021-08-24 Control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113687709A true CN113687709A (en) 2021-11-23

Family

ID=78582039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110976712.7A Pending CN113687709A (en) 2021-08-24 2021-08-24 Control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113687709A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032682A (en) * 2018-09-20 2018-12-18 合肥联宝信息技术有限公司 A kind of noise control system and method
CN110017295A (en) * 2019-02-25 2019-07-16 睿高(广州)通信技术有限公司 Temprature control method, computer equipment and the storage medium of satellite power amplifier transmitter
CN112799498A (en) * 2021-02-07 2021-05-14 联想(北京)有限公司 Control method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032682A (en) * 2018-09-20 2018-12-18 合肥联宝信息技术有限公司 A kind of noise control system and method
CN110017295A (en) * 2019-02-25 2019-07-16 睿高(广州)通信技术有限公司 Temprature control method, computer equipment and the storage medium of satellite power amplifier transmitter
CN112799498A (en) * 2021-02-07 2021-05-14 联想(北京)有限公司 Control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
KR101562448B1 (en) Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
US8677165B2 (en) Variably delayed wakeup transition
US6108426A (en) Audio power management
US20120329533A1 (en) Portable Communication Device with Multi-Tiered Power Save Operation
JP4392479B2 (en) Power management apparatus and method
US20130166832A1 (en) Methods and electronic devices for adjusting the operating frequency of a memory
JP3742364B2 (en) Clock frequency control method and electronic device
JP5611855B2 (en) Power control apparatus and power control method
US9781679B2 (en) Electronic systems and method of operating electronic systems
CN109582072B (en) Control method and device and electronic equipment
US20040181700A1 (en) Variation reduction in an information processor having multiple power levels
CN109491490B (en) Control method and device and electronic equipment
CN113986000A (en) Server power-on method, system, device and medium
CN113687709A (en) Control method and device and electronic equipment
CN109542154B (en) Control method and electronic equipment
CN112799498A (en) Control method and device and electronic equipment
WO2013170809A1 (en) Method and device for reducing power consumption of mobile terminal, and terminal thereof
US8117473B2 (en) Noise reduction by returning to normal mode upon above threshold usage while periodically changing between sleep mode and low frequency mode
JP4030408B2 (en) Operating frequency control system and method
GB2615651A (en) Method of controlling an operating state of a computer system and corresponding computer system
CN109933180B (en) Control method and device and electronic equipment
CN109687690B (en) Control method and device and electronic equipment
CN114327020A (en) Wireless module, power consumption control method and electronic equipment
CN109683694A (en) A kind of control method, device and electronic equipment
JP2004056326A (en) Portable terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination