report:dvp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
report:dvp [2026/05/18 15:32] – [7.4 Design] team5report:dvp [2026/05/28 10:05] (current) – [7.4 Design] team5
Line 87: Line 87:
  
 
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's landing page. The CONNECT logo takes center stage here, accompanied by two clickable buttons that lead to the subsequent sections. Within the app, users can choose between composing a message for others or viewing messages written by the community. Our primary focus was to keep the application as simple as possible; we wanted to ensure that both young and old users can navigate it effortlessly. By eliminating the need for logins or complex navigation, we’ve made the experience accessible and time-efficient for everyone. 
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's landing page. The CONNECT logo takes center stage here, accompanied by two clickable buttons that lead to the subsequent sections. Within the app, users can choose between composing a message for others or viewing messages written by the community. Our primary focus was to keep the application as simple as possible; we wanted to ensure that both young and old users can navigate it effortlessly. By eliminating the need for logins or complex navigation, we’ve made the experience accessible and time-efficient for everyone.
 +
 == 7.4.1 Structure == == 7.4.1 Structure ==
 +
 Figures {{ref>fig:initial_drawing}}, {{ref>fig:final_drawings}}, and {{ref>fig:final_final_drawings}} present the evolution of the structural design across successive iterations. Each version reflects an increase in geometric precision, component integration, and manufacturability, progressing from early conceptual layouts to a fully defined enclosure suitable for system integration. Figures {{ref>fig:initial_drawing}}, {{ref>fig:final_drawings}}, and {{ref>fig:final_final_drawings}} present the evolution of the structural design across successive iterations. Each version reflects an increase in geometric precision, component integration, and manufacturability, progressing from early conceptual layouts to a fully defined enclosure suitable for system integration.
  
Line 112: Line 114:
  
 The transition from preliminary sketches to detailed structural drawings (see Figure {{ref>fig:final_final_drawings}}) marked a key milestone in the project. At this stage, the spatial constraints of all subsystems were clearly defined, including the placement of electronic components, routing of wiring, and mounting strategy. This enabled the development of a specialized Bill of Materials (BoM), as presented in Table {{ref>components_ideal}}, where component selection was directly informed by mechanical, environmental, and regulatory requirements. The transition from preliminary sketches to detailed structural drawings (see Figure {{ref>fig:final_final_drawings}}) marked a key milestone in the project. At this stage, the spatial constraints of all subsystems were clearly defined, including the placement of electronic components, routing of wiring, and mounting strategy. This enabled the development of a specialized Bill of Materials (BoM), as presented in Table {{ref>components_ideal}}, where component selection was directly informed by mechanical, environmental, and regulatory requirements.
 +
 +<WRAP centeralign>
 +<figure fig:3d_model_idealVersion>
 +{{ :report:3dmodel_metrocarriage.jpeg?direct&800 | Final drawing}}
 +<caption>3D spatial visualization of the fully integrated Connect system within the standard Porto Metro carriage architecture</caption>
 +</figure>
 +</WRAP>
 +
 +To complement the mechanical drawings, the contextual 3D model (see Figure {{ref>fig:3d_model_idealVersion}}) illustrates how the physical framework populates the public space. This visualization confirms that the physical hardware respects the clearance boundaries required for passengers in a moving train, validating the scaling from a standalone enclosure to a macro-level vehicle installation.
  
 Three primary constraints shaped the structural design: enclosure material selection and regulatory compliance, integration of communication hardware within a constrained geometry, and accommodation of power distribution components. Three primary constraints shaped the structural design: enclosure material selection and regulatory compliance, integration of communication hardware within a constrained geometry, and accommodation of power distribution components.
Line 153: Line 164:
 </WRAP> </WRAP>
 </table> </table>
-(//iv//) 3D model with load and stress analysis; + 
-(//v//) colour palette.+ **Structural Stress and Robustness Analysis** 
 + 
 +To guarantee the physical integrity of the distributed hardware infrastructure and validate compliance with strict public transit conditions, Finite Element Analysis (FEA) linear static simulations were conducted within SimScale. The analysis targeted the specific configurations of the ideal deployment, evaluating the mechanical behavior of both the ceiling-mounted Main Box and the vertical pole-mounted Secondary Node under operational stress and anti-vandalism scenarios (such as passenger impacts or sudden handrail load shifts). Both enclosures were modeled using the properties of the specialized Nanovia PA Rail (Polyamide) compound specified in Table {{ref>components_ideal}}. 
 + 
 +For the ceiling-mounted Main Box, mechanical fixtures (Fixed Support) were applied directly to the internal cylindrical surfaces of the mounting bolt holes, replicating a rigid steel-fastened connection to the carriage ceiling framework. A distributed static structural load of 100 N was applied perpendicular to the lower face of the enclosure, simulating the mechanical force transmitted through the central support pole when handled by passengers.  
 + 
 +As displayed in the optimized Von Mises stress plots for the Main Box (see Figure {{ref>fig:fea_main_interior}} and Figure {{ref>fig:fea_main_exterior}}), the visualization scale was tightly bounded to a maximum of 2.0 MPa ($2.0 \times 10^6\text{ Pa}$) to map the precise path of stress propagation across the enclosure's geometry. The structural tension smoothly gradients from the safe, low-stress outer walls (blue zones) and securely concentrates around the anchoring junctions and sharp internal mounting features (green to red zones). Even with the absolute peak localized stress reaching 3.99 MPa ($3.993 \times 10^6\text{ Pa}$) at the sharpest geometric interfaces, the entire infrastructure operates significantly below the yield strength threshold of industrial Polyamide (which typically spans between 50 MPa and 70 MPa), yielding an exceptional safety factor greater than 12.0. 
 + 
 +<WRAP centeralign> 
 +<figure fig:fea_main_interior> 
 +{{ :report:main_box_front.png?direct&800 | FEA Main Box Internal Stress Map}} 
 +<caption>Top View of Von Mises stress distribution on the main ceiling-mounted PA Rail housing under a 100 N distributed load</caption> 
 +</figure> 
 +</WRAP> 
 + 
 +<WRAP centeralign> 
 +<figure fig:fea_main_exterior> 
 +{{ :report:main_box_down.png?direct&800 | FEA Main Box External Stress Map}} 
 +<caption>Bottom view of the main housing Von Mises stress distribution around the central pole interface junction</caption> 
 +</figure> 
 +</WRAP> 
 + 
 +Simultaneously, the pole-mounted Secondary Node enclosure was subjected to an identical validation process to evaluate its resistance to direct side impacts and handling stress. Fixed support constraints were allocated to its interior hardware mounting bosses, while a 100 N impact-equivalent load was distributed across its interactive face shell.  
 + 
 +As shown in Figure {{ref>fig:fea_secondary_exterior}} and Figure {{ref>fig:fea_secondary_interior}}, the stress distribution follows a highly stable path. Due to the smoothed filleted edges of the enclosure, stress accumulation is minimized, with minor localized concentrations rising around the rectangular cutouts and transitional fillets, reaching a maximum value of approximately 1.60 MPa ($1.6 \times 10^6\text{ Pa}$). This configuration leaves the internal electronic component mounts completely isolated from external physical strain. Operating with an implied safety factor exceeding 30.0 against the material's elastic limit, the secondary enclosure demonstrates outstanding structural resilience. 
 + 
 +<WRAP centeralign> 
 +<figure fig:fea_secondary_exterior> 
 +{{ :report:pole_box_down.png?direct&800 | FEA Secondary Node Exterior Stress Map}} 
 +<caption>Bottom View with Von Mises stress distribution on the pole-mounted secondary node showing stress paths around geometric features</caption> 
 +</figure> 
 +</WRAP> 
 + 
 +<WRAP centeralign> 
 +<figure fig:fea_secondary_interior> 
 +{{ :report:pole_box_front.png?direct&800 | FEA Secondary Node Interior Stress Map}} 
 +<caption>Top view of the secondary node simulation highlighting the stress isolation achieved inside the electronic casing compartment</caption> 
 +</figure> 
 +</WRAP> 
 + 
 +The combined mathematical results from these FEA studies definitively validate the housing architectures against intense public interaction, deliberate vandalism, and the continuous mechanical vibrations typical of the Porto Metro transport ecosystem, proving that no further geometric optimisations are required before prototyping phases.
  
  
Line 220: Line 271:
 </WRAP> </WRAP>
  
-The node includes an ESP32-C3 Microcontroller (Wemos C3 Mini) and an MCP2551 CAN Transceiver. A 10kΩ potentiometer is included to allow manual calibration of the sensor's sensitivity range. To ensure network versatility, the PCB includes a selectable jumper for the 120 Ω termination resistor. This allows the same PCB design to be used at any position in the bus, enabling termination only on the physical end-nodes of the network to prevent signal reflections. As shown in Figure {{ref>fig:velostatpcb_v23}}, the PCB is designed to be embedded directly into a box that would be attached to the handrail structure for minimal visual impact and high mechanical robustness.+The node includes an ESP32-C3 Microcontroller (Wemos C3 Mini) and an MCP2551 CAN Transceiver. A 10kΩ potentiometer is included to allow manual calibration of the sensor's sensitivity range. To ensure network versatility, the PCB includes a selectable jumper for the 120 Ω termination resistor. This allows the same PCB design to be used at any position in the bus, enabling termination only on the physical end-nodes of the network to prevent signal reflections. As shown in Figure {{ref>fig:velostatpcb_v3}}, the PCB is designed to be embedded directly into a box that would be attached to the handrail structure for minimal visual impact and high mechanical robustness.
  
 <WRAP centeralign> <WRAP centeralign>
Line 338: Line 389:
   * This allows the boxes to click together like Lego bricks, locking firmly in place when stacked.   * This allows the boxes to click together like Lego bricks, locking firmly in place when stacked.
  
-**Tolerance-Based Closure:** To secure the lid without any additional materials, we utilise precise manufacturing tolerances. Because cork is naturally slightly compressible, the 1 cm inner portion of the lid is designed to fit snugly inside the box. The material compresses slightly when pushed closed, holding the lid firmly in place via natural friction. This eliminates the need for tape, glue, or metal fasteners, ensuring the packaging remains 100% monomaterial and truly sustainable.+**Tolerance-Based Closure:** To secure the lid without any additional materials, we utilise precise manufacturing tolerances. Because cork is naturally slightly compressible, the 1 cm inner portion of the lid is designed to fit snugly inside the box. The material compresses slightly when pushed closed, holding the lid firmly in place via natural friction. This eliminates the need for tape, glue, or metal fasteners, ensuring the packaging remains 100 % monomaterial and truly sustainable.
  
 **Structural Reinforcement: The 'Cross-Support' System** To ensure a seamless transition from transport packaging to durable public furniture, the internal structure is specifically reinforced. While cork is naturally robust, the intensive demands of a busy metro environment require additional load-bearing capacity for long-term use. **Structural Reinforcement: The 'Cross-Support' System** To ensure a seamless transition from transport packaging to durable public furniture, the internal structure is specifically reinforced. While cork is naturally robust, the intensive demands of a busy metro environment require additional load-bearing capacity for long-term use.
Line 347: Line 398:
   * **Load Integrity:** This internal bracing ensures the units can easily support the weight of an adult, preventing any deformation or structural fatigue during its second life in the 'Social Hub'.   * **Load Integrity:** This internal bracing ensures the units can easily support the weight of an adult, preventing any deformation or structural fatigue during its second life in the 'Social Hub'.
  
-Figure {{ref>fig:packaging_box}} presents a structural drawings and 3D model of our packaging.+Figure {{ref>fig:packaging_box_structural}} presents a structural drawings of our packaging. 
 + 
 +<WRAP centeralign> 
 +<figure fig:packaging_box_structural> 
 + {{ :report:render_1.png?direct&400 |}} 
 +<caption>Packaging drafts</caption> 
 +</figure> 
 +</WRAP> 
 + 
 +Figure {{ref>fig:packaging_box}} presents a 3D model of our packaging.
  
 <WRAP centeralign> <WRAP centeralign>
 <figure fig:packaging_box> <figure fig:packaging_box>
-{{ :report:packaging_solution_box.jpg?direct&400 |}} {{ :report:render_1.png?direct&400 |}}+{{ :report:packaging_solution_box.jpg?direct&400 |}}
 <caption>Packaging box</caption> <caption>Packaging box</caption>
 </figure> </figure>
Line 404: Line 464:
 </WRAP> </WRAP>
 </table> </table>
-The following images show the physical prototype assembly:+The following images show the design for the planned physical prototype.
  
-PUT PICS OF PROTOTYPE 
  
 == 7.5.2 Hardware == == 7.5.2 Hardware ==
Line 479: Line 538:
 <caption>Request performance overview</caption> <caption>Request performance overview</caption>
 <WRAP center round box 600px> <WRAP center round box 600px>
-^ Request ^ Size (kB) ^ Latency (ms) ^ URL ^ +^ Request ^  Size (kB)   Latency (ms)  ^ URL ^ 
-| Read | 3.65 | 165 | https://metro-voices.vercel.app/read | +| Read |  3.65   165  | https://metro-voices.vercel.app/read | 
-| Send | 3.61 | 367 | https://metro-voices.vercel.app/send |+| Send |  3.61   367  | https://metro-voices.vercel.app/send |
 </WRAP> </WRAP>
 </table> </table>
Line 490: Line 549:
 <caption>Load testing results</caption> <caption>Load testing results</caption>
 <WRAP center round box 600px> <WRAP center round box 600px>
-^ Number of requests ^ Error rate (%) ^ μ ± σ (ms) ^ +^ Number of requests ^ Error rate (%)   μ ± σ (ms) ^ 
-| 1 | 0 | 367 ± 0 | +| 1 | 0 |  367 ± 0 | 
-| 10 | 0 | 81.5 ± 53.62 | +| 10 | 0 |  81.5 ± 53.62 | 
-| 100 | 0 | 124.97 ± 87.26 | +| 100 | 0 |  124.97 ± 87.26 | 
-| 1000 | 0 | 195.77 ± 102.69 |+| 1000 | 0 |  195.77 ± 102.69 |
 </WRAP> </WRAP>
 </table> </table>
Line 504: Line 563:
 <caption>SUS evaluation results (n = 11)</caption> <caption>SUS evaluation results (n = 11)</caption>
 <WRAP center round box 600px> <WRAP center round box 600px>
-^ Metric ^ Value ^ +^ Metric ^  Value ^ 
-| Mean SUS score | 86.59 | +| Mean SUS score |  86.59 | 
-| Standard deviation | 14.93 | +| Standard deviation |  14.93 | 
-| Min / Max | 42.5 / 100.0 | +| Min / Max |  42.5 /  100.0 | 
-| Responses above 68 | 10 / 11 |+| Responses above 68 |  10 /  11 |
 </WRAP> </WRAP>
 </table> </table>
Line 517: Line 576:
 <caption>Per-question response means (1–5 scale)</caption> <caption>Per-question response means (1–5 scale)</caption>
 <WRAP center round box 600px> <WRAP center round box 600px>
-^ Question ^ Item ^ Polarity ^ μ ^ σ ^+^ Question ^ Item ^ Polarity ^  μ   σ  ^
 | Q1 | I think that I would like to use this system frequently | Positive | 4.36 | 0.92 | | Q1 | I think that I would like to use this system frequently | Positive | 4.36 | 0.92 |
 | Q2 | I found the system unnecessarily complex | Negative | 1.45 | 0.52 | | Q2 | I found the system unnecessarily complex | Negative | 1.45 | 0.52 |
Line 530: Line 589:
 </WRAP> </WRAP>
 </table> </table>
 +
 +**Unit testing**\\
 +The API route handler for /api/messages was tested using Jest. The test suite covers both the GET and POST endpoints, with five test cases: returning a random message when data exists, returning null when no messages are stored, returning HTTP 500 on a Supabase error, returning the AI filter response on a successful POST, and returning HTTP 500 when the fetch call throws an error. All five tests passed in 0.277 seconds, as shown in Figure 33, which confirms that the route logic handles both normal use and error conditions as expected.
 +
 +
 +<WRAP centeralign>
 +<figure fig:jest-test>
 +{{ :report:jest-test.png?800 | Figure 33: test results in terminal}}
 +<caption>Test results in terminal</caption>
 +</figure>
 +</WRAP>
 ==== 7.7 Summary ==== ==== 7.7 Summary ====
  
  • report/dvp.1779114768.txt.gz
  • Last modified: 2026/05/18 15:32
  • by team5