Professional Documents
Culture Documents
Wale's Project Body
Wale's Project Body
INTRODUCTION
Data Acquisitions system as the name implies, are products and/or process used to
acquisition. As technology has progressed, this type of process has been simplified and
made more accurate, versatile and reliable through electronic equipment. Equipment
products serve as a focal point in a system, tying together a wide variety of products,
such as sensors that indicate temperature, flow, level, or pressure. Some common data
Refers to a type of data acquisition signal. Digital I/O are discrete signals which
are either one or two states. These states may be on/off, high/low, 1/0 etc.
1
Differential input
inputs have a unique high and unique low connection for each channel. Data
Fault-tolerant control is used in systems that needed to be able to detect faults and
prevent simple faults related to control loops from developing into production
stoppages or failures at a plant level. This is obtained by combining fault detection with
been focused on fault detection in its own right. This paper deals with a fault tolerant
control from a much wider point of view, covering the entire design process from the
Air pollution has been aggravated by developments that typically occur as countries
become industrialized thus, growing cities increased traffic rapid economic energy
population to urban areas, increase in consumption patterns and unplanned urban and
industrial development has contributed to the air pollution problem. Stratospheric ozone
2
depletion due to air pollution has long been recognized as a threat to human health as
well as to the Earth’s ecosystems. The report, prepared by Global Scientific Inc., found
that suspended particulate matter (SPM) including dust, fumes, mist, and smoke in the
air in commercial, industrial and even residential arrears of the city exceed the National
Ambient Air Quality Standards throughout the year. In majority of the developed
world, legislator has already been introduced to the extent that local authorities are
required by law to conduct regular Local Air Quality reviews of the key urban
monitored accurately and ideally so that sources may be identified quickly and the
Furthermore, such data would lend itself to real-time environment decision making.
This report will also address the relevant background surrounding the causes and
effects of air pollution as well as bring to light recent research and initiatives employed
by cities both local and Global comparisons will be made between the previous
prototype and the changes that have been implemented in achieving the new design.
With the rising cost in Health care, the burden on the economy is another major impact
that air pollution has on the society. Billions of dollars are spent globally to address the
health concerns, and in one article it was seen that in California alone the ‘dirty air’
caused $193 million in hospital based health care within a 2-year period. The elevated
pollution levels meant that ‘exposure to excessive levels of toxic gases and particulate
3
pollution caused nearly 30,000 emergency room visits and hospital admissions [7]. This
impact may not be as concerning as the health concerns however it proves that air
Within Australia a study was conducted on health costs of air pollution with regards to
the Greater Sydney Metropolitan [8]. Total health costs were estimated to be between
$1 billion and $ 8.4billion per annum. Indicators that were assessed included ‘cost of
illness’ and ‘willingness to pay’ which was direct costs generated by illness ( i. e.
hospital emission, medicine costs etc.). In parallel comparison with willingness to pay
to avoid illness.
Global warming is an undeniable issue with the earth average temperature ‘increasing
by about 0.8ºC over the past 10 years, with about 0.6ºC of this warming occurring over
just the past three decades. [9]. This shows that the jump in human activity with regards
to production and manufacturing has led to excess amounts of waste and pollution
being released contributing to the greenhouse effect and in turn accelerating the global
warming process.
CO sensor for detection of the pollutant , and a LCD for indication of the level of the
4
GPS locator which sends information to GSM modem/ SD card and stored information
in it.
Objectives are,
II. To design the FTC-DAS (fault-tolerant control and data acquisition system)
IV. To determine and procure appropriate sensors for the measurement of the
pollutant level
Air pollution has major effect on society as it impacts not only our health but also our
environment and economy. Action must be taken immediately to monitor and control
this situation before a critical point is reaches. In advances countries, government spend
billions of dollars per annum to cover costs associated with the effects of air pollution.
Therefore it is necessary to design a device that can monitor air pollution in real time
The construction of good air quality systems has recently been a focus of attention with
5
pollutants in the air is determine polluted areas using an air quality monitoring system
as source control, improved ventilation, air cleaning and gradually been phased out.
Conventional air monitoring approaches such as Gas Chromatography (GC) are limited
with respect to time, expense, and installation sites. Therefore, limited data is available
for the estimation of ambient air toxins. Further, air quality monitoring systems built
into compact, handheld devices have spatial and temporal limitations, since the
system (MEMS) and wireless sensor network (WSN). Technology has allowed the
creation of air pollutant monitoring system and is deployment in real environments. The
installation costs and enable the quick and easy reconfiguration of the data acquisition
and control system. In addition, networked air pollutant monitoring system allows
quickly and the atmospheric dynamics of the process to be understood and is more
users friendly.
The first chapter of this report began with the background of study, Data Acquisition
System definition, Fault Tolerant Control, Air pollution. Furthermore, the effects on
6
Chapter two focus on the literature review of existing system for Fault Tolerance, type
of fault and failure on actuator, General structure of an active fault Tolerant Control
DAQ.
Chapter three further explains the Methodology and discusses i. e. review of the
components and the breaching down into modules of some of the major components
Chapter four talked about the design and implementation of the device i. e the power
circuit, the input circuit, the controller, the storage unit, the overall system design and
Chapter five discuss the conclusions, summary, recommendations, further research and
appendix
7
CHAPTER 2
LITERATURE REVIEW
2.1 FAULT-TOLERANCE
When a fault occurs in a system, the main problem to be addressed is to raise an alarm,
ideally diagnose what fault has occurred, and then decide how to deal with it. The
problem is detecting a fault, the source/location and then taking appropriate action is
the basis of fault tolerant control.in this chapter and I start with some definitions and
describe different types of fault and failures which occur in actuators and sensors. First
we identify the term Fault and failure which we be defined in this chapter;
Clearly, a failure is a condition which is much more severe than a fault. When a fault
occurs in a actuator for example, the actuator is still usable but may have a slower
8
response or become less effective. But when a failure occurs, totally different actuator
In aircraft system there are some distinct types of actuator failure, the three most
A lock failure is a failure condition when an actuator becomes stuck and immovable.
This might cause mechanical jam, due to lack of lubrication. This type of failure occur
9
in documented incidents such as flight 1080 (Lockeed L1011, San Diego, 1977) where
one of the horizontal stabilizers jammed in the full trailing edge-up position; and flight
96 (DC-10, Windsor, Ontario, 1972) where the rudder jammed with offset.
A float failure is a failure condition where the control surface moves freely without
providing any moment to the aircraft. An example of a float failure is the loss of
hydraulic fluid. This has occurred in the incidents such as flight 123 (B-747, Japan,
1985) and DHL A300B4 (A300, Baghdad, 2003) resulting from a total loss of
hydraulic.
situation the control surface will move at its maximum rate limit until it reaches its
maximum position limit or its blown limit. For example a rudder runaway can occur
signal to be sent to the actuators causing the rudder to be deflected at its maximum rate
to its maximum deflection at low speed ( or blow down limit at high speed) this failure
occur in incidents such as flight 85 (B-747, Anchorage, Alaska, 2002) which suffer a
lower rudder runaway to full left deflection, causing the airplane to roll excessively)
and flight 427 ( B-737, Near Aliquippa, Pennsylvania, 1994) (which suffer from a
Fault Tolerance is the property that enables a system to continue operating in the event
of the failure of (or one or more faults within) some of its components, if its operating
quality decreases at all. The decrease is proportional to the severity of the failure, as
compared to a naively design system in which even small failure can cause total
10
breakdown. Fault tolerance is particular sought after high availability or life-critical
possibly at reduced level, rather than failing completely, when some part of the system
fails, the term is commonly used to describe computer system design to continue more
response time in the event of some partial failure. That is, the system as a whole is not
stopped due to problems either in the hardware or the software. An example in another
field is a motor vehicle design so it will continue to derivable if one of the tires is
punctured, a structure is able to retain its integrity in the presence of damage due to
cause such as fatigue corrosion, manufacturing flaws or impact. Within the scope of an
building the system to cope with them, and, in general, aiming for self-stabilization so
that the system converges towards an error-free state. However, if the consequences of
a system failure are catastrophic, or the cost of making it sufficiently reliable is very
high, a better solution may be use some form of duplication, in any case, if the
fall back to a safe mode. This is similar to roll-back recovery but can be a human action
performance even one or several faults, or more critically, one or several failures occur
in this system. In the literature, most of the motivation and research work in fault
tolerant control involves solving problems encountered in safely critical system such as
11
aircraft. Application can also be found in other system, for example robots, space
science and underwater remotely operated vehicles. Research into fault tolerant control
is largely motivated by the control problems encountered in air craft system design. The
goal is to provide a “self-repairing” capability to enable the pilot to land the aircraft
Zhang and Jiang define Faults tolerant control system (FTCS) as a control system that
possesses the ability to accommodate system component failure automatically. They are
capable of maintaining overall system stability and acceptable performance in the event
fields; FDI, robust control, and reconfigurable control (see Fig 2.1). A typical active
Fault Tolerant Control System (AFTCS) architecture is shown in Fig 2.2 for most FTC
schemes, when fault/failure occurs either in an actuator or sensor, the FDI scheme will
detect and locate the source of the fault. This information is then passed to a
mechanism to
12
Fig
Fig 2.2 General structure of active Fault Tolerant control system (AFTCS)
Initiate reconfiguration. The reconfigurable controller will try to adapt to the fault,
therefore providing stability and some level of performance. Both the FDI and the
Robust control I closely related to passive fault tolerant control systems. The controller
is designed to be robust against disturbances and uncertainty during the design stage.
13
This enables the controller to counteract the effect of fault without requiring
reconfiguration or FDI.
A fault-tolerant control system may be regrouped into two ‘families’ passive tolerant
In a passive fault-tolerant controller deviation of the plant parameters from their true
value or deviation of the actuators from their expected position may be efficiently
becomes excessively large and exceed the robustness properties, some actions need to
be taken, also, if deviation occur at the sensor side, inevitable deviation from the
and isolation (FDI) system that monitors the health of the aircraft. The FDI system
therein, the supervision module may decide to reconfigure the flight controller, the
guidance system and the navigation system. There are two families of FDI system,
namely FDI and active FDI system passive FDI system ‘wait’ until something starts
clearly go wrong in the system where as active FDI system will artificially excite the
14
aircraft, either by flying health check maneuver or by injecting test signals in the
actuator commands and then assessing the individual health status of actuators and
sensors. In this project, an active fault-tolerant control system has been develop, which
contains an active nonlinear FDI system and robust nonlinear controllers in all of the
control loops of the autopilot. Furthermore, a supervision module has been designed
In passive fault control system, the controller is designed to be robust against faults and
uncertainty. Therefore when a fault occurs the controller should be able to maintain
stability of the system with an acceptable degradation in performance. PFTCS does not
require FDI and does not require controller reconfiguration or adaptation. AFTCS on
maintained. Therefore, most AFTCS require FDI to provide the fault or failure
2.4 Redundancy
Redundancy can be categorized into two types, direct and analytical. In direct
or three sensor that measures the same quantity is called double and triple redundancy.
In normal operation, only one sensor is sufficient, however, two or three sensors are
required to ensure reliable measurement in the case of faults. A voting system is typical
way to decide which channels are working correctly and which are faulty. This
hardware redundancy concept can also be extended to the actuators. In terms of analytic
redundancy, instead of having multiple sensors that measure the same signal, an
desirable in many systems especially in aircraft and Unmanned Air Vehicles (UAVs),
since analytical redundancy eliminates the requirements for extra hardware therefore
reducing weight and cost. In large passenger transport aircraft, sensors are typically
tripled redundant. The aerospace industry attempts to reduce the “carbon foot-print” left
16
by aircraft, many manufacturers have tried to reduce the consumption of fuel by
the aircraft states). This is also beneficial in the development of cheap, robust and
maintenance-free UAVs. Due to the low production cost, there is no requirement for
repair, and instead, the whole unit is replaced. In aircraft, a control surface, for example
the rudder, can have three different hydraulic actuators running from three separate
lines to three independent hydraulic pumps. This means most control surfaces will have
triple redundancy. In terms of control surface itself, there exist secondary controls that
the primary control surface. In large passenger transport aircraft for example, the
spoilers which are typically deployed to reduce speed. To create roll normally is
achieved by using ailerons; also engines can also use differently to create yaw, which is
typically achieved by using the rudder; and finally the horizontal stabilizer. Which is
normally used to set angle of attack, can replace elevators for pitch modulation.
17
Table 2.1 current FTC methods comparison
18
2.5 Data Acquisition System
A data acquisition system, this can be accurately described by explaining what a Data
Acquisition system “does” not what it is. A data Acquisition system catches or captures
data about an actual system and stores that information in a format that can be easily
intervention or guidance.
In other words Data Acquisition ids the process of sampling signals that measures real
world physical conditions and converting the resulting samples into digital numeric
with the acronym DAS or DAQ) typically convert analog waveforms into digital values
Signal conditioning circuitry to convert sensor signals into a form that can be
digital values.
FORTRAN, java, Lisp, Pascal. Stand-alone DAS are often called data loggers. There
19
are also open-source software packages providing all the necessary tools to acquire data
from different hardware equipment. These tools come from the scientific community
where experiment requires fast, flexible and adaptable software. Those packages are
usually custom fit but more general DAS package like Maximum Integrated Data
Acquisition System can be easily tailored and is used in several physics experiments
worldwide.
There are seven elements or functions in a Data Acquisition System. The seven
elements/functions are (in no particular order) data collection, measurement, timing and
triggering, a real-time clock, system control, at communication and data archiving. All
number of these elements are part of the system, the module could be defined as a
component of Data Acquisition System. If a system has all seven elements along with
the additional features, it is probably a larger system with a data acquisition system
being part of larger structure. The actual components or elements of data Acquisition
System to perform the seven essential functions are critical to the efficiency of the
addition, there must be a trigger to synchronize the sensor input ( the data stream), as
well as a control for the Data Acquisition Board and the processor of the system and
system clock, a data communication bus (I/O) is also required. The Data is being stored
real=time, the analysis and review of the information is performed after data is
events will be missed or overlooked. The Data Acquisition System must collect, sort,
20
2.6 History
include the IBM 7700 Data Acquisition System and its successor, the IBM 1800 Data
Acquisition and Control System. These expensive specialized systems were surpassed
in 1974 by general purpose S-100 computers and Data Acquisitions cards produced by
Tecmar/Scientific Solution Inc. in 1981 IBM introduced the IBM Personal Computer
measured. Examples of this include temperature, light intensity, gas pressure, fluid flow
and force. Regardless of the type of physical property to be measured must first be
transformed into a unified form that can be sampled by a Data Acquisition System. The
into a corresponding electrical signal (e.g. voltage or current) or, in many cases, into a
different properties depends on having sensors that suited to detect the various
21
properties to be measured. These are specific sensor for many different applications.
DAQ system also employs various signal conditioning techniques to adequately modify
various different electrical signals into a voltage that can be digitizing using an Analog-
Signals may be digital (also called logic signals sometimes) or analog depending on the
transducer used. Signal conditioning may be necessary if the signal from the transducer
is not suitable for the DAQ hardware being used. The signal may be need to be
isolation, and linearization. For transmission purposes, single ended analog signals,
which are more susceptible to noise, can be converted to different signals. Once
digitize, the signal can be encoded to reduce and correct transmission errors.
DAQ hardware is what usually interfaces between the signal and a PC. It could be in
the form of modules that can be connected to the computer’s port (parallel, serial, USB,
etc.) or cards connected to slots (S-100 bus, Apple Bus, ISA, MCA, PCI, PCI-E, etc.).
In the motherboard. It usually the space on the back of a PCI card is too small for all
the connections needed, so an external breakout box and the PC can be expensive due
DAQ cards often contain multiple components (multiplexer, ADC, DAC, TTL-IO, high
speed timers, RAM). These are accessible via a bus by a microcontroller, which can run
small programs. A microcontroller is more flexible than hard wire logic, yet cheaper
than a CPU so that it is permissible to block it with simple polling loops, starting the
22
ADC to finish, move value to RAM, switch multiplexer, get TTL input, let DAC
proceed with voltage ramp. Many times reconfigurable logic is used to achieve high
speed for specific tasks and digital signal processors are used after the data has been
acquired to obtain some results. The fixed connection with the PC allows for
with slots in a bus can grow with the needs of the user.
Not all DAQ hardware has to run permanently connected to a PC, for example
intelligent stand-alone loggers and oscilloscope, which can be operated from a PC, yet
DAQ software is needed in order for DAQ hardware to work with a PC. The device
performs low-level register writes and needs on the hardware, while exposing a
standard API for developing user applications. A standard API such as COMEDI
allows the same user application that runs on windows will also run Linux BSD.
monitoring system. Sensor scope was developed to provide in-situ spatial and temporal
observations across the landscape. Sensor scope makes use of solar energy with
23
noise, CO and NO2. It has a low power Zigbee transceiver and a data logger on board. It
Honicky R in 2008, designed a device called N-smarts: N-smarts network suite mobile
citywide environmental data acquisition system. Its sensor module consists of carbon
Murty R.N. M. in 2008, deigned a gas monitoring device called City sense. City sense
is a Urban-scale Wireless sensor Network and Test bed in also a larger-scale wireless
environmental monitoring system. City sense supports the development and evaluation
of wireless system that span an entire city by employing over Wi-Fi enabled Linux-
based PCs embedded throughout buildings and streetlights. City sense uses a wired
power supply.
Sukwon C. et al in 2009, designed and implemented a Micro Node for Air Pollutant
Monitoring called APOLLO (Air Pollutant Monitoring System) sensor node, APOLLO
was constructed with off the shelf MEMS based or infrared based micro gas sensor.
information from a various air components and forwarding the collected data to the host
system.
24
technology, both the size and cost are reduced, while providing a wide range of
Volgyesi, P. M in 2008, designed an Air Quality Control with Sensor Map. Sensor Map
is a mobile air quality monitoring network comprised of sensors that can detect O 2, NO2,
and CO/VOC. The scheme focused on data collection and presentation, but did not
consider issues like the characteristics of the gas sensors and energy management.
25
CHAPTER 3
3.0 Methodology
This chapter contains the method and procedure employed in the design and
procedure include:
From the above listed research design methodology, the choice of research
26
3.0.1.2 A Prototype Research Design Methodology
early in the development lifecycle and they are used to provide valuable insight into
look-and-feel, and the general workflow of an application. (Sometimes people call the
first production implementation a prototype, but that is not correct. If you have multiple
implementations, the first one is mostly called a pilot.) in a traditional waterfall project,
we move from analysis and design, to coding and testing. The first time the clients have
a chance to look at an application is typically during the integration and system testing.
If the business requirements are well understood up-front, this approach can still make
a lot sense. However, on a typical project, the client does not always know exactly what
they want ahead of time. In this case, it can be very valuable to gather an initial set of
requirements and build a prototype that the client can see. The client is then in a much
better, and earlier, position to tell you what they like and don’t like. Based on the
feedback, you could begin a production application, or you could enhance the prototype
Top-down research design methodology (also known as a step wise design and in some
the system is formulated, specifying but not detailing any first level subsystems. Each
subsystem is then refined in yet greater details, sometimes, in any additional subsystem
level, until the entire specification is reduced to base elements. A top-down model is
27
often specifying with the assistance of ‘black boxes’, this makes it easier to manipulate.
However, black boxes may fail to elucidate elementary mechanics or be detail enough
to realistically validate the model. Top-down research starts with a big picture. It breaks
28
Fig 3.0 Block Diagram of the Design
29
Fig 3.0.1 Flow Chart of the Design
30
Different tools, components and language were used in developing of this design. Since
this design involves components that are driven by the software running on the PC, a
suitable language platform was chosen (Micro C and Micro basic). In achieving the
above listed objectives, the following enumerated tools and components were used:
II. Capacitor
V. Sensors
VI. MICS-4514
VIII. Resistors
IX. Transistors
X. Voltage regulator
XII. Microcontroller
31
3.2.1Secure digital Card (SD card)
Secure digital (SD) card is a nonvolatile memory card used extensively in portable
devices, such as mobile phones, digital cameras, GPS navigation devices, handles
consoles, and tablet computers. The card can protect their contents from erasure
3.2.2 Capacitors
Capacitors are passive two terminal components used to store energy in an electric
field. The forms of practical capacitors vary widely. But all contain at least two
polarized with a + or – sign printed on it. For the purpose of this project, a 3300μF 25V
and 100μF 50V capacitors were used with the sole aim in blocking direct current while
allowing alternating current in the design o power supply circuit as shown below
32
Fig 3.2.3 Capacitor
Connecting wire are used to connect different electrical components together in order to
allow flow of electric current from one component to another as shown below:
A liquid crystal display (LCD) is a thin, flat display device made up of any number of
colour or monochrome pixels arrayed in front of a light source or reflector. Each pixel
electrodes, and two polarizing filters, the axes of polarity of which are perpendicular to
each other. Without the liquid crystal between them, light passing through one would
be blocked by other. The liquid crystal twist the polarization of light entering one filter
to allow it pass through the other. A program must interact with the outside world using
input and output devices that communicate directly with a human being. One of the
33
most common devices attached to a controller is an LCD display. Some of the most
common LCDs connected to the controller are 16X1, 16X2, and 20X2 displays. This
means 16 characters per line by 1 by 16 character per line by 2 lines and 20 characters
Man controller devices use smart LCD to display output visual information. The LCD
displays designed around LCD NT-1611 module, are inexpensive, easy to use, and it is
even possible to produce a readout using 5X7 dot plus cursor of the display. They have
a standard ASCII set of characters and mathematical symbols. For an 8-bit data bus, the
For a 4-bit data bus it only requires the supply lines plus 6 extra lines (RS RW D7 D6
D5 D4). When the LCD display is not enabled, data lines are tri-state and they do not
Features:
IV. Display data RAM and character generator RAM may be accessed by the
microprocessor.
V. Built-in oscillator.
VII. Clear display, Cursor Home, display ON/OFF, cursor ON/OFF, blink character,
34
3.2.6 Gas sensor
A gas sensor is an electronic device which detects the presence of various gases within
an area often as part of a system. It interacts with gas to measure its concentration.
There are many different types of gas sensors available commercially from metal oxide
3.2.7 MICS-4514
The chosen sensors was the MICS-4514, these sensors are solid-state devices composed
of sintered meta oxides which detect gas through an increase in electrical conductivity
when reducing gases are absorbed on the sensor’s surface. The sensors are both in the
same SMD package, and have a small size. The MICS-4514 includes two sensor chios
with independent heaters and independent sensitive layers. One sensor chip detects
oxidizing gases and the other gases detect reducing gases. In order to be able to make
exact measurement with MICS-4514 is necessary to take into account the effects that
temperature has on the characteristic curve of the sensor resistance versus gas
concentration. The sensor is usually places inside a housing to protect the sensing
element from water and dust projections. Ambient air containing ozone reaches the
35
sensing element by gas diffusion. A change of electric resistance of the sensing layer
can be converted into a voltage change. This voltage change then used to calculate an
sound alarm by comparing the voltage from the sensor with a pre-set threshold voltage.
Is use to determine and track its precise location, the recorded data can be stored within
the tracking unit, or it may be transmitted to a central location data base, or internet-
embedded in the unit. This allows the asset’s location to be displayed against a map
backdrop either in real time or when analyzing the track later, using a GPS tracking
software. Data tracking software is available for smart phones with a GPS capability.
3.2.8 Resistors
the voltage across the resistor’s terminals. They have no polarity as any of the sides can
3.2.9 Transistor
least three terminals for connection to an external circuit. A voltage or current applied
36
to one pair of the transistor’s terminals changes the current flowing through another
electronic signals and electrical power. For this purpose, five Ca45 NPN Transistors are
used.
supply due to their ease-of-use and low cost. Voltage regulator is designed to
voltages. In the design of the power supply of the model, TIP 122 voltage regulator is
used to stabilize the output voltage used by microcontroller thus a +5v regulated power
The LM317 has three pins, input, output, and adjustable. The device is conceptually an
op-amp (with a relatively high output current capacity). The inverting the input of the
amp is the adjustment pin, while the non-inverting input is set by an internal band gap
3.2.11 Microcontroller
peripherals. Program memory in the form of NOR flash or OTP ROM is also often
37
Microcontroller are used in automatically controlled products and devices, such as
office machines, appliances, power tools, toys and other embedded systems. By
reducing the size and cost compared to a design that uses a separate microprocessor,
control even more devices and processes. Mixed signal microcontroller are common,
temperature (in ºC). The sensor circuitry is sealed and therefore it is not subjected to
oxidization and other processes. With LM35, temperature can be measured more
accurately than with a thermistor. It also possess low self-heating and does not cause
38
more than 0.1ºC temperature rise in still air. The operating temperature range is from -
55ºC to 150ºC. The out voltage varies by 10mV in response to every ºC rise/fall in
ambient temperature i.e. its scale factor 0.01V/ ºC. Along with this a variable resistor
This is a two lead semiconductor light source. It resembles a basic PN junction diode,
which light when activated. When a fitting voltage is applied to the lead electrons are
able a recombine with electrons hole within the device, releasing energy in the form of
photons. This effect is called electroluminescence, and the colour of the light
(corresponding to the energy of the photon) is determined by the energy band gap of the
semiconductor. An LED is often small in area (less than 1mm 2), and integrated optical
39
components maybe used to shape its radiation pattern. Modern LEDs are available
across the visible, ultraviolet, and infrared wavelengths, with very high brightness.
Early LEDs were often used as indicator lamps for electronics devices, replacing small
environmental and task lighting LEDs have many advantages over incandescent light
robustness, smaller size, and faster switching. Light Emitting Diodes are now used in
However, LEDs powerful enough for room lighting are still relatively expensive, and
require more precise current and heat management than compact fluorescent lamp
sources of comparable output. LEDs have allowed next text, video displays, and
sensors to be developed, while their high switching rates are also useful in advanced
communications technology.
40
CHAPTER 4
SYSTEM IMPLEMENTATION
4.0 Introduction
This chapter deals with work done in implementing this specific system designs
described in the previous chapter. The system can be classified into its hardware and
software components. The hardware which was implemented in this chapter consist of
Diode etc. while the software involve utilizing assembly language written using the
The power supply unit circuit can be derived from a 15v AC or 15V- 22 V DC, with
diodes (BR 1) providing reverse polarity protection. The nominal 12V supply rail is fed
through an/off switch to the input of a 3-terminal voltage regulator (LM317T), with
filtering provided by a 3300uF 25V (C4) electrolytic capacitor. This 12V supply rail
also drives a 12V fan via a 2 Kilo ohms resistor. The resistor is there to reduce the fan
41
speed and thus the noise it makes. The LM317 which is variable regulator is configured
to provide a 6V supply. The voltage between its OUT and ADJUST pins is nominally
1.25V, but in practice it ranges from 1.2V to 1.3V. if this voltage is 1.25, this means
that a current of 10.4mA flows through the 1kilo ohms resistor and the trimpot RV-1
sets the voltage across it to 4.75V and output of the regulator to 6V (i. e 4.75V +
1.25V ). This 6V supply is used to drive the heaters in the MICS 4514 sensors. In
addition, the 6V rail is fed to a voltage divider made up of RV1 and RV2 resistors. The
resulting 5V output from the divider is then fed to the input OP amp, which in turn
drives the current amplifier. The resulting 5V rail powers the microcontroller, LDR1
42
Figure 4.0.1 Power Supply Unit
Figure 4.0.2
This unit comprises of the sensors as an input device and the circuits which make it
microcontroller.
The output from the sensor is monitored at RB3/AN9 (pin 36) of the microcontroller.
The manufacturer’s specifications states that this sensor must initially be heated using
43
5V supply connected across its element for 60s. The heater current is then reduced by
placing just 1.4v across the element for 90s period. The carbon monoxide and the
nitrogen oxide are then being measured, after which the initial 60 heating circle begins
again. In practice, this means that measurements are repeated at 2.5 minutes (i.e. 150
seconds). The heater is powered from 6V rail via two parallel resistors, while transistors
ties the lower end of the heater element to 0V. The heater has a resistance of 33 ohms
when Q1 is on, a current of 15mA flows through it. This result in a 1V drop across the
two resistors, thus giving the required 5V supply for the heater. The transistor is
controlled by the microcontroller’s AN0 output (pin 2) and turns on when its gate I
pulled high. The AN0 switches Q3 on for 60s to provide the heating current. And the
As a result, any changes in the sensor’s resistance will result in a corresponding voltage
change at the top of transistor. This signal is then applied to the AN3 input of the
microcontroller and fed to its internal A/D converter. During set-up, RV5 is set so that
AN3 is at 0.5 when the sensor is in normal air. However, this signal voltage can rise to
around 3V when the CO concentration is over 300ppm. In operation, the sensor varies
its resistance over a 10:1 range for CO concentrations ranging from 10ppm to
1000ppm.
44
The three LEDs are used to indicate the gas levels and these are wired with transistors
R15, r16, and R17 driving their common cathode. R15-R17 are in turn driven by the
Each is driven for about 1ms before switching off. As soon as it switches off, the next
transistor is switched on to drive the next LED. However, there is short gap (or ‘dead
time’) between one transistor switching off and the other on to prevent display errors.
In operation, the LEDs are switched on and off at fast rate that they appear to be
continuously lit.
The following are the colours of the LEDs used and their interpretations
4.1 DISCUSSION
This project is aimed to develop a Fault-Tolerant Control Data Acquisition System with
a GPS Locator for Monitoring and Control for Air pollutant gases. In this project a
signal is sent from input units to known the specific amount of pollutant gases present
in the air which then transfer the command to the microcontroller. The microcontroller
receives, understand and then carry out the task. After carrying out this command, the
LCD is used to interact with the operator and also displays the reading of the input
units. However, the results are promising in terms of proving the performance and
45
capability of this design as a pollution monitoring device. This device is definitely in
line with existing solutions and promises to be better in terms of cost, performance and
form factor.
CHAPTER 5
CONCLUSION
5.0 Summary
The important objective of this project is to introduce a new simple, cost efficient
method for air pollution monitoring. This deigned circuit describes the construction and
The pollution data from the sensor is saved on an SD card that makes this data helpful
and creating awareness among people. The data shows the pollutant levels and there
implement this kind of system of air pollution control monitoring makes our
5.1 Recommendations
The first stages that include the initial layout of the board with regards to components
as well as the new calibrating the sensors are now done. However there are still a
couple of aspect that needs further development so that the progress reaching the final
product can be achieved and actual on-road testing can begin. It is important to
46
remember that as this device is still in prototyping stages testing and constant
I. Developing another data acquisition system fault tolerant to be able to know the
III. Programming and sync the microcontroller to save data to the SD card
phone application interface. The majority of the following tasks will be software
Many countries are already taking initiatives to wireless monitor air pollution, countries
such as the USA and UK have already developed prototype device that can be attached
to cars and bike to be driven around the city to monitor and measure various pollutant
levels at different locations this will be next phase in monitoring air quality. Other uses
include:
III. Government incentives so that factories keep their pollutant level in control.
47
We are now in the technology era where everyone has at least one mobile. To be
monitoring air pollution people will say ‘there is an application for that’
REFRENCES
1. A.R Al-Ali, Imran Zualkerman and fadi Aloul ‘ A Mobile GPRS-Sensors Array
for air Pollution Monitoring’ IEEE SENSORS JORNAL, VOL. 10, OCTOBER
2010
4. Barrenetxea G.M Viscusi, W.K (1992) Fatal Tradeoffs: Public and Private
Paticulate Air pollution, Occupational Environmental Medicine, vol 54, pp. 108
(2013).
48
8. Farrar, C. R. An introduction to structural health monitoring. Phil. Trans, 365,
303-315. 2007
10. Ikaram, M.J, Akram, A.A Amin, M, ‘A Low-Cost Solution for urban Air
11. Johnson, B. W. ‘fault tolerant microprocessor’ IEEE Micro, vol. 4. 6, pp. 6-21
12. Kavi K. Khedol, Rajiv Perseedoss2 and Avinash Mungur3, ‘wireless sensor
(2009)
15. M. Gao, F Zhang, and J. Tian ‘Environmental monitoring system with wireless
mesh network baded on embedded system, ‘in Proc. 5th IEE Int. Symp.
16. M. Ghanem, Y. Guo, J Hassard, M Osmond, and Richards. ; Sensor grids for
air pollution monitoring ‘in proceedings of the 3rd UK e-Science All Hands
Meetings. 2004
49
17. MAQUMON Gate-way [online] Available :
http://people.vanderbilt.edu/will.hedgecock
19. Murty R.N.M Acute effects of urban air pollution on respiratory health of
edition. 2009.
21. Sukwon C. venn, A.J, Lewis, S. A, Cooper, M., Hubbard, R., Britton, J. (2001)
Living near a amin road and the risk of wheezing illness in children, American
22. Volgyesi, P.M. Climate Change and GHGs from urban Transport. Document
10B, Promotion of Air Quality Monitoring Devices Energy Efficiency and GHG
23. Von Neumann. J. ‘probabilitic logics and synthesis of reliable Organism from
24. Xintaras, Charlie and perry, Mike; Agency for Toxic substances and Diseases
50
26. Y. J. Jung Y. K. Lee, D. G. Lee, K. H. Ryu. ‘Air pollution monitoring system
Appendix
Concentration symptoms
51
3200ppm (0.32%) headache, dizziness and nausea in five to ten minutes,
death within 30minutes.
Concentration source
52