Inverters

Monday, September 17, 2007

Circuit design

Circuit design

The process of circuit design can cover systems ranging from complex electronic systems all the way down to the individual transistors within an integrated circuit. For simple circuits the design process can often be done by one person without needing a planned or structured design process, but for more complex designs, teams of designers following a systematic approach with intelligently guided computer simulation are becoming increasingly common.

Formal circuit design usually involves the following stages:

  • sometimes, writing the requirement specification after liaising with the customer
  • writing a technical proposal to meet the requirements of the customer specification
  • synthesising on paper a schematic circuit diagram, an abstract electrical or electronic circuit that will meet the specifications
  • calculating the component values to meet the operating specifications under specified conditions
  • performing simulations to verify the correctness of the design
  • building a breadboard or other prototype version of the design and testing against specification
  • making any alterations to the circuit to achieve compliance
  • choosing a method of construction as well as all the parts and materials to be used
  • presenting component and layout information to draughtspersons, and layout and mechanical engineers, for prototype production
  • testing or type-testing a number of prototypes to ensure compliance with customer reqiurements
  • signing and approving the final manufacturing drawings
  • post-design services (obsolescence of components etc.)

Contents

[hide]

Specification

The process of circuit design begins with the specification, which states the functionality that the finished design must provide, but does not indicate how it is to be achieved .[1] The initial specification is basically a technically detailed description of what the customer wants the finished circuit to achieve and can include a variety of electrical requirements, such as what signals the circuit will receive, what signals it must output, what power supplies are available and how much power it is permitted to consume. The specification can ( and normally does ) also set some of the physical parameters that the design must meet, such as size, weight, moisture resistance, temperature range, thermal output, vibration tolerance and acceleration tolerance.

As the design process progresses the designer(s) will frequently return to the specification and alter it to take account of the progress of the design. This can involve tightening specifications that the customer has supplied, and adding tests that the circuit must pass in order to be accepted. These additional specifications will often be used in the verification of a design. Changes that conflict with or modify the customer's original specifications will almost always have to be approved by the customer before they can be acted upon.

Correctly identifying the customer needs can avoid a condition known as 'design creep' which occurs in the absence of realistic initial expectations, and later by failing to communicate fully with the client during the design process. It can be defined in terms of its results; "at one extreme is a circuit with more functionality than necessary, and at the other is a circuit having an incorrect functionality". (DeMers, 1997) Nevertheless some changes can be expected and it is good practice to keep options open for as long as possible because it's easier to remove spare elements from the circuit later on than it is to put them in.

Design

The design process involves moving from the specification at the start, to a plan that contains all the information needed to be physically constructed at the end, this normally happens by passing through a number of stages, although in very simple circuit it may be done in a single step. [2] The process normally begins with the conversion of the specification into a block diagram of the various functions that the circuit must perform, at this stage the contents of each block are not considered, only what each block must do, this is sometimes referred to as a "black box" design. This approach allows the possibly very complicated task to be broken into smaller tasks which may either by tackled in sequence or divided amongst members of a design team.

Each block is then considered in more detail, still at an abstract stage, but with a lot more focus on the details of the electrical functions to be provided. At this or later stages it is common to require a large amount of research or mathematical modeling into what is and is not feasible to achieve.[3] The results of this research may be fed back into earlier stages of the design process, for example if it turns out one of the blocks cannot be designed within the parameters set for it, it may be necessary to alter other blocks instead. At this point it is also common to start considering both how to demonstrate that the design does meet the specifications, and how it is to be tested ( which can include self diagnostic tools ).[4]

Finally the individual circuit components are chosen to carry out each function in the overall design, at this stage the physical layout and electrical connections of each component are also decided, this layout commonly taking the form of artwork for the production of a printed circuit board or Integrated circuit. This stage is typically extremely time consuming because of the vast array of choices available. A practical constraint on the design at this stage is that of standardization, while a certain value of component may be calculated for use in some location in a circuit, if that value cannot be purchased from a supplier, then the problem has still not been solved. To avoid this a certain amount of 'catalog engineering' can be applied to solve the more mundane tasks within an overall design.

Costs

Proper design philosophy incorporates economic and technical considerations and keeps them in balance at all times, and right from the start. Balance is the key concept here; just as many delays and pitfalls can come from ill considered cost cutting as with cost overruns. Good accounting tools (and a design culture that fosters their use) is imperative for a successful project. "Manufacturing costs shrink as design costs soar," is often quoted as a truism in circuit design, particularly for ICs.

