Advantech PCM-3350 Spezifikationen

Stöbern Sie online oder laden Sie Spezifikationen nach Software Advantech PCM-3350 herunter. Advantech PCM-3350 Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 19
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Lab 1
Introduction to MATLAB xPC Toolbox and the Advantec PC 104 computer boards
Introduction
The PC104 standard is for a system of computers that are small in size, and stackable so that any
peripheral module with the same standard of size and number of pins can be interfaced to it. The systems
we will be using in the lab are made by Advantech. We have two different modules, the older PCM 3350
and the new PCM 3355L boards. They require low power and can be used for general purpose embedded
applications. You may read more about their specifications on their respective manuals uploaded on
blackboard.
In the lab each group will have access to two PC104 computers. They are installed with Diamond MM
A/D D/A boards and screw terminals that provide connections to them. In the first lab you will be
familiarizing yourselves with the various functionalities/capabilities of these embedded computer
systems. You will also learn how to use the MATLAB xPC Target toolbox for embedded systems
programming. For all experiments performed in this lab, we will design models in Simulink and then
utilize a C compiler to create executable code from the models. The code will then be ported to the flash
memory on the PC104 board and run from there.
By the end of this lab, you should be well informed and completely comfortable in utilizing the various
resources these PC104 systems have to offer. All the skills you learn in this lab will be required in future
labs for successful completion of the semester.
NOTE: The computer systems in GWC laboratory are such that they lose all information upon restart and
also at 12:00 am midnight. As such, it is strongly recommended to carry flash drives and save all your
work in it at all times. Also, MATLAB needs to be configured in a particular manner for use in this lab.
Since the computers reset, these configurations will have to be done every time you come in.
Setting up Matlab for first use
These procedures must be followed every time you come to the lab.
Step 1. Compiler configuration
NOTE: Throughout these lab manuals, type command or run command means you should enter the
command into the MATLAB main command window. MATLAB always has “>>” symbol to indicate
where your commands are entered. We use the same symbol in this manual to indicate it is a MATLAB
command. To see what licenses and toolboxes are installed in MATLAB you can type “ver” and hit enter.
At the very bottom you should see the xPC Target and xPC Target Embedded Option listed. Without
them you cannot do any work related to this lab.
Seitenansicht 0
1 2 3 4 5 6 ... 18 19

Inhaltsverzeichnis

Seite 1

Lab 1 Introduction to MATLAB xPC Toolbox and the Advantec PC 104 computer boards Introduction The PC104 standard is for a system of computer

Seite 2

Once the DOS Loader files have been created and loaded on to the CF disc, insert it into the PC104 board’s CF flash slot and boot it up. When

Seite 3

Answer the following questions in your report. Q1. Describe briefly the capabilities of the PC104 board and the Diamond MM A/D, D/A board with menti

Seite 4

The above model, when implemented on the PC104 board transmits a square pulse using the serial link. You will find RS-232 Mainboard Setup block in th

Seite 5

NOTE: use the same COM ports in both RS232 Mainboard Setup and RS232 Mainboard Send block. If they are different, unexpected results may occur. The a

Seite 6

You can find the MUX block under library browser Simulink->Signal routing Answer these questions in your report. Q6. What is the fastest sam

Seite 7

Use anything as Name of the connection and click ok. Make sure you choose COM1 and click ok. The host PCs in the lab only have one COM port. Set COM

Seite 8

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 boa

Seite 9

This experiment, as you see is similar to exp 1.3; although, here you are using the D/A and A/D modules to transmit and receive the sign

Seite 10

To transfer the data from the CF card to MATLAB workspace, first right click on target PC in xPC Explorer and select it as default. Type the following

Seite 11

Q11 Do you notice anything wrong with the signal received through A/D? If so what do you think causes discrepancy in the signal? Q12 If diamond MM bo

Seite 12

Run command: >> xpcexplr The command opens the MATLAB xPC Target Explorer as shown above. This is the window that configures t

Seite 13

Make sure you click “Apply” every time, after making any changes. If you move to a different window without clicking “Apply”, the changes are not save

Seite 14

Step 2.2.a Serial communication using dos loader In xPC Explorer, go to TargetPC1> Configuration> Communication and under communication

Seite 15

TCP/IP uses IPv4 addressing schemes to communicate with different Ethernet devices. We will not go into a discussion about IPv4 addressing but enough

Seite 16

Step 2.3 Enabling secondary IDE Go to xPC Explorer, under TargetPC1> Configuration> Settings and enable “Enable Secondary IDE” (see figure abov

Seite 17

NOTE: It is best practice to ensure sample times are exactly the same all over your model file unless you specifically need different sample rates in

Seite 18

Experiment 1.1 Building familiarity with xPC toolbox and executing real-time code in PC104. For your first task you will create a real-time program th

Seite 19

Once the model file is ready, save it and press Ctrl+b to build it. Then copy the three files shown in the below figure into the flash disc. NOT

Kommentare zu diesen Handbüchern

Keine Kommentare