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/04/12 21:30] – [Smart System] epsatisep | report:dvp [2026/04/30 17:58] (current) – [7.4.2 Smart System] team5 | ||
|---|---|---|---|
| Line 50: | Line 50: | ||
| - | Phase 1: | + | **Phase 1: ** |
| On the metro, you touch a handrail. The handrail is a tube that contains a sensor and a light. The spot where you touch the pole lights up in a color: | On the metro, you touch a handrail. The handrail is a tube that contains a sensor and a light. The spot where you touch the pole lights up in a color: | ||
| On the ceiling of the metro there are LEDs. Your color appears on the ceiling through these LEDs. If another person touches a different pole, their color also appears on the ceiling, and your colors blend together. | On the ceiling of the metro there are LEDs. Your color appears on the ceiling through these LEDs. If another person touches a different pole, their color also appears on the ceiling, and your colors blend together. | ||
| - | Phase 2: | + | **Phase 2:** |
| Near the exit doors, there is a QR code that creates a bridge from the visual interaction to a more personal level. After scanning it, a minimalist webpage opens with two main options: | Near the exit doors, there is a QR code that creates a bridge from the visual interaction to a more personal level. After scanning it, a minimalist webpage opens with two main options: | ||
| Line 73: | Line 73: | ||
| - | == 7.4.1 User Interface for the Message Page == | + | **User Interface for the Message Page** |
| - | <figure fig:Mockups_Message Page> | + | The following Figur shows the 4 main screens of our web application. Screen one is the start screen, it includes the logo a two buttons to decide between "Send Message" |
| - | {{: | + | |
| + | <WRAP centeralign> | ||
| + | <figure fig:Mockups_Message_Page> | ||
| + | {{: | ||
| < | < | ||
| </ | </ | ||
| + | </ | ||
| + | |||
| + | |||
|
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 === | ||
| + | Figures {{ref> | ||
| - | == 7.4.2 Design System == | + | <WRAP centeralign> |
| + | <figure fig: | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| - | <figure fig:styleguide> | + | <WRAP centeralign> |
| - | {{:report:styleguide.png?400|}} | + | <figure fig:final_drawings> |
| - | < | + | {{ :report:final_drawing.png?direct& |
| + | < | ||
| </ | </ | ||
| + | </ | ||
| - | To ensure a consistent user experience and streamline the development process, our project is built upon a custom-developed, | + | <WRAP centeralign> |
| + | <figure fig: | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| - | Importance | + | The transition from preliminary sketches to detailed structural drawings (see Figure {{ref> |
| - | A unified design system is essential to the success of our product for the following reasons: | + | Three primary constraints shaped |
| - | - Consistency: | + | |
| - | - Development Efficiency: By defining reusable components, there is no need to " | + | The enclosure design aims to ensure compatibility with metro environments, |
| - | - Scalability: | + | |
| - | - Accessibility: | + | The structural design defines the placement |
| - | **Core Components of our Style Guide** | + | **Wiring and Internal Layout Considerations** |
| + | Although detailed cable routing is not fully defined at this stage, the structural design accounts for basic wiring requirements. Dedicated entry and exit points for cables are considered, along with internal space allocation for routing. Particular attention is given to the separation of power and signal lines, in order to reduce potential electrical interference and improve system reliability. These considerations will guide future iterations of the design, where detailed routing and harnessing will be implemented. | ||
| - | **Color Palette** | + | **Thermal and Environmental Considerations** |
| - | Our color strategy | + | The system includes components such as DC-DC converters and LED drivers, which generate heat during operation. At this stage, thermal management |
| - | - Contextual Derivation: The primary colors and their respective shades were derived directly from metro line branding. This ensures high recognition and creates an immediate visual link to the urban mobility context. | ||
| - | - Color Hierarchy: We utilize a system | + | The BoM presented in Table {{ref> |
| - | **Typography** | + | While some components (such as enclosure materials) are specified with industrial standards in mind, others are selected to support rapid prototyping and testing. This hybrid approach allows validation of system functionality while maintaining a clear path toward a more robust, deployment-ready solution. |
| + | <table components_ideal> | ||
| + | < | ||
| + | <WRAP center round box 1100px> | ||
| + | ^ Name ^ Type ^ Supplier & more details ^ Additional notes ^ Price (€) ^ Quantity ^ Total (€) ^ | ||
| + | | Microcontroller | Wemos C3 mini | [[https:// | ||
| + | | Box for electronics equipment | PA Rail | [[https:// | ||
| + | | Copper tape | | [[https:// | ||
| + | | Pressure sensor | Velostat | [[https:// | ||
| + | | CAN Transceiver | MCP2551-I-P | [[https:// | ||
| + | | LED strip with covers | Addressable RGB | [[https:// | ||
| + | | Power supply (12 V) | DC-DC converter | [[https:// | ||
| + | | Power supply (5 V) | DC-DC converter | [[https:// | ||
| + | | Wiring, resistors etc. | | [[https:// | ||
| + | | Delivery cost | | Stationary store | To be reviewed | 0 | 1 | 0 | | ||
| + | | Total Project Cost | | | | | | 764.74 | | ||
| + | </ | ||
| + | </ | ||
| + | (//iv//) 3D model with load and stress analysis; | ||
| + | (//v//) colour palette. | ||
| - | - Typographic Scale: We use a fixed scale for font sizes, line heights, and weights. | ||
| - | - Application: | + | === 7.4.2 Smart System === |
| - | **UI Component Library** | ||
| - | A key part of the system is the library of reusable elements: | + | **Hardware** |
| - | - Modularity: All elements, such as buttons and input fields, were developed modularly. | + | Figure {{ref> |
| - | - Optimization: Components are specifically optimized for web application requirements (e.g., clear click targets, feedback states like hover or disabled). | + | <WRAP centeralign> |
| + | <figure fig:black_box_diagram> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| - | - Reusability: | ||
| - | The Design System forms the visual foundation of our project. It bridges the gap between aesthetic brand identity and technical precision, ensuring that the web application is perceived as a unified, professional, | + | - Sensors: |
| - | === Structure === | + | |
| - | Figures {{ref> | + | |
| - | <figure fig:initial_drawing> | + | - LED Integration: RGB LED strips are installed along the connections of the handles and distributed across the ceiling panels. If necessary, a screen may also be mounted on the ceiling of the metro car to provide additional possibilities beyond the light strips, such as creating a changing environment with lighting adapted to the time of day. The placement and structure of the LEDs are clear and organized, allowing passengers to follow “their light” and trace the connection to other people. |
| - | {{ : | + | |
| - | < | + | |
| - | </ | + | |
| - | <figure fig: | + | |
| - | {{ : | + | |
| - | < | + | |
| - | </ | + | |
| - | <figure fig: | + | |
| - | {{ : | + | |
| - | < | + | |
| - | </ | + | |
| - | The completion of the structural drawings (see Figure | + | Tables |
| + | <table powerbudget1> | ||
| + | < | ||
| + | <WRAP center round box 1100px> | ||
| + | ^ Equipment ^ Qty ^ Rail ^ U (V) ^ I per unit (A) ^ I total (A) ^ P (W) ^ | ||
| + | | ESP32-C3 sensor nodes | 10 | 5.0 V| 5 | 0.120 | 1.200 | 6.000 | | ||
| + | | 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 | | ||
| + | | LED strips WS2812B (2 m, 120 LEDs each) | 3 | 12.0 V | 12 | 2.400 | 7.200 | 86.400 | | ||
| + | | Velostat pressure sensors | 15 | 3.3 V | 3.3 | 0.001 | 0.015 | 0.050 | | ||
| + | | **Total** | | | | | | **93.700** | | ||
| + | | **Total + 25 % safety margin** | | | | | | **117.125** | | ||
| + | </ | ||
| + | </ | ||
| - | * I. Enclosure Material and Regulatory Compliance -- | + | <table powerbudget2> |
| - | The overarching objective of this phase was to advance beyond laboratory prototypes toward a system fully compliant with rigorous European Union regulations, | + | < |
| + | <WRAP center round box 1100px> | ||
| + | ^ Equipment ^ Qty ^ Rail ^ U (V) ^ | ||
| + | | ESP32-C3 sensor nodes | 10 | 5.0 V | 5 | 0.300 | 3.000 | 15.000 | | ||
| + | | 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 | | ||
| + | | LED strips WS2812B | ||
| + | | Velostat pressure sensors | 15 | 3.3 V | 3.3 | 0.001 | 0.015 | 0.050 | | ||
| + | | **Total** | | | | | | **276.250** | | ||
| + | | **Total + 25 % safety margin** | | | | | | **345.313** | | ||
| + | </ | ||
| + | </ | ||
| + | The hardware implementation is realized through two dedicated PCB designs: the Sensor Node PCB and the Central Node PCB. | ||
| - | * II. Communication Protocol and Signal Integrity -- | + | **1. Sensor Node PCB** |
| - | Metro carriages constitute high-interference electrical environments. High-voltage overhead conductors and traction motors generate substantial Electromagnetic Interference (EMI), which can readily corrupt standard data signals, making protocol selection a critical design decision. The Controller Area Network (CAN) protocol, implemented via the MCP2551 transceiver, | + | |
| + | The Sensor Node PCB integrates all the components required for local sensing, processing, and communication. To convert physical pressure into data, the circuit utilizes a Velostat sensing interface in a voltage divider configuration. The detailed electrical connections are illustrated in the Sensor Node Schematic (Figure {{ref> | ||
| - | * III. Power Supply Management -- | + | <WRAP centeralign> |
| - | To address the fluctuating power supply characteristics inherent to rolling stock, an industrial Mean Well DC-DC converter was integrated into the design. Beyond voltage stabilization, | + | <figure fig: |
| + | {{ :report:EPS-velostat-schematicV3.svg? | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| - | <WRAP center round box 1100px> | + | The node includes an ESP32-C3 Microcontroller |
| - | <table tab: | + | |
| - | < | + | <WRAP centeralign> |
| - | ^ Name ^ Type ^ Supplier & more details ^ Additional notes ^ Price (€) ^ Quantity ^ Total (€) ^ | + | <figure fig:sensor_node_pcb> |
| - | | Microcontroller | Wemos C3 mini | [[https:// | + | {{ :report: |
| - | | Box for electronics equipment | PA Rail | [[https:// | + | < |
| - | | Copper tape | | [[https:// | + | </figure> |
| - | | Pressure sensor | Velostat | [[https:// | + | |
| - | | CAN Transceiver | MCP2551-I-P | [[https:// | + | |
| - | | LED strip with covers | Addressable RGB | [[https://www.amazon.es/ | + | |
| - | | Power supply (12 V) | DC-DC converter | [[https:// | + | |
| - | | Power supply (5 V) | DC-DC converter | [[https:// | + | |
| - | | Wiring, resistors etc. | | [[https:// | + | |
| - | | Delivery cost | | Stationary store | To be reviewed | 0 | 1 | 0 | | + | |
| - | | Total Project Cost | | | | | | 764,74 | | + | |
| - | </table> | + | |
| </ | </ | ||
| - | (//iv//) 3D model with load and stress analysis; | ||
| - | (//v//) colour palette. | ||
| + | Each Sensor Node PCB operates as an autonomous unit within the distributed system, transmitting processed sensor data through the CAN bus network to the Central Node. | ||
| - | === Smart System === | + | **2. Central Node PCB** |
| + | The Central Node PCB acts as the main coordination unit. It is responsible for aggregating data from all sensor nodes and generating the corresponding visual output. The integration of the processing unit with the lighting infrastructure is detailed in the Central Node Schematic (Figure {{ref> | ||
| - | == Hardware == | + | <WRAP centeralign> |
| + | <figure fig: | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| - | Figure {{ref> | + | As shown in Figure {{ref> |
| <WRAP centeralign> | <WRAP centeralign> | ||
| - | <figure fig:black_box_diagram> | + | <figure fig:central_node_pcb> |
| - | {{ :report:black-box-diagram.png?nolink | + | {{ :report:central_node_pcb.png?direct& |
| - | < | + | < |
| </ | </ | ||
| </ | </ | ||
| + | This board processes all incoming CAN messages and translates them into real-time visual feedback through the LED infrastructure, | ||
| - | - Sensors: | + | **Technical Implementation Details** |
| - | - LED Integration: | + | A critical aspect |
| - | Table {{ref> | + | To ensure reliable data transmission within the electromagnetically noisy environment of a metro car, the system |
| - | <WRAP center round box 1100px> | + | *Differential Signaling: Utilizing CAN High and CAN Low lines for high immunity to interference. |
| - | <table powerbudget> | + | |
| - | < | + | *Bus Termination: A 120Ω resistor is placed across the CAN lines (as seen in the schematics) to match characteristic impedance and prevent signal reflections. |
| - | ^ Equipment ^ State ^ Qty ^ Rail ^ V (V) ^ I per unit (A) ^ Duty (%) ^ I< | + | |
| - | | ESP32-C3 sensor nodes | active | 10 | 5 V | 5 | 0.500000 | 53.3 | 2.665000 | 13.3250 | | + | |
| - | | ::: | sleep | 10 | 5 V | 5 | 0.000005 | 46.7 | 0.0000234 | 0.00012 | | + | |
| - | | ESP32-C3 actuator node | active | 1 | 5 V | 5 | 0.500000 | 53.3 | 0.266500 | 1.3325 | | + | |
| - | | ::: | sleep | 1 | 5 V | 5 | 0.000005 | 46.7 | 0.0000023 | 0.000012 | | + | |
| - | | CAN transceiver MCP2551 | active | 10 | 5V | 5 | 0.075000 | 53.3 | 0.399750 | 1.9988 | | + | |
| - | | ::: | sleep | 10 | 5 V | 5 | 0.001000 | 46.7 | 0.004670 | 0.02335 | | + | |
| - | | LED strip RGB (2m each) | active | 3 | 12 V | 12 | 7.200000 | 53.3 | 11.5128 | 138.154 | | + | |
| - | | ::: | sleep | 3 | 12 V | 12 | 0.000000 | 46.7 | 0.000000 | 0.0000 | | + | |
| - | | Velostat pressure sensors | active | 15 | 3.3 V | 3.3 | 0.003300 | 53.3 | 0.026384 | 0.08707 | | + | |
| - | | ::: | sleep | 15 | 3.3 V | 3.3 | 0.000000 | 46.7 | 0.000000 | 0.00000 | | + | |
| - | | **Total 5 V rail (effective)** | | | | | | | | **16.6901** | | + | |
| - | | **Total 12 V rail (effective)** | | | | | | | | **138.154** | | + | |
| - | | **Total 3.3 V rail (effective)** | | | | | | | | **0.0871** | | + | |
| - | | **Grand total (effective, duty-weighted)** | | | | | | | | **154.931** | | + | |
| - | | **Grand total (peak, all active simultaneously)** | | | | | | | | **809.01** | | + | |
| - | </ | + | |
| - | </ | + | |
| - | == Software | + | **Software** |
| The software architecture of the Connect and Share project facilitates real-time interaction and asynchronous digital connection across two distinct modes of use. | The software architecture of the Connect and Share project facilitates real-time interaction and asynchronous digital connection across two distinct modes of use. | ||
| Line 241: | Line 277: | ||
| Platform selection (see Table {{ref> | Platform selection (see Table {{ref> | ||
| - | <WRAP center round box 800px> | ||
| <table tab: | <table tab: | ||
| < | < | ||
| + | <WRAP center round box 800px> | ||
| ^ Layer ^ Selection ^ Justification ^ | ^ Layer ^ Selection ^ Justification ^ | ||
| | Firmware | ESP32 (C++) | Superior task management and precise control over LED timing. | | | Firmware | ESP32 (C++) | Superior task management and precise control over LED timing. | | ||
| Line 249: | Line 285: | ||
| | Backend | Supabase | Relational data management and real-time database subscriptions. | | | Backend | Supabase | Relational data management and real-time database subscriptions. | | ||
| | IoT Communication | CAN Bus | High noise immunity in metro environments via differential signaling. | | | IoT Communication | CAN Bus | High noise immunity in metro environments via differential signaling. | | ||
| - | </ | ||
| </ | </ | ||
| + | </ | ||
| III. Component Diagram | III. Component Diagram | ||
| Line 256: | Line 292: | ||
| Figure {{ref> | Figure {{ref> | ||
| - | < | + | < |
| <figure fig: | <figure fig: | ||
| {{ : | {{ : | ||
| Line 263: | Line 299: | ||
| </ | </ | ||
| - | Figure {{ref> | + | Figure {{ref> |
| - | < | + | < |
| <figure fig: | <figure fig: | ||
| {{ : | {{ : | ||
| Line 274: | Line 310: | ||
| Figure {{ref> | Figure {{ref> | ||
| - | < | + | < |
| <figure fig: | <figure fig: | ||
| {{ : | {{ : | ||
| Line 280: | Line 316: | ||
| </ | </ | ||
| </ | </ | ||
| - | === Packaging === | + | === 7.4.3 Packaging === |
| Present and explain the: | Present and explain the: | ||
| (//i//) initial packaging drafts; | (//i//) initial packaging drafts; | ||
| (//i//i) detailed drawings; | (//i//i) detailed drawings; | ||
| (//iii//) 3D model with load and stress analysis, if applicable. | (//iii//) 3D model with load and stress analysis, if applicable. | ||
| - | ==== Prototype ==== | + | ==== 7.5 Prototype ==== |
| Refer main changes in relation to the designed solution. | Refer main changes in relation to the designed solution. | ||
| Line 314: | Line 350: | ||
| ^ ID ^ Category ^ Requirement / Description ^ Success Criteria ^ Status ^ Date ^ | ^ ID ^ Category ^ Requirement / Description ^ Success Criteria ^ Status ^ Date ^ | ||
| | FT-01 | Functionality | Velostat Touch Detection | ADC values respond linearly to pressure | | | | | FT-01 | Functionality | Velostat Touch Detection | ADC values respond linearly to pressure | | | | ||
| - | | FT-02 | Functionality | CAN Bus Communication | Packet Delivery Ratio > 99.9% | | | | + | | FT-02 | Functionality | CAN Bus Communication | Packet Delivery Ratio > 99.9 % | | | |
| | FT-03 | Functionality | LED Visual Response | Correct RGB colors and no flickering | | | | | FT-03 | Functionality | LED Visual Response | Correct RGB colors and no flickering | | | | ||
| | FT-04 | Functionality | Sensitivity Calibration | Potentiometer adjusts trigger threshold | | | | | FT-04 | Functionality | Sensitivity Calibration | Potentiometer adjusts trigger threshold | | | | ||
| - | | FT-05 | Functionality | Power Management | Stable 5.0V output at 72V/110V input | | | | + | | FT-05 | Functionality | Power Management | Stable 5.0 V output at 72 V/110 V input | | | |
| - | | PT-01 | Performance | System Response Time | Total latency from touch to light < 100ms | | | | + | | PT-01 | Performance | System Response Time | Total latency from touch to light < 100 ms | | | |
| | PT-02 | Performance | EMI Noise Resistance | No "ghost triggers" | | PT-02 | Performance | EMI Noise Resistance | No "ghost triggers" | ||
| - | | PT-03 | Performance | Thermal Performance | Enclosure surface temp < 50°C after 4h | | | | + | | PT-03 | Performance | Thermal Performance | Enclosure surface temp < 50 °C after 4 h | | | |
| - | | PT-04 | Performance | Voltage Drop | End-of-line voltage > 4.7V | | | | + | | PT-04 | Performance | Voltage Drop | End-of-line voltage > 4.7 V | | | |
| - | | PT-05 | Performance | Long-term Durability | System stable after 1,000 trigger cycles | | | | + | | PT-05 | Performance | Long-term Durability | System stable after 1000 trigger cycles | | | |
| | ST-01 | Software | Integration Simulation | Zero mechanical interference in CAD model | | | | | ST-01 | Software | Integration Simulation | Zero mechanical interference in CAD model | | | | ||
| | ST-02 | Software | CAN Logic Simulation | Correct ID priority during collisions | | | | | ST-02 | Software | CAN Logic Simulation | Correct ID priority during collisions | | | | ||
| Line 330: | Line 366: | ||
| | SF-02 | Safety | Mechanical Safety | No sharp edges/ | | SF-02 | Safety | Mechanical Safety | No sharp edges/ | ||
| | SF-03 | Safety | Fire Safety | Cables/ | | SF-03 | Safety | Fire Safety | Cables/ | ||
| - | | SF-04 | Safety | Vandalism Resistance | Sensor functional after 5kg impact test | | | | + | | SF-04 | Safety | Vandalism Resistance | Sensor functional after 5 kg impact test | | | |
| | SF-05 | Safety | Ingress Protection (IP) | No moisture inside after cleaning mist test | | | | | SF-05 | Safety | Ingress Protection (IP) | No moisture inside after cleaning mist test | | | | ||
| | UA-01 | UAT | Trigger Intuitiveness | User finds sensor without instructions | | | | | UA-01 | UAT | Trigger Intuitiveness | User finds sensor without instructions | | | | ||
| Line 346: | Line 382: | ||
| (iii) usability tests according to the [[https:// | (iii) usability tests according to the [[https:// | ||
| - | ==== Summary ==== | + | ==== 7.6 Summary ==== |
| - | //Provide here the conclusions | + | |
| + | This chapter documents | ||
| + | |||
| + | 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 and analysis to ensure physical viability. Iterative adjustments were made to hardware schematics and software flowcharts to optimize performance. | ||
| + | |||
| + | Having detailed the technical execution and rigorous testing of the system, the following section synthesizes these results to provide final reflections on the project' | ||