Monday, October 31, 2011

Proflight Simulator Reviews - Most Realistic Flight Simulation Games

Looking for flightsimulation games where you can experience stunning real life flightingsceneryand mission without need of leaving your home? Then you come into the right place, where share with you the pro and cons reviews of most realistic flightsimulatorgame ProFlightSimulator.There are several similar type of flight simgames such as MicrosoftFlight Sim, Flight Gear and Real Flight G5 but nothing come compare with ProFlightSimulator. Thisflight simgame provide high 3D quality graphic visual realized and modelled with over 20,000 world globe landmarks and preciselandscapesassociated with Google Maps.

With ProFlight Simulator, you can:

Experience Realistic Flying

The ProFlightSimulatordeveloped by group of high skillful programmer which provide close to reality as possible, allow user to experience real time flying experience. ProFlight development team emphasize from lanscapes, aircraft tendencies, motions and even planetaryalignment which let user feel the actual flying simulation.

ProFlightSimulatorprovides more than 120 different aircraft and helicopter from F16s, Migs, Concords and even military flighter jets, over 20,000 of world airports with scenery packages included and more.

IntegratedMulti Player Mode with Google Maps

You can have a network flight simulation party where allow to link friends and other online users together with google Mapintegration. With multi player map server showsall the active pilots superimposed on top of a google map. ProflightSimulatorhave over 4000+ members, you bet can find someone to play with.

Realistic Controls and Aircraft Modelling System

What had in the aircraft dashboard panel, you got the same in ProFlightSimulator. It has the extremely smooth and fliudinstrumentanimation which provide exact same rate as the real aircraft.Instrument that lag in real life, lag correctly in ProFlight Sim, gyro drift modeled correctly, compass subjected to aircraft body forces.

100% Money BackGuarantee

The best part is this product has 60 days 100% money back guarantee where you got nothing to loose. You paid what you pleased with what you get.

The Cons:

Huge File Size, Wait For Download

You can watch a DVD movies or goto shopping, in order to leave the ProFlightSimulatorto downloads as it has a very huge file size. However, you can get a DVD version instead in the membersregistrationpages. This surely can save time and bandwidth.

Difficult To Get around In the First Time

You need to spent some time to navigate this simulation software due to a lots of maps and aircraft to explore. Even for those gamers which familiar with using computer and simulation games will feel overwhelming on the first times. However, the ProflightSimulatorprovide detail instruction and operation manual which guide you through the setup and how to run it.Usually most people are able to find their way around the Pro FlightSimulatorpackage after this.

You may also like these:

1.How To Develop Iphone Apps Without Codes And Programing Language

2.Fix Ps3 Blu-Ray Laser Problems -Games Disc Not Reading Errors

3.Great Tips On Repair Xbox 360 E74 Error

4.How to Download Free Games For Xbox 360 Console


0

Sunday, October 30, 2011

Microsoft Share Point Applications ? Networking And Sharing at The Micro Level

What is Microsoft share point and why is it important?

Microsoft share point is a suite of softwares developed by Microsoft to underline the objective mentioned above, with features that include file-sharing, web-publishing on the Intranet - a microcosm of the internet space( spelling a dynamic market scenario with speed, quality and efficiency as its trio of standards).

A business with an organizational approach is right on target, namely the customer, and Microsoft SharePoint applications works on this premise, to securely deliver to the promise a business makes.

Microsoft SharePoint applications provide templates that help in intranet site management through enterprise solutions, apart from integrating the MS office suite into its framework.

Apart from integrating MS office documents, the SharePoint application templates are mainly categorized into the site-admin templates and the server-admin templates

Site-admin templates are custom templates that can be easily installed into the sites template gallery with out the intervention of the site administrator.

Whereas, server-admin templates are administered at the server level, with tighter security and greater integrity to function better within the SharePoint services platform.

Some of the site admin templates are: Board of Directors

Business Performance Reporting

Case Management for Government Agencies

Classroom Management

Clinical Trial Initiation and Management

Competitive Analysis Site

Discussion Database ,

Disputed Invoice Management ,

Employee Activities Site ,

Employee Self-Service Benefits ,

Employee Training Scheduling and Materials ,

Equity Research ,

Integrated Marketing Campaign Tracking ,

Manufacturing Process Management etc.

Exemplifying some of the above share point applications, for instance, the board of directors documents, will detail on key business strategies, annual meetings, periodic reviews etc, giving access to a few external members.

On the other hand, the competitive analysis site features the business competitors products and services. This Microsoft SharePoint application helps to organize and centralize information about business competitors.

Moving over to the server-admin templates, the scope of applications which can be developed is vast just as the range of templates, which can be customized to meet the desired requirement.

Some of the server-side SharePoint application templates:

Absence Request and Vacation Schedule Management

Budgeting and Tracking Multiple Projects

Bug Database ,

Call Center ,

Change Request Management ,

Compliance Process Support Site , Job

Requisition and Interview Management , Knowledge Base etc

For instance, the absence request and vacation schedule management helps employees to request for leave (sick) or vacation and accordingly reassign the allotted tasks to another team member. This helps the organization in leave management, ensuring that the work delivery doesnt get affected. Another way of resource management at the server end is the Job Requisition and Interview Management , which helps the recruiter to keep track of job vacancies, recruits and scheduled interviews for the vacancies.

