Homework 2 / Κατ Οίκον Εργασία 2 2016 Name/Όνομα: Date/Ημερ.: You may need some (or none) of the following equations/constants Μπορεί να χρειαστείτε κάποιες (ή καμία) από τις πιο κάτω εξισώσεις/σταθερές C P A Q MW X RT Co RT Co 61.54mV Co E ln 2.303 log log (at T=37 zf C zf C z C o C) E E m i i i P [ C ] o [ ] C P A A i [ ] i [ ] C A o RT ln F P C P A g E g E g E k k Na Na Cl Cl g g g K Na Cl g E g E g E dv E I R C R k k Na Na Cl Cl m m m m gk gna gcl dt m Im gk Ek gnaena gclecl Cm dt r r m i V 0 g g g K Na Cl x V e dv R: Σταθερά αερίων (gas constant) = 8.314472 (Volts Coulomb)/(Kelvin mol) F: Σταθερά Faraday = 96 485.3383 (Coulomb)/(mol) z: Σθένος (Valence) T: Απόλυτη Θερμοκρασία (absolute temperature) = 273.16 + o C (Kelvin)
Laplace Transform Pairs
Laplace Transform Properties
Multiple Choice Questions (15 x 2 = 30 pts) Ερωτήσεις Πολλαπλής Επιλογής (15 x 2 = 30 μ.) 1. In the heart cycle, the atria must contract before the ventricles to assure Στο καρδιακό κύκλο, οι κόλποι πρέπει να πάθουν σύσπαση πριν από τις κοιλίες ώστε A. Complete emptying of the atria Να αδειάσουν εντελώς οι κόλποι B. Complete filling of the ventricles Να γεμίσουν εντελώς οι κοιλίες C. Reduced return of blood back towards the veins Να μειωθεί η επιστροφή αίματος πίσω προς τις φλέβες D. Increased supply to the coronary arteries Να αυξηθεί η παροχή στις στεφανιαίες αρτηρίες 2. The blood reaches the lungs from Στους πνεύμονες το αίμα φτάνει από A. The right ventricle / Την δεξιά κοιλία B. The left atrium / Τον αριστερό κόλπο C. The left ventricle / Την αριστερή κοιλία D. The right atrium / Τον δεξιό κόλπο 3. What is the meaning of an ion's equilibrium potential? Choose the correct option. Τι σημαίνει δυναμικό ισορροπίας ενός ιόντος; Επιλέξετε το σωστό A. Electrical potential difference that exactly balances an ionic concentration gradient Διαφορά δυναμικού η οποία εξισορροπεί ακριβών την διαφορά συγκέντρωσης του ιόντος B. Difference between the real membrane potential and equilibrium potential for a particular ion Η διαφορά μεταξύ του πραγματικού δυναμικού μεμβράνης και του δυναμικού ισορροπίας ενός ιόντος C. Difference in concentration between region with high ionic concentration and region with low ionic concentration Διαφορά συγκέντρωσης μεταξύ μια περιοχής με ψηλή συγκέντρωση ιόντων και μιας με χαμηλή συγκέντρωση D. Net movement of ions from a region of high concentration to a region of low concentration Μέση μετακίνηση ιόντων από μια περιοχή με ψηλή συγκέντρωση σε περιοχή με χαμηλή συγκέντρωση 4. How do action potentials differ from passively conducted electrical signals? Choose the correct option. Πώς διαφέρουν τα δυναμικά ενεργείας από τα βαθμιδωτά δυναμικά; Επιλέξετε το σωστό A. Action potentials diminish over distance; passively conducted signals do not diminish over distance Η ένταση των ΔΕ μειώνεται με την απόσταση, των βαθμιδωτών όχι B. Action potentials occur only in nerve cells; passively conducted signals occur only in muscle cells ΔΕ βρίσκουμε μόνο σε νευρώνες, βαθμιδωτά μόνο σε μύες C. Action potentials are transmitted over short distances; passively conducted signals are conducted over long distances Τα ΔΕ μεταδίδονται σε μικρές αποστάσεις, τα βαθμιδωτά σε μεγάλες D. Action potentials are signals of fixed size and duration; passively conducted signals are not signals of fixed size and duration Τα ΔΕ είναι σήματα με καθορισμένο πλάτος και διάρκεια, τα βαθμιδωτά όχι
5. Some students are afraid of talking in public. When in front of an audience they feel their heart rate increasing and they start sweating. The part of the nervous system that is responsible for these symptoms is Κάποιο φοιτητές φοβούνται τις δημόσιες ομιλίες. Όταν βρίσκονται μπροστά από κοινό νοιώθουν τον ρυθμό της καρδιάς τους να αυξάνεται και αρχίζουν να ιδρώνουν. Το μέρος του νευρικού συστήματος που είναι υπεύθυνο για αυτά τα συμπτώματα είναι A. The sympathetic nervous system / Το συμπαθητικό νευρικό σύστημα B. The parasympathetic nervous system / Το παρασυμπαθητικό νευρικό σύστημα C. The prefrontal lobe / Ο προμετωπιαίος λοβός D. The motor cortex / Ο κινητικός φλοιός 6. The electrocardiogram of a patient who had a myocardial infarction τwo years before, will show Ένα ηλεκτροκαρδιογράφημα σε ασθενή ο οποίος έπαθε έμφραγμα δύο χρόνια πριν, θα δείξει A. An elevated ST segment / Ανυψωμένο τμήμα ST B. An inverted T peak / Ανάστροφη κορυφή T C. A prolonged QRS segment / Παρατεταμένο τμήμα QRS D. No abnormalities / Καμία ανωμαλία 7. Based on the following diagram and knowing that the anomaly in the electrocardiogram is stronger in leads V1, V2, and avf, we can conclude that the region of the infarction is (with respect to the patient Με βάση το πιο κάτω σχήμα και γνωρίζοντας ότι η ανωμαλία στο ηλεκτροκαρδιογράφημα είναι πιο έντονη στις απαγωγές V1, V2 και avf τότε μπορούμε να συμπεράνουμε ότι η περιοχή του εμφράγματος βρίσκεται (σε σχέση με τον ασθενή) Δεξί Χέρι I avr avl V 1 V 6 II III avf Αριστερό Χέρι A. Upper left / Πάνω αριστερά B. Lower right / Κάτω δεξιά C. Lower left / Κάτω αριστερά D. Upper right / Πάνω δεξιά Δεξί Πόδι Αριστερό Πόδι 8. What is the meaning of an ion's equilibrium potential? Choose the correct option. Τι σημαίνει δυναμικό ισορροπίας ενός ιόντος; Επιλέξετε το σωστό A. Electrical potential difference that exactly balances an ionic concentration gradient Διαφορά δυναμικού η οποία εξισορροπεί ακριβών την διαφορά συγκέντρωσης του ιόντος B. Difference between the real membrane potential and equilibrium potential for a particular ion Η διαφορά μεταξύ του πραγματικού δυναμικού μεμβράνης και του δυναμικού ισορροπίας ενός ιόντος C. Difference in concentration between region with high ionic concentration and region with low ionic concentration Διαφορά συγκέντρωσης μεταξύ μια περιοχής με ψηλή συγκέντρωση ιόντων και μιας με χαμηλή συγκέντρωση D. Net movement of ions from a region of high concentration to a region of low concentration Μέση μετακίνηση ιόντων από μια περιοχή με ψηλή συγκέντρωση σε περιοχή με χαμηλή συγκέντρωση
9. When recording an electroencephalogram (EEG), the patient is most often asked not to move. That is to avoid Κατά την καταγραφή ηλεκτροεγκεφαλογραφήματος (ΗΕΓ), συνήθως ζητείται από τον ασθενή να μην κινείται. Αυτό γίνεται προς αποφυγή A. Recording signals from the motor cortex Καταγραφής σημάτων από τον κινητικό φλοιό B. Recording signals from the muscles of the extremities Καταγραφή σημάτων από τους μύες των άκρων C. Artifact caused from the motion of the electrodes Τεχνηκά σφάλματα από την κίνηση των ηλεκτροδίων D. Alterations of the EEG by patient agitation Αλλαγές στο ΗΕΓ λόγω ανησυχίας του ασθενούς 10. During an epileptic crisis the waves in the electroencephalogram are Κατά την διάρκεια επιληπτικών κρίσεων τα κύματα στο ηλεκτροεγκεφαλογράφημα είναι A. Sharp and small / Αιχμηρά και μικρά B. Smooth and small / Ομαλά και μικρά C. Sharp and large / Αιχμηρά και μεγάλα D. Smooth and large / Ομαλά και μεγάλα 11. The measurements of the same 15 V voltage by different instruments are shown below. Which has the best precision? Οι μετρήσεις μιας τάσης 15 V από διαφορετικά μηχανήματα φαίνονται πιο κάτω. Ποιο μηχάνημα διαθέτει την καλύτερη ακρίβεια; A. 13.5, 13.8, 13.0, 13.2, 13.5. B. 14.5, 14.8, 15.0, 15.2, 15.5. C. 14.553, 14.825, 15.012, 15.213, 15.553. D. 15.8 15.9, 16.0, 16.1, 16.2 12. Which of the following statements concerning negative feedback is INCORRECT? Ποιο από τα πιο κάτω που αφορούν την αρνητική ανάδραση είναι ΛΑΝΘΑΣΜΕΝΟ; A. Negative feedback exists when a change in a regulated variable triggers a response that opposes the change. Αρνητική ανάδραση υπάρχει όταν μια αλλαγή σε μια ελεγχόμενη παράμετρο προκαλεί μια απόκριση που αντιτίθεται στην αλλαγή. B. Negative feedback exists when the input to a system increases the output and the output limits its own production by inhibiting the input. Αρνητική ανάδραση υπάρχει όταν η είσοδος στο σύστημα αυξάνει την έξοδο και η έξοδος περιορίζει τη δική της αύξηση με αναστολή της εισόδου. C. With negative feedback, a control system's input and output continue to enhance each other. Με αρνητική ανάδραση, η είσοδος και η έξοδος ενός συστήματος ελέγχου συνεχίζουν να ενισχύουν το ένα το άλλο D. Most of the body's homeostatic control mechanisms operate on the principle of negative feedback. Οι περισσότερη ομοιοστατικοί μηχανισμοί του σώματος λειτουργούν με βάση την αρχή της αρνητικής ανάδρασης. 13. In the following circuit, the output voltage (v o ) can be increased by Στο πιο κάτω κύκλωμα, η τάση εξόδου (v o ) μπορεί να αυξηθεί με
A. Increasing R 1 Αύξηση της R 1 B. Increasing R 2 Αύξηση της R 2 C. Increasing R L Αύξηση της R L D. Reducing R L Μείωση της R L 14. Averaging the brain signals can improve the accuracy of a brain computer interface. Which of the following signals can be averaged? Παίρνοντας τον μέσο όρο των εγκεφαλικών σημάτων μπορούμε να βελτιώσουμε την ορθότητα μιας διεπαφής εγκεφάλου υπολογιστή. Από ποιο από τα πιο κάτω σήματα μπορούμε να πάρουμε το μέσο όρο; A. Signals from the auditory cortex corresponding to a beeping sound Σήματα από τον ακουστικό φλοιό που αντιστοιχούν σε διαδοχικούς ήχους μπίπ B. Signals from the visual cortex in a bright room Σήματα από τον οπτικό φλοιό σε ένα φωτεινό δωμάτιο C. Signals for the motor cortex while the arm is electrically stimulated Σήματα από τον κινητικό φλοιό ενώ το χέρι διεγείρεται ηλεκτρικά D. Signals corresponding to moving a visual target Σήματα τα οποία αντιστοιχούν σε ένα κινούμενο στόχο 15. The P300 potentials often used in BCIs are Τα δυναμικά P300 που συχνά χρησιμοποιούνται σε ΔΕΥ είναι A. evoked potential with and amplitude of about 300 μv προκλητά δυναμικά με πλάτος περίπου 300 μv B. slow potentials with and amplitude of about 300 μv αργά δυναμικά με πλάτος περίπου 300 μv C. evoked potentials which appear 300 msecs after stimulation προκλητά δυναμικά που παρουσιάζονται 300 msec μετά το ερέθισμα D. slow potentials which appear 300 msecs after stimulation αργά δυναμικά που παρουσιάζονται 300 msec μετά το ερέθισμα
Short Answer Questions (70 pts) Ερωτήσεις με σύντομες απαντήσεις (70 μ.) 1. A bacterium recently discovered in the clouds of Jupiter (T= -120 o C) has the extra- and intracellular ion concentrations and relative permeabilities shown in the table below. a. When the membrane is at rest, is there flow of ions through its membrane? Which ions flow and which do not? b. How might the concentration gradient be maintained for the ions that do flow at rest? Ένα βακτήριο που ανακαλύφθηκε πρόσφατα στα σύννεφα του Δία (Τ = -120 o C) έχει τις εξω- και ενδο-κυτταρικές συγκεντρώσεις ιόντων και τις σχετικές περατότητες που φαίνονται στον παρακάτω πίνακα. a. Με τη μεμβράνη σε κατάσταση ηρεμίας, υπάρχει ροή ιόντων διαμέσου της μεμβράνης του; Ποια ιόντα ρέουν και ποια όχι; b. Πώς μπορεί να διατηρείται η διαφορά συγκέντρωσης για τα ιόντα που ρέουν σε κατάσταση ηρεμίας; Ion Ιόν Extracel. Concentr. Εξωκυτ. Συγκ. (mosm) Intracel. Concentr. Ενδοκυτ. Συγκ. (mosm) Relav. Perm. Σχετικ.Περατ. Rb+ 20 120 1 Cs+ 139 2.5 40 Br- 4 100 1
2. Action Potentials / Δυναμικά Ενεργείας a. Suppose you are recording action potentials from a neuron. How would the action potential be affected if you remove Na+ from the external medium? What if you remove external K+ instead? Explain why. Υποθέστε ότι καταγράφετε δυναμικά ενεργείας από ένα νευρώνα. Πως θα επηρεαστούν τα δυναμικά ενεργείας αν αφαιρέσετε το Na+ από το εξωτκυτταρικό υγρό; Τι θα γίνει αν αντ αυτού αφαιρέσετε το K+; Εξηγήστε γιατί. b. Does the Na+/K+ pump make a major contribution to a neuron s resting potential? Explain. Έχει κάποια μεγάλη συνεισφορά η αντλία Na+/K+ στη διαμόρφωση του δυναμικού ηρεμίας ενός νευρώνα; Εξηγήστε.
3. The following is an electrocardiogram (ECG) exhibiting several forms of noise or artifacts. a. Describe at least 2 forms of noise or artifact that are visible on this signal. Indicate where each noise occurs on the figure and explain where it might be coming from. b. For each of the above types of noise or artifact, explain how you could reduce its effect both with hardware changes and circuit. c. Show the basic circuits you could use to remove the 2 types of noise/artifacts (do not calculate specific component values just show the circuit). Το παρακάτω είναι ένα ηλεκτροκαρδιογράφημα (ΗΚΓ) που παρουσιάζει διάφορες μορφές θορύβου ή τεχνικών σφαλμάτων. a. Περιγράψτε τουλάχιστον 2 μορφές θορύβου ή τεχνικών σφαλμάτων που είναι ορατά σε αυτό το σήμα. Δείξετε που εμφανίζεται ο κάθε θόρυβος στην εικόνα και εξηγείστε από πού θα μπορούσε να προέρχεται. b. Για κάθε έναν από τους παραπάνω τύπους θορύβου ή τεχνικών σφαλμάτων, εξηγήστε πώς θα μπορούσε να μειωθεί η επίδραση τους τόσο με αλλαγές του υλικού όσο και του κυκλώματος. c. Δείξτε τα βασικά κυκλώματα που μπορείτε να χρησιμοποιήσετε για να αφαιρέσετε τους 2 θορύβους / τεχνικά σφάλματα (δεν χρειάζεται να υπολογίσετε συγκεκριμένες τιμές των στοιχείων, απλά δείξτε το κύκλωμα).
4. The government of the Republic of Pattichia has hired you to contact some experiments on newly discovered mutated worms from the area of their fuel depot. You are assigned the task to design a circuit for measuring the potential form the movement of the worm. The table below lists the characteristics of the wormogram. It also lists some sources of noise such as voltage drift, line noise, and high frequency electronic noise. Your circuit must result in a version of the signal that is as clean as possible without significantly altering the signal and amplitude of ±1V. However, since the economic crisis has hit the Republic of Pattichia hard, you are ask to use at most two opamp in your design. Show the circuit, the values of each component, and all relevant calculations. Η κυβέρνηση της Δημοκρατίας της Παττιχίας σας έχει προσλάβει για να διενεργήσετε κάποια πειράματα σε ένα καινούργιο μεταλλαγμένο σκουλήκι από την περιοχή του τερματικού καυσίμων. Σαν αναθέτουν τη σχεδίαση ενός κυκλώματος για μέτρηση του δυναμικού από την κίνηση του σκουληκιού. Ο πίνακας πιο κάτω περιέχει τα χαρακτηριστικά του σκουληκογράματος. Περιέχει επίσης τις πηγές θορύβου όπως μεταβολή δυναμικού (drift), θόρυβος παροχής (line noise), και ηλεκτρονικός θόρυβος ψηλής συχνότητας. Το κύκλωμα σας πρέπει να έχει ως έξοδο ένα σήμα που να περιέχει όσο το δυνατό λιγότερο θόρυβο χωρίς να παραμορφώνει το σήμα και με πλάτος ±1V. Όμως, λόγω της οικονομικής κρίσης στην οποία έχει περιπέσει η Δημοκρατία της Παττιχίας, σας ζητούν να χρησιμοποιήσετε μόνο μέχρι και δύο τελεστικούς ενισχυτές στο σχέδιο σας. Δείξετε το κύκλωμα, τις τιμές για κάθε στοιχείο, και όλους τους σχετικούς υπολογισμούς. (10) Min Max Frequency range Potential (signal) -1 mv +1 mv 5-100 Hz Drift -1 mv +1 mv 1-2 Hz Line noise -5 mv +5 mv 50 Hz Electronic noise -0.5 mv +0.5 mv 200-1000 Hz
5. In the example of the typing system shown in class, the electroencephalogram (EEG) P300 evoked potential is used in a brain-computer interface (BCI) to identify the row and column corresponding to the letter which the user intends to write. Στο παράδειγμα του συστήματος πληκτρολόγησης που είδαμε στο μάθημα, τα προκλητά δυναμικά P300 του ηλεκτροεγκεφαλογραφήματος (ΗΕΓ) χρησιμοποιούνται σε διεπαφής υπολογιστή-εγκεφάλου (ΔΥΕ) για να αναγνωρίσουν τη γραμμή και τη στήλη που αντιστοιχεί στο γράμμα που ο χρήστης θέλει να γράψει. a. What is the stimulus that evokes the P300 potential? Ποιο είναι το ερέθισμα που προκαλεί το δυναμικό P300; b. Why does it take about 30 sec to type a letter? Γιατί χρειάζονται 30 sec για να πληκτρολογηθεί ένα γράμμα; c. What 3 disadvantages of EEG with regards to its use for BCIs? Ποια είναι 3 μειονεκτήματα του ΗΕΓ όσον αφορά στην χρήση του για ΔΥΕ;
6. What are the advantages of using evoked potentials versus signals directly from the motor cortex for BCIs? What are the disadvantages? Ποια είναι τα προτερήματα της χρήσης σημάτων από προκλητά δυναμικά σήματος αντί σημάτων απ ευθείας από τον κινητικό φλοιό για ΔΕΥ; Ποια τα μειονεκτήματα;
Matlab Assignment / Εργασία Matlab 2 2016 For each problem show the code you have used and the output as well as any additional calculations. If plots are required, show those as well. Also, throughout this course, you must always label your plot properly using Matlab commands title, xlabel, and ylabel. Please include all your Matlab codes and resulting figures in your submission. And, please also add your comments about the results. Don t submit only the figures and Matlab codes! For the following procedures please use the Matlab data file named ECG.mat which includes a sample of ECG (variable E) which was sampled with a sampling frequency of 1000 S/sec. ECG Filtering and Denoising 1. In the same figure window plot the original ECG signal (top) with the Power Spectral Density (PSD) of the signal. Use correct time scale (not number of points) for x axis of the first plot. Observe this graph and state what kinds of noise you can see on the ECG. Indicate on the PSD plot where are those types of noise occur. (Hint: use the spectrum and psd for this problem) 2. How would you filter the signal to remove the types of noise above? Filter each type sequentially and create, for each step, a figure which includes the filtered signal and its PSD as before. Select the filters so that the noise is removed as much as possible without distorting the shape of the signal. Indicate on the PSD plots where the filter has changed the PSD compared to the original. (Hint: use the butter and filter for this problem) R-peak detection 3. Use the included RFind.m function (which is based on the Pan-Tomkins algorithm) to detect the peaks on the original ECG signal and the denoised signal from the previous exercise. Include the generated plots with your results. What do you observe about the performance of the algorithm? ECG Artifacts 4. The signal E_art is the same signal as before with motion artifacts in the regions between 2-4 sec (A) and 6.5-7.5 sec (B). Plot the signal and its PSD in the same figure as before. In region B, the max values of the signal are flat at 7 mv. Why does that happen? 5. Filter the signal with the same settings as in part 2. Plot the signal and its PSD in the same figure as before. Has the artifact been removed? From the PSD plot, which frequencies does the artifact span? How can those be filtered? R-peak detection 6. Use the included RFind.m function (which is based on the Pan-Tomkins algorithm) to detect the peaks on the signal with artifact and the denoised version of the signal with artifact from the previous exercise. Include the generated plots with your results. What do you observe about the performance of the algorithm? How does it compare with the original signal without artifact?