Sunday, 24 March 2013

Brushless DC Motor

What is a Brushless DC Motor?
A Brushless DC Motor (also known as a BLDC Motor), is a synchronous electric motor powered by a direct current. As the name implies, the Brushless DC Motor does not operate using brushes; rather it operates with a controller via electronic commutation.
Block Diagram for a Brushless DC Motor
Controller Driver
Block Diagram for a Brushless DC Motor
How does a Brushless DC Motor Work?
A Brushless DC Motor is operated by means of an electronic six-step commutation system. Unlike its Brush DC Motor counterparts, the Brushless DC Motor does not contain any carbon brushes. Instead, the electromagnets within the motor remain stationary along with the armature, while the encased permanent magnets rotate, generating torque. The Brushless DC Motor is synchronous; both the stator and the magnetic field generate the same frequency, therefore avoiding any type of “slip” most induction motors exhibit.
What is Six-Step Commutation?
Six-step commutation is a cost-effective means of electronic commutation, due to the simple and relatively inexpensive feedback and drive devices. In six-step commutation, only two out of the three Brushless DC Motor windings are used at a time. Steps are equivalent to 60 electrical degrees, so six steps makes a full, 360 degree rotation. One full 360 degree loop is able to control the current, due to the fact that there is only one current path. Six-step commutation is typically useful in applications requiring high speed and commutation frequencies. A six-step Brushless DC Motor usually has lower torque efficiency than a sine-wave commutated motor.
How is a Brushless DC Motor Controlled?
An electronic Brushless DC Controller (also known as a Driver, or Electronic Speed Controller), replaces the mechanical commutation system utilized by a Brush DC Motor, and is required by most Brushless DC Motors to operate. In a Brushless DC Motor controller, either a Hall Effect Sensor or Back EMF (Electromotive Force) is used to identify the position of the rotor. Understanding the orientation of the rotor is crucial to operating the Brushless DC Motor.

The Hall Effect uses three hall sensors within the Brushless DC Motor to help detect the position of the rotor. This method is primarily used in speed detection, positioning, current sensing, and proximity switching. The magnetic field changes in response to the transducer that varies its output voltage. Feedback is created by directly returning a voltage, because the sensor operates as an analogue transducer. The distance between the Hall plate and a known magnetic field can be determined with a group of sensors, and the relative position of the magnet can be deduced. A Hall sensor can act as an on/off switch in a digital mode when combined with circuitry.

Back EMF, also known as the Counter-Electromotive Force, is caused by a changing electromagnetic field. In a Brushless DC Motor, back EMF is a voltage that occurs where there is motion between the external magnetic field and the armature of the motor. In other words, the voltage is developed in an inductor by an alternating or pulsating current. The polarity of the voltage is constantly the reverse of the input voltage. This method is commonly used to measure the position and speed of the Brushless DC Motor indirectly, and due to the lack of Hall Sensors within the controller, these are often referred to as sensorless controllers.

Optical Encoders can also be added to the Brushless DC Motor, allowing both direction and speed to be determined. More precise applications may use Optical Encoders with a third index signal, to determine pulse per revolution.
Physical Properties of a Brushless DC Motor
The Brushless DC Motor consists of a rotating rotor, Neodymium Iron Boron magnets, and a stator. Brushless DC Motors are considered to be an “inside-out” version of a Brush DC Motor; the commutator and brushes are nonexistent, and the windings are located externally, connected to the controller. There are typically two different construction types for the Brushless DC Motor: inrunner and outrunner configurations. The inrunner configuration consists of three stator windings located around the rotor, with permanent magnets as a part of the rotor. The outrunner has a reversed relationship between the magnets and the coils. The permanent magnets rotate inside a suspended rotor surrounding the core of the Brushless DC Motor.

Internally, a 3-phase motor can be configured to a “Wye” or “Delta” configuration. The primary advantage to the “Wye” configuration, also known as the Star configuration, is that the phase-to-neutral voltage is equal in all three legs. The arrangement is a parallel circuit in a shape of the letter Y, where all windings are connected at a central point, and power is applied to the remaining windings.
wye configuration
The Delta configuration creates a triangle-like figure, making it a series circuit. This configuration applies power to each of the connections.
delta configuration
How to Select a Brushless DC Motor
Selecting the appropriate Brushless DC Motor requires knowing the requirements of the application, such as torque, speed, size, power, length, etc. While determining which Brushless DC Motor best fits the requirements, the controller must be considered as well, as this goes hand in hand with the operation of the Brushless DC Motor.

Lastly, environment is important to consider. Applications requiring a harsh, damp environment may require motors with specific IP ratings. For more detailed information on this subject, see Brushless DC Motor Environmental Considerations.
Brushless DC Motor Applications
The cost of the Brushless DC Motor has declined since its introduction, due to advancements in materials and design. This decrease in price, coupled with the many advantages it has over the Brush DC Motor, makes the Brushless DC Motor a popular component in many different applications. Applications that utilize the Brushless DC Motor include, but are not limited to:
Brushless - Category - Brushless Motors
     • Instrumentation
     • Medical
     • Appliances
     • Automotive
     • Factory Automation Equipment
     • Aerospace
     • Military
Advantages of a Brushless DC Motor
The absence of brushes in a Brushless DC Motor is perhaps its greatest advantage. The carbon brushes within a Brush DC Motor wear out rapidly and need replacing, which can be costly in the long run. The Brushless DC Motor generates less noise, and is less prone to sparking due to the lack of a commutator. The Brushless DC Motor is typically smaller and lighter than the Brush DC Motor, making it ideal for applications where weight and space are important factors. The Brushless DC motor is cleaner, more powerful, and requires lower maintenance than does the Brush DC Motor. It has higher speed ranges, higher dynamic responses, and ultimately outlasts the Brush DC Motor in total operating hours.
Disadvantages of a Brushless DC Motor
There are numerous applications using a Brush DC Motor that could instead utilize the Brushless DC Motor. However a few factors might prevent the changeover. The first factor is start-up cost. Although the Brushless DC Motor is lower-maintenance than the Brush DC Motor, initial cost is more expensive, due to its advantageous construction. Second is complexity. A controller is required in order to operate a Brushless DC Motor, and is usually more convoluted than most controllers. A Brushless DC Motor also requires additional system wiring, in order to power the electronic commutation circuitry.
Lifetime of a Brushless DC Motor
The Brushless DC Motor is often considered superior over the Brush DC Motor for its substantially longer lifespan. If run within the given specifications, the Brushless DC Motor can last over 20,000 operating hours based on bearing life. Running a Brushless DC Motor outside of its specifications shortens this lifespan.
Required Maintenance of a Brushless DC Motor
Due to the lack of brushes or a commutator, there is nothing to replace within a Brushless DC Motor, making it extremely low maintenance. The only requirement is that the motor be run within proper specifications, and in a clean environment to ensure it does not overheat or result in system failure.
Brushless DC Motor Environmental Considerations
Brushless- Type - IP65 Rated Sealed Motors Precaution must be taken by the user with respect to the environment of the Brushless DC Motor system during operation, repair, and service. The environment in which a Brushless DC Motor is used, must be conducive to good general practices of electrical equipment. Do not run a Brushless DC Motor system near flammable gases, dust, oil, vapor or moisture. The Brushless DC Motor must be protected by a cover if operated outdoors, ensuring the motor receives adequate air flow and cooling. Any presence of moisture may result in system failure and/or electric shock. Therefore adequate care should be taken to avoid any interaction between the Brushless DC Motor and any kind of moisture or vapors. A Brushless DC Motor should be installed in an environment free from vibration, shock, condensation, dust and electrical noise.
Formulas
What is the Kt Constant in a Brushless DC Motor?
Winding Power = Kt*Kt/R

Kv = 1000 rpm / Vrms

Kt = oz-in / Amp

Kt = Kb * 1.35

Ke = Vrms / 1000 rpm

Kb = V / 1000 rpm

Back EMF = V/KRPM

Tuesday, 5 February 2013

Transmission Lines Basics

Transmission Lines Basics
  • Transmission towers also called pylons for supporting the conductors and other accessories
  • Insulators
  • Damping devices
  • Earthing system

 

Transmission Tower and conductor


The transmission tower or pylon is one of the most important accessories of a transmission line. As the whole load of the line and accessories are taken by the towers so its design is crucial. For construction of a transmission line the type and numbers of  transmission towers required depends on many factors. Transmission tower is designed to carry the whole load of phase and grounding conductors in normal and abnormal conditions. The design requirements in icy, non-icy, coastal areas, cyclone prone areas and heavily air polluted areas are different. Due to the deposition of ice on conductor the weight of line is increased considerably resulting in heavy load on the tower. In the cyclone prone areas the conductors and towers experience severe wind loading. In such situations if these factors are not properly taken care of, then the conductor may snap and the tower may collapse. In the design process all these factors are taken care of.
Climatic condition plays an important role in tower and line design. For the purpose, climatic load data is collected. The tower foundation type depends on the soil. Also seismic data of the concerned region is collected for tower design. The tower types generally used are Lattice structure, Guyed V, Tubular pole type etc. We have already discussed about the conductor types used in transmission lines


Insulators


Insulators for use in transmission lines can be categorized different ways. The main function of insulator is undoubtedly to insulate the live conductor from the metallic tower at ground potential but the important thing is that the insulator should be able to carry the load/tension in the transmission line. At angle towers or at dead end the insulators should be able to carry large tensional force. The insulators used for transmission lines are mainly of porcelain or composite polymer types. Traditionally porcelain insulators are used for both transmission and distribution purposes.
In the coastal areas the climatic condition also influences the selection of materials . In the coastal areas salt deposits on the insulator surface, that results in increased leakage current on the insulator surface.  Similar situation arises where lots of suspended chemical particles are present in the atmosphere. While designing the transmission tower and selecting the conductor all these factors are taken into account.
We will devote one article about insulators.


Damping devices


Due to wind and ice, the transmission lines swing under different modes. The transmission lines may vibrate in three major ways.
  • Galloping : Due to the deposit of ice above conductor surface, the conductor cross section resembles an aerofoil. The wind flowing across the conductor (aerofoil) results in Galloping of conductor. Galloping is the oscillation of the conductor at high amplitude and low frequency. The conductor may oscillate in vertical or horizontal plane. Generally the conductor oscillates in vertical plane. The amplitude of the oscillation may be more than a meter with frequency upto 3 Hz. Due to galloping the clearance between the conductors may reduce very much to initiate flashover. Structural damage may also happen due to conductor gallopping. Anti-gallopping devices may be fitted to reduce the affect of gallopping.
  • Aeolian vibration : When wind flows across the line steadily then vortices are formed in the back side of conductor which is the cause of aeolian vibration. Here the amplitude is in milimeter or centimeter and frequency may be upto 150 Hz. Over a long time the aeolian vibration may cause damage to the strands of wire. Stockbridge Dampers in the shape of dumbbell with midpoint clamped to the line are used for damping the Aeolian vibration. As shown in the figure they are fitted at a position most effective in damping the vibration. In any conductor the dampers are used at both the ends of the span. Dampers are used both in the phase and ground conductors
  • Wake induced vibration: Wake induced vibration takes place in bundled conductors. The aerodynamic forces in the downstraem of conductor gives rise to this form of oscillation. It has amplitude in centimeters.  The oscillation is reduced by keeping the spacing of bundled conductors large enough.


Earthing System
Every electrical system is equipped with a earthing system.  The ground wires (also called shield wire) run above the phase conductors and protect the line from direct lightning strokes as the lightning strikes first the ground conductor due to its position. The foot of the transmission towers are properly earthed so that the potential gradient near the tower remains within the limit and protects the human beings and animals around the tower in faulted condition. 





Tags:Transmission Lines Basics,insulators,damping devices,earthing,pylons,transmission,lines,line,conductors,distribution,types of transmission lines,transmission lines images

Tuesday, 22 January 2013

PIC Tutorial Series -Basics of PIC Programming

ANSEL=0;   //INPUT AND OUTPUT ARE MADE DIGITAL
ANSELH=0; //INPUT AND OUTPUT ARE MADE DIGITAL

PORTB=0XFF; //RESET PORTB
TRISB=0; //ALL PINS OF PORTB ARE MADE AS OUTPUT.
Delay_ms(milliseconds); //USED TO MAKE DELAY IN LOOP EXECUTION OR HOLD THE PROCESS OF MICROCONTROLLER.
PORTB=0; //INITIAL STATE ASSIGNED AS 0 FOR PORTB.
PORTB=%10000001; //PINS OF PORTB SUCH AS RB0 AND RB7 ARE MADE AS HIGH AND OTHERS ARE MADE LOW.
PORTB=~PORTB;  OR PORTB= not PORTB; //INVERT THE STATE OF PORTB.



