PLECS

Last updated
PLECS
Developer(s) Plexim
Initial release2002;21 years ago (2002)
Operating system Mac OS X, Windows, Linux
Platform Standalone or Simulink
Available in English, Japanese
Type Simulation software
License Proprietary
Website www.plexim.com/products/

PLECS (Piecewise Linear Electrical Circuit Simulation) is a software tool for system-level simulations of electrical circuits developed by Plexim. [1] It is especially designed for power electronics but can be used for any electrical network. PLECS includes the possibility to model controls and different physical domains (thermal, [2] magnetic [3] [4] and mechanical [5] ) besides the electrical system.

Contents

Most circuit simulation programs model switches as highly nonlinear elements. Due to steep voltage and current transient, the simulation becomes slow when switches are commutated. In most simplistic applications, switches are modelled as variable resistors that alternate between a very small and a very large resistance. In other cases, they are represented by a sophisticated semiconductor model.

When simulating complex power electronic systems, however, the processes during switching are of little interest. In these situations it is more appropriate to use ideal switches that toggle instantaneously between a closed and an open circuit. This approach, which is implemented in PLECS, has two major advantages: Firstly, it yields systems that are piecewise-linear across switching instants, thus resolving the otherwise difficult problem of simulating the non-linear discontinuity that occurs in the equivalent-circuit at the switching instant. Secondly, to handle discontinuities at the switching instants, only two integration steps are required (one for before the instant, and one after). Both of these advantages speed up the simulation considerably, without sacrificing accuracy. Thus the software is ideally suited for modelling and simulation of complex drive systems [6] and modular multilevel converters, [7] for example.

In recent years, PLECS has been extended to also support model-based development of controls with automatic code generation. In addition to software, the PLECS product family includes real-time simulation hardware for both hardware-in-the-loop (HIL) testing and rapid control prototyping. [8]

The PLECS software is available in two editions: PLECS Blockset for integration with MATLAB®/Simulink®, and PLECS Standalone, a completely independent product.

When using PLECS Blockset, the control loops are usually created in Simulink, while the electrical circuits are modelled in PLECS. PLECS Standalone on the other hand can be operated independently from other software and offers an all-in-one solution for modelling electrical circuits and controls in a single environment. Both editions are interoperable with each other.

The main difference between the two versions is that PLECS Standalone runs faster than PLECS Blockset due to its optimised engine.

Add-on PLECS Coder

A code generator usually converts some intermediate representation of source code into machine code. The PLECS Coder is an add-on to PLECS Blockset and PLECS Standalone. It generates ANSI-C code from a PLECS model which can be compiled to execute on the simulation host or a separate target. The target can be an embedded control platform or a real-time digital simulator. The PLECS Coder can also produce embedded code for specific hardware targets.

Add-on PLECS PIL

In the Model-based design of control loops, Processor-in-the-Loop (PIL) simulation can accelerate the development process. It allows engineers to test their control algorithms on the real hardware inside a virtual circuit simulator. As an add-on to PLECS Blockset and PLECS Standalone, PLECS PIL provides that solution.

Hardware for Real-Time Simulations

PLECS RT Box 3 with a LaunchPad Interface Card Rtbox3 side breakout.jpg
PLECS RT Box 3 with a LaunchPad Interface Card

The PLECS RT Box is a real-time simulator specially designed for power electronics applications. [9] It is a processing unit for both real-time hardware-in-the-loop (HIL) testing and rapid control prototyping. A PLECS RT Box can be programmed and operated from PLECS. Thus, a software license of PLECS (Blockset or Standalone) and a PLECS Coder license are required to operate the hardware.


Related Research Articles

<span class="mw-page-title-main">Electrical network</span> Assemblage of connected electrical elements

An electrical network is an interconnection of electrical components or a model of such an interconnection, consisting of electrical elements. An electrical circuit is a network consisting of a closed loop, giving a return path for the current. Thus all circuits are networks, but not all networks are circuits. Linear electrical networks, a special type consisting only of sources, linear lumped elements, and linear distributed elements, have the property that signals are linearly superimposable. They are thus more easily analyzed, using powerful frequency domain methods such as Laplace transforms, to determine DC response, AC response, and transient response.

In computer engineering, a hardware description language (HDL) is a specialized computer language used to describe the structure and behavior of electronic circuits, and most commonly, digital logic circuits.

SPICE is a general-purpose, open-source analog electronic circuit simulator. It is a program used in integrated circuit and board-level design to check the integrity of circuit designs and to predict circuit behavior.

This is an alphabetical list of articles pertaining specifically to electrical and electronics engineering. For a thematic list, please see List of electrical engineering topics. For a broad overview of engineering, see List of engineering topics. For biographies, see List of engineers.

<span class="mw-page-title-main">OrCAD</span> Electronic design automation software

OrCAD Systems Corporation was a software company that made OrCAD, a proprietary software tool suite used primarily for electronic design automation (EDA). The software is used mainly by electronic design engineers and electronic technicians to create electronic schematics, and perform mixed-signal simulation and electronic prints for manufacturing printed circuit boards (PCBs). OrCAD was taken over by Cadence Design Systems in 1999 and was integrated with Cadence Allegro in 2005.

VisSim is a visual block diagram program for simulation of dynamical systems and model-based design of embedded systems, with its own visual language. It is developed by Visual Solutions of Westford, Massachusetts. Visual Solutions was acquired by Altair in August 2014 and its products have been rebranded as Altair Embed as a part of Altair's Model Based Development Suite. With Embed, you can develop virtual prototypes of dynamic systems. Models are built by sliding blocks into the work area and wiring them together with the mouse. Embed automatically converts the control diagrams into C-code ready to be downloaded to the target hardware.

Hardware-in-the-loop (HIL) simulation, HWIL, or HITL, is a technique that is used in the development and testing of complex real-time embedded systems. HIL simulation provides an effective testing platform by adding the complexity of the process-actuator system, known as a plant, to the test platform. The complexity of the plant under control is included in testing and development by adding a mathematical representation of all related dynamic systems. These mathematical representations are referred to as the "plant simulation". The embedded system to be tested interacts with this plant simulation.

Electronic circuit design comprises the analysis and synthesis of electronic circuits.

<span class="mw-page-title-main">CircuitLogix</span>

CircuitLogix is a software electronic circuit simulator which uses PSpice to simulate thousands of electronic devices, models, and circuits. CircuitLogix supports analog, digital, and mixed-signal circuits, and its SPICE simulation gives accurate real-world results. The graphic user interface allows students to quickly and easily draw, modify and combine analog and digital circuit diagrams. CircuitLogix was first launched in 2005, and its popularity has grown quickly since that time. In 2012, it reached the milestone of 250,000 licensed users, and became the first electronics simulation product to have a global installed base of a quarter-million customers in over 100 countries.

<span class="mw-page-title-main">Electronic circuit simulation</span>

Electronic circuit simulation uses mathematical models to replicate the behavior of an actual electronic device or circuit. Simulation software allows for modeling of circuit operation and is an invaluable analysis tool. Due to its highly accurate modeling capability, many colleges and universities use this type of software for the teaching of electronics technician and electronics engineering programs. Electronics simulation software engages its users by integrating them into the learning experience. These kinds of interactions actively engage learners to analyze, synthesize, organize, and evaluate content and result in learners constructing their own knowledge.

Model-based design (MBD) is a mathematical and visual method of addressing problems associated with designing complex control, signal processing and communication systems. It is used in many motion control, industrial equipment, aerospace, and automotive applications. Model-based design is a methodology applied in designing embedded software.

CAMeL-View is a software application, which is used for the model based design of mechatronic systems.

<span class="mw-page-title-main">SimulationX</span> Software application

SimulationX is a CAE software application running on Microsoft Windows for the physical simulation of technical systems. It is developed and sold by ESI Group.

<span class="mw-page-title-main">Siconos</span> Open source scientific software for modeling non-smooth dynamical systems

SICONOS is an Open Source scientific software primarily targeted at modeling and simulating non-smooth dynamical systems (NSDS):

ADvantage Framework is a model-based systems engineering software platform used for a range of activities including building and operating real-time simulation-based lab test facilities for hardware-in-the-loop simulation purposes. ADvantage includes several desktop applications and run-time services software. The ADvantage run-time services combine a Real-Time Operating System (RTOS) layered on top of commercial computer equipment such as single board computers or standard PCs. The ADvantage tools include a development environment, a run-time environment, a plotting and analysis tool set, a fault insertion control application, and a vehicle network configuration and management tool that runs on a Windows or Linux desktop or laptop PC. The ADvantage user base is composed mainly of aerospace, defense, and naval/marine companies and academic researchers. Recent ADvantage real-time applications involved research and development of power systems applications including microgrid/smartgrid control and All-Electric Ship applications.

dSPACE GmbH, located in Paderborn, Germany, is one of the world's leading providers of tools for developing electronic control units.

Simcenter Amesim is a commercial simulation software for the modeling and analysis of multi-domain systems. It is part of systems engineering domain and falls into the mechatronic engineering field.

<span class="mw-page-title-main">PSIM Software</span>

PSIM is an Electronic circuit simulation software package, designed specifically for use in power electronics and motor drive simulations but can be used to simulate any electronic circuit. Developed by Powersim, PSIM uses nodal analysis and the trapezoidal rule integration as the basis of its simulation algorithm. PSIM provides a schematic capture interface and a waveform viewer Simview. PSIM has several modules that extend its functionality into specific areas of circuit simulation and design including: control theory, electric motors, photovoltaics and wind turbines PSIM is used by industry for research and product development and it is used by educational institutions for research and teaching and was acquired by Altair Engineering in March 2022.

<span class="mw-page-title-main">NL5 Circuit Simulator</span> Software product

NL5 is a mixed-signal electronic circuit simulator with ideal and piecewise-linear components.

References

  1. Jost Allmeling (July 27, 1999). "PLECS-piece-wise linear electrical circuit simulation for Simulink". Proceedings of the IEEE 1999 International Conference on Power Electronics and Drive Systems. PEDS'99 (Cat. No.99TH8475). pp. 355-360 vol.1. doi:10.1109/PEDS.1999.794588. ISBN   0-7803-5769-8. S2CID   111196369.
  2. "Thermal Simulation". Plexim.
  3. Allmeling, Jost; Hammer, Wolfgang; Schönberger, John (July 30, 2012). "Transient simulation of magnetic circuits using the permeance-capacitance analogy". 2012 IEEE 13th Workshop on Control and Modeling for Power Electronics (COMPEL). pp. 1–6. doi:10.1109/COMPEL.2012.6251786. ISBN   978-1-4244-9373-9. S2CID   8589735.
  4. "Magnetics". Plexim.
  5. "Mechanical Systems". Plexim.
  6. De Doncker, Rik W.; Pulle, Duco W.J.; Veltman, Andre (2020). Advanced Electrical Drives (2 ed.). Springer International Publishing. ISBN   978-3-030-48976-2.
  7. Sharifabadi, Kamran; Harnefors, Lennart; Nee, Hans-Peter; Norrga, Staffan; Teodorescu, Remus (2016). Design, Control, and Application of Modular Multilevel Converters for HVDC Transmission Systems. Wiley-IEEE Press. ISBN   978-1-118-85156-2.
  8. Allmeling, Jost (November 21, 2019). "Model Continuity: From Offline Simulation to Real-Time Testing".
  9. Allmeling, Jost; Felderer, Niklaus (April 9, 2018). "Sub-cycle average models with integrated diodes for real-time simulation of power converters". 2017 IEEE Southern Power Electronics Conference (SPEC). pp. 1–6. doi:10.1109/SPEC.2017.8333566. ISBN   978-1-5090-6425-0. S2CID   4712640.