Parameter Optimizer help

This tool lets you optimize the parameters of a system modeled in Pspice or Simulink. The application looks like this:

 

 

1.

Those are the file tools. You can open or save an optimization file with all the configuration with the first two. The third one lets you export the results of an optimization to a report you can easily view.

2.

You can start the simulation with the green button. The blue updates the graphs if you have them with auto_update set to false. The third one stops the simulation. It may take a few minutes to stop, it’s ok.

3.

Here you have access to the different parts of the app. The first is the data tab where you put the configuration of the problem. In the second called convergence you can see an evolution of the parameters and error. In the third you have the results presented as the model curve and the experimental data. The fourth is settings where you can set the location of psp_cmd.exe, whether or not you want the graphs to auto-update (default is yes) and if you want grid on the graphs. Last is help.

4.

You have access to some common tools to manipulate the graphs.

 

Data

In this tab you specify the configuration of the optimization. You must input all the fields. To input them easier a separate tool has been made that you can access by pressing the “DataPicker” button in this tab. Please go to its help page for more information on how to use it. After you specify all the data you can run the simulation by pressing run and stop it with the stop red button. 

Convergence

In this tab you can see the evolution of the parameters and error. It tracks every function evaluation so you can see how the algorithm works. Because of this, the number of actual iterations is closer to N/num_params.

Results

This tab shows the experimental data graphs compared with the ones from the model. It shows the experimental curves in blue. In red it’s the initial guess using the initial parameters. On black and dashed it’s the current model curves with the parameters that are being used.

Settings

Here you must specify the location of the psp_cmd.exe location that is located in the directory where Pspice is installed. Usually it’s D:\Cadence\SPB_16.3\tools\pspice\psp_cmd.exe.

You can also choose whether or not you want the graphs to update in each function evaluation. Because the simulations are typically slow this option may be left on without affecting performance.

Lastly you can specify if you want to see a grid in the graphs.

Help

Gives access to this document.