EE3363
Homework 8
Solutions
1. The implementation of the delta PWM algorithm can be found at:
http:/crrl.poly.edu/3363/sfunc_PWMdelta.c
This S-Function has been implemented so that multiple blocks of
EE3363
Homework 3
1. We wish to interface an MX15 rotary optical encoder to a TMS470 microcontroller using the
HCTL-2032. We also wish to interface a HMC6343 3-axis compass to the TMS470. Draw a
block
EE3363
Homework 4
Solutions
1. The implementation of the specified controller F = -p - 2v can be found at:
http:/crrl.poly.edu/3363/sfunc_MassOnPlaneController.c
The simulation model is available at:
EE3363
Homework 3
Solutions
1. Based on the datasheets of the MX15, HCTL-2032, and the TMS470R1B1M, the connections
R1B1M
required to interface the MX15 rotary optical encoder (e.g., MX152) to the TMS
EE3363
Homework 2
1. Build a simulation model in Simulink of a MX15 rotary optical
encoder (the datasheet of which was distributed in class) shown at
the right. Your simulation model should accept the
EE3363
Homework 1
1. Consider the first-order differential equation x = x . This differential equation could, for
instance, represent the dynamics of the velocity v of a unit mass moving on a plane wi
EE3363
Homework 2
Solutions
1. An incremental rotary optical encoder (such as the MX15) contains a set of markers (typically
simply transparent and opaque areas) uniformly located around a disc. Using
EE3363
Homework 4
1. The dynamic model of a mass on a plane implemented as an embedded S-Function is available at:
http:/crrl.poly.edu/3363/sfunc_MassOnPlane.c
This model takes a scalar input (the for
EE3363
Homework 5
Solutions
1. The implementation of the PWM algorithms (both the intersective PWM and the delta PWM
methods) can be found in the following files:
http:/crrl.poly.edu/3363/sfunc_PWM.c
EE3363
Homework 7
In this homework, we want to learn how to communicate between a program running in the Qemu ARM
emulator and a program running in Matlab/Simulink.
1. Learn how TCPIP communication ca
EE3363
Homework 10
Solutions
1. An implementation of a C function to calculate the reference position (xref,yref) and the
reference velocity (vxref,vyref) at the current time t is available at:
http:/
EE3363
Homework 9
Solutions
1. The implementation of a Matlab block to transmit a configurable number of floating-point
numbers to an ARM program running in Qemu and to receive back a configurable num
EE3363
Homework 6
In this homework, we want to install the ARM emulator (Qemu) and ARM cross-compiler and do a basic
test of emulation of a simple program.
1. Download and install the gcc-based CodeSo
EE3363
Homework 5
1. There are two basic approaches for creating a PWM (i.e., two-level : M and 0) representation of
an input signal u (t ) . The first approach (also known as the intersective PWM met
EE3363
Homework 1
Solutions
1. We are given the first-order differential equation x = x . A Matlab program to simulate the
dynamics of this system given an initial condition x (0) is shown below:
x0 =