Main Page | Report this Page
 
   
Science Forum Index  »  Electronics - Design Forum  »  Audio circuit to drive solenoid...
Page 1 of 1    
Author Message
Doug B....
Posted: Sat Jul 05, 2008 3:20 pm
Guest
Hello all,

I am looking for some design help on a circuit to control a rotary
solenoid using an audio signal. First, some context:

This is for a musician/artist friend who is building a prototype of a
new musical instrument. The instrument consists of a series of nitinol
(MuscleWire) strings that are plucked by a wooden stick attached to a
rotary solenoid. He currently has eight strings+solenoid combinations
going. When it's played, the instrument sounds like a chorus of
detuned cats...

To drive a solenoid under his current setup, my friend simply connects
it across the positive and negative terminals of one channel of a car
stereo amp. He uses either an analog synthesizer or a digital music
application on his computer to generate pulse trains of low-frequency
signals. I guess you could call it a primitive form of PWM. He
manually tweaks the signal shape, period and volume until he gets the
solenoids to activate and pluck the strings at the rates he wants.

All this works (remarkably) well except for two problems: 1) The
solenoids get really hot after a short time. No wonder, as they spend
a good part of the time uselessly activated. I haven't actually hooked
up a scope, but I suspect that only the first 10-20 milliseconds of
the audio pulses are going to actually activate the solenoid; the rest
of the energy is going to heat his apartment. 2) Each solenoid takes
up a precious channel of an amp that is rated to 50 watts while actual
power needs are probably only a watt or two.

So what I'd like to do is design a circuit that would take the line-
level audio output from his synth or soundcard (1 V rms on the Macbook
he uses) and use it to trigger a pulse that is just long enough to
drive the solenoid. I don't have the specs on the solenoid, but I
believe it needs about 10 milliseconds for activation, then another 60
- 100 ms to run its course to 45 degrees. The solenoid is rated at 12
volts, but I'm not sure whether that is the 100% duty cycle rating or
something less. In any case, my friend uses 13.8 V regulated power
supplies for his setups, so I'd like to use that to power the circuit.

My first idea for this was to half-wave rectify the audio signal and
use it to drive a power transistor, but I don't see how to limit the
resulting pulse length, then shut off, regardless of how long the
audio note plays. RC circuit maybe?

I welcome all ideas, great and small. Thanks!

doug beeson
montreal,canada
J.A. Legris...
Posted: Sat Jul 05, 2008 5:19 pm
Guest
On Jul 5, 10:35 pm, "Tim Williams" <tmoran... at (no spam) charter.net> wrote:
Quote:
So you're looking for a circuit which produces a one-shot pulse, of specific
(and presumably adjustable) amplitude(s) and timing(s)?

If he's truely PWMing the solenoid, it could be getting hot from the AC.
Solenoids are often big hunks of steel, and big hunks of steel get hot when
you put AC into them.

Since this is a musical instrument, I'm going to bet it would be much more
convienient to implement a MIDI interface.  Not something I've done, but you
can probably find a chip to do the hard part.

Tim


Good idea. You can get some inspiration at the following web page that
describes a MIDI-controlled trumpet interface.

http://www.logosfoundation.org/instrum_gwr/korn.html

Regarding the overheating: for continuous sting-plucking your
solenoids should be rated for continuous duty.

--
Joe
Tim Williams...
Posted: Sat Jul 05, 2008 9:35 pm
Guest
So you're looking for a circuit which produces a one-shot pulse, of specific
(and presumably adjustable) amplitude(s) and timing(s)?

If he's truely PWMing the solenoid, it could be getting hot from the AC.
Solenoids are often big hunks of steel, and big hunks of steel get hot when
you put AC into them.

Since this is a musical instrument, I'm going to bet it would be much more
convienient to implement a MIDI interface. Not something I've done, but you
can probably find a chip to do the hard part.

Tim

--
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms

"Doug B." <c.difficile at (no spam) gmail.com> wrote in message
news:f91d79ed-55d2-4412-ad92-a9a4672f3df8 at (no spam) 34g2000hsf.googlegroups.com...
Quote:
Hello all,

I am looking for some design help on a circuit to control a rotary
solenoid using an audio signal. First, some context:

This is for a musician/artist friend who is building a prototype of a
new musical instrument. The instrument consists of a series of nitinol
(MuscleWire) strings that are plucked by a wooden stick attached to a
rotary solenoid. He currently has eight strings+solenoid combinations
going. When it's played, the instrument sounds like a chorus of
detuned cats...

To drive a solenoid under his current setup, my friend simply connects
it across the positive and negative terminals of one channel of a car
stereo amp. He uses either an analog synthesizer or a digital music
application on his computer to generate pulse trains of low-frequency
signals. I guess you could call it a primitive form of PWM. He
manually tweaks the signal shape, period and volume until he gets the
solenoids to activate and pluck the strings at the rates he wants.

All this works (remarkably) well except for two problems: 1) The
solenoids get really hot after a short time. No wonder, as they spend
a good part of the time uselessly activated. I haven't actually hooked
up a scope, but I suspect that only the first 10-20 milliseconds of
the audio pulses are going to actually activate the solenoid; the rest
of the energy is going to heat his apartment. 2) Each solenoid takes
up a precious channel of an amp that is rated to 50 watts while actual
power needs are probably only a watt or two.

So what I'd like to do is design a circuit that would take the line-
level audio output from his synth or soundcard (1 V rms on the Macbook
he uses) and use it to trigger a pulse that is just long enough to
drive the solenoid. I don't have the specs on the solenoid, but I
believe it needs about 10 milliseconds for activation, then another 60
- 100 ms to run its course to 45 degrees. The solenoid is rated at 12
volts, but I'm not sure whether that is the 100% duty cycle rating or
something less. In any case, my friend uses 13.8 V regulated power
supplies for his setups, so I'd like to use that to power the circuit.

My first idea for this was to half-wave rectify the audio signal and
use it to drive a power transistor, but I don't see how to limit the
resulting pulse length, then shut off, regardless of how long the
audio note plays. RC circuit maybe?

I welcome all ideas, great and small. Thanks!

doug beeson
montreal,canada
JosephKK...
Posted: Wed Jul 09, 2008 10:01 pm
Guest
On Sat, 5 Jul 2008 18:20:55 -0700 (PDT), "Doug B."
<c.difficile at (no spam) gmail.com> wrote:

Quote:
Hello all,

I am looking for some design help on a circuit to control a rotary
solenoid using an audio signal. First, some context:

This is for a musician/artist friend who is building a prototype of a
new musical instrument. The instrument consists of a series of nitinol
(MuscleWire) strings that are plucked by a wooden stick attached to a
rotary solenoid. He currently has eight strings+solenoid combinations
going. When it's played, the instrument sounds like a chorus of
detuned cats...

To drive a solenoid under his current setup, my friend simply connects
it across the positive and negative terminals of one channel of a car
stereo amp. He uses either an analog synthesizer or a digital music
application on his computer to generate pulse trains of low-frequency
signals. I guess you could call it a primitive form of PWM. He
manually tweaks the signal shape, period and volume until he gets the
solenoids to activate and pluck the strings at the rates he wants.

All this works (remarkably) well except for two problems: 1) The
solenoids get really hot after a short time. No wonder, as they spend
a good part of the time uselessly activated. I haven't actually hooked
up a scope, but I suspect that only the first 10-20 milliseconds of
the audio pulses are going to actually activate the solenoid; the rest
of the energy is going to heat his apartment. 2) Each solenoid takes
up a precious channel of an amp that is rated to 50 watts while actual
power needs are probably only a watt or two.

So what I'd like to do is design a circuit that would take the line-
level audio output from his synth or soundcard (1 V rms on the Macbook
he uses) and use it to trigger a pulse that is just long enough to
drive the solenoid. I don't have the specs on the solenoid, but I
believe it needs about 10 milliseconds for activation, then another 60
- 100 ms to run its course to 45 degrees. The solenoid is rated at 12
volts, but I'm not sure whether that is the 100% duty cycle rating or
something less. In any case, my friend uses 13.8 V regulated power
supplies for his setups, so I'd like to use that to power the circuit.

My first idea for this was to half-wave rectify the audio signal and
use it to drive a power transistor, but I don't see how to limit the
resulting pulse length, then shut off, regardless of how long the
audio note plays. RC circuit maybe?

I welcome all ideas, great and small. Thanks!

doug beeson
montreal,canada

On the face of it, i recommend switching the interface to the
instrument to MIDI. It just seems so much more natural for the
interface to me.
JosephKK...
Posted: Wed Jul 09, 2008 10:12 pm
Guest
On Sat, 5 Jul 2008 23:24:23 -0700 (PDT), "Doug B."
<c.difficile at (no spam) gmail.com> wrote:

Quote:
On Jul 5, 10:35 pm, "Tim Williams" <tmoran... at (no spam) charter.net> wrote:
So you're looking for a circuit which produces a one-shot pulse, of specific
(and presumably adjustable) amplitude(s) and timing(s)?


Yes, I think that sums it up. I know of the classic 555 for one-shot
pulses. Is there an alternative?


If he's truely PWMing the solenoid, it could be getting hot from the AC.
Solenoids are often big hunks of steel, and big hunks of steel get hot when
you put AC into them.

Since this is a musical instrument, I'm going to bet it would be much more
convienient to implement a MIDI interface. Not something I've done, but you
can probably find a chip to do the hard part.

Tim



I have thought of a MIDI interface. Problem is, my friend is really
not interested in using anything new than his standard analog
interface so...not this time.

--
Deep Friar: a very philosophical monk.
Website:http://webpages.charter.net/dawill/tmoranwms

"Doug B." <c.diffic... at (no spam) gmail.com> wrote in message

news:f91d79ed-55d2-4412-ad92-a9a4672f3df8 at (no spam) 34g2000hsf.googlegroups.com...

Hello all,

I am looking for some design help on a circuit to control a rotary
solenoid using an audio signal. First, some context:

This is for a musician/artist friend who is building a prototype of a
new musical instrument. The instrument consists of a series of nitinol
(MuscleWire) strings that are plucked by a wooden stick attached to a
rotary solenoid. He currently has eight strings+solenoid combinations
going. When it's played, the instrument sounds like a chorus of
detuned cats...

To drive a solenoid under his current setup, my friend simply connects
it across the positive and negative terminals of one channel of a car
stereo amp. He uses either an analog synthesizer or a digital music
application on his computer to generate pulse trains of low-frequency
signals. I guess you could call it a primitive form of PWM. He
manually tweaks the signal shape, period and volume until he gets the
solenoids to activate and pluck the strings at the rates he wants.

All this works (remarkably) well except for two problems: 1) The
solenoids get really hot after a short time. No wonder, as they spend
a good part of the time uselessly activated. I haven't actually hooked
up a scope, but I suspect that only the first 10-20 milliseconds of
the audio pulses are going to actually activate the solenoid; the rest
of the energy is going to heat his apartment. 2) Each solenoid takes
up a precious channel of an amp that is rated to 50 watts while actual
power needs are probably only a watt or two.

So what I'd like to do is design a circuit that would take the line-
level audio output from his synth or soundcard (1 V rms on the Macbook
he uses) and use it to trigger a pulse that is just long enough to
drive the solenoid. I don't have the specs on the solenoid, but I
believe it needs about 10 milliseconds for activation, then another 60
- 100 ms to run its course to 45 degrees. The solenoid is rated at 12
volts, but I'm not sure whether that is the 100% duty cycle rating or
something less. In any case, my friend uses 13.8 V regulated power
supplies for his setups, so I'd like to use that to power the circuit.

My first idea for this was to half-wave rectify the audio signal and
use it to drive a power transistor, but I don't see how to limit the
resulting pulse length, then shut off, regardless of how long the
audio note plays. RC circuit maybe?

I welcome all ideas, great and small. Thanks!

doug beeson
montreal,canada

Crikey. Point out your friend that the sound card already has a
duplex midi interface.
...
Posted: Sat Jul 12, 2008 6:14 pm
Guest
On Jul 5, 8:20 pm, "Doug B." <c.diffic... at (no spam) gmail.com> wrote:
Quote:
Hello all,

I am looking for some design help on a circuit to control a rotary
solenoid using an audio signal. First, some context:

This is for a musician/artist friend who is building a prototype of a
new musical instrument. The instrument consists of a series of nitinol
(MuscleWire) strings that are plucked by a wooden stick attached to a
rotary solenoid. He currently has eight strings+solenoid combinations
going. When it's played, the instrument sounds like a chorus of
detuned cats...

To drive a solenoid under his current setup, my friend simply connects
it across the positive and negative terminals of one channel of a car
stereo amp. He uses either an analog synthesizer or a digital music
application on his computer to generate pulse trains of low-frequency
signals. I guess you could call it a primitive form of PWM. He
manually tweaks the signal shape, period and volume until he gets the
solenoids to activate and pluck the strings at the rates he wants.

All this works (remarkably) well except for two problems: 1) The
solenoids get really hot after a short time. No wonder, as they spend
a good part of the time uselessly activated. I haven't actually hooked
up a scope, but I suspect that only the first 10-20 milliseconds of
the audio pulses are going to actually activate the solenoid; the rest
of the energy is going to heat his apartment. 2) Each solenoid takes
up a precious channel of an amp that is rated to 50 watts while actual
power needs are probably only a watt or two.

So what I'd like to do is design a circuit that would take the line-
level audio output from his synth or soundcard (1 V rms on the Macbook
he uses) and use it to trigger a pulse that is just long enough to
drive the solenoid. I don't have the specs on the solenoid, but I
believe it needs about 10 milliseconds for activation, then another 60
- 100 ms to run its course to 45 degrees. The solenoid is rated at 12
volts, but I'm not sure whether that is the 100% duty cycle rating or
something less. In any case, my friend uses 13.8 V regulated power
supplies for his setups, so I'd like to use that to power the circuit.

My first idea for this was to half-wave rectify the audio signal and
use it to drive a power transistor, but I don't see how to limit the
resulting pulse length, then shut off, regardless of how long the
audio note plays. RC circuit maybe?

I welcome all ideas, great and small. Thanks!

doug beeson
montreal,canada

I might have the solution you're looking for. Please contact me.
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Tue Dec 02, 2008 2:50 am