Adapter output power adaptive adjustment method and device

By detecting thermistor temperature and analyzing the temperature trend, dynamically adjusting the adapter output power, the problem of insufficient intelligence of existing adapters is solved, and more stable and efficient power output is achieved, avoiding the risk of excessive protection or insufficient protection.

CN118963458APending Publication Date: 2024-11-15ZIGUANG COMPUTER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411014174.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Existing adapters are less intelligent during overtemperature detection, which can easily lead to problems such as excessive protection or insufficient protection.

Method used

By detecting the thermistor temperature, dynamically adjusting the output power of the adapter, combining the temperature trend and over-temperature value, intelligently judge and adjust the output power, ensuring that the power is reduced when the temperature on the surface of the adapter is too high, and power is increased when the temperature is reduced, so as to avoid malfunctions. Provides more stable and efficient power output.

Benefits of technology

Effectively control the internal temperature of the adapter to prevent components from being overheated and damaged, ensure that the adapter makes full use of its performance within the safe range, provide users with more stable and efficient power output, and avoid misoperation of affecting the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963458A_ABST
    Figure CN118963458A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of over-temperature detection, in particular to an adapter output power self-adaptive adjustment method and device.The method comprises the steps that after an adapter is powered on, the temperature of a thermistor corresponding to the adapter is detected, and when it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time, the rated output power of the adapter is adjusted for the first time; after one adjustment operation, at least one treatment process is executed, and the treatment process comprises the steps that after first target time from the previous adjustment operation, the temperature trend establishment condition of the temperature of the thermistor is judged; and according to the temperature trend establishment condition, the preset over-temperature value triggering condition and whether the current temperature is far away from the preset over-temperature value, the rated output power of the adapter is adjusted again. The performance of the adapter can be fully utilized in a safe range, more stable and efficient power output is provided for a user, and the situation of excessive protection or insufficient protection is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of over-temperature detection, and in particular to a method and device for adaptively adjusting output power of an adapter. Background Art

[0002] An adapter is an electronic device or component whose main function is to connect and convert interfaces of different types or specifications, allowing originally incompatible devices or systems to communicate and interact effectively.

[0003] When over-temperature detection is performed inside the adapter, the key component of thermistor is often relied on to monitor temperature changes. The resistance of the thermistor changes with the temperature. By establishing a linear relationship between the resistance of the thermistor and the internal highest temperature point, the temperature inside the adapter can be indirectly monitored. In this process, the main control IC of the adapter will continuously detect the voltage across the thermistor. When it is detected that the voltage across the thermistor exceeds the set value, there are usually two ways to deal with it: one is to directly turn off the output, that is, the main control IC will issue an instruction to directly turn off the output of the adapter, which can quickly cut off the power supply to prevent the temperature of the internal components from further rising, thereby protecting the components from damage, but directly turning off the output may cause the device in use to suddenly lose power; the other is to reduce the maximum output power of the adapter to a certain fixed percentage, such as reducing it to 80% or 70% of the rated power, which can reduce the heat generated by the adapter to a certain extent, thereby slowing down the rise of the internal temperature, but reducing the maximum output power of the adapter to a certain fixed percentage does not take into account the changes in the actual situation, which may lead to over-protection or under-protection in some cases.

[0004] Although both of the above two processing methods can effectively prevent the internal components of the adapter from being damaged due to overheating, they do not fully utilize multiple factors such as the current operating status of the adapter and the ambient temperature to make comprehensive judgments and adjustments. They are less intelligent and can easily lead to over-protection or under-protection in some cases. Summary of the invention

[0005] In view of this, the present invention provides a method and device for adaptively adjusting the output power of an adapter to solve the problem that the existing processing method has low intelligence and easily leads to over-protection or under-protection in certain situations.

[0006] In a first aspect, the present invention provides a method for adaptively adjusting output power of an adapter, the method comprising:

[0007] After the adapter is powered on, detecting the temperature of the thermistor corresponding to the adapter;

[0008] When it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time, adjusting the rated output power of the adapter once;

[0009] After one adjustment operation, at least one processing process is performed until the output power of the adapter is reduced to a first target percentage of the rated output power, and the processing process includes:

