Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Batch6 Final PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 48

A Major Project Report

On

Speed control of single phase induction motor using Android


Bluetooth module
Submitted in partial fulfillment of the requirement for the award of the degree of
BACHELOR OF TECHNOLOGY IN ELECTRICAL AND ELECTRONICS
ENGINEERING
By
N. Thanmai 19251A0244
B. Ravali 19251A0215
V. Shanthi 19251A0259
S. Pooja 19251A0248
P. Shruthi 19251A0246

Under the guidance of

Mr. P. Sai Niranjan Kumar


(Assistant Professor, EEE Department)

Department of Electrical and Electronics Engineering

G. NARAYANAMMA INSTITUTE OF TECHNOLOGY AND SCIENCE


(For Women)

(AUTONOMOUS)

Accredited by NBA & NAAC

Approved by AICTE & Affiliated to JNTUH

HYDERABAD- 500104

APRIL-2023

i
G. NARAYANAMMA INSTITUTE OF TECHNOLOGY AND SCIENCE
(For Women)

Shaikpet, Hyderabad-500104

Department of Electrical and Electronics Engineering

CERTIFICATE
This is to certify that the major project report entitled, “SPEED CONTROL OF SINGLE
PHASE INDUCTION MOTOR USING ANDROID BLUETOOTH MODULE” that
is being submitted by
Ms. N. Thanmai (19251A0244)
Ms. B. Ravali (19251A0215)
Ms. V. Shanthi (19251A0259)
Ms. S. Pooja (19251A0248)
Ms. P. Shruthi (19251A0246)
in partial fulfillment of the requirements for the award of degree of BACHELOR OF
TECHNOLOGY in ELECTRICAL AND ELECTRONICS ENGINEERING from G.
NARAYANAMMA INSTITUTE OF TECHNOLOGY AND SCIENCE
(Autonomous) is a record of bonafide work carried out under our guidance and supervision
in the academic year 2022-2023.The results embedded in this thesis have not been
submitted to any other university or Institution for the award of any degree or diploma.

(Mr. P. Sai Niranjan Kumar) (Dr. N. Malla Reddy)


Assistant Professor, EEE Dept. Professor and HOD
Major project guide EEE Department

External Examiner

ii
ACKNOWLEDGEMENT

It gives immense pleasure to express our deep sense of gratitude to our guide,
Mr. P. Sai Niranjan Kumar, Assistant Professor, Department of EEE, for his valuable
suggestions, constant encouragement, cooperation and keen interest evinced throughoutthe
course of our major project.

Also, we extend our gratitude to Mr. G. Ramana Reddy, Associate Professor,


Department of EEE, Major project Coordinator, who has been very kind and patient while
suggesting the guidelines of the mini project and correcting the documents of thesame with
attention and care.

Our sincere thanks to Dr. N. Malla Reddy, Professor and HOD, Department of EEE,
for extending his support.

We would like to express our sincere thanks to Dr. K. Ramesh Reddy, Principal of
GNITS, for providing the working facilities in college. We would like to express our thanks
to all the faculty members, staff and all other people who have rendered their valuable help
in making this major project successful.

iii
TABLE OF CONTENTS

ABSTRACT vi

LIST OF FIGURES vii-viii

LIST OF TABLES ix

CHAPTER 1

1.1 Introduction 1-2

1.2 Project Overview 2

CHAPTER 2

2.1 Embedded systems 3-5

2.2 Need for Embedded Systems 5-7

2.2.1 Debugging 5-6

2.2.2 Network communication embedded systems 6-7

CHAPTER 3

3.1 Introduction with block diagram 8

3.2 Micro controller 9-13

3.2.1 Introduction 9-11

3.2.2 Major blocks of PIC Microcontroller 11

3.2.3 Pin description 11-13

3.3 Regulated Power Supply 13-17

3.3.1 Introduction 13-14

3.3.2 Components of RPS 14-17

3.4 LED Indicator 17-19

3.5 Bluetooth Module 19-20

3.6 TRIAC 20-22

3.6.1 Introduction 20-21

3.6.2 BT136 TRIAC 21-22

3.7 AC Motor 22-26

3.8 Zero crossing detector 26-29

iv
3.8.1 Introduction 26-27

3.8.2 Components of ZCD 27-29

CHAPTER 4

4.1 Algorithm 30-31

4.2 Code 31-32

4.3 Working 32

4.4 Project Description 33-34

CHAPTER 5

5.1 Advantages 35

5.2 Disadvantages 35

5.3 Applications 35

RESULT 36

FUTURE SCOPE 37

CONCLUSION 38

REFERENCES 39

v
ABSTRACT

The purpose of this project is to control the speed and direction of rotation of AC
Motor using Microcontroller and Bluetooth with android phone. This uses pulse width
modulation technique for speed controlling of AC motor.

Android is a software stack for mobile devices that includes an operating system,
middleware and key applications. Android boasts a healthy array of connectivity options,
including Wi-Fi, Bluetooth, and wireless data over a cellular connection (for example, GPRS,
EDGE (Enhanced Data rates for GSM Evolution) and 3G. An android provides access to a
wide range of useful libraries and tools that can be used to build rich applications.
Speed control is done using Zero crossing detection method along with traic
controlling. User can increase/decrease the speed of the AC motor through gentle smart
android mobile phone. The controlling device of the whole system is a Microcontroller. The
Microcontroller gets input from android mobile and acts accordingly on the AC motor speed.
The Microcontroller is programmed using Embedded C language.

This project uses regulated 5v, 500mA power supply. A three terminal voltage
regulator, 7805 is used for voltage regulation. Bridge type full wave rectifier is used to rectify
the ac output of 230/12 V step down transformer.

vi
LIST OF FIGURES
FIG. TITLE PAGE

NO NO.

2.1 A Modern example of Embedded System 4

2.2 Network communication embedded systems 7

3.1 Block diagram of AC induction motor speed controlling using smart 8


phone
3.2 Microcontroller PIC16F73 9

3.3 Pin Description of PIC16F73 12

3.4 Block diagram of Regulated power supply 14

3.5 14
Circuit diagram of Regulated power supply
3.6 16
Bridge-Full wave rectifier
3.7 17
Voltage regulator
3.8 18
Parts of LED
3.9 19
Electrical symbol & polarities of LED
3.10 19
Bluetooth module
3.11 21
TRIAC circuit diagram
3.12 21
BT136 TRIAC
3.13 23
AC motor (Top View & Front View)
3.14 24
Equivalent circuit diagram of split phase induction motor
3.15 25
Phasor diagram of split phase induction motor
3.16 25
Torque – speed characteristic of split phase motor
3.17 27
Circuit diagram of Zero Crossing Detector
3.18 27
Output waveform of ZCD
3.19 28
DB107 IC Bridge Rectifier
3.20 28
BC547 Transistor

vii
4.1 33
Schematic Diagram of AC Induction motor speed controlling using
smart phone
5.1 36
Project final structure

viii
LIST OF TABLES

TABLE NO. TITLE PAGE NO.

1 Speed of the motor (in rpm) when measured with 36


tachometer

ix
CHAPTER 1
1.1 Introduction

The project aims in designing a system which makes 230V AC motor speed control
through Android smart phone. The speed control of motor is done wirelessly through Android
smart phone using the Bluetooth feature present in it. Here in the project the Android smart
phone is used as a remote control for motor speed control.

Android is a software stack for mobile devices that includes an operating system,
middleware and key applications. Android boasts a healthy array of connectivity options,
including Wi-Fi, Bluetooth, and wireless data over a cellular connection (for example, GPRS,
EDGE (Enhanced Data rates for GSM Evolution), and 3G). Android provides access to a wide
range of useful libraries and tools that can be used to build rich applications. In addition,
Android includes a full set of tools that have been built from the ground up alongside the
platform providing developers with high productivity and deep insight into their applications.
Bluetooth is an open standard specification for a radio frequency (RF)-based, short-
range connectivity technology that promises to change the face of computing and wireless
communication. It is designed to be an inexpensive, wireless networking system for all classes
of portable devices, such as laptops, PDAs (personal digital assistants), and mobile phones. It
also enables wireless connections for desktop computers, making connections between
monitors, printers, keyboards, and the CPU cable-free.

The controlling device of the whole system is a Microcontroller. Bluetooth module,


Triac, Zero crossing detector, AC motor are interfaced to the Microcontroller. The data
received by the Bluetooth module from Android smart phone is fed as input to the controller.
The controller acts accordingly on the AC motor. A Triac and optically isolated Diac based
circuit controls the speed of the AC motor that operates at 230 Volts. This system employs a
zero crossing detector for smooth operation of speed control. The optical isolation system
safeguards the microcontroller-based system from high voltages. For achieving the task of
motor speed control, the controller is loaded with a program written using Embedded ‘C’
language.

1
The main objectives of the project are:

1. Controlling 230V AC motor wirelessly through mobile phone.

2. Usage of Android touch screen smart phone in performing the speed control operation
of single phase AC motor.

3. Using Triac and Zero crossing detection technique in speed control of single phase
AC motor.

1.2 Project Overview


An embedded system is a combination of software and hardware to perform a
dedicated task. Some of the main devices used in embedded products are Microprocessors
and Microcontrollers.

Microprocessors are commonly referred to as general purpose processors as they


simply accept the inputs, process it and give the output. In contrast, a microcontroller not only
accepts the data as inputs but also manipulates it, interfaces the data with various devices,
controls the data and thus finally gives the result.

The project “AC induction motor speed controlling using smart phone” using
PIC16F73 microcontroller is an exclusive project which is used to control the AC motor speed
based on zero crossing detector and TRIAC and display the motor speed on LCD display.

2
CHAPTER 2

2.1 Embedded Systems:


An embedded system is a computer system designed to perform one or a few
dedicated functions often with real-time computing constraints. It is embedded as part of a
complete device often including hardware and mechanical parts. By contrast, a general-
purpose computer, such as a personal computer (PC), is designed to be flexible and to meet a
wide range of end-user needs. Embedded systems control many devices in common use today.
Since the embedded system is dedicated to specific tasks, design engineers can optimize it to
reduce the size and cost of the product and increase the reliability and performance. Some
embedded systems are mass-produced, benefiting from economies of scale.

Embedded systems are controlled by one or more main processing cores that are
typically either microcontrollers or digital signal processors (DSP). The key characteristic,
however, is being dedicated to handle a particular task, which may require very powerful
processors. For example, air traffic control systems may usefully be viewed as embedded,
even though they involve mainframe computers and dedicated regional and national networks
between airports and radar sites (Each radar probably includes one or more embedded systems
of its own).

Physically embedded systems range from portable devices such as digital watches
and MP3 players, to large stationary installations like traffic lights, factory controllers, or the
systems controlling nuclear power plants. Complexity varies from low, with a single
microcontroller chip, to very high with multiple units, peripherals and networks mounted
inside a large chassis or enclosure.

In general, "embedded system" is not a strictly definable term, as most systems have
some element of extensibility or programmability. For example, handheld computers share
some elements with embedded systems such as the operating systems and microprocessors
which power them, but they allow different applications to be loaded and peripherals to be
connected. Moreover, even systems which do not expose programmability as a primary
feature generally need to support software updates. On a continuum from "general purpose"
to "embedded", large application systems will have subcomponents at most points even if the
system as a whole is "designed to perform one or a few dedicated functions", and is thus
appropriate to call "embedded".

3
Fig 2.1: A modern example of embedded system

Labelled parts in Fig 2.1 include microprocessor (4), RAM (6), and flash memory.
Embedded systems programming is not like normal PC programming. In many ways,
programming for an embedded system is like programming PC 15 years ago. The hardware
for the system is usually chosen to make the device as cheap as possible. Spending an extra
dollar on a unit in order to make things easier to program can cost millions. Hiring a
programmer for an extra month is cheap in comparison. This means the programmer must
make do with slow processors and low memory, while at the same time battling a need for
efficiency not seen in most PC applications.

Resources:

To save costs, embedded systems frequently have the cheapest processors that can
do the job. This means programs need to be written as efficiently as possible. When dealing
with large data sets, issues like memory cache misses which never matter in PC programming
can hurt. This will not happen too often- efficient algorithms need to be used reasonably to
start, and optimized only when necessary. Normal profilers will not work well, due to the
same reason debuggers do not work well.

Memory is also an issue. For the same cost savings reasons, embedded systems
usually have the least memory they can get away with. That means their algorithms must be
memory efficient (unlike in PC programs, you will frequently sacrifice processor time for
memory, rather than the reverse). It also means that leak memory cannot be afforded.
Embedded applications generally use deterministic memory techniques and avoid the default

4
"new" and "malloc" functions, so that leaks can be found and eliminated more easily. Other
resources programmers expect may not even exist. For example, most embedded processors
do not have hardware FPUs (Floating-Point Processing Unit). These resources either need to
be emulated in software, or avoided altogether.

Real Time Issues:

Embedded systems frequently control hardware, and must be able to respond to them
in real time. Failure to do so could cause inaccuracy in measurements, or even damage
hardware such as motors. This is made even more difficult by the lack of resources available.
Almost all embedded systems need to be able to prioritize some tasks over others, and to be
able to put off/ skip low priority tasks such as UI in favor of high priority tasks like hardware
control.

2.2 Need for Embedded Systems:


The uses of embedded systems are virtually limitless, because every day new
products are introduced to the market that utilizes embedded computers in novel ways. In
recent years, hardware such as microprocessors, microcontrollers, and field programmable
gate array (FPGA) chips have become much cheaper. So, when implementing a new form of
control, it is wiser to just buy the generic chip and write your own custom software for it.
Producing a custom-made chip to handle a particular task or set of tasks costs far more time
and money. Many embedded computers even come with extensive libraries, so that "writing
own software" becomes a very trivial task indeed. From an implementation viewpoint, there
is a major difference between a computer and an embedded system. Embedded systems are
often required to provide Real-Time response. The main elements that make embedded
systems unique are its reliability and ease in debugging.

2.2.1 Debugging:

Embedded debugging may be performed at different levels, depending on the


facilities available. From simplest to most sophisticate debugging, they can be roughly
grouped into the following areas:

• Interactive resident debugging, using the simple shell provided by the embedded
operating system (e.g., Forth and Basic).

• External debugging, using logging or serial port output to trace operation using either
a monitor in flash or using a debug server like the Remedy Debugger which even
works for heterogeneous multicore systems.

5
• An in-circuit debugger (ICD), a hardware device that connects to the microprocessor
via a JTAG or Nexus interface. This allows the operation of the microprocessor to be
controlled externally, but is typically restricted to specific debugging capabilities in
the processor.

• An in-circuit emulator replaces the microprocessor with a simulated equivalent,


providing full control over all aspects of the microprocessor.

• A complete emulator provides a simulation of all aspects of the hardware, allowing all
of it to be controlled and modified and allowing debugging on a normal PC.

• Unless restricted to external debugging, the programmer can typically load and run
software through the tools, view the code running in the processor, and start or stop
its operation. The view of the code may be as assembly code or source-code.

Because an embedded system is often composed of a wide variety of elements, the


debugging strategy may vary. For instance, debugging a software (and microprocessor)
centric embedded system is different from debugging an embedded system where most of the
processing is performed by peripherals (DSP, FPGA, co-processor). An increasing number of
embedded systems today use more than one single processor core. A common problem with
multi-core development is the proper synchronization of software execution. In such a case,
the embedded system design may wish to check the data traffic on the busses between the
processor cores, which requires very low-level debugging, at signal/bus level, with a logic
analyzer, for instance.

2.2.2 Network communication embedded systems:

A wide range network interfacing communication is provided by using embedded


systems. Few examples of embedded systems in network communications are listed below:

• Consider a web camera that is connected to the computer with internet can be used to
spread communication like sending pictures, images, videos etc.., to another computer
with internet connection throughout anywhere in the world.

• Consider a web camera that is connected at the door lock. Whenever a person comes
near the door, it captures the image of a person and sends to the desktop of your
computer which is connected to internet. This gives an alerting message with image
on to the desktop of your computer, and then you can open the door lock just by
clicking the mouse.

6
Fig 2.2: Network communication embedded systems

7
CHAPTER 3
3.1 Introduction with block diagram
In this chapter the block diagram of the project and design aspect of independent
modules are considered.

Fig 3.1: Block diagram of AC induction motor speed controlling using smart phone

The main blocks of this project are:

• Micro controller
• Regulater Power Supply
• Bluetooth module
• Triac
• AC motor
• LED indicators
• Zero crossing detector

8
3.2 Micro controller

Fig: 3.2 Microcontroller PIC16F73

3.2.1 Introduction:
The PIC16F73 CMOS FLASH-based 8-bit microcontroller is upward compatible
with the PIC16C73B/74B/76/77, PIC16F873/874/876/877devices. It features 200 ns
instruction execution, self-programming, an in-circuit debugging (ICD), 2 Comparators, 8
channels of 8-bit Analog-to-Digital (A/D) converter, 2 capture/compare/ pulse width
modulation (PWM) functions, a synchronous serial port that can be configured as either 3-
wire serial peripheral interface (SPI) or 2-wire inter integrated circuit (I2C) bus, a USART,
and a Parallel Slave Port.

Specifications

• Only 35 single-word instructions to learn

• All instructions are single cycle except for program branches which are two-cycle

• 8-level deep hardware stack

• Direct, Indirect and Relative Addressing modes for data and instructions

• Operating speed: up to 20 MHz clock speed, 200 ns instruction cycle time

• 4K x 14 words of Flash Program Memory

• 192 x 8 bytes of data memory (RAM)

• 28 I/O pins

Special Microcontroller Features:


• Watchdog Timer (WDT) with its own on-chip RC oscillator for reliable
operation

9
• Programmable code protection

• Power saving SLEEP mode

• Selectable oscillator options

• In-Circuit Serial Programming via two Pins

Peripheral Features:
• Timer0: 8-bit timer/counter with 8-bit prescaler

• Timer1: 16-bit timer/counter with prescaler, can be incremented during SLEEP via

• external crystal/clock

• Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler

• Two Capture, Compare, PWM modules

• Capture is 16-bit, max resolution is 12.5 ns

• Compare is 16-bit, max resolution is 200 ns

• PWM max resolution is 10-bit

• 8-bit, up to 8-channel Analog-to-Digital converter

• Synchronous Serial Port (SSP) with SPI (Master mode) and I2C (Slave)

• Universal Synchronous Asynchronous Receiver Transmitter (USART/SCI)

• Parallel Slave Port (PSP), 8-bits wide with external RD, WR and CS controls (40/44-
pin Only)

• Brown-out detection circuitry for Brown-out Reset (BOR)

Analog Comparator module

• 2 analog comparators

• Programmable on-chip voltage reference module

• Programmable input multiplexing from device inputs and internal VREF

• Comparator outputs are externally accessible

CMOS Technology:

• Low power, high speed CMOS FLASH technology

• Fully static design

• Wide operating voltage range: 2.0V to 5.5V


10
• High Sink/Source Current: 25 mA

• Industrial temperature range

• Low power consumption:

• < 2 mA typical @ 5V, 4 MHz

• 20 μA typical @ 3V, 32 kHz

• < 1 μA typical standby current

3.2.2 Major blocks of PIC Microcontroller:

Program memory (FLASH): It is used for storing a written program.


Since memory made in FLASH technology can be programmed and cleared more
than once, it makes this microcontroller suitable for device development.
EEPROM: data memory that needs to be saved when there is no supply.

It is usually used for storing important data that must not be lost if power supply
suddenly stops. For instance, one such data is an assigned temperature in temperature
regulators. If during a loss of power supply this data was lost, we would have to make the
adjustment once again upon return of supply. Thus, the device loses self-reliance.
RAM: Data memory used by a program during its execution.

RAM stores all inter-results or temporary data during run-time.

PORTS:

Ports are physical connections between the microcontroller and the outside world.
PIC16F73 has 28 I/O. There are 5 input/output ports on PIC microcontroller namely port A,
port B, port C, port D and port E. Each port has different function. Most of them can be used
as I/O port.

Crystal oscillator:

The crystal oscillator speed that can be connected to the PIC microcontroller range
from DC to 20Mhz. Using the common command set (CCS) C compiler, normally 20 MHz
oscillator will be used and the price is very cheap. The 20 MHz crystal oscillator should be
connected with about 22pF capacitor.

3.2.3 Pin description:

PIC16F73 has a total of 28 pins. It is most frequently found in a Dual in Package


(DIP) 28 type of case but can also be found in Surface mount devices (SMD) case which is
11
smaller from a DIP. SMD Devices suggests that holes for pins to go through when mounting
aren't necessary in soldering this type of a component.

Fig: 3.3 Pin Description of PIC16F73

Pin description of PIC16F73 microcontroller:


There are 28 pins on PIC16F73. Most of them can be used as an I/O pin. Others
are already for specific functions. These are the pin functions.
1. MCLR – to reset the PIC
2. RA0 – port A pin 0
3. RA1 – port A pin 1
4. RA2 – port A pin 2
5. RA3 – port A pin 3
6. RA4 – port A pin 4
7. RA5 – port A pin 5
8. VSS – ground
9. OSC1 – connect to oscillator
10. OSC2 – connect to oscillator
11. RC0 – port C pin 0
12
12. RC1 – port C pin 1
13. RC2 – port C pin 2
14. RC3 – port C pin 3
15. RC4 - port C pin 4
16. RC5 - port C pin 5
17. RC6 - port C pin 6
18. RC7 - port C pin 7
19. VSS - ground
20. VDD – power supply
21. RB0 - port B pin 0
22. RB1 - port B pin 1
23. RB2 - port B pin 2
24. RB3 - port B pin 3
25. RB4 - port B pin 4
26. RB5 - port B pin 5
27. RB6 - port B pin 6
28. RB7 - port B pin 7

By utilizing all of this pin so many application can be done such as:
1. LCD – connect to Port B pin.
2. LED – connect to any pin declared as output.
3. Relay and Motor - connect to any pin declared as output.
4. External EEPROM – connect to I2C interface pin – RC3 and RC4 (SCL and SDA)
5. LDR, Potentiometer and sensor – connect to analogue input pin such as RA0.
6. GSM modem dial up modem – connect to RC6 and RC7 – the serial communication
interface using RS232 protocol

3.3 REGULATED POWER SUPPLY:


3.3.1 Introduction:

A device or system that supplies electric power or other types of energy to an


output load or group of loads is called a power supply unit (PSU). The term is most
commonly applied to electrical energy supplies, less often to mechanical ones, and rarely to
others. A power supply may include a power distribution system as well as primary or
secondary sources of energy.

13
Block Diagram:

Fig 3.4 Block diagram of Regulated power supply

The basic circuit diagram of a regulated power supply giving DC output voltage,
with led connected to the load:

Fig 3.5 Circuit diagram of Regulated power supply

The components mainly used in above figure are

• 230V AC Mains

• Transformer

• Bridge rectifier(Diodes and IC version)

• Capacitor

• Voltage regulator(IC 7805)

• Resistor

3.3.2 Components of RPS

Transformers:

A transformer is a device that transfers electrical energy between two electrically


isolated circuits through inductively coupled conductors without changing its frequency. A

14
varying current in the first or primary winding creates a varying magnetic flux in the
transformer's core, and thus a varying magnetic field through the secondary winding. This
varying magnetic field induces a varying electromotive force (EMF) or voltage in the
secondary winding. This effect is called mutual induction.

There are two types of transformers:

• Step Up transformer: In case of step up transformer, primary windings are every less
compared to secondary winding. Because of having more turns secondary winding
accepts more energy, and it releases more voltage at the output side.
• Step down transformer: In case of step down transformer, Primary winding induces
more flux than the secondary winding, and secondary winding is having less number
of turns because of that it accepts less number of flux, and releases less amount of
voltage.

Rectifiers:

A rectifier is an electrical device that converts alternating current (AC) to direct


current (DC), the process known as rectification. Rectifiers have many uses including as
components of power supplies and as detectors of radio signals. Rectifiers may be made of
solid-state diodes, vacuum tube diodes, mercury arc valves, and other components.

Bridge full wave rectifier:

The Bridge rectifier converts an ac voltage to dc voltage using both half cycles of the
input ac voltage. The Bridge rectifier circuit is shown in the figure. The circuit has four diodes
connected to form a bridge. The ac input voltage is applied to the diagonally opposite ends of
the bridge. The load resistance is connected between the other two ends of the bridge. For the
positive half cycle of the input ac voltage, diodes D1 and D3 conduct, whereas diodes D2 and
D4 remain in the OFF state. The conducting diodes will be in series with the load resistance
RL and hence the load current flows through RL. For the negative half cycle of the input ac
voltage, diodes D2 and D4 conduct whereas, D1 and D3 remain OFF. The conducting diodes
D2 and D4 will be in series with the load resistance RL and hence the current flows through
RL in the same direction as in the previous half cycle. Thus a bi-directional wave is converted
into a unidirectional wave.

15
Input Output

Fig 3.6: Bridge-Full wave rectifier

Filtration:

The process of converting a pulsating direct current to a pure direct current, without
pulses using filters is called as filtration.

Filters:

Electronic filters are electronic circuits, which perform signal-processing functions,


specifically to remove unwanted frequency components from the signal, to enhance wanted
ones.

Capacitors:

The Capacitor or Condenser is a passive device, and one which stores energy in the
form of an electrostatic field which produces a potential (static voltage) across its plates. In
its basic form, a capacitor consists of two parallel conductive plates that are not connected but
are electrically separated either by air or by an insulating material called the Dielectric. When
a voltage is applied to these plates, a current flows charging up the plates with electrons giving
one plate a positive charge and the other plate an equal and opposite negative charge. This
flow of electrons to the plates is known as the Charging Current and continues to flow until
the voltage across the plates (and hence the capacitor) is equal to the applied voltage Vcc. At
this point the capacitor is said to be fully charged.

Regulation:

The process of converting a varying voltage to a constant regulated voltage is called


as regulation. For the process of regulation we use voltage regulators.
16
Voltage Regulator:

A voltage regulator (also called a ‘regulator’) with three terminals appears to be a


simple device, but it is in fact a very complex integrated circuit. It converts a varying input
voltage into a constant ‘regulated’ output voltage. Voltage Regulators are available in a
variety of output voltages like 5V, 6V, 9V, 12V and 15V.

Fig 3.7: Voltage Regulator

Resistors:

A resistor is a two-terminal electronic component that produces a voltage across its


terminals that is proportional to the electric current passing through it, in accordance with
Ohm's law. Mathematically Ohm’s law is represented as V = IR.

3.4 LED Indicator:

A light-emitting diode (LED) is a semiconductor light source. LEDs are used as


indicator lamps in many devices, and are increasingly used for lighting. Introduced as a
practical electronic component in 1962, early LEDs emitted low-intensity red light, but
modern versions are available across the visible, ultraviolet and infrared wavelengths, with
very high brightness

17
.

Fig 3.8: Parts of LED

Working of LED:

The structure of the LED light is completely different than that of the light bulb.
Amazingly, the LED has a simple and strong structure. The light-emitting semiconductor
material is what determines the LED's colour. The LED is based on the semiconductor diode.
When a diode is forward biased (switched on), electrons are able to recombine with holes
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 gap of the semiconductor. An LED is usually small in area (less
than 1 mm2), and integrated optical components are used to shape its radiation pattern and
assist in reflection. LEDs present many advantages over incandescent light sources including
lower energy consumption, longer lifetime, improved robustness, smaller size, faster
switching, and greater durability and reliability. However, they are relatively expensive and
require more precise current and heat management than traditional light sources. Current LED
products for general lighting are more expensive to buy than fluorescent lamp sources of
comparable output. They also enjoy use in applications as diverse as replacements for
traditional light sources in automotive lighting (particularly indicators) and in traffic signals.
The compact size of LEDs has allowed new text and video displays and sensors to be
developed, while their high switching rates are useful in advanced communications
technology.

18
Fig 3.9: Electrical symbol & polarities of LED

3.5 Bluetooth Module

Introduction:

HC‐05 module is an easy to use Bluetooth Serial Port Protocol (SPP) module,
designed for transparent wireless serial connection setup. The HC-05 Bluetooth Module can
be used in a Master or Slave configuration. The slave modules cannot initiate a connection to
another Bluetooth device, but can accept connections. Master module can initiate a connection
to other devices. The user can use it simply for a serial port replacement to establish
connection between microcontroller unit (MCU) and global positioning system (GPS),
personal computer (PC) to the embedded project.

Fig 3.10: Bluetooth module


19
PIN DESCRIPTION:

The HC-05 Bluetooth Module has 6 pins. They are as follows:

• ENABLE: When enable is pulled LOW, the module is disabled which means the
module will not turn on and it fails to communicate. When enable is left open or
connected to 3.3V, the module is enabled i.e. the module remains on and
communication also takes place.

• Vcc: Supply Voltage 3.3V to 5V

• GND: Ground pin

• TXD & RXD: These two pins acts as an UART interface for communication.

• STATE: It acts as a status indicator. When the module is not connected to / paired
with any other Bluetooth device, signal goes Low. At this low state, the led flashes
continuously which denotes that the module is not paired with other device. When this
module is connected to/ paired with any other Bluetooth device, the signal goes High.
At this high state, the led blinks with a constant delay say for example 2s delay which
indicates that the module is paired.

• BUTTON SWITCH: This is used to switch the module into AT command mode. To
enable AT command mode, press the button switch for a second. With the help of AT
commands, the user can change the parameters of this module but only when the
module is not paired with any other BT device. If the module is connected to any other
Bluetooth device, it starts to communicate with that device and fails to work in AT
command mode.

3.6 TRIAC

3.6.1. Introduction

A TRIAC (“Triode for Alternating Current) is an electronic component


equivalent to two silicon-controlled rectifiers (SCRs/thyristors) joined in anti-parallel
(paralleled but with the polarity reversed) and with their gates connected together. The formal
name for a TRIAC is bidirectional triode thyristor. This results in a bidirectional electronic
switch, which can conduct current in either direction when it is triggered (turned on) and thus
doesn't have any polarity. It can be triggered by either a positive or a negative voltage being
applied to its gate electrode (with respect to A1, otherwise known as MT1).

Once triggered, the device continues to conduct until the current through it drops
20
below a certain threshold value, the holding current, such as at the end of a half-cycle of
alternating current (AC) power. This makes the TRIAC a very convenient switch for AC
circuits, allowing the control of very large power flows with milli ampere-scale control
currents. In addition, applying a trigger pulse at a controllable point in an AC cycle allows
one to control the percentage of current that flows through the TRIAC to the load (phase
control).

Fig 3.11: TRIAC circuit diagram

3.6.2 BT136 TRIAC

BT136 is a type of electronic component, which is a traic. It is a high-power


semiconductor device with a four-layer structure with three PN junctions, which is generally
formed by reversely connecting two thyristors. Its functions include rectifying, to be used as
a non-contact switch to quickly turn on or off the circuit, realize the inversion of the direct
current into the alternating current, the alternating current of one frequency into the alternating
current of another frequency, and so on. The thyristor, like other semiconductor devices, has
the advantages of small size, high efficiency, good stability, and reliable operation. With its
emergence, semiconductor technology has moved from the weak current field to the strong
current field, and has become a component used in industries, agriculture, transportation,
military, scientific research, as well as commercial and civilian electrical appliances.

Fig 3.12: BT136 TRIAC


21
BT136 Features:

• Direct triggering from low power drivers and logic ICs.

• High blocking voltage capability.

• Low holding current for low current loads and lowest electromagnetic interference
(EMI) at commutation.

• Planar passivated for voltage ruggedness and reliability.

• Sensitive gate.

• Triggering in all four quadrants.

BT136 Applications:

• General purpose motor control

• General purpose switching

BT136 Advantages:

• The BT136 is TRIAC with 4A maximum terminal current.

• The gate threshold voltage of the BT136 is very less so can be driven by digital
circuits.

• Since TRIACs are bi-directional switching devices, they are commonly used for
switching AC applications.

• In switch control (dim, speed control) of an AC load which consumes less than 6A
with a digital device like microcontroller or microprocessor, BT136 is used.

• This sensitive gate "series E" traic is intended to be interfaced directly to


microcontrollers, logic integrated circuits and other low power gate trigger circuits.

3.7 AC Motor

Single-phase AC supply is given to the stator winding (main winding). The


alternating current flowing through the stator winding produces magnetic flux. This flux is
known as the main flux.

22
Fig 3.13: AC motor (Top View & Front View)

Stator of Single-Phase Induction Motor


The stator of the single-phase induction motor has laminated stamping to reduce
eddy current losses on its periphery. The slots are provided on its stamping to carry stator or
main winding. Stampings are made up of silicon steel to reduce the hysteresis losses. When
we apply a single phase AC supply to the stator winding, the magnetic field gets produced,
and the motor rotates at speed slightly less than the synchronous speed Ns. Synchronous speed
Ns is given by

𝑁𝑠 = 120𝑓/𝑃

where,

f = supply voltage frequency,

P = No. of poles of the motor.

Rotor of Single-Phase Induction Motor


The construction of the rotor of the single-phase induction motor is similar to the
squirrel cage three-phase induction motor. The rotor is cylindrical and has slots all over its
periphery. The slots are not made parallel to each other but are a little bit skewed as the
skewing prevents magnetic locking of stator and rotor teeth and makes the working of
induction motor more smooth and quieter (i.e., less noisy). Once the motor starts running, we
can remove the additional flux. The motor will continue to run under the influence of the main
flux only. Depending upon the methods for making asynchronous motor as Self Starting
Motor, there are mainly four types of single phase induction motor namely,

1. Split phase induction motor,

2. Capacitor start inductor motor,

3. Capacitor start capacitor run induction motor,

4. Shaded pole induction motor.

23
5. Permanent split capacitor motor or single value capacitor motor.

Split Phase Induction Motor:


The Split Phase Motor is also known as a Resistance Start Motor. It has a single cage rotor,
and its stator has two windings known as main winding and starting winding. Both the
windings are displaced 90 degrees in space. The main winding has very low resistance and a
high inductive reactance whereas the starting winding has high resistance and low inductive
reactance. The connection diagram of the motor is shown below:

Fig 3.14: Equivalent circuit diagram of split phase induction motor

A resistor is connected in series with the auxiliary winding. The current in the two
windings is not equal as a result, the rotating field is not uniform. Hence, the starting torque
is small, of the order of 1.5 to 2 times the stated running torque. At the starting of the motor
both the windings are connected in parallel.

As soon as the motor reaches the speed of about 70 to 80 % of the synchronous speed
the starting winding is disconnected automatically from the supply mains. If the motors are
rated about 100 Watt or more, a centrifugal switch is used to disconnect the starting winding
and for the smaller rating motors relay is used for the disconnecting of the winding.

A relay is connected in series with the main winding. In the starting, the heavy
current flows in the circuit, and the contact of the relay gets closed. Thus, the starting winding
is in the circuit, and as the motor attains the predetermined speed, the current in the relay starts
decreasing. Therefore, the relay opens and disconnects the auxiliary winding from the supply,

24
making the motor runs on the main winding only.

The phasor diagram of the Split Phase Induction Motor is shown below:

Fig 3.15: Phasor diagram of Split Phase Induction Motor

The current in the main winding (IM) lags behind the supply voltage V almost by
the 90-degree angle. The current in the auxiliary winding IA is approximately in phase with
the line voltage. Thus, there exists a time difference between the currents of the two windings.
The time phase difference ϕ is not 90 degrees, but of the order of 30 degrees. This phase
difference is enough to produce a rotating magnetic field.

The Torque Speed Characteristic of the Split Phase motor is shown below:

Fig 3.16: Torque Speed Characteristic of the Split Phase motor


25
Here, n0 is the point at which the centrifugal switch operates. The starting torque of
the resistance start motor is about 1.5 times the full load torque. The maximum torque is about
2.5 times the full load torque at about 75% of the synchronous speed. The starting current of
the motor is high about 7 to 8 times the full load value.

The direction of the Resistance Start motor can be reversed by reversing the line
connection of either the main winding or the starting winding. The reversal of the motor is
possible at the standstill condition only.

Specifications:

• Size: (120 x 120 x 38 mm) 4.69 x 4.69 x 1.5 inches

• Operating voltage (VAC): 220V (50Hz)

• Construction: aluminum dies cast frame;

• UL94V-0 PBT impeller

• Bearing option: motor quality ball bearings or sintered bronze sleeve

• Motor: shaded pole

• Air flow: exhaust over struts

• Connection: terminal or 22 AWG lead wire

• Protection: impedance

• Option: IP55; IP55 + salt fog

3.8 Zero crossing detector


3.8.1 Introduction

The Zero crossing detector (ZCD) is a device for detecting the point where the
voltage crosses zero in either direction. As shown in the above circuit diagram the first section
is a bridge rectifier, which provides full wave rectified output. This is applied to the base of
the transistor through a base resistor, R2. The capacitor charges to maximum of the bridge
rectified output through the diode, D5. This charge is available to the transistor as VCC. The
capacitance value is kept large in order to minimize ripple and get perfect dc. The transistor
remains OFF until the Cut-in voltage VBE is reached. During the OFF period of the transistor
the output will be high and approximately equal to VCC. Once the transistor is ON and IB
increases according to the input wave, the transistor moves slowly towards saturation where
the output reduces to the saturation voltage of the transistor which is nearly equal to zero.

Initially VBE = Cut-in voltage of diode, the capacitor will charge through the diode
26
Vm where Vm is the maximum amplitude of the rectified wave. Now the diode is reverse
biased and hence does not provide a discharging path for the capacitor, which in turn has two
effects.

1. Variation in VCC.

2. It will provide base current to the transistor in the region where both diode and
transistor are OFF.

Thus an output square wave is produced whenever the input voltage crosses zero
thereby acting as a zero crossing detector.

Fig 3.17: Circuit diagram of zero crossing detector

The output waveform may be observed in the waveform viewer.

Fig 3.18: Output waveform of ZCD

3.8.2 Components of ZCD:

DB107:

Now -a -days Bridge rectifier is available in IC with a number of DB107. In this


27
project IC version of bridge rectifier is used, because of space constraints.

Fig 3.19: DB107 IC Bridge Rectifier

Features of DB107:

• Good for automation insertion.

• Surge overload rating - 30 amperes peak.

• Ideal for printed circuit board.

• Reliable low cost construction.

• Glass passivized device.

• Polarity symbols molded on body.

• Mounting position: Any.

• Weight:1.0gram.

BC547:

BC547 is a NPN transistor hence the collector and emitter will be left open (Reverse
biased) when the base pin is held at ground and will be closed (Forward biased) when a signal
is provided to base pin.

Fig 3.20: BC547 Transistor


28
BC547 Transistor Features:
• Bi-Polar NPN Transistor

• DC Current Gain (hFE) is 800 maximum

• Continuous Collector current (IC) is 100mA

• Emitter Base Voltage (VBE) is 6V

• Base Current (IB) is 5mA maximum

• Available in To-92 Package

BC547 transistor has a gain value of 110 to 800, this value determines the
amplification capacity of the transistor. The maximum amount of current that could
flow through the Collector pin is 100mA, hence we cannot connect loads that consume
more than 100mA using this transistor. To bias a transistor, we have to supply current
to base pin, this current (IB) should be limited to 5mA.

29
CHAPTER 4
4.1 Algorithm

start

Define triac connected


pin of MC

Define transmitter and


receiver pins of MC for
data transfer from
bluetooth

Define delay variable


‘alpha’

Read input from


Bluetooth module ‘ch’

Yes No
If
ch=4
Yes No
Set alpha = 6000 If
ch=3
Yes No
Set alpha = 7000 If
ch=2
Yes No
Set alpha = 8000 If
ch=1

Set alpha = 9000


If
ch=0
Yes

Set alpha = 10000

Delay of alpha Ms

30
Give output - high to triac
connected pin

Delay of 200 microseconds

Give output- low to triac


connected pin

4.2 Code

#define atriac_gate PIN_A5


#include <16F73.h>
#use rs232 (baud = 9600, xmit=PIN_C6,rcv=PIN_C7,stream=BT)
void main()
{
unsigned long alpha;
delay_ms(1000);
output_high(PIN_C4);
delay_ms(1000);
output_low(PIN_C4);
delay_ms(1000);
output_high(PIN_C4);
delay_ms(1000);
output_low(PIN_C4);
delay_ms(1000);
while(1);
if(kbhit(BT))
{
ch = fgetc(BT);
if(ch == '4')
{
alpha = 6000;
}
if(ch == '3')

31
{
alpha = 7000;
}
if(ch == '2')
{
alpha = 8000;
}
if(ch == '1')
{
alpha = 9000;
}
if(ch == '0')
{
alpha = 10000;
}
}
delay_us(alpha);
output_high(atriac_gate);
delay_us(200);
output_low(atriac_gate);
}

4.3 Working

• On giving 230 V single phase AC supply, LED indicators of the boards glow,
indicating the circuit is in working condition.

• Mobile phone should be paired with Bluetooth module using “Bluetooth terminal
HC05” application.

• On receiving the ‘Character’ ranging from 0-4 through mobile phone, Bluetooth
sends signal to microcontroller. Input from Bluetooth is stored in microcontroller.

• ZCD on receiving supply detects the “zero” of AC waveform and ZCD sends pulse
to microcontroller.

• On receiving pulses from ZCD circuit, microcontroller triggers TRIAC.

• TRIAC triggers using pulse width modulation technique and sends voltage
respective to the character entered to induction motor.

• Induction motor’s speed is either increased or decreased based on the amount of


voltage received. Hence speed of induction motor is controlled.
32
4.4 Project Description

Schematic diagram and interfacing of PIC16F73 microcontroller with each module


is considered.

Fig 4.1: Schematic diagram of AC induction motor speed controlling using smart
phone

33
The above schematic diagram of AC induction motor speed controlling using
smart phone explains the interfacing section of each component with micro controller and
motor speed control. Bluetooth module is connected to C6, C7 pins. Crystal oscillator
connected to 9th and 10th pins of micro controller, regulated power supply is connected to
microcontroller with the help of capacitor to maintain constant 5V DC supply to the
microcontroller. LED’s are connected to micro controller through resistors to indicate the
proper working condition of the device. A5 output pin is connected to traic circuit through
220 ohm resistor, which triggers the traic using pulse width modulation technique based on
the character entered from mobile phone paired by bluetooth module.

34
CHAPTER 5
5.1 Advantages
1. Efficient and low cost design.

2. Easily operable.

3. Fast response with the help of Triac.

4. Low power consumption.

5. Wireless controlling of AC motor.

6. Using Bluetooth mobile application to control the AC motor.

5.2 Disadvantages
1. Interfacing Triac to Micro Controller is highly sensitive.

2. Bluetooth wireless communication supports only for limited distance.

5.3 Applications
1. Industrial machinery
2. Households items like Television (TV), refrigerator, air conditioner (AC)
3. Agriculture Motors
4. Water pumps

35
RESULT
The speed of the AC motor is measured using tachometer. Speed control is done
using Zero crossing detection method along with traic controlling. User can increase/decrease
the speed of the AC motor through smart android mobile phone. The controlling device of the
whole system, microcontroller, which is programmed using Embedded C language, gets input
from android mobile and acts accordingly on the AC motor speed.

Fig 5.1: Project final structure

TABLE 1: Speed of the motor (in rpm) when measured with tachometer

36
FUTURE SCOPE
We can add LCD display and IR sensor to this project to display the speed of AC
induction motor on LCD display. The main drawback of the system is the Bluetooth wireless
communication supports only for limited distance. This can be eliminated using GSM
technology which can increase the distance of operation. The project can also be extended by
using Dual tone multi frequency (DTMF) technology we can increase or decrease the motor
speed control.

37
CONCLUSION
All the hardware components for implementing speed control of single-phase
induction motor using android mobile phone are chosen and integrated. Usage of
microcontroller, traic control and zero crossing detection technique provides an opportunity
for sensitive operation of the motor at varying speeds. With the help of growing technology,
highly advanced IC’s are included and the project has been successfully implemented. The
project has been successfully designed and tested.

38
REFERENCES

[1] A Review on Speed Control Techniques of Single Phase Induction Motor Atul M. Gajare1,
Nitin R. Bhasme2

[2] Microcontroller based speed control of three phase induction motor using v/f method
Mrs.Deepali S.Shirke, Prof. Mrs.Haripriya, H.Kulkarni Electrical Dept. PES’s Modern
College of Engg. Pune

[3] “Thyristor controlled power for induction motor (ISSN 2319-9725)” from international
journal of innovative research & studies by Devendrakumar Shukla &Sudhanshu Tripathi.

[4] “Speed control of single phase induction motor using AC chopper by asymmetrical PWM
method” from IJAREEIE by R. Suneeth and P. Usha.

[5] “Speed control of induction motor using TRIAC” by Prachi M. Palpankar, Sanraj Harle,
Tushar Karade, Suraj Lekurwale.

[6] “Speed control of single phase AC induction motor using microcontroller” from IJERA
by Chaitanya N. Jibhakate, Asst. Prof. Vijaya Huchhe.

[7] “Development of single phase induction motor adjustable speed control using
M68HC11E-9 microcontroller” from journal of applied sciences by Senan M. Bashi, I. Aris
and S. H. Harmad.

[8] “Speed control and Monitoring of AC motor by wireless communication using DTMF
decoder technique” form international journal of engineering and science by Asst. Prof. Burali
Y. N and Patil R. T.

[9] Koji Namihana, Masayoshi Sato: “New control method of three-phase induction motor”,
RENGA No.159,pp.23-28 (1999)

[10] A.C.Krishna,K.Karthik,S.Sidharth, Project Report on “Speed Control of single phase


induction motor By using Triac” of GRI of Engineering Heydrabad.2012

[11] Power Electronics By M D SINGH And K B KHANCHANDANI Tata McGraw Hill


Publishing Company, 1998

39

You might also like