FPGA-based simulation of electric drive systems made easy:
With the XSG Electric Components library, you can simulate electric drive systems with highest dynamics and precision.
What is XSG Electric Components Library?
The XSG Electric Components library offers open models for 3-phase electric machines, power electronics, position sensors, and basic mechanics for nanosecond-step-size simulation on FPGA platforms. Thanks to the FPGA's parallelization capabilities, the highest dynamics and position sensor communication protocols can be simulated.
The also-included processor-based controller models and FPGA interface blocks enable the simulation of comprehensive drive systems. Both open-loop and closed-loop simulations can easily be implemented and configured during run time. This allows you to utilize the full potential of your models in versatile scenarios, ranging from rapid controller prototyping (RCP) to hardware-in-the-loop (HIL) and power hardware-in-the-loop (PHIL).
Application Areas of XSG Electric Components Library
The models from the XSG Electric Components library are suitable for a wide range of applications throughout the entire development process, ranging from the optimization of your controller against detailed plant models up to the final test of your control unit and inverter hardware on a power hardware-in-the-loop test bench.
Examples of Application Fields:
- Automotive (traction drives as well as auxiliary drives)
- Off-highway
- Rail industry
- Industrial applications
- Power tools
Electric Machines
This library is our standard solution for simulating 3-phase electric machines. All machines are modeled in a comprehensible manner using the fundamental equations known from the literature (e.g., alpha/beta- or d/q-reference frame).
Machines contained in the library:
- Separately Excited Direct Current Machine (DC)
- 3-Phase Brushless Direct Current Machine (BLDC)
- 3-Phase Squirrel Cage Induction Machine (SCIM)
- 3-Phase Separately Excited Synchronous Machine (SESM)
- 3-Phase Permanent Magnet Synchronous Machine (PMSM)
Non-Linear PMSM Models
Non-linear models for permanent magnet synchronous machines (PMSM) are included, utilizing inductances and flux values derived from 2D look-up tables. These models provide a detailed and accurate representation of the machine’s behavior under various operating conditions, considering saturation effects of the magnetic circuit. They ensure precise simulation and analysis, enabling optimized performance and an efficient workflow in practical development and testing scenarios.
Position Sensor Models
Models of numerous conventional position sensors are included, e.g., Resolver, Sine, Hall-Sensor, and TTL Encoder. Furthermore, protocol-based encoders like SSI, EnDat, HIPERFACE, and BiSS encoders are modeled with extensive protocol support, enabling you to implement additional features like OEM memory or electronic ID labels into your real-time simulation and software test.
Open Model Architecture
The library components are ready to use without FPGA expert knowledge, to support an efficient and streamlined workflow. However, all models are implemented in an open architecture, so that you have full access to all computation steps and equations. This setup allows fast model creation with the option of user-specific extensions without additional technical support.
Ready-to-use ControlDesk instruments
Experience seamless integration with our pre-defined, ready-to-use custom instruments designed for ControlDesk. With just a simple drag & drop operation, you can effortlessly visualize and parameterize every aspect of your electric drive system model. Say goodbye to lengthy setup times and complex preparations. Our intuitive ControlDesk user interface ensures you are test-ready in almost no time, allowing you to focus on what truly matters.
Ultrafast Simulation and Oversampling
Model execution step sizes smaller than 200ns are possible due to the optimization for our FPGA architecture. This enables the exact simulation of PWM effects including current ripples. By enabling such small step sizes, the simulation ensures the highest temporal resolution and accurate representation of dynamic behavior, which is crucial for developing and testing advanced control strategies.
Real-Time-Capable Inverter Models
Various real-time-capable models of common 2-level and 3-level inverter architectures are included for signal level simulation. The models provide capabilities to simulate discontinuous conduction mode (DCM) scenarios, regenerative operating points, floating-phase situations, and physically correct switching losses. As standard switching elements IGBTs and MOSFETs can be selected and parameterized according to the real physical counterpart used in your application.
Fast Pin-to-Pin Loop Time
When conducting hardware-in-the-loop tests, a fast system response of the test setup is of crucial importance to mimic reality as closely as possible. The optimized implementation of the library components in combination with dSPACE hardware allows for a pin-to-pin loop time of approximately 1µs. This means, that the system response to a stimulus on an input pin will be measurable on the corresponding output pin within a millionth of a second.
Floating-Point and Fixed-Point Implementations
Several models are available as floating-point and fixed-point implementations to best suit your needs. Fixed-point models are ideal if simulation speed and minimal resource consumption are your highest priorities, offering efficient performance with reduced computational overhead.
On the other hand, if you require the highest numerical resolution and unmatched simulation accuracy, floating-point implementations are the optimal choice. These models provide detailed and exact representations, ensuring high fidelity in your simulations.
Run-Time Configurability
The XSG Electric Components models only need to be synthesized once for the FPGA. As soon as the synthetization result – the FPGA container – is available, all parameters and the look-up-table data can be configured during run time via a dedicated processor interface. This allows you to update the model behavior by parameterization whenever necessary, without the need for time-consuming FPGA synthesis.
In addition to that, the FPGA container can be loaded onto as many dSPACE systems with the same FPGA configuration as you like, offering the option of parallelizing working steps in your testing workflow.
Attractive Licensing
Once a simulation model has been developed with the XSG Electric Components library, an FPGA container can be synthesized. The pre-synthesized container can then be used on multiple simulators with our attractive run-time license offering to keep the cost for your testing organization as low as possible.
Seamless Integration
Established and standardized interfaces between the dSPACE products allow for a seamless integration of the XSG Electric Components library into our testing and validation ecosystem. Improve the level of detail of your simulation with additional components from other FPGA or processor libraries of the dSPACE portfolio. Or improve your testing workflow and test depth by combining the library with components from our test automation portfolio.
Library Components
Motor Models
- Separately excited direct current machine (DC)
- 3-phase brushless direct current machine (BLDC)
- 3-phase squirrel cage induction machine (SCIM)
- 3-phase separately excited synchronous machine (SESM)
- 3-phase permanent magnet synchronous machine (PMSM)
Power Electronics Models
- 2-level inverter supporting discontinuous conduction mode (DCM)
- 3-level active neutral point clamped inverter (ANPC)
- 3-level neutral point clamped inverter (NPC)
Position Sensor Models
- TTL
- Sine
- Hall
- Resolver
- Synchro
- SSI
- EnDat
- HIPERFACE
- BiSS
Supply Cable Model
- Line model (includes/enables “broken wire” fault simulation)
Mechanics Model
- Simple mechanic model (with mass inertia, viscose friction, and open-loop functionality)
Controller Models
- Processor-based controllers for electric machine control
Custom Instruments for ControlDesk
- Standardized and out-of-the-box usable instruments for ControlDesk
Information Videos
Advanced Applications
Do you have more demanding applications with complex requirements that are not covered by the XSG Electric Components library? Are you looking for models of highly non-linear electric machines with temperature dependencies and spatial harmonics?
Have a look at our Engineering Service offering with the XSG Generic Drive Model – On the basis of the XSG Generic Drive Model simulation engine, we provide you advanced real-time models of electric machines specifically tailored to your needs and applications. Additional features that can be considered in these models:
- Integration of various inverter topologies possible
- Multiphase electric machines (≥3 stator phases) of any type – PMSM, SCIM, SRM, etc.
- Option to use flux- or current -based (inductance based) model implementations
- Representation of any winding scheme – star, delta, open-end-winding, etc.
- Magnetic cross-coupling effects
- Spatial harmonics and cogging torque
- Temperature dependencies
- Electric failure simulation
- Parameterization from FEA data
- Graphical user interface for model parameterization and management
- Ready for HIL and P-HIL scenarios
FPGA Training
New to FPGA-based simulation or interested in a methodology refresher? In addition to our model libraries, we are offering trainings on tools, methods, and dSPACE products:
Engineering Services
Haven't found what you're looking for? Our Engineering Service will be happy to discuss your use case and can offer you customized implementations and technical services.