Downloads

Home Support Contact  

Embedded Control Systems
Simulation Engineering
Simulation
White Papers
Downloads
Simulation Links
About Ledin Engineering

 

 

 

 

 

 

Free Downloads

Embedded Control Systems in C/C++ Book CD-ROM Contents

This archive contains the entire contents of the CD-ROM distributed with the book Embedded Control Systems in C/C++. This includes MATLAB® M-files (MATLAB language source code) and Simulink® block diagram models for designing, implementing and testing control systems as well as solutions for several of the self-test exercises in the book. emb_ctrl.zip (264 KB)

The top-level directories in the Embedded Control Systems in C/C++ archive are organized as follows:

bullet

Design/ The Design directory contains the main MATLAB M-files described in the book for performing control system design and implementation in the C/C++ languages. You may wish to copy these files to a directory on your MATLAB path for future use. The MATLAB Control System Toolbox is required for many of these functions.

ü      ss_design.m  Design a state space observer-controller and feedforward gain for a SISO plant using the pole placement method.

ü      optimal_design.m  Design a state space observer-controller and feedforward gain for a SISO plant using the linear quadratic regulator and steady-state Kalman filtering approaches.

ü      select_poles.m  Determine a set of pole locations for use in pole placement design.

ü      plot_poles.m  Plot system pole locations along with settling time and damping ratio constraints.

ü      write_c_model.m  Write a C language implementation of a discrete-time state-space controller using floating-point mathematics.

ü      write_c_fixpt_model.m  Write a C language implementation of a discrete-time state-space controller using fixed-point mathematics.

ü      write_cpp_model.m  Write a C++ language implementation of a discrete-time state-space controller using floating-point mathematics.

ü      write_cpp_fixpt_model.m  Write a C++ language implementation of a discrete-time state-space controller using fixed-point mathematics.

bullet

Examples/ The Examples directory contains many of the MATLAB M-file and Simulink model examples presented in the book organized by chapter number.

bulletSelf-Test/ The Self-Test directory contains partial and complete solutions for many of the Self-Test questions given at the end of each chapter.

 

Simulation Engineering Book CD-ROM Contents

This archive includes the entire contents of the CD-ROM distributed with the book Simulation Engineering. The complete version of the Real Time Simulation Protocol is included as well as many examples from the chapters of Simulation Engineering in C++ and Simulink. sim_eng.zip (4.13 MB)

 

FIR Filter Design Program

This is a FIR filter design program that uses the Remez exchange algorithm. It includes C/C++ source code and a Win32 executable along with example input files. This program was described in Digital Filtering and Oversampling, Dr. Dobb's Journal, April, 2000, p. 66. remez.zip (102 KB)

 

Real Time Simulation Protocol

The Real-Time Simulation Protocol is a package of C++ source code and tools that enables high-performance real-time distributed simulation across a TCP/IP network. This software was described in The Real Time Simulation Protocol, Dr. Dobb's Journal, May, 2001, p. 83. rtsp.zip (590 KB)

 

Copyright © 2005 Ledin Engineering

Back Home Next