Author Topic: 4066 bilateral switch unused inputs and maximum voltage through switches?  (Read 14058 times)

0 Members and 1 Guest are viewing this topic.

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
I was looking at the 4066b - quad bilateral switch datasheets the On Semi one is clearer as to what pins do what than the TI one I've found.
http://pdf.datasheetcatalog.com/datasheets/320/206765_DS.pdf

I know about tying unused inputs to ground but I'm still wondering what exactly is considered an input in the case of something like the 4066?
I'm assuming it means the four CONTROL inputs but what about the switch INs themselves. Are they inputs that you would connect to ground if they are unused?

ALSO: If I power it with 9V and use square waves for CONTROL I'm assuming I can't run a signal that is adjustable to be anywhere between -9V to +9V through the switch?
because the datasheet says...
"The maximum analog signal level is determined by VDD and VSS. The analog voltage must not swing higher than VDD or lower than VSS."

Basically, I want to use a counter IC of some sort to send pulses to the CONTROL inputs which in turn switches four varying voltages (four voltage dividers) to a VCO's control voltage input. The problem is that to get the maximum range of frequencies from the VCO I need to give it -9V to +9v and I don't think the 4066 can handle this.
« Last Edit: February 24, 2014, 02:41:26 am by dentaku »
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #1 on: February 24, 2014, 03:11:40 am »
4066 will do +/-7.5 V max on bipolar supply rails. Look at something from the DG or ADG range to switch higher amplitude analogue signals - eg DG308. These devices also more conveniently reference the logic control inputs to ground when operating on bipolar rails.
« Last Edit: February 24, 2014, 03:18:43 am by GK »
Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 6821
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #2 on: February 24, 2014, 12:11:20 pm »
The principle behind what to do with unused inputs is to avoid having a floating gate. The switch inputs don't connect to gates.
 

Offline sync

  • Frequent Contributor
  • **
  • Posts: 799
  • Country: de
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #3 on: February 24, 2014, 01:02:39 pm »
Look at the 4051,4052, 4053 analog multiplexer. These will work up to +/-9V or +/-10V (depending on manufacture).
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #4 on: February 24, 2014, 02:02:56 pm »
Aha... That's what I was expecting so it's nice to see someone here explain it in a simple way like that.

The principle behind what to do with unused inputs is to avoid having a floating gate. The switch inputs don't connect to gates.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #5 on: February 24, 2014, 02:15:52 pm »
I DO have a 4051BE and a 4051BP plus a 4052BP and a 4053BE so I guess I have some reading to do :) I got all of these from the collection of an old man who died last year so I'm never exactly sure what I have in my bins.

Basically I'm seeing if I can make a little step sequencer with counters, analogue switches and voltage dividers connected to a VCO control voltage input.
VCOs, VCFs, VCAs are easy enough (LM13700s are nice) but I'm still learning about these old 4000 series ICs.

Look at the 4051,4052, 4053 analog multiplexer. These will work up to +/-9V or +/-10V (depending on manufacture).
« Last Edit: February 24, 2014, 02:20:12 pm by dentaku »
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #6 on: February 24, 2014, 04:51:56 pm »
You should probably put an op amp stage in front of the VCO control input, so it can accept a more convenient voltage range.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #7 on: February 24, 2014, 05:04:09 pm »
Yeah. I just might do that.  :-+

You should probably put an op amp stage in front of the VCO control input, so it can accept a more convenient voltage range.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #8 on: February 24, 2014, 05:43:56 pm »
Where did people get the idea that it's OK to top post?  Is it a mobile thing?
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #9 on: February 24, 2014, 10:58:42 pm »
Maximum "nominal" supply voltage for the 4000 series is 15V. You can push it by running them at the absolute maximum ratings, but that generally isn't a very good design practice.

Unless you are using rail-rail in/out op-amps, they will need at least a volt or two of headroom, so you won't be able to power them from the same rail potentials as the analogue switches, if you intend to run the 4000-series analogue switches to their limits. The DGXXX series on the other hand can run on rails up to +/-22V, so they can be powered directly from the op-amp supply rails. That's generally a lot more convenient.
 
Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #10 on: February 25, 2014, 01:25:53 am »
Maximum "nominal" supply voltage for the 4000 series is 15V. You can push it by running them at the absolute maximum ratings, but that generally isn't a very good design practice.

CD4000B series is rated for 18V supply voltage.
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #11 on: February 25, 2014, 01:39:34 am »
18V is the "absolute maximum" rating – device specifications are characterised to 15V max. You generally don’t run logic IC’s at their absolute maximum supply ratings as that gives little margin for tolerating things like switching glitches on the rails or any other possible glitch/variation.
« Last Edit: February 25, 2014, 01:45:28 am by GK »
Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #12 on: February 25, 2014, 03:07:16 am »
18V is the "absolute maximum" rating – device specifications are characterised to 15V max. You generally don’t run logic IC’s at their absolute maximum supply ratings as that gives little margin for tolerating things like switching glitches on the rails or any other possible glitch/variation.

No, that is not true - 18V is allowed - see attached snippet from the CD4001B datasheet.

 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #13 on: February 25, 2014, 03:29:50 am »
I didn't say it wasn't allowed -  I said 18V is the absolute maximum.

Pay particular attention to the note about "nominal" voltages in that snippet you just attached.
« Last Edit: February 25, 2014, 03:31:42 am by GK »
Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #14 on: February 25, 2014, 05:51:31 am »
I didn't say it wasn't allowed -  I said 18V is the absolute maximum.

Pay particular attention to the note about "nominal" voltages in that snippet you just attached.

That is incorrect.  The datasheet states clearly that 18V is a recommended operating condition, and 20V is the absolute maximum.

« Last Edit: February 25, 2014, 05:54:50 am by edavid »
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #15 on: February 25, 2014, 06:17:01 am »
 ::)


And which manufacturer are you snipping bits of datasheet from?

The absolute maximum given by ON Semi (just one example) for the 4000 series is 18V.

If you are designing a circuit to be compatible with any 4000 series part of a specific part number, you are stuck to the lower max rated voltage.
Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 


Offline vk6zgo

  • Super Contributor
  • ***
  • Posts: 5373
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #17 on: February 25, 2014, 10:42:10 am »
Many years ago,I used 4066's in a project,& initially left the unused switch control pins open.

The 4066's got very hot!

I returned the unused switch control pins to zero volts.

The bloody things still got hot!

Finally,I organised a minus 6.8 volt supply,& returned the switch control pins to that.

No more overheating!! ;D

Edit:-Sorry about that--hope it is less confusing now!
« Last Edit: February 25, 2014, 11:42:20 pm by vk6zgo »
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #18 on: February 25, 2014, 11:42:36 am »
So it would seem that not all 4000-series CMOS is created equal.


For compatibility reasons a nominal supply voltage of 15V max. has endured as pretty much an unofficial standard when designing with 4000 CMOS.


Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 15391
  • Country: za
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #19 on: February 25, 2014, 06:26:21 pm »
As well with analogue switches connect the unused analogue switch pins to the common ground, as these are actually inputs to the internal gates and not driven outputs. They can float and cause latch up with stray voltage fields.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #20 on: February 25, 2014, 10:10:04 pm »
As well with analogue switches connect the unused analogue switch pins to the common ground, as these are actually inputs to the internal gates and not driven outputs. They can float and cause latch up with stray voltage fields.

Interesting, I didn't think that was the case.

edit... oops I forgot the word didn't in my original post :)
« Last Edit: February 26, 2014, 03:47:01 am by dentaku »
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #21 on: February 25, 2014, 10:46:13 pm »
As well with analogue switches connect the unused analogue switch pins to the common ground, as these are actually inputs to the internal gates and not driven outputs. They can float and cause latch up with stray voltage fields.

What do you mean by this?

Look at the schematic on the TI CD4066B datasheet - the in and out terminals are not tied to any transistor gates.

