Method for setting PID (Proportion Integration Differentiation) parameters when electronic load is connected in parallel with different numbers of modules

The number of electronic load modules is judged by the number of temperature acquisition channels and the PID parameters are calculated, which solves the problem of PID parameters inconsistency when the electronic load is connected to different power modules in parallel, and achieves fast and efficient PID parameter setting.

CN119472244APending Publication Date: 2025-02-18BEIJING DAHUA RADIO INSTR FACTORY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411582365.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-18

Smart Images

  • Figure CN119472244A_ABST
    Figure CN119472244A_ABST
Patent Text Reader

Abstract

The invention discloses a method for setting PID (Proportion Integration Differentiation) parameters when an electronic load is connected in parallel with different numbers of modules, the number of load modules is judged according to the number of temperature acquisition channels, and the PID parameters are calculated on the basis of the obtained number of the load modules. Supposing that the temperature sampling of the 1-N power module is normal; n + 1 is not provided with a power module, so that no power sampling signal exists; if yes, the electronic load control board judges that the number of modules connected with the load is N through temperature sampling feedback. The number of the load modules can be judged according to the number of the temperature acquisition channels, the PID parameters of the current load are rapidly determined, and compared with a traditional manual PID parameter debugging method, it is shown that the method can effectively improve the efficiency of determining the PID parameters of the electronic load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an electronic load PID parameter setting technology, and in particular to a method for setting PID parameters when different numbers of modules are connected in parallel to an electronic load. Background Art

[0002] At present, there are more and more power models of electronic loads, and the demand for electronic load power expansion technology through parallel modules is increasing. While electronic loads achieve power expansion through parallel modules, new requirements are also put forward for the rapid setting of PID parameters of different load models.

[0003] Different models of electronic loads have different numbers of power modules connected in parallel, which will result in different PID parameters. In the prior art, PID parameters are set by manual debugging, which is difficult to effectively improve the efficiency of electronic load PID parameter determination. In particular, the PID parameters of electronic loads are inconsistent when different power modules are connected in parallel. Different module loads need to manually debug the PID parameters, which is time-consuming.

[0004] In view of this, the present invention is proposed. Summary of the invention

[0005] The purpose of the present invention is to provide a method for setting PID parameters when different numbers of modules are connected in parallel to an electronic load, so as to solve the above-mentioned technical problems existing in the prior art.

[0006] The objective of the present invention is achieved through the following technical solutions:

[0007] The method for setting PID parameters when electronic loads are connected in parallel to different numbers of modules of the present invention determines the number of load modules by the number of temperature acquisition channels, and calculates PID parameters based on the obtained number of load modules.

[0008] Compared with the prior art, the method for setting PID parameters when the electronic load is connected in parallel with different numbers of modules provided by the present invention can address the inconsistency of PID parameters when the electronic load is connected in parallel with different power modules. The number of load modules can be judged by the number of temperature acquisition channels, and the PID parameters of the current load can be quickly determined. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 This is a principle block diagram of the temperature sampling part of the electronic load according to an embodiment of the present invention. DETAILED DESCRIPTION

[0010] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.

[0011] First, the terms that may be used in this article are explained as follows:

[0012] The term “and / or” means that either or both of them can be realized at the same time. For example, X and / or Y means both “X” or “Y” and “X and Y”.

[0013] The terms "include", "comprises", "contains", "has" or other descriptions with similar semantics should be interpreted as non-exclusive inclusion. For example, including certain technical feature elements (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products or products, etc.) should be interpreted as including not only certain technical feature elements explicitly listed, but also other technical feature elements known in the art that are not explicitly listed.

[0014] The term "consisting of..." means excluding any technical feature elements not explicitly listed. If this term is used in a claim, it will make the claim closed, so that it does not contain technical feature elements other than the technical feature elements explicitly listed, except for the conventional impurities related to them. If this term only appears in a clause of a claim, it only limits the elements explicitly listed in the clause, and the elements recorded in other clauses are not excluded from the overall claim.

[0015] The contents not described in detail in the examples of the present invention belong to the prior art known to professionals in the field. If no specific conditions are specified in the examples of the present invention, the conditions are carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer. If the manufacturer is not specified in the reagents or instruments used in the examples of the present invention, they are all conventional products that can be purchased commercially.