[0010] After a first target time from the last adjustment operation, determining whether a temperature trend of the thermistor temperature is established; the temperature trend establishment includes a temperature rising trend and a temperature falling trend;

[0011] The rated output power of the adapter is adjusted again according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far away from the preset over-temperature value.

[0012] When the surface temperature of the adapter is too high, the above scheme can dynamically and intelligently reduce the output power of the adapter, thereby effectively controlling the further increase of the internal temperature and preventing the components from being damaged by overheating; on the contrary, when the surface temperature of the adapter decreases, the output power is intelligently increased to ensure that the adapter can fully utilize its performance within a safe range and provide users with more stable and efficient power output. In addition, in the process of adjusting the output power of the adapter, the above scheme adds the judgment of the temperature rising trend and the temperature falling trend, and intelligently adjusts the adapter to reduce or increase the output power according to the different conditions of the current output power of the adapter, thereby ensuring the rationality and effectiveness of the power adjustment. Furthermore, the above scheme takes into account the actual usage scenario, and determines whether the surface temperature of the adapter is overheated by detecting the voltage across the thermistor, and distinguishes between the first overheating and repeated overheating. A relatively mild response measure is taken for the first overheating, while more stringent measures are taken for repeated overheating, which not only avoids the impact of false actions on the user experience, but also ensures that the temperature can be quickly and effectively reduced in the event of real overheating.

[0013] In an optional implementation, the detecting the temperature of the thermistor corresponding to the adapter includes:

[0014] The voltage across the thermistor corresponding to the adapter is detected, and the temperature of the thermistor is acquired based on the voltage across the thermistor.

[0015] In an optional implementation manner, the adjusting the rated output power of the adapter once includes:

[0016] The output power of the adapter is reduced to a second target percentage of the rated output power.

[0017] In an optional implementation, the determining whether the temperature trend of the thermistor temperature is established includes:

[0018] When the temperature of the thermistor is in a temperature rising trend or a temperature falling trend for not less than a second target time, it is determined that the temperature trend is established.

[0019] In an optional implementation manner, the rated output power of the adapter is readjusted according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far from the preset over-temperature value, including:

[0020] If the temperature rising trend holds and the output power of the adapter is less than or equal to the second target percentage of the rated output power, after detecting that a preset over-temperature value is triggered, reducing the output power of the adapter by a third target percentage;

[0021] If the temperature decreasing trend holds and the output power of the adapter is less than the second target percentage of the rated output power, the output power of the adapter is increased by a third target percentage when the thermistor temperature is lower than the first target temperature value.

[0022] In an optional implementation, the step of re-adjusting the rated output power of the adapter according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far from the preset over-temperature value further includes:

[0023] If the temperature downward trend holds and the output power of the adapter is equal to the second target percentage of the rated output power, when the thermistor temperature is lower than the second target temperature value, the output power of the adapter is increased to the rated output power; the first target temperature value is lower than the second target temperature value, and the second target temperature value is lower than the preset over-temperature value.

[0024] In an optional embodiment, the method further includes:

[0025] When the output power of the adapter is equal to or less than a first target percentage of the rated output power, if the temperature of the thermistor reaches the preset over-temperature value, the output of the adapter is turned off; the first target percentage is less than the second target percentage.

[0026] In a second aspect, the present invention provides an adapter output power adaptive adjustment device, the device comprising:

[0027] Thermistor temperature acquisition module is used to detect the thermistor temperature corresponding to the adapter after the adapter is powered on;

[0028] A primary adjustment module, used for adjusting the rated output power of the adapter once when it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time;

[0029] A loop execution module is used to execute at least one processing process after one adjustment operation until the output power of the adapter is reduced to a first target percentage of the rated output power, and the processing process includes:

[0030] A temperature trend determination unit, used to determine whether a temperature trend of the thermistor temperature is established after a first target time from the last adjustment operation; the temperature trend establishment includes a temperature rising trend and a temperature falling trend;

[0031] The re-adjusting unit is used to re-adjust the rated output power of the adapter according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far away from the preset over-temperature value.

