Computing Lecture 12: Physiological Sensors Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
4 Homework a) Reading mental states (affective states) from Emotiv Software (simulator) b) Calculate the equivalent PAD vector per emotion. c) Calculate a single vector fusing the 6 vectors from step B (one per emotion reported by Emotiv. d) Draw a dot in a 3D space showing the vector place (magnitude and direction from a center that is 0) e) Assign each dot a lifetime - dots disappear after that time. Consider using an Alpha value to slowly disappear the dot (make it transparent) f) The group of dots is going to become a cloud of dots given a time period. Notice how the cloud evolves. g) Bonus: calculate the center of the cloud and draw it on the screen h) Bonus: draw a vector that shows how this cloud is moving in our space
10 How do things work? Challenges, Performance, Data Processing (run-time) Good SE Practices are being applied? (principles, design patterns, clean coding, …) Code Second Act – Evaluation
16 § Devices that monitor and measure physiological signals from the human body 1.Heart Rate Monitor -optical sensors that detect blood flow changes. 2.Galvanic Skin Response (GSR): Measures the electrical conductance of the skin, often used as an indicator of emotional or physiological arousal. 3.Respiration Monitor 4.Temperature Sensor Definition
17 § The human skin has sweat glands that produce sweat in response to various stimuli, including emotional arousal, stress, and excitement. § The sweat produced by the sweat glands increases the skin's conductivity, allowing electrical currents to flow more easily. § Two electrodes are placed on the skin's surface. One electrode, known as the "driver," applies a small, harmless electrical current to the skin, while the other electrode, known as the ”recorder" electrode, detects the skin's electrical response. GSR
19 § MLII (modified limb lead II) – A type of electrocardiogram (ECG) signal that represents the electrical activity of the heart. obtained by placing the electrodes on the chest. § GSR signals § Gaze (Pitch - vertical + Yaw - horizontal), § Blinking ratio, § Lip ratio lie-detection-using-detection-ecg-and-gsr-sensor-readings-dataset
24 Galvanic Skin Conductance Provide information on the activity of physiological functions of an individual. Arousal detection. Measures the electrical conductance of the skin, which varies with its moisture level that depends on the sweat glands, which are controlled by the sympathetic, and parasympathetic nervous systems. [10] Hardware designed by MIT Media Lab. It is a Wireless Bluetooth device that reports data in intervals of 500 ms approximately (2Hz) [10] M. Strauss, C. Reynolds, S. Hughes, K. Park, G. McDarby, and R.W. Picard, “The HandWave Bluetooth Skin Conductance Sensor,” Proc. First International Conference on Affective Computing and Intelligent Interaction (ACII 05), Springer-Verlang, Oct. 2005, pp. 699-706, doi:10.1007/11573548_90.
26 Galvanic Skin Conductance Field Description Values Timestamp It is the timestamp (date and time) of the computer running the system. It could be used to synchronize the data with other sensors. Format "yymmddhhmmssSSS" (y - year, m - month, d - day, h - hour, m - minutes, s - seconds, S - milliseconds). Battery Voltage Level of the battery voltage. 0 - 3 Volts Conductance Level of arousal. 0 - 3 Volts
Spring 2023 Copyright. These slides can only be used as study material for the class CSC308 at Cal Poly. They cannot be distributed or used for another purpose.