Testing of digital circuits using Beaglebone Black
The aim of this project was to design a python based software on Beaglebone black to test small digital circuits designed on a breadboard. This would save time for researchers in labs and industries. The total cost of the project was Rs. 5000.
Components required
- Keyboard
- Beaglebone black
- HDMI display unit
Testing combinational circuits
Setup
Our setup was designed to test combinational circuits with up to 8 inputs and 8 outputs. For each input and output, user can configure the pin number on the Beaglebone black associated with it. For each output, user is required to specify a logical expression corresponding to the combinational logic implemented on the breadboard.
Output
After specifying the circuits, user can initiate a test for their combinational circuit. Beaglebone black automatically generates all possible inputs and applies it to the circuit on the breadboard. It captures the experimental output from the circuits, and compares it with the theoretical output of the expected logical expression. If all experimental and theoretical outputs match, the combinational circuit is declared to be working as expected, otherwise not.
Testing sequential circuits
For testing sequential circuits, user is required to specify the state transition graph associated with the sequential logic; this is achieved by specifying the adjacency matrix, input and output corresponding to each transitions. The algorithm then generates a shortest path to explore all transition in the state transition graph. Inputs corresponding to the shortest path is sequentially applied to the circuit; the output is measured after a small delay to account for transition delay of the circuit. If all the experimental and theoretical outputs match, the sequential circuit is declared to be working as expected, otherwise it generates an error report. The error report contains the transitions at which the error occured.
Algorithm for testing digital circuits
- Accept description of the device (combinational or sequential) under test.
- Scan through all possible sets of input for combinational circuit and minimal set of states and transition for sequential circuit.
- Display the result on a graphical user interface (GUI).
Graphical User Interface
Presentation
Author
Anurag Gupta is an M.S. graduate in Electrical and Computer Engineering from Cornell University. He also holds an M.Tech degree in Systems and Control Engineering and a B.Tech degree in Electrical Engineering from the Indian Institute of Technology, Bombay.
Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
Similar content
Past Comments