[0032] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute an adapter output power adaptive adjustment method according to the first aspect or any corresponding embodiment thereof.

[0033] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute a method for adaptively adjusting output power of an adapter according to the first aspect or any corresponding embodiment thereof.

[0034] In a fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to enable a computer to execute a method for adaptively adjusting the output power of an adapter according to the first aspect or any corresponding embodiment thereof.

[0035] The technical solution provided by the present invention may include the following beneficial effects:

[0036] When the surface temperature of the adapter is too high, the present invention can dynamically and intelligently reduce the output power of the adapter, thereby effectively controlling the further increase of the internal temperature and preventing the components from being damaged by overheating; on the contrary, when the surface temperature of the adapter is reduced, the output power is intelligently increased to ensure that the adapter can fully utilize its performance within a safe range and provide users with more stable and efficient power output. In addition, in the process of adjusting the output power of the adapter, the present invention adds the judgment of the temperature rising trend and the temperature falling trend, and intelligently adjusts the adapter to reduce or increase the output power according to the different conditions of the current output power of the adapter, thereby ensuring the rationality and effectiveness of the power adjustment. Furthermore, the present invention takes into account the actual use scenario, and determines whether the surface temperature of the adapter is overheated by detecting the voltage across the thermistor, and distinguishes between the first overheating and repeated overheating. A relatively mild response measure is taken for the first overheating, and a more stringent measure is taken for repeated overheating, which not only avoids the impact of false actions on the user experience, but also ensures that the temperature can be quickly and effectively reduced in the event of real overheating. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 is a flow chart of a method for adaptively adjusting output power of an adapter according to an embodiment of the present invention;

[0039] Figure 2 is a flow chart of another method for adaptively adjusting output power of an adapter according to an embodiment of the present invention;

[0040] Figure 3 is a structural block diagram of a device for adaptively adjusting output power of an adapter according to an embodiment of the present invention;

[0041] Figure 4 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0043] According to an embodiment of the present invention, an embodiment of a method for adaptively adjusting the output power of an adapter is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0044] In this embodiment, a method for adaptively adjusting the output power of an adapter is provided. Figure 1 is a flow chart of a method for adaptively adjusting output power of an adapter according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0045] Step S101, after the adapter is powered on, detecting the temperature of the thermistor corresponding to the adapter.

[0046] Furthermore, the present embodiment first establishes a linear relationship between the surface temperature of the adapter and the temperature of the thermistor. When the temperature of the thermistor changes, the resistance value at both ends of the thermistor will change, and a constant current signal is provided at both ends of the thermistor. When the surface temperature of the adapter changes, the voltage at both ends of the thermistor is detected. When the temperature of the thermistor corresponding to the adapter reaches a preset over-temperature value, the MCU (Microcontroller Unit) detects the voltage at both ends of the thermistor, and dynamically and intelligently adjusts the maximum output power of the adapter through the MCU program algorithm. When the surface temperature of the adapter is too high, the maximum output power of the adapter is dynamically and intelligently reduced to avoid the situation where the internal temperature of the adapter is too high. When the surface temperature of the adapter is reduced, the maximum output power of the adapter is dynamically and intelligently increased, which not only prevents the internal temperature of the adapter from overheating, but also intelligently adjusts the maximum output power to ensure normal output.

[0047] That is to say, since directly measuring the adapter surface temperature may be complicated and inaccurate, this embodiment first determines the linear relationship between the adapter surface temperature and the internal thermistor temperature, and then indirectly infers the change of the adapter surface temperature through the thermistor temperature. Thermistors are often used as temperature sensors. When the adapter surface temperature changes, the resistance of the thermistor will also change accordingly. Therefore, this embodiment first determines the linear relationship between the adapter surface temperature and the internal thermistor temperature, and detects the voltage across the thermistor corresponding to the adapter. The thermistor temperature can be obtained through the voltage across the thermistor, and then the adapter surface temperature can be obtained through the above linear relationship. In the inverter, the thermistor can be set inside the inverter, and the adapter immediately starts to monitor its internal thermistor temperature after power-on.

[0048] Step S102: When it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time, the rated output power of the adapter is adjusted.

