| Requirement: The design is expected to have a soft blue light that calms the user and promotes positive emotions of relaxation and happiness. Test: Setup: Equipment: Color camera, Breadboard, Blue light LED Description: The test ensures the design emits light in the blue spectrum by capturing the light using a smartphone camera and verifying its color. Test Inputs:
Requirement: The design must have the ability to detect imminent panic attacks and feelings of overwhelm based on the changes shown in the user’s heart rate before the panic attack.
Test:
Setup:
Equipment: Electrode, Breadboard, heart rate monitor Description: Simulate increasing heart rate patterns (e.g., from 50 bpm to 120 bpm) using a heart rate simulator. The system will monitor for rapid heart rate increases indicative of an impending panic attack. Test Inputs: Generate heart rate data using the simulator that mimics the rising heart rate profile seen in panic attack events.
Measurement Standard: The system should detect a heart rate increase of ≥ 2 bpm within a 30-second interval as a potential indicator of a panic attack.
Pass/Fail Criteria:
Pass: The system successfully detects a significant increase in heart rate (≥ 2 bpm within 30 seconds) as an indication of an impending panic attack. Fail: The system fails to detect the heart rate change or does not flag it in time.
Requirement: The design must have the ability to read heart rates ranging from 50 to 200 bpm.
Test:
Setup:
Equipment: Electrode, Breadboard, heart rate monitor
Description: In this test, we will attach the electrode of the heart rate monitor to a wire and place it on a breadboard. We will attach the wire to the MCU. The MCU will be programmed to generate pulse signals that imitate heartbeats at different rates.
Significant Environmental Parameters:
Temperature: Maintain room temperature of 20-22°C
Electromagnetic Interference/Noise Isolation: Ensure there are little to no electrical devices nearby that could create noise that could interfere with the signal detection.
Power Supply: Ensure there is a constant and stable power source for the MCU and heart rate monitor to avoid any fluctuations that may impact results.
Test Inputs:
Program the MCU to generate pulse signals at (50, 100, 150, and 200 bpm). Maintain each pulse for 30+ seconds to get stable results.
Measurement Standard:
The heart rate monitor must be able to detect the heart rate reading to an accuracy of ±2-3 bpm compared to the pulse generated by the MCU.
Pass/Fail Criteria:
Pass: If the heart rate monitor is successfully able to detect the pulse generated by the MCU to an accuracy of ±2-3 bpm for each target rate.
Fail: If the heart rate monitor is unable to detect the pulse generated by the MCU or detects the pulse to an accuracy outside of ±2-3 bpm for each target rate.
Requirement: The design is expected to be able to detect imminent panic attacks and feelings of overwhelm based on the changes shown in the user’s heart rate before the panic attack.
Test:
Setup:
Equipment: Electrode, breadboard, heart rate monitor
Description: In this test, we will attach the electrode of the heart rate monitor to a wire and place it on a breadboard. We will attach the wire to the MCU. The MCU will be programmed to generate pulse signals that imitates the pattern that a person’s heart rate takes before they get a panic attack.
Significant Environmental Parameters:
Temperature: Maintain room temperature of 20-22°C
Electromagnetic Interference/Noise Isolation: Ensure the are little to no electrical devices nearby that could create noise that could interfere with the signal detection.
Power Supply: Ensure there is a constant and stable power source for the MCU and heart rate monitor to avoid any fluctuations that may impact results.
Test Inputs:
Program the MCU to imitate the pattern that a person’s heart rate takes before they get a panic attack.
Measurement Standard:
The heart rate monitor must be able to analyze the pulse given and compare it to the pattern a person’s heart will show before to a heart attack, detect if the user is going to have a panic attack, notify the user and give the user a rough approximation of how much time they have until a panic attack may occur.
Pass/Fail Criteria:
Pass: If the heart rate monitor is successfully able to detect and warn the user that they are about to have a panic attack 35-50 minutes before the panic attack actually occurs.
Fail: If the heart rate monitor is unable to detect the pattern in the user’s heartbeat and notify the user of an incoming panic attack.
Requirement: The speaker must output sound that is both audible and interpretable to humans. Must create at least a minimum sound level pressure of 20 micropascals (0db) at the ear.
Test:
Test Setup:
Equipment: Speaker, Sound level meter, and Audio source/file
Description: In this test we will play an audio file through the speaker and using the sound level meter, we will test how loud/audible the sound is.
Significant Environmental Parameters:
Noise Isolation: Conduct the experiment in a room that is quiet in order to minimize background noise and obtain most accurate results.
Power Supply: Ensure there is a constant and stable power source for the speaker to avoid any fluctuations that may impact results.
Test Inputs: An audio file will be sent to the speaker making it output a constant sound for 30 seconds to test if the requirement is met. Then another audio file featuring more complex sounds will be sent to the speaker to be played for 30 seconds to test as well.
Measurement Standard:
Sound Pressure Level: The sound level meter must be able to measure a sound pressure level of above 0db.
Audio Quality: The sound output by the speaker must be interpretable and relatively clear.
Pass/Fail Criteria:
Pass: The speaker can output sound that has a minimum sound pressure level of 20 micropascals (0db) and the design is able to analyze the electroconductivity pattern and detect when the user is about to have a panic attack.
Fail: The speaker outputs sounds that have a sound pressure level that is lower than 20 micropascals (0db) and the design is unable to detect when the user is about to have a panic attack.
Requirement: The design is expected to be able to detect imminent panic attacks and feelings of overwhelm based on the changes shown in the user’s skin conductivity before the panic attack.
Test:
Test Setup:
Equipment: Potentiometer, resistor and two wires
Description:
Using the voltage drop on the resistor (the skin acts as a resistor) we can use the voltage divider formula to continuously measure the skin conductivity and the compare the patterns with that of someone about to have a panic attack. If the two patterns are similar/identical, the design will warn the user of the incoming panic attack. Otherwise, no warning will be issued.
Significant Environmental Parameters:
Environment: indoors
Temperature: room temperature of 20-22°C
Humidity: average ideal humidity of 30-40%
Power Source: Ensure there is a constant and stable power source for the equipment to ensure no fluctuations in readings/results.
Test Inputs:
Measurement Standard:
Normal Skin conductivity Patterns - panic attack warnings should not be issued when skin conductivity is following normal patterns.
Panic Attack Skin conductivity Patterns - the panic attack pattern should be detected by the design and a panic attack warning should be issued to the user within 5 minutes.
Pass/Fail Criteria:
Pass: Panic attack warnings are only issued when skin conductivity patterns are similar to/the same as panic attack skin conductivity patterns and within 5 minutes of detecting the similarity.
Fail: Panic attack warnings are issued when skin conductivity patterns are normal or are issued after 5 minutes of detecting the abnormality.
Requirement: The design must have the ability to read the skin conductivity ranging from 5 to 30 µS, at least 4 out of 5 times.
Test:
Test Setup:
Equipment: Potentiometer, resistor and two wires
Description:
Using the voltage drop on the resistor (the skin acts as a resistor) we can use the voltage divider formula to measure the skin conductivity
Significant Environmental Parameters:
Environment: indoors
Temperature: room temperature of 20-22°C
Humidity: average ideal humidity of 30-40%
Power Source: Ensure there is a constant and stable power source for the equipment to ensure no fluctuations in readings/results.
Test Inputs:
Measurement Standard:
Pass/Fail Criteria: