Overload adjustment method and device and storage medium
By monitoring the temperature and current information of the multi-port power adapter in real time and adjusting the current of the overload port according to the preset formula, the problem of uneven current distribution in traditional power adapters in overload situations is solved, achieving more efficient resource utilization and safer equipment operation.
Patent Information
- Application Number
- CN202510181394.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-03-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional multi-port power adapters use simple power outage protection in overload situations, resulting in uneven current distribution, affecting resource utilization efficiency, and may lead to equipment damage or adapter overheating, posing safety hazards.
By obtaining the real-time temperature information of the power adapter and the real-time current information of each port, we judge the working status of the port, and adjust the current information of the overload port according to the preset overload adjustment formula to optimize current distribution.
It effectively solves the problem of uneven current distribution, improves resource utilization efficiency, ensures safe operation of equipment, and reduces the risk of overheating of the adapter.
Smart Images

Figure CN119652104A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of power adapters, and in particular, relates to an overload regulation method, device, and storage medium. Background Art
[0002] With the widespread use of smart devices and electronic products, multi-port power adapters have become an indispensable accessory in daily life. Traditional power adapters usually use a simple power-off protection mechanism in overload conditions. When the current exceeds the set value, the power is immediately disconnected to protect the safety of the device. However, this method has significant shortcomings in multi-port power adapters. First, since each port may power different devices at the same time, the load conditions are often uneven, resulting in some ports being overloaded while other ports are unloaded. This uneven current distribution not only affects the effective use of resources, but may also cause damage to the device or overheating of the adapter, thereby posing a safety hazard. In addition, the existing technology generally lacks dynamic monitoring and adjustment means for the real-time status of the power adapter, and cannot effectively cope with complex current changes and the simultaneous operation of multiple ports. Summary of the invention
[0003] The embodiments of the present application provide an overload regulation method, device and storage medium, which can solve the above problems.
[0004] In a first aspect, an embodiment of the present application provides an overload regulation method, which is applied to a multi-port power adapter, comprising: Get the real-time temperature information of the power adapter; Obtaining first working state information of the power adapter according to the real-time temperature information; If the first working state information meets a preset overload detection standard, obtaining real-time current information of each port; Acquiring second working state information of each of the ports according to the real-time current information of each of the ports; If the second working state information of the port meets the preset overload regulation standard, obtaining the maximum current information of the overload port and the rated current information of the overload port; The current information of the overload port is adjusted according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula.
[0005] Further, adjusting the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula includes: According to the maximum current information of the overload port , Rated current information of the overload port and a preset first overload adjustment formula to adjust the current information of the overload port ; The preset first overload adjustment formula is as follows: in, is the load regulation factor, Overload degree information.
[0006] Further, adjusting the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula includes: Acquire rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset second overload adjustment formula.
[0007] Further, adjusting the current information of the overload port according to the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset second overload adjustment formula includes: According to the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset second overload adjustment formula: in, is the load regulation factor, For overload level information, Temperature impact information.
[0008] Furthermore, it also includes: Obtaining the real-time port voltage of each of the ports; According to the real-time port voltage of each port and the real-time current information of each port, the real-time port power of each port is obtained. Obtaining the previous historical port power of each of the ports; Identifying an unloaded port among the ports according to the real-time port power of the ports and the previous historical port power of the ports; The overload regulation calculation for the unloaded port is canceled.
[0009] Further, adjusting the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula includes: Obtaining duty ratio information between the unloaded port and all the ports, and obtaining rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the duty cycle information, the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset third overload adjustment formula.
[0010] Further, adjusting the current information of the overload port according to the duty ratio information, the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset third overload adjustment formula includes: According to the duty ratio information , the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset third overload adjustment formula: in, is the load regulation factor, For overload level information, For temperature impact information, is the duty ratio adjustment coefficient.
[0011] In a second aspect, an embodiment of the present application provides an overload regulating device, comprising: A first acquisition unit, used to acquire real-time temperature information of the power adapter; A first processing unit, configured to obtain first working state information of the power adapter according to the real-time temperature information; a second processing unit, configured to obtain real-time current information of each port if the first working state information meets a preset overload detection standard; A second acquiring unit, configured to acquire second working state information of each of the ports according to the real-time current information of each of the ports; a third processing unit, configured to obtain maximum current information of the overload port and rated current information of the overload port if the second working state information of the port meets a preset overload adjustment standard; The fourth processing unit is used to adjust the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula.
[0012] Furthermore, the fourth processing unit is specifically configured to: According to the maximum current information of the overload port , Rated current information of the overload port and a preset first overload adjustment formula to adjust the current information of the overload port ; The preset first overload adjustment formula is as follows: in, is the load regulation factor, Overload degree information.
[0013] Furthermore, the fourth processing unit is specifically configured to: Acquire rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset second overload adjustment formula.
[0014] Furthermore, the fourth processing unit is further configured to: According to the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset second overload adjustment formula: in, is the load regulation factor, For overload level information, Temperature impact information.
[0015] Furthermore, the multi-port power adapter further includes: A third acquisition unit, used for acquiring the real-time port voltage of each of the ports; The fifth processing unit is used to obtain the real-time port power of each port according to the real-time port voltage of each port and the real-time current information of each port. A fourth acquisition unit, used to acquire the previous historical port power of each of the ports; a sixth processing unit, configured to identify an unloaded port among the ports according to the real-time port power of the ports and the previous historical port power of the ports; The seventh processing unit is used to cancel the overload adjustment calculation for the unloaded port.
[0016] Furthermore, the fourth processing unit is specifically configured to: Obtaining duty ratio information between the unloaded port and all the ports, and obtaining rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the duty cycle information, the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset third overload adjustment formula.
[0017] Furthermore, the fourth processing unit is further configured to: According to the duty ratio information , the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset third overload adjustment formula: in, is the load regulation factor, For overload level information, For temperature impact information, is the duty ratio adjustment coefficient.
[0018] In a third aspect, an embodiment of the present application provides an overload regulation device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of the first aspect described above when executing the computer program.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method of the first aspect described above is implemented.
[0020] In an embodiment of the present application, the real-time temperature information of the power adapter is obtained; the first working state information of the power adapter is obtained according to the real-time temperature information; if the first working state information meets the preset overload detection standard, the real-time current information of each port is obtained; according to the real-time current information of each port, the second working state information of each port is obtained; if the second working state information of the port meets the preset overload adjustment standard, the maximum current information of the overloaded port and the rated current information of the overloaded port are obtained; according to the maximum current information of the overloaded port, the rated current information of the overloaded port and the preset first overload adjustment formula, the current information of the overloaded port is adjusted. By obtaining the real-time temperature information of the power adapter, the working state of the adapter can be judged. After confirming that there is an overload situation, the real-time current information of each port can be obtained, and the working state of each port can be analyzed. The above scheme specifically handles the current anomalies of different ports, thereby optimizing the current distribution and preventing overload of a certain port. Through the preset overload adjustment standard, the maximum current information and rated current information of the overloaded port can be obtained, and the actual current of the overloaded port can be adjusted according to this information. The adjustment method in this embodiment comprehensively considers the real-time status of the power adapter and the load conditions of each port, which not only ensures that the device works safely within the normal range, but also maximizes the resource utilization efficiency of the multi-port power adapter. In particular, when multiple ports work simultaneously, resource allocation is optimized and the safety and stability of the power adapter are ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0022] Figure 1 is a schematic flow chart of an overload regulation method provided in the first embodiment of the present application; Figure 2 is a schematic flow chart of S1061 to S1062 in the overload regulation method provided in the first embodiment of the present application; Figure 3 is a schematic flow chart of S107 to S111 in the overload regulation method provided in the first embodiment of the present application; Figure 4 is a schematic flow chart of S1063 to S1064 in the overload regulation method provided in the first embodiment of the present application; Figure 5 is a schematic diagram of an overload regulating device provided in a second embodiment of the present application; Figure 6It is a schematic diagram of a port power adapter provided in the third embodiment of the present application. DETAILED DESCRIPTION
[0023] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0024] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0025] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0026] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0027] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0028] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0029] See also Figure 1 , Figure 1 : is a schematic flow chart of the overload regulation method provided in the first embodiment of the present application. In this embodiment, the execution subject of the overload regulation method is a device with an overload regulation function, which can be a multi-port power adapter, or a computer or a server. Figure 1 The overload regulation methods shown include: S101: Acquire real-time temperature information of the power adapter.
[0030] In this embodiment, a temperature sensor (such as an NTC thermistor) can be used to monitor the temperature data of the housing and the interior of the power adapter in real time.
[0031] The temperature sensor can be connected to the microcontroller to periodically collect and store temperature information, and obtain the real-time temperature information of the power adapter based on the periodically collected temperature information to ensure that each current regulation decision is based on the current temperature.
[0032] For example, the MCU is set to collect temperature information every 1 second and store it in the internal data cache to ensure that the collected temperature information is the latest.
[0033] S102: Obtaining first working state information of the power adapter according to the real-time temperature information.
[0034] In this embodiment, a strategy for obtaining the first working status information can be pre-set, wherein the first working status information is the device operating status determined based on the real-time temperature information of the power adapter, which is used to reflect the thermal condition of the power adapter, and is used to monitor the overall thermal condition of the power adapter, to help take emergency measures when the temperature is abnormal, such as triggering overload detection, to protect the safety of the device and the user.
[0035] The acquisition strategy may be a correspondence between preset temperature information and preset working state information of the power adapter, wherein the preset temperature information may be a preset temperature range, and the preset working state information of the power adapter may be "overheated", "abnormal" or "normal". For example: 0°C ≤ Temperature<60°C, the first working status information can be judged as "normal", 60°C ≤ Temperature<85°C, the first working status information can be judged as "abnormal", When the temperature is ≥ 85°C, the first working state information can be judged as "overheating".
[0036] The first working state information of the power adapter is used to trigger subsequent overload detection. For example, when the temperature exceeds 85°C, the MCU identifies the first working state information as "overheating" and triggers the subsequent overload detection function.
[0037] S103: If the first working state information meets a preset overload detection standard, real-time current information of each port is obtained.
[0038] The device pre-sets an overload detection standard to determine whether the first working state information meets the preset overload detection standard. For example, if the first working state information is "abnormal", the real-time current information of each port is obtained.
[0039] Among them, the current information can be measured by a current sensor and converted into a digital signal by an analog-to-digital converter, so as to obtain the real-time current information of each port.
[0040] S104: Acquire second working state information of each of the ports according to the real-time current information of each of the ports.
[0041] In this embodiment, a strategy for obtaining the second working status information can be pre-set, wherein the second working status information is a detailed operating status determined based on real-time current information of each port of the power adapter, and is used to reflect the load condition of each port and to monitor the load condition of each port so that corresponding adjustment measures can be taken when an overload occurs to ensure stable operation and safety of the equipment.
[0042] According to the real-time current information of each port, the second working state information of each port can be obtained. A rated current value is set for each port, such as the rated current of port A is 2A. If the current of a port exceeds the rated value, the second working state information of the port is "overload".
[0043] Specifically, the difference between the real-time current information and the rated current can be detected. According to the difference between the rated current and the actual current of the device, it is determined whether to enter the overload protection mode.
[0044] Where ΔI is the current difference, I current is the real-time current information, I previous is the current information sampled last time, and ∆t is the sampling time interval.
[0045] If ΔI>δ, where δ is the set current change threshold, the current is considered abnormal, and the second working state information of the port is "overload", triggering the overload protection mechanism and entering the current regulation stage. By detecting the rate of current change, the overload trend can be detected earlier, avoiding slow system response and increasing the system's response speed to sudden overloads.
[0046] S105: If the second working state information of the port meets a preset overload adjustment standard, obtain maximum current information of the overload port and rated current information of the overload port.
[0047] In this embodiment, an overload adjustment standard is preset, and whether it is necessary to obtain the maximum current information of the overload port and the rated current information of the overload port is determined according to the preset overload adjustment standard. When the MCU detects that the status of a port is "overloaded", the maximum current value and the rated current value of the port are recorded. For example, if the current of port B is 2.5A, its maximum current is recorded as 2.5A, and the rated current is set to 1.5A.
[0048] Specifically, the rated current of each port can be preset, for example, the rated current of port A is 2A, and the rated current of port B is 1.5A.
[0049] Connect a current sensor to each port to monitor the current output of each port in real time. The output signal of the current sensor is converted into a digital signal by the ADC for processing by the MCU. The MCU reads the real-time current value from the current sensor regularly (for example, once a second).
[0050] After each reading of the real-time current, check whether the current exceeds the currently stored maximum current value. If it exceeds, update the maximum current variable.
[0051] While acquiring and updating the current, it is also necessary to check whether the current exceeds the rated value to determine whether the port is in an overload state.
[0052] When determining the overload state, ensure that the maximum current and rated current of each port are available in the MCU's memory for subsequent control and adjustment.
[0053] For example, assume that both port A and port B are working under the same load, and the MCU reads once per second: 1st second: port A current is 1.5A, port B current is 1.0A. Port A maximum current information maxCurrentA = 1.5A, port B maximum current information maxCurrentB = 1.0A. 2nd second: port A current is 1.8A, port B current is 1.6A. Update maxCurrentA = 1.8A, maxCurrentB = 1.6A. 3rd second: port A current is 2.1A (exceeding the rated 2A), entering the overload state. At this time, maxCurrentA = 2.1A and ratedCurrentA = 2.0A are recorded.
[0054] Through the above steps, the MCU can dynamically obtain the maximum current information of the overload port and the rated current information of the overload port, and can make reasonable adjustments and decisions according to the information at any time.
[0055] S106: Adjust the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula.
[0056] The first overload adjustment formula may be preset. For example, a simple adjustment formula is set: adjusted current = rated current * k, where k is an adjustment coefficient used to control the adjustment amplitude, and is generally set to be less than 1 (e.g., for 1.0, the current is the rated current, and for 0.8, it is reduced by 20%).
[0057] You can select an appropriate adjustment factor k based on the specific application scenario and safety considerations. For example: k = 0.8, which means reducing the current to 80% of the rated current. This value can be configured through system parameters or hard-coded.
[0058] According to the existing maximum current and rated current information, an adjusted current value is calculated based on a first overload adjustment formula.
[0059] After calculating the adjusted current value, the output of the power adapter can be adjusted through the output control logic. Here, the output current is usually adjusted by pulse width modulation, analog output or direct switch control.
[0060] The actual output current must continue to be monitored after regulation to ensure that regulation is effective and stable. If the actual current still exceeds the rated value, it may be necessary to re-evaluate the regulation strategy or implement tighter limits. For example, set up a monitoring loop to check the actual port current every one second and further adjust the output as needed.
[0061] Assume that the rated current of port B is 1.5 A and the current maximum current is 2.5 A. We choose the adjustment factor k = 0.8.
[0062] Use the formula to calculate the adjusted current: Adjusted current = 1.5A *0.8 = 1.2A Then, the control function is called to adjust the output current of port B to 1.2 A. In the subsequent monitoring process, if the current read in real time exceeds 1.2 A, the output is adjusted again.
[0063] In one implementation, based on the maximum current information of the overload port , Rated current information of overload ports And the preset first overload adjustment formula adjusts the current information of the overload port ; The preset first overload adjustment formula is as follows: in, is the load regulation factor, Overload degree information.
[0064] Adjust the current information of the overload port Indicates the actual current required under specific conditions such as load, temperature, and duty cycle. Overload port current rating information It is the current designed or calibrated for the equipment under normal operating conditions. It serves as a reference value for adjusting the actual current based on other parameters.
[0065] The load adjustment factor indicates the correction ratio of the rated current under overload conditions. When the load increases, this factor will affect the adjusted current.
[0066] Overload degree information describes the ratio of the current operating load of the equipment to the rated load. It helps quantify the performance of the equipment under overload conditions.
[0067] In another embodiment, if Figure 2 As shown, S106 may include S1061-S1062, and S1061-S1062 are specifically as follows: S1061: Acquire rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter.
[0068] In this embodiment, the rated temperature information refers to the temperature range allowed by the power adapter under normal working conditions. The rated temperature value of the adapter can be obtained by querying the product manual of the power adapter or the technical specifications provided by the manufacturer. This value is usually the highest or lowest temperature at which the adapter can operate safely and stably when working in a specific environment.
[0069] Temperature coefficient information refers to the ratio of the change in the performance parameters of the power adapter (such as output voltage, output current, etc.) when the temperature range is increased or decreased. The temperature coefficient is usually provided by the manufacturer and indicates the sensitivity of the device performance to temperature changes. This can be obtained from the manufacturer's official website or included in the technical data sheet of the power adapter.
[0070] Unit temperature change information indicates the impact on the adapter performance under a unit temperature change, usually expressed as a percentage or absolute value. Unit temperature change information refers to the change in power adapter performance (such as output current, power, etc.) under a unit temperature change (such as per degree Celsius).
[0071] S1062: Adjust the current information of the overload port according to the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset second overload adjustment formula.
[0072] A second overload adjustment formula is predefined, and the formula can dynamically adapt the output current based on factors such as real-time temperature information, rated temperature information, temperature coefficient information, unit temperature change information, maximum current information of the overload port, and rated current information of the overload port.
[0073] Specifically, the real-time temperature information , Rated temperature information , Temperature coefficient information , Unit temperature change information , Maximum current information of overload port , Rated current information of overload ports And the preset second overload adjustment formula adjusts the current information of the overload port ; The preset second overload adjustment formula: in, is the load regulation factor, For overload level information, Temperature impact information.
[0074] Adjust the current information of the overload port Indicates the actual current required under specific conditions such as load, temperature, and duty cycle. Overload port current rating information It is the current designed or calibrated for the equipment under normal operating conditions. It serves as a reference value for adjusting the actual current based on other parameters.
[0075] The load adjustment factor indicates the correction ratio of the rated current under overload conditions. When the load increases, this factor will affect the adjusted current.
[0076] Overload degree information describes the ratio of the current operating load of the equipment to the rated load. It helps quantify the performance of the equipment under overload conditions.
[0077] The temperature coefficient is used to quantify the ratio of the change of physical quantities (such as resistance and conductivity) with temperature. It can help understand the changes in the performance of materials at different temperatures.
[0078] It refers to the change in a specific physical quantity (such as resistance or conductivity) when the temperature changes by a unit. Closely related, and often used to measure a material's temperature sensitivity.
[0079] The rated temperature designed or marked for a device under normal operating conditions indicates the standard temperature at which the device can operate normally under the design and test conditions. It serves as a comparative benchmark to quantify the effects of temperature changes.
[0080] In this implementation, by integrating multiple factors, a comprehensive consideration of device performance is provided to ensure the reliability and effectiveness of the device under various conditions during design and operation. Each parameter helps to better understand and adjust the current to adapt to changes in the working environment.
[0081] In one implementation, in order to save the adjustment calculation of the unloaded port, reduce the calculation burden of the system and improve the operation efficiency, it is possible to detect whether there is an unloaded port. Figure 3 As shown, after S106, S107 to S111 may also be included, and S107 to S111 are specifically as follows: S107: Acquire the real-time port voltage of each of the ports.
[0082] Real-time port voltage refers to the voltage value of each port of the power adapter measured at a specific moment. The voltage of each output port of the power adapter is detected in real time using a voltage sensor or an integrated measurement circuit. The data acquisition system reads and records these voltage values at regular intervals.
[0083] S108: Obtaining the real-time port power of each of the ports according to the real-time port voltage of each of the ports and the real-time current information of each of the ports.
[0084] Get real-time current information for each port, either through a current sensor or by reading the data from the power module directly. Use the following formula to calculate power: P = V *I Among them, P is power, V is the real-time port voltage of the port, and I is the real-time current information of each port.
[0085] S109: Acquire the previous historical port power of each of the ports.
[0086] Historical port power refers to the power value measured at a certain time before. The device needs to record the historical power, which can be recorded in data logs, stored in databases, etc. The historical power of each port will be updated and saved regularly for subsequent comparative analysis.
[0087] S110: Identify an unloaded port among the ports according to the real-time port power of the ports and the previous historical port power of the ports.
[0088] An unloaded port is a port that is not connected to a load or to a load so small that the output power is almost zero.
[0089] The current real-time power is compared with the historical power. If the current power is close to zero and is significantly different from the historical power (such as a design threshold), the port can be identified as an unloaded port.
[0090] The real-time port voltage is , the real-time port power is , the real-time port power is , the previous historical port power is ,but .
[0091] Indicates the port power change. and It means that the port is an unloaded port. Among them, ε is the power change threshold, P threshold is the power threshold.
[0092] S111: canceling the overload adjustment calculation for the unloaded port.
[0093] After identifying the unloaded ports, the system updates its control algorithm to stop current regulation calculations for these ports, ensuring that the system continues to regulate only for the connected load. It is possible to implement this logic by setting a flag: a port with an unloaded flag set to "true" is excluded from the regulation calculation.
[0094] In this embodiment, by introducing the trend judgment of power change, unloaded ports can be identified when the power change is small but the absolute power is low, thereby avoiding unnecessary calculations and improving identification accuracy.
[0095] In the case of an unloaded port, by considering the influence of temperature change and duty cycle, the output of the power adapter can be controlled more accurately, thereby ensuring its stable performance under different working conditions. Figure 4 As shown, S106 may include S1063 to S1064, and S1063 to S1064 are specifically as follows: S1063: Obtain duty ratio information between the unloaded port and all the ports, and obtain rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter.
[0096] The duty ratio information refers to the ratio of the time that the signal is in an active state within a specific time period, which is usually expressed as a percentage. In this embodiment, the relative occupancy of the unloaded port and other working ports is reflected.
[0097] According to the real-time monitoring system, calculate the duty cycle of the unloaded port on all ports. The duty cycle usually refers to the ratio of the time that the unloaded port is in the "on" state to the total time in a cycle. You can use a standard time recording mechanism to sample the enable and close time of the unloaded port within a period of time and calculate the proportion.
[0098] S1064: Adjust the current information of the overload port according to the duty cycle information, the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset third overload adjustment formula.
[0099] A third overload adjustment formula can be set in advance to calculate the adjusted current value based on duty cycle information, real-time temperature information, rated temperature information, temperature coefficient information, unit temperature change information, maximum current information of the overload port, rated current information of the overload port and the preset third overload adjustment formula.
[0100] Specifically, in one implementation, according to the duty ratio information , the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset third overload adjustment formula: in, is the load regulation factor, For overload level information, For temperature impact information, is the duty ratio adjustment coefficient.
[0101] In an embodiment of the present application, the real-time temperature information of the power adapter is obtained; the first working state information of the power adapter is obtained according to the real-time temperature information; if the first working state information meets the preset overload detection standard, the real-time current information of each port is obtained; according to the real-time current information of each port, the second working state information of each port is obtained; if the second working state information of the port meets the preset overload adjustment standard, the maximum current information of the overloaded port and the rated current information of the overloaded port are obtained; according to the maximum current information of the overloaded port, the rated current information of the overloaded port and the preset first overload adjustment formula, the current information of the overloaded port is adjusted. By obtaining the real-time temperature information of the power adapter, the working state of the adapter can be judged. After confirming that there is an overload situation, the real-time current information of each port can be obtained, and the working state of each port can be analyzed. The above scheme specifically handles the current anomalies of different ports, thereby optimizing the current distribution and preventing overload of a certain port. Through the preset overload adjustment standard, the maximum current information and rated current information of the overloaded port can be obtained, and the actual current of the overloaded port can be adjusted according to this information. The adjustment method in this embodiment comprehensively considers the real-time status of the power adapter and the load conditions of each port, which not only ensures that the device works safely within the normal range, but also maximizes the resource utilization efficiency of the multi-port power adapter. In particular, when multiple ports work simultaneously, resource allocation is optimized and the safety and stability of the power adapter are ensured.
[0102] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0103] See also Figure 5 , Figure 5 Schematic diagram of the overload regulating device provided in the second embodiment of the present application. The units included are used to perform Figures 1 to 4 For details, please refer to the steps in the corresponding embodiment. Figures 1 to 4 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 5 , the overload regulating device 50 comprises: A first acquisition unit 51 is used to acquire real-time temperature information of a power adapter; A first processing unit 52, configured to obtain first working state information of the power adapter according to the real-time temperature information; A second processing unit 53 is configured to obtain real-time current information of each port if the first working state information meets a preset overload detection standard; A second acquisition unit 54, configured to acquire second working state information of each of the ports according to the real-time current information of each of the ports; The third processing unit 55 is configured to obtain the maximum current information of the overload port and the rated current information of the overload port if the second working state information of the port meets the preset overload adjustment standard; The fourth processing unit 56 is used to adjust the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula.
[0104] Furthermore, the fourth processing unit is specifically configured to: According to the maximum current information of the overload port , Rated current information of the overload port and a preset first overload adjustment formula to adjust the current information of the overload port ; The preset first overload adjustment formula is as follows: in, is the load regulation factor, Overload degree information.
[0105] Furthermore, the fourth processing unit is specifically configured to: Acquire rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset second overload adjustment formula.
[0106] Furthermore, the fourth processing unit is further configured to: According to the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset second overload adjustment formula: in, is the load regulation factor, For overload level information, Temperature impact information.
[0107] Furthermore, the overload regulating device further comprises: A third acquisition unit, used for acquiring the real-time port voltage of each of the ports; The fifth processing unit is used to obtain the real-time port power of each port according to the real-time port voltage of each port and the real-time current information of each port. A fourth acquisition unit, used to acquire the previous historical port power of each of the ports; a sixth processing unit, configured to identify an unloaded port among the ports according to the real-time port power of the ports and the previous historical port power of the ports; The seventh processing unit is used to cancel the overload adjustment calculation for the unloaded port.
[0108] Furthermore, the fourth processing unit is specifically configured to: Obtaining duty ratio information between the unloaded port and all the ports, and obtaining rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the duty cycle information, the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset third overload adjustment formula.
[0109] Furthermore, the fourth processing unit is further configured to: According to the duty ratio information , the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset third overload adjustment formula: in, is the load regulation factor, For overload level information, For temperature impact information, is the duty ratio adjustment coefficient.
[0110] See also Figure 6 , Figure 6 6 is a schematic diagram of an overload regulation device provided in the third embodiment of the present application. The port power adapter includes a memory 60, a processor 61, and a computer program 62 stored in the memory and executable on the processor. When the processor 61 executes the computer program 62, the steps in the above-mentioned various overload regulation method embodiments are implemented, such as Figure 1 Alternatively, when the processor 61 executes the computer program 62, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 5 The functions of modules 51 to 56 are shown.
[0111] Exemplarily, the computer program 62 may be divided into one or more modules / units, which are stored in the memory 60 and executed by the processor 61 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the overload regulation device. For example, the computer program 62 may be divided into a first acquisition unit, a first processing unit, a second processing unit, a second acquisition unit, a third processing unit, and a fourth processing unit, and the specific functions of each unit are as follows: A first acquisition unit, used to acquire real-time temperature information of the power adapter; A first processing unit, configured to obtain first working state information of the power adapter according to the real-time temperature information; a second processing unit, configured to obtain real-time current information of each port if the first working state information meets a preset overload detection standard; A second acquiring unit, configured to acquire second working state information of each of the ports according to the real-time current information of each of the ports; a third processing unit, configured to obtain maximum current information of the overload port and rated current information of the overload port if the second working state information of the port meets a preset overload adjustment standard; The fourth processing unit is used to adjust the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula.
[0112] The overload regulation device provided in the present application may include, but is not limited to, a processor and a memory. A person skilled in the art will understand that Figure 6 It is only an example of an overload regulating device and does not constitute a limitation of the overload regulating device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the overload regulating device may also include input and output devices, network access devices, buses, etc.
[0113] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0114] The memory 60 may be an internal storage unit of the overload regulating device, such as a hard disk or memory of the overload regulating device. The memory 60 may also be an external storage device of the overload regulating device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the overload regulating device. Furthermore, the overload regulating device may include both an internal storage unit and an external storage device of the overload regulating device. The memory 60 is used to store the computer program and other programs and data required by the overload regulating device. The memory 60 may also be used to temporarily store data that has been output or is to be output.
[0115] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0116] An embodiment of the present application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps in any of the above-mentioned method embodiments when executing the computer program.
[0117] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0118] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0120] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0121] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0122] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0124] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An overload regulation method, characterized in that: Applicable to multi-port power adapters, including: Get the real-time temperature information of the power adapter; Obtaining first working state information of the power adapter according to the real-time temperature information; If the first working state information meets a preset overload detection standard, obtaining real-time current information of each port; Acquiring second working state information of each of the ports according to the real-time current information of each of the ports; If the second working state information of the port meets the preset overload regulation standard, obtaining the maximum current information of the overload port and the rated current information of the overload port; The current information of the overload port is adjusted according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula.
2. The overload regulation method according to claim 1, characterized in that: The adjusting the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula includes: According to the maximum current information of the overload port , Rated current information of the overload port and a preset first overload adjustment formula to adjust the current information of the overload port ; The preset first overload adjustment formula is as follows: in, is the load regulation factor, Overload degree information.
3. The overload regulation method according to claim 1, characterized in that: The adjusting the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula includes: Acquire rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset second overload adjustment formula.
4. The overload regulation method according to claim 3, characterized in that: The adjusting the current information of the overload port according to the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset second overload adjustment formula includes: According to the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset second overload adjustment formula: in, is the load regulation factor, For overload level information, Temperature impact information.
5. The overload regulation method according to claim 4, characterized in that: Also includes: Obtaining the real-time port voltage of each of the ports; According to the real-time port voltage of each port and the real-time current information of each port, the real-time port power of each port is obtained. Obtaining the previous historical port power of each of the ports; identifying an unloaded port among the ports according to the real-time port power of the ports and the previous historical port power of the ports; The overload regulation calculation for the unloaded port is canceled.
6. The overload regulation method according to claim 5, characterized in that: The adjusting the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula includes: Obtaining duty ratio information between the unloaded port and all the ports, and obtaining rated temperature information of the power adapter, temperature coefficient information corresponding to the power adapter, and unit temperature change information corresponding to the power adapter; The current information of the overload port is adjusted according to the duty cycle information, the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset third overload adjustment formula.
7. The overload regulation method according to claim 6, characterized in that: The adjusting the current information of the overload port according to the duty ratio information, the real-time temperature information, the rated temperature information, the temperature coefficient information, the unit temperature change information, the maximum current information of the overload port, the rated current information of the overload port and a preset third overload adjustment formula includes: According to the duty ratio information , the real-time temperature information , the rated temperature information , the temperature coefficient information , the unit temperature change information , the maximum current information of the overload port , Rated current information of the overload port and a preset second overload adjustment formula to adjust the current information of the overload port ; The preset third overload adjustment formula: in, is the load regulation factor, For overload level information, For temperature impact information, is the duty ratio adjustment coefficient.
8. An overload regulating device, characterized in that: include: A first acquisition unit, used to acquire real-time temperature information of the power adapter; A first processing unit, configured to obtain first working state information of the power adapter according to the real-time temperature information; a second processing unit, configured to obtain real-time current information of each port if the first working state information meets a preset overload detection standard; A second acquiring unit, configured to acquire second working state information of each of the ports according to the real-time current information of each of the ports; a third processing unit, configured to obtain maximum current information of the overload port and rated current information of the overload port if the second working state information of the port meets a preset overload adjustment standard; The fourth processing unit is used to adjust the current information of the overload port according to the maximum current information of the overload port, the rated current information of the overload port and a preset first overload adjustment formula.
9. An overload regulating device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor; When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Intelligent electric power regulator and method for uniformly allocating power thereof
CN101841157A
Multi-energy storage overload determining method, system and terminal equipment
CN109378840A
Overload adjustment method and device based on multi-port power adapter
CN116155081A
Power control method and device, power supply system and energy storage power supply
CN117411278A
Control method and control device of power device
CN118842280A