[0049] Furthermore, in order to prevent the adapter from being damaged or causing safety problems due to overtemperature, when the monitored temperature reaches or exceeds a preset overtemperature value for the first time, the present embodiment reduces the rated output power of the adapter to reduce the heat generated by the adapter, thereby lowering its temperature. The "first time" in the present embodiment refers to the first time the overtemperature value is reached since the adapter is powered on.

[0050] Step S103, after one adjustment operation, performing at least one processing process until the output power of the adapter is reduced to a first target percentage of the rated output power, the processing process comprising:

[0051] Step S1031, after a first target time from the last adjustment operation, determining whether a temperature trend of the thermistor temperature is established; the temperature trend establishment includes a temperature rising trend and a temperature falling trend.

[0052] Further, in order to continuously monitor and adjust to ensure that the adapter remains within a safe temperature range throughout the entire operation process, the present embodiment enters a cyclic processing process starting from the first adjustment of the output power, and the process is continuously executed while the output power of the adapter is greater than 69.64% of the rated output power, that is, the first target percentage is 69.64%. Once the output power of the adapter is less than or equal to 69.64% of the rated output power, the cyclic processing process stops. After an adjustment during the power-on period of the adapter, the present embodiment waits for a preset first target time (such as a few seconds or minutes), and then reads the temperature value of the thermistor again, and compares it with the previous temperature value to determine the temperature trend, such as whether the temperature of the thermistor continues to rise, remains stable, or begins to fall.

[0053] Step S1032, adjusting the rated output power of the adapter again according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far from the preset over-temperature value.

[0054] Furthermore, this embodiment further optimizes the output power of the adapter according to the temperature trend to achieve the best working efficiency and safety. If the temperature continues to rise and approaches or exceeds the preset over-temperature value, the output power may need to be further reduced. If the temperature starts to drop and moves away from the preset over-temperature value, the output power may be gradually increased to restore its normal performance. The preset over-temperature value trigger situation is whether the temperature of the thermistor reaches the preset over-temperature value.

[0055] In summary, the present invention can dynamically and intelligently reduce the output power of the adapter when the surface temperature of the adapter is too high, thereby effectively controlling the further increase of the internal temperature and preventing the components from being damaged by overheating; on the contrary, when the surface temperature of the adapter decreases, the output power is intelligently increased to ensure that the adapter can fully utilize its performance within a safe range and provide users with more stable and efficient power output. In addition, in the process of adjusting the output power of the adapter, the present invention adds the judgment of the temperature rising trend and the temperature falling trend, and intelligently adjusts the adapter to reduce or increase the output power according to the different conditions of the current output power of the adapter, thereby ensuring the rationality and effectiveness of the power adjustment. Furthermore, the present invention takes into account the actual use scenario, and determines whether the surface temperature of the adapter is overheated by detecting the voltage across the thermistor, and distinguishes between the first overheating and repeated overheating. A relatively mild response measure is taken for the first overheating, and a more stringent measure is taken for repeated overheating, which not only avoids the impact of false actions on the user experience, but also ensures that the temperature can be quickly and effectively reduced in the event of real overheating.

[0056] In this embodiment, another method for adaptively adjusting the output power of an adapter is provided. Figure 2 FIG. 4 is a flow chart of another method for adaptively adjusting output power of an adapter according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0057] Step S201, after the adapter is powered on, detecting the voltage across the thermistor corresponding to the adapter, and acquiring the temperature of the thermistor based on the voltage across the thermistor.

[0058] Furthermore, the microcontroller (MCU) inside the power adapter (Adapter) of this embodiment monitors the temperature through a thermistor and adjusts the output power according to the change in temperature. After the adapter is powered on, the Flag of the MCU is initialized to 0. This embodiment immediately detects the voltage across the thermistor corresponding to the adapter, and obtains the current temperature of the thermistor based on the voltage across the thermistor. Among them, a thermistor is a sensor whose resistance value changes with temperature, and there is a certain relationship between the change in its resistance value and the change in temperature, which can be described by a calibration curve or a mathematical model. The voltage across the thermistor can be measured by a multimeter or other voltage measuring device. Since the relationship between the resistance value and temperature of the thermistor is known (usually obtained through the calibration data or data manual of the thermistor), the thermistor temperature can be inferred from the measured voltage value.

[0059] Step S202: when it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time, the output power of the adapter is reduced to a second target percentage of the rated output power.

[0060] Furthermore, this embodiment detects the voltage across the thermistor, adds a program algorithm to determine whether the temperature is in an upward or downward trend, and then makes a judgment based on the current different conditions to intelligently adjust the output power of the adapter. When it is detected that the temperature of the thermistor reaches the preset over-temperature value for the first time, this embodiment reduces the output power of the adapter to a second target percentage of its rated output power. The preset over-temperature value is used to determine whether the adapter is in an overheated state. When the thermistor temperature reaches or exceeds this threshold, it is considered that the adapter is at risk of overheating.

[0061] In order to reduce the heat generation of the adapter, this embodiment reduces the output power of the adapter to a certain percentage of its rated output power (i.e., the second target percentage), and the second target percentage is used to effectively reduce its operating temperature without excessively affecting the performance of the adapter. Exemplarily, the second target percentage can be 90%, that is, when the present embodiment detects that the internal thermistor of the adapter is overheated, if it is detected that the preset overtemperature value is reached for the first time, the rated output power is reduced by 10%, so that the reduced output power is 90% of the current rated output power. In other words, when Flag is 0, if the MCU detects that the internal temperature reaches the preset overtemperature value through the thermistor, Flag becomes 1, and the output power is reduced to 90% of the rated power.

[0062] Step S203, after one adjustment operation, at least one processing process is performed until the output power of the adapter is reduced to the first target percentage of the rated output power. Step S203 is a cyclic processing process, which is intended to continuously monitor temperature changes during the adapter power-on period and further fine-tune the output power according to the temperature trend. The processing process includes:

[0063] Step S2031, after a first target time from the last adjustment operation, when the temperature of the thermistor is in a temperature rising trend or a temperature falling trend that is not less than a second target time, it is determined that the temperature trend is established.

[0064] Furthermore, in order to avoid false operation, this embodiment will restart detecting the thermistor temperature after a first target time after reducing the output power once. When the thermistor temperature is in an upward trend of not less than the second target time or a downward trend of not less than the second target time, the upward trend or the downward trend is established. At the same time, a judgment is made based on whether the upward trend triggers the preset over-temperature value again and whether the downward trend is far away from the preset over-temperature value to intelligently adjust the output power of the adapter.

[0065] After the first target time from the last adjustment operation (exemplarily, the first target time is 10s, i.e., the interval after reducing the output power is 10s), this embodiment checks whether the temperature of the thermistor shows an obvious upward or downward trend within the next second target time (exemplarily, the second target time is x seconds, i.e., the temperature of the thermistor is not less than x seconds). This embodiment observes the temperature change trend by setting two time parameters (the first target time and the second target time) to reduce the occurrence of misjudgment. That is, when Flag is greater than or equal to 1, the MCU starts timing for 10 seconds. If it is detected that the temperature continues to rise and triggers the preset over-temperature value again, the output power is further reduced (reduced by 5% of the current output power each time), and Flag is incremented according to the current value.

[0066] Step S2032, if the temperature rising trend holds and the output power of the adapter is less than or equal to the second target percentage of the rated output power, after detecting that the preset over-temperature value is triggered, reducing the output power of the adapter by a third target percentage.

[0067] Furthermore, using the above example, when the thermistor temperature rise trend is established and the output power is lower than 90% (including 90%), when the preset over-temperature value is detected again, the output power of the adapter is reduced by 5% each time to avoid false operation. After an interval of 10s after the maximum output power is reduced, the thermistor temperature will be detected again.

[0068] In the case where the temperature continues to rise, in order to reduce the temperature of the adapter more quickly, its output power will be reduced again, and the amplitude of each reduction is the third target percentage, and the third target percentage is smaller than the second target percentage to ensure more precise power control. Exemplarily, the third target percentage is 5%, that is, if it is confirmed that the temperature is on an upward trend and its output power is already lower than or equal to the second target percentage of the rated output power (that is, the output power is 90% of the current rated output power or lower than 90% of the current rated output power), the output power is reduced again by the third target percentage, that is, the output power of the adapter is reduced by 5%.

