Fractional PWM in verilog

By bptsj | Nov 7, 2018 | 0 Comments

Objective of a fractional PWM The derivation of the equation for fractional pulse width modulation (frac_pwm) is shown along with the verilog code implementation. This code has been tested to work on a Spartan 3AN and is available on Bitbucket. My related blog was written June 4, 2016 on a fractional divider (FD) circuit for […]

Finding Anomalies

By bptsj | Aug 13, 2018 | 0 Comments

Introduction / Motivation I want to formalize an idea I’ve had in analyzing data. This is a work in process. I’m interested to see if machine learning can be applied to a specific engineering problem. The problem I’m working on is in the field of reliability. Specifically I want to determine why a small percentage […]

OpenCV Coin Detection Project

By bptsj | Jun 27, 2018 | 7 Comments

Introduction This blog covers a course project I completed for Learn OpenCV for Faces, conducted by Satya Mallick. The project objective is to use a webcam to detect US coin currency on a table and classify each coin, counting the total change. The project is using OpenCV and Python (WinPython 3.65) running on a Acer […]

Labjack Installation Pre/Post 2015

By bptsj | Jun 27, 2018 | 0 Comments

Background Since early 2011 I have used the Labjack digital I/O as a tool in test equipment for reliability testers. I started with Windows based GUI’s with custom app code written in Java. Since that time the same basic architecture was used in a half-dozen programs. The working tool chain has been Netbeans IDE and […]

Compare Houghs Transform to Watershed Algorithm

By bptsj | Jun 21, 2018 | 0 Comments

Watershed Compared to Houghs Transform The Watershed algorithm is compared to using the Hough transform to detect circles. In doing so an inherent weakness was found with the Watershed algorithm for this particular application.  Specifically, I am using HoughCircles in OpenCV and for the watershed approach I’m using distance_transform_edt from scipy and watershed from skimage.morphology. To show […]

Open Source FEA Software

By bptsj | Jun 9, 2016 | 0 Comments

Open Source FEM There is some pretty amazing open source software available for multi-physics FEM. This blog describes the open source software pulled together to perform FEM (finite element modeling). Originally I used QuickField, student version. However, the limitation on that software is that it is 2D asymmetric or planar with a 250 node limit […]

Runaway Self-heating Feedback

By bptsj | Jun 5, 2016 | 0 Comments

I am fascinated with feedback control systems. They always grab my interest. I’m in awe of the way something in the physical world can be expressed by a few simple equations. This is true for something as simple as a device failing by overheating because of a positive feedback loop. The temperature rise of an actuator […]

Why MTBF can be misleading

By bptsj | Jun 5, 2016 | 0 Comments

What’s Wrong with MTBF The use of MTBF (Mean Time Between Failures) is almost always applied wrong. As a producer of a product you would want the product to last beyond the warranty period and long enough to be perceived by the customer as a ‘Quality’ product. One way of quantifying this is that a […]

Fractional Divider in verilog

By bptsj | Jun 4, 2016 | 0 Comments

Fractional Divider This design note shows the derivation of the equation for a fractional divider (FD) and provides the verilog code implementation. This code has been tested to work on a Spartan 3AN and is available on Bitbucket. A fractional divider gives higher resolution in a digital PLL without increasing the clock frequency. As example, […]

Welcome to Tremaine Consulting Group

By bptsj | Jun 4, 2016 | Comments Off on Welcome to Tremaine Consulting Group

Welcome to the Tremaine Consulting Group blog! I want to use this forum to share ideas and thoughts in Engineering that I find interesting. I hope you enjoy and I always welcome your feedback. Previous to the Company name change my blog was at http://brian-omnificsolutions.blogspot.com

Scroll to Top