eCircuit  Center 
EE Design Series - DVM 1

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

Implementation Strategy

pic

INTRO

What is it? If the Use Case is the WHY and the Design Requirements is the WHAT, then the Implementation Strategy is the HOW

The HOW evaluates relevant options and chooses a path to design and build an instrument.

You transform the Requirements (functions, features) into an Implementation (physical structure, techniques, algorithms).

The arrows above tell a realistic story - several different implementations may achieve the target. Similarly, there may be multiple options that fail to hit the requirements.The strategy requires

Strategy also requires courage to select an implementation based on what you know now, while having confidence to adjust later as you learn and discover more during the actual design.

Back to Design Series
 

BLOCK DIAGRAM

The Block Diagram defines a physical structure for the implementation as shown in a typical instrument below.

pic

INPUT ATTENUATOR

A search on the web returned two potential circuits for an input attenuator . Which one better fits our requirements?

OPTION 1: R-Divider with Single Switch.

sch

Single switch connects R2 into circuit for divider action.

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

OPTION 2: R-Divider with Dual Switch.

sch

Two switches select either direct connect or resistor tap for divider action.

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)

Strategy Decision

For better accuracy and a fixed Rin on both ranges, Option 2 will be implemented at the cost of a second switch.

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.

sch

ADC CONVERTER

The development board (Arduino UNO R3) is equipped with an ADC on the Atmel Microcontroller (ATmega328P). Does this ADC fulfil the accuracy requirements?

pic 

MICROCONTROLLER

The Microcontroller Board is a small computer that provides key functions: execute software, convert analog signals to digital form, control hardware via digital lines and communicate with the PC.

pic

For this project, the selected microcontroller is the Arduino UNO. Why?

What are the relevant Arduino UNO specs for this project?

Other viable Microcontroller Board options.

PROJECT PROTOYPE

As a Proof of Concept we'll build a prototype using a Solderless Prototying Board (Analog Circuit), an Arduino UNO Board and a PC.

proto

ARDUINO INTERFACE

What signals connect our instrument front-end and Arduino?

Signal Description
+5V Power for Opti-Isolated solid-state relay and pushbutton.
GND Ground reference for circuit.
A0 Analog Input for voltage measurement.
D11 Digital Output control for SW1.
D12 Digital Output control for SW2.
D13 Digital Input for Pushbutton (V Range Select).

HANDS-ON

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

ADC Resolution

Bandwidth (Settling Time)

 

ADJUST THE IMPLEMENTATION?

Are these implementations set in stone? During development, the design approach can be refined and adjusted for a number of reasons.

 

NEXT UP

Given an Implementation Strategy, we can jump into the Circuit Design.

Back to Design Series