xPC Target

xPC Target

xPC Target

Product catalog summary
Overview
xPC Target™ is a tool for executing Simulink® and Stateflow® models on a target computer for hardware-in-the-loop (HIL) simulation, rapid control prototyping, and real-time testing. It includes a library of drivers, a real-time kernel, and a host-target interface for monitoring, parameter tuning, and data logging.

Key Features
  • Real-time execution of models on a target computer using an optimized real-time kernel.
  • Support for various hardware form factors like PMC, PCI, PCIe, cPCI, and PC104.
  • Blocks for numerous I/O modules and communication protocols.
  • FPGA programming capabilities with HDL Coder.
  • Tools for real-time monitoring, parameter tuning, and data logging.
  • Standalone operation with xPC Target Embedded Option.
  • APIs for developing user interfaces in multiple programming languages.

Creating a Real-Time Testing Environment
A real-time testing environment is created by connecting a host computer, a target computer, and the hardware under test. The host computer runs xPC Target, Simulink, Simulink Coder™, and a C compiler, connecting to the target computer via TCP/IP or RS-232. This setup allows for interactive control, parameter tuning, and data acquisition.

Interfacing with Target Computer Hardware
xPC Target requires a target computer with I/O modules or protocol support. xPC Target Turnkey offers ready-to-use configurations suitable for various environments, supporting a wide range of I/O types and communication protocols.

Accessing and Controlling an xPC Target Application
An xPC Target application is created using Simulink Coder to generate C/C++ code from a Simulink model. The application is downloaded to the target computer via LAN, allowing control from the host computer using xPC Target Explorer or MATLAB® command line. The application can run in standalone mode with xPC Target Embedded Option.

Tuning Parameters, Monitoring Signals, and Acquiring Data
xPC Target allows parameter tuning before, during, and after execution using Simulink external mode, xPC Target Explorer, or MATLAB command-line interface. It includes scopes for data monitoring and acquisition, supporting multiple trigger modes and signal logging.

Programming FPGA Boards
HDL Coder allows automatic programming of FPGA boards within xPC Target Turnkey systems. Users can model algorithms in Simulink, Stateflow, or MATLAB function blocks, and HDL Coder Workflow Advisor assists in programming the FPGA without requiring HDL experience.

Additional Resources
For more information, trial software, sales, and technical support, visit MathWorks' website.
See more

Catalog excerpts

xPC Target-1

xPC Target Perform hardware-in-the-loop simulation and real-time rapid control prototyping xPC Target™ enables you to execute Simulink® and Stateflow® models on a target computer for hardware-in-the-loop (HIL) simulation, rapid control prototyping, and other real-time testing applications. It provides a library of drivers, a real-time kernel, and a host-target interface for real-time monitoring, parameter tuning, and data logging. For a complete, fully assembled, real-time testing solution, xPC Target Turnkey combines xPC Target with a variety of high-performance real-time target computers. Learn more about xPC Target Turnkey. Key Features ▪ Real-time execution of Simulink and Stateflow models on a target computer via an optimized real-time kernel ▪ Support for target computer hardware, including PMC, PCI, PCIe, cPCI, and PC104 form factors ▪ Blocks supporting numerous I/O modules, including analog I/O, digital I/O, pulse train generation and capture, and shared memory ▪ Blocks supporting communication protocols and data buses, including serial, UDP/IP, CAN, J1939, ARINC 429, and MIL-STD-1553 ▪ Ability to program FPGA boards for xPC Target Turnkey systems (with HDL Coder) ▪ Tools for real-time monitoring, parameter tuning, and data logging ▪ Standalone operation with xPC Target Embedded Option ▪ APIs for developing user interfaces (Visual Basic, C/C++, Java, and .NET) xPC Target Turnkey real-time testing solution. Once you connect to your hardware under test, you can run your Simulink and Stateflow models in real time and verify your designs.

 Open the catalog to page 1
xPC Target-2

Creating a Real-Time Testing Environment You create a real-time testing environment for Simulink models by connecting a host computer, a target computer, and your hardware under test. You connect the host computer running xPC Target, Simulink, Simulink Coder™, and a C compiler to the target computer via a single TCP/IP or RS-232 communications link. You then connect the target computer to your hardware under test and download code generated by Simulink Coder from a Simulink model to the target computer via the communications link. Once you make the connections, you can: ■ Access and interactively...

 Open the catalog to page 2
xPC Target-3

▪ Analog (sample-based, frame-based, audio/speech, high-speed, high-resolution, sequential or simultaneous sampling) ▪ Digital (parallel, TTL, 12V, 24V, high-drive, opto-coupled) ▪ Pulse train (PWM, pulse capture, quadrature decoding, TTL, RS422, RS485, LVDS, LVCMOS) ▪ Serial - Asynchronous (RS232, RS422, RS423, RS485), Synchronous (SDLC, HDLC) ▪ Incremental encoder, LVDT/RVDT, Synchro/Resolver ▪ Shared/Reflective memory ▪ Ethernet (UDP/IP, real-time raw Ethernet) ▪ Video (USB WebCam, CameraLink) ▪ Communication data buses and protocols (CAN, J1939, XCP, ARINC 429, MIL-STD-1553, EtherCAT Master)...

 Open the catalog to page 3
xPC Target-4

Using xPC Target via Simulink External Mode. You can work with xPC Target and the Simulink model (left) to control real-time operation, tune parameters, and view the results directly in Stateflow (middle) and in a Simulink Scope block (top right). To monitor and acquire data, xPC Target includes scopes for both the host and target computers. Scopes support several trigger modes you can use to control the acquisition, timing, and duration of data collection. You can also display multiple signals in a single scope and attach multiple scopes to a single model. Signal monitoring enables you to view...

 Open the catalog to page 4
xPC Target-5

FPGA MODEL WORKFLOW ADVISOR Create FPGA bir&tream and FPGA interface block using Add FPGA interface block to xPC Target model in Simulink real time target machine Programming FPGA boards for xPC Target Turnkey real-time target machines using HDL Coder Workflow Advisor. Product Details, Examples, and System Requirements Trial Software Technical Support Online User Community Training Services Third-Party Products and Services Worldwide Contacts Accelerating the pace of engineering and science © 2012 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The Math Works, Inc. See \v\v\v.mar...

 Open the catalog to page 5

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8  Pages

  2. SimEvents

    7  Pages

  3. SimDriveline

    7  Pages

  4. SimHydraulics

    7  Pages

  5. SimRF

    6  Pages

  6. MATLAB Coder

    5  Pages

  7. OPC Toolbox

    5  Pages

  8. SimBiology

    6  Pages

  9. SimMechanics

    7  Pages

  10. Simscape

    7  Pages

  11. Simulink

    6  Pages

  12. MATLAB®

    6  Pages

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.