<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pc5271.org/PC5271_AY2425S2/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tianshuo</id>
	<title>PC5271 wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pc5271.org/PC5271_AY2425S2/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tianshuo"/>
	<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php/Special:Contributions/Tianshuo"/>
	<updated>2026-04-15T22:47:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2559</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2559"/>
		<updated>2025-04-29T15:58:29Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
The diagram below illustrates the working process of the motor system. The central control system inputs PWM parameters into the circuit board, which regulates the PWM voltage supplied to the motor. The motor drives the rotary plate and thereby activates the Hall effect sensor, which outputs Hall voltage pulses containing speed information to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low temporal accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;br /&gt;
&lt;br /&gt;
[[File:Close Loop HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Appendix: Arduino Code for circuit board==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;arduino&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;include &amp;lt;PWM.h&amp;gt;&lt;br /&gt;
int motor_pinENABLE = 3;&lt;br /&gt;
int pin_trigger = 8;&lt;br /&gt;
int speed = 0;&lt;br /&gt;
String from_python;&lt;br /&gt;
int frequency = 1000;&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  // put your setup code here, to run once:&lt;br /&gt;
  InitTimersSafe();  //sets the frequency for the specified pin&lt;br /&gt;
  bool success = SetPinFrequencySafe(motor_pinENABLE, frequency);&lt;br /&gt;
  //if the pin frequency was set successfully, turn pin 13 on&lt;br /&gt;
  if(success) {&lt;br /&gt;
    pinMode(motor_pinENABLE, OUTPUT);&lt;br /&gt;
    digitalWrite(motor_pinENABLE, LOW);    &lt;br /&gt;
  }&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  Serial.setTimeout(10);&lt;br /&gt;
  pinMode(pin_trigger, OUTPUT);&lt;br /&gt;
  digitalWrite(pin_trigger, LOW);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
  // put your main code here, to run repeatedly:&lt;br /&gt;
  if (Serial.available()) {&lt;br /&gt;
    from_python = Serial.readString();&lt;br /&gt;
    Serial.flush();&lt;br /&gt;
    speed = from_python.substring(0,3).toInt();    &lt;br /&gt;
    if (speed &amp;gt; 50){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 50);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }    &lt;br /&gt;
    if (speed &amp;gt; 100){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 100);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 150){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 150);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 200){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 200);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    Serial.println(speed);&lt;br /&gt;
    pwmWrite(motor_pinENABLE, speed);// from 1 to 255&lt;br /&gt;
    delay(1000);//ms&lt;br /&gt;
    delay(5);//ms&lt;br /&gt;
    digitalWrite(pin_trigger, HIGH);&lt;br /&gt;
    delayMicroseconds(400);//us&lt;br /&gt;
    digitalWrite(pin_trigger, LOW);&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 0);&lt;br /&gt;
  }&lt;br /&gt;
  delay(1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2558</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2558"/>
		<updated>2025-04-29T15:57:29Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
The diagram below illustrates the working process of the motor system. The central control system inputs PWM parameters into the circuit board, which regulates the PWM voltage supplied to the motor. The motor drives the rotary plate and thereby activates the Hall effect sensor, which outputs Hall voltage pulses containing speed information to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;br /&gt;
&lt;br /&gt;
[[File:Close Loop HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Appendix: Arduino Code for circuit board==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;arduino&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#&amp;lt;/nowiki&amp;gt;include &amp;lt;PWM.h&amp;gt;&lt;br /&gt;
int motor_pinENABLE = 3;&lt;br /&gt;
int pin_trigger = 8;&lt;br /&gt;
int speed = 0;&lt;br /&gt;
String from_python;&lt;br /&gt;
int frequency = 1000;&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  // put your setup code here, to run once:&lt;br /&gt;
  InitTimersSafe();  //sets the frequency for the specified pin&lt;br /&gt;
  bool success = SetPinFrequencySafe(motor_pinENABLE, frequency);&lt;br /&gt;
  //if the pin frequency was set successfully, turn pin 13 on&lt;br /&gt;
  if(success) {&lt;br /&gt;
    pinMode(motor_pinENABLE, OUTPUT);&lt;br /&gt;
    digitalWrite(motor_pinENABLE, LOW);    &lt;br /&gt;
  }&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  Serial.setTimeout(10);&lt;br /&gt;
  pinMode(pin_trigger, OUTPUT);&lt;br /&gt;
  digitalWrite(pin_trigger, LOW);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
  // put your main code here, to run repeatedly:&lt;br /&gt;
  if (Serial.available()) {&lt;br /&gt;
    from_python = Serial.readString();&lt;br /&gt;
    Serial.flush();&lt;br /&gt;
    speed = from_python.substring(0,3).toInt();    &lt;br /&gt;
    if (speed &amp;gt; 50){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 50);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }    &lt;br /&gt;
    if (speed &amp;gt; 100){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 100);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 150){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 150);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 200){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 200);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    Serial.println(speed);&lt;br /&gt;
    pwmWrite(motor_pinENABLE, speed);// from 1 to 255&lt;br /&gt;
    delay(1000);//ms&lt;br /&gt;
    delay(5);//ms&lt;br /&gt;
    digitalWrite(pin_trigger, HIGH);&lt;br /&gt;
    delayMicroseconds(400);//us&lt;br /&gt;
    digitalWrite(pin_trigger, LOW);&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 0);&lt;br /&gt;
  }&lt;br /&gt;
  delay(1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2557</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2557"/>
		<updated>2025-04-29T15:53:10Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Appendix: Code for Circuit Board */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
The diagram below illustrates the working process of the motor system. The central control system inputs PWM parameters into the circuit board, which regulates the PWM voltage supplied to the motor. The motor drives the rotary plate and thereby activates the Hall effect sensor, which outputs Hall voltage pulses containing speed information to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;br /&gt;
&lt;br /&gt;
[[File:Close Loop HFS.png|800px|center]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2556</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2556"/>
		<updated>2025-04-29T15:48:48Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Appendix: Code for Circuit Board */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
The diagram below illustrates the working process of the motor system. The central control system inputs PWM parameters into the circuit board, which regulates the PWM voltage supplied to the motor. The motor drives the rotary plate and thereby activates the Hall effect sensor, which outputs Hall voltage pulses containing speed information to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;br /&gt;
&lt;br /&gt;
[[File:Close Loop HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Appendix: Code for Circuit Board==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#include &amp;lt;PWM.h&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
int motor_pinENABLE = 3;&lt;br /&gt;
int pin_trigger = 8;&lt;br /&gt;
int speed = 0;&lt;br /&gt;
String from_python;&lt;br /&gt;
int frequency = 1000;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  // put your setup code here, to run once:&lt;br /&gt;
  InitTimersSafe();  //sets the frequency for the specified pin&lt;br /&gt;
  bool success = SetPinFrequencySafe(motor_pinENABLE, frequency);&lt;br /&gt;
  //if the pin frequency was set successfully, turn pin 13 on&lt;br /&gt;
  if(success) {&lt;br /&gt;
    pinMode(motor_pinENABLE, OUTPUT);&lt;br /&gt;
    digitalWrite(motor_pinENABLE, LOW);    &lt;br /&gt;
  }&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  Serial.setTimeout(10);&lt;br /&gt;
  pinMode(pin_trigger, OUTPUT);&lt;br /&gt;
  digitalWrite(pin_trigger, LOW);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
  // put your main code here, to run repeatedly:&lt;br /&gt;
  if (Serial.available()) {&lt;br /&gt;
    from_python = Serial.readString();&lt;br /&gt;
    Serial.flush();&lt;br /&gt;
    speed = from_python.substring(0,3).toInt();    &lt;br /&gt;
    if (speed &amp;gt; 50){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 50);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }    &lt;br /&gt;
    if (speed &amp;gt; 100){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 100);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 150){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 150);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 200){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 200);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    Serial.println(speed);&lt;br /&gt;
    pwmWrite(motor_pinENABLE, speed);// from 1 to 255&lt;br /&gt;
    delay(1000);//ms&lt;br /&gt;
    delay(5);//ms&lt;br /&gt;
    digitalWrite(pin_trigger, HIGH);&lt;br /&gt;
    delayMicroseconds(400);//us&lt;br /&gt;
    digitalWrite(pin_trigger, LOW);&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 0);&lt;br /&gt;
  }&lt;br /&gt;
  delay(1);}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2555</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2555"/>
		<updated>2025-04-29T15:47:27Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
