Liquid Instruments Moku:pro Pid Controller Flexible High Performance Software User Guide

Liquid Instruments Moku:pro Pid Controller Flexible High Performance Software User Guide

Liquid Instruments LOGO

Liquid Instruments Moku:Pro PID Controller Flexible High Performance Software

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software

PID Controller Moku

Pro User Manual

The Moku: Pro PID (Proportional-Integrator-Differentiator)
Controller is a device that features four fully real-time configurable PID controllers with a closed-loop bandwidth of >100 kHz. This enables them to be used in applications requiring both low and high feedback bandwidths such as temperature and laser frequency stabilization. The PID Controller can also be used as a lead-lag compensator by saturating the integral and differential controllers with independent gain settings.

Product Usage Instructions

To use the Moku:Pro PID Controller, follow the steps below:

  1. Ensure that the Moku:Pro device is fully updated. For the latest information, visit www.liquidinstruments.com.
  2. Access the main menu by pressing the icon on the user interface.
  3. Configure the input settings for Channel 1 and Channel 2 by accessing the input configuration options (2a and 2b).
  4. Configure the control matrix (option 3) to set up the MIMO controllers for PID 1 / 2 and PID 3 / 4.
  5. Configure the PID Controller settings for PID Controller 1 and PID Controller 2 (options 4a and 4b).
  6. Enable the output switches for Channel 1 and Channel 2 (options 5a and 5b).
  7. Enable the integrated Data Logger (option 6) and/or the integrated Oscilloscope (option 7) as needed.

Note that throughout the manual, default colors are used to present instrument features, but you can customize the color representations for each channel in the preferences pane accessed via the main menu.

The Moku:Pro PID (Proportional-Integrator-Differentiator) Controller features four fully real-time configurable PID controllers with a closed-loop bandwidth of >100 kHz. This enables them to be used in applications requiring both low and high feedback bandwidths such as temperature and laser frequency stabilization. The PID Controller can also be used as a lead-lag compensator by saturating the integral and differential controllers with independent gain settings.

Ensure Moku:Pro is fully updated. For the latest information:

www.liquidinstruments.com

User Interface

Moku: Pro is equipped with four inputs, four outputs, and four PID controllers. Two control matrices are used to create two multiple-input and multiple-output (MIMO) controllers for PID 1 / 2, and PID 3/ 4. You can tap the Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-1orLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-2 icons to switch between MIMO group 1 and 2. MIMO group 1 (inputs 1 and 2, PID 1 and 2, Output 1 and 2) is used throughout this manual. The settings for MIMO group 2 are similar to MIMO group 1.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-3

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-4

IDDescription
1Main menu.
2aInput configuration for Channel 1.
2bInput configuration for Channel 2.
3Control matrix.
4aConfiguration for PID Controller 1.
4bConfiguration for PID Controller 2.
5aOutput switch for Channel 1.
5bOutput switch for Channel 2.
6Enable the integrated Data Logger.
7Enable the integrated Oscilloscope.

Main Menu

The main menu can be accessed by pressing theLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-5 icon, allowing you to:

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-6

Preferences
The preferences pane can be accessed via the main menu. In here, you can reassign the color representations for each channel, connect to Dropbox, etc. Throughout the manual, the default colors (shown in the figure below) are used to present instrument features.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-7

IDDescription
1Tap to change the color associated with input channels.
2Tap to change the color associated with output channels.
3Tap to change the color associated with math channel.
4Indicate touch points on the screen with circles. This can be useful for demonstrations.
5Change the currently linked Dropbox account to which data can be uploaded.
6Notify when a new version of the app is available.
7Moku:Pro automatically saves instrument settings when exiting the app, and restores them

again at launch. When disabled, all settings will be reset to defaults on launch.

8Moku:Pro can remember the last used instrument and automatically reconnect to it at launch.

When disabled, you will need to manually connect every time.

9Reset all instruments to their default state.
10Save and apply settings.
Input Configuration

The input configuration can be accessed by tapping theLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-8orLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-9 icon, allowing you to adjust the coupling, impedance and input range for each input channel.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-10

Details about the probe points can be found in the Probe Points section.

Control Matrix

The control matrix combines, rescales, and redistributes the input signal to the two independent PID controllers. The output vector is the product of the control matrix multiplied by the input vector.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-11

where

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-12

For example, a control matrix of Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-13 equally combines the Input 1 and Input 2 to the top Path1 (PID Controller 1); multiples Input 2 by a factor of two, and then sends it to the bottom Path2 (PID Controller 2).

The value of each element in the control matrix can be set between -20 to +20 with 0.1 increments when the absolute value is less than 10, or 1 increment when the absolute value is between 10 and 20. Tap the element to adjust the value.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-14

PID Controller

The four independent, fully real-time configurable PID controllers are grouped into two MIMO groups. MIMO group 1 is shown here. In MIMO group 1, PID controller 1 and 2 follow the control matrix in the block diagram, represented in green and purple, respectively. The settings for all controller paths are the same.

User Interface

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-15

IDParameterDescription
1Input offsetTap to adjust the input offset (-1 to +1 V).
2Input switchTap to zero the input signal.
3aQuick PID controlTap to enable/disable controllers and adjust the parameters. Not

available in advanced mode.

3bController viewTap to open full controller view.
4Output switchTap to zero the output signal.
5Output offsetTap to adjust the output offset (-1 to +1 V).
6Output probeTap to enable/disable the output probe point. See Probe Points

