Real-time biometric pipeline for adaptive haptic feedback in VR
User study: 3 haptic patterns ร 10 participants, HR time-series analysis
๐ Calmpilot is a user study investigating how haptic feedback patterns affect physiological arousal in VR. The system uses real-time heart rate data from wearables to automatically trigger calming haptics when arousal exceeds thresholds. We compared three patternsโslow vibration, breathing guidance, and butterfly hugโin a controlled VR public speaking experiment (N=10). Breathing-guided haptics achieved the most sustained heart rate reduction (avg. -4 BPM).
๐ Calmpilot์ VR ํ๋ก๊ทธ๋จ์ ํ์ฉํ ๋ ธ์ถ ์น๋ฃ์์ ํ ํฑ ํผ๋๋ฐฑ ํจํด์ด ๋ถ์ ๊ฐ์์ ๋ฏธ์น๋ ์ํฅ์ ์ฐ๊ตฌํ ํ๋ก์ ํธ์ ๋๋ค. ์จ์ด๋ฌ๋ธ ๋๋ฐ์ด์ค์ ์ค์๊ฐ ์ฌ๋ฐ์ ๋ฐ์ดํฐ๋ฅผ ํ์ฉํด ์๊ณ๊ฐ์ ์ด๊ณผํ๋ฉด ์๋์ผ๋ก ์ด์ ํ ํฑ ํจํด์ ํธ๋ฆฌ๊ฑฐํฉ๋๋ค. ์์์ ์ผ๋ก ๊ฒ์ฆ๋ ์ธ ๊ฐ์ง ํ ํฑ ํจํดโ๋๋ฆฐ ์ง๋, ์ฌํธํก ์ ๋, ๋๋นํฌ์น๋ฒโ์ ์ค๊ณํ๊ณ VR ๋ฐํ ํ๊ฒฝ์์ ํต์ ๋ ์คํ์ ํตํด ํจ๊ณผ๋ฅผ ๊ฒ์ฆํ์ต๋๋ค. ๋ถ์ ๊ฒฐ๊ณผ ์ฌํธํก ์ ๋ ํ ํฑ์ด ๊ฐ์ฅ ์ ์๋ฏธํ๊ณ ์ง์์ ์ธ ์ฌ๋ฐ์ ๊ฐ์(ํ๊ท 4 BPM ๊ฐ์)๋ฅผ ๋ณด์์ต๋๋ค.
- ๐ฏ Overview
- ๐ Research Background
- โ๏ธ System Architecture
- ๐ฌ Experiment Design
- ๐ Data Analysis
- ๐ Publications & Awards
Project: Calmpilot
Type: Academic Research
Duration: 2023.09 ~ 2024.02
Advisor: Seokhee Jeon (KHU Haptics and Virtual Reality Lab)
| Position | Role | Name | Affiliation |
|---|---|---|---|
| ๐ป Research | First Author Research Design & Client Development |
Jaehyun Byun | Kyung Hee Univ. Computer Science |
| ๐ป Research | Co-Author Data Analysis |
Jihye Ryu | Kyung Hee Univ. Software Convergence |
| ๐ป Research | Co-Author Backend Development |
Hyeon Roh | Kyung Hee Univ. Industrial & Management Engineering |
| ๐ Advisor | Academic Advisor | Seokhee Jeon | Kyung Hee Univ. Haptics and Virtual Reality Lab |
Social anxiety disorder causes excessive fear in social interactionsโ4 out of 10 university students experience these symptoms. While exposure therapy with cognitive feedback shows superior outcomes, two barriers exist: (1) CBT specialists require 1+ years of training, and (2) real-time third-party intervention is nearly impossible during social interactions.
์ฌํ ๊ณตํฌ์ฆ์ ์ฌํ์ ์ํธ์์ฉ์์ ๊ณผ๋ํ ๋ถ์์ ์ ๋ฐํ๋ฉฐ, ๋ํ์ 10๋ช ์ค 4๋ช ์ด ์ด๋ฅผ ๊ฒฝํํฉ๋๋ค. ๋ ธ์ถ ์๋ฒ์ ์ธ์ง์ ํผ๋๋ฐฑ์ ๋ณํฉํ๋ฉด ํจ๊ณผ๊ฐ ์ฐ์ํ์ง๋ง ๋ ๊ฐ์ง ์ฅ๋ฒฝ์ด ์กด์ฌํฉ๋๋ค: (1) ์ธ์งํ๋์น๋ฃ ์ ๋ฌธ๊ฐ ์์ฑ์ ์ต์ 1๋ ์ด์ ์์, (2) ์ฌํ์ ์ํธ์์ฉ ์ค์๋ ์ 3์์ ์ค์๊ฐ ๊ฐ์ ์ด ์ด๋ ค์.
This research designed a biometric-driven automatic haptic feedback pipeline (Galaxy Watch โ WebSocket โ Unity โ bhaptics) for VR exposure therapy, and compared which haptic pattern most effectively reduces tension through a controlled user study.
๋ณธ ์ฐ๊ตฌ๋ VR ๋ ธ์ถ ์น๋ฃ ์ค ์์ฒด ์ ํธ ๊ธฐ๋ฐ ์๋ํ๋ ํ ํฑ ํผ๋๋ฐฑ ํ์ดํ๋ผ์ธ(Galaxy Watch โ WebSocket โ Unity โ bhaptics) ์ ์ค๊ณํ๊ณ , ํต์ ๋ ์ฌ์ฉ์ ์ฐ๊ตฌ๋ฅผ ํตํด ์ด๋ค ํ ํฑ ํจํด์ด ๊ธด์ฅ ์ํ์ ๊ฐ์ฅ ํจ๊ณผ์ ์ธ์ง ๋น๊ตํ์ต๋๋ค.
| Study | Key Finding | Our Pattern |
|---|---|---|
| Azevedo et al. (2017) | Vibration 20% slower than resting HR reduced anxiety | Slow vibration |
| Haynes et al. (2022) | Breathing-guided haptic most effective for tension relief | Breathing guidance |
| Butterfly Hug (EMDR) | Alternating shoulder taps used in trauma therapy | Butterfly hug |
์ด์ข ํ๋ซํผ ๋ฐ์ดํฐ ํ์ดํ๋ผ์ธ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
โ Wearable Layer โ โ Streaming Layer โ โ Client Layer โ โ Output Layer โ
โ Galaxy Watch 6 โ โ HypeRate โ โ Unity Engine โ โ bhaptics Suit โ
โโโโโโโโโโโโโโโโโโโโค โโโโโโโโโโโโโโโโโโโโค โโโโโโโโโโโโโโโโโโโโค โโโโโโโโโโโโโโโโโโโโค
โ โข HR Sensor โ โ โข WebSocket API โ โ โข Data Reception โ โ โข 40 Vibration โ
โ โข 1Hz Sampling โโโโโโ โข Real-time โโโโโโ โข Threshold โโโโโโ Motors โ
โ โข BPM Output โ โ Relay โ โ Detection โ โ โข Pattern Play โ
โ โ โ โข Multi-device โ โ โข CSV Logging โ โ โข Haptic Design โ
โโโโโโโโโโโโโโโโโโโโ โ Support โ โ โข Trigger Logic โ โโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
์ค์๊ฐ ์ฌ๋ฐ์ ์คํธ๋ฆฌ๋ฐ
| Component | Implementation |
|---|---|
| Sensor | Galaxy Watch 6 optical HR sensor, 1-second interval sampling ๊ฐค๋ญ์ ์์น 6 ๊ดํ ์ฌ๋ฐ ์ผ์, 1์ด ๊ฐ๊ฒฉ ์ํ๋ง |
| Middleware | HypeRate WebSocket relayโunified API for diverse wearables HypeRate WebSocket ์ค๊ณโ๋ค์ํ ์จ์ด๋ฌ๋ธ ํตํฉ API |
| Reception | Unity HypeRate SDK, real-time BPM variable access Unity HypeRate SDK, ์ค์๊ฐ BPM ๋ณ์ ์ ๊ทผ |
| Threshold | HR โฅ 115 BPM triggers haptic feedback (pilot test max: 130, normal: 60-100) ์ฌ๋ฐ์ 115 ์ด์ ์ ํ ํฑ ํผ๋๋ฐฑ ํธ๋ฆฌ๊ฑฐ (ํ์ผ๋ฟ ํ ์คํธ ์ต๋: 130, ์ ์: 60-100) |
ํ์์คํฌํ ๋๊ธฐํ ๋ก๊น ์์คํ
// CSV Logging with StreamWriter
public class BiometricLogger : MonoBehaviour
{
private StreamWriter writer;
private string filepath;
void Start()
{
filepath = $"Data/HR_{participantID}_{DateTime.Now:yyyyMMdd_HHmmss}.csv";
writer = new StreamWriter(filepath);
writer.WriteLine("Timestamp,HeartRate,FeedbackType,ScenePhase");
}
void OnHeartRateReceived(int bpm)
{
string timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
string feedbackType = currentFeedback.ToString();
string phase = currentScene.ToString();
writer.WriteLine($"{timestamp},{bpm},{feedbackType},{phase}");
writer.Flush();
}
}์์์ ์ผ๋ก ๊ฒ์ฆ๋ ์ธ ๊ฐ์ง ํจํด
Patterns were designed using bhaptics Designerโa web-based haptic authoring tool for TactSuit's 40 vibration motors.
ํจํด์ bhaptics Designer๋ฅผ ์ฌ์ฉํด ์ค๊ณํ์ต๋๋คโTactSuit์ 40๊ฐ ์ง๋ ๋ชจํฐ๋ฅผ ์ํ ์น ๊ธฐ๋ฐ ํ ํฑ ์ ์ ๋๊ตฌ์ ๋๋ค.
| Pattern | Clinical Basis | Implementation |
|---|---|---|
| ๐ซ Slow Vibration | Azevedo (2017): Sub-heartbeat rhythm induces physiological entrainment ์ฌ๋ฐ ์ดํ ๋ฆฌ๋ฌ์ด ์๋ฆฌ์ ๋์กฐ ์ ๋ |
10-second continuous vibration at 20% below resting HR frequency ์์ ์ ์ฌ๋ฐ์๋ณด๋ค 20% ๋๋ฆฐ ์ฃผํ์๋ก 10์ด๊ฐ ์ง์ ์ง๋ |
| ๐ฌ๏ธ Breathing Guide | Haynes (2022): Most effective for tension relief ๊ธด์ฅ ์ํ์ ๊ฐ์ฅ ํจ๊ณผ์ |
Abdominal-centered expanding/contracting circular vibration pattern ๋ณต๋ถ ์ค์ ๊ธฐ์ค ํ์ฅ/์์ถํ๋ ์ํ ์ง๋ ํจํด |
| ๐ฆ Butterfly Hug | EMDR-based trauma therapy technique EMDR ๊ธฐ๋ฐ ์ธ์ ์น๋ฃ ๊ธฐ๋ฒ |
Alternating single taps on left/right shoulders ์์ชฝ ์ด๊นจ๋ฅผ ๋ฒ๊ฐ์ ๋จ๋ฐ์ ์ผ๋ก ๋๋๋ฆผ |
The VR public speaking simulation was built in Unity Engine with psychological pressure elements:
VR ๋ฐํ ์๋ฎฌ๋ ์ด์ ์ Unity Engine์ผ๋ก ์ฌ๋ฆฌ์ ์๋ฐ ์์๋ฅผ ํฌํจํ์ฌ ๊ตฌํํ์ต๋๋ค:
| Element | Implementation | Purpose |
|---|---|---|
| Audience NPCs | Animator Controller with Idle/Clapping/Questioning states Idle/Clapping/Questioning ์ํ๋ฅผ ๊ฐ์ง Animator Controller |
Social pressure simulation ์ฌํ์ ์๋ฐ ์๋ฎฌ๋ ์ด์ |
| Event Sequences | Timeline + Playable Director for host, warnings, disruptions ์ฌํ์, ๊ฒฝ๊ณ , ๋๋ฐ ์ํฉ์ ์ํ Timeline + Playable Director |
Controlled stressor delivery ํต์ ๋ ์คํธ๋ ์ค ์์ธ ์ ๋ฌ |
| Interactions | Ray Interactor for PPT control, script checking PPT ์ ์ด, ๋๋ณธ ํ์ธ์ ์ํ Ray Interactor |
Realistic task engagement ํ์ค์ ์ธ ๊ณผ์ ๋ชฐ์ |
| UI Elements | World Space Canvas for recording indicator, timer ๋ นํ ํ์, ํ์ด๋จธ๋ฅผ ์ํ World Space Canvas |
Performance pressure ์ํ ์๋ฐ |
| Scene Transitions | Async Scene Loading with fade effects ํ์ด๋ ํจ๊ณผ๊ฐ ์ ์ฉ๋ ๋น๋๊ธฐ ์ฌ ๋ก๋ฉ |
Immersion maintenance ๋ชฐ์ ์ ์ง |
| Variable | Definition |
|---|---|
| Control | Presentation content & interactions (constant) |
| Independent | Haptic type: None / Slow / Breathing / Butterfly |
| Dependent | Heart rate change (BPM ฮ) |
Participants: N=10 (5M/5F), ages 20-25, university students
Procedure: Pre-survey โ Equipment fitting (VR + Watch + bhaptics) โ Waiting room โ Presentation โ Post-SUS
- 4 trials per participant (within-subjects, counterbalanced)
Raw CSV data (HR + timestamp + feedback type) was cleaned by handling missing values with median imputation, encoding categorical feedback types to integers, and validating 1-second interval uniformity for synchronized analysis.
์์ CSV ๋ฐ์ดํฐ(์ฌ๋ฐ์ + ํ์์คํฌํ + ํผ๋๋ฐฑ ์ ํ)๋ฅผ ์ ์ฒ๋ฆฌ: ๊ฒฐ์ธก์น๋ ์ค์๊ฐ ๋์ฒด, ๋ฒ์ฃผํ ํผ๋๋ฐฑ ์ ํ์ ์ ์ ์ธ์ฝ๋ฉ, 1์ด ๊ฐ๊ฒฉ ๊ท ์ผ์ฑ ๊ฒ์ฆ ํ ๋๊ธฐํ ๋ถ์์ ํ์ฉ.
| Condition | Mean HR (BPM) | ฮ from Baseline |
|---|---|---|
| No Feedback | 111 | โ |
| With Feedback | 107 | -4 BPM |
| Pattern | Immediacy | Duration | Effectiveness |
|---|---|---|---|
| ๐ฌ๏ธ Breathing Guide | Immediate | Longest | Most Effective |
| ๐ซ Slow Vibration | Immediate | Moderate | Effective |
| ๐ฆ Butterfly Hug | Delayed (2-3 reps) | Short | Least Effective |
- Feedback-triggered group: HR spiked to 120-130 BPM upon waiting room entry
- Breathing guide & slow vibration: immediate HR reduction post-trigger
- Butterfly hug: required 2-3 repetitions before measurable effect
Designing Haptic Feedback for Social Phobia Improvement and VRET Environment for Data Analysis
Korea Computer Congress (KCC) 2024
Jaehyun Byun, Jihye Ryu, Seokhee Jeon
| Award | Event | Year |
|---|---|---|
| ๐ ํ๋ถ์ ์ฐ์๋ ผ๋ฌธ์ | Korea Computer Congress (KCC) 2024 | 2024 |
| ๐ Honored Partner Startup Exhibition | Vietnam Mobile Summit 2024 | 2024 |
- ๊ถ์๋ง. ํ๋ ์ด์์ฌ๋ฆฌํ. ์์ธ ํ์ง์ฌ. 2012
- Azevedo, R.T., et al. The calming effect of a new wearable device during the anticipation of public speech. Sci Rep 7, 2285. 2017
- Haynes AC, et al. A calming hug: Design and validation of a tactile aid to ease anxiety. PLoS One. 2022
- Deusdado & Antunes. VR rehabilitation with bHaptics TactSuit. 2023
- Heimberg, R.G. Cognitive-behavioral therapy for social anxiety disorder. Biological Psychiatry, 51, 101-108. 2002
For questions about this research, please contact:
Jaehyun Byun โ bjh1750@khu.ac.kr



