Special All Labs

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 50

Spring 2021 Mechatronics & Control Engineering MCT-491L

LAB#01
Introduce users to OpenSim by demonstrating the utility of graphics-based musculoskeletal
modeling and illustrating how muscle-tendon lengths and moment arms depend upon limb
configuration.

Objective:
1. Become familiar with OpenSim’s graphical user interface (GUI)
2. Discover musculoskeletal model planes, axes, translational and rotational motions
3. Discover the lower-limb joint versus associated muscles
4. Introduction to the OpenSim plotter
5. Use OpenSim for dynamic simulation and important clinical problem

Task1:
Opensim GUI
OpenSim provides a graphical user interface (GUI) that provides access to many of the software
features. For example, you can import motion analysis data, scale a computer model of the
musculoskeletal system, perform inverse dynamics analysis, and plot results all from the graphical
interface.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Discover musculoskeletal model planes, axes, translational and rotational


motions
In this section, you load a model of the lower extremity into OpenSim and make the model

"walk .

Task 2

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task 3
Illustrate the following muscles or group of muscles and identify the related joints and segments:
1.gluteus medius(right)
2.gluteus maximus (left)
3rectus femoris (right)
4.Soleus (left)
5.Tibial anterior (right)

(Task 3)

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Joint: joint:
Hip joint Hip joint

Segments: Segments:
Pelvis

Gluteus medias right Gluteus maximus(left)

Pelvis and thigh

Rectus femoris (right) Solenis(left)

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Joint: Joint:
Hip joint and Knee joint Ankle joint

Segments: Segments:
Pelvis and thigh Shank and foot

Tibial Anterior(right) Knee extensor muscle

Joint:
Ankle joint

Segments:
Shank and foot

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Assignment Questions
1. Degrees of Freedom
a. Use the Coordinates panel to view the degrees of freedom of the model. How many degrees
of freedom, in total, does the model have? List the degrees of freedom of the right leg.

Answer:
There are total 17 DOFs of the model. The DOFs associated with right leg are 7.

b. All models are approximations. Compare the degrees of freedom in the model to the degrees
of freedom in your lower limbs. Give an example of a joint motion in the model that has been
simplified. Give an example of a motion that is not included in this model.

Answer:
the model doesn’t take into account the variation of flexibility among people so all motions have
been simplified particularly the hip adduction and abduction. Rotations also are not shown as a
degree of freedom here.

2. Muscles
a. How many muscles are in the model? How does this compare to the number of degrees of
freedom in the model? What is the minimum number of muscles required to fully actuate the
model? Hint: Full actuation of the knee, for example, means both knee flexion and knee
extension.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Answer:
There are 77 muscles in the model (not counting a muscle that was represented more than once
like GMAX 1, 2, & 3).
b. Name two muscles, other than the gluteus medias, in the model that are represented by
multiple lines of action. Why do you think these muscles are represented in this way? Hint:
Other muscles with multiple lines of action use the same naming convention as the gluteus
medias.

Answer:
The GMAX and the LGMED are also shown this way They are shown this way because the
different lines of action impact different parts of the body. Representing the whole muscle as one
line of action would not be accurate.

c. Which knee extensor muscles have wrapping points? At what knee angles do the wrapping
points appear for each of those knee extensors? A muscle may have more than one wrapping
point.

Answers:
The Vastus Lateralis has wrapping points at -70 deg, 110 deg Vastus Medialis has wrapping
points at a knee angle of -70 deg, -102 deg, The Vastus Intermedius begins to wrap at a knee
angle of -82deg The Rectus Femoris begins to wrap at a knee angle of -84 deg.

3. Modeling Limitations
a. Zoom in on the right hip, and display only the glut_max3_r muscle (right hip extensors group).
Examine this muscle for the full range of hip flexion angles. What problems do you see with the
path of glut_max3_r through the range of motion? In what ways are point-topoint representations
of muscle paths a simplification of musculoskeletal geometry?

ANSWER
When the hip is fully flexed the Gluteus Maximus 3 muscle is shown going through the bone.
The pt-to-pt representation of muscle geometry fails because the muscles are much more flexible
than this simple model.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab#02
Objective:
Introduction to the OpenSim plotter

Theory:
OpenSim's Plotter allows you to plot muscle-tendon properties, such as length, moment arm,
force, and joint moment. To generate a plot of fiber-length vs. knee angle for the rectus
femora’s and vistas intermedia’s muscles.

Figure 1

Assignment Questions
Muscle Moment Arm vs. Joint Angle
a. What are the peak moment arms for each muscle and at what knee angle do they occur?
ANSWER
The RF curve peaks at a knee angle of -25degrees with a moment arm of .05 The VASINT
peaks at a knee angle of -5 degrees with a moment arm of .046
b. At what knee angle(s) are the moment arm curves not smooth (i.e. have points where the
derivative is not continuous)? What do you think causes this?
ANSWER

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Discontinuity occurs at about a knee angle of -80 deg this is because the wrapping of the Rectus
Femoris and the Vastus Intermedius begins to wrap at a knee to occur at this angle.

Muscle Fiber Length vs. Joint Angle


a. Study the plot of muscle fiber length vs. knee angle. For each of the rectus femora’s and vast
us intermedium, do you expect the fiber-length curve be different if the right hip was flexed?
Why or why not?

ANSWER
Yes. When the right hip will flex, it will show different behavior.
b. In the Coordinates window, adjust the model’s right hip flexion to 45 degrees (save the pose
asr_hip_flex_45), add rectus femora’s and vast us intermedium fiber-length curves for 45º
hip flexion. Compare the muscle curves for the model with an inflexed hip you plotted
previously to the curves for the model that you just plotted. How have the curves changed?
Note: To select multiple curve names, hold down Ctrl (PC) or Command (Mac) while
selecting. To print or save a plot, right-click on the plot and select Print or Export Image.

ANSWER
Yes, the Vastus Intermedius remained the same, but the Rectus Femoris curve has a much
shorter fiber-length when the hip is flexed. This is because in order for the hip to flex and the leg
be raised this muscle must tighten thus shortening its fiber length. Bi-articular muscles
complicate analysis because they cross two joints. Their function is more complex because it
often depends on their anatomy and the activity of the surrounding muscles of the joint.

Hamstrings Length
An orthopedic surgeon believes that a patient may benefit from a hamstring lengthening surgery. You
are tasked to compare the hamstrings (semitendinosus) length over a patients crouch gait cycle to the
hamstrings length for a "normal" gait cycle.

a. Study the curves. Based on the plot, how do the peak hamstring lengths in normal and crouch
gait compare? For this patient, would you recommend a hamstrings lengthening surgery?

Answer:
From examining the curve and the model, I would recommend the surgeon relax the hamstrings to
decrease the knee angle.

b. What are some limitations of your analysis?


ANSWER
The limitations in this analysis are that we are not diving into what exactly what is causing this
extreme angle and the forces acting on the muscles should be analyzed to know exactly what is

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

causing this. Also, this model is not tailored to a specific person, just a particular condition. It
would be better to analyze the actual person experiencing this crouch gait.
Task 4:
(a) Tba anterior muscles for peak ankle dorsiflexion

(b) soleus muscles for peak ankle plantarflexion

(C)
Gluteus muscles wth max hip abduction

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

(d) Muscles associated wth peak knee flexion

Task 5: Normal Vs Crouch2

Normal Vs Crouch3

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Normal Vs Crouch4

Normal vs Crouch 2 vs Crouch 3 vs Crouch 4

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab#03
Objective:
The purpose of this tutorial is to demonstrate how OpenSim solves an inverse kinematics using
experimental data. To diagnose movement disorders and study human movement, bio mechanists
frequently ask human subjects to perform movements in a motion capture laboratory and use
computational tools to analyze these movements. A common step in analyzing movement is to
compute the joint angles and joint moments of the subject during movement. OpenSim has tools
for computing these quantities.

Theory:
Inverse kinematics is used to compute joint angles
Inverse kinematicscomputes the joint angles for a musculoskeletal model that best reproduce the
motion of a subject.

MOCAP

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Assignment Questions
1.Based on information in the Scale Tool dialog, what is the mass of the generic musculoskeletal
model? What was the mass of the subject?

ANSWER
generic model data = 75.1646 kg, subject data = 72.6 kg
2. What frequency was the experimental motion data captured? Hint: Look for the box titled
Marker Data.

ANSWER
60 Hz. The right and left tibia and femur are scaled manually.

Task 4
Task1:

Task2:

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task 3:
Frame 96 (t=1.6): total squared error = 0.0135749, marker error: RMS=0.0209261,
max=0.0792321 (R.Acromium)
Frame 94 (t=1.567): total squared error = 0.01367, marker error: RMS=0.0209993,
max=0.078686 (R. Acromium)
Frame 92 (t=1.533): total squared error = 0.0138179, marker error: RMS=0.0211125,
max=0.0778426 (R.Acromium)
Frame 90 (t=1.5): total squared error = 0.0138422, marker error: RMS=0.0211311,
max=0.0780396 (R.Acromium)

Task4:
1) Knee, ankle and hip angles plot.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab#04
Objective:
The purpose of this tutorial is to demonstrate how OpenSim solves an inverse dynamics problem
using inverse kinematics and experimental forces data.

Theory:
Inverse dynamics is used to compute net joint reaction forces and net joint moments.
Inverse kinematics computes the joint angles for a musculoskeletal model that best reproduce the
motion of a subject.

Task 2:
1. Ankle, knee and hip angles for left and right leg.
a. Ankle angle

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

b. Knee angle

c. Hip flexion

d. Hip abduction

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

e. Hip rotation

2. Peak dorsiflexion/flexion and plantarflexion/extension angles for all three joints


movements of right leg in the sagittal plane.

a. Ankle

Dorsiflexion

Plantarflexion

b. Knee

Flexion

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

c. Hip flexion
Flexion

Extension

 When completed, examine the results of the inverse dynamics solution by plotting the
moments for ankle, knee and hip joint, one by one, at the left and right ankles.
 In the Plotter window, click the Y Quantity button and select Load File.
 In the file browser, go to the Results Inverse Dynamics folder, select the file inverse
dynamics. To, and click Open.
 In the menu, select ankle angle r moment and ankle angle l moment by clicking the
corresponding checkboxes, then click OK. Click the X-Quantity button> time> OK.
3. Ankle, knee and hip moments for left and right leg.
a. Ankle moment

b. Knee moment

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

c. hip flexion moment

d. hip abduction moment

e. hip rotation moment

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

4. Peak dorsiflexion/flexion and plantarflexion/extension torques for all three joints


movements of right leg in the sagittal plane.

a. Ankle torque

b. Knee torque

c. Hip torque

5. Peak joints angles and moments in the sagittal plane.


Peak 1 Peak 2 Peak 3

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Ankle angle (0.7,-1.733) (1.283, 14.283) (1.45, -8.88)


Knee angle (0.567,-0.773) (0.917,-68.923)
Hip angle (1.267, -21.259)
Ankle torque (0.712,11.724) (1.24,-128.557) (1.416, 1.797)
Knee torque (0.792, 38.569) (1.192, -55.319)
Hip torque (1.336,41.422)

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab#05
Objective:
• Become familiar with a wrist model and OpenSim's Property Editor
• Simulate a tendon transfer surgery
• Examine the effects of the surgery on joint moment, muscle force, and muscle moment arm
• Investigate the effect of tendon slack length on isometric muscle force

Task.1
a. Export Images to illustrate clearly max flexion and deviation movements of the wrist
(+ve values for even roll numbers, -ve for odd)

b. Repeat the same steps to display the extensors, radial deviators, and ulnar deviators
muscle groups individually (one at a time), Export Images.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task.2
Before Surgery:

After Surgery

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task.3
a.
Flexion moment vs flexion:

Tendon force vs flexion:

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Flexion moment arm vs flexion:

b.
1. (70, -0.755) (70,-1.244)
2. (70,325.594) (70,289.336)
3. (70,0.013) (70,0.005)

Assignment Questions
• In these plots, given how the model defines the wrist flexion degree of freedom, is wrist
extension moment denoted by positive or negative values?
ANSWER
Wrist extension moment denoted by negative values

• What is the peak value of the ECU extension moment before transfer? At what flexion angle
does it occur? Note: Remember, extension moments are negative on the plots.
ANSWER
the peak value is -0.39 and this occurs at 70deg flexion angle.

• What is the peak value of the ECU extension moment after transfer? At what flexion angle does
it occur
ANSWER
-0.879 and this also occurs at a flexion angle of 70de

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

• At what flexion angles do the fiber lengths of the ECRB and the edited ECRB reach the
optimal fiber length? Compare these angles with the peaks of the force vs. flexion plots.
ANSWER
The edited ECRB reaches its optimal fiber length at about -20deg and the original ECRB reaches
its optimal fiber length at -15deg. At the optimal fiber length, the max force is reached.

• Change the tendon slack length (0.215, 0.22, 0.235, 0.25) and make more curves to further
demonstrate the affects you have seen.
ANSWER
Increasing the slack length shifted the Fiber Length vs. Flexion so overall a larger Fiber Length
was achieved. Changing the tendon slack length did not change the Muscle-Tendon Length curve
Task.4
a. What is the peak tendon slack length of the ECRB muscle?
Ansa: 0.2205
b. Plot the tendon force versus tendon length for ECRB muscle, show the
tendon slack length.

c. Edit tendon slack length text box to read0.2105in the Properties Window. To
add new curves for the edited ECRB muscle, click Add in each plotter
window. Plot tendon force vs. flexion, muscle-tendon length vs. flexion,
fiber length vs. flexion.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab#06
Objective:
The purpose of this exercise is to use OpenSim to evaluate the risk of injuryduring landing and to
design assistive devices to prevent injuries. You will examine how a passive ankle–foot orthosis
(AFO)affect ankle inversion injury risk. In a short amount of time, you should be comfortable
running forward dynamic simulations with varying conditions (such as orthosis stiffness) and
plotting the results to compare their effects.

TASK I
15 DOF
TASK II

Task III
a: Export Graph

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task III(b):

Task 3(c):

Task 4:

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

lab#07
Objective
Rehabilitation robotics are providing new active devices to help train and optimize movement.
Orthotics for ankle injury prevention have traditionally been passive devices, but what if you
could create an active mode for landing? We will add a torque motorat the ankle to model an
active orthotic. Your challenge will be to optimize the timing and activation level of the active
orthotic to prevent ankle inversion injury.

Task.1

What new forces have been added?


Actuators is added in this new active AFO model. The previous model was a passive mechanical
model, but this one is an active controlled model that uses motors as actuators to assist in the
drop landing of the foot.
What degree of freedom does this motor control?
The motor added in this model will control the same degree of freedom as the degree of freedom
of the previous passive model which is two, one is subtalar angle while other is ankle angle.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task.2

Task.3

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab#08
Objective:
 To compute and analyze the Residual error and Metabolic Cost during a normal gait
cycle.

Task 1 (a):
Segments in total model is 8
 Pelvis represent right and left pelvis and scrum and coccyx region
 Femur (left and right)
 Tibia represent tibia and fibula
 Talus represent the joint b/w tibia and calcn
 Calcn represents cencellous region
 Toes represents the Fingers and tumb region.
 Torso represents trunks arm and leg.

Task 1 (b):
 The number of DOF’s for hip, knee and ankle is 3.

Task 1 (c)
 10 muscles are in a model is used to move each of ankle, knee and hip joint.
 3 muscles for ankle
 4 muscles for knee
 4 muscles for knee

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task 2:
 Mass of (subject specific model ) = 73.0684545650479 kg
 Mass of (generic model ) =72kg,

Task 3:
Note down the time for gait events.
 Gait cycle = heel stike at 0 sec
 then toe off at 0.66 secs
 next heel strike at 1.25 secs

Task 4:
 Determine the error between CMC and RRA results for peaks of ankle, knee and
hip joints angles.

Task 5
a. Export images with observation of tolerable ranges of residual errors.
b. Compare the residual errors with ones computed in task 4.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task 6:
 For which of the gait cycle is the total rate of metabolic energy consumption highest?
Label gait phases and export images.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Fig 8.5 (task 6)

Result:
 The metabolic energy consumption is highest.

Lab Instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

lab#09
Objective:
To Compute and Compare the effect of wearable devices (passive and active) on total and plantarflexion
muscles (gastroc_r and soleus_r) Metabolic Costs.

Task 1

1. decreases the cost of gait


2. decrease the rate of energy consumption by the plantar flexors from baseline

3.

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Task 2
1.

54_pr has lowest cost


2.

TASK 3

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

Lab# 10
Open ended lab
Objective: Design artificial neural networks (ANN) to recognise gait activities using
ankle-foot angles for various activities.

Explanation:
We are provided with training and target data (excel file) for three gait activities such
as
Gait Activities Target/Class
Ramp Ascend (RA) 1
Ramp Descend (RD) 2
Level Ground (LG) 3

We have two kinds of sample/testing data: 1) from training data, 2) external


data.

Artificial neural networks:


An artificial neural network (ANN) is the piece of a computing system designed
to simulate the way the human brain analyzes and processes information. It is
the foundation of artificial intelligence (AI) and solves problems that would prove
impossible or difficult by human or statistical standards.

Usage:
Artificial neural networks (ANN) are used for modelling non-linear problems and to
predict the output values for given input parameters from their training values.

Task 1:
a) Images of methods
Steps:
1). Declare variable in workspace and assign the name according to given data.

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

2). Import given data into each variable

3). Write a command nntool in command window and execute it

4). This interface appears and import input and target data in it

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

4). Our neural network is created. Just double click on Network1 it will show
neural network.

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

5). Train the neural network for couple of times until you achieve target value approximately equal to 1

or equal to training value on the plot.

We can say that our designated neural network is right because R value is
approximately equal to 1

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
Spring 2021 Mechatronics & Control Engineering MCT-491L

a) Fill the table with exact values that is prediction by network (including
fractions)

Sample Data 1 Network class Sample Data 2 Network class


(from training data) (1/2/3) prediction (external data) (1/2/3) prediction
Col 1 2.9981 Col 1 1.0008
Col 2 2.9988 Col 2 1.0013
Col 3 1.9724 Col 3 1.0011
Col 4 1.9994 Col 4 1.4581
Col 5 1.0034 Col 5 1.0009
Col 6 1.0056 Col 6 1.0006

b)

no of correctly identified activities 8


success rate= total number of samples
= 12 = 0.66 = 66%

Task 2.
MP4 video with recording is uploaded on MS teams

Lab instructor: University of Engineering and Technology, Lahore


Dr. Imran Mahmood
P a g e 50 | 50
Lab Instructor: Dr. Imran Mahmood

You might also like