eCircuit  Center 
EE Design Series - DVM 1

About SPICE | SPICE Basics | Running SPICE | CIRCUIT COLLECTION
SPICE Commands | SPICE Downloads | About | Contact | Home

Circuit Design

pic

INTRO

As the late Jim Williams (renown analog designer) once said,

"Build the raft and start paddling...At some point the theorizing must stop and you have to start actually doing something."

I found comfort and encouragement knowing that a seasoned designer could also feel hesitation wondering if their analysis and assumptions were sufficient to bring the abstract to life.

So, now it's time to render both the requirements and strategy into a real circuit.

Back to Design Series
 

BLOCK DIAGRAM

The high-level diagram shows us each block where we need to engineer the specific details with circuits, equations and components.

pic

SCHEMATIC

Given the Implementation Strategy as our guide, we fill in blocks above with schematic details.

sch

DESIGN EQUATIONS

Part of the satisfaction (and frustration) of design is found in applying cool circuit theories. Often the basic equations require some exploring and solving for relevant forms for your design.

pic

Adopt the powerful habit of grabbing a sheet of paper and a pencil. Good designers noodle regularly on pages full of circuits and equations. Practice this often - embrace a routine of trial / adjust / discover!

Check out several design equations for the voltmeter: DVM1_Design_Eqns.pdf.

INPUT ATTENUATOR

Two MOSFET switches select either a direct unity-gain connection or the tap on a resistor divider.

SCHEMATIC

sch

CIRCUIT REQUIREMENTS

FUNCTION

Gain Conditions Analysis / Results
1 (4V Range) SW1=On
SW2=Off
Rin = R1 + R2
K = 1
1/5 (20V Range) SW1=Off
SW1=On
Rin = R1 + R2
K = R2/(R1+R2)

R-DIVIDER DESIGN

calc

OPTO SOLID-STATE-RELAYS (SSR)

pic

calc

LOW-PASS FILTER

A filter reduces external noise sources (60 Hz mains, system clocks, radio frequencies, etc.) from corrupting the signal being digitized by the ADC.

SCHEMATIC

sch

CIRCUIT REQUIREMENTS

DESIGN

calc

ADC CONVERTER

The development board (Arduino UNO R3) has been chosen for the project. A 10-bit ADC is included on the Microcontroller (Atmel ATmega328P). The accuracy has already been approved in the Implementation Strategy.

SCHEMATIC

sch

CIRCUIT REQUIREMENTS

DESIGN

calc

 

ARDUINO INTERFACE

UNO R3 PINOUT

pic

CIRCUIT CONNECTIONS

Type Signal Comment
Power / Ground 5V
GND
Power for Opto-Relays and Pushbutton.
Analog Inputs A0 Analog input voltage representing battery voltage.
Digital Output D12
D13
Digital outputs to drive 2 Opto-Relays SW1 and SW2.
Digital Input D11 Digital input to read state of the pushbutton for V range select.
PC Interface USB Power and programming capability from the PC.

ADC CONVERTER

The development board (Arduino UNO R3) has been chosen for the project. A 10-bit ADC is included on the Microcontroller (Atmel ATmega328P). The accuracy has already been approved in the Implementation Strategy.

HANDS-ON

Play in the Excel file - modify values, see what happens!

Input Range

Opto-Relay Drive

Low-Pass Filter

ADC Operation

 

NEXT UP

To verify our Circuit Design, let's create a SPICE simulation.

Back to Design Series