Professional Documents
Culture Documents
INTRODUCTION:
Automated monitoring of any machine involves determination of
different performance parameters. Such monitoring helps in
knowing the real time condition of motors.
Parameters which will effect or show the real time condition of motor
are
a) Current
c) Noise level
HISTORY:
With the rapid growth in industrial sector there has been an
increase in the number of induction motors used as industrial drives.
Most of the industrial drive used is induction motors due to certain
attractive features of the machine. Proper maintenance is required
to ensure higher efficiency for which automated monitoring is
necessary. The manual testing, calculation using conventional
methods takes lot of time, and it’s a tedious job and also erroneous.
NEED:
OBJECTIVES:
Step down
Micropho
B
Relay
1-PH I.M
50Hz 1425rpm
C. 16x2 LCD to
T Low DC display
voltage
of lm35 a. Speed
C. Current temp.
T b. Noise
Sensor
level
Lm 324
c. Curren
Current dc
sensor
t
voltage
converts drawn
amplifier
the high
a.c current d. Voltag
to low e
value( ord Converts across
CH2
Precision a.c into
D.C signals CH1
rectifier
ADC
0809
CH3
Amplified AT89S52 µC
dc signal
given to
NE5534
A/D
B op-
amp . CH4
Converts
a.c into If any parameter accedes shut
Precision CH5 down the system by tripping
C D.C signals
rectifier
To
relay
3.Block Diagram Description :
1. VOLTAGE MEASUREMENT :
The first digital voltmeter was invented and produced by Andrew Kay of
Non-Linear Systems (and later founder of Kaypro) in 1954. Digital voltmeters
(DVMs) are usually designed around a special type of converter called
an integrating converter. Voltmeter accuracy is affected by many factors,
including temperature and supply voltage variations. To ensure that a digital
voltmeter's reading is within the manufacturer's specified tolerances, they
should be periodically calibrated against a voltage standard such as the Weston.
Digital voltmeters necessarily have input amplifiers, and, like vacuum tube
voltmeters, generally have a constant input resistance of 10 mega ohms
regardless of set measurement range.
The step down transformer (240/5 V, 500mA) is connected across the
single phase induction motor. The output of the transformer is rectified
using precision rectifier circuit. The output of rectifier circuit is not pure DC
hence filter and regulator circuit is used to rectify the ripple contents, Now
the output of this section is pure DC 5V.
The output voltage varies as the input Voltage (i.e. Voltage across the
motor) varies. This pure DC signal is given to input pin of the ADC.
2. CURRENT MEASUREMENT:
The Current through the motor can be sensed using C/T (current
transformer) arraignment. The 1:50 CT is used to reduce the current strength to
50 times that of primary current strength.
Now, as the current through the motor (a.c current from 0-3.7A) varies the
output of current sensing unit (D.C voltage) is also varies from 0- 5V D.C. The
output of this unit is given as one of the input to the ADC, which convert analog
data n to digital data.
3.Temperature measurement:
Then the output of the above system is given as input to the ADC which
produces the digital code for analog input.
4.Noise level measurement
The microphone is used to measure the noise level, the microphone convert the
noise or sound to variable dc voltage in mV, which is amplified using
transistor amplifier ,
The output of this transistor amplifier is given to the ADC as an input.
The ADC(0809 a 8 i/p ADC) receives the input from all five inputs from all
sensing units . the selection is made by the commands given by the
microcontroller . It will select one input at a time and convert it to the digital
code and give as input to microcontroller.
6.MICROCONTROLLER:
A microcontroller (sometimes
abbreviated µC, uC or MCU) is a small computer on a
single integrated circuit containing a processor core, memory,
and programmable input/output peripherals. Program memory
in the form of NOR flash or OTP ROM is also often included on
chip, as well as a typically small amount of RAM.
Microcontrollers are designed for embedded applications, in
contrast to the microprocessors used in personal or other
general purpose applications.
Microcontrollers are used in automatically controlled
products and devices, such as automobile engine control
systems, implantable medical devices, remote controls, office
machines, appliances, power tools, and toys. By reducing the
size and cost compared to a design that uses a separate
microprocessor, memory, and input/output devices,
microcontrollers make it economical to digitally control even
more devices and processes. Mixed signal microcontrollers are
common, integrating analog components needed to control
non-digital electronic systems.
1) The first and foremost criterion is that it must meet the task at
hand efficiently and cost effectively. In analyzing the needs of a
microcontroller-based project, it is seen whether an 8- bit, 16-bit or
32-bit microcontroller can best handle the computing needs of the
task most effectively. Among the other considerations in this
category are:
(a) Speed: The highest speed that the microcontroller
supports.
(b) Packaging: It may be a 40-pin DIP (dual inline
package) or a QFP (quad flat package), or some other
packaging format. This is important in terms of space,
assembling, and prototyping the end product.
(c) Power consumption: This is especially critical for
battery-powered products. (d) The number of I/O pins and
the timer on the chip.
(f) How easy it is to upgrade to higher –performance or lower
consumption versions. (g) Cost per unit: This is important
in terms of the final cost of the product in which a
microcontroller is used.
2) The second criterion in choosing a microcontroller is how easy it
is to develop products around it. Key considerations include the
availability of an assembler, debugger, compiler, technical
support.
3) The third criterion in choosing a microcontroller is its
ready availability in needed quantities both now and in the
future. Currently of the leading 8-bit microcontrollers, the
8051 family has the largest number of diversified suppliers. By
supplier is meant a producer besides the originator of the
microcontroller. In the case of the 8051, this has originated by
Intel several companies also currently producing the 8051.
Thus the microcontroller AT89S52, satisfying the criterion
necessary for the proposed application is chosen for the task.
DESCRIPTION:
The 8051 family of microcontrollers is based on an
architecture which is highly optimized for embedded control
systems. It is used in a wide variety of applications from
military equipment to automobiles to the keyboard. Second only to
the Motorola 68HC11 in eight bit processors sales, the 8051 family
of microcontrollers is available in a wide array of variations from
manufacturers such as Intel, Philips, and Siemens. These
manufacturers have added numerous features and peripherals to
the 8051 such as I2C interfaces, analog to digital converters,
watchdog timers, and pulse width modulated outputs. Variations of
the 8051 with clock speeds up to 40MHz and voltage
requirements down to 1.5 volts are available. This wide range of
parts based on one core makes the 8051 family an excellent
choice as the base architecture for a company's entire line of
products since it can perform many functions and developers will
only have to learn this one platform.
The AT89S52 is a low-power, high-performance CMOS 8-bit
microcontroller with
8K bytes of in-system programmable Flash memory. The device
is manufactured using Atmel’s high-density nonvolatile memory
technology and is compatible with the industry- standard 80C51
instruction set and pin out . The on-chip Flash allows the program
memory to be reprogrammed in-system or by a conventional
nonvolatile memory programmer. By combining a versatile 8-bit
CPU with in-system programmable Flash on a monolithic chip, the
Atmel AT89S52 is a powerful microcontroller which provides a
highly-flexible and cost- effective solution to many embedded
control applications. In addition, the AT89S52 is designed with
static logic for operation down to zero frequency and supports two
software selectable power saving modes. The Idle Mode stops the
CPU while allowing the RAM, timer/counters, serial port, and
interrupt system to continue functioning. The Power-down mode
saves the RAM con-tents but freezes the oscillator, disabling all
other chip functions until the next interrupt or hardware reset.
FEATURES:
The basic architecture of AT89C51 consists of the following
features:
• Compatible with MCS-51 Products
• Watchdog Timer
PIN DESCRIPTION
The most commonly used LCDs found in the market today are 1
Line, 2 Line or 4 Line LCDs which have only 1 controller and support
at most of 80 characters, whereas LCDs supporting more than 80
characters make use of 2 HD44780 controllers.
Most LCDs with 1 controller has 14 Pins and LCDs with 2 controller
has 16 Pins (two pins are extra in both for back-light LED
connections). Pin description is shown in the table below.
Specifications:
1.Transistor : SL-100
2. Diode- 1N4007
9.Power Supply
Unit
The ADC(0809 a 8 i/p ADC) receives the input from all five inputs
from all sensing units . the selection is made by the commands
given by the microcontroller . It will select one input at a time and
convert it to the digital code and give as input to microcontroller.
10. SOFTWARE
¾ A project manager.
¾ A make facility.
¾ Tool configuration.
¾ Editor.
¾ A powerful debugger.
Next, a file must be added to the project that will contain the
project code. To do this, expand the “Target 1” heading, right–click
on the “Source Group 1” folder, and select “Add files…” Create a
new blank file (the file name should end in “.asm”), select it,
and click “Add.” The new file should now appear in the “Project
Workspace” pane under the “Source Group 1” folder. Double-click
on the newly created file to open it in the editor. All code for this
lab will go in this file. To compile the program, first save all
source files by clicking on the “Save All” button, and then click
on the “Rebuild All Target Files” to compile the program as
shown in the figure below. If any errors or warnings occur during
compilation, they will be displayed in the output window at the
bottom of the screen. All errors and warnings will reference the
line and column number in which they occur along with a
description of the problem so that they can be easily located.
Note that only errors indicate that the compilation failed, warnings
do not (though it is generally a good idea to look into them
anyway).
10.1.4PERIPHERAL
SIMULATION
The µVision3 Debugger provides complete simulation for the
CPU and on-chip peripherals of most embedded devices. To
discover which peripherals of a device are supported, in µVision3
select the Simulated Peripherals item from the Help menu. You
may also use the web-based Device Database. We are
constantly adding new devices and simulation support for on-
chip peripherals so be sure to check Device Database often.
10.2PROGRAMME
R
START
B
INITIALISE THE ADC
Is clear
YES
Completed
NO
A
A
YES NO
SENSOR
THRESHOLD
CROSSED?
START
C
C
D
D
STOP
START
NO
IS YES
EOC =0? A
A
STOP
12.ADVANTAGES:
13.Disadvantages: