Study tour of AA Spinning Mill Faisalabad

Study tour of AA Spinning Mill Faisalabad 

Our institution recently organized a study tour of AA spinning mill Faisalabad plant as a part of learning. It was such a wonderful experience to see things being practically implemented what we studied so far as a electrical engineer. Mill is situated 20 km away from Faisalabad in a industrial zone, surrounded by a lot of other fabric mills. This area is also famous for its textile industry and also called Manchester of Pakistan.
Main Website: http://aaspinning.com/


This mill currently producing only Fabrics, have their own small grid, gas power plant and a spinning shed and a electronic lab. Let's look at outline of the mill.


So in short, mill's small grid station is connected with  132 kV lines of FESCO, which is then converted to a 11kv by power transformer. Then there is a power house having 5 gas operated generators having capacity of generating 5 MW. Both FESCO supply and generator's supply is synchronized and send to transformer of mill  where voltages are again step down to 440 V and fed to mill. Now let's see a summary of spinning section. There is Cotton godowm, where cotton from market is placed and cleaned by both manually and by machinery. After proper cleaning and  processing, it is sent to Spinning shed where it is used to make fabrics by machinery. According to head Textile engineer, this is first fully automated textile mill of Pakistan and. There is also a electronics lab, so this mill have capability to solve electronics related problems (circuit maintenance). According to Head Electrical Engineer, they have capability of solving 99.9% electronics related problem of the mill in this lab.
Now lets look at the Mill in detail.

A comprehensive view of AA Spinning Mill Ltd

We will see mill in 4 parts, power transformation, power generation , spinning section and electronics lab.

1)Power Transformation

Grid Station:

Mill was taking 132 kV supply form FESCO feeder but 132 kV very high voltage and it is not usable for any machinery so they need to step down it. As stepping down 132 kV is very dangerous so it requires safety measures, in other words only a transformer is not enough but you also require some sort of safety precautions so they made their own small grid station which was almost exact replica of original gird station. So let's first look at a typical grid station.
Elements of a substationA:Primary power lines' side B:Secondary power line1.Primary power lines
2.Ground wire
3.Overhead lines
   4.Transformer for measurement of electric voltage
5.Disconnect switch
6.Circuit breaker
7.Current transformer
 8.Lightning arrester
9.Main transformer
10.Control building
11.Security fence
    12.Secondary power lines[Wikipedia]
So you can see a lot components here explaining a simple grid station. Real thing that converts 132kV into 11 kV is Power transformer which is 9 and called main transformer. Other components are just for precautionary  and safety measures or metering purposes.
Points to be noted :Substations generally have switching, protection and control equipment, and transformers. In a large substation, circuit breakers are used to interrupt any short circuits or overload currents that may occur on the network. Smaller distribution stations may use recloser circuit breakers or fuses for protection of distribution circuits. Substations themselves do not usually have generators, although a power plant may have a substation nearby. Other devices such as capacitors and voltage regulators may also be located at a substation.[Source:Wikipedia]
Let's come back to our "small grid station". So first of all there was FESCO metering room which measures kilowatts used by factory. Then there was a bus bar then there was some current and Potential transformers for metering and safety. Then there were some SF6 type circuit breakers and some other instruments. Then there was 20 MVA transformer (Mill load is 6 MW). Then there is a control room, having three parts, one is  main control room with control of all the instruments (CT's PT'S and circuit breakers) , measurments of incoming voltages and currents. There is also a tape changer scheme to control transformer output (As they require to have constant 11kV at output side but  some times input  deviates from 132, so automatically changing tap could make output voltages same). Another part of control room is circuit breaker room where high safety is require. Another room which is called battery room where AC is first converted to DC and then stored in batteries for backup of this small grid.

 2. Power Generation

Due to intense load shedding problem, it has become now difficult to rely on FESCO supply so mill make their own generation unit having 5 gas fired generators each 1 MW so a total genration capacity of 5 MW (mill requires 6MW). Let's first look at gas fires generators.

Gas  generators:

Gas generators looks like this (Same like in mill)

A simple digram can show working of a gas genrator. Fuel is fed to combustion chamber where it is burned, also a compressor compresses air and send it to turbine side, both these moves turbine and then a generator produces electricity.

Following diagram shows a simple gas generator.

Okay, lets see our specific generator installed in the mill. These generators are producing 11kV which is then synchronized with 11kV output of small grid station and then fed to transformer of mill which converts this into 440 V usable form. All the generators are placed in a room with cooling system. Currently they are wasting 600 centigrade waste heat so our professor tell them that this heat could be used either to run another steam turbine (steam turbine that work on different temperature are available in market ) or at least for chilling and heating rather than wasting them into environment. This can also reduce price of electricity. Unit cost for generation is 7 rupees but if they take it from FESCO then 14 rupees so they prefer to use their own electricity as much as gas is available (gas is currently available for 6 hours a day ) . Head engineer told us that payback of this plant was expected for 6 to 7 years if it were operated for 24 hours at full capacity but due to gas shortage this did't happen. 
Generator room of Mill

3. Spinning Section

Spinning Process

Spinning is a major part of the textile industry. It is part of the textile manufacturing process where three types of fibre are converted into yarn, then fabrics, which undergo finishing processes such as bleaching to become textiles. The textiles are then fabricated into clothes or other products. There are three industrial processes available to spin yarn, and a handicraft community who use hand spinning techniques. Spinning is the twisting together of drawn out strands of fibres to form yarn, though it is colloquially used to describe the process of drawing out, inserting the twist, and winding onto bobbins. [Wikipedia]

Spinning section is mainly divided in two parts, one is cleaning and basic processing unit also called godwm in the map and another is Spinning shed which is actual part of the whole mill. In first section cotton is delivered from market and clean by local workers which then fed into a machine which process it and send it onto a belt that takes all the cotton to main spinning shed where it is used to make fabrics.
Cotton processing unit (cleaning etc)

Spinning shed have a lot of machinery. Where first of all cotton is mixed with polyestr for strength and some other purposes and then sent to another machine which make its rolls, with very thin fabric, you can say.
Fabric in first level
Then this is further processed and and converted into thin fabric in some steps. All this is done by fully automated machinery. We see some robotic hands ( Not in filmy robotic sense) , some convener belts and a lot of other instruments with very nice control system. Every machine have its own speed and other parameters which is controlled by a control unit.
Processing 

 After fabric is ready, it is checked in ultraviolet room to see contamination and cotton-plyster ratios. Textile engineer (Who was also our guide for this section tour) told us that it is very rare to find a faulty piece but once its found, its checked and back traced to see root of the problem.

How things looks like under ultraviolet checker


 Fabric is then stored into a room also called humidification room where it is exposed to 8-10% moisture to increase its strength for 24 hours and then send to dealers.




Look at a simple animation produced by BBC about working of a spinning mill
http://www.bbc.co.uk/history/interactive/animations/spinning_mill/index_embed.shtml



Electronics Lab

They also developed a electronics lab in order to solve electronic related problems. Electronic lab have 2 engineers and some tecnctions, Head Electrical engineer also told us that they don't have PCB booklets available neither any other thing to get help about specific circuits to repair . They do all this by their own, studying circuits and their components and then doing experiments.

More on it coming soon, so stay connected. Thanks..

How to decide purchasing electrical equipments

Energy and Cost efficient Electrical Equipment


Suppose you go to a store and want to buy a fan. Sales man comes up with two fans, one with more price and other with less price. How will you decide what to buy. Ok, I'll tell you how to do this. 
  • Ask power rating of both fans suppose one fan have $2400 and power rating of 79kW and other have $2900 price and 77.5kW rating.
  • Now you will Find cost of electricity you have to pay for both fans. For this estimate time you need to estimate how many hours hours you need to use fan in a year. Just make a approximation. Suppose you live in a area where summer duration is 7 months. Then you can calculate it by 24*30 hours.I made 1600 hours in a year. Also find cost of electricity, I assume it  $.08 /kWh (You can see it from you monthly bill). Now calculate how much each fan will cost  you for every year in terms of energy usage.

                   P1(79kW   )  = 79.0 × 1600h/yr ×  0.08 = $10112/yr
                   P2(77.5kW)  = 77.5 × 1600h/yr ×  0.08 = $9920/yr

         It means you are paying 10112-9920=$192/yr              more if you purchase a fan with high                              power consumption.
         Now its upto you to pay an extra $500 for one                time or pay $192 for each year.


>> Data given on fan's vendor website you can find this on

http://gfcfans.com/product/karachi-model/



  •  As you know value of money for today and tomorrow is different. 'Suppose  you have $100   today  and you invest it in a good project, that could earn you $12 then it means you can it could be 112  for next year. So might want to invest extra money instead of spending it on fan.Mean $10 in hand  today might have $600 value tomorrow, so we need to find today value of our money (This will  tell us weather to hold money or spend it) Formula is

          I assume life time of fan 20 years and d=10% so my value for this factor is 8.51/yr
  • Now I'll add all the values and we'll decide what to choose..

                P(79kW)=$2400+8.5 *10112=88489
                P(77.5kW)=$2700+8.5*9920=87354

             So you will surely buy second motor as it saves your money....

             Same way you can calculate for AC and other electricity    equipment.


Some useful link



  1. http://www.delmarfans.com/educate/ceiling-fan-rating-guide/
  2. http://www.greenbuildingadvisor.com/blogs/dept/building-science/how-buy-energy-efficient-ceiling-fan

First Code for AVR micro-controller

First Code for AVR micro-controller


Avr microcontrollers are easy to learn and cheap to buy. Also their software are open source. There are also some evulation boards like arduino available for them so they are easy to start with. We are using Atmega8a here to start coding.

#include <avr/io.h>
#include <util/delay.h>

int main(void)
{
  DDRC = 0xb00000001;                  //Nakes PORTC as Output
  while(1) //infinite loop
  {
    PORTC = 0xb00000001;              //Turns ON All LEDs
    _delay_ms(1000);           //1 second delay
    PORTC= 0xb00000001;              //Turns OFF All LEDs
    _delay_ms(1000);          //1 second delay
  }
}

DDRx is data direction register to make a pin input or output. As we only need last pin of the portB to be output, so we make it 1. 1=output ,0=input
Then in infinite while loop, we are making last pin high for 200ms and then low again for 200ms.




WinAVR and Code::Blocks for Atmega code compilation

WinAVR + CodeBlocks

  • WinAVRTM (pronounced "whenever") is a suite of executable, open source software development tools for the Atmel AVR series of RISC microprocessors hosted on the Windows platform. It includes the GNU GCC compiler for C and C++.
  • WinAVR installs AVRGCC compiler and other important things for us we can also use it for our programs but we will use code blocks for compilation

>>Installation 




>>Use
You can use it as it have programmer note pad but to compile its code you need to make a make file from


>> How to make make file and first code



 >> How to use it with CodeBlocks

  • Code blocks is a simple ide you can download it from here www.codeblocks.org/
  • Now you can use it with WinAVR to use it follow these steps
  1. Open Codeblocks..
  2. Make new project 
  3. Choose AVR and go like this
  4. Chose next like this
  5. Name your project
  6. Choose next only take care of red area which says GNU GCC for AVR

  7. Choose your controller and click finish
  8. Now click on setting/compiler
  9. Choose compiler like this 
  10. Now confirm all in circles
  11. Click ok write your code and compile it then go to folder where you saved it and then go to bin and debug like this CodeBlocks\qwq\bin\Debug you will find your hex file.. 

>>Problems

  1. Some time WinAVR will say no rule to make this file, it means make file is either not present or not in same folder where your code is located.
  2. Some time it will make file did'nt find then you need to see your system enviorment variables On start write var and click on edit system variables then 
Then do this
Your path should look like this C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin

Cygwin

A Linux like  environment In window


  • You can only use it for command prompt, linux apps will not work here. Mean you can use it and it will work like Linux command prompt. Almost all of linux commands will work here. You can also use it like gcc as it have libraries.
  • A large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
  • Download and further info https://www.cygwin.com/

>> Cygwin Installation tutorial 


   >>How to use it

  >>Problems 

  1. Missing shortcut , you click on cygwin and something like this appears
    S

Solution:
go to C:\cygwin64\bin
and make short  cut of minty.exe on desktop, it will work fine.

2. Command not found: If you put some command and it responds like command not found then do following
Solution
  1. Right click on "My Computer" -> Properties -> Advanced -> Environment Variables
  2. Add a new environment variable, called CYGWIN_HOME and set its value to C:\cygwin
  3. Edit the PATH environment variable and add C:\cygwin\bin to it (usually separated by a ';').
  4. Just click okay, exit any command prompts or bash shells (over cygwin) you may have open, and open it again - it'll work!
Assumption - this assumes that you have installed cygwin at C:\cygwin. If you've kept it someplace else, please modify the above accordingly. 
Refrence(http://stackoverflow.com/questions/14797194/cygwin-ls-command-not-found)