Producing Electricity With Differents Technologies

Print   

02 Nov 2017

Disclaimer:
This essay has been written and submitted by students and is not an example of our work. Please click this link to view samples of our professional work witten by our professional essay writers. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of EssayCompany.

Today, we are producing electricity with different technologies, classic and renewable energies. However, a great part of it is still done using fossil fuels that cause terrestrial emission of carbon dioxide which, as all people know, produces earth overheating by the greenhouse effect.

The greenhouse effect is a process that results in an elevation of the average surface temperature. The solar radiation is absorbed by the atmospheric gases, and is re-radiated in all directions. Part of this re-radiation is accumulated between the surface and the atmosphere and makes this increase of the temperatures. However, by using fossil fuels we are intensifying the concentration of some atmospheric gases, such as CO2, causing global warming. To avoid it, Europe has proposed different objectives to use renewable energies, such as wind energy.

Actually, the wind energy is not a new resource. The humans have been using the wind energy for thousands of years. We have transformed the resource into other types of mechanical energy more useful. But, the major improvement was to be able to generate electricity with wind turbines and feed it directly to the grid. They usually have two or three rotor blades, while horizontal axis, a nacelle with a rotor hub, gears, and a generator, all of which can be turned into and out of the wind. The rotor is positioned in front of the tower in the direction the wind is blowing.

There are some dates in the history that we should know, because of the importance in this field. In 1920 and 1926, Albert Betz calculated the maximum wind turbine performance, now called the "Betz limit", and the optimal geometry of rotor blades. In 1950, Professor Ulrich Hütter applied modern aerodynamics and modern fibre optics technology to the construction of rotor blades on the wind turbines in his experimental system.

After that, Poul la Cour of Denmark developed a wind turbine that generated direct current. In 1958, one of his pupils named Johannes Juul developed the "Danish Concept," which explains how to fed alternating current to the grid for the first time. This was an important point in the development of the wind turbines. Today, almost half of all operate according to this idea.

In the 1980s, the Danes developed small turbines with a power of 20 kW to 100 kW. Thanks to state subsidies, these turbines were set up on farms, on the coast an in other places to being able to provide distributed power, and with the excess power not consumed locally being fed to the power grid.

Today, we have experienced an important technical development and thanks also to campaigns to raise public awareness the wind energy has increased rapidly, in land and offshore. Wind power has now established itself as a mainstream electricity generation source, and plays a central role in an increasing number of countries, immediate and longer term energy plans. It is possible to see this increase in the power capacity in several countries. After 15 years of average cumulative growth rates of about 28%, the commercial wind power installations in about 80 countries at the end of last year totalled about 240 GW, having increased by more than 40 times over that same period. Twenty two countries have more than 1.000 MW installed.

1.3.1. USE OF WIND ENERGY.

In Europe, the two countries which have more wind energy are Germany and Spain. In the next figure we can see the new power installed in each region, each year. While Europe shows in the last years a constant new power installations, Asia is each year installing around 20.000 Mw new in wind energy.

Figure 1.1. Annual installed capacity by Region.

If we see the 2012 results, most of the European markets showed stronger growth in the first half of this year than in same period of the previous one: The top markets in Europe continue to be Germany with a new capacity of 941 MW and a total of 30.016 MW, Spain (414 MW, 22.087 MW in total), Italy (490 MW, 7.280 MW total), France (650 MW, 7.182 MW total), the United Kingdom (822 MW, 6.480 MW total) and Portugal (19 MW, 4.398 MW total). All these markets, beside from Spain and Portugal, showed an increase in their new installed capacity compared to the first half of 2011. This is due to the fact that the governments are reducing their budget in infrastructure investment

Again, the markets in Eastern Europe are amongst the most dynamic. Romania with 33% growth (274 MW added), Poland with 32% (527 MW added by April 2012), Ukraine with 64% (37 MW added) and Latvia with 64% (20 MW added). In the next figure, we can see the percentage of wind energy (by 2010) generated in Europe.

Figure 1.2. Percentage of use if wind energy 2010 (eurostat).

If we study the rest of the world, again in 2012, China represents by far the largest wind market, adding 5.4 GW in 6 months, however, significantly less than in the previous year, when it added 8 GW. China accounted for 32% of the world market for new wind turbines, less than the 43% in the full year 2011. By June 2012, China had an overall installed capacity of around 67.7 GW. Without doubt China will continue in the close future being in the number one position, but at a lower speed. India added 1.471 MW, a similar amount like in the first of 2011. The prospects of the Indian market are blurring due to outstanding payments for wind generators in some parts of the country and the recent decisions to abolish important support schemes.

In the United States of America, it was added 2.883 MW between January and June 2012, about 28% more than in the same period in 2011. Major uncertainties arise from the unclear situation about the future of the Production Tax Credit. Some companies have already started to firing people, and the near future of the US wind market will be uncertain, unless they develop a new support scheme. Canada installed 246 MW during the first half of 2012, less than in the previous period of 2011.

In the next figure we can see the new power installations in the world, and the total power generated.

We can see the total power installations in the last years in the next figure. In the following years, it is expected to show the same tendency in the entire world. Each year the wind power is more important in our society.

Figure 1.3. Global cumulative installed wind capacity (1996- 2011).

2. STRUCTURE OF A MODERN WIND TURBINE.

A wind turbine is made up of the following components:

