The real power of QUARC, however, became apparent when the team started running simulations. They created a virtual environment that mimicked real-world conditions, including sensor noise, actuator limitations, and various environmental factors. With QUARC, they could test their control system in a wide range of scenarios, from normal operating conditions to edge cases and fault conditions.
One of the hidden gems of the Quarc library is its Stream API. It allows for Inter-Process Communication (IPC) and networking. quarc library simulink
The library includes a suite of blocks for TCP/IP, UDP, Serial, SPI, I2C, and shared memory, all manageable via a unified Universal Resource Identifier (URI) system. The real power of QUARC, however, became apparent
| Feature | Benefit | |---------|---------| | | Deterministic timing for control loops (as fast as 10–50 µs on some hardware). | | Direct hardware mapping | No manual coding of I/O – just drag and drop. | | Simulation to deployment | Same model works for offline simulation and real hardware. | | Monitoring | Live tuning of gains, logging data, and runtime visualization. | | Multi-platform | Supports Windows, Linux, and real-time targets like QNX (with additional Quanser hardware). | One of the hidden gems of the Quarc
The QUARC Targets Library is organized into several essential categories: Quanser Lab Workstation Support from Simulink - MathWorks