Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Purity control of simulated moving bed based on advanced fuzzy II controller

  • Chao-Fan Xie ,

    Contributed equally to this work with: Chao-Fan Xie, Ting Lin, Hong Zhang

    Roles Data curation, Formal analysis, Software, Writing – original draft

    Affiliation Department of Big Data and Artificial Intelligence, Fujian Polytechnic Normal University, Fuzhou, China

  • Ting Lin ,

    Contributed equally to this work with: Chao-Fan Xie, Ting Lin, Hong Zhang

    Roles Data curation, Formal analysis, Software, Validation

    Affiliation Department of Big Data and Artificial Intelligence, Fujian Polytechnic Normal University, Fuzhou, China

  • Hong Zhang

    Contributed equally to this work with: Chao-Fan Xie, Ting Lin, Hong Zhang

    Roles Conceptualization, Investigation, Project administration, Supervision

    zhhgw@hotmail.com

    Affiliation Key Laboratory of Nondestructive Testing, Fujian Polytechnic Normal University, Fuzhou, China

Abstract

Simulated Moving Bed (SMB) is the optimal technology for chromatographic separation, but its process is complex and sensitive to numerous parameters that affect separation performance, making it difficult to control. In recent years, fuzzy controllers have been widely applied in industry due to their simplicity, robustness, and ease of implementation. However, traditional fuzzy controllers used in industry do not consider the error acceleration term. In steady-state conditions, error acceleration is typically slightly less than the target value. Introducing the acceleration term, albeit non-fuzzy, in a proactive fuzzy I-type controller often leads to an increase in steady-state values. The study shows that, compared to the advanced fuzzy I-type controller, the extraction accuracy for material B improved by an average of 0.7%, while the accuracy for material A increased by 0.1%. Compared to traditional fuzzy controllers, the extraction accuracy for material B improved by an average of 0.35%, while the accuracy for material A remained relatively stable. In terms of stability analysis concerning variations in moving bed parameters, the advanced fuzzy II-type controller exhibited greater stability than the I-type, with an average precision stability improvement of 0.6%. Traditional fuzzy controllers demonstrated pathological characteristics during fluctuations in the switching time parameter, whereas the advanced fuzzy II type controller-maintained stability.

1 Introduction

The Simulated Moving Bed (SMB) process is a continuous chromatographic separation method simulating countercurrent motion of solid-liquid phases. The traditional SMB setup consists of several packed bed columns arranged in a ring configuration, divided into four zones by two inlet ports (feed and desorb) and two outlet ports (extract and raffinate), as depicted in Fig 1. Ports are shifted in the same direction as the liquid phase flow to simulate countercurrent movement of the solid phase. The feed mixture is continuously introduced into the process through the feed port. Components of the mixture are separated within the columns and collected at the two outlet ports [13].

In terms of controller design, they are specific to particular materials with no universal controller available. Based on the practical moving bed model (TMB), the method utilizes input-output linearization principles [4] and references nonlinear state estimators in the design of SMB control mechanisms. Chao-fan xie et al. utilized an advanced I fuzzy controller to regulate SMB systems, demonstrating its superiority over traditional fuzzy controllers [5]. Santos R.V.A et al. proposed a global parameter estimation method, which estimates the parameters of the SMB system and precisely identifies the model, providing a foundation for the selection of subsequent control strategies [6]. Gillarová et al. developed programs and equipment that can be further applied to the separation of liquid mixtures of various carbohydrates. They identified the optimal operating conditions for the hydrolysis and separation steps of the entire technology. The results provide a foundational dataset for the further development of industrial applications [7]. Based on the theory of triangles, Frandsen et al. proposed a method for the design and validation of isometric gradient chromatography. The results demonstrated the method’s effectiveness in enhancing SMB performance and can serve as an initial step in designing and optimizing operational flow rates and modifier concentrations [8]. Woo-Sung Lee et al. proposed a machine learning algorithm for improving the purity of n-alkane extraction. The study highlights the significance of zone flushing in impurity removal, an aspect that cannot be fully estimated from dynamic models [9]. Reinaldo et al. proposed a variant of the SMB system characterized by adjustable column segment lengths and feed concentrations. These features offer greater flexibility compared to traditional operations, leading to fundamental improvements in the separation and purification of mixtures [10]. Marrocos et al. proposed a deep artificial intelligence architecture for online soft sensing, featuring a nonlinear output error framework and a nonlinear autoregressive predictor with external inputs. This structure provides insights into predicting the main characteristics of simulated moving bed chromatography equipment [11]. Hoon et al. proposed a deep Q-network (DQN) based on a model-free reinforcement learning method to train a control strategy for the SMB process in a data-driven manner, approaching optimality [12]. Further studies on other SMB controllers can be found in references [1320].

