At any given moment, you are near at least one or two types of motors. From the vibration motor in your cell phone, to the fans and CD drive in your favorite gaming system, motors are all around us. Motors provide a way for our devices to interact with us and the environment. With a myriad of applications for motors, the design and operation of them can vary.
In this tutorial we'll cover some of these basic motor types and uses:
The most vague and simple answer is magnetism! Ok, now let's take this simple force and turn it into a super car!
To keep things simple, we will need to look at some concepts through the lens of the thought experiment. Some liberties will be taken, but if you want to get down and dirty with the details, you can consult Dr. Griffiths. For our thought experiment, we are going to state that a magnetic field is produced by a moving electron i.e. current. While this creates a classical model for us to use, things break down when we reach the atomic level. To understand the atomic level of magnetism more, Griffiths explains that in another book...
To create a magnet or magnetic field, we are going to have to look at how they are generated. The relationship between current and magnetics field behave according to the right-hand rule. As current passes through a wire, a magnetic field forms around the wire in the direction of your fingers as they wrap around it. This is a simplification of Ampère's force law as it acts on a current carrying wire. Now, if you place that same wire in a pre-existing magnetic field, you can generate a force. This force is referred to as the Lorentz force.
If the current is increased, the strength of the magnetic field is strengthened. Though, to do something useful with the field, it would take incredible amounts of current. Furthermore, the wire delivering the current would be carrying the same magnetic strength, thus creating uncontrolled fields. By bending the wire into a loop, a directed and concentrated field can be created.
By looping wire and passing a current, an electromagnet is created. If one loop of wire can concentrate the field, what can you do with more? How about a few hundred more! The more loops you add to the circuit, the stronger the field becomes for a given current. If that's the case, why don't we see thousands **, if not **millions, of windings in motors and electromagnets? Well, the longer the wire the higher resistance it has. Ohm's law (V = I*R) says to maintain the same current as resistance increases, voltage must increase. In some cases it makes sense to use higher voltages; in other cases some use larger wire with less resistance. Using larger wire is more costly and is generally more difficult to work with. These are factors that have to be weighed when designing a motor.
To create your own electromagnet, simply find a bolt (or other round steel object), some magnet wire (30-22 gauge works fine), and a battery.
Wrap between 75-100 turns of wire around the steel. Using a steel center further concentrates the magnetic field, increasing its effective strength. We will go over why this is happens in the next section.
Now, using sand paper, remove the insulation from the ends of the wires, and connect each wire to each terminal of the battery. Congratulations! You have built the first component of a motor! To test the strength of your electromagnet, try to pick up paper clips or other small steel objects.
Looking back to the beginning of our thought experiment, magnetic fields may only be produced by a current. Taking the definition of current as a flow of electrons, electrons orbiting an atom should create a current and thus a magnetic field! If every atom has electrons is everything magnetic? YES! All matter, including frogs, can express magnetic properties when given enough energy. But not all magnetism is created equally. The reason I can pick up screws with a refriderator magnent and not a frog is the difference between ferromagnetism and paramagnetism. The way to differentiate the two (and a few more types) is through the study of quantum mechanics.
Ferromagnetism will be our focus, since it is the strongest phenomenon and is what we have the most experience with. Further, to relieve us from having to understanding this at the quantum level, we are going to accept that atoms of ferromagnetic materials tend to align their magnetic fields with their neighbors. Though they tend to align, inconsistencies in material and other factors like crystaline structure create magnetic domains.
When magnetic domains are aligned in a random order, neighboring fields cancel each other out resulting in a non-magnetized material. Once in the presence of an strong external field it is possible to re-align these domains. By aligning these domains, the overall field strengthens, creating a magnet!
This re-alignment can be permanent depending on the strength of the field. This is great because we'll need these in the next section.
Permanent magnets behave in the same way as electromagnets. The only difference is, well, they are permanent.
In all drawings, arrows will be pointing away from the north pole and towards the south pole. Another convention is to use the color red to represent north and blue to represent south. To identify a magnets polarity, you can use a compass. Since opposites attract, the needle will point north to the south pole of the magnet.
You can perform the same experiment with an electromagnet to determine polarity.
If you reverse the flow of current, you can see how an electromagnet can reverse its poles.
This is a key principle for building motors! Now, let's look at some different motors and how they use magnets and electromagnets.
The DC brush motor is one of the simplest motors in use today. You can find these motors just about anywhere. They are in household appliances, toys, and automobiles. Being simple to construct and control, these motors are the go-to solution for professionals and hobbyists alike.
To better understand how one works, let's start by tearing down a simple hobby motor. As you can see, they are simple in construction, comprising of a few key components.
As the windings are energized, they attract to the magnets located around the motor. This rotates the motor until the brushes make contact with a new set of commutator contacts. This new contact energizes a new set of windings and starts the process again. To reverse the direction of the motor, simply reverse the polarity on the motor contacts. Sparks inside a brush motor are produced by the brush jumping to the next contact. Each wire of a coil is connected to the two closest commutator contacts.
An odd number of windings is always used to prevent the motor from getting locked into a steady state. Larger motors also use more sets of windings to help eliminate "cogging," thus providing smooth control at low revolutions per minute (RPMs). Cogging can be demonstrated by rotating the motor axle by hand. You will feel "bumps" in the motion where the magnets are closest to the exposed stator. Cogging can be eliminated with a few tricks in design, but the most prevalent is removing the stator all together. These types of motors are referred to as ironless or coreless motors.
Brushless motors are taking over! Ok, maybe that was an overstatement. However, brushless motors have begun to dominate the hobby markets between aircraft and ground vehicles. Controlling these motors had been a hurdle up until microcontrollers became cheap and powerful enough to handle the task. There is still work being done to develop faster and more efficient controllers to unlock their amazing potential. Without brushes to fail, these motors deliver more power and can do so silently. Most high-end appliances and vehicles are moving to brushless systems. One notable example is the Tesla Model S.
To better understand how one works, let's start by tearing down a simple brushless motor. These are commonly found on remote control airplanes and helicopters.
The mechanics of a brushless motor are incredibly simple. The only moving part is the the rotor, which contains the magnets. Where things become complicated is orchestrating the sequence of energizing windings. The polarity of each winding is controlled by the direction of current flow. The animation demonstrates a simple pattern that controllers would follow. Alternating current changes the polarity, giving each winding a "push/pull" effect. The trick is keeping this pattern in sync with the speed of the rotor. There are two (widely used) ways this can be accomplished. Most hobby controllers measure the voltage produced (back EMI) on the un-energized winding. This method is very reliable in high velocity operation. As the motor rotates slower, the voltage produced becomes more difficult to measure and more errors are induced. Newer hobby controllers and many industrial controllers utilize Hall effect sensors to measure the magnets position directly. This is the primary method for controlling computer fans.
Stepper motors are great motors for position control. They can be found in desktop printers, plotters, 3d printers, CNC milling machines, and anything else requiring precise position control. Steppers are a special segment of brushless motors. They are purposely built for high-holding torque. This high-holding torque gives the user the ability to incrementally "step" to the next position. This results in a simple positioning system that doesn't require an encoder. This makes stepper motor controllers very simple to build and use.
To better understand how one works, let's start by tearing down a simple stepper motor. As you can see, these motors are built for direct drive loads containing a few key components.
Stepper motors behave exactly the same as a brushless motor, only the step size is much smaller. The only moving part is the the rotor, which contains the magnets. Where things become complicated is orchestrating the sequence of energizing windings. The polarity of each winding is controlled by the direction of current flow. The animation demonstrates a simple pattern that controllers would follow. Alternating current changes the polarity, giving each winding a "push/pull" effect. A notable difference is how the magnet structure of a stepper is different. It is difficult to get an array of magnets to behave nicely on a small scale. It's also very expensive. To get around this, most stepper motors utilize a stacked plate method to direct the magnetic poles into "teeth".
In a brushless motor, back EMF is used to measure velocity. A stepper relies on the short throw of each winding to "guarantee" it reaches the desired point in time. In highspeed travel, this can lead to stalling where the rotor can't keep up with the sequence. There are ways around this, but they rely on a higher understanding of the relationship between motor windings and inductance.
The future is linear! In high-speed pick and place machines speed is everything. With speed comes friction, with friction comes maintanence, with maintanance comes downtime, with downtime comes lost productivity. By removing the components needed to transfer rotary to linear motion, the system becomes much lighter and more efficient. Linear motors are simple to maintain, and, with only one moving part, are incredibly reliable. Did I mention they are incredibly fast?! This is the pick and place machine we are using in production, and it is incredibly fast! This machine also packs such a punch, there is a warning for pacemakers on it. There is an entire row of high-power, rare-earth magnets.
To better understand how one works, let's look inside our pick and place machine downstairs.
The mechanics of a linear motor is nearly identical to a brushless motor. The only difference is if you were to take a brushless motor and unfold it into a straight line you'd have a linear motor. The Motion Module is the only moving part. Where things become complicated is orchestrating the sequence of energizing coils. The polarity of each coil is controlled by the direction of current flow. The animation demonstrates a simple pattern that controllers would follow. Alternating current changes the polarity giving each coil a "push/pull" effect. In a linear motor, there is typically an encoder or some advanced positioning system to keep track of the location of the Motion Module. To reach a high position accuracy, the controllers are much more complicated than anything found on a conventional system. Microstepping is a method to "throttle" the magnets to provide smooth and precise motion. To achieve this though, linear motors require a highly specialized controller tuned for each motor. As controller technology improves, we are likely to see these motors decrease in price. Maybe someday our 3D printers will print in seconds and not hours!
So we took a look at some different types of motors and how they might be used. Selecting a motor will require you to first determine the application requirements. With these requirements, you can look at the strengths and weaknesses of each motor type. But more importantly, look for the ratings on each motor. Each motor will have values for input power and output power. You can calulate the load requirements of a system but, sometimes it's easy enough to just try it! To give yourself a headstart integrating motors, take a look as some of these pages:
And finally, here is a great place to learn just about everything physics related.
learn.sparkfun.com | CC BY-SA 3.0 | SparkFun Electronics | Niwot, Colorado