Hysteresis characteristic forward and reverse model modeling method, system, device and storage medium
Through the Gaussian mixture model and Gaussian mixture regression method, the forward and inverse prediction models of the hysteresis characteristics of piezoelectric ceramics are directly constructed, which solves the problems of difficulty in solving the hysteresis model and insufficient rate correlation in the existing technology, and realizes the Gaussian mixture regression model. High efficiency and accuracy.
Patent Information
- Application Number
- CN202410973649.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-19
AI Technical Summary
It is difficult to directly construct consistent forward and inverse models of hysteresis characteristics of piezoelectric ceramics using existing technology, and existing models have deficiencies in describing the rate dependence of hysteresis, making it difficult to achieve accurate solutions to the hysteresis inverse model.
The Gaussian mixture model and Gaussian mixture regression method are used to obtain voltage and displacement data through equally spaced sampling, build a Gaussian mixture model, and directly construct forward and reverse prediction models of hysteresis characteristics without additional training. The optimized Gaussian mixture parameters are used for prediction.
It realizes the simultaneous construction of Gaussian mixture regression forward and reverse prediction models with hysteresis characteristics, simplifies the model solution process, enhances the rate-related description of hysteresis characteristics, and improves the accuracy and applicability of the model.
Smart Images

Figure CN118520215B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of piezoelectric ceramic hysteresis characteristic modeling, and in particular relates to a hysteresis characteristic forward and reverse modeling method, system, device and storage medium. Background Art
[0002] The piezoelectric ceramic actuator is an intelligent actuator based on the inverse piezoelectric effect, which can be extended under the excitation of an applied voltage. Compared with traditional actuators, it has the advantages of fast response, large driving force, high displacement resolution, small size and low noise, and has been widely used in ultra-precision machining, micro-nano positioning and observation. However, the inherent hysteresis nonlinear characteristics of piezoelectric ceramics are manifested as a multi-value mapping relationship between input voltage and output displacement, and show memory characteristics and rate-dependent characteristics. Under open-loop high-frequency input signals, the error caused by hysteresis can reach 35% of the maximum stroke of the micro-motion platform, which seriously affects the output accuracy of the piezoelectric drive. The most intuitive and effective solution to the hysteresis phenomenon is to construct a more accurate hysteresis inverse model as the feedforward compensation of the system. Therefore, accurate modeling and compensation of hysteresis characteristics is an important research topic.
[0003] At present, many hysteresis models have been proposed. According to the differences in modeling principles, they are mainly divided into two categories: physical models and mathematical models. The physical model is established by analyzing the internal mechanism of piezoelectric ceramic hysteresis. Since the internal mechanism is very complex, the physical model is also relatively complex, difficult to adapt to complex working conditions, and not universal. The mathematical model is based on the hysteresis loop and uses hysteresis operators, differential equations, polynomials, neural networks, etc. to build models. The classic operator-based hysteresis models include the Prandtle-Ishlinskii model, the Preisach model, and the Krasonsel'skii-Pokrovskii model. The classic differential equation-based hysteresis models include the Bouc-Wen model, the Duhem model, and the Dahl model. Although many hysteresis models have been proposed, how to solve the hysteresis inverse model while considering the rate-related characteristics of hysteresis is also an important issue. Many neural network-based models require separate training of the hysteresis inverse model and cannot be solved directly, which is relatively inconvenient to use. Although the inverse model solution based on the inverse multiplication structure is relatively simple, it is currently only applicable to the BW model and the PI model. The determination of model parameters is relatively complex and the description of the rate correlation of hysteresis is weak. In related technologies, the forward and inverse prediction models are usually obtained by different methods, and there is no method that can directly obtain the forward and inverse prediction models at the same time. Summary of the invention
[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a forward and reverse model modeling method, system, device and storage medium for hysteresis characteristics. There is no need to train the forward and reverse models separately. Only the Gaussian mixture parameters need to be trained and optimized. The forward and reverse prediction models can be directly constructed by using Gaussian mixture regression. Not only is it easier to solve the inverse model, but it also has rate correlation.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0006] The hysteresis characteristic forward and reverse model modeling method includes the following steps:
[0007] Sampling at equal intervals to obtain a voltage time series data sequence of the piezoelectric ceramic input and a displacement time series data sequence of the piezoelectric ceramic output, obtaining a voltage rate time series data sequence based on the voltage time series data sequence, and obtaining a displacement rate time series data sequence based on the displacement time series data sequence;
[0008] Build training samples as the training set, each training sample is the voltage and displacement at n+1 moments, and the voltage rate and displacement rate at n moments obtained by equal interval sampling;
[0009] Using the training set, a Gaussian mixture model is constructed, with the input being the training sample and the output being the weight, mean vector, and covariance matrix of each Gaussian component;
[0010] According to the trained Gaussian mixture model, a hysteresis forward prediction model based on Gaussian mixture regression is constructed. The input is the voltage at n+1 moments and the voltage rate at n moments obtained by equally spaced sampling. The predicted output is the displacement at the current moment k. A hysteresis reverse prediction model based on Gaussian mixture regression is constructed. The input of the model is the displacement at n+1 moments and the displacement rate at n moments obtained by equally spaced sampling. The predicted output is the voltage at the current moment k.
[0011] Furthermore, the constructed Gaussian mixture model is:
[0012]
[0013]
[0014]
[0015] in, They are The voltage at the moment, They are The voltage rate at the time, They are The displacement of time, They are The displacement rate at time, is the multivariate Gaussian distribution of the e-th Gaussian component;
[0016]
[0017]
[0018]
[0019] in, , Respectively represent , , is the number of Gaussian components, are the weight, mean vector and covariance matrix of the e-th Gaussian component, respectively. Respectively represent the e-th Gaussian component and The mean vector of ; Respectively represent the e-th Gaussian component , The covariance matrix of express and The covariance matrix between ;
[0020] The maximum expectation maximum algorithm based on the log-likelihood function is used to Parameters are optimized.
[0021] Furthermore, according to the constructed Gaussian mixture model, a hysteresis forward prediction model based on Gaussian mixture regression is constructed as follows:
[0022]
[0023]
[0024] in, is the e-th component estimate A multivariate Gaussian distribution of values, is the weight of this distribution, For the e-th component pair The multivariate Gaussian distribution value of , is the weight of the i-th Gaussian component, The i-th component pair The multivariate Gaussian distribution value of ;
[0025] for , the mean vector of its e-th Gaussian component and the covariance matrix for:
[0026]
[0027]
[0028] Among them, the input of the hysteresis forward prediction model is the vector , the predicted output is the vector of the current moment k , Depend on , The weighted sum is obtained.
[0029] Furthermore, the method includes correcting the hysteresis forward prediction model by:
[0030] Using the current predicted vector And the corrected forecast output of the previous moment , get the corrected output of the current moment prediction :
[0031]
[0032] in, , is the prediction vector The middle element, , They are the corrected predicted outputs at the current time k and the previous time k-1 respectively.
[0033] Furthermore, according to the constructed Gaussian mixture model, a hysteresis inverse prediction model based on Gaussian mixture regression is constructed as follows:
[0034]
[0035]
[0036] in, is the multivariate Gaussian distribution of the estimated U value of the e-th component, is the weight of this distribution;
[0037] for , the mean vector of its e-th Gaussian component and the covariance matrix for:
[0038]
[0039]
[0040] The input of the hysteresis inverse prediction model is the vector , the predicted output is the vector of the current moment k , Depend on , The weighted sum is obtained.
[0041] Furthermore, the method includes correcting the hysteresis inverse prediction model by:
[0042] Using the current predicted vector And the output of the revised forecast at the previous moment , correct the output predicted at the current moment:
[0043]
[0044] in, , is the prediction vector The middle element, , They are the corrected predicted outputs at the current time k and the previous time k-1 respectively.
[0045] Furthermore, the constructed hysteresis inverse prediction model based on Gaussian mixture regression is used to perform feedforward compensation on the piezoelectric micro-motion platform, including:
[0046] The desired displacement of the system input The input expected displacement is combined through the delay and differential modules to form a vector of the hysteresis inverse prediction model based on Gaussian mixture regression , which is obtained after prediction by the hysteresis inverse prediction model ,Will Input to the piezoelectric micro-motion stage to get the actual displacement , completing feedforward compensation.
[0047] A hysteresis characteristic forward and reverse model modeling device, comprising:
[0048] A data acquisition module is used for sampling at equal intervals to obtain a voltage time series data sequence input by the piezoelectric ceramic and a displacement time series data sequence output by the piezoelectric ceramic, obtain a voltage rate time series data sequence based on the voltage time series data sequence, and obtain a displacement rate time series data sequence based on the displacement time series data sequence;
[0049] Training set building module, used to build training samples as the training set, each training sample is the voltage and displacement at n+1 moments, and the voltage rate and displacement rate at n moments obtained by equal interval sampling;
[0050] The Gaussian mixture model building module is used to build a Gaussian mixture model using the training set. The input is the training sample, and the output is the weight, mean vector, and covariance matrix of each Gaussian component.
[0051] The hysteresis forward prediction model and the hysteresis reverse prediction model establishment module are used to construct a hysteresis forward prediction model based on Gaussian mixture regression according to the trained Gaussian mixture model, the input of which is the voltage at n+1 moments and the voltage rate at n moments obtained by equally spaced sampling, and the predicted output is the displacement at the current moment k. The hysteresis reverse prediction model based on Gaussian mixture regression is constructed, and the input of the model is the displacement at n+1 moments and the displacement rate at n moments obtained by equally spaced sampling, and the predicted output is the voltage at the current moment k.
[0052] A hysteresis characteristic forward and reverse model modeling device comprises a processor and a memory for storing a computer program that can be run on the processor. When the processor is used to run the computer program, the hysteresis characteristic forward and reverse model modeling method is executed.
[0053] A storage medium stores a computer program, and when the computer program is executed by a processor, the hysteresis characteristic forward and inverse modeling method is implemented.
[0054] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0055] Aiming at the problem that the existing modeling technology cannot fully model the rate correlation of piezoelectric ceramic hysteresis phenomenon, and it is difficult to directly invert the established forward model, the hysteresis characteristics are modeled based on Gaussian mixture model and Gaussian mixture regression. By constructing a unique data vector and using the Gaussian mixture model constructed by one training, the Gaussian mixture regression forward prediction model and inverse prediction model of the hysteresis characteristics can be simultaneously constructed according to the optimized parameters in the Gaussian mixture model. No additional training is required, and the hysteresis forward prediction model and hysteresis inverse prediction model can be directly solved based on the results of one model training. Compared with many neural network models that are inconvenient to solve the inverse model and the inverse model based on the inverse multiplication structure has a weak description of the rate correlation, this model not only makes it easier to solve the inverse model, but also has rate correlation. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0057] Figure 1 It is a flow chart of the hysteresis characteristic forward and reverse model modeling method of the present invention;
[0058] Figure 2 is the input voltage signal of the piezoelectric ceramic;
[0059] Figure 3 is the output displacement signal of the piezoelectric ceramic;
[0060] Figure 4 The present invention provides a forward and inverse modeling method for hysteresis characteristics based on GMM-GMR;
[0061] Figure 5 It is the block diagram of the feedforward compensation system based on the inverse model;
[0062] Figure 6 It is a schematic diagram of the prediction hysteresis loop of the forward prediction model;
[0063] Figure 7 is the prediction result of the forward prediction model;
[0064] Figure 8 It is a schematic diagram of the prediction hysteresis loop of the inverse prediction model;
[0065] Fig. 9 is the prediction result of the reverse prediction model;
[0066] Fig.10 It is a schematic diagram of the hysteresis characteristic forward and reverse model modeling device of the present invention. DETAILED DESCRIPTION
[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0068] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0069] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.
[0070] Example 1
[0071] Embodiment 1 provides a method for modeling a hysteresis characteristic forward and reverse model, such as Figure 1 and Figure 4 As shown, the following steps are included:
[0072] Step S1: sampling at equal intervals to obtain a voltage time series data sequence input by the piezoelectric ceramic and a displacement time series data sequence output by the piezoelectric ceramic, obtaining a voltage rate time series data sequence based on the voltage time series data sequence, and obtaining a displacement rate time series data sequence based on the displacement time series data sequence;
[0073] Step S2: Build training samples as the training set, each training sample is the voltage and displacement at n+1 moments, and the voltage rate and displacement rate at n moments obtained by equal interval sampling;
[0074] Step S3: Use the training set to construct a Gaussian mixture model, with the input being the training sample and the output being the weight, mean vector, and covariance matrix of each Gaussian component;
[0075] Step S4: According to the trained Gaussian mixture model, a hysteresis forward prediction model based on Gaussian mixture regression is constructed. The input is the voltage at n+1 moments and the voltage rate at n moments obtained by equally spaced sampling. The predicted output is the displacement at the current moment k. A hysteresis reverse prediction model based on Gaussian mixture regression is constructed. The input of the model is the displacement at n+1 moments and the displacement rate at n moments obtained by equally spaced sampling. The predicted output is the voltage at the current moment k.
[0076] The forward and inverse modeling method of hysteresis characteristics provided in Example 1 is aimed at the problem that the rate correlation of piezoelectric ceramic hysteresis phenomenon cannot be fully modeled in the existing modeling technology, and it is difficult to directly invert the established forward model. The hysteresis characteristics are modeled based on Gaussian mixture model and Gaussian mixture regression. By constructing a unique data vector and using the Gaussian mixture model constructed by one training, the Gaussian mixture regression forward prediction model and inverse prediction model of the hysteresis characteristics can be simultaneously constructed according to the optimized parameters in the Gaussian mixture model. No additional training is required, and the hysteresis forward prediction model and hysteresis inverse prediction model can be directly solved based on the results of one model training. Compared with many neural network models that are inconvenient to solve the inverse model and the inverse model based on the inverse multiplication structure that describes the rate correlation weakly, this model not only makes it easier to solve the inverse model, but also has rate correlation.
[0077] In a specific implementation, a voltage signal is input, and an output displacement signal generated by a piezoelectric ceramic actuator is obtained through an acquisition card. In order to better characterize the hysteresis characteristics and modeling effect, the piezoelectric ceramic input voltage signal u is selected as a variable frequency and variable amplitude signal:
[0078]
[0079] in, For time;
[0080] Collect the output displacement signal y, and obtain the piezoelectric ceramic input voltage signal and output displacement signal as follows: Figure 2 and Figure 3 shown.
[0081] In step S2, the construction method of each training sample includes:
[0082] Apply input voltage to the piezoelectric ceramic and obtain the output displacement through the acquisition card. For the kth moment, take the voltage of the previous n-1 consecutive moments and the voltage at the kth moment together to form the input voltage vector , take the displacement of the previous n-1 consecutive moments and the displacement at moment k to form the output displacement vector ,in, They are The voltage at the moment, They are Displacement of time.
[0083] The voltage vector of the input The elements in the forward direction are subtracted and divided by the sampling period, which in this example is 0.001s, to obtain the input voltage rate vector ,in, They are The voltage rate at a given moment.
[0084] Combine the input voltage vector and the input voltage rate vector to get the vector ;
[0085] The displacement vector of the output The elements in the forward direction are subtracted and divided by the sampling period to obtain the output displacement rate vector ,in, They are The displacement rate at a given moment.
[0086] Combine the output displacement vector and the output displacement rate vector to get the vector ;
[0087] Finally, the vector and Merge to get training samples :
[0088]
[0089] in, for The voltage at the moment, for The voltage rate at the time, for The displacement of time, for The displacement rate at a given moment.
[0090] This implementation utilizes a specific training data construction method to train the hysteresis model, describes the rate correlation of the hysteresis characteristic, and further improves the modeling accuracy.
[0091] This implementation method uses software to build Figure 4 The Gaussian mixture-Gaussian mixture regression model (GMM-GMR) shown uses data with a sequence length of 22 to train the Gaussian mixture model, and uses data with a sequence length of 11 to input the hysteresis forward prediction model and the reverse prediction model based on Gaussian mixture regression for prediction, that is, n = 5, wherein the data with a sequence length of 22 includes 6 voltage elements, 6 displacement elements, 5 voltage rate elements and 5 displacement rate elements.
[0092] In step S3, the constructed Gaussian mixture model (GMM model) is:
[0093]
[0094]
[0095]
[0096] in, They are The voltage at the moment, They are The voltage rate at the time, They are The displacement of time, They are The displacement rate at time, is the multivariate Gaussian distribution of the e-th Gaussian component;
[0097]
[0098]
[0099]
[0100] in, , Respectively represent , , is the number of Gaussian components, are the weight, mean vector and covariance matrix of the e-th Gaussian component, respectively. Respectively represent the e-th Gaussian component and The mean vector of ; Respectively represent the e-th Gaussian component , The covariance matrix of express and The covariance matrix between ;
[0101] In this embodiment, The three parameters can be determined by the expectation-maximization (EM) algorithm based on the log-likelihood function:
[0102]
[0103]
[0104] here, , are the weight set, mean vector set and covariance matrix set respectively, represents the time t , represents the time t-1 , refers to the number of samples in the training set, is the weight of the j-th Gaussian component, is the e-th Gaussian component pair training sample The multivariate Gaussian distribution value of , is the jth Gaussian component pair training sample The multivariate Gaussian distribution value of , is the i-th training sample, and the parameters are obtained after iterative optimization by the EM algorithm. , you can get the trained and optimized Gaussian mixture model.
[0105] In step S4, based on the Gaussian mixture model trained in step S3, a hysteresis forward prediction model and a reverse prediction model based on Gaussian mixture regression are constructed, which specifically includes the following steps:
[0106] S401, construct a hysteresis forward prediction model based on Gaussian mixture regression (forward GMR model), based on the already constructed Gaussian mixture model , solve the conditional distribution from the joint distribution, and construct a hysteresis forward prediction model based on Gaussian mixture regression, that is, ,like Figure 4 As shown, the specific model is:
[0107]
[0108]
[0109] in, is the e-th component estimate A multivariate Gaussian distribution of values, is the weight of this distribution, For the e-th component pair The multivariate Gaussian distribution value of , is the weight of the i-th Gaussian component, The i-th component pair The multivariate Gaussian distribution value of ;
[0110] for , the mean vector of its e-th Gaussian component and the covariance matrix for:
[0111]
[0112]
[0113] Among them, the input of the hysteresis forward prediction model is the vector , the predicted output is the vector of the current moment k , Depend on , The weighted sum is obtained.
[0114] In the hysteresis forward prediction model In the parameters , It can be directly obtained from the Gaussian mixture Get, parameters , and It can be directly obtained from the Gaussian mixture Get, The same as in the Gaussian mixture model. Once these parameters are obtained, the hysteresis forward prediction model based on Gaussian mixture regression can be constructed based on the above formula.
[0115] The input vector of the hysteresis forward prediction model based on Gaussian mixture regression is , we can further calculate the and , after weighted summation, the output displacement of the model without correction can be obtained .
[0116] Using the current predicted vector And the corrected forecast output of the previous moment , get the corrected output of the current moment prediction :
[0117]
[0118] in, , is the prediction vector The middle element, , They are the corrected predicted outputs at the current time k and the previous time k-1 respectively.
[0119] S402, construct a hysteresis inverse prediction model based on Gaussian mixture regression (inverse GMR model), such as Figure 5 As shown, the following steps are included:
[0120] The specific model is:
[0121]
[0122]
[0123] in, is the multivariate Gaussian distribution of the estimated U value of the e-th component, is the weight of this distribution;
[0124] for , the mean vector of its e-th Gaussian component and the covariance matrix for:
[0125]
[0126]
[0127] The input of the hysteresis inverse prediction model is the vector , the predicted output is the vector of the current moment k , Depend on , The weighted sum is obtained.
[0128] In the hysteresis inverse prediction model based on Gaussian mixture regression In the parameters , , , and Both can be directly derived from the Gaussian mixture model and Get, The same as in Gaussian mixture. Once these parameters are obtained, the hysteresis inverse prediction model based on Gaussian mixture regression can be constructed based on the above formula.
[0129] For the hysteresis inverse prediction model input vector Y(k), the and , after weighted summation, the uncorrected predicted input voltage U(k) of the model can be obtained.
[0130] Using the current predicted vector And the output of the revised forecast at the previous moment , correct the output predicted at the current moment:
[0131]
[0132] in, , is the prediction vector The middle element, , They are the corrected predicted outputs at the current time k and the previous time k-1 respectively.
[0133] Both the hysteresis forward prediction model and the hysteresis reverse prediction model can use the prediction output of the previous moment to correct the prediction output at the current moment to improve the prediction accuracy. In addition, the corrected hysteresis forward prediction model and hysteresis reverse prediction model better meet the rate correlation and are suitable for modeling and compensation of hysteresis characteristics.
[0134] By constructing a hysteresis inverse prediction model based on Gaussian mixture regression, the piezoelectric micro-motion platform can be fed-forward compensated, such as Figure 5 As shown, specifically including:
[0135] The desired displacement of the system input The input expected displacement is combined through the delay and differential modules to form a vector of the hysteresis inverse prediction model based on Gaussian mixture regression , which is obtained after prediction by the hysteresis inverse prediction model ,Will Input to the piezoelectric micro-motion stage to get the actual displacement , completing feedforward compensation.
[0136] In combination with the above technical solution, a forward and reverse modeling method of hysteresis characteristics based on Gaussian mixture-GMR provided in this embodiment is verified. , obtain the output displacement, the sampling frequency of input and output is 1000Hz, 10000 points are collected respectively, and the training data type is constructed. 6500 training data are randomly selected to train the Gaussian mixture model, and the GMR hysteresis forward and reverse prediction models are constructed at the same time.
[0137] In order to verify the modeling effect of the prediction model, 3500 test data were used to test the model. The prediction results of the forward model are as follows: Figure 6 and Figure 7 As shown, Figure 6 The solid line is the real hysteresis loop, and the dotted line is the hysteresis loop predicted by the hysteresis forward prediction model. Figure 7 The solid line is the actual displacement, and the dotted line is the displacement predicted by the hysteresis forward prediction model. The prediction results of the hysteresis reverse prediction model are shown in Figure 8 and Fig. 9 As shown, Figure 8 The solid line is the real hysteresis loop, and the dotted line is the hysteresis loop predicted by the inverse model. Fig. 9 The solid line is the actual voltage, and the dashed line is the voltage predicted by the model. Figures 6 to 9 It can be seen that the predicted solid line and the real dotted line are very consistent, indicating that the implementation method can not only directly solve the hysteresis forward prediction model and the reverse prediction model based on the constructed Gaussian mixture model, but also the forward and reverse prediction models can better describe the rate correlation of the hysteresis of the piezoelectric ceramic. In addition, after simulation testing, the RMSE of the prediction results of the uncorrected forward model and the reverse model are 0.021μm and 0.023μm, respectively, while the RMSE of the prediction results of the corrected forward model and the reverse model are 0.00313μm and 0.00862μm, respectively. The comparison shows that the accuracy of the corrected prediction results has been greatly improved.
[0138] Example 2
[0139] Embodiment 2 provides a hysteresis characteristic forward and reverse model modeling device, which is applied to the above-mentioned hysteresis characteristic forward and reverse model modeling method, such as Fig.10 As shown, including:
[0140] A data acquisition module is used for sampling at equal intervals to obtain a voltage time series data sequence input by the piezoelectric ceramic and a displacement time series data sequence output by the piezoelectric ceramic, obtain a voltage rate time series data sequence based on the voltage time series data sequence, and obtain a displacement rate time series data sequence based on the displacement time series data sequence;
[0141] Training set construction module, used to build training samples as the training set, each training sample is the voltage and displacement at n+1 moments, and the voltage rate and displacement rate at n moments obtained by equal interval sampling;
[0142] The Gaussian mixture model building module is used to build a Gaussian mixture model using the training set. The input is the training sample, and the output is the weight, mean vector, and covariance matrix of each Gaussian component.
[0143] The hysteresis forward prediction model and the hysteresis reverse prediction model establishment module are used to construct a hysteresis forward prediction model based on Gaussian mixture regression according to the trained Gaussian mixture model, the input of which is the voltage at n+1 moments and the voltage rate at n moments obtained by equally spaced sampling, and the predicted output is the displacement at the current moment k. The hysteresis reverse prediction model based on Gaussian mixture regression is constructed, and the input of the model is the displacement at n+1 moments and the displacement rate at n moments obtained by equally spaced sampling, and the predicted output is the voltage at the current moment k.
[0144] Example 3
[0145] Embodiment 3 provides a hysteresis characteristic forward and reverse model modeling device, including a processor and a memory for storing a computer program that can be run on the processor. When the processor is used to run the computer program, it executes the above-mentioned hysteresis characteristic forward and reverse model modeling method.
[0146] Example 4
[0147] Embodiment 4 provides a storage medium, wherein a computer program is stored in the storage medium. When the computer program is executed by a processor, the above-mentioned hysteresis characteristic forward and inverse modeling method is implemented.
[0148] The hysteresis characteristic forward and reverse model modeling method disclosed in the embodiment of the present invention can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the hysteresis characteristic forward and reverse model modeling method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory, and completes the steps of the hysteresis characteristic forward and reverse model modeling method provided in the embodiment of the present invention in combination with its hardware.
[0149] In an exemplary embodiment, the hysteresis characteristic forward and reverse model modeling device can be implemented by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), FPGA, general processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic components to execute the aforementioned method.
[0150] It can be understood that the memory can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0151] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for modeling a hysteresis characteristic forward and reverse model, characterized in that: The following steps are involved: Sampling at equal intervals to obtain a voltage time series data sequence of the piezoelectric ceramic input and a displacement time series data sequence of the piezoelectric ceramic output, obtaining a voltage rate time series data sequence based on the voltage time series data sequence, and obtaining a displacement rate time series data sequence based on the displacement time series data sequence; Build training samples as the training set, each training sample is the voltage and displacement at n+1 moments, and the voltage rate and displacement rate at n moments obtained by equal interval sampling; Using the training set, a Gaussian mixture model is constructed, with the input being the training sample and the output being the weight, mean vector, and covariance matrix of each Gaussian component; The constructed Gaussian mixture model is: in, They are The voltage at the moment, They are The voltage rate at the time, They are The displacement of time, They are The displacement rate at time, is the multivariate Gaussian distribution of the e-th Gaussian component; in, , Respectively represent , , is the number of Gaussian components, are the weight, mean vector and covariance matrix of the e-th Gaussian component, respectively. Respectively represent the e-th Gaussian component and The mean vector of ; Respectively represent the e-th Gaussian component , The covariance matrix of express and The covariance matrix between ; The expected maximum algorithm based on the log-likelihood function is used to Optimize the parameters; According to the trained Gaussian mixture model, a hysteresis forward prediction model based on Gaussian mixture regression is constructed. The input is the voltage at n+1 moments and the voltage rate at n moments obtained by equally spaced sampling. The predicted output is the displacement at the current moment k. A hysteresis reverse prediction model based on Gaussian mixture regression is constructed. The input of the model is the displacement at n+1 moments and the displacement rate at n moments obtained by equally spaced sampling. The predicted output is the voltage at the current moment k.
2. The hysteresis characteristic forward and inverse modeling method according to claim 1, characterized in that: According to the constructed Gaussian mixture model, the hysteresis forward prediction model based on Gaussian mixture regression is constructed as follows: in, is the e-th component estimate A multivariate Gaussian distribution of values, is the weight of this distribution, For the e-th component pair The multivariate Gaussian distribution value of , is the weight of the i-th Gaussian component, The i-th component pair The multivariate Gaussian distribution value of ; for , the mean vector of its e-th Gaussian component and the covariance matrix for: Among them, the input of the hysteresis forward prediction model is the vector , the predicted output is the vector of the current moment k , Depend on , The weighted sum is obtained.
3. The hysteresis characteristic forward and inverse modeling method according to claim 2, characterized in that: It also includes a correction to the hysteresis forward prediction model, which is as follows: Using the current predicted vector And the corrected forecast output of the previous moment , get the corrected output of the current moment prediction : in, , is the prediction vector The middle element, , They are the corrected predicted outputs at the current time k and the previous time k-1 respectively.
4. The hysteresis characteristic forward and inverse modeling method according to claim 2, characterized in that: According to the constructed Gaussian mixture model, the hysteresis inverse prediction model based on Gaussian mixture regression is constructed as follows: in, is the multivariate Gaussian distribution of the estimated U value of the e-th component, is the weight of this distribution; for , the mean vector of its e-th Gaussian component and the covariance matrix for: The input of the hysteresis inverse prediction model is the vector , the predicted output is the vector of the current moment k , Depend on , The weighted sum is obtained.
5. The hysteresis characteristic forward and inverse modeling method according to claim 4, characterized in that: It also includes a correction to the hysteresis inverse prediction model, which is as follows: Using the current predicted vector And the output of the revised forecast at the previous moment , correct the output predicted at the current moment: in, , is the prediction vector The middle element, , They are the corrected predicted outputs at the current time k and the previous time k-1 respectively.
6. The hysteresis characteristic forward and inverse modeling method according to claim 1, characterized in that: The constructed hysteresis inverse prediction model based on Gaussian mixture regression is used to perform feedforward compensation on the piezoelectric micro-motion platform, including: The desired displacement of the system input The input expected displacement is combined through the delay and differential modules to form a vector of the hysteresis inverse prediction model based on Gaussian mixture regression , which is obtained after prediction by the hysteresis inverse prediction model ,Will Input to the piezoelectric micro-motion stage to get the actual displacement , completing feedforward compensation.
7. A hysteresis characteristic forward and reverse modeling device, characterized in that: include: A data acquisition module is used for sampling at equal intervals to obtain a voltage time series data sequence input by the piezoelectric ceramic and a displacement time series data sequence output by the piezoelectric ceramic, obtain a voltage rate time series data sequence based on the voltage time series data sequence, and obtain a displacement rate time series data sequence based on the displacement time series data sequence; Training set building module, used to build training samples as the training set, each training sample is the voltage and displacement at n+1 moments, and the voltage rate and displacement rate at n moments obtained by equal interval sampling; The Gaussian mixture model building module is used to build a Gaussian mixture model using the training set. The input is the training sample, and the output is the weight, mean vector, and covariance matrix of each Gaussian component. The constructed Gaussian mixture model is: in, They are The voltage at the moment, They are The voltage rate at the time, They are The displacement of time, They are The displacement rate at time, is the multivariate Gaussian distribution of the e-th Gaussian component; in, , Respectively represent , , is the number of Gaussian components, are the weight, mean vector and covariance matrix of the e-th Gaussian component, respectively. Respectively represent the e-th Gaussian component and The mean vector of ; Respectively represent the e-th Gaussian component , The covariance matrix of express and The covariance matrix between ; The expected maximum algorithm based on the log-likelihood function is used to Optimize the parameters; The hysteresis forward prediction model and the hysteresis reverse prediction model establishment module are used to construct a hysteresis forward prediction model based on Gaussian mixture regression according to the trained Gaussian mixture model, the input of which is the voltage at n+1 moments and the voltage rate at n moments obtained by equally spaced sampling, and the predicted output is the displacement at the current moment k. The hysteresis reverse prediction model based on Gaussian mixture regression is constructed, and the input of the model is the displacement at n+1 moments and the displacement rate at n moments obtained by equally spaced sampling, and the predicted output is the voltage at the current moment k.
8. Hysteresis characteristic forward and reverse model modeling equipment, characterized by: The invention comprises a processor and a memory for storing a computer program that can be run on the processor. When the processor is used to run the computer program, the forward and reverse modeling method of hysteresis characteristic as claimed in any one of claims 1 to 6 is executed.
9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the forward and reverse modeling method of hysteresis characteristics as claimed in any one of claims 1 to 6 is implemented.