http://www.ti.com/lit/ds/symlink/cd4066b.pdf
 

Offline Neganur

  • Supporter
  • ****
  • Posts: 1114
  • Country: fi
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #22 on: February 26, 2014, 05:26:39 pm »
you should relax a little and focus on the content of discussions :)

Where did people get the idea that it's OK to top post?  Is it a mobile thing?
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #23 on: February 26, 2014, 06:22:30 pm »
you should relax a little and focus on the content of discussions :)

Where did people get the idea that it's OK to top post?  Is it a mobile thing?

You should stop being so relaxed and look at the format  :)
 

Offline vk6zgo

  • Super Contributor
  • ***
  • Posts: 5373
  • Country: au
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #24 on: February 27, 2014, 02:26:03 am »
As well with analogue switches connect the unused analogue switch pins to the common ground, as these are actually inputs to the internal gates and not driven outputs. They can float and cause latch up with stray voltage fields.

What do you mean by this?

Look at the schematic on the TI CD4066B datasheet - the in and out terminals are not tied to any transistor gates.

http://www.ti.com/lit/ds/symlink/cd4066b.pdf

No,but no matter what the mechanism,if you leave the control pins open,the switch can draw current---& it's not always good enough to return them to common ground,see my posting above.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #25 on: February 27, 2014, 04:01:20 am »
As well with analogue switches connect the unused analogue switch pins to the common ground, as these are actually inputs to the internal gates and not driven outputs. They can float and cause latch up with stray voltage fields.

What do you mean by this?

Look at the schematic on the TI CD4066B datasheet - the in and out terminals are not tied to any transistor gates.

http://www.ti.com/lit/ds/symlink/cd4066b.pdf

No,but no matter what the mechanism,if you leave the control pins open,the switch can draw current---& it's not always good enough to return them to common ground,see my posting above.

I was asking about SeanB's statement, but actually I didn't understand yours either.  Surely the unused control pins should be tied to either VSS or VDD, like any other unused CMOS inputs?
« Last Edit: February 28, 2014, 07:25:50 pm by edavid »
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 15391
  • Country: za
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #26 on: February 27, 2014, 04:21:26 am »
The control pins are CMOS gate inputs, but the analogue inputs and outputs are internally going to structures with parasitic diodes, and current through these can destructively latch up the chip, or cause the other switches in the package to misoperate. Thus these need to be connected to a defined logic state as well, and the best is to use the Vss pin.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #27 on: February 27, 2014, 06:11:10 am »
The control pins are CMOS gate inputs, but the analogue inputs and outputs are internally going to structures with parasitic diodes, and current through these can destructively latch up the chip, or cause the other switches in the package to misoperate. Thus these need to be connected to a defined logic state as well, and the best is to use the Vss pin.

If the input and output pins are not connected to anything, how can current flow through them?

Why wouldn't the same problem occur with e.g. a disabled three state output?


« Last Edit: February 28, 2014, 07:24:58 pm by edavid »
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #28 on: February 28, 2014, 05:03:27 pm »
Look at the 4051,4052, 4053 analog multiplexer. These will work up to +/-9V or +/-10V (depending on manufacture).

I've looked into the 4051B, which I have two of, and it's exactly what I've been looking for but I'm still not sure if it's OK to send the output of 8 voltage dividers (8 pots) into the eight Y0 to Y7 independent inputs/outputs pins and out the Z common input/output pin then into the pitch control of my LM13700 based VCO.

From what I can tell by looking at various manufacturer's datasheets I might only be able to put 10mA through the switches of the 4051?
I'll probably need to buffer or amplify the signals before they go into the VCO with an opamp but I'm more concerned about knowing if I'm putting too much current through the switches.

Obviously I'm making a simple 8 step sequencer here that sends anything from -9V to +9V into the VCO :)
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Re: 4066 bilateral switch unused inputs and maximum voltage through switches?
« Reply #29 on: February 28, 2014, 07:29:50 pm »
Look at the 4051,4052, 4053 analog multiplexer. These will work up to +/-9V or +/-10V (depending on manufacture).

I've looked into the 4051B, which I have two of, and it's exactly what I've been looking for but I'm still not sure if it's OK to send the output of 8 voltage dividers (8 pots) into the eight Y0 to Y7 independent inputs/outputs pins and out the Z common input/output pin then into the pitch control of my LM13700 based VCO.

From what I can tell by looking at various manufacturer's datasheets I might only be able to put 10mA through the switches of the 4051?

If you look at the resistance vs voltage curves, you'll see that even 10mA will give really weird results.

Quote
I'll probably need to buffer or amplify the signals before they go into the VCO with an opamp but I'm more concerned about knowing if I'm putting too much current through the switches.

Why does your VCO draw more than 10mA at the control input?  That sounds more like a CCO.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Why does your VCO draw more than 10mA at the control input?  That sounds more like a CCO.

That's true, this VCO/CCO doesn't draw much current into the pitch control input (and through a 27K resistor) but I want to be able to use this sequencer for other things.
If the Z common output pin of the 4051B is connected to an opamp buffer or non-inverting amplifier would that ensure that very little current could ever flow through the switch?

I never though of calling it a CCO but I guess that's appropriate . It's pretty much exactly fig. 19 from this .pdf.
http://www.nutsvolts.com/uploads/magazine_downloads/11/May%202003%20Ray%20Marston%20-%20Understanding%20And%20Using%20OTA%20OP-Amps.pdf
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
Why does your VCO draw more than 10mA at the control input?  That sounds more like a CCO.

That's true, this VCO/CCO doesn't draw much current into the pitch control input (and through a 27K resistor) but I want to be able to use this sequencer for other things.
If the Z common output pin of the 4051B is connected to an opamp buffer or non-inverting amplifier would that ensure that very little current could ever flow through the switch?

Sure, no more than the op-amp bias current, which is negligible.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Why does your VCO draw more than 10mA at the control input?  That sounds more like a CCO.

That's true, this VCO/CCO doesn't draw much current into the pitch control input (and through a 27K resistor) but I want to be able to use this sequencer for other things.
If the Z common output pin of the 4051B is connected to an opamp buffer or non-inverting amplifier would that ensure that very little current could ever flow through the switch?

Sure, no more than the op-amp bias current, which is negligible.


Aha. I was driving back home and I thought about using an opamp which of course has a very high input impedance .
« Last Edit: March 01, 2014, 01:29:38 am by dentaku »
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 15391
  • Country: za
If the input and output pins are not connected to anything, how can current flow through them?

Why wouldn't the same problem occur with e.g. a disabled three state output?

Same again, but generally a trisate output will have something like a terminator or other logic defining state, and these often have issues with disconnected cards and ESD events blowing them, or hot plugging killing them without protection added. Unused switches float, and if there is an electric field they can float to above latch up level just from the pin or stub traces on the board. Driven outputs are safe as they have a defined voltage and a relatively low impedance to keep the state defined and close to a rail.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 15391
  • Country: za
Why does your VCO draw more than 10mA at the control input?  That sounds more like a CCO.

That's true, this VCO/CCO doesn't draw much current into the pitch control input (and through a 27K resistor) but I want to be able to use this sequencer for other things.
If the Z common output pin of the 4051B is connected to an opamp buffer or non-inverting amplifier would that ensure that very little current could ever flow through the switch?

Sure, no more than the op-amp bias current, which is negligible.


Aha. I was driving back home and I thought about using an opamp which of course has a very high input impedance .

Buffer opamp is a very good thing to have at the output if you want best linearity out of the switch. Actually at each input as well if the source is a high impedance as well, but really only if you are switching at a faster rate and need fast sampling. Look at the datasheet where you will see on resistance versus applied voltage, where it is shown as a box with somewhat slanted sides. The on resistance of the switch is going to vary as the input voltage changes from -10 to +10V, and will give rise to a varying voltage drop across the switch if you are trying to draw any current through it. This resistance is not constant at all, and even depends on the current flowing as well. Fine for switching digital signals or for high impedance inputs changing slowly but a big trap if you are driving an unbuffered ADC input, and gives rise to an error that depends on the last input's voltage difference and the current switch input unless you allow a long settling time after selecting to starting the conversion/hold of the ADC from the charge balancing. This also gives a charge dump back out of the switch to the selected input which can be very confusing.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Buffer opamp is a very good thing to have at the output if you want best linearity out of the switch. Actually at each input as well if the source is a high impedance as well, but really only if you are switching at a faster rate and need fast sampling. Look at the datasheet where you will see on resistance versus applied voltage, where it is shown as a box with somewhat slanted sides. The on resistance of the switch is going to vary as the input voltage changes from -10 to +10V, and will give rise to a varying voltage drop across the switch if you are trying to draw any current through it. This resistance is not constant at all, and even depends on the current flowing as well. Fine for switching digital signals or for high impedance inputs changing slowly but a big trap if you are driving an unbuffered ADC input, and gives rise to an error that depends on the last input's voltage difference and the current switch input unless you allow a long settling time after selecting to starting the conversion/hold of the ADC from the charge balancing. This also gives a charge dump back out of the switch to the selected input which can be very confusing.

Wow, that's alot to think about for a beginner but I think I get it looking at the graphs. I'm only going to connect a string of voltage dividers to it with a pot for each step which then get switched in sequence by the multiplexer into the VCO. Noting high speed at all OR accurate. :)

You mention -10 to +10. Does that mean that I CAN switch the full -9V to +9V my oscillator uses for pitch control?
Does this mean that I can have VDD=+9V, VSS=0V and VEE =-9V? (would it have to be -9V?)

I know this thread is going on forever but the only 4000 series ICs I've ever used are the 4029 counter I'm using in his circuit and a 4511 BCD to 7 segment driver.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 1630
  • Country: gb
  • Test instrument designer/maker G1YWC.
    • Electron Plus
It would help if you published your proposed circuit.

Depending on your exact VCO config with the LM13700, I would expect you are feeding a control current via the control bias inputs (pins 1 & 16).  If this is the case, then you shouldn't hammer 10mA through there!

What it sounds like you are building (8+ step sequenced synth) is usually done with a V>C converter between the sequencer and the VCO.

So a typical implementation would be:
8x potentiometers wired across 0v & 5v, pot wipers feeding the inputs of a 4051, output of 4051 feeding (possibly by buffer opamp) a V>C converter (this can be as simple as a resistor!) - I use current mirrors though as this makes a nice transition between the 0-5V world of the controls and the +/-Vcc world of the 13700.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
It would help if you published your proposed circuit.

Depending on your exact VCO config with the LM13700, I would expect you are feeding a control current via the control bias inputs (pins 1 & 16).  If this is the case, then you shouldn't hammer 10mA through there!

What it sounds like you are building (8+ step sequenced synth) is usually done with a V>C converter between the sequencer and the VCO.

So a typical implementation would be:
8x potentiometers wired across 0v & 5v, pot wipers feeding the inputs of a 4051, output of 4051 feeding (possibly by buffer opamp) a V>C converter (this can be as simple as a resistor!) - I use current mirrors though as this makes a nice transition between the 0-5V world of the controls and the +/-Vcc world of the 13700.

You explained exactly what I'm trying to do. I'm guessing you've built synth modules before.
It's an 8 step up/down sequencer that puts out + and - voltages built out of just parts I happen to have.
The oscillator I'm using at the moment isn't the most important thing. I hope to be able to use the sequencer for modulating the pitch of different oscillators or the cutoff of any VCF or the volume of any VCA etc... A sequencer that's built to only control one VCO wouldn't be terribly useful.

