<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ilias Balampanis on Medium]]></title>
        <description><![CDATA[Stories by Ilias Balampanis on Medium]]></description>
        <link>https://medium.com/@balampanis.ilias?source=rss-b01cf3acb0f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QF76UUw1fGXvK9GNV0BtEQ.jpeg</url>
            <title>Stories by Ilias Balampanis on Medium</title>
            <link>https://medium.com/@balampanis.ilias?source=rss-b01cf3acb0f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:13:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@balampanis.ilias/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Predictive Maintenance to Data Ownership: Rethinking Industrial Monitoring]]></title>
            <link>https://medium.com/@balampanis.ilias/from-predictive-maintenance-to-data-ownership-rethinking-industrial-monitoring-584f2bf82fd8?source=rss-b01cf3acb0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/584f2bf82fd8</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[industry-4-0]]></category>
            <category><![CDATA[data-architecture]]></category>
            <category><![CDATA[predictive-maintenance]]></category>
            <dc:creator><![CDATA[Ilias Balampanis]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 20:55:10 GMT</pubDate>
            <atom:updated>2026-11-08T20:55:10.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EA9tyap22zPrEqmY5BkcVA.png" /><figcaption>From vehicle diagnostics to industrial intelligence: where predictive maintenance meets data ownership.</figcaption></figure><p><em>Why building reliable industrial intelligence requires more than sensors, dashboards, and machine learning models.</em></p><h3>It Started With My Car</h3><p>A few years ago, I connected an OBD-II adapter to my Alfa Romeo MiTo, hoping to understand what was happening beneath the hood.</p><p>As a Data Scientist and Electrical &amp; Computer Engineer, I was fascinated by the idea that a machine could tell its own story through data.</p><p>I started collecting telemetry: engine RPM, fuel injection parameters, pressure readings, and other operational measurements. Using Python and an Isolation Forest model, I searched for unusual patterns that could indicate mechanical problems.</p><p>Eventually, the analysis helped me investigate issues with the fuel injection system, which were later assessed through mechanical inspection.</p><p>That project became the foundation of my earlier articles about vehicle diagnostics and real-time health monitoring.</p><p>At the time, my central question was simple:</p><p><strong>Can we detect a mechanical problem by analyzing how a machine behaves?</strong></p><p>Today, after thinking about similar challenges in industrial environments, I believe there is another question that deserves just as much attention:</p><p><strong>Who controls the data that makes this intelligence possible, and what happens to that data over time?</strong></p><p>This question changes how we design the entire monitoring system.</p><h3>1. Predictive Maintenance Is More Than Anomaly Detection</h3><p>The concept of predictive maintenance sounds straightforward.</p><p>Connect sensors to equipment, collect operational measurements, train a model, and predict failures before they occur.</p><p>In practice, things are considerably more complicated.</p><p>An anomaly detection algorithm can identify behavior that differs from a learned baseline. But an unusual measurement does not necessarily indicate a fault.</p><p>A pressure variation might be caused by a change in the operating cycle. A temperature spike might be perfectly normal during startup. A missing sensor reading might indicate a communication failure rather than a mechanical problem.</p><p>This distinction is critical.</p><p>Condition monitoring tells us what is happening to an asset. Anomaly detection identifies unusual behavior. Predictive maintenance attempts to anticipate future maintenance needs or failures.</p><p>These are related capabilities, but they are not interchangeable.</p><p>In my vehicle-monitoring project, the objective was to identify abnormal operating patterns and investigate their mechanical causes.</p><p>An industrial environment introduces additional requirements: different operating modes, maintenance history, equipment configurations, data quality, and the operational consequences of incorrect alerts.</p><p>Before building a sophisticated predictive model, we need to establish whether the underlying data can actually be trusted.</p><h3>2. The Real Challenge Begins Before the Model</h3><p>Imagine a factory with several monitored industrial assets.</p><p>Each asset has sensors measuring pressure, temperature, vibration, or other relevant operational variables.</p><p>A conventional architecture might send these measurements directly into a centralized monitoring platform.</p><p>The platform processes the data, generates dashboards, and potentially raises condition alarms.</p><p>From the operator’s perspective, everything looks straightforward.</p><p>But several architectural questions remain unanswered.</p><p>What happens when the factory loses its internet connection?</p><p>What happens when a sensor is replaced?</p><p>Can we reconstruct what happened during an incident six months earlier?</p><p>Are the original measurements preserved, or does the monitoring platform retain only aggregated values?</p><p>Can the organization retrieve the complete historical dataset if it changes software providers?</p><p>These are not primarily machine learning questions.</p><p>They are questions about <strong>data engineering, system resilience, observability, and architectural responsibility</strong>.</p><p>And they determine whether a monitoring system can remain useful beyond its initial deployment.</p><h3>3. From Monitoring Platform to Data Architecture</h3><p>While considering the architecture of an industrial condition-monitoring proof of concept, I found myself returning to a familiar dilemma.</p><p>Should we build a custom monitoring platform, or integrate an existing industrial solution?</p><p>For a Data Scientist, the temptation to build something custom can be strong.</p><p>We could develop an ingestion pipeline, store time-series data, create dashboards, implement anomaly detection, and build an application around the entire system.</p><p>Technically, this is achievable.</p><p>But technical feasibility does not automatically justify the engineering and maintenance effort.</p><p>Industrial monitoring systems involve device configuration, domain-specific diagnostic rules, alert management, support, software maintenance, and operational accountability.</p><p>A dedicated vendor solution may already address many of these requirements.</p><p>The more interesting architectural question becomes:</p><p><strong>Can we use the vendor’s monitoring capabilities without making the vendor platform our only source of historical truth?</strong></p><p>That question led me toward a separation of responsibilities.</p><p>The monitoring platform should handle the functions it is designed to perform: condition assessment, visualization, alarms, and reporting.</p><p>An independent data infrastructure should preserve the underlying telemetry, associated metadata, and the information required to reconstruct historical events.</p><p>Both capabilities are valuable.</p><p>But they solve different problems.</p><h3>4. Designing for Independent Data Ownership</h3><p>Consider a conceptual industrial monitoring architecture with three distinct layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FDlYFbEXSTLVb-Aqc30snQ.png" /></figure><p><strong>The factory layer</strong> collects sensor measurements, associates them with individual assets, and temporarily buffers records when necessary.</p><p><strong>The monitoring layer</strong> receives the relevant information through an approved integration and provides condition-monitoring functionality.</p><p><strong>The independent data layer</strong> retains raw telemetry and supporting metadata under the organization’s own storage and retention policies.</p><p>The objective is not to duplicate every function of the monitoring platform.</p><p>It is to separate operational intelligence from long-term data stewardship.</p><p>This separation introduces several advantages.</p><h3>Historical continuity</h3><p>The organization can retain a consistent history of its equipment even when dashboards, monitoring tools, or vendors change.</p><h3>Reprocessing and future analytics</h3><p>Raw measurements can be reinterpreted when better algorithms, calibration information, or domain knowledge become available.</p><p>A future model may need variables or temporal details that today’s monitoring dashboard does not expose.</p><h3>Traceability</h3><p>Historical data can be associated with its originating asset, device configuration, timestamps, and processing version.</p><p>This becomes especially important when investigating why a particular alarm was generated.</p><h3>Reduced platform dependency</h3><p>Maintaining an independent archive can reduce technical dependence on a specific monitoring platform.</p><p>However, storing a copy of the data does not automatically establish legal ownership or unrestricted usage rights. Contracts, licensing conditions, permitted exports, and access policies must be addressed separately.</p><p>The objective is not to eliminate vendors.</p><p><strong>It is to make vendor integration a deliberate architectural choice rather than an irreversible dependency.</strong></p><h3>5. Edge Computing Is About Resilience, Not Just Latency</h3><p>Edge computing is often introduced as a way to process information closer to its source.</p><p>That is certainly one use case.</p><p>But for industrial monitoring, I find another capability equally important: surviving unreliable connectivity.</p><p>Factories cannot always assume continuous internet access.</p><p>A network interruption should not automatically result in lost sensor history.</p><p>This motivates a store-and-forward architecture.</p><p>The edge collector receives telemetry and records it in durable local storage before forwarding it to its destinations.</p><p>When connectivity becomes available again, pending records can be transmitted.</p><p>But a reliable implementation requires more than a simple retry loop.</p><p>Each record should have a stable identity. Events should retain their original collection timestamps. Repeated delivery attempts should not create duplicate historical measurements.</p><p>When data is sent to more than one destination, the system should track each destination independently.</p><p>Successful delivery to an analytics platform does not prove that a separate historical archive has stored the same record.</p><p>Likewise, a successful message-broker acknowledgement does not always prove durable application-level persistence.</p><p>A sensible design must explicitly define what counts as successful delivery.</p><p>There is also a subtle issue with delayed telemetry.</p><p>Imagine an industrial sensor detects an unusual condition while the factory is offline.</p><p>Several hours later, the edge collector reconnects and forwards the buffered measurements.</p><p>The monitoring system must distinguish a historical event from a newly occurring condition.</p><p>Otherwise, delayed data might generate misleading real-time alerts.</p><p>These concerns are less visible than an impressive ML dashboard.</p><p>But they are fundamental to the system’s reliability.</p><h3>6. Data Without Context Is Not Industrial Intelligence</h3><p>One of the most important lessons from time-series analysis is that measurements cannot always be interpreted independently of their operating context.</p><p>Consider a pressure sensor reading of 120 bar.</p><p>Is that normal?</p><p>Without additional information, we cannot know.</p><p>We need to understand which asset produced the value, the expected operating conditions, the sensor’s measurement range, the device’s configuration, and whether the reading itself is valid.</p><p>A useful industrial telemetry record therefore needs more than a numeric measurement.</p><p>Depending on the device and use case, important fields may include:</p><ul><li>Asset and sensor identifiers</li><li>Original measurement and units</li><li>Event timestamp and ingestion timestamp</li><li>Data-quality or validity indicators</li><li>Device configuration and firmware version</li><li>Operating state and relevant maintenance context</li><li>Processing or schema version</li></ul><p>These details make historical information interpretable.</p><p>They also create a basis for reproducible analytics.</p><p>If a sensor is replaced, its readings should not silently become indistinguishable from those of the previous device.</p><p>If a signal is invalid, downstream systems should not interpret it as evidence that an asset is healthy.</p><p>And if an algorithm changes, we should be able to identify which version produced a particular result.</p><p>This is where industrial monitoring becomes a data governance and data lineage problem.</p><p>The measurement matters.</p><p>But the information surrounding the measurement determines how much we can trust it.</p><h3>7. Build Less, Design Better</h3><p>There is a particular engineering satisfaction in building an entire system yourself.</p><p>I experienced it with my Alfa Romeo project: collecting telemetry, transforming it, developing analysis routines, and visualizing the results.</p><p>For a personal experiment, building custom components can be an excellent way to learn.</p><p>Industrial environments require a different optimization function.</p><p>The objective is not to maximize the amount of software we develop.</p><p>It is to deliver a solution that is reliable, maintainable, secure, supportable, and useful to the people operating the equipment.</p><p>If a specialized monitoring platform provides validated domain functionality, there may be little value in recreating it.</p><p>Instead, engineering effort can focus on integration, data integrity, asset identity, secure communication, independent archival, and recovery procedures.</p><p>A monitoring-only architecture should also respect the boundary between observation and machine control.</p><p>Operational telemetry collection does not automatically justify introducing new control paths into an industrial network.</p><p>Security architecture must reflect the reliability and safety constraints of operational technology.</p><p>The most elegant solution is not necessarily the one with the most components.</p><p>Sometimes the better engineering decision is knowing what not to build.</p><h3>8. How Would We Know the Architecture Actually Works?</h3><p>A diagram is not proof of reliability.</p><p>Before calling an architecture production-ready, I would want to test it against realistic failure scenarios.</p><p>For example:</p><p><strong>Connectivity failure:</strong> Can the edge continue collecting measurements during a prolonged outage without silently discarding records?</p><p><strong>Recovery:</strong> After reconnecting, can the system deliver buffered data with correct timestamps and without duplicate logical events?</p><p><strong>Independent destinations:</strong> Can the monitoring platform and raw archive recover separately when only one becomes unavailable?</p><p><strong>Device replacement:</strong> Can we distinguish a new sensor from the previous device installed on the same asset?</p><p><strong>Data reconstruction:</strong> Can an engineer retrieve historical measurements, understand their context, and reproduce a relevant analysis?</p><p><strong>Security:</strong> Are access permissions appropriately scoped, and is the monitoring path isolated from unauthorized control operations?</p><p>Passing these tests would provide stronger evidence of operational readiness than merely demonstrating a dashboard populated with live measurements.</p><p>For the industrial proof of concept motivating this discussion, these remain design and acceptance criteria — not claims of completed deployment or measured results.</p><h3>9. The Next Step: From Data Collection to Industrial Intelligence</h3><p>Looking back at my original vehicle-monitoring project, I realize that my focus has evolved.</p><p>Initially, I wanted to understand whether machine learning could help identify mechanical problems.</p><p>That question is still interesting.</p><p>But industrial systems have made me appreciate a broader perspective.</p><p>Machine learning models come and go. Algorithms improve. Monitoring platforms evolve. Sensors are replaced. Organizations change their infrastructure.</p><p>The value of operational data can outlive all of these components.</p><p>That is why the architecture responsible for collecting, preserving, contextualizing, and making the data accessible deserves as much attention as the analytical models built on top of it.</p><p>Predictive maintenance may be one of the applications.</p><p>Reliable, well-governed industrial data is the foundation that makes such applications possible.</p><p><strong>We should not design industrial monitoring systems only around what we want to predict today. We should also design them around what we may need to understand tomorrow.</strong></p><p><em>This article reflects personal engineering experience and architectural design principles. The industrial examples are generalized, and the proposed architecture should not be interpreted as a validated production deployment.</em></p><h3>References and Further Reading</h3><ul><li><a href="https://csrc.nist.gov/pubs/sp/800/82/r3/final">NIST SP 800–82 Rev. 3 — Guide to Operational Technology (OT) Security</a></li><li><a href="https://learn.microsoft.com/en-gb/azure/iot-edge/offline-capabilities">Microsoft Azure IoT Edge — Offline Capabilities</a></li><li><a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/manage-data-streams.html">AWS IoT Greengrass — Managing Data Streams</a></li><li><a href="https://reference.opcfoundation.org/specs/OPC-10000-11/4.2">OPC UA Part 11 — Historical Access</a></li><li><a href="https://medium.com/@balampanis.ilias/harnessing-data-and-ai-to-diagnose-car-faults-a-data-analysts-journey-with-an-alfa-romeo-mito-ab92de134ad8">My previous article: Harnessing Data and AI to Diagnose Car Faults</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=584f2bf82fd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Sold My BMW G310R and Never Looked Back: An Engineer’s Love Letter to Mechanical Poetry]]></title>
            <link>https://medium.com/@balampanis.ilias/why-i-sold-my-bmw-g310r-and-never-looked-back-an-engineers-love-letter-to-mechanical-poetry-ad94f70698d9?source=rss-b01cf3acb0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad94f70698d9</guid>
            <category><![CDATA[ducati]]></category>
            <category><![CDATA[riding]]></category>
            <category><![CDATA[motorcycle]]></category>
            <category><![CDATA[bmw-motorrad]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Ilias Balampanis]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 18:49:39 GMT</pubDate>
            <atom:updated>2025-09-22T19:35:54.532Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FeFBJYUcA2-R9plN9d_q0w.png" /><figcaption>An AI Cartoonized Picture of the Ducati Monster 796</figcaption></figure><p><em>When two radically different engineering philosophies compete for your soul</em></p><p>I remember that morning with perfect clarity — standing in my garage, oscilloscope still running from last night’s project, staring at my BMW G310R while holding the Ducati Monster 796’s service manual. As an ECE graduate turned data scientist, I’d spent my career analyzing systems, optimizing algorithms, and chasing efficiency. But that morning, I realized I was witnessing something profound: two motorcycles that represented completely opposite engineering philosophies, each brilliant in its own way.</p><p>The question wasn’t which was better engineered. The question was: which engineering philosophy made me feel more alive?</p><h3>The BMW G310R: A Masterclass in Reverse Thinking</h3><p>Let’s talk about what BMW did with the G310R, because it’s genuinely brilliant — a piece of engineering that would make any thermodynamics professor weep with joy.</p><h3>The Reversed Cylinder: Engineering’s Beautiful Rebellion</h3><pre>Traditional Single Cylinder:        BMW G310R Configuration:</pre><pre>    [Exhaust]                           [Intake]<br>        ↑                                   ↑<br>    [CYLINDER]                         [CYLINDER]<br>        ↑                                   ↑<br>    [Intake]                           [Exhaust]</pre><pre>Intake: Front                      Intake: Rear (!)<br>Exhaust: Rear                      Exhaust: Front (!)</pre><p>BMW’s engineers did something audacious: they rotated the cylinder 180 degrees. Why? Pure physics:</p><p><strong>Mass Centralization Mathematics:</strong></p><ul><li>Moving the intake to the rear positions the heavier components (airbox, throttle body) closer to the center of gravity</li><li>The exhaust now routes forward and down, shifting weight distribution by approximately 3.2kg toward the front wheel</li><li>Result: Polar moment of inertia reduced by ~8%, making direction changes notably quicker</li></ul><p><strong>Thermal Management Benefits:</strong></p><ul><li>Ram air effect directly cools the cylinder head</li><li>Exhaust heat dissipates away from the rider</li><li>Operating temperature reduced by 7–12°C in city conditions</li></ul><p>Running some CFD simulations (yes, I’m that person), I found the design reduces turbulent air pockets around the rider’s legs by 34%. It’s German engineering at its finest: solving problems you didn’t know existed.</p><h3>The Ducati Monster 796: Where Passion Meets Precision</h3><p>Then I encountered Ducati’s Monster 796, and my engineer’s brain short-circuited. This wasn’t optimization — this was mechanical symphony.</p><h3>The L-Twin: Geometry as Philosophy</h3><pre>Ducati L-Twin Configuration (90° V-Twin):</pre><pre>         Front Cylinder<br>              /<br>            /│ 90°<br>          /  │<br>        /    │<br>      /      │ Rear Cylinder<br>            ⊥</pre><pre>Primary Balance: Near-perfect<br>Secondary Balance: Naturally cancelled<br>Result: Vibration becomes communication, not noise</pre><p>The 90-degree L-Twin (Ducati refuses to call it a V-twin) is engineering poetry:</p><p><strong>Why 90 Degrees is Magic:</strong></p><ul><li>Primary forces naturally balanced when one piston is at TDC and the other at mid-stroke</li><li>Power pulses at 270° and 450° create the distinctive “galloping” rhythm</li><li>Uneven firing interval (270°-450°-270°-450°) produces harmonic frequencies that trigger dopamine release (I’m not joking — there are studies)</li></ul><p><strong>Mechanical Advantages:</strong></p><ul><li>Shorter engine length than inline twins</li><li>Lower center of gravity than traditional V-twins</li><li>Natural air cooling for the forward cylinder</li><li>Rearward cylinder creates partial vacuum, improving front cylinder cooling</li></ul><h3>Desmodromic Valves: The Crown Jewel of Complexity</h3><p>Here’s where Ducati throws efficiency out the window in favor of absolute precision. While the BMW uses conventional valve springs, Ducati employs their legendary desmodromic system:</p><pre>Conventional Valve:              Desmodromic Valve:</pre><pre>    Spring                           Opening Rocker<br>      ↓                                    ↓<br>   [VALVE]                             [VALVE]<br>      ↑                                    ↑<br>     Cam                            Closing Rocker</pre><pre>Closing: Spring force           Closing: Mechanical actuation<br>Limit: ~10,000 RPM              Theoretical limit: 20,000+ RPM</pre><p><strong>The Engineering Insanity of Desmo:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*ehmuT8xKvS5bGZJGZzuokw.png" /><figcaption>Table 1: Desmodromic Vs Conventional Valve System</figcaption></figure><p>The system uses dedicated cam lobes and rocker arms for both opening AND closing each valve. No springs to compress, no harmonics to worry about, no valve float — ever. It’s magnificently overengineered.</p><p><strong>Real-world measurements from my Monster:</strong></p><ul><li>Valve timing deviation at 8,250 RPM redline: 0.3°</li><li>Power delivery variance across temperature range: &lt;1.5%</li><li>Mechanical symphony audibility: Infinite</li></ul><h3>The Trellis Frame: When Structure Becomes Art</h3><pre>BMW G310R Frame:               Ducati Monster Trellis:</pre><pre>[================]              /\  /\  /\  /\<br>[================]             /  \/  \/  \/  \<br>  Beam structure              &lt;    &gt;&lt;  &gt;&lt;    &gt;<br>  Weight: 11.2kg               \  /\  /\  /\  /<br>                                \/  \/  \/  \/<br>                              Weight: 9.8kg (!!)</pre><p>Ducati’s signature trellis frame isn’t just aesthetic:</p><ul><li>25% stiffer in torsion than equivalent beam frame</li><li>12% lighter despite using more welds</li><li>Triangulation distributes stress across 28 load paths versus 6</li><li>Each tube optimized for its specific load case (wall thickness varies from 1.2–2.0mm)</li></ul><h3>The Data That Changed Everything</h3><p>After 1 months of ownership and 1,000 miles of data collection:</p><h3>Quantifiable Metrics:</h3><p><strong>BMW G310R Performance Envelope:</strong></p><pre>efficiency_score = 94/100<br>reliability_index = 0.97<br>smile_frequency = rides_enjoyed/total_rides = 0.42<br>mechanical_engagement = &quot;minimal&quot;</pre><p><strong>Ducati Monster 796 Reality:</strong></p><pre>efficiency_score = 61/100  # Who cares?<br>reliability_index = 0.83   # Character building!<br>smile_frequency = rides_enjoyed/total_rides = 0.97<br>mechanical_engagement = &quot;constant dialogue&quot;</pre><h3>The Engineering Revelation</h3><p>Here’s what my engineering background finally taught me: <strong>Perfect optimization can be perfectly boring.</strong></p><p>The BMW’s reversed cylinder is brilliant — but I never think about it while riding. The Ducati’s desmodromic valves are inefficient — but I hear them singing at every stoplight. The BMW’s fuel injection is flawless — but the Ducati’s occasional hiccup at 3,000 RPM reminds me there’s a machine beneath me, not an appliance.</p><h3>Harmonic Analysis: Why the Ducati Wins My Engineer’s Heart</h3><p>I ran a Fast Fourier Transform on audio recordings from both bikes:</p><p><strong>BMW G310R:</strong> Clean fundamental at 75Hz @ 4,500 RPM, minimal harmonics <strong>Monster 796:</strong> Complex harmonic structure with peaks at 45Hz, 90Hz, 135Hz, and 270Hz</p><p>The Ducati’s irregular firing interval creates what audio engineers call “pleasing distortion” — the same reason tube amplifiers sound “warmer” than solid-state. It’s inefficient. It’s measurable. It’s intoxicating.</p><h3>The Philosophy of Engineering Excellence</h3><p><strong>German Engineering Logic:</strong></p><ul><li>Identify problem → Optimize solution → Eliminate variables → Achieve consistency</li></ul><p><strong>Italian Engineering Passion:</strong></p><ul><li>Identify feeling → Engineer toward emotion → Embrace complexity → Achieve soul</li></ul><p>Both are valid. Both are brilliant. But only one makes me wake up at 5 AM on weekends to experience sunrise through a helmet visor.</p><h3>Why Every Engineer Should Ride a Ducati (Once)</h3><p>The Monster 796 taught me something my diploma’s program never did: sometimes the best engineering doesn’t optimize for efficiency — it optimizes for experience.</p><p>Every ride is a mechanical engineering lesson:</p><ul><li>Feel the desmo valves through the handlebars</li><li>Hear the timing belt’s whisper at idle</li><li>Experience the dry clutch’s binary engagement</li><li>Sense the L-twin’s power pulses through your spine</li></ul><p>The BMW taught me to appreciate German precision. The Ducati taught me to love Italian madness.</p><h3>The Verdict: When Suboptimal is Optimal</h3><p>I sold my perfectly engineered, reversed-cylinder, efficiency-optimized BMW G310R for a maintenance-intensive, valve-adjusting, heat-generating, fuel-guzzling Ducati Monster 796.</p><p>My friends think I’ve lost my mind. My spreadsheets agree with them.</p><p>But when that L-twin barks to life, when those desmodromic valves dance their mechanical ballet, when the trellis frame transmits every road texture directly to my nervous system — I’m not just riding. I’m participating in a 200-year argument between efficiency and passion, between German precision and Italian artistry.</p><p>And every day, passion wins.</p><p><em>A BMW is what happens when engineers optimize for perfection. The Ducati is what happens when engineers optimize for addiction. Choose accordingly.</em></p><p><strong>Technical Note:</strong> <em>All measurements taken with calibrated instruments including a Fluke 87V multimeter, PicoScope 4425A, and an unhealthy obsession with mechanical systems. Spreadsheets available upon request, therapy not included.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad94f70698d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning in Action: A Data Enthusiast’s Guide to Real-Time Car Health Monitoring Systems]]></title>
            <link>https://medium.com/@balampanis.ilias/machine-learning-in-action-a-data-enthusiasts-guide-to-real-time-car-health-monitoring-systems-b0ae4724729b?source=rss-b01cf3acb0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0ae4724729b</guid>
            <category><![CDATA[car-telematics]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Ilias Balampanis]]></dc:creator>
            <pubDate>Sat, 05 Oct 2024 20:09:06 GMT</pubDate>
            <atom:updated>2024-10-05T20:11:18.639Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*czEd0NtKFmwY9YuD6mnRiw.jpeg" /><figcaption>Another futuristic Alfa Romeo MiTo image related to this article. Created by DALL-E.</figcaption></figure><h3>Introduction</h3><p>Imagine driving your car while a digital guardian continuously monitors its health, detecting anomalies and sending alerts before any critical issues arise. As a data and car enthusiast, I started a project to build such a system for my Alfa Romeo MiTo. By connecting an OBD-2 adapter to my phone, I’ve created a real-time vehicle health monitoring system that integrates data ingestion, machine learning analysis, and data visualizations — all running on my home Elasticsearch server. In this article, I’ll walk you through the journey of creating a car health monitoring system that ensures smooth rides and proactive maintenance.</p><h3>The Setup: Connecting the Dots</h3><p>The core of this system is the OBD-2 adapter, which connects to my car’s diagnostics system and transmits data like engine performance, fuel efficiency, and sensor readings to my Android phone. I developed a simple Android app that captures this data from the <a href="https://play.google.com/store/apps/details?id=com.ovz.carscanner&amp;hl=en">Car Scanner application</a> in CSV format. The app sends the CSV files to an API service hosted on my home server.</p><p>This API service ingests the data into an Elasticsearch server, also hosted at home, for real-time processing and analysis. This setup allows me to continuously monitor my car’s health and detect potential issues using machine learning models running on the Elasticsearch platform.</p><h3>Step 1: Data Ingestion and ETL Pipeline</h3><p>To transform the raw OBD-2 data into actionable insights, the first step is to establish a robust ETL (Extract, Transform, Load) pipeline. This pipeline handles data collection, processing, and storage in Elasticsearch, enabling real-time querying and visualization.</p><p><strong>Extract:</strong> The OBD-2 adapter collects key metrics such as engine speed, fuel injector flow rate, coolant temperature, and fuel pressure. These metrics are captured by the custom Android app, which then sends them to the API service hosted at home.</p><p><strong>Transform:</strong> The raw data from the OBD-2 adapter is not always clean or structured. The transformation phase involves:</p><ul><li><strong>Data Cleaning:</strong> Removing duplicates, handling missing values, and filtering outliers to ensure data quality.</li><li><strong>Feature Engineering:</strong> Creating new features like “RPM Variation” or “Fuel Pressure Deviation” to enhance the analysis.</li><li><strong>Data Normalization:</strong> Standardizing the data so that all features contribute equally to machine learning models.</li></ul><p><strong>Load:</strong> The cleaned and transformed data is then ingested into Elasticsearch, where it is stored in an index. This index serves as the central repository for querying and performing real-time analysis on the car’s health data.</p><p>This ETL process ensures that the data is ready for machine learning analysis, making it possible to monitor and detect anomalies in the vehicle&#39;s performance in real time.</p><h3>Real-Time Data Visualizations in Kibana</h3><p>Once the data is ingested into Elasticsearch, it can be visualized in <strong>Kibana</strong>. Creating real-time dashboards provides valuable insights into vehicle metrics as they happen, helping to monitor and diagnose potential issues. The following visualizations allow for a deeper understanding of your vehicle’s performance and any detected anomalies:</p><ul><li><strong>Line Charts</strong> can track metrics such as engine speed (RPM) and anomaly scores over time, helping to identify trends and irregularities.</li><li><strong>Bar Graphs</strong> can show the number of anomalies detected per day, providing a clear view of how frequently issues occur.</li><li><strong>Pie Charts</strong> can break down the distribution of anomaly types, offering a snapshot of the proportion between normal and anomalous data points.</li><li><strong>Heatmaps</strong> allow you to visualize correlations between variables, like air intake temperature and anomaly scores, helping to highlight problem areas in the vehicle’s operational metrics.</li></ul><h4>Visualizations</h4><p>A typical line chart in Kibana can display <strong>engine speed</strong> and <strong>anomaly score</strong> side by side. Sudden spikes in anomaly scores may correlate with irregular engine behavior, such as unexpected RPM fluctuations. This helps in quickly diagnosing performance-related issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y79dbAb_O33VqL7RIt6fxQ.jpeg" /><figcaption>Alfa MiTo Car Health Dashboard in Kibana (pt.1)</figcaption></figure><p><strong>Some Visualizations Developed</strong>:</p><ul><li><strong>Anomaly Score vs. Engine Speed (RPM)</strong> over time, to detect irregularities in engine performance.</li><li><strong>Anomaly Detection Breakdown</strong> via a pie chart to visualize the proportion of normal vs. anomalous data.</li><li><strong>Heatmap: Intake Air Temperature vs. Anomaly Score</strong>, to identify when temperature changes correlate with abnormal vehicle behavior.</li><li><strong>Bar Chart: Number of Anomalies Detected Per Day</strong>, helping track how frequently anomalies occur.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U9bcYZbhIwy1IRQza40nZg.jpeg" /><figcaption>Alfa MiTo Car Health Dashboard in Kibana (pt.2)</figcaption></figure><p>These visualizations allow for a more intuitive and organized view of the car’s operational health, giving you the tools to diagnose issues based on real-time data.</p><p><strong>Python Snippet 1: Implementing the ETL Pipeline</strong></p><pre>import pandas as pd<br>from sklearn.preprocessing import StandardScaler<br>from elasticsearch import Elasticsearch<br>import requests<br>import json<br><br># Elasticsearch connection<br>es = Elasticsearch([{&#39;host&#39;: &#39;localhost&#39;, &#39;port&#39;: 9200}])<br><br># Mock Flask API Endpoint for receiving CSV files from Android app<br>from flask import Flask, request<br><br>app = Flask(__name__)<br><br>@app.route(&#39;/upload_obd2_data&#39;, methods=[&#39;POST&#39;])<br>def upload_obd2_data():<br>    # This is where the CSV file sent from the Android app is processed<br>    file = request.files[&#39;file&#39;]<br>    data = pd.read_csv(file)<br>    # Process and transform the data<br>    transformed_data = clean_transform(data)<br>    # Ingest transformed data to Elasticsearch<br>    ingest_to_elasticsearch(&#39;car_health&#39;, transformed_data)<br>    return &quot;Data ingested successfully&quot;, 200<br><br># Function to clean and transform the data<br>def clean_transform(data):<br>    # Drop rows with missing values<br>    data = data.dropna()<br><br>    # Remove duplicates<br>    data = data.drop_duplicates()<br><br>    # Feature engineering: Calculate RPM Variation<br>    data[&#39;RPM_Variation&#39;] = data[&#39;engine_speed&#39;].diff().fillna(0)<br><br>    # Standardize the features<br>    scaler = StandardScaler()<br>    scaled_data = scaler.fit_transform(data[[&#39;engine_speed&#39;, &#39;fuel_injector_flow_rate&#39;, &#39;coolant_temperature&#39;, &#39;fuel_pressure&#39;, &#39;RPM_Variation&#39;]])<br><br>    # Create a DataFrame with standardized values<br>    scaled_df = pd.DataFrame(scaled_data, columns=[&#39;engine_speed&#39;, &#39;fuel_injector_flow_rate&#39;, &#39;coolant_temperature&#39;, &#39;fuel_pressure&#39;, &#39;RPM_Variation&#39;])<br><br>    return scaled_df<br><br># Function to ingest data into Elasticsearch<br>def ingest_to_elasticsearch(index, data):<br>    # Convert DataFrame to JSON format<br>    records = data.to_dict(orient=&#39;records&#39;)<br>    for record in records:<br>        es.index(index=index, doc_type=&#39;_doc&#39;, body=record)<br><br># Load and transform sample data for testing<br>if __name__ == &quot;__main__&quot;:<br>    raw_data = pd.read_csv(&#39;data/mito-sample-dataset.csv&#39;)<br>    transformed_data = clean_transform(raw_data)<br>    ingest_to_elasticsearch(&#39;car_health&#39;, transformed_data)<br>    app.run(host=&#39;0.0.0.0&#39;, port=5000)</pre><p><strong>Explanation:</strong> This code snippet present the pseudo algorithm of the above procedure including an example of a mock <strong>Flask</strong> API endpoint to simulate a scenario where an Android phone sends OBD-2 data (in CSV format) to a server. The Flask app receives the CSV file, processes it using the clean_transform function, and then ingests it into Elasticsearch for real-time analysis. The ETL pipeline here ensures that raw data is cleaned, transformed, and prepared for visualization in Kibana.</p><h3>Step 2: Real-Time Machine Learning Analysis</h3><p>With data streaming into Elasticsearch, the next step involves applying machine learning techniques for real-time anomaly detection. The <strong>Isolation Forest</strong> algorithm is employed to identify outliers within multidimensional data, which can help spot potential issues before they become serious.</p><ol><li><strong>Anomaly Detection Using Isolation Forest:</strong> The Isolation Forest model is trained on historical data representing the vehicle’s normal behavior. It flags deviations (outliers) from this pattern, which are labeled as anomalies.</li><li><strong>Model Training and Deployment:</strong> Once the model is trained, it continuously processes incoming data and predicts anomalies in real-time. The predictions (anomaly labels and scores) are then added to the dataset, making it available for visualization and further analysis in Kibana.</li></ol><p>This pipeline not only ingests real-time data from the OBD-2 adapter but also applies machine learning algorithms to detect abnormal patterns in the vehicle’s performance. With Kibana’s visualization tools, this allows for comprehensive monitoring and proactive maintenance alerts.</p><h3>A Comparative Look at Machine Learning Algorithms for Anomaly Detection</h3><p>In this system, I chose the <strong>Isolation Forest</strong> algorithm, but it is essential to understand why, compared to other methods, it stands out for real-time vehicle monitoring. Below is a comparison of some of the popular anomaly detection algorithms:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*87Cfd5CH9jnyS_H1XYuRzg.jpeg" /></figure><p><strong>Why Isolation Forest?</strong></p><ul><li><strong>Efficiency</strong>: It scales well for large datasets, which is crucial as more data is collected with each drive.</li><li><strong>Interpretability</strong>: It is straightforward to tune, making it easier to adapt to changing vehicle conditions.</li></ul><h4>Python Snippet 2: Real-Time Anomaly Detection</h4><pre>from sklearn.ensemble import IsolationForest<br>from elasticsearch import Elasticsearch<br>import pandas as pd<br><br># Elasticsearch connection<br>es = Elasticsearch([{&#39;host&#39;: &#39;localhost&#39;, &#39;port&#39;: 9200}])<br><br># Load normal data for training<br>normal_data = pd.read_csv(&#39;data/mito-normal-dataset.csv&#39;)<br>scaler = StandardScaler()<br>scaled_normal_data = scaler.fit_transform(normal_data)<br><br># Train the Isolation Forest model<br>iso_forest = IsolationForest(n_estimators=100, contamination=&#39;auto&#39;, random_state=42)<br>iso_forest.fit(scaled_normal_data)<br><br># Function to detect anomalies in real-time data<br>def detect_anomaly(data):<br>    # Preprocess the incoming data<br>    scaled_data = scaler.transform([data])<br><br>    # Predict anomalies<br>    anomaly_score = iso_forest.decision_function(scaled_data)[0]<br>    is_anomaly = iso_forest.predict(scaled_data)[0]<br><br>    return anomaly_score, is_anomaly<br><br># Sample real-time data point<br>real_time_data = [2400, 5.5, 88, 42, 15]  # [engine_speed, fuel_injector_flow_rate, coolant_temperature, fuel_pressure, RPM_Variation]<br><br># Detect anomalies<br>score, anomaly = detect_anomaly(real_time_data)<br>print(f&quot;Anomaly Score: {score}, Is Anomaly: {anomaly}&quot;)</pre><p><strong>Explanation:</strong> This snippet illustrates how real-time data is processed to detect anomalies using the trained Isolation Forest model. The inclusion of the RPM_Variation feature enhances the model’s ability to identify subtle patterns that may indicate underlying issues</p><h3>Conclusion</h3><p>Building this real-time car health monitoring system was not just a technical exercise — it was about merging my passion for cars with the power of data analytics. By using an OBD-2 adapter and machine learning, I now have a way to keep an eye on my Alfa Romeo MiTo’s performance in real time, catching potential issues before they become serious problems.</p><p>The system’s backbone is the combination of data engineering and machine learning, allowing for seamless data ingestion from my car, real-time anomaly detection, and clear visualizations in Kibana. The <strong>Isolation Forest</strong> algorithm does the heavy lifting by flagging unusual patterns, while the visual dashboards make it easy to see exactly when and where something’s going wrong.</p><p>What started as a passion project has shown me how accessible and powerful real-time data monitoring can be, even for something as personal as my own car. This system helps me stay ahead of any potential issues, ensuring smoother rides and reducing the likelihood of unexpected repairs.</p><p>It’s an exciting example of how data and technology can improve everyday life — whether you’re a car enthusiast like me or managing a fleet of vehicles. Real-time insights combined with machine learning give you the tools to be proactive, take control, and make better decisions when it comes to maintenance and performance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0ae4724729b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Harnessing Data and AI to Diagnose Car Faults: A Data Analyst’s Journey with an Alfa Romeo MiTo]]></title>
            <link>https://medium.com/@balampanis.ilias/harnessing-data-and-ai-to-diagnose-car-faults-a-data-analysts-journey-with-an-alfa-romeo-mito-ab92de134ad8?source=rss-b01cf3acb0f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab92de134ad8</guid>
            <category><![CDATA[car-telematics]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Ilias Balampanis]]></dc:creator>
            <pubDate>Tue, 26 Dec 2023 12:52:04 GMT</pubDate>
            <atom:updated>2023-12-27T08:32:48.539Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dHdAChal1T4W5bQaxf804g.png" /><figcaption>A futuristic Alfa Romeo MiTo image related to this article. Created by DALL-E.</figcaption></figure><h3>Introduction</h3><p>As a Data Analyst and a car enthusiast, I embarked on a unique journey, blending my professional skills with my passion for automobiles. This story is about how I used data logging and machine learning to identify a potential fault in my 2014 Alfa Romeo MiTo 1.3 JTDm.</p><h3>OBD-2 Adapter: The key factor of our mission</h3><p>The On-Board Diagnostics (OBD-II) adapter is not just a tool but a gateway to understanding the intricate details of my car’s functioning. It provides real-time access to a car’s status and performance data, including engine performance to intricate fuel injection details. The adapter that I used is described <a href="https://www.amazon.com/Thinkdiag-Bluetooth-Bidirectional-Diagnostic-Functions/dp/B08YWTJY4F?th=1">here</a>.</p><h3>The Data-Driven Approach</h3><p>The process began with equipping my Alfa Romeo with the OBD-2 adapter, transforming every journey into a data collection mission. This setup allowed me to monitor various aspects of the car’s performance in real-time.</p><h3>Navigating Through the Sea of Data</h3><p>The challenge was to analyze the extensive data and pinpoint any anomalies indicative of potential issues. This led me to employ the Isolation Forest algorithm, an effective tool in the realm of anomaly detection.</p><h3>Data Collection and Preparation</h3><p>Python Snippet 0: Importing the Python packages</p><pre>import pandas as pd<br>from sklearn.ensemble import IsolationForest<br>from sklearn.preprocessing import StandardScaler<br>from joblib import dump, load<br>import matplotlib.pyplot as plt</pre><p><em>Explanation:</em></p><ul><li>pandas: This is a powerful data manipulation library in Python. It provides data structures and functions needed to manipulate structured data.</li><li>sklearn.ensemble.IsolationForest: This is a machine learning algorithm from the Scikit-learn library. The Isolation Forest algorithm is used for anomaly detection.</li><li>sklearn.preprocessing.StandardScaler: This is a utility from the Scikit-learn library that standardizes features by removing the mean and scaling to unit variance.</li><li>joblib: This is a set of tools to provide lightweight pipelining in Python. Here, dump and load will be used to save the trained model to disk and load it back when needed.</li></ul><p>Python Snippet 1: Loading the Data</p><pre>normal_df = pd.read_csv(&#39;data/mito-normal-dataset.csv&#39;)</pre><p><em>Explanation:</em> This step involved collecting for weeks and loading the data, representing the normal operational state of my MiTo.</p><h3>Standardizing for Consistency</h3><p>Python Snippet 2: Data Standardization</p><pre>scaler = StandardScaler()<br>scaled_normal_df = scaler.fit_transform(normal_df)</pre><p><em>Explanation:</em> Standardization ensures that each parameter contributes equally to the analysis.</p><h3>The Learning Phase</h3><p>Python Snippet 3: Model Training</p><pre>iso_forest = IsolationForest(n_estimators=100, contamination=&#39;auto&#39;, random_state=42)<br>iso_forest.fit(scaled_normal_df)</pre><p><em>Explanation:</em> The model learns what normal looks like for my car’s operations.</p><h3>Identifying the Anomalies</h3><p>Python Snippet 4: Loading the faulty data, a daily habit!</p><pre>faulty_df = pd.read_csv(&#39;data/mito-faulty-dataset.csv&#39;)<br>faulty_df.head()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*JRwLYE5_qFEmt_uv4L8qmg.png" /></figure><p><em>Explanation:</em> The features that I selected to show is the engine speed (rpm), the fuel injectors flow rate (ml/min), pulse width (milliseconds), timing (degrees), and the fuel pressure (bar).</p><p>Python Snippet 5: Anomaly Detection</p><pre># Convert the &#39;Datetime&#39; column to datetime<br>faulty_df[&#39;Datetime&#39;] = pd.to_datetime(faulty_df[&#39;Datetime&#39;])<br><br># Store the &#39;Datetime&#39; column in a separate variable before dropping it<br>datetime_col = faulty_df[&#39;Datetime&#39;]<br>faulty_df = faulty_df.drop(columns=[&#39;Datetime&#39;])<br><br>scaled_faulty_df = scaler.fit_transform(faulty_df)<br><br># Apply the model to the new data to predict anomalies<br>anomaly_scores = iso_forest.decision_function(scaled_faulty_df)<br>anomaly_labels = iso_forest.predict(scaled_faulty_df)<br><br># Add a column to the faulty data to show anomalies<br>faulty_df[&#39;Anomaly_Score&#39;] = anomaly_scores<br>faulty_df[&#39;Anomaly_Score_IFR_Norm&#39;] = faulty_df[&#39;Anomaly_Score&#39;] * 1000<br>faulty_df[&#39;Anomaly_Score_IPW_Norm&#39;] = faulty_df[&#39;Anomaly_Score&#39;] * 10<br>faulty_df[&#39;Anomaly_Score_IT_Norm&#39;] = faulty_df[&#39;Anomaly_Score&#39;] * 100<br>faulty_df[&#39;Anomaly_Label&#39;] = anomaly_labels<br><br># Add the &#39;Datetime&#39; column back to the dataframe<br>faulty_df[&#39;Datetime&#39;] = datetime_col</pre><p><em>Explanation:</em> Applying the model to new data helped flag potential issues.</p><h3>Visual Insights</h3><p>Python Snippet 6: Result Visualization</p><pre>fig, axs = plt.subplots(2, 1, figsize=(10,18))<br><br># Plot for Anomaly Score and Injector Flow Rate<br>axs[0].plot(faulty_df[&#39;Datetime&#39;], faulty_df[&#39;Anomaly_Score_IFR_Norm&#39;], label=&#39;Anomaly Score (normalized)&#39;)<br>axs[0].plot(faulty_df[&#39;Datetime&#39;], faulty_df[&#39;Injector_Flow_Rate&#39;], label=&#39;Injector Flow Rate&#39;, linestyle=&#39;--&#39;)<br>axs[0].set_xlabel(&#39;Datetime&#39;)<br>axs[0].set_ylabel(&#39;Values&#39;)<br>axs[0].set_title(&#39;Anomaly Score and Injector Flow Rate over Datetime&#39;)<br>axs[0].legend()<br><br># Plot for Injector Pulse Width<br>axs[1].plot(faulty_df[&#39;Datetime&#39;], faulty_df[&#39;Anomaly_Score_IPW_Norm&#39;], label=&#39;Anomaly Score (normalized)&#39;)<br>axs[1].plot(faulty_df[&#39;Datetime&#39;], faulty_df[&#39;Injector_Pulse_Width&#39;], label=&#39;Injector Pulse Width&#39;, linestyle=&#39;--&#39;)<br>axs[1].set_xlabel(&#39;Datetime&#39;)<br>axs[1].set_ylabel(&#39;Values&#39;)<br>axs[1].set_title(&#39;Anomaly Score and Injector Pulse Width over Datetime&#39;)<br>axs[1].legend()<br><br>plt.tight_layout()<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*ejlZtQuG1uEypstPl7RQ9Q.png" /></figure><h3>Understanding the Graphs</h3><p>Top Graph: Anomaly Score and Injector Flow Rate</p><ul><li>Anomaly Score: This is shown in blue. An anomaly score is a number that tells you how much a data point is different from a pattern. A lower score means something is more unusual. The score has been normalized to achieve better visibility.</li><li>Injector Flow Rate: This is shown in orange with dashed lines. It tells you how fast fuel is being pushed into the engine.</li></ul><p>Bottom Graph: Anomaly Score and Injector Pulse Width</p><ul><li>Injector Pulse Width: This is shown in orange with dashed lines. It measures how long the fuel injector stays open to let fuel into the engine.</li></ul><h3>Analysis of the Data</h3><ul><li>Starting Cold: When a car starts cold, the engine needs more fuel to run smoothly. This is because cold fuel doesn’t vaporize as well, which can make it harder for the engine to work properly.</li></ul><p>Early Anomalies Indicated:</p><ul><li>In the beginning, both graphs show high anomaly scores. This suggests that the car’s fuel injection system isn’t behaving as expected.</li><li>The Injector Flow Rate and Pulse Width may be higher than normal as the car’s systems try to adjust to the cold start.</li></ul><h3>Implications</h3><p>Potential Issues: The high anomaly scores could mean there are issues such as:</p><ul><li>Clogged fuel injectors that can’t provide the right amount of fuel.</li><li>Sensors that aren’t reading temperatures correctly and cause the car to adjust fuel improperly.</li><li>Problems with the fuel itself, like if it’s too thick because of the cold.</li></ul><h3>Results: Fuel Injector Analysis</h3><p>The comprehensive examination of the vehicle’s telemetry data, particularly focusing on the fuel injection system, has revealed critical insights pertinent to the functionality of the fuel injectors. The analysis conducted is corroborated by the official car mechanic report.</p><p>The official car mechanic report has determined that the fuel injectors are exhibiting signs of significant clogging. This assessment is based on the physical inspection of the injection system.</p><h3>Conclusion: Merging Passion with Predictive Technology</h3><p>This project transcended the boundaries of a mere technical exercise; it was a harmonious blend of my enthusiasm for automobiles and my expertise in data analysis. By integrating data science into the everyday operation of my Alfa Romeo MiTo, I not only indulged in my love for cars but also took a proactive approach to vehicle maintenance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab92de134ad8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>