Example embodiments relate generally to an apparatus configured to detect an angle of a grid voltage vector at a terminal of an alternating current (AC) grid, a system and/or a method of performing same.
In an Active Front End (AFE) control system, a phase locked loop (PLL) based control method is often used to detect an angle of a grid voltage vector at a terminal of an alternating current (AC) based on grid line-to-line voltage information. Conventionally, in order to detect the angle of the grid voltage vector of the AC grid, the grid line-to-line voltage information may need to be sensed first using external voltage sensors attached to terminals of the AC grid.
Some example embodiments relate to a controller and/or a method of generating Pulse Width Modulation (PWM) signals for power switches of an Active Front End (AFE) inverter.
In some example embodiments, the controller may include a memory having computer-readable instructions stored therein; and a processor configured to execute the computer-readable instructions: to estimate a synthesized grid voltage vector angle at a terminal of an alternating current (AC) grid based on at least an adjusted angle, and to generate Pulse Width Modulation (PWM) signals to control power switches of the AFE inverter based on at least the synthesized grid voltage vector angle, and to control the AFE inverter to exchange power between the AC grid and a load based on the PWM signals. For example, the adjusted angle may represent a shift in phase angle between an Active Front End (AFE) inverter terminal voltage vector angle at a terminal of an AFE inverter and the synthesized grid voltage vector angle. Further, the processor may estimate the synthesized grid voltage vector angle based on at least the adjusted angle such that the synthesized grid voltage vector angle represents an angle associated with a voltage vector of the terminal of the AC grid.
At least some example embodiments will become more fully understood from the detailed description provided below and the accompanying drawings, wherein like elements are represented by like reference numerals, which are given by way of illustration only and thus are not limiting of example embodiments and wherein:
Some example embodiments will now be described more fully with reference to the accompanying drawings in which some example embodiments are illustrated.
Accordingly, while example embodiments are capable of various modifications and alternative forms, embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that there is no intent to limit example embodiments to the particular forms disclosed, but on the contrary, example embodiments are to cover all modifications, equivalents, and alternatives falling within the scope of the claims. Like numbers refer to like elements throughout the description of the figures.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.
It will be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected” or “directly coupled” to another element, there are no intervening elements present. Other words used to describe the relationship between elements should be interpreted in a like fashion (e.g., “between” versus “directly between,” “adjacent” versus “directly adjacent,” etc.).
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises,” “comprising,” “includes” and/or “including,” when used herein, specify the presence of stated features, integers, steps, operations, elements and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groups thereof.
It should also be noted that in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may in fact be executed substantially concurrently or may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which example embodiments belong. It will be further understood that terms, e.g., those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Portions of example embodiments and corresponding detailed description are presented in terms of software, or algorithms and symbolic representations of operation on data bits within a computer memory. These descriptions and representations are the ones by which those of ordinary skill in the art effectively convey the substance of their work to others of ordinary skill in the art. An algorithm, as the term is used here, and as it is used generally, is conceived to be a self-consistent sequence of steps leading to a result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of optical, electrical, or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
In the following description, illustrative embodiments will be described with reference to acts and symbolic representations of operations (e.g., in the form of flowcharts) that may be implemented as program modules or functional processes including routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types and may be implemented using existing hardware. Such existing hardware may include one or more Central Processing Units (CPUs), digital signal processors (DSPs), application-specific-integrated-circuits, field programmable gate arrays (FPGAs) computers or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise, or as is apparent from the discussion, terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical, electronic quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
In this application, including the definitions below, the term ‘module’ or the term ‘controller’ may be replaced with the term ‘circuit.’ The term ‘module’ may refer to, be part of, or include processor hardware (shared, dedicated, or group) that executes code and memory hardware (shared, dedicated, or group) that stores the code executed by the processor hardware.
The module may include one or more interface circuits. In some examples, the interface circuits may include wired or wireless interfaces that are connected to a local area network (LAN), the Internet, a wide area network (WAN), or combinations thereof. The functionality of any given module of the present disclosure may be distributed among multiple modules that are connected via interface circuits. For example, multiple modules may allow load balancing. In a further example, a server (also known as remote, or cloud) module may accomplish some functionality on behalf of a client module.
Further, at least one embodiment of the invention relates to a non-transitory computer-readable storage medium comprising electronically readable control information stored thereon, configured in such that when the storage medium is used in a controller of a magnetic resonance device, at least one embodiment of the method is carried out.
Even further, any of the aforementioned methods may be embodied in the form of a program. The program may be stored on a non-transitory computer readable medium and is adapted to perform any one of the aforementioned methods when run on a computer device (a device including a processor). Thus, the non-transitory, tangible computer readable medium, is adapted to store information and is adapted to interact with a data processing facility or computer device to execute the program of any of the above mentioned embodiments and/or to perform the method of any of the above mentioned embodiments.
The computer readable medium or storage medium may be a built-in medium installed inside a computer device main body or a removable medium arranged so that it can be separated from the computer device main body. The term computer-readable medium, as used herein, does not encompass transitory electrical or electromagnetic signals propagating through a medium (such as on a carrier wave); the term computer-readable medium is therefore considered tangible and non-transitory. Non-limiting examples of the non-transitory computer-readable medium include, but are not limited to, rewriteable non-volatile memory devices (including, for example flash memory devices, erasable programmable read-only memory devices, or a mask read-only memory devices); volatile memory devices (including, for example static random access memory devices or a dynamic random access memory devices); magnetic storage media (including, for example an analog or digital magnetic tape or a hard disk drive); and optical storage media (including, for example a CD, a DVD, or a Blu-ray Disc). Examples of the media with a built-in rewriteable non-volatile memory, include but are not limited to memory cards; and media with a built-in ROM, including but not limited to ROM cassettes; etc. Furthermore, various information regarding stored images, for example, property information, may be stored in any other form, or it may be provided in other ways.
The term code, as used above, may include software, firmware, and/or microcode, and may refer to programs, routines, functions, classes, data structures, and/or objects. Shared processor hardware encompasses a single microprocessor that executes some or all code from multiple modules. Group processor hardware encompasses a microprocessor that, in combination with additional microprocessors, executes some or all code from one or more modules. References to multiple microprocessors encompass multiple microprocessors on discrete dies, multiple microprocessors on a single die, multiple cores of a single microprocessor, multiple threads of a single microprocessor, or a combination of the above.
Shared memory hardware encompasses a single memory device that stores some or all code from multiple modules. Group memory hardware encompasses a memory device that, in combination with other memory devices, stores some or all code from one or more modules.
The term memory hardware is a subset of the term computer-readable medium. The term computer-readable medium, as used herein, does not encompass transitory electrical or electromagnetic signals propagating through a medium (such as on a carrier wave); the term computer-readable medium is therefore considered tangible and non-transitory. Non-limiting examples of the non-transitory computer-readable medium include, but are not limited to, rewriteable non-volatile memory devices (including, for example flash memory devices, erasable programmable read-only memory devices, or a mask read-only memory devices); volatile memory devices (including, for example static random access memory devices or a dynamic random access memory devices); magnetic storage media (including, for example an analog or digital magnetic tape or a hard disk drive); and optical storage media (including, for example a CD, a DVD, or a Blu-ray Disc). Examples of the media with a built-in rewriteable non-volatile memory, include but are not limited to memory cards; and media with a built-in ROM, including but not limited to ROM cassettes; etc. Furthermore, various information regarding stored images, for example, property information, may be stored in any other form, or it may be provided in other ways.
The transmission medium may be twisted wire pairs, coaxial cable, optical fiber, or some other suitable transmission medium known to the art.
The example embodiments may have different forms and/or be combined, and should not be construed as being limited to the descriptions set forth herein.
In one or more example embodiments, a data processing system may estimate the grid input line-to-line voltage information directly from the AFE inverter terminals during an inverter self-sensing mode by estimating the inverter terminal voltage (e.g., voltage drops across the inverter switches and diodes) based on inverter gate drive signals, and subsequently estimating the angle of the composite voltage vector, which is constructed from the three-phase inverter terminal voltages, using the PLL based position detection method.
To precisely control the AFE system power factor at a grid input voltage terminal, the data processing system may compensate for a voltage drop across the impedance between the grid input voltage terminal and the AFE inverter terminals by converting the estimated inverter voltage vector angle from the inverter terminal voltages to the grid voltage vector angle corresponding to the voltage at the grid input terminals.
Referring to
The data processing system 100 may be, but not limited to, a processor, Central Processing Unit (CPU), a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), an Application Specific Integrated Circuit (ASIC), a System-on-Chip (SoC), a programmable logic unit, a microprocessor, or any other device capable of performing operations in a defined manner. In an example embodiment, the data processing system 100 may include a processor and a memory to support storing, processing and execution of software instructions of one or more software modules.
As discussed below, the data processing system 100 may control the AFE inverter 500 based on signals received from the AFE inverter 500.
In some example embodiments, the processor of the data processing system 100 control power switches of an Active Front End (AFE) inverter by estimating a synthesized grid voltage vector angle at a terminal of an alternating current (AC) grid based on at least an adjusted angle, generating Pulse Width Modulation (PWM) signals based on at least the synthesized grid voltage vector angle, and controlling the AFE inverter to exchange power between the AC grid and a load based on the PWM signals.
In some example embodiments, the processor is configured to estimate the synthesized grid voltage vector angle at the terminal of the AC grid without using physical voltage sensors.
In some example embodiments, the shift in the phase angle is due to a voltage drop across an impedance of a filter between the terminal of the AFE inverter and the terminal of the AC grid such that the controller is configured to compensate for the voltage drop.
In some example embodiments, the adjusted angle represents a difference between the AFE inverter terminal voltage vector angle and the synthesized grid voltage vector angle.
In some example embodiments, the processor is configured to calculate the adjusted angle based on a d-axis voltage and a q-axis voltage, the d-axis voltage and the q-axis voltage representing a projection of the AFE inverter terminal voltage vector along a rotating dq-axis, the rotating dq-axis having a d-axis aligned with the synthesized grid voltage vector angle.
In some example embodiments, the processor is configured to calculate the adjusted angle by calculating an inverse tangent value of a quotient obtained by dividing the q-axis voltage over the d-axis voltage.
In some example embodiments, the filter is a line filter, and the processor is configured to calculate the d-axis voltage and the q-axis voltage based on a magnitude of grid voltage vector of the terminal of the AC grid, an intermediate angle, parameters of the line filter and a signed magnitude of an inverter phase current reference vector, the inverter phase current reference vector being constructed by a d-axis current reference and a q-axis current reference.
In some example embodiments, the AFE inverter is connected to the load via a DC bus, and the d-axis current reference is generated based on a difference between an actual DC bus voltage of the DC bus and a reference DC bus voltage, and the q-axis current reference is generated based on a AC grid terminal reference power factor.
In some example embodiments, the controller is configured to calculate the d-axis current reference by comparing, using a proportional-integral (PI) controller, the actual DC bus voltage of the DC bus and the reference DC bus voltage, calculate the q-axis current reference to achieve the AC grid terminal reference power factor at the terminal of the AC grid based on the d-axis current reference, and construct the inverter phase current reference vector based on the d-axis current reference and the q-axis current reference.
In some example embodiments, the parameters are impedance parameters of the line filter.
In some example embodiments, the processor is configured to calculate the intermediate angle based on a power factor angle, the impedance parameters of the line filter, and a polarity and a magnitude of the AC grid terminal reference power factor.
In some example embodiments, the processor is configured to calculate the power factor angle by calculating an inverse cosine value of an absolute value of the magnitude of the AC grid terminal reference power factor.
In some example embodiments, the AFE inverter terminal voltage vector angle includes a first AFE inverter terminal voltage vector angle and a second AFE inverter terminal voltage vector angle, the first AFE inverter terminal voltage vector angle being an angle associated with the voltage vector of the terminal of the AFE inverter at an initial time and the second AFE inverter terminal voltage vector angle being an angle associated with the voltage vector of the terminal of the AFE inverter at a second time subsequent to the initial time, and the processor is configured to estimate the synthesized grid voltage vector angle by, estimating the first AFE inverter terminal voltage vector angle when the AFE inverter is disabled, estimating a terminal voltage of the AFE inverter when the AFE inverter is enabled, the terminal voltage of the AFE inverter being a voltage of the terminal of the AFE inverter, determining the second AFE inverter terminal voltage vector angle when the AFE inverter is enabled, and estimating the synthesized grid voltage vector angle based on the adjusted angle and the second AFE inverter terminal voltage vector angle.
In some example embodiments, the processor is configured to estimate the second AFE inverter terminal voltage vector angle by, initializing a phase locking loop (PLL) using the first AFE inverter terminal voltage vector angle when the AFE inverter is disabled, and running the phase locking loop (PLL) using 3-phase line-to-neutral voltages of the terminal of the AFE inverter when the AFE inverter is enabled.
In some example embodiments, the processor is configured to estimate the second AFE inverter terminal voltage vector angle by running the PLL to align the second AFE inverter terminal voltage vector angle with a d-axis of a rotating dq-axis associated with the PLL.
In some example embodiments, when the AFE inverter is enabled, the processor is configured to estimate the second AFE inverter terminal voltage vector angle by running the PLL to continually, calculate a position error between the second AFE inverter terminal voltage vector angle and the d-axis associated with the PLL, calculate an angular frequency of the second AFE inverter terminal voltage vector angle by using a PI controller to regulate the position error, and estimate the second AFE inverter terminal voltage vector angle by integrating the angular frequency.
In some example embodiments, the processor is configured to compensate for the synthesized grid voltage vector angle by compensating for a time delay associated with digital processing to generate a compensated synthesized grid voltage vector angle, wherein the controller is configured to generate the PWM signals to control the power switches of the AFE inverter based on the compensated synthesized grid voltage vector angle.
In some example embodiments, the controller is configured to control the AFE inverter by defining a rotating dq reference frame based on the synthesized grid voltage vector angle such that a d-axis of the rotating dq reference frame is aligned with the synthesized grid voltage vector angle.
The data processing system 100 may include a voltage sensorless position detecting module 110, an abc/dq Transformation Module 120, a PI controller 130, a reactive power control module 140, a current regulation controller 150, and a PWM generation module 160. The voltage sensorless position detecting module 110 is shown in greater detail in
As discussed below, the data processing system 100 may estimate a grid voltage vector angle θg without using physical voltage sensors attached to terminals of the AC grid 400, generate Pulse Width Modulation (PWM) signals to control power switches of the AFE inverter 500 based on the estimated grid voltage vector angle θg, and operate the load 800 based on the PWM signals.
Referring to
In operation S200, the three-phase AC transformer 200 may convert between high and low three-phase AC voltage.
In operation S300, the LR line filter 300 may filter out the current harmonics on lines. For example, the LR line filter 300 may be a pre-designed LR filter. The LR line filter 300 may be embodied as long cables connected between the AFE inverter 500 and the three-phase AC transformer 200, the length of which is determined based on the current harmonics on the lines.
In other example embodiments, the system 1000 may include a inductor-capacitor-inductor style filter or LCL filter (not shown) between the AFE inverter 500 and the three-phase AC transformer 200 rather than the LR filter 300, such that the data processing system 100 is configured to compensate for a phase shift due to a voltage drop across the LCL filter (not shown).
In operation S400, the data processing system 100 may estimate the grid voltage vector angle θg, generate the Pulse Width Modulation (PWM) signals to control power switches of the AFE inverter 500 based on the estimated grid voltage vector angle θg. Operation 5400 is discussed in greater detail below with reference to the sub-operations illustrated in
For example, the voltage sensorless position detecting module 110 may estimate the grid voltage vector angle θg defined as the d-axis orientation of the rotating dq-axis frame without using physical voltage sensors attached to the AC grid terminals 400. Thereafter, the data processing system 100 may generate the Pulse Width Modulation (PWM) signals to control the power switches of the AFE inverter 500 based on the estimated grid voltage vector angle θg.
Details on the operation of the data processing system 100 including the estimation of the grid voltage vector angle θg by the voltage sensorless position detecting module 110, and the generation of the PWM signals based thereon will be discussed below with reference to
In operation S500, the AFE inverter 500 may supply/consume power to/from the AC grid 400 to regulate the DC bus voltage. For example, the AFE inverter 500 may consume power from the AC grid 400 when the DC bus voltage is less than the reference DC bus voltage V*dc. Alternatively, the AFE inverter 500 may supply power back to the AC grid 400 when the DC bus voltage is greater than the reference DC bus voltage V*dc.
The AFE inverter 500 may include power electronics, such as switching semiconductors to generate, modify and/or control the PWM signals or other alternating current signals (e.g., pulse, square wave, sinusoidal, or other waveforms) applied to the DC bus to operate the load 800.
In operation S600, the inverter 600 may supply/consume electric power to/from the load 700. For example, the inverter 600 may supply the electric power to the load 700. In this case, the inverter 600 draws power from the DC bus. Alternatively, the inverter 600 may also consume mechanical power from the load 700, when the load 700 is running as a generator. In this case, the inverter 600 supplies electric power to the DC bus.
The inverter 600 may include power electronics, such as switching semiconductors to generate, modify and control pulse-width modulated signals or other alternating current signals (e.g., pulse, square wave, sinusoidal, or other waveforms) applied to the load 700. A separate PWM generation module provides inputs to a driver stage within the inverter 600. An output stage of the inverter 600 provides the pulse-width modulated voltage waveform or other voltage signal to control the load 700. In an example embodiment, the inverter 600 is powered by the direct current (dc) voltage bus voltage Vdc.
In operation S700, the load 700 may consume power from the inverter 600. In this case, the inverter 600 consumes power from the DC bus. Alternatively, the load 700 may also supply power to the inverter 600 and the inverter 600 may supply the power back to the DC bus, when the load 700 runs as a generator.
Referring to
In operation S110, the voltage sensorless position detecting module 110 may receive the power switch status information from the AFE inverter 500 when inverter switching is enabled, receive the detected phase voltage zero-crossing signals from the AFE inverter 500 when the inverter switching is disabled, and estimate the grid voltage vector angle θg defined as the d-axis orientation of the rotating dq-axis based thereon without using physical voltage sensors attached to the AC grid terminals 400. Therefore, the bulky and costly external voltage sensors can be removed from the AFE control system. Operation S110 will be discussed in more detail below with reference to
In operation S120, the abc/dq Transformation Module 120 may receive the 3-phase grid currents Ic, Ib, Ia and perform the Clarke/Park transformation (abc-to-dq) based on the estimated grid voltage vector angle θg to convert the 3-phase grid currents into the q-axis current Iq and the d-axis current Id in the dq rotating reference frame.
The dq axis current may refer to the direct axis current and the quadrature axis current in the dq rotating reference frame as applicable in the context of vector-controlled alternating current machines, such as the load 700.
The abc/dq Transformation Module 120 may apply a Clarke transformation and a Park transformation or other conversion equations (e.g., certain conversion equations that are suitable and are known to those of ordinary skill in the art) to convert the measured three-phase representations of current into two-phase representations of current based on the current data Ia, Ib, and Ic and the estimated grid voltage vector angle θg.
In operation S130, the PI controller 130 may receive a difference between the measured DC bus voltage Vdc and a reference DC bus voltage V*dc, and may generate the d-axis current reference rd based on the difference between the detected DC bus voltage Vdc and the reference DC bus voltage V*dc. The PI controller is a closed loop proportional-integral controller used for the measured DC bus voltage Vdc to track the reference DC bus voltage V*dc.
In operation S140, the reactive power control module 140 may generate the q-axis reference current I*q based on a reference power factor PF* received from a high-level system control unit (not shown). The reference power factor PF* may be empirically determined for the system 1000 based on users' system control requirements. The q-axis reference current I*q is generated to assure the system 1000 is satisfying the requirement on the reference power factor PF* with the determined d-axis current reference I*d from the operation S140.
In operation S150, the current regulation controller 150 may utilize the d-axis current reference I*d and the q-axis reference current I*q as reference currents to generate the dq axis reference voltage V*d and V*q. For example, the current regulation controller 150 may receive the difference between Iq and I*q, and the difference between Id and I*d, and may generate dq axis reference voltage V*d and V*q therefrom. The current regulation controller 150 may include two closed loop PI controllers along with a dq-axis cross-coupling decoupling module to track the d-axis current Id and the q-axis current Iq to their respective references Id* and Ig*. The outputs from the d-axis current regulator and q-axis current regulator are the d-axis reference voltage V*d and q-axis reference voltage V*q.
In operation S160, the PWM generation module 160, may receive the dq axis reference voltage V*d and V*q in the dq rotating reference frame from the current regulation controller 150, and convert dq axis reference voltage V*d and V*q in the dq rotating reference frame to an α-axis voltage command v*α and a β-axis voltage command v*β in the α-β stationary frame based on the estimated grid voltage vector angle θg, and then convert the α-axis voltage command v*α and β-axis voltage command v*β from two phase data representations into three-phase data representations (e.g., three-phase representations, such as PWM duty A, duty B and duty C for three phases). The PWM generation module 160 may generate the three phase power switch gate signals for the gate drive control of the inverter power switches of the AFE inverter 500 based on the three-phase PWM duty representations.
In operation S170, the grid voltage vector angle compensation module 170 may process the estimated grid voltage vector angle θg to generate a refined estimated grid voltage vector angle θg′ by extrapolating the estimated grid voltage vector angle θg by one and half control periods using the PLL generated frequency to compensate for a delay associated with the digital processing. Thereafter, the PWM generation module 160 may use the refined estimated grid voltage vector angle θg′ to convert the dq axis reference voltage V*d and V*q to the α-β voltage commands v*α and v*β in the α-β reference frame.
Referring to
In operation S110 illustrated in
In operation S112, the inverter terminal voltage estimating module 112 may estimate the inverter terminal voltages Van, Vbn and Vcn based on the power switch status information (or, alternatively, ON/OFF status signals) and a diode voltage drop across the power switches from the AFE inverter 500. Operation S112 will be discussed below in more detail with reference to
In operation S114, the inverter terminal voltage vector angle detecting module 114 may generate the inverter terminal voltage vector angle θi based on the inverter terminal voltages Van, Vbn and Vcn received from the inverter terminal voltage estimating module 112 and the initial inverter voltage vector angle θi_init. The inverter terminal voltage vector angle detecting module 114 may include a Proportional and Integration (PI) controller (see
In operation S116, the grid voltage vector angle estimating module 116 may estimate the grid voltage vector angle θg without using physical voltage sensors based on the inverter terminal voltage vector angle θi received from the inverter terminal voltage vector angle detecting module 114. Operation S116 will be discussed below in more detail with reference to
As discussed above, the grid voltage vector angle estimating module 116 may provide the estimated grid voltage vector angle θg to the abc/dq Transformation Module 120, and the abc/dq Transformation Module 120 may use the estimated grid voltage vector angle θg to perform abc-to-dq transformation on the 3-phase grid currents Ia, Ib and Ic to convert the 3-phase grid currents Ia, Ib and Ic into the q-axis current Iq and the d-axis current Id in the dq rotating reference frame.
In operation S118, the initial grid voltage vector angle detecting module 118 may receive phase voltage zero-crossing signals from the AFE inverter 500, and may generate an initial inverter voltage vector angle θi_init to initialize the Phase Locked Loop (PLL) controller in the inverter terminal voltage phase angle detecting module 114. Therefore, the PLL controller may start with the correct initial inverter terminal voltage vector angle θi_init. In the inverter terminal voltage vector angle detecting module 114, the PLL controller is utilized to detect the inverter terminal voltage vector angle θi. Operation S118 will be discussed below in more detail with reference to
Referring to
In operation S112-2, the inverter termination voltage estimating module 112 may calculate the instantaneous phase voltage VaN VbN and VcN using the following equations.
If the phase current Ix (subscript ‘X’ represents phase a, b or c) is positive (the case illustrated in
V
XN=(Vdc−Vigbt)=Top switch ON
OR
V
XN=(−Vdiode)=Top switch OFF Eq. 1
If phase current Ix is negative, the following instantaneous VXN values can be calculated:
V
XN=(Vdc+Vigbt)=Bottom switch OFF
OR
V
XN=(+Vdiode)=Bottom switch ON Eq. 2
In operation S112-3, the inverter termination voltage estimating module 112 may calculate the line-to-line voltage Vab between terminal a and terminal b of the AFE inverter 500 and Vca between terminal c and terminal a of the AFE inverter 500 using the following equations:
V
ab
=V
aN
−V
bN
V
ca
=V
cN
−V
aN Eq. 3
The voltage VXN (subscript ‘X’ represents phase a, b or c) in equation 3 between the AFE inverter terminal X and a negative rail of the DC bus is estimated by examining the inverter power switch collector to emitter voltages.
However, the line-to-line voltages Vab and Vca are just one example of line-to-line voltages, and the inverter termination voltage estimating module 112 may calculate other line-to-line voltages between various terminals of the AFE inverter 500.
In operation S112-4, the inverter termination voltage estimating module 112 may calculate the line-to-neutral voltage Van, Vbn and Vcn using the following equations:
V
an=1/3(Vab−Vca)
V
bn=−1/3(2Vab+Vca)
V
cn=1/3(Vab+2Vca) Eq. 4
Therefore, the inverter voltage vector angle θi can be estimated in operation S114 using the line-to-neutral voltage Van Vbn and Vcn. Therefore, in one or more example embodiments, the system 1000 can detect the inverter terminal voltages Van Vbn and Vcn without using physical voltage sensors at the terminals of the AC grid 400.
Referring to
In operation S114-2, the inverter terminal voltage vector angle detecting module 114 may calculate a position error Δθi. The inverter terminal voltage vector angle detecting module 114 may calculate the position error Δθi using the following Equation:
In operation S114-3, the inverter terminal voltage vector angle detecting module 114 calculate the phase angular frequency ω based on the position error Δθi.
For example, the inverter terminal voltage vector angle detecting module 114 may use a PI controller to regulate the position error Δθi to force the q-axis voltage Vq to 0, which means the d-axis in the rotating dq reference frame will be forced to align to the grid voltage vector, so the output of the PI controller is the grid voltage vector angular frequency ω.
In operation S114-4, the inverter terminal voltage vector angle detecting module 114 may utilize the following equation to calculate the angle θi of the inverter voltage vector us:
θi=∫0tω·dt+θiinit Eq. 7
Thereafter, the inverter terminal voltage vector angle detecting module 114 may return to operation S114-1, and recalculate the d-axis voltage Vd and the q-axis voltage Vq such that operations S114-1 to S114-4 are performed iteratively in a phase locked loop (PLL) to reach a convergence.
Operations S114-1 to S114-4 are illustrated in
Referring to
The reference power factor PF* is defined such that the reference power factor PF* is based on the signed magnitude Is of an AFE inverter phase current reference vector is, and the phase of the AFE inverter phase current reference vector is relative to the grid terminal voltage vector ug.
For example, as shown in graph B1 of
Further, as shown in graph B2 of
Further still, the reference power factor PF* may have a zero value when the inverter phase current vector is is perpendicular to the grid terminal voltage vector ug by 90 degrees, and may have an absolute value of 1 when the inverter phase current vector is (or, alternatively, the inversed inverter phase current vector −is) is aligned with the grid terminal voltage vector ug. Therefore, since 0<=|PF*|<=1,
In
In the following equations, R and L are the resistance and inductance values of the LR line filter 300, respectively; Is is the signed magnitude of an AFE inverter phase current reference vector is.
where I*d is the d-axis current reference generated from the PI controller 130 and I*q is the q-axis current reference generated from the reactive power control module 140.
From graph A1, when (Is>0 & |PF*|=1), β, Vd and Vq can be calculated using the following equations:
β=tan−1(R/ωL)
V
d
=u
g
+I
s
·R=u
g
+Δv·sin(β)=ug+sin(β)·Is·√{square root over (R2+(ω·L)2)}
V
q
=ω·L·I
s
=Δv·cos(β)=cos(β)·Is·√{square root over (R2+(ω·L)2)} Eq. 12
From graph A2, when (Is<0 & |PF*|=1), β, Vd and Vq can be calculated using the following equations:
β=tan−1 (R/ωL)
V
d
=u
g
−|I
s
|·R=u
g
−Δv·sin(β)=ug−sin(β)·|Is|·√{square root over (R2+(ω·L)2)}=ug+sin(β)·Is·√√{square root over (R2+(ω·L)2)}
V
q
=−ω·L·|I
s
|=−Δv·cos(β)=−cos(β)·|Is|·√{square root over (R2+(ω·L)2)}=cos(β)·Is·√{square root over (R2+(ω·L)2)} Eq. 13
In
From graph B1, when (Is>0 & PF*>0), β, Vd and Vq can be calculated using the following equations:
β=(π/2−α)−tan−1 (R/ωL)=ψ−tan−1 (R/ωL)
V
d
=u
g
−Δv·sin(β)=ug−sin(β)·Is·√{square root over (R2+(ω·L)2)}
V
q
=Δv·cos(β)=cos(β)·Is√{square root over (R2+(ω·L)2)} Eq. 14
From graph B2, when (Is>0 & PF*<0), β, Vd and Vq can be calculated using the following equations:
β=(π/2−α)+tan−1(R/ωL)=ψ+tan−1(R/ωL)
V
d
=u
g
+Δv·sin(β)=ug+sin(β)·Is·√{square root over (R2+(ω·L)2)}
V
q
=Δv·cos(β)=cos(β)·Is·√{square root over (R2+(ωL)2)} Eq. 15
In
From graph C1, when (Is<0 & PF*>0), Vd and Vq can be calculated using the following equations:
β=(π/2−α)−tan−1(R/ωL)=ψ−tan−1(R/ωL)
V
d
=u
g
+Δv·sin(β)=ug+sin(β)·|Is|·√{square root over (R2+(ω·L)2)}=ug−sin(β)·Is·√{square root over (R2+(ω·L)2)}
V
q
=−Δv·cos(β)=−cos(β)·|Is|·√{square root over (R2+(ω·L)2)}=cos(β)·Is·√{square root over (R2+(ω·L)2)} Eq. 16
From graph C2, when (Is<0 & PF*<0), Vd and Vq can be calculated using the following equations:
β=(π/2α)+tan−1(R/ωL)=ψ+tan−1(R/ωL)
V
d
=u
g
Δv·sin(β)=ugsin(β)·|Is|·√{square root over (R2+(ω·L)2)}=ug+sin(β)·Is·√{square root over (R2+(ω·L)2)}
V
q=−Δv·cos(β)=−cos(β)·|Is|·√{square root over (R2+(ω·L)2)}=cos(β)·Is·√{square root over (R2+(ω·L)2)} Eq. 17
As discussed in more detail below with reference to
Therefore, the compensated position considering phase shift between the inverter terminal voltage vector angle θi and the grid voltage vector angle θg can be calculated using the following equation:
θg=θi+θ Eq. 19
Referring to
In operation S116-1, the grid voltage vector angle estimating module 116 may calculate the requested power factor angle Ψ based on the reference power factor PF* using the following Equation:
Ψ=cos−1(|PF*|). Eq. 20
In operation S116-2, the grid voltage vector angle estimating module 116 may determine whether the absolute value of the reference power factor PF* is equal to 1 or whether the reference power factor PF* is less than zero, and the grid voltage vector angle estimating module 116 will use this information about the reference power factor PF* to determine which of the equations included in Equation 18 will be used to calculate the intermediate calculation angle β and the d-axis voltage Vd.
In operation S116-3, the grid voltage vector angle estimating module 116 may calculate the intermediate calculation angle β based on the power factor angle Ψ determined in operation S116-1, the grid voltage vector angular frequency ω calculated in operation S114, and known line filter parameters L and R, which are the inductance and resistance values of the LR line filter 300, respectively. Further, the grid voltage vector angle estimating module 116 may calculate the d-axis voltage Vd based on the intermediate calculation angle β the line filter parameters R and L, the grid voltage vector angular frequency ω calculated in operation S114, the signed magnitude of the AFE inverter phase current vector reference is, and a magnitude of the grid voltage vector ug.
The grid voltage vector angle estimating module 116 may calculate the angle β and d-axis voltage Vd using different ones of the equations included in Equation 18 based on the reference power factor PF*.
For example, if the absolute value of the reference power factor PF* is equal to 1 or the reference power factor is less than zero, the grid voltage vector angle estimating module 116 may determine the angle β and Vd using the following equations:
β=ψ+tan−1(R/ωL)
V
d
=u
g+sin(β)×Is×√{square root over (R2+(ωL)2)} Eq. 20
Alternatively, if the absolute value of the reference power factor PF* is not equal to 1 or the reference power factor PF* is greater than or equal to zero, the grid voltage vector angle estimating module 116 may determine the angle β and Vd using the following two equations:
β=ψ−tan−1(R/ωL)
V
d
=u
g−sin(β)×Is×√{square root over (R2+(ωL)2)} Eq. 21
In operation S116-4, the grid voltage vector angle estimating module 116 may determine the direction of the inverter phase current Is based on the direction of the d-axis current Id and the q-axis current Iq. When Id is not 0, the direction of Is is same as the direction of Id; when Id is 0, the direction of Is is inverse direction of Iq.
In operation S116-5, the grid voltage vector angle estimating module 116 may calculate the q-axis voltage Vq based on the angle β determined in operation S116-3, the line filter parameters L and R, the grid voltage vector angular frequency ω calculated in operation S114, and the magnitude of the AFE inverter phase current vector reference Is. For example, the grid voltage vector angle estimating module may calculate Vq using the following Equation:
V
q=cos(β)×Is×√{square root over (R2+(ωL)2)} Eq. 22
In operation S116-6, the grid voltage vector angle estimating module 116 may calculate the adjusted angle θ based on the d-axis voltage Vd and q-axis voltage Vq using the equation in Equation 18.
In operation S116-7, the grid voltage vector angle estimating module 116 may calculate the grid voltage vector angle θg based on the adjusted angle θ determined in operation S116-6 and the inverter terminal voltage vector angle θi determined in operation S114.
By calculating the grid terminal voltage vector angle θg based on the adjusted angle θ, which represents the difference between the inverter terminal voltage vector angle θi and the grid terminal voltage vector angle θg, the grid terminal voltage vector angle θg defines the rotating dq-axis reference frame used to control of the AFE inverter 500 such that a robust DC Bus under loading condition can be maintained and the reference power factor value PF* can be achieved at the AC grid terminal 400.
Referring to
Based on the recorded time stamps information at each zero-crossing instant, the initial inverter terminal voltage vector angle detecting module 118 may estimate the angle θi of the inverter terminal voltage vector us before the AFE inverter 500 is enabled, and use the estimated angle θi of the inverter terminal voltage vector us to initialize the PLL controller.
In operation S118-2, the initial terminal voltage vector angle detecting module 118 may calculate the inverter terminal voltage angular frequency ω based on the inverter terminal voltage zero-crossing instants before the AFE inverter 500 is enabled. For example, the initial terminal voltage vector angle detecting module 118 may calculate the inverter terminal voltage angular frequency ω in rad/sec using the following Equation:
ω=π/Δt, Eq. 23
where Δt is the time stamp difference in seconds between two zero-crossing instants.
In operation S118-3, the initial terminal voltage vector angle detecting module 118 may calculate the initial inverter terminal voltage vector angle θi_init based on the inverter terminal voltage angular frequency ω. For example, the initial inverter terminal voltage vector angle detecting module 118 may calculate the initial inverter terminal voltage vector angle θi_init using the following Equation:
θi_init=∫0tω·dt+θzero—cros sin g Eq. 24
where θi_init is the calculated initial inverter terminal voltage vector angle and θzero_cros sin g is the inverter terminal voltage vector angle corresponding to the most recent zero-crossing instant.
The initial terminal voltage vector angle detecting module 118 may provide the initial inverter terminal voltage vector angle θi_init to the inverter terminal voltage vector angle detecting module 114. As discussed above, the inverter terminal voltage vector angle detecting module 114 may use the initial inverter terminal voltage vector angle θi—init to initialize the integrator of the PLL controller in the inverter terminal voltage vector angle detecting module 114. Therefore, the PLL controller may start with the correct initial inverter terminal voltage vector angle θi_init without using the bulkiness of sensors at the AC grid terminal 400.
Example embodiments being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of example embodiments, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the claims.
This Application is a Continuation-in-Part of U.S. Patent Application No. 15/783,057 filed on Oct. 13, 2017, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 15783057 | Oct 2017 | US |
Child | 15915553 | US |