Totem pole PFC current inner loop control method, system, device, equipment and medium

By calculating and compensating the grid voltage sampling value, the current distortion problem caused by delay in the totem pole PFC current inner loop control is solved, and the dynamic and steady-state control performance is improved.

CN117254681BActive Publication Date: 2024-10-25NANJING KUKE ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311237360.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2024-10-25
Estimated Expiration
2043-09-25

AI Technical Summary

Technical Problem

In the control of the totem pole PFC current inner loop, the sampling delay and control delay cause the current zero-crossing distortion, affecting the dynamic and steady-state control performance.

Method used

By determining the sampling delay length and control period of the grid voltage, the theoretical delay time is calculated, and the theoretical delay count value of the grid voltage sampling counter is determined according to the fundamental wave period and frequency of the grid voltage, and then the grid voltage sampling value is compensated for Current inner loop control.

Benefits of technology

The dynamic and steady-state control performance of the totem pole PFC is significantly improved, the zero-crossing current distortion is reduced, and the current regulation capability is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117254681B_ABST
    Figure CN117254681B_ABST
Patent Text Reader

Abstract

The present invention provides a control method, system, device, equipment and medium for a totem pole PFC current inner loop. The method includes: determining a theoretical delay time length according to the sampling delay time length and control period of the grid voltage; determining a theoretical delay count value of a grid voltage sampling counter according to the theoretical delay time length, control frequency, fundamental wave period of the grid voltage and fundamental wave frequency; determining a compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; and performing current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value. In the disclosed embodiment, by determining the compensated grid voltage sampling value; using the compensated grid voltage sampling value as the feedforward of the current inner loop control, the distortion caused by the grid voltage delay at the zero crossing point of the totem pole PFC is significantly improved, thereby improving the dynamic and steady-state control performance of the totem pole PFC.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of power electronics technology, and in particular to a control method, system, device, equipment and medium for a totem pole PFC current inner loop. Background Art

[0002] Single-phase totem pole PFC (Power Factor Corrector) topology such as Figure 1 As shown, its equivalent circuit diagram is Figure 2 shown.

[0003] Assuming that the sampling period and control period of the single-phase totem pole PFC control system are both Ts, the sampling zero-order hold equation is as follows:

[0004]

[0005] The control block diagram of the totem pole PFC current inner loop is as follows: Figure 3 shown. Figure 3 In the delay link, the delay link includes: the first-order inertia delay caused by the one-beat control and the sampling zero-order holder delay. Therefore, the total delay length of the sampling delay and the control delay length reaches 1.5 times the control cycle. This delay will have a significant impact on the current zero-crossing distortion of the totem pole PFC. Summary of the invention

[0006] The embodiments of the present disclosure provide a control method, system, device, equipment and medium for a totem pole PFC current inner loop, which can accurately determine the compensated grid voltage sampling value and improve the dynamic and steady-state control performance of the totem pole PFC.

[0007] In a first aspect, an embodiment of the present disclosure provides a method for controlling a totem pole PFC current inner loop, comprising: determining a theoretical delay time according to a sampling delay time of a grid voltage and a control period; determining a theoretical delay count value of a grid voltage sampling counter according to the theoretical delay time, a control frequency, a fundamental period of the grid voltage, and a fundamental frequency; determining a compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value, and the grid voltage sampling value; and performing current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value.

[0008] In a second aspect, an embodiment of the present disclosure further provides a control device for a totem pole PFC current inner loop, comprising: a theoretical delay duration determination module, used to determine the theoretical delay duration according to the sampling delay duration and control period of the grid voltage; a theoretical delay count value determination module, used to determine the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay duration, control frequency, fundamental period of the grid voltage and fundamental frequency; a compensated grid voltage sampling value determination module, used to determine the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; a control module, used to perform current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value.

[0009] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0010] one or more processors;

[0011] a storage device for storing one or more programs,

[0012] When the one or more programs are executed by the one or more processors, the one or more processors implement the control method of the totem pole PFC current inner loop as described in the embodiment of the present disclosure.

[0013] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the control method of the totem pole PFC current inner loop as described in the embodiment of the present disclosure.

[0014] The technical solution of the disclosed embodiment is to determine the theoretical delay time according to the sampling delay time of the grid voltage and the control period; determine the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay time, the control frequency, the fundamental period of the grid voltage and the fundamental frequency; determine the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; and perform current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value. The disclosed embodiment determines the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; and performs current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value, so that the compensated grid voltage sampling value can be accurately determined, and the dynamic and steady-state control performance of the totem pole PFC can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0016] Figure 1 A single-phase totem pole PFC topology diagram provided in an embodiment of the present disclosure;

[0017] Figure 2 A schematic diagram of a single-phase totem pole PFC equivalent circuit provided by an embodiment of the present disclosure;

[0018] Figure 3 A control block diagram of a totem pole PFC current inner loop provided by an embodiment of the present disclosure;

[0019] Figure 4 A schematic flow chart of a control method for a totem pole PFC current inner loop provided in an embodiment of the present disclosure;

[0020] Figure 5 A schematic flow chart of a method for determining a compensated grid voltage sampling value provided by an embodiment of the present invention;

[0021] Figure 6 A schematic diagram of a process for constructing a compensated virtual grid voltage Beta phase according to an embodiment of the present invention;

[0022] Figure 7 A schematic diagram of a process for constructing a virtual grid current Beta phase provided by an embodiment of the present invention;

[0023] Figure 8 It is a schematic diagram of a control system architecture of a totem pole PFC current inner loop provided by an embodiment of the present invention;

[0024] Fig. 9 A schematic diagram of the structure of a control device for a totem pole PFC current inner loop provided by an embodiment of the present disclosure;

[0025] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0031] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0032] Figure 4 The present invention provides a flow chart of a control method for a totem pole PFC current inner loop provided by an embodiment of the present invention. The present invention is applicable to the case where a grid voltage sampling value is compensated and a current inner loop is controlled according to the compensated grid voltage sampling value. The method can be executed by a control device for a totem pole PFC current inner loop, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc. Figure 4 As shown, the method includes:

[0033] S410: Determine a theoretical delay time according to a sampling delay time of the grid voltage and a control cycle.

[0034] Exemplarily, the formula for determining the theoretical delay duration is as follows:

[0035] T delayTh =T zoh +T ctr =0.5T sample +T ctr (1);

[0036] Among them, T zoh is the sampling delay time, which can be half of the sampling period, T ctr is the control period, T delayTh T is the total delay from the grid voltage sampling time to the time when the duty cycle is calculated and sent based on the sampling value (that is, the grid voltage sampling value corresponding to the sampling time), sample is the sampling period.

[0037] S420, determining a theoretical delay count value of a grid voltage sampling counter according to the theoretical delay time, the control frequency, the fundamental wave period of the grid voltage, and the fundamental wave frequency.

[0038] In this embodiment, the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage is determined according to the theoretical delay time and the fundamental period of the grid voltage; the theoretical delay count value is determined according to the mapping relationship between the control frequency, the fundamental frequency of the grid voltage, the theoretical delay count value and the grid voltage compensation angle corresponding to the count value of the grid voltage sampling counter, and at the same time according to the mapping relationship between the lag angle and the compensation angle.

[0039] Optionally, the theoretical delay count value of the grid voltage sampling counter is determined according to the theoretical delay time, the control frequency, the fundamental period of the grid voltage and the fundamental frequency, including: determining the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage according to the theoretical delay time and the fundamental period of the grid voltage; determining the delay count value according to the lag angle, the control frequency and the fundamental frequency.

[0040] Exemplarily, the formula for determining the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage is:

[0041]

[0042] Among them, T c is the fundamental period of the grid voltage, and Δθ is the lag angle.

[0043] The conversion relationship between the theoretical delay count value and the compensation angle is:

[0044]

[0045] θ' is the grid voltage compensation angle corresponding to the count value of the grid voltage sampling counter. The resolution of the angle compensation is: N delayT For every increase of 1, the angle is compensated by 0.36 degrees to meet the minimum resolution requirement of angle compensation for this project. s To control the frequency, f cis the fundamental frequency of the grid voltage.

[0046] Since θ' = Δθ (4), N can be calculated by combining formula (2), formula (3) and formula (4) delayT Theoretical delay count value.

[0047] S430. Determine a compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value, and the grid voltage sampling value.

[0048] In this embodiment, the compensated grid voltage sampling value can be accurately determined according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value. The compensated grid voltage sampling value can be used as a control feedforward amount of the totem pole PFC current inner loop and a criterion for switching the working mode of the modulation module.

[0049] Optionally, the compensated grid voltage sampling value is determined according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value, including: according to a set period, performing an accumulation 1 operation on the count value of the grid voltage sampling counter; if the count value of the accumulated grid voltage sampling counter is greater than or equal to the maximum length of the register array, clearing the count value of the grid voltage sampling counter; wherein the register is used to store the grid voltage sampling value of the maximum length; if the count value of the accumulated grid voltage sampling counter is less than the maximum length of the register array, determining the compensated grid voltage sampling value according to the count value of the accumulated grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value.

[0050] Wherein, the count value of the grid voltage sampling counter is initially 0. In this embodiment, after each count value of the grid voltage sampling counter is added by 1, the following operations are performed: determine whether the count value of the grid voltage sampling counter after the accumulation is less than the maximum length of the register array; if the count value of the grid voltage sampling counter after the accumulation is greater than or equal to the maximum length of the register array, clear the count value of the grid voltage sampling counter; wherein, the register is used to store the grid voltage sampling value of the maximum length; if the count value of the grid voltage sampling counter after the accumulation is less than the maximum length of the register array, determine the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter after the accumulation, the theoretical delay count value and the grid voltage sampling value.

[0051] In this embodiment, the sampled grid voltage can be "sliced" and stored in a register, and the size of the register array is determined according to the ratio of the sampling frequency to the grid voltage frequency. For example, if the sampling frequency is set to 50kHz and the grid voltage frequency is 50Hz, the length of the register array required to store a complete grid voltage cycle is 1000, so the maximum array length required for a 180-degree phase shift of the grid voltage can be 500.

[0052] Optionally, the compensated grid voltage sampling value is determined according to the count value of the accumulated grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value, including: if the count value of the accumulated grid voltage sampling counter is greater than the theoretical delay count value, subtracting the count value of the accumulated grid voltage sampling counter from the theoretical delay count value to obtain a first value; determining the compensated grid voltage sampling value according to the first value and the grid voltage sampling value; if the count value of the accumulated grid voltage sampling counter is less than or equal to the theoretical delay count value, adding the maximum length of the register array to the count value of the accumulated grid voltage sampling counter and subtracting it from the theoretical delay count value to obtain a second value; determining the compensated grid voltage sampling value according to the second value and the grid voltage sampling value.

[0053] In this embodiment, if the count value of the accumulated grid voltage sampling counter is greater than the theoretical delay count value, the specific formula for determining the compensated grid voltage sampling value is:

[0054] U' grid =-U grid [N index -N delayT ] (5)

[0055] Among them, U' grid is the grid voltage sampling value after compensation, U grid is the grid voltage sampling value, N delayT is the theoretical delay count value, N index is the count value of the grid voltage sampling counter after accumulation, N index -N delayT is the first value.

[0056] If the count value of the accumulated grid voltage sampling counter is less than or equal to the theoretical delay count value, the specific formula for determining the compensated grid voltage sampling value is:

[0057] U' grid =-U grid [N maxdelay +N index -NdelayT ] (6)

[0058] Among them, N maxdelay is the maximum length of the register array, N maxdelay +N index -N delayT is the second value.

[0059] For example, Figure 5 A schematic flow chart of a method for determining a compensated grid voltage sampling value provided by an embodiment of the present invention. Figure 5 As shown, the sampling step is counted according to the set period. Figure 5 The 1 in the counter indicates that the counter performs an operation of adding 1 to the count value of the grid voltage sampling counter; Figure 5 The 2 in the code indicates whether the count value of the accumulated grid voltage sampling counter is less than the maximum length of the register array. Figure 5 The 5 in the above indicates that if the count value of the accumulated grid voltage sampling counter is greater than or equal to the maximum length of the register array, the count value of the grid voltage sampling counter is cleared; Figure 5 3 in the formula indicates that if the count value of the accumulated grid voltage sampling counter is less than the maximum length of the register array, it is determined whether the count value of the accumulated grid voltage sampling counter is greater than the theoretical delay count value. Figure 5 The 4 in the formula indicates that if the count value of the accumulated grid voltage sampling counter is greater than the theoretical delay count value, the count value of the accumulated grid voltage sampling counter is subtracted from the theoretical delay count value to obtain a first value; the compensated grid voltage sampling value is determined based on the first value and the grid voltage sampling value; if the count value of the accumulated grid voltage sampling counter is less than or equal to the theoretical delay count value, the maximum length of the register array is added to the count value of the accumulated grid voltage sampling counter and subtracted from the theoretical delay count value to obtain a second value, and the compensated grid voltage sampling value is determined based on the second value and the grid voltage sampling value. In addition, according to the continuous counting of the counter, the grid voltage sampling value of the maximum array length can be stored in the register in a loop.

[0060] S440: Perform current inner loop control according to the compensated grid voltage sampling value and grid current sampling value.

[0061] In this embodiment, average current closed-loop control may be performed based on the compensated grid voltage sampling value and grid current sampling value.

[0062] Optionally, current inner-loop control is performed according to the compensated grid voltage sampling value and the grid current sampling value, including: constructing a compensated grid voltage Beta phase according to the compensated grid voltage sampling value; constructing a virtual grid current Beta phase according to the grid current sampling value; and performing current inner-loop control according to the compensated grid voltage sampling value, the virtual grid voltage Beta phase, the grid current sampling value and the virtual grid current Beta phase.

[0063] In this embodiment, the single-phase PFC totem pole adopts a virtual compensation phase decoupling control strategy. For example, the method of constructing the compensated virtual grid voltage Beta phase (virtual compensation phase) is as follows: Figure 6 As shown, Figure 6 A schematic diagram of a process for constructing a compensated virtual grid voltage Beta phase provided in an embodiment of the present invention. First, the compensated grid voltage sampling value is input into a first first-order low-pass filter, the output of the first first-order low-pass filter is input into a second first-order low-pass filter, and the output of the second first-order low-pass filter is amplitude compensated to obtain a virtual grid voltage Beta phase (i.e., a virtual voltage orthogonal to a single-phase input voltage).

[0064] Exemplarily, the method of constructing the virtual grid current Beta phase (virtual compensation phase) is as follows: Figure 7 As shown, Figure 7 A schematic diagram of a process for constructing a virtual grid current Beta phase provided in an embodiment of the present invention. First, the grid current sampling value is input into a first first-order low-pass filter, the output of the first first-order low-pass filter is input into a second first-order low-pass filter, and the output of the second first-order low-pass filter is amplitude compensated to obtain a virtual grid current Beta phase (i.e., a virtual current orthogonal to a single-phase input current).

[0065] Optionally, current inner-loop control is performed according to the compensated grid voltage sampling value, the compensated virtual grid voltage Beta phase, the grid current sampling value and the virtual grid current Beta phase, including: converting the compensated grid voltage sampling value and the compensated virtual grid voltage Beta phase into corresponding first split-axis feedforward amount and second split-axis feedforward amount according to a first rotating coordinate conversion matrix; converting the grid current sampling value and the virtual grid current Beta phase into corresponding first split-axis component and second split-axis component according to a second rotating coordinate conversion matrix; determining the first split-axis component of the filter voltage according to the first split-axis feedforward amount, the first split-axis component and the second split-axis component; determining the second split-axis component of the filter voltage according to the second split-axis feedforward amount, the first split-axis component and the second split-axis component; and performing current inner-loop control according to the first split-axis component of the filter voltage and the second split-axis component of the filter voltage.

[0066] The first partial axis represents the d-axis of the two-phase rotating coordinate system, and the second partial axis represents the q-axis of the two-phase rotating coordinate system. Figure 2 Determine the loop equation of the totem pole PFC: (7), where Es is the grid voltage sampling value, Ls is the grid-side filter inductance, Rs is the grid-side filter resistance, and U inv is the inverter output voltage, i s is the grid current sampling value, Denotes differential calculation. Substituting the compensated grid voltage sampling value into formula (7), we get The state space equation of the compensated grid voltage sampling value and the compensated virtual grid voltage Beta phase in the dq coordinate system (two-phase rotating coordinate system) is shown in formula (9); I d Represents the first axis component, I q represents the second axis component, U invd is the d-axis component of the filter, U invq is the q-axis component of the filter. p is an operator in mathematics (differentiation), and ω represents the angular frequency of the inverter (AC frequency of the grid voltage). The first rotating coordinate conversion matrix and the second rotating coordinate conversion matrix are determined according to the grid voltage phase information obtained by the hardware phase-locked loop (the first rotating coordinate conversion matrix and the second rotating coordinate conversion matrix can be the same conversion matrix), and the compensated grid voltage sampling value and the compensated virtual grid voltage Beta phase are respectively converted into the corresponding first split-axis feedforward amount and second split-axis feedforward amount according to the first rotating coordinate conversion matrix, as shown in formula (10), U' grid-beta is the virtual grid voltage Beta phase, U' grid is the grid voltage sampling value after compensation; U gd , U gq are respectively the d-axis feedforward and q-axis feedforward of the compensated grid voltage sampling value in the dq coordinate system. According to the second rotating coordinate transformation matrix, the grid current sampling value and the virtual grid current Beta phase are respectively transformed into the corresponding first sub-axis component and second sub-axis component, as shown in formula (11). I pfc(alfa) is the grid current sampling value, I pfc(beta) is the virtual grid current Beta phase, I d ,I q They are respectively the d-axis component and q-axis component of the grid current sampling value in the dq coordinate system.

[0067] The controller expression of the totem pole PFC current inner loop is shown in equation (12); Represents a PI regulator, where K ipRepresents the proportionality coefficient, K ii represents the integral coefficient, and s represents the Laplace operator. represents the reference value of the first axis component, Determine the first component of the filter voltage: Determine the second sub-axis component of the filter voltage: The output duty cycle, i.e. the output value after the current inner loop control, can be calculated according to formula (13): Duty = U invd cos(ωt)-U invq sin(ωt) (13).

[0068] In this embodiment, the current inner loop of the totem pole PFC adopts an average current control strategy based on a PI regulator, and introduces a feedforward amount of a grid voltage sampling amount as a part of the duty cycle, which can improve the dynamic control performance of the totem pole PFC.

[0069] The technical solution of the disclosed embodiment is to determine the theoretical delay time according to the sampling delay time of the grid voltage and the control period; determine the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay time, the control frequency, the fundamental period of the grid voltage and the fundamental frequency; determine the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; and perform current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value. The disclosed embodiment determines the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; and uses the compensated grid voltage sampling value as the feedforward of the current inner loop control, thereby significantly improving the distortion of the totem pole PFC at the zero crossing point due to the grid voltage delay, thereby improving the dynamic and steady-state control performance of the totem pole PFC.

[0070] Optional, Figure 8 This is a schematic diagram of the control system architecture of a totem pole PFC current inner loop provided by an embodiment of the present invention. The system includes: a grid voltage sampling delay compensation subsystem and a current inner loop control subsystem; the grid voltage sampling delay compensation subsystem is used to compensate the grid voltage sampling value and output the compensated grid voltage sampling value; the current inner loop control subsystem is used to perform current inner loop control according to the compensated grid voltage sampling value and grid current sampling value.

[0071] The technical solution of the disclosed embodiment is as follows: the grid voltage sampling delay compensation subsystem determines the theoretical delay length according to the sampling delay length of the grid voltage and the control period; determines the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay length, the control frequency, the fundamental period of the grid voltage and the fundamental frequency; determines the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; and the current inner loop control subsystem performs the current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value, so that the compensated grid voltage sampling value can be accurately determined, the zero-crossing current distortion can be improved, the system has better dynamic current regulation capability, and the dynamic and steady-state control performance of the totem pole PFC can be improved.

[0072] Fig. 9 The present invention provides a schematic diagram of a control device structure of a totem pole PFC current inner loop provided by an embodiment of the present invention. The device comprises: a theoretical delay duration determination module 910, a theoretical delay count value determination module 920, a compensated grid voltage sampling value determination module 930 and a control module 940.

[0073] Theoretical delay duration determination module 910, used to determine the theoretical delay duration according to the sampling delay duration of the grid voltage and the control cycle;

[0074] Theoretical delay count value determination module 920, used to determine the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay time, control frequency, fundamental wave period and fundamental wave frequency of the grid voltage;

[0075] A compensated grid voltage sampling value determination module 930, used to determine a compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value;

[0076] The control module 940 is used to perform current inner loop control according to the compensated grid voltage sampling value and grid current sampling value.

[0077] The technical solution of the disclosed embodiment is to determine the theoretical delay time length according to the sampling delay time length and control period of the grid voltage through the theoretical delay time length determination module; determine the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay time length, control frequency, fundamental wave period and fundamental wave frequency of the grid voltage through the theoretical delay count value determination module; determine the compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value through the compensated grid voltage sampling value determination module; and perform current inner loop control according to the compensated grid voltage sampling value and the grid current sampling value through the control module. In the disclosed embodiment, the compensated grid voltage sampling value is determined according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; and the current inner loop control is performed according to the compensated grid voltage sampling value and the grid current sampling value, so that the compensated grid voltage sampling value can be accurately determined, and the dynamic and steady-state control performance of the totem pole PFC can be improved.

[0078] Optionally, the theoretical delay count value determination module is specifically used to: determine the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage based on the theoretical delay time and the fundamental period of the grid voltage; determine the delay count value based on the lag angle, the control frequency and the fundamental frequency.

[0079] Optionally, the compensated grid voltage sampling value determination module is specifically used to: perform an accumulation 1 operation on the count value of the grid voltage sampling counter according to a set period; if the count value of the accumulated grid voltage sampling counter is greater than or equal to the maximum length of the register array, clear the count value of the grid voltage sampling counter; wherein the register is used to store the grid voltage sampling value of the maximum length; if the count value of the accumulated grid voltage sampling counter is less than the maximum length of the register array, determine the compensated grid voltage sampling value according to the count value of the accumulated grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value.

[0080] Optionally, the compensated grid voltage sampling value determination module is also used for: if the count value of the accumulated grid voltage sampling counter is greater than the theoretical delay count value, subtracting the count value of the accumulated grid voltage sampling counter from the theoretical delay count value to obtain a first value; determining the compensated grid voltage sampling value according to the first value and the grid voltage sampling value; if the count value of the accumulated grid voltage sampling counter is less than or equal to the theoretical delay count value, adding the maximum length of the register array to the count value of the accumulated grid voltage sampling counter, and subtracting it from the theoretical delay count value to obtain a second value; determining the compensated grid voltage sampling value according to the second value and the grid voltage sampling value.

[0081] Optionally, the control module is specifically used to: construct a virtual grid voltage Beta phase according to the compensated grid voltage sampling value; construct a virtual grid current Beta phase according to the grid current sampling value; perform current inner loop control according to the compensated grid voltage sampling value, the virtual grid voltage Beta phase, the grid current sampling value and the virtual grid current Beta phase.

[0082] Optionally, the control module is also used to: convert the compensated grid voltage sampling value and the compensated virtual grid voltage Beta phase into corresponding first split-axis feedforward and second split-axis feedforward according to the first rotating coordinate conversion matrix; convert the grid current sampling value and the virtual grid current Beta phase into corresponding first split-axis component and second split-axis component according to the second rotating coordinate conversion matrix; determine the first split-axis component of the filter voltage according to the first split-axis feedforward, the first split-axis component and the second split-axis component; determine the second split-axis component of the filter voltage according to the second split-axis feedforward, the first split-axis component and the second split-axis component; and perform current inner loop control according to the first split-axis component of the filter voltage and the second split-axis component of the filter voltage.

[0083] The control device of the totem pole PFC current inner loop provided in the embodiments of the present disclosure can execute the control method of the totem pole PFC current inner loop provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.

[0084] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0085] Fig.10A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0086] like Fig.10 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0087] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0088] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the control method of the totem pole PFC current inner loop.

[0089] In some embodiments, the control method of the totem pole PFC current inner loop may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the control method of the totem pole PFC current inner loop described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the control method of the totem pole PFC current inner loop in any other appropriate manner (e.g., by means of firmware).

[0090] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SoCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0091] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0092] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0093] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0094] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0095] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0096] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0097] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling a totem pole PFC current inner loop, characterized in that: include: Determine the theoretical delay time according to the sampling delay time and control cycle of the grid voltage; Determine the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay time, the control frequency, the fundamental wave period of the grid voltage and the fundamental wave frequency; Determine a compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; Performing current inner loop control according to the compensated grid voltage sampling value and grid current sampling value; The formula for determining the theoretical delay duration is as follows: (1); in, is the sampling delay time, which is half the sampling period. To control the cycle, It is the total delay of the grid voltage from the sampling moment to the moment when the duty cycle is calculated and sent based on the sampling value. is the sampling period; Determine the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage according to the theoretical delay time and the fundamental wave period of the grid voltage; determine the theoretical delay count value according to the mapping relationship between the control frequency, the fundamental wave frequency of the grid voltage, the theoretical delay count value and the grid voltage compensation angle corresponding to the count value of the grid voltage sampling counter, and at the same time according to the mapping relationship between the lag angle and the compensation angle; The formula for determining the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage is: (2); in, is the fundamental period of the grid voltage, is the hysteresis angle; The conversion relationship between the theoretical delay count value and the compensation angle is: (3); is the grid voltage compensation angle corresponding to the count value of the grid voltage sampling counter, and the resolution of the angle compensation is: Each increase of 1, more angle compensation The control frequency set in this project At least the fundamental frequency of the grid voltage 1000 times; To control the frequency, is the fundamental frequency of the grid voltage; because = (4), so according to formula (2), formula (3) and formula (4) together, we can calculate Theoretical delay count value; Determining a compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value, comprising: According to a set period, the count value of the grid voltage sampling counter is incremented by 1; If the count value of the accumulated grid voltage sampling counter is greater than or equal to the maximum length of the register array, the count value of the grid voltage sampling counter is cleared; wherein the register is used to store the grid voltage sampling value of the maximum length; If the count value of the accumulated grid voltage sampling counter is less than the maximum length of the register array, the compensated grid voltage sampling value is determined according to the count value of the accumulated grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; Determining the compensated grid voltage sampling value according to the accumulated count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value, further comprising: If the count value of the accumulated grid voltage sampling counter is greater than the theoretical delay count value, subtracting the count value of the accumulated grid voltage sampling counter from the theoretical delay count value to obtain a first value; Determine a compensated grid voltage sampling value according to the first value and the grid voltage sampling value; If the count value of the accumulated grid voltage sampling counter is less than or equal to the theoretical delay count value, the maximum length of the register array is added to the count value of the accumulated grid voltage sampling counter, and subtracted from the theoretical delay count value to obtain a second value; A compensated grid voltage sampling value is determined according to the second value and the grid voltage sampling value.

2. The method according to claim 1, characterized in that The current inner loop control is performed according to the compensated grid voltage sampling value and the grid current sampling value, including: Constructing a virtual grid voltage Beta phase according to the compensated grid voltage sampling value; Constructing a virtual grid current Beta phase according to the grid current sampling value; The current inner loop control is performed according to the compensated grid voltage sampling value, the virtual grid voltage Beta phase, the grid current sampling value and the virtual grid current Beta phase.

3. The method according to claim 2, characterized in that The current inner loop control is performed according to the compensated grid voltage sampling value, the virtual grid voltage Beta phase, the grid current sampling value and the virtual grid current Beta phase, including: According to the first rotating coordinate conversion matrix, the compensated grid voltage sampling value and the virtual grid voltage Beta phase are respectively converted into corresponding first split-axis feedforward quantities and second split-axis feedforward quantities; According to the second rotating coordinate conversion matrix, the grid current sampling value and the virtual grid current Beta phase are respectively converted into corresponding first split-axis components and second split-axis components; Determine a first split-axis component of a filter voltage according to the first split-axis feedforward amount, the first split-axis component and the second split-axis component; Determine a second split-axis component of the filter voltage according to the second split-axis feedforward amount, the first split-axis component and the second split-axis component; Current inner loop control is performed according to the first split-axis component of the filter voltage and the second split-axis component of the filter voltage.

4. A control system for a totem pole PFC current inner loop, characterized in that: The system is used to execute the control method of the totem pole PFC current inner loop according to any one of claims 1 to 3; the system comprises: a grid voltage sampling delay compensation subsystem and a current inner loop control subsystem; The grid voltage sampling delay compensation subsystem is used to compensate the grid voltage sampling value and output the compensated grid voltage sampling value; The current inner loop control subsystem is used to perform current inner loop control according to the compensated grid voltage sampling value and grid current sampling value.

5. A control device for a totem pole PFC current inner loop, characterized in that: include: Theoretical delay duration determination module, used to determine the theoretical delay duration according to the sampling delay duration and control cycle of the grid voltage; A theoretical delay count value determination module is used to determine the theoretical delay count value of the grid voltage sampling counter according to the theoretical delay time, the control frequency, the fundamental wave period and the fundamental wave frequency of the grid voltage; A compensated grid voltage sampling value determination module, used to determine a compensated grid voltage sampling value according to the count value of the grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; A control module, used for performing current inner loop control according to the compensated grid voltage sampling value and grid current sampling value; The formula for determining the theoretical delay duration is as follows: (1); in, is the sampling delay time, which is half the sampling period. To control the cycle, It is the total delay of the grid voltage from the sampling moment to the moment when the duty cycle is calculated and sent based on the sampling value. is the sampling period; Determine the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage according to the theoretical delay time and the fundamental wave period of the grid voltage; determine the theoretical delay count value according to the mapping relationship between the control frequency, the fundamental wave frequency of the grid voltage, the theoretical delay count value and the grid voltage compensation angle corresponding to the count value of the grid voltage sampling counter, and at the same time according to the mapping relationship between the lag angle and the compensation angle; The theoretical delay count value determination module is specifically used to: determine the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage according to the theoretical delay time and the fundamental wave period of the grid voltage; determine the delay count value according to the lag angle, the control frequency and the fundamental wave frequency; The formula for determining the lag angle of the grid voltage sampling value corresponding to the theoretical delay time relative to the actual grid voltage is: (2); in, is the fundamental period of the grid voltage, is the hysteresis angle; The conversion relationship between the theoretical delay count value and the compensation angle is: (3); is the grid voltage compensation angle corresponding to the count value of the grid voltage sampling counter, and the resolution of the angle compensation is: Each increase of 1, more angle compensation The control frequency set in this project At least the fundamental frequency of the grid voltage 1000 times; To control the frequency, is the fundamental frequency of the grid voltage; because = (4), so according to formula (2), formula (3) and formula (4) together, we can calculate Theoretical delay count value; The compensated grid voltage sampling value determination module is used to: perform an accumulation operation of 1 on the count value of the grid voltage sampling counter according to a set period; if the count value of the accumulated grid voltage sampling counter is greater than or equal to the maximum length of the register array, the count value of the grid voltage sampling counter is cleared; wherein the register is used to store the grid voltage sampling value of the maximum length; if the count value of the accumulated grid voltage sampling counter is less than the maximum length of the register array, the compensated grid voltage sampling value is determined according to the count value of the accumulated grid voltage sampling counter, the theoretical delay count value and the grid voltage sampling value; The compensated grid voltage sampling value determination module is also used for: if the count value of the accumulated grid voltage sampling counter is greater than the theoretical delay count value, then subtracting the count value of the accumulated grid voltage sampling counter from the theoretical delay count value to obtain a first value; determining the compensated grid voltage sampling value according to the first value and the grid voltage sampling value; if the count value of the accumulated grid voltage sampling counter is less than or equal to the theoretical delay count value, then adding the maximum length of the register array to the count value of the accumulated grid voltage sampling counter, and subtracting it from the theoretical delay count value to obtain a second value.

6. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the control method of the totem pole PFC current inner loop as described in any one of claims 1-3.

7. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the control method of the totem pole PFC current inner loop as claimed in any one of claims 1 to 3 when executed by a computer processor.