John W. Williams

Projects

Research and independent projects

Lab research in digital twins and computer vision, plus independent tools for machine learning and cybersecurity.

The XR digital twin environment in Unity, showing the motor test rig, sensor dashboards, and the chiller trainer

Featured · Lab research

XR Digital Twin for Industrial Motor Predictive Maintenance

An extended-reality digital twin that monitors and diagnoses industrial motors. The motor rig sits in the context of a chiller building, showing how motor health monitoring fits into real facility equipment. Sensor data streams into a virtual environment where operators can see vibration, speed and temperature readings, the model's fault diagnosis, and AI-generated maintenance work instructions.

My role. I led development of the system and built everything except the 3D modeling and some of the Unity scripting, including:

  • Sensor data collection from vibration, tachometer and temperature sensors
  • Statistical analysis and feature engineering
  • Machine learning fault diagnosis
  • LLM-generated maintenance work instructions
  • Secure remote access to the testbed over VPN

Impact. The University of Tennessee has copyrighted the software and is licensing it to industry partners for commercialization.

Demonstrations. MARCON 2026 (Knoxville, TN) and the XR Symposium at ORTECC (Oak Ridge, TN) in 2025 and 2026.

Related publications. Builds on my digital twin research in Computers & Industrial Engineering (2026) and at the Winter Simulation Conference (2024). See publications →

  • Digital twin
  • XR
  • Machine learning
  • LLMs
Diagram: a classifier trained only on rendered CAD meshes, never on a real photo, is tested against real-world photos of the same parts; a classifier trained on real photos is tested on held-out real photos as a baseline.

The sim-to-real pipeline (bottom): CAD/STL meshes are rendered into about 46,680 domain-randomized synthetic images, used to train a ResNet18 that is then tested against real-world photos it never saw. The baseline pipeline (top) trains and tests on real photos.

Lab research

CAD Vision Model: Sim-to-Real Part Classification

A computer-vision project in the Applied Systems Laboratory studying whether a classifier for mechanical CAD parts can be trained without ever seeing a real photograph of them.

  • Two independent ResNet18 pipelines classifying mechanical parts (bearings, bolts, brackets, bushings, collets, gaskets, grommets, screws, nuts, O-rings and more) into 15 categories
  • Real-photo pipeline: trains directly on photographed parts, 100% top-1 accuracy on held-out real images
  • Synthetic-render pipeline: trains entirely on about 46,680 images rendered from STL/CAD meshes (24 domain-randomized viewpoints per part), 99.89% top-1 and 99.98% top-3 accuracy on held-out synthetic renders
  • The synthetic-trained model is tested against real-world photographs of the same parts, with automatic foreground cropping and test-time augmentation for noisy real photos
  • Two-phase fine-tuning from ImageNet weights: a frozen-backbone warm-up, then a full unfreeze with cosine-annealed learning rate

Why it matters. Photographing every part variant in an industrial catalog is slow and often incomplete. If a model trained only on CAD geometry generalizes to real camera images, a new part can join a vision system the moment its CAD file exists.

Stack. Python, PyTorch/torchvision, trimesh, pyrender, scikit-learn.

Active lab research; the repository is private while the work is ongoing.

Random Forest results page: accuracy, precision, recall and F1, a confusion matrix, and a feature importance chart

Independent project

Interactive ML Trainer

Upload any labeled, tabular dataset and it trains a Random Forest and an LSTM on it live, in the browser, with no pre-trained models and no code required.

  • Automated exploratory data analysis (ydata-profiling) on whatever is uploaded
  • You pick the target and feature columns, so it works on arbitrary datasets
  • Configurable Random Forest and LSTM hyperparameters, trained on demand with live progress
  • LSTM sequence windows never cross a label boundary, so the model only sees a real, continuous run of one condition
  • Side-by-side accuracy, precision, recall and F1 for both models, with a colorblind-safe palette

Stack. Python, Streamlit, scikit-learn, TensorFlow/Keras, Plotly. Core logic has 96% unit test coverage plus end-to-end tests of every page.

Diagram: installer files and ISO images are scanned for known vulnerabilities before they are installed, alongside a check of already-installed software, both feeding the same NIST NVD lookup, CVSS filter and report.

Installer and ISO scans (top) pull version and content metadata straight from the file with no installation, while a software list (bottom) covers what's already installed. Both feed the same NVD lookup, CVSS filter and report.

Independent project

NIST Vulnerability Checker

A command-line toolkit for checking software against the National Vulnerability Database before it gets installed, rather than after.

  • Pulls and consolidates CVE data from the NIST NVD API 2.0, handling pagination and rate limits
  • Checks single products or batch lists against known CVEs, filterable by CVSS severity
  • Scans Windows installers (.exe, .msi) and ISO images directly and flags known vulnerabilities before the installer runs
  • Generates CSV/Excel reports, plus an interactive menu for ad hoc checks

Stack. Python, NIST NVD API 2.0, pandas/openpyxl.

Repository is currently private.