Tower and foundation: In order to guarantee the stability of a wind turbine it is used a pile or flat foundation, depending on the consistency of the underlying ground. The tower construction does not just carry the weight of the nacelle and the rotor blades, but must also absorb the huge static loads caused by the varying power of the wind. Usually, it is used a tubular construction of concrete or steel. An alternative to this is the lattice tower form. The foundation anchors the wind turbine to the ground.

Rotor and rotor blades: The rotor is the component which, with the help of the blades, converts the energy in the wind into rotary mechanical movement. Nowadays, almost all the wind turbines has the three-blade, horizontal axis rotor. The rotor blades are mainly made of glass-fibre or carbon-fibre reinforced plastics (GRP, CFRP). The blade profile is similar to that of an aeroplane wing. They use the same principle of lift: on the lower side of the wing the passing air generates higher pressure, while the upper side generates a pull. These forces cause the rotor to rotate.

Nacelle with drive train: The nacelle holds all the turbine machinery. Because it must be able to rotate to follow the wind direction, it is connected to the tower via bearings. The build-up of the nacelle shows how the manufacturer has decided to position the drive train components (rotor shaft with bearings, transmission, generator, coupling and brake) above this machine bearing. In it, there is also the gearbox that converts the slow rotor motion of 18-50 rpm into the speed which the generator requires. Due to the fact that the wind speed can change, the gearbox has several steps to adapt the rotation speeds of the slow-moving rotor and the fast-moving generator. If it is used a specially developed multi-pole ring generator, the gearbox is no required. For high power wind turbines, doubly-fed asynchronous generators are most frequently used (for more information, go to section number 3). Here, the operating rotation speed can be varied, unlike when using conventional asynchronous generators. Another concept uses synchronous generators. A grid connection of synchronous generators is only possible via transformers, due to the fixed rotation behaviour. The disadvantage of requiring complicated control systems is countered by the overall efficiency and better grid compatibility. Because of the enormous torque, the coupling between the main shaft and the transmission is a rigid one. The type of brake depends on the control mechanism for the blades.

Electronic equipment: The electronic equipment of a wind turbine is composed of the generator, the system for the grid to feed the electricity, like rectifiers or inverters, and various sensors. The sensors for measuring temperature, wind direction, wind speed and many other things can be found in and around the nacelle, and assist in turbine control and monitoring.

Other components: Finally, the wind turbine contains components for following the wind direction, for cooling, heating and lightning protection, as well as lifting gear and fire extinguishing equipment.

2.1. WIND TURBINE GENERATORS.

Obviously, the most important part of a wind turbine is the electric generator and based on it are designed the rest of the elements in the wind turbine. The AC generators have several advantages over the Dc machines, such as a lower weight (which implies a smaller nacelle), lower maintenance costs and they have a higher availability in all the electrical machines markets.

If we use synchronous generators it is necessary to maintain a constant rotor speed to generate a constant power. Because of that, if the winds change, it is caused significant mechanical stress on the transmission system and oscillations in the mechanical power. Thus, in order to connect the generator to the network it is usually used a power electronic converter and then we can allow the rotor speed to vary in a small range.

In the other hand, if we use an asynchronous generator, we can take advantage of the small wind variations because this motor can have small speed variations maintaining the output frequency constant.

In the next point it is going to be examined the two great families of generators, among which are several variants.

2.1.1. SYNCHRONOUS GENERATORS.

In these generators the rotor speed must be equal to the synchronous stator speed, because the voltage and current frequency depend on the rotational speed. If the rotor speed is changed then the outputs will be different to 50 Hz. Because of the fact that the wind speed can change and the need to have a synchronous speed in the rotor, these generators are connected to the electric grid using a power electronic converter as an intermediary between the generator and the grid. The different types of synchronous generators are:

Wound rotor generators.

Permanent magnet generators.

2.1.2. ASYNCHRONOUS GENERATORS.

These generators have the main advantage that even if the wind speed has small variations, we can maintain constant frequency in its outputs terminals. However, these machines need to consume reactive power in all kind of operation, and that is why it is required reactive compensation.

In the figure 2.1, we can see the consumption of reactive power depending on the active power generated. As a solution to compensate this fact, It can be placed some capacitor banks with variable steps, or other solution could be a reactive control through a static compensator filters composed of thyristor or IGBT assets, but this will result in a higher cost.

Figure 2.1. Performance, power factor and reactive consumption depending on the load.

We have to keep in mind that when we connect an asynchronous generator to the network it involves high current peaks, which may trigger the protection. In order to solve this problem, it is used soft starter to start these machines in some applications, where this soft starter uses a voltage that is not the nominal, is a bit lower in order to have small current peaks. We must take the caution to disconnect the capacitors in this process, because these provide significant harmonic content.

One disadvantage that has the asynchronous generator is the need to use a gearbox. This introduces mechanical losses in the turbine, rising cost of maintenance, cost overruns on the structure and increased noise pollution.

Now, is presented the different wind turbines technologies with constant speed and variable speed.

Constant speed wind turbines:

Wound rotor synchronous generator.

Permanent magnet generator.

Variable speed wind turbines:

Asynchronous generator with slip control by rotor resistance.

Asynchronous generator with slip control with energy recovery.

Doubly fed generator (DFIG).

Squirrel cage asynchronous generator.

3. DOUBLE FED ASYNCHRONOUS GENERATOR.

Even though these machines and their principles of operation have been known since years ago, it is only a few years since they are widely used. As it is said in the previous point, the electric generation with wind turbines is the reason why now these machines have been increased their importance. Doubly-fed electric machines are electric machines with stator and rotor windings, in order to feed them with sinusoidal currents.

Doubly-fed induction generators (DFIGs) are one of the most common types of electrical machine used to produce electricity in wind turbines, because of the fact that they have some advantages over other types of generators when used in this kind of application.

First of all, when we want to use this generator in wind turbines is it is allowed to keep constant the amplitude and frequency value of their output voltages, even if the speed of the wind changes the speed rotation of the machine. Because of this, doubly-fed induction generators are usually directly connected to the electrical grid and remain synchronized at all times with the power network. They have also other advantages such as the ability to control the power factor (for example, to maintain the power factor at unity) and having a moderate size of power electronic device in the wind turbine.

3.1. MACHINE OPERATION.

It can be set up a three-phase induction machine with a wound rotor as a doubly-fed induction motor. The machine works like a synchronous machine in which the rotor is going to rotate at the synchronous speed. But in this case, the synchronous speed can be changed by using different currents. We can modify the current frequency fed to the rotor, frotor., and then the rotor can rotate in different speeds. Also, if we want to set it up as a doubly-fed induction generator, the mechanical power at the machine shaft is converted into electrical power supplied to the ac power network via both the stator and rotor windings. As it was explained before, the machine works like a synchronous generator whose synchronous speed (the speed at which the generator shaft must rotate to generate power at the ac power network frequency, fretwork) can be changed by modifying the current frequency fed into the wound rotor.

In a conventional three-phase synchronous generator, the process to obtain electricity is the following. When we have an external source of mechanical power makes the rotor of the generator rotate, the dc current fed into the generator rotor makes a static magnetic field. As the rotor is moving by the source, the magnetic field rotates at the same speed (nrotor) as the rotor. As a result, we have in the stator windings a continually changing magnetic flux because of the rotor magnetic field that will induce an alternating voltage across the stator windings. The mechanical power applied to the generator shaft by the prime mover is thus converted to electrical power that is available at the stator windings.

In synchronous induction generators, the relationship between the frequency of the ac voltages induced across the stator windings of the generator (fstator) and the rotor speed nrotor is expressed using the following equation.

Equation 3.1.

Where fstator is expressed in hertz (Hz), nrotor is the speed of the generator rotor expressed in rotations per minute (rev/min) and Ppoles is the number of pares of poles in the induction generator per phase.

Using Equation3.1, it is esay to know that, when nrotor is equal to the generator synchronous speed (ns), the frequency of the ac voltages induced in the stator windings of the generator is equal to the frequency of the ac power network, or fnetwork.

Nevertheless the magnetic field created in the rotor of a doubly-fed induction generator is not static because it is created using three-phase ac current instead of dc current. However, we can apply the same operating principles in a doubly-fed induction generator as in a conventional synchronous induction generator. The only difference is that the magnetic field created in the rotor now rotates at a speed nΦ, rotor proportional to the frequency of the ac currents fed into the generator rotor windings. This means that the rotating magnetic field passing through the generator stator windings not only rotates due to the rotation of the generator rotor, but also due to the rotational effect produced by the ac currents fed into the rotor windings. Thus, in a doubly-fed induction generator, the frequency of the alternating voltage induced across the stator windings are determined by the speed of the rotating magnetic field in the stator windings (nΦ, stator). And this rotating magnetic field is caused by the rotation speed of the rotor and the frequency of the currents fed into the rotor windings (frotor).

If we think in how the doubly-fed induction generator works, it can be proved that when the magnetic field at the rotor (nΦ, rotor, proportional to frotor ) and the rotor itself have the same direction with a speed n rotor, then the resultant magnetic field is the add of both. This is shown in Figure 3.1. The frequency of the voltages induced across the stator windings of the generator can thus be calculated using the following equation:

Equation 3.2

Where frotor is the frequency of the ac currents fed into the doubly-fed induction generator rotor windings, expressed in hertz (Hz).

In the other hand, when the magnetic field at the rotor and the rotor itself rotate in opposite directions, nrotor and the speed of the rotor magnetic field subtract from each other. This is shown also in the figure 3.1. Thus, fstator can be calculated using the following equation:

Equation 3.3

Figure 3.1. Interaction between the rotor speed and the frequency of the rotating magnetic field created in the rotor windings of a doubly- fed induction generator.

In other words, the frequency of the ac voltages and currents produced in the stator windings of a doubly-fed induction generator is proportional to the speed of the rotating magnetic field at the stator (nΦ, stator). This field depends on the rotor speed, n rotor (resulting from the mechanical power at the rotor shaft) and the frequency of the ac currents fed into the machine rotor. Depending on the direction of both, nΦ, stator is the addition or the subtraction.

3.2. FIXED-FREQUENCY VOLTAGES GENERATION.

Now that it has been explained the main operation of the machine, it can be explained the main reason for a doubly-fed induction generator. When we have the wind turbine generator connected to the network, it is necessary that the three-phase voltage that is generated in the stator remains constant, and equal to the value of the electrical grid, or fnetwork ,despite of the rotor speed variations caused by the mechanical power source. In other words, even if the wind causes a change in the rotor speed, the output voltage must have the same value and frequency. In order to reach this condition, we have to measure in real time the value of the nrotor and be able to adapt and generate the currents fed in the rotor windings at a variable frequency. Thus, when we have a speed variation because of a fluctuation in the mechanical power source, we have to change the frequency of the currents fed to the rotor.