Anyway.
- The 74c14 controls the clock speed (tempo of the sequencer) and I've already got that working.
- The 4029B counts up and down just fine because at the moment I already have it set up and connected to a 4511 BCD to 7 segment driver and it all works
- The LM13700 oscillator seems to work just fine and gives me nice square and triangle waves over a huge range of frequencies running off of +/- 9V
- The 4051 is the only part I wasn't sure about.
Here's what I came up with for images of this thing.
« Last Edit: March 02, 2014, 02:32:52 am by dentaku »
 

Offline sync

  • Frequent Contributor
  • **
  • Posts: 799
  • Country: de
Some remarks.
  • Don't let the 4051's INH input floating. Connect it to ground.
  • The TL072 is not a rail-to-rail op amp. You can't use the full +/-9V range with them.
  • The output voltage varies with your power supply voltages. If you use batteries this may become a problem.
  • Your VCO has a linear relationship voltage to frequency, eg. 1000Hz/V. This is unfavorable for music applications because the semitones don't have same voltage difference to each other.
    Normally analog synths uses a logarithmic relationship. Standard is 1V/octave. Then a semitone interval is always 83.3mV. This also eliminates your problem that you need such a wide range for the control voltage.
  • You forget LEDs for indicating with pot is currently active.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
Some remarks.
  • Don't let the 4051's INH input floating. Connect it to ground.
Yup, glad you caught that

  • The TL072 is not a rail-to-rail op amp. You can't use the full +/-9V range with them.
I noticed that it was more like +/- 7.5V but I guess that's not a big deal at the moment, especially at the top end because the VCO goes way up into not terribly useful frequencies anyway. I would be nice to be able to go rail to rail but I don't think I have an opamp that can do that. I've noticed that the plain old 358, 324 can at least got all the way to the negative rail unlike the TL072/082.

  • The output voltage varies with your power supply voltages. If you use batteries this may become a problem.
Someday I will have a real power supply :)

  • Your VCO has a linear relationship voltage to frequency, eg. 1000Hz/V. This is unfavorable for music applications because the semitones don't have same voltage difference to each other.
    Normally analog synths uses a logarithmic relationship. Standard is 1V/octave. Then a semitone interval is always 83.3mV. This also eliminates your problem that you need such a wide range for the control voltage.

I see people talking about exponential converters and such but I haven't gotten that far yet I guess.
It would be great to not need +/- 9V to get the full rage of frequencies though.

  • You forget LEDs for indicating with pot is currently active.

I'll have to add that to the schematic tomorrow. I wish I had a nice transistor array or something like that so I wouldn't need to use 8 transistors.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us

I see people talking about exponential converters and such but I haven't gotten that far yet I guess.
It would be great to not need +/- 9V to get the full rage of frequencies though.


Maybe you don't - what supply do you want to use?  Try hooking the VCO up to that.

Quote
  • You forget LEDs for indicating with pot is currently active.

I'll have to add that to the schematic tomorrow. I wish I had a nice transistor array or something like that so I wouldn't need to use 8 transistors.

You could use another 4051 if you have one.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 1630
  • Country: gb
  • Test instrument designer/maker G1YWC.
    • Electron Plus
Build your sequencer around 0-5v or at most 0-10v, try and keep to a 1v/octave standard internally - you'll thank me later.  Use a 7805.

At least that way you won't have your control voltages being dependent on battery state-of-charge, and you won't waste as much power heating up your pots.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca

I see people talking about exponential converters and such but I haven't gotten that far yet I guess.
It would be great to not need +/- 9V to get the full rage of frequencies though.


Maybe you don't - what supply do you want to use?  Try hooking the VCO up to that.


I'd love to use a simple 9V 1.5A regulated adapter I have. Most decent oscillator designs use +/- voltages though.
Most of the time people use +/- 12V or +/- 15V for synth modules but since this is just an experiment I can use whatever is available to me.

  • You forget LEDs for indicating with pot is currently active.
I'll have to add that to the schematic tomorrow. I wish I had a nice transistor array or something like that so I wouldn't need to use 8 transistors.

You could use another 4051 if you have one.

Considering the 4051 switches look like they can only handle 10mA wouldn't that be a little low for lighting LEDs?
« Last Edit: March 02, 2014, 07:25:00 pm by dentaku »
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
I'd love to use a simple 9V 1.5A regulated adapter I have. Most decent oscillator designs use +/- voltages though.

You could think about just using a 4046 VCO for now.


Quote
Considering the 4051 switches look like they can only handle 10mA wouldn't that be a little low for lighting LEDs?

Should be plenty unless they are really old LEDs.
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
I'd love to use a simple 9V 1.5A regulated adapter I have. Most decent oscillator designs use +/- voltages though.

You could think about just using a 4046 VCO for now.


Quote
Considering the 4051 switches look like they can only handle 10mA wouldn't that be a little low for lighting LEDs?

Should be plenty unless they are really old LEDs.

I DO have a little SAW wave VCO on a breadboard right now that runs on one 9V battery just fine but it's very susceptible to noise on the power rails.

I guess all I can do now is built it and test it out on my oscilloscope and see if I get square steps at the voltages I'm expecting. Maybe start with using a 7805 and only sending 0V to +5V through the switches at first to prove it works.

This thread has to end sometime :)
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
One last thing about the 4051B.
In my simulations it all works fine but VDD, VSS and VEE are hidden pins so it gets confusing.

In the Toshiba TC4051B datasheet it says
"The digital signal to the control terminal turns "ON" the corresponding switch of each channel, with large amplitude (Vdd-Vee) can be switched by the control signal with small logical amplitude (Vdd-Vss). For example, in the case of Vdd=5V, Vss=0V and Vee=-5V, signals between -5V and +5V can be switched from the logical circuit with single power supply of 5V. As the ON resistance of each switch is low, these can be connected to the circuits with low input impedance."

Does this mean that I should connect the Vss pin to 0V and the Vee pin to -9V? Or should Vss and Vee just both be 0V?
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 2991
  • Country: us
One last thing about the 4051B.
In my simulations it all works fine but VDD, VSS and VEE are hidden pins so it gets confusing.

In the Toshiba TC4051B datasheet it says
"The digital signal to the control terminal turns "ON" the corresponding switch of each channel, with large amplitude (Vdd-Vee) can be switched by the control signal with small logical amplitude (Vdd-Vss). For example, in the case of Vdd=5V, Vss=0V and Vee=-5V, signals between -5V and +5V can be switched from the logical circuit with single power supply of 5V. As the ON resistance of each switch is low, these can be connected to the circuits with low input impedance."

Does this mean that I should connect the Vss pin to 0V and the Vee pin to -9V? Or should Vss and Vee just both be 0V?

Whatever you want...

VSS of the 4051 connects to VSS of the logic circuit driving the select lines (the 4029, in your case).

VEE connects to the negative supply voltage of the analog circuit driving the mux inputs (the pots, in your case).
 

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 849
  • Country: ca
One last thing about the 4051B.
In my simulations it all works fine but VDD, VSS and VEE are hidden pins so it gets confusing.

In the Toshiba TC4051B datasheet it says
"The digital signal to the control terminal turns "ON" the corresponding switch of each channel, with large amplitude (Vdd-Vee) can be switched by the control signal with small logical amplitude (Vdd-Vss). For example, in the case of Vdd=5V, Vss=0V and Vee=-5V, signals between -5V and +5V can be switched from the logical circuit with single power supply of 5V. As the ON resistance of each switch is low, these can be connected to the circuits with low input impedance."

Does this mean that I should connect the Vss pin to 0V and the Vee pin to -9V? Or should Vss and Vee just both be 0V?

Whatever you want...

VSS of the 4051 connects to VSS of the logic circuit driving the select lines (the 4029, in your case).

VEE connects to the negative supply voltage of the analog circuit driving the mux inputs (the pots, in your case).

OK, that's good to know. Now I have a better image in my head of how it works.
« Last Edit: March 06, 2014, 09:19:40 pm by dentaku »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf