Custom Search

Wednesday, December 29, 2010

Controler Area Network For Hybrid Vehicles

INTRODUCTION
The main aim of this project is to provide highly sensitive CAN network for fuel cell hybrid vehicle. Next generation vehicles like fuel cell electric vehicles usually require a lot of communication data between subsystems or ECUs to improve the fuel economy and the advanced safety. Unexpected transmission delay on a data bus may be a cause for an unstable operation of a vehicle which may also yield a serious result and thus, a simple method for varying controller sampling period is proposed based on holistic scheduling method. It is illustrated by applying the presented interface unit to the simple experimental set-up of a fuel cell hybrid electric vehicle that the transmission delay problem of a lower priority data, which results from the activation of a higher priority task, can be resolved.



Recently, hybrid electric vehicles (EV) and fuel cell electric vehicles (FCEV) have been researched to resolve the problems of oil depletion, environmental pollution, and global warming. In the past few years several commercial 1EV models, which are powered simultaneously by batteries and fossil fuel, have taken their place in the current automobile market. Some of HEV drive trains have been successfully used in heavy-duty trucks, buses, and military vehicles.

The battery system in Hybrid Electric Vehicles (HEV), which is used as an additional power source, assists internal combustion engine to operate in high efficient regions and stores regenerative braking energy when the vehicle is in the deceleration mode. Similarly to the 11EV, the FCEV (Fuel Cell Electric Vehicles) can use the additional power source such as the battery or the ultra capacitor to improve the fuel economy. This type of vehicle is called as fuel cell hybrid electric vehicles (FCHEV). Especially for fuel cell electric vehicles, a control system dedicated for the fuel cell system is used and a power distribution control strategy is always used for a high-efficiency operation of fuel cell or battery. This type of control strategy is performed based on a lot of vehicle data i.e., the total required torque for the driving motor, the SOC (Status-Of-Charge) level of a battery, the driving mode and/or the fuel cell voltage/current. In-vehicle networking in such a vehicle is sure to have much more communication burden than current conventional vehicles and it might cause unstable operations in some ECUs. Thus, for such a vehicle, the timing analysis of the in-vehicle network should be performed for the stable operation in a vehicle. A modem car is an example of a networked control system in which many ECUs, sensors, and actuators are networked through a common bus with a protocol to share information and to get a high control performance by integration.

DESCRIPTION
The project is developed to control the functions of hybrid vehicle. The system contains LPC2129 microcontroller which has in built ARM7 processor. The LPC2129 have different peripherals like ADC, I2C, CAN, SPI, WDT etc.Normally we are using CAN,ADC and GPIO peripherals which is shown in block diagram. Here system is using two modules having LPC2129 microcontroller each.The below figure shows first module.

This module is having LPC2129 controller with different sensors like temperature sensors, fuel level sensor, voltage level sensor and gear position sensor.

Also it has two CAN transceiver for data transmission and reception. All the outputs of sensors are given to ADC of LPC2129.Buzzer is used for indicating the critical condition. Also two relays are connected to wiper motor and light control system respectively.

Also system has another module with LPC2129 microcontroller which is shown in figure below. This module is also having LPC2129 controller with different sensors like rain sensor, light intensity sensor, speed sensor and door position sensor. Here CAN3 and CAN4 is the two Tranreceivers for data transmission and reception. The LCD is used for displaying the ADC outputs. Two relay are connected to cooling system & energy source selection system each.

SYSTEM ANALYSIS
HARDWARE REQUIREMENTS:-

1.Philips LPC2129 microcontroller
Features
16/32-bit ARM7TDMI-S microcontroller in a 64 or 144 pin package.
16 kB on-chip Static RAM
128/256 kB on-chip Flash Program Memory. 128-bit wide interface/accelerator enables high speed 60 MHz operation.
External 8, 16 or 32-bit bus (144 pin package only)
In-System Programming (ISP) and In-Application Programming (IAP) via on-chip boot-loader software. Flash programming takes 1 ms per 512 byte line. Single sector or full chip erase takes 400 ms.
Two/four interconnected CAN interfaces with advanced acceptance filters.
Four/eight channel (64/144 pin package) 10-bit A/D converter with conversion time as low as 2.44 ms.
Two 32-bit timers (with 4 capture and 4 compare channels), PWM unit (6 outputs), Real Time Clock and Watchdog.
Multiple serial interfaces including two UARTs (16C550), Fast I2C (400 kbits/s) and two SPIs™.
60 MHz maximum CPU clock available from programmable on-chip Phase-Locked Loop.
Vectored Interrupt Controller with configurable priorities and vector addresses.
Up to forty-six (64 pin) and hundred-twelve (144 pin package) 5 V tolerant general purpose I/O pins. Up to 12 independent
On-chip crystal oscillator with an operating range of 1 MHz to 30 MHz.
Two low power modes Idle and Power-down.
Processor wake-up from Power-down mode via external interrupt.
Dual power supply.
CPU operating voltage range of 1.65V to 1.95V (1.8V +/- .3%).
- I/O power supply range of 3.0V to 3.6V (3.3V +/- 10%).Robert

CAN Transceiver MCP2551
The MCP2551 is a high-speed CAN, fault-tolerant device that serves as the interface between a CAN protocol controller and the physical bus. The MCP2551 provides differential transmit and receive capability for the CAN protocol controller and is fully compatible with the ISO-11898 standard, including 24V requirements. It will operate at speeds of up to 1 Mb/s.Typically each node in a CAN system must have a device to convert the digital signals generated by a CAN controller to signals suitable for transmission over the bus cabling (differential output). It also provides a buffer between the CAN controller and the high-voltage spikes that can be generated on the CAN bus by outside sources (EMI, ESD, electrical transients, etc.).
Features
Supports 1 Mb/s operation
Implements ISO-11898 standard physical layer requirements
Suitable for 12V and 24V systems
Externally-controlled slope for reduced RFI emissions
Detection of ground fault (permanent dominant) on TXD input
Power-on reset and voltage brown-out protection
An un powered node or brown-out event will not disturb the CAN bus
Low current standby operation
Protection against damage due to short-circuit conditions (positive or negative battery voltage)
Protection against high-voltage transients
Automatic thermal shutdown protection
Up to 112 nodes can be connected
High noise immunity due to differential bus implementation
Temperature ranges:
Industrial (I): -40°C to +85°C
Extended (E): -40°C to +125°C

Sensors:-
a) Temperature Sensor LM35

In this system temperature sensor is used to sense the engine temperature. The LM35 series are precision integrated-circuit temperature sensors,whos output voltage is linearly proportional to Celsius temperature. The LM35 thus has advantage over linear temperature sensors calibrated inKelvin,as the user is not required to substract a large constant voltage from it’s output to obtain convient centigrade scaling.The LM35 has low output impedance,linear output and precise inherent calibration make interfacing to read out or control circutary especially esay.It can be used with single power supply or with plus and minus supplies.As it draws only 60mA from it’s supply,it has very low self-heating,less than 0.1 degree Celsius in still air.
Features:
Calibrated directly in degree centigrade
Linear +10.0mV/degree Celsius scale factor
0.5 degree elsius accuracy guarenteable
Rated for full -55 to 150 degree Celsius range
Suotable for remote application
Low cost due to water-level trim age
Operates from 4 to 30 volts
Low impedance output

b)Door position sensor
A door panel position sensor assembly for a transit vehicle is provided which comprises a door mounted actuator device and a vehicle mounted switch operating mechanism which is mounted adjacent to the path of travel of the door and is actuated by the door-mounted actuator device during movement of the door between open and closed positions. The switch operating mechanism comprises a signalling switch whose switching state indicates the position of the door and a single actuator lever which is movable by the door mounted actuator device between first and second positions to control actuation and de-actuation of the switch. A spring arrangement is located between actuator arm and the signalling switch which assists in toggling of the actuator lever and which, under the control of the actuator lever, engages the switch to provide actuation thereof. The door-mounted actuator device includes a first, rigid actuator and a second, directionally flexible actuator which is spaced apart from the first actuator in the direction of travel of the door and which prevents damage to the switch operating mechanism when the latter is reset, due to inadvertence or vandalism, to the non-normal position thereof prior to a closing movement of the door. In particular, the directionally flexible actuator enables that actuator to bypass the actuating lever of the switch operating mechanism without damage to the switch operating mechanism during a closing movement of the door, while permitting the flexible actuator to serve its normal function as an actuator for opening movements of the door.

c) Speed Sensor
A Wheel speed sensor or vehicle speed sensor (VSS) is a used to sense the current speed of vehicle. It is a sender device used for reading the speed of a vehicle's wheel rotation. It usually consists of a toothed ring and pickup. There are different types of speed sensor which are mentioned below

Optical sensor:-
All the manufacturers previously active in this market used mainly optical sensors. From one to four channels can be implemented, each channel having a photo sensor that scans one of at most two signal tracks on a slotted disk. Experience shows that the possible number of channels achievable by this technique is still not enough. A number of subsystems therefore have to make do with looped-through signals from the wheel slide protection electronics and are therefore forced to accept, for instance, the available number of pulses, although a separate speed signal might well have some advantages. The use of optical sensors has been familiar for many years and is widespread in industry. Unfortunately they do have two fundamental weaknesses that have always made it very difficult to get them to function reliably over a number of years, namely - the optical components are extremely susceptible to dirt, and - the light source ages too quickly. Even traces of dirt greatly reduce the amount of light that passes through the lens and can cause signal dropout. These encoders are therefore required to be very well sealed. Even sealing the encoder bearing to prevent it emitting grease is a problem that even the ingenuity of designers has been unable to fully resolve. Further problems are encountered when the pulse generators are used in environments in which the dew point is passed: the lenses fog and the signal is frequently interrupted. The light sources used are light-emitting diodes (LEDs). But LEDs are always subject to ageing, which over a few years leads to a noticeably reduced beam. Attempts are made to compensate for this by using special regulators that gradually increase the current through the LED, but unfortunately this further accelerates the ageing process.

Magnetic sensor
The principle used in scanning a ferromagnetic measuring scale magnetically does not exhibit these deficiencies. During many years’ experience of using magnetic encoders there have been occasions when a seal has failed and a pulse generator has been found to be completely covered in a thick layer of brake dust and other dirt, but such pulse generators still functioned perfectly. Magnetic scanning systems were previously simply too expensive to use, but recently a multi channel pulse generator became available that is not only fundamentally superior to previous pulse generators in its robustness and resistant to dirt, but also sets a new standard for flexibility. Here, for comparison, are a few of its key features from one to eight channels, instead of the previous one to four up to three different pulse values per revolution from a single encoder, instead of the previous two from 1 to 400 pulses per revolution, instead of the previously achieved 200 voltage output, current output, signals with a 7 V idle voltage, instead of only a voltage output as previously There is now a new variant with a maximized hysteresis of ± 90° relative to a signal period. When installed under unfavourable conditions and exposed to severe vibration this variant suppresses any extraneous pulses while the vehicle is at a standstill.

Altogether, these innovative pulse generators offer new features that also open up entirely new possibilities for system integrators.It is possibly to supply significantly more subsystems with independent, electrically isolated output signals. And naturally installation compatible pulse generators can be configured for all the usual previously marketed products. The magnetic measuring principle and optimized bearing technology increases the pulse generators’ reliability, not only increasing maintenance intervals but also significantly reducing maintenance costs. Pulse generators constructed in accordance with this principle have been successfully field tested by several rail operators since the beginning of 2005.

Speed sensor with pulse doubling:-
Customers often want a higher number of pulses per revolution than can be achieved in the space available and with the smallest module m = 1. An industry standard flange-compatible speed sensor has been developed for such applications that generates two pulses for each tooth of the wheel. This makes it possible to achieve 600 pulses per revolution with a target wheel module m = 1 and a diameter of 300 mm. These speed sensors are currently being tested at a major system integrators.

VLS/DA1 SENSOR
The new VLS/DA1 Optical Sensor with integral Digital/Analogue converter, is designed for data-logging applications and where general speed monitoring of machines is required, it is particularly useful for monitoring & recording speed data.The high speed update of this unit makes it ideal for monitoring rapid variations in speed.

d)Light Intensity sensor
A Light Sensor is used to measure the intensity of light directed into it. The light from a point light source spreads out uniformly in all directions. The intensity at a given distance r from the light will be equal to the power output of the light divided by the surface area of the sphere through which the light has spread. Since the area of a sphere varies as the square of its radius r, the intensity will vary as 1/r2. Light sensors find their way into a host of interesting applications. For instance, a light sensor in a camera measures the amount of light that the film will be exposed to. Once the amount of light is known, the proper lens aperture can be calculated to make sure that the picture is taken with the proper amount of exposure.

In a smoke detector, a light sensor can be used to measure the amount of light transmitted by a known light source, such as an LED, through the air inside the sensor assembly. When the air becomes smoky, the amount of light received by the sensor changes. If the amount of light change goes above a preset threshold, then more than likely something nearby is burning, and a horn is activated to indicate there’s a fire in the building.

There are many other applications for light sensors, such as flame detectors, security systems, lighting control, robotics, etc. In these applications, many of us think that since the sensor produces an analog output, interfacing this type of sensor to a microcontroller will require a conventional analog-to-digital converter. Actually, though, by using just a few discrete components, interfacing a light sensor to an A/D-less microcontroller is very simple.

Photodiodes and phototransistors are two of the most popular and lowcost light sensors. These devices are readily available in the $1 range. Both devices produce current outputs as a function of light intensity. The operating range of such devices varies depending on the manufacturer.To get the best performance, the voltage across the sensor must be held constant during measurement.

The TSL257T is a high-sensitivity low-noise light-to-voltage optical converter that combines a photodiode and a transimpedance amplifier on a single monolithic CMOS integrated circuit. The output voltage is directly proportional to light intensity (irradiance) on the photodiode. The TSL257T has a transimpedance gain of 320 Megohm. At 640 nm, the typical irradiance responsivity is 680mV/µW/cm²) with an output rise and fall time of 160µsec. The device has improved offset voltage stability and low power consumption and is packaged in a 4-lead free surface-mountr package.This device is available in either a 3-pin sidelooker package or a 4-pin low-profile surface mount (T) package.

e)Rain sensor
Highly-versatile device for automatic wiping of vehicle windscreen when it is wet due to moisture, raindrops or even mud. It works by reflecting harmonious light beams within a windscreen. When raindrops fall onto windscreen, this harmony is disturbed, creating a drop in the light beam intensity. The system then activates the wipers to operate in fully automatic mode. The amount of raindrops (measured in milliliters) will automatically determine how fast and frequent the wiper will operate (depending on your vehicle's wiper settings). Most vehicle wipers operate in 3 different modes: Intermittent (low speed and low frequency), slow (low speed and medium frequency) and fast (high speed and high frequency). The sensor field (a thin film) mounts on the inside of windshield. Harness connects sensor to control module that mounts under dashboard. Control module wires into wiper motor. The 10 milliseconds response time lessens the risk of an accident by allowing for quicker reaction when sudden splashes of water (due to puddles) totally 'blind' the driver. Sensor also reduces driver's burden of distractions (heavy traffic, bad weather, dangerous road conditions and fatigue). A detection of 0.005 milliliters of water is possible so trailing a wet car is no longer a nuisance.

f) Voltage level sensor
Voltage level sensor used for limiting, setting or indicating voltage levels of power supplies, required charge level for energy storage capacitors, and voltage level interlocking.

It has following features:-
High accuracy adjustable trip point.
High sensor input impedance for internal line or external sensing.
Extremely fast response or adjustable delay.
Voltage level sensor can be powered from your AC line or DC source, 5 to 150V DC (If DC source voltage being sensed it must have a common connection), actuate from voltage whose level is being sensed (requires about 0.01 ampere for trip). Can have isolated trip input.
Voltage level sensor can have transient protection installed.
AC or positive, zero or negative voltage level can be sensed.
Voltage levels to ±750 volts can be sensed using resistors mounted internally on printed circuit board.
Voltage levels greater than ±750 volts can be sensed using external voltage dividers.
Voltage levels less than ±1 microvolt can be sensed under optimum conditions.
Fixed trip point can be built into voltage level sensor.
External resistor, or a trimmer potentiometer, or a remote conventional potentiometer may be used to set variable trip point.
Hysteresis can be built into voltage level sensor, or a trimmer potentiometer, or conventional potentiometer may be used to adjust hysteresis.
Time delay on turn on or turn off can be built into voltage level sensor, or a trimmer potentiometer, or a conventional potentiometer may be used to adjust time delay.
Voltage level sensor can be provided on a printed circuit board for use in your equipment, or enclosed, or potted for protection from the environment.
Voltage level sensor can be designed for the temperature range of your equipment.
Voltage level sensor can be designed to have contacts of a mechanical relay to the output terminals, or it can be designed to drive an optical solid state relay, or it can be designed to drive the coil of a mechanical relay.

g) Petrol(liquid) level sensor
Level sensors are used to detect liquid level. The liquid to be measured can be inside a container or can be in its natural form (e.g. a river or a lake). The level measurement can be either continuous or point values. Continuous level sensors measure level within a specified range and are used to know the exact amount of liquid in a certain place and Point level sensors only measures a specific level, generally this is used to detect high level alarms or low level alarms.
There are many physical and application variables that affect the selection of the optimal level monitoring solution for industrial and / or commercial processes. The selection criteria include the physical: state (liquid, solid or slurry), temperature, pressure or vacuum, chemistry, dielectric constant of medium, density or specific gravity of medium, agitation, acoustical or electrical noise, vibration, mechanical shock, tank or bin size and shape; and the application constraints: price, accuracy, appearance, response rate, ease of calibration or programming, physical size and mounting of the instrument, monitoring or control of continuous or discrete (point) levels.There are different techniques of measuring liquid levels, for those application there are different types of sensors like capacitance level sensor(RF sensor),optical interface point level sensor,ultrasonic level sensor.

Capacitance level sensor:-
Capacitance level sensors excel in sensing the presence of a wide variety of solids, aqueous and organic liquids, and slurries. The technique is frequently referred to as RF for the radio frequency signals applied to the capacitance circuit.

The sensors can be designed to sense material with dielectric constants as low as 1.1 (coke and fly ash) and as high as 88 (water) or more. Sludges and 50 slurries such as dehydrated cake and sewage slurry (dielectric constant 90) can also be and liquid chemicals such as quicklime (dielectric constant sensed. Dual-probe capacitance level sensors can also be used to sense the interface between two immiscible liquids with substantially different dielectric constants, providing a solid state alternative to the aforementioned magnetic float switch for the “oil-water interface” application.

Since capacitance level sensors are electronic devices, phase modulation and the use of higher frequencies makes the sensor suitable for applications in which dielectric constants are similar. The sensor contains no moving parts, is rugged, simple to use, easy to clean, and can be designed for high temperature and pressure applications. A danger exists from build up and discharge of a high-voltage static charge that results from the rubbing and movement of low dielectric materials, but this danger can be eliminated with proper design and grounding.

Appropriate choice of probe materials reduces or eliminates problems caused by abrasion and corrosion. Point level sensing of adhesives and high-viscosity materials such as oil and grease can result in the build up of material on the probe; however, this can be minimized by using a self-tuning sensor. For liquids prone to foaming and applications prone to splashing or turbulence, capacitance level sensors can be designed with splashguards or stilling wells, among other devices.

A significant limitation for capacitance probes is in tall bins used for storing bulk solids. The requirement for a conductive probe that extends to the bottom of the measured range is problematic. Long conductive cable probes (20 to 50 meters long) suspended into the bin or silo, are subject to tremendous mechanical tension due to the weight of the bulk powder in the silo and the friction applied to the cable. Such installations will frequently result in a cable breakage.

Optical interface point level sensor:-
Optical sensors are used for point level sensing of sediments, liquids with suspended solids, and liquid-liquid interfaces. These sensors sense the decrease or change in transmission of infrared light emitted from an infrared diode (LED). With the proper choice of construction materials and mounting location, these sensors can be used with aqueous, organic, and corrosive liquids.
A common application of economical infrared-based optical interface point level sensors is detecting the sludge/water interface in settling ponds. By using pulse modulation techniques and a high power infrared diode, one can eliminate interference from ambient light, operate the LED at a higher gain, and lessen the effects of build-up on the probe.

An alternate approach for continuous optical level sensing involves the use of a laser. Laser light is more concentrated and therefore is more capable of penetrating dusty or steamy environments. Laser will reflect off most solid, liquid surfaces. The time of flight can be measured with precise timing circuitry, to determine the range or distance of the surface from the sensor. Lasers remain limited in use in industrial applications due to cost, and concern for maintenance. The optics must be frequently cleaned to maintain performance.

Ultrasonic level sensor:-
Ultrasonic level sensors (sometimes called sonic) are ideal for non-contact level sensing of highly viscous liquids such as heavy oil, grease, latex, and slurries as well as bulk solids like cement, sand, grain, rice, and plastic pellets They are also widely used in water/waste water applications for pump control and open channel flow measurement. The sensors emit high frequency, “ultra” sonic (20 kHz to 200 kHz) acoustic waves that are reflected back to and detected by the emitting transducer.

Since the speed of sound in air fluctuates with moisture level and temperature, ultrasonic level sensors are also affected by changing moisture levels and varying temperatures and pressures inside the hopper or container. But when ultrasonic sensors are used in conjunction with humidity and temperature sensors, or a distance reference, correction factors can be applied to the level measurement making the technology very accurate.

Turbulence, foam, steam, chemical mists (vapors), and changes in the concentration of the process material also affect the ultrasonic sensor’s response. Turbulence and foam prevent the sound wave from being properly reflected to the sensor; steam and chemical mists and vapors distort and/or absorb the sound wave; and variations in concentration cause changes in the amount of energy in the sound wave that is reflected back to the sensor. Stilling wells and wave guides are used to address some of the above constraints.

Proper mounting is important to ensure that sound waves are reflected perpendicularly back to the sensor. Otherwise, even slight misalignment of the sensor in relation to the process material reduces the amount of sound wave detected by the transducer. In addition, the hopper, bin, or tank should be relatively free of obstacles such as weldments, brackets, or ladders to minimise false returns and the resulting erroneous response, although most modern systems have sufficiently "intelligent" echo processing to make engineering changes largely unnecessary except where an intrusion blocks the "line of sight" of the transducer to the target. Since the ultrasonic transducer is used both for transmitting and receiving the acoustic energy, it is subject to a period of mechanical vibration known as “ringing”. This vibration must attenuate (stop) before the echoed signal can be processed. The net result is a distance from the face of the transducer that is blind and cannot detect an object. It is known as the “blanking zone”, typically 150mm - 1m, depending on the range of the transducer.

The requirement for electronic signal processing circuitry can be used to make the ultrasonic sensor an intelligent device. Ultrasonic sensors can be designed to provide point level control, continuous monitoring or both. Due to the presence of a microprocessor and relatively low power consumption, there is also capability for serial communication from to other computing devices making this a good technique for adjusting calibration and filtering of the sensor signal, remote wireless monitoring or plant network communications. The ultrasonic sensor enjoys wide popularity due to the powerful mix of low price and high functionality.

LCD(Liquid Crystal Display)
A liquid crystal display (LCD) is an electro-optical amplitude modulator realized as a thin, flat display device made up of any number of color or monochrome pixels arrayed in front of a light source or reflector. It is often utilized in battery-powered electronic devices because it uses very small amounts of electric power.

Each pixel of an LCD typically consists of a layer of molecules aligned between two transparent electrodes, and two polarizing filters, the axes of transmission of which are (in most of the cases) perpendicular to each other. With no liquid crystal between the polarizing filters, light passing through the first filter would be blocked by the second (crossed) polarizer.

The surface of the electrodes that are in contact with the liquid crystal material are treated so as to align the liquid crystal molecules in a particular direction. This treatment typically consists of a thin polymer layer that is unidirectionally rubbed using, for example, a cloth. The direction of the liquid crystal alignment is then defined by the direction of rubbing. Electrodes are made of a transparent conductor called Indium Tin Oxide (ITO).

Before applying an electric field, the orientation of the liquid crystal molecules is determined by the alignment at the surfaces. In a twisted nematic device (still the most common liquid crystal device), the surface alignment directions at the two electrodes are perpendicular to each other, and so the molecules arrange themselves in a helical structure, or twist. Because the liquid crystal material is birefringent, light passing through one polarizing filter is rotated by the liquid crystal helix as it passes through the liquid crystal layer, allowing it to pass through the second polarized filter. Half of the incident light is absorbed by the first polarizing filter, but otherwise the entire assembly is reasonably transparent. LCD with top polarizer removed from device and placed on top, such that the top and bottom polarizers are crossed. When a voltage is applied across the electrodes, a torque acts to align the liquid crystal molecules parallel to the electric field, distorting the helical structure (this is resisted by elastic forces since the molecules are constrained at the surfaces). This reduces the rotation of the polarization of the incident light, and the device appears grey. If the applied voltage is large enough, the liquid crystal molecules in the center of the layer are almost completely untwisted and the polarization of the incident light is not rotated as it passes through the liquid crystal layer. This light will then be mainly polarized perpendicular to the second filter, and thus be blocked and the pixel will appear black. By controlling the voltage applied across the liquid crystal layer in each pixel, light can be allowed to pass through in varying amounts thus constituting different levels of gray.LCD with top polarizer removed from device and placed on top, such that the top and bottom polarizers are parallel.The optical effect of a twisted nematic device in the voltage-on state is far less dependent on variations in the device thickness than that in the voltage-off state. Because of this, these devices are usually operated between crossed polarizers such that they appear bright with no voltage (the eye is much more sensitive to variations in the dark state than the bright state). These devices can also be operated between parallel polarizers, in which case the bright and dark states are reversed. The voltage-off dark state in this configuration appears blotchy, however, because of small variations of thickness across the device.Both the liquid crystal material and the alignment layer material contain ionic compounds. If an electric field of one particular polarity is applied for a long period of time, this ionic material is attracted to the surfaces and degrades the device performance. This is avoided either by applying an alternating current or by reversing the polarity of the electric field as the device is addressed (the response of the liquid crystal layer is identical, regardless of the polarity of the applied field).When a large number of pixels are needed in a display, it is not technically possible to drive each directly since then each pixel would require independent electrodes. Instead, the display is multiplexed. In a multiplexed display, electrodes on one side of the display are grouped and wired together (typically in columns), and each group gets its own voltage source. On the other side, the electrodes are also grouped (typically in rows), with each group getting a voltage sink. The groups are designed so each pixel has a unique, unshared combination of source and sink. The electronics, or the software driving the electronics then turns on sinks in sequence, and drives sources for the pixels of each sink.

Relays(ULN2803)
The relays in this circuits used to monitor and control the devices connected to board.The relays atre connected to port pins.The relays operate devices according to user commands.
The ULN2801A-ULN2805Aeach contain eight darlington transistors with common emitters and integral suppression diodes for inductive loads. Each darlington features a peak load current rating of 600mA (500mA continuous) and can withstand at least50V in the off state. Outputsmaybe paralleled for higher current capability.Five versions are available to simplify interfacing to standard logic families : the ULN2801Ais designed for generalpurpose applicationswith a current limit resistor ; theULN2802Ahas a 10.5kW inputresistor and zenerfor 14-25VPMOS; theULN2803Ahas a 2.7kW input resistor for 5V TTL and CMOS ; the ULN2804A has a 10.5kW input resistor for 6-15V CMOS and the ULN2805A is designed to sink a minimum of 350mA for standard and Schottky TTL where higher output current is required. All types are supplied in a 18-lead plastic DIP with a copperleadfromandfeaturethe convenientinputopposite-
outputpinout to simplify board layout.
MAX232
The MAX232 from Maxim was the first IC which in one package conntains the necessary drivers and receivers to adapt the RS-232 signal voltage levels to TTL logic. It became popular, because it just needs one voltage (+5V or +3.3V) and generates the necessary RS-232 voltage levels.

SOFTWARE REQUIREMENTS:-
1.Keil µVision3 IDE
The µVision3 IDE is a Windows-based software development platform that combines a robust editor, project manager, and make facility. µVision3 integrates all tools including the C compiler, macro assembler, linker/locator, and HEX file generator. µVision3 helps expedite the development process of your embedded applications by providing the following:
Full-featured source code editor,
Device database for configuring the development tool setting,
Project manager for creating and maintaining your projects,
Integrated make facility for assembling, compiling, and linking your embedded applications,
Dialogs for all development tool settings,
True integrated source-level Debugger with high-speed CPU and peripheral simulator,
Advanced GDI interface for software debugging in the target hardware and for connection to Keil ULINK,
Flash programming utility for downloading the application program into Flash ROM,
Links to development tools manuals, device datasheets & user’s guides
The µVision3 IDE and Debugger is the central part of the Keil development toolchain. µVision3 offers a Build Mode and a Debug Mode.
In the µVision3 Build Mode you maintain the project files and generate the application.
In the µVision3 Debug Mode you verify your program either with a powerful CPU and peripheral simulator or with the Keil ULINK USB-JTAG Adapter (or other AGDI drivers) that connect the debugger to the target system. The ULINK allows you also to download your application into Flash ROM of your target system.
Creating New Project-
To create new project open µVision3 IDE.It will open IDE window.

To create a new project file select from the µVision3 menu Project – New Project….
This opens a standard Windows dialog that asks you for the new project file name. You should you use a separate folder for each project. You can simply use the icon Create New Folder in this dialog to get a new empty folder Just type folder name e.g.PROJECT and open that folder. When you create a new project µVision3 asks you to select a CPU for your project. The Select Device dialog box shows the µVision3 device database. Just select the microcontroller you use. For the example in this project we are using the Philips LPC2129 controller. This selection sets necessary tool options for the LPC2129 device and simplifies in this way the tool configuration.
A embedded program requires CPU initialization code that needs to match the configuration of your hardware design. This Startup Code depends also on the toolchain that you are using. Since you might need to modify that file to match your target hardware, the file should be copied to your project folder.

For most devices, µVision3 asks you to copy the CPU specific Startup Code to your project. This is required on almost all projects (exceptions are library projects and add-on projects). The Startup Code performs configuration of the microcontroller device and initialization of the compiler run-time system. Therefore you should answer with YES to this question.

Now the IDE will allow to edit new workspace.
At the left side of IDE we will find project workspace with Source group 1 with startups file.
To create file with .c extension click File option
Now click on New option, IDE will open new text file
To save this file choose Save option and also select .c option from save as type the file in the desired folder e.g. PROJECT
Now editing window will allow to write the program. After writing again save the file.
Created file is still not the part of project so add the same file to project. For that just right click on Source Group 1 and choose the Add Files to Group ‘Source Group 1’
Repeat the file creation & add process to .h files if they are present. Here we have add delay.h,data.h and command.h.

Now to build the project select Build option. After building the project output window will display the output of project.

For debugging the project step by step we have to add break point. To add breakpoint just click right button of mouse at the point where you want to add breakpoint and select Insert/Remove Breakpoint

Here we are inserting breakpoint at main() function. So we can find that there is red dot at the main() function.

To start debugging select Debug option as shown below.

Here we are using evalution version of IDE so one new window will get appear. Just click OK.

To run the program select Run option. Also for step by step execution select Step into, Step over options.

To close the project select Close Project option.

Also we can observe different peripheral register’s output at Peripheral option.

2.Philips Flash Utility
Philips Flash utility is used to burn hex file into flash memory of microcontroller Open the flash utility from program menu (It should be installed previously).Connect one end of the serial cable to COM port of host computer and other end to UART of the development board. Switch on the power supply to board.

Select appropriate COM port,Baud rate,Device,Crystal frequency and folder name which is having hex file.Push Program to Flash button on your board.Also press Reset button on board.

Then select Upload to Flash option.You will find blue progressing strip at the bottom of utility tool.

After getting File Upload Successfully Completed again reset the board and observe the output.

OVERVIEW OF CAN PROTOCOL
The Controller Area Network (CAN) Protocol was developed by Robert Bosch for Automotive Networking in 1982. Over the last 22 Years CAN has become a standard for Automotive Networking and has had a wide uptake in non-automotive systems where it is required to network together a few embedded nodes. CAN has many attractive features for the embedded developer. It is a low-cost, easy-to-implement, peer to peer network with powerful error checking and a high transmission rate of up to 1 Mbit/sec. Each CAN packet is quite short and may hold a maximum of eight bytes of data. This makes CAN suitable for small embedded networks which have to reliably transfer small amounts of critical data between nodes.

CAN is a multi - master bus with an open, linear structure with one logic bus line. The number of nodes is not limited by the protocol. In CAN protocol, two versions are available. They are version 2.0A CAN and version 2.0B CAN. Version 2.0A is original CAN specifications specify an 11 bit identifier which allows 2^11(=2048) different message identifiers and is known as standard CAN. Version 2.0B CAN contain 29 bit identifiers which allows 2^29 (over 536 million) message identifiers. The CAN protocol handle bus accesses according to the concept called “Carrier Sense Multiple Access with arbitration on message priority ". This arbitration Concept avoids collisions of messages whose transmission was started by more than one node simultaneously and makes sure the most important message is sent first without time loss. If two or more bus nodes start their transmission at the same time after having found the bus to be idle, collision of the messages is avoided by bitwise arbitration. Each node sends the bits of its message identifier and monitors the bus level.

CAN has the following properties
Message based protocol(Prioritization of messages).
Maximum speed 1Mb/sec
Two types of frame format :-Standard Frame Format(11 bit ID)
Extended Frame Format(29 bit ID)
Guarantee of latency times.
Configuration flexibility.
Multicast reception with time synchronization.
System wide data consistency.
Error detection and error signaling.
Recessive ‘1’ and Dominant ‘0’
In the ISO seven layer model the CAN protocol covers the layer two ‘data link layer’, i.e. forming the message packet, error containment, acknowledgement and arbitration and physical layer. The most common physical layer is a twisted pair and standard line drivers are available. The other layers in the IOS model are effectively empty and the application code directly addresses the registers of the CAN peripheral. A typical CAN node is shown below. Each node consists of a microcontroller and a separate CAN controller.Each can controller is connected to CAN transceiver with TX & RX lines.This transceiver is connected to CAN bus with CAN_H and CAN_L lines.Each can controller is having acceptance filter which allow or restrict the message intering into can node.

One important feature about the CAN node design is that the CAN controller has separate transmit and receive paths to and from the physical layer device. So, as the node is writing on to the bus it is also listening back at the same time. This is the basis of the message arbitration and for some of the error detection. The two logic levels are written onto the twisted pair as follows, a logic one is represented by bus idle with both wires held half way between 0 and Vcc. A logic Zero is represented by both wires being differentially driven.
Message transfer is manifested and controlled by four different frame types :
A DATA FRAME carries data from a transmitter to the receivers.
A REMOTE FRAME is transmitted by a bus unit to request the transmission of the DATA FRAME with the same IDENTIFIER.
An ERROR FRAME is transmitted by any unit on detecting a bus error.
An OVERLOAD FRAME is used to provide for an extra delay between the preceding and the succeeding DATA or REMOTE FRAMEs.
DATA FRAME and REMOTE FRAME can be used both in Standard frame format and extended frame format. They are separated from preceding frames by an INTERFRAME SPACE.

DATA FRAME:-
A DATA FRAME is composed of seven different bit fields:
START OF FRAME,ARBITRATION FIELD,CONTROL FIELD,DATA FIELD,CRC FIELD,ACK FIELD and END OF FRAME.
A "Data Frame" is generated by a CAN node when the node wishes to transmit data. The Standard CAN Data Frame is shown above. The frame begins with a dominant Start of Frame bit for hard synchronization of all nodes.
The Start of Frame bit is followed by the Arbitration Field consisting of 12 bits.
The 11-bit Identifier, which reflects the contents and priority of the message, and the Remote Transmission Request bit. The Remote transmission request bit is used to distinguish a Data Frame (RTR = dominant) from a Remote Frame (RTR = recessive).
The next field is the Control Field, consisting of 6 bits. The first bit of this field is called the IDE bit (Identifier Extension) and is at dominant state to specify that the frame is a Standard Frame. The following bit is reserved and defined as a dominant bit. The remaining 4 bits of the Control Field are the Data Length Code (DLC) and specify the number of bytes of data contained in the message (0 - 8 bytes).
The data being sent follows in the Data Field which is of the length defined by the DLC above (0, 8, 16, 56 or 64 bits).
The Cyclic Redundancy Field (CRC field) follows and is used to detect possible transmission errors. The CRC Field consists of a 15 bit CRC sequence, completed by the recessive CRC Delimiter bit.
The next field is the Acknowledge Field. During the ACK Slot bit the transmitting node sends out a recessive bit. Any node that has received an error free frame acknowledges the correct reception of the frame by sending back a dominant bit (regardless of whether the node is configured to accept that specific message or not). From this it can be seen that CAN belongs to the "in-bit-response" group of protocols. The recessive Acknowledge Delimiter completes the Acknowledge Slot and may not be overwritten by a dominant bit. Seven recessive bits (End of Frame) end the Data Frame.

Remote Frame:-
Generally data transmission is performed on an autonomous basis with the data source node (e.g. a sensor) sending out a Data Frame. It is also possible, however, for a destination node to request the data from the source by sending a Remote Frame.
The differences between a Data Frame and a Remote Frame are the RTR-bit is transmitted as a dominant bit in the Data Frame and secondly in the Remote Frame there is no Data Field. In the very unlikely event of a Data Frame and a Remote Frame with the same identifier being transmitted at the same time. The Data Frame wins arbitration due to the dominant RTR bit following the identifier. In this way, the node that transmitted the Remote Frame receives the desired data immediately.

Error Frame:-
An Error Frame is generated by any node that detects a bus error. The Error Frame consists of 2 fields, an Error Flag field followed by an Error Delimiter field. The Error Delimiter consists of 8 recessive bits and allows the bus nodes to restart bus communications cleanly after an error. There are, however, two forms of Error Flag fields. The form of the Error Flag field depends on the “error status” of the node that detects the error.

If an “error-active” node detects a bus error then the node interrupts transmission of the current message by generating an “active error flag”. The “active error flag” is composed of six consecutive dominant bits. This bit sequence actively violates the bit stuffing rule. All other stations recognize the resulting bit stuffing error and in turn generate Error Frames themselves. The Error Flag field therefore consists of between six and twelve consecutive dominant bits (generated by one or more nodes). The Error Delimiter field completes the Error Frame. After completion of the Error Frame bus activity returns to normal and the interrupted node attempts to resend the aborted message.

If an “error passive” node detects a bus error then the node transmits an “passive Error Flag” followed, again, by the Error Delimiter field. The “passive Error Flag” consists of six consecutive recessive bits, and therefore the Error Frame (for an “error passive” node) consists of 14 recessive bits (i.e. no dominant bits). From this it follows that, unless the bus error is detected by the node that is actually transmitting (i.e. is the bus master), the transmission of an Error Frame by an “error passive” node will not affect any other node on the network. If the bus master node generates an “error passive flag” then this may cause other nodes to generate error frames due to the resulting bit stuffing violation.

Overload Frame:-
An Overload Frame has the same format as an “active” Error Frame. An Overload Frame, however can only be generated during Inter frame Space. This is the way then an Overload Frame can be differentiated from an Error Frame (an Error Frame is sent during the transmission of a message). The Overload Frame consists of 2 fields, an Overload Flag followed by an Overload Delimiter. The Overload Flag consists of six dominant bits followed by Overload Flags generated by other nodes (as for “active error flag”, again giving a maximum of twelve dominant bits). The Overload Delimiter consists of eight recessive bits. An Overload Frame can be generated by a node if due to internal conditions the node is not yet able to start reception of the next message. A node may generate a maximum of 2 sequential Overload Frames to delay the start of the next message.

Inter frame Space:-
Inter frame Space separates a preceding frame (of whatever type) from a following Data or Remote Frame. Inter frame space is composed of at least 3 recessive bits, these bits are termed the Intermission. This time is provided to allow nodes time for internal processing before the start of the next message frame. After the Intermission, for error active CAN nodes the bus line remains in the recessive state (Bus Idle) until the next transmission starts.

The Inter frame Space has a slightly different format for error passive CAN nodes which were the transmitter of the previous message. In this case, these nodes have to wait another eight recessive bits called Suspend Transmission before the bus turns into bus idle for them after Intermission and they are allowed to send again. Due to this mechanism error active nodes have the chance to transmit their messages before the error passive nodes are allowed to start a transmission. Multi-master bus with an open, linear structure with one logic bus line. It supports multicasting. The bus access is handled via the advanced serial communications carrier sense multiple Access/collision detection with non destructive arbitration.

Temperature sensor:
LM35DZ is a temperature sensor, whose output voltage is linearly proportional to centigrade temperature. The LM35DZ calibrated directly in deg Celsius and is rated to operate over a 0 to +100degree C temperature range.It outputs 10 mV for each degree of centigrade temperature.

ADC 0808:
The ADC0808 is a monolithic CMOS device with an 8-bit analog-to-digital converter, which translate the analog signals to digital numbers so that the microcontroller can read them. It consists of 8-channel multiplexer and microprocessor compatible control logic.

Phototransistor:
The presence of an object is sensed by the silicon phototransistor SD3443 and control signal is given to the microcontroller. The phototransistor generates an output response based on the light.

Visual indicator:
It consists of a driver along with LED’s which indicates status of the device. A driver ULN2803 consists of Darlington circuit inside it so as to drive the LED’s.

Visual display:
Liquid crystal display (LCD) is used as visual display which display the status messages of the device.

Keyboard:
It is most widely used input device. They are organized in a matrix of rows and columns.

Tuesday, December 28, 2010

Surya Software Solutions in Bangalore city

Introduction of Surya Software Solutions in Bangalore
PEER-TO-PEER (P2P) technologies link social networks into cooperative ventures that share information (audio, video, and graphic files), computer resource (computing cycles, hard disk space, and network bandwidth), and communication and collaboration (instant messaging). Members of a P2P community exchange information or other resources directly with each other, with very little or no use of a centralized or dedicated server. Many P2P services exist today, such as file sharing services (Gnutella and Free net), grid computing services (Popular Power and Distributed Net), instant messaging service (AOL, Yahoo!, and MSN), and online collaboration service (Groove Networks).

Among various P2P applications, file sharing is probably the most popular. P2P file sharing applications accounted for five of the top ten downloads from the download.com web site in the last week of June 2002, together constituting 4.5 million downloads. In contrast to the traditional web server-based content delivery paradigm, this emerging “bottom-up” mode of information distribution, leveraging the resources on the peer nodes, is considered to be superior. P2P file sharing networks have attracted many users and much press attention, along with the ire from media firms who feel threatened by the illegal exchange of digital music and movie files.

P2P technologies have many operational characteristics that make them appealing. First, they rely on peer nodes, not the central servers, to deliver content and therefore are more scalable. Second, on a large P2P network, it is likely for any node to find another node with the desired content that is “close,” so transmission delay may be lowered as well. However, there are drawbacks inherent in the P2P networks, due to the same decentralized structure. First, because each peer node can modify its content freely, it may be costly to find desired contents. Second, since P2P users obtain contents from each other, the availability of these contents completely depends on the peer nodes being logged on. So, content reliability be an issue.

In many ways, the size of a P2P network can impact many of these factors. A large network could alleviate the content reliability problem because the probability of satisfying requested content becomes higher if more peer nodes participate in file sharing activities. It could also reduce transmission delay, on average, as the closest service node will become closer as the network contains more nodes with the same content replica. P2P technologies utilize aggregate bandwidth from edge nodes for content transmission to avoid congestion at dedicated servers. Therefore, the effective bandwidth is scalable with respect to the number of active users. On the other hand, on a large-scale P2P network, the number of queries may cause congestion at directory server (if any) as well as network traffic congestion (one query may be forwarded multiple times before a suitable service node is found), due to limited capacity and network bandwidth. Therefore, determining the “right” network scale is very important for P2P operations.

Existing System
In the existing system, when each peer node wants to download a file, it broadcasts the request to all neighboring nodes. This leads to congestion in network.
The peer node will not be aware of nearest peer which will be having the requested file. Hence it may download file from a node away from it. This leads to delay in download.
If the peer node gets a reply as more than one node for the requesting file, then there will be duplication of file.

Proposed System
In the proposed system, the nearer peer nodes are grouped together and a node called as super node will be having the information of nodes in the group.
When a peer node requests for file, the request is given to super node, the super node checks the file in local group. If it is available, the names of nodes and delay will be given to requesting node.
If the file is not found in local list, the super node of this group gives request to super node of other groups and gets the reply back and sends it to requesting node.
The requesting node can select a node which has lower delay which means that is the nearest node, and download the file from it.
This technique reduces the delay for downloading file.
Since request is sent to only super nodes, congestion in network can be reduced.

Modules
Modules are consists of fifteen modules. These modules are as listed below.
Domain1
Supernode1
nodeA
nodeB
nodeC
nodeD
Domain2
supernode2
nodeE
nodeF
nodeG
nodeH
Domain3
supernode3
nodeI
nodeJ
nodeK
nodeL

A super node consists of the list of all available files in its local group. Every time a node downloads a file, the list in super node will be updated. When a peer node requests for a file, the request is given to the super node of the group to which the requesting node belongs. The super node checks in its local list for the requesting file. If any of the nodes contains the requesting file, the node name and its delay is sent to the requesting node. If more than one node contains same file, the requesting node can select the node with lower delay to download the file.

If the requested file is not found in local group, the super node sends this request to the super nodes of other groups and waits for response. When the response is given back, the super node sends it to requesting node. The requesting node can select any of the nodes listed in it to download the file.

Feasibility Study
The development of a computer-based system is more likely to be plugged by the scarcity of resourced bad difficulty delivery data. A feasibility study is not warranted system in which economic justification is obvious, technical risk, low, few legal problems are expected, and no reasonable alternative exits.
Three essential considerations are involved in the feasibility analysis:
Economic feasibility
Technical feasibility
Functional or behavior feasibility

Economic feasibility
Economical analysis is the most frequently used method for evaluating the effective of candidate system more commonly know as cost/benefit analysis, the procedure is to determine the benefits and saving that are expected from a candidate system and compare them with the costs, if the benefits outwit the cost then the system is successfully implemented. Otherwise further justifications of the alternative systems are proposed. The investment to develop this system is minimum. Hence this system is economically feasible.

Technical Feasibility
Technical feasibility centers on existing computer system and to what extent is supported the proposed. for e.g. if the current computer is operating at 80% capacity then running another application could overload the system or require additional hardware. So this project is technically variable without requiring any additional hardware or software.

Functional Feasibility
People are inherently resistant to change. Computers have been known to facility changes. An estimate should be made to know the reaction of user is likely to have towards the new system.
Since this system is ready to use in the organization, this system is operationally feasible. as this system is technically, economically and functionally feasible the system is judged feasible. Viewing the corrected information, recommendation, justification and conclusions are made on the developed system.

Hardware and Software Requirements
PROCESSOR PENTIUM IV 2.6 GHz
RAM 512 MB
HARD DISK 20 GB

Software Requirement
FRONT END, SWING
TOOLS USED JDK1.5, JCREATOR
OPERATING SYSTEM WINDOWS XP
BACKEND MS-ACCESS

Software Tools Description
Brief on java
The Java Programming Language is a pure object oriented language & is platform independent.
It has the following features:
Simple
Object-oriented
Distributed
Interpreted
Robust
Secure
Architecture-neutral
Portable
High-performance
Multithreaded
Dynamic

Java is also unusual in that each Java program is both compiled and interpreted. With a compiler, you translate a Java program into an intermediate language called Java byte codes the platform-independent codes interpreted by the Java interpreter. With an interpreter, each Java byte code instruction is parsed and run on the computer. Compilation happens just once; interpretation occurs each time the program is executed.

Java byte codes can be considered as the machine code instructions for the Java Virtual Machine (Java VM). Every Java interpreter, whether it's a Java development tool or a Web browser that can run Java applets, is an implementation of the Java VM. The Java VM can also be implemented in hardware.

Java byte codes help make "write once, run anywhere" possible. The Java program can be compiled into byte codes on any platform that has a Java compiler. The byte codes can then be run on any implementation of the Java VM. For example, the same Java program can run on Windows NT, Solaris, and Macintosh.

Java Platform
A platform is the hardware or software environment in which a program runs. The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other, hardware-based platforms. Most other platforms are described as a combination of hardware and operating system.

The Java platform has two components:
The Java Virtual Machine (Java VM)
The Java Application Programming Interface (Java API)
The Java API is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface (GUI) widgets. The Java API is grouped into libraries (packages) of related components.

The following figure depicts a Java program, such as an application or applet, that's running on the Java platform. As the figure shows, the Java API and Virtual Machine insulates the Java program from hardware dependencies.

As a platform-independent environment, Java can be a bit slower than native code. However, smart compilers, well-tuned interpreters, and just-in-time byte code compilers can bring Java's performance close to that of native code without threatening portability.

How does the Java API support all of these kinds of programs?
With packages of software components that provide a wide range of functionality. The core API is the API included in every full implementation of the Java platform. The core API gives you the following features:
The Essentials: Objects, strings, threads, numbers, input and output, data structures, system properties, date and time, and so on.
Applets: The set of conventions used by Java applets.
Networking: URLs, TCP and UDP sockets, and IP addresses.
Internationalization: Help for writing programs that can be localized for users worldwide. Programs can automatically adapt to specific locales and be displayed in the appropriate language.
Security: Both low-level and high-level, including electronic signatures, public/private key management, access control, and certificates.
Software components: Known as JavaBeans, can plug into existing component architectures such as Microsoft's OLE/COM/Active-X architecture, OpenDoc, and Netscape's Live Connect.
Object serialization: Allows lightweight persistence and communication via Remote Method Invocation (RMI).
Java Database Connectivity (JDBC): Provides uniform access to a wide range of relational databases.

Brief note on swing
Swing is a set of classes that provides more powerful and flexible components than are possible with the AWT.In addition to the familiar components, such as buttons, check boxes, and labels, swing supplies several exciting additions, including tabbed panes, scroll panes, trees, and tables. Even familiar components such as buttons have more capabilities in swing.

For example, a button may have both an image and a text string associated with it. Also, Image can be changed as the state of the button changes Swing components can provide a pluggable look and feel .The swing approach to GUI Components might replace the AWT classes sometime in the future.

SYSTEM DESIGN
System Design Based on the user requirements and the detailed analysis of a new system, the new system must be designed. This is the phase of system designing. It is a most crucial phase in the development of a system. Normally, the design proceeds in two stages:

Preliminary or general design
Structure or detailed design
Preliminary or general design: In the preliminary or general design, the features of the new system are specified. The costs of implementing these features and the benefits to be derived are estimated. If the project is still considered to be feasible, we move to the detailed design stage.

Structure or Detailed design: In the detailed design stage, computer oriented work begins in earnest. At this stage, the design of the system becomes more structured. Structure design is a blue print of a computer system solution to a given problem having the same components and inter-relationship among the same components as the original problem. Input, output and processing specifications are drawn up in detail. In the design stage, the programming language and the platform in which the new system will run are also decided.

There are several tools and techniques used for designing. These tools and techniques are:
Flowchart
Data flow diagram (DFDs)
Data dictionary
Structured English
Decision table
Decision tree

The main form of super node, it contains the four nodes.
Node A
Node B
Node C
Node D

This is the form of Node A .It contains some of the important buttons i.e.
Refresh list
Download File
Search Server
Search File
Exit

Node A List gives list of all files in Node A.
Node B List gives list of all files in Node B.
Node C List gives list of all files in Node C.
Node D List gives list of all files in Node D.
Node E List gives list of all files in Node A.
Node F List gives list of all files in Node B.
Node G List gives list of all files in Node C.
Node H List gives list of all files in Node D.
Node I List gives list of all files in Node A.
Node J List gives list of all files in Node B.
Node K List gives list of all files in Node C.
Node L List gives list of all files in Node D.

In this form the function of refresh list button is shown.
When we click on refresh list button it gives all the file names.
When we select a file from a refresh list button, it gives the allocation of that file along with path of node.
After the selection of the file, and giving the path of the node the next step is the download the file.
When we click on a download file, if the selected file name is having means it gives the message shown above.
This form will search the particular file and will get all the information regarding this file.
This form is used to download the particular file from the particular node.
This form shows the message when download is completed.
This form shows whether file is already exist or want to overwrite it.
This form shows the message when download is cancelled.

CODING
Pseudo code for super node:
if(req.equals("FILEINFO"))
{
Int i=0;
While (st.hasMoreTokens ())
{
Files[i]=st.nextToken();
i++;
}
if (node. equals("A"))
{
g1supernode.listA.setListData (files);
}
else
if (node. equals ("B"))
{
g1supernode.listB.setListData (files);
}
else
if(node. equals("C"))
{
g1supernode.listC.setListData (files);
}
else
if(node. equals("D"))
{
g1supernode.listD.setListData (files);
}
Prepared Statement PST=con.prepareStatement ("insert into delay values (?)");
pst.setString (1, node);
pst.setString (2, Double.toString ((double) ttkn));
pst.executeUpdate ();
}
else
If (req.equals ("REFRESH"))
{
Int j=get files ();
String result=cont [0];
For (int i=1; iresult+="^"+cont[i];
BufferedOutputStream
Out=new BufferedOutputStream (soc.getOutputStream ());
Out. Write (result.getBytes ());
Out. Flush ();
Out. Close ();
br.close ();
}
Else
If (req.equals ("SEARCH"))
{
System.out.println ("checking file");
Check file (node);
System.out.println ("checking done");
If (indexes==0)
{
Sendremotereq ();
}
String result=node delays [0];
For (int i=1; iIf (node delays[i]! =null)
Result+="^"+node delays[i];
System.out.println (result);
BufferedOutputStream
Out=new BufferedOutputStream (soc.getOutputStream ());
Out. Write (result.getBytes ());
Out. Flush ();
Out. Close ();
br.close ();
}
Else
If (req.equals ("SEARCHREMOTE"))
{
System.out.println ("checking file");
Check file (node);
System.out.println ("checking done");
String result="null";
If (node delays [0]! =null)
Result=node delays [0];
If (node delays [1]!=null)
For (int i=1;iIf (node delays[i]!=null)
Result+="^"+node delays[i];
System.out.println (result);
BufferedOutputStream
out=new BufferedOutputStream(soc.getOutputStream());
Out. Write (result.getBytes ());
Out. Flush ();
out. Close ();
br.close ();
System.out.println ("reply sent");

Testing Introduction
The purpose of testing is to discover errors. Testing is the process of trying to discover every conceivable fault or weakness in a work product. It provides a way to check the functionality of components, sub assemblies, assemblies and/or a finished product It is the process of exercising software with the intent of ensuring that the Software system meets its requirements and user expectations and does not fail in an unacceptable manner. There are various types of test. Each test type addresses a specific testing requirement.

Unit Testing
Software testing is critical element of software quality assurance and represents ultimate review of specification, design and coding. Test case design focuses on a set of technique for the creation of test cases that meet overall testing objectives. Planning and testing of a programming system involve formulating a set of test cases, which are similar to the real data that the system is intended to manipulate. Test castes consist of input specifications, a description of the system functions exercised by the input and a statement of the extended output. Through testing involves producing cases to ensure that the program responds, as expected, to both valid and invalid inputs, that the program perform to specification and that it does not corrupt other programs or data in the system.

In principle, testing of a program must be extensive. Every statement in the program should be exercised and every possible path combination through the program should be executed at least once. Thus, it is necessary to select a subset of the possible test cases and conjecture that this subset will adequately test the program.

Integration Testing
It involves the testing of the order in which the different modules are combined to produce the functioning whole. Integration testing generally throws light on the order of arrangement of units, modules, systems, subsystems and the entire product.
The proposed system, “ the client server architecture “ inherits a bottom-up integration strategy in which all the subsystem and the modules involved in it are independently tested and integrated to from the entire system, which is then tested as a whole.
For the testing of this system it was required that the software be tested for performing its basic functions that are as follows

Start the server first and then client, then there is no error. Start the server and client, and then stop the server and a send a message from client. The error is no server connection. Start client first, then the error is client is not connected to the server.

Validation Testing
Validation testing is used to validate the correct user name and password and card number and pin number and if person gives the invalid username and password, at that time the card validation does not execute.

Performance Testing
Performance testing determines the amount of execution theme spent in various parts of the unit, program throughput, response time and device utilization by the program unit.

IMPLEMENTATION
Implementation is the stage in the project where the theoretical design is turned into a working system and is giving confidence on the new system for the users, which it will work efficiently and effectively. It involves careful planning, investigation of the current System and its constraints on implementation, design of methods to achieve the change over, an evaluation, of change over methods. Apart from planning major task of preparing the implementation are education and training of users. The more complex system being implemented, the more involved will be the system analysis and the design effort required just for implementation.

An implementation co-ordination committee based on policies of individual organization has been appointed. The implementation process begins with preparing a plan for the implementation of the system. According to this plan, the activities are to be carried out, discussions made regarding the equipment and resources and the additional equipment has to be acquired to implement the new system.

Implementation is the final and important phase, the most critical stage in achieving a successful new system and in giving the users confidence. That the new system will work be effective .The system can be implemented only after through testing is done and if it found to working according to the specification.

Self Inflecting Tyers Details

Self Inflecting Tyers
Currently, lots of consumer vehicles are equipped with pressure-monitoring systems, but there's no way for the driver to do anything about it without an external air source. There are lots of self-inflating-tire systems on the market, but most of them are only available for commercial and military applications. In this article, we're going to learn about some of the tire-inflation systems out there and see when there might be one on the market for us regular people who drive regular vehicles.

The system is simple but very clever, and involves fitting a tube chamber to the tyre wall. When the car is moving, the tube acts as what is known as a peristaltic pump and pushes air into the tyre. When the tyre reaches its desired pressure, a valve prevents any more air being pumped in.

This means that the tyre pressure - which we should all check regularly, though most of us don't - no longer has to be checked at all. If air is lost, the SIT system provides more, so the tyre is always at its correct pressure, which in turn means increased tyre life and better fuel economy.
About 80 percent of the vehicles on the road are driving with two or more tyres under inflated. Tyres lose air through normal driving (especially after hitting pot holes or curbs), permeation and seasonal changes in temperature. They can lose one or two psi (pounds per square inch) each month in the winter and even more in the summer. And, you can't tell if they're properly inflated just by looking at them. You have to use a tire pressure gauge. Not only is under inflation bad for your tyres, but it's also bad for your fuel mileage, efficiency affects the way your car handles and it may lead to accidents which causes vehicle damage, some times it may take life of the people. Hence as and when required the tyres has to be inflated,

As we move on to remote areas such as war fields, forest areas, ghat sections, small villages etc, air compressors from which tyres are generally inflated may not be available so it affects the journey. Hence self inflating tyres are helpful in such conditions.

Self inflating tyres indirectly increase mileage, efficiency. It reduces accidents, vehicle damage and save life. Also it allows a vehicle to adjust to the current terrain for ideal performance and safety in those conditions.

Tyres:
Tire, device made of rubber and fabric and attached to the outer rim of a vehicle wheel. Solid rubber tyres were in limited use before 1850; they are still used in some special applications, e.g., for industrial trucks in factories. The pneumatic rubber tire uses rubber and enclosed air to reduce vibration and improve traction. It was first patented by Robert W. Thomson, a Scottish civil engineer; however, it was not a commercial success until the Scottish inventor John Dunlop patented a pneumatic bicycle tire in 1888 and started a tire company.

The main parts of a modern pneumatic tire are its body, tread and sidewalls, and beads. The body is made of layers of rubberized fabric, called plies that give the tire strength and flexibility. The fabric is made of rayon, nylon, or polyester cord. Covering the plies are sidewalls and tread of chemically treated rubber. The sidewalls form the outer walls of the tire. The tread is a thick hoop of rubber that comes into direct contact with road surfaces. To improve its traction, the tread has patterns of deep and shallow grooves and channels, depending on the intended use, and also may have protruding metal studs for icy or snowy conditions. High-performance tyres have treads optimized for warm weather, and winter (or snow) tyres are optimized for cold and snow; all-season tyres are general-purpose tyres. Imbedded in the two inner edges of the tire are steel hoops, called beads that hold the tire to the wheel rim.

In the older type of pneumatic tire, air is sealed in an inner tube of butyl rubber beneath the body. In a tubeless tire the seal between the beads and the wheel rim is airtight and the underside of the tire body is coated with butyl rubber to keep the air from escaping. A puncture in a tire leads to loss of air and a so-called flat tire. Self-sealing tyres are lined with a rubber or rubber like compound that when the tire is punctured by a slim object, such as a nail, coats the object and seals the hole to prevent air from escaping. A recent innovation is the run-flat tire. In the most common version, the sidewall is reinforced so that, in case of a large puncture and a total loss of air pressure, the tire is self-supporting; the vehicle can continue operating as if there were no tire problem for up to 125 mi (200 km). An innovative bead design keeps the tire securely on the rim. Such tyres are often linked to a pressure monitoring system that alerts the vehicle operator to the puncture.

The most important feature of tire design is the arrangement of the cord, or ply. The three main types are bias ply, radial-ply belted, and bias-ply belted. In a bias-ply tire the cords in a single ply run diagonally from the beads on one inner rim to the beads on the other. However, the orientation of the cords is reversed from ply to ply so that the cords crisscross each other. In a radial-ply (also called radial-ply belted) tire the cords in every ply run perpendicularly from the beads on one inner rim to the beads on the other, and there is a rigid belt, usually of fine steel wire, between the tread and the plies. This construction provides longer tread wear but a rougher ride. In a bias-ply belted tire the cords in the plies are aligned as in a bias-ply tire, but a rigid belt, usually of synthetic fabric, is added. This tire has longer tread life than a bias-ply tire and provides a more comfortable ride than does a radial-ply tire.

Pneumatic tyres are made in a variety of sizes to accommodate a variety of vehicles. The size is usually expressed by a standardized code of the form Axxx/yyBzz, where A designates the type of vehicle the tire is made for, such as P (passenger) or LT (light truck); xxx denotes the tire width in millimeters; yy denotes the aspect ratio (the ratio of the tire's height to its width); B is an R if the tire is of radial-ply construction; and zz is the wheel-rim diameter in inches. In addition, an alphabetic speed rating and a numeric tread-wear rating are embossed on the outer wall of the tire. Most tyres are of the balloon type, with a large cross section and thin sidewalls. The large size permits a low inflation pressure, and the increased tread area gives better traction and braking qualities. Excessive tire wear is caused by incorrect inflation, wheel misalignment, sudden braking, and high speeds.

Currently, lots of consumer vehicles are equipped with pressure-monitoring systems, but there's no way for the driver to do anything about it without an external air source. There are lots of self-inflating-tire systems on the market, but most of them are only available for commercial and military applications. In this article, we're going to learn about some of the tire-inflation systems out there and see when there might be one on the market for us regular people who drive regular vehicles.

When tyres are under inflated, the tread wears more quickly. According to Goodyear, this equates to 15 percent fewer miles you can drive on them for every 20 percent that they're under inflated. Under inflated tyres also overheat more quickly than properly inflated tyres, which cause more tire damage. The figure below indicates areas of under inflated, properly inflated and over inflated tyres.

Because tyres are flexible, they flatten at the bottom when they roll. This contact patch rebounds to its original shape once it is no longer in contact with the ground. This rebound creates a wave of motion along with some friction. When there is less air in the tire, that wave is larger and the friction created is greater -- and friction creates heat. If enough heat is generated, the rubber that holds the tire's cords together begin to melt and the tire fails.
Because of the extra resistance an under inflated tire has when it rolls, your car's engine has to work harder. AAA statistics show that tyres that are under inflated by as little as 2 psi reduce fuel efficiency by 10 percent. Over a year of driving, that can amount to several hundred dollars in extra gas purchases.

Difference Between Run Flat Tyres and Self Inflated Tyres:
Our tyres aren't what carry the weight of our cars and trucks -- it's the air inside the tyres. Run-flat tyres use a strong sidewall material that supports the car even if there is no air in one or more of the tyres. This makes it possible to get where you're going even if a tire is punctured and deflated. Run-flat tyres are constructed using alternating layers of heat-resistant cord and rubber and usually crescent-shaped wedges of weight-supporting material, strengthening the sidewalls to prevent them from folding over when there is no air pressure.
Self-inflating tyres, on the other hand, are designed to constantly maintain tire pressure at the proper level. Self-inflating systems are designed more for slow leaks and for optimizing performance and safety than for keeping a vehicle moving on a tire that will no longer hold air.

Self Inflating System:
The system is simple but very clever, and involves fitting a tube chamber to the tyre wall. When the car is moving, the tube acts as what is known as a peristaltic pump and pushes air into the tyre. When the tyre reaches its desired pressure, a valve prevents any more air being pumped in.

This means that the tyre pressure - which we should all check regularly, though most of us don't - no longer has to be checked at all. If air is lost, the SIT system provides more, so the tyre is always at its correct pressure, which in turn means increased tyre life and better fuel economy.

Objective of Self Inflating System:
Detect when the air pressure in a particular tire has dropped - This means they have to constantly (or intermittently) monitor the air pressure in each tire. The problem has to be intimated to the driver. Inflate that tire back to the proper level - This means there has to be an air supply as well as a check valve that opens only when needed.

Parts of Self Inflating System:
While the available tire inflation systems vary in design, they share some common elements.
They all use some type of valve to isolate individual tyres to prevent airflow from all tyres when one is being checked or inflated.

They have a method for sensing the tire pressures. This is addressed in most cases with central sensors that relay information to an electronic control unit and then to the driver.

They have an air source, which is usually an existing onboard source such as braking or pneumatic systems. When using an existing system, however, they have to ensure that they don't jeopardize its original function. For this reason, there are safety checks to ensure that there is enough air pressure for the source's primary use before pulling air for tire inflation.

There has to be a way to get the air from the air source to the tyres, which is usually through the axle. Systems either use a sealed-hub axle with a hose from the hub to the tire valve or else they run tubes through the axle with the axle acting as a conduit.

There has to be a pressure relief vent to vent air from the tire without risking damage to the hub or rear-axle seals.

Type of Self Inflating System:
We have different types of self inflating system. They are
Central tire inflating system
Airgo system
Tire Maintenance System (TMS)
Meritor Tire Inflation System (MTIS)

Central Tyre Inflation System (CTIS):
History of Central Tyre Inflating System:

As early as 1984, GM offered the CTIS on CUCV Blazers and pickups. CUCV stands for Commercial Utility Cargo Vehicle, and these trucks have been used by the U.S. military since the mid-1980s. They are essentially full-size Chevrolet Blazers and pick-ups that have special equipment added for military applications.

Parts of central tyre inflating system:
The idea behind the CTIS is to provide control over the air pressure in each tire as a way to improve performance on different surfaces. For example, lowering the air pressure in a tire creates a larger area of contact between the tire and the ground and makes driving on softer ground much easier. It also does less damage to the surface. This is important on work sites and in agricultural fields. By giving the driver direct control over the air pressure in each tire, maneuverability is greatly improved.

Another function of the CTIS is to maintain pressure in the tyres if there is a slow leak or puncture. In this case, the system controls inflation automatically based on the selected pressure the driver has set.

There are two main manufacturers of the CTIS: U.S.-based Dana Corporation and France-based Syegon (a division of GIAT). Dana Corporation has two versions, the CTIS for military use (developed by PSI) and the Tire Pressure Control System (TPCS) for commercial, heavy machinery use. A wheel valve is located at each wheel end. For dual wheels, the valves are typically connected only to the outer wheel so the pressure between the two tyres can be balanced. Part of the wheel valve's job is to isolate the tire from the system when it's not in use in order to let the pressure off of the seal and extend its life. The wheel valve also enables on-demand inflation and deflation of the tyres.

An electronic control unit (ECU) mounted behind the passenger seat is the brain of the system. It processes driver commands, monitors all signals throughout the system and tells the system to check tire pressures every 10 minutes to make sure the selected pressure is being maintained. The ECU sends commands to the pneumatic control unit, which directly controls the wheel valves and air system. The pneumatic control unit also contains a sensor that transmits tire-pressure readings to the ECU.

An operator control panel allows the driver to select tire-pressure modes to match current conditions. This dash-mounted panel displays current tire pressures, selected modes and system status. When the driver selects a tire-pressure setting, signals from the control panel travel to the electronic control unit to the pneumatic control unit to the wheel valves.

When vehicles are moving faster (like on a highway), tire pressure should be higher to prevent tire damage. The CTIS includes a speed sensor that sends vehicle speed information to the electronic control unit. If the vehicle continues moving at a higher speed for a set period of time, the system automatically inflates the tyres to an appropriate pressure for that speed.

This type of system uses air from the same compressor that supplies air to the brakes. A pressure switch makes sure the brake system gets priority, preventing the CTIS from taking air from the supply tank until the brake system is fully charged.

Working of Central Tyre Inflation System:
Here is what happens on the road: The electronic control unit tells the pneumatic control unit to check current pressure and either inflate or deflate the tire to the pressure selected by the driver. If the system determines that inflation is needed, it first checks to make sure that brake pressure reserves are where they should be; if they are, it applies a slight pressure to the wheel valve to allow inflation. If the tyres are over inflated, the system applies a slight vacuum to the wheel valve. When the pneumatic control unit reads that the appropriate pressure is reached, the valve closes.

In this illustration, you can see the pathway that the air travels for inflation or deflation once it gets to the wheel. The tubing runs from the vehicle's air compressor through the wheel hub and then to the tire valve. The "quick disconnect fitting" allows the tire to be separated from the CTIS system for removal or servicing. (This diagram also shows the Hummer's run-flat feature, which allows the tire to continue supporting the vehicle even when it will not hold any air.)

The AIRGO system is a constant monitoring system that uses a series of check valves to detect a loss in air pressure.

Unlike some of the other systems, AIRGO doesn't use air from the vehicle's braking system. When air seepage has occurred at any of various points in the system (1), the system draws air (2) from the vehicle's pneumatic system (not shown) and sends it by way of the vehicle's axles (3) -- through the axles themselves if they're pressurized or by way of tubing if they're not -- through the hubcap assembly (4) and into the tire requiring inflation.

A warning light, located on the trailer but visible through the driver's rearview mirror, illuminates when the system has inflated a tire.

Since this is a constant monitoring system, which puts a lot of wear and tear on the seals, AIRGO uses carbon-graphite and case-hardened steel for its seals rather than rubber.

Tyre Maintenance System (TMS):
Dana Corporation's Tire Maintenance System is a "smart" system for tractor trailers that monitors tire pressure and inflates tyres as necessary to keep pressure at the right level. It uses air from the trailer's brake supply tank to inflate the tyres.

The system has three main components:
The tire hose assembly provides the air route to inflate the tire and has check valves so that the air lines and seals do not have to be pressurized when the system is not checking or inflating the tyres. This cuts down on wear and tear on the seals.

The rotary joint is comprised of air and oil seals and bearings and connects the air hose from the non-rotating axle to the rotating hubcap. Its air seals prevent leakage, and the oil seal prevents contamination. The rotary hub also has a vent to release air pressure in the hubcap.

The manifold houses the pressure protection valve, which makes sure the system doesn't pull air if the brakes' air supply is below 80 psi. It also houses an inlet filter to keep the air clean, a pressure sensor to measure tire pressures and solenoids that control airflow to the tyres.

Like the CTIS, this system also has an electronic control unit that runs the entire system. It performs checks to make sure the system is operational, notifies the driver via a warning light on the trailer (visible through the rear-view mirror) if a tire's pressure drops more than 10 percent below its normal pressure and performs system diagnostics.

The system performs an initial pressure check and adds air to any tire that needs it. The check valves in each tire hose ensure that the other tyres don't lose pressure while one tire is being inflated. After an initial pressure check, the system depressurizes to relieve pressure from the seals. Every 10 minutes, the system pressurizes the lines and rechecks tire pressures.

The system measures tire pressure using a series of air pulses in the air lines. If the target pressure in the line is not reached after a certain amount of time, the system begins inflating the tire(s) until the correct pressure is reached.

Meritor Tire Inflation System (MTIS):
The MTIS is designed for use on tractor trailers. It uses compressed air from the trailer to inflate any tire that falls below its appropriate pressure. Air from the existing trailer air supply is routed to a control box and then into each axle.

The air lines run through the axles to carry air through a rotary union assembly at the spindle end in order to distribute air to each tire. If there is significant air-pressure loss, an indicator light informs the driver.

The overall system is made up of a wheel-end assembly and a control module.

Wheel-end assembly:
The wheel-end assembly includes a flexible hose with check valves. The check Valves only allow air to flow into each tire; this ensures that while one tire is being inflated, the other tyres don't lose air pressure.

This assembly also incorporates a stator (a non-rotating part) inside the axle spindle and a flow-through tee that is attached to the hubcap. The flow-through tee has a dynamic seal to allow rotation while preventing pressure loss when pressurized air passes from the axle to the hub, which occurs through a tube that runs from the stator into the tee.

In the hubcap assembly, there is a vent to make sure pressure does not build up in the wheel end. A deflector shield keeps contaminants such as dirt and water from entering the wheel end. For axles with hollow spindles, a press plug seals the pressurized axle interior from the wheel end in order to secure the stator.

Controls:
The system control module has a shut-off valve to stop air from being sent to the system, as well as a filter to remove moisture and contaminants. The petcock releases system pressure so maintenance can be performed. Like some of the other systems that use onboard air supplies, this system has a pressure protection valve so that it won't pull air if the air supply is below 80 psi.

A system pressure adjustment knob allows for adjustments to the overall system air pressure. A flow-sensing switch activates the indicator light to let the driver knows if a significant amount of air is being pumped into a tire, which would indicate a potential puncture.

The Future of Self-inflating Tyres:
Michelin is working with several other companies to develop an active pressure-management system called TIPM (Tire Intelligent Pressure Management), due to be available sometime in 2005. This system has a compressor that automatically adjusts the pressure in each tire while the vehicle is in operation to compensate for leaks and slow-leak punctures. The driver will be able to adjust the pressure depending on the desired driving mode: comfort, sporty, all-terrain or over-obstacle.

There are at least two other systems in the early development stages that are oriented toward the consumer market -- the EnTire system and the Cycloid AirPump system.
The EnTire Self-Inflating Tire system uses a valve that pulls in air from the atmosphere. It then pumps the air into the under-inflated tire using a peristaltic-pump action. The goal is to constantly maintain a specific pressure.

The AutoPump tire-inflator system by Cycloid has a small, wheel-hub-mounted pump that is powered by the turning of the wheels. When the system's monitor detects a drop in pressure of 2 to 3 psi, it pumps air into the under inflated tire. AutoPump has a warning system that is activated when there is a puncture. Check out Cycloid Videos to watch the AutoPump system in action.

Self-inflating Tyres for Bicycles and Motorcycles:
Now cyclists can also motor with the peace of mind that a flat tire isn't going to ruin their ride. Bridgestone Cycle of Japan has developed the Air Hub, which uses a rotating air pump that replenishes air in the tire as you pedal. Like the EnTire method, it keeps the air in the tyres at a constant pressure level. The air pump is in the hub and is run by the rotation of the wheel. A small tube runs compressed air to the tire's air valve to maintain the pressure. When the air pressure in the tire is where it should be, excess air is exhausted through a device in the middle of the hose.

Pirelli has also come up with a self-inflating tire system for motorcycles and scooters. The Pirelli Safety Wheel System uses a monitoring system along with a special rim and an internal tube containing compressed air. It also has a valve to regulate the pressure between the tube and the tire. When the tire deflates naturally, the valve opens and pumps air into the tire until it reaches the correct pressure. If there is a puncture, the system warns the rider as it allows air to move into the tire.