Quarc Library Simulink [top] Guide
The QUARC library is extensive. A comprehensive understanding of its block categories is crucial for effective model building. The library is divided into several distinct categories, each serving a specific function.
These blocks are the core of QUARC, allowing communication with data acquisition (DAQ) cards.
At its heart, QUARC (Quanser Real-Time Control) is Quanser's state-of-the-art rapid prototyping and production system for real-time control. Unlike a separate application, QUARC is designed to integrate seamlessly with Simulink, essentially transforming the familiar simulation environment into a powerful platform for real-time hardware control. It allows users to design and simulate a controller entirely within Simulink and then, with a single click, automatically generate, compile, and deploy real-time code to execute that controller on a physical system. This functionality is built upon the legacy of Quanser's pioneering real-time software, WinCon, with QUARC redefining the traditional design-to-implementation interface. It empowers engineers to apply complex control strategies quickly and effectively, making the verification of theory on real plants an accessible reality.
Complex robotic systems rarely operate at a single speed. Quarc handles the intricacies of real-time operating systems (RTOS) automatically.
What specific or DAQ board are you trying to interface with? quarc library simulink
If you’re working on real-time control systems, hardware-in-the-loop (HIL) testing, or rapid prototyping in MATLAB/Simulink, you need to know about QUARC from Quanser.
QUARC simplifies this by operating directly inside the Simulink environment. It provides a specialized suite of blocks that handle low-level hardware communication, timing, and data streaming seamlessly. Key Benefits
No more manual I/O coding. Just add QUARC blocks to your Simulink model and run directly on hardware.
Transmits and receives raw bytes, matrices, or structural data deterministically during the execution loop. Multimedia Blockset The QUARC library is extensive
– Quanser lab workstations, integrated with QUARC, enable interactive project-based learning in control systems, mechatronics, and robotics curricula. Students can design controllers in Simulink, test them in simulation, then deploy them to physical hardware—gaining hands-on experience with rapid control prototyping. Laboratory exercises cover topics from basic PID control to advanced concepts like inverted pendulum balancing, active suspension systems, and multi-agent collaborative control.
Below is a breakdown of the key features that make the Quarc Library a standard in academic and industrial research.
This guide explores the architecture, core blocks, and practical workflows of the QUARC library, detailing how it accelerates the development of complex mechatronic, robotic, and aerospace systems. 1. What is QUARC?
High-performance blocks used to sample inputs (analog, digital, encoder, gyroscope) and drive outputs (analog motor commands, digital relays, PWM signals) in a single, synchronized step. These blocks are the core of QUARC, allowing
– This component runs in the real-time environment (on the target system) and manages the real-time code. Unlike WinCon Client, which required a desktop operating system, the QUARC Target Manager is designed for embedded systems and runs directly on the target, making it far more suitable for deployment scenarios.
Have you used QUARC with Simulink? What’s your favorite feature – HIL Write blocks, the ultra-low latency, or the easy data logging?
Insert a block to capture the current state of your plant (like an encoder angle).