Questions tagged [circuit-design]

The process of creating a circuit to accomplish a particular task. When designing a circuit, one should consider how it should work, the target specifications, efficiency, cost effectiveness, code compliance, and ethics.

Introduction

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.

In integrated circuit design automation, the term "circuit design" often refers to the step of the design cycle which outputs the schematics of the integrated circuit. Typically this is the step between logic design and physical design.

Process

Formal circuit design usually involves a number of stages. Sometimes, a design specification is written after liaising with the customer. A technical proposal may be written to meet the requirements of the customer specification. The next stage involves synthesising on paper a schematic circuit diagram, an abstract electrical or electronic circuit that will meet the specifications. A calculation of the component values to meet the operating specifications under specified conditions should be made. Simulations may be performed to verify the correctness of the design.

Specifications

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. 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.

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.

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.

Costs

Proper design philosophy and structure 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.

Validation 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.

4233 questions
24
votes
4 answers

How are "long push buttons" done? (For example, a "factory reset button" that has to be pushed for five seconds.)

I used a "factory reset button" a few days ago, and wondered how they make it activate only after a few seconds. Are there standard solutions to that? My best idea was to use something analogous to an RL low pass filter that takes a while to set…
BipedalJoe
  • 451
  • 2
  • 10
18
votes
7 answers

Is it a bad idea to replace pull-up resistors with hard pull-ups?

On many of my designs, there are ICs which have mode selection or similar inputs that are permanently pulled up or down using resistors. If I replaced all these with simple hard pullups or pulldowns I would probably save 10 placements per board on…
Drew
  • 6,878
  • 2
  • 21
  • 40
11
votes
3 answers

Why is it that "a single supply voltage is seldom used for audio mixers"?

I'm reading "A Single Supply Op-Amp Circuit Collection" and in the paragraph about summing (page 9) I read "a single supply voltage is seldom used for audio mixers. Designers will often push an op amp up to, and sometimes beyond its recommended…
John Am
  • 749
  • 10
  • 26
9
votes
2 answers

Help me evaluate this time-delay circuit

I'm a noob at circuit design and I'm trying to design a circuit to accomplish the following. I need some help in evaluating whether the circuit I've cobbled together would work, and whether you have suggestions to improve/simplify it. Problem…
7
votes
1 answer

Can these MOSFETs, ICs, and diodes work together?

I am designing a circuit which will control many electromagnets. Shift registers will be used (74HC595) to control MOSFET gates directly, with proper gate resistors (the MOSFETs will be switched at most at 200 Hz, so switching time is not really a…
Bradlin
  • 75
  • 3
7
votes
6 answers

Why don't I need a resistance when testing a light bulb circuit in a breadboard?

I'm making some simulations in Tinkercad and trying different circuits to turn on a light bulb. Why does an LED need some resistance and a lightbulb does not? I'm only using a breadboard and a 9V battery.
Villano
  • 97
  • 1
  • 4
7
votes
7 answers

Way to determine order of cards plugged into controller board

REVISED: I have a master controller PCB with four bus bars (+, -, and two signal lines), see image below. I have module PCBs A-C (or could be 10 or 15 of them), each with MCUs and unique identifiers, that plug into the sockets in an unknown order…
6
votes
3 answers

Where to find proven design patterns?

When developing software, it's recommended not to reinvent the wheel but to use battle tested libraries e.g. for sorting or proven design patterns like the GoF. However when it comes to electrical engineering I'm unaware of such libraries. I have…
ooxi
  • 167
  • 5
4
votes
1 answer

Delay power-off for a 12 V circuit powering a Raspberry Pi

I started a project to embed a Raspberry Pi in an old radio. One of the challenges is that the radio has a hard power-off button, so I want the Pi to have power for another 10-30 s so it can shutdown itself. The Pi has a hat with a power converter…
treuss
  • 143
  • 5
4
votes
5 answers

How do I 'OR' a digital signal?

I have multiple IDENTICAL boards of which I plan to 'OR' the signal pins. I know that this can be done using a logic OR IC but that would require a modification on the microcontroller board which I cannot do. The modification must be made on the…
DrakeJest
  • 887
  • 11
  • 39
4
votes
3 answers

Simple and efficient way to send a 5V square wave to an 8ohm 1W speaker

I want to use a 5 V square wave generated by an ATTINY85 to drive a 1 W, 8 ohm speaker at 1 W. The project has to be battery powered. I would like to use a 18650 rechargeable 3.7 V Li-ion battery and a 5 V 600 mA boost converter: With a simple…
stenio
  • 319
  • 1
  • 9
4
votes
2 answers

Performing integration using hardware instead of software

One can compute the integral of a function using software, specifically one can get add doubles to obtain an approximate integral -- this is fast but suffers from rounding errors, or one can use arbitrary precision -- this is precise but generally…
blaber
  • 104
  • 8
4
votes
2 answers

Invert signal from an on/off switch

I have a circuit (below) where there's an IC responsible for battery charging, voltage boosting, power/regulation, etc. It has an "Enable" pin which is pulled up to VCC by default, and determines whether it supplies power or not. (High == ON, Low ==…
Ismail Degani
  • 239
  • 2
  • 10
4
votes
1 answer

555 timer with 4017 counter

There is a little timer circuit that I just design with a relay at the end of the second cascaded 4017 output for switching on/off power applicants. There is a button to reset the counter to zero. My first question, is there any faults to this…
user83582
3
votes
2 answers

How to electronically switch with very low current

I am trying to make a simple circuit to light an LED based on a 9 V supply. I only want this circuit to light based on a switch, which will close when a separate voltage supply is provided. The trouble I'm facing is that I have no control over the…
BudJB
  • 41
  • 5
1
2 3
12 13