[0069] Step S2033: if the temperature decreasing trend holds and the output power of the adapter is less than the second target percentage of the rated output power, when the temperature of the thermistor is lower than the first target temperature value, the output power of the adapter is increased by a third target percentage.

[0070] Further, using the above example, when the thermistor temperature decreases and the output power is lower than 90% (not including 90%), when the thermistor temperature value is lower than Y°C (ie, the first target temperature value), the output power of the adapter is increased by 5%.

[0071] That is to say, when Flag is greater than or equal to 1, if it is detected that the temperature continues to drop and the temperature is already far away from the over-temperature setting value by a certain range, the output power is increased to the initial rated output power or 5% of the current output power is increased each time. That is, when the temperature starts to drop, the output power of the adapter is gradually restored in this embodiment to improve the efficiency of the adapter. The amplitude of the restored power is the third target percentage (i.e. 5%), and it will be executed when the temperature of the thermistor drops to the first target temperature value (i.e. Y°C).

[0072] Step S2034, if the temperature decreasing trend holds and the output power of the adapter is equal to the second target percentage of the rated output power, when the thermistor temperature is lower than the second target temperature value, the output power of the adapter is increased to the rated output power; the first target temperature value is lower than the second target temperature value, and the second target temperature value is lower than the preset over-temperature value.

[0073] Further, when the temperature of the thermistor is decreasing and the output power is 90% of the rated output power, when the temperature of the thermistor is lower than Z°C (Z is the second target temperature value, Y is less than Z), the output power of the adapter is increased to 100%, that is, the output power of the adapter is increased to the rated output power. This situation is more in line with the actual use scenario, because once the surface of the adapter is detected to be overheated for the first time, in order to avoid abnormal conditions, the output power must be greatly reduced to ensure that the temperature drops quickly. In other words, when the output power is 90% of the rated output power, if the temperature continues to drop and is already lower than the second target temperature value, this embodiment will completely restore the output power of the adapter to its rated value, that is, the rated output power, which means that the temperature of the adapter has been effectively controlled and can be safely operated at maximum power.

[0074] Step S204, when the output power of the adapter is equal to or less than a first target percentage of the rated output power, if the temperature of the thermistor reaches the preset over-temperature value, the output of the adapter is turned off; the first target percentage is less than the second target percentage.

[0075] Further, exemplarily, the first target percentage may be 69.64%, that is, when the output power of the adapter is above 69.64% of the rated output power, when the temperature of the internal thermistor of the adapter reaches the preset over-temperature value, the output is not immediately shut down, and the rated output power of the adapter can be intelligently adjusted. When the output power of the adapter is below 69.64% of the rated output power, the temperature of the internal thermistor of the adapter still reaches the preset over-temperature value, and the output is immediately shut down to protect the adapter. In other words, when the output power of the adapter has dropped to an extremely low level but the temperature is still out of control, the output of the adapter can be directly shut down to prevent the adapter from being damaged due to overheating or causing other safety problems. Therefore, the first target percentage is a threshold value lower than the second target percentage, which is used to ensure that protective measures can be taken in a timely manner even in extreme cases.

[0076] That is, the above steps (i.e., the above steps S2031 to S2034) are repeated until Flag reaches 7, at which time the output power has dropped to 69.64% of the rated output power. When Flag is 7, if overtemperature is detected again, the output (MoS) is immediately turned off, and Flag and the timer are reset. If the adapter is powered on again and the thermistor temperature is lower than Y°C, the entire process (i.e., the above steps S201 to S204) is repeated.

[0077] In summary, the present invention can dynamically and intelligently reduce the output power of the adapter when the surface temperature of the adapter is too high, thereby effectively controlling the further increase of the internal temperature and preventing the components from being damaged by overheating; on the contrary, when the surface temperature of the adapter decreases, the output power is intelligently increased to ensure that the adapter can fully utilize its performance within a safe range and provide users with more stable and efficient power output. In addition, in the process of adjusting the output power of the adapter, the present invention adds the judgment of the temperature rising trend and the temperature falling trend, and intelligently adjusts the adapter to reduce or increase the output power according to the different conditions of the current output power of the adapter, thereby ensuring the rationality and effectiveness of the power adjustment. Furthermore, the present invention takes into account the actual use scenario, and determines whether the surface temperature of the adapter is overheated by detecting the voltage across the thermistor, and distinguishes between the first overheating and repeated overheating. A relatively mild response measure is taken for the first overheating, and a more stringent measure is taken for repeated overheating, which not only avoids the impact of false actions on the user experience, but also ensures that the temperature can be quickly and effectively reduced in the event of real overheating.

[0078] In this embodiment, an adapter output power adaptive adjustment device is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0079] This embodiment provides an adapter output power adaptive adjustment device, such as Figure 3 As shown, including:

[0080] Thermistor temperature acquisition module 301 is used to detect the thermistor temperature corresponding to the adapter after the adapter is powered on;

[0081] A primary adjustment module 302, configured to adjust the rated output power of the adapter once when it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time;

[0082] The loop execution module 303 is used to execute at least one processing process after one adjustment operation until the output power of the adapter is reduced to a first target percentage of the rated output power. The processing process includes:

[0083] The temperature trend determination unit 3031 is used to determine whether a temperature trend of the thermistor temperature is established after a first target time from the last adjustment operation; the temperature trend establishment includes a temperature rising trend and a temperature falling trend;

[0084] The re-adjusting unit 3032 is used to re-adjust the rated output power of the adapter according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far away from the preset over-temperature value.

[0085] In an optional implementation, the thermistor temperature acquisition module 301 is further used for:

[0086] The voltage across the thermistor corresponding to the adapter is detected, and the temperature of the thermistor is obtained based on the voltage across the thermistor.

[0087] In an optional implementation manner, the rated output power of the adapter is adjusted once, including:

[0088] The output power of the adapter is reduced to a second target percentage of the rated output power.

[0089] In an optional implementation, the temperature trend determination unit 3031 is further used to:

[0090] When the temperature of the thermistor is in a temperature rising trend or a temperature falling trend that is not less than the second target time, it is determined that the temperature trend is established.

[0091] In an optional implementation, the readjustment unit 3032 is further configured to:

[0092] If the temperature rising trend holds and the output power of the adapter is less than or equal to the second target percentage of the rated output power, after detecting that the preset over-temperature value is triggered, reducing the output power of the adapter by a third target percentage;

[0093] If the temperature decreasing trend holds true and the output power of the adapter is less than the second target percentage of the rated output power, when the temperature of the thermistor is lower than the first target temperature value, the output power of the adapter is increased by a third target percentage.

[0094] In an optional implementation, the readjustment unit 3032 is further configured to:

[0095] If the temperature downward trend is established and the output power of the adapter is equal to the second target percentage of the rated output power, when the thermistor temperature is lower than the second target temperature value, the output power of the adapter is increased to the rated output power; the first target temperature value is lower than the second target temperature value, and the second target temperature value is lower than the preset over-temperature value.

[0096] In an optional embodiment, the device is further used for:

[0097] When the output power of the adapter is equal to or less than a first target percentage of the rated output power, if the temperature of the thermistor reaches the preset over-temperature value, the output of the adapter is turned off; the first target percentage is less than the second target percentage.

[0098] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0099] In summary, the present invention can dynamically and intelligently reduce the output power of the adapter when the surface temperature of the adapter is too high, thereby effectively controlling the further increase of the internal temperature and preventing the components from being damaged by overheating; on the contrary, when the surface temperature of the adapter decreases, the output power is intelligently increased to ensure that the adapter can fully utilize its performance within a safe range and provide users with more stable and efficient power output. In addition, in the process of adjusting the output power of the adapter, the present invention adds the judgment of the temperature rising trend and the temperature falling trend, and intelligently adjusts the adapter to reduce or increase the output power according to the different conditions of the current output power of the adapter, thereby ensuring the rationality and effectiveness of the power adjustment. Furthermore, the present invention takes into account the actual use scenario, and determines whether the surface temperature of the adapter is overheated by detecting the voltage across the thermistor, and distinguishes between the first overheating and repeated overheating. A relatively mild response measure is taken for the first overheating, and a more stringent measure is taken for repeated overheating, which not only avoids the impact of false actions on the user experience, but also ensures that the temperature can be quickly and effectively reduced in the event of real overheating.

