Full Hall Effect EL Report
Full Hall Effect EL Report
Submitted by
YASHVANTH B L – 1RV22AI063
P SHREYAS – 1RV22AI036
ALLAN SALDANHA – 1RV22AI006
ABHINAV – 1RV22AI001
Submitted to
Dr. Niranjana K M (22PY22C)
Prof. Somesh Nandi (22CS23)
Prof. Hemanth Kumar B (22MA21C)
Table of Contents
10. References 16
Introduction
1
Literature Review
2
readers to
replicate the
systems.
3
Aman A low-cost wheel Indian Journal ● Hall effect
Mahore, H L slip measurement of Agricultural 1.The paper presents a sensor was
Kushwaha, device for Sciences, March low-cost wheel slip found the best
Adarsh Kumar agricultural tractors 2022 measurement device for for measurement
and Tapank agricultural tractors. The of rotational
Khura device consists of a Hall speed under
effect sensor, a
different
microcontroller, and an
working
indicator. The Hall effect
sensor is used to
conditions of
measure the rotational light and dust.
speed of the tractor ● The results
wheel. The obtained from
microcontroller is used the developed
to calculate the wheel device showed
slip. The indicator is that the values
used to display the wheel
were statistically
slip value to the tractor
close to actual
operator.
2.The authors tested the
values.
device on three different
types of agricultural
tractors: a 2WD tractor,
a 4WD tractor, and a
4WD tractor with a
PTO-driven implement.
The results showed that
the device was able to
accurately measure the
wheel slip of all three
tractors. The average
error of the device was
2.5%.
4
Problem Statement:
Harnessing the versatility of tachometers to achieve RPM optimization through an
innovative and effective Hall Effect sensor-based sustainable approach.
Tachometers are known for their versatility as they can be integrated into various types
of machinery and systems. They provide real-time data on RPM, which is essential for
monitoring and controlling operations. However, the challenge lies in harnessing this
versatility to achieve optimal RPM levels.
RPM optimization is crucial for several reasons. Operating machinery at the right RPM
ensures maximum efficiency, minimizes wear and tear on components, reduces energy
consumption, and often results in lower emissions. Achieving the optimal RPM
requires a precise and adaptable approach that can cater to different operational
conditions and requirements.
Hall Effect sensors are known for their reliability and accuracy in detecting changes in
magnetic fields, making them suitable for RPM measurement. The use of these sensors
can lead to more sustainable operations in various ways:
Objectives
5
Working Principle
Methodology
Mount the Hall effect sensor near the hub of the propeller assembly and ensure
that the sensor is oriented so that the magnetic field lines from the rotating
blades pass through the sensor in a perpendicular direction.
Connect the output of the Hall sensor to the input of the Arduino board and set
up the microcontroller development environment.
Read the analog signal from the conditioned output of the Hall effect sensor
using the microcontroller's analog-to-digital converter (ADC) inputs. Convert
the analog signal to a digital value.
Calculate the time between consecutive high and low transitions of the digital
signal. This time interval corresponds to one complete rotation of the propeller.
RPM is calculated using the formula: RPM = (60 / Time) * Number of Blades
Set an optimal RPM range based on the specific application's requirements and
efficiency characteristics. Compare the calculated RPM with the optimal RPM
range.
If the calculated RPM is outside the optimal range, trigger corresponding LED
and buzzer alarms.
Simultaneously, a motor driver is used to adjust the rotational speed of the
propeller.
Depending on the application, RPM can be adjusted through appropriate
means:
a) In a propeller-driven vehicle, adjust the engine throttle.
b) In a wind turbine, adjust the pitch angle of the blades.
6
Implement a feedback loop to continuously monitor RPM and make real-time
adjustments.
Requirement
Analysis and
Procurement of • PHASE I
necessary
components
Designing, Modelling
and Testing of the • PHASE II
Prototype
Optimization,
Troubleshooting and
Assembly of final • PHASE III
model
CIRCUIT DIAGRAM
7
Components in Physics
8
Components in Mathematics
● Frequency-to-RPM Conversion:
A mathematical relationship is obtained between the frequency of the sensor
signal (measured using a microcontroller's timer) and the RPM of the propeller.
Hence, a scale can be devised as follows:
● RPM Calculation:
The time between consecutive high and low transitions of the digital signal is
calculated. This time interval corresponds to one complete rotation of the
propeller. Calculations of RPM can be done using the formula:
where: Ns is the specific speed, Q is the flow rate (m3/s), H is the head (m), g is
the acceleration due to gravity (9.81 m/s2), D is the impeller diameter (m)
9
• Affinity laws: The affinity laws are a set of equations that relate the performance
of a centrifugal pump to its speed, impeller diameter, and head.
where k, k', and k'' are constants that depend on the design of the pump.
For example, let's say we have a centrifugal pump with a specific speed of 100. We
need the pump to move 10 m3/s of water against a head of 10 meters. Using the affinity
laws, we can calculate that the RPM range that will meet the flow rate and head
requirements is 1000 to 1200 RPM.
10
Components in PIC
● Sensor Interface:
Embedded C programming is used to read analog signals from the Hall effect
sensor through the microcontroller's ADC pins.
Functions such as readSensor(sensorPin) which takes input signals from the output
of the Hall effect sensor and reads these values into the microcontroller memory,
are some examples of functions used in sensor interfacing.
● RPM Calculation Logic:
The logic to calculate RPM is coded using the formula derived from the
mathematical component.
While loops and functions like initialiseTimer(), calculateRPM() are used in the
RPM calculation logic. They return values which are further used as arguments in
upcoming functions.
● Feedback Control Logic:
Code is developed to compare calculated RPM with the desired range, trigger
adjustments, and control propeller speed through a motor driver.
Feedback logic is the most important coding component as it involves triggering
specific actions at specific conditions. The most important is the blinking LED
alarm and buzzer which is accompanied by gradual change in speed by the
adjustRPM() function.
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// Motor A connections
int enA = 10;
int in1 = 9;
11
int in2 = 8;
int pot = A3; // Potentiometer pin
int buz =11; // Buzzer pin
int rled=5; // Red LED pin
int gled=6; // Green LED pin
int hall=3; // Hall effect sensor pin
int tON=0;
int tOFF=0;
int Tperiod=0;
int freq=0;
int RPM=0;
void setup() {
// Set all the motor control pins to outputs
pinMode(enA, OUTPUT);
pinMode(in1, OUTPUT);
pinMode(in2, OUTPUT);
pinMode(pot,INPUT);
pinMode(buz,OUTPUT);
pinMode(rled,OUTPUT);
pinMode(gled,OUTPUT);
pinMode(hall,INPUT);
Serial.begin(9600);
void loop() {
// Turn on motor A
digitalWrite(in1, HIGH);
digitalWrite(in2, LOW);
12
// Read potentiometer value and map it to motor speed
int potval=analogRead(pot);
int mval=map(potval,0,1023,0,255);
analogWrite(enA,mval);
// Display RPM and frequency on OLED if hall effect sensor reads HIGH
if(digitalRead(3)==HIGH)
{
display.clearDisplay();
display.setCursor(0, 0);
display.print("RPM METER ");
display.setCursor(0, 10);
display.print("Frequency: ");
display.print(freq);
display.println(" Hz");
display.setCursor(0, 20);
display.print("RPM: ");
display.println(RPM);
display.display();
delay(100);
display.clearDisplay();
}
// If RPM exceeds 5000, blink LED and buzz buzzer, then reduce motor speed
while(RPM>5000){
digitalWrite(gled, LOW);
blinkAndBuzz(rled, buz, 10); // Blink and buzz 10 times
potval=800;
mval=map(potval,0,1023,0,255);
analogWrite(enA,mval);
digitalWrite(gled, HIGH);
delay(5000);
}
13
}
14
Conclusion
Future Scope:
While this project has been successful in achieving its objectives, there are several
avenues for further improvement and exploration:
Enhanced Sensor Technology: Continuously monitor advancements in Hall
Effect sensor technology. Future sensors may offer higher sensitivity, lower
power consumption, and smaller form factors, improving overall system
performance.
Integration with IoT: Explore the integration of the tachometer system with
the Internet of Things (IoT) for remote monitoring and data logging. This
would enable real-time tracking of RPM data and predictive maintenance.
Wireless Communication: Develop wireless communication interfaces to
transmit RPM data to control systems and mobile devices, increasing
accessibility and usability.
Machine Learning Integration: Investigate the use of machine learning
algorithms to analyze RPM data for predictive maintenance, anomaly
detection, and performance optimization.
Industrial Applications: Focus on the application of the Hall Effect sensor-
based tachometer in industrial settings, such as manufacturing, where
precise RPM control is crucial for quality and efficiency.
Miniaturization: Work on miniaturizing the system further to make it
suitable for smaller devices and equipment.
Environmental Considerations: Explore the use of environmentally friendly
materials and power sources to align with sustainability goals.
15
References
[1] Kathirvelan J, Babu Varghese, Ubaid A Ponnary, Fajas Kamar, Renju Thomas Jacob, “Hall
Effect Sensor Based Portable Tachometer for RPM Measurement”, International Journal of
Computer Science and Engineering Communications- IJCSEC. Vol.2, Issue.1,
February,2014
[2] Elsayed T. Helmy, Farhad Waseel, “Design of Contact and Non-Contact Tachometer
Using Microcontroller”, Journal of Robotics and Control (JRC), Vol. 1, No. 3, May 2020
[3] Han-Chen Wu, Min-Yi Wen, and Ching-Chang Wong, “Speed Control of BLDC Motors
Using Hall Effect Sensors Based on DSP”, 2016 International Conference on System
Science and Engineering (ICSSE)
[4] Aman Mahore, H L Kushwaha, Adarsh Kumar and Tapank Khura, “A low-cost wheel slip
measurement device for agricultural tractors”, ICAR-Indian Agricultural Research
Institute, New Delhi, Indian Journal of Agricultural Sciences, March 2022
[5] Jia R C, Yang J S O, Lin H L and Chen J F, “A real-time differential anti strong
interference tachometer based on Arduino”, International Conference on Applied
Mechanics, Electronics, and Mechatronics Engineering (AMEME 2016). May 28–29,
2016. Beijing, China.
[6] Ma Zi Qin, Zhang Ren, Kang Da Li and Yang Wu, “A research of high precision rotational
speed measurement system based on infrared sensor and microcontroller”, Applied
Mechanics and Materials 278(80): 680–83.
[7] Negi A. 2017, “Tachometer Using Arduino and Hall Effect Sensor”, Indian Journal of
Science and Technology 9(38): 1–11
[8] Ming Chen Wu, Lee Jong Un, “Applications of Linear Hall-Effect Sensors on Angular
Measurement”, 2011 IEEE International Conference on Control Applications (CCA) Part
of 2011 IEEE Multi-Conference on Systems and Control Denver, CO, USA. September
28-30, 2011
16