
This is Part B of Lab 1. You will need to submit a separate report for this section.
Experiment 1.4
Getting familiar with Diamond MM A/D and D/A boards.
Before building any blocks we need to get familiar with the diamond MM board and its functionalities.
The Diamond MM boards are a
multifunction analog and digital I/O
module compatible with the PC104
standard. It offers 16 single-ended or 8-
differential, bipolar analog inputs (A/D)
with 12 bit resolution. It has 2 analog
outputs (D/A) with 12-bit resolution,
however the D/A is a unipolar peripheral.
The board also features 8 digital inputs
and 8 digital outputs. Maximum sampling
rate that can be achieved using MATLAB
programming is 2 KHz, however with
DMA operation (cannot be done in
MATLAB) 100 KHz sampling rate can be
achieved. The image to the left shows how
the board will look once you take off the
screw terminal on top of it. It is important to read the jumper (J4, J5, J6 etc.) locations based on what is
top, left and right for the board as shown in the image. The Diamond MM manual is available in
Blackboard and is needed to learn how to configure the board for proper use. Make sure jumpers are at
the right position based on the configuration you want, follow instructions from diamond MM manual.
Build and compile the two model files as shown below.
You can find the MM Diamond analog Input block under Simulink library Browser> A/D> Diamond->
MM and the Diamond MM analog Output under Simulink library Browser> D/A> Diamond> MM
Configure A/D and D/A as follows
Commentaires sur ces manuels