| Algorithm 2. Online monitoring phase. |
| Step 1: Input online process data ; |
| Step 2: Determine the mode of the starting phase by minimum ; |
| Step 3: Monitor the current continuous data from to using an offline model corresponding to time data;
Situation 1: Below the control limit. The current process mode is the same as the previous one. Situation 2: Exceeding the control limit. Situation 2.1: The current process has a fault situation. Situation 2.2: The current process enters a new mode. Situation 2.2.1: The process is in transition mode at the previous moment. Situation 2.2.2: The process is in stable mode at the previous moment. |
| Step 4: For situation 2.2.2, calculate matching value for online modal recognition. |
| Step 5: Use the model determined in step 4 to remonitor. If it is below the control limits, the currently selected model matches the actual mode. If it exceeds the control limits, a fault has occurred. |