TW201822466A - Phase-locked loop method for utility power parallel connection system for overcoming voltage distortion of input utility power and achieving precise synchronization - Google Patents
Phase-locked loop method for utility power parallel connection system for overcoming voltage distortion of input utility power and achieving precise synchronization Download PDFInfo
- Publication number
- TW201822466A TW201822466A TW105139791A TW105139791A TW201822466A TW 201822466 A TW201822466 A TW 201822466A TW 105139791 A TW105139791 A TW 105139791A TW 105139791 A TW105139791 A TW 105139791A TW 201822466 A TW201822466 A TW 201822466A
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- phase
- value
- conversion signal
- locked loop
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000006243 chemical reaction Methods 0.000 claims abstract description 70
- 238000004364 calculation method Methods 0.000 claims abstract description 9
- 238000005070 sampling Methods 0.000 claims description 5
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 abstract description 6
- 238000010248 power generation Methods 0.000 abstract description 6
- 230000000694 effects Effects 0.000 abstract description 4
- 238000001514 detection method Methods 0.000 abstract description 3
- 230000001360 synchronised effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 17
- 238000004088 simulation Methods 0.000 description 8
- 230000010355 oscillation Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
- Inverter Devices (AREA)
Abstract
Description
本發明係揭露一種鎖相迴路方法,更特別的是關於一種用於市電並聯系統的鎖相迴路方法。The present invention discloses a phase-locked loop method, and more particularly, relates to a phase-locked loop method for a parallel connection system of utility power.
於市電並聯系統中,通常具有可以數位方式進行控制的逆變器(inverter)電路,逆變器電路偵測市電電壓以產生正弦同步訊號,正弦同步訊號用以提供至逆變器電路中的電流迴路或交流電壓控制迴路,使得逆變器電路之電壓、頻率及相位得以與市電之電壓、頻率及相位相同,從而能夠執行二者之間的電力潮流控制(power flow control)。In a city power parallel system, there is usually an inverter circuit that can be controlled digitally. The inverter circuit detects the city power voltage to generate a sinusoidal synchronization signal, which is used to provide the current in the inverter circuit The loop or AC voltage control loop enables the voltage, frequency, and phase of the inverter circuit to be the same as the voltage, frequency, and phase of the mains, thereby enabling power flow control between the two.
習知之逆變器電路1000如圖1所示,其係使用一比較器或運算放大器1100偵測市電電壓VS 之零交越點,此零交越訊號SZERO 除經由數位捕捉 (Capture)1200計算其頻率外,亦利用此零交越訊號SZERO 重置一預設之正弦波表(Sine Table)1300以產生逆變器電路1000所需之同步正弦波訊號SSIN 。A conventional inverter circuit 1000 is shown in FIG. 1. It uses a comparator or an operational amplifier 1100 to detect the zero crossing point of the mains voltage V S. The zero crossing signal S ZERO is divided by a digital capture (Capture) 1200. In addition to calculating its frequency, this zero-crossing signal S ZERO is also used to reset a preset sine table 1300 to generate the synchronous sine wave signal S SIN required by the inverter circuit 1000.
然而,使用上述逆變器電路1000時,容易因為市電電壓失真、偵測電路零交越訊號震盪等問題使得重置訊號震盪,進而造成正弦波表震盪問題。為解決此問題雖可使用低通濾波器改善偵測之市電電壓波形,亦或具有磁滯之比較器減緩訊號震盪問題,然而此會造成正弦波表之相位延遲問題,難以應用於電壓頻率變化較為寬廣之應用。However, when using the inverter circuit 1000 described above, it is easy to cause the reset signal to oscillate due to the mains voltage distortion, the zero crossing signal oscillation of the detection circuit, etc., and then cause the sine wave table to oscillate. In order to solve this problem, although a low-pass filter can be used to improve the detected mains voltage waveform, or a comparator with hysteresis can slow down the signal oscillation problem, however, this will cause a phase delay problem of the sine wave table, which is difficult to apply to voltage frequency changes Wider application.
本發明之一目的在於提供一種鎖相迴路方法,其係能夠克服輸入之市電電壓失真及頻率變化等問題,而精確達到同步,使逆變器得以不易受市電擾動影響且維持正常操作。One object of the present invention is to provide a phase-locked loop method, which can overcome the problems of input mains voltage distortion and frequency change, and accurately achieve synchronization, so that the inverter is not easily affected by mains disturbance and maintains normal operation.
本發明之另一目的在於提供一種鎖相迴路方法,其係具有響應快速的優點且具有相當廣之頻率範圍,可用於追蹤柴油發電機等發電設備以擴展逆變器之應用範圍。Another object of the present invention is to provide a phase-locked loop method, which has the advantage of fast response and has a relatively wide frequency range, which can be used for tracking power generation equipment such as diesel generators to expand the application range of inverters.
為達上述目的及其他目的,本發明係提供一種鎖相迴路方法,用於市電並聯系統,該鎖相迴路方法包含一轉換訊號產生步驟、一誤差計算步驟、一頻率修正訊號取得步驟、一角度訊號取得步驟及一同步訊號產生步驟。To achieve the above and other objectives, the present invention provides a phase-locked loop method for a commercial power parallel system. The phase-locked loop method includes a conversion signal generation step, an error calculation step, a frequency correction signal acquisition step, and an angle. A signal obtaining step and a synchronous signal generating step.
該轉換訊號產生步驟係藉由偵測一市電之電壓來產生一第一轉換訊號及一第二轉換訊號,該第一轉換訊號為一第一函數形式,該第二轉換訊號為一第二函數形式;該誤差計算步驟係藉由該第一轉換訊號、該第二轉換訊號、一第一同步訊號、一第二同步訊號之值運算,來取得一誤差值,該第一同步訊號為該第二函數形式,該第二同步訊號為該第一函數形式;該頻率修正訊號取得步驟係將具有該誤差值的一誤差訊號輸入一比例積分器,以取得一頻率修正訊號;該角度訊號取得步驟係先藉由該頻率修正訊號與原頻率相加以取得一調整頻率,然後將該調整頻率積分以取得一角度訊號;以及該同步訊號產生步驟,係分別查閱一第一函數表及一第二函數表來取得該角度訊號之角度值所對應的值,該角度訊號之角度值於該第一函數表中所對應的值係作為該第一同步訊號之值,該角度訊號之角度值於該第二函數表中所對應的值係作為該第二同步訊號之值。The conversion signal generating step is to generate a first conversion signal and a second conversion signal by detecting a voltage of a utility power. The first conversion signal is a first function form, and the second conversion signal is a second function. Form; the error calculation step is to obtain an error value by calculating values of the first conversion signal, the second conversion signal, a first synchronization signal, and a second synchronization signal, and the first synchronization signal is the first A two-function form, the second synchronization signal is the first function form; the frequency correction signal obtaining step is to input an error signal having the error value to a proportional integrator to obtain a frequency correction signal; the angle signal obtaining step It first obtains an adjusted frequency by adding the frequency correction signal to the original frequency, and then integrates the adjusted frequency to obtain an angle signal; and the synchronization signal generation step refers to a first function table and a second function respectively Table to obtain the value corresponding to the angle value of the angle signal, and the value corresponding to the angle value of the angle signal in the first function table is used as the first same Value signal, the value of the angle signal of the angle value based on the second function table corresponding to the second value as the synchronization signal.
於本發明鎖相迴路方法的一實施例中,該第一函數表為正弦波表(Sine table),該第二函數表為餘弦波表(Cosine table),該第一同步訊號之相位與該第二同步訊號之相位的相位差為90度。In an embodiment of the phase-locked loop method of the present invention, the first function table is a sine table, the second function table is a cosine table, and the phase of the first synchronization signal and the phase The phase difference of the phase of the second synchronization signal is 90 degrees.
於本發明鎖相迴路方法的一實施例中,該誤差計算步驟包含一第一乘積取得步驟、一第二乘積取得步驟及一誤差值取得步驟,該第一乘積取得步驟係將該第一轉換訊號與該第一同步訊號之值相乘,以取得一第一乘積;該第二乘積取得步驟係將該第二轉換訊號與該第二同步訊號之值相乘,以取得一第二乘積;及該誤差值取得步驟,係將該第一乘積減去該第二乘積,以取得該誤差值。In an embodiment of the phase-locked loop method of the present invention, the error calculation step includes a first product obtaining step, a second product obtaining step, and an error value obtaining step. The first product obtaining step is to convert the first conversion Multiplying the value of the signal and the first synchronization signal to obtain a first product; the step of obtaining the second product is to multiply the value of the second conversion signal by the value of the second synchronization signal to obtain a second product; And the error value obtaining step is to subtract the second product from the first product to obtain the error value.
於本發明鎖相迴路方法的一實施例中,於該角度訊號取得步驟及該同步訊號產生步驟之間更包括一角度限制步驟,係先藉由一範圍限制器將該角度訊號之角度值限制於一範圍內。In an embodiment of the phase-locked loop method of the present invention, an angle limiting step is further included between the angle signal obtaining step and the synchronization signal generating step. The angle value of the angle signal is first limited by a range limiter. Within a range.
於本發明鎖相迴路方法的一實施例中,該市電具有三相電壓,於該轉換訊號產生步驟中,係藉由偵測該市電之三相電壓來產生該第一轉換訊號及該第二轉換訊號。In an embodiment of the phase-locked loop method of the present invention, the mains has a three-phase voltage. In the step of generating the conversion signal, the first conversion signal and the second are generated by detecting the three-phase voltage of the mains. Conversion signal.
於本發明鎖相迴路方法的一實施例中,該市電具有單相電壓,於該轉換訊號產生步驟中,係藉由偵測該市電之單相電壓來產生該第一轉換訊號及該第二轉換訊號。In an embodiment of the phase-locked loop method of the present invention, the mains has a single-phase voltage. In the conversion signal generating step, the first conversion signal and the second are generated by detecting the single-phase voltage of the mains. Conversion signal.
於本發明鎖相迴路方法的一實施例中,於該轉換訊號產生步驟中更包括一取樣步驟,係藉由對所偵測到之市電電壓進行取樣以產生該第一轉換訊號。In an embodiment of the phase-locked loop method of the present invention, the conversion signal generating step further includes a sampling step, which generates the first conversion signal by sampling the detected mains voltage.
於本發明鎖相迴路方法的一實施例中,於該轉換訊號產生步驟中更包括一延遲步驟,係藉由延遲該第一轉換訊號來產生該第二轉換訊號。In an embodiment of the phase-locked loop method of the present invention, the conversion signal generating step further includes a delaying step. The second conversion signal is generated by delaying the first conversion signal.
藉此,本發明鎖相迴路方法藉由上述步驟,可達到能夠克服輸入之市電電壓失真及頻率變化而精確達到同步的功效,此外,可達到具有響應快速的優點且具有相當廣之頻率範圍的功效,以用於追蹤柴油發電機等發電設備,擴展逆變器之應用範圍。With this, the phase-locked loop method of the present invention can achieve the effect of accurately synchronizing over the input mains voltage distortion and frequency change through the above steps. In addition, it can achieve the advantages of fast response and a wide frequency range. Efficiency, used to track diesel generators and other power generation equipment, to expand the scope of application of inverters.
為充分瞭解本發明之目的、特徵及功效,茲藉由下述具體之實施例,並配合所附之圖式,對本發明做一詳細說明,說明如後:In order to fully understand the purpose, features and effects of the present invention, the following specific embodiments are used in conjunction with the accompanying drawings to make a detailed description of the present invention, which will be described later:
請參照圖2,圖2係使用本發明鎖相迴路方法的市電並聯系統100之一實施例的系統方塊圖。如圖2所示,該市電並聯系統100包含一鎖相迴路110、一隔離保護元件120、一電壓控制器130、一電流控制器140、一正弦脈衝寬度調變(Sinusoidal PWM)驅動器150及一逆變器160,該逆變器160包括一直流匯流排161、一MOSFET模組162及一LC濾波器163,該LC濾波器163連接至市電電網。Please refer to FIG. 2. FIG. 2 is a system block diagram of an embodiment of a parallel connection system 100 for commercial power using the phase locked loop method of the present invention. As shown in FIG. 2, the mains parallel system 100 includes a phase-locked loop 110, an isolation protection element 120, a voltage controller 130, a current controller 140, a sinusoidal PWM driver 150 and a The inverter 160 includes a DC bus 161, a MOSFET module 162, and an LC filter 163, and the LC filter 163 is connected to a mains power grid.
其中,該鎖相迴路110係偵測市電電壓VS ,並藉由內部的追蹤調整機制來使輸出訊號(例如正弦波訊號)與市電電壓VS 的誤差(例如相位差)逐漸降低,進而能夠使該逆變器160的電壓、頻率、相位與市電的電壓、頻率、相位相同,以執行二者之間之電力潮流控制。The phase-locked loop 110 detects the mains voltage V S and gradually reduces the error (such as a phase difference) between the output signal (for example, a sine wave signal) and the mains voltage V S through an internal tracking adjustment mechanism, thereby enabling The voltage, frequency, and phase of the inverter 160 are made the same as the voltage, frequency, and phase of the mains to perform power flow control between the two.
值得注意的是,圖2之市電並聯系統100僅為眾多市電並聯系統之一示例而已,本發明鎖相迴路方法之適用範圍並不以圖2之市電並聯系統100為限,本發明鎖相迴路方法適用於各種類型之市電並聯系統,至少包括並網型再生能源發電系統及不斷電電源供應器(UPS)等等。It is worth noting that the mains parallel system 100 of FIG. 2 is just one example of many parallel mains systems. The scope of application of the phase locked loop method of the present invention is not limited to the mains parallel system 100 of FIG. 2. The phase locked loop of the present invention The method is applicable to various types of parallel power systems, including at least a grid-connected renewable energy power generation system and a UPS (Uninterruptible Power Supply).
接著,請參照圖3,圖3係本發明鎖相迴路方法的流程圖。如圖3所示,該鎖相迴路方法包含一轉換訊號產生步驟S110、一誤差計算步驟S120、一頻率修正訊號取得步驟S130、一角度訊號取得步驟S140及一同步訊號產生步驟S150。Next, please refer to FIG. 3, which is a flowchart of a phase locked loop method according to the present invention. As shown in FIG. 3, the phase-locked loop method includes a conversion signal generation step S110, an error calculation step S120, a frequency correction signal acquisition step S130, an angle signal acquisition step S140, and a synchronization signal generation step S150.
該轉換訊號產生步驟S110係藉由偵測市電電壓VS 來產生一第一轉換訊號S1及一第二轉換訊號S2,於一實施例中,該第一轉換訊號S1之值為Vm sin(wt),該第一轉換訊號S1為sine函數形式,因此sine函數稱為第一函數,該第一轉換訊號S1為第一函數形式;該第二轉換訊號S2之值為Vm cos(wt),該第二轉換訊號S2為cosine函數形式,因此cosine函數稱為第二函數,該第二轉換訊號S2為第二函數形式。此外,Vm 代表市電之均方根電壓,w代表原頻率,t代表時間。The conversion signal generating step S110 generates a first conversion signal S1 and a second conversion signal S2 by detecting the mains voltage V S. In an embodiment, the value of the first conversion signal S1 is V m sin ( wt), the first conversion signal S1 is in the form of a sine function, so the sine function is called a first function, and the first conversion signal S1 is in a first function form; the value of the second conversion signal S2 is V m cos (wt) Since the second conversion signal S2 is in the form of a cosine function, the cosine function is called a second function, and the second conversion signal S2 is in the form of a second function. In addition, V m represents the rms voltage of the mains, w represents the original frequency, and t represents time.
值得注意的是,雖然於該實施例中該第一函數及第二函數分別為sine函數及cosine函數,但並不以此為限,例如,於其他可能的實施例中,該第一函數可為cosine函數形式且該第二函數對應為sine函數形式。It is worth noting that although the first function and the second function are sine function and cosine function respectively in this embodiment, they are not limited thereto. For example, in other possible embodiments, the first function may be It is in the form of a cosine function and the second function corresponds to the form of a sine function.
該誤差計算步驟S120係藉由該第一轉換訊號S1、該第二轉換訊號S2、一第一同步訊號S3、一第二同步訊號S4之值運算,來取得一誤差值e,於一實施例中,該第一同步訊號S3之值為cos(w1 t),該第一同步訊號S3為cosine函數形式,因此該第一同步訊號S3為第二函數形式,該第二同步訊號S4之值為sin(w1 t),該第二同步訊號S4為sine函數形式,因此該第二同步訊號S4為第一函數形式。此外,w1 代表頻率修正後的調整頻率。The error calculation step S120 is to obtain an error value e by calculating the values of the first conversion signal S1, the second conversion signal S2, a first synchronization signal S3, and a second synchronization signal S4. In an embodiment, The value of the first synchronization signal S3 is cos (w 1 t), the first synchronization signal S3 is in the form of a cosine function, so the first synchronization signal S3 is in the form of a second function, and the value of the second synchronization signal S4 Is sin (w 1 t), the second synchronization signal S4 is in the form of a sine function, so the second synchronization signal S4 is in the form of a first function. In addition, w 1 represents the adjusted frequency after frequency correction.
舉例來說,可利用以下算式計算該誤差值e: e= Vm {sin(wt)cos(w1 t)- cos(wt)sin(w1 t)}。For example, the error value e can be calculated using the following formula: e = V m {sin (wt) cos (w 1 t)-cos (wt) sin (w 1 t)}.
其中,Vm sin(wt)cos(w1 t)稱為一第一乘積,該第一乘積等於該第一轉換訊號S1與該第一同步訊號S3之值相乘的結果;Vm cos(wt)sin(w1 t) 稱為一第二乘積,該第二乘積等於該第二轉換訊號S2與該第二同步訊號S4之值相乘的結果;該誤差值e等於該第一乘積減去該第二乘積。Among them, V m sin (wt) cos (w 1 t) is called a first product, and the first product is equal to the result of multiplying the values of the first conversion signal S1 and the first synchronization signal S3; V m cos ( wt) sin (w 1 t) is called a second product, and the second product is equal to the result of multiplying the value of the second conversion signal S2 and the second synchronization signal S4; the error value e is equal to the first product minus Go to that second product.
該頻率修正訊號取得步驟S130係將具有該誤差值e的一誤差訊號輸入一比例積分器,以取得一頻率修正訊號S5,該頻率修正訊號S5之值為△w。The frequency correction signal obtaining step S130 is to input an error signal having the error value e into a proportional integrator to obtain a frequency correction signal S5, and the value of the frequency correction signal S5 is Δw.
該角度訊號取得步驟S140係先藉由該頻率修正訊號△w與原頻率w相加以取得該調整頻率w1 ,然後將該調整頻率w1 積分以取得一角度訊號q,亦即,w1 =w+△w,將w1 積分後的可得到q。The angle signal obtaining step S140 is to first obtain the adjustment frequency w 1 by adding the frequency correction signal Δw and the original frequency w, and then integrate the adjustment frequency w 1 to obtain an angle signal q, that is, w 1 = w + △ w, q is obtained by integrating w 1 .
該同步訊號產生步驟S150係分別查閱一第一函數表T1及一第二函數表T2來取得該角度訊號q之角度值所對應的值,於該實施例中,該第一函數表T1為餘弦波表(cosine table),該第二函數表T2為正弦波表(sine table),該第一同步訊號S3之相位與該第二同步訊號S4之相位的相位差為90度,因此,若,則查閱該第一函數表T1後可得到,查閱該第二函數表T2後可得到。The synchronization signal generating step S150 refers to a first function table T1 and a second function table T2 to obtain the values corresponding to the angle value of the angle signal q. In this embodiment, the first function table T1 is a cosine. Cosine table. The second function table T2 is a sine table. The phase difference between the phase of the first synchronization signal S3 and the phase of the second synchronization signal S4 is 90 degrees. Therefore, if , Then after consulting the first function table T1, After consulting the second function table T2, we can get .
進一步地,如圖4所示,於該角度訊號取得步驟S140及該同步訊號產生步驟S150之間更包括一角度限制步驟S160,該角度限制步驟S160係先藉由一範圍限制器將該角度訊號q之角度值限制於一範圍內,例如,限制在0~2π的範圍內,藉由該角度限制步驟S160,可確認該角度訊號q之角度值經轉換後必定落在預定範圍內,並且讓該第一函數表T1及該第二函數表T2的尺寸受到適當地控制,例如,無須考慮當時,該第一函數表T1及該第二函數表T2之對應值的問題,因為經轉換後q必定落在0~2π的範圍內,且經轉換後,計算sinq與cosq的值仍然會相同。Further, as shown in FIG. 4, an angle limiting step S160 is further included between the angle signal obtaining step S140 and the synchronization signal generating step S150. The angle limiting step S160 first uses a range limiter to limit the angle signal. The angle value of q is limited to a range, for example, within the range of 0 to 2π. With the angle limitation step S160, it can be confirmed that the angle value of the angle signal q must fall within a predetermined range after conversion, and let The sizes of the first function table T1 and the second function table T2 are appropriately controlled, for example, there is no need to consider , The problem of the corresponding values of the first function table T1 and the second function table T2, because after conversion, q must fall within the range of 0 ~ 2π, and after conversion, the calculated sinq and cosq values will still be the same. .
該角度訊號q之角度值於該第一函數表T1中所對應的值係作為該第一同步訊號S3之值,亦即該第一同步訊號S3之值為cos(w 1 t),該角度訊號q之角度值於該第二函數表T2中所對應的值係作為該第二同步訊號S4之值,亦即該第二同步訊號S4之值為sin(w 1 t),例如,若,則該第一同步訊號S3之值為,該第一同步訊號S4之值為。The corresponding value of the angle value of the angle signal q in the first function table T1 is taken as the value of the first synchronization signal S3, that is, the value of the first synchronization signal S3 is cos (w 1 t), the angle The corresponding value of the angle value of the signal q in the second function table T2 is taken as the value of the second synchronization signal S4, that is, the value of the second synchronization signal S4 is sin (w 1 t). For example, if , Then the value of the first synchronization signal S3 is , The value of the first synchronization signal S4 is .
經由上述步驟,可藉由比例積分調整使誤差e逐漸變為零,從而達到鎖相目地,亦即w1 =w,△w=0。即使市電電壓訊號失真或頻率震盪,鎖相控制迴路之計算亦能藉由控制迴路的迴授控制,來衰減因失真或頻率震盪所造成之誤差,從而免除鎖相訊號震盪問題。Through the above steps, the error e can be gradually changed to zero through proportional integral adjustment, so as to achieve the phase-locking purpose, that is, w 1 = w, Δw = 0. Even if the mains voltage signal is distorted or the frequency is oscillating, the calculation of the phase-locked control loop can also use the feedback control of the control loop to attenuate the error caused by the distortion or frequency oscillating, thereby avoiding the problem of phase-locked signal oscillation.
此外,相較於習知技術使用偵測電路搭配比較器或運算放大器的方式,本發明鎖相迴路方法係直接將市電電壓VS 轉換為第一函數形式或第二函數形式的轉換訊號,此方式有助於加快響應速度,且亦有助於擴展適用之頻率範圍,故可用於追蹤柴油發電機等發電設備。In addition, compared with the conventional technique of using a detection circuit with a comparator or an operational amplifier, the phase-locked loop method of the present invention directly converts the mains voltage V S into a first function form or a second function form. The method is helpful to speed up the response speed, and also helps to expand the applicable frequency range, so it can be used to track diesel generators and other power generation equipment.
隨著市電種類的不同,本發明鎖相迴路方法亦可有對應之變化或調整,以下,請參照圖5~圖7及圖8~圖10,圖5~圖7分別為當市電具有三相電壓時一實施例的示意圖、模擬電路圖及模擬結果圖,圖8~圖10分別為當市電具有單相電壓時一實施例的示意圖、模擬電路圖及模擬結果圖。With different types of commercial power, the phase-locked loop method of the present invention can also be correspondingly changed or adjusted. Hereinafter, please refer to FIGS. 5 to 7 and 8 to 10, and FIGS. 5 to 7 respectively show when the mains has three phases. A schematic diagram, an analog circuit diagram, and a simulation result diagram of an embodiment when voltage is applied. FIG. 8 to FIG. 10 are schematic diagrams, analog circuit diagrams, and simulation result diagrams of an embodiment when the mains has a single-phase voltage.
如圖5所示,市電之三相電壓分別為Vsa , Vsb 及Vsc ,經過abc- ab 軸轉換後,可得到該第一轉換訊號S1之值為Vm sin(wt)及該第二轉換訊號S2之值為Vm cos(wt),該第一轉換訊號S1及該第二轉換訊號S2分別與該第一同步訊號S3及該第二同步訊號S4相乘後相減,即可計算出該誤差值e,該誤差值e經過一比例積分器PI後得到一頻率修正訊號△w。As shown in FIG. 5, the three-phase voltages of the mains are V sa , V sb, and V sc respectively . After the abc- ab axis conversion, the value of the first conversion signal S1 can be obtained as V m sin (wt) and the first The value of the second conversion signal S2 is V m cos (wt). The first conversion signal S1 and the second conversion signal S2 are multiplied by the first synchronization signal S3 and the second synchronization signal S4, respectively, and then subtracted. The error value e is calculated, and a frequency correction signal Δw is obtained after passing through a proportional integrator PI.
接著,請參照圖6及圖7之模擬驗證的模擬電路圖及模擬結果,於設定電壓起始值時,刻意使三相輸入電壓之A相相位與Sine Table相差100度,經過鎖相迴路之修正,其誤差(Verr)越來越小,最終使得輸入電壓(Vin_sin)得以與Sine Table(Vsin)同相,頻率(Freq)亦鎖定為與市電電壓相同之60Hz。Next, please refer to the analog circuit diagrams and simulation results of the simulation verification shown in Figure 6 and Figure 7. When setting the initial value of the voltage, the phase A phase of the three-phase input voltage is intentionally different from the Sine Table by 100 degrees. , Its error (Verr) is getting smaller and smaller, so that the input voltage (Vin_sin) can be in phase with the Sine Table (Vsin), and the frequency (Freq) is also locked to the same 60Hz as the mains voltage.
如圖8所示,市電具有單相電壓,經過一取樣步驟S111及一延遲步驟S112後,可得到該第一轉換訊號S1之值為Vm sin(wt)及該第二轉換訊號S2之值為Vm cos(wt),該第一轉換訊號S1及該第二轉換訊號S2分別與該第一同步訊號S3及該第二同步訊號S4相乘後相減,即可計算出該誤差值e,該誤差值e經過一比例積分器PI後得到一頻率修正訊號△w。As shown in FIG. 8, the mains has a single-phase voltage. After a sampling step S111 and a delay step S112, the value of the first conversion signal S1 can be obtained as V m sin (wt) and the value of the second conversion signal S2. Is V m cos (wt), the first conversion signal S1 and the second conversion signal S2 are multiplied by the first synchronization signal S3 and the second synchronization signal S4, respectively, and then the error value e can be calculated. After the error value e passes a proportional integrator PI, a frequency correction signal Δw is obtained.
接著,請參照圖9及圖10之模擬驗證的模擬電路圖及模擬結果,於設定電壓起始值時,刻意使單相輸入電壓之相位與Sine Table相差100度,經過鎖相迴路之修正,其誤差(Verr)越來越小,最終使得輸入電壓(Vin_sin)得以與Sine Table(Vsin)同相,頻率(Freq)亦鎖定為與市電電壓VS 相同之60Hz。Next, please refer to the analog circuit diagrams and simulation results of the simulation verification shown in Figures 9 and 10. When setting the initial voltage value, the phase of the single-phase input voltage is intentionally different from the Sine Table by 100 degrees. The error (Verr) is getting smaller and smaller, so that the input voltage (Vin_sin) can be in phase with the Sine Table (Vsin), and the frequency (Freq) is also locked at 60Hz, which is the same as the mains voltage V S.
綜上所述,本發明鎖相迴路方法藉由上述步驟,可達到能夠克服輸入之市電電壓失真及頻率變化而精確達到同步的功效,此外,可達到具有響應快速的優點且具有相當廣之頻率範圍的功效,以用於追蹤柴油發電機等發電設備,擴展逆變器之應用範圍。In summary, the phase-locked loop method of the present invention can achieve the effect of accurately synchronizing over the input mains voltage distortion and frequency change through the above steps. In addition, it can achieve the advantages of fast response and a fairly wide frequency. The range of effectiveness is used to track diesel generators and other power generation equipment, and expand the scope of application of inverters.
本發明在上文中已以較佳實施例揭露,然熟習本項技術者應理解的是,該實施例僅用於描繪本發明,而不應解讀為限制本發明之範圍。應注意的是,舉凡與該實施例等效之變化與置換,均應設為涵蓋於本發明之範疇內。因此,本發明之保護範圍當以申請專利範圍所界定者為準。The present invention has been disclosed in the foregoing with a preferred embodiment, but those skilled in the art should understand that this embodiment is only for describing the present invention, and should not be interpreted as limiting the scope of the present invention. It should be noted that all changes and substitutions equivalent to this embodiment should be included in the scope of the present invention. Therefore, the scope of protection of the present invention shall be defined by the scope of the patent application.
Vsa、Vsb、Vsc‧‧‧三相市電電壓 Vsa, Vsb, Vsc‧‧‧three-phase mains voltage
100‧‧‧市電並聯系統 100‧‧‧ city electricity parallel system
110‧‧‧鎖相迴路 110‧‧‧Phase Locked Loop
120‧‧‧隔離保護元件 120‧‧‧Isolated protection element
130‧‧‧電壓控制器 130‧‧‧Voltage Controller
140‧‧‧電流控制器 140‧‧‧Current Controller
150‧‧‧正弦脈衝寬度調變驅動器 150‧‧‧ sinusoidal pulse width modulation driver
160‧‧‧逆變器 160‧‧‧ Inverter
161‧‧‧直流匯流排 161‧‧‧DC bus
162‧‧‧MOSFET模組 162‧‧‧MOSFET Module
163‧‧‧LC濾波器 163‧‧‧LC filter
1000‧‧‧逆變器電路 1000‧‧‧ inverter circuit
1100‧‧‧運算放大器 1100‧‧‧ Operational Amplifier
1200‧‧‧數位捕捉 1200‧‧‧Digital Capture
1300‧‧‧正弦波表 1300‧‧‧ sine wave table
SZERO‧‧‧零交越訊號S ZERO ‧‧‧Zero crossing signal
SSIN‧‧‧正弦波訊號S SIN ‧‧‧Sine wave signal
T1‧‧‧第一函數表 T1‧‧‧first function table
T2‧‧‧第二函數表 T2‧‧‧Second function table
Vsa,Vsb,Vsc‧‧‧市電之三相電壓V sa , V sb , V sc Three-phase voltage
VS‧‧‧市電電壓V S ‧‧‧ city voltage
S110~S160‧‧‧步驟 S110 ~ S160‧‧‧step
S1‧‧‧第一轉換訊號 S1‧‧‧First conversion signal
S2‧‧‧第二轉換訊號 S2‧‧‧Second conversion signal
S3‧‧‧第一同步訊號 S3‧‧‧First sync signal
S4‧‧‧第二同步訊號 S4‧‧‧Second sync signal
S5‧‧‧頻率修正訊號 S5‧‧‧ Frequency correction signal
[圖1] 係習知之逆變器電路的示意圖。 [圖2]係使用本發明鎖相迴路方法的市電並聯系統之一實施例的系統方塊圖。 [圖3]係本發明鎖相迴路方法之一實施例的流程圖。 [圖4]係本發明鎖相迴路方法之另一實施例的流程圖。 [圖5]係當市電具有三相電壓時本發明一實施例的示意圖。 [圖6]係當市電具有三相電壓時本發明一實施例的模擬電路圖。 [圖7]係當市電具有三相電壓時本發明一實施例的模擬結果圖。 [圖8]係當市電具有單相電壓時本發明一實施例的示意圖。 [圖9]係當市電具有單相電壓時本發明一實施例的模擬電路圖。 [圖10]係當市電具有單相電壓時本發明一實施例的模擬結果圖。[Fig. 1] is a schematic diagram of a conventional inverter circuit. [FIG. 2] A system block diagram of one embodiment of a parallel connection system of a commercial power system using the phase locked loop method of the present invention. 3 is a flowchart of an embodiment of a phase-locked loop method according to the present invention. 4 is a flowchart of another embodiment of a phase-locked loop method according to the present invention. [FIG. 5] A schematic diagram of an embodiment of the present invention when the mains has a three-phase voltage. 6 is an analog circuit diagram of an embodiment of the present invention when the mains has a three-phase voltage. FIG. 7 is a simulation result diagram of an embodiment of the present invention when the mains has a three-phase voltage. [FIG. 8] A schematic diagram of an embodiment of the present invention when the mains has a single-phase voltage. [FIG. 9] An analog circuit diagram of an embodiment of the present invention when the mains has a single-phase voltage. FIG. 10 is a simulation result diagram of an embodiment of the present invention when the mains has a single-phase voltage.
Claims (8)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105139791A TWI604697B (en) | 2016-12-02 | 2016-12-02 | Phase-locked loop method for a utility parallel system |
| JP2017165633A JP6431585B2 (en) | 2016-12-02 | 2017-08-30 | Phase synchronization method of phase synchronization circuit used in grid connection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW105139791A TWI604697B (en) | 2016-12-02 | 2016-12-02 | Phase-locked loop method for a utility parallel system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI604697B TWI604697B (en) | 2017-11-01 |
| TW201822466A true TW201822466A (en) | 2018-06-16 |
Family
ID=61023490
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW105139791A TWI604697B (en) | 2016-12-02 | 2016-12-02 | Phase-locked loop method for a utility parallel system |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6431585B2 (en) |
| TW (1) | TWI604697B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109412191B (en) * | 2018-12-05 | 2021-06-11 | 华南理工大学 | Phase locking method, device and equipment for high-voltage direct-current power transmission system |
| CN113541186A (en) * | 2021-07-12 | 2021-10-22 | 太原理工大学 | Double closed-loop control method and system for single-phase LC type grid-connected inverter |
| CN113541196A (en) * | 2021-08-10 | 2021-10-22 | 太原理工大学 | A fractional-order control method for single-phase LC grid-connected inverter |
| CN114089037B (en) * | 2021-11-10 | 2024-05-24 | 深圳市振邦智能科技股份有限公司 | Power grid voltage phase detection method based on optocoupler |
| CN115441696B (en) * | 2022-09-26 | 2024-11-22 | 上海交通大学 | Converter power synchronization control parameter acquisition method, system, medium and device |
| CN118473016B (en) * | 2024-06-26 | 2025-09-16 | 青岛威控电气有限公司 | Phase synchronization control method and device based on multi-terminal converter |
| CN119148685B (en) * | 2024-11-13 | 2025-02-18 | 湖南省湘电试验研究院有限公司 | New energy controller fault ride-through characteristic test method and system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3624415B2 (en) * | 2000-07-27 | 2005-03-02 | 株式会社高岳製作所 | Phase synchronization method for inverter device |
| JP5711954B2 (en) * | 2010-03-31 | 2015-05-07 | 株式会社ダイヘン | Phase detector |
-
2016
- 2016-12-02 TW TW105139791A patent/TWI604697B/en active
-
2017
- 2017-08-30 JP JP2017165633A patent/JP6431585B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018093703A (en) | 2018-06-14 |
| JP6431585B2 (en) | 2018-11-28 |
| TWI604697B (en) | 2017-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW201822466A (en) | Phase-locked loop method for utility power parallel connection system for overcoming voltage distortion of input utility power and achieving precise synchronization | |
| JP5500141B2 (en) | Power converter | |
| JP6490249B2 (en) | Power conversion device and power conversion system | |
| KR102160883B1 (en) | An apparatus of current control for harmonic compensation in grid connected inverter | |
| KR20140014734A (en) | Inverter control apparatus and method thereof | |
| KR101789403B1 (en) | Phase Error Compensation Method According to the Grid Frequency Variation of the Single-phase Grid-connected Inverters | |
| JP2012026836A (en) | Frequency detection method for distributed power source and system interconnection protection apparatus | |
| US10063242B2 (en) | Phase-locked loop method for use in utility electricity parallel-connection system | |
| JP2011015493A (en) | Distributed power supply device | |
| KR101380380B1 (en) | Method of adaptive phase tracking depending on the state of power system and system for it | |
| JP5742150B2 (en) | Synchronous control device for AC / DC converter | |
| JP6041250B2 (en) | Grid interconnection device | |
| Yang et al. | Exploitation of digital filters to advance the single-phase T/4 delay PLL system | |
| Lu et al. | Comparative performance evaluation of phase-locked loop (PLL) algorithms for single-phase grid-connected converters | |
| KR101946308B1 (en) | Method of phase locked loop to improve accuracy of frequency measurement for single phase photovoltaic system | |
| KR101545139B1 (en) | Method of phase tracking of power system using LPN filter | |
| JP6263990B2 (en) | Synchronous control circuit for AC / DC converter | |
| TWI509935B (en) | Decentralized power supply synchronous and network method | |
| KR100620760B1 (en) | Grid Voltage Phase Detection Device Using Virtual Two-Phase | |
| JP4183523B2 (en) | INVERTER DEVICE AND INVERTER DEVICE CONTROL METHOD | |
| RU2647792C1 (en) | Method for synchronisation of traction converter control system with traction network supply voltage | |
| WO2014050759A1 (en) | Single-phase voltage type ac-dc converter | |
| KR101529586B1 (en) | Method for controlling three-phase inverter output | |
| WO2014050936A1 (en) | Single-phase voltage type ac-dc converter | |
| JP5497941B2 (en) | Inverter for distributed power supply and control method for inverter for distributed power supply |