Sidharthan G
Electrical Miracles.

Tags:syntax,syntax for pic programming,basic syntax of pic,basics for pic programming.

PIC Tutorial Series-LCD Interfacing

This Program makes the LCD Display to interface with the PIC micro controller and display the characters.
// LCD module connections

sbit LCD_RS at RB4_bit;
sbit LCD_EN at RB5_bit;
sbit LCD_D4 at RB0_bit;
sbit LCD_D5 at RB1_bit;
sbit LCD_D6 at RB2_bit;
sbit LCD_D7 at RB3_bit;

sbit LCD_RS_Direction at TRISB4_bit;
sbit LCD_EN_Direction at TRISB5_bit;
sbit LCD_D4_Direction at TRISB0_bit;
sbit LCD_D5_Direction at TRISB1_bit;
sbit LCD_D6_Direction at TRISB2_bit;
sbit LCD_D7_Direction at TRISB3_bit;
// End LCD module connections

char txt1[] = "Electrical Miracles";   
char txt2[] = "PIC LCD Tutorial";
char txt3[] = "Lcd4bit";
char txt4[] = "example";

char i;                              // Loop variable

void Move_Delay() {                  // Function used for text moving
  Delay_ms(500);                     // You can change the moving speed here
}

void main(){
  ANSEL  = 0;                        // Configure AN pins as digital I/O
  ANSELH = 0;
  C1ON_bit = 0;                      // Disable comparators
  C2ON_bit = 0;
 
  Lcd_Init();                        // Initialize LCD

  Lcd_Cmd(_LCD_CLEAR);               // Clear display
  Lcd_Cmd(_LCD_CURSOR_OFF);          // Cursor off
  Lcd_Out(1,6,txt3);                 // Write text in first row

  Lcd_Out(2,6,txt4);                 // Write text in second row
  Delay_ms(2000);
  Lcd_Cmd(_LCD_CLEAR);               // Clear display

  Lcd_Out(1,1,txt1);                 // Write text in first row
  Lcd_Out(2,5,txt2);                 // Write text in second row

  Delay_ms(2000);

  // Moving text
  for(i=0; i<4; i++) {               // Move text to the right 4 times
    Lcd_Cmd(_LCD_SHIFT_RIGHT);
    Move_Delay();
  }

  while(1) {                         // Endless loop
    for(i=0; i<8; i++) {             // Move text to the left 7 times
      Lcd_Cmd(_LCD_SHIFT_LEFT);
      Move_Delay();
    }

    for(i=0; i<8; i++) {             // Move text to the right 7 times
      Lcd_Cmd(_LCD_SHIFT_RIGHT);
      Move_Delay();
    }
  }
}


Sidharthan G
Electrical Miracles.

Tags:PIC tutorial,pic basics,introduction to pic basics,microcontroller programmimg,lcd interfacing,lcd interfacing with microcontroller,lcd interfacing with pic.

PIC Tutorial Series-Led Blinking Project For PIC Microcontrollers

It turns on/off LEDs connected to
     PORTA, PORTB, PORTC and PORTD
void main() {

  ANSEL  = 0;            // Configure AN pins as digital
  ANSELH = 0;
  C1ON_bit = 0;          // Disable comparators
  C2ON_bit = 0;

  TRISA = 0x00;          // set direction to be output
  TRISB = 0x00;          // set direction to be output
  TRISC = 0x00;          // set direction to be output
  TRISD = 0x00;          // set direction to be output
 
  do {
    PORTA = 0x00;        // Turn OFF LEDs on PORTA
    PORTB = 0x00;        // Turn OFF LEDs on PORTB
    PORTC = 0x00;        // Turn OFF LEDs on PORTC
    PORTD = 0x00;        // Turn OFF LEDs on PORTD
    Delay_ms(1000);      // 1 second delay
   
    PORTA = 0xFF;        // Turn ON LEDs on PORTA
    PORTB = 0xFF;        // Turn ON LEDs on PORTB
    PORTC = 0xFF;        // Turn ON LEDs on PORTC
    PORTD = 0xFF;        // Turn ON LEDs on PORTD
    Delay_ms(1000);      // 1 second delay
  } while(1);            // Endless loop
}