Quarc Library Simulink 【2026 Update】

Understanding the QUARC Targets Library for Simulink QUARC Real-Time Control Software is a powerful tool by that transforms

Live Parameter Tuning: Change gains, setpoints, or logic in the Simulink model while it is running on the hardware, and see the results instantly without stopping the process. quarc library simulink

Mark Thompson is a control systems engineer with over a decade of experience in real-time simulation and hardware-in-the-loop testing. This article was reviewed by Quanser Inc. for technical accuracy as of 2025. Understanding the QUARC Targets Library for Simulink QUARC

Hard Real-Time Performance: Achieve deterministic execution on Windows (real-time extension) or Linux (with PREEMPT_RT) – ideal for robotics, aerospace, and mechatronics. 1.2 Key Capabilities

Example: Controlling a DC Motor. You read an encoder using HIL Read Encoder, compute a PID control law in Simulink, and output a PWM signal via HIL Write PWM.

The "Code-Less" Workflow

The defining feature of Quarc is its abstraction of the deployment process. In a standard workflow, an engineer designs a controller, generates C code using Embedded Coder, writes hardware drivers, compiles the code, transfers the executable, and debugs. Quarc collapses this into a "Build" and "Run" button within the Simulink interface.

3. Real-Time Visualization and Interaction

One of the biggest challenges in hardware-in-the-loop (HIL) testing is debugging a system that is running faster than the human eye can track. Quarc solves this with advanced monitoring tools.

Typical Use Cases

  • Automotive ECU development (control, diagnostics, fault management)
  • Aerospace flight-control prototyping and production code
  • Industrial automation controllers migrating from hand-written C to model-based workflows
  • Projects requiring strong traceability and verification for certification

1.2 Key Capabilities

  • Hardware-in-the-Loop (HIL): Connect sensors and actuators directly to your Simulink diagram.
  • Real-Time Synchronization: Ensure that the loop executes at precisely defined sample rates (e.g., every 0.001s).
  • Streaming & Logging: Monitor signals in real-time using Simulink’s Scope or log data to MAT-files without interruption.
  • Remote Control: Deploy models to a dedicated real-time target machine and interact with them from a host PC.

Post a Comment

0 Comments

Post a Comment (0)
3/related/default