The diagram below illustrates the working process of the motor system. The central control system inputs PWM parameters into the circuit board, which regulates the PWM voltage supplied to the motor. The motor drives the rotary plate and thereby activates the Hall effect sensor, which outputs Hall voltage pulses containing speed information to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;br /&gt;
&lt;br /&gt;
[[File:Close Loop HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Appendix: Code for Circuit Board==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#include &amp;lt;PWM.h&amp;gt;&lt;br /&gt;
int motor_pinENABLE = 3;&lt;br /&gt;
int pin_trigger = 8;&lt;br /&gt;
int speed = 0;&lt;br /&gt;
String from_python;&lt;br /&gt;
int frequency = 1000;&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  // put your setup code here, to run once:&lt;br /&gt;
  InitTimersSafe();  //sets the frequency for the specified pin&lt;br /&gt;
  bool success = SetPinFrequencySafe(motor_pinENABLE, frequency);&lt;br /&gt;
  //if the pin frequency was set successfully, turn pin 13 on&lt;br /&gt;
  if(success) {&lt;br /&gt;
    pinMode(motor_pinENABLE, OUTPUT);&lt;br /&gt;
    digitalWrite(motor_pinENABLE, LOW);    &lt;br /&gt;
  }&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  Serial.setTimeout(10);&lt;br /&gt;
  pinMode(pin_trigger, OUTPUT);&lt;br /&gt;
  digitalWrite(pin_trigger, LOW);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
  // put your main code here, to run repeatedly:&lt;br /&gt;
  if (Serial.available()) {&lt;br /&gt;
    from_python = Serial.readString();&lt;br /&gt;
    Serial.flush();&lt;br /&gt;
    speed = from_python.substring(0,3).toInt();    &lt;br /&gt;
    if (speed &amp;gt; 50){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 50);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }    &lt;br /&gt;
    if (speed &amp;gt; 100){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 100);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 150){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 150);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    if (speed &amp;gt; 200){&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 200);// from 1 to 255&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    }&lt;br /&gt;
    Serial.println(speed);&lt;br /&gt;
    pwmWrite(motor_pinENABLE, speed);// from 1 to 255&lt;br /&gt;
    delay(1000);//ms&lt;br /&gt;
    delay(5);//ms&lt;br /&gt;
    digitalWrite(pin_trigger, HIGH);&lt;br /&gt;
    delayMicroseconds(400);//us&lt;br /&gt;
    digitalWrite(pin_trigger, LOW);&lt;br /&gt;
    delay(100);//ms&lt;br /&gt;
    pwmWrite(motor_pinENABLE, 0);&lt;br /&gt;
  }&lt;br /&gt;
  delay(1);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2554</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2554"/>
		<updated>2025-04-29T15:45:05Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Conclusion &amp;amp; Outlook */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
The diagram below illustrates the working process of the motor system. The central control system inputs PWM parameters into the circuit board, which regulates the PWM voltage supplied to the motor. The motor drives the rotary plate and thereby activates the Hall effect sensor, which outputs Hall voltage pulses containing speed information to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;br /&gt;
&lt;br /&gt;
[[File:Close Loop HFS.png|800px|center]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Close_Loop_HFS.png&amp;diff=2553</id>
		<title>File:Close Loop HFS.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Close_Loop_HFS.png&amp;diff=2553"/>
		<updated>2025-04-29T15:44:25Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2552</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2552"/>
		<updated>2025-04-29T15:43:40Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Controlling System Process of Rotation Motor with Hall Effect Sensor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
The diagram below illustrates the working process of the motor system. The central control system inputs PWM parameters into the circuit board, which regulates the PWM voltage supplied to the motor. The motor drives the rotary plate and thereby activates the Hall effect sensor, which outputs Hall voltage pulses containing speed information to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2551</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2551"/>
		<updated>2025-04-29T15:38:21Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Conclusion &amp;amp; Outlook */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;br /&gt;
&lt;br /&gt;
3. Closed-loop control of rotation speed. By feeding back real-time rotation speed information to the central control system, the PWM values can be dynamically adjusted based on instantaneous speed detections. This closed-loop approach ensures stable and consistent output of the rotary plate&#039;s rotation speed.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2550</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2550"/>
		<updated>2025-04-29T15:37:19Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Controlling System Diagram of Rotation Motor with Hall Effect Sensor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Process of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2549</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2549"/>
		<updated>2025-04-29T15:36:30Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Rotary Plate with Gear System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
===Controlling System Diagram of Rotation Motor with Hall Effect Sensor===&lt;br /&gt;
&lt;br /&gt;
[[File:SystemGraph HFS.png|800px|center]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:SystemGraph_HFS.png&amp;diff=2548</id>
		<title>File:SystemGraph HFS.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:SystemGraph_HFS.png&amp;diff=2548"/>
		<updated>2025-04-29T15:33:05Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2547</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2547"/>
		<updated>2025-04-29T15:32:23Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Conclusion &amp;amp; Outlook */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotation speeds were limited to 200-300 rpm due to motor working voltage constraints and the rotational resistance of the rotary plate linkage. Expanding the range of speed measurements will help clarify the application occasions for Hall effect sensors and prevent errors caused by Hall voltage relaxation in the sensor&#039;s output under extremely high rotation speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of plate rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2546</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2546"/>
		<updated>2025-04-29T15:24:08Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Conclusion &amp;amp; Outlook */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1. Broader range of rotational speed measurements. In our experiments, rotational speeds were limited to 200-300 rpm due to motor operational voltage constraints and the rotational resistance of the turntable linkage. Expanding the range of speed measurements will help clarify the application scenarios for Hall effect sensors and prevent errors caused by voltage relaxation in the sensor&#039;s output under extremely high rotational speeds.&lt;br /&gt;
&lt;br /&gt;
2. Physical modeling of turntable rotation. By comparing theoretical parameters with real-world laboratory measurements, we aim to establish a more precise speed-voltage dependency relationship. This will enable better evaluation of the accuracy of Hall effect measurement results across different rotational speeds.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2545</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2545"/>
		<updated>2025-04-29T15:16:52Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Conclusion &amp;amp; Outlook */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;br /&gt;
&lt;br /&gt;
Building upon the experimental limitations identified, we propose the following directions for future research to advance the system&#039;s capabilities:&lt;br /&gt;
&lt;br /&gt;
1.Extended Speed Range Characterization&lt;br /&gt;
&lt;br /&gt;
2.Physics-Guided System Modeling&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2540</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2540"/>
		<updated>2025-04-29T15:00:00Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Conclusion &amp;amp; Outlook */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;br /&gt;
In this study, we developed a circuit board-based control platform with PWM-driven voltage modulation to regulate rotary plate&#039;s rotation speed, and conducted  experiments to evaluate the Hall effect sensor&#039;s speed measurement performance. The results demonstrate that the Hall sensor achieves high measurement accuracy (relative error &amp;lt;2%). In contrast to handheld laser tachometers requiring precise optical alignment, the Hall effect solution offers three distinct advantages: integrated structure for setup, non-contact measurement capability, and cost-effectiveness. This approach enables reliable broad-range speed monitoring and provides a streamlined methodology for laboratory-scale rotational speed measurement applications.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2535</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2535"/>
		<updated>2025-04-29T14:53:55Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2534</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2534"/>
		<updated>2025-04-29T14:53:40Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
Additionally, the relative errors observed in the experimental results primarily stem from the following limitations: low accuracy of the voltage oscilloscope, large standard deviation of the measured data.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2532</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2532"/>
		<updated>2025-04-29T14:48:37Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Statistics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a linear regression line (R² = 0.969) as below. &lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2530</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2530"/>
		<updated>2025-04-29T14:47:45Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage (R² &amp;gt; 0.95). This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2528</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2528"/>
		<updated>2025-04-29T14:45:43Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt; on the oscilloscope screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage. This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2527</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2527"/>
		<updated>2025-04-29T14:42:00Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate&#039;s speed and supply voltage. This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying rotation speed.&lt;br /&gt;
&lt;br /&gt;
==Conclusion &amp;amp; Outlook==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2526</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2526"/>
		<updated>2025-04-29T14:40:38Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;br /&gt;
The measurement demonstrated that the rotation speed measured by the Hall effect sensor exhibits a low relative error (&amp;lt;2%) compared to the ground-truth values obtained from a laser tachometer, thereby validating the accuracy of this methodology. &lt;br /&gt;
&lt;br /&gt;
Furthermore, a linear regression analysis of rotation speed versus PWM values confirmed the strong linear correlation between rotary plate speed and supply voltage. This result further substantiates the feasibility of Hall effect sensors for reliable speed measurement across varying supply voltages.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2524</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2524"/>
		<updated>2025-04-29T14:26:41Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2523</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2523"/>
		<updated>2025-04-29T14:26:27Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
&lt;br /&gt;
===Data Measurement===&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Data Statistics===&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;br /&gt;
&lt;br /&gt;
===Data Analysis===&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2522</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2522"/>
		<updated>2025-04-29T14:23:14Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The figures below show the measurement of pulses in one sampling duration &amp;lt;math&amp;gt;T=3.8*13.6\text{ms}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2521</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2521"/>
		<updated>2025-04-29T14:21:43Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Hall Effect Sensor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M=7&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2520</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2520"/>
		<updated>2025-04-29T14:21:32Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Rotary Plate with Gear System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i=10&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2519</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2519"/>
		<updated>2025-04-29T14:21:18Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 80%; margin: auto;&amp;quot;&lt;br /&gt;
|+ Measurement of Pulses in one Sampling Duration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement145HFS.jpeg|framed|center|300px]]&lt;br /&gt;
| style=&amp;quot;width:50%;&amp;quot; | [[File:Measurement235HFS.jpeg|framed|center|300px]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Measurement145HFS.jpeg&amp;diff=2517</id>
		<title>File:Measurement145HFS.jpeg</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Measurement145HFS.jpeg&amp;diff=2517"/>
		<updated>2025-04-29T14:18:53Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Measurement235HFS.jpeg&amp;diff=2516</id>
		<title>File:Measurement235HFS.jpeg</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Measurement235HFS.jpeg&amp;diff=2516"/>
		<updated>2025-04-29T14:18:37Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2514</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2514"/>
		<updated>2025-04-29T14:15:52Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. &lt;br /&gt;
&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Relative Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2513</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2513"/>
		<updated>2025-04-29T14:15:25Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. &lt;br /&gt;
&lt;br /&gt;
The measurement data are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Absolute Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We also plotted the measurement data with a fitting line as below.&lt;br /&gt;
&lt;br /&gt;
[[File:Plot HFS.png|thumb|1000px|center|Measurement Data]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Plot_HFS.png&amp;diff=2512</id>
		<title>File:Plot HFS.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Plot_HFS.png&amp;diff=2512"/>
		<updated>2025-04-29T14:13:27Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2511</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2511"/>
		<updated>2025-04-29T14:12:22Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate. The measurement results are listed as the table below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PWM Value&lt;br /&gt;
! 105&lt;br /&gt;
! 115&lt;br /&gt;
! 125&lt;br /&gt;
! 135&lt;br /&gt;
! 145&lt;br /&gt;
! 155&lt;br /&gt;
! 165&lt;br /&gt;
! 175&lt;br /&gt;
! 185&lt;br /&gt;
! 195&lt;br /&gt;
! 205&lt;br /&gt;
! 215&lt;br /&gt;
! 225&lt;br /&gt;
! 235&lt;br /&gt;
! 245&lt;br /&gt;
! 255&lt;br /&gt;
|-&lt;br /&gt;
| Hall Sensor Measurement /RPM&lt;br /&gt;
| 203.246&lt;br /&gt;
| 208.344&lt;br /&gt;
| 214.442&lt;br /&gt;
| 226.222&lt;br /&gt;
| 235.174&lt;br /&gt;
| 242.979&lt;br /&gt;
| 247.954&lt;br /&gt;
| 249.613&lt;br /&gt;
| 251.271&lt;br /&gt;
| 257.906&lt;br /&gt;
| 259.564&lt;br /&gt;
| 266.199&lt;br /&gt;
| 268.686&lt;br /&gt;
| 276.150&lt;br /&gt;
| 279.467&lt;br /&gt;
| 284.711&lt;br /&gt;
|-&lt;br /&gt;
| Tachometer Measurement /RPM&lt;br /&gt;
| 204.8&lt;br /&gt;
| 212.5&lt;br /&gt;
| 219.0&lt;br /&gt;
| 224.5&lt;br /&gt;
| 231.6&lt;br /&gt;
| 237.6&lt;br /&gt;
| 243.6&lt;br /&gt;
| 247.6&lt;br /&gt;
| 252.7&lt;br /&gt;
| 256.0&lt;br /&gt;
| 262.2&lt;br /&gt;
| 267.0&lt;br /&gt;
| 272.6&lt;br /&gt;
| 278.1&lt;br /&gt;
| 282.2&lt;br /&gt;
| 286.8&lt;br /&gt;
|-&lt;br /&gt;
| Absolute Error&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.9%&lt;br /&gt;
| 2.1%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 1.5%&lt;br /&gt;
| 2.3%&lt;br /&gt;
| 1.8%&lt;br /&gt;
| 0.8%&lt;br /&gt;
| 0.6%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.3%&lt;br /&gt;
| 1.4%&lt;br /&gt;
| 0.7%&lt;br /&gt;
| 1.0%&lt;br /&gt;
| 0.7%&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2509</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2509"/>
		<updated>2025-04-29T13:45:02Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Rotary Plate with Gear System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|300px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2508</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2508"/>
		<updated>2025-04-29T13:44:54Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* DC Motor with PWM Voltage Supply */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|300px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2507</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2507"/>
		<updated>2025-04-29T13:44:44Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Sensor Working Principle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|300px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|400px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2506</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2506"/>
		<updated>2025-04-29T13:44:26Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* DC Motor with PWM Voltage Supply */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|400px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2505</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2505"/>
		<updated>2025-04-29T13:44:00Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|500px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase with the Hall Sensor. For validation, we also applied Laser Tachometer to measure the real rotation speed of the rotary plate.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2504</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2504"/>
		<updated>2025-04-29T13:25:51Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Data Measurement and Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|500px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;br /&gt;
With given PWM Values from 105-255, the rotation speed was measured 5 times per 10-unit PWM increase.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2503</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2503"/>
		<updated>2025-04-29T13:11:52Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|500px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2502</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2502"/>
		<updated>2025-04-29T13:11:40Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|500px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;br /&gt;
&lt;br /&gt;
==Data Measurement and Analysis==&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2501</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2501"/>
		<updated>2025-04-29T13:09:57Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===DC Motor with PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Motor_HFS.jpeg|thumb|500px|center|DC Multi-Interface Motor]]&lt;br /&gt;
&lt;br /&gt;
===Rotary Plate with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;br /&gt;
&lt;br /&gt;
[[File:RotaryPlate_HFS.jpeg|thumb|500px|center|Rotary Plate]]&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:RotaryPlate_HFS.jpeg&amp;diff=2500</id>
		<title>File:RotaryPlate HFS.jpeg</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:RotaryPlate_HFS.jpeg&amp;diff=2500"/>
		<updated>2025-04-29T13:09:10Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Motor_HFS.jpeg&amp;diff=2499</id>
		<title>File:Motor HFS.jpeg</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Motor_HFS.jpeg&amp;diff=2499"/>
		<updated>2025-04-29T13:06:01Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2498</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2498"/>
		<updated>2025-04-29T13:05:31Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Hall Effect Sensor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===DC Motor with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2497</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2497"/>
		<updated>2025-04-29T13:05:23Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Hall Effect Sensor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:HFS_HFS.png|thumb|500px|center|Hall Effect Sensor]]&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===DC Motor with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:HFS_HFS.png&amp;diff=2496</id>
		<title>File:HFS HFS.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:HFS_HFS.png&amp;diff=2496"/>
		<updated>2025-04-29T13:03:07Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2495</id>
		<title>Motor-driven Rotary Plate Speed Measurement via the Hall Effect Sensor</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Motor-driven_Rotary_Plate_Speed_Measurement_via_the_Hall_Effect_Sensor&amp;diff=2495"/>
		<updated>2025-04-29T13:00:14Z</updated>

		<summary type="html">&lt;p&gt;Tianshuo: /* Sensor Working Principle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This project utilizes a Hall effect sensor to measure the rotation speed of a circuit board-driven rotary plate through magnetic field variation detection.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The precise measurement of motor rotation speed holds great importance across scientific research, industrial automation, automotive electronics, and energy technologies. Utilizing the Hall effect, a phenomenon where a conductor moving through an orthogonal magnetic field generates a measurable voltage, Hall effect sensors have been regarded as a dominant solution for rotation speed detection due to their non-contact operation, exceptional reliability, and cost-effectiveness. &lt;br /&gt;
&lt;br /&gt;
This study systematically investigates a turntable rotation speed measurement system utilizing Hall effect sensor technology, with a general discussion of theoretical principles, hardware implementation, and experimental validation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sensor Working Principle==&lt;br /&gt;
&lt;br /&gt;
[[File:Hall Effect.png|thumb|250px|right|Hall Effect Principle]]&lt;br /&gt;
&lt;br /&gt;
===Hall Effect===&lt;br /&gt;
&lt;br /&gt;
When an electric current flows through a conductor and a magnetic field &amp;lt;math&amp;gt;B_{z}&amp;lt;/math&amp;gt; is applied perpendicular to the direction of the electric current with intensity &amp;lt;math&amp;gt;I_{x}&amp;lt;/math&amp;gt;, a transverse Hall voltage &amp;lt;math&amp;gt;V_{H}&amp;lt;/math&amp;gt; will be generated across the lateral surfaces of the conductor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{H} = \frac{I_{x} \cdot B_{z} \cdot R_{H}}{t_{z}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hall Effect Sensor===&lt;br /&gt;
In the Hall Effect sensing system, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; magnets are uniformly mounted on the periphery of the motor shaft, while a Hall effect sensor is fixed adjacent to this shaft. When a magnet approaches the sensor during shaft rotation, the Hall sensor generates a digital pulse signal (switching between high and low voltage levels). &lt;br /&gt;
&lt;br /&gt;
The rotation speed is calculated by measuring the number of pulses per unit time, with the fundamental relationship expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Motor Speed}[\text{RPM}] = \frac{60 \times \text{Pulse Count}}{M \times \text{Sampling Time (s)}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Motor Implementation==&lt;br /&gt;
&lt;br /&gt;
[[File:DutyHFS.png|thumb|250px|right|Duty Cycle with PWM]]&lt;br /&gt;
&lt;br /&gt;
===PWM Voltage Supply===&lt;br /&gt;
For rotation speed regulation of the DC motor, we implemented Pulse Width Modulation (PWM) via the microcontroller&#039;s programmable output. By adjusting the PWM duty cycle parameter (0-255), the effective input voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; to the motor is controlled through the modulation of high-level pulse duration. This relationship is mathematically expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
V_{\text{avg}} = V_{\text{supply}} \times \frac{\text{PWM Value}}{255}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===DC Motor with Gear System===&lt;br /&gt;
The DC motor, powered by this modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt;, drives the rotary plate through a gear transmission system. Considering the combined effects of gear reduction ratio &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; and circuit internal resistance &amp;lt;math&amp;gt;R_{\text{int}}&amp;lt;/math&amp;gt;, the rotary plate&#039;s rotational speed &amp;lt;math&amp;gt;\text{Plate Speed}&amp;lt;/math&amp;gt; exhibits the following proportional relationship with modulated voltage &amp;lt;math&amp;gt;V_{\text{avg}}&amp;lt;/math&amp;gt; expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Plate Speed}[\text{RPM}] = \frac{\text{Motor Speed}}{i} = \frac{V_{\text{avg}}-I \cdot R_{\text{int}}}{K_{v} \cdot i}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;K_{v}&amp;lt;/math&amp;gt; is motor velocity constant.&lt;/div&gt;</summary>
		<author><name>Tianshuo</name></author>
	</entry>
</feed>