程序代写案例-BMET3802

BMET3802 – Lab Project
Myoelectric signal acquisition, processing & analysis
Introduction
Abstract: A myoelectric sensor (a.k.a. electromyographi
c or EMG sensor) is a device that records and
transmits myoelectric signals (i.e. muscle tissue electrical activity), by interfacing with muscle tissue.
Myoelectric sensors are used as control inputs in assistive devices, such as prostheses, exoskeletons,
functional electrical stimulation and personal electronic devices. The electrodes in surface
myoelectric sensors (SMES) interface with the skin, forming an indirect interface with muscle.
Aim: Acquire, process and analyse myoelectric signals, to be used as an input to an assistive device.
The assistive device is theoretical – it is a controller for a video game.

Figure 1 - Schematic of a signal, analog processing, digital acquisition, processing and analysis. (Keep in mind, this is not a
great figure legend).
Individual/Group Work: You can collaborate in your group for ordering, installing software, queries,
troubleshooting, how to strip wire effectively, etc. You CANNOT take pictures of your breadboard,
Arduino or MATLAB code and share them around for your group/others to copy. This is considered
plagiarism. The draft lap report and final lab report are to be submitted as an individual assignment.
Individual assessment: There are several parts to your assessment. In each lab, we will be going over
concepts such as MATLAB simulations, MATLAB data acquisition, circuit building, testing, etc. None
of these labs are assessable, although they are key to learning and striving towards good marks.
There are two submissions – a draft report and a final report. Both are defined below, as well as
their marking rubrics.
SAFETY – PLEASE READ!
ONLY COLLECT DATA WITH A LAPTOP RUNNING ON BATTERY POWER for extra safety.
Do not use, when recording myoelectric signals:
1. AC wall charger
2. PC
Weekly Outline
Week Week starting In-class lab
Lab
assessments Other assessments Weighting
1 9-Aug
Lab Introduction, Group Members, Order
components.
Electrode basics. Arduino basics.
Project management tool

2 16-Aug EMG/Circuit Simulation, Processing &
Analysis (LTspice, MATLAB)

3 23-Aug
4 30-Aug
Circuit building (breadboard)
Quiz 1 (Wk 1-3) 10%
5 6-Sep Group Project Proposal 5%
6 13-Sep
Signal acquisition (Arduino → MATLAB)
Draft lab report 5%
7 20-Sep Quiz 2 (Wk 4-6) 10%
Mid-
sem 27-Sep
8 4-Oct
Signal processing & analysis (MATLAB)

9 11-Oct Draft Group Project Report 5%
10 18-Oct
Finalise lab project, troubleshooting,
queries & feedback
Quiz 3 (Wk 7-9) 10%
11 25-Oct
12 1-Nov Final lab report 30%
13 8-Nov Final Group Project Report 25%


Individual Draft Lab Report – 5%
The draft lab report will include sections that can be completed easily, as well as checking on your
progress. These are outlined as below. It is more-so a progress check and is easy to get full marks.
Due Date & Time: September 17 at 23:59.
Submission to Canvas: 1 file
1. Report – uploaded as a .”pdf”
Refer to the rubric on Canvas to see a clearer image.

FORMAT
Include headings for Abstract, Introduction, Methods, Results, Discussion, Conclusion, References
and Appendices.
The Abstract, conclusion and appendices to do not need to include anything at this point of time.
Ony a few references are needed, at this point of time.
Use Google Scholar to look at a biosensing scientific article, to see how things are laid out, especially
figure and table legends – these are short paragraphs, not a single line.

Individual Final Lab Report – 30%
Due Date & Time: November 5 at 23:59.
Submission to Canvas: 5 files
1. Report “.pdf”
2. 15s camera video: raw digital signal acquisition in real time “.mp4”
3. 15s camera video: processed & analysed signal acquisition in real time “.mp4”
4. Text file: Arduino code “.txt”
5. Text file: MATLAB code “.txt”
The following sections briefly outline what is to be included in the report. This is only a basis – a key
thing is describing things, rather than just stating things.

1. Report (.pdf) – 24 mks

