Difference between revisions of "Actuators"

From CCRMA Wiki
Jump to: navigation, search
(Transistors)
(Transistors)
Line 160: Line 160:
 
To power actuators, we often need more current or different voltages than can be supplied from the Arduino. Hence, we use transistors.
 
To power actuators, we often need more current or different voltages than can be supplied from the Arduino. Hence, we use transistors.
  
A transistor controls current from its emitter to its collector through the voltage at it's base.
+
A transistor controls current through the voltage at itss base.
 
+
  
 +
This image shows a hydraulic analogy for a BJT transitor:
 
[[Image:transistor1.jpg]]
 
[[Image:transistor1.jpg]]
  
 +
PNP: Pointing in Proudly:
 
[[Image:transistor2.jpg]]
 
[[Image:transistor2.jpg]]
 +
If base is at lower voltage than emitter, current flows from E to C
 +
 +
Small amount of current flows from E to B.
 +
 +
NPN: Not Pointing in:
  
 
[[Image:transistor3.jpg]]
 
[[Image:transistor3.jpg]]
 +
If base is a higher voltage than emitter, current flows from C to E
 +
 +
Small amount of current flows from B to E
  
 +
How to use transistors:
 
[[Image:transistor_circuit1.jpg]]
 
[[Image:transistor_circuit1.jpg]]
  
 
[[Image:transistor_circuit2.jpg]]
 
[[Image:transistor_circuit2.jpg]]
 
[[Category:PID]][[Category:PID_2007]]
 
[[Category:PID]][[Category:PID_2007]]

Revision as of 09:30, 18 October 2010

by Edgar Berdahl (modified by Wendy Ju)

We can affect the world directly by using actuators. Some extra parts are involved because actuators generally require that relatively large currents flow through them in order to provide relatively large forces. The signal flow diagram including a force signal generator, power amplifier, and actuator is shown below.

Sigflow.png

Acoustic System Actuators

Often we would like to induce vibrations spanning the entire range of human hearing. Here we explain how to induce these vibrations in air and in structures. Here is one particularly small but powerful audio power amplifier.

Vibrations in Air

Loudspeaker Driver

Loudspeaker drivers convert an electrical signal into pressure waves in air. These are quite common, so we refer the reader to Hyperphysics and Wikipedia. Since loudspeaker drivers are usually linear actuators, their maximum displacement is usually limited.

Vibrations in Structures

Lorentz Force Actuator

The Lorentz force is the force on an electrical current carrier in the presence of a magnetic field. Any element can be actuated according to the Lorentz force if an electrical current can be passed along it.

We present the example of actuating a vibrating string. An electrically conductive vibrating string is placed between two permanent magnets. Notice that the field flowing from the north pole of the upper magnet to the south pole of the lower magnet is much less focused.

Lorentz em.jpg

For simplicity of analysis, we assume that the magnetic field B is completely uniform in between the magnets. Since the field flowing back is so much less focused, we also assume that it never flows back to complete the magnetic circuit:

Lorentz em0.jpg

Then the force on the string is F= LAI × B

A piece of wire of only about 1m in length has a relatively low resistance. In order to connect it to the output of a typical audio power amplifier, it must be placed in series with power resistors to avoid overloading the audio amplifier’s output. The next two figures show a realization in the laboratory.

Lorentz 1.jpg

Lorentz 2.jpg

The other electrodynamic actuators described here such as woofers, shakers, servomotors, solenoids, etc. operate according to this principle.

Electromagnet Actuator

Magnetsattract.jpg
Oppositely-poled magnets attract each other


Magnetsrepell.jpg
Two magnets repelling one another


Replacing one of the permanent magnets with an electromagnet. The direction of the current through the coil determines whether the two magnets attract or repell one another:

Em motor.jpg

What if you want to actuate something that isn't a magnet? Most efficient solution: glue a small neodymium magnet to the object that is to be actuated. Alternate solution: if the object is ferrous (magnetically "sticky" aka magnetizable such as iron or steel), then the object to be actuated can be magnetized by placing it in the neighborhood of a magnet. The E-Bow and the Sustainiac use this principle to actuate guitar strings.

See the Electromagnetically-Prepared Piano Project for details on how to actuate piano strings. The parts are listed here.


Piezoelectric Actuators

Piezo stack.jpg

from Wikipedia:

As very high electric fields correspond to only tiny changes in the width of the crystal, 
this width can be changed with better-than-micrometer precision, making piezo crystals the 
most important tool for positioning objects with extreme accuracy — thus their use in actuators. 
Multilayer ceramics, using layers thinner than 100 microns, allow reaching high electric fields 
with voltage lower than 150 V. These ceramics are used within two kinds of actuators: direct 
piezo actuators and Amplified Piezoelectric Actuators. While direct actuator's stroke is 
generally lower than 100 microns, amplified piezo actuators can reach millimeter strokes.
* Loudspeakers: Voltage is converted to mechanical movement of a piezoelectric polymer film.
* Piezoelectric motors: piezoelectric elements apply a directional force to an axle, causing it to 
 rotate. Due to the extremely small distances involved, the piezo motor is viewed as a high-precision 
 replacement for the stepper motor.
* Atomic force microscopes and scanning tunneling microscopes employ converse piezoelectricity to keep 
the sensing needle close to the probe.
* Inkjet printers: On many inkjet printers, piezoelectric crystals are used to drive the ejection of  
ink from the inkjet print head towards the paper.

Haptic System Actuators

If it is sufficient to induce slower vibrations at relatively lower frequencies, for instance for interfacing with the human motor system, then we can use more conventional actuators.


DC motors

Since linear motors support only limited displacements, it is often more convenient to use rotational motors. If the motor is a DC motor, then the torque (rotational force) it exerts is proportional to the electrical current flowing through it. The direction of current through the motor determines the rotational direction of the motor: clockwise or counter clockwise. Sometimes DC motors have rotary encoders built in so that they can sense the rotational angle of the shaft.

Servo1.jpg

The control a motor in both directions from an Arduino, we use an H-bridge.

H-bridge4.gif

By turning on the upper left and lower right transistor, we can get the motor to turn in one direction; by using the upper right and lower left, we can get the motors to turn in the other direction.

Vibrating Motor

The vibrating motor below has a weight asymmetrically attached to the shaft so that it vibrates when the shaft rotates. Similar motors are present in cell phones.

Vibrating.jpg

Servo motors

See this page

Solenoids

Ajay Kapur's MahaDeviBot uses solenoids to actuate drums.

Other actuators

Other actuators include clutches, and hydraulic devices


Controlling With the Arduino

The Pulse Width Modulation (PWM) output of the AVR can serve as the force signal generator.

Pwmsigflow.png

Pulse Width Modulation (PWM) is a technique that we use to control the speed of the motor. A DC motor's speed is determined by now much current is flowing through it. Intuitively, if we supply a low DC current, the motor will spin slowly. It will spin more quickly with a higher current. As it turns out, it is difficult to create a circuit that supplies a varying current like this. So, we use PWM. Pulse Width Modulation used two discrete values of current (none and full) in pulses that average to the desired current value you need to make the motor act as you want. The longer the pulse, more average current flows through the motor, and the faster it goes. We speak of the length of the pulse in terms of something called the Duty Cycle. For example, in the figure below, the duty cycle is 25%.

Pwm.png

PWM can be used to control the apparent output intensity of LED's, too!


See the MAXLAB wiki page for ideas on where to get parts for actuation.

Transistors

To power actuators, we often need more current or different voltages than can be supplied from the Arduino. Hence, we use transistors.

A transistor controls current through the voltage at itss base.

This image shows a hydraulic analogy for a BJT transitor: Transistor1.jpg

PNP: Pointing in Proudly: Transistor2.jpg If base is at lower voltage than emitter, current flows from E to C

Small amount of current flows from E to B.

NPN: Not Pointing in:

Transistor3.jpg If base is a higher voltage than emitter, current flows from C to E

Small amount of current flows from B to E

How to use transistors: Transistor circuit1.jpg

Transistor circuit2.jpg