Saturday, March 26, 2011

同步发电机--- 异步发电机/电动机 ---感应发电机/电动机

这些都是一类。
他们的原理是利用变化的磁场(旋转磁场)产生变化的电场  (电流电压),或者是导体在磁场中相对旋转运动(其实磁场并不旋转,只是定子中的磁场随时间大小变化,看起来像旋转一样,因此就可以理解为相对运动)。
比如说同步发电机: 先是在转子上装上直流励磁,然后外力带动旋转起来(我们先假设靠近励磁电流电线的地方磁场比较大)。然后我们来看定子上的某一点a,当励磁电线还没转到a 的时候,a旁边的磁场很弱的;慢慢的,转子转啊转,励磁电线现在转到了离a最近,那么a旁边的磁场由弱转强,变化的磁场产生电流(当然这个电流方向是为了 削弱变强的磁场滴。。。a可没那么傻),这不就是交流电么?? 或者说是,转子磁场在转动,定子虽然不动,但是看起来就好象是和磁场的相反方向跑,定子导体就会产生电流。这个交流电是由转子磁场产生的,也叫做同步磁场用来产生定子电流,因此转子的速度和同步磁场的速度总是一致的!


再比如说异步电动机吧:
先是在定子上通上交流电,众所周知,交流电本身就是一个旋转的磁场, 还是假设这个磁场某个地方特别强。 让我们来看看转子(注意,转子是短路线圈,就是用来产生电流的)上某一点b,本来b旁边的磁场很弱的,随着时间的推移,强磁场终于出现啦!那b可不愿意啦,立马产生电流去抵抗!!!ok,这个电流现在在磁场下,收到了磁场力,自然转动起来了(当然你得先推它一把,然后它的磁场力就是拉着他运动的),这不就是电动机了吗!!当然这个转子的速度要比定子的磁场慢一点的,因为转子产生的磁场是和定子磁场方向相反的,所以这个转子磁场拖着转子让它转的稍微慢一点(或者说是它抵消了一部分定子同步磁场,所以受到的洛仑兹电场力也稍微小一点,速度慢一点)。

再比如说异步发电机吧:
结构跟异步电动机一模一样,就是外力好大,加在转子上(比如风什么的),然后转子转动速度不仅不比定子磁场慢,反而比同步磁场快,这时候相对运动的方向不就换了呗,然后转子电流方向也换了,产生的磁场方向也不是和同步磁场方向相反了,而是相同了,这样就加强了同步磁场,从而定子上的电流更大了。。。这不就发电了么???

Inductors and capacitors in Power Systems

Inductors and capacitors are very common in power systems. Normally people say inductive loads consume reactive power and capacitive loads produce reactive power. But I have different thought on this. My opinion is that there is no such a reactive power thing, but created simply for calculation convenience. Why??

Inductors and capacitors never consume power, but they can store energy!

Inductors store energy in the form of magnetic field, while capacitors store energy in electric field.

Magnetic field can be generated due to three reasons: (1) moving electric charges (which is current) (2) time-changing electric field (3) natural magnet.


If we put a charged inductor (with current in it) short-circuited, it will contain the energy in it forever (if it is superconductor)
If we put a charged conductor (with non-zero voltage) open-circuited, it will contain the energy forever (if it is the ideal capacitor).
 

Remember, for inductors, larger current means larger magnetic field, therefore more energy stored!
For capacitors, large voltage means larger electric field, therefore more energy stored!

(1) Understanding of reactive power
Based on the above analysis, my opinion is there is no such a reactive power in power system!!! The concept is only for calculation convenience.
Why? We see that inductors and capacitors do not consume energy, they basically return those stored energy sooner or later to power systems. But why we feel there are losses, because there are time difference!!! What we lose here is the time value!

If we only inductive loads in systems, then it will borrow system energy, and return in next cycle when the current is decreased. If a load need 2S power at a time, but the system gives it S-Q at time t1 and S+Q at time t2 for compensation. You think it is enough? No! The lost value here is TIME!  It is like somebody borrows money from you, and returns to you next month, but how about interest (time value, opportunity cost)??  Inductive load: current lagging voltage because u=L*di/dt, if i is sin(theta), u then is cos(theta)=sin(theta+90), which means u leading i 90.

In our textbooks, we know that inductors absorb reactive power, and capacitors produce reactive power. This statement gives us misunderstanding that more capacitors can decrease the reactive power loss! Absolutely not!!  Since there is no reactive power, if a system contains conductive loads, the current will lead the voltage, they are still not on the same boat, time value is still lost! So not: the more the better!

But why we are in need of capacitors in power system, because the power system nature is inductive (store power first and then return). So if capacitors return power first and then store, they will perform like nothing, the power returned and stored cancel!!


When system load is very light, the capacitance> inductance, current is small, therefore, system voltage will increase (more energy stored in electric fields); when system load is heavy, current is large, the capacitance <  inductance, current is large and voltage will drop, because u=di/dt, voltage drop increase!

Ok, then, let's summarize. When system is inductive, more energy stored in magnetic field rather than electric field, voltage drops a lot; when system is capacitive, more energy stored in electric field, voltage increase a lot!

Friday, March 18, 2011

Why eigenvalue analysis?



Eigenvalue of Jacobian Matrix is used in stability analysis. So here we encounter three concepts, "eigenvalue", "Jacobian" and "stability". I will start with "stability", since the other two are the tools to achieve this final goal: answer whether the system is stable or not at some point?

(1) Stability
Stability analysis is to find out the answer to that whether or not the system is stable at some operating point. As time goes to infinity, if the system is stable, then it will achieve a equilibrium or the system state will asymptotically approach a fixed point.

There are stable and non-stable equilibriums, imagine a ball in a bowl, or on top of a bowl. we ask: can small disturbance to this point stir something big happen? If it cannot, it literally means the system can still go back to this equilibrium (bowl bottom point); On the contrary, if it indeed enlarges the deviations and have no intention to stop the trend, eventually lead to another system state, then it is a non-stable equilibrium (bowl top point).

How to determine the stability of an equilibrium?

  • Step 1: Find the equilibrium point, let x(t+1)=x(t), or dx/dt=0!
  • Step 2: Linearization, [f(x)-f(a)]/[x-a]=f'(x)|a=f'(a) or Jacobian Matrix
  • Step 3: Check the value of f'(a) or eigenvalue of Jacobian Matrix
  • Step 4: final judge: if f'(a)>1, unstable; f'(a)<1, stable; Jacobian matrix, eigenvalue with positive real part, unstable; with negative real part, stable;
Now I will give a simple example.
For a dynamic system
xt+1=f(xt)
Now explain why at a particular point c, f'(c)>1, it is unstable; f'(c)<1, stable.
Look at the figure below:


 There are two equilibriums, a and b, a is stable and b is unstable. Why? If we move a a little bit larger to blue xt , we get xt+1<xt,  meaning it moves back (the other direction).

a-------------------------------------------------> xt
                                 xt+1<---------------------

But, if we move b a little larger to red xt, then at the next time step, xt+1>xt, even larger!!! It will finally explode x|t=infinity.

b---------------------------------------------->xt
                                                             ------------------------->xt+1

 Note f'(a)<1, f'(b)>1 (we know that g'(x)=1)
OK now. We have proved it graphically. Now we will prove it in mathematical form.
 As an equilibrium, xt+1=xt, meaning f(xt)=xt=g(xt). So the intersection points of the two curves are the equilibriums.

f(a)=a=g(a);
f(b)=b=g(b);

we move a to xt (xt>a), then we need to prove
xt+1<xt ==> f(xt)<xt ==> f(xt)<g(xt) ==>f(xt)-f(a)<g(xt)-g(a) ==> [f(xt)-f(a)]/[xt-a]<[g(xt)-g(a)]/[xt-a]==>f'(a)<g'(a)

We know that g'(a)=1, so if f'(a)<1, the reverse induction is valid, and hence xt+1<xt, go back, stable!!

Same induction applies to point b

So the final time-domain result plots are as follows:



(2) Multi-variable system, eigenvalue and Jacobian matrix
Now let's consider there are multiple input and output system,
We need to find eqiliriums first, let  

that is f1(x1,x2)=0, f2(x1,x2)=0, (those can be linear or non-linear) then we obtain the equilibriums.  
We need to find whether these equiliriums are stable.


Our previous assertion then is to find the Jacobian Matrix at the specified equilibrium. If all the eigenvalues have negative real part, then the equilibrium is stable!

Questions:
(1) What is Jacobian Matrix?
Answer: Jacobian matrix is a first-order derivative of functions with respect to variables, which is corresponding to a slope in a single-variable function.
In this case, Jacobian matrix is as follows (a denotes the equilibrium point)
J|a=[df1/dx1, df1/dx2;]
      [df2/dx1, df2/dx2]  |a


(2) What is eigenvalue?
If J is multiplied with vector v, J can be viewed as a linear transformer of v. J basically stretches and rotate v. If v is only stretched or shrunk, without changing direction, then v is a eigenvector of J, meaning it is owned by J. The scale of stretching and shrinking then is called eigenvalue! Those can be expressed as

tex:Jv=\lambda v

Eigenvalues can be found by solving

tex:det|J-\lambda I|=0

OK. Now that we have cleared the above two important concept, we now ask why eigenvalue especially its real part matters?

If we are at an arbitrary point (system state) that is described by the differential equation tex: \dot{x}=f(x), how do we find the solution for each state. To put it another way, what are xs at time t?

To solve differential equations, we use Laplace Transform
But what is this about?

Laplace Transform is extended from Fourier Transform. Fourier says any mathematical function can be decomposed to linear combination of sinusoidal functions with different magnitude and frequencies. He then applied Euler's formula and established this famous transform:

Euler's formula: e^{ix}=cosx + isinx

Fourier's Transform
Fourier's transform possesses a clear physical meaning, but also has some weakness when applied to non-integral functions. Therefore, Laplace extend this transform by add a factor so that the function will always be damping or decaying with time. This has become famous Laplace's Transform.



Note s=sigma t+ jwt, a complex number.

If we solve the system differential equations, we usually get solutions somewhat like
where lambda is the eigenvalue of the Jacobian matrix. If it has negative real part, it means xt will decay to some equilibrium point, stable! Conversely, if it has positive real part, xt will explode as time goes to infinity!!!!

Sunday, November 21, 2010

AC circuit

We know that in DC circuit, power can be simply expressed as the product of voltage and current: P=U*I.

Nevertheless, in AC circuit, this expression becomes a little more complicated. The power now is rephrased as "Complex Power", S=U*conjugate (I)=P+jQ.

Facts:
(1) Power factor: inductive loads have lagging power factor, capacitive loads have leading power factor.

The power factor is a ratio of real power to the apparent power, it's value is cos(theta), where theta is the angle between the current and the voltage of loads. If the current is lagging the voltage, we call it has a lagging power factor and vice versa.
Let's consider the inductive loads first (r+jwL). I=U/(r+jx). We will see that I=U/Z^2*(r-jx). If we assume the angle is 0 for U, then the angel of I is -90 degrees (if r is 0). Obviously it is lagging!
Now we consider the capacitive loads (r+1/jwC) . I=U/(r+1/jwC), then it is positive (leading) compared to voltage angle.

(2) Inductive loads absorb reactive power while capacitive loads produce reactive power.

Now that we know complex power S=P+jQ=U*conjugate(I). For inductive loads, S=U*conjugate(I)=U^2/Z^2 (r+jx) (note the sign is changed to + because it is conjugate). OK! Now we see that P is positive, Q is positive, which represent that the inductive loads absorb real power and reactive power. Similar for capacitive loads. The sign for the Q will be negative, indicating that they produce reactive power.
Another way to think about this:
I=Icos(theta)+jIsin(theta), S=U*conjugate(I)=U*(Icos(theta)-jIsin(theta)). Notice that if it is an inductive load, then theta<0, Q=-Isin(theta)>0, meaning that it absorbs reactive power. The derivation also applied to conductive loads.

Transmission

Some knowledge about Electric Power Transmission:

(1) Transmission conductor size ranges from 12mm2 to 750mm2, thicker wires lead to small increase in the capacity limit (or current-carrying capacity)of transmission lines, due to skin effect.

(2) Transmission voltage levels:
EHV: >230KV
Transmission: >110KV
Subtransmission: 33-66KV
Distribution: <33KV
Comparing with the voltage of power generating plants: 2.3KV-30KV

(3) Long distance transmission cost is around $0.005-$0.02/KWh in US. Compare to the production cost of generating units: $0.01-$0.025/KWh, and retail rate: $0.1/KWh (from wikipedia)

(4) Which factor sets the thermal limit for a transmission line:
 short line: The thermal limit is set by the resistance or heating limit of conductors;
 intermediate line:  voltage drop is the one that determines the power limit. P=v1*v2*sin(delta)/x. You don't want the voltage drop too much (v2 small), or it is not suitable for load (usually no more than 5% voltage drop). The voltage drop is defined as the magnitude of the difference of two phasors (|v1-v2|). 
long line: it is the angle delta or system stability that determines the power limit. When the angle approaches 90 degrees, the system approaches its stability margin, which is undesirable for the operation.

HVDC- high voltage direct current

Two years ago, when a person whose major is medicine asked me about the reason to use HVDC(high-voltage direct current) lines to transmit long-distance power from West China to East China, I could not give a very clear explanation, which quite embarrassed me since no excuse could be found for my own limited and obscure understanding of the concept.(It is funny that actually today when I have not finished this article, there is another guy who asked exactly the same question, and I think this time my answer made him satisfied.)

At the time, I was already a second-year PhD student in power engineering, but I still had some trouble in basic knowledge and concepts of power systems (even now I am still learning them). The phenomenon is not rare among PhD students, I believe, at least at some informal discussions with my fellow colleagues.

Therefore, I decide to write down some basic knowledge that a power engineering student should have, and hopefully I can accumulate and update them in this blog regularly as I learn. It may not  be very scientific, but it conveys the basic principle of the concepts and issues.

Well, go back to the question about HVDC, I had known that high voltage line has the capability of reducing the power loss, but why direct current?
Actually several reasons can justify the use of DC lines:
(1) The materials required in DC lines are about 1/3 less than AC lines (Two lines one phase vs Three lines three phases). Look at these two pictures from Chinese state grid website (a is AC lines, b is DC lines):



However, we should also realize the required AC/DC/AC converter station is quite expensive. Due to the trade off between the materials saving (and also the saving from less power loss in DC lines) and the additional cost of converters, a cost-benefit analysis is usually conducted for determining the equivalent distance for both AC and DC lines.  If a transmission needs to be built within the determined equivalent distance (short lines), then AC is more beneficial; DC is more attractive in long distance power delivery. HVDC lines are usually used for long distance, great than 400 miles or 600km.

(2) Additional losses exist in AC lines because of inductance and capacitance, compared to DC lines. The electricity current that is used to charge capacitance in AC lines, can instead be used for customers' power usage in DC lines. In other words, DC lines are more efficient.

(3) DC lines can connect two unsynchronized AC systems, which may not be achievable by AC lines. It thanks to the AC/DC/AC converters that separate the operation of two connected AC systems.

There may be more advantages of DC lines than articulated here, like the capability to survive in fault conditions and so forth. Certainly DC lines have disadvantages, but the technology is still promising in long-distance power delivery (especially for renewable energy integration)!

Thursday, November 18, 2010

Wide bandgap semiconductors

Recently I saw the concept of "wide bandgap". To check it out, I found the following paper that describes the characteristics of wide bandgap semiconductors:

Enhance power electronic devices with wind bandgap semiconductors

It states that currently silicon (Si) is used in most power electronic devices(diodes, MOSFET, IGBT). As the high voltage transmission lines (HVDC, EHV line) are obtaining popularity and more widely accepted in many countries, the power electronic devices are in need of much higher break down voltage. Si has its limitation in meeting this requirement. Instead, silicon carbide (SiC, 碳化硅,金刚砂), and gallium nitride (GaN, 氮化镓), and diamond can be considered because of the ten times greater electric field strength.