Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| report:dvp [2026/06/09 12:42] – [7.5 Prototype] team5 | report:dvp [2026/06/14 15:45] (current) – team5 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ==== 7.1 Introduction ==== | ==== 7.1 Introduction ==== | ||
| - | This chapter details the technical and conceptual evolution of the Connect | + | This chapter details the technical and conceptual evolution of the CONNECT and share project, from its initial ideation to the final tested prototype. It outlines the design choices, system architecture, |
| It covers: | It covers: | ||
| - | - Ideation & Concept: The transition from identifying the core problem of digital passivity to defining the metaphors and the two-phase interactive solution (real-time ambient light tracking and delayed asynchronous | + | - Ideation & Concept: The transition from identifying the core problem of digital passivity to defining the metaphors and the two-phase interactive solution (real-time ambient light tracking and delayed asynchronous messaging). |
| - Design: The visual and experiential design principles, focusing on invisible technology, dynamic color-blending algorithms, and the minimalist user interface of the web platform. | - Design: The visual and experiential design principles, focusing on invisible technology, dynamic color-blending algorithms, and the minimalist user interface of the web platform. | ||
| Line 86: | Line 86: | ||
| - |
The web interface, accessible via QR code, is designed in a minimalist style. After scanning the QR code, users are redirected to the web application' | + |
The web interface, accessible via QR code, is designed in a minimalist style. After scanning the QR code, users are redirected to the web application' |
| == 7.4.1 Structure == | == 7.4.1 Structure == | ||
| Line 117: | Line 117: | ||
| <WRAP centeralign> | <WRAP centeralign> | ||
| <figure fig: | <figure fig: | ||
| - | {{ :report:3dmodel_metrocarriage.jpeg?direct&800 | Final drawing}} | + | {{ :report:whatsapp_image_2026-06-03_at_14.48.56_2_.jpeg?nolink&800 |}} |
| - | < | + | < |
| </ | </ | ||
| </ | </ | ||
| Line 237: | Line 237: | ||
| | ESP32-C3 central node | 1 | 5.0 V| 5 | 0.150 | 0.150 | 0.750 | | | ESP32-C3 central node | 1 | 5.0 V| 5 | 0.150 | 0.150 | 0.750 | | ||
| | CAN transceiver MCP2551 | 10 | 5.0 V| 5 | 0.010 | 0.100 | 0.500 | | | CAN transceiver MCP2551 | 10 | 5.0 V| 5 | 0.010 | 0.100 | 0.500 | | ||
| - | | LED strips | + | | LED strips |
| | Velostat pressure sensors | 15 | 3.3 V | 3.3 | 0.001 | 0.015 | 0.050 | | | Velostat pressure sensors | 15 | 3.3 V | 3.3 | 0.001 | 0.015 | 0.050 | | ||
| | **Total** | | | | | | **93.700** | | | **Total** | | | | | | **93.700** | | ||
| Line 251: | Line 251: | ||
| | ESP32-C3 central node | 1 | 5.0 V | 5 | 0.300 | 0.300 | 1.500 | | | ESP32-C3 central node | 1 | 5.0 V | 5 | 0.300 | 0.300 | 1.500 | | ||
| | CAN transceiver MCP2551 | 10 | 5.0 V | 5 | 0.010 | 0.100 | 0.500 | | | CAN transceiver MCP2551 | 10 | 5.0 V | 5 | 0.010 | 0.100 | 0.500 | | ||
| - | | LED strips | + | | LED strips |
| | Velostat pressure sensors | 15 | 3.3 V | 3.3 | 0.001 | 0.015 | 0.050 | | | Velostat pressure sensors | 15 | 3.3 V | 3.3 | 0.001 | 0.015 | 0.050 | | ||
| | **Total** | | | | | | **276.250** | | | **Total** | | | | | | **276.250** | | ||
| Line 293: | Line 293: | ||
| </ | </ | ||
| - | As shown in Figure {{ref> | + | As shown in Figure {{ref> |
| <WRAP centeralign> | <WRAP centeralign> | ||
| Line 316: | Line 316: | ||
| **Software** | **Software** | ||
| - | The software architecture of the Connect | + | The software architecture of the CONNECT |
| I. Use Cases and User Stories | I. Use Cases and User Stories | ||
| Line 322: | Line 322: | ||
| Real-time Ambient Interaction operates through the smart device installed in the carriage. When passengers grip the handrail, sensors detect resistance changes via Velostat and the ESP32 triggers a corresponding color trail on the ceiling LED matrix. When data streams from multiple users intersect, the software executes color-blending algorithms to merge the inputs into a shared visual response. | Real-time Ambient Interaction operates through the smart device installed in the carriage. When passengers grip the handrail, sensors detect resistance changes via Velostat and the ESP32 triggers a corresponding color trail on the ceiling LED matrix. When data streams from multiple users intersect, the software executes color-blending algorithms to merge the inputs into a shared visual response. | ||
| - | Asynchronous Connection is mediated through a web application. Passengers scan a QR code to access a web interface, where the application fetches | + | Asynchronous Connection is mediated through a web application. Passengers scan a QR code to access a web interface, where the application fetches |
| II. Selection of Development Platforms | II. Selection of Development Platforms | ||
| Line 341: | Line 341: | ||
| III. Component Diagram | III. Component Diagram | ||
| - | Figure {{ref> | + | Figure {{ref> |
| <WRAP centeralign> | <WRAP centeralign> | ||
| Line 437: | Line 437: | ||
| ==== 7.5 Prototype ==== | ==== 7.5 Prototype ==== | ||
| - | The prototype constitutes a deliberate functional reduction of the full designed solution. Rather than replicating the complete metro-carriage installation, | + | The prototype constitutes a deliberate functional reduction of the full designed solution. Rather than replicating the complete metro-carriage installation, |
| == 7.5.1 Structure == | == 7.5.1 Structure == | ||
| - | The designed solution specifies eleven ESP32-C3 nodes distributed across | + | The complex industrial dual power rail (12 V and 5 V lines) anchored by six decentralized step-down switching converters is replaced by a single, centralized 5 V / 20 W switching power supply module. This single rail directly supplies |
| - | The PA Rail enclosures are replaced entirely. Sourcing a fire-rated enclosure from a non-Portuguese supplier (Nanovia, FR) was impractical within | + | The table below summarizes |
| - | The sensor array is scaled proportionally. The designed solution uses fifteen Velostat sheets and fifteen copper tape rolls, one per handrail grip position. The prototype uses two Velostat sheets and a single copper tape roll, covering both nodes. The LED strip is reduced from three 2-metre addressable strips to one 1-metre WS2813 strip with a diffuser profile, sufficient to demonstrate the full colour-gradient feedback mechanic. | ||
| - | |||
| - | The dual power rail (12 V and 5 V) with six step-down converters is replaced by a single 5 V / 4 A bench supply, eliminating the 12 V distribution chain. This is compatible with the WS2813 strip, which is rated for 5 V operation, and with the ESP32-C3 and MCP2551 supply requirements. | ||
| - | |||
| - | The table below summarises the structural differences: | ||
| < | < | ||
| < | < | ||
| <WRAP center box round 600px> | <WRAP center box round 600px> | ||
| - | ^ Parameter | + | ^ Parameter |
| - | | Nodes | + | | Core Microcontroller |
| - | | Handrail | + | | Handrail Node Network |
| - | | Enclosure | + | | Handrail |
| - | | Velostat sensors | + | | Enclosure |
| - | | LED strip length | + | | Active Pressure Inputs |
| - | | Power architecture | + | | LED Strip Infrastructure| 3 × 2 m Addressable Strips |
| - | | CAN transceivers | + | | Power Architecture |
| - | | Total cost | 767.01 € | 97.92 € | | + | | CAN Network Interface |
| + | | Total Segment Cost | 767.01 € | ||
| </ | </ | ||
| </ | </ | ||
| - | The following images show the design for the planned physical prototype. | ||
| + | To conduct the laboratory evaluations safely and systematically without deploying a multi-metre carriage frame, a modular testbench architecture was modeled and assembled. The structural framework is anchored by a rigid, non-conductive MDF Base Plate, serving as the mechanical foundation for the subsystem groups. Two independent PLA handles mimic the geometric diameter of the physical metro handrails, each fitted with its respective custom-built Velostat sensing sheet to enable real-time dual-input interaction testing. | ||
| + | |||
| + | Centrally, two open-top 3D-Printed PLA Component Storage Boxes isolate the prototyping breadboards, | ||
| + | |||
| + | The overall layout of this physical bench setup is illustrated in Figure {{ref> | ||
| + | |||
| + | <WRAP centeralign> | ||
| + | <figure fig: | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| == 7.5.2 Hardware == | == 7.5.2 Hardware == | ||
| Line 481: | Line 488: | ||
| <figure fig: | <figure fig: | ||
| {{ : | {{ : | ||
| - | < | + | < |
| </ | </ | ||
| </ | </ | ||
| The assembly process followed these practical steps: | The assembly process followed these practical steps: | ||
| + | |||
| * **Electrical Isolation: | * **Electrical Isolation: | ||
| + | |||
| * **Electrode Matrix:** Multiple thin, long strips of conductive adhesive copper tape were applied to uniformly cover the handrail interaction area. | * **Electrode Matrix:** Multiple thin, long strips of conductive adhesive copper tape were applied to uniformly cover the handrail interaction area. | ||
| + | |||
| * **Lateral Insulation Gap:** To stop the electrodes from touching the Velostat when the handrail is idle, thin strips of double-sided adhesive tape were placed strictly along the lateral edges. This created a small physical air-gap. When a passenger squeezes the handrail, the air-gap collapses, making the copper establish contact with the Velostat. This mechanical cushion stabilized the idle baseline. | * **Lateral Insulation Gap:** To stop the electrodes from touching the Velostat when the handrail is idle, thin strips of double-sided adhesive tape were placed strictly along the lateral edges. This created a small physical air-gap. When a passenger squeezes the handrail, the air-gap collapses, making the copper establish contact with the Velostat. This mechanical cushion stabilized the idle baseline. | ||
| + | |||
| * **Vertical Orientation: | * **Vertical Orientation: | ||
| + | |||
| * **Parallel Bus Connection: | * **Parallel Bus Connection: | ||
| + | |||
| * **Thermal Protection: | * **Thermal Protection: | ||
| Line 524: | Line 537: | ||
| == 7.6.1 Hardware tests == | == 7.6.1 Hardware tests == | ||
| - | The physical validation of the Connect | + | The physical validation of the CONNECT and share prototype was executed in a controlled laboratory environment using the benchtop assembly. Each requirement specified during the initial design stage was systematically evaluated. Table {{ref> |
| <table tab_test_results> | <table tab_test_results> | ||
| Line 556: | Line 569: | ||
| </ | </ | ||
| - | === Analysis and Discussion of Physical Hardware Tests === | + | == Analysis and Discussion of Physical Hardware Tests == |
| **Sensor Subsystem and Calibration (FT-01, FT-04)**\\ | **Sensor Subsystem and Calibration (FT-01, FT-04)**\\ | ||
| Line 567: | Line 580: | ||
| The visual response test resulted in a technical **Fail** due to predictable high-frequency signal artifacts. The prototype utilized a **Seeed 1-meter addressable WS2813 IP65 strip (18W, 5VDC)** connected via its integrated Grove interface. While the strip displayed the programmed color-blending animations accurately under active states, noticeable flickering was captured when the LEDs were idle. Specifically, | The visual response test resulted in a technical **Fail** due to predictable high-frequency signal artifacts. The prototype utilized a **Seeed 1-meter addressable WS2813 IP65 strip (18W, 5VDC)** connected via its integrated Grove interface. While the strip displayed the programmed color-blending animations accurately under active states, noticeable flickering was captured when the LEDs were idle. Specifically, | ||
| - | A thorough electrical diagnosis isolated this issue to a **logic-level mismatch**: the standard ESP32 transmits digital data streams using a $3.3\text{ V}$ CMOS logic level, whereas the WS2813 protocol dictates a high-level input threshold ($V_{IH}$) of at least $0.7 \times V_{DD}$. Powered at $5.0\text{ V}$, the Seeed strip requires a minimum data signal amplitude of $3.5\text{ V}$. Operating at the absolute edge of the noise margin, the $3.3\text{ V}$ data pulses caused the internal shift registers of the first pixels to misinterpret high/low states, causing erratic behaviors. This limitation provides a crucial baseline for future hardware revisions. | + | A thorough electrical diagnosis isolated this issue to a **logic-level mismatch**: the standard ESP32 transmits digital data streams using a $3.3\text{ V}$ CMOS logic level, whereas the WS2813 protocol dictates a high-level input threshold ($V_{IH}$) of at least $0.7 \times V_{DD}$ |
| **Power and Electrical Distribution (FT-05, PT-04)**\\ | **Power and Electrical Distribution (FT-05, PT-04)**\\ | ||
| Line 641: | Line 654: | ||
| **Unit testing**\\ | **Unit testing**\\ | ||
| - | The API route handler for / | + | The API route handler for / |
| <WRAP centeralign> | <WRAP centeralign> | ||
| <figure fig: | <figure fig: | ||
| - | {{ : | + | {{ : |
| < | < | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| ==== 7.7 Summary ==== | ==== 7.7 Summary ==== | ||
| - | This chapter | + | This chapter |
| - | + | ||
| - | The phase began with Ideation and Design, where the core problem of digital passivity was translated into a two-phase interactive solution: real-time ambient light tracking and asynchronous voice messaging. This conceptual foundation was supported by a Smart System architecture, | + | |
| - | To move from theory to reality, the Structure stage utilized detailed 3D modeling | + | The process began with Ideation and Design, where passenger passivity was addressed through a two-phase solution: real-time ambient light tracking via handrail grips and asynchronous text messaging via a web application. This concept was supported by a Smart System architecture that integrated custom air-gap Velostat sensors, differential CAN bus communication, |
| - | Having detailed | + | To validate |