Field of the Invention
This invention relates to a device for providing a selectively variable proportion of an electrical signal and relates especially to a device that can be used instead of a conventional resistive track potentiometer.
Background to the Invention
Resistive track potentiometers are well known and are used in a multitude of different applications. However, a disadvantage of such potentiometers is that they require mechanical movement of a slider along a track and hence they are susceptible to mechanical wear. Moreover, they are not readily disposed to be driven automatically or from a remote location.
Summary of the Invention
It is an object of the present invention to provide a device for providing a selectively variable proportion of an electrical signal, which can be used instead of a conventional resistive track potentiometer.
It is another object of the invention to provide a device for providing a selectively variable proportion of an electrical signal which can be driven automatically or from a remote location and which need not include moving parts.
These objects and others are accomplished by means of a device in accordance with the present invention which comprises first and second switching means each for being switched between relatively high and low conductivity states, said switching means being connected together at an output of the device and being connected in series between inputs for receiving said electrical signal, and a control means including means arranged to operate the switching means cyclically between said high and low states such that when one of said switching means is in its high conductivity state the other said switching means is in its low conductivity state, and means for controlling selectively the relative durations that the devices remain in said high and low conductivity states.
In use of a device in accordance with the invention, a low pass filter is connected to the output to provide an output filtered signal which is of the same general waveform as the input signal but of an amplitude determined by the relative durations of said conductivity states.
Preferably, the switching means comprise CMOS transmission gates which are controlled by a control signal of rectangular waveform produced by the control means, the control signal having a selectively variable mark to space ratio which determines the relative durations of the different conductivity states of the gates; this preferred arrangement can be manufactured on an integrated circuit chip, the chip being controlled by for example touch plate switches which permit the mark to space ratio of the control signal to be changed selectively. The chip can be used instead of a conventional resistive track potentiometer, and thus the present invention provides a device which performs the function of a conventional potentiometer but with no moving parts.
The device can be arranged to have a linear or a non-linear, for example logarithmic, characteristic.
Brief Description of the Drawings
In order that the invention may be more fully understood and readily carried into effect, an embodiment thereof will now be described by way of illustrative example with reference to the accompanying drawings in which:
FIG. 1 is a schematic circuit diagram of a device in accordance with the present invention;
FIG. 2 is a graph of one cycle of a control waveform A for operating the device of FIG. 1;
FIGS. 3 and 4 are graphs of various waveforms developed in use of the device of FIG. 1;
FIG. 5 illustrates a modification of the device of FIG. 1; and
FIG. 6 illustrates a practical form of device in accordance with the present invention, for use in a stereo f.m. tuner.
Description of Preferred Embodiment
Referring firstly to FIG. 1, the device comprises two semiconductor switching means in the form of CMOS transmission gates 1 and 2 connected in series and connected through an inverter 3 to receive a control signal from a signal generator (not shown) which controls the gates in such a manner that when one of the transmission gates is switched on, the other is switched off.
The transmission gate 1 comprises an N-channel MOS transistor TR1 and a P-channel transistor TR2, the gate 2 comprising an N-channel transistor TR3 and a P-channel transistor TR4. The gates of transistors TR1 and TR4 are connected directly to an input terminal 4 which receives the control signal. The gates of transistors TR2, TR3 receive an inversion of the control signal produced by the inverter 3. Input voltages V.sub.1 and V.sub.2 are applied to the terminals 5 and 6 respectively, and an output voltage V.sub.o is developed at terminals 7 connected to the series connection of the gates 1 and 2.
The control signal has a rectangular waveform, one cycle of which is shown in FIG. 2, and is arranged to control the relative durations that the gates 1 and 2 are switched on. Thus, the gate 1 is switched on during the period t.sub.1 and is switched off for the remaining period (T-t.sub.1) of the cycle. Conversely, the gate 2 is switched off for the period t.sub.1, and on for the period (T-t.sub.1). The control signal has a constant frequency but its mark to space ratio is selectively variable so as to vary the duration of t.sub.1 between O and T.
Thus, the output voltage V.sub.o for the cycle is given by ##EQU1## Integration of the output signal V.sub.o is performed by a low pass filter (not shown) connected to the output 7 and hence the output V.sub.OF of the filter is given by ##EQU2##
This voltage is of the same form as the output from the slider of a conventional resistive track potentiometer having voltages V.sub.1 and V.sub.2 applied to opposite ends of its resistive track, the ratio t.sub.1/T corresponding to the position of the slider along the track. Thus by varying the mark to space ratio of the control signal, the magnitude of the voltage V.sub.o can be controlled selectively, and when t.sub.1 is varied from O to T, the magnitude of V.sub.OF varies between V.sub.2 and V.sub.1.
Operating waveforms of the device are shown in FIGS. 3 and 4, for an alternating input waveform V.sub.in =(V.sub.1 -V.sub.2) and a control waveform A, the device providing an output waveform V.sub.o and a filtered output waveform V.sub.OF.
In FIG. 3, the control signal A has equal duration marks and spaces, and the output signal V.sub.OF is of half the amplitude of V.sub.in. However, in FIG. 4, the control signal consists substantially only of marks, and as a result, the amplitude of V.sub.OF is much less than that of V.sub.in.
The device described with reference to FIG. 1 corresponds to a linear potentiometer and the output voltage V.sub.OF is a linear function of the mark to space ratio of the control signal A. Such a linear device has particular application in audio signal amplifiers for controlling bass and treble filters. The device can also be used in multi-channel amplifiers for controlling balance of the channels. For volume control in an amplifier, it is however desirable to use a device having a logarithmic response and a device having a logarithmic response will now be described with reference to FIG. 5.
The device of FIG. 5 includes the transmission gates 1 and 2 which are shown schematically and are arranged to be switched on and off in response to the control signal A as previously described. The input voltage V.sub.in is applied through a resistor R.sub.1 to the gate 1, and the output V.sub.o is derived through a resistor R.sub.2 and a capacitor C.sub.1. A low pass filter comprising a resistor R.sub.3 and a capacitor C.sub.2 provides the filtered output V.sub.OF.
In operation, when the gate 1 is switched on, the capacitor C.sub.1 is charged in response to the input signal V.sub.in through the resistors R.sub.1 and R.sub.2, but when the gate 2 is switched on, the capacitor is discharged through the resistor R.sub.2 alone. This differential charging and discharging of the capacitor C.sub.1 introduces an exponential term into the voltage V.sub.o thus giving the device a non-linear control characteristic which whilst not as truly logarithmic as high quality conventional logarithmic resistive track potentiometers, is sufficiently accurate for volume control purposes in audio amplifiers.
To prevent the control signal from introducing distortion into the output signal V.sub.OF, the frequency of the control signal is selected to be much greater than the maximum frequency likely to occur in the input frequency V.sub.in ; in fact, it will be appreciated by those skilled in the art that frequency of the control signal A must be at least twice the maximum frequency of V.sub.in to prevent any loss of information in the output signal V.sub.OF. When devices of the invention are used in a stereo f.m. tuner amplifier, a multiple of the stereo multiplex frequency (usually 38 KHz) can be used as the frequency of the control signal, so as to avoid beats between the multiplex frequency and the control signal.
A practical example of the device of the invention for use as a volume control in an f.m. stereo tuner-amplifier will now be described with reference to FIG. 6. The device includes first and second pairs of series connected transmission gates 1R, 2R, 1L, 2L which are used respectively to control the volume of right and left channels in the amplifier in the manner previously described. The gates for the left hand channel are shown schematically, but correspond to the gates for the right hand channel which are shown in detail, and the pairs of gates are connected to be driven by a common control signal A produced from a bistable 8.
The bistable 8 is switched between its two states by means of a counter arrangement driven by clock pulses from a voltage controlled 2.4 MHz oscillator 9. The counter arrangement includes a first five bit counter 10 that cyclically counts pulses from the generator 8 to define the periodicity T of the control signal A and to this end, an AND gate 11 having inputs connected to the five bit stages of the counter 10 is arranged to provide an output on a line 12 to reset the bistable 8 each time the counter 10 is filled completely with clock pulses. A second five bit counter 13 is arranged to store a selectively variable count which determines the mark to space ratio of the control signal. The count held by the counter 13 is compared with the continuously varying count in the first counter 10 by a comparator 14. When the count in the counter 10 is equal to that held by counter 13, the comparator 14 provides an output on line 15 which sets the bistable 8 and thus the control signal A has a mark to space ratio determined by the count held in the counter 13.
The count in counter 13 can be varied by operation of a switch 16 which gates clock pulses from a 5 Hz clock 17 into the counter. The counter 13 is arranged to be incremented or decremented by an up/down control 18. Thus the five bit counter 13 permits the volume to be increased or decreased in 31 incremental steps.
The frequency of the voltage controlled oscillator 9 is held constant by means of a phase locked loop that includes a phase sensitive detector 19 and an attendant smoothing filter 20, that compares the phase of a control signal derived from the most significant bit of the counter 10 on line 21, with the phase of a 76 KHz stereo multiplex oscillator signal fed on line 22 from the stereo decoder of the tuner, thereby avoiding the aforementioned beats.
Each pair of gates 1, 2 is provided with a respective low pass filter and capacitive network of the kind shown in FIG. 5, to provide an output V.sub.OF for each channel, with a logarithmic response. Clearly, however the arrangement can be used for bass, treble and balance controls if non logarithmic response filters are used. The arrangement shown in FIG. 5 is ideally suited to manufacture as an integrated circuit on a single chip, with the switch 16 and the up/down control 18 being operated by means of touch plate switches or by a remote control device utilising an infra-red or ultra sonic transmitter as is now used in domestic television receivers. Thus, the arrangement described with reference to FIG. 5 can perform the function of a conventional resistive track potentiometer and has the advantage of having no moving parts.