[0016] The method for setting PID parameters when electronic loads are connected in parallel to different numbers of modules of the present invention determines the number of load modules by the number of temperature acquisition channels, and calculates PID parameters based on the obtained number of load modules.

[0017] Includes steps:

[0018] Assume that: 1-N power module temperature sampling is normal; and N+1 has no power module, so there is no power sampling signal;

[0019] Then: the electronic load control board determines that the number of modules connected to the load is N through temperature sampling feedback.

[0020] The electronic load uses an incremental PID to adjust the current, including:

[0021] Parameter Description:

[0022] Ek is the difference between the current reference current and the feedback current, Ek1 is the difference between the previous reference current and the feedback current, and Ek2 is the difference between the previous two reference currents and the feedback current;

[0023] Iref reference current value;

[0024] Ifb feedback current value;

[0025] Iinc adjusts the current increment value of the current in the current cycle;

[0026] P is the proportional value in PID parameters;

[0027] The integral value in the IPID parameter;

[0028] D is the differential value in PID parameters;

[0029] Then: Ek = Iref - Ifb;

[0030] Iinc=P*(Ek-Ek1)+I*Ek+D*(Ek+Ek2–2*Ek1);

[0031] Ek1=Ek;

[0032] Ek2=Ek1.

[0033] The method for setting PID parameters of an electronic load comprises:

[0034] Parameter Description:

[0035] Iout is the calibrated current output;

[0036] Iset is the set current;

[0037] Kcal is the linear calibration coefficient K;

[0038] Bcal is the linear calibration coefficient B;

[0039] Istep is the output current value corresponding to each step of DAC;

[0040] The PID parameters of one module are P1, I1, D1;

[0041] The PID parameters of N modules are Pn, In, Dn;

[0042] Then: adjusting the PID so that the single-step DAC output current speed of N modules is consistent with the single-step output current speed of 1 module can ensure that the PID of N modules works normally like 1 module. In this way, you only need to adjust the electronic load PID parameters of 1 module to set the PID parameters of any modules through calculation.

[0043] The specific method for setting PID parameters is as follows:

[0044] The calibrated current output of the electronic load is Iout = Kcal*Iset+Bcal;

[0045] in:

[0046] Using a 16-bit DAC with an output range of 0-65535, calculate the current value of the DAC output at each step:

[0047] Istep = Kcal / 65535;

[0048] Calculate the PID setpoints for N modules:

[0049] Pn=P1*Istep / N;

[0050] In=I1*Istep / N;

[0051] Dn=D1*Istep / N;

[0052] In this way, the PID parameters of any N modules are set.

[0053] In summary, it can be seen that the method for setting PID parameters when the electronic load is connected in parallel with different numbers of modules in the embodiment of the present invention can address the inconsistency of PID parameters when the electronic load is connected in parallel with different power modules. The number of load modules can be judged by the number of temperature acquisition channels, and the PID parameters of the current load can be quickly determined. Comparative analysis with the traditional manual debugging PID parameter method shows that this method can effectively improve the efficiency of determining the PID parameters of the electronic load.

[0054] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the embodiments of the present invention are described in detail with specific embodiments below.

[0055] Example 1

[0056] As shown in Figure 1:

[0057] 1. In this principle block diagram, the electronic load control board determines the number of power modules through the temperature AD sampling signal between the electronic load control board and the power module.

[0058] like Figure 1 In the case shown, the temperature sampling of 1-N power modules is normal, but N+1 has no power module and therefore no power sampling signal. The electronic load control board can easily determine that the number of modules connected to the load is N through temperature sampling feedback.

[0059] 2. Electronic load uses incremental PID to adjust current

[0060] Parameter Description

[0061] Ek is the difference between the current reference current and the feedback current, Ek1 is the difference between the previous reference current and the feedback current, and Ek2 is the difference between the previous two reference currents and the feedback current.

[0062] Iref reference current value

[0063] Ifb Feedback current value

[0064] Iinc current cycle adjustment current increment value

[0065] P Proportional value in PID parameters

[0066] Integral value in IPID parameters

[0067] D Differential value in PID parameters

[0068] Ek=Iref-Ifb;

[0069] Iinc=P*(Ek-Ek1)+I*Ek+D*(Ek+Ek2–2*Ek1);

[0070] Ek1=Ek;

[0071] Ek2=Ek1;

[0072] 3. How to set PID parameters for electronic load

[0073] Parameter Description

[0074] Iout is the calibrated current output

[0075] Iset is the set current

[0076] Kcal is the linear calibration coefficient K

[0077] Bcal is the linear calibration coefficient B

[0078] Istep is the output current value corresponding to each step of DAC

[0079] The PID parameters of one module are P1, I1, D1

[0080] The PID parameters of N modules are Pn, In, Dn

[0081] Adjusting PID to make the single-step DAC output current speed of N modules consistent with the single-step output current speed of 1 module can ensure that the PID of N modules works normally like 1 module. In this way, you only need to adjust the electronic load PID parameters of 1 module, and you can set the PID parameters of any modules through calculation.

[0082] Here’s how

[0083] The calibrated current output of the electronic load is Iout = Kcal*Iset+Bcal;

[0084] in

[0085] Use a 16-bit DAC with an output range of 0-65535 to calculate the current value of the DAC output at each step

[0086] Istep = Kcal / 65535;

[0087] Calculate the PID setpoints for N modules

[0088] Pn=P1*Istep / N;

[0089] In=I1*Istep / N;

[0090] Dn=D1*Istep / N;

[0091] In this way, the PID parameters of any N modules are set, thus saving the time of manual debugging of PID parameters.

[0092] 4. Beneficial effects of the present invention:

[0093] Using this scheme, a method for setting the PID parameters of an electronic load is proposed. The number of load modules can be judged by the number of temperature acquisition channels, and the PID parameters of the current load can be quickly determined, thereby saving a lot of manual PID debugging time.

[0094] 5. Key technical points of the present invention:

[0095] 1). This electronic load determines the number of load modules based on the number of temperature acquisition channels and uses this as a basis for calculating PID parameters.

[0096] 2). The design scheme of this electronic load when calculating PID.

[0097] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.

Claims

1. A method for setting PID parameters when electronic loads are connected in parallel with different numbers of modules, characterized in that: The number of load modules is determined by the number of temperature acquisition channels, and the PID parameters are calculated based on the obtained number of load modules.

2. The method for setting PID parameters when electronic loads are connected in parallel with different numbers of modules according to claim 1, characterized in that: Includes steps: Assume that: 1-N power module temperature sampling is normal; and N+1 has no power module, so there is no power sampling signal; Then: the electronic load control board determines that the number of modules connected to the load is N through temperature sampling feedback.

3. The method for setting PID parameters when electronic loads are connected in parallel with different numbers of modules according to claim 2, characterized in that: The electronic load uses an incremental PID to adjust the current, including: Parameter Description: Ek is the difference between the current reference current and the feedback current, Ek1 is the difference between the previous reference current and the feedback current, and Ek2 is the difference between the previous two reference currents and the feedback current; Iref reference current value; Ifb feedback current value; Iinc adjusts the current increment value of the current in the current cycle; P is the proportional value in PID parameters; The integral value in the IPID parameter; D is the differential value in PID parameters; Then: Ek = Iref - Ifb; Iinc=P*(Ek-Ek1)+I*Ek+D*(Ek+Ek2–2*Ek1); Ek1=Ek; Ek2=Ek1.

4. The method for setting PID parameters when electronic loads are connected in parallel with different numbers of modules according to claim 3, characterized in that: The method for setting PID parameters of an electronic load comprises: Parameter Description: Iout is the calibrated current output; Iset is the set current; Kcal is the linear calibration coefficient K; Bcal is the linear calibration coefficient B; Istep is the output current value corresponding to each step of DAC; The PID parameters of one module are P1, I1, D1; The PID parameters of N modules are Pn, In, Dn; Then: adjusting the PID so that the single-step DAC output current speed of N modules is consistent with the single-step output current speed of 1 module can ensure that the PID of N modules works normally like 1 module. In this way, you only need to adjust the electronic load PID parameters of 1 module to set the PID parameters of any modules through calculation.

5. The method for setting PID parameters when electronic loads are connected in parallel with different numbers of modules according to claim 4, characterized in that: The specific method for setting PID parameters is as follows: The calibrated current output of the electronic load is Iout = Kcal*Iset+Bcal; in: Using a 16-bit DAC with an output range of 0-65535, calculate the current value of the DAC output at each step: Istep = Kcal / 65535; Calculate the PID setpoints for N modules: Pn=P1*Istep / N; In=I1*Istep / N; Dn=D1*Istep / N; In this way, the PID parameters of any N modules are set.