Overall, these studies aim to separate specific industrial equipment and materials. The cost of conducting experiments based on physical machinery is relatively high, and the developed controllers lack generalizability. As environmental parameters change, the results can easily lead to separation failures. To enhance the performance of SMB, precise physical parameters of the moving bed must be obtained through laborious experiments. However, the physical parameters derived from experiments may not fully represent the actual operation of the SMB system. Due to factors such as connections between pipes or the long-term use of solid phases, parameters of the entire SMB may vary, leading to discrepancies between physical performance and experimental parameters. These issues can result in insufficient operating conditions for the SMB, causing unsatisfactory chromatographic separation. Generally, the SMB system exhibits variability during operation. Optimal control of the SMB can be achieved by online monitoring the real-time concentration of substances and immediately adjusting the SMB’s operating conditions. The foundation of this study is the development of a general fuzzy controller based on the discrete dynamic system of SMB. Preliminary research involved traditional fuzzy controllers and advanced fuzzy I-type controllers, but their accuracy and stability were insufficient. Building upon this, the advanced fuzzy II type controller proposed in this study demonstrates improved performance compared to the previous two types of fuzzy controllers.

2 SMB mathematical model

For a four-zone closed-loop simulated moving bed (SMB) unit, the researchers developed a generalized mathematical model following the principles from dynamical systems theory [21]. The model assumes a classical setup for materials and parameters, where solvents, extractants, feed, and pumps at the inlets and outlets of each zone (I, II, III, and IV) separate the respective segments. The fixed-bed adsorption model serves as the foundation for the SMB model. The liquid phase mass balance for the i-th component in the j-th column is given by the following equation: (1) (2)

With initial and boundary condition is [21]: (3) (4) (5)

The parameters meaning is shown in Table 1. term is related to the located region; it be divided into three cases shown in the following equations [21]: (6) (7) (8)

Eq (2) is substituted into (1), it can get: (9)

The adsorption equilibrium for both two enantiomers is represented by linear isotherms [22]: (10)

Purity equations are: (11) (12)

3 Simulation

The simulated physical system comprises 8 packed columns arranged in a 2-2-2-2 configuration. Parameters for the columns, equilibrium, and mass transfer can be found in Table 2, with values referenced from relevant literature [21]. The adsorption equilibrium of the two materials is represented by linear isotherms. The 16 partial differential equations (PDEs) were discretized using the Crank-Nicolson finite difference method on a mesh with 600 elements. The time step was 0.1 seconds, each column was divided into 50 segments, and the spatial step size was 0.5 cm, resulting in an implicit linear system with 400 unknowns. The linear system was solved using the function library in MATLAB 2019, leveraging sparse matrix algebra algorithms due to the triangularly sparse nature of the matrix.

3.1 Advance fuzzy II controller design

Adding the input term of error acceleration to the traditional fuzzy controller and fuzzifying it into linguistic variables is a feature of the advanced fuzzy II-type controller. Thus, in the advanced fuzzy II-type controller, the input variables include error, first-order error difference, and second-order error, formulated as follows: (13) (14) (15) (16) (17) (18) (19) (20) (21)

Where ei, Δei, Δ2ei are the input varialbles of the zone i (i = 1,2,3) controller. The control structure of advanced fuzzy II controller in SMB system is shown in Fig 2.

The fuzzy system defined five linguistic variable values for the input variables, including error, first-order error, and second-order error: NB (Negative Big), NS (Negative Small), ZE (Zero), PS (Positive Small), and PB (Positive Big). The membership functions are illustrated in Fig 3. Subsequently, the control parameter flow was defined ΔQI,ΔQII,ΔQIII, taking a unipolar fuzzy value, the values are shown in Table 3.

Based on the principles of kinematics, we formed the following rule base Tables 46, much like how one can balance a rod on their palm without it falling without needing to know Newton‘s equations of motion. The simple rules followed are the foundation of this fuzzy rule base, allowing us to bypass the complex inference of control equations.

The fuzzy inference engine employs the product form, where the strength of the If part is multiplied by the output value of the Then part of the fuzzy rule [23]. The final step is defuzzification. Here, we choose the center of weighted average method for decomposition. From the fuzzy rule base and the membership functions of the input variables, it can be observed that each input activates four rules. The formulas are shown in (22), (23), and (24).

(22)(23)(24)