The frequency of the ac currents that need to be fed rotor windings to maintain fstator at the same value as the frequency fnetwork depends, as it has been explained before, on the rotation speed of the generator rotor, and can be calculated using the next equation:

Equation 3.4

Where frotor is the frequency of the ac currents that need to be fed into the doubly-fed induction generator rotor windings for fstator to be equal to fnetwork , expressed in hertz (Hz).

Using Equation 3.4, it is possible to calculate that, if the rotor speed is the nominal synchronous speed ns, the frequency of the currents that should be fed are equal to 0 Hz, this is a dc current. Thus, the machine will operate in this case as a conventional three-phase synchronous machine.

However, when the rotor speed decreases under the nominal synchronous speed, we have to increase in the positive polarity the frequency of the ac currents that are fed into the rotor windings. The positive polarity of the frequency f rotor refers to the fact that the phase sequence of the three-phase ac currents fed into the rotor must make the rotor magnetic field rotate in the same direction as the generator rotor, as is illustrated in Figure 3.1 a.

In the other hand, if the rotor speed increases above the nominal synchronous speed ns, we have to increase in a negative polarity the frequency of the ac currents that are fed into the rotor. This negative polarity of the frequency f rotor indicates that the phase sequence of the three-phase ac currents fed into the rotor windings, now must make the rotor magnetic field rotate in the opposite direction of the rotor speed, as it was illustrated in Figure 3.1. b.

For a better understandgin, we can make an small example. Consider a doubly-fed induction generator having 4 magnetic poles. The generator supplies power to a 50 Hz ac power network, and the external source makes the generator rotate at a speed of 1980 r/min, the frequency of the ac currents that need to be fed into the generator rotor windings can be calculated so:

The frequency f rotor to be fed into the rotor in order to have a frequency f stator of the generator output voltage is equal to the frequency of the ac power network is 16 Hz. The negative polarity of the frequency indicates that, as it was explained before, the magnetic field created in the rotor windings must rotate in the opposite direction of the rotor speed.

When we want to produce power in the ac electrical grid with a doubly-fed induction generator, any deviation of the rotor speed from the synchronous speed ns is compensated by varying the frequency of the ac currents fed into the rotor windings in order remain constant (and equal to the network frequency) the frequency of the voltage produced at the stator. In other words, the frequency f rotor is changed to have always constant the nΦ, stator of the rotating magnetic field passing through the stator windings. However, we have to maintain constant not only the output frequency of the stator, but also the voltage produced on it should be equal to the ac power network voltage. Thus, a particular magnetic flux value must be maintained in the stator windings. This can be achieved by applying a voltage to the rotor currents that is proportional to the frequency applied.This maintains the V/f ratio constant and ensures a constant magnetic flux value in the machine. It is like a scalar control in an asynchronous machine, if we maintain this ratio constant, the value of the magnetic field is also constant (for more information, go to section number 7). The value of the V/f ratio is generally set so that the reactive power at the stator Q stator is equal to zero. This has the same meaning as it is done in the conventional synchronous generators where the exciter current (dc current in the rotor) is adjusted in order to have a zero value in the reactive power at the stator.

3.3. WIND TURBINES WITH DOUBLE FED GENERATORS.

Because of the many advantages that doubly-fed induction generators have over different generators when in our application the mechanical power provided to the rotor varies (such as the wind), the majority of them nowadays are used to generate electrical power in high power wind turbines. However, we need to know a little bit more about large-size wind turbines in order to have a better understanding about the advantages of using doubly-fed induction machines to generate electrical power.

There are two different groups of large-size wind turbines, fixed-speed wind turbines and variable-speed wind turbines. Depending on this which one we use, it determines the behaviour of the wind turbine when the wind speed varies. If we use fixed-speed wind turbines, it is normally used asynchronous generators. With this machines, they are directly connected to the electric grid (local ac power network), and the rotation speed of the generator is almost fixed, and it is the rotor speed of the turbine. In the reality, it can usually vary a little as the slip is allowed to vary over a range of typically 2% to 3%. When the wind speed varies causes that the mechanical power at the rotor changes and, due to the fact that the rotation speed is fixed, the torque at the wind turbine rotor has a proportional variation. Because of this, when the winds speed vary, the rotor speed has a small or non-existent variation but the torque at the turbine rotor increases significantly. Therefore, every wind speed variation stresses the mechanical components in the turbine and causes an immediate increase in rotor torque and also in the power at the generator output. This is a problem for the electrical grid where the turbine is connected, because any fluctuation in the output power of a wind turbine generator is a source of instability.

In the other hand, we can use variable-speed wind turbines, in which the rotation speed of the turbine rotor is allowed to vary when the wind speed varies. Because of that, the use of asynchronous generators is not recommended because the rotor speed is quasi-constant when they are connected to the grid. Also, it is not recommended to use synchronous generators because they must rotate at the synchronous speed when they are connected directly to the grid.

In this point is where the where doubly-fed induction generators increase their importance, because they are able to maintain the output voltage and frequency constant, regardless of generator rotor speed and thus, the wind speed. As it was explained before, this is achieved by changing the frequency and amplitude of the ac currents fed into the generator rotor windings. By this process, it is possible to remain constant the amplitude and frequency of the voltages at stator produced by the machine, even if the wind turbine rotor speed has some variations caused by changes in the wind speed. This speed variation possibility has another consequence. The generator avoid the suddenly torque variations at the wind turbine rotor, and this decrease the stress caused on the mechanical components of the machine. Also, there are no variations in the amount of electrical power produced by the generator. Furthermore, it is possible to adjust the power factor of the system by changing the amount of reactive power exchanged between the generator and the ac power network. Finally, if we use a doubly-fed induction generator in variable-speed wind turbines, it is possible to generate power at lower wind speeds than with fixed-speed wind turbines using asynchronous generators.

It is possible to obtain similar results for variable-speed wind turbines using a three-phase synchronous generator with power electronics, as shown in Figure 3.2 a. In this application the rotor speed is proportional to the wind speed, and the frequencies of the ac currents produced by the generator are variable. In order to connect the machine to the network, it is needed to convert them into dc current by an AC/DC converter (rectifier), and then converted by another AC/DC converter (inverter) to ac currents that are synchronous with the ac power network. Thus, the power electronics devices used in this application has to process the 100% of the generator output power.

In the other hand, the power electronics devices used in doubly-fed induction generators, only process a fraction of the generator output power. The electronic devices only have to control the power fed to or from the rotor windings, which is typically about 30% of the generator total power. Thus, if we use a doubly-fed generator for variable-speed wind turbines, the power electronics devices can be smaller and cheaper, with tipically about the 30% of the size of the power electronics devices used for three-phase synchronous generators, as illustrated in Figure 3.2 b. This reduces the cost of installation, as well as the power losses in the system.

In conclusion, using a doubly-fed induction generator in wind turbines offers the next advantages:

Operation at variable rotor speed maintaining constant the amplitude and frequency of the generated voltages.

Optimization of the amount of power generated as a function of the wind available up to the nominal output power of the wind turbine generator.

Virtual elimination of dangerous variations in the torque and power generated.

Generation of electrical power at lower wind speeds.

Control of the power factor.

On the other hand, the doubly-fed induction generator has some inconvenient. They require more complex power conversion circuitry than the asynchronous generator. Also, in order to have an implementation of the doubly-fed induction generator it is needed slip rings on the wound-rotor induction machine, and they require periodic maintenance. However, in a asynchronous generator rings are not required on the rotor of the squirrel-cage.

If we compare the use with a synchronous generator in wind turbines, they offer the same advantages as doubly-fed induction generator. Both types of generator require two AC/DC converters. However, as it was explained, the two AC/DC converters in doubly-fed induction generators are significantly smaller than those in synchronous generators of comparable output power. This is because the AC/DC converters in doubly-fed induction generators work with only about 30% of the nominal generator output power while the AC/DC converters in synchronous generators control the 100% of the nominal generator output power.

4. EQUIPMENT USED.

4.1. LABVIEW.

LabVIEW is the short name for Laboratory Virtual Instrument Engineering Workbech. Is a language and at the same time an environment for graphical programming which allow us to create different applications. First of all, it is going to be showed the history of the program.

LabVIEW was developed by National Instruments and they began in 1976 in Austin, Texas and its first products devices were for the instrumentation bus GPIB. In April 1983 they began development of LabVIEW, which was an important goal for the company, and it becomes their best product. It was released in October 1986 with the release of LabVIEW 1.0 for Macintosh and version 2.0 in 1990. For Windows would have to wait until September 1992. LabVIEW is a useful graphical development environment with integrated functions for performing data acquisition, control instruments, measurement analysis and data presentation. This program offers the flexibility of a powerful programming environment but, through the graphic programming, is more simply than other languages.

Unlike general purpose languages, LabVIEW provides specific functionality that can accelerate the development of measurement, control and automation. It has different tools for building applications with no text lines of code, only with functions and blocks. Also, we can place objects and then create user interfaces. After we have to specify the system functionality with the block diagrams.

With LabVIEW we can develop systems that meet our performance requirements in different systems such as Windows, Macintosh, UNIX and real-time systems. Furthermore, it works with more than one thousand instruments libraries of manufacturers, and many manufacturers of measuring devices also include with their products tools.With this program, it is not only the performance or the simply programming, but also the reasonable cost of designing an application.

The program has extensive capabilities for acquisition, analysis and presentation, so that it can create a comprehensive solution on the platform that has chosen. We are going to use the Real-Time module for LabVIEW, in order to design real time applications and take advantage of our multicore CPU.

4.1.1 LABVIEW REAL TIME.

For our application, we are going to develop a program that controls the motor in real time. We need to read some values (like the speed) and generate the ac voltages in each moment. Some others applications can run on general-purpose operating systems like Microsoft Windows. However, our applications require deterministic real-time performance that non-real-time operating systems like Windows cannot guarantee. LabVIEW Real-Time (RT) addresses the need for deterministic real-time performance.

This part of the program combines the use of LabVIEW with the power of real-time systems so we can create deterministic applications using graphical programming. In order to build Real-time applications we need RT Series hardware, either plug-in data acquisition devices or networked RT Series devices.

Thus, we are going to use embedded LabVIEW RT applications in a PXI device. However, these devices do not have a user interface, so they must have a host PC to generate the user interface. Because of that, we will develop our basic program from a host system with Windows. Then, when the program is ready in the host system, we can download the real-time code to run it on a hardware target (or PXI system) with a real-time module. This process will be explained in the section number five.

The general purpose operating systems can have some problems, such as delays or crashes, which causes programs to quit running and this could be a very important problem in the real industry. This is the main reason why we are going to use a real time system. Even if the host PC operating system crashes, due to the fact that embedded real time applications run on a separate hardware platform, they do not stop executing. If a crash occurs on the host system, the user interface is lost, and any other communication between an embedded LabVIEW RT application and the host PC ceases. However, the embedded applications keep on running, even after the host PC operating system crashes.

Once we have rebooted the host Pc without disrupting embedded the real time application, we can re-establish communication between the host PC and the embedded real time program and continue working normally.

For our objective, we need a real time application, in order to control our motor in each moment. A general-purpose system like windows could send the information with some delay, causing a wrong control. This even could cause that the IGBT’S do not create an alternative current because they do not change their state, or a short-circuit between two IGBT’s in the same branch. In order to use the real time application, we need a PXI-chassis, a PXI- controller and some acquisition devices that will be explained in the following sections.

To communicate the host PC and our PXI device, we connect them with an Ethernet connexion, as we can see in the next figure.

4.2. PXI DEVICES.

PCI eXtensions for Instrumentation (PXI) is a robust PC based on a platform that offers a solution with high performance for measurement and automation systems. This system combines the Peripheral Component Interconnect (PCI) electrical bus with the modular Eurocard mechanical packaging of CompactPCI and adds specialized synchronization buses and key software features. PXI has also mechanical, electrical, and software features that make it suitable for test and measurement, data acquisition, and manufacturing applications. We can use this system for different applications such as manufacturing test, military and aerospace, machine monitoring, automotive, and industrial test. In our case, we will use it for machine control and monitoring.

National Instruments started with the PXI systems in 1997 and one year later it was announced that it was going to be an open industry, in order to meet the increasing demand of complex instrumentation systems. Because of that, any vendor is able to build PXI products. Due to this, the interoperability between CompactPCI them is an obliged feature of the PXI specification, and different kinds of CompactPCI and PXI modules can reside in the same PXI system without any problem.

Later, in 2005 the technology evolved improving the available bus bandwidth capability, so they announced the change from PCI to PCI Express, and from PXI to PXI Express. PXI has the ability to meet even more application needs by integrating PCI Express into the PXI standard. The PCI Express technology can be integrated into the backplane and at the same time, preserving backward compatibility with the large install base of previous systems. By taking advantage of PCI Express technology, PXI Express increases the available bandwidth from 132 MB/s with PXI to 6 GB/s for a more than 45X improvement in bandwidth while still maintaining software and hardware compatibility with other PXI modules. With this new bus bandwidth performance, PXI can reach many new application areas that need powerful systems.

As we can see in the next figure, PXI systems are composed of three basic components: chassis, system controller, and peripheral modules. In the next sections it will be explained separately.

4.2.1. CHASIS PXI 1031.

The chassis is the basis for the system. We can chose between different chassis, with different features such as number of slots, sizes and power supplies(AC and DC). Many PXI Express chassis can have PXI and PXI Express peripheral modules and others, have hybrid and PXI Express peripheral slots so we can use PXI Express and hybrid-compatible PXI peripheral modules. The chassis allow for multiple PXI system configurations to be able to adapt different needs. They contain the high-performance PXI backplane, which includes the PCI bus and timing and triggering buses. PXI modular instrumentation adds a dedicated 10 MHz system reference clock, PXI trigger bus, star trigger bus, and slot-to-slot local bus to address the need for advanced timing, synchronization, and sideband communication while not losing any PCI advantages.

Improving the PXI capabilities, PXI Express provides the additional timing and synchronization features of a 100 MHz differential system clock, differential signalling, and differential star triggers. By using differential clocking and synchronization, PXI Express systems are more immune to noise problems for instrumentation clocks and they have the ability to transmit at higher-frequency rates. Using these timing and triggering buses, we can develop systems for applications requiring precise synchronization.

In our project, we are going to use a PXI 1031 chassis. It combines a 4-slot PXI backplane that has been designed to be used in a wide range of applications, this means that is a general chassis for different needs. It accepts 3U PXI and CompactPCI (PICMG 2.0 R 3.0) modules. The chassis should be fed with AC, and it has an automatic voltage and frequency ranging. Furthermore, it has a controlled fan speed based on air to control automatically the temperature, but at the same time, minimizing the audible noise. In the next figure, we can see the front panel of the PXI 1031 with its different parts.

.

The PXI-1031 backplane should be used with 5V, universal PXI-compatible products and standard CompactPCI products. This is an important feature, because some PXI systems may require components that do not implement PXI-specific features.

As we can see in the figure 4.4, the slot number one of the chassis is the system controller. It has three controller expansion slots for different system controller modules. As it is defined in the PXI specification, these slots allow the controller to expand to the left to prevent the controller from using peripheral slots.

The slot number two is the star trigger (ST). This slot has dedicated equal-length trigger lines between slot 2 and peripheral slots 3 and 4. It is intended for modules with ST functionality that can provide individual triggers to all other peripheral modules. However, if in our application is not required advanced trigger functionality, we can install here any normal peripheral module. There are three peripheral slots, including the star trigger slot that we can use for different kind of measurements.

