Difference between revisions of "Characterizing the response of a solenoid"

From Mech
Jump to navigationJump to search
Line 22: Line 22:


== Code ==
== Code ==

These scope traces show the erratic vibrations at low frequencies

[[Image:15V10Hz50%(small).JPG|left|thumb|300px|10 Hz Driving]]
[[Image:15V25Hz50%(small).JPG|left|thumb|300px|25 Hz Driving]]
[[Image:15V50Hz50%(small).JPG|left|thumb|300px|50 Hz Driving]]

<br clear="all">

These scope traces show the effects of varying the duty cycle with constant amplitude (24V) and frequency (200Hz)

[[Image:24V200Hz25%(small).JPG|left|thumb|300px|25% Duty Cycle]]
[[Image:24V200Hz50%(small).JPG|left|thumb|300px|50% Duty Cycle]]
[[Image:24V200Hz75%(small).JPG|left|thumb|300px|75% Duty Cycle]]

Revision as of 00:56, 11 February 2009

Original Assignment

Your job is to characterize the response of a solenoid to on-off pulsed forcing. The solenoid should be equipped with a return spring so that the solenoid returns to a home position when the coil is de-energized.

You should provide the user with the ability to control three parameters of the on-off pulsed forcing: the frequency of the on-off pulsed forcing, the duty cycle, and the amplitude (the voltage or current applied to the coil when it is energized). You will mount an accelerometer on the shaft of the solenoid and use an oscilloscope to simultaneously look at the control voltage to the solenoid and the acceleration of the solenoid. Try frequencies from 10 Hz to hundreds of Hz. For what frequencies, duty cycles, and amplitudes does the solenoid shaft hit stops, and for what values do you get approximate square wave acceleration profiles? Summarize your results in text and post clear images of the oscilloscope for a few representative choices.

Note: your PIC may not be involved in this assignment at all. You could use a function generator to generate the frequency and duty cycle you want, and use the amplitude to (perhaps) control a transistor operating in the linear regime to deliver different amounts of current to the solenoid. It may make sense to always energize the coil a little bit, even in the "off" state, so that the return spring is always in a bit of tension.



Overview

Circuit

Accelerometer: [[1]]

Solenoid Driving Circuit


Code

These scope traces show the erratic vibrations at low frequencies

10 Hz Driving
25 Hz Driving
50 Hz Driving


These scope traces show the effects of varying the duty cycle with constant amplitude (24V) and frequency (200Hz)

25% Duty Cycle
50% Duty Cycle
75% Duty Cycle