Variables u1,u2 represent fuzzy error acceleration, corresponding to second-order differences, while variables u3,u4 denote fuzzy error values, and variables u5,u6 signify fuzzy error velocity, corresponding to first-order differences. Variable y1y8 corresponds to monopolar values of eight activated rules, representing the fuzzy monopolar values in the Then part. Table 5 includes only four rules; the other four rules are considered as exceptions with a value of 0. The symbol T denotes the product T-norm, and the final output value U is determined by the defuzzifier.

3.2 Purity control experiment

In this section, we use an advanced II fuzzy controller to regulate the purity of the SMB system. Figs 4 and 5 illustrate the control results. Regarding the precision of the controller in achieving control targets, we designed two sets of experiments with purity targets of 94% and 96% for material B, and 96% and 94% for material A. The relevant control results are displayed in Table 7, and the control effect diagrams are shown in Figs 4 and 5.

thumbnail
Fig 4. Desired B = 94%, desired A = 96%, Switch time = 180s.

https://doi.org/10.1371/journal.pone.0314545.g004

thumbnail
Fig 5. Desired B = 96%, desired A = 94%, Switch time = 180s.

https://doi.org/10.1371/journal.pone.0314545.g005

From the outlet of the extracted liquid in Fig 4 and Table 7, in the first set of experiments, the purity targets for controlling material B and material A were set at 94% and 96%, respectively. For material B, the final control results showed that the advanced fuzzy type II controller achieved 94%, the type I controller achieved 94.78%, and the traditional controller achieved 93.13%. The precision of the type II controller was 100%, the type I controller was 99.2%, and the traditional controller was 99.8%. For material A, the type II controller achieved 95.94%, the type I controller achieved 96.14%, and the traditional controller achieved 96.02%. The precision of the type II controller was 99.9%, the type I controller was 99.8%, and the traditional controller was 99.9%.

It is evident that the advanced fuzzy II controller provides the best accuracy and does not exhibit the minor oscillations seen with traditional fuzzy control. The advanced fuzzy controller also shows minor fluctuations but has a slower convergence rate compared to type II, which is the trade-off for increased accuracy. At the raffinate liquid outlet, both advanced fuzzy II controller and traditional fuzzy controller demonstrate better control precision than advanced fuzzy I controller; however, the fluctuations of type II are somewhat larger compared to the traditional controller.

In the experiments shown in Fig 5 and Table 7, in the second set of experiments, the purity targets for controlling material B and material A were set at 96% and 94%, respectively. For material B, the final control results showed that the advanced fuzzy type II controller achieved 96%, the type I controller achieved 96.5%, and the traditional controller achieved 95.43%. The precision of the type II controller was 100%, the type I controller was 99.4%, and the traditional controller was 99.5%. For material A, the type II controller achieved 94.04%, the type I controller achieved 94.11%, and the traditional controller achieved 94.01%. The precision of the type II controller was 99.9%, the type I controller was 99.8%, and the traditional controller was 99.9%.

At the extract liquid outlet, the advanced fuzzy II controller still provides the best accuracy. In addition to its relatively slow convergence speed, it also does not exhibit oscillations or fluctuations. However, at the raffinate liquid outlet, despite its high accuracy, the type II controller shows greater fluctuations compared to both the advanced fuzzy I controller and the traditional fuzzy controller.

Taking the control objective illustrated in Fig 4 as an example, the following Figs 6 and 7 shows the progression of force exerted during the control process. It can be observed that the control equipment needs to frequently switch control directions during the process. In practical applications, the requirements for the control equipment are relatively high, as the controller must achieve smooth transitions during these direction changes.

thumbnail
Fig 6. Diagram of force application in the purity control process of material B.

https://doi.org/10.1371/journal.pone.0314545.g006

thumbnail
Fig 7. Diagram of force application in the purity control process of material A.

https://doi.org/10.1371/journal.pone.0314545.g007

3.3 Stability experiment

In this section, we will examine the effects of changes in adsorbent parameters, feed concentration, and switching times on the controller’s performance. The control results are illustrated in Figs 810.

thumbnail
Fig 8. Under the change of adsorbent parameters HA = 0.01→0.03.

https://doi.org/10.1371/journal.pone.0314545.g008

thumbnail
Fig 9. Under the change of feed port concentration Cf = 4.5→5.2.

https://doi.org/10.1371/journal.pone.0314545.g009

thumbnail
Fig 10. Under the change of switch time θ = 178s→182s.

https://doi.org/10.1371/journal.pone.0314545.g010