The PXI backplane local bus is connects each peripheral slot with adjacent peripheral slots to the left and right connected in series. Each local bus has thirteen lines wide and can pass analogue signals up to 42 V between cards or provide a high-speed TTL side-band digital communication path without reducing the PXI system bus bandwidth. All slots share eight PXI trigger lines. One option to use these trigger lines could be to synchronize the operation of several different PXI peripheral modules, but it can be used in several applications. Besides, the PXI-1031 supplies the PXI 10 MHz system clock signal independently to each peripheral slot. An independent buffer drives the clock signal to each peripheral slot. We can use this common reference clock signal to synchronize multiple modules in a measurement or control system. All this explication is resumed in the figure 4.3 that it was seen before.

Our system needs some inputs parameters that we can find it in the user manual of the manufacture.

AC INPUT

Input voltage range

100 – 240 V (AC)

Operating voltage range

90 – 264 V (AC)

Input frequency

50/60 Hz

Operating frequency range

47 – 63 Hz

Input current rating

4 – 2 A

Efficiency

> 70% at full load, normal input voltage.

Power disconnect

The AC power cable provides main power disconnect. The front-panel power switch controls the internal chassis power supply that provides DC power to the CompactPCI/PXI backplane.

Table 4.1. Input values.

Also, we should need the DC output parameters in order to connect other devices to our PXI system.

DC current capacity (Imp)

Voltage

0 – 50 ºC

+ 3.3 V

12 A

+ 5 V

17 A

+ 12 V

2 A

- 12 V

0.8 A

Table 4.2. DC current capacity.

Protections

Over- voltage protection at

Active Range

Minimum

Maximum

+ 3.3 V

3.75 V

4.3 V

+ 5 V

5.74 V

7.0 V

+ 12 V

13.4 V

15.6 V

Over-current protection

All outputs protected from short circuit

Table 4.3. Protections.

4.2.2. CONTROLLER PXI 8106.

As we have seen in the previous point, the PXI 1031 chassis contain a system controller slot in the left (slot 1). When we are looking for the best system controller for an application, we can choose from some options, such as remote controllers from a desktop, workstation, server, or laptop computer and high-performance embedded controllers with either a Microsoft OS (Windows 7/Vista/XP) or a real-time OS(LabVIEW Real-Time). The two types of controller options are laptop control of PXI and PC control of PXI.

The PXI embedded controllers provides a complete system contained within the PXI chassis, and because of that eliminate the need for an external PC. These embedded controllers come with standard features such as an integrated CPU, hard drive, RAM, Ethernet, video, keyboard/mouse, serial, USB, and other peripherals, as well as Microsoft Windows and all device drivers already installed. They are available for systems based on PXI or PXI Express, and there are several options to choose the OSs, including Windows 7/Vista/XP or LabVIEW Real-Time. In our case, we are going to use the controller with LabVIEW real time, and use an external PC to control de user interface.

The PXI embedded controllers are built with standard PC components in a small package. If we need to have a portable systems or applications where the chassis is moved from one location to others, embedded controllers are ideal. In our case, we can use the PXI embedded controller to develop the speed control and use it in different machines, in different places. In the next figure we can see our PXI 8106 controller.

For our project, it will be used the PXI 8106. This embedded computer is a high-performance PXI system controller, which integrates standard input and output features in a single unit by using state-of-the-art packaging. As we did, combining this controller with our PXI 1031 chassis, results in a fully PC-compatible computer in a compact and rugged package.

The standard I/O on this module includes DVI-I (Digital Video Interface Integrated Analog/Digital) video, one RS-232 serial port, a parallel port, four Hi-Speed USB ports, Gigabit Ethernet, a reset button, and a PXI trigger.The controller has an Intel ® Core 2 ™ Duo processor T7400 (2.16 GHz dual core processor), all the standard I/O, and a 30 GB hard drive. It also has a PCI-based GPIB controller and an ExpressCard/34 expansion slot.

The PXI controller 8106 is a modular PC in a PXI 3U-size form factor. In the next figure we can see a functional block diagram of the machine. Following the diagram is a description of each logic block shown.

Socket 479

CPU

DUAL CH

SO-DIMM

DDR2 SDRAM

PC2-5300

Chipset

Graphics

Memory

Controller

Hub

Flahs ROM

DMI

GPIB

Gigabit

Ethrenet

Chipset

I/O

Controller

Hub

PXI connector

PXI

trigger

4-Hi speed USB connectors

PCI bus

COM 1

LPT 1

SuperI/O

Expresscard /34 Slot

SATA

ATA 100 IDE interface

LPC bus

SMB

SMB to PXI

Trigger

Watchdog timer

Figure 4.6. Block diagram.

Our chassis CPU module is formed with the logic blocks of the figure 4.6, that are explained in the following points:

The first one is the Socket 479 CPU, and is the Intel ® Core 2 ™ Duo processor T7400. The SO-DIMM block consists of connections of 64-bit DDR2 SDRAM that, as maximum, can have 1 GB each one. The Chipset 945GMCH (Graphics and Memory Controller Hub) establish the connection between the DDR2 SDRAM and DVI-I video, with the CPU. The SMB to PXI Trigger creates a connection of the PXI triggers to the SMB on the front panel and also from it.