FORMAT: 0.96 mks (4%)
Max 12 pages (excluding title page, references and appendices. You can include an Appendices to
show non-essential figures/tables, but don’t put all your figures/tables in the Appendices as it
decreases the report’s readability.
Include headings for Abstract, Introduction, Methods, Results, Discussion, Conclusion, References
and Appendices.
Equations & circuit diagrams, if included, must be made in software, rather than by hand.
ABSTRACT: 1.2 mks (5%)
1 paragraph. Roughly 100-200 words.
Outline myoelectric signal sensing, the importance of it, and what findings you have found. Write it
like a scientific article.

INTRODUCTION: 2.4 mks (10%)
Roughly 2 pages.
An introduction is like a story. It has a beginning, middle and end. Use literature to gain information
(not Wikipedia! Google Scholar, electrical sites, etc.). Remember, make it a story and make the
introduction flow nicely. As you learn more in the labs, you can update your introduction. This
introduction is basically a mesh between an introduction and a literature review.
Outline importance of surface myoelectric sensors (SMES), different types of SMES, explore
electrodes and circuitry, digital acquisition, software programs. Explore limitations of SMES.

METHODS: 7.2 mks (30%)
Roughly 3 pages.
Discuss the hardware equipment you are using. This includes the 3 electrodes, analog circuit and
DAQ device.
Electrodes: type, materials, positioning on arm, etc.
Analog circuit: Explain, through words, equations and figures, what each part is doing in the analog
circuit and why it is was used. This includes stating how certain resistors/capacitors were used, and
the values derived from their value and positions. Discuss any other alternative circuit part that
could have been used instead.
1. Negative voltage converter (what this is delivering).
2. Instrumentation Amplification (Derive the limits of the two gains, using equations, and explain
why they are needed).
3. Low-pass butterworth filter (Derive cut-off frequency fc, order, quality factor, attenuation in dB an
octave higher than fc).
4. High-pass butterworth filter (Derive cut-off frequency fc, order, quality factor, attenuation in dB
an octave lower than fc).
6. Voltage summing (Derive voltage added. And why this amount?)
7. Voltage clipping (Purpose of this. Brief description of how the Zener diode operates in this case).

DAQ device: How does your Arduino operate as a DAQ. Explain how its digitisation works.

Discuss the software you are using. This includes the Arduino program and the MATLAB program.
Arduino program: Briefly explain its operation and purpose. Describe the key components of your
code (baud rate, number of samples written to a buffer).
MATLAB program: Describe each section of your code briefly, with particular emphasis on signal
acquisition, processing and analysis. Write it like a scientific article, rather than in dot points.

RESULTS: 6 mks (25%)
Roughly 3 pages.
Include 1 figure of a picture of your analog circuit as a figure. Include a figure legend. I will be
marking for tidiness and to show you have built it.
Include 2 figures of screenshots of real-time raw and filtered myoelectric signals, with appropriate
figure legends. The “raw signal” should have been centred about 0 V and have mains noise filtered
out. Use a 10 second recording to construct these.
Include 2 frequency-domain figures to show relaxed and tensed myoelectric signals.
Calculate your signal to noise ratio as: = ( )
( ) , where MES = myoelectric
signal.

Ensure your figures have relevant units and no title, but rather a figure legend.

DISCUSSION: 4.8 mks (20%)
Roughly 2 pages.
Discuss your results.
Discuss your real-time plots of time-domain signals. Discuss how your analysed signal could be used
as an input for a video game. What functions could it be used for in a game? Discuss the advantages
and limitations of your result.
For the frequency-domain signals, discuss how hardware and software filters have affected them
(talk about frequencies and attenuations. Refer to dB attenuation, with relation to cut-off
frequencies). Discuss the advantages and limitations of these filters.
Discuss any limitations of your hardware and software.

CONCLUSION: 1.2 mks (5%)
Write a paragraph or two in a scientific article format. It needs to wrap up everything. I.e.
Summarise importance of myoelectric sensors, your key findings, limitations and future
considerations.

REFERENCES: 0.24 mks (1%)
Use a standard referencing type (e.g. IEEE). Make sure the referencing is consistent, and you are
using reputable sources. Your introduction should mostly use engineering/IT/medical journals,
rather than webpages as sources. Best to use a citation manager such as Endnote (for word) or
Mendeley (good implementation with LaTeX) to ensure consistency.

APPENDICES
Optional. Ideally, you should have nothing or very little in your Appendices.

2 & 3. Camera Videos (.mp4) – 6 mks

Two videos are to be recorded by a camera (e.g. smartphone) and need to show: electrodes on your
arm, analog circuit and your computer display. Look at the example on Canvas of how I filmed mine.
Name these “rawSignal_yourName.mp4” and “analysedSignal_yourName.mp4”
RAW SIGNAL: 1.5 mks (25%)
1. This signal is to be centred about 0.
2. Electrical noise needs to be filtered out (iirnotch)
3. The y axis should be -2.5 to 2.5V (rather than 0-1023 / 0-5V).
4. The tensed contraction should be roughly +/-2V. The two trim resistors on your circuit should be
tuned to give this result.
5. Record a 15s video, showing relaxed and tensed contractions in real time.
ANALYSED SIGNAL: 4.5 mks (75%)
1. The filter should show an output in a step-like manner, as shown in Figure 1.
2. The y axis should be between 0 and 1
3. Remember, the output needs to be used as an input for a video game.
4. Record a 15s video, showing relaxed and tensed contractions in real time.
4 & 5. Codes (.txt)

You need to include both codes as separate text files (i.e. Arduino and MATLAB). Brief comments are
required for both codes. Use // in Arduino and % in MATLAB. This is to ensure they are not
plagarised. Name these:
“arduinoSoftware_yourName.txt”
“matlabSoftware_yourName.txt”

欢迎咨询51作业君
51作业君 51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: ITCSdaixie