05-07-2011 02:45 PM - edited 05-07-2011 02:45 PM
Re eeg, conductance, and respiratory rate:
Skin conductance: I assume you have a circuit already in mind to do this, wihich produces a voltage which is proportional to skin conductance. If so, I suggest you low-pass filter the signal (1 Hz cutoff probably fine, since this is a signal that doesn't change quickly). In general, lower conductance = sweatier skin = more activation of the sympathetic division of the autonomic nervous system.
EEG: never measured one. Conclusions about emotional state from EEG seems challenging at best to me, but I'm sure you have or will read up on this.
Respiratory rate:
Typically measured with a strain gage transducer in an elastic band placed around the chest. The strain gage is one arm of a Wheatstone bridge and a voltage is produced which is proportional to chest circumference. A peak-finding algorithm similar in concept to what you use for ECG can be used to find the number of peaks in a given time, and from that compute the respiratory rate.
Yes you will have to store some values of "normal" for each of th measured quantities. Those values can be settable by the user via front panel controls, or can be hard-wired as constants on the block diagram.
You will have to decide how to combine the results of the four measurements, and whether you want a binary or more graded type of "output". A binary output would be "excited" or "bored/relaxed" and could be done by soeme boolean logic: if 3 out of 4 measurements exceed some threshold, then the subject is excited. Use the elents on the boolean palette for this.
A physiologist would be skeptical about this entire enterprise (since the sympathtic and parasympathetic nervous systems are continually responding to a whole range of stimuli) , but it is still a nice student project if you don't take the results too seriously.
05-08-2011 01:54 PM
well i would just say thanks a tonne.seriously you cleared all my doubts about how to sum up all 4 bodysignals and work on them..yess my project partners have created all the hardware for all 4 signals.i will now work on what you told me.have my fingers crossed..hope my project works.atleast few signals if not al.
thnx again
05-11-2011 05:26 AM
hellloo..
i have send this attachment.i am having problems in connecting the output of the comparator to the AND gate.there is some mismatch.could anyone help me pls..its urgent
05-11-2011 05:40 AM
Please post your code sanaaa 😉 As you may understand we can not debug a picture, and certainly not a fuzzy cell phone picture
05-11-2011 05:41 AM - edited 05-11-2011 05:42 AM
Hi,
The Image is not very clear. Attaching your code or the respective part of it would be easier to debug.
Regards,
Nitzz
(Kudos are always Welcome;))
05-11-2011 10:40 AM
ok.herez the code.when i connect the first input of the each comparator to the DAQ assistant & run this code i dont get any result.there are no errors.But there is no display on the front panel as well..i am not able to figure out the problem.can you please check whats wrong.the result shoud be a lighted LED on the front panel depending on H.R.
thnxx!!!
05-11-2011 10:46 AM
It will update the indicators if you change that Boolean constant.
05-11-2011 11:35 AM
i didnt get your point :-S
05-11-2011 12:17 PM
Extremely basic. You have a False constant on the block diagram wired to the case statement. All of your code is all in the true case so obviously, nothing will run.
05-12-2011 12:28 PM
thnx.im done with ecg and processing.i now will start on eeg.does anyone know what filters to use for eeg signal to make it clear.after i acquire the signals i want to do excatly like i did for ecg.to detect emotions using comparators and AND gate.my question is how will i acheive that for eeg signal?