Goto page 1, 2 Next
Mike Rocket J. Squirrel E
Guest
Mon Mar 28, 2005 7:39 pm
I'm an analog guy and I need for a bit of logic/adc design work done,
will pay. The design is essentially to sample the voltage on the wiper
of a potentiometer, and use it to drive one of 48 relays, depending on
the wiper voltage. The relays need to be driven in a make-before-break
style. I don't want to run any clocks in the product if at all possible.
Low-speed stuff. I reckon this is digital design 101 as taught in 1980.
Please private mail me for more information if this sounds like
no-brainer stuff to you and you have the time and are interested.
I'm located in Carlsbad, CA.
--
Mike "Rocket J Squirrel" Elliott
71 Type 2: the Wonderbus
84 Westfalia: "Mellow Yellow (The Electrical Banana)"
KG6RCR
Mike Rocket J. Squirrel E
Guest
Wed Mar 30, 2005 8:28 pm
On 3/29/2005 11:02 PM polleke wrote:
Quote:
that is very easy one.
Use a multiswitch with a lot of contacts that is the trick. You
will not have to use any electronics only some 1 % resistors.
You also can use a coarse and fine switch as 48 pos switches are
rare.
Of course I would do this if good-feeling 48 position rotary switches
with four decks (stereo balanced signals) were available. The
fine/coarse idea is interesting but not very user-friendly.
--
Mike "Rocket J Squirrel" Elliott
71 Type 2: the Wonderbus
84 Westfalia: "Mellow Yellow (The Electrical Banana)"
KG6RCR
Mike Rocket J. Squirrel E
Guest
Wed Mar 30, 2005 8:30 pm
On 3/29/2005 6:13 PM nospam wrote:
Quote:
"Mike Rocket J. Squirrel Elliott"
j.michael.elliottAT_at_REMOVETHEOBVIOUSgmailDOT.com> wrote:
Oops -- Thanks! (Wrong chip, right family. The LM3914 is the linear one.)
The LM3914 has overlapping comparators and no hysteresis so for some of the
pot you will have one relay on, some of the pot you will have two relays
on, and the rest of the pot you will have one on and one buzzing with the
slightest noise in the system.
Aw fudge.
Quote:
Clocks and potential interference. The product will be a vacuum-tube
high end audio phono preamplifier.
And I thought is was going to be something sensible like a tapped inductor
for an antenna tuner ;|
Hah. As if. Sensible -- if I wanted to do something sensible I'd have
found another line of work. Or maybe not: I'm going back to college to
get my Master's degree in social work. How sensible is that?
--
--
Mike "Rocket J Squirrel" Elliott
71 Type 2: the Wonderbus
84 Westfalia: "Mellow Yellow (The Electrical Banana)"
KG6RCR
nospam
Guest
Wed Mar 30, 2005 10:26 pm
"Mike Rocket J. Squirrel Elliott"
<j.michael.elliottAT_at_REMOVETHEOBVIOUSgmailDOT.com> wrote:
Quote:
Clocks and potential interference. The product will be a vacuum-tube
high end audio phono preamplifier.
And I thought is was going to be something sensible like a tapped inductor
for an antenna tuner ;|
Hah. As if. Sensible -- if I wanted to do something sensible I'd have
found another line of work. Or maybe not: I'm going back to college to
get my Master's degree in social work. How sensible is that?
Well high end audio is more of a social than electronic phenomena.
If you insist on a non-processor solution I think I would use a 6 bit
up/down counter clocked at a few Hz. Drive a DAC from the counter and
slightly tricky dual comparators compare its output with a voltage from the
pot. The comparators will produce up/down enables for the counter.
That would take about 5 chips and give you a 6 bit binary code which tracks
the pot with no missing counts and a defined maximum slew rate.
The make before break is tricky and perhaps depends on how you can drive
the relays.
7 off 3 to 8 line decoders like the 4051 will give you one of 48 outputs
from a 6 bit code.
If the relays need drivers then integrating an R/C turn off delay on each
driver might be the simplest. If the relays can be driven by 'logic' then
it may be simpler to have two 6 to 48 line decoders driving the relays, one
from the up/down counter and another from a latched copy of the counter
delayed by one clock.
Mike Rocket J. Squirrel E
Guest
Wed Mar 30, 2005 11:58 pm
On 3/30/2005 3:26 PM nospam wrote:
Quote:
"Mike Rocket J. Squirrel Elliott"
j.michael.elliottAT_at_REMOVETHEOBVIOUSgmailDOT.com> wrote:
Clocks and potential interference. The product will be a vacuum-tube
high end audio phono preamplifier.
And I thought is was going to be something sensible like a tapped inductor
for an antenna tuner ;|
Hah. As if. Sensible -- if I wanted to do something sensible I'd have
found another line of work. Or maybe not: I'm going back to college to
get my Master's degree in social work. How sensible is that?
Well high end audio is more of a social than electronic phenomena.
If you insist on a non-processor solution I think I would use a 6 bit
up/down counter clocked at a few Hz. Drive a DAC from the counter and
slightly tricky dual comparators compare its output with a voltage from the
pot. The comparators will produce up/down enables for the counter.
That would take about 5 chips and give you a 6 bit binary code which tracks
the pot with no missing counts and a defined maximum slew rate.
The make before break is tricky and perhaps depends on how you can drive
the relays.
7 off 3 to 8 line decoders like the 4051 will give you one of 48 outputs
from a 6 bit code.
If the relays need drivers then integrating an R/C turn off delay on each
driver might be the simplest. If the relays can be driven by 'logic' then
it may be simpler to have two 6 to 48 line decoders driving the relays, one
from the up/down counter and another from a latched copy of the counter
delayed by one clock.
I'd like to reply to this privately -- please drop me a note to my
e-mail address.
--
--
Mike "Rocket J Squirrel" Elliott
71 Type 2: the Wonderbus
84 Westfalia: "Mellow Yellow (The Electrical Banana)"
KG6RCR
Tony Williams
Guest
Thu Mar 31, 2005 8:13 am
In article <zrGdnan-KMNxPNTfRVn-2Q_at_adelphia.com>,
Mike Rocket J. Squirrel Elliott
Quote:
Hmmm. I like the way you think! Does anyone make IC's with
multiple window comparators with something like one-pin control
of hysteresis . . . ?
This is a repost of a post that didn't seem to make it.
A 6-bit flash ADC has the required comparators and
no clock.
Send the 6-bit output (1 of 64) into 2x 3-8 line
decoders. Arrange the 48 relays into a 6x8 matrix,
with 6x high-side relay drivers and 8x low-side.
Get the make-before-break by slugging the OFF of
each relay...... perhaps with 14x R+C gated gates
before the row and column relay drivers.
--
Tony Williams.
Guest
Fri Apr 01, 2005 4:04 pm
Mike Rocket J. Squirrel Elliott wrote:
Quote:
On 3/29/2005 2:50 PM Helmut Sennewald wrote:
"Mike Rocket J. Squirrel Elliott"
j.michael.elliottAT_at_REMOVETHEOBVIOUSgmailDOT.com> schrieb im
Newsbeitrag
news:oPmdnd2iT_QmKdTfRVn-pw_at_adelphia.com...
On 3/29/2005 10:43 AM Mike Rocket J. Squirrel Elliott wrote:
On 3/29/2005 3:08 AM Robert Baer wrote:
Mike Rocket J. Squirrel Elliott wrote:
I'm an analog guy and I need for a bit of logic/adc design work
done,
will pay. The design is essentially to sample the voltage on the
wiper
of a potentiometer, and use it to drive one of 48 relays,
depending on
the wiper voltage. The relays need to be driven in a
make-before-break
style. I don't want to run any clocks in the product if at all
possible. Low-speed stuff. I reckon this is digital design 101
as
taught in 1980.
Please private mail me for more information if this sounds like
no-brainer stuff to you and you have the time and are
interested.
I'm located in Carlsbad, CA.
Oops -- Thanks! (Wrong chip, right family. The LM3914 is the linear
one.)
I don't know how to write code, so programming a uC would require
paying
someone for that. And buying hardware to program the uC. I can't
debug
code, either, so I would need to keep bothering the programmer. I've
had
difficulty in the past with code that needed debugging a couple years
later, only to find that the programmer guy was no longer available.
A
hardware implementation, like this simple IC approach, is something I
can understand and debug myself. I guess I prefer to do things myself
if
possible using technology even I can understand.
Clocks and potential interference. The product will be a vacuum-tube
high end audio phono preamplifier. I personally don't think that
having
an oscillator in this product will be a problem with halfway decent
shielding. But the marketplace will have more trust in the product if
it
is dead quiet (EMI-wise) inside. High-end audio is odd that way. Far
easier to not build in a perceived problem then try to defend
challenges
later.
Have you thought about using a rotary encoder?
Hewlett-Packard do incremental encoders from 200 to 2000 increments per
rotation, and while this isn't entirely clock free, it would probably
generate a lot less noise than switching your relays on and off.
Farnell list a respectable range of parts, from about $30
Farnell also list the Bourns EAW0J-B24-AE0128 7-bit absolute rotary
encoder which encodes 128 different positions as an 8-bit Gray code
onto 8 parallel outputs, which is as clock-free as you are going to
get, and only costs about $12 in small quantities, but you won't have
as much freedom to play with the "feel"of the knob as you would with
the HP kit.
The rest of the circuit could probably be a Xilinx CoolRunner PLD -
these are available with enough output pins to drive each of your 48
relays separately, though I'd go for a 2-D matrix which could select
any one of the 48 with just 14 outputs.
----------
Bill Sloman, Nijmegen
Mike Rocket J. Squirrel E
Guest
Fri Apr 01, 2005 8:34 pm
On 4/1/2005 8:04 AM bill.sloman_at_ieee.org wrote:
Quote:
Mike Rocket J. Squirrel Elliott wrote:
On 3/29/2005 2:50 PM Helmut Sennewald wrote:
"Mike Rocket J. Squirrel Elliott"
j.michael.elliottAT_at_REMOVETHEOBVIOUSgmailDOT.com> schrieb im
Newsbeitrag
news:oPmdnd2iT_QmKdTfRVn-pw_at_adelphia.com...
On 3/29/2005 10:43 AM Mike Rocket J. Squirrel Elliott wrote:
On 3/29/2005 3:08 AM Robert Baer wrote:
Mike Rocket J. Squirrel Elliott wrote:
I'm an analog guy and I need for a bit of logic/adc design work
done,
will pay. The design is essentially to sample the voltage on the
wiper
of a potentiometer, and use it to drive one of 48 relays,
depending on
the wiper voltage. The relays need to be driven in a
make-before-break
style. I don't want to run any clocks in the product if at all
possible. Low-speed stuff. I reckon this is digital design 101
as
taught in 1980.
Please private mail me for more information if this sounds like
no-brainer stuff to you and you have the time and are
interested.
I'm located in Carlsbad, CA.
Oops -- Thanks! (Wrong chip, right family. The LM3914 is the linear
one.)
I don't know how to write code, so programming a uC would require
paying
someone for that. And buying hardware to program the uC. I can't
debug
code, either, so I would need to keep bothering the programmer. I've
had
difficulty in the past with code that needed debugging a couple years
later, only to find that the programmer guy was no longer available.
A
hardware implementation, like this simple IC approach, is something I
can understand and debug myself. I guess I prefer to do things myself
if
possible using technology even I can understand.
Clocks and potential interference. The product will be a vacuum-tube
high end audio phono preamplifier. I personally don't think that
having
an oscillator in this product will be a problem with halfway decent
shielding. But the marketplace will have more trust in the product if
it
is dead quiet (EMI-wise) inside. High-end audio is odd that way. Far
easier to not build in a perceived problem then try to defend
challenges
later.
Have you thought about using a rotary encoder?
Rotary encoders don't provide visual feedback about there the volume is
set. A regular old potentiometer is generally connected to a knob, and
the knob generally has a pointer. One can glance at the pointer to see
where the volume is set before pushing "play" on the CD player, or
lowering the stylus onto the record. All the rotary encoders I've ever
seen go 'round and 'round w/o any real reference and w/o any pointer.
The only way that I know of to provide visual feedback about where the
volume is set when using a rotary encoder is with a display of some
sort, generally a VFL dot-matrix thingy, which requires a micro to run
and lots of other things to sort out.
As always, I could be wrong.
--
Mike "Rocket J Squirrel" Elliott
71 Type 2: the Wonderbus
84 Westfalia: "Mellow Yellow (The Electrical Banana)"
KG6RCR
Guest
Sat Apr 02, 2005 12:17 pm
Then you want an absolute rotary encoder, like the Bourns part I
mentioned.
http://www.bourns.com/pdfs/ACE.pdf
Put a collet knob with a pointer or a dot on the shaft of the encoder,
and make sure that the shaft is sitting in the right place before you
lock the knob onto the shaft by tightening the collet, and you've got
your display and memory.
The running torque is specified as between 0.5 to 1.5 newton-cm (0.75
to 2.5 ounce-inches) so it should stay put if you don't explicitly turn
it. You might want to put a sector plate on the shaft with a pin on the
panel (under the knob) to prevent the knob rotating through 360
degrees, but you could probably sell the continuous rotation to your
customers as a feature of a professional servo-quality rotation sensor
.......
------------------
Bill Sloman, Nijmegen
Tony Williams
Guest
Sun Apr 03, 2005 6:15 am
In article <4d5430173dtonyw_at_ledelec.demon.co.uk>,
Tony Williams <tonyw_at_ledelec.demon.co.uk> wrote:
Quote:
Send the 6-bit output (1 of 64) into 2x 3-8 line
decoders. Arrange the 48 relays into a 6x8 matrix,
with 6x high-side relay drivers and 8x low-side.
Get the make-before-break by slugging the OFF of
each relay...... perhaps with 14x R+C gated gates
before the row and column relay drivers.
Followup.....
There's a problem when trying to do make-before-break
with a matrix. Overlap of two relays is ok until the
selection of the next relay requires a change to both
a new row and column. Two rows and two columns being
active will result in 4 relays being energised.
The only solution I can see is to have an R+C across
each relay. Around about 100 ohms and 47uF will do a
5-10mS holdup.
--
Tony Williams.
Bill Sloman
Guest
Sun Apr 03, 2005 10:07 am
"Tony Williams" <tonyw_at_ledelec.demon.co.uk> schreef in bericht
news:4d55b0d8fetonyw_at_ledelec.demon.co.uk...
Quote:
In article <4d5430173dtonyw_at_ledelec.demon.co.uk>,
Tony Williams <tonyw_at_ledelec.demon.co.uk> wrote:
Send the 6-bit output (1 of 64) into 2x 3-8 line
decoders. Arrange the 48 relays into a 6x8 matrix,
with 6x high-side relay drivers and 8x low-side.
Get the make-before-break by slugging the OFF of
each relay...... perhaps with 14x R+C gated gates
before the row and column relay drivers.
Followup.....
There's a problem when trying to do make-before-break
with a matrix. Overlap of two relays is ok until the
selection of the next relay requires a change to both
a new row and column. Two rows and two columns being
active will result in 4 relays being energised.
For strictly sequential selection you can fix this by adding extra lines
(view with a fixed width font, like Courier)
1 3 5 7 9 11 13 15
17 19 21 23 25 27 29 31
33 35 37 39 41 43 45 47
2 4 6 8 10 12 14 16
18 20 22 24 26 28 30 32
34 36 38 40 42 44 46 48
The number of drivers required rises from 14 (6x8) for 48 relays, to 16
(6x10) . I like the division into two blocks of odd an even relays - I
expect that it would make the logic simpler.
With this arrangment, when you need to select two row and two columns, the
two extra intersections selected are empty.
Quote:
The only solution I can see is to have an R+C across
each relay. Around about 100 ohms and 47uF will do a
5-10mS holdup.
That would work too, and wouldn't require fancy logic .....
Bill Sloman, Nijmegen
Chuck Harris
Guest
Sun Apr 03, 2005 3:03 pm
Tony Williams wrote:
Quote:
In article <4d5430173dtonyw_at_ledelec.demon.co.uk>,
Tony Williams <tonyw_at_ledelec.demon.co.uk> wrote:
Send the 6-bit output (1 of 64) into 2x 3-8 line
decoders. Arrange the 48 relays into a 6x8 matrix,
with 6x high-side relay drivers and 8x low-side.
Get the make-before-break by slugging the OFF of
each relay...... perhaps with 14x R+C gated gates
before the row and column relay drivers.
Followup.....
There's a problem when trying to do make-before-break
with a matrix. Overlap of two relays is ok until the
selection of the next relay requires a change to both
a new row and column. Two rows and two columns being
active will result in 4 relays being energised.
The only solution I can see is to have an R+C across
each relay. Around about 100 ohms and 47uF will do a
5-10mS holdup.
Only works if you can predefine the rate the pot is turned.
The better solution is to use some logic, perhaps a small
microprocessor that has an A-to-D converter built in, and
has a clock that is entirely contained within the wafer of
the chip.
-Chuck
Mark Borgerson
Guest
Sun Apr 03, 2005 6:28 pm
In article <4d55b0d8fetonyw_at_ledelec.demon.co.uk>,
tonyw_at_ledelec.demon.co.uk says...
Quote:
In article <4d5430173dtonyw_at_ledelec.demon.co.uk>,
Tony Williams <tonyw_at_ledelec.demon.co.uk> wrote:
Send the 6-bit output (1 of 64) into 2x 3-8 line
decoders. Arrange the 48 relays into a 6x8 matrix,
with 6x high-side relay drivers and 8x low-side.
Get the make-before-break by slugging the OFF of
each relay...... perhaps with 14x R+C gated gates
before the row and column relay drivers.
Followup.....
There's a problem when trying to do make-before-break
with a matrix. Overlap of two relays is ok until the
selection of the next relay requires a change to both
a new row and column. Two rows and two columns being
active will result in 4 relays being energised.
The only solution I can see is to have an R+C across
each relay. Around about 100 ohms and 47uF will do a
5-10mS holdup.
I presume that you mean to place the R+C across the input
to the relay driver. Placing substantial resistance
and capacitance near the actual relay coils, with their
low resistance and high inductance, sounds like a problem
looking for a place to happen.
It all seems a bit of overkill when you could simply buy
a 46-position stepped attenuator from Marchand Electronics
http://www.marchandelec.com/att.html
Or are you trying to compete with them by offering an
extra two steps?
Mark Borgerson
Mike Rocket J. Squirrel E
Guest
Mon Apr 04, 2005 12:34 am
On 4/3/2005 12:28 PM Mark Borgerson wrote:
Quote:
In article <4d55b0d8fetonyw_at_ledelec.demon.co.uk>,
tonyw_at_ledelec.demon.co.uk says...
In article <4d5430173dtonyw_at_ledelec.demon.co.uk>,
Tony Williams <tonyw_at_ledelec.demon.co.uk> wrote:
Send the 6-bit output (1 of 64) into 2x 3-8 line
decoders. Arrange the 48 relays into a 6x8 matrix,
with 6x high-side relay drivers and 8x low-side.
Get the make-before-break by slugging the OFF of
each relay...... perhaps with 14x R+C gated gates
before the row and column relay drivers.
Followup.....
There's a problem when trying to do make-before-break
with a matrix. Overlap of two relays is ok until the
selection of the next relay requires a change to both
a new row and column. Two rows and two columns being
active will result in 4 relays being energised.
The only solution I can see is to have an R+C across
each relay. Around about 100 ohms and 47uF will do a
5-10mS holdup.
I presume that you mean to place the R+C across the input
to the relay driver. Placing substantial resistance
and capacitance near the actual relay coils, with their
low resistance and high inductance, sounds like a problem
looking for a place to happen.
It all seems a bit of overkill when you could simply buy
a 46-position stepped attenuator from Marchand Electronics
http://www.marchandelec.com/att.html
Or are you trying to compete with them by offering an
extra two steps?
No, no competing. I've tried those Shallco/Shallcross rotary switches
before and they don't offer a very good "feel."
But I think I owe an apology to all here on sci.electronics.cad -- my
original post was just a solicitation for assistance on this design, to
be taken off-line and done privately. I had not intended to chew up
bandwidth with a non-CAD thread. So to anyone who's gotten a little
tired of this, I apologize for the inconvenience.
--
Mike "Rocket J Squirrel" Elliott
71 Type 2: the Wonderbus
84 Westfalia: "Mellow Yellow (The Electrical Banana)"
KG6RCR
Mike Rocket J. Squirrel E
Guest
Mon Apr 04, 2005 12:41 am
On 4/3/2005 9:03 AM Chuck Harris wrote:
Quote:
Tony Williams wrote:
In article <4d5430173dtonyw_at_ledelec.demon.co.uk>,
Tony Williams <tonyw_at_ledelec.demon.co.uk> wrote:
Send the 6-bit output (1 of 64) into 2x 3-8 line
decoders. Arrange the 48 relays into a 6x8 matrix,
with 6x high-side relay drivers and 8x low-side.
Get the make-before-break by slugging the OFF of
each relay...... perhaps with 14x R+C gated gates
before the row and column relay drivers.
Followup.....
There's a problem when trying to do make-before-break
with a matrix. Overlap of two relays is ok until the
selection of the next relay requires a change to both
a new row and column. Two rows and two columns being
active will result in 4 relays being energised.
The only solution I can see is to have an R+C across
each relay. Around about 100 ohms and 47uF will do a
5-10mS holdup.
Only works if you can predefine the rate the pot is turned.
No problem. Think about the volume control on a stereo -- it's rare that
someone will grab it and wrench it from one extreme to another, most
motions are more deliberate.
Quote:
The better solution is to use some logic, perhaps a small
microprocessor that has an A-to-D converter built in, and
has a clock that is entirely contained within the wafer of
the chip.
Well, if it's just not possible to do this with non-clocked logic, then
that's pretty much the way I will necessarily go, but I do want to make
certain that I am not overlooking an approach that a. doesn't have a
clock and b. won't require someone smarter than me to write the code. As
mentioned earlier in this (long) thread, I have in the past found myself
using uP's programmed by someone who has dropped out of sight, taking
the source code with him.
--
Mike "Rocket J Squirrel" Elliott
71 Type 2: the Wonderbus
84 Westfalia: "Mellow Yellow (The Electrical Banana)"
KG6RCR
Goto page 1, 2 Next