[0100] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 4 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 10 is taken as an example.

[0101] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0102] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0103] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0104] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0105] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0106] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0107] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0108] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for adaptively adjusting output power of an adapter, It is characterized in that The method comprises: After the adapter is powered on, detecting the temperature of the thermistor corresponding to the adapter; When it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time, adjusting the rated output power of the adapter once; After one adjustment operation, at least one processing process is performed until the output power of the adapter is reduced to a first target percentage of the rated output power, and the processing process includes: After a first target time from the last adjustment operation, determining whether a temperature trend of the thermistor temperature is established; the temperature trend establishment includes a temperature rising trend and a temperature falling trend; The rated output power of the adapter is adjusted again according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far away from the preset over-temperature value.

2. The method according to claim 1, It is characterized in that The detecting the temperature of the thermistor corresponding to the adapter comprises: The voltage across the thermistor corresponding to the adapter is detected, and the temperature of the thermistor is acquired based on the voltage across the thermistor.

3. The method according to claim 1, It is characterized in that The step of adjusting the rated output power of the adapter comprises: The output power of the adapter is reduced to a second target percentage of the rated output power.

4. The method according to claim 1, It is characterized in that The determining whether the temperature trend of the thermistor temperature is established includes: When the temperature of the thermistor is in a temperature rising trend or a temperature falling trend for not less than a second target time, it is determined that the temperature trend is established.

5. The method according to claim 3, It is characterized in that The step of re-adjusting the rated output power of the adapter according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far from the preset over-temperature value comprises: If the temperature rising trend holds and the output power of the adapter is less than or equal to the second target percentage of the rated output power, after detecting that a preset over-temperature value is triggered, reducing the output power of the adapter by a third target percentage; If the temperature decreasing trend holds and the output power of the adapter is less than the second target percentage of the rated output power, the output power of the adapter is increased by a third target percentage when the thermistor temperature is lower than the first target temperature value.

6. The method according to claim 5, It is characterized in that The step of re-adjusting the rated output power of the adapter according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far from the preset over-temperature value further includes: If the temperature downward trend holds and the output power of the adapter is equal to the second target percentage of the rated output power, when the thermistor temperature is lower than the second target temperature value, the output power of the adapter is increased to the rated output power; the first target temperature value is lower than the second target temperature value, and the second target temperature value is lower than the preset over-temperature value.

7. The method according to any one of claims 3 to 6, It is characterized in that The method further comprises: When the output power of the adapter is equal to or less than a first target percentage of the rated output power, if the temperature of the thermistor reaches the preset over-temperature value, the output of the adapter is turned off; the first target percentage is less than the second target percentage.

8. An adapter output power adaptive adjustment device, It is characterized in that The device comprises: Thermistor temperature acquisition module is used to detect the thermistor temperature corresponding to the adapter after the adapter is powered on; A primary adjustment module, used for adjusting the rated output power of the adapter once when it is detected that the temperature of the thermistor reaches a preset over-temperature value for the first time; A loop execution module is used to execute at least one processing process after one adjustment operation until the output power of the adapter is reduced to a first target percentage of the rated output power, and the processing process includes: A temperature trend determination unit, used to determine whether a temperature trend of the thermistor temperature is established after a first target time from the last adjustment operation; the temperature trend establishment includes a temperature rising trend and a temperature falling trend; The re-adjusting unit is used to re-adjust the rated output power of the adapter according to whether the temperature trend is established, whether the preset over-temperature value is triggered, and whether the current temperature is far away from the preset over-temperature value.

9. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for adaptively adjusting the output power of an adapter according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for adaptively adjusting the output power of an adapter according to any one of claims 1 to 7.