Application of PAT-Based Feedback Control Approaches in Pharmaceutical Crystallization

: Crystallization is one of the important unit operations for the separation and puriﬁcation of solid products in the chemical, pharmaceutical, and pesticide industries, especially for realizing high-end, high-value solid products. The precise control of the solution crystallization process determines the polymorph, crystal shape, size, and size distribution of the crystal product, which is of great signiﬁcance to improve product quality and production efﬁciency. In order to develop the crystallization process in a scientiﬁc method that is based on process parameters and data, process analysis technology (PAT) has become an important enabling platform. In this paper, we review the development of PAT in the ﬁeld of crystallization in recent years. Based on the current research status of drug crystallization process control, the monitoring methods and control strategies of feedback control in the crystallization process were systematically summarized. The focus is on the application of model-free feedback control strategies based on the solution and solid information collected by various online monitoring equipment in product engineering, including improving particle size distribution, achieving polymorphic control, and improving purity. In this paper, the challenges of feedback control strategy in the crystallization process are also discussed, and the development trend of the feedback control strategy has been prospected. bond energy Identify differences in polymorphic forms and enable qualitative and quantitative studies on solvent-mediated transformation, solution concentration, and the ratio of different crystalline forms in solid mixtures [20]


Introduction
Crystallization is an important unit operation in major sectors of the chemical process and allied industries. It separated solid substances from solution, vapor, or molten phases [1]. As a key step of solid-liquid separation, the crystallization process could determine the crystal properties such as purity, morphology, polymorph, size, and size distribution, which have a significant impact on the performance of the solid products. For example, the crystal properties could determine drug performances like dissolution behavior, bioavailability, and the efficiency of post-processing technology e.g., filtration, drying [2]. Therefore, the precise control of the crystallization process is of great significance to the improvement of the total efficiency of the production process and the quality of final products.
The actual purpose of crystallization control is to govern the crystal nucleation and growth, which are still not fully understood especially on the subject of solution crystallization. Nucleation and its mechanism are largely studied to get a further understanding of this key stage, mainly focusing on the qualitative and quantitative interactions between the solute, solvent, and external additives, and how the solute molecules self-assemble into The ultraviolet-visible absorption spectrum is an electronic spectrum, which is produced by the transition of valence electrons. The composition, content, and structure of a substance can be analyzed, determined, and infer determined by using ultraviolet-visible absorption spectrum and the degree of absorption of ultraviolet-visible light by substance molecules or ions In situ monitoring of nucleation [9], crystal form transformation and supersaturation changes [10] Raman Raman spectroscopy is a kind of scattering spectrum, which is analyzed with different incident light frequencies to obtain information on molecular vibration and rotation. Raman frequency offset is represented by the abscissa, and Raman intensity is represented by the ordinate, which is complementary to the infrared spectrum and available for analyzing information related to intermolecular bond energy Identify differences in polymorphic forms and enable qualitative and quantitative studies on solvent-mediated transformation, solution concentration, and the ratio of different crystalline forms in solid mixtures [20] More and more advanced crystallization control strategies and intelligent control systems based on PAT tools are playing an increasingly important role in both lab research and industrial scale [2,21]. This paper reviews the development and application of PAT technology, the feedback control method based on PAT, and its application in the crystallization process.

Solution Crystallization Process Control Approaches
In most industrial solution crystallization systems, traditional control approaches are designed to follow simple operating curves, for example, linear cooling rate, anti-solvent feed rate, or evaporation rate, but these control strategies often fail to meet multi-target product characteristics optimization control targets [22]. The development of PAT sensors and the improvement of their measurement accuracy have gradually been applied to the field of crystallization, which has achieved the accurate measurement of data such as the concentration of liquid phase and the particle size, morphology, and crystal form of the solid phase, prompting researchers to develop more complete crystals process control strategy. The recent advances in modern sensor technology and the crystallization process model have enabled more advanced control strategies to be used more frequently.
The model-free control method is to directly use the measurement value based on PAT to realize crystallization process control. Broadly speaking, model-free control approaches include open-loop control and closed-loop/feedback control approaches. The traditional open-loop control approaches, for instance of the linear control with the constant cooling rate (or antisolvent addition rate), are model-free but simple to understand and implement. In this review, the development and application of feedback control strategies used for various crystallization systems are mainly discussed, which can represent the major advances of model-free crystallization control approaches along with PAT-based measurements. Crystallization process systems are often designed using adaptable feedback control algorithms to reduce the impact of disturbance and promote operational efficiency. The feedback control strategy (e.g., proportional-integral-derivative (PID), cascade) is generally one of the most important elements of an active process control system according to QbC framework [23]. The model-free feedback control strategy is a feedback control strategy based on the difference between the setpoint and the real-time measured value of factors such as concentration, particle number, and temperature. This method can control the crystallization process in the phase diagram or directly control the properties of the solid phase, which is a relatively intuitive control scheme [24].
The problems of process stability and product consistency exist in the solution process, which will seriously affect the crystal properties. Therefore, stability, i.e., robustness control, should be emphasized in the process of solution crystallization to reduce the influence of abnormal fluctuation of the crystal system, process dynamic parameters, and physical operation parameters. Artificial neural networks (ANN) are also used in the field of crystallization processes [25][26][27][28][29]. The ANN-based PVM and FBRM sensors were developed by Szilagyi et al. [30] and can transform the two-dimensional crystal size distribution to chord length distribution and aspect ratio distribution on arbitrary two-dimensional grids. The software soft sensor based on ANN is used to simulate the most likely average value of the bivariate crystal size distribution (2D CSD), and guide the experiment to control the crystal size and shape [31]. As shown in Figure 1, a radial basis function (RBF) neural network is used to train process operating conditions to optimize crystal product target characteristics [32]. The crystallization process is trained by real-time process data collection, process data mining, and process data storage. The control strategy based on RBF neural network can control and adjust the variation of parameters, such as initial supersaturation, agitation rate, impurity content, seed quality, etc., through limited process data, to reduce the influence of various parameters on the specific crystal properties target [33]. The learning and control of process online data do not depend on the specific process model. It is an online data-driven control strategy, which can effectively avoid the impact of process parameter changes on the final crystal products and process operation objectives. The robust control model based on online data learning can ensure the stability of the optimal control path to achieve the process control objectives.
In the majority of industrial crystallization systems, classical feedback loop control strategies are designed to follow simple heuristic operating policies. A series of feedback control methods have been established relying on online process analysis tools. Based on the accurate in-situ concentration measurement of ATR-FTIR or ATR-UV/Vis spectra, the supersaturation control (SSC)/concentration feedback control (CFC) method was established [34]. The direct nucleation control (DNC) was established by FBRM real-time measurement of the number of particles in the solution [9,35]. Polymorph concentration control (PCC) is based on the online Raman real-time measurement of polymorph in solution [36]. The new image analysis based direct nucleation control (IA-DNC) is established by PVM to monitor particles in solution [37]. The combination of SSC-DNC [38] and the mass-count (MC) framework approach was also established by ATR-FTIR and FBRM in the reported studies [39]. The active polymorphic feedback control (APFC) strategy is based on the use of a combination of Raman and ATR-UV/Vis spectroscopy [40]. In the majority of industrial crystallization systems, classical feedback loop control strategies are designed to follow simple heuristic operating policies. A series of feedback control methods have been established relying on online process analysis tools. Based on the accurate in-situ concentration measurement of ATR-FTIR or ATR-UV/Vis spectra, the supersaturation control (SSC)/concentration feedback control (CFC) method was established [34]. The direct nucleation control (DNC) was established by FBRM real-time measurement of the number of particles in the solution [9,35]. Polymorph concentration control (PCC) is based on the online Raman real-time measurement of polymorph in solution [36]. The new image analysis based direct nucleation control (IA-DNC) is established by PVM to monitor particles in solution [37]. The combination of SSC-DNC [38] and the masscount (MC) framework approach was also established by ATR-FTIR and FBRM in the reported studies [39]. The active polymorphic feedback control (APFC) strategy is based on the use of a combination of Raman and ATR-UV/Vis spectroscopy [40].

Supersaturation Control/Concentration Feedback Control
With the development of ATR-FTIR and ATR-UV/Vis accurate in-situ concentration measurement methods, SSC/CFC can be applied to the cooling and dissolution of crystallization systems on laboratory and industrial scales. The advantage that the SSC control strategy can improve product quality has been widely reported in existing research [41,42].
For a typical batch cooling crystallization process, the method of concentration feedback control is shown in Figure 2 [2]. The controller calculates the current solution supersaturation according to the real-time measured concentration C(t) and temperature T(t) and the solubility data Csol(T), and adjusts the temperature in time according to the obtained supersaturation data to maintain the target overshoot in the phase diagram supersaturation setpoint (SSP(T)). The advantage of this method is that it can automatically determine the best operation trajectory in the time domain, such as the cooling curve, by specifying the operation trajectory in the crystal phase diagram, which can be implemented on the industrial scale through a standard tracking control system.

Supersaturation Control/Concentration Feedback Control
With the development of ATR-FTIR and ATR-UV/Vis accurate in-situ concentration measurement methods, SSC/CFC can be applied to the cooling and dissolution of crystallization systems on laboratory and industrial scales. The advantage that the SSC control strategy can improve product quality has been widely reported in existing research [41,42].
For a typical batch cooling crystallization process, the method of concentration feedback control is shown in Figure 2 [2]. The controller calculates the current solution supersaturation according to the real-time measured concentration C(t) and temperature T(t) and the solubility data C sol (T), and adjusts the temperature in time according to the obtained supersaturation data to maintain the target overshoot in the phase diagram supersaturation setpoint (S SP (T)). The advantage of this method is that it can automatically determine the best operation trajectory in the time domain, such as the cooling curve, by specifying the operation trajectory in the crystal phase diagram, which can be implemented on the industrial scale through a standard tracking control system. According to Figure 3a, based on the measured solubility and nucleation metastable limit, the crystallization process needs to be controlled to follow an operating trajectory to avoid the uncertain nucleation zone. However, the crystallization process and the conventional control approaches are often sensitive to variations of process conditions, e.g., crystal attrition, agglomeration, accidental seeding, and impurities. SSC, also called concentration feedback control, is based on the strategy of controlling the crystallization nuclea- According to Figure 3a, based on the measured solubility and nucleation metastable limit, the crystallization process needs to be controlled to follow an operating trajectory to avoid the uncertain nucleation zone. However, the crystallization process and the conventional control approaches are often sensitive to variations of process conditions, e.g., crystal attrition, agglomeration, accidental seeding, and impurities. SSC, also called concentration feedback control, is based on the strategy of controlling the crystallization nucleation and growth by following a targeted operating curve in the phase diagram through manipulating the operating temperature (or solvent/antisolvent ratio) [34,43]. The implementation of SSC requires the solubility of the compound and the real-time solute concentration during the crystallization process. In SSC, a supersaturation setpoint (S sp ) is specified rather than a target concentration trajectory, and the supersaturation setpoint is fixed based on fundamental process understanding: metastable limit, solubility curves of different polymorphs, and other factors might also impact the decision. The main advantage of the SSC over uncontrolled crystallization is that the operating curve can be directly maintained within a "robust operating zone", which can represent the nucleation metastable zone or the targeted polymorph nucleation/growth region. In this way, SSC can avoid undesired nucleation and polymorph transformation and achieve optimal crystallization performance without considerable experiments for investigating the influence mechanism of process conditions [44][45][46]. The schematic representation of the SSC approach is shown in Figure 3b. According to Figure 3a, based on the measured solubility and nucleation metastable limit, the crystallization process needs to be controlled to follow an operating trajectory to avoid the uncertain nucleation zone. However, the crystallization process and the conventional control approaches are often sensitive to variations of process conditions, e.g., crystal attrition, agglomeration, accidental seeding, and impurities. SSC, also called concentration feedback control, is based on the strategy of controlling the crystallization nucleation and growth by following a targeted operating curve in the phase diagram through manipulating the operating temperature (or solvent/antisolvent ratio) [34,43]. The implementation of SSC requires the solubility of the compound and the real-time solute concentration during the crystallization process. In SSC, a supersaturation setpoint (Ssp) is specified rather than a target concentration trajectory, and the supersaturation setpoint is fixed based on fundamental process understanding: metastable limit, solubility curves of different polymorphs, and other factors might also impact the decision. The main advantage of the SSC over uncontrolled crystallization is that the operating curve can be directly maintained within a "robust operating zone", which can represent the nucleation metastable zone or the targeted polymorph nucleation/growth region. In this way, SSC can avoid undesired nucleation and polymorph transformation and achieve optimal crystallization performance without considerable experiments for investigating the influence mechanism of process conditions [44][45][46]. The schematic representation of the SSC approach is shown in Figure 3b.  Supersaturation is the driving force for the crystallization process and many researchers have investigated various methods for supersaturation measurement and implementation of constant SSC strategy [31,46]. By using traditional open-loop control approaches to implement the cooling profile, such as simple linear cooling, it is hard to maintain the concentration operating curve along with an expected trajectory. The SSC is a higher-level control approach through controlling the crystallization operating trajectory rather than controlling the process by just following the timely determined temperature profile (or solvent/antisolvent ratio). Based on the real-time concentration measurement, SSC is also an adaptive control approach to deal with the kinetic variables of the crystallization process, thus a robust operation can be achieved within the metastable nucleation region where intensive nucleation does not happen and the supersaturation is consumed and controlled by crystal growth [47][48][49]. SSC has been widely applied in cooling and antisolvent crystallization systems at the laboratory as well as industrial scales, by which improved critical quality attributes have been extensively demonstrated [3,43,50].
In the SSC framework for a batch cooling crystallization, the solution temperature is controlled from an initial value to a final point with varying cooling rates to achieve the desired concentration trajectory. Hence, by decreasing the temperature in a controlled manner, numerous important crystal properties can be manipulated, such as crystal shape and size distribution [51,52]. Moreover, because the operation curve in the phase diagram can be designed and controlled, the SSC strategy could be particularly used for polymorph control [13,40,[53][54][55][56]. In recent years, the method of SSC has been developed mainly as part of various advanced control strategies for improving specific crystal attributes and process efficiency.
Applications of the SSC approach have also been achieved by many industrial companies, such as Merck Sharp & Dohme Corp [57], Syngenta Crop Protection M€ unch Wilen AG on a 250 L scale [58], BASF SE [59], and Schering-Plough [2]. SSC is a model-free control approach but is calibration-based and the calibration model needs to be transferred from the laboratory into manufacturing capacities, which is generally a particular challenge for industrial implementation [60]. To alleviate this problem, a simplified SSC approach was proposed by using a simpler relationship between the solute concentration and the spectroscopic data, instead of a multivariate calibration model [61]. However, the SSC approach has been developed and applied mainly based on the batch cooling crystallization process, which is widely used in some scenarios, such as the crystallization of heat-sensitive materials and enantiotropic polymorphic crystallization systems [55,56,62,63].

Direct Nucleation Control
Controlling the crystallization process in the metastable zone is conducive to improving the stability of the process. This approach applies to most drug crystallization systems. However, if the system disturbance is relatively severe, for example, fine particles generated by particle breakage, changes in the quality of seed crystals, and changes in the metastable zone caused by fluctuations in raw material composition, etc., the robustness of the process will be greatly reduced. Therefore, many scholars have proposed some new model-free control strategies to weaken the impact of process disturbances, of which DNC is one of the very effective methods [64].
DNC aims to remove fine particles generated by secondary nucleation and allow the growth of the larger crystals. Secondary nucleation increases the number or counts, which can then be lowered by inducing particle dissolution. The real-time monitoring and control of the number of particles in the solution realizes the control of the crystallization process. The DNC approach was developed to directly improve the CSD of the solid product by controlled temperature cycles (or antisolvent/solvent alternate addition) that allow the crystallization metastable zone boundaries to be crossed repeatedly [64]. In the original DNC strategy, based on the understanding that the lower number leads to the larger mean size of the particles with certain output, the crystal counts number per second measured by FBRM is maintained as setpoint and then it can be controlled by successive dissolution (by heating or solvent addition) and supersaturation generation (by cooling or antisolvent addition) [65]. The setpoint of particle counts and the cooling/heating rate (or antisolvent/solvent addition rate) are needed to be identified by preliminary experimental investigation. The control loop of the DNC strategy is shown in Figure 4 [2]. Compared with other model-free control strategies, the most significant feature of direct nucleation control is the ability to directly monitor and control the crystal properties, which can be achieved through a controlled growth and dissolution cycle (cooling/heating cycle or anti-solvent/solvent addition cycle). There are many advantages of this modelfree approach reported for the crystallization production: better CSD and larger mean size of product [66,67], enhancement of crystal surface quality [68], decreased solvent inclusion [69], and so on. In addition, direct nucleation control can repeatedly achieve crystal surface dissolution and regrowth, which can reduce the embedding of impurity molecules in the crystal lattice to improve product purity, and can also repair crystal surface defects [68]. Additionally, the DNC method can also detect the information of the solubility and nucleation lines, thus it is adaptive and robust for crystallization scale-up without prior study on the crystallization model and kinetics.
nal DNC strategy, based on the understanding that the lower number leads to the larger mean size of the particles with certain output, the crystal counts number per second measured by FBRM is maintained as setpoint and then it can be controlled by successive dissolution (by heating or solvent addition) and supersaturation generation (by cooling or antisolvent addition) [65]. The setpoint of particle counts and the cooling/heating rate (or antisolvent/solvent addition rate) are needed to be identified by preliminary experimental investigation. The control loop of the DNC strategy is shown in Figure 4 [2]. Compared with other model-free control strategies, the most significant feature of direct nucleation control is the ability to directly monitor and control the crystal properties, which can be achieved through a controlled growth and dissolution cycle (cooling/heating cycle or anti-solvent/solvent addition cycle). There are many advantages of this model-free approach reported for the crystallization production: better CSD and larger mean size of product [66,67], enhancement of crystal surface quality [68], decreased solvent inclusion [69], and so on. In addition, direct nucleation control can repeatedly achieve crystal surface dissolution and regrowth, which can reduce the embedding of impurity molecules in the crystal lattice to improve product purity, and can also repair crystal surface defects [68]. Additionally, the DNC method can also detect the information of the solubility and nucleation lines, thus it is adaptive and robust for crystallization scaleup without prior study on the crystallization model and kinetics.
Because of the control of the crystal number the DNC is a robust feedback control strategy. When the number of monitored crystals changes, DNC automatically adjusts the operating conditions, which can well overcome the adverse effects of process disturbances. The DNC strategy is applied to the scale-up of the paracetamol cooling crystallization process. At a production scale of 100 L, the properties of paracetamol crystals in different batches during the scale-up process are similar, which proves that the direct nucleation control strategy can be well applied to the crystallization process scale-up [65]. In addition, DNC has a good application in controlling the particle size and size distribution in the process of antisolvent crystallization. Ostergaard et al. used the DNC strategy to obtain the desired solid morphology in a ternary solvent and antisolvent system [70].
Direct nucleation control strategies are gradually applied to various crystallization processes and have been integrated into commercial software packages such as CryPRINS and CryMOCO. The traditional direct nucleation control strategy is based on the particle number information provided by FBRM. However, other properties of the crystal can also be applied to the control algorithm. Therefore, the use of other PAT tools (such as image Because of the control of the crystal number the DNC is a robust feedback control strategy. When the number of monitored crystals changes, DNC automatically adjusts the operating conditions, which can well overcome the adverse effects of process disturbances. The DNC strategy is applied to the scale-up of the paracetamol cooling crystallization process. At a production scale of 100 L, the properties of paracetamol crystals in different batches during the scale-up process are similar, which proves that the direct nucleation control strategy can be well applied to the crystallization process scale-up [65]. In addition, DNC has a good application in controlling the particle size and size distribution in the process of antisolvent crystallization. Ostergaard et al. used the DNC strategy to obtain the desired solid morphology in a ternary solvent and antisolvent system [70]. Direct nucleation control strategies are gradually applied to various crystallization processes and have been integrated into commercial software packages such as CryPRINS and CryMOCO. The traditional direct nucleation control strategy is based on the particle number information provided by FBRM. However, other properties of the crystal can also be applied to the control algorithm. Therefore, the use of other PAT tools (such as image analysis techniques) to design the growth-dissolution cycle to achieve more precise process control is a development trend of direct nucleation control strategies [65].

Image Analysis Based Feedback Control
Digital imaging technology is a rapidly developing technology in industries such as the food industry. Dynamic image analysis (DIA) has also been successfully used in the pharmaceutical industry. Image analysis is also used to measure the residence time distribution of compression and granulation processes, which is becoming more and more widespread in the pharmaceutical industry [71,72]. Based on the extension of the mass flow measurement principle, Madarász et al. [73] created a novel quality measurement system based on image analysis for online measurement of particle size and particle mass flow. The system can capture the image of the feed powder and analyze it in real-time to determine the mass flow rate and the particle size of the free-falling particles; it can also be used for process feedback control to achieve mass flow control by controlling the feeder screw speed. Sayin et al. [74] found that DIA is a promising method for monitoring continuous twinscrew wet granulation. In addition, DIA has been successfully applied to feedback control of batch crystallization [37] and high-shear batch granulation [75]. Madarász et al. [73] established an online particle size analysis tool for continuous wet granulation based on DIA, which realized real-time feedback control of the process by controlling the liquid feed rate. For the real-time monitoring of the crystallization performance, the DIA techniques are suitable for the monitoring and control of crystal shapes. Mazzotti et al. [76][77][78][79] used the stereoscopic imaging device µ-DISCO to provide information such as particle size and shape distribution (PSSD) and solute concentration to the feedback controller to control the shape and size distribution of needle-like crystals. Borsos et al. [37] used PVM technology to achieve real-time monitoring and open-loop crystal aspect ratio (AR) control. In fact, image processing technology is rapidly spreading, and IA-DNC was developed based on PVM. The images collected by PVM are processed in real-time, and information such as the particle size, shape, and relative particle number (counts/s) of the IA-DNC is extracted for particle analysis.
The L-ascorbic acid crystallization process and results are shown in Figure 5 [37]. It can be seen that IA-DNC can successfully control the size distribution of crystals, which provides an alternative method for the FBRM based DNC to control the number of particles or other shape related crystal properties more directly.
be used for process feedback control to achieve mass flow control by controlling the feeder screw speed. Sayin et al. [74] found that DIA is a promising method for monitoring continuous twin-screw wet granulation. In addition, DIA has been successfully applied to feedback control of batch crystallization [37] and high-shear batch granulation [75]. Madarász et al. [73] established an online particle size analysis tool for continuous wet granulation based on DIA, which realized real-time feedback control of the process by controlling the liquid feed rate. For the real-time monitoring of the crystallization performance, the DIA techniques are suitable for the monitoring and control of crystal shapes. Mazzotti et al. [76][77][78][79] used the stereoscopic imaging device μ-DISCO to provide information such as particle size and shape distribution (PSSD) and solute concentration to the feedback controller to control the shape and size distribution of needle-like crystals. Borsos et al. [37] used PVM technology to achieve real-time monitoring and open-loop crystal aspect ratio (AR) control. In fact, image processing technology is rapidly spreading, and IA-DNC was developed based on PVM. The images collected by PVM are processed in real-time, and information such as the particle size, shape, and relative particle number (counts/s) of the IA-DNC is extracted for particle analysis.
The L-ascorbic acid crystallization process and results are shown in Figure 5 [37]. It can be seen that IA-DNC can successfully control the size distribution of crystals, which provides an alternative method for the FBRM based DNC to control the number of particles or other shape related crystal properties more directly. When FBRM is used for crystallization monitoring of high aspect ratio crystals, since the probability of capturing the crystal width is greater than the probability of capturing the crystal length, the FBRM count will show an increase in the number of thin chord lengths. The changes in the chord length of the crystallization process will be interpreted as a nucleation event, and FBRM-based DNC will trigger dissolution, resulting in a size reduction. In these cases, FBRM-based DNC often results in continuous circulation and long batches without eventually converging to the final required temperature. The key advantage of IA-DNC is that the measurement of the number of particles is completely unaffected by the shape of the crystal and is a true reflection of the nucleation or dissolution of the crystal. IA-DNC also has certain limitations. High solids concentration can cause crystals to overlap, which reduces the chance of capturing a single crystal. When the particle size in the agglomerates is below the limit of the detectable size of the object, PVM will not detect these fine powders.
Besides the monitoring and control of crystal shape, IA-DNC is also suitable for controlling the crystallization of easily agglomerated materials. By comparing the counts provided by FBRM and PVM, it can be observed that PVM with a given IA setting (usually When FBRM is used for crystallization monitoring of high aspect ratio crystals, since the probability of capturing the crystal width is greater than the probability of capturing the crystal length, the FBRM count will show an increase in the number of thin chord lengths. The changes in the chord length of the crystallization process will be interpreted as a nucleation event, and FBRM-based DNC will trigger dissolution, resulting in a size reduction. In these cases, FBRM-based DNC often results in continuous circulation and long batches without eventually converging to the final required temperature. The key advantage of IA-DNC is that the measurement of the number of particles is completely unaffected by the shape of the crystal and is a true reflection of the nucleation or dissolution of the crystal. IA-DNC also has certain limitations. High solids concentration can cause crystals to overlap, which reduces the chance of capturing a single crystal. When the particle size in the agglomerates is below the limit of the detectable size of the object, PVM will not detect these fine powders. Besides the monitoring and control of crystal shape, IA-DNC is also suitable for controlling the crystallization of easily agglomerated materials. By comparing the counts provided by FBRM and PVM, it can be observed that PVM with a given IA setting (usually used to avoid noise in the image) does not detect the granularity from clump collapse. In this case, the FBRM count behaves as an inverse response system, which is detrimental to process control and can cause a large amount of oscillation. The advantage of counting PVM compared to FBRM is very obvious. Signal artifacts caused by sticking can be easily corrected in image processing. The inverse response of the FBRM count during the heating phase (due to the decomposition of aggregates) does not appear in the PVM count. In the case of high aspect ratio (AR) crystals, counting based on image processing is usually more reliable. PVM can also provide shape information, which can make IA-DNC suitable for model-free feedback control of shape. IA-DNC produced fewer agglomerated crystals, indicating that IA-based DNC can also be used for real-time shape control.

Polymorphic Feedback Control
Raman can identify different crystal forms, and online Raman can monitor the polymorphism in solution in real-time. The feedback control strategy based on Raman spectroscopy has been reported in order to generate the desired polymorphic form [2,65,80]. Hirsch et al. [81] established feedback control in the lactose hydrolysis reaction based on Raman, and the results were good considering the simplicity and short time frame of preparation. Pataki et al. [82] established feedback control based on the ratio of the characteristic peak intensities of the two crystal forms of carvedilol measured by Raman, and successfully prepared the crystal form II. Although the comprehensive application of various process analysis techniques can simultaneously monitor multiple aspects of the crystallization process, the information obtained is rarely able to be combined for real-time decision-making or control. Recently, research scholars have proposed a combined control method to analyze various signals in the crystallization process and automatically determine the most relevant signal combination and control target for a specific process [36]. The complementarity and redundancy of the obtained information made the robust crystallization control strategy able to be realized.
Tacsi et al. [36] developed a new, easily performable feedback control of crystallization based on the exact polymorphic concentration (mass ratio of polymorph/solvent). Through real-time monitoring of the polymorphism in solution by Raman, there is also the auxiliary role of UV/Vis in this process. As shown in Figure 6, the polymorphic concentration is obtained by calculating the current solid-phase concentration from UV/Vis data, and then the value is proportional to the Raman spectral concentration of different polymorphs. Real-time evaluation of Raman spectroscopy and UV/vis spectroscopy is carried out with the help of the Matlab program. The calculated polymorph concentration uses a programmable logic controller to control the cooling and reheating cycles of the crystal. The high temperature will dissolve the crystals in the solution, and the decrease in temperature will facilitate the nucleation and growth of crystals. It is detected that the concentration of the non-target crystal form is greater than the set value and lasts for a certain time, and the heating cycle will start to dissolve. When the concentration of the target crystal form is greater than the set value and the concentration of the non-target crystal form is less than the set value for a certain period, the control strategy would continue the cooling to proceed with the crystallization process.
The dynamic changes of process parameters and crystalline phase diagram in the PCC process of carvedilol are shown in Figures 7 and 8. Regardless of whether the target crystal form is crystal form I or crystal form II, the PCC can effectively produce the target crystal form. During the crystallization process, if the no-target crystals exist in the crystallization system, the PCC will start a control program to increase the temperature to the dissolution temperature, and then perform crystal form purification to prepare the target crystal form. uses a programmable logic controller to control the cooling and reheating cycles of the crystal. The high temperature will dissolve the crystals in the solution, and the decrease in temperature will facilitate the nucleation and growth of crystals. It is detected that the concentration of the non-target crystal form is greater than the set value and lasts for a certain time, and the heating cycle will start to dissolve. When the concentration of the target crystal form is greater than the set value and the concentration of the non-target crystal form is less than the set value for a certain period, the control strategy would continue the cooling to proceed with the crystallization process. The dynamic changes of process parameters and crystalline phase diagram in the PCC process of carvedilol are shown in Figures 7 and 8. Regardless of whether the target crystal form is crystal form I or crystal form II, the PCC can effectively produce the target crystal form. During the crystallization process, if the no-target crystals exist in the crystallization system, the PCC will start a control program to increase the temperature to the dissolution temperature, and then perform crystal form purification to prepare the target crystal form. PCC is a control method that uses combined Raman and ATR-UV/Vis spectroscopy to produce metastable polymorphic forms of selected model drugs. PCC can always be performed at the same concentration level, so it provides a reliable and stable PAT solution for the crystallization of any pure polymorph. The system only needs to be heated to dissolve in an undesirable form, so it provides a more economical control strategy than the previously announced control based on Raman intensity. Besides, PCC is a potential control strategy to crystallize predefined polycrystalline components through cooling control. PCC is a control method that uses combined Raman and ATR-UV/Vis spectroscopy to produce metastable polymorphic forms of selected model drugs. PCC can always be performed at the same concentration level, so it provides a reliable and stable PAT solution for the crystallization of any pure polymorph. The system only needs to be heated to dissolve in an undesirable form, so it provides a more economical control strategy than the previously announced control based on Raman intensity. Besides, PCC is a potential control strategy to crystallize predefined polycrystalline components through cooling control.
Based on the combination of Raman spectroscopy and ATR-UV/Visible spectroscopy, PCC is a control method that uses combined Raman and ATR-UV/Vis spectroscopy to produce metastable polymorphic forms of selected model drugs. PCC can always be performed at the same concentration level, so it provides a reliable and stable PAT solution for the crystallization of any pure polymorph. The system only needs to be heated to dissolve in an undesirable form, so it provides a more economical control strategy than the previously announced control based on Raman intensity. Besides, PCC is a potential control strategy to crystallize predefined polycrystalline components through cooling control.
Based on the combination of Raman spectroscopy and ATR-UV/Visible spectroscopy, Simone et al. [40,83] developed active polymorphic feedback control (AFPC) and used it to perform hierarchical control to achieve crystal refining, as shown in the simple schematic diagram of the control strategy ( Figure 9). Raman spectroscopy is used to detect the presence of the undesired form (P) by using a calibration-free approach; ATR-UV/Vis is used to measure the solute concentration (C) and performs SSC using a calibrationbased approach to determine the set point for the temperature controller (T sp ). In the feedback control strategy, the Raman signal is used to detect the presence/dissolution of polycrystalline pollutants, and the APFC method will automatically determine the dissolution period needed to eliminate the pollutants. After the purity correction step based on the Raman signal, the supersaturation control is adopted to follow the working curve between the solubility curve of the stable and metastable polymorphs in the phase diagram so as to avoid further pollution of the metastable form. The APFC method was evaluated by using o-aminobenzoic acid (OABA) as a model system. Figure 10 shows the experimental results when using seeds composed of type I and type II mixtures (simulating a contaminated seed). After the crystals are completely dissolved, the solution is cooled to slightly above the solubility of form II so that the system is supersaturated with respect to both polymorphic forms. The total count/second and the two Raman signals (for forms I and II) increase when the seed mixture is added. The crystals also started to grow/nucleate immediately, because the solution was supersaturated for both forms, as shown by the rapid decrease in concentration. If the Raman spectroscopy detected form II, the APFC changed from cooling to heating mode. Heating continues until the Raman signal of form II stabilizes at the same level as the solution (which means that form II is completely dissolved), then the strategy switches to automatic supersaturation control, setting a setpoint between the solubility curves of the two form points. The supersaturation control method automatically calculates the temperature The APFC method was evaluated by using o-aminobenzoic acid (OABA) as a model system. Figure 10 shows the experimental results when using seeds composed of type I and type II mixtures (simulating a contaminated seed). After the crystals are completely dissolved, the solution is cooled to slightly above the solubility of form II so that the system is supersaturated with respect to both polymorphic forms. The total count/second and the two Raman signals (for forms I and II) increase when the seed mixture is added. The crystals also started to grow/nucleate immediately, because the solution was supersaturated for both forms, as shown by the rapid decrease in concentration. If the Raman spectroscopy detected form II, the APFC changed from cooling to heating mode. Heating continues until the Raman signal of form II stabilizes at the same level as the solution (which means that form II is completely dissolved), then the strategy switches to automatic supersaturation control, setting a setpoint between the solubility curves of the two form points. The supersaturation control method automatically calculates the temperature curve required to maintain a constant supersaturation. The APFC method is a highly robust adaptive control strategy that can automatically determine the on/off of the dissolution loop, which can eliminate the changes due to changes in the nucleus composition or polycrystalline impurities in the seed crystal (for example, due to the previous batch or the following particle processing, such as milling or drying). Although this method has proven to be used to produce and control pure polymorphs, it can also be used to produce a desired polymorphic mixture. Additionally, the method can also be extended to a solvent-resistant or combined cooling and solvent-resistant system.

The Mass-Count Framework
In the cooling crystallization process, the temperature is the only control variable: how to control it to obtain specific product characteristics may be complicated. That is to say, the change of temperature with time controls the driving force of crystallization, which affects crystal nucleation, growth, dissolution activity, reunion, and fragmentation, and these potential phenomena together determine the number and properties of the crystals produced. Some research scholars have established the population balance framework for process control [84,85]. The population balance framework is stimulating in concept and complete in mathematics and has been widely used now. This modeling strategy has shortcomings during the application. For example, it is not conducive to establishing feedback control due to the limitations of current sensors and computing power. However, the use of feedback is especially advantageous for controlling the outcome of a complex dynamic process. Griffin et al. [86] used ART-FTIR and FBRM to expand the masscount (MC) framework. The feedback control strategy established according to the MC framework has two major applications: controlling solution crystallization (to produce crystals of the required size) [39,86,87], and controlling colloidal assembly (to produce perfect colloidal crystals) [88,89]. Figure 11 shows the four key attributes of PAT online measurement. Temperature and supersaturation are solution-state properties that can be The APFC method is a highly robust adaptive control strategy that can automatically determine the on/off of the dissolution loop, which can eliminate the changes due to changes in the nucleus composition or polycrystalline impurities in the seed crystal (for example, due to the previous batch or the following particle processing, such as milling or drying). Although this method has proven to be used to produce and control pure polymorphs, it can also be used to produce a desired polymorphic mixture. Additionally, the method can also be extended to a solvent-resistant or combined cooling and solventresistant system.

The Mass-Count Framework
In the cooling crystallization process, the temperature is the only control variable: how to control it to obtain specific product characteristics may be complicated. That is to say, the change of temperature with time controls the driving force of crystallization, which affects crystal nucleation, growth, dissolution activity, reunion, and fragmentation, and these potential phenomena together determine the number and properties of the crystals produced. Some research scholars have established the population balance framework for process control [84,85]. The population balance framework is stimulating in concept and complete in mathematics and has been widely used now. This modeling strategy has shortcomings during the application. For example, it is not conducive to establishing feedback control due to the limitations of current sensors and computing power. However, the use of feedback is especially advantageous for controlling the outcome of a complex dynamic process. Griffin et al. [86] used ART-FTIR and FBRM to expand the mass-count (MC) framework. The feedback control strategy established according to the MC framework has two major applications: controlling solution crystallization (to produce crystals of the required size) [39,86,87], and controlling colloidal assembly (to produce perfect colloidal crystals) [88,89]. Figure 11 shows the four key attributes of PAT online measurement. Temperature and supersaturation are solution-state properties that can be manipulated; the crystal mass and chord count are used to characterize the aggregate properties of the crystal state.   Figure 12 shows the central attributes of the MC plots. When using this type of plot, the crystallization and dissolution kinetics can be seen as a movement in space: nucleation leads to an increase in the number of crystals without a significant increase in the mass of the crystal, resulting in a movement to the right; growth results in upward movement; finally, dissolution leads to a decrease in mass and count, which leads to downward and leftward movements. A rule-based control policy is shown in Figure 12; the crystal state in the solution is at different positions to initiate different cooling rates or heating. The model-based control and rule-based control results are shown in Figure 12. From Figure 13a, it is seen that the model-based strategy controls the MC trajectory by applying complex temperature distributions to reach positions close to each target position in the MC space. The model-based control strategy at times employed supersaturation control and at other times applied temperature cycles. Figure 13b shows that the temperature trajectory is slightly simpler under rule-based control, and the temperature cycle is applied to reach the target position. The number of particles in the solution was monitored by FBRM, the solubility data and the concentration information of the solution monitored by ART-FTIR were used to calculate the solid mass. The temperature was raised to dissolve the fine particles to reduce the number of particles in the solution when the number of  Figure 12 shows the central attributes of the MC plots. When using this type of plot, the crystallization and dissolution kinetics can be seen as a movement in space: nucleation leads to an increase in the number of crystals without a significant increase in the mass of the crystal, resulting in a movement to the right; growth results in upward movement; finally, dissolution leads to a decrease in mass and count, which leads to downward and leftward movements. A rule-based control policy is shown in Figure 12; the crystal state in the solution is at different positions to initiate different cooling rates or heating.   Figure 12 shows the central attributes of the MC plots. When using this type of plot, the crystallization and dissolution kinetics can be seen as a movement in space: nucleation leads to an increase in the number of crystals without a significant increase in the mass of the crystal, resulting in a movement to the right; growth results in upward movement; finally, dissolution leads to a decrease in mass and count, which leads to downward and leftward movements. A rule-based control policy is shown in Figure 12; the crystal state in the solution is at different positions to initiate different cooling rates or heating. The model-based control and rule-based control results are shown in Figure 12. From Figure 13a, it is seen that the model-based strategy controls the MC trajectory by applying complex temperature distributions to reach positions close to each target position in the MC space. The model-based control strategy at times employed supersaturation control and at other times applied temperature cycles. Figure 13b shows that the temperature trajectory is slightly simpler under rule-based control, and the temperature cycle is applied to reach the target position. The number of particles in the solution was monitored by FBRM, the solubility data and the concentration information of the solution monitored by ART-FTIR were used to calculate the solid mass. The temperature was raised to dissolve the fine particles to reduce the number of particles in the solution when the number of The model-based control and rule-based control results are shown in Figure 12. From Figure 13a, it is seen that the model-based strategy controls the MC trajectory by applying complex temperature distributions to reach positions close to each target position in the MC space. The model-based control strategy at times employed supersaturation control and at other times applied temperature cycles. Figure 13b shows that the temperature trajectory is slightly simpler under rule-based control, and the temperature cycle is applied to reach the target position. The number of particles in the solution was monitored by FBRM, the solubility data and the concentration information of the solution monitored by ART-FTIR were used to calculate the solid mass. The temperature was raised to dissolve the fine particles to reduce the number of particles in the solution when the number of particles is greater than the set value. On the contrary, the cooling program was started to promote nucleation and increase the number of particles when its value was less than the set one. The particle mass was almost always less than the set value during the whole experiment, so there was no need to dissolve the solid mass by heating. In any case, the final results of the two strategies are almost the same: for each test run, the final mass count position is controlled near the target position. Therefore, the control strategy can stably control the quantity and mass of the crystal. particles is greater than the set value. On the contrary, the cooling program was started to promote nucleation and increase the number of particles when its value was less than the set one. The particle mass was almost always less than the set value during the whole experiment, so there was no need to dissolve the solid mass by heating. In any case, the final results of the two strategies are almost the same: for each test run, the final mass count position is controlled near the target position. Therefore, the control strategy can stably control the quantity and mass of the crystal. Model-based and rule-based strategies are different but the results show that both can be used effectively. The crystallization and dissolution kinetics revealed by the MC framework can be quantitatively determined. The multiple different MC feedback strategies can improve the robustness of controlling the average crystal size in the existence of disturbances.

Applications of Feedback Control in Crystallization
Modern pharmaceutical manufacture has put forward higher quality requirements for product engineering, which needs to increase the yield and purity as much as possible, ensuring the consistency of crystal products in terms of particle size, crystal shape, crystal type, and chirality, and avoiding particle agglomeration and solvent entrapment [90,91]. However, crystallization process parameters may have a significant impact on the quality Model-based and rule-based strategies are different but the results show that both can be used effectively. The crystallization and dissolution kinetics revealed by the MC framework can be quantitatively determined. The multiple different MC feedback strategies can improve the robustness of controlling the average crystal size in the existence of disturbances.

Applications of Feedback Control in Crystallization
Modern pharmaceutical manufacture has put forward higher quality requirements for product engineering, which needs to increase the yield and purity as much as possible, ensuring the consistency of crystal products in terms of particle size, crystal shape, crystal type, and chirality, and avoiding particle agglomeration and solvent entrapment [90,91]. However, crystallization process parameters may have a significant impact on the quality attributes of crystalline products, such as purity, morphology, size, polymorphs, impurity, dissolution rate, etc. [4][5][6][7]. Each or all of these quality attributes can independently or collectively affect the dissolution, bioavailability, efficacy, and safety of the drug in some cases [92]. Process control technology plays an increasingly important role in it. Traditional open-loop control approaches in crystallization show less sensitivity to the process variations in the limited design space. An increasing number of studies in recent times highlighted the advantages of active control, which can not only enhance the operational efficiency but also achieve accurate control of target quality of crystallization product, through the integration of PAT tools and advanced control strategies.

Polymorph Control
Drug polymorphism refers to the formation of two or more different molecular assembly modes when the drug molecule crystallizes from solution [93]. For some drugs, crystal form is one of the important factors affecting clinical efficacy. Although the chemical components of different crystalline drugs are the same, the solubility, dissolution rate, and stability may be different, which leads to differences in bioavailability. When the crystal form changes, good drugs may become ineffective drugs or even poisons [6], so the control of polymorphs is of great significance for the quality control of pharmaceutical products. The stable crystal form usually exhibits a lower solubility and dissolution rate compared with the metastable crystal forms. If the solubility of the stable crystal form is much smaller than that of the metastable crystal form, which affects the efficacy, or the drug needs to reach the maximum concentration in the body quickly, the metastable crystal form with high solubility and dissolution rate is preferred as the final product [94]. The ultimate goal of drug polymorphism control is to obtain a "dominant drug crystal form", that is, to obtain a drug crystal form with the best overall effect of stability, clinical effect, and safety.
Solution crystallization feedback control is one of the most effective methods to achieve the refining of the target crystal form. Supersaturation is the driving force of crystallization. For polycrystalline materials, different ways to produce supersaturation may result in different crystal forms. Controlling the supersaturation to obtain the desired crystal form is to use the difference of solubility between metastable and stable crystal forms. Because the solubility of the stable crystal form is usually lower than that of the metastable crystal form, when the concentration of the solution is controlled between the solubility of the two crystal forms, the stable crystal form will be obtained, which is an effective method to screen the stable crystal form [95]. For example, it is particularly difficult to obtain β-aminobenzoic acid in solution crystallization as β-aminobenzoic acid easily undergoes phase transformation to α-aminobenzoic acid in most solvents. Zhang et al. [96] used concentration feedback control to control the operating range between the solubility curves of the two crystal forms to achieve the control of the β-aminobenzoic acid crystal form. Controlling the secondary nucleation metastable region by the crystallization operation curve is an effective method to achieve polymorphic control. Kee et al. [56] used a concentration feedback control strategy to control the metastable crystal form α during the crystallization process of L-glutamic acid. In the initial stage of the crystallization process, the seed crystal of the target crystal form α was added, and the supersaturation level was preset by controlling the operation trajectory in the crystal phase diagram: the product obtained had almost no stable β crystal form.
The temperature cycle during the crystallization process is beneficial to dissolve the metastable crystal form produced during the crystallization process. Pataki et al. [82] used Raman to detect non-target crystal forms in the crystallization process and trigger automatic heating to dissolve and eliminate metastable crystal forms. Tacsi et al. [36] adopted PCC to separately refine two crystal forms of carvedilol. During the crystallization process, Raman detected a non-target crystal form to trigger temperature-rising dissolution, and the products obtained were all target crystal forms. APFC realizes the refining of the stable crystal form of OABA in the case of impure seed crystal form. Raman detects that the metastable crystal form triggers heating and dissolution, and then the system performs supersaturation control to prepare stable crystals [40].
In the past 20 years, in situ monitoring of polymorphism in the crystallization process has developed rapidly, including online Raman [36], in situ XRD [97], in situ laser backscattering [98], and in-situ process image microscopy [99]. Although no technology can be applied to all solute-solvent systems for online monitoring of polymorphs, for most systems, at least one sensor technology can be used to monitor the transformation between different crystal forms [100]. In recent years, process detection and online analysis methods have been widely used in polymorphic selective crystallization processes. Based on this, the development of polymorphic feedback control (or closed-loop control) strategies has also made continuous progress.

Purity Improvement
For the pharmaceutical production process, the purity of the product is a crucial quality indicator. Impurities in the drug will reduce the efficacy and even have physiological toxicity. These impurities may be artificially added surfactants or additives, or they may be by-products or catalyst residues in the synthesis process, or they may come from the solvents used in the production process [101]. During the crystallization process, the explanation of impurities precipitation with crystals is divided into the following three mechanisms: (1) impurities are adsorbed on the surface of the crystal; (2) impurities are embedded inside the crystal lattice; (3) solvent entrapment [102]. The traditional method to improve the purity of crystal products is recrystallization, but it is a process at the expense of yield, which will make the production process more cumbersome. Therefore, in recent years, the in situ control of product purity based on the process control method to meet the requirements of crystal quality has been widely concerned by scholars.
Simone et al. [54] studied the effect of concentration feedback control and direct nucleation control on the product purity of the vitamin B12 crystallization process. The results show that concentration feedback control can reduce the particle size distribution of crystal products, it has no significant effect on the product purity, and in contrast, direct nucleation control can effectively improve the product purity. This is because the direct nucleation control can inhibit the adsorption of impurities on the crystal surface by repeatedly dissolving the growth cycle, and the fine particles and impurities on the crystal surface will dissolve continuously during the heating process. Thus, in the subsequent cooling process, crystal growth is promoted, and the crystal with a larger particle size has a smaller specific surface area, which reduces the adsorption of impurities on the surface, as shown in Figure 14. Also, Saleemi et al. [35] applied the direct nucleation control strategy to the cooling and crystallization process of AZD7009 and compared it with the traditional linear cooling. The results showed that the direct nucleation control strategy can reduce particle aggregation and solvent entrapment, and the products have higher purity, larger particle size, and more regular morphology.
Due to the advantages of being lower cost and easier to scale-up, batch cooling operation is recognized as the most commonly used crystallization design [47,103]. However, the applicability of batch cooling crystallization is limited in some special cases, such as the crystallization of heat-sensitive materials. Many organic substances will be degraded due to side reactions (such as hydrolysis) at high temperatures, and the degradation rate will increase with increasing temperature [35,54,[104][105][106][107][108]. For the batch cooling feedback control of such compounds, degradation in the high-temperature stage cannot be avoided, which will hinder the product yield and purity of the crystal, and the degradation product can also act as a growth inhibitor, further slowing down the crystallization process and increasing the degradation process [105,106]. Zhang et al. [109] used a new type of semi-batch SSC to crystallize salicylic acid. During the experiment, the temperature was constant, and the supersaturation was kept constant by controlling the flow rate of the antisolvent. The results show that the new semi-batch SSC method can very effectively control the crystallization of heat-sensitive compounds and obtain higher purity and higher quality products. Due to the advantages of being lower cost and easier to scale-up, batch cooling operation is recognized as the most commonly used crystallization design [47,103]. However, the applicability of batch cooling crystallization is limited in some special cases, such as the crystallization of heat-sensitive materials. Many organic substances will be degraded due to side reactions (such as hydrolysis) at high temperatures, and the degradation rate will increase with increasing temperature [35,54,[104][105][106][107][108]. For the batch cooling feedback control of such compounds, degradation in the high-temperature stage cannot be avoided, which will hinder the product yield and purity of the crystal, and the degradation product can also act as a growth inhibitor, further slowing down the crystallization process and increasing the degradation process [105,106]. Zhang et al. [109] used a new type of semibatch SSC to crystallize salicylic acid. During the experiment, the temperature was constant, and the supersaturation was kept constant by controlling the flow rate of the antisolvent. The results show that the new semi-batch SSC method can very effectively control the crystallization of heat-sensitive compounds and obtain higher purity and higher quality products.
At present, the realization of product purity control in the crystallization process based on PAT technology has not been applied on a large scale because there is still a lack of monitoring equipment for direct in situ analysis of impurity content. Generally, by improving the morphology and particle size distribution of the crystal, the impurities introduced by the adsorption of impurities on the crystal surface and the solvent encapsulation could be reduced. Besides, controlling the degradation of heat-sensitive substances and reducing impurities during the crystallization process is also a major direction for purity control. How to improve the purity and yield of the product at the same time is also an important research field in the crystallization process control. At present, the realization of product purity control in the crystallization process based on PAT technology has not been applied on a large scale because there is still a lack of monitoring equipment for direct in situ analysis of impurity content. Generally, by improving the morphology and particle size distribution of the crystal, the impurities introduced by the adsorption of impurities on the crystal surface and the solvent encapsulation could be reduced. Besides, controlling the degradation of heat-sensitive substances and reducing impurities during the crystallization process is also a major direction for purity control. How to improve the purity and yield of the product at the same time is also an important research field in the crystallization process control.

Crystal Morphology Control
For crystal products obtained by crystallization, crystal shape is an important property, because it plays a vital role in determining the quality of the final product and the efficiency of downstream processes (such as filtration, washing, and drying). As pointed out by Lovette et al., [110] the required shape and crystal size distribution depend to a large extent on its application. For example, needle-shaped (i.e., high aspect ratio) crystals are generally unpopular due to processing difficulties [111]. Feedback control strategy for optimizing the crystal morphology of the products obtained in the crystallization process has been considered to be a challenging subject. On the one hand, the monitoring technology is limited; on the other hand, the crystal growth dynamics data are required for the crystal morphology control, and the modeling ability based on the crystal dynamics data is limited.
In recent years, important progress has been made in the online monitoring of crystal morphology in the crystallization process. For online real-time measurement of crystal morphology, the most notable progress is the application of two-dimensional (2D) and threedimensional (3D) imaging techniques. These research advances have promoted the application of feedback control strategies in the field of crystal shape regulation. Yang et al. [112] used online wet grinding in combination with SSC and DNC to change the aspect ratio of needle-like crystals. The IA-DNC strategy developed based on PVM also has some applications in controlling crystal shape [37].
Model-free feedback control strategies have certain limitations in controlling crystal shape. In recent years, the online monitoring of crystal morphology during the crystallization process has continued to develop; the newly proposed multi-dimensional grain number balance model and its efficient numerical solution method have further deepened the understanding of the dynamic evolution process of the crystal group morphology [49]. These researches facilitate the application of model-based closed-loop feedback control strategies in the field of crystal shape control during crystallization. Majumder et al. [113] proposed a control device that manipulates the concentration of crystal growth modifier in the crystallizer to obtain the desired crystal shape. The simulation results showed that a simple feedback control configuration can manipulate the crystal growth modifier concentration to control the size and shape distribution of potassium dihydrogen phosphate crystals. Eisenschmidt et al. [114,115] proposed optimal strategies for the control of supersaturation profiles as well as crystal size and shape by growth-dissolution cycles. Comprehensive simulation and experimental studies applied to this feedback control approach for the evolution of particle size and shape have also been reported to help to optimize the crystal morphology [76][77][78][79].
A closed-loop feedback control strategy could make the control of crystal morphology more accurate. For further improvement of the controlling of crystal shape, it still requires research on real-time monitoring methods including (1) 2D imaging probes and noninvasive imaging instruments for the crystal morphology online measurement, which needs the further improvement of image resolution and image segmentation accuracy, (2) The monitoring of high viscosity or high solid content systems is still extremely challenging, (3) There are still large deviations in the monitoring of acicular crystal shape, and the measured value of length direction in many cases will be smaller than the true value, and (4) Real-time multi-objective process optimization based on the multi-dimensional particle number balance model is more time-consuming, which requires the study of model calculation efficiency issues, such as through effective model reduction.

Optimization of the Crystal Size Distribution
The crystal size and CSD of the product have a great influence on its bulk density and fluidity, which strongly affect the efficiency of the downstream process (filtration, drying, granulation, and tablet pressing). In addition, controlling the particle size and particle size distribution of the crystal is also important for the final drug performance (shelf life, bioavailability, and dissolution rate) [116].
The control of crystal size and size distribution is directly affected by growth, nucleation, and dissolution. Generally, in a crystallization process, the growth process promotes crystal growth, the nucleation process will produce fine particles, and the dissolution process can eliminate fine crystals. The control of crystal size and size distribution is mainly through the control of crystal growth and nucleation. Most of the crystallization processes indirectly affect CSD through real-time temperature control or anti-solvent to follow the supersaturation set in the phase diagram [3,117]. Using the SSC strategy during the crystallization process can keep the supersaturation constant at the set value, and reduce or avoid secondary nucleation during the entire crystallization process to promote crystal growth. Compared with simple linear cooling, the SSC strategy could produce larger crystals and narrow crystal size distribution [54]. The DNC strategy was developed based on the idea that the smaller the system particles, the larger the product particle size, in which the temperature cycle is beneficial to eliminate fine crystals. Saleemi et al. [52] used the DNC strategy to automatically control the cooling-heating cycle during the crystallization process of paracetamol to obtain crystals with larger particle size and more uniform size. Nagy et al. [64] used the DNC strategy to control the CSD of glycine by controlling the addition of solvent and anti-solvent. The IA-DNC method based on image processing has a very significant effect on the control of particle size and particle size distribution [37]. The smaller the number of crystals at the crystallization endpoint, the larger the crystal size.
An important research field of particle size control in the crystallization process is to develop a more efficient and accurate real-time monitoring technology of particle size, which can effectively identify particle agglomeration and breakage. Moreover, the development of a deep understanding of the phenomenon of crystal agglomeration and the crushing process will also promote the progress of crystal size control in the crystallization process.

Conclusions and Outlook
Based on the current progress of pharmaceutical crystallization process control, this paper summarizes the important advances of industrial crystallization process control through process analysis technology and control strategy, and discusses the application of feedback control strategy for the improvement of purity, particle size, crystal shape, and crystal form in the perspective of product engineering. Although some progress has been achieved in the area of pharmaceutical crystallization process control, deeper research on complex systems, such as achieving simultaneous optimization of multi-objective including particle size distribution, specific crystal shape, and crystal form still needs to be conducted. For drugs with a high aspect ratio, it is difficult to prepare the required products by conventional temperature control or solvent antisolvent addition rate. Feedback control strategy combined with auxiliary equipment (such as ultrasound and wet grinding) has great potential to be constructed to control the switch and strength of auxiliary equipment in real-time.
In the rapidly developing biomedical industry, protein drugs are drawing more attention. The protein crystallization systems with negative apparent activation energies have been reported by numerous studies, and the crystallization rate may decrease with the increasing temperature during the crystallization process. There are other physical and chemical processes that also exhibit negative activation energies. For these systems, the semi-batch control strategy has some benefits over the batch operation. For example, for protein crystallization systems that present negative apparent growth activation energy, the crystal growth would be enhanced by using the semi-batch SSC operated at constant and low temperature.
Directly active control of polymorphs or pseudo-polymorphs can be performed by involving the signals of solid-state forms based on PAT tools, for example of Raman spectroscopy. A good calibration procedure for Raman spectroscopy is necessary to precisely determine the quantitative identification of solid suspensions. The calibration procedure for the PAT probe can be improved by the comprehensive analysis of the effects of various parameters, such as polymorphic purity, size and shape, solid density, and temperature, and the appropriate calibration experiments can be carried out based on the design of experiment work.
Drug chirality is also an important issue in the pharmaceutical industry. Plenty of cases have shown that the enantiomers present different bioactivities. Crystallization techniques have been widely used for chiral resolution, such as preferential crystallization and Viedma ripening, which are efficient because of the highly enantioselective crystalline phase. There are some similarities between the chiral resolution and the polymorph selection processes. The advanced polymorph control strategies can provide reference effects for the study of chiral resolution control. For example, a feedback control strategy can be developed for preferential crystallization of the active enantiomer based on Raman spectroscopy.
Continuous manufacturing in the pharmaceutical industry is still in development and is preferred in practical application because of its high operation efficiency. The continuous implementation has also been achieved into the pilot and even industrial production after identification by the US Food and Drug Administration. Active control technology has been applied for the continuous production in the industrial manufacture of petrochemicals and bulk chemicals, while it develops a bit slower in the pharmaceutical industry because of the limited production scale and challenging technology transition. With the PAT developing and applied widely, along with the understanding of the concept of QbC, the active process control strategy has started to be employed in the pharmaceutical continuous production. Active process control for the continuous crystallization process is also a promising and meaningful research direction. For instance, the semi-batch SSC can be applied in the start-up stage of the mixed-suspension mixed-product removal (MSMPR) continuous crystallization process, which can reach the steady-state faster and enhance operational efficiency.
Further, a multi-process coupling intelligent control system including crystallization, granulation, tableting, and other processes can be developed. Besides the fundamental logical framework and traditional PID control algorithm, the intelligent control system also requires the use of sensor technology, vision technology, big data, etc. to establish an intelligent monitoring system to monitor the state and properties of materials in real-time; use the Internet technology to collect and feedback process information in real-time, and finally, achieve process intelligence chemical manufacturing. Based on the development of PAT and information collection technology, the crystallization process control will usher in a broader development and application space, and it will play a vital role in realizing the intelligent manufacturing of fine or specialty chemicals including pharmaceutical products.

Conflicts of Interest:
The authors declare no conflict of interest.