Power drive control method and device
By dynamically adjusting the power drive parameters and optimizing the power output according to power consumption requirements and temperature data, the problem of traditional power equipment being prone to overheating during high loads or long-term operation is solved, and the working efficiency and safety of the power supply are improved.
Patent Information
- Application Number
- CN202510120803.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-03-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional power supply equipment is prone to overheating under long-term operation or high-load conditions, resulting in reduced efficiency and equipment damage. How to improve the working efficiency and safety of the power supply has become an urgent problem.
By obtaining the status and electricity consumption requirements of the target device, as well as the power and initial driving parameters of the target power supply, the power driving parameters are dynamically adjusted, and the power output is adjusted according to the temperature data to prevent overheating.
实现了根据用电需求和温度数据动态调节电源驱动参数,提高了电源的工作效率和安全性,避免了过热导致的性能降低和设备损坏。
Smart Images

Figure CN119556781A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power drive technology, and in particular to a power drive control method and device. Background Art
[0002] In the prior art, power supply equipment provides power support for various electronic devices, and its stability and safety are crucial to the normal operation of electronic devices. However, traditional power supply equipment can only work according to specific driving parameters, resulting in low efficiency, and is prone to overheating during long-term operation or under high load conditions, resulting in reduced performance or even damage to the power supply equipment.
[0003] Therefore, how to improve the working efficiency and safety of power supply needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a power drive control method and device, which dynamically adjust power drive parameters according to power demand and temperature data to improve the working efficiency and safety of the power supply.
[0005] In a first aspect, an embodiment of the present application provides a power drive control method, the method comprising: Acquire the state and power demand of the target device, as well as the first power and initial driving parameters of the target power source; If the state of the target device is a working state, adjusting the initial driving parameter according to the power demand and the first power to obtain a first driving parameter; Acquiring temperature data of the target power source within a preset first time period, and adjusting the first driving parameter according to the temperature data to obtain a second driving parameter; The target power supply is controlled to operate according to the second driving parameter within a preset second time period to prevent the target power supply from overheating; the end time of the preset first time period is later than the start time of the preset second time period.
[0006] In a second aspect, an embodiment of the present application provides a power drive control device, the device comprising an acquisition module, a first adjustment module, a second adjustment module and a control module, wherein: The acquisition module is used to acquire the state and power demand of the target device, and the first power quantity and initial driving parameters of the target power supply; The first adjustment module is configured to adjust the initial driving parameter according to the power demand and the first power quantity to obtain a first driving parameter if the state of the target device is a working state; The second adjustment module is used to obtain temperature data of the target power supply within a preset first time period, and adjust the first driving parameter according to the temperature data to obtain a second driving parameter; The control module is used to control the target power supply to operate according to the second driving parameter within a preset second time period to prevent the target power supply from overheating; the end time of the preset first time period is later than the start time of the preset second time period.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method in the first aspect of the embodiment of the present application.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.
[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0010] By implementing the embodiments of the present application, the power supply driving parameters can be dynamically adjusted according to the power demand and temperature data to improve the working efficiency and safety of the power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0012] Figure 1 It is a system architecture diagram of an intelligent management system provided by an embodiment of the present application; Figure 2 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application; Figure 3 It is a flow chart of a power drive control method provided in an embodiment of the present application; Figure 4 It is a functional module composition block diagram of a power drive control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0013] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0014] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0015] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship. The "plurality" appearing in the embodiments of the present application refers to two or more.
[0016] In the embodiments of the present application, "at least one item" or similar expressions refer to any combination of these items, including any combination of single items or plural items, and refer to one or more, and multiple refers to two or more. For example, at least one item of a, b, or c can represent the following seven situations: a, b, c, a and b, a and c, b and c, a, b, and c. Among them, each of a, b, and c can be an element or a set containing one or more elements.
[0017] The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.
[0018] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0019] In the prior art, power supply equipment provides power support for various electronic devices, and its stability and safety are crucial to the normal operation of electronic devices. However, traditional power supply equipment can only work according to specific driving parameters, resulting in low efficiency, and is prone to overheating during long-term operation or under high load conditions, resulting in reduced performance or even damage to the power supply equipment. Therefore, how to improve the working efficiency and safety of the power supply needs to be solved urgently.
[0020] To solve the above problems, the embodiment of the present application provides a power drive control method and device, which can obtain the state and power demand of the target device, as well as the first power and initial drive parameters of the target power supply; if the state of the target device is the working state, the initial drive parameters are adjusted according to the power demand and the first power to obtain the first drive parameters; the temperature data of the target power supply in a preset first time period is obtained, and the first drive parameters are adjusted according to the temperature data to obtain the second drive parameters; the target power supply is controlled to work according to the second drive parameters in a preset second time period to prevent the target power supply from overheating; the end time of the preset first time period is later than the start time of the preset second time period. The power drive parameters can be dynamically adjusted according to the power demand and temperature data to improve the working efficiency and safety of the power supply.
[0021] Combine the following Figure 1 The system architecture of an intelligent management system for executing a power drive control method in an embodiment of the present application is described. Figure 1 It is a system architecture diagram of an intelligent management system provided in an embodiment of the present application, which includes a target device, a target power supply and a control center.
[0022] The target devices include but are not limited to household electrical equipment, industrial electrical equipment, and office electrical equipment, and the target power supply includes but is not limited to AC power supply and DC power supply, which are not specifically limited here. The target device, the target power supply and the control center are connected, and the target power supply provides power to the target device to maintain its normal operation. The target power supply receives the drive parameter adjustment instructions from the control center and adjusts the output voltage, current and other parameters as required to adapt to the power demand of the target device under different working conditions and ensure stable and efficient operation of the equipment.
[0023] In one possible embodiment, the control center first initializes the target power supply and configures the power supply output according to the preset initial drive parameters so that it can provide initial power to the target device. At the same time, a communication connection is established with the target device to obtain the status information of the target device and determine whether the device is in working state. After the target device starts working, the control center continuously collects the operating data of the target device and the target power supply, and dynamically adjusts the drive parameters of the target power supply according to the changes in the power demand of the device, such as load changes, operation mode switching, etc. For example, when the motor load on the industrial production line increases, the control center promptly increases the output power of the power supply; when the smart home device enters the low-power standby mode, the power supply output is correspondingly reduced to achieve the rational use of energy. At the same time, the target device and the target power supply are monitored in real time to see if there are any abnormal conditions. If there is a hidden fault, an early warning is issued in time and corresponding protective measures are taken, such as adjusting the power supply drive parameters to avoid the expansion of the fault or notifying the operation and maintenance personnel to carry out maintenance.
[0024] It can be seen that through the coordinated cooperation of the target equipment, target power supply and control center, efficient management of electric energy, intelligent regulation of equipment and timely handling of faults can be achieved. While ensuring the stable operation of the equipment, the working efficiency and safety of the power supply can be improved to meet the electricity consumption and management needs in different scenarios.
[0025] Combine the following Figure 2 The electronic device in the embodiment of the present application is described. Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 2 As shown, the electronic device includes one or more processors, a memory, a communication interface and one or more programs, and the processor is communicatively connected with the memory and the communication interface via an internal communication bus.
[0026] Among them, the processor is mainly used for: Acquire the state and power demand of the target device, as well as the first power and initial driving parameters of the target power source; If the state of the target device is a working state, adjusting the initial driving parameter according to the power demand and the first power to obtain a first driving parameter; Acquiring temperature data of the target power source within a preset first time period, and adjusting the first driving parameter according to the temperature data to obtain a second driving parameter; The target power supply is controlled to operate according to the second driving parameter within a preset second time period to prevent the target power supply from overheating; the end time of the preset first time period is later than the start time of the preset second time period.
[0027] The one or more programs are stored in the above-mentioned memory and are configured to be executed by the above-mentioned processor, and the one or more programs include instructions for executing any step in the above-mentioned method embodiment.
[0028] Among them, the processor can be, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, units and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, and the like. The communication unit can be a communication interface, a transceiver, a transceiver circuit, and the like, and the storage unit can be a memory.
[0029] The memory may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM).
[0030] It is understandable that the electronic device may include more or fewer structural elements than those in the above structural block diagram, for example, including a power module, physical buttons, Wi-Fi module, speaker, Bluetooth module, sensor, display module, etc., which are not limited here. It is understandable that the electronic device may be equipped with Figure 1 The system architecture described.
[0031] After understanding the software and hardware architecture of this application, Figure 3 A power drive control method in an embodiment of the present application is described. Figure 3 : is a flow chart of a power drive control method provided in an embodiment of the present application, which specifically includes the following steps: Step S301, obtaining the state and power demand of the target device, and the first power amount and initial driving parameters of the target power source.
[0032] Specifically, the state of the target device includes the working state and the fault state. Its power demand can change according to the state of the target device and the load change, and can also be set according to the needs of the user, which is not specifically limited here. Among them, the first power refers to the initial power of the target power supply at startup, which can be monitored by the battery management system to obtain detailed information such as the battery health status, remaining power, charging efficiency, etc. of the target power supply to ensure that the target device will not be short of power during operation. The initial drive parameters refer to the initial setting values of the target power supply, including the output voltage, output current, drive efficiency, etc. of the target power supply.
[0033] Step S302: If the state of the target device is a working state, the initial driving parameter is adjusted according to the power demand and the first power amount to obtain a first driving parameter.
[0034] The initial driving parameters include an initial voltage and an initial current, and the initial driving parameters are adjusted according to the power demand and the first power to obtain the first driving parameters. Specifically, the steps include: A1. Obtaining a reference voltage and a reference current corresponding to the power demand; A2. Obtain a voltage difference between the reference voltage and the initial voltage to obtain a first voltage difference; A3. Determine a first adjustment factor according to the first voltage difference; A4. Obtain a current difference between the reference current and the initial current to obtain a first current difference; A5. Determine a second adjustment factor according to the first current difference; A6. Adjust the initial voltage and the initial current according to the first adjustment factor and the second adjustment factor respectively to obtain a reference first voltage and a reference first current; A7. Determine the first driving parameter according to the first electrical quantity, the reference first voltage and the reference first current.
[0035] In a specific embodiment, when the target device is in a working state, a reference voltage and a reference current corresponding to the power demand can be obtained, and then the voltage difference between the reference voltage and the initial voltage is calculated to obtain a first voltage difference. Then, a first adjustment factor is determined according to the first voltage difference. The first voltage difference can be a positive value or a negative value. The larger the absolute value of the first voltage difference is, the larger the first adjustment factor is. When the first voltage difference is a positive value, the corresponding first adjustment factor is used to increase the initial voltage; when the first voltage difference is a negative value, the corresponding first adjustment factor is used to reduce the initial voltage. The initial voltage is adjusted according to the first adjustment factor to obtain a reference first voltage. Then, the current difference between the reference current and the initial current is calculated to obtain a first current difference, and then a second adjustment factor is determined according to the first current difference. Among them, the first current difference can be a positive value or a negative value. The larger the absolute value of the first current difference is, the larger the second adjustment factor is. When the first current difference is a positive value, the corresponding second adjustment factor is used to increase the initial current; when the first current difference is a negative value, the corresponding second adjustment factor is used to reduce the initial current. The initial current is adjusted according to the second adjustment factor to obtain a reference first current. Finally, a first driving parameter is determined according to the first electrical quantity, the reference first voltage and the reference first current.
[0036] The step of determining the first driving parameter according to the first electrical quantity, the reference first voltage and the reference first current comprises: B1. When the first electric quantity is greater than a preset first electric quantity threshold, determining the first driving parameter according to the reference first voltage and the reference first current; B2. When the first power level is less than or equal to the first power level threshold and greater than or equal to a preset second power level threshold, calculate the power difference between the first power level threshold and the first power level to obtain a first power difference; the first power level threshold is greater than the second power level threshold; B3. determining a first adjustment ratio according to the first power difference; B4. adjusting the reference first voltage and / or the reference first current according to the first adjustment ratio to obtain an adjustment result, and determining the first driving parameter according to the adjustment result; B5. When the first power level is less than the second power level threshold, determine the first driving parameter according to a default driving parameter; the default driving parameter is a driving parameter adapted by the target power source under a low power condition.
[0037] In a specific embodiment, when the first power is greater than the first power threshold, it means that the target power supply has sufficient power, and the reference first voltage and the reference first current can be directly determined as the first driving parameter. When the first power is less than or equal to the first power threshold, and greater than or equal to the second power threshold, it means that the target power supply has sufficient power, and the power difference between the first power threshold and the first power can be calculated to obtain the first power difference. Then, the first adjustment ratio is determined according to the first power difference, and the larger the first power difference, the larger the first adjustment ratio. Then, the reference first voltage and / or the reference first current are adjusted according to the first adjustment ratio to obtain the adjustment result. The first driving parameter is determined according to the adjustment result to ensure that the target power supply can automatically adjust the driving parameter according to its power state to optimize the working efficiency of the power supply and extend the service life of the power supply. When the first power is less than the second power threshold, it means that the power of the target power supply is too low, and the first driving parameter can be determined according to the default driving parameter. Among them, the default driving parameter is the driving parameter adapted by the target power supply under low power conditions to ensure that the target power supply can be safely and orderly shut down or enter a low power consumption mode when the power is about to run out.
[0038] It can be seen that the driving parameters are flexibly adjusted according to the power situation of the target power supply to ensure stable operation at different power levels, while trying to extend the use time and service life of the target power supply.
[0039] Step S303: acquiring temperature data of the target power source within a preset first time period, and adjusting the first driving parameter according to the temperature data to obtain a second driving parameter.
[0040] Specifically, the temperature data of the target power source within a preset first time period may be obtained, for example, the preset first time period is set to 10 minutes or 30 minutes, and the temperature data of the target power source is regularly collected within the preset first time period according to a preset collection frequency, for example, once per second or once per minute, which is not specifically limited here. The first driving parameter is then adjusted according to the temperature data to obtain the second driving parameter.
[0041] The temperature data includes a plurality of temperature values, each temperature value corresponds to a moment, and the first driving parameter is adjusted according to the temperature data to obtain the second driving parameter, and the specific steps include: C1. Obtaining a target power type of the target power; C2. Determine a first temperature threshold and a second temperature threshold corresponding to the target power type; the first temperature threshold is greater than the second temperature threshold; C3. If each of the multiple temperature values is less than or equal to the first temperature threshold, averaging the multiple temperature values to obtain a first average temperature value; C4. Fitting the multiple temperature values to obtain a first fitting straight line; the horizontal axis of the first fitting straight line is time, and the vertical axis is the temperature value; C5. Obtaining the slope of the first fitting straight line to obtain a first slope; C6. If the first average temperature value is greater than the second temperature threshold, calculate the ratio between the first average temperature value and the second temperature threshold to obtain a first ratio; C7. Determine a third adjustment factor corresponding to the first ratio; C8. Determine a fine-tuning factor corresponding to the first slope; C9. Adjust the third adjustment factor according to the fine-tuning factor to obtain a fourth adjustment factor; C10. Adjust the first driving parameter according to the fourth adjustment factor to obtain the second driving parameter.
[0042] In a specific embodiment, first, the target power type of the target power supply can be obtained, and the response characteristics of power supplies of different power types on temperature and other parameters are different. The first temperature threshold and the second temperature threshold corresponding to the target power type are determined, and the first temperature threshold is greater than the second temperature threshold. Among them, the first temperature threshold represents the first upper temperature limit that the target power supply can withstand, and the second temperature threshold represents the second upper temperature limit that the target power supply can withstand. According to the first temperature threshold, the second temperature threshold and the temperature data of the target power supply, the driving parameters are adjusted to ensure that the power supply can be stable and avoid overheating when running under different temperature conditions. Obtain multiple temperature values in the temperature data. If each temperature value in the multiple temperature values is less than or equal to the first temperature threshold, it means that the temperature of the target power supply is in a safe range, then average the multiple temperature values to obtain a first average temperature value. Then fit the multiple temperature values to obtain a first fitting straight line, the horizontal axis of the first fitting straight line is time, and the vertical axis is the temperature value. Obtain the slope of the first fitting straight line to obtain a first slope, which is used to represent the rate at which the temperature changes over time. If the first average temperature value is greater than the second temperature threshold, it means that the temperature of the target power supply is high, and the driving parameters of the power supply need to be adjusted to reduce the temperature of the target power supply. Then, the ratio between the first average temperature value and the second temperature threshold is calculated to obtain the first ratio. The third adjustment factor corresponding to the first ratio is determined. The larger the first ratio, the larger the corresponding third adjustment factor. Then, the fine-tuning factor corresponding to the first slope is determined. The larger the first slope, the larger the corresponding fine-tuning factor. Then, the third adjustment factor is adjusted according to the fine-tuning factor to obtain the fourth adjustment factor. Finally, the first voltage and / or the first current in the first driving parameter are adjusted according to the fourth adjustment factor to obtain the second driving parameter. For example, the first voltage is adjusted by the fourth adjustment factor to obtain the reduced second voltage, thereby reducing the power of the target power supply, and then reducing the heat inside the target power supply to achieve the purpose of controlling the temperature.
[0043] It can be seen that according to the temperature data of the target power supply and its changing trend, the driving parameters of the target power supply are dynamically adjusted to achieve effective control of the power supply temperature, ensure that the target power supply operates within a safe and stable temperature range, and avoid damage to the power supply performance and life due to excessive temperature, thereby improving the reliability and safety of the target power supply during operation.
[0044] In a possible embodiment, if there is at least one temperature value among the multiple temperature values that is greater than the first temperature threshold, the average value of the at least one temperature value is obtained to obtain a second average temperature value; the temperature difference between the second average temperature value and the first temperature threshold is calculated to obtain a first temperature difference; and according to a mapping relationship between a preset temperature difference and a driving parameter, the second driving parameter corresponding to the first temperature difference is determined.
[0045] Specifically, if at least one temperature value among the multiple temperature values is greater than the first temperature threshold, it means that the target power supply is overheated, and the driving parameters of the power supply need to be adjusted to reduce the temperature. The at least one temperature value is averaged to obtain a second average temperature value, which represents the average temperature level of the target power supply overheating. The temperature difference between the second average temperature value and the first temperature threshold is then calculated to obtain the first temperature difference. The larger the first temperature difference, the more serious the overheating of the target power supply. Finally, according to the mapping relationship between the preset temperature difference and the driving parameter, the second driving parameter corresponding to the first temperature difference is determined to reasonably adjust the second driving parameter of the target power supply, thereby effectively controlling the temperature and preventing further overheating from damaging the target power supply.
[0046] It can be seen that dynamically adjusting the driving parameters of the target power supply according to its temperature data can extend the service life of the target power supply, avoid component damage, performance degradation or system failure caused by overheating, and improve the working efficiency and safety of the target power supply.
[0047] Step S304: Control the target power source to operate according to the second driving parameter within a preset second time period to prevent the target power source from overheating.
[0048] The end time of the preset first time period is later than the start time of the preset second time period.
[0049] The second driving parameter includes a second voltage and a second current, and the controlling the target power supply to operate according to the second driving parameter within a preset second time period specifically includes: D1. Determine, according to a mapping relationship between a preset voltage and a duty cycle, a first duty cycle corresponding to the second voltage in the preset second time period; the first duty cycle is used to adjust the operating voltage of the target power supply; D2. configuring the target power supply according to the first duty cycle to ensure that the target power supply operates at the second voltage within the preset second time period; D3, determining a third current of the target power supply corresponding to the first duty cycle; D4. Calculate the current difference between the second current and the third current to obtain a second current difference; D5. Adjust the third current according to the second current difference to ensure that the target power supply operates according to the second current within the preset second time period.
[0050] In a specific embodiment, first, according to the mapping relationship between the preset voltage and the duty cycle, the first duty cycle corresponding to the second voltage in the preset second time period can be determined, and the first duty cycle is used to adjust the working voltage of the target power supply. Then, the target power supply is configured according to the first duty cycle to ensure that the target power supply works according to the second voltage in the preset second time period. When the target power supply is configured according to the first duty cycle and works, the actual output current of the target power supply will change due to the first duty cycle. Therefore, it is necessary to obtain the actual output current of the target power supply, that is, the third current. Then calculate the current difference between the second current and the third current to obtain the second current difference. According to the second current difference, the third current is adjusted so that the output current of the target power supply is close to the second current, thereby ensuring that the target power supply works according to the second current in the preset second time period. For example, for an adjustable resistance load, its resistance can be adjusted according to the second current difference, so that the output current is close to the second current, which is not specifically limited here. Among them, the larger the second current difference, the greater the adjustment strength of the resistance.
[0051] It can be seen that by controlling the voltage and current of the target power supply, it is ensured that within the preset second time period, the driving parameters of the target power supply meet expectations and meet the operating requirements of the target device. At the same time, the stable operation of the target power supply and the target device is guaranteed to avoid performance degradation or damage to the target device due to voltage or current deviations.
[0052] In a possible embodiment, if the state of the target device is a fault state, obtain a second duty cycle of the target power supply; determine the fault severity of the target device according to the fault state; determine the power-off duration corresponding to the target power supply according to the fault severity; the power-off duration is used to avoid damage to the target device due to rapid power off; determine a target shutdown rate according to the second duty cycle and the power-off duration; reduce the second duty cycle according to the target shutdown rate until the second duty cycle is zero, so as to control the target power supply to stop working.
[0053] Specifically, when the target device is in a fault state, the current second duty cycle of the target power supply is obtained, and then the fault severity of the target device is determined according to the fault state. The fault severity of the target device can be determined according to the fault code corresponding to the fault state. For example, when the target device is an industrial motor, its fault code 001 may indicate a slight overtemperature, which is a mild fault; fault code 002 may indicate a severe short circuit fault, which is a severe fault; the fault severity can also be determined by monitoring the key parameters corresponding to the fault state. For example, if the operating current exceeds the rated current by less than 10%, it may be a mild overload, which is a mild fault; if the operating current exceeds the rated current by more than 50%, it may be a severe overload, which is a severe fault. No specific limitation is made here. Then, the power-off duration corresponding to the target power supply is determined according to the severity of the fault. For minor faults, in order to avoid damage to the target device, a longer power-off duration can be set, such as a few seconds or tens of seconds, to give the target device enough time to process the current state or perform related data saving operations. For serious faults, in order to prevent the fault from further expanding, it may be necessary to cut off the power supply as soon as possible, but the safety of the target device still needs to be considered, and a shorter power-off duration can be set, such as tens of milliseconds to hundreds of milliseconds. For example, for a short circuit fault, the power-off duration can be set to 100 milliseconds, and the power supply can be cut off in the shortest possible time to reduce damage to other components. Finally, the target shutdown rate is determined according to the second duty cycle and the power-off duration, and the second duty cycle is reduced according to the target shutdown rate until the second duty cycle is zero, so as to control the target power supply to stop working.
[0054] It can be seen that when a target device fails, the shutdown process of the target power supply is reasonably controlled according to the severity of the failure to avoid damage to the target device due to rapid power failure, thereby improving the safety and reliability of the driving process.
[0055] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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 the present application.
[0056] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0057] In the case of dividing each functional module into corresponding functional modules, Figure 4 4 is a functional module composition block diagram of a power drive control device provided in an embodiment of the present application. The power drive control device 400 includes an acquisition module 410, a first adjustment module 420, a second adjustment module 430 and a control module 440, wherein: The acquisition module 410 is used to acquire the state and power demand of the target device, and the first power and initial driving parameters of the target power source; The first adjustment module 420 is configured to adjust the initial driving parameter according to the power demand and the first power to obtain a first driving parameter if the state of the target device is a working state; The second adjustment module 430 is used to obtain temperature data of the target power source within a preset first time period, and adjust the first driving parameter according to the temperature data to obtain a second driving parameter; The control module 440 is used to control the target power supply to operate according to the second driving parameter within a preset second time period to prevent the target power supply from overheating; the end time of the preset first time period is later than the start time of the preset second time period.
[0058] Optionally, the initial driving parameters include an initial voltage and an initial current. In terms of adjusting the initial driving parameters according to the power demand and the first power to obtain the first driving parameters, the first adjusting module 420 is specifically used to: Obtaining a reference voltage and a reference current corresponding to the power demand; Acquire a voltage difference between the reference voltage and the initial voltage to obtain a first voltage difference; determining a first adjustment factor according to the first voltage difference; Acquire a current difference between the reference current and the initial current to obtain a first current difference; determining a second adjustment factor according to the first current difference; The initial voltage and the initial current are adjusted according to the first adjustment factor and the second adjustment factor respectively to obtain a reference first voltage and a reference first current; The first driving parameter is determined according to the first electrical quantity, the reference first voltage, and the reference first current.
[0059] Optionally, in determining the first driving parameter according to the first electrical quantity, the reference first voltage, and the reference first current, the first regulating module 420 is further specifically configured to: When the first electric quantity is greater than a preset first electric quantity threshold, determining the first driving parameter according to the reference first voltage and the reference first current; When the first power level is less than or equal to the first power level threshold and greater than or equal to a preset second power level threshold, calculating the power difference between the first power level threshold and the first power level to obtain a first power difference; the first power level threshold is greater than the second power level threshold; Determining a first adjustment ratio according to the first power difference; adjusting the reference first voltage and / or the reference first current according to the first adjustment ratio to obtain an adjustment result, and determining the first driving parameter according to the adjustment result; When the first power level is less than the second power level threshold, the first driving parameter is determined according to a default driving parameter; the default driving parameter is a driving parameter adapted by the target power source in a low power situation.
[0060] Optionally, the temperature data includes a plurality of temperature values, each temperature value corresponds to a moment, and in adjusting the first driving parameter according to the temperature data to obtain the second driving parameter, the second adjusting module 430 is specifically used to: Acquire a target power type of the target power; Determine a first temperature threshold and a second temperature threshold corresponding to the target power type; the first temperature threshold is greater than the second temperature threshold; If each of the multiple temperature values is less than or equal to the first temperature threshold, averaging the multiple temperature values to obtain a first average temperature value; Fitting the multiple temperature values to obtain a first fitting straight line, wherein the horizontal axis of the first fitting straight line is time and the vertical axis is the temperature value; Obtaining the slope of the first fitting straight line to obtain a first slope; If the first average temperature value is greater than the second temperature threshold, calculating the ratio between the first average temperature value and the second temperature threshold to obtain a first ratio; determining a third adjustment factor corresponding to the first ratio; determining a fine-tuning factor corresponding to the first slope; Adjust the third adjustment factor according to the fine-tuning factor to obtain a fourth adjustment factor; The first driving parameter is adjusted according to the fourth adjustment factor to obtain the second driving parameter.
[0061] Optionally, the second adjustment module 430 is further specifically configured to: If at least one temperature value among the multiple temperature values is greater than the first temperature threshold, obtaining an average value of the at least one temperature value to obtain a second average temperature value; Calculating a temperature difference between the second average temperature value and the first temperature threshold to obtain a first temperature difference; The second driving parameter corresponding to the first temperature difference is determined according to a preset mapping relationship between the temperature difference and the driving parameter.
[0062] Optionally, the second driving parameter includes a second voltage and a second current. In controlling the target power supply to operate according to the second driving parameter within a preset second time period, the control module 440 is specifically configured to: Determining a first duty cycle corresponding to the second voltage within the preset second time period according to a mapping relationship between a preset voltage and a duty cycle; the first duty cycle is used to adjust the operating voltage of the target power supply; configuring the target power supply according to the first duty cycle to ensure that the target power supply operates at the second voltage within the preset second time period; determining a third current of the target power supply corresponding to the first duty cycle; calculating a current difference between the second current and the third current to obtain a second current difference; The third current is adjusted according to the second current difference to ensure that the target power supply operates according to the second current within the preset second time period.
[0063] Optionally, the control module 440 is further specifically configured to: If the state of the target device is a fault state, obtaining a second duty cycle of the target power supply; Determining the severity of the fault of the target device according to the fault state; Determine the power-off duration corresponding to the target power source according to the severity of the fault; the power-off duration is used to avoid damage to the target device due to rapid power off; determining a target shutdown rate according to the second duty cycle and the power-off duration; The second duty cycle is reduced according to the target shutdown rate until the second duty cycle is zero, so as to control the target power supply to stop working.
[0064] It can be seen that the power supply driving parameters are dynamically adjusted according to the power demand and temperature data to improve the working efficiency and safety of the power supply.
[0065] It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the power drive control device 400 can be used to execute the above method embodiment of the present application, which will not be described in detail.
[0066] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes an electronic device.
[0067] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0068] It should be noted that, for the above-mentioned various embodiments, for the sake of simple description, they are all expressed as a series of action combinations. Those skilled in the art should be aware that the present application is not limited by the described order of actions, because some steps in the embodiments of the present application can be performed in other orders or simultaneously. In addition, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions, steps, modules or units involved are not necessarily required by the embodiments of the present application.
[0069] In the above embodiments, the embodiments of the present application have different focuses on the description of each embodiment. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0070] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
[0071] The steps of the method or algorithm described in the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device or a management device. Of course, the processor and the storage medium can also exist in a terminal device or a management device as discrete components.
[0072] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0073] The modules / units included in the devices and products described in the above embodiments may be software modules / units or hardware modules / units, or may be partially software modules / units and partially hardware modules / units. For example, for the devices and products applied to or integrated in the chip, the modules / units included therein may all be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on the processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for the devices and products applied to or integrated in the chip module, the modules / units included therein may all be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. It is implemented in the form of a software program that runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in hardware such as circuits; for various devices and products applied to or integrated in the terminal equipment, the various modules / units contained therein can be implemented in hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or different components in the terminal equipment, or at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the terminal equipment, and the remaining (if any) modules / units can be implemented in hardware such as circuits.
[0074] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above description is only the specific implementation method of the embodiments of the present application and is not intended to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.
Claims
1. A power drive control method, characterized in that: The method comprises: Acquire the state and power demand of the target device, as well as the first power and initial driving parameters of the target power source; If the state of the target device is a working state, adjusting the initial driving parameter according to the power demand and the first power to obtain a first driving parameter; Acquiring temperature data of the target power source within a preset first time period, and adjusting the first driving parameter according to the temperature data to obtain a second driving parameter; The target power supply is controlled to operate according to the second driving parameter within a preset second time period to prevent the target power supply from overheating; the end time of the preset first time period is later than the start time of the preset second time period.
2. The method according to claim 1, characterized in that The initial driving parameters include an initial voltage and an initial current, and the initial driving parameters are adjusted according to the power demand and the first power to obtain first driving parameters, including: Obtaining a reference voltage and a reference current corresponding to the power demand; Acquire a voltage difference between the reference voltage and the initial voltage to obtain a first voltage difference; determining a first adjustment factor according to the first voltage difference; Acquire a current difference between the reference current and the initial current to obtain a first current difference; determining a second adjustment factor according to the first current difference; The initial voltage and the initial current are adjusted according to the first adjustment factor and the second adjustment factor respectively to obtain a reference first voltage and a reference first current; The first driving parameter is determined according to the first electrical quantity, the reference first voltage, and the reference first current.
3. The method according to claim 2, characterized in that The determining the first driving parameter according to the first electrical quantity, the reference first voltage and the reference first current includes: When the first electric quantity is greater than a preset first electric quantity threshold, determining the first driving parameter according to the reference first voltage and the reference first current; When the first power level is less than or equal to the first power level threshold and greater than or equal to a preset second power level threshold, calculating the power difference between the first power level threshold and the first power level to obtain a first power difference; the first power level threshold is greater than the second power level threshold; Determining a first adjustment ratio according to the first power difference; adjusting the reference first voltage and / or the reference first current according to the first adjustment ratio to obtain an adjustment result, and determining the first driving parameter according to the adjustment result; When the first power level is less than the second power level threshold, the first driving parameter is determined according to a default driving parameter; the default driving parameter is a driving parameter adapted by the target power source in a low power situation.
4. The method according to any one of claims 1 to 3, characterized in that: The temperature data includes a plurality of temperature values, each temperature value corresponds to a moment, and the first driving parameter is adjusted according to the temperature data to obtain the second driving parameter, including: Acquire a target power type of the target power; Determine a first temperature threshold and a second temperature threshold corresponding to the target power type; the first temperature threshold is greater than the second temperature threshold; If each of the multiple temperature values is less than or equal to the first temperature threshold, averaging the multiple temperature values to obtain a first average temperature value; Fitting the multiple temperature values to obtain a first fitting straight line, wherein the horizontal axis of the first fitting straight line is time and the vertical axis is the temperature value; Obtaining the slope of the first fitting straight line to obtain a first slope; If the first average temperature value is greater than the second temperature threshold, calculating the ratio between the first average temperature value and the second temperature threshold to obtain a first ratio; determining a third adjustment factor corresponding to the first ratio; determining a fine-tuning factor corresponding to the first slope; Adjust the third adjustment factor according to the fine-tuning factor to obtain a fourth adjustment factor; The first driving parameter is adjusted according to the fourth adjustment factor to obtain the second driving parameter.
5. The method according to claim 4, characterized in that The method further comprises: If at least one temperature value among the multiple temperature values is greater than the first temperature threshold, obtaining an average value of the at least one temperature value to obtain a second average temperature value; Calculating a temperature difference between the second average temperature value and the first temperature threshold to obtain a first temperature difference; The second driving parameter corresponding to the first temperature difference is determined according to a preset mapping relationship between the temperature difference and the driving parameter.
6. The method according to any one of claims 1 to 3, characterized in that: The second driving parameter includes a second voltage and a second current, and the controlling the target power supply to operate according to the second driving parameter within a preset second time period includes: Determining a first duty cycle corresponding to the second voltage within the preset second time period according to a mapping relationship between a preset voltage and a duty cycle; the first duty cycle is used to adjust the operating voltage of the target power supply; configuring the target power supply according to the first duty cycle to ensure that the target power supply operates at the second voltage within the preset second time period; determining a third current of the target power supply corresponding to the first duty cycle; calculating a current difference between the second current and the third current to obtain a second current difference; The third current is adjusted according to the second current difference to ensure that the target power supply operates according to the second current within the preset second time period.
7. The method according to claim 1, characterized in that The method further comprises: If the state of the target device is a fault state, obtaining a second duty cycle of the target power supply; Determining the severity of the fault of the target device according to the fault state; Determine the power-off duration corresponding to the target power source according to the severity of the fault; the power-off duration is used to avoid damage to the target device due to rapid power off; determining a target shutdown rate according to the second duty cycle and the power-off duration; The second duty cycle is reduced according to the target shutdown rate until the second duty cycle is zero, so as to control the target power supply to stop working.
8. A power drive control device, characterized in that: The device comprises an acquisition module, a first adjustment module, a second adjustment module and a control module, wherein: The acquisition module is used to acquire the state and power demand of the target device, and the first power quantity and initial driving parameters of the target power supply; The first adjustment module is configured to adjust the initial driving parameter according to the power demand and the first power quantity to obtain a first driving parameter if the state of the target device is a working state; The second adjustment module is used to obtain temperature data of the target power supply within a preset first time period, and adjust the first driving parameter according to the temperature data to obtain a second driving parameter; The control module is used to control the target power supply to operate according to the second driving parameter within a preset second time period to prevent the target power supply from overheating; the end time of the preset first time period is later than the start time of the preset second time period.
9. An electronic device, characterized in that: include: A processor, a memory, a communication interface, and one or more programs; The one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for executing the steps in the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method for controlling battery charging of mobile power bank
CN106685010A
Debugging method and device
CN109002388A
High-efficiency power conversion control method and power adapter
CN118232663A
Charging protection method and device in fast charging mode and storage medium
CN118920635A