Also, we have the Watchdog Timer block is a timer that can generate a trigger signal or reboot the computer if there is any problem. The Chipset ICH7M is used to connect the PCI, USB, IDE, SATA, and LPC buses. To this ICH7M chipset, we have connected the USB Connectors. The SATA block is used to make a connexion between a Serial ATA and the ICH7M chipset. The ATA-100 IDE block is dedicated PCI-IDE circuitry providing fast communication to 2.5’’ hard drive that has at least 30 GB.

Then, as we can see in the diagram, the PXI Connector connects the controller to the PXI backplane. The Super I/O block represents the other peripherals supplied by the PXI 8106 controller. Also, it has one serial port, and an ECP/EPP parallel port. The Gigabit Ethernet we are going to use to connect the controller with the host PC, connects to a 10 Mbit, 100 Mbit, or 1,000 Mbit Ethernet interfaces. The GPIB block contains the GPIB interface, and the ExpressCard-34 slot has an ExpressCard-34 module.

We have to set our processor in our chassis following the installation procedure. We are going to use LabVIEW real time in our processor, so we have to configure it in order that it always start in a real time mode. We must configure the switches that we can see in the next figure, and the controller will read it after a system reset. If we set the switch 1(boot LabVIEW RT) to on position, it starts with LabVIEW RT. The switch 2(boot Safe Mode), if we set this switch to on the controller boots LabVIEW RT into safe mode to reconfigure TCP/IP settings and to download or update software from a host computer. This switch is predominant over the behaviour of switch 1. Booting the controller into safe mode does not start the embedded LabVIEW RT engine. We should reboot the controller with this switch off to resume normal operation, after changing the settings or software. The switch 3 (disable Startup VI) is used to prevent that one program starts automatically running if the controller becomes inaccessible. The switch 4 (reset IP address) is used to reset to a default configuration the IP address and other TCP/IP settings. This bottom is only used if we are going to move the controller to another subnet or the current values of the TCP/IP are not valid.

The controller has in the front-panel some important features that we should know. A controller reset pushbutton and two front panel LEDs that show PC status:

The power led ok, is used to show the user the power status of the controller. The LED can be on, that means that PXI and onboard power is on and within regulation limits. Also, the LED can be blinking if one of the PXI or onboard supplies is operating outside of the normal limits, or is not functioning. The last option is that the LED is off, when the controller has no power connection.

The drive LED indicates that the controller is accessing to the hard disk. We have two different possibilities for data storage. We can use the internal hard drive (2.5’’) that supports up to ATA-5 (UDMA 100) for extended temperatures or SATA for standard configuration. Also, we can use a USB storage support, such as USB CD-ROM, mass storage device, or floppy drive.

Electrical Specifications

Voltage (V)

Current (A)

Typical

Maximum

+ 3.3 V

3.60

3.75

+ 5 V

7.50

8.50

+ 12 V

0.005

0.005

- 12 V

0

0

Table 4.3.Electrical specifications.

4.2.3. PERIPHERICAL MODULES. PXI 6221.

The options to choose a PXI module are wide. This modules are not offered only by National instruments (with more than 200 different), but also by more than 70 vendors (with more than 1,500 modules) because now, as it was explained before, is an open industry. We can use them for a lot of applications such as analog input or output, digital input or output, digital signal processing, motion control, signal generation, data acquisition, switching, vision, advanced synchronization, and interfacing with other buses so we can create a wide variety of PXI systems.

In our project, we are going to use a PXI 6221 to have digital inputs (for the speed sensor), digital outputs (for the IGBT’s controlling) and also analog inputs (for the current measurement). It is a multifunction M Series data acquisition (DAQ) board optimized for sensitive applications. It was chosen this board because of its high speed for sampling and the accuracy for a hight resolution and superior measurement accuracy. All of this is why this device incorporates advanced features such as the NI-STC 2 system controller, NI-PGIA 2 programmable amplifier, and NI-MCal calibration technology to increase performance and accuracy.

First of all, we are going to use this device to digital I/O. It has twenty-four digital channels: eight digital channels (P0.0 to P0.7) and sixteen PXI channels (PFI0 to PFI15). Each channel has an input voltage protection when the value is more than 20 V. It also has two counters with 32-bits resolution for edge counting, pulse, period and two edge separation that are thought to be used in the speed measurement, in order to count pulses. The device has also eight differential analog inputs and 2 analog outputs, that we are going to use to the I measurement. In the next figure we can see the PXI 6221 pinout.

In the next table it is described the signals found on the I/O connectors.

SIGNAL NAME



rev

Our Service Portfolio

jb

Want To Place An Order Quickly?

Then shoot us a message on Whatsapp, WeChat or Gmail. We are available 24/7 to assist you.

whatsapp

Do not panic, you are at the right place

jb

Visit Our essay writting help page to get all the details and guidence on availing our assiatance service.

Get 20% Discount, Now
£19 £14/ Per Page
14 days delivery time

Our writting assistance service is undoubtedly one of the most affordable writting assistance services and we have highly qualified professionls to help you with your work. So what are you waiting for, click below to order now.

Get An Instant Quote

ORDER TODAY!

Our experts are ready to assist you, call us to get a free quote or order now to get succeed in your academics writing.

Get a Free Quote Order Now