Advanced Settings

Advanced settings are accessed by clicking on the 'Brain button', a feature well-known to users of the original PHD.  PHD2 has a considerably larger set of parameters that can be adjusted to optimize your guiding performance.  Although these are called "advanced" settings, they are not particularly difficult to understand, and you shouldn't hesitate to explore them.  All of the fields on these forms include "tool tips", small message windows that describe each field in some detail.  Simply "hover" the cursor over the field to see the tool-tip.  In many cases, this will provide all the information you need.   Because there are many more settings available, the Advanced Dialog in PHD2 is organized into tabs, and the documentation will follow that model as well.

Global Tab
Guiding Tab
Camera Tab
Mount Tab
AO Tab

Global Tab



Most of the fields on the global tab deal with overall program functions and behavior.  Several of them deal with  logging and debugging functions, which will be discussed first. 

Logging and Debug Output

PHD2 can optionally produce two types of log files: a debug log and a guiding log.  Both are highly useful for different reasons.  The guiding log is similar to the one produced by PHD, but with extended information.  The guide log is intentionally formatted to allow easy interpretation by either a human reader or an external application.  For example, the PHDLab application (not part of the PHD2 project) can produce a variety of graphs and summary statistics based on data in the PHD2 guide log.   But the log can also be easily imported into Excel or other applications for analysis and graphing.  When importing into Excel, just specify that a comma should be used as a column separator  The debug log has a  complete record of everything that was done in the PHD2 session,  so it is very helpful in isolating any problems you  have.  It also employs a human-friendly (albeit verbose) text format, so it's not difficult to examine the debug log to see what happened.  If you need to report a problem with the software, you will almost certainly be asked to provide the debug log file.  If you have neither log file available, you are unlikely to get any help.

These two log files will be generated if  'Enable Logging' is checked on the Global tab.  The location for the files is controlled by the 'Log File Location' field further down in the dialog.  By default, log files are stored in the OS-specific default directory for application data files.  In Windows7, for example, the files will be stored in a 'PHD2' sub-folder in the "AppData\Local" location.  This may not be a convenient location, so you can specify a different folder using this edit field.

In some unusual cases, you may need to capture guide camera images, usually to support debugging and problem resolution.  This can be enabled by checking the 'Enable Star-image Logging' checkbox.


General Parameters

The remaining controls on the 'Global' tab are well-described by their respective tool-tips, but they are summarized here for completeness:

Guiding Tab



There are relatively few parameters found on the 'Guiding' tab.  Their use is as follows:

Camera Tab



The controls on the 'Camera' tab are used as follows:

Mount Tab



The mount tab is the most complex area of Advanced Settings largely because it has so many parameters and UI controls.  Most of these settings are closely tied to the various guiding algorithms, and the contents of the dialog will change significantly if you change the algorithm selections.  For that reason, all the parameters related to guide algorithms will be treated together, in a separate section.

The remaining controls, the ones that are independent of the guiding algorithm selections, are described below.

Calc_step_dialog

To use the calculator, be sure the topmost three edit controls are correctly filled in.  If you have already specified the focal length and the camera pixel size in the 'Global' and 'Camera' tabs respectively, those fields will already be populated in this form.  If you are using an ASCOM connection to your mount, the fields for "Guide speed" and "Calibration declination" will also have the correct values.  Otherwise, you'll need to supply them yourself.  The guide speed is specified as a multiple of sidereal speed - most mounts will use something like 1X or 0.5X sidereal, but you can choose something else.  You can leave the 'calibration steps' field at the default value of 12, which is likely to result in a good calibration.  Use of a significantly smaller value raises the likelihood that seeing errors or small mount errors will cause calibration errors .  As you change the values in these fields,  PHD2 will recalculate your current image scale and a recommended value for the calibration step-size.  If you then click on 'Ok', that value will be inserted into the calibration step-size field of the 'Mount' dialog.  Clicking 'Ok' will also populate the focal length and camera pixel size fields in the 'Global' and 'Camera' tabs, so any changes you made in the calculator will be reflected there as well.  However, this will not be done if you click on 'Cancel' in the calculator dialog. All of the other controls in this dialog are related to the guiding algorithms you have chosen and are described here: Guiding Algorithms and Settings

AO Tab



Most of the edit controls at the top of the AO tab have the same meaning as their counterparts on the 'Mount' tab.  The guiding algorithms apply to the control of the tip/tilt optical element in the AO device itself, not to the "bump" commands sent to the mount.  Since the AO device is not trying to move a heavy piece of equipment, you can afford to be more aggressive in your guide algorithm parameters.  If you use a hysteresis-based algorithm, for example, you should probably start with a high level of aggressiveness, perhaps 100%.  Or you can choose the 'None' algorithm, which means there will be no damping or history-based algorithm applied at all.  In that case, each correction will be based only on the most recent guide frame and will make a 100% correction of the most recent deflection.  

You can use the four parameters at the bottom of the AO tab to control the calibration process and the manner in which 'bump' operations are done.  The 'calibration step' field tells PHD2 the amount to move the tip/tilt element in each of the up/down/left/right directions, in units of AO steps, during calibration.  The guide star position is measured at the beginning and end of each "leg" of the calibration, and the 'samples to average' parameter tells PHD2 how many samples to take at each of these points.  Averaging images is important because the seeing will always cause the guide star to "bounce around" a bit.  As discussed earlier, the AO unit can make corrections only within a limited range of guide star movement.  You will want to initiate mount 'bump' corrections before these limits are actually reached, and the 'bump percentage' field is used for that purpose.  To move the mount, the full bump correction is accomplished in steps - the 'bump step' field controls the size of these increments.  If the bump operation has begun and the guide star remains outside the "bump percentage" area, PHD2 will increase the bump size until the guide star is back within that range.  Additional movement from that point to the "center" position will continue at the specified "bump step size".  This complexity is required in order to maintain good guiding, with no elongated stars, even as the mount is being bumped.  During the bump operation, the AO is continuing to make corrections, so the long "mount bump" is continuously offset by adjustments in the AO.