The key to Business management is an organized foundation, which will provide the platform for prospects to reach their potential. There is more than enough space for technology and real-time business practices to synchronize on the intranet platform and the larger internet. Delving into this synergy of web technology and business classics, is Pixint graphics, web design company USA, which offers a wide spectrum of services ranging from web development, ecommerce portals, web portal development to SEO services. Pixint is synonymous with professional web development where graphical user-interface design exponentiates to give the ultimate user experience. Here, the collaborative approach with the client towards the business requirement, brings out the truest essence of the business on the web platform, making the success story ring from a shared experience.


0

Saturday, October 29, 2011

Design of metal detector using the induction balance system application

Design of metal detector using the induction balance system application

1 James agajo 2 Azih Conelius

Dept. of Electrical and Electronics Engineering, Federal Polytechnic, Auchi, Edo state Nigeria

Phone: +2348053312732 ,

ABSTRACT: An embedded system logic approach was used to achieve metal detection,. The controller is simulated to realize this. Three technologies were used Very low frequency (VLF) Pulse induction (PI) Beat-frequency oscillation (BFO) , The issue of safety and security were also emphasized.

Keyword: Microcontroller, low frequency, detector, security, oscillators, sensors

1.0 INTRODUCTION

Towards the end of the 19th century, many scientists and engineers used their growing knowledge of electrical theory in an attempt to devise a machine which would pinpoint metal. The use of such a device to find ore-bearing rocks would give a huge advantage to any miner who employed it. The German physicist Heinrich Wilhelm Dove invented the induction balance system, which was incorporated into metal detectors a hundred years later. Early machines were crude, used a lot of battery power, and worked only to a very limited degree. Alexander Graham Bell used such a device to attempt to locate a bullet lodged in the chest of American President James Garfield in 1881; the attempt was unsuccessful because the metal bed Garfield was lying on confused the detector.[1]

Many manufacturers of these new devices brought their own ideas to the market. Whites Electronics of Oregon began in the 50's by building a machine called the Oremaster Geiger Counter. Another leader in detector technology was Charles Garrett, who pioneered the BFO (Beat Frequency Oscillator) machine. With the invention and development of the transistor in the 50's and 60's, metal detector manufacturers and designers made smaller lighter machines with improved circuitry, running on small battery packs. Companies sprang up all over the USA and Britain to supply the growing demand.[2]

Larger portable metal detectors are used by archaeologists and treasure hunters to locate metallic items, such as jewelry, coins, bullets, and other various artifacts buried shallowly underground.[3]

1.3 METHODOLOGY

Metal detectors use one of three technologies:

Before going to my own design technique which is beat-frequency oscillation let me briefly introduce the other technologies. [4]

1.4 VLF Technology

Very low frequency (VLF), also known as induction balance, is probably the most popular detector technology in use today. In a VLF metal detector, there are two distinct coils:

The current moving through the transmitter coil creates an electromagnetic field, which is like what happens in an electric motor. The polarity of the magnetic field is perpendicular to the coil of wire. Each time the current changes direction, the polarity of the magnetic field changes. This means that if the coil of wire is parallel to the ground, the magnetic field is constantly pushing down into the ground and then pulling back out of it.

1.5 PI Technology

A less common form of metal detector is based on pulse induction (PI). Unlike VLF, PI systems may use a single coil as both transmitter and receiver, or they may have two or even three coils working together. This technology sends powerful, short bursts (pulses) of current through a coil of wire. Each pulse generates a brief magnetic field. When the pulse ends, the magnetic field reverses polarity and collapses very suddenly, resulting in a sharp electrical spike. This spike lasts a few microseconds (millionths of a second) and causes another current to run through the coil. This current is called the reflected pulse and is extremely short, lasting only about 30 microseconds. Another pulse is then sent and the process repeats. A typical PI-based metal detector sends about 100 pulses per second, but the number can vary greatly based on the manufacturer and model, ranging from a couple of dozen pulses per second to over a thousand. Pulse Induction detectors are now widely us ed in the construction industry; the Whites PI-150 is an industrial machine which can detect large objects to 10 feet, using a 12 or 15 inch coil.

2.0 MODULE ANALYSIS

This unit supplies the necessary d.c voltages for the circuit operation

This oscillator contains the reference coil as the inductive element and set the frequency to which that from the oscillator two is referred to.

This is the second oscillator which contains the search coil as its inductive element. The inductance of the search coil changes when it locates a metal, which in turn changes the frequency of the oscillator. This frequency is compared with that from the oscillator one to produce a beat note.

The pulses produced by each oscillator are mixed in the mixer unit and the sum filtered to ground.

The gain filter processes and amplifies the difference of the mixed pulses from the mixer and drives a piezo buzzer with it.

The output transducer converts the electrical signal into audible sound to give an audio indication of the presence of a metal.

2.1 OBJECTIVE

The aim of the project is to ease the trouble of trying to locate a useful metallic object in a particular or specified environment. As the trouble of straining the eyes is drastically reduced when the metal detector is used in the workshop where small metallic components could be easily misplaced. Also at security posts for searching people and their luggage.

P=I2R= IV= V2/R

All three equations are equivalent. The first is derived from Joule's law, and the other two are derived from that by Ohm's Law.

The total amount of heat energy released is the integral of the power over time:

W= v(t)i(t)dt.

If the average power dissipated exceeds the power rating of the resistor, the resistor may depart from its nominal resistance, and may be damaged by overheating. Excessive power dissipation may raise the temperature of the resistor to a point where it burns out, which could cause a fire in adjacent components and materials.

2.2 Series and parallel circuits

Resistors in a parallel co nfiguration each have the same potential difference (voltage). To find their total equivalent resistance (Req):

1/Req = 1/R1 + 1/ R2.. +.. 1/ Rn

The parallel property can be represented in equations by two vertical lines "||" (as in geometry) to simplify equations. For two resistors,

Req = R1//R2= R1R2/(R1+R2)

The current through resistors in series stays the same, but the voltage across each resistor can be different. The sum of the potential differences (voltage) is equal to the total voltage. To find their total resistance:

Req= R1 + R2 +..+ R2

Parallel and series network

A resistor network that is a combination of parallel and series can sometimes be broken up into smaller parts that are either one or the other. For instance,

Req = (R1//R2) + R3= (R1R2)/(R1+R2)+R3

However, many resistor networks cannot be split up in this way. Consider a cube, each edge of which has been replaced by a resistor. For example, determining the resistance between two opposite vertices requires matrix methods for the general case. However, if all twelve resistors are equal, the corner-to-corner resistance is 56 of any one of them.

2.3 Electric circuits

When a capacitor is connected to a current source, charge is transfered between its plates at a rate i(t) = dq(t) / dt. As the voltage between the plates is proportional to the charge, it follows that

V(t) = 1/c q(t) = 1/ci()d

Conversely, if a capacitor is connected to a voltage source, the resulting displacement current is given by

I(t)Cdv(t)/dt

For example, if one were to connect a 1000 F capacitor to a voltage source, then increase the sourced voltage at a rate of 2.5 Volts per second, the current flowing through the capacitor would be

I= Cdv/dt =(1000x10-6F)(2.5V/s)=2.5mA

A circuit containing only a resistor, a capacitor, a switch and a constant (DC) voltage source vsrc(t) = V0 in series is known as a charging circuit. From Kirchhoff's voltage law it follows that

Vo=Vr(t) + Vc(t) = i(t)R I/C i()d

where vr(t) and vc(t) are the voltages across the resistor and capacitor respectively. This reduces to a first order differential equation

Assuming that the capacitor is initially uncharged, there is no internal electric field, and the initial current is I0 = V0 / R. This initial condition allows solution of the differential equation as

.i=Vo/Rexp(-t/RC)

The corresponding voltage drop across the capacitor is

v(t)=Vo[1-exp(-t/RC)]

Therefore, as charge increases on the capacitor plates, the voltage across the capacitor increases, until it reaches a steady-state value of V0, and the current drops to zero. Both the current, and the difference between the source and capacitor voltage decay exponentially with respect to time. The time constant of the decay is given by = RC.

Capacitors in a parallel configuration each have the same potential difference (voltage). Their total capacitance (Ceq) is given by:

Ceq =C1 +C2 + ..+Cn

The reason for putting capacitors in parallel is to increase the total amount of charge stored. In other words, increasing the capacitance also increases the amount of energy that can be stored. Its expression is:

Estored = CV2

The current through capacitors in series stays the same, but the voltage across each capacitor can be different. The sum of the potential differences (voltage) is equal to the total voltage. Their total capacitance is given by:

1/ Ceq = 1/ C1 + 1/ C2+..+ 1/ Cn

In parallel, the effective area of the combined capacitor has increased, increasing the overall capacitance. However, in series, the distance between the plates has effectively been increased, reducing the overall capacitance.

When an inductive circuit is opened, the current through the inductance collapses quickly, creating a large voltage across the open circuit of the switch or relay. If the inductance is large enough, the energy will generate a spark, causing the contact points to oxidize, deteriorate, or sometimes weld together, or destroying a solid-state switch. A snubber capacitor across the newly opened circuit creates a path for this impulse to bypass the contact points, thereby preserving their life; these were commonly found in contact breaker ignition systems, for instance. Similarly, in smaller scale circuits, the spark may not be enough to damage the switch but will still radiate undesirable radio frequency interference (RFI), which a filter capacitor absorbs. Snubber capacitors are usually employed with a low-value resistor in series, to dissipate energy and minimize RFI. Such resistor-capacitor combinations are available in a single package.

In a tuned circuit such as a radio receiver, the frequency selected is a function of the inductance (L) and the capacitance (C) in series, and is given by:

.f = 1/2LC

This is the frequency at which resonance occurs in an LC circuit.

2.5 INDUCTOR

An inductor is a passive electrical component with significant inductance. Inductors are implemented by some sort of coiled conductive winding which may surround a ferromagnetic core. Large inductors used at low frequencies may have thousands of turns around an iron core; at very high frequencies a straight piece of wire (i.e., with turns and core reduced to zero) has significant inductance.

An "ideal inductor" has inductance, but no resistance or capacitance, and does not dissipate energy. A real inductor is equivalent to a combination of a significant ideal inductance, some resistance, and capacitance, usually small. The resistance, a necessary property of a wire except at superconducting temperatures, may contribute significantly to the impedance, and may dissipate significant power in some applications. At some frequency, usually much higher than the working voltage, a real inductor behaves as a resonant circuit, and can cause parasitic oscillation.

3.0 INDUCTOR CIRCUIT ARRANGEMENT

Inductors in a parallel configuration each have the same potential difference (voltage). To find their total equivalent inductance (Leq):

1/Leq=1/L1 + 1/L2 ++ 1/Ln

series circuit

The current through inductors in series stays the same, but the voltage across each inductor can be different. The sum of the potential differences (voltage) is equal to the total voltage. To find their total inductance:

Leq = L1 + L2 + .+Ln

These simple relationships hold true only when there is no mutual coupling of magnetic fields between individual inductors.

4.0 INTRODUCTION

This chapter deals with the design methods and the analysis employed in the design of the electronic metal detector system. These analyses are required to make the correct choice of component values for effective performance.

4.1 DESIGN SPECIFICATION

Power source:Any two 9v battery PP3 is ideal.

Capacitors:2 off 220uF 16v electrolytic.5 off .01uF polyester.5 off .1uF polyester.

Resistors:All resistors 1/4 watt 5%6 off 10k1 off 1K1 off 2.2M2 off 39k

Transistors:All BC 337B. Just about any small signal NPN with a gain of 250+ will do. There are hundreds to choose from.

Audio output:A 2.5 inch 8 ohm speaker will work but headphones, buzzer or earpiece are preferable, the higher the impedance the better.

4.2 Power supply Circuit

The main power supply to the circuit is from two 9v batteries connected in series to produce 18v and then regulated and maintained at 12v by using a 7812 voltage regulator.

power supply circuit

The input to the 7812 regulator is calculated thus

Series connection of batteries is given by pt = p1 + p2 + p3 +

Therefore the power input to the regulator is pt = p1 + p2

pt = 9+9 =18v

3.1.2 Oscillator Circuit

The oscillator circuit are made up of two different oscillators which are the sensor oscillator and the local or reference oscillator. Their frequencies of oscillation are set at 124khz since they are to operate at the same frequency. The two oscillator circuits are series LC circuit comprising of a BC 337 NPN transistors each for effective oscillation.

To calculate the inductance of the inductor the resonance frequency formula is used

F = ( 2 (LC)1/2 )-1

Where F = frequency in Hertz which is set at 124khz

L = inductance of the inductor

C = capacitance of the capacitor

L = 1/ ( 42CF2 )

L = 1/ ( 4 x (3.142)2 x0.1x10-6 x (124 x 103 )2 )

L = 16.47H

Then to calculate the number of turns, Wheelers formula for coils is applied

L = N2 r2/ 9r + 10l

Where N = number of turns

r = outer radius of coil (inches)

l = physical length of coil (inches)

L = 16.47outer radius of coil (inches)

l = physical length of coil (inches)

L = 16.47H

r = C/ 2 where C = circumference of the coil former

r= 3.6cm/2 =0.57cm

Converting to inches we have

2.54cm 1inch

0.57cm - ?

0.57 / 2.54 = 0.23inches

L = 2.36 inches

N2 =L( 9r + 10l) / r2

= 16.47( 9x0.23 + 10x2.36 ) / 0.232

N2 = 89 Turns

Applying the resonant frequency formula to calculate the inductance here we have:

L = 1/ ( 42CF2 )

Where F = 124khz , C = 0.1F

L = 1/ ( 4 x (3.142)2 x0.1x10-6 x (124 x 103 )2 )

L = 16.47H

Then using the Wheelers formula to find the number of turns

L = N2 r2/ 9r + 10l

Where r = C/ 2 = 52 / 2

8.27cm == 3.26inches

L = 0.6 cm == 0.24inches

N2 =L( 9r + 10l) / r2

N2 = 16.47 ( 9x3.26 + 10x0.24 ) / 3.262

N = 7 Turns

4.3 Amplifier Circuit

A common emitter (CE) transistor amplifier was used because of its characteristics which include:

The transistor used is a BC337 NPN transistor.

In a proper design the amplifier circuit operates normally when

VCE = VCC

Also for a CE configuration

VCE = VCC ICRL

hfe = IC / IB

Where VCE = collector emitter voltage

hfe = absolute minimum gain for the selected transistor which is 100

IC = collector current

IB = base current

Therefore RL = (VCC VCE) / IC

The Voltage gain is given by

AV = ro / re

Where ro = output resistance of the stage

re = emitter junction resistance

25Mv / IE.

4.4 Beat Frequency Oscillator Technology

The circuit employs two radio frequency oscillators called the search and the reference oscillators and is tuned at the same frequency. the output of the oscillator is fed into a mixer, which produce a signal that contains the sum and difference frequency components of the two input signals.

The output from the mixer is fed into a low-pass(gain) filter where the harmonic is removed leaving the difference frequency component to subsist, though at theoretically 0Hz , as a result the output will have no difference. However, when metal is brought into the vicinity of the search coil, the frequency of search oscillators shifts slightly, then a there is a frequency difference, which is within the audio frequency range, appears at the output of the filter. This output is amplified by an audio amplifiers and fed to a loud speaker which produces sound output thus indicating the presence of metal

5.0 TESTING AND ANALYSIS

The following test was performed on the project circuit to ascertain the condition of the different stage and the project as a whole:

Short Circuit Test

The connections were checked with a multimeter set in continuity to ensure no short circuit occurs. The test was done and no short circuit was found.

Open Circuit Test

The various connections were checked for open circuit and none was found using multi meter.

Functional Test

The different voltage value and current value were measured at each stages and all were found in confirmation with the design specifications.

Insulation Test

Insulator test was carried out in all units of the circuit especially those units that require adequate insulation. Example, coil used in the oscillators.

SYSTEM PERFORMANCE AND TEST RESULT

The metal detector was used to test for various sizes of metal at various distance from the search coil and the following result were obtained.

(i) The lager the metal, the louder the sound output from the loud speaker and smaller the metal , the lower the sound output from the loud speaker though this also dependent on the size of the search coil.

(ii) The closer the distance between the search head and the metal, the greater the sound output from the loud speaker and the farther the distance the fainter the sound output from the loud speaker, to extent the sound die off at some critical distance where theoretically the magnetic field due to the search head is zero.

6.0 CONCLUSION

The beat frequency oscillator (BFO) principle is one of the reliable simple and cast effective principles of building a metal detector .though some price are paid for these seemingly advantages and they includes.

(i) Low sensitivity

(ii) Short range of detection. Though depended on the size of search coil.

(iii) Not be able to discriminate metals

All these is nothing at all,It is interesting to know that the design and construction of metal detector is a success. This is because the project when tested produced the desired effect. In particular, this research work had made the principle of electromagnetic induction very clear to me as well as to any average literate person around me. In general, with the invention of metal detectors, the stress of one indulging in locating metallic components in a workshop has been reduced drastically. Also the embarrassment banks and other establishment cause their customers has been solved as some of the metal detectors are mounted on door entrances so as to trigger up an alarm when a metal is detected on s person trying to enter.

REFERENCES

1 Edeko, F.O, Electronics circuit design material 2008

2 A textbook of electrical technology by B.L. Theraja and A.K. Theraja, S. Chard and company, 2005.

3 Study of electronic components by J.A. Smith (2nd edition) , 1999

4 Electronic circuit analysis and design by Donald A. Neumann, Mc Grawhill Book Company, USA 1996.

5 Amplifiers comparators and special functions, Texas instrument, Data book volume B, Custom Printing Companys,1997.


0

Friday, October 28, 2011

FarmVille: Quick Growth in Week 1

FarmVille is a new social networking simulation farming game on Facebook. It was launched in June 2009 and has over seventy-six (76) million current monthly users. That is a ridiculous amount of growth in seven (7) months! This is a guide that will help you build a stable foundation for your farm. No cheat codes here. Just pure strategy!!

Getting started on the right path can go along ways towards building up your farm sooner and faster. First tip would be to plant strawberries only. Work on achieving the 3 Star "Mastery" level. This requires extra work and can begin to be boring. But the rewards are much "sweeter" if you can grind it out!

If you stay on top of it, you will be able to harvest strawberries 5 times a day. Gaining you 5 XP per square per day. You'll start off with a twelve by twelve (12 x 12) piece of property. That is one hundred forty-four (144) squares of farm land. Plus, you get one XP for every time you plow a square of soil. That will put you over 1500 XP in Day 1. I was at 2000 XP (Level 10) after Day 1, 5000 XP (Level 15) after Day 2 and 7000 XP (Level 17) after Day 3. That was growing mostly strawberries. It adds up quickly!!! Level 20 will be right around the corner.

Don't oversleep! 4 hours after harvest, the strawberries will wilt and you will lose your potential earnings. Keep an eye out for the new "unwither" feature. You can restore your crop if they wilt. A safer seed to plant while sleeping or at work would be the pumpkin. It will harvest every 8 hours.

Buy land expansions and farm equipment when you have saved enough coin. This will act as a multiplier effect on your harvest. If you are looking to gain quick coin growth. Plant raspberries. They will not earn you any XP but they can earn you double the coin earnings in comparison to the strawberry.

Don't get side tracked wasting money on things you don't really need. Stay focused, patient and disciplined for the first week. You will truely surprise yourself and your neighbors. Also, help your neighbors. That will gain you coins, XP, ribbons and a little respect. After the first week, I was at 18,000 XP (Level 24). Had 2 dairy farms, 1 horse stable, 1 chicken coop, 1 tractor, 1 spreader, 44 ribbons and an 18 x 18 farm. If you can make it through week 1, week two will be a breeze. Focus on the Fruits and the Rewards will be Sweet!

The picture at the top of the article is of Haiti's flag. They need all the support we can give them. The more we help, the quicker the people of that devastated country can get back on their feet. We can help to rebuild the country to be better than it was before.

Good Luck

Happy Farming

God Bless and pray for Haiti


0

Thursday, October 20, 2011

Help from NS2 mailing list


You can get a lot more help online form the NS2(Network Simulator) mailing list. Even I ve got a lot of help from this comunity. The entire mails have been archived in a forum called as nabble which  will be of great help to the developers.

You can find the link over here


Wednesday, October 19, 2011

Installing Tracegraph in Windows


Today for analyzing my outputs I had a need to install tracegraph in windows. As my tracegraph installation in linux failed and I couldnt recover from it, hence I decided to go for the installation in Windows. I downloaded the tracegraph binaries for windows.

Download TraceGraph


The I found that I needed matlab libraries for the tracegraph to work. So I downloaded the libraries called as mglinstaller.exe and did a simple installation and set the path as.

path:.;installation_drive:installation_folder\bin\win32;


Then click on tracegraph.exe inside the unzipped folder. This will make the tracegraph work.

Tracegraph installation in Windows 7



How to install tracegraph in windows . here are the steps

Step 1: Unzip the tracegraph202.tar file to C: or D:  (in my case I extracted to D:/tracegraph202)

Step 2: copy the path (DLL files) to the environmental variables (in my case the path is D:\tracegraph202\bin\win32)

Step 3: that’s it run the trgraph.exe file which is available under the tracegraph202/ folder.





Installing Network Simulator (NS2) For Windows


"Network Simulator (NS) is a discrete event simulator targeted at networking research. NS provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks". You may find more info about NS at Information Science Institue's homepage.Here you could find concise notes about how to use NS on Windows. Downloading, Installing, and Compiling NS has been described and some useful related tools has been introduced.

Downloads Needed

If you want to just install and run NS on windows without having to compile the source code the following list includes the minimum things to download:
  • NS Binary For Windows (32-bit)
  • ActiveTCL
  • Cygwin
  • NAM (Newtoek Animator)

Download Links For Ns2 installation on Windows


NAM is a Tcl/TK based animation tool for viewing network simulation traces and real world packet traces. ActiveTCL is binary build of Tcl for Windows from ActiveState. Cygwin is a UNIX environment, developed by Red Hat, for Windows. If you want to install, compile and run NS on windows the following list includes the minimum things to download:
  • NS Source Code For Windows
  • Cygwin
  • NAM (Newtoek Animator)
Installing NS2 in windows with Cygwin

You may follow these steps to install NS on Windows:

Make a new folder on hard disk (Let's call it D:\NsProjects)
Copy downloaded NS binary for windows (e.g. ns-2.1b9a-win32.exe) to D:\NsProjects and rename it as ns.exe
Copy downloaded NS binary for windows (e.g. nam-1.0a11a-win32.exe) to D:\NsProjects and rename it as nam.exe
Go to downloaded Cyqwin directory and install it. (Run setup.exe and select "Install from local directory")
Go to downloaded ActiveTCL directory and install it (e.g. run ActiveTcl8.3.4.2-1-win32-ix86.exe)
Restart computer after installing ActiveTCL. It may not ask for restarting but you have to do this for initializing some of the system environment variables.
Create a sample TCL script for NS. You may find many sample TCL scripts in NS manuals. For example get this one (example2.tcl). Copy the tcl script to D:\NsProjects.

Now you have all of the required files. Follow these steps for running NS:

Run Cygwin
In Cygwin window use "cd" commands and go to D:\NsProjects (You may use "mount" command without any parameter to have the list of the mounted file systems. e.g. you may go to /cygdrive/D/NsProjects)
In Cygwin window run "ns example2.tcl"

How to compile

For compiling with VC6 read This
For compiling with VC7 read This




Some Useful AODV NS2 materials

I have found some useful materials regarding Network Simulator (NS2)   which helps in learning the ns2 basics and AODV protocol basics. I have given a link for that file. I will post some more findings as the blog goes on!!

Files included in the download list


Introduction to How Motes Work.pdf
NS2 AODV Materials List 1
OTcl Linkage.pdf
A Review of Current Routing Proto cols for Ad-Hoc.pdf
ns-2 Tutorial (1).pdf
Routing Protocol In Adhoc Networks.pdf
Creating network topology.jar
Mobile Ad-hoc Network.ppt
RemoteDeviceControllingsystem.doc




Creating a simple network topology with TCL scripting

I have found a jar which can help you to create simple network typologies. This is simple but very useful jar. Will help you a lot.

Download "CreatingNetworkTopology.jar"

OTcl Linkage (Otcl to C++ Linkage)

This tutorial will help you to learn how to pass a message from OTcl to C++.


Extending NS by adding a new basic network object usually involves working around making OTcl linkage from C++ code, since the object class in the data path should be written in C++ for efficiency reason. This section introduces C++/OTcl linkages available in NS by giving an example of creating a simple and dull agent called "MyAgent" that has no behavior of an agent (i.e. no packet creation and transmission). Figures 18 to 21 show parts of the C++ source file for "MyAgent", together which makes a complete implementation (with 3 extra header lines). Also, an OTcl script with which you can test "MyAgent" is presented at the end of this section.

  • Export C++ class to OTcl
  • Suppose that you created a new network object class in C++, say "MyAgent" that is derived from the "Agent" class, and want to make it possible to create an instance of this object in OTcl. To do this you have to define a linkage object, say "MyAgentClass", which should be derived from "TclClass". This linkage object creates an OTcl object of specified name ("Agent/MyAgentOtcl" in this example), and creates a linkage between the OTcl object and the C++ object ("MyAgent" in this example), of which the instance launching procedure is specified in the "create" member function. Figure 18 shows the "MyAgent" class definition and the linkage class definition.

    Figure 18. Example C++ Network Component and The Linkage Object
    When NS is first started, it executes the constructor for the static variable "class_my_agent", and thus an instance of "MyAgentClass" is created. In this process, the "Agent/MyAgentOtcl" class and its appropriate methods (member functions) are created in OTcl space. Whenever a user in OTcl space tries to create an instance of this object using the command "new Agent/MyAgentOtcl", it invokes "MyAgentClass::create" that creates an instance of "MyAgent" and returns the address. Note that creating a C++ object instance from OTcl does not mean that you can invoke member functions or access member variables of the C++ object instance from OTcl.

  • Export C++ class variables to OTcl
  • Suppose your new C++ object, "MyAgent", has two parameter variables, say "my_var1" and "my_var2", that you want to configure (or change) easily from OTcl using the input simulation script. To do this you should use a binding function for each of the C++ class variables you want to export. A binding function creates a new member variable of given name (first argument) in the matching OTcl object class ("Agent/MyAgentOtcl"), and create bi-directonal bindings between the OTcl class variable and the C++ variable whose address is specified as the second variable. Figure 19 shows how to make bindings for "my_var1" and "my_var2" shown in Figure 18.

    Figure 19. Variable Binding Creation Example
    Note that the binding functions are placed in the "MyAgent" constructor function to establish the bindings when an instance of this object is created. NS support four different binding functions for five different variable types as follows:
    - bind(): real or integer variables
    - bind_time(): time variable
    - bind_bw(): bandwidth variable
    - bind_bool(): boolean variable
    In this way, a user designing and running a simulation using an OTcl script can change or access configurable parameters (or variable values) of network components implemented in C++. Note that whenever you export a C++ variable, it is recommended that you also set the default value for that variable in the "ns-2/tcl/lib/ns-lib.tcl" file. Otherwise, you will get a warning message when you create an instant of your new object.

  • Export C++ Object Control Commands to OTcl.
  • In addition to exporting some of your C++ object variables, you may also want to give the control of your C++ object to OTcl. This is done by defining a "command" member function of your C++ object ("MyAgent"), which works as an OTcl command interpreter. As a matter of fact, an OTcl command defined in a "command" member function of a C++ object looks the same as a member function of the matching OTcl object to a user. Figure 20 shows an example "command" member function definition for the "MyAgent" object in Figure 18.

    Figure 20. Example OTcl command interpreter
    When an instance of the shadow OTcl that matches the "MyAgent" object is created in OTcl space (i.e. set myagent [new Agent/MyAgentOtcl]), and the user tries to call a member function of that object (i.e. $myagent call-my-priv-func), OTcl searches for the given member function name in the OTcl object. If the given member function name cannot be found, then it invokes the "MyAgent::command" passing the invoked OTcl member function name and arguments in argc/argv format. If there is an action defined for the invoked OTcl member function name in the "command" member function, it carries out what is asked and returns the result. If not, the "command" function for its ancestor object is recursively called until the name is found. If the name cannot be found in any of the ancestors, an error message is return to the OTcl object, and the OTcl object gives an error message to the user. In this way, an user in OTcl space can control a C++ object's behavior.

  • Execute an OTcl command from C++.
  • As you implement a new network object in C++, you might want to execute an OTcl command from the C++ object. Figure 21 shows the implementation of "MyPrivFunc" member function of "MyAgent" in Figure 18, which makes an OTcl interpreter print out the value in "my_var1" and "my_var2" private member variables.

    Figure 21. Execute OTcl command from a C++ Object
    To execute an OTcl command from C++, you should get a reference to "Tcl::instance()" that is declared as a static member variable. This offers you a couple of functions with which you can pass an OTcl command to the interpreter (the first line of "MyPrivFunc" does this). This example shows two ways to pass an OTcl command to the interpreter. For a complete list of OTcl command passing functions, refer to the NS documentation.

  • Compile, run and test "MyAgent"
  • Until now, we examined the essential OTcl linkages available in NS using the "MyAgent" example. Assuming that running and testing this example would help the reader's understanding further, we present a procedure that helps you to compile, run and test "MyAgent".
    1. Download "ex-linkage.cc" file, and save it under the "ns-2" directory.
    2. Open "Makefile", add "ex-linkage.o" at the end of object file list.
    3. Re-compile NS using the "make" command.
    4. Download the "ex-linkage.tcl" file that contains "MyAgent" testing OTcl commands. (see Figure 22 for the input script and the result)
    5. Run the OTcl script using command "ns ex-linkage.tcl".
    ex-linkage.tcl

    Figure 22. Test OTcl Script and The Result

    Tuesday, October 18, 2011

    NS2 Tutorials


    This is the official NS2 manual and documentation. This is where I started learning the NS2. It is very big but it is very informative than other tutorials available in the web. This tutorial mainly deals with wired networks, but you can apply the same for wireless networks too.

    http://www.isi.edu/nsnam/ns/tutorial/


    NS2 Simulation Flowchart

    The flow chart given below describes how a typical network simulator works.From the creation of the tcl file to working condition.



    Monday, October 17, 2011

    Architecture of NS2


    Recently I started using NS2 for my research work. Initially I had a tough time in getting the big picture of the NS2. After spending nearly 2 weeks, I got the complete understanding of the NS2 and made diagram, I hope, it is useful to newbies.

    Simple NS2 Tutorials

    I have attached a simple ppt presentation which gives you a basic overview of Network Simulators (NS2). You can get some sample network simulator environment examples over here.

    http://www.esnips.com/doc/611c09ba-e2d0-4f33-97a7-ff5c6f40baec/cs757-ns2-tutorial1

    NS2 Manual

    I hear with attached a document which gives you all it needs to start with NS2. The Syntax, the Tokens, sample code and all it needs to begin with NS2.

    http://www.esnips.com/doc/2fe839f5-6e38-4c0d-92b1-33ff81a2066a/ns2-manual

    NS2 Manual (The NS2 Documentation)


    Ns2 works out really good for both wired and wieless networks I chosse this for my Network simulator (ns2) project for wireless network. I have given the link where you can fins some good NS2 manual. It is the official NS2 docuentation site link.

    http://www.isi.edu/nsnam/ns/ns-documentation.html

    Friday, October 14, 2011

    Now it is all about installing the ns2 in Ubuntu


    Easiest way to install ns2 on ubuntu 9.10
    Hi There!!!!!


    Guys..... I wonder why people switch between Redhat an Fedora for doing their networking projects when they have UBUNTU. I am doing my final year project on adhoc networks and i was about to install fedora in my college for working. i was not comfortable with it and i couldnt get a copy of Fedora 8. So i tought of going for UBUNTU. I already have a been exposed to ubuntu and i was good. Now i got my self the new version 9.10 which has lot of cool features and it's working fine. What i found was But installing ns2 (The Network Simuator) through ns-allinone-2.3x package isn't easy on 9.10. While trying to install ns-allinone-2.3x, Firstly otcl doesn't compile with the latest gcc-4.4 (available with ubuntu 9.10). You need to compile it with gcc -4.3. If you get through this then also your problem is not solved, the ns-allinone-2.3x skips installing nam & xgraph as ubuntu 9.10 is not friendly with these packages available in ns-allinone-2.3x package.
    So i spent lots of time to fix this problem and ended up with an interesting lauchpad ppa for installing ns2 on Ubuntu.

    Since Ubuntu 9.10 is already being shipped with tcl,otcl,tk... you need not to install these packages, Only ns, nam & xgraph are needed to install.
    If you are behind a proxy, make sure you have $http_proxy variable configured in ~/.bashrc.


    Following are the simple steps to install ns2 on Ubuntu 9.10 through launchpad ppa.
    1> Firstly remove all ns-allinone-2.3x directory (if you put it anywhere to install ns2) and revert back all the path changes you made in ~/.bashrc related to ns2.


    2> Now export the Wouter Horré's ppa repository key by typing the following command on terminal and enter:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B3F3334F

    3> Now add the following ppa repository to source list 

    To do so.....
    Go to System menu--->Administration--->Software sources.

    In the other softwares tab choose add+ and enter the following addresses in it.

    deb http://ppa.launchpad.net/wouterh/ppa/ubuntu karmic main
    deb-src http://ppa.launchpad.net/wouterh/ppa/ubuntu karmic main
    Reload repository information when prompted by "The information about available software is out-of-date" notification or reload it manually by following command on terminal:
    sudo apt-get update
    4> Now type the following command on terminal to install ns from the launchpad ppa repository:
    sudo apt-get install ns nam xgraph
    That's all. There is no need to set-up any path, environment variables or make any changes in ~/.bashrc .



    Type ns to check:
    you should see % at the command prompt (indicating successful installation)
    Type exit if you get stuck with the %


    This i ll do guys........

    Now time for you to test some files.
    So check out for the " ex " folder under your all-in-one-ns-2.33/ns-2.33/tcl/ex and try some simple tcl scripts.......


    All the best for your success .....

    So, Where to install ns2


    Ns2 works mainly on linux kernel based platforms so it is mandatory to have linux installed in our PC. We can either use Fedore or Ubuntu. I chose to install fedora core, but you can also have it on ubuntu, debain or any linux based OS.All these Operatig system arer opensource which means you can get it for free in their respective comunity sites.

    The installation screen shots of fedora 8



























    How I came to know about NS2 (Network simulator)


    Hello there, Greetings!!

    It all started withmyfinal year project. I had a meeting my my guide one day and she told me

    that I am going to work on a domain called Ad Hoc Networks. I had no clue of wat it is all

    about.But my guide was doing her research on Ad hoc. Hence I blindly acepted it. I was so

    weak in wired networks and I had no clues of what it is all about. I had no other choice

    than to started working on Ad hoc networks got to know abt "some concepts". That is how I

    started with this. And Now I amwriting this blog after 1 year of completion of my college.

    Hope this will help some one needy :P

    Internet was my only friend to help me out and clear my doubts. I was active insome forums

    whichhelped me a lot. I wasnt that much committed with my project. Infact I never worked for

    my project in coding or anyting rather than analysing what the project is all about.


    In the analysis I found that we need to simulate the netwoer environment which can b done with a software called as ns2 which helps in creating a virtual network environment for us.

    ns2 is a great tool thought which I dont know much about when I was working on It. So,I started learning that tool which gave me immense pleasure. But most people say it is very difficult. But For me it was heven!!! I will be writing downmy findings on ns2 in this blog.

    Get the documentations to start with


    First thing is you need to know everything with the class hierarchy and project structure of ns2. you need to  understand the various classes present in the ns2.

    http://www-rp.lip6.fr/ns-doc/ns226-doc/html/index.html

    This site has everything with that deals with class hierarchy of the network simulator. All the protocols and their dependencies  are covered. Every thing from macro to the base.

    Counter

    blogger analytics