Accendo Reliability

Your Reliability Engineering Professional Development Site

  • Home
  • About
    • Contributors
  • Reliability.fm
    • Speaking Of Reliability
    • Rooted in Reliability: The Plant Performance Podcast
    • Quality during Design
    • Critical Talks
    • Dare to Know
    • Maintenance Disrupted
    • Metal Conversations
    • The Leadership Connection
    • Practical Reliability Podcast
    • Reliability Matters
    • Reliability it Matters
    • Maintenance Mavericks Podcast
    • Women in Maintenance
    • Accendo Reliability Webinar Series
    • Asset Reliability @ Work
  • Articles
    • CRE Preparation Notes
    • on Leadership & Career
      • Advanced Engineering Culture
      • Engineering Leadership
      • Managing in the 2000s
      • Product Development and Process Improvement
    • on Maintenance Reliability
      • Aasan Asset Management
      • CMMS and Reliability
      • Conscious Asset
      • EAM & CMMS
      • Everyday RCM
      • History of Maintenance Management
      • Life Cycle Asset Management
      • Maintenance and Reliability
      • Maintenance Management
      • Plant Maintenance
      • Process Plant Reliability Engineering
      • ReliabilityXperience
      • RCM Blitz®
      • Rob’s Reliability Project
      • The Intelligent Transformer Blog
    • on Product Reliability
      • Accelerated Reliability
      • Achieving the Benefits of Reliability
      • Apex Ridge
      • Metals Engineering and Product Reliability
      • Musings on Reliability and Maintenance Topics
      • Product Validation
      • Reliability Engineering Insights
      • Reliability in Emerging Technology
    • on Risk & Safety
      • CERM® Risk Insights
      • Equipment Risk and Reliability in Downhole Applications
      • Operational Risk Process Safety
    • on Systems Thinking
      • Communicating with FINESSE
      • The RCA
    • on Tools & Techniques
      • Big Data & Analytics
      • Experimental Design for NPD
      • Innovative Thinking in Reliability and Durability
      • Inside and Beyond HALT
      • Inside FMEA
      • Integral Concepts
      • Learning from Failures
      • Progress in Field Reliability?
      • Reliability Engineering Using Python
      • Reliability Reflections
      • Testing 1 2 3
      • The Manufacturing Academy
  • eBooks
  • Resources
    • Accendo Authors
    • FMEA Resources
    • Feed Forward Publications
    • Openings
    • Books
    • Webinars
    • Journals
    • Higher Education
    • Podcasts
  • Courses
    • 14 Ways to Acquire Reliability Engineering Knowledge
    • Reliability Analysis Methods online course
    • Measurement System Assessment
    • SPC-Process Capability Course
    • Design of Experiments
    • Foundations of RCM online course
    • Quality during Design Journey
    • Reliability Engineering Statistics
    • Quality Engineering Statistics
    • An Introduction to Reliability Engineering
    • An Introduction to Quality Engineering
    • Process Capability Analysis course
    • Root Cause Analysis and the 8D Corrective Action Process course
    • Return on Investment online course
    • CRE Preparation Online Course
    • Quondam Courses
  • Webinars
    • Upcoming Live Events
  • Calendar
    • Call for Papers Listing
    • Upcoming Webinars
    • Webinar Calendar
  • Login
    • Member Home

by Anne Meixner 1 Comment

How to Test Clocked Circuits

How to Test Clocked Circuits

What happens when you power up an electronics device with clocked circuits?

Well you have a clock running and you have clocked circuit elements, also known as sequential circuits.  Latches, registers, basically any “memory” element. What could interfere with testing?

Do you know the state of that “memory element” when you start?

Heck No!

That’s a problem.

A Brief Overview of Sequential and Clocked Circuits

Recall that in the previous articles on digital logic testing dealt only with combinational circuits- no memory elements. In combinational logic the 1’s and 0’s flow in one direction. Most memory elements require feedback in the circuit similar to an SRAM cell.

