Skip to Content
Banner Computerarbeit

Libraries

X2C provides extensive libraries for Xcos and Simulink – including Basic, General, Math, Control, MotorControl, and StateControl.

These libraries offer all essential function blocks for modeling, signal processing, and control tasks.
If custom blocks are required, they can easily be created using the X2C Block Generator. The block implementation – whether fixed-point (16/32 bit) or floating-point (32/64 bit) – can be conveniently selected via a dropdown menu and mixed within the same model. The chosen implementation is independent of the target hardware architecture.

X2C MotorSensorless Library

The MotorSensorless library contains blocks for field oriented control of permanent magnet synchronous motors without angular sensor.

  • Estimator blocks for zero to low speeds
  • Estimator blocks for low to nominal speeds
  • Block for estimator transition
  • Available as add-on for editions X2C+ and X2C Professional

X2C MotorControl Library

The MotorControl library contains blocks for creating field oriented control algorithms for permanent magnet synchronous machines (PMSM).

  • Coordination system transformation blocks
  • (Space vector) Modulation blocks
  • Blocks for assessing angular sensor signals (calculation of rotational angle and speed)
  • Field oriented current control block
  • Part of editions X2C+ and X2C Professional

X2C MotorSimulation Library

The MotorSimulation library is part of the MotorControl library and contains blocks for simulation of the hardware in the motor control loop.

Note: This library is only available for Matlab/Simulink.

  • PMSM model blocks
  • Power supply and inverter blocks
  • Current and angular sensor blocks
  • Part of edition X2C Professional

X2C StateControl Library

The StateControl library contains logic blocks and blocks for creating simple state machines.

  • State blocks for state machines
  • Transition blocks for state machine
  • Various logic blocks
  • Part of editions X2C+ and X2C Professional

X2C Control Library

The Control library contains blocks for creating control algorithms.

  • P, I, D, PI, and PID control blocks
  • High and low pass filter blocks
  • Discrete transfer function blocks
  • Time discrete system blocks
  • Part of every X2C edition

X2C Filter Library

The blocks in the Filter library can be used for signal conditioning.

  • Fast fourier transformation blocks
  • Generic, discrete transfer function blocks
  • Second order filter blocks with various filter characteristics
  • Variable order infinite impulse reponse filter block
  • Part of every X2C edition

X2C Math Library

The Math library contains blocks with mathematical functions.

  • Arithmetic function blocks
  • Trigonometric function blocks
  • Selected special mathematical function blocks
  • Part of every X2C edition

X2C General Library

The General library contains general purpose blocks.

  • Inport and Outport blocks as interfaces to the target
  • Various source and sink blocks
  • Signal limitation blocks
  • Signal routing blocks
  • Blocks with basic logical functions
  • Conversion blocks for connecting blocks with different signal data types
  • One, two and three dimensional look-up table blocks
  • Part of every X2C edition

X2C Basic Library

The Basic library contains system blocks for configuration of the X2C model and to ease the work flow. Model configuration is slightly different in Matlab/Simulink and Scilab/Xcos, so the Basic library differs for Simulink and Xcos.

  • Block(s) for starting X2C Communicator and analyzing the model
  • Project documentation block(s)
  • Special function blocks
  • Part of every X2C edition
Ansprechpartner Website Dirnberger
Your contact for X2C

Peter Dirnberger

Teamlead E-Drives
image description
Back to top