{"id":5004,"date":"2015-02-24T10:29:40","date_gmt":"2015-02-24T18:29:40","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=5004"},"modified":"2021-06-17T08:15:58","modified_gmt":"2021-06-17T15:15:58","slug":"what-is-the-hall-effect","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/what-is-the-hall-effect\/","title":{"rendered":"What Is the Hall Effect?"},"content":{"rendered":"<p>Welcome back to the Digilent blog!<\/p>\n<p>Robots that run around on motors are pretty sweet. These motors traditionally tend to be DC motors that are controlled through the use of an H-Bridge, which can change the flow of current so that the motor is able to run forwards or backwards. H-bridge modules, such as Digilent&#8217;s <a href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?NavPath=2,401,483&amp;Prod=PMOD-HB3\">PmodHB3<\/a> or <a href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?NavPath=2,401,503&amp;Prod=PMOD-HB5\">PmodHB5<\/a>, also tend to have two pins labeled as Sensor A and Sensor B that measure which direction the motor is rotating. The two sensors, A and B, will be wired to the outputs of components known as Hall effect sensors. Unsurprisingly, these measure the Hall effect. But rather than having the &#8220;word in the definition&#8221; problem, let&#8217;s learn some\u00a0of the practical details.<\/p>\n<figure style=\"width: 451px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"http:\/\/www.electronics-tutorials.ws\/electromagnetism\/mag26.gif?81223b\" alt=\"\" width=\"451\" height=\"381\" \/><figcaption class=\"wp-caption-text\">Positive and negative charge carriers are pushed to either side of the plate. Image from <a href=\"http:\/\/www.electronics-tutorials.ws\/electromagnetism\/hall-effect.html\" target=\"_blank\" rel=\"noopener\">electronics-tutorials.ws<\/a>.<\/figcaption><\/figure>\n<p>Broadly speaking, when current is travelling through a component, such as a piece of metal, it will travel along the path of least resistance. Typically, this path of least resistance is going to be the shortest and relatively straightest path from the high voltage side of the component to the low voltage side. However, if a magnetic field is placed perpendicular to straight path of current flowing through a semiconductor, the charge carriers in the current flow experience what is known as the Lorentz force. This force causes the charged particles to move to one side of the semiconductor or the other, depending on whether\u00a0they are positively or negatively charged.<\/p>\n<figure id=\"attachment_5021\" aria-describedby=\"caption-attachment-5021\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Hall-Effect-Sensors-on-the-motor-gearbox.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5021\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Hall-Effect-Sensors-on-the-motor-gearbox.jpg\" alt=\"The two Hall Effect Sensors are 90 degrees from one another.\" width=\"600\" height=\"441\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Hall-Effect-Sensors-on-the-motor-gearbox.jpg 1501w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Hall-Effect-Sensors-on-the-motor-gearbox-600x441.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Hall-Effect-Sensors-on-the-motor-gearbox-1024x752.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Hall-Effect-Sensors-on-the-motor-gearbox-225x165.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Hall-Effect-Sensors-on-the-motor-gearbox-800x588.jpg 800w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5021\" class=\"wp-caption-text\">The two Hall effect sensors are 90 degrees from one another.<\/figcaption><\/figure>\n<p>This charge separation and resulting voltage differential is known as the Hall effect. The resulting voltage can then be given to a transistor or system board to indicate how strong the Hall effect across this particular semiconductor is. So, how does this relate back to DC motors? If our DC motor has a permanent magnet in a small section on the outside of the motor, we can place two Hall effect sensors in quadrature to the motor. In plain English, this means that when looking at the top of the spinning motor, the two Hall effect sensors are placed 90\u00b0 from one another. This way, the magnetic field produced by the permanent magnet will only affect the Hall Effect Sensor that is directly in front of it and not influence the one that is perpendicular (90 degrees away) to it. With this configuration it is possible to determine which way the motor is spinning based on which sensor produces a voltage first within a set time frame. You can also determine how fast your motor is spinning based on the time difference between a particular sensor is at its maximum value and how wide your motor is.<\/p>\n<figure style=\"width: 220px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/7\/7e\/Hall_sensor_tach.gif\/220px-Hall_sensor_tach.gif\" alt=\"\" width=\"220\" height=\"164\" \/><figcaption class=\"wp-caption-text\">A Hall effect sensor experiences a voltage differential when a magnet gets close it it. Image from <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hall_effect_sensor\" target=\"_blank\" rel=\"noopener\">Wikipedia<\/a>.<\/figcaption><\/figure>\n<p>Feel free to give us a comment if you have any questions!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-5004 jlk' data-task='like' data-post_id='5004' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-5004 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-5004 jlk' data-task='unlike' data-post_id='5004' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-5004 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-5004 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Robots that run around on motors are pretty sweet. These motors traditionally tend to be DC motors that are controlled through the use of an H-Bridge, which can change the flow of current so that the motor is able to run forwards or backwards. H-bridge modules, such as Digilent&#8217;s PmodHB3 or PmodHB5, also tend to have two pins labeled as Sensor A and Sensor B that measure which direction the motor is rotating. The two sensors, A and B, will be wired to the outputs of components known as Hall effect sensors. Unsurprisingly, these measure the Hall effect. But rather than having the &#8220;word in the definition&#8221; problem, let&#8217;s learn some of the practical details.<\/p>\n","protected":false},"author":17,"featured_media":5014,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"ppma_author":[4469],"class_list":["post-5004","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/hall-effect.jpg","authors":[{"term_id":4469,"user_id":17,"is_guest":0,"slug":"jamescolvin","display_name":"James Colvin","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/509febded809c5de0423909f6ae6587f?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Colvin","last_name_2":"","first_name":"James","first_name_2":"","job_title":"Applications Engineer \/ Technical Support Engineer \/ Product Support Engineer \/ Technical Writer \/ the person to bother about T&M and JTAG when the senior design engineer is busy","description":"A local Digilent employee who is sometimes tricked into making other content besides documentation and supporting customers on the Digilent Forum, but then I get to write a little more informally so that's a plus. \r\n\r\nA sassy engineer, lover of puns and dad jokes, father and husband. \r\n\r\nI know both way too much and simultaneously almost nothing about a number of nerdy topics. If you want to hear me rant, ask me what data rate USB C operates at."}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/5004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=5004"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/5004\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/5014"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=5004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=5004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=5004"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=5004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}