section for details.

7Moku:Pro output

switch

Tap to disable or enable DAC output with 0 dB or 14 dB gain.

Input / Output Switches

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-16Closed/Enable

Open/disable

Controller (Basic Mode)

Controller Interface
Tap theLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-17 icon to open the full controller view.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-18

IDParameterDescription
1Design cursor 1Cursor for Integrator (I) setting.
2aDesign cursor 2Cursor for Integrator Saturation (IS) level.
2bCursor 2 readingReading for IS level. Drag to adjust the gain.
3aDesign cursor 3Cursor for Proportional (P) gain.
3bCursor 3 readingReading of the P gain.
4aCursor 4 readingReading for I crossover frequency. Drag to adjust the gain.
4bDesign cursor 4Cursor for I crossover frequency.
5Display toggleToggle between magnitude and phase response curve.
6Close controller viewTap to close the full controller view.
7PID control switchesTurn on/off individual controller.
8Advanced modeTap to switch to the advanced mode.
9Overall gain sliderSwipe to adjust overall gain of the controller.

PID Response Plot
The PID response plot provides an interactive representation (gain as a function of frequency) of the controller.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-19

The green/purple solid curve represents the active response curve for PID Controller 1 and 2, respectively.
The green/purple dashed vertical lines (4) represent the cursors crossover frequencies, and/or unity gain frequencies for PID Controller 1 and 2, respectively.
The red dashed lines (○1 and 2) represent the cursors for each controller.
The bold red dashed line (3) represents the cursor for actively selected parameter.

PID Paths
There are six switch buttons for the controller:

IDDescriptionIDDescription
PProportional gainI+Double integrator crossover frequency
IIntegrator crossover frequencyISIntegrator saturation level
DDifferentiatorDSDifferentiator saturation level

Each button has three states: off, preview, and on. Tap or click the buttons to rotate through these states. Long press the buttons to go reverse order.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-20

PID Path Preview
PID path preview allows the user to preview and adjust the settings on the PID response plot before engaging.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-21

List of Configurable Parameters in Basic Mode

ParametersRange
Overall gain± 60 dB
Proportional gain± 60 dB
Integrator crossover frequency312.5 mHz to 3.125 MHz
Double integrator crossover3,125 Hz to 31.25 MHz
Differentiator crossover frequency3.125 Hz to 31.25 MHz
Integrator saturation level± 60 dB or limited by the crossover frequency/proportional

gain

Differentiator saturation level± 60 dB or limited by the crossover frequency/proportional

gain

Controller (Advanced Mode)
In Advanced Mode, users can build fully customized controllers with two independent sections (A and B), and six adjustable parameters in each section. Tap the Advanced Mode button in the full controller view to switch to the Advanced Mode.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-22

IDParameterDescription
1Display toggleToggle between magnitude and phase response curve.
2Close controller viewTap to close the full controller view.
3aSection A paneTap to select and configure Section A.
3bSection B paneTap to select and configure Section B.
4Section A SwitchMaster switch for Section A.
5Overall gainTap to adjust the overall gain.
6Proportional panelTap the switch to enable/disable proportional path. Tap the number

to adjust the gain.

7Integrator panelTap the switch to enable/disable integrator path. Tap the number to

adjust the gain.

8Differentiator panelTap the switch to enable/disable differential path. Tap the number to

adjust the gain.

9Additional Settings 
 Integrator corner

frequency

Tap to set the frequency of the integrator corner.
 Differentiator corner

frequency

Tap to set the frequency of the differentiator corner.
10Basic modeTap to switch to the basic mode.

Quick PID Control
This panel allows user quickly to view, enable, disable, and adjust the PID controller without open the controller interface. It is only available in basic PID mode.

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-23

Tap theLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-24 icon to disable active controller path.
Tap theLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-25 icon to select the controller to adjust.
Tap the faded icon (i.e.Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-26 ) to enable the path.
Tap the active controller path icon (i.e.Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-27 ) to enter the value. Hold and slide to adjust the value.

Probe Points

The Moku:Pro PID controller has an integrated oscilloscope and data logger that can be used to probe the signal at the input, pre-PID, and output stages. The probe points can be added by tapping theLiquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-28 icon.

Oscilloscope

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-29

IDParameterDescription
1Input probe pointTap to place the probe point at input.
2Pre-PID probe pointTap to place the probe after the control matrix.
3Output probe pointTap to place the probe at output.
4Oscilloscope/data

logger toggle

Toggle between built-in oscilloscope or data logger.
5OscilloscopeRefer to the Moku:Pro Oscilloscope manual for the details.

Data Logger 

Liquid Instruments-Moku-Pro-PID-Controller-Flexible-High-Performance-Software-30

IDParameterDescription
1Input probe pointTap to place the probe point at input.
2Pre-PID probe pointTap to place the probe after the control matrix.
3Output probe pointTap to place the probe at output.
4Oscilloscope/Data

Logger toggle

Toggle between built-in Oscilloscope or Data Logger.
5Data LoggerRefer to the Moku:Pro Data Logger manual for the details.

The Embedded Data Logger can stream over a network or save data on the Moku. For details, refer to the Data Logger user manual. More streaming information is in our API documents at apis.liquidinstruments.com

Ensure Moku:Pro is fully updated. For the latest information:

www.liquidinstruments.com

© 2023 Liquid Instruments. All rights reserved.

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals