Vectorwyse
Back to Work
Industrial Services / Predictive Maintenance•2018–present

CBC Group

Industrial condition monitoring and diagnostics

A predictive maintenance platform that turns oil and vibration lab results into graded diagnoses automatically — bilingual, and running on ten custom-built extensions.

Four CBC screens: a sample diagnosis, the Rules Tool formulas, the oil analyses list, and a generated oil analysis report
10
Custom packages built in-house
7+ yrs
Continuously in production
1,341
Commits across the engagement
2
Languages supported

Figures measured directly from the project repository.

The problem

Condition monitoring is how heavy industry avoids catastrophic failure. You sample the oil from a gearbox, send it to a lab, and read the results: iron, copper, silicon, viscosity, water content, particle counts. Read correctly and in time, those numbers tell you a bearing is failing weeks before it does.

The difficulty is in “read correctly.” A silicon reading that’s alarming in a hydraulic system is unremarkable in a diesel engine. The same value means different things depending on the oil type, the machine, and — critically — that machine’s own established baseline. So the interpretation was done by hand, by experienced engineers, against reference tables. That approach doesn’t scale, it’s slow, and the expertise lives in people’s heads rather than in the business.

CBC serves an industrial client base across Taiwan, which added a second requirement: whatever we built had to work equally well in Traditional Chinese and English.

What we built

A platform that ingests lab results, grades them automatically, and produces client-ready diagnostic reports.

A rules engine instead of hardcoded thresholds

The core of the system is a configurable diagnostic engine. Rules own a set of formulas, and each formula is matched to a specific measured field and lubricant oil type. Crucially, formulas can be gated on a baseline threshold — a formula may apply only when the machine’s established baseline for that field is above, or below, a given value. Resolution happens at analysis time: given a field, an oil type, and the machine’s baseline, the engine selects the formula that applies and grades the sample.

That design is the whole point of the project. Engineering knowledge that previously lived in reference binders and senior engineers’ judgment became data in the system — editable by CBC’s own experts through an admin interface, with no developer involvement and no deployment. When a client requires a distinct rule set, it becomes another configured set of rules rather than a fork of the codebase.

Sample validation is handled properly too, with dedicated validators for ISO 4406 and NAS 1638 cleanliness codes.

The asset hierarchy

Results are meaningless without knowing what they came from, so the system models the physical world: companies own plants, plants contain areas, areas contain machines, and machines have lubricant types and their own baseline analyses. Oil analyses and vibration reports attach to machines, which is what makes trend-over-time and baseline comparison possible.

Alerts

An alerts subsystem surfaces conditions that need attention rather than requiring someone to go looking. Alerts are attached to resources throughout the interface, so a problem is visible where the user already is.

Reports in the format clients actually want

Industrial clients want documents. We built report generation on PHPWord with DOCX and RTF conversion in both directions, plus Excel export paths for bulk data. Vibration reports are uploaded and parsed into structured content rather than stored as opaque attachments.

Genuinely bilingual

The application ships in English and Traditional Chinese throughout — not just the interface strings but the generated reports — with a custom locale switcher so users move between them freely.

How we approached it

CBC is the clearest example in our portfolio of a project where the right answer was to build our own tools. The application runs on Laravel Nova, and rather than fight the framework’s constraints we extended it, shipping ten custom Nova packages as first-class, separately-versioned components:

  • Rules Tool — the interface CBC’s engineers use to author and manage diagnostic rules
  • Oil Analysis Report — the report builder for the platform’s primary output
  • Vibration Report Upload — ingestion and parsing of vibration data
  • Chart Modal and Sparkline — trend visualization, inline and expanded
  • Alerts and Resource Alerts — the notification layer
  • Client Tool — client-scoped views of the data
  • Collapsible Group and CBC Nova Theme — interface structure and branding

Packaging these separately rather than as application-level hacks meant each could be tested, versioned, and reasoned about on its own — and it’s a large part of why a seven-year-old codebase is still comfortable to work in.

End-to-end coverage is provided by Cypress, with dedicated database seeders for test scenarios, plus seeders for the standard and client-specific rule sets so a full diagnostic environment can be reconstructed from scratch.

Where it stands today

In continuous production since 2018 and still actively developed. Recent work has centred on new client-specific analysis reports and on diagnosis handling — the system’s core value, still being sharpened seven years in.

How it's put together

The system as it actually runs in production.

CBC Group platform architectureLab sample results are attached to a machine within a company, plant, and plant-area hierarchy. The rules engine selects a formula by measured field, lubricant oil type, and whether the machine's baseline falls above or below a configured threshold, then grades the sample. Graded results raise alerts and feed bilingual DOCX and Excel client reports.SAMPLESASSET CONTEXTDIAGNOSISOUTPUTSample inputsOil analysis resultsVibration report uploadISO 4406 / NAS 1638Asset hierarchyCompany└ Plant└ Plant area└ MachineLubricant oil typeEstablished baselineRules enginea Rule owns many FormulasMATCHED ONmeasured fieldlubricant oil typebaseline above / belowa configured threshold→ selected formula→ graded resultauthored by CBC engineers, no deployGraded analysisSeverity gradingTrend vs. baselineAlerts raisedClient outputDOCX / RTF reportsExcel exportsEnglish + 繁體中文TEN CUSTOM NOVA PACKAGES BUILT IN-HOUSERules ToolOil Analysis ReportVibration Report UploadChart ModalSparklineAlertsResource AlertsClient ToolCollapsible GroupCBC Nova Theme

Technologies used

Backend

  • Laravel
  • Laravel Nova
  • MySQL
  • Eloquent Has-Many-Deep

Frontend

  • Vue
  • Custom Nova tools
  • Sass
  • Custom Nova theme

Diagnostics

  • Configurable rules engine
  • Threshold-aware formulas
  • ISO / NAS code validation
  • Baseline comparison

Reporting

  • PHPWord
  • DOCX / RTF converters
  • Laravel Excel
  • Fast Excel

Localization

  • English
  • Traditional Chinese (zh-TW)
  • Locale switcher package

Quality & Ops

  • Cypress end-to-end tests
  • Sentry
  • Cloud file storage
  • Spatie Permissions
Ready when you are

Let's build something great.

Whether you have a fully-formed spec or just an idea on a napkin, we'll help you turn it into a product your users love.