Close
0%
0%

NeuroCuddl

Biofeedback based Virtual Reality system for mental wellness

Similar projects worth following
Stress, anxiety and depression affect a sizeable portion of the populace across different age ranges. Relaxation and controlled breathing along with behavioural visualisation and cognitive control strategies have shown to effective in management.

NeuroCuddl is a novel phone based VR headset to provide the user with an immersive environment for both mental health and vivid recreational experiences. Comprehensive relaxation is provided to the various senses by stimulating muscles, playing synthesized music and showcasing dynamic visuals all of which are modulated by the user's breathing pattern and mental state. Breathing patterns are comfortably measured using a noncontact thermal sensor in the nasal region. The system would interface to a VR ready smartphone over BLE and provide biofeedback to a peltier based thermal haptic feedback unit & TENS unit (Transcutaneous Electrical Nerve Stimulation) to provide user with soft & soothing stimulations for the shoulder muscles.

Proto1 Implementation of NeuroCuddl (Left: Respiration Sensor & VR, Right: Haptic Feedback Unit)

Why?

Depression, Anxiety and chronic stress are among the most common and highly debilitating mental ailments which affect people across different demographics and ages. Over long term it can increase chances of destructive behavioural tendencies such as substance abuse and suicidal tendencies. Mental ailments have huge costs on both a personal level and societal level. There is a need for an effective prevention and long term treatment programs that are tailored to an individual. Virtual reality (VR) has been used for decades as a tool for psychotherapists to aid people with Post Traumatic Stress disorder and adverse phobias existing systems. This performed by usage of exposure therapy which allows a person to experience the scenario in a safe and controlled manner helping release anxiety and other symptoms. Large scale adoption in recent years has been due to advent of affordable Virtual Reality headsets. VR therapy alone however is not a complete solution. Lack of biophysiological sensing hampers assessment of a given therapy’s effectiveness. Many VR therapy apps do not take advantage biofeedback mechanisms(Respiration/Heart Rate Variability) which have been widely used for other mental health treatments. Further a lack of patient specific modulation of the stimulants provided to patient reduce effectiveness of therapy. Body haptic feedback is a significant component that is lacking in current VR therapy. Far too often pseudoscientific and vague therapeutic methods marketed to people suffering from mental ailments and there is no reliable metric that comes along with those methods which allow users to gauge their mental state. Zen based relaxation techniques and other eastern approaches to relaxation are hindered by lack of access to a proper trainer to provide feedback in home sessions. Our goal with NeuroCuddl is to create an open platform that can use validated and data backed approaches to aid themselves and be customizable to serve them better.

With a reliable base platform and support for expansion we believe the community can develop “experiences” or adding other sensors(Electrodermal Activity? Facial EMG?) or actuators.

Fig 1: Storyboard sketch shows how NeuroCuddl helps Jacob by solving his physical and mental health related problems

How?

Our solution would use a combination of validated techniques for to provide relief. Biofeedback, A validated approach for mental wellness would form the basis of a patient specific training regimen and provide feedback in form of thermal & muscular and audio-visual stimulation provided by the a haptic unit (Thermal and Muscle stim) and a VR headset respectively.

Fig 2A: Sketch of the proposed solution 

Fig 2B: Overall Architecture of NeuroCuddl

Fig 2C:  Layout of the Haptic Feedback Unit - Proto1

The system envision would complete the feedback loop as shown below, the existing solutions looked at the top half of the breathing feedback loop only providing stimulation. By providing sensory reaction back to system, we hope to improve compliance and performance of the system.

Fig 2D:  Brief layout of how the various systems would interact with each other

Biofeedback & Mental State assesment:

Biofeedback is a technique which uses provides a person awareness on immediate and continuing signals due to a bodily function that the user is not usually conscious of. Biofeedback techniques are well known to facilitate treatment for a wide variety of disorders with a psychosomatic symptoms...

Read more »

NeuroCuddl.apk

Our first version of the game

package-archive - 40.14 MB - 08/26/2018 at 07:28

Download

NeuroCuddl_v1.ino

Teensy 3.2 fw for interfacing the various elements of NeuroCuddl with the game over bluetooth

ino - 3.39 kB - 08/26/2018 at 07:28

Download

NeuroCuddl_MLX90632.brd

An ultra compact breakout for the MLX90632 sensor for our respiration sensing efforts.

brd - 45.96 kB - 08/22/2018 at 04:10

Download

JPEG Image - 69.28 kB - 04/22/2018 at 11:32

Preview
Download

  • 1 × Mobile VR Headset Any mobile compatible VR headset with/without headphones
  • 1 × Smartphone Any smartphone of 4.7-5.5inch with minimum 3GB RAM
  • 2 × VOM1271 Isolated Mosfet
  • 4 × LH1546ADF Optocoupler (SMD)
  • 4 × Crimp pin connector

View all 17 components

  • Video Log 1

    Varun Suresh08/26/2018 at 01:42 0 comments

    Hi, We have published a video detailing the various aspects of respiration sensing and the importance of sensing breathing in NeuroCuddl. Please have a watch and provide feedback.

  • Game design log 1

    Vignesh Ravichandran08/25/2018 at 20:47 0 comments

    In this log we will give some understand about the game design and a sneak peek into the current game for mindfulness training. We will also get some looks into visuals and design elements of the game. This log contains only small amount of hardware content compared to our earlier logs and delves more into aspects of design from a VR game POV.

                                                                   NeuroCuddl unity game development

    The primary reason we wanted to build NeuroCuddl was born from what we found lacking in traditional relaxation themed games. Games surprisingly provide a good medium to relax primarily due to the detachment we get from from stresses and strains of everyday life. Virtual reality in particular has a unique position to provide an extremely high degree of immersion. While designing the game we looked for experiences that would give us similar effects. 

    First game we found inspiring from an art and music perspective was Journey:

                                                                                         Journey on PS

    We next looked at games like The Long Dark which had a minimalist art style yet was highly immersive and we could clock hours both fearing and in awe of the cold Artic wilderness. 
    In virtual reality experiences we looked at games like LUMEN VR which provided a serene experience of glowing trees under an aurora. We even took a look at a highly simple mobile game called Pause, where the user has to slowly focus on follow a growing bubble across the screen.

                                                                                 Pause Application

    We analyzed the above games to understand some design rules and constraints to keep in mind while developing our NeuroCuddl experience. The factors we found be crucial were:

    1. The game need not be graphically intensive, Infact many successful relaxation games are minimal

    2. The game must be very simple to use and need only minimal user agency in setup

    3. Audio plays a key role in engaging the user in such a session

    4. The color tones and temperature play a key role too 

    A need hence emerges, to create an environment in which, the stimuli and the being can interact in a controlled manner. In order to make the experience multisensory, it was vital that we marry visuals, sounds and touch into a single experience. It was therefore no surprise that we chose to use VR as the medium to create our project. We decided early on that the project would be implemented on mobile devices. This meant, that we had to be overcome technical limitations creatively. We knew we had to push our game design in such a way that we could provide a beautiful aesthetic despite having limited graphical fidelity. The challenges of providing a multisensory experience within the limitations of a cheap mobile device was evident from the get go. We were fully aware that if we bogged down our game with high poly models and complex shaders we would introduce lag to the point that the immersion in our game would be shattered. We decided to hence to adopt a design style that would be visually pleasing whilst still maintaining a low load. 

    The application had to serve as a platform for other senses to take center stage and allow that user to project their inner emotions. We wanted to make an environment that could be easily moulded to the incorporate the psyche of the user....

    Read more »

  • Electrical stimulation based Haptics

    Vignesh Ravichandran08/23/2018 at 16:39 0 comments

    In this log we will give an introduction into muscle stimulation and about our Electrical stimulationbased haptic setup. We will also look at our haptic system in action in a short video.

    What is transcutaneous electrical nerve stimulation and how does it work?

    Electrical stimulation (E-Stim) refers to the application of electrical current to muscles or nerves in order to achieve functional and therapeutic goals. It has been extensively used in various clinical settings. Electrical muscle stimulation (EMS) is the process of providing electrical impulses using a signal generator to cause muscles to contract. using electrodes The muscles naturally contract in response to electrical signals from the EMS impulse similar to how they would contract some an input from the brain. EMS devices have been used in physiotherapy and rehab medicine since the 1960s to regenerate lost motor functions.  EMS is now used in fitness training, wellness applications, medical applications, and even in HCI design applications. The other primary electrotherapy systems like Transcutaneous electrical nerve stimulation (TENS) uses a very similar setup to instead stimulate nerve endings to provide pain relief.  TENS units primarily provide pain relief by exciting sensory nerves and thereby stimulating either the pain gate mechanism and/or the opioid system. TENS as a treatment technique is non invasive and has few side effects when compared with drug therapy.

    The TENS machine will deliver discrete ‘pulses’ of electrical energy, at a pulse rate or frequency that may be varied from about 1 or 2 Hz up to 200Hz. To be clinically effective, it is suggested that the TENS machine should cover a range from about 2 – 150Hz. The other important factor for TENS units is pulse width or the duration for each pulsation. Intensity of the pulsation too is another important key factor for TENS units. 

                                                                The various factors in a TENS unit

    Consumer TENS devices typically have presets modes wherein they have different combinations of pulse intensity, time duration and frequency. By carefully managing the profile of the TENS unit's stimulation we can provide both muscle and nerve stimulation. 

    Note on safety:

    A key point to note at this juncture is that we aim to provide electro stimulation for the muscle bundles and proximate nerves and not Neruostimulation (Neurostimulation is still in early research stage and requires extensive supervision by experts).  To ensure safety of the user we decided early in our design against generating our own TENS pulsations. We instead chose the approach of modulating the output of a FDA certified TENS unit instead using safe switching. 


    Reference works and must read work:

    Much of our work in electrostimulation devices was inspired by the amazing work by 

    Max Pfeiffer's amazing work with EMS based haptic feedback and Pedro Lopes's work with the OpenEMSStim. Their solutions involve a similar setup of using a clinical TENS/EMS as a source for pulsations and switching it on and off with a digital switch (Relay/MOSFET).  The inspiration for linking breathing and TENS came from a study conducted by Dr. Shen Li wherein he designed a system to deliver a pulsed electrical stimulus to a target area when voluntary inspiration reaches the threshold. His system, BreEStim integrates intrinsic physiological interactions which get activated during voluntary breathing, his method has shown stellar results and increased patient compliance. Further we were inspired by studies using TENS for alleviating mental stress through soothing stimulations. 

    ... Read more »

  • Thermal Haptic stimulation

    Vignesh Ravichandran08/21/2018 at 17:23 0 comments

    In this log we aim to give some basic understanding about our peltier based thermal haptic setup and cover basics of peltier elements too. As a bonus, We will share some lovely thermal camera footage of our peltier elements in action.

                                    Final version of Haptic Feedback Unit

    What are peltier and how do they work?

    Peltier elements or Thermoelectric Coolers are electronic devices which are essentially solid state heat pumps. When a voltage is applied across the peltier element, the peltier begins to transfer heat from one end to the other end creating a temperature difference between the two sides. The inverse property can be used where in a difference in temperature is used to generate power, this configuration is a called a thermoelectric generator. 

                                                                         Peltier effect operation

    The Peltier assembly consists of alternate p & n type elements connected together by a solid copper plate housed by a ceramic material. Cooling occurs when a current passes through one or more pairs of elements from n- to p-type; there is a decrease in temperature at the junction ("cold side"), resulting in the absorption of heat from the environment. The heat is carried along the elements by electron transport and released on the opposite ("hot") side as the electrons move from a high- to low-energy state. A peltier element will can easily produce a large temperature difference of over 40°C between its hot and cold sides. However the more heat that moved, the less efficient it becomes. This is due to the peltier having to dissipate both the heat being moved and the heat it generates itself from its own power consumption. The peltier elements can be driven through using either constant voltage drivers or using motor drivers.

    Peltier elements are widely used for various applications where accurate temperature control is required. They are used places like Insulin storage boxes to laser diode cooling elements. 

    Our Peltier system design 

    We started by looking for low power (<2A) & compact(<20mm) peltier elements, this however was not as easy we hoped due to many peltiers we needed were far too large or drew too much current and we had to search quite bit till we found the peltier element to fit our needs.  The one we finally settled in on was the TES1-03102. This element had a 15*15 mm size and drew about 2.1A at 3.7V. 

                                                         The teeny TES1-03102 Peltier

    The cooling & heating effect was solid and we were able to get a quick response to changes in the current. We went with some existing guidelines of driving peltier elements using standard motor drivers like the LM293D but we found the driver to have issues driving two peltier elements. We then went on to use the DRV8835 dual channel motor driver to both power and control the peltier elements. The control scheme for the DRV8835 allows to easily reverse the direction of the peltier heat flow. This would allow to provide more smoother and enaging thermal haptics. One thing to note is that Peltier elements need a proper heatsink to function properly. We used these awesome looking copper heatsinks  that were originally used on memory chips and phone SOC's. 

                                  Picture of the NeuroCuddl neck band with the old Peltier heatsinks
           ...
    Read more »

  • Design Choices and Form Factor Ideas

    Vignesh Ravichandran08/19/2018 at 16:53 0 comments

    In the previous logs we talked about the problem statement in general and about technical aspects of breathing sensing technology. I wanted to use this build log to document the various design decisions we had to make and the core rationale behind the approaches we are taking.
    Our goal with NeuroCuddl is to build a wearable VR system that combines of breath sensing and audiovisual, thermal, vibrotactile and muscle stimulation haptics. Through these sensors and haptics we aim to deliver a VR experience that would provide users with an immersive and blissful mindfulness training session.

    While designing NeuroCuddl we have to ensure a balance in design between functionality and user comfort while remaining compact. The design should ensure proper biofeedback stimuli is delivered while being unobtrusive to the user during usage. User immersion during regular VR activity should be unaffected. The first decision along the process was to decide between NeuroCuddl being developed as either a desktop VR accessory or a mobile based VR accessory. Due financial constraints at this moment we are unable to purchase a desktop VR headset like Vive or Oculus Rift. 
    This alone however is not the main reason for us not building for desktop VR headsets at this moment, our decision was driven by the amazing growth of mobile VR with Google's daydream to Samsung GearVR to Oculus Go. This we envision as being the first point of contact for average consumers to the amazing world of VR. With better mobile processors like Snapdragon XR and more inexpensive displays and the dawn of Augumented Reality headsets we see this space as being highly interesting to explore through the use of an accessory to extend haptic feedback and physiological sensing. We thus chose a route of building battery powered wearable accessory for mobile VR headsets. 

    Existing research in the use of haptics for VR have explored various sites for thermal haptics and found that a significant amount of people preferred the neck as a site for thermal stimulation. Further the commonly reported pain point in people with work stress is in the upper back muscles. Thus making the ideal location to wear NeuroCuddl be in the neck. We thus envision NeuroCuddl being a neck worn wearable VR accessory that can provide multimodal stimulation.

    NeuroCuddl system should be designed to require only minimal modification to any compatible mobile based VR headset. The neck worn wearable have to have an appropriate coupling mechanism to adhere to the neck and ensure appropriate weight distribution. Further the system would need to be highly intuitive for a stressed user to use and require only minor user engagement to set up.  The respiration sensor too would have to be housed away from the nose while still being able to sense the breathing parameters. Here is the design we hope to accomplish.

    Below image shows the conceptual design of the neckband for sensing and feedback..


  • Designing and Testing a noncontact temperature breathing sensor

    Vignesh Ravichandran08/19/2018 at 15:51 0 comments

    In this log I want to expand on what I posted last time regarding regarding breathing sensing. While I documented most methods available and the ones we tried, I want to talk here about our trials and tribulations in building our respiration sensor using a noncontact temperature sensor. 


    We started off by using a standard MLX90614 noncontact temperature sensor which gave us good initial results. 


    The sensor was reliable but a bit large for it's functionality. Melexsis, the company which makes these amazing sensors had a very compact SMD sensor (MLX90632) as a replacement to the MLX90614. This sensor according to their material is meant to be used in even high accuracy applications and offers 0.1 Celcius resolution and increased reliability. This sensor like it's bigger brother talked over the I2C bus.

    Sparkfun used to make a handy breakout board for it too for people are interested. The size and accuracy made us choose this sensor to use in our project. We quickly made an equally teeny breakout board for this sensor with 0.1" headers.

    After a quick order on oshpark, we got the first board of this project.

    We got to assembling this sensor using my hot air gun using some solder paste.

    Despite having some issues originally in getting the solder under the sensor to reflow a bit of kapton and preheating the board solved the problems. 

    For testing I had this setup with the sparkfun library for MLX90632 and used the serial plotter tool to check how this sensor stacks up.  Further to remove any issues due to environmental factors I normalize each value of temperature with the IC temperature to pick up only external changes that I was interested in.

    While sensor is able to get the trends the sampling rate was a bit too low (2Hz) even though a fast mode exists in the documentation there is no reference to register values for enabling this. For starters this result looks good but there warrants an exploration into various noncontact sensors.


    Next build log we'll talk about some Initial sketches and design constraints, form factor requirements of NeuroCuddl.

    Anyways, Happy Hacking folks.

  • Approaches to sense breathing

    Vignesh Ravichandran08/19/2018 at 12:21 0 comments

    In this log we aim to cover the importance of sensing breathing and the various ways we can go about and finally the way we have chosen.

    Importance of Breathing in mental health:

    Respiration has been studied and is used across different time periods and culture to improving health and well being. Pranayama is a breathing exercise followed by practitioners of yoga that originated in ancient India that is a core inspiration behind the project. Zen breathing techniques practiced by Buddhist monks in various asian countries from China to Japan is also a key influence in our work. It is all centered on deepening one's own breathing to enhance mental well being. Several breathing control technique have been used in increasing amounts to prompt self awareness and purge stress. We can even observe the link between emotion regulation and breathing  through common expressions like 'breathtaking' to express suprise to “sigh” to show relief, these feelings transcends cultures and is common across all humans.

    Studies have shown that a breathing rate of about 5 to 7 breaths per minute to be of particular merit to alleviate stress. While breathing rate is a good metric for assessing overall stress levels other factors like breathing depth, inspiration time, exhalation time were found to have significant effects in brain function and emotion regulation. 

    Breathing as an Input:

    While many wearables and other devices to promote mindfulness use other physiological parameters like electrodermal activity, heart rate variability or EEG. We think the simple nature of breathing along with our unique ability to control and modulate or breathing makes it as a prime candidate to monitor through the NeuroCuddl system. We are looking to add more sensors (Brain activity:fNIRS & Heart Rate) in this soon but we want to make first revision as minimalist as possible.
    This should give some rationale into the importance of monitoring breathing in our usecase.

    Modalities to measure Breathing:

    The sensors to measure breathing broadly follow two camps 
    1. Contact based sensors & Wearables
    2. Noncontact sensors

    1. Contact based sensors
    In contact based sensors we have Respiration Impedance Plethysmography which uses active electrodes to measure changes in bioimpedence caused during inhalation and exhalation. These methods while being highly accurate are complex and expensive.  Another common contact based sensing techniques is the use of respiration effort belts, We were working on a project earlier called ADITI where we made our own respiration band using peizoresistive fabric sensors. 

    Piezoresistive respirational effort sensor

                                                                  Piezoresistive respirational effort sensor

    While this approach gave us fantastic results we understand design constraints which come in when integrating this with a VR headset system. This approach still is open though and we would like your feedback on this matter. A similar approach involves using either an accelerometer or IMU to measure breathing.  The standard of care for monitoring respiration in patients is through the use of nasal airflow sensors which can either look at pressure based flowmetry or use a nasal thermistor both of which are often very uncomfortable for monitoring respiration outside a hospital bed setting.
    Another interesting method we were exploring to measure breathing involved using piezofilm based sensors to measure acoustic emissions in the neck during the breathing process. We tried this method by using a CM-01b contact microphone coupled to the neck. Due to  some design issues in coupling the sensor to the skin we were unable to get any decent results. Just as we tried to give up a friend informed me about the Masimo RAS acoustic respiration...

    Read more »

  • Problem Statement

    Vignesh Ravichandran04/22/2018 at 18:05 0 comments

    This idea was one of necessity more than anything. I found myself often stressed at work and quite short tempered at my home after returning from work.Sleep was scarce and "quality" sleep was nonexistent. My usual stress relief routine had consisted of listening to instrumental music and later playing some abstract games but they too did not have huge impact. It was while playing Subnautica A minimalist atmospheric exploration game set in an alien ocean on a friend's Oculus I finally felt a bit at ease. Despite it being a temporary effect I was able to clear things up in my head. Varun had also been using a TENS (transcutaneous electrical nerve stimulation) unit for his recent back pains and he was also working on making a custom muscle stimulation based on the OpenEMSStim project. Through our discussion we got to realize the immense potential a VR based relaxation system would have through use of biomedical sensing and muscle stimulation. Through some initial literature survey and research we came to understand basic mechanisms of biofeedback for stress and anxiety relief. We came to learn of approaches using respiration based biofeedback for relaxation training and another approach using Audio-Visual stimulation to provide deep relaxation and mindfulness. The audio-visual stimulation devices also known as Mind Machines had used a combinations of high frequency LED blinks along with auditory stimulli to constantly evoke sensory potentials resulting in a kind of resonant effect. It was further found that with low frequency visual stimulation resulted in effective biofeedback mechanisms. Combinations of these two powerful techniques along with muscle stimulation was the  initial goal of NeuroCuddl. 

     Far too often pseudoscientific and vague therapeutic methods marketed to people suffering from mental ailments and there is no reliable metric that comes along with those methods which allow users to gauge their mental state. Zen based relaxation techniques and other eastern approaches to relaxation are hindered by lack of access to a proper trainer to provide feedback in home sessions. Our goal with NeuroCuddl is to create an open platform that can use validated and data backed approaches to aid themselves and be customizable to serve them better.

    With a reliable base platform and support for expansion we believe the community can develop “experiences” or adding other sensors(Perhaps a RADAR based non-contact respiration sensor) or actuators(Heating pads mayhap?).

View all 8 project logs

Enjoy this project?

Share

Discussions

Ron Smith wrote 10/21/2020 at 15:32 point

Wow, this is an interesting decision. Can I repost your post on https://trustsession.com/? This is a site with various works and articles about mental health. I think our community will be so excited about that.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates