Wednesday, 17 December 2014

They went to school and never come back

By ugmai afridi written by ugmai.afridi



PESHAWAR IS BLEEDING:
Are we humans or animals??..I am confused because a human would never do such a WILD & VOILENT act...the kids that got targeted were the ones who never wanted to come out of the blanket at morning, every morning they had a fight with their mothers over socks ...where is the humanity gone?.. 16/12/14 Tuesday, will be recalled as the history of warsak road's APS bleeding innocence
Kids were in the auditorium of famous army school (army public school warsak road peshawar) having their first aid class..... and suddenly the door of the hall exploded and some terrorist entered the hall.. they burnt the teachers with no mercy... kids were killed one by one.. some were targeted right on their heads,some of them lost their eyes,legs and fingers..... many explosives were planted in every department...13 bombs blasted, 4 got defused ... but the question is how did they let them enter? How did they get these explosives into the school? What did they want? What was their demand? What was the plan behind this brutal massacre? Did they get anything? These are the questions that are making us lose our minds...
Because of 9, we lost 150+ stars, shinning stars...this tragedy made us drop our jaws,lose our mind, made us cry our heart out and tore us apart... word HUMANITY itself says HUMAN-UNITY.... but sadly we are not humans, the terrorists are not aliens or say a specie of any other planet..they belong to us.. they look like us.. they are like us.. we are monsters that kills angels..

Mothers carry their child for 9 months,make them learn to walk, make them face the dirty world, make them open their eyes to the dangers and make them strong enough to help themselves in any situation,Every morning they wake them up , make breakfast... she does everything with love and only love can handle a kid...they leave for their schools but never come back....no mother wants that.... some beautiful last words by a student
MOM MY SHIRT IS SATINED WITH INK PLEASE DONT SCOLD ME,
MOM IF I GET LATE COMING HOME PLEASE DONT BE ANGRY
MOM TODAY MY SHIRT IS STAINED WITH BLOOD NOT INK... PLEASE DONT CRY 
MOM IF I DONT COME HOME TODAY PLEASE DONT BE SAD
These 9 took 150+ roses from their mothers' favourite garden...(THIS IS NOT MANKIND, THIS IS NOT HUMANITY!! WE MUST FIGHT AGAINST IT)
DAD Goes to office,works hard just to bring money to his home, to provide to his family..eat, sleep under a shelter, school fee and career fee etc... help there children all the way, they cry when they see tear in our eyes, they buy everything we wish for, because the true happiness is in the smile of a son/daughter...they scold there kids to study to go to school,to make and secure their future... but if they go and never come back..will a dad stay calm??..NO! He will shout out his child's name.He will find him everywhere and if he finds them dead.. do u think he will still be alive? Absolutely No!! If your baby ,your piece of heart is not breathing and you are breathing do u think you are alive??

Quotes from a war
IN PEACE A SON BURIES HIS DAD, IN WAR DAD BURIES HIS SON.....
stop this.. stop snatching these little souls 
Mom I told you I feel scared in dark, , PLEASE take me home im scared in the grave.... parents help their babies but at the last breath of these little kids they were shouting out their mothers' name but no one helped them, they tried their best to save themselves but they got shot,blasted, they never knew that today will the last day to see their parents' faces nor did their parents know that today is the last day to see their babies! shinning and smiling faces!!
ALL PAKISTAN LOST HOPE...EVERY PAKISTANI LOST THEIR SONS IN THIS WAR, THEY ARE MARTYRS , THEY ARE, THEY WERE ,THEY WILL BE IN OUR HEARTS ,THE BEST SONS OF PAKISTAN, OF PESHAWAR..MARTYRS NEVER DIES.. they are at the highest rank of jannah, their parents are going to go to jannah wearing blindfolds..Because THE SMALLEST COFFINS ARE THE HEAVIEST!!! ,future of pakistan died,flowers of peshawar have dried out, scents of these little flowers have turned into pour souls, they go to a place from where they will not come back, forever!! today every child every woman and man of pakistan is weeping , they are thinking how to avenge these terrorist, to kill these terrorists with a single bullet is not enough for them ,they should be slaughtered with great agony, my eyes are dry but my heart cries......i m not forgetting you out little angels....still remembering you.

GIVE US OUR CHILDREN ,ITS THE VOICE OF ALL PAKISATANI MOTHERS.

''A wife who loses a husband is called widow.a husband who loses a wife is called widower. a child who loses his parents is called an orphan. there is no words for a parents who loses a child ,that is how awful the loss is.''

Mr. Prime Minister we dont need statements from you. Stop showing your sorrow and stop these sorry statements. Within this week announce hanging of the 500 plus terrorists under custody and hang them publicly. We dont need your wordy statements. The whole nation should ask only one thing ..... Public Hanging of the arrested terrorists.

Our Slogan for the campaign against the terrorism and Terrorists for the Government & the Armed Forced is:

"An Eye for an Eye. Hang Them All, Hang Them High".

Love Pakistan or Leave Pakistan

(WE WANT TO SPREAD THIS ALL OVER THE WORLD, LET THEM KNOW PAKISTAN NEED YOUR HELP.. FIGHT AGAINST THESE CRISIS, RAISE YOUR VOICE JUST FOR THE SAKE OF HUMANITY, JUSTICE AND OUR FUTURE (CHILDREN) HELP US FIGHT THROUGH THIS!
RIP TO ALL THE ANGELS... GOD HELP THEIR WAY THROUGH JANNAH, BRIGHTEN THEIR WAYS)

I Strongly condemn the school attack in peshawar by terrorist.

By Ugmai afridi..

Monday, 15 December 2014

quote of the day


''i am simple & live in reality but i also have my own fantasy world,
There is pain in my eyes but a shine in my smile, I lose alot but still
live to fight another day, Everything around me is down but still I
never lose hope, I am not the best but I always help others to be the
best! That's what I am.''
( I am re-posting these words, i posted them 4 years and a month ago)

Sunday, 14 December 2014

quote of today

'' Sometime you do not have a shoulder to cray but you always have a forehead to put down in sajda and cry because ALLAH is the best listener''

Friday, 12 December 2014

TO WRITE CNC PART PROGRAM USING G00 AND G01 CODES.

G Codes:
G-Code or preparatory code or function, are functions in the Numerical control programming language. The G-codes are the codes that position the tool and do the actual work, as opposed to M-codes, that manages the machine.
T for tool-related codes
S and F are tool-Speed and tool-Feed,
D-codes for tool compensation
M codes:
M codes control the overall machine, causing it to stop, start, and turn on coolant, etc. whereas other codes pertain to the path traversed by cutting tools. Different machine tools may use the same code to perform different functions; even machines that use the same CNC control.
Partial list of M-Codes:
M00=Program Stop (non-optional)
M01=Optional Stop, machine will only stop if operator selects this option
M02=End of Program
M03=Spindle on (CW rotation)
M04=Spindle on (CCW rotation)
M05=Spindle Stop
M06=Tool Change
M07=Coolant on (flood)
M08=Coolant on (mist)
M09=Coolant off
M10=Pallet clamp on
M11=Pallet clamp off
M19=Spindle orientation
M30=End of program/rewind tape (may still be required for older CNC machines)

G00 Code:
G00 code is a rapid tool move that is used when moving tool in a linear motion from position to position without cutting any material.
G01 code:
The G01 code is a straight line feed move in a combination of X, Y or Z axis. It’s used specifically for the linear removal of material from a work piece. 

PROGRAM:
The following example is done by using G00 and G01 codes

Program:
         N01 G90 G20
         N02 M06 T05 M03 S1200
         N03 G00 X0 Y0 Z2
         N04 G00 X10 Y10
         N05 G01 Z-2.5 F200
         N06 G01 X30 Y10
         N07 G01 X30 Y30
         N08 G01 X25 Y30
         N09 G01 X25 Y15
         N10 G01 X15 Y15
         N11 G01 X15 Y30
         N12 G01 X10 Y30
         N13 G01 X10 Y10
         N14 G00 Z2
         N15 G00X0 Y0
         N16 M05 M30

Thursday, 11 December 2014

REAL TIME POWER MONITORING SYSTEM IN INDUSTRIAL MANAGEMENT (Hardware based) mini project


MAIN FIELD OF PROJECT:

The aim of this project is to design a practically realizable power monitoring system to observe variations in line voltage and line current and can also control the power factor.  This project also display and record the measured values on computer.

PROJECT OBJECTIVE:
The objectives of our project are :
Development of a Data-Acquisition Device* for measuring three phase physical parameters of AC Mains Voltage, AC Mains Current, Phase Difference, Power Factor, Real-Power, Reactive-Power, Apparent Power, Temperature, Battery Voltage (collectively regarded as data ).  It displays the corresponding values on an LCD display after measurement is done. 

PROJECT METHODOLOGY:
In hypothesis report project demonstration at every aspect will be help full for every user either professional or new. The basic tasks that will be performed in designing and presenting the project physically (circuitry) and in the soft form this will go through implementing signal conditioning circuitry, analog-to-digital converter (ADC), and computer bus and then presenting of final model with reports.  

SIMULATION  TOOL:
       Following Software and Simulation tools were used to aid my project and it’s Report, these simulation and software tools are used to design and develop project design and presentation.
  There are basically two codes written for the two different fronts of this project, 
Code  for hardware instrument.
Code for instrument interface with computer.
The code for instrument hardware is written in MikroC Pro for PIC 2011. The micro controller used is Microchip™ PIC18F452©.
The code for instrument interface with computer is developed, works on serial communication, and the application software is developed on NI LabVIEW 2011.

PROTEUS (Circuit designed).
Microsoft Office.

HARDWARE SPECIFICATIONS:
Details of hardware components used in the project are given below,
Industrial Power Plant Model
Data Acquisition  (DAQ)  Device/Instrument
Circuit Power Supply
Potential Transformer
Current Transformer
Schmitt Triggers/Sine to Square wave converters
Active/ Precision Rectifiers or Super Diodes
Micro controller Circuit
Serial Communication Circuit.

BLOCK DIAGRAM OF PROJECT:
Project Block Diagram (left) block representation of a power plant with 4-loads (right) overall block representation of DAQ card hardware.

Wednesday, 10 December 2014

Nameless folder

To create a folder on your desktop , which is nameless, having no name follow these steps,
  1. Right click on your mouse. 
  2. Go to the new folder and click it.
  3. Now before naming the new folder you created press ALT button on your keyboard and type 255 and press enter .

Tuesday, 9 December 2014

Hysteresis In Control System


Hysteresis:-
Hysteresis  is the dependence of the output of a system not only on its current input, but also on its history of past inputs. The dependence arises because the history affects the value of an internal state

Hysteresis in thermostat:-
Hysteresis can be used to filter signals so that the output reacts more slowly than it otherwise would, by taking recent history into account. For example, a thermostat controlling a heater may turn the heater on when the temperature drops below A degrees, but not turn it off until the temperature rises above B degrees (e.g., if one wishes to maintain a temperature of 20 °C, then one might set the thermostat to turn the furnace on when the temperature drops below 18 °C, and turn it off when the temperature exceeds 22 °C). This thermostat has hysteresis. Thus the on/off output of the thermostat to the heater when the temperature is between A and B depends on the history of the temperature. This prevents rapid switching on and off as the temperature drifts around the set point.

Hysteresis In Valves:- 
Hysteresis is a dynamic response to change that causes the path of movement to be different when the response is increasing than when the response is decreasing. This is found commonly in control valves after some time period as the seal around the stem is tightened to decrease fugitive emissions. The tight packing resists valve movement in any direction making its position change less than demanded by the valve positioning mechanism. Eventually additional force is required to overcome the packing resistance and the valve moves closer to the desired position. 
Control loops depending upon control valves (most) see hysteresis as a dead time in their dynamic response and compensate by applying additional reset (integral) action. When the hysteresis becomes too large, the control loop may become unstable and oscillate about the set point more than desired. The "cure" is to rebuild the control valve - a costly maintenance operation. Control loops may use other final control elements such as variable speed drives to avoid hysteresis from control valves, but this is not often used
In process control, the most serious form of hysteresis is encountered in pneumatic control valves. The control valve is the weakest link in the control system because it is the only moving part and due to the presence of friction it is subjected to varying dynamics quite often. The major causes of control valve problems are non linearities such as hysteresis, stiction, backlash, and dead band. Due to these, the pneumatic control valve’s stem movement does not follow the control signal accurately but deviates from it. In other words, the relationship between controller output and controlled variable often changes. All valves have some hysteresis, but excessive valve hysteresis typically occurs when the valve sticks as it tries to open and close. This can happen for a number of reasons including overtightened packing. Therefore, hysteresis is the one of the biggest problems associated with the final control element. This can be roughly defined as the maximum difference obtained in stem positions for the same input up-scale and down-scale.
In process industries, pneumatic control valves are the most commonly used actuators or final control elements. But in practice it is very difficult to do the modelling of any plant or process having a final control element with hysteresis. 
Hysteresis is a nonlinear phenomenon and cannot be expressed by a transfer function. Therefore simulation of such a plant or process is not an easy job. So far very little work has been reported in the literature regarding the effective modelling of a plant or process having hysteresis elements.