m (→Design Description)
|(61 intermediate revisions by 3 users not shown)|
Latest revision as of 03:08, 21 March 2008
- Jennifer Breger - Mechanical Engineering Class of 2009
- Brian Lesperance - Electrical Engineering Class of 2008
- Daniel Pinkawa - Mechanical Engineering Class of 2008
The vibratory clock is a horizontal circular platform actuated from below by three speakers placed at the corners of an equilateral triangle. The vibration of the platform causes a small object (e.g., an IC socket or a coin) to act as an hour "hand" on top of the platform. The object slides around the circular platform, impelled by friction forces due to the vibration which we can adjust by varying the phase and amplitude of each speaker. Due to the nodes created by the speaker vibrations, the object will move back to the correct hour if it is moved away. Our project was provided by Professor Colgate and based upon the research of Professor Lynch.
Through his research, Professor Lynch discovered that when a platform is rotated about a line beneath it, orthogonal sinks and nodes can be created. These can be adjusted by placing speaker vibrations at different amplitudes and phases. This concept can be applied to create a node at any point on the platform, but is most easily explained when two speakers are placed at equal amplitudes and opposite phases, creating a sink between the two speakers. As illustrated in the diagram, a line sink is created along Line 1 by placing Speaker B and Speaker C at equal amplitude but opposite phases, while holding Speaker A is off. If several small objects were placed on the plate at this point, all the objects would converge to the central line of the plate. A second line sink, orthogonal to the first, is created along Line 2 by once again placing Speakers B and C at equal amplitudes but this time in phase with each other. Speaker A is placed at a small amplitude and out of phase with speakers B and C, which moves the line sink slightly away from the edge of the plate.
Lines 1 and 2 in the example create a node at 12 o'clock by alternating between the radial (Line 1) and orthogonal (Line 2) phases (12 o'clock is located above Speaker A). This concept was the used to create all of the even number nodes on the clock face. In order to create the nodes at the odd numbers, we slightly changed the amplitudes of the speakers at the previous time until the correct placement was found.
Although theoretically our design should have allowed us to program the clock using symmetry, due to slight imperfections in the design and in the electrical components, we had to use some trial and error methods to place the nodes correctly. Nonetheless, the theory allowed us to create nodes almost exactly where we wanted them to be.
The Vibratory clock consists of a wooden base, held up by adjustable legs, three speakers, and a circular platform. The following material were used to create the design:
- wood: 16" diameter, 0.75" thick
- holes: 6" diameter (3 total)
- adjustable legs: 3 rods: 3/8"-16; 4" long; 6 nuts total
- 3 Pyramid Power PW677X: 300W, 4 Ohms, 6.5" Chrome Subwoofer
- previously adapted speakers replaced center of speaker with attachments 3" in height and 1/2" hole on top
- 1/2" diameter PVC used to attach previous attachment to platform with a screw
- held in place by 2 set screws each
- centers placed 7.125" apart
- PVC/Acrylic: 11.75" diameter, 0.25" thick
- machined on the LaserJet
- screw holes counter-sunk at 7.125" apart
- 2.875" above wooden base
- Silver Sharpie used for numbers
Reasoning for Geometry of Design
Equilateral Triangle: By having the speakers equidistant from each other, we were able to create symmetry in our design, which made programming the various nodes much easier. For example, we were able to use the same theory to find the node at 12 o'clock, 4 o'clock, and 8 o'clock. If the speakers were not placed equidistant from each other, two speakers placed at equal amplitudes and opposite phases would not have created a sink in the exact middle of the two speakers.
We needed to make the legs adjustable since it is essential that the platform be perfectly level in order for the objects placed on the platform to move in expected patterns. For example, if one leg is slightly shorter than the other two, the objects placed on the platform would tend to move towards that leg and we could no longer rely on symmetry to program the various nodes due to the effects of gravity.
Height of Platform:
Through our own experimentation and from Professor Lynch's research, we found that we needed to have the pivot point (i.e. the speaker diaphragm) significantly below the platform in order to create sinks. At one point in the design process, we attempted to create a different pivot point by replacing the PVC with 1/2" outer diameter, 1/4" inner diameter Tygon 2001 tubing that only was able to bend in one point since it had stand-offs and screws inside the tube. However, this replacement in a sense created two pivot points (the speaker diaphragm and the Tygon), causing the platform to only create sources and not sinks. In addition, the different height of the pivot point may have also led to the plate acting differently.
|Part||Part No.||Qty||Vendor||Price (Total)|
|Microchip 8-bit PIC Microcontroller (U1)||PIC18F4520||1||N/A||N/A|
|Maxim Quad, 2-Wire Serial 8-Bit Digital-to-Analog Converter (U2)||MAX520||1||Digi-Key||$9.28|
|Emtel 150W, 12V Power Supply||EMV15012V||1||N/A||N/A|
|Emtel EMV15012V Wiring Kit||61-EMV15012VWK||1||N/A||N/A|
|Legacy Series II 4-channel, 300W Power Amplifier||LA160||1||N/A||N/A|
|Keystone Electronics Snap-Fit 90 PC Phono Jack||901K-ND||3||Digi-Key||$3.81|
|Radioshack 6-Ft. Shielded Cable, RCA Plug to RCA Plug||42-2367||3||Radioshack||$14.97|
|20-ft Monster Cable 16-Gauge Speaker Wire||S16-2XLN||1||Radioshack||$9.97|
The PIC sends a digitized version of three sine waves to the DAC for conversion. The signal then passes through a LPF filter before going to a power amplifier and finally the speakers themselves, which vibrate the surface plate.
The PIC would step through the sampled sine wave, stored in program memory, and send the values to the DAC. Since we need 3 individual sine waves, we selected the Maxim MAX520, a quad DAC IC. It uses I2C with which our PIC easily interfaces and a simple message protocol. With I2C, normally the protocol describes a start and stop bit. In between that there are a hardware address byte and subsequent message bytes. Since there are 3 hardware address pins on this IC up to 8 (23) can be used on a single I2C bus. After the address byte, the first message byte indicates which converter in the quad DAC that the following message is for (software address). The second message byte is the 8-bit value for the previously selected converter. Several converters (in the same DAC IC) can be spoken to within the same start and stop bits by simply repeating the software address message and the converter value message for the different converters in a single DAC IC.
Originally, our hopes were to use the PIC's built-in PWM functionality to control the speakers and pass the signal through a low-pass filter to create our sine wave. Quickly, we realized that method did not give us the control over the amplitude and phase that we needed to create a line sink. Another idea was to use digital potentiometers in a configurable all-pass filter as a second filter, after low-pass filtering a PWM/square wave signal. This would allow us to control the amplitude and phase response of the filter by controlling the digital potentiometer. Despite, it's usefulness, this method was very complex since it would require fine control of the filter and be very susceptible to noise or error. Our final method, as mentioned previously, involved a Look-Up Table with a full period of a sine wave and a DAC.
The PIC has a sine wave stored in program memory in the form of a look-up table (LUT). The main code simply steps through the LUT and outputs that value to the DAC. This will create a "stepping" sine wave, which get smoothed out by the passive LPF before the signal is sent to the power amplifier. There is an interrupt service routine that occurs every .825 seconds to alternate between two orthogonal line sinks, to create a node to which a time piece will go. Additionally, every 10 seconds within the interrupt, the time is changed in that the position of the node moves to the next hour. Our code has the hour positions hard coded and simply steps through all of them. More positions can easily be added for better resolution, which would be useful in an hour hand.
We were able to get our project working so that the plate moves an object placed anywhere on the plate to the correct time and then moves the objects around the clock face, acting as the hour "hand" of a clock. However, we increased the speed so that it takes about 2 minutes for objects placed on the clock to move around so that it is easy to demonstrate. Check out the working Vibratory Clock here.
- Independent Speaker Control — each speaker was able to be controlled entirely independently of the other two in terms of amplitude and phase.
- Line Sinks — objects placed at any point on the platform moved to a point on a single line.
- Nodes — two line sinks were created to move an object at any point on the platform to a single specified point elsewhere on the platform.
- Clock Face Positioning — an object placed on the platform moved to each number of a 12-hour cycle
- Surface Dependency — objects tested in lab moved accurately around the clock face; however, when moved to a different location the objects behaved erratically and no longer told time. In the future the clock should be isolated from its resting surface.
- Vibration Transmission — significant vibrations were transmitted from the speakers into the surface which may have contributed to the previous problem. Damping of the speakers may reduce the effects of this problem.
- Hour hand Resolution — the hour hand moves through twelve positions in a twelve-hour cycle. In a twelve-hour cycle 360 positions (six positions per hour) or 720 positions (twelve positions per hour) would be ideal.
- Noise — simple car audio stereos generated distracting audible noise when vibrating the plate. Ultrasonic voice coil actuators could be used to eliminate this noise.