Electronic load control method, apparatus, system, electronic device, and storage medium
By obtaining the maximum slope set of parallel electronic loads and performing summation control, the problem of difficult to accurately control the total output current slope in multiple electronic load systems is solved, and precise current slope control is achieved.
Patent Information
- Application Number
- CN202511007458.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-22
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2045-07-22
AI Technical Summary
When using multiple electronic loads to output high power, it is difficult to accurately control the slope of the total output current.
By obtaining the target current slope, the maximum slope of multiple electronic loads is obtained to form a slope set, and the elements of the set are traversed and summed. If the summed result is greater than the target current slope, the traversal is stopped. Based on the summed result and the target current slope, the output currents of the multiple electronic loads are controlled so that the sum of their slopes is the target current slope.
It achieves precise control of multiple electronic load systems, ensures that the output current slope reaches the target value, and improves the accuracy and efficiency of control.
Smart Images

Figure CN120511950B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic loads, and in particular to an electronic load control method, device, system, electronic device, and storage medium. Background Art
[0002] With the development of AI technology, the requirements for server power supply power, current, and response speed are becoming increasingly stringent. Therefore, when using electronic loads to test high-power batteries, extremely high test power and extremely fast dynamic response are required. When using multiple electronic loads for high-power output, it is difficult to accurately control the slope of the total output current. Summary of the Invention
[0003] The present application aims to provide an electronic load control method, device, system, electronic device and storage medium, which can accurately control the slope of the total output current of multiple electronic loads.
[0004] In a first aspect, an embodiment of the present application provides an electronic load control method, which is applied to an electronic load system, wherein the electronic load system includes multiple electronic loads connected in parallel, the slopes of the output currents of the multiple electronic loads are adjustable, and the maximum slopes of the output currents of the multiple electronic loads are different. The method includes:
[0005] Get the target current slope;
[0006] Obtaining the maximum slopes of the plurality of electronic loads to obtain a slope set;
[0007] Traversing the elements in the slope set and summing the visited elements to obtain a slope summation result;
[0008] If the sum of the slopes is greater than the target current slope, stop traversing;
[0009] Based on the slope summation result and the target current slope, multiple target electronic loads are controlled to output currents, and the sum of the slopes of the multiple electronic load output currents is the target current slope. The target electronic load is the electronic load corresponding to the accessed element.
[0010] According to some embodiments of the present application, traversing the elements in the slope set and summing the visited elements to obtain a slope summation result includes:
[0011] sorting the elements in the slope set from largest to smallest to obtain a slope sequence;
[0012] The elements of the slope sequence are accessed in sequence, and the accessed elements are summed to obtain a slope summation result.
[0013] According to some embodiments of the present application, controlling multiple target electronic load output currents based on the slope summation result and the target current slope includes:
[0014] Dividing the target current slope by the sum of the slopes to obtain a target weight;
[0015] multiplying the maximum slopes of the plurality of target electronic loads by the target weights respectively to obtain a plurality of target slopes, wherein the plurality of target slopes corresponds to the plurality of target electronic loads;
[0016] The plurality of target electronic loads are controlled to output current at corresponding target slopes.
[0017] In a second aspect, an embodiment of the present application provides a control device for an electronic load system, wherein the electronic load system includes a plurality of electronic loads connected in parallel, wherein the slopes of the output currents of the plurality of electronic loads are adjustable, and the maximum slopes of the output currents of the plurality of electronic loads are different, and the device includes:
[0018] A first acquisition module is used to acquire a target current slope;
[0019] A second acquisition module is configured to acquire the maximum slopes of the plurality of electronic loads to obtain a slope set;
[0020] A traversal and summation module, configured to traverse the elements in the slope set and sum the visited elements to obtain a slope summation result;
[0021] a traversal stopping module, configured to stop traversal if the slope summation result is greater than the target current slope;
[0022] A control module is used to control the output current of multiple target electronic loads based on the slope summation result and the target current slope, where the sum of the slopes of the output currents of the multiple electronic loads is the target current slope, and the target electronic load is the electronic load corresponding to the accessed element.
[0023] In a third aspect, an embodiment of the present application provides an electronic load system, which is provided with a controller, and the controller implements the electronic load control method as described above when executed.
[0024] In a fourth aspect, an embodiment of the present application provides an electronic device, including:
[0025] at least one processor;
[0026] at least one memory for storing at least one program;
[0027] When at least one of the programs is executed by at least one of the processors, the electronic load control method described above is implemented.
[0028] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing a program executable by a processor, wherein the program executable by the processor is used to implement the electronic load control method as described above when executed by the processor.
[0029] In an embodiment of the present application, a target current slope is obtained, and a slope set is obtained by obtaining the maximum slope of multiple electronic loads. Then, the elements in the slope set are traversed, and the accessed elements are summed to obtain a slope summation result. If the slope summation result is greater than the target current slope, the traversal is stopped. Based on the slope summation result and the target current slope, the output currents of multiple target electronic loads are controlled, and the sum of the slopes of the output currents of the multiple electronic loads is the target current slope, so that the slope of the output current of the electronic load system is the target current slope, thereby achieving precise control.
[0030] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The present application is further described below with reference to the accompanying drawings and embodiments, wherein:
[0032] Figure 1 A flowchart of an embodiment of the electronic load control method provided in this application;
[0033] Figure 2 A schematic diagram of an embodiment of a control device provided in this application;
[0034] Figure 3 This is a schematic diagram of an electronic device embodiment provided in this application.
[0035] Reference numerals:
[0036] The control device 100 , the first acquisition module 110 , the second acquisition module 120 , the traversal summation module 130 , the traversal stop module 140 , the control module 150 , the electronic device 200 , the processor 210 , and the memory 220 . DETAILED DESCRIPTION
[0037] The following describes in detail embodiments of the present application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.
[0038] In the description of this application, it should be understood that descriptions involving orientation, such as the orientation or positional relationship indicated by up, down, etc., are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.
[0039] In the description of this application, "a plurality" refers to more than two. The use of "first" or "second" is solely for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of technical features indicated, or implicitly indicating the order of the technical features indicated.
[0040] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.
[0041] The following is based on Figures 1 to 3 An electronic load control method, device, system, electronic device, and storage medium provided in embodiments of the present application are described.
[0042] The embodiment of the present application provides an electronic load control method, which is applied to an electronic load system. The electronic load system includes multiple electronic loads connected in parallel. The slopes of the output currents of the multiple electronic loads are adjustable, and the maximum slopes of the output currents of the multiple electronic loads are different. Figure 1 As shown, the method includes:
[0043] Step S100: obtaining a target current slope;
[0044] Step S200: obtaining the maximum slope of multiple electronic loads to obtain a slope set;
[0045] Step S300: traverse the elements in the slope set and sum the visited elements to obtain a slope sum result;
[0046] Step S400: If the slope summation result is greater than the target current slope, stop traversing;
[0047] Step S500: Based on the slope summation result and the target current slope, control the output current of multiple target electronic loads, and the sum of the slopes of the output currents of the multiple electronic loads is the target current slope. The target electronic load is the electronic load corresponding to the accessed element.
[0048] In an embodiment of the present application, a target current slope is obtained, and a slope set is obtained by obtaining the maximum slope of multiple electronic loads. Then, the elements in the slope set are traversed, and the accessed elements are summed to obtain a slope summation result. If the slope summation result is greater than the target current slope, the traversal is stopped. Based on the slope summation result and the target current slope, the output currents of multiple target electronic loads are controlled, and the sum of the slopes of the output currents of the multiple electronic loads is the target current slope, so that the slope of the output current of the electronic load system is the target current slope, thereby achieving precise control.
[0049] In step S100 , the target current slope is the slope of the output current required by the electronic load system.
[0050] In step S200 , the maximum slope of the electronic load is the maximum value of the controllable current slope that the electronic load can output;
[0051] In some embodiments of the present application, the step S300 of "traversing the elements in the slope set and summing the visited elements to obtain a slope summation result" is further described. The step S300 includes:
[0052] Step S310: sorting the elements in the slope set from large to small to obtain a slope sequence;
[0053] Step S320 sequentially accesses the elements of the slope sequence and sums the accessed elements to obtain a slope summation result.
[0054] In this embodiment, a slope sequence is obtained by sorting the elements in the slope set from large to small. When traversing the slope sequence, the elements of the slope sequence are accessed from large to small. This facilitates determining the minimum number of target electronic loads when comparing the slope summation result with the target current slope in subsequent steps, so that the slope summation result is greater than the target current slope, thereby improving the operating efficiency of the electronic system.
[0055] In some embodiments of the present application, the step S500 of “controlling the output currents of multiple target electronic loads based on the slope summation result and the target current slope” is further described. Step S500 includes:
[0056] Step S510: Divide the target current slope by the slope summation result to obtain a target weight;
[0057] Step S520: multiplying the maximum slopes of the multiple target electronic loads by the target weights respectively to obtain multiple target slopes, where the multiple target slopes correspond to the multiple target electronic loads;
[0058] Step S530 : controlling a plurality of target electronic loads to output currents at corresponding target slopes.
[0059] In this embodiment, the target weight is obtained by dividing the target current slope by the slope summation result, and the maximum slope of each target electronic load is multiplied by the target weight to obtain the corresponding target slope. Each target electronic load is controlled to output current with the corresponding target slope, so that the electronic load system outputs the target slope and realizes precise control of the output current.
[0060] For example, when two target electronic loads are determined, the target weight is calculated using the following formula:
[0061] k = A / (A1+A2);
[0062] Wherein, k is the target weight, A is the target current slope, A1 and A2 are the maximum slopes of the two target electronic loads respectively.
[0063] In addition, an embodiment of the present application provides a control device 100, which is applied to an electronic load system. The electronic load system includes multiple electronic loads connected in parallel. The slopes of the output currents of the multiple electronic loads are adjustable, and the maximum slopes of the output currents of the multiple electronic loads are different, such as Figure 2 As shown, the control device 100 includes:
[0064] A first acquisition module 110 is configured to acquire a target current slope;
[0065] A second acquisition module 120 is configured to acquire the maximum slope of a plurality of electronic loads to obtain a slope set;
[0066] A traversal summation module 130 is used to traverse the elements in the slope set and sum the visited elements to obtain a slope summation result;
[0067] A traversal stopping module 140 is configured to stop traversal if the slope summation result is greater than the target current slope;
[0068] The control module 150 is used to control the output currents of multiple target electronic loads based on the slope summation result and the target current slope, where the sum of the slopes of the output currents of the multiple electronic loads is the target current slope, and the target electronic load is the electronic load corresponding to the accessed element.
[0069] The control device 100 provided in the embodiment of the present application can implement each process implemented in the above method embodiment and achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0070] In addition, an embodiment of the present application provides an electronic load system, which is provided with a controller, and when executed, the controller implements the electronic load control method as described above.
[0071] The electronic load system provided in the embodiment of the present application can implement each process implemented in the above method embodiment and achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0072] In addition, the embodiment of the present application provides an electronic device 200, such as Figure 3 As shown, including:
[0073] at least one processor 210;
[0074] at least one memory 220, for storing at least one program;
[0075] When the at least one program is executed by the at least one processor 210 , the electronic load control method as described above is implemented.
[0076] The electronic device 200 provided in the embodiment of the present application can implement each process implemented in the above method embodiment and achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0077] In addition, an embodiment of the present application provides a computer-readable storage medium, which stores a program executable by a processor. When the program executable by the processor is executed by the processor, it is used to implement the electronic load control method as described above.
[0078] The computer-readable storage medium provided in the embodiment of the present application can implement each process implemented in the above method embodiment and achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0079] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments. Various changes can be made within the scope of knowledge possessed by ordinary technicians in the relevant technical field without departing from the purpose of the present application.
Claims
1. An electronic load control method, characterized in that: Applied to an electronic load system, the electronic load system includes a plurality of electronic loads connected in parallel, the slopes of the output currents of the plurality of electronic loads are adjustable, and the maximum slopes of the output currents of the plurality of electronic loads are different, the method includes: Get the target current slope; Obtaining the maximum slopes of the plurality of electronic loads to obtain a slope set; sorting the elements in the slope set from largest to smallest to obtain a slope sequence; Accessing the elements of the slope sequence in sequence, and summing the accessed elements to obtain a slope summation result; If the sum of the slopes is greater than the target current slope, stop traversing; Based on the slope summation result and the target current slope, multiple target electronic loads are controlled to output currents so that the sum of the slopes of the multiple electronic load output currents is the target current slope, and the target electronic load is the electronic load corresponding to the accessed element.
2. The electronic load control method according to claim 1, wherein: The step of controlling a plurality of target electronic load output currents based on the slope summation result and the target current slope comprises: Dividing the target current slope by the sum of the slopes to obtain a target weight; multiplying the maximum slopes of the plurality of target electronic loads by the target weights respectively to obtain a plurality of target slopes, wherein the plurality of target slopes corresponds to the plurality of target electronic loads; The plurality of target electronic loads are controlled to output current at corresponding target slopes.
3. A control device, characterized in that: Applied to an electronic load system, the electronic load system includes multiple electronic loads connected in parallel, the slopes of the output currents of the multiple electronic loads are adjustable, and the maximum slopes of the output currents of the multiple electronic loads are different. The device includes: A first acquisition module is used to acquire a target current slope; A second acquisition module is configured to acquire the maximum slopes of the plurality of electronic loads to obtain a slope set; a traversal summation module, configured to sort the elements in the slope set from largest to smallest to obtain a slope sequence, and sequentially access the elements of the slope sequence and sum the accessed elements to obtain a slope summation result; a traversal stopping module, configured to stop traversal if the slope summation result is greater than the target current slope; A control module is used to control the output currents of multiple target electronic loads based on the slope summation result and the target current slope, so that the sum of the slopes of the output currents of the multiple electronic loads is the target current slope, and the target electronic load is the electronic load corresponding to the accessed element.
4. An electronic load system, characterized in that: A controller is provided, and when the controller is executed, the electronic load control method according to any one of claims 1 to 2 is implemented.
5. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the electronic load control method according to any one of claims 1 to 2 is implemented.
6. A computer-readable storage medium, characterized in that A program executable by a processor is stored therein, and when the program executable by the processor is executed by the processor, it is used to implement the electronic load control method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Electronic load overcurrent protection method, electronic load and computer readable storage medium
CN116865203A
KR20240125132A