Monday, September 30, 2013

Preamplifier For Soundcard Circuit

This circuit can be used for inductive pick-up elements and dynamic microphones Most soundcards have a ‘line’ input and one for an electret (condenser) microphone. To be able to connect an inductive tape-recorder head or a dynamic microphone, an add-on preamplifier is needed. Even in this day and age of integrated microelectronics, a transistorised circuit built from discrete part has a right of existence. The preamplifier described in this short article goes to show that it will be some time before discrete transistors are part of the silicon heritage. The preamplifier is suitable for use with a soundcard or the microphone input of a modem. As you will probably know, most sound-cards have input sockets for signals at line level (stereo), as well as one for a (mono) electret microphone.
For the applications we have in mind, connecting-up an inductive pick-up element or a dynamic microphone, both inputs are in principle suitable, provided the source signal is amplified as required. The author eventually chose the microphone input on the soundcard. Firstly, because the line inputs are usually occupied, and secondly, because the bias voltage supplied by the micro-phone input eliminates a separate power supply for the preamplifier. The microphone input of a soundcard will typically consist of a 3.5-mm jack socket in stereo version, although only one channel is available. The free contact is used by the soundcard to supply a bias voltage to the mono electret microphone. This voltage is accepted with thanks by the present preamplifier, and conveniently obviates an external (mains adaptor) power supply.
Circuit diagram:
preamplifier-for-soundcard-circuit-diagramw
A classic design:
In true transistor-design fashion, the preamplifier consists of three stages. Capacitor C1 decouples the signal received from the microphone or pick-up element, and feeds it to the input of the first stage, a transistor in emitter configuration, biased to provide a current amplification of about 300 times. Together with the source impedance of the microphone or pick-up element, capacitors C2 and C3 form a low-pass filter which lightly reduces the bandwidth. In addition, the output low-pass, R2-C3, reduces the dynamic collector resistance at higher frequencies. In this way, the filter reduces the gain in the higher part of the frequency spectrum and so helps to eliminate any oscillation tendencies.
The first, high-gain, stage is terminated by T2. Unlike T1, this transistor does not add to the overall gain, because the output signal is taken from the emitter (common-collector circuit). T2 thus acts as an impedance converter, with C4 reducing any tendency to oscillation. The output stage around T3 is a common-emitter circuit again. In it, preset P1 determines the voltage amplification. T3 is biased by means of a direct-current feedback circuit based on components R7 and C5. To this is added an ‘overruling’ dc feedback path back to the input transistor, via R6. This measure guarantees good dc stability in the preamplifier. The circuit is small enough to be built on a piece of veroboard or stripboard, and yet remain reasonably compact.
To prevent interference from external sources, the completed board should be mounted in a properly screened (metal) enclosure, with the connections to the input source and the sound card made in screened cable. The preamplifier provides a frequency-linear response. In case the source signal is marked by frequency correction (e.g., RIAA), then a matching linearization circuit should be used if the relevant signals are used by the computer.
Continue Reading..

Sunday, September 29, 2013

Thrifty 2Hz Clock

CMOS circuits are known for their low current consumption. This is particularly important for battery-powered circuits. Unfortunately, oscillators often require quite a bit of current. We therefore propose this oscillator circuit that has a very low current consumption (about 3 µA). The circuit is powered from a type LM334Z current source. The current has been set with R4 to about 3 µA. This is sufficient to power IC1 and the oscillator circuit around X1. The oscillator generates, with the aid of a cheap watch crystal and a few surrounding parts, a signal that is subsequently applied to the divider in the 4060 and results in a frequency of 2 Hz at pin 3 (output Q13). The level of the output pulses is a lot lower than the nominal 5-V power supply voltage (IC1 is after all powered from a current source with very low current). That is why the signal on pin 3 of IC1 is amplified and inverted by T1. IC3a finally turns it into a proper square wave with acceptably steep edges.

Thrifty 2-Hz Clock circuit schematic
Continue Reading..

Saturday, September 28, 2013

Temporarily Silencing A Smoke Detector

It provides a means of temporarily silencing a battery-powered smoke detector after you’ve burnt the toast, scorched the baked beans – or whatever! Unlike the earlier design, this more sophisticated version does not cause strange chirps and whistles to emanate from the smoke detector towards the end of the silenced period. It also flashes a LED and produces a series of short, unobtrusive tones from its inbuilt buzzer while it is active. A separate 9V (or 6V) battery is required to power the circuit, which is mounted remotely from the smoke alarm. Connection to the alarm is made via a 3-core data cable terminated in a 3.5mm stereo plug, while a matching switched socket is fitted to the alarm’s casing. In addition to the socket, only three other components are installed inside the smoke alarm.

These are Mosfet Q3, its 100W gate resistor and 15V zener diode ZD1. These parts can all be mounted on a small section of prototyping board or soldered point to point from the socket terminals. The Mosfet is wired in series with the smoke alarm’s negative battery lead and acts as a switch. As shown, the contacts of the socket must be wired so that the Mosfet drain-source connections are shorted out when the plug is removed, thus allowing immediate restoration of the smoke alarm to normal operation. When the silencer circuit is inactive, the reed relay (RLY1) is off, so battery power is disconnected from the circuit. An exception to this is Q3’s 4.7kO gate pull-up resistor, which is powered directly from the battery. This holds the Mosfet switch on, powering the smoke alarm from its on-board 9V battery.

Temporarily silencing a smoke detectorNow consider what happens when the "silence" switch (S1) is pressed. This action applies battery power to the entire circuit through the switch contacts. At the same time, IC1 (which is wired as a monostable) is triggered by a brief pulse on its reset input (pin 2). This initiates the 555’s timing sequence, so its output (pin 3) immediately swings high, switching on Q1 and activating the relay. A second transistor (Q2) wired to IC1’s output also conducts, pulling Q3’s gate low and switching it off. As a result, the smoke alarm is disconnected from its 9V battery and all of the noise ceases instantly! When the relay is closed, an additional path exists from battery positive to the circuit’s power rail – so that when the switch is released, the circuit keeps running.

The circuit then continues to run for the duration of IC1’s timing period (over 8 minutes). The remaining two 555 timers (IC2 & IC3) are configured as astable multivibrators. IC2 is used exclusively to flash an indicator LED at a rate of about once per second. IC3 has a longer period, sounding a piezo buzzer briefly about once every 10.5 seconds. Use a 5V reed relay when the circuit is powered from a 6V battery and a 12V version when powered from 9V. Because of the high impedance and low leakage of the Mosfet’s gate, the silencer’s battery can be expected to last almost its shelf life – assuming that you don’t burn the toast too often!

Warning:
  1. This circuit must not be used with mains-connected smoke detectors
  2. Test your smoke detector and this silencer circuit regularly.
Continue Reading..

Friday, September 27, 2013

Low Voltage Cutout For 12V SLA Batteries

This simple circuit protects an SLA battery from over-discharge by disconnecting the load when the terminal voltage drops below a preset level. In operation, a sample of the battery voltage is derived from the 22kΩ resistor and 20kΩ trimpot divider. This is applied to the non-inverting input (pin 3) of IC1, where it is compared with a reference voltage on the inverting input (pin 2). When the sampled battery voltage falls below the reference voltage, IC1’s output (pin 1) swings towards ground, switching Mosfet Q2 off and disconnecting the load from the battery. The reference voltage is derived from a 4.7V zener diode (ZD1), which is connected to ground via the collector-emitter circuit of Q1 (ie, when Q1 is on).

Low-voltage cutout for 12V SLA batteries circuit schematic

However, when the op amp’s output is driven low, Q1 is switched off, causing the non-inverting input to rise towards the full battery voltage. This greatly reinforces the switching action, latching the circuit in the "off" state until the battery is recharged and the reset switch (S1) pressed. The Mosfet used for Q2 should be selected to suit the intended application. The circuit could also drive a relay simply by connecting the coil across the "load" terminals. As is usual practice, a diode should be connected across the relay coil to limit back-EMF spikes.
Continue Reading..