Fig 8 shows the impact of variations in adsorbent parameters on the controller’s performance, with two sets of experiments targeting purities of 92% and 96%. The experimental results indicate that at the extracted liquid outlet, the advanced fuzzy II controller is the most stable, exhibiting the least amount of oscillation and fluctuation. At the raffinate liquid outlet, In this outlet, the two sets of experiments controlled purities of 93% and 97%, the control precision of the three controllers is similar. However, due to the inclusion of acceleration terms, both advanced fuzzy I and II controllers exhibit greater fluctuations compared to the traditional fuzzy controller.

Fig 9 illustrates the impact of feed concentration on control performance. At the extracted liquid outlet, it is observed that the traditional fuzzy controller exhibits significant oscillations, while both advanced fuzzy controllers are relatively stable, with type II providing better control precision. At the raffinate liquid outlet, for a purity of 93%, type II controller performs better; however, for a purity of 97%, the results from the type II fuzzy controller are slightly overestimated. Overall, advanced fuzzy II controller demonstrates greater effectiveness.

The final set of experiments observed the impact of switching time on control results shown in Fig 10. At both the extracted liquid outlet and the raffinate liquid outlet, the traditional fuzzy controller exhibited pathological characteristics. Among the advanced fuzzy controllers, type II demonstrated higher precision than type I; however, it also exhibited relatively higher fluctuation and slower convergence compared to type I.

4 Conclusion

This study primarily investigates the use of advanced fuzzy II controller for regulating the purity of simulated moving bed separations. The research demonstrates that compared to the traditional fuzzy controller and advanced fuzzy I controller, advanced fuzzy II controller achieves higher control precision, albeit at the cost of slower convergence. The advanced fuzzy II controller also maintains stability and high precision when subjected to variations in adsorbent parameters, feed concentration, and switching time. Particularly under switching time variations, advanced fuzzy II controller remains stable, though it exhibits slightly greater fluctuations compared to type I. Compared to the traditional fuzzy controller, the extraction accuracy of Material B improved by an average of 0.35%, while the accuracy of Material A remained relatively stable. In the stability analysis of moving bed parameter variations, the advanced Type II fuzzy controller exhibited greater stability than the Type I controller, with an average precision stability improvement of 0.6%. Overall, advanced fuzzy II controller proves to be superior to both the traditional fuzzy controller and advanced fuzzy I controller.

Theoretically, the advanced fuzzy II controller offers a novel approach for controlling highly sensitive nonlinear systems, potentially improving control precision by appropriately increasing the fuzzy control quantities in the dynamics. In practical applications, higher precision control can reduce the frequency of experiments and adjustments, thereby lowering production costs. Additionally, it ensures product consistency and high quality. By precisely controlling various parameters in the separation process, the controller can better manage product quality metrics and meet market demands.

5 Future directions

In the realm of scientific research, the advanced fuzzy type II controller generally demonstrates better accuracy and stability. However, it is evident that all three controllers perform suboptimal with respect to the parameter adjustment of switching time. Given the strong learning capability of neural networks, future directions could involve combining neural networks with advanced fuzzy controllers to enhance the adaptability of the controllers. In terms of application, it would be beneficial to experiment with model predictive control on discrete dynamic systems in simulated moving beds, and subsequently adjust parameters to apply the advanced fuzzy type II controller in real production settings to observe actual control efficiency. The significance of achieving intelligent control for simulating moving beds is substantial.

References

  1. 1. Rajendran A., Paredes G., and Mazzotti M., “Simulated moving bed chromatography for the separation of enantiomers,” Journal of Chromatography A, Vol. 1216, No. 4, pp. 709–738, Jan. 2009. pmid:19004446
  2. 2. Schulte M., and Strube J., “Preparative enantioseparation by simulated moving bedchroma- tography,” Journal of Chromatography A, Vol. 906, No. 1–2, pp. 399–416, Jan. 2001. pmid:11215899
  3. 3. Chin C. Y., and Wang N. L., “Simulated moving bed equipment designs,” Separation & Purification Reviews, Vol. 33, No. 2, pp. 77–155, Aug. 2007.
  4. 4. Wang C., Engell S., and Hanish F., “Neural network based identification and MPC control of SMB chromatography,” Proceeding of the 15th IFAC Congress, pp. 31–36, 2002.
  5. 5. Xie CF., Chen X. & Zhang H. “Purity control of simulated moving bed based on advanced fuzzy controller”. Sci Rep, Vol. 14, NO. 9083, pp. 1–9, 2024. pmid:38643294
  6. 6. Santos R.V.A., Rebello C., and Prudente A., “Strategies for Simulated Moving Bed Model Parameter Estimation Based on Minimal System Minimal Knowledge: Adsorption Isotherm Equation Screening and Estimability Analysis”, Industrial & Engineering Chemistry Research, Vol. 41, pp. 62–75, 2023.
  7. 7. Gillarová S., Henke S, Tomá Svoboda,et al. “Possibilities of Optimizing the Purity of Mannose in Continuous Chromatographic Separation”, Chemical Engineering & Technology, Vol. 12, pp. 140–151, 2023.
  8. 8. Frandsen J., Huusom J.K., Gernaey K.V., et al. “Shortcut design method for multicomponent gradient simulated moving beds”, AIChE Journal, Vol. 2, pp. 70–79, 2024.
  9. 9. Lee Woo-Sung and Lee Chang-Ha, “Dynamic modeling and machine learning of commercial-scale simulated moving bed chromatography for application to multi-component normal paraffin separation NSTL”, Separation and Purification Technology, Vol. 288, No. 120597, pp. 2–17, 2022.
  10. 10. Reinaldo C. S., Gomes B. A., and Resende S. A., “Optimal performance comparison of the simulated moving bed process variants based on the modulation of the length of zones and the feed concentration,” Journal of Chromatography A, Vol. 1651, pp. 462280–462280, Aug. 2021. pmid:34111677
  11. 11. Marrocos H., Iwakiri I. G. I, Martins M. A. F., Rodrigues A. E., et. al, “A long short-term memory based Quasi-Virtual Analyzer for dynamic real-time soft sensing of a Simulated Moving Bed unit”, Applied Soft Computing, Vol. 116, No. 1083, pp. 1–18, 2022.
  12. 12. Hoon O. T., Woo K. J., Hwan S. S., Hosoo K., Kyungmoo L., and Min L. J., “Automatic control of simulated moving bed process with deep Q-network,” Journal of Chromatography A, Vol. 1647, pp. 462073–462073, Oct. 2021. pmid:33964620
  13. 13. Yan Z., Wang J. S., Wang S. Y., Li S. J., Wang D., and Sun W. Z., “Model predictive control method of simulated moving bed chromatographic separation process based on subspace system identification,” Mathematical Problems in Engineering, Vol. 7, pp.1–24, Oct. 2019.
  14. 14. Medi B., Monzure-Khoda K., and Amanullah M., “Experimental implementation of optimal control of an improved single-column chromatographic process for the separation of enantiomers,” Industrial & Engineering Chemistry Research, Vol. 54, No. 25, pp. 6527–6539, Jun. 2015.
  15. 15. Wei F., Shi L., Wang Q., and Zhao Y., “Fast and accurate separation of the paclitaxel from yew extracum by a pseudo simulated moving bed with solvent gradient,” Journal of Chromatography A, Vol. 1564, pp. 120–127, Aug. 2018. pmid:29895410
  16. 16. Lee J. W., and Seidel-Morgenstern A., “Model predictive control of simulated moving bed chromatography for binary and pseudo-binary separations: simulation study,” IFAC-Papers OnLine, Vol. 51, No. 18, pp. 530–535, 2018.
  17. 17. Chao-Fan X., and Yang-jie T., “An Automatic Advanced Fuzzy Controller for Simulated Moving Bed”, IEEE ACCESS,Vol. 9, pp. 61455–61465, 2021.
  18. 18. Schramm H., Gruner S., and Kienle A., “Optimal operation of simulated moving bed chromatography processes by means of simple feedback control,” Journal of Chromatography A, Vol. 1006, pp.3–13, Jul. 2003.
  19. 19. Schramm H., Kaspereit M., Kiienle A., and Seidel-Morgensterm A., “Simulated moving bed processes with cyclic modulation of the feed concentration,” Journal of Chromatography A, Vol. 1006, No. 1–2, pp.77–86, Jul. 2003.
  20. 20. Klatt K. U., Hanisch F., Dunnebier G., and Engell S., “Model-based optimization and control of chromatographic Process,” Computers and Chemical Engineering, Vol. 24, No. 2–7, pp. 1119–1126, Jul. 2000.
  21. 21. Andrade Neto A. S., Secchi A. R., Souza M. B., and Barreto A. G., “Nonlinear model predictive control applied to the separation of praziquantel in simulated moving bed chromatography”, Journal of Chromatography A, Vol. 10, pp. 42–49, 2016.
  22. 22. Zhong G. M., Smith M. S and Georges G. C.. Effect of the Flow Rates in Linear,Ideal, Simulated Moving Bed Chromatography. AICHE Journal, Vol. 43, No. 11, pp. 2960–2969, 1997.
  23. 23. Yen J., and Langari R., Fuzzy Logic: intelligence, control, and information. New Jersey: Prentice Hall Inc, 1999, p.183.