Neural Network Reconstructor and Predictive Control

You can use the neural network reconstructor (CNN) to run the high-order (HO) loop with the pyramid unmodulated. Predictive control (PO4AO) can be used with either the CNN or the CACAO reconstructor. To open the GUI, run:

$ po4aoGUI

Switching reconstructors

  1. Check Link modulation if you want the pyramid modulation to follow the reconstructor switch.

  2. To use the currently loaded model, click Switch to CNN. To select a model, choose it from the CNN Reconstructor dropdown and click Set reconstructor to activate it.

  3. Click Switch to CACAO to switch back.

Predictive control

  1. With the HO loop closed, click Enable policy.

  2. To train a policy, click Start learning once warmup shows Ready. Keep the HO loop gains fixed while PO4AO is training.

Optional controls

  • Click Recollect warmup if you want fresh data.

  • Click Pause learning to keep using the current policy without updating it. Click Resume learning to continue training.

  • Click Disable policy to return to the integrator and pause learning.

  • To save the current policy, click Save policy. To use a saved one, select it under Policy, click Set policy, then Enable policy if needed.

If predictive control becomes unstable, click Reset PO4AO to return to the integrator and discard the current policy. Increase Command regularization to penalize large commands, increase Delta policy regularization to limit changes between policies, or decrease Learning rate to take smaller training steps. Press Enter after each edit. Once the loop is stable, click Enable policy, then Start learning when warmup shows Ready.