Verification and testing

Once a circuit has been designed, it must be both verified and tested. Verification is the process of going through each stage of a design and ensuring that it will do what the specification requires it to do. This is frequently a highly mathematical process and can involve large-scale computer simulations of the design. In any complicated design it is very likely that problems will be found at this stage and may involve a large amount of the design work be redone in order to fix them.

Testing is the real-world counterpart to verification, testing involves physically building at least a prototype of the design and then (in combination with the test procedures in the specification or added to it) checking the circuit really does do what it was designed to.

Prototyping

Prototyping is a means of exploring ideas before an investment is made in them. Depending on the scope of the prototype and the level of detail required, prototypes can be built at any time during the project. Sometimes they are created early in the project, during the planning and specification phase, commonly using a process known as breadboarding; that's when the need for exploration is greatest, and when the time investment needed is most viable. Later in the cycle packaging mock-ups are used to explore appearance and usability, and occasionally a circuit will need to be modified to take these factors into account.

Results

As circuit design is the process of working out the physical form that an electronic circuit will take, the result of the circuit design process is the instructions on how to construct the physical electronic circuit. This will normally take the form of blueprints describing the size, shape, connectors, etc in use, and artwork or CAM file for manufacturing a printed circuit board or Integrated circuit.

Documentation

Any commercial design will normally also include an element of documentation, the precise nature of this documentation will vary according to the size and complexity of the circuit as well as the country in which it is to be used. As a bare minimum the documentation will normally include at least the specification and testing procedures for the design and a statement of compliance with current regulations. In the EU this last item will normally take the form of a CE Declaration listing the European directives complied with and naming an individual responsible for compliance.[5]

Telephone call Voice Changer

Telephone call Voice Changer


Voice manipulation device specially intended for props

9V Battery operation


Circuit diagram:

Telephone call voice changer

Parts:

P1______________10K  Log. Potentiometer

R1,R10__________10K 1/4W Resistors
R2_______________1K 1/4W Resistor
R3______________50K 1/2W Trimmer Cermet or Carbon
R4,R6,R7,R14___100K 1/4W Resistors
R5______________47K 1/4W Resistor
R8______________68K 1/4W Resistor
R9_______________2K2 1/2W Trimmer Cermet or Carbon
R11_____________33K 1/4W Resistor
R12_____________18K 1/4W Resistor
R13_____________15K 1/4W Resistor


C1,C2,C3,C8,C9_100nF 63V Polyester Capacitors
C4______________10µF 25V Electrolytic Capacitor
C5_____________220nF 63V Polyester Capacitor (Optional, see Notes)
C6_______________4n7 63V Polyester Capacitor
C7______________10nF 63V Polyester Capacitor
C10____________220µF 25V Electrolytic Capacitor

IC1___________LM358 Low Power Dual Op-amp
IC2_________TDA7052 Audio power amplifier IC

MIC1__________Miniature electret microphone

SPKR______________8 Ohm Small Loudspeaker

SW1____________DPDT Toggle or Slide Switch
SW2,SW3________SPST Toggle or Slide Switches

J1____________6.3mm or 3mm Mono Jack socket

B1_______________9V PP3 Battery (See Notes)

Clip for PP3 Battery

Comments:

Although this kind of voice effect can be obtained by means of some audio computer programs, a few correspondents required a stand-alone device, featuring microphone input and line or loudspeaker outputs.
This design fulfills these requirements by means of a variable gain microphone preamplifier built around IC1A, a variable steep Wien-bridge pass-band filter centered at about 1KHz provided by IC1B and an audio amplifier chip (IC2) driving the loudspeaker.

Notes:

  • The pass-band filter can be bypassed by means of SW1A and B: in this case, a non-manipulated microphone signal will be directly available at the line or loudspeaker outputs after some amplification through IC1A.
  • R3 sets the gain of the microphone preamp. Besides setting the microphone gain, this control can be of some utility in adding some amount of distortion to the signal, thus allowing a more realistic imitation of a telephone call voice.
  • R9 is the steep control of the pass-band filter. It should be used with care, in order to avoid excessive ringing when filter steepness is approaching maximum value.
  • P1 is the volume control and SW2 will switch off amplifier and loudspeaker if desired.
  • C5 is optional: it will produce a further band reduction. Some people think the resulting effect is more realistic if this capacitor is added.
  • If the use of an external, moving-coil microphone is required, R1 must be omitted, thus fitting a suitable input jack.
  • This circuit was intended to be powered by a 9V PP3 battery, but any dc power supply in the 6 - 12V range can be used successfully.

Intercom with fader

Intercom with fader


Suitable for tandem bicycles and motor cycles

Connects to iPod and similar MP3 audio players


Circuit diagram:

Intercom with fader for tandems and motor cycles

Parts:

R1,R2___________22K  1/4W Resistor
R3,R20___________1K 1/4W Resistors
R4______________50K 1/2W Trimmer Cermet or Carbon
R5______________47K 1/4W Resistor
R6,R7,R8_______100K 1/4W Resistors
R9,R10__________68K 1/4W Resistors (See Comments)
R11,R15,R16______1M 1/4W Resistors
R12____________470K 1/4W Resistor (See Comments)
R13,R14________220K 1/4W Resistors
R17,R18________100K 1/4W Resistors
R19____________470R 1/4W Resistor

C1,C2,C5,C7,C8_100nF 63V Polyester or Ceramic Capacitors
C3_____________100nF 63V Polyester or Ceramic Capacitor (See Notes)
C4,C6___________10µF 25V Electrolytic Capacitors
C9_____________100µF 25V Electrolytic Capacitor
C10____________220µF 25V Electrolytic Capacitor
C11____________470µF 25V Electrolytic Capacitor

D1,D2________1N4148 75V 150mA Diodes

Q1____________BC560C 45V 100mA Low noise High gain PNP Transistor
Q2____________BC550C 45V 100mA Low noise High gain NPN Transistor
Q3,Q6_________BC337 45V 800mA NPN Transistors
Q4,Q5_________BC327 45V 800mA PNP Transistors

IC1___________LM358 Low Power Dual Op-amp
IC2____________4016 or 4066 Quad bilateral switch IC

J1,J2___________3mm Mono Jack sockets
J3,J4,J5________3mm Stereo Jack sockets

SW1____________SPST Toggle or Slider Switch

B1_______________6V Battery (4 x AA or AAA 1.5V Cells in series
or any 6V rechargeable battery pack etc.)

Comments:

A project of this kind was requested by a couple riding a tandem bicycle and looking for a device to install all in one box, allowing them to talk. Furthermore, they liked the option to plug an iPod in as well and having it mute automatically when one of them was speaking.
The complete circuit is shown in the diagram and is formed by a microphone amplifier built around IC1A, a simple ac-dc converter (IC1B and related components) driving the dual electronic switch (IC2A and IC2B) and a headphone amplifier formed by Q1 - Q6 etc. For this amplifier only the left channel is shown: obviously, the right channel will be identical (input and output connections are shown into the rectangular box).
The two microphones (small electret types) are connected to J1 and J2 and the two headphone sets (usually 32 Ohms impedance) to J4 and J5. The iPod headphone output is connected to J3 by means of suitable stereo cable and 3mm jack plugs. There is no volume control: the desired level of the music programme is adjusted by means of the iPod control.
R4 acts as a volume control for the microphones and also sets the threshold at which the music will be muted: it should be set once for all and then left alone. As a matter of fact, the music will not disappear completely: it will be attenuated by about 10.5dB if a 68K value is used for R9 and R10 whereas a 100K value will cause an attenuation of about 8dB. In practice, the lesser the value of R9 and R10 the higher the attenuation of the music.
When speaking is stopped, the music will revert to full volume after some time-delay, set by R12 and C6. The value of these components can be varied to suit one's own needs.
The headphone amplifiers, despite the high number of transistors used, are simple enough, efficient and, above all, setup-free. They are able to deliver a full 5V peak-to-peak sinewave into 16 Ohm (i.e. about 200mW into two 32 Ohm headphones wired in parallel) with less than 1% distortion @ 1KHz and 0.7% @ 10KHz.
At the standard 40mW headphone power output capability, distortion figures are 0.6% @ 1KHz and 0.3% @ 10KHz.

Notes:

  • Sometimes, the use of only one microphone could be desirable. In this case, plug the microphone jack into J1 or J2, but plug a "dummy jack" without cable into the other socket as well.
  • The tone of the microphone channel can be made more "warm" by increasing C3 value to 1µF or more. In this case pay attention, as microphones could pick-up unwanted low frequency motor or traffic noise, causing the activation of the mute circuit even in the absence of speaking.
  • Please note that the control pins of the unused bilateral switches contained into IC2 must be wired to negative ground. Other pins can be left open as shown in the diagram, bottom right.

Six-LED Bar Power Indicator

Six-LED Bar Power Indicator


Useful to monitor audio power delivered to loudspeakers

No power supply - no setup required


Circuit diagram:

Six-LED Bar Power Indicator

Parts:

R1_____________220R  1/2W Resistor
R2,R5,R6,R8____100R 1/4W Resistors
R10,R12,R14____100R 1/4W Resistors
R3_____________220R 1/4W Resistor
R4,R7__________330R 1/2W Resistors
R9_____________560R 1/2W Resistor
R11____________820R 1/2W Resistor
R13______________1K2 1/2W Resistor

D1___________1N4004 400V 1A Diode
D2,D4,D6__BZX79C2V7 2.7V 500mW Zener Diodes
D3,D5,D7,D8,D9,D10 Red LEDs (Any dimension and shape) (See Notes)

Comments:

This device, connected to the loudspeaker output of an audio amplifier, will indicate the instantaneous output power delivered to the loudspeaker(s) by means of six LEDs illuminating one after another by voltage values increasing little by little, providing the visual impression of a luminous bar or column, increasing and decreasing in height following the increase and decrease of the signal's level.
The input signal is first rectified by D1 and then sent to six different voltage dividers, one for each LED. In this way, the indication provided by the LEDs illumination of this "Power Display", will be related to the instantaneous power sunk by the whole loudspeaker cabinet.
Six output power levels are displayed by the LEDs in a 2W - 80W range (no setup required). Each nominal power level indication into 8 Ohms load is reached when the respective LED illuminates at full brightness.

Notes:

  • The output power indicated by each LED must be doubled when 4 Ohms loads are driven.
  • The circuit can be adapted to suit less powerful amplifiers by reducing the number of LEDs and related voltage dividers.
  • LEDs of any dimension can be used, but rectangular shaped devices will be more suitable to be compacted in bars or columns.
  • For a stereo amplifier, two identical circuits are required.

Portable Mixer

Portable Mixer


High-quality modular design

9V Battery powered - Very low current drawing


Design description:

The target of this project was the design of a small portable mixer supplied by a 9V PP3 battery, keeping high quality performance.
The mixer is formed assembling three main modules that can be varied in number and/or disposition to suit everyone needs.
The three main modules are:

Input Amplifier Module: a low noise circuit equipped with a variable voltage-gain (10 - 100) pre-set, primarily intended as high quality microphone input, also suitable for low-level line input.

Tone Control Module: a three-band (Bass, Middle, Treble) tone control circuit providing unity-gain when its controls are set to flat frequency response. It can be inserted after one or more Input Amplifier Modules and/or after the Main Mixer Amplifiers.

Main Mixer Amplifier Module: a stereo circuit incorporating two virtual-earth mixers and showing the connection of one Main Fader and one Pan-Pot.

The image below shows a Block diagram of the entire mixer featuring four Input Amplifier Modules followed by four in-out switchable Tone Control Modules, one stereo Line input, four mono Main Faders, one stereo dual-ganged Main Fader, four Pan-Pots, a stereo Main Mixer Amplifier Module and two further Tone Control Modules switchable in and out for each channel, inserted before the main Left and Right outputs.
Obviously this layout can be rearranged at everyone wish.
An astonishing feature of this design lies in the fact that a complete stereo mixer as shown below in the Block diagram draws less than 6mA current!


Block diagram:

Mixer Block diagram




Input Amplifier Module


Circuit diagram:

Input Amplifier

Parts:

R1,R2,R7_______22K   1/4W Resistors
R3,R4,R5_______47K 1/4W Resistors
R6______________4K7 1/4W Resistor
R8,R13________220R 1/4W Resistors
R9______________2K 1/2W Trimmer Cermet (See Notes)
R10___________470K 1/4W Resistor
R11___________560R 1/4W Resistor
R12___________100K 1/4W Resistor

C1____________470nF 63V Polyester Capacitor
C2,C8_________100µF 25V Electrolytic Capacitors
C3,C4,C5________2µ2 63V Electrolytic Capacitors
C6_____________47pF 63V Ceramic Capacitor
C7______________4µ7 63V Electrolytic Capacitor

Q1____________BC560C 45V 100mA Low noise High gain PNP Transistor
Q2____________BC550C 45V 100mA Low noise High gain NPN Transistor

IC1___________TL061 Low current BIFET Op-Amp

Circuit description:

The basic arrangement of this circuit is derived from the old Quad magnetic pick-up cartridge module. The circuit was rearranged to cope with microphone input and a single-rail low voltage supply.
This low-noise, fully symmetrical, two-transistor head amplifier layout, allows the use of a normal FET input Op-Amp as the second gain stage, even for very sensitive microphone inputs.
The voltage-gain of this amplifier can be varied by means of R9 from 10 to 100, i.e. 20 to 40dB.

Notes:

  • R9 can be a trimmer, a linear potentiometer or a fixed-value resistor at will.
  • When voltage-gain is set to 10, the amplifier can cope with 800mV peak-to-peak maximum Line levels.
  • Current drawing for one Input Amplifier Module is 600µA.
  • Frequency response is 20Hz to 20KHz - 0.5dB.
  • Total Harmonic Distortion measured with voltage-gain set to 100: 2V RMS output = <0.02%>
  • Total Harmonic Distortion measured with voltage-gain set to 10 & 33: 2V RMS output = <0.02%>
  • THD is much lower @ 1V RMS output.
  • Maximum undistorted output voltage: 2.8V RMS.

Tone Control Module


Circuit diagram:

Tone Control

Parts:

P1,P2_________100K   Linear Potentiometers
P3____________470K Linear Potentiometer

R1,R2,R3_______12K 1/4W Resistors
R4,R5___________3K9 1/4W Resistors
R6,R7___________1K8 1/4W Resistors
R8,R9__________22K 1/4W Resistors
R10___________560R 1/4W Resistor
R11___________100K 1/4W Resistor
R12___________220R 1/4W Resistor

C1______________1µF 63V Polyester Capacitor
C2_____________47nF 63V Polyester Capacitor
C3,C5___________4n7 63V Polyester Capacitors
C4_____________22nF 63V Polyester Capacitor
C6,C8_________100µF 25V Electrolytic Capacitors
C7______________4µ7 63V Electrolytic Capacitor

IC1___________TL061 Low current BIFET Op-Amp

Circuit description:

This is a straightforward design using the Baxandall-type active circuitry slightly modified to obtain a three-band control. Total voltage gain of this module is 1 when controls are set in their center position.

Notes:

  • Current drawing for one Tone Control Module is 400µA.
  • Frequency response is 20Hz to 20KHz - 0.5dB, controls flat.
  • Tone control frequency range: ±15dB @ 30Hz; ±19dB @ 1KHz; ±16dB @ 10KHz.
  • Total Harmonic Distortion measured @ 2V RMS output = <0.012%>
  • THD is below 0.01% @ 1V RMS output.
  • Maximum undistorted output voltage: 2.5V RMS.

Main Mixer Amplifier Module


Circuit diagram:

Main Mixer

Parts:

P1,___________100K   Linear Potentiometer
P2_____________10K Linear Potentiometer

R1,R2,_________15K 1/4W Resistors
R3,R4,R11,R12_100K 1/4W Resistors
R5,R6__________22K 1/4W Resistors
R7,R8_________390K 1/4W Resistors
R9,R10________560R 1/4W Resistors
R13___________220R 1/4W Resistor

C1,C2_________330nF 63V Polyester Capacitors
C3,C8_________100µF 25V Electrolytic Capacitors
C4,C5__________10pF 63V Ceramic Capacitors
C6,C7___________4µ7 63V Electrolytic Capacitors

IC1___________TL062 Low current BIFET Dual Op-Amp

Circuit description:

The schematic of this circuit is drawn as a stereo unit to better show the input Main Fader and Pan-Pot connections. The TL062 chip contains two TL061 op-amps into the same 8 pin case and is wired as two virtual-earth mixer amplifiers having a voltage gain of about 4, to compensate for losses introduced in the passive Pan-Pot circuitry. Therefore, total voltage-gain is 1.
Each channel added to the mixer must include the following additional parts:
P1, P2, R1, R2, R3, R4, C1 and C2.
These parts must be wired as shown in the above circuit diagram, connecting R3 and R4 to pin #2 and pin #6 of IC1 for Right and Left channel respectively. These IC1 pins are the "virtual-earth mixing points" and can sum together a great number of channels.

Notes:

  • Current drawing for one stereo Main Mixer Amplifier Module is 800µA.
  • Frequency response is 20Hz to 20KHz - 0.5dB.
  • Total Harmonic Distortion measured @ 2V RMS output = <0.008%>
  • THD is 0.005% @ 1V RMS output.
  • Maximum undistorted output voltage: 2.8V RMS.

Inverters