1
\$\begingroup\$

I have a capacitor that controls frequency for a specialty IC with the relationship

\$F \propto 1/C\$

I want to be able to get a number of frequencies in evenly spaced intervals. Currently I have a string of series capacitors some of which I short out with regular dip switches in a binary code to give 16 steps.

schematic

simulate this circuit – Schematic created using CircuitLab

This works as adding capacitors in series follows the relationship below giving linear steps.

\$ F \propto \frac{1}{C} = \frac{1}{C} + \frac{1}{2C} + \frac{1}{4C} +\frac{1}{8C} \$

To make it more intuitive to set the frequency for people who are not used to binary code I would like to use a coded rotary dip switch such as this

This means the switches are not all separate and have a common pin.

schematic

simulate this circuit

Because of this the relationship is exponential and it is not possible to get even steps based on this circuit

\$ F \propto \frac{1}{C} = \frac{1}{C + 2C + 3C+ 4C}\$


TLDR

Is there a simple way to get evenly spaced frequency steps using a coded rotary dip switch, without needing too many more components.

\$\endgroup\$
9
  • \$\begingroup\$ Ummm - use different value capacitors? \$\endgroup\$ Dec 3, 2015 at 2:34
  • \$\begingroup\$ Different values will still have the same problem of changing step size \$\endgroup\$
    – Hugoagogo
    Dec 3, 2015 at 2:59
  • \$\begingroup\$ Does your IC also have a resistor that controls current ? \$\endgroup\$
    – jp314
    Dec 3, 2015 at 3:56
  • \$\begingroup\$ I have two pins that it expects me to apply capacitance across \$\endgroup\$
    – Hugoagogo
    Dec 3, 2015 at 4:05
  • \$\begingroup\$ Four relays? Connect each output of the rotary switch to the coil of an SPST relay. \$\endgroup\$ Dec 3, 2015 at 4:54

1 Answer 1

1
\$\begingroup\$

Edited:

The 4 relay idea from Tom C is one option.

Other then that, if using a group of relays is not practical, then an old fashion 16 position rotary switch could do the trick too.

You could create a similar capacitor string as in your first diagram using 16 equal value capacitors, (much easier then finding several specific values) then use the 16 position switch to connect to each of the 16 intersections within the string. That would give you the "division" format you seem to need.

Low cost 12 position switches can be had from surplus dealers.

\$\endgroup\$
6
  • \$\begingroup\$ Yes they add together in a linear way giving linear capacitance steps, this gives non linear frequency steps \$\endgroup\$
    – Hugoagogo
    Dec 4, 2015 at 6:44
  • \$\begingroup\$ Where is the non-linear part? Your equation says "proportional to" doesn't it? \$\endgroup\$
    – Nedd
    Dec 4, 2015 at 6:47
  • \$\begingroup\$ Not really, it is proportionate to the inverse. \$\endgroup\$ Dec 4, 2015 at 6:49
  • \$\begingroup\$ Made very clear tinyurl.com/n9og6tq \$\endgroup\$
    – Hugoagogo
    Dec 4, 2015 at 6:56
  • \$\begingroup\$ It could also be claimed that your Frequency intervals (per the list) are not "evenly" spaced, they are divisions (ratios), each step is a divide by n. \$\endgroup\$
    – Nedd
    Dec 4, 2015 at 8:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.