Escolar Documentos
Profissional Documentos
Cultura Documentos
4.1 Introdução
redes eléctricas são sistemas complexos e dinâmicos afectadas por múltiplas eventualidades, tais como conexão contínua e a
desconexão de cargas, distúrbios e ressonâncias resultantes das correntes harmónicas fluindo através das linhas, as falhas
devido a quedas de raios e erros na operação de equipamento eléctrico. Consequentemente, as variáveis de grade não pode ser
considerado como magnitudes constantes quando um conversor de energia está ligado à rede, mas eles devem ser monitorados
continuamente, a fim de garantir que a State Grid é adequado para o correcto funcionamento do conversor de energia. Além disso,
quando o poder gerenciado por este conversor de energia não pode ser negligenciado em relação à potência nominal da rede no
ponto de conexão, as variáveis da grade pode ser significantemente afetada pela ação de um tal conversor de energia. Portanto,
conversores de energia não pode ser considerado como o equipamento ligado à rede simples, já que eles mantêm uma relação
interativa com a grade e podem participar activamente no apoio a frequência da rede e tensão, principalmente quando altos níveis
de potência são considerados para o conversor de energia. Isto implica, no entanto, que a estabilidade da rede e as condições de
segurança pode ser seriamente afetada em redes com o uso prolongado de conversores de energia, como é o caso dos sistemas
de energia distribuídas baseadas em energias renováveis. Por esta razão, muitos códigos de rede internacionais têm estado em
vigor durante os últimos anos, a fim de regular o comportamento de sistemas fotovoltaicos e energia eólica em ambas as
condições transitórias de estado estacionário e anormais regulares, por exemplo, na presença de falhas de grade.
Monitoramento das variáveis de grade é uma tarefa necessária para ser implementado no conversor de energia interface
fontes de energia renováveis à rede. Os códigos de rede indicar os limites de tensão e frequência em que os geradores
fotovoltaicos e eólicos devem permanecer conectados à rede, garantindo um funcionamento estável. Assim, o conversor de
energia destes sistemas de energias renováveis deve tela com precisão as variáveis de rede no ponto de acoplamento
comum, a fim de accionar o procedimento de desconexão quando vão além dos limites definidos pelos códigos de rede.
Esses códigos de rede também especificar certas exigências dinâmicas na ligação à rede de geradores distribuídos; por
exemplo, a resposta instantânea de turbinas eólicas na presença de
Conversores de grade para fotovoltaica e eólica Power Systems Remus Teodorescu, Marco Liserre e Pedro Rodríguez
falhas de rede transitórios é claramente delimitado em códigos de rede recentes. Consequentemente, os algoritmos de monitoramento de rede
para ser implementado em conversores conectados à rede deve detectar o estado da rede de uma forma rápida e precisa, a fim de ful fi l ambos
monitorização de rede e sincronização de rede são dois conceitos intimamente ligados. Na verdade, a sincronização grade
de um conversor de energia não é nada além de um acompanhamento instantâneo do estado da grade para que o conversor de
energia está ligado. Grelha de sincronização é um processo adaptativo por meio do qual um sinal de referência interno gerado
pelo algoritmo de um conversor de potência ligada à rede de controlo é levada em linha com uma variável de grelha particular,
geralmente a componente fundamental da tensão de rede.
sincronização Grid é uma questão fundamental na conexão dos conversores de energia para a rede uma vez que permite
a grade e o conversor de energia sincronizados para trabalhar em uníssono. As informações geradas pelo algoritmo de
sincronização de rede é usada em diferentes níveis do sistema de um conversor ligado à rede de controle. Como explicado
no Apêndice A, informações sobre a fase-ângulo da tensão de rede é necessário para transformar as variáveis de grade do
quadro de referência natural para o quadro de referência síncrona, o que torna possível lidar com variáveis DC na regulação
das correntes CA ou tensões fornecida à rede pelo conversor de energia. Do mesmo modo, sabendo a magnitude e ângulo
de fase da tensão de rede permite a regulação da potência activa e reactiva fornecida à rede.
Grelha de sincronização de conversores conectados em rede monofásica reside na detecção precisa dos atributos
da tensão de rede, a fim de sintonizar um oscilador interno do controlador do conversor de potência para a dinâmica
oscilatórios impostas pela grade. Normalmente, os principais atributos de interesse para fazer a interface energias
renováveis para a rede pela utilizando conversores de energia estão a amplitude e a fase do ângulo do componente
de frequência fundamental da tensão de rede. No entanto, a detecção de outros componentes harmónicos também
pode ser interessante para implementar funcionalidades adicionais no conversor de potência ligada à rede de
geradores distribuídos, tais como o condicionamento de energia, ressonância amortecimento ou detecção de
impedância da rede. Portanto,
Os métodos de detecção no domínio da frequência é geralmente baseada em alguns execução discreta da análise de
Fourier. A série de Fourier, a transformada de Fourier discreta (DFT) e a transformada de Fourier discreta recursiva
(RDFT) será brevemente y apresentados nas seguintes como possíveis técnicas de sincronização grade em sistemas de
fase única. Por definição, a análise de frequência pressupõe que a frequência fundamental do sinal processado é uma
magnitude bem conhecida e constante. A frequência de amostragem do processador de sinal deve ser um múltiplo inteiro
da frequência fundamental da rede.
Os métodos de detecção no domínio do tempo são baseados em algum tipo de circuito adaptativo que permite um oscilador interno
para controlar o componente de interesse do sinal de entrada. O mais estendida
Sincronização grade no monofásicos Conversores de Potência 45
método de sincronização em aplicações de engenharia, o anel de bloqueio de fase (PLL), será apresentado e discutido neste
capítulo. A aplicação de uma estrutura simples de PLL para a sincronização com a tensão de uma grade convencional (50/60 Hz)
baixa frequência proporcionará evidências da necessidade de melhorar a sua estrutura, utilizando algum tipo de gerador de sinal de
quadratura (QSG). Finalmente, o anel de bloqueio de frequência (FLL) vai ser introduzido como uma técnica de sincronização muito
eficaz para ser implementado em um conversor de potência ligada à rede, principalmente quando a grade é afectado por distúrbios
transientes devidas a falhas de grade.
Joseph Fourier (1768-1830) apresentada, em 1807, uma nova técnica de análise para resolver as equações diferenciais que
descrevem o calor de fluxo em uma placa de metal. Era a versão primeiros do que é hoje conhecida como a série de Fourier [3].
Esta técnica de análise de sinal permite que os componentes de um sinal periódico de frequência a ser obtida multiplicando-o por
um conjunto de funções básicas (seno / co-seno), a diferentes frequências. Quando uma função co-seno é multiplicado por um
co-seno unitário com a mesma frequência, a sua amplitude (divididos por dois) aparece como um componente DC no resultante
quadrado função. Um resultado semelhante é obtido quando em quadratura com uma função sinusoidal, isto é,
Tendo em conta o facto de que o valor DC do produto de duas funções sinusoidais com diferentes frequências, é
sempre igual a zero, é possível utilizar estes unitária de seno / co-seno funções básicas como uma espécie de função
de sonda para detectar a amplitude e de fase ângulo dos componentes sinusoidais do sinal processado a uma dada
frequência. Por outro lado, o componente DC do sinal processado é convencionalmente obtida através do cálculo do
valor médio
46 Conversores de grade para fotovoltaica e eólica Power Systems
do sinal processado ao longo de um período. De acordo com esse raciocínio, Fourier afirmou que um sinal periódico genérico v ( t) pode
ser expresso por uma soma dos seguintes termos:
Σ
v ( t) = a 0 + ∞ ( uma n cos ( n ω t) + b n pecado( n ω t)) (4,2)
n=1
∫T
uma 0 = 1 v ( t) d t
T 0
∫T ∫π
De acordo com (4.3), o princípio série de Fourier pode facilmente ser usado para implementar um passa-banda do filtro
selectivo através da multiplicação do sinal de entrada, v no, pelo seno / co-seno funções básicas à frequência desejada. Adiagramof
este passa-banda do filtro adaptável está representado na Figura 4.1. Assumindo a frequência de rede como uma magnitude
constante e bem conhecido, a fim da harmónica de ser extraída na saída deste fi ltro, v ', é selecionado, definindo o valor do
parâmetro n. A amplitude e a fase do ângulo desse componente de frequência são dadas pela
• ••
Vn= √ uma
n+ b2 n
2
V n' = V n ∠ θ n (4,4)
••
θ n = arctan b n
uma n
sin
uma
n
2
LPF
v v'
bn
2
LPF
n ω1 ∫ ntω 1
cos
corresponde à componente de freqüência fundamental, ω 1, geralmente 50/60 Hz. Este componente de freqüência fundamental
é realmente a variável de interesse na maioria das aplicações dos conversores de energia a ser sincronizados com a rede.
Portanto, a frequência das funções básicas de seno / co-seno será fixado em ω 1 assim, isto é, n = 1. Por conseguinte, a
componente de frequência mais baixo na entrada do LPF será em dois ω 1, geralmente 100/120 Hz. Isso implica que a
freqüência de corte do LPF deve ser pelo menos uma década inferior a 2 ω 1, em torno de 10/12 Hz - o que implica uma
resposta dinâmica muito lenta do sistema. Esta frequência de corte deve ser ainda inferior se quer subharmonics ou
componentes DC estão presentes no sinal de entrada.
Usando a equação de Euler, desenvolvido no início de 1800, as funções básicas de seno / co-seno pode ser escrita como
cos ( n ω t) = e j n ω t + e - j n ω t
2
(4,5)
pecado( n ω t) = e j n ω t - e - j n ω t
2j
Por isso, a série de Fourier coeficientes de (4.3) pode ser também calculada pela
∫T
uma n = 1 v ( t) ( e j n ω t + e - j n ω t) d t
T 0
∫T (4,6)
bn= - j v ( t) ( e j n ω t - e - j n ω t) d t
T 0
∫T
cn= 1 v ( t) e - j n ω t d t (4,7)
2 ( uma n - jb n) = 1 T 0
Σ Σ
v ( t) = a 0 + ∞ cn ejnωt+∞ c n* e - j n ω t (4,8)
n=1 n=1
c n | n> 0, a expressão anterior pode tornar-se muito simples, alterando o intervalo das somas como se segue:
Σ Σ Σ Σ Σ
v ( t) = a 0 + ∞ cn ejnωt+∞ cn e-jnωt=∞ c n e j n ω t + -∞ cn ejnωt=∞ (4,9)
n=1 n=1 n=0 n=-1 n = -∞ cn ejnωt
Esta é a forma complexo compacto da Série de Fourier, em que as frequências positivas e negativas são
considerados.
48 Conversores de grade para fotovoltaica e eólica Power Systems
A expressão de (4,9) é muito útil para a introdução do conceito da transformada de Fourier de uma forma intuitiva. Para fazer
isso, vamos considerar que a função de pulso descrito pelas expressões de (4.10) constitui o padrão de repetição de um trem
de pulsos a serem processados usando (4.9).
1τ
vt()
•
•••••0, -T≤t<-τ
2
v ( t) 1 / τ, - τ (4,10)
τ τ ••••• 2≤t≤τ 2
- 0
2 2 τ
0,
2<t≤T
τ
Complexos coeficientes desta série de Fourier são calculados por resolver o integrante de (4.7). Se considerarmos que o período T é
feita gradualmente mais longo enquanto a duração do impulso τ é mantida constante, os complexos COEF fi coeficientes calculados
por (4,7) se tornar menor de cada vez, desde T parece ser dividindo em (4.7) e o valor do integral permanece constante. Na
verdade, como T aproxima-se o infinito, o sinal v ( t) torna-se aperiódica e todos os COEF fi coeficientes calculados por (4,7) são
iguais a zero.
Para permitir que a dualidade de tempo / frequência a ser aplicado à análise de sinais aperiódicos, com
= T ∞, o período T é removida a partir do denominador de (4.7) e o resultado é rescrito como segue:
V ( ω) = F [ v ( t)] = ∫ ∞ (4.11)
-∞ v ( t) e - j ω t d t
A última expressão é conhecido como a transformada de Fourier e, enquanto existir a integral, que permite que as
funções contínuos a serem obtidos no domínio da frequência representando funções periódicas e aperiódicos contínua do
domínio do tempo. Como um exemplo, a Figura 4.2 representa a transformada de Fourier a função rectangular descrito por
(4,10).
A transformada de Fourier (4,11) tem sido provado ser extremamente útil quando se analisa os sinais eléctricos e circuitos.
Quando a transformada de Fourier é programado no processador de sinal digital, o integrante de (4,11) é implementado pela
adição de um número finito de amostras igualmente espaçadas no tempo. Em tais casos, o sinal de entrada discreto é definida
como
v [ k] = v ( t) δ ( t - kT S) com k = 0, 1, . . . , N - 1 (4.12)
Onde δ ( x) é a função delta de Dirac utilizado para a amostragem, T S é o período de amostragem e N é o número de
amostras a serem processadas. Neste sinal discreto, o produto NT S define a duração do padrão de repetição do sinal de
entrada e geralmente corresponde com T, o período do
Sincronização grade no monofásicos Conversores de Potência 49
1.5
0,5 1
- 0,5 0
- 20 / τ - -10
10 // tτ 0/t 10
10 // t τ 20
20 / t τ
ωω 0
componente de frequência fundamental. Portanto, a transformada de Fourier discreta (DFT) é definida pela seguinte
soma infinita:
Σ
V [n] = N - 1 v [ k] · e - j2 π k Nn com n = 0, 1, . . . , N - 1 (4,13)
k=0
Vale a pena lembrar que (4.13) não é uma decomposição, mas uma transformação, em que N
amostras igualmente espaçados no domínio do tempo são transformados em N valores complexos no domínio da frequência que
representam o sinal de entrada finito. A transformação inversa de Fourier discreta (IDFT) é definida como
N-1
Σ
v [ k] = 1 V [n] e j2 π n Nk
(4,14)
N
n=0
O DFT tem sido convencionalmente utilizado para identificar o conteúdo harmónico de tensões e correntes no sistema de
energia, principalmente com o propósito de cálculo do índice de qualidade de energia ou controlar sistemas de
condicionamento [4]. No entanto, a técnica DFT também pode ser aplicado para extrair o componente de frequência
fundamental da rede voltagewith o aimof sincronização conversores de potência para uma tal grelha [5]. Aplicações deste
método para o conversor de sincronização [6] e poder utilidade medição [7] têm sido relatados na literatura. Nesta técnica,
um erro de fase ocorre quando a amostragem da DFT trabalha de forma assíncrona à frequência fundamental grid.
Estratégias baseadas em análise de regressão polinomial [7] e a utilização de timevarying Fourier coe fi coeficientes [6]
Foram propostos estratégias como adequados para compensar este erro de fase.
Com base na simetria inerente dos cálculos complexos da DFT, um novo algoritmo de chamada transformada
rápida de Fourier (FFT) foi apresentada em 1965 [8]. No FFT, um matemático simplificação chamado dizimação
permite uma enorme redução da carga computacional de
50 Conversores de grade para fotovoltaica e eólica Power Systems
A carga computacional do algoritmo DFT apresentado em (4.13) é relativamente pesado, por isso não pode ser calculado
pelo controlador digital de um conversor de energia a cada período de amostragem - mesmo quando somente um
componente de frequência única da tensão de rede é computado. Por este motivo, uma formulação recursiva do algoritmo
DFT é convencionalmente utilizado [9, 10]. Neste algoritmo recursivo, o n componente de frequência th do sinal de entrada no
[ k S] instantânea é calculada a partir do valor do sinal de entrada no [ k S] instantâneas e o valor da n componente de frequência
th no [ k S - 1] instante. Para explicar como ele funciona, o algoritmo DFT é calculado no [ k S - 1] e [ k S] instantes, a fim de extrair
o n th harmónica do sinal de entrada:
Σ
V [n] ||| k S - 1 = k S - 1 v [ k] e - j2 π k Nn
(4,15)
k = kS - N
Σk S
V [n] ||| k S = v [ k] e - j2 π k Nn
(4.16)
k = kS - N + 1
É necessário lembrar que todas as transformadas de Fourier discretos apresentado nesta secção da haste a partir da
forma complexa da série de Fourier formulado por (4.9), a qual inclui frequências positivas e negativas. Levando-se em
conta que os valores complexos resultantes da transformada de Fourier são simétricas no que diz respeito à frequência
zero com metade da amplitude do correspondente n th harmónica, tal n ª harmônica pode ser reconstruído no domínio do
tempo por
v [ k] = 2 Nk
(4,19)
NV [n] e j2 π n
Sincronização grade no monofásicos Conversores de Potência 51
sin
uma
n
2N
1
z-
vk[] vk'[]
1
z-
N
z- bn
2N
kn
2π cos
N
Portanto, o RDFT pode ser aplicado para implementar uma discreta adaptativa passa-banda do filtro para extrair o n componente
de frequência th do sinal de entrada, como mostrado na Figura 4.3. A amplitude e a fase do ângulo de um componente tal
frequência pode ser calculada por (4,4). Como em todas as análises de Fourier discreta, o RDFT dá origem a erros de amplitude e
fase de ângulo estimationwhen o produto NT S não corresponde à frequência fundamental do sinal de entrada. Uma análise do erro
de fase que ocorre em condições assíncronos permite este inconveniente a ser resolvido através da implementação de um circuito
fechado de controlo adicional, que seja ajusta janela de amostragem para coincidir com a frequência de rede ou adiciona um
deslocamento para cancelar o erro de fase produzida pelo RDFT fase [11 ].
Um circuito fechado de bloqueio de fase (PLL) é um sistema em circuito fechado em que um oscilador interno é controlado para manter o
tempo de alguns sinal periódico externo através do circuito fechado de realimentação. Estamos muito acostumados a empregar este tipo de
sistema em nossas vidas diárias. Toda vez que ouço o rádio, nós sintonizar um oscilador interno para a frequência de um sinal de portadora
em que a nossa estação de rádio favorita está emitindo seus programas. Na verdade, estamos acostumados a trazer um oscilador local com
a gente - o nosso próprio relógio de pulso. Nós geralmente agendar nossas atividades diárias de acordo com os sinais fornecidos por alguns
relógio. Quando viajamos para outro país que experimentar com uma espécie de 'salto fase'. Uma das primeiras coisas que habitualmente
fazem ao chegar no novo local é para ajustar o nosso relógio de pulso para o novo horário local para que possamos seguir corretamente o
As técnicas PLL são amplamente utilizados em campos como comunicações, computadores e eletrônicos modernos. Podem gerar
frequências estáveis synchronizedwith eventos externos periódicas, recuperar os sinais relevantes a partir de fontes distorcidas ou
distribuir impulsos de relógio de temporização em sistemas de controlo complexos.
Um conversor de energia conectada à rede combina perfeitamente com a filosofia da PLL, uma vez que deve trabalhar em
harmonia com a grade. Deve-fase bloquear o seu oscilador interno a algum sinal de energia da rede em particular, a fim de gerar
um sinal de amplitude e fase interna-coerente que é usado por diferentes blocos do sistema de controlo. Os conversores de
energia ligado à rede primeiros foram baseados em ers recti fi controlado a silício. Estes conversores de energia oferecido um
baixo grau de controlo e foram sincronizadas para a rede através da detecção da passagem por zero da tensão da rede.
52 Conversores de grade para fotovoltaica e eólica Power Systems
O método de detecção de passagem por zero usa comparadores para a detecção de mudanças na polaridade da
tensão de rede. Esta técnica de detecção apresenta alguns inconvenientes, tais como a falta de precisão e a
detecção de várias passagens por zero no caso de tensão de rede distorcida. Tais desvantagens são ainda mais
importantes no caso de redes fracas - grades com uma alta impedância de grade - desde a sua tensão de rede está
propenso a ser notavelmente distorcida pelos harmônicos, comutação entalhes e ruído. Por esta razão, métodos ed
modi fi baseado em circuitos comparadores com histerese dinâmico [12], curve- fi tting [6] ou algoritmos fi ltragem
digitais preditivos [11] têm sido propostos na literatura para atrasos cancelamento na detecção de zero-crossing e
atenuar os efeitos adversos resultante do ruído de comutação e entalhes da tensão de rede.
Atualmente, conversores de energia conectadas à rede são baseados em dispositivos semicondutores de potência
modernos que operam em modo comutado - mesmo no nível de mega-conversores, que permitem um alto grau de controle.
sistemas de controlo síncronos avançada, contando com PLLs rápidos e precisos, são aplicados a estes conversores. Se um
controlador síncrono rotativo à frequência fundamental da rede é observado a partir de uma referência estacionário, uma
diferença relativa não é esperado que existe entre a frequência de ambas as variáveis internas do controlador e as variáveis de
grade fundamentais - o efeito das harmónicas é negligenciadas aqui. Portanto, as variáveis rede de CA parecer variáveis DC
para um controlador síncrono ajustado adequadamente. Como resultado, os controladores DC bem conhecidos pode ser usado
para regular magnitudes AC oscilando na freqüência fundamental grid, o que torna o processo de ajuste mais fácil. Além disso,
atrasos introduzidos pelos elementos que actuam como o modulador do conversor de potência e sensores podem ser
compensadas por apenas avançando o ângulo de fase detectada pelo PLL. Além disso, o PLL fornece informação contínua
sobre a fase-ângulo e amplitude da magnitude de interesse, geralmente a tensão fundamental grade, que permite que os
controladores e moduladores baseados espaço vetorial a ser implementado, mesmo quando se trabalha com sinais de fase
única.
A estrutura básica de um anel de bloqueio de fase (PLL) é mostrada na Figura 4.4. É composto de três blocos fundamentais:
o detector de fase ( PD). Este bloco gera um sinal de saída proporcional à diferença de fase entre o sinal de
entrada, v, e o sinal gerado pelo oscilador interno de
v ε pd v lf Tensão
Detector filtro de
oscilador
v'
de fase loop
controlado
PD LF VCO
o PLL, v '. Dependendo do tipo de PD, os componentes de CA de alta frequência aparecem em conjunto com o sinal de
diferença de ângulo de fase DC. o circuito de filtro ( LF). Este bloco apresenta uma low-pass fi ltragem característica para
atenuar os componentes AC de alta frequência a partir da saída PD. Tipicamente, este bloco é constituído por uma primeira
ordem de passagem baixa fi ltro ou um controlador PI. o -Oscilador controlado por tensão ( VCO). Este bloco gera na sua saída
um sinal AC, cuja frequência é deslocada em relação a uma dada frequência central, ω c, como uma função da tensão de entrada
é fornecida por o LF.
técnicas diferentes podem ser usadas para implementar cada um dos blocos que constituem um PLL. Uma revisão detalhada
destes blocos está fora do escopo deste livro, pois é necessário consultar a literatura especializada para aprofundar o
conhecimento sobre esta questão [13]. equações básicas que descrevem o comportamento de um PLL elementar será
desenvolvido a seguir.
O diagrama de blocos de um PLL primário é mostrada na Figura 4.5. Neste caso, o paládio é implementado por meio de um
multiplicador simples, o LF é baseada em um controlador PI e o VCO é constituído por uma função sinusoidal fornecido por
um integrador linear.
Se o sinal de entrada aplicado a este sistema é dada pela
Uma vez que os componentes do sinal de erro PD de alta freqüência será cancelada pela LF, apenas o termo de baixa
frequência será considerado a partir de agora. Portanto, o sinal de erro PD a ser considerado nesta análise é
εε̄ pd = Vk pd (4,23)
2 sin (( ω - ω ') t + ( φ - φ '))
Se for assumido que o VCO é assim sintonizado para a frequência de entrada, ou seja, com ω ≈ ω ', o termo DC do sinal de erro
de fase é dada por
εε̄ pd = Vk pd (4,24)
2 sin ( φ - φ ')
Pode-se observar na (4,24) que o PD multiplicador produz detecção de fase n linear, devido à função sinusoidal. No entanto,
quando o erro de fase é muito pequena, isto é, quando φ ≈ φ ', a saída do multiplicador PD pode ser linearizado na vizinhança
de um tal ponto de funcionamento, uma vez sin ( φ - φ ') ≈ pecado( θ - θ ') ≈ ( θ - θ '). Portanto, uma vez que a PLL é bloqueada, o
termo relevante do sinal de erro de fase é dado por
εε̄ pd = Vk pd (4,25)
2 ( θ - θ ')
Esta equação pode ser usada para implementar um modelo linearizado sinal fraco do PD multiplicador. No estado bloqueado, este
modelo representa um bloco de ordem zero, cujo ganho depende da amplitude do sinal de entrada.
)
ω̄ '= ( ω c + ¯
ω ω ') = ( ω c + k v co ¯ v lf (4,26)
Onde ω c representa a frequência central do VCO e é fornecido ao PLL como um parâmetro de feed-forward dependente
da gama de frequência a ser detectado. Portanto, pequenas variações de sinal na frequência VCO é dado pela
e as variações no ângulo de fase detectada pelo PLL pode ser escrito como
equações anteriores no domínio do tempo pode ser facilmente traduzido para o domínio de frequência complexa
usando a transformada de Laplace. Se considera-se que k pd = k vco = 1, a seguir
Sincronização grade no monofásicos Conversores de Potência 55
Θ E pd V lf 'Θ
• 1 • 1
k pd k •
p
1+ •• k VCO
T Eus • s
(( s) - '( s))
• detector de fase: E pd ( s) = V (4,29)
2
( )
• Loop de fi ltro: V lf ( s) = k p 1+1 ε pd ( s) (4,30)
T Eu s
'( s) = 1
• oscilador controlado por: (4,31)
s V lf ( s)
Portanto, o diagrama de blocos da figura 4.6 pode ser desenhada que descreve o modelo de sinal pequena do PLL. A
análise directa do presente sistema de circuito fechado (com k pd = k vco = 1 e
V = 1) dá as seguintes funções de transferência característicos: função de transferência de
fase em circuito aberto:
( 1 +1 )
kp T Eu s T Eu
F OL ( s) DP = (s) · LF (s) · VCO (s) = K no = k p s + kp (4,32)
s s2
T Eu
H θ ( s) = '( s) (4,33)
s + LF (s) = K p s +
( s) = LF (s) s 2K +p K p s + K p T Eu
ss + LP (s) s2
E θ ( s) = E pd ( s) = (4,34)
( s) = 1 - H θ ( s) = s 2 + K p s + Kp T Eu
funções de transferência anteriores permitem algumas conclusões preliminares a ser feita sobre o desempenho do PLL da
Figura 4.5. A função de transferência de circuito aberto de (4,32) mostra que este é um sistema PLL do tipo 2, com dois pólos na
origem, o que significa que ele é capaz de controlar, mesmo uma rampa de inclinação constante na entrada da fase angular, sem
qualquer estacionário erro de estado. Por seu lado, a função de transferência (4,33) revela que o PLL apresenta um passa-baixo
característica fi ltragem para a detecção da entrada da fase de ângulo, o que é uma característica muito interessante para atenuar
a detecção de erros causados pela possível de ruído e de alta em harmónicas de ordem
56 Conversores de grade para fotovoltaica e eólica Power Systems
o sinal de entrada. Estas funções de transferência de segunda ordem pode ser escrita de uma forma normalizada, tal como se segue:
n
H θ ( s) = 2 ζω n s + ω 2 (4,35)
s 2 + 2 ζω n s + ω 2 n
s2
E θ ( s) = (4,36)
s 2 + 2 ζω n s + ω 2 n
Onde
√
Kp
ωn= e ξ = √ K p T Eu
T Eu 2
A resposta dinâmica de um sistema de segunda ordem é estudada em diversos livros sobre sistemas de controlo. A expressão
aproximada que se segue é proposto na referência [14] para estimar o tempo de estabilização, t S, medido a partir da hora de início para o
tempo em que o sistema se mantém dentro de 1% da resposta em estado estacionário de um sistema de segunda ordem particular de
responder a uma entrada de passo:
Esta fórmula também pode ser usada para obter uma estimativa grosseira do tempo de estabilização de um sistema definido por (4,35), e,
consequentemente, os parâmetros de ajuste do controlador PI da PLL da figura 4.5 pode ser definida como uma função do tempo de
Vale a pena observar que as expressões em (4.38) são obtidos sob a suposição do sinal de entrada unitária, isto é, V
= 1. Caso contrário, essas expressões para definir os parâmetros de ajuste do controlador PI deve ser dividida pela
amplitude do sinal de entrada, V.
Além disso, como comentado na referência [14], as expressões resultantes de (4,37) deve ser tomado como guias e não
fórmulas precisas. Eles fornecem uma estimativa aproximada do tempo de resposta do sistema, mas deve finalmente ser
verificada, geralmente por meio de simulação, a fim de verificar se a hora especi fi cações forem cumpridas.
A Figura 4.7 mostra alguns lotes representativos que descrevem o desempenho da PLL da Figura 4.5 quando a
sincronização com um 100 V pico rede monofásica afetada por ambos um salto phaseangle (+45 ◦) e um salto de
frequência (50-45 Hz) a t = 100 ms. Neste caso, o tempo Settle foi definido para t S = 100 ms com ξ = 1 / √ 2.
Figura 4.7 (a) mostra a tensão de rede, Figura 4.7 (b) a frequência da rede real em traço negrito e a frequência
estimada pela PLL em traço fino, Figura 4.7 (c) o ângulo de fase estimados e Figura 4.7 (d) a erro cometido na
estimativa de ângulo de fase, θ - θ '. Pode-se observar nesses terrenos que um erro de estado estacionário oscilatório é
feita na estimativa da frequência e fase do ângulo da tensão de entrada. Este erro é uma conseqüência do termo de
alta frequência
Sincronização grade no monofásicos Conversores de Potência 57
200
100
(uma) 0
- 100
- 200
400
300
(B) 200
v [V]
100
(C) 4
ω′ [ rad/s]
0,5 1
(D)
- 0,5 0
θ′ [ rad]
-1
0 100 200 300
t [ms]
existente na saída do multiplicador PD - ver (4,22). A amplitude deste erro oscilatório pode ser atenuado através da
criação de cada vez mais se contentar com o PLL, o que equivale a diminuir a largura de banda do sistema. Em um
θ-θ′ [ rad]
[ 1 + 2 ξ 2 + √ ( 1 + 2 ξ) 2 + 1] 1/2
ω - 3 dB = ω n (4,39)
Parcelas de Figura 4.7 con fi rmar que o PLL atinge uma resposta de estado estável, dentro de uma determinada margem de erro,
depois de um tempo de assentamento perto de 100 ms. Para reduzir a magnitude do erro assentamento só é necessário para aumentar o
número de vezes constantes em (4.37).
58 Conversores de grade para fotovoltaica e eólica Power Systems
textos especializados propor vários parâmetros-chave para descrever o desempenho de um PLL. De acordo com a referência [13],
os principais parâmetros de chave pode ser resumido como:
A faixa de retenção ω H é a gama de frequências em que um PLL é capaz de manter estaticamente de bloqueio de fase. É
calculado como
ω H = K pd K VCO LF ( 0) (4,40)
Onde LF ( 0) é o ganho CC do filtro de lacete fi. Para um controlador PI, LF ( 0) = ∞ eo intervalo de espera é limitado apenas pela
faixa da VCO frequência. A gama de puxar para dentro ω P é a faixa de freqüência em que um PLL sempre ficou bloqueada, mas o
processo pode tornar-se bastante lento. Este intervalo tende para infinito para o ciclo fi ltro PI. O tempo que a PLL tem de ser
bloqueado, quando um processo de puxar para dentro ocorre depois de uma variação da frequência de entrada, ω no, pode ser
calculada como
ω no
2
TP≈ π2 (4,41)
16 ξω 3n
O intervalo de bloqueio ω eu é a gama de frequências dentro da qual um PLL bloqueia dentro de uma nota-batida única entre a
frequência de referência e a frequência de saída. A faixa de bloqueio para o filtro PI circuito fi pode ser aproximado
√
kp
ω eu ≈ 2 ξω n ≈ 2 ξ (4,42)
T Eu
T eu ≈ 2 π (4,43)
ωn
A gama de pull-out ω PO é o limite dinâmico para um funcionamento estável de um PLL. Se o rastreamento é perdida dentro dessa faixa, a
PLL irá tornar-se novamente depois de um tempo mais longo do que o lock-tempo, mas inferior ao tempo de pull-in phase-locked. Esta
ω PO ≈ 1.8 ω n ( ξ + 1) (4,44)
Como mostrado na secção anterior, a largura de banda do PLL de fase única da Figura 4.5 deve ser muito baixo quando
aplicado na detecção de parâmetros de sinal de energia em uma aplicação de consulta-ligado, a fim de suavizar as
oscilações suficientes na frequência detectado e de fase ângulo. Além disso, o PLL de Figura 4.5 apresenta uma
desvantagem adicional relativa ao cálculo dos seus parâmetros-chave quando usado para aplicações ligadas à rede. A
Figura 4.8 mostra a prevista
Sincronização grade no monofásicos Conversores de Potência 59
frequência e fase angular durante o processo de puxar para dentro, que ocorre quando a tensão de rede de 50 Hz é
subitamente aplicada à entrada do PLL da Figura 4.5 com nenhuma frequência central fornecido ao VCO, ou seja, com ω o = 0.
Os parâmetros de ajuste da PLL foram ajustados para manter um tempo settle de t s = 100 ms com ξ = 1 / √ 2.
De acordo com (4.41), o pull-in momento desta PLL deve ser 312,7 ms. No entanto, este tempo é de cerca de 2s nas
parcelas mostrados na Figura 4.8. Esta diferença entre o calculado pull-no tempo e o observado na simulação também
afeta o resto dos parâmetros-chave do PLL. Face a estes resultados, pode-se questionar a confiabilidade das fórmulas
apresentadas na seção anterior para calcular os parâmetros-chave do PLL. Vale dizer que essas fórmulas estão corretas.
No entanto, eles foram obtidos de uma forma simplificada, após algumas hipóteses. Um destes pressupostos era que a
frequência do sinal a ser progressivamente-bloqueado é muito maior do que a largura de banda do PLL. Sob este
pressuposto, a duração do sinal de erro de fase é fornecida por o PD multiplicador de alta frequência pode ser
negligenciado quando a resposta dinâmica dominante do PLL é estudada. Numa aplicação conectada à rede, no entanto,
a frequência de rede é muito próxima da frequência de corte do PLL. Quando o PLL é bloqueado, as oscilações de alta
frequência no sinal de erro de ângulo de fase são apenas duas vezes a frequência de entrada. Por exemplo, na simulação
da Figura 4.8, a largura de banda PLL resultante da - 3 dB frequência de corte de (4,33) estava ω - 3 dB = 21,3 Hz, enquanto
as oscilações a ser cancelado pelo LF eram de 100 Hz - duas vezes a frequência da rede, o qual foi de 50 Hz. Com estas
frequências muito próximas, a suposição sobre um cancelamento completo do termo de (4.22) de alta frequência pela LF
não pode mais ser aceito como uma hipótese válida. Por conseguinte, um novo TP, diferente para o PD simples
multiplicador da Figura 4.5, deve ser utilizada na concepção de um PLL para aplicações ligadas à rede eléctrica, a fim de
cancelar a oscilações ao dobro da frequência de rede no sinal de erro de ângulo de fase.
A Figura 4.9 mostra uma PD com base em um conjunto de sinais em-quadratura. O gerador de sinais de quadratura (QSG) desta
figura é suposto a ser ideal, ser capazes de extrair um conjunto limpo de sinais em quadratura, sem introduzir qualquer atraso em
qualquer frequência a partir de um determinado sinal de entrada distorcida.
400
300
(uma) 200
100
0
8
4
(B)
2
0
0 0.5 1 1.5 2 2.5
t [s]
ω′ [ rad/s]
V sin( ω tφ+ )
cos()
PD
LF VCO
V sin( ω tφ+ ) εpd
Quadrature • 1 • v lf ω′ 1 θ′
+ Signal k p• 1 + ••
Generator T is • s
∑V k
sin( kω
t φ+ k
) ωc
k
sin()
V cos( ω tφ+ − )
The phase-angle error signal resulting from this ideal in-quadrature PD is given by
According to this equation, when the PLL is well synchronized, i.e. with ω = ω ′, the inquadrature PD does not
generate any steady-state oscillatory term, which allows the PLL bandwidth to increase and overcomes
aforementioned discrepancies regarding calculation of the PLL key parameters.
As an example, the PLL with the in-quadrature PD of Figure 4.9 is used to synchronize to a 100 V peak/ 50 Hz
single-phase grid. This PLL was tuned to have a settle time of t S = 100 ms and ξ = 1/ √ 2. The frequency estimated by
such a PLL during the pull-in process with ω c = 0 is shown in Figure 4.10(a), where it can be observed that the pull-in
time matches so well the 312.7 ms obtained from (4.41). In this example, the lock range and the lock time can be
calculated from (4.42) and (4.43) respectively, being ω L ≈ ± 92 rad/s and T L ≈ 96 ms. Figure 4.10(b) shows the
transient response of the frequency detected by the PLL of Figure
4.9 when the input frequency experiences a negative jump of 62.8 rad/s, which is within the frequency lock range. As
can be observed in this figure, the settle time of the detected frequency signal matches with the lock time previously
calculated. Therefore, it can be concluded that the in-quadrature PD makes possible to design a grid synchronization
PLL according to the general design rules applied to PLLs used in other fields.
A review of the trigonometric expression of (4.45) reveals that this is a part of the Park transformation, which is
defined by the equation A.19 in Appendix A. Therefore, the diagram of Figure 4.9 can be redrawn as shown in Figure
4.11, where the αβ to dq transformation block responds to the following transformation matrix:
[ v d ] = [ cos( θ ′) ] [ vα ]
sin( θ ′)
(4.46)
vq − sin( θ ′) cos( θ ′) vβ
Grid Synchronization in Single-Phase Power Converters 61
400
300
(a) (b)
200
100
320 400
- 100 0
0 100 200 300 400 0 100 200 300 400 0 80 160 240
t [ms] t [ms]
In Figure 4.11 the voltage-controlled oscillator (VCO) has been removed and a new block called theω′ [ rad/s]
frequency/phase-angle generator (FPG) has been added to provide the phase-angle for the sinusoidal functions of
the Park transformation, which can be considered a sort of synchronous phase detector (PD).
the output signals from the quadrature signal generator (QSG) can be expressed by the following voltage vector:
]=V [ sin( θ) ]
v( αβ) = [ v α (4.48)
vβ − cos( θ)
LF FPG
PD
vd vf θ′
vα • 1 • ω′ 1
αβ k •1+
p ••
v Quadrature T is • s
Signal ωc
Generator
vβ vq
dq
θ′
Figure 4.11 PD based on the quadrature signal generator and the Park transformation
62 Grid Converters for Photovoltaic and Wind Power Systems
Therefore, by substituting (4.48) into (4.46), the output of the PD of Figure 4.11 is given by the voltage vector of the
following equation, which will be free of oscillations if the PLL is well tuned to the input frequency, i.e. when ω ≈ ω ′:
]=V [ sin( θ − θ ′) ]
v( dq) = [ v d (4.49)
vq − cos( θ − θ ′)
The use of a QSG in the PLL of Figure 4.11 allows a vector approach to be adopted when dealing with a
single-phase system. In Figure 4.12, the QSG output signals of (4.48) are represented on an orthogonal and
stationary reference frame defined by the αβ axes, which gives rise to the virtual input vector v. Likewise, the output
signals of the Park transformation are represented by the projections of the voltage vector v on an orthogonal and
rotating reference frame defined by the dq axes. If the input voltage is defined by v α = V sin( θ), it can be understood as
the projection of the input voltage on the stationary α axis. On the other hand, the angular position of the dq rotating
reference frame, θ ′, is given by the PLL. When the PLL is well tuned to the input frequency ( ω ≈ ω ′), the virtual input
vector and the dq
It is worth highlighting at this point that, thanks to the QSG, the vector interpretation of a single-phase system
gives way to thinking about virtual current vectors, which, interacting with a virtual grid voltage vector, will allow
regulation of the active and reactive power delivered into a single-phase grid by a power converter. In further
explanations in this book,
v αV =sin( )θ
vβ v
q θ′
vq vd
d
vα
θ
PD
vα vd = =v V
v in Quadrature αβ LF FPG
Signal θ θ ′≡ − π
Generator
vβ
dq
vq • 1 • vf ω′ 1 2
k p• 1 + ••
T is • s
ωc
θ′
it will be assumed that the LF is connected to the v q output of the PD and, hence, any current vector lying on the d axis
of a grid-synchronized dq rotating reference frame will deliver active power into the grid, whereas any current vector
on the q axis will deliver reactive power.
Taking into consideration the importance of the QSG in the design of PLLs applied to synchronize with single-phase
grids, some relevant techniques to achieve a set of inquadrature signals, images of the measured single-phase grid
voltage, will be presented in the following.
LF FPG
PD
v vα vq
• 1 • vf ω′ 1 θ′
k p• 1 + ••
αβ
T is • s
ωc
vβ ′ vd
Delay
dq
T/4 v in
θ′
The QSG based on the T/ 4 transport delay buffer works well if the input voltage is a purely sinusoidal waveform at
the rated grid frequency. If the grid voltage frequency changes in respect to its rated value, the output signals of the
QSGwill not be perfectly orthogonal, which will give rise to errors in the PLL synchronization.
This QSG technique does not provides any filtering capability, so if the single-phase input voltage is polluted by
harmonic components, they will act as a perturbation for the PLL. Moreover, the orthogonal signals generated by the
QSG based on a T/ 4 transport delay block will not be really in-quadrature, since each of the frequency components
of the input signal had to be delayed by one-fourth of its fundamental period.
1. It shifts ± 90 ◦ the phase-angle of the spectral components of the input signal depending
on the sign of their frequency. It is necessary to remember that positive and negative frequencies are considered
in the Fourier analysis.
2. It only affects the phase of the signal and has no effect on its amplitude at all.
Therefore, as presented in reference [15], a PLL based on the Hilbert transform can be straightforwardly
implemented, as shown in Figure 4.15.
The time domain expression of the Hilbert transform of a given input signal v is defined as
∫∞
v(τ )
H( v) = 1 (4.50)
π t−τdτ=1 πt∗v
−∞
which describes the convolution product of the function h(t) = 1/ π t with the signal v( t).
LF FPG
PD
v vq
vα • 1 • vf ω′ 1 θ′
αβ k •1 +
p ••
T is • s
ωc
vβ ′ vd
H v( ín
) dq
v in
Hilbert
θ′
transform
)
F( H( v)) = F ( 1 F( v) = [ − j sign( ω)] F( v) (4.51)
πt
where F denotes the Fourier transformand sign( ω) gives the sign of the v frequency. Therefore, in the frequency
domain, the Hilbert transform can be understood as a multiplier operator
σ H ( ω) = − j sign( ω), which can take the following values:
••
−j for ω > 0 0 for ω
σ H ( ω) = =0 (4.52)
•
+ j for ω < 0
Thus, the Hilbert transform has the effect of shifting the phase-angle of positive frequency components by − 90 ◦. This
can easily be proved by calculating the Hilbert transform of the Euler’s formula, i.e.
∫∞
e j ωτ
H ( e j kt ) = 1 (4.53)
π t − τ d τ = − j ejωt | ω> 0
−∞
( ejωt− e−jωt )
H ( sin( ω t)) = H = − ejωt+ e−jωt = − cos( ω t) (4.54)
2j 2
and the subsequent application of the Hilbert transform will generate a cyclical series of in-quadrature sinusoidal
functions as follows:
The Hilbert transform of (4.50) involves convolution of v with h(t) = 1/ π t , which is a noncausal filter and therefore
cannot be practically realizable in its current form if v is a time-dependent signal. In many cases, a practical
implementation of the Hilbert transform implies that a finite impulse response (FIR) filter, which in addition is made
causal by setting a suitable delay, is used to approximate the computation [16]. However, some works have been
published for the design of infinite impulse response (IIR) Hilbert transformers as well [17]. Moreover, these
approximations can also allow selection of a specific frequency range of interest, removing low and high frequencies,
to be subject to the characteristic phase shifting related to the Hilbert transform.
LF FPG
PD
v vq θ′
vα • 1 • vf ω′ 1
k p• 1 + ••
αβ
T is • s
ωc
vβ ′ vd
dq
v in
θ′
vα ′ vq
αβ LPF
vβ ′ vd
dq
LPF
synchronous reference frame. For a given angular position, the Park transform matrix defined by (4.46) is a linear
transformation that can easily be inverted as follows:
] = [ cos( θ ′) − sin( θ ′) ] [ vd ]
v( αβ) = [ v α (4.56)
vβ sin( θ ′) cos( θ ′) vq
Therefore, an in-quadrature image of a single-phase input signal can be achieved by introducing a filter in a loop
consisting of the direct and inverse Park transformations, as presented in reference [16] and shown in Figure 4.16.
Although a detailed analysis of this loop is presented in the following, an intuitive explanation of its operation principle
can be given if it is assumed that the PLL is well tuned to the input signal frequency. Under such operating conditions,
if v α
and v ′ β are not in-quadrature, the virtual input vector resulting from these signals will have neither constant amplitude
nor rotation speed. Therefore, the v d and v q waveforms resulting from the direct Park transformwill have oscillations.
These oscillations will be attenuated by a lowpass filter (LPF), giving rise to the ¯
v d and ¯ v q signals. Therefore, the v ′ α and v ′ β signals resulting
from applying the inverse Park transform to ¯ v d and ¯ v q will be in-quadrature, though v α and v ′ α
will not be in-phase if the PLL is not perfectly synchronized. As the PLL locks the phase-angle of the input signal, v α will
become both in-phase with v ′
α and in-quadrature with v ′ β.
To analyse the QSG of Figure 4.16, we will start by writing the Park transform of (4.46) in terms of the Euler
formula, with θ ′ = ω ′ t , as follows:
By using the Laplace transform, (4.57) can be written in the complex-frequency domain as
[ V d ( s) V] =q 1 [( V α( s + j ω ′) + V α( s − j ω ′)) − j( V ′ ]
β( s + j ω ′) − V ′ β( s − j ω ′))
(4.58)
( s) 2 j( V α( s + j ω ′) − V α( s − j ω ′)) ( V β(′ s + j ω ′) + V ′ β( s − j ω ′))
Grid Synchronization in Single-Phase Power Converters 67
Therefore, the signals to be applied to the input of the inverse Park transform are given by
[¯ ]=ωf [ V d ( s) V] q
V d ( s)
(4.59)
V¯ q ( s) s+ωf ( s)
where it is assumed that LPF is a first-order low-pass filter with cut-off frequency ω f .
The inverse Park transform can be written in terms of the Euler formula as
]=1 [ ( e j ω′t + e − j ω′t ) ][ ¯ ]
α
j ( e j ω′t − e − j ω′t ) vd
v ′( αβ) = [ v ′ ( e j ω′t + e − j ω′t ) (4.60)
v β′ 2 − j ( e j ω′t − e − j ω′t ) vv̄ q
A lengthy but entertaining academic exercise is to substitute (4.59) into (4.61) to arrive at the following transfer
function:
V β′ k ω′2
( s) = k=ωf (4.62)
Vα s 2 + sk ω ′ + ω ′ 2 ; ω′
v α′ = 1 β and thus V ′ α( s) = s β
(4.63)
ω′dd t v′ ω′V ′
V α′ sk ω ′
( s) = k=ωf (4.64)
Vα s 2 + sk ω ′ + ω ′ 2 ; ω′
The transfer functions of (4.62) and (4.64) describe the performance of the QSG based on the inverse Park
transform. It simultaneously acts as a second-order band-pass filter ( v α to
v α)
′
and a low-pass filter ( v α to v ′ β). The centre frequency of these filters, ω o, is given by the
rotation speed of the dq synchronous reference frame whereas the damping factor, ξ , is given by the k factor, being k = 2
ξ . Figure 4.17 shows the frequency response of these two transfer functions in the case where ω o = 2 π · 50 rad/s and ω f
= 2 π · 70.7 rad/s, which results in an optimal response with ξ = 0.707. It can be observed in this figure how v ′
Vαs′ V
()
0 10
V βs′ V
Vαs′ V
α
()
- 10
()
α
180 α
- 20
- 30 0 90
V βs′ V
- 40 ()
- 90
α
- 50
- 60 - 180
10 0 10 1 50 10 2 10 3 10 0 10 1 50 10 2 10 3
Frequency (Hz) Frequency (Hz)
Figure 4.17 Frequency response of the QSG based on the inverse Park transform with ω ′ = 2 π · 50 rad/s and ω f = 2 π · 70.7 rad/s
Phase (degrees)
Magnitude (dB)
400
vα ′ v ′β
ω′
300
150
ω
(a) (b) 200
0 75
- 75 100
- 150 0
0 50 100 150 200 0 50 100 150 200
t [ms] t [ms]
θ θ′
v α ′, v β ′ [ V]
vd
ω′ [ rad/s]
150
(c) (d) 4
100
vq
2
0 50
- 50 0
0 50 100 150 200 0 50 100 150 200
t [ms] t [ms]
Figure 4.18 Response of the inverse Park transform PLL in the presence of a phase jump in the input signal: (a) in-quadrature
signals generated by the QSG, (b) detected frequency, (c) signals in the synchronous reference frame and (d) detected
v d, v q [ V]
θ′ [ rad]
phase-angle
Grid Synchronization in Single-Phase Power Converters 69
in the steady state, whereas the v q signal is made equal to zero by the action of the PI controller of the LF. Figure
4.18(d) shows the phase-angle detected by the PLL, which is 90 ◦ lagged with respect to the phase-angle of the input
voltage in the steady state. This 90 ◦ lagging can be appreciated in the vector diagram of Figure 4.12 for the case when
the d axis rotates in unison with the virtual voltage vector v.
A conventional filter is designed to attenuate a given range of frequencies. The digital implementation of the transfer
function of such a filter gives rise to a mathematic algorithm with a series of static coefficients, which are usually set
in the design time. In contrast, an adaptive filter is a filter that has the ability to adjust its own parameters
automatically according to an optimization algorithm, and their design requires little or no a priori knowledge of the
signal to be filtered [18]. In general terms, the optimization algorithm involves the use of a cost function, which sets
the performance of the filter (e.g. minimizing a particular noise component of the input) to determine how to modify
the filter coefficients to minimize the cost on the next iteration. Adaptive filters have been applied in many control and
communication fields, such as systems identification, adaptive and predictive controllers, channel equalization and
noise cancellation.
A basic diagram describing the adaptive noise cancelling (ANC) concept is shown in Figure
4.19. In this diagram, the signal to be filtered is applied to the input v. This input signal consists of a primary signal s plus
a noise n 0 uncorrelated to the signal s. An auxiliary reference signal
n 1, correlated to the noise signal n 0, is applied to the input x. The reference signal n 1 is adaptively filtered to produce an
output signal v ′ that is as close a replica as possible of n 0.
This output signal v ′ is subtracted from the primary input v to produce the output signal e. As a result, the primary
noise n 0 is eliminated by cancellation. When the ANC technique is used to cancel out specific frequency components
of the input signal, this filtering concept is also called adaptive notch filtering (ANF) [19].
In the digital implementation of an ANC filter, the reference signal x is sampled at a proper sampling period T S and
stored in an N- length buffer to generate the reference vector x.
Therefore, at the k th sample, i.e. at the time t = kT S, the reference vector is given by
x k = [ x k, x k − 1, . . . , x k − N ]. The elements of the x k vector are weighted and summed to give the adaptive filter output v ′
k. The most extended adaptation algorithm used to set the weights
v e
x Adaptive v′
filter
vk εk εk
v k′ wk w k+ 1
z−
1
α
TS
xk Forward Euler Integrator S z( ) = −k intz
1
Figure 4.20 Diagram of the LMS algorithm with one adaptive weight in an ANC system
of the adaptive filter, w k = [ w k, w k − 1, . . . , w k − N ], is the least-mean-squares (LMS) algorithm [18]. A simple version of the LMS
algorithm at the time k can be given by the following equations:
v k′ = w T k· xk (4.65)
ek= vk− v′ k
(4.66)
w k+ 1 = w k + α e k x k (4.67)
The LMS algorithm is an iterative gradient-descent algorithm that uses an estimate of the gradient on the
mean-square error surface to seek the optimum weight vector at the minimum mean-square error point. The term e k ·
x k represents the estimate of the negative gradient and the adaptation gain α determines the step size taken at each
iteration along that estimated negative-gradient direction. A schematic representation of a very simple LMS algorithm
with only one weight ( N = 1) is shown in Figure 4.20. It is worth realizing in this figure that the highlighted area
matches a forward Euler discrete integrator S(z) affected by a gain k int, being
α = k int T S.
PD LF VCO
Adaptive Notch Filter
v ε
ε pd
• 1 • vf ω′ 1 θ′
k p •1 + ••
T is • s
1 ωc
v′ k
s sin
x x
− cos
150 100
(a) (b)
75 0 50
– 75 0 - 50
– 150 - 100
0 100 200 300 0 100 200 300
t [ms] t [ms]
400
ε pd
v [V]
300 0.5 1
200
(c) (d)
100 - 0.5 0
0 -1
0 100 200 300 0 100 200 300
t [ms] t [ms]
Figure 4.22 Response of the EPLL in the presence of a phase jump in the input signal: (a) input signals
θ-θ′+π/ 2 [rad]
v, ( b) phase detector output ε pd and (c) detected frequency ω ′ and (d) error in phase-angle detection
ω′ [ rad/s]
θ − θ ′ + π/ 2
72 Grid Converters for Photovoltaic and Wind Power Systems
(in thick continuous line) are overlapped on the waveforms resulting from the conventional PLL of Figure 4.5 (in thin
dashed line) when the input signal v experienced both a phase-angle jump (+45 ◦) and a frequency jump (from 50 to
45 Hz) at t = 100 ms. As can be appreciated in Figure 4.22(b), the output signal of the multiplier PD of the
conventional PLL presents steady-state oscillations at twice the grid frequency. Consequently, as shown in Figure
4.22(b) and (c), these oscillations are present on the detected frequency and phase-angle as well. In the EPLL,
however, the ANF progressively makes zero the input signal of the multiplier PD as the PLL becomes synchronized.
Therefore, as shown in Figure 4.22(b) in thick line, the output of the multiplier PD is equal to zero in the steady state
and, as shown in Figure 4.22(b) and (c), the detected frequency and phase-angle are free of oscillations after a
transient period.
[ e j ω′t + e − j ω′t ]
v d = g cos ( ω ′ t) = 1 (4.68)
2g
[ e j ω′t − e − j ω′t ]
v q = g sin ( ω ′ t) = 1 (4.69)
j2g
The A d and A q variables, which correspond to the output of the integrators for v d and v q ,
can be expressed in the Laplace domain as
ANF
εk εk
vk
v k′
v1′k w1k w 1+k1
z−
1
α
x1 k
sin
v 2′ k w2k w 2+k1
ω′
∫ z− α
1
ω′ t
x2 k
cos
(a)
vq Aq v q′
∫
v εv sin
v′
k k εv
cos
vd Ad v d′
∫
ω′
ω′ t
∫
AF
(b)
Figure 4.23 ( a) ANF based on an LMS algorithm with two adaptive weights and (b) diagram of a second-order AF on the
continuous time domain
Likewise the Laplace transforms for the v ′ d and v′ q, variables are given by
[ A d ( s + j ω ′ t) + A d ( s − j ω ′ t)]
v d′ ( s) = 1
2
1 4( s + [j g(s)
ω + g(s + 2j ω ′)] + 1 4( s − j[ g(s) + g(s − 2j ω ′)]
= (4.72)
′) ω ′)
[ A q ( s + j ω ′ t) − A q ( s − j ω ′ t)]
v q′ ( s) = 1
2j
1 4( s + [j g(s)
ω − g(s + 2j ω ′)] + 1 4( s − j[ g(s) − g(s − 2j ω ′)]
= (4.73)
′) ω ′)
74 Grid Converters for Photovoltaic and Wind Power Systems
s s 2 + ω ′ 2 g(s)
v ′( s) = v ′ d( s) + v ′ q( s) = (4.74)
s s2+ ω
AF(s) = v ′ ( s) = (4.75)
k εv ′2
Hence, the response of the system of Figure 4.23(b) is defined by two second-order transfer functions, i.e. an
adaptive band-pass filter (ABPF) and an adaptive notch filter (ANF), as follows:
ks s 2 + ks + ω
ABPF(s) = v ′ (4.76)
v ( s) = AF(s)
1 + AF(s) = ′2
ANF(s) = ε v (4.77)
v ( s) = 1 − ABPF(s) = s 2 + ω ′ 2 s 2 + ks + ω ′ 2
The band-pass filtering characteristic of the adaptive filter of Figure 4.23(b) suggests that it is possible to extract a
particular component at the frequency of interest ω ′ even if the input signal v ′ is affected by distortion. Moreover, as
shown in Figure 4.24, this system can be used as a quadrature signal generator (QSG) by just adding a scaled
integrator at the output of the adaptive filtering structure of Figure 4.23(b). In this system, the signals v ′ and q v ′ are 90 ◦
shifted. Therefore, they can be applied to the input of any phase detector based on QSG to improve the performance
of the conventional single-phase PLL.
v ε v′ qv′
∫
v
k AF
ω′
ω′
0.05
1
t
ω′
2
0.025
10- 3
-2024x - 0.025 0
-4 - 0.05
0 25 50 75 100 0 25 50 75 100
t [ms] t [ms]
Figure 4.25 Response of the GI ( ω ′ = 2 π · 50 rad/s) with: (a) unitary step input and (b) unitary sine/cosine input ( ω = 2 π · 50 rad/s)
GI
GI
observed in this figure, the system acts as an amplitude integrator for both sinusoidal input signals. For this reason,
the system with the transfer function given by (4.75) is also referred as a ‘sinusoidal integrator’.
In the following, a more detailed analysis of this response of Figure 4.25(b) is conducted. As known, the Laplace
transforms of the sine and cosine functions are given by
Therefore, the time response of the systemcharacterized by (4.75) in the presence of sinusoidal inputs is given by
( ω′ )
s s2+ ω
L −1 =1 (4.80)
s2+ ω′2 ′2
2 t sin( ω ′ t)
( s s2+ ω′2 ) [ sin( ω ′ t) ]
s s2+ ω
L −1 =1 + t cos( ω ′ t) (4.81)
′2
2 ω′
As evidenced in (4.81), the system with the transfer function (4.75) does not act as an ideal amplitude integrator
for any kind of sinusoidal input signal with frequency ω ′ but, depending of the phase-angle of the input signal, its
output contains a steady-state error – related to the step response previously noted. However, the amplitude of this
error is low enough to be considered negligible in most of the applications, which is why the system defined by the
transfer function given by (4.75), multiplied by 2, is commonly known as the generalized integrator ( GI). A detailed
study about this issue can be found in [21].
76 Grid Converters for Photovoltaic and Wind Power Systems
v εv k εv v′
k ∫
GI
qv ′ ∫
ω′ 2
(a)
v εv k εv v′
k ∫
SOGI
qv ′ ∫
ω′
(b)
Figure 4.26 ( a) Second-order AF based on a GI and (b) second-order AF based on an SOGI (SOGI-QSG)
As the transfer function of the GI provides an infinite gain at the resonance frequency, it allows any steady-state
error to be cancelled when controlling sinusoidal signals at such resonance frequency. This interesting feature
makes the GI the core of so-called proportionalresonant controllers [22, 23].
As previously shown, the AF structure of Figure 4.23 gives rise to the transfer function of (4.75). However, this is
not the only way to implement a GI, for there exist other solutions as reported in the literature, different direct discrete
realizations of this resonant system can be used to reduce its computational burden [21, 24]. Figure 4.26(a) shows a
diagram of a second-order AF based on very efficient implementation of the GI. The resonant structure forming the
GI of Figure 4.26(a) has been used in different systems for grid monitoring and synchronization purposes [25–28].
The characteristic transfer functions of the adaptive filter of Figure 4.26(a) are given by
s s2+ ω
GI(s) = v ′ ( s) = (4.82)
k εv ′2
ks s 2 + ks + ω
D(s) = v ′ (4.83)
v ( s) = ′2
k ω′2
Q(s) = q v ′ (4.84)
v ( s) = s 2 + ks + ω ′ 2
Grid Synchronization in Single-Phase Power Converters 77
As expected, the transfer function of (4.82) for the GI is identical to that of (4.75) for the AF. However, the GI
implementation of Figure 4.26(a) is much simpler than the AF structure of Figure 4.23. The GI does not uses
sine/cosine functions, which typically require large lookup tables that increase computation time and introduce
additional quantization noise into the discrete system.
Moreover, as evidenced by the transfer functions of (4.83) and (4.84), the adaptive filtering structure of Figure
4.26(a) generates two 90 ◦ shifted output signals, v ′ and q v ′, which makes it suitable for implementation of a PLL based
on in-quadrature signals generation. These transfer functions also indicate that the bandwidth of the band-pass filter
given by (4.83) and the static gain of the low-pass filter of (4.84) are not only a function of the gain k but also depend
on the centre frequency of the filter, ω ′. This issue can become an inconvenience when designing variable-frequency
systems, as is the case of a PLL. This problem can be overcome by modifying the flow diagram of the adaptive
filtering system [27, 28]. Another very straightforward solution can be obtained by modifying the structure of the GI
itself. The alternative sinusoidal integrator is known as the second-order generalized integrator
(SOGI) [29] to differentiate it from the conventional GI. The adaptive filtering structure based on the SOGI is shown in
Figure 4.26(b) and its characteristic transfer functions are given by:
SOGI(s) = v ′ ( s) = ω ′ s (4.85)
k εv s2+ ω′2
k ω′ s s2+ k ω′ s
D(s) = v ′ (4.86)
v ( s) = + ω′2
k ω′2
Q(s) = q v ′ (4.87)
v ( s) = s2+ k ω′ s + ω′2
These transfer functions show that the bandwidth of the SOGI-based adaptive filter is not a function of the centre
frequency ω ′ but only depends on the gain k, which makes it suitable for variable-frequency applications. Moreover, the
amplitude of the in-quadrature signals, v ′ and
q v ′, matches the amplitude of the input signal v when the centre frequency of the filter, ω ′,
matches the input frequency, ω. Therefore, if by some mechanism it is provided that ω ′ = ω,
the SOGI-based filtering structure of Figure 4.26(b) may be considered a very suitable method for quadrature signal
generation (QSG). This is the reason why this system was named the SOGI-QSG in reference [29].
To evaluate the time response of the SOGI-QSG of Figure 4.26(b) a sinusoidal input signal
v = V sin( ω t) is applied to its input. Hence, if it is assumed that ω = ω ′, the output signals of the adaptive filter defined
by the transfer functions (4.86) and (4.87) are given by
√ 1 − ( k/ 2) 2 t )
V
v′= − √ 1 − ( k/ 2) 2 sin ( ω e − k ω2 t + V sin( ω t) (4.88)
√ 1 − ( k/ 2) 2 t − ϕ )
V
q v′= − √ 1 − ( k/ 2) 2 cos ( ω e − k ω2 t − V cos( ω t) (4.89)
78 Grid Converters for Photovoltaic and Wind Power Systems
v ′ qv ′
150
0 75
- 75
tS
- 150
0 20 40 60
t [ms]
where
k/ 2
ϕ = arctan √ 1 − ( k/ 2) 2
As proposed in reference [14], the settling time for a second-order system can be roughly estimated by t S = 4.6 τ . Therefore,
since τ = 2/ k ω ′ in (4.88) and (4.89), the gain of the SOGI-QSG can be calculated for a given settling time as
k = 9.2 (4.90)
tS ω′
Figure 4.27 shows the waveforms of (4.88) and (4.89) when the SOGI-QSG parameters are
k = √ 2 and ω ′ = ω = 2 π · 50 rad/s. In this case, the settling time is around 20 ms, which matches the value obtained
from(4.90). It isworth noting that a gain k = √ 2 implies a damping factor ξ = 1/ √ 2, which roughly results in an optimal
relationship between the settling time and overshooting in the dynamic response.
Figure 4.29 shows the response of the SOGI-PLL of Figure 4.28 when the 100 V peak/ 50 Hz single-phase input
signal v experienced both a phase-angle jump (+45 ◦) and a frequency jump (from 50 to 45 Hz) at t = 100 ms. In this
simulation, the SOGI-QSG gain was set to k = √ 2, which in theory implies a settling time of 20 ms for this adaptive
filter, and the LF parameters
Grid Synchronization in Single-Phase Power Converters 79
Adaptive Filter
Park LF FPG
Transform
v εv k εv v′ vq • • vf ω′ θ′
1 1
k ∫ αβ
k •1 +
p ••
T is • s
ω′ ωc
SOGI
qv ′
dq
SOGI-QSG
∫ vd =v′
θ′
400
v′ qv ′ ω′SOGI-PLL
300
150
ω
(a) (b) 200
0 75 ω′PLL
- 75 100
- 150 0
0 100 200 300 0 100 200 300
t [ms] t [ms]
v ′, qv ′ [ V]
ω′ [ rad/s]
vd
0.5 1 ε θ (SOGI-PLL)
150
(c) (d)
100
vq
- 0.5 0
0 50
ε θ (PLL)
- 50 -1
0 100 200 300 0 100 200 300
t [ms] t [ms]
Figure 4.29 Response of the SOGI-PLL in the presence of both a phase-angle and a frequency jump in the input signal: (a)
θ-θ′+π/ 2 [rad]
v d, v q [ V]
in-quadrature signals generated by the SOGI-QSG, (b) detected frequency, (c) signals in the synchronous reference frame and (d)
error in the phase-angle detection θ − θ ′ + π/ 2
80 Grid Converters for Photovoltaic and Wind Power Systems
were calculated according to (4.38) to achieve a settling time of 100 ms in the PLL. As shown in Figure 4.29, the
SOGI-QSG and the PLL interact with each other and the resulting response is a combination of the action of both
systems. The response of the SOGI-PLL differs from that of the EPLL since in that case the feedback loops for both
the adaptive filter and the PLL depended on the same variable, i.e. the detected phase-angle. For this reason, the
ANF and the PLL blocks of the EPLL reach steady-state conditions at the same time. In the case of the SOGI-PLL
there are two variables involved in the synchronization process, i.e. the SOGI-QSG tuned by using the detected
frequency, ω ′, whereas the PLL is locked to the input phase-angle. As evidenced in Figure 4.29, the response of the
SOGI-PLL is very close to the one shown in Figure 4.18 for the inverse Park transform PLL. Actually, it seems logical
since, as demonstrated by (4.64), such an inverse Park transform structure behaves as an adaptive filter as well.
Figure 4.29(a) shows the two in-quadrature signals generated by the SOGI-QSG. As appreciated in this plot, the
transient response is extended until the grid frequency is newly tuned. Figure 4.29(b) shows the frequency that would
be detected by a conventional PLL ( ω ′
PLL in
dashed thin line) and the frequency detected by the SOGI-PLL ( ω ′ SOGI – PLL in thick line), free
of steady-state oscillations. Figure 4.29(c) shows the output variables of the Park transform. The v d signal is given
the amplitude of the input voltage and the v q signal is made equal to zero in the steady state by the action of the
phase-locking loop. Figure 4.29(d) shows the error made by a conventional PLL in the detection of the input
phase-angle ( ε θ( PLL) in dashed thin line) and the one made by the SOGI-PLL ( ε θ( SOGI-PLL) in thick line). As appreciated in
this figure, the SOGI-PLL detects the input phase-angle faster than the conventional PLL and with no steady-state
oscillations.
In Section 4.5, the SOGI was used to implement an in-quadrature signal generator (QSG), which improved
phase-angle detection in a conventional PLL. This PLL locked the phase-angle of its internal oscillator to that of the
input signal at the same time as the input frequency was detected, which allowed the SOGI-QSG to remain properly
tuned. However, as commented in Section 4.5, the inherent resonant character of the SOGI makes itself work as a
voltagecontrolled oscillator, which stimulates one to think about designing a simple control loop to auto-adapt the
centre frequency of the SOGI resonator to the input frequency and discard the PLL block from the SOGI-PLL
structure. This is the main idea supporting the study of the frequency-locked loop (FLL) presented in this section.
The first thing to do in order to make the SOGI-QSG structure auto-tuneable is to analyse the error signal ε v and
study how the centre frequency of the SOGI-QSG might be regulated by using this error signal. The transfer function
from the input signal v to the error signal ε v
is given by
s2+ ω′2
E(s) = ε v (4.91)
v ( s) = s2+ k ω′ s + ω′2
The transfer function in (4.91) responds to a second-order notch filter, with zero gain at the centre frequency. An
interesting feature of this transfer function is that the phase-angle of the
Grid Synchronization in Single-Phase Power Converters 81
ω ω< ′ ω ω> ′
20
-20 Q (s )
E (s )
-40
-60
-80
-100
90
0°
-180
1 0- 1 1 00 1 01 ω ω= ′ 1 03 1 04
Frequency (Hz)
output signal experiences a jump of 180 ◦ when the frequency of the input signal, ω, changes from lower to higher
than the SOGI-QSG centre frequency, ω ′. This characteristic is used in the following to compare the value of both
frequencies.
Figure 4.30 shows the Bode diagram of E(s) and Q(s) transfer functions, the latter given by (4.87), to study the
relationship between ε v and q v ′. As can be appreciated from this figure, the signals ε v and q v ′ are in phase when the
input frequency is lower than the SOGI resonance frequency ( ω < ω ′) and are in counter-phase in the opposite case,
i.e. when ω > ω ′.
Therefore, a frequency error variable ε f can be defined as the product of q v ′ and ε v. As indicated in Figure 4.30, the
average value of ε f will be positive when ω < ω ′, zero when
ω = ω ′ and negative when ω > ω ′. This frequency error variable allows a straightforward frequency locking loop (FLL)
to be designed, such as the one shown in Figure 4.31. In this loop, an integral controller with a negative gain − γ is
used to make the DC component of ε f
zero by shifting the centre frequency of the SOGI-QSG, ω ′, until matching the input frequency,
ω. In addition, as shown in Figure 4.31, the nominal value of the grid frequency is added to the FLL output as a
feed-forward variable, ω c, to accelerate the initial synchronization process.
The combination of both the SOGI-QSG and the FLL building blocks according to Figure
4.31 gives rise to a single-phase grid synchronization system named the SOGI-FLL [31]. In the SOGI-FLL, the input
frequency is directly detected by the FLL, whereas the estimation of the phase-angle and the amplitude of the input
‘virtual vector’ can be indirectly calculated by
| v ′| = √( v ′) 2 + ( q v ′) 2; | v ′ = arctan q v ′ (4.92)
v′
82 Grid Converters for Photovoltaic and Wind Power Systems
SOGI-QSG
v εv k εv x1 v′
k ∫
SOGI
qv ′
x2
∫
εv qv ′ ω′
FLL
εf
x3
-γ ∫ ω′
ωc
Figure 4.32 shows the response of the SOGI-FLL of Figure 4.31 when a 100 V peak/ 50 Hz single-phase input signal
v experienced both a phase-angle jump (+45 ◦) and a frequency jump (from 50 to 45 Hz) at t = 100 ms. In this
simulation, the SOGI-QSG gain was set to k = √ 2 and the FLL gain was set to γ = 2.22 – a justification of this value is
given in next section. Figure 4.32(b) shows how the SOGI-FLL is able to track the input frequency variation, which
allows the SOGI-QSG to remain properly tuned. This can be appreciated from Figure 4.32(a), where the amplitude of
the in-quadrature signals matches the input voltage amplitude, even after the input frequency variation. This makes it
possible to obtain a correct estimation of the input amplitude and phase-angle by applying (4.92), as shown in Figure
4.32(c) and (d) respectively.
From the SOGI-FLL diagram of Figure 4.31, the following space-state equations can be written:
] = A x + B v = [ − k ω′− ω′2 ] [ x1 ] + [ k ω′ ]
x1
ẋ = [ ˙
x v (4.93)
xẋ 2 1 0 x2 0
]=Cx=[10 ] [ x1 ]
y = [ v′ (4.94)
q v′ 0 ω′ x2
ω̇ ′ = − γ x 2 ω ′ ( v − x 1)
ω (4.95)
Grid Synchronization in Single-Phase Power Converters 83
400
v′ qv ′ ω′SOGI-FLL
300
150
ω
(a) (b) 200
0 75
- 75 100
- 150 0
0 100 200 300 0 100 200 300
t [ms] t [ms]
v ′, qv ′ [ V]
ω′ [ rad/s]
v′
0.5 1
150
(c) (d)
100
- 0.5 0
0 50
-1
- 50 0 100 200 300
0 100 200 300
t [ms] t [ms]
Figure 4.32 Response of the SOGI-FLL in the presence of both a phase-angle and a frequency jump in the input signal: (a)
θ-θ′ [ rad]
in-quadrature signals generated by the SOGI-QSG, (b) detected frequency, (c) detected input voltage amplitude and (d) error in
|v| [V]
phase-angle detection θ − θ ′
where x = [ x 1, x 2]T and y = [ v ′, q v ′] T are the SOGI-QSG state and output vectors. The state equation describing the
behaviour of the FLL is given by (4.95).
Considering the stable operating conditions with the FLL properly tuned, which implies ˙
ω ′ = 0, ω = ω ′ and x 1 = v, the SOGI-QSG state vector in the steady state is given by
] = [ 0 − ω′2 ][¯ ]
x1 x1
x̄˙ ∣∣∣ ˙¯
x (4.96)
ω ′= 0 = [ ˙¯ x̄x˙ 2 1 0 xx̄ 2
where the steady-state variables are indentified by a bar over. The eigenvalues of the Jacobian obtained from (4.96)
are conjugated complex with a null real part, something that confirms the
84 Grid Converters for Photovoltaic and Wind Power Systems
resonant behaviour of the system, as the steady-state response remains in a periodic orbit at the
ω ′ frequency. Therefore, for a given sinusoidal input signal v = V sin( ω t + φ) the steady-state output vector will be given
by
]=V [ sin( ω t + φ) ]
ȳ = [ v ′
y (4.97)
q v′ − cos( ω t + φ)
If the FLL was intentionally frozen at a frequency ω ′ different from the input frequency
ω, e.g. by making γ = 0, the SOGI-QSG output vector would still keep in a stable orbit defined by
• •
sin( ω t + φ + ∠ D( j ω))
ȳ ′ = V |D( j ω)|
y • • (4.98)
− ω′
ω cos( ω t + φ + ∠ D( j ω))
where | D( j ω)| and ∠ D( j ω) can be obtained from (4.86) and are given by
k ωω ′
| D( j ω)| = √ (4.99)
( k ωω ′) 2 + ( ω 2 − ω ′ 2)2
∠ D( j ω) = arctan ω ′ 2 − ω 2 (4.100)
k ωω ′
As indicated in (4.98), if the input signal is assumed sinusoidal at the frequency ω and even though ω = ω ′, the state
variables of the SOGI-QSG keep the following relationship:
xx̄˙ 1 = − ω 2 ¯ x 2 (4.101)
Therefore, from (4.93), the steady-state synchronization error signal can be written as
)
εε̄ v = ( v − ¯ x 1) = 1 x1+ ω′2¯ x2 (4.102)
k ω′( ˙ ¯
and substituting (4.101) into (4.102) the steady-state frequency error signal is given by
x 2 2 ( ω ′ 2 − ω 2)
εε̄ f = ω ′ ¯ x 2 ¯ε v = ¯ (4.103)
k
The equation in (4.103) proves that the ε f signal certainly collects information about the error made in the
frequency estimation, which makes it suitable to act as the control signal of the FLL. However, this expression is
highly nonlinear, which means that linear control analysis techniques cannot be directly applied to set the value of
the FLL gain, γ . Hence, some assumptions should be made to determine the performance of the FLL.
Grid Synchronization in Single-Phase Power Converters 85
In this way, the local dynamics of the FLL can be studied by considering steady-state conditions, namely ω ′ ≈ ω. In
such a case, ω ′ 2 − ω 2 can be approximated as 2( ω ′ − ω)ω ′, and the small signal performance of the FLL can be
described as follows:
( ω ′ 2 − ω 2) ≈ − 2 γ
ω̇ ′ = − γ ¯ ε f = γ
ω x22 x 2 2 ( ω ′ − ω)ω ′ (4.104)
k¯ k¯
Moreover, taking v = V sin( ω t + φ) as the input signal for the SOGI-FLL, the square of the state ¯
x 2 can be written from (4.98) as
xx̄ 2 2 = V 2 (4.105)
2 ω 2 | D( j ω)| 2 [ 1 + cos(2( ω t + φ + ∠ D( j ω)))]
According to (4.99) and (4.100), the terms | D( j ω)| and ∠ D( j ω) in (4.105) tend to 1 and 0 respectively, as the
frequency detected by the FLL locks the input frequency ( ω ′ → ω). Hence, in the vicinity of the steady-state operation
of the FLL, ¯ x 2 2 will present a DC component equal
to V 2/( 2 ω 2) plus an AC term oscillating at twice the input frequency. Therefore, the averaged dynamics of the FLL with
ω ′ ≈ ω can be described by the following equation, where the AC component of ¯
x 2 2 has been neglected:
ω̄
ω˙ ′= − γ V 2 ω ′ − ω) (4.106)
k ω′( ¯
Equation (4.106) is very interesting because it clears up the existing relationship between the dynamic response of
the FLL, the SOGI-QSG gain and the parameters of the input signal. This equation encourages the value of γ to be
normalized according to (4.107), by using feedback variables, in order to achieve a first-order linearized frequency
adaptive system like the one shown in Figure 4.33. This linearized system is not dependent on either the grid
variables or the SOGI-QSG gain, and its time response is perfectly defined by the value of the gain :
γ = k ω′ (4.107)
V2
The transfer function of the first-order frequency locking loop of Figure 4.33 is given by
ω̄ ′
ω
(4.108)
ω=s+
ω ω′
Γ ∫
SOGI-QSG
v ε v k εv v′
k ∫
SOGI
qv ′
∫
εv qv ′ ω′
FLL
εf
ω′
-Γ ∫
ωc
ω′
num
k
den
2 qv ′
FLL gain (⋅ )
normalization
2
v′
(⋅ )
Figure 4.35(a) and (b) shows some representative plots from the simulation of the feedbackbased linearized
SOGI-FLL of Figure 4.34 when a 100 V peak/ 50 Hz single-phase input signal
v experiences a frequency jump (from 50 to 45 Hz) at t = 100 ms (without modifying its amplitude). In this simulation,
the SOGI-QSG gain was set to k = √ 2 and the normalized FLL gain was set to = 46. According to (4.109), this value
for the normalized FLL gain entails a settling time in frequency adaptation, t S(FLL), of around 100 ms. As can be
appreciated from Figure 4.35(b), the detected frequency fits a first-order exponential response very well with a settle
time of 100 ms, which validates the analysis conducted in this section.
Grid Synchronization in Single-Phase Power Converters 87
330
v′ qv ′
315 ω SOGI-FLL
′
150
300
(a) (b)
0 75
- 75 285
ω t S(FLL)
- 150 270
0 100 200 300 0 100 200 300
t [ms] t [ms]
v ′, qv ′ [ V]
ω′ [ rad/s]
330
315
150
300
(c) (d)
0 75
- 75 285
t S(SOGI)
- 150 270
0 100 200 300 0 100 200 300
t [ms] t [ms]
Figure 4.35 Response of the SOGI-FLL with FLL gain normalization: (a),(b) in-quadrature signals and detected frequency when the
v ′, qv ′ [ V]
ω′ [ rad/s]
input signal experiences a frequency jump and (c),(d) in-quadrature signals and detected frequency when the input signal
experiences a voltage dip
Figure 4.35(c) and (d) shows the response of the feedback-based linearized SOGI-FLLwhen the amplitude of the
input signal v drops down to 20%of its rated value at t = 100 ms (without modifying its frequency). In this case, the
values for the control parameters are the same as in the previous case, i.e. k = √ 2 and = 46. Since the input frequency
is kept constant in this simulation, the settling time in the detection of the input voltage amplitude mainly depends on
the SOGI-QGS dynamics. As indicated in reference [14], this settling time can be roughly estimated by
330
ω′SOGI-FLL
315
150 v′ qv ′
(a) (b) 300
0 75
- 75 285 ω
t S (FLL )
- 150 270
0 100 200 300 0 100 200 300
t [ms] t [ms]
v ′, qv ′ [ V]
ω′ [ rad/s]
0.5 1
150 v′
(c) (d)
100
V
0 50
t S (SOGI )
- 0.5 0
- 50 -1
0 100 200 300 0 100 200 300
t [ms] t [ms]
Figure 4.36 Response of the SOGI-FLLwith FLL gain normalization when the input signal simultaneously experiences a voltage dip
• v ′• [ V]
and a frequency jump: (a) in-quadrature signals, (b) detected frequency, (c) detected input voltage amplitude and (d) error in
θ-θ′ [ rad]
phase-angle detection θ − θ ′
Grid Synchronization in Single-Phase Power Converters 89
at the same time that its frequency varies from 50 to 45 Hz. As can be appreciated from the plots of Figure 4.36, both
the detected input frequency signal and the detected input amplitude signal are coupled to each other, which implies
that they differ from the simplified waveforms previously studied. However, for certain conditions, it can still be
assumed as valid that the settle times of the SOGI and the FLL match those calculated by (4.109) and (4.111). In this
regard, an analysis based on the simulation demonstrated that, for k = √ 2, the settle times for the SOGI and the FLL
had to be in the range of t S(FLL) ≥ 2 t S(SOGI) to ensure enough different constant times in both subsystems and to be able
to apply (4.109) and (4.111) satisfactory to calculate settling times.
4.7 Summary
In this chapter, the paradigmof synchronizing in a single-phase systemwas discussed. Different techniques for
quadrature signal generation (QSG) are presented and compared in terms of dynamic performances. The novel
QSGbased on a second-order generalized integrator (SOGI) proves to be a very good solution, easy to design and
implement, and able to perform close to a delay-free filter with the required bandwidth.
This is a very important feature model in the application of synchronization of gridconnected converters as the
voltage of the grid is typically affected by disturbances and harmonics.
The second challenge is to make the synchronization process adaptive to frequency changes that may occur in
the grid system, e.g. during the power balancing events. Moreover, some grid codes require operation within a
frequency range of 47–52 Hz, posing a big challenge for the synchronization loop.
Some classical solutions based on adaptive filtering techniques are presented along with the novel
frequency-locked loop (FLL) technique, which is able to achieve frequency adaptability using a single algorithm
without any use of trigonometric functions. The FLL feature also measured stability over transients from a physical
point of view, the frequency change being much slower than the grid voltage phase-angle. The FLL is a nonlinear
system and a practical design method was proposed in this chapter.
References
[1] Stade, E., Fourier Analysis, John Wiley & Sons, Ltd, 2005. ISBN 978-0-471-66984-5. [2] Brigham, E., Fast Fourier Transform and Its Applications, Prentice-Hall,
1988. ISBN 0133075052. [3] Sakakibara, Y. and Gleason, A., Who Is Fourier? A Mathematical Adventure, Language Research Foundation,
[5] Dolen, M. and Lorenz, R. D., ‘Industrially Useful Means for Decomposition and Differentiation of Harmonic
Components of PeriodicWaveforms’. In Proceedings of the IEEE Industry Applications Society Annual Meeting,
2000, pp. 1016–1023.
[6] Begovic, M. M., Djuric, P. M., Dunlop, S. and Phadke, A. G., ‘Frequency Tracking in Power Networks in the
Presence of Harmonics’, IEEE Transactions on Power Delivery, 8( 2), April 1993, 480–486.
[7] Nedeljkovic, D., Nastran, J., Vocina, D. and Ambrozic, V. ‘Synchronization of Active Power Filter Current
Reference to the Network’. IEEE Transactions on Industrial Electronics, 46( 2), April 1999, 333–339.
90 Grid Converters for Photovoltaic and Wind Power Systems
[8] Cooley, J.W. and Tukey, J.W., ‘An Algorithm for the Machine Calculation of Complex Fourier Series’. Mathe-
matical Computations, 19, 1965, 297–301.
[9] Vainio, O., Ovaska, S.J. and Polla, M., ‘Adaptive Filtering Using Multiplicative General Parameters for Zero-
Crossing Detection’. IEEE Transactions on Industrial Electronics, 50( 6), December 2003, 1340–1342.
[10] Dolen, M. and Lorenz, R. D., ‘Industrially Useful Means for Decomposition and Differentiation of Harmonic
Components of PeriodicWaveforms’. In Proceedings of the IEEE Industry Applications Society Annual Meeting,
2000, pp. 1016–1023.
[11] McGrath, B. P., Holmes, D. G. and Galloway, J., ‘Improved Power Converter Line Synchronisation Using an
Adaptive Discrete Fourier Transform (DFT)’. In Power Electronics Specialists Conference, 2002. pesc. 02. 2002 IEEE 33rd Annual, Vol. 2, 2002,
pp. 821–826.
[12] Wall, R.W., ‘Simple Methods for Detecting Zero Crossing’. In Industrial Electronics Society, IECON ’03. The
29th Annual Conference of the IEEE, Vol. 3, 2–6 November 2003, pp. 2477–2481. [13] Best, R. E., Phase-Locked Loops: Design, Simulation,
and Applications, 5th edition, New York: McGraw-Hill
Professional, 2003. ISBN 0071412018. [14] Franklin, G.F., Powell, J. D. and Emami-Naeini, A., Feedback Control of Dynamic Systems, 4th
edition, Prentice
Hall, 2002. ISBN 0130323934.
[15] Saitou, M., Matsui, N. and Shimizu, T., ‘A Control Strategy of Single-Phase Active Filter Using a Novel d-q
Transformation’. In Proceedings of the Industry Applications Conference 2003 (IAS’03), Vol. 2, October 2003, pp. 1222–1227.
[16] Silva, S. M., Lopes, B. M., Filho, J.C., Campana, R. P. and Bosventura, W.C., ‘Performance Evaluation of PLL
Algorithms for Single-Phase Grid-Connected Systems’. In Proceedings of the Industry Applications Conference 2004 (IAS’04), Vol. 4, October
2004, pp. 2259–2263.
[17] Rader, C, M. and Jackson, L. B., ‘ApproximatingNoncausal IIRDigital Filters HavingArbitrary Poles, Including
New Hilbert Transformer Designs, Via Forward/Backward Block Recursion’. IEEE Transactions on Circuits and Systems I: Regular Papers, 53( 12),
December 2006, 2779–2787.
[18] Haykin, S.S., Adaptive Filter Theory. Upper Saddle River, NJ: Prentice Hall, 2002.
[19] Widrow, B., Glover Jr, J. R., McCool, J. M., Kaunitz, J., Williams, C.S., Hearn, R.H., Zeidler Jr, J. R., Dong, E.
and Goodlin, R.C., ‘Adaptive Noise Cancelling: Principles and Applications’. Proceedings of the IEEE, 63( 12), December 1975, 1692–1716.
[20] Karimi-Ghartemani, M. and Iravani, M. R., ‘A Nonlinear Adaptive Filter for Online Signal Analysis in Power
Systems: Applications’. IEEE Transactions on Power Delivery, 17, April 2002, 617–622. [21] Yuan, X., Merk, W., Stemmler, H. and Allmeling, J.,
‘Stationary Frame Generalized Integrators for Current Con-
trol of Active Power Filters with Zero Steady-State Error for Current Harmonics of Concern under Unbalanced and Distorted Operating
Conditions’. IEEE Transactions on Industrial Applications, 38( 2), March/April 2002, 523–532.
[22] Teodorescu, R., Blaabjerg, F., Liserre, M. and Loh, P.C., ‘Proportional-Resonant Controllers and Filters for
Grid-Connected Voltage-Source Converters’. Electric Power Applications, IEE Proceedings, 153( 5), September
2006, 750–762.
[23] Zmood, D.N. andHolmes, D. G., ‘Stationary Frame Current Regulation of PWMInverterswith Zero Steady-State
Error’. IEEE Transactions on Power Electronics, 18( 3), May 2003, 814–822.
[24] Padmanabhan, M., Martin, K. and Peceli, G., Feedback-Based Orthogonal Digital Filters: Theory, Applications,
and Implementation, Norwell, MA: Kluwer Academic Publishers, 1996. [25] Burger, B. and Engler, E., ‘Fast Signal Conditioning in Single Phase
Systems’. In European Conference on
Power Electronics and Applications (EPE’01), PP00287, Graz, August 2001.
[26] de Brabandere, K., Loix, T., Engelen, K., Bolsens, B., Van den Keybus, J., Driesen, J. and Belmans, R.,
‘Design and Operation of a Phase-Locked Loop with Kalman Estimator-Based Filter for Single-Phase Applications’. In Proceedings of the IEEE
Industrial Electronics Conferece (IECON’06), November 2006, pp. 525–
530.
[27] Mojiri, M. and Bakhshai, A., ‘An Adaptive Notch Filter for Frequency Estimation of a Periodic Signal’. IEEE
Transactions on Automatic Control, 49( 2), February 2004, 314–318.
[28] Mojiri, M., Karimi-Ghartemani, M. and Bakhshai, A., ‘Time Domain Signal Analysis Using Adaptive Notch
Filter’. IEEE Transactions on Signal Processing, 55( 1), January 2007, 85–93.
[29] Rodriguez, P., Teodorescu, R., Candela, I., Timbus, A.V., Liserre, M. and Blaabjerg, F., ‘New Positive-Sequence
Voltage Detector for Grid Synchronization of Power Converters under Faulty Grid Conditions’. In Proceedings of the IEEE Power Electronics
Special Conference (PESC’06), June 2006, pp. 1–7.
Grid Synchronization in Single-Phase Power Converters 91
[30] Ciobotaru, M., Teodorescu, R. and Blaabjerg, F., ‘A New Single-Phase PLL Structure Based on Second Order
Generalized Integrator’. In Proceedings of the IEEE Power Electronics Special Conference (PESC’06), June
2006, pp. 1–7.
[31] Rodriguez, P., Luna, A., Candela, I., Teodorescu, R. andBlaabjerg, F., ‘Grid Synchronization of Power Converters
Using Multiple Second Order Generalized Integrators’. In Proceedings of the IEEE Industrial Electronics Conference (IECON’08), November
2008, pp. 755–760.