Electric energy conversion method, device, equipment, storage medium and program product
By converting the reference electrical energy signal into a reference vector and classifying it according to the switching state data, the switching path is determined to control the space vector switching, and the problem of low electrical energy stability caused by two-level jump in the traditional electrical energy conversion method is solved, and higher electrical energy stability and accuracy are achieved.
Patent Information
- Application Number
- CN202411636988.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-07
AI Technical Summary
Traditional electric energy conversion methods cannot effectively avoid two-level jumps, resulting in low electrical energy stability.
By converting the reference power signal into a reference vector in a preset coordinate system, the three spatial vectors of the synthetic reference vector are determined, and classified according to the switching state data, the vector type is determined to determine the switching path, and the space vector switching is controlled to obtain the target electrical energy signal.
It improves the electrical energy stability of the electrical energy conversion equipment, reduces output harmonics, and enhances the stability and accuracy of the electrical energy conversion.
Smart Images

Figure CN119582575A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an electric energy conversion method, device, equipment, storage medium and program product. Background Art
[0002] Energy is the guarantee of social development and progress, and energy security is related to all aspects of people's lives. Traditional energy sources such as oil and coal have a great impact on the environment during consumption and are non-renewable. New energy sources such as photovoltaics and wind energy are clean and environmentally friendly, almost inexhaustible, and are perfect substitutes for traditional energy. Since photovoltaics and wind energy are greatly affected by environmental factors such as weather, the electricity they generate is very unstable. It is necessary to use power conversion equipment to convert the unstable electricity they generate to obtain stable electricity to meet industrial needs. The core of the power conversion equipment is the switching device. Through the modulation strategy, the combination of the on and off states of multiple switching devices is controlled to complete the conversion of electricity. In high-voltage and high-power situations, a small number of switching devices cannot meet the requirements of voltage and current resistance of power conversion equipment. The current mainstream solution is to connect multiple switching devices in series or in parallel to increase the power level of power conversion equipment in a multi-level manner, which requires multi-level modulation technology. Traditional multi-level modulation technologies include carrier stacking modulation and carrier phase shift modulation. Since the switching device is a nonlinear device, the output of the power conversion device presents a step-like level, generating a large number of harmonics. The multi-level power conversion device outputs a multi-step waveform by superimposing multiple levels, thereby approaching a sine wave and reducing the total harmonic content. However, the increase in the number of levels makes the waveform output by the power conversion device prone to two-level jumps, that is, the voltage changes two levels at a time, increasing the output harmonics. The traditional power conversion method based on carrier stacking modulation and carrier phase shift modulation cannot effectively avoid two-level jumps, resulting in low stability of the converted power. Summary of the invention
[0003] Based on this, it is necessary to provide an electric energy conversion method, device, equipment, storage medium and program product that can improve electric energy stability in response to the above technical problems.
[0004] In a first aspect, the present application provides an electric energy conversion method, which is applied to an electric energy conversion device, and the method comprises:
[0005] Sampling a reference electric energy signal based on a preset sampling period, and converting the reference electric energy signal into a reference vector in a preset coordinate system;
[0006] Determine three space vectors for synthesizing the reference vector;
[0007] Determining second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device;
[0008] Classifying the three space vectors according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs;
[0009] Determining a vector switching path according to the vector types to which the three space vectors respectively belong;
[0010] The three space vectors are controlled to switch based on the vector switching path to obtain a target power signal.
[0011] In one embodiment, the preset coordinate system is an α′β′ coordinate system; and converting the reference electric energy signal into a reference vector in the preset coordinate system includes:
[0012]
[0013] Among them, u ra 、u rb 、u rc is the reference power signal, V r (α' r ,β' r ) is the reference vector.
[0014] In one embodiment, determining three space vectors for synthesizing the reference vector comprises:
[0015] When (α' r -α'0)+(β r When '-β'0)>1,
[0016] When (α' r -α'0)+(β r '-β'0)≤1,
[0017] in, α' r ,β' r is the reference vector V r (α' r ,β' r ), floor is the floor function, V1, V2, and V0 are three space vectors respectively.
[0018] In one embodiment, determining the second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device includes:
[0019] Take min|a i +b i +c i|(i=0,1,2) is the constraint condition, combined with Solve to obtain S1(a1,b1,c1), S2(a2,b2,c2) and S0(a0,b0,c0);
[0020] Among them, a, b, c are respectively the level values in the first switching state data S(a, b, c) of the electric energy conversion device, and S1(a1, b1, c1), S2(a2, b2, c2) and S0(a0, b0, c0) are the second switching state data corresponding to the three space vectors respectively.
[0021] In one embodiment, the vector type includes a strong vector type, a medium vector type and a weak vector type; and the classifying the three space vectors according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs includes:
[0022] Calculate h i =a i +b i +c i (i=0,1,2), respectively obtain the classification evaluation parameters h0, h1, h2 corresponding to the three space vectors; where a i 、b i 、c i are level values in the second switch state data S1 (a1, b1, c1), S2 (a2, b2, c2) and S0 (a0, b0, c0) corresponding to the three space vectors respectively;
[0023] The classification evaluation parameters h0, h1, and h2 are compared in numerical value, and the h with the largest value is selected. i The vector type of the corresponding space vector is determined to be the strong vector type, and the h with the smallest value is i The vector type of the corresponding space vector is determined as the weak vector type, and the vector types of the remaining space vectors in the three space vectors are determined as the medium vector type.
[0024] In one embodiment, the number of the sampling periods is multiple, and any two sampling periods that are adjacent in time are regarded as an adjacent period pair; each of the adjacent period pairs includes a current sampling period and a subsequent sampling period of the current sampling period; and determining the vector switching path according to the vector type to which each of the three space vectors belongs includes:
[0025] For each of the sampling periods, determining a periodic vector switching path corresponding to the sampling period according to the vector types to which the three space vectors corresponding to the sampling period respectively belong;
[0026] For each of the adjacent period pairs, optimizing the period vector switching paths corresponding to the current sampling period and the subsequent sampling period in the adjacent period pair according to the reference vectors corresponding to the current sampling period and the subsequent sampling period in the adjacent period pair;
[0027] After the optimization is completed for all adjacent period pairs, a vector switching path is obtained based on the optimized periodic vector switching paths corresponding to all sampling periods.
[0028] In a second aspect, the present application provides an electric energy conversion device, which is applied to an electric energy conversion device, and the device comprises:
[0029] A sampling module, used for sampling a reference electric energy signal based on a preset sampling period, and converting the reference electric energy signal into a reference vector in a preset coordinate system;
[0030] A determination module, used to determine three space vectors for synthesizing the reference vector; and to determine second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device;
[0031] a classification module, configured to classify the three space vectors according to the second switch state data respectively corresponding to the three space vectors, so as to determine the vector type to which the three space vectors respectively belong;
[0032] The determination module is further used to determine a vector switching path according to the vector types to which the three space vectors respectively belong;
[0033] A switching module is used to control the three space vectors to switch based on the vector switching path to obtain a target electric energy signal.
[0034] In a third aspect, the present application provides an electric energy conversion device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the method embodiments of the present application are implemented.
[0035] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the method embodiments of the present application.
[0036] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the steps in the method embodiments of the present application when the computer program is executed by a processor.
[0037] The above-mentioned power conversion method, device, equipment, storage medium and program product, through the power conversion device, samples the reference power signal based on a preset sampling period, and converts the reference power signal into a reference vector in a preset coordinate system; determines three space vectors of the synthetic reference vector; determines the second switch state data corresponding to each of the three space vectors according to the first switch state data of the power conversion device; classifies the three space vectors according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs; determines the vector switching path according to the vector type to which each of the three space vectors belongs; controls the three space vectors to switch based on the vector switching path to obtain the target power signal. Compared with the traditional power conversion method, the present application converts the reference power signal into a reference vector, calculates the second switch state data corresponding to each of the three space vectors according to the first switch state data of the power conversion device, and determines the vector type to which each of the three space vectors belongs according to the second switch state data corresponding to each of the three space vectors. Then, the vector switching path is determined according to the vector type to which each of the three space vectors belongs to control the three space vectors to switch, thereby realizing power conversion and improving the stability of power. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a schematic flow chart of an electric energy conversion method in one embodiment;
[0039] Figure 2 Schematic diagram of external switching of sampling period 2 in one embodiment;
[0040] Figure 3 A schematic diagram of a sampling period external switching situation 3 in an embodiment;
[0041] Figure 4 A schematic diagram of a sampling period external switching situation 4 in an embodiment;
[0042] Figure 5 A schematic diagram of a sampling period external switching situation 5 in an embodiment;
[0043] Figure 6 A schematic diagram of a sampling period external switching situation 6 in an embodiment;
[0044] Figure 7 is a structural block diagram of an electric energy conversion device in one embodiment;
[0045] Figure 8 FIG. 1 is a diagram showing the internal structure of an electric energy conversion device in one embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] In one embodiment, Figure 1 As shown, a method for converting electric energy is provided, which is applied to an electric energy conversion device and comprises the following steps:
[0048] Step 102: Sample a reference electric energy signal based on a preset sampling period, and convert the reference electric energy signal into a reference vector in a preset coordinate system.
[0049] In one embodiment, the electric energy conversion device can sample the reference electric energy signal input to the electric energy conversion device based on a preset sampling period, and convert the reference electric energy signal sampled in each sampling period into a reference vector in the preset coordinate system according to a conversion strategy corresponding to the preset coordinate system. It can be understood that each sampling period corresponds to a reference vector.
[0050] Step 104: determine three space vectors of the synthesized reference vector.
[0051] In one embodiment, for each sampling period, the electric energy conversion device may determine three space vectors for synthesizing the reference vector based on the reference vector corresponding to the sampling period.
[0052] Step 106: Determine second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device.
[0053] In one embodiment, the electric energy conversion device can convert the first switch state data of the electric energy conversion device into a space vector in the preset coordinate system according to the conversion strategy corresponding to the preset coordinate system, and determine the second switch state data corresponding to each of the three space vectors based on the space vector converted from the first switch state data.
[0054] Step 108: classify the three space vectors according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs.
[0055] In one embodiment, for each of the three space vectors, the electric energy conversion device may sum the level values in the second switch state data corresponding to the space vector to obtain the classification evaluation parameter corresponding to the space vector. Furthermore, the electric energy conversion device may classify the three space vectors based on the classification evaluation parameters corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs.
[0056] Step 110: Determine a vector switching path according to the vector types to which the three space vectors belong respectively.
[0057] In one embodiment, for each sampling period, the power conversion device may determine the periodic vector switching path corresponding to the sampling period according to the vector types to which the three space vectors corresponding to the sampling period belong. Furthermore, the power conversion device may determine the vector switching path based on the periodic vector switching paths corresponding to all sampling periods.
[0058] Step 112: Control three space vectors to switch based on the vector switching path to obtain a target power signal.
[0059] In the above-mentioned power conversion method, the power conversion device samples the reference power signal based on a preset sampling period, and converts the reference power signal into a reference vector in a preset coordinate system; determines three space vectors of the synthetic reference vector; determines the second switch state data corresponding to each of the three space vectors according to the first switch state data of the power conversion device; classifies the three space vectors according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs; determines the vector switching path according to the vector type to which each of the three space vectors belongs; controls the three space vectors to switch based on the vector switching path to obtain the target power signal. Compared with the traditional power conversion method, the present application converts the reference power signal into a reference vector, calculates the second switch state data corresponding to each of the three space vectors according to the first switch state data of the power conversion device, and determines the vector type to which each of the three space vectors belongs according to the second switch state data corresponding to each of the three space vectors. Then, the vector switching path is determined according to the vector type to which each of the three space vectors belongs to control the three space vectors to switch, thereby realizing power conversion and improving the stability of power.
[0060] In one embodiment, the preset coordinate system is an α′β′ coordinate system; converting the reference power signal into a reference vector in the preset coordinate system includes:
[0061]
[0062] Among them, u ra 、u rb 、u rc is the reference power signal, V r (α' r ,β r ') is the reference vector.
[0063] In the above embodiment, by converting the reference power signal into a reference vector in the α′β′ coordinate system, the accuracy of the subsequent determination of the vector switching path of the three space vectors synthesizing the reference vector can be improved, thereby further improving the stability of the power.
[0064] In one embodiment, three space vectors of the composite reference vector are determined, including:
[0065] When (α' r -α'0)+(β r When '-β'0)>1,
[0066] When (α' r -α'0)+(β r '-β'0)≤1,
[0067] in, α' r ,β' r is the reference vector V r (α' r ,β' r ), floor is the floor function, V1, V2, and V0 are three space vectors respectively.
[0068] In the above embodiment, by positioning the reference vector to determine the three space vectors of the synthetic reference vector, the accuracy of the vector switching path of the three space vectors of the reference vector can be improved, thereby further improving the stability of the electric energy.
[0069] In one embodiment, determining second switch state data corresponding to three space vectors respectively according to the first switch state data of the electric energy conversion device includes:
[0070] Take min|a i +b i +c i |(i=0,1,2) is the constraint condition, combined with Solve to obtain S1(a1,b1,c1), S2(a2,b2,c2) and S0(a0,b0,c0);
[0071] Among them, a, b, c are the level values in the first switching state data S(a, b, c) of the electric energy conversion device, respectively, and S1(a1, b1, c1), S2(a2, b2, c2) and S0(a0, b0, c0) are the second switching state data corresponding to the three space vectors.
[0072] In the above embodiment, by using min|a i +b i +ci |(i=0,1,2) is the constraint condition, combined with Solving the second switch state data can improve the accuracy of the second switch state data, thereby further improving the stability of electric energy.
[0073] In one embodiment, the vector type includes a strong vector type, a medium vector type and a weak vector type; the three space vectors are classified according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs, including: calculating h i =a i +b i +c i (i=0,1,2), and obtain the classification evaluation parameters h0, h1, and h2 corresponding to the three space vectors respectively; among them, a i 、b i 、c i are the level values of the second switch state data S1(a1, b1, c1), S2(a2, b2, c2) and S0(a0, b0, c0) corresponding to the three space vectors respectively; compare the numerical values of the classification evaluation parameters h0, h1 and h2, and select the h with the largest value as i The vector type of the corresponding space vector is determined to be a strong vector type, and the h with the smallest value is i The vector type of the corresponding space vector is determined to be a weak vector type, and the vector types of the remaining space vectors in the three space vectors are determined to be medium vector types.
[0074] In the above embodiment, by calculating the classification evaluation parameters corresponding to each of the three space vectors, and comparing the classification evaluation parameters corresponding to each of the three space vectors, to determine the vector type to which each of the three space vectors belongs, the accuracy of the vector type to which each of the three space vectors belongs can be improved, thereby further improving the stability of the electric energy.
[0075] In one embodiment, there are multiple sampling cycles, and any two sampling cycles that are adjacent in time are regarded as an adjacent cycle pair; each adjacent cycle pair includes a current sampling cycle and a subsequent sampling cycle of the current sampling cycle; a vector switching path is determined according to the vector types to which the three space vectors respectively belong, including: for each sampling cycle, according to the vector types to which the three space vectors corresponding to the sampling cycle respectively belong, a periodic vector switching path corresponding to the sampling cycle is determined; for each adjacent cycle pair, according to the reference vectors respectively corresponding to the current sampling cycle and the subsequent sampling cycle in the adjacent cycle pair, the periodic vector switching paths respectively corresponding to the current sampling cycle and the subsequent sampling cycle in the adjacent cycle pair are optimized; after the optimization for all adjacent cycle pairs is completed, the vector switching path is obtained based on the optimized periodic vector switching paths respectively corresponding to all sampling cycles.
[0076] In one embodiment, when switching within the sampling period, it is necessary to ensure that the space vector V corresponding to the strong vector type max Or the space vector V corresponding to the weak vector type min As the first acting space vector, the space vector V corresponding to the vector type mid As a link between the space vector corresponding to the strong vector type and the space vector corresponding to the weak vector type, the periodic vector switching path is: V max →V mid →V min →V mid →V max or V min →V mid →V max →V mid →V min .
[0077] In one embodiment, the external switching of the sampling period avoids the situation of two-level jump by optimizing the internal switching paths of two adjacent sampling periods: period I is the current sampling period, period II is the period I and the next adjacent sampling period (i.e., the next sampling period), and the reference power signal of sampling period II can be converted into the reference vector of period II. And determine the synthetic reference vector The three space vectors are Comparison of period I V0(α'0,β'0) and period II There are seven cases for external switching of the sampling period:
[0078] Case 1: If Reference vector V for period I r (α' r ,β' r ) and the reference vector of period II In the same sector, to ensure that no two-level jump occurs during the external switching process, the internal switching principles of period I and period II should be consistent. The internal switching principle follows V max →V mid →V min →V mid →V max or V min →V mid →V max →V mid →V min .
[0079] Case 2: If and At this time, the reference vector The α' axis coordinate component is less than V r (α' r ,β' r ), the reference vector of period I and the reference vector of period II are in different sectors, such as Figure 2 As shown: the two sectors have two common vectors, namely V A (α'0,β'0),V B (α'0,β'0+1). At this time, the internal switching starting point between period I and sampling period II must be limited to V A (α'0,β'0) and V B The space vector corresponding to the non-center vector type in (α'0,β'0+1), the switching path follows the formula V max →V mid →V min →V mid →V max or V min →V mid →V max →V mid →V min .
[0080] Case 3: If and At this time, the reference vector The α' axis coordinate component is greater than V r (α' r ,β' r ), the reference vector of period I and the reference vector of period II are in different sectors, such as Figure 3 As shown: The common vectors of the two sectors are V A (α'0+1,β'0), V B (α'0+1,β'0+1). At this time, the internal switching starting point between period I and period II must be limited to V A (α'0+1,β'0) and V BThe space vector corresponding to the non-center vector type in (α'0+1,β'0+1), the switching path follows V max →V mid →V min →V mid →V max or V min →V mid →V max →V mid →V min .
[0081] Case 4: If At this time, the reference vector The β' axis coordinate component is greater than V r (α' r ,β' r ), the reference vector of period I and the reference vector of period II are in different sectors, such as Figure 4 As shown: The common vectors of the two sectors are V A (α'0,β'0+1), V B (α'0+1,β'0+1). At this time, the internal switching starting point between period I and period II must be limited to V A (α'0,β'0+1) and V B The space vector corresponding to the non-center vector type in (α'0+1,β'0+1), the switching path follows the formula V max →V mid →V min →V mid →V max or V min →V mid →V max →V mid →V min .
[0082] Case 5: If At this time, the reference vector The β' axis coordinate component is less than V r (α' r ,β' r ), the reference vector of period I and the reference vector of period II are in different sectors, such as Figure 5 As shown: The common vectors of the two sectors are V A (α'0,β'0),V B (α'0+1,β'0). At this time, the internal switching starting point between period I and period II must be limited to V A (α'0,β'0) and V B The space vector corresponding to the non-center vector type in (α'0+1,β'0), the switching path follows V max →Vmid →V min →V mid →V max or V min →V mid →V max →V mid →V min .
[0083] Case 6: If and or and The reference vector of period I and the reference vector of period II are in different sectors, such as Figure 6 As shown: The common vectors of the two sectors are V A (α'0,β'0+1), V B (α'0+1,β'0), at this time, the internal switching starting point of period I and period II must be limited to V A (α'0,β'0+1) and V B The space vector corresponding to the non-center vector type in (α'0+1,β'0), the switching path follows V max →V mid →V min →V mid →V max or V min →V mid →V max →V mid →V min .
[0084] In the above embodiment, by determining the periodic vector switching path corresponding to each sampling period, and optimizing the periodic vector switching path corresponding to each sampling period through two adjacent sampling periods, the vector switching path is finally obtained, which can improve the accuracy of the vector switching path and further improve the stability of electric energy.
[0085] It should be understood that, although each step in the flow chart of the above-mentioned embodiments is shown in order, these steps are not necessarily performed in order. Unless there is a clear explanation in this article, the execution of these steps does not have strict order restrictions, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above-mentioned embodiments may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in order, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0086] In one embodiment, Figure 7 As shown, an electric energy conversion device 700 is provided, which is applied to electric energy conversion equipment, and the device specifically includes:
[0087] The sampling module 702 is used to sample the reference power signal based on a preset sampling period and convert the reference power signal into a reference vector in a preset coordinate system;
[0088] The determination module 704 is used to determine three space vectors of the synthetic reference vector; according to the first switch state data of the electric energy conversion device, determine the second switch state data corresponding to each of the three space vectors;
[0089] A classification module 706, configured to classify the three space vectors according to the second switch state data corresponding to each of the three space vectors, so as to determine the vector type to which each of the three space vectors belongs;
[0090] The determination module 704 is further used to determine the vector switching path according to the vector types to which the three space vectors belong respectively;
[0091] The switching module 708 is used to control the three space vectors to switch based on the vector switching path to obtain the target power signal.
[0092] In one embodiment, the preset coordinate system is the α′β′ coordinate system; the sampling module 702 is also used to calculate:
[0093]
[0094] Among them, u ra 、u rb 、u rc is the reference power signal, V r (α' r ,β r ') is the reference vector.
[0095] In one embodiment, the determination module 704 is further configured to calculate:
[0096] When (α' r -α'0)+(β r When '-β'0)>1,
[0097] When (α' r -α'0)+(β r '-β'0)≤1,
[0098] in, α' r ,β' r is the reference vector V r (α'r ,β' r ), floor is the floor function, V1, V2, and V0 are three space vectors respectively.
[0099] In one embodiment, the determination module 704 is further configured to use min|a i +b i +c i |(i=0,1,2) is the constraint condition, combined with Solve to obtain S1(a1,b1,c1), S2(a2,b2,c2) and S0(a0,b0,c0);
[0100] Among them, a, b, c are the level values in the first switching state data S(a, b, c) of the electric energy conversion device, respectively, and S1(a1, b1, c1), S2(a2, b2, c2) and S0(a0, b0, c0) are the second switching state data corresponding to the three space vectors.
[0101] In one embodiment, the vector type includes a strong vector type, a medium vector type, and a weak vector type; the classification module 706 is also used to calculate h i =a i +b i +c i (i=0,1,2), and obtain the classification evaluation parameters h0, h1, and h2 corresponding to the three space vectors respectively; among them, a i , b i 、c i are the level values of the second switch state data S1(a1, b1, c1), S2(a2, b2, c2) and S0(a0, b0, c0) corresponding to the three space vectors respectively; compare the numerical values of the classification evaluation parameters h0, h1 and h2, and select the h with the largest value as i The vector type of the corresponding space vector is determined to be a strong vector type, and the h with the smallest value is i The vector type of the corresponding space vector is determined to be a weak vector type, and the vector types of the remaining space vectors in the three space vectors are determined to be medium vector types.
[0102] In one embodiment, there are multiple sampling cycles, and any two sampling cycles that are adjacent in time are regarded as an adjacent cycle pair; each adjacent cycle pair includes a current sampling cycle and a subsequent sampling cycle of the current sampling cycle; the determination module 704 is also used to determine, for each sampling cycle, the periodic vector switching path corresponding to the sampling cycle according to the vector types to which the three space vectors corresponding to the sampling cycle belong; for each adjacent cycle pair, the periodic vector switching paths corresponding to the current sampling cycle and the subsequent sampling cycle in the adjacent cycle pair are optimized according to the reference vectors corresponding to the current sampling cycle and the subsequent sampling cycle in the adjacent cycle pair; after the optimization is completed for all adjacent cycle pairs, the vector switching path is obtained based on the optimized periodic vector switching paths corresponding to all sampling cycles.
[0103] The above-mentioned electric energy conversion device samples the reference electric energy signal based on a preset sampling period through the electric energy conversion device, and converts the reference electric energy signal into a reference vector in a preset coordinate system; determines three space vectors of the synthetic reference vector; determines the second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device; classifies the three space vectors according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs; determines the vector switching path according to the vector type to which each of the three space vectors belongs; controls the three space vectors to switch based on the vector switching path to obtain the target electric energy signal. Compared with the traditional electric energy conversion method, the present application converts the reference electric energy signal into a reference vector, calculates the second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device, and determines the vector type to which each of the three space vectors belongs according to the second switch state data corresponding to each of the three space vectors. Then, the vector switching path is determined according to the vector type to which each of the three space vectors belongs to control the three space vectors to switch, thereby realizing electric energy conversion and improving the stability of electric energy.
[0104] Each module in the above-mentioned electric energy conversion device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the electric energy conversion device in the form of hardware, or can be stored in the memory in the electric energy conversion device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0105] In one embodiment, an electric energy conversion device is provided, and its internal structure diagram can be shown as follows: Figure 8As shown. The electric energy conversion device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the electric energy conversion device is used to provide computing and control capabilities. The memory of the electric energy conversion device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electric energy conversion device is used to exchange information between the processor and an external device. The communication interface of the electric energy conversion device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an electric energy conversion method is implemented. The display unit of the electric energy conversion device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the electric energy conversion device can be a touch layer covered on the display screen, or it can be a button, trackball or touchpad set on the shell of the electric energy conversion device, or it can be an external keyboard, touchpad or mouse, etc.
[0106] Those skilled in the art will understand that Figure 8 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electric energy conversion device to which the scheme of the present application is applied. The specific electric energy conversion device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0107] In one embodiment, an electric energy conversion device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0108] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0109] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0110] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0111] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0113] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for converting electric energy, applied to an electric energy conversion device, characterized in that: The method comprises: Sampling a reference electric energy signal based on a preset sampling period, and converting the reference electric energy signal into a reference vector in a preset coordinate system; Determine three space vectors for synthesizing the reference vector; Determining second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device; Classifying the three space vectors according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs; Determining a vector switching path according to the vector types to which the three space vectors respectively belong; The three space vectors are controlled to switch based on the vector switching path to obtain a target power signal.
2. The method according to claim 1, characterized in that The preset coordinate system is an α′β′ coordinate system; the step of converting the reference electric energy signal into a reference vector in the preset coordinate system includes: Among them, u ra 、u rb 、u rc is the reference power signal, V r (α' r ,β' r ) is the reference vector.
3. The method according to claim 1, characterized in that: The determining of three space vectors for synthesizing the reference vector comprises: When (α' r - α'0) + (β' r - β'0) > 1, When (α' r - α'0) + (β' r - β'0) ≤ 1, in, α' r ,β' r is the reference vector V r (α' r ,β' r ), floor is the floor function, V1, V2, and V0 are three space vectors respectively.
4. The method according to claim 1, characterized in that: Determining the second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device includes: Take min|a i +b i +c i |(i=0,1,2) is the constraint condition, combined with Solve to obtain S1(a1,b1,c1), S2(a2,b2,c2) and S0(a0,b0,c0); Among them, a, b, c are respectively the level values in the first switching state data S(a, b, c) of the electric energy conversion device, and S1(a1, b1, c1), S2(a2, b2, c2) and S0(a0, b0, c0) are the second switching state data corresponding to the three space vectors respectively.
5. The method according to claim 1, characterized in that The vector types include a strong vector type, a medium vector type and a weak vector type; and the three space vectors are classified according to the second switch state data corresponding to each of the three space vectors to determine the vector type to which each of the three space vectors belongs, including: Calculate h i =a i +b i +c i (i=0,1,2), respectively obtain the classification evaluation parameters h0, h1, h2 corresponding to the three space vectors; where a i 、b i 、c i are level values in the second switch state data S1 (a1, b1, c1), S2 (a2, b2, c2) and S0 (a0, b0, c0) corresponding to the three space vectors respectively; The classification evaluation parameters h0, h1, and h2 are compared in numerical value, and the h with the largest value is selected. i The vector type of the corresponding space vector is determined to be the strong vector type, and the h with the smallest value is i The vector type of the corresponding space vector is determined as the weak vector type, and the vector types of the remaining space vectors in the three space vectors are determined as the medium vector type.
6. The method according to claim 1, characterized in that The number of the sampling periods is multiple, and any two sampling periods that are adjacent in time are regarded as an adjacent period pair; each of the adjacent period pairs includes a current sampling period and a subsequent sampling period of the current sampling period; The determining of the vector switching path according to the vector types to which the three space vectors respectively belong includes: For each of the sampling periods, determining a periodic vector switching path corresponding to the sampling period according to the vector types to which the three space vectors corresponding to the sampling period respectively belong; For each of the adjacent period pairs, optimizing the period vector switching paths corresponding to the current sampling period and the subsequent sampling period in the adjacent period pair according to the reference vectors corresponding to the current sampling period and the subsequent sampling period in the adjacent period pair; After the optimization is completed for all adjacent period pairs, a vector switching path is obtained based on the optimized periodic vector switching paths corresponding to all sampling periods.
7. An electric energy conversion device, characterized in that: Applied to electric energy conversion equipment, the device comprises: A sampling module, used for sampling a reference electric energy signal based on a preset sampling period, and converting the reference electric energy signal into a reference vector in a preset coordinate system; A determination module, used to determine three space vectors for synthesizing the reference vector; and to determine second switch state data corresponding to each of the three space vectors according to the first switch state data of the electric energy conversion device; a classification module, configured to classify the three space vectors according to the second switch state data respectively corresponding to the three space vectors, so as to determine the vector type to which the three space vectors respectively belong; The determination module is further used to determine a vector switching path according to the vector types to which the three space vectors respectively belong; A switching module is used to control the three space vectors to switch based on the vector switching path to obtain a target electric energy signal.
8. An electric energy conversion device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.