With sequential circuits the state of the memory element is impacted by current and previous state. These memory elements can be asynchronous or synchronous. With an asynchronous memory element, the state changes based solely upon a change in the inputs. A synchronous memory element can only change at when the control signal arrives.  Often a clock provides the control signal. Let’s explore some common on memory elements common in digital circuitry.

  • Latch: Set and Reset Latch SR latch, can be constructed by a pair of cross-coupled NORs.SR-NOR-latch
  • D Flip-Flop: A Data/Delay Flip-Flap captures the D value at a prescribed portion of a clock, often the rising clock edge. They can also have the ability to set or reset the Flip-Flop State.D-Flip-Flop src_circuitstoday
  • Master-Slave D Flip-Flop: Two D Flip-Flops connected but with opposite clocks. This provides a stable transfer of state.Negative-edge_triggered_master_slave_D_flip-flop.svg
  • Shift Register: Composed of a series of D Flip-Flopsfour_bit_shiftregister

Why Use Clocked Sequential Circuits?

Having the ability to remember a state can be useful during computation. Just think of the basic calculator with MS- Memory Store, M+- Add to Memory, MR- Memory Recall. These demonstrates an asynchronous computation- you control the computation.

In a computer with multiple moving parts, a clock signal synchronizes the communication between the moving parts. If you didn’t add a clock signal to the memory element you might have the moving parts conflict.

Clocked digital design has existed for decades in computer design. While you can compute with asynchronous elements it requires the adherence to communication protocol to handle the communication between different circuit blocks.

Address the Unknowns

Let’s get back to the very beginning. With feedback of logic signals there’s a state-stored.  However, when you power up the device under test (DUT) the states of the sequential circuits are unknown.

Clearly you need to address the unknowns, i.e. change them to a known state. Several means exist to address this. As noted earlier, some Flip-flops have reset function, you could just yank all the resets together somehow. Another option- deliberately set the state in each latch to one that will assist with the test pattern you want to apply.

Castle Turret freerangeHmmm how so? Would not such approaches result in adding circuits just so you can test them? Is it worth the effort and cost to do so?

I have lead you down the path to door called Design For Test (DFT). A common DFT technique used for sequential circuits that engineers rely upon is called Scan-Based design. Though, before you learn about Scan I want to provide a primer on DFT in general. There’s a large castle behind that door, so prepare for several building blocks to lead you up to the top of the turret.

What is the major take-away for you after reading this introduction?

Meanwhile remember testing takes time and thoughtful application,

 

Anne Meixner, PhD

Additional Reading:

ECE tutorials provides succinct explanations of flip-flops.  I have noticed that there exists some inconsistency between the definition that I’m using for latch vs flip-flop and theirs. This happens, in the end you need to look at the circuit diagram and not the name to know how something will behave.

You may have noticed I hedged that clocks are a requirement for computer design. Asynchronous computing does have its fans as it saves the time and effort of routing a clock signal all over the place.  Hence it saves on power and also makes an integrated circuit less noisy. At some point I can discuss asynchronous circuits and the test challenge.  Meanwhile if you’re curious check out the Asynchronous Research Center at Portland State University. Marly Roncken and Ivan Sutherland have been developing the work.

Filed Under: Articles, on Tools & Techniques, Testing 1 2 3 Tagged With: Design For Test, Mastery 1

« Determining Customer Reliability Requirements
Risk Assessment Challenges »

Comments

  1. mcafee support says

    July 27, 2018 at 10:01 AM

    The article is very informative and gives some very useful knowledge of the clocked circuit. In the world of digital after making develop a thing it is very important to test whether it is working properly or not. Keep posting this kind of information.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Article by Anne Meixner
in the Testing 1 2 3 series

Join Accendo

Receive information and updates about articles and many other resources offered by Accendo Reliability by becoming a member.

It’s free and only takes a minute.

Join Today

Recent Posts

  • Risk And Safety
  • Risk Prioritization in FMEA – a Summary
  • What Are Best Practices for Facilitating Qualitative Assessments?
  • So, What’s Still Wrong with Maintenance
  • Foundation of Great Project Outcomes – Structures

© 2023 FMS Reliability · Privacy Policy · Terms of Service · Cookies Policy

This site uses cookies to give you a better experience, analyze site traffic, and gain insight to products or offers that may interest you. By continuing, you consent to the use of cookies. Learn how we use cookies, how they work, and how to set your browser preferences by reading our Cookies Policy.