Motor speed soft measurement method and system
By collecting and processing the current and voltage signals of the DC motor in real time, combined with the adaptive unscented Kalman filter algorithm and fuzzy matrix lookup table, a closed-loop system is formed, which solves the problem of low accuracy of soft measurement of DC motor speed and achieves high-precision speed. Detection and model parameter updates.
Patent Information
- Application Number
- CN202011122365.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-20
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-10-20
AI Technical Summary
The accuracy of soft measurement of DC motor speed is affected by the pollution of current and voltage signals and the time-varying problems of internal parameters of the motor, resulting in low detection accuracy.
Design a motor speed soft measurement method and system, which collects current and voltage signals in real time through the data acquisition module, performs anomaly detection and denoising, and uses the adaptive unscented Kalman filter algorithm and fuzzy matrix lookup table to form a closed-loop system for confidence Degree adjustment and parameter update ensure the accuracy of speed soft measurement.
It achieves high-precision soft measurement of DC motor speed in complex environments. Through the closed-loop correction structure and statistical confidence calculation, the calculation accuracy and the accuracy of model parameter identification are improved.
Smart Images

Figure CN112287785B
Abstract
Description
Technical Field
[0001] The invention relates to the field of soft measurement of DC motor speed, and in particular to a motor speed soft measurement method and system. Background Art
[0002] DC motors have the advantages of high efficiency, high power and good speed regulation performance, which makes them more and more used in aerospace, data machine tools, robots, electric vehicles and household appliances. However, due to the increasingly smaller installation space, the increasingly low-cost control and maintenance requirements, and the complex and changing working environment, DC motors are developing towards simplification and miniaturization. Reducing the number of sensors has become an important development idea for reducing costs, lightening and simplifying DC motors.
[0003] At present, the important parameter detection equipment of DC motors includes current detection, voltage detection, speed detection, etc. Among them, the integration and detection accuracy of electrical signal detection equipment such as current detection and voltage detection are relatively high. Therefore, the high-precision estimation of DC motor speed through soft measurement is the main idea to remove speed detection equipment and reduce costs. However, the soft measurement accuracy of speed is directly affected by the accuracy of related quantities such as DC motor current, voltage and internal parameters of the motor, that is, the pollution problem of DC motor current and voltage signals and the time-varying problem of internal parameters of the motor are all obstacles to the accuracy of soft measurement of DC motor speed. Therefore, the accuracy of motor speed soft measurement directly using DC motor current, voltage and other signals and parameters on the motor nameplate will be greatly reduced. Therefore, it is necessary for us to design a complete architecture that can ensure the accuracy of DC motor speed soft measurement in various complex environments and a set of architecture operation mechanisms. Summary of the invention
[0004] The main technical problem solved by the present invention is to provide a motor speed soft measurement method and system, which can form a complete closed-loop system, ensure the accuracy of data detection, model parameter identification and speed soft measurement through a closed-loop correction structure, and perform two calculation loops in parallel and statistical confidence calculation in each functional module to ensure calculation accuracy.
[0005] In order to solve the above technical problems, a technical solution adopted by the present invention is: to provide a motor speed soft measurement method, comprising the following steps: a. connecting a data acquisition module to a DC motor, collecting armature current and voltage signals of the DC motor in real time, and outputting the collected signals to a data detection and decision module; b. the data detection and decision module obtains current and voltage signals according to the data acquisition module, performs abnormality detection and denoising on the input current and voltage signals, calculates the motor armature voltage calculation value, and judges the quality of the motor armature current signal by comparing the residual statistics of the motor armature voltage value collected by the data acquisition module, and finally makes a decision on the quality of the final collected data, and transmits the decision result to the motor speed soft measurement module; c. The motor speed soft measurement module performs fuzzy matrix lookup on the confidence of the data detection conclusion according to the data of the data detection decision module, and obtains the initial weight value of the motor speed estimation. The motor speed soft measurement value is obtained by using the adaptive unscented Kalman filter algorithm through the data of the data detection decision module, and then the motor speed prediction value is calculated by the motor speed model formula. The confidence adjustment and calculation weighted calculation are performed according to the above two values to obtain the final motor speed soft measurement result, and the result is output to the motor model parameter dynamic identification module; d. The motor model parameter dynamic identification module updates the motor model parameters online according to the output conclusion of the data detection decision module and the output result of the motor speed soft measurement module.
[0006] In a preferred embodiment of the present invention, in step a, the data detection calculation unit of the data detection decision module first realizes abnormal detection and denoising of the DC motor current and voltage signals by a linear AR model or online iterative wavelet decomposition and maximum principle, and regards the motor armature current as a time series, and first uses an autoregressive AR model to perform regression fitting on it. The AR model is as follows:
[0007]
[0008] in is the AR model coefficient, and the residual sequence is realized by using wavelet decomposition and modulus maximum principle Detection to determine the quality of the motor central current signal collected by the data acquisition module;
[0009] Then the motor electrical model calculation unit of the data detection decision module uses the residual statistics of the armature voltage calculated value output by the motor electrical model and the motor armature voltage value collected by the data acquisition module to judge the quality of the motor armature current signal.
[0010] The electrical model of a DC motor is as follows:
[0011]
[0012]
[0013] in It represents the armature voltage value calculated by the motor electrical model; Calculate the armature voltage function of the DC motor; The motor speed value calculated by the motor electrical model; It is the DC motor speed calculation function; Calculation function for friction and load torque of DC motor; It represents the armature current of DC motor; Indicates the number of sampled data.
[0014] The motor electrical model calculation unit is responsible for using the real-time DC motor current collected by the data acquisition module , The above formula is used to calculate the motor central voltage value .Further calculate the deviation value: ;
[0015] The motor electrical model is as follows:
[0016]
[0017] in , The DC motor current and voltage signals collected by the data acquisition module; , is the motor armature resistance and inductance; ( is the potential constant, is the magnetic flux), ( is the torque constant), is the friction and load torque; is the speed inertia.
[0018] Discretize the formula into:
[0019]
[0020] in Indicates the residuals of the motor center voltage calculation and the motor speed calculation;
[0021] Finally, the first confidence calculation unit of the data detection decision module normalizes the results of the above two calculation outputs, and uses the fuzzy matrix under statistics to give the fuzzy judgment level of the data detection decision module for the quality of the collected data. According to the fuzzy judgment level of the quality of the collected data, its confidence value is set. At the same time, according to the following formula, the corrected collected data and confidence output by the data detection decision module are calculated:
[0022]
[0023]
[0024]
[0025]
[0026] in , They represent the credible probability of the model estimated data and the credible probability of the collected data respectively; is the confidence value, based on Figure 2 The fuzzy matrix level is determined; Indicates the corrected data; , Represent the collected data value and the estimated data value respectively.
[0027] In a preferred embodiment of the present invention, the logic decision unit of the motor speed soft measurement module in step b performs a fuzzy matrix lookup table according to the confidence of the data detection conclusion of the data detection calculation unit and the motor electrical model calculation unit, and gives the initial weight value of the motor speed soft measurement calculation unit and the motor speed model calculation unit for estimating the motor speed;
[0028] The motor speed soft measurement calculation unit of the motor speed soft measurement module uses the adaptive unscented Kalman filter algorithm to realize the soft measurement of the motor speed according to the corrected collected data given by the confidence calculation unit in the data detection decision module. The motor speed state equation is as follows:
[0029]
[0030]
[0031] Wherein formula (4) is the state equation, is the state equation function, represents the state error; formula (5) is the observation equation, is the observation equation function, represents the observation error, and the prediction result is expressed as ;
[0032] The motor speed model calculation unit of the motor speed soft measurement module uses the motor speed model formula based on the corrected collected data given by the first confidence calculation unit in the data detection decision model The model calculation results of the motor speed are expressed as follows: .
[0033] The second confidence calculation unit of the motor speed soft measurement module is based on and The confidence adjustment and weighted calculation are performed to obtain the final motor speed soft measurement result. , adjust the initial weight value set by the logical decision unit according to the following formula:
[0034]
[0035]
[0036]
[0037] Further, according to the adjusted weight value , calculate the motor speed soft measurement result finally estimated by the present invention : .
[0038] In a preferred embodiment of the present invention, the motor parameter identification unit of the motor model parameter dynamic identification module uses the output conclusion of the data detection decision module and the output conclusion of the motor speed soft measurement module to update the motor model parameters online. The parameters that need to be updated online are: , respectively represent the motor armature resistance, motor armature inductance, ( is the potential constant, is the magnetic flux), ( is the torque constant), is the speed inertia.
[0039] In order to solve the above technical problems, another technical solution adopted by the present invention is: to provide a motor speed soft measurement system, including a data acquisition module, a data detection and decision module, a motor speed soft measurement module and a motor model parameter dynamic identification module; the input end of the data acquisition module is connected to the DC motor, and the output end is connected to the input end of the data detection module, so as to collect the current and voltage signals of the DC motor in real time, and output the collected signals to the data detection and decision module; the output end of the data detection and decision module is connected to the input end of the motor speed soft measurement module and the motor model parameter dynamic identification module, and the data detection and decision module includes a data detection calculation unit , a motor electrical model calculation unit and a first confidence calculation unit, the data detection calculation unit performs abnormal detection and denoising on the input current and voltage signals and then outputs the data to the confidence calculation unit, the motor electrical model calculation unit calculates the motor central voltage calculation value from the real-time input current signal and then outputs the data to the confidence calculation unit, the first confidence calculation unit obtains the corrected motor acquisition sample data and the confidence value of the data according to the data input by the data detection calculation unit and the motor electrical model calculation unit through the statistical confidence theory, and then sends the above two data to the motor speed soft measurement module and the motor model parameter dynamic measurement module The motor speed soft measurement module is connected to the input end of the motor model parameter dynamic identification module, and the motor speed soft measurement module includes a logic decision unit, a motor speed soft measurement calculation unit, a motor speed model calculation unit and a second confidence calculation unit. The logic decision unit gives a preliminary fusion weight value of the motor speed soft measurement calculation unit and the motor speed model calculation unit through a fuzzy logic matrix according to the structure output by the first confidence calculation unit. The motor speed soft measurement calculation unit uses a parameter self-adjusting unscented Kalman filtering algorithm to realize the motor speed state estimation calculation based on the state state equation. The motor speed model The calculation unit calculates the predicted value of the motor speed, and the second confidence calculation unit adjusts the initial fusion weight value set by the logic decision unit according to the relevant parameters in the motor speed soft measurement calculation unit; the output end of the motor model parameter dynamic identification module is connected to the input end of the data detection module, and the motor model parameter dynamic identification module includes a motor parameter identification unit. The motor parameter identification unit performs motor model parameter identification calculation according to the structure output by the data detection decision module and the motor speed soft measurement module, and updates the motor electrical model in the data detection decision module and the motor speed model in the motor speed soft measurement module according to the result calculated by the motor parameter identification unit.
[0040] In a preferred embodiment of the present invention, the data acquisition module includes a current acquisition unit and a voltage acquisition unit, and the output end of the data acquisition module is connected to the input end of the motor speed soft measurement module and the motor model parameter dynamic identification module.
[0041] In a preferred embodiment of the present invention, the output end of the data detection calculation unit and the output end of the motor electrical model calculation unit are connected to the input end of the first confidence calculation unit, and the output end of the first confidence calculation unit is respectively connected to the input end of the logic decision unit and the motor parameter identification unit.
[0042] In a preferred embodiment of the present invention, the output end of the logic decision unit is connected to the input end of the motor speed soft measurement calculation unit and the motor speed model calculation unit respectively, the output end of the motor speed soft measurement calculation unit and the motor speed model calculation unit are connected to the input end of the second confidence calculation unit, and the output end of the second confidence calculation unit is connected to the input end of the motor parameter identification unit.
[0043] In a preferred embodiment of the present invention, the output end of the motor parameter identification unit is connected to the input end of the motor speed model calculation unit and the input end of the motor electrical model calculation unit respectively.
[0044] In a preferred embodiment of the present invention, the motor speed soft measurement module is also connected to the motor speed estimation and display unit.
[0045] The beneficial effects of the present invention are as follows: the motor speed soft measurement method and system of the present invention can form a complete closed-loop system, and the accuracy of data detection, model parameter identification and speed soft measurement is guaranteed through a closed-loop correction structure. Within each functional module, two calculation loops are performed in parallel and statistical confidence calculation is performed to ensure calculation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0047] Figure 1 It is a dynamic soft measurement framework of the DC motor speed variable of the present invention;
[0048] Figure 2 It is the fuzzy matrix of the confidence calculation unit in the data detection decision module;
[0049] Figure 3 Calculate the process of the confidence calculation unit in the data detection decision module;
[0050] Figure 4 is the fuzzy matrix of the logical decision unit. DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present invention are described clearly and completely below. 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 creative work are within the scope of protection of the present invention.
[0052] See also Figure 1, a motor speed soft measurement system, including a data acquisition module, a data detection decision module, a motor speed soft measurement module and a motor model parameter dynamic identification module; the input end of the data acquisition module is connected to the DC motor, and the output end is connected to the input end of the data detection module, real-time acquisition of the DC motor current and voltage signals, and the collected signals are output to the data detection decision module; the output end of the data detection decision module is connected to the motor speed soft measurement module and the input end of the motor model parameter dynamic identification module, the data detection decision module includes a data detection calculation unit, a motor electrical model calculation unit and a first confidence calculation unit The data detection calculation unit performs abnormal detection and denoising on the input current and voltage signals and then outputs the data to the confidence calculation unit. The motor electrical model calculation unit calculates the motor central voltage calculated value from the real-time input current signal and then outputs the data to the confidence calculation unit. The first confidence calculation unit obtains the corrected motor acquisition sample data and the confidence value of the data through the statistical confidence theory according to the data input by the data detection calculation unit and the motor electrical model calculation unit, and then sends the above two data to the motor speed soft measurement module and the motor model parameter dynamic identification module; the motor speed soft The output end of the measurement module is connected to the input end of the motor model parameter dynamic identification module. The motor speed soft measurement module includes a logic decision unit, a motor speed soft measurement calculation unit, a motor speed model calculation unit and a second confidence calculation unit. The logic decision unit gives a preliminary fusion weight value of the motor speed soft measurement calculation unit and the motor speed model calculation unit through a fuzzy logic matrix according to the structure output by the first confidence calculation unit. The motor speed soft measurement calculation unit uses a parameter self-adjusting unscented Kalman filter algorithm to realize the motor speed state estimation calculation based on the state state equation. The motor speed model calculation unit calculates the motor speed prediction value. The second confidence calculation unit adjusts the initial fusion weight value set by the logic decision unit according to the relevant parameters in the motor speed soft measurement calculation unit; the output end of the motor model parameter dynamic identification module is connected to the input end of the data detection module. The motor model parameter dynamic identification module includes a motor parameter identification unit. The motor parameter identification unit performs motor model parameter identification calculation according to the structure output by the data detection decision module and the motor speed soft measurement module, and updates the motor electrical model in the data detection decision module and the motor speed model in the motor speed soft measurement module according to the result calculated by the motor parameter identification unit.
[0053] In addition, the data acquisition module includes a current acquisition unit and a voltage acquisition unit, and the output end of the data acquisition module is connected to the input end of the motor speed soft measurement module and the motor model parameter dynamic identification module.
[0054] In addition, the output end of the data detection calculation unit and the output end of the motor electrical model calculation unit are connected to the input end of the first confidence calculation unit, and the output end of the first confidence calculation unit is respectively connected to the input end of the logic decision unit and the motor parameter identification unit.
[0055] In addition, the output end of the logic decision unit is connected to the input end of the motor speed soft measurement calculation unit and the motor speed model calculation unit respectively, the output end of the motor speed soft measurement calculation unit and the motor speed model calculation unit are connected to the input end of the second confidence calculation unit, and the output end of the second confidence calculation unit is connected to the input end of the motor parameter identification unit.
[0056] In addition, the output end of the motor parameter identification unit is connected to the input end of the motor speed model calculation unit and the input end of the motor electrical model calculation unit respectively.
[0057] In addition, the motor speed soft measurement module is also connected to the motor speed estimation and display unit.
[0058] The detailed operation mechanisms between and within each functional module are as follows:
[0059] Data acquisition module: responsible for real-time collection of various operating data of the DC motor.
[0060] The data acquisition module contains two acquisition units: a current acquisition unit and a voltage acquisition unit. The data acquisition module responsible for collecting real-time data of the DC motor is connected to the DC motor to realize the task of collecting the armature current and voltage of the DC motor.
[0061] The data detection calculation unit and the motor electrical model calculation unit in the data detection decision module can realize the quality detection of the current signal from two perspectives, which are implemented in detail as follows:
[0062] Data detection and calculation unit: This unit is responsible for abnormal detection and denoising of current and voltage signals. This process first considers the application scenario of the motor and the stability of the current and voltage signals, and selects appropriate methods such as linear AR model or online iterative wavelet decomposition and maximum principle to realize abnormal detection and denoising of DC motor current and voltage signals. This unit regards the motor armature current as a time series, and first uses the autoregressive AR model to regress and fit it. The AR model is as follows:
[0063] (5)
[0064] in is the AR model coefficient. And the residual sequence is realized by using wavelet decomposition and modulus maximum principle Detection is performed to determine the quality of the motor central current signal collected by the data acquisition module.
[0065] Motor electrical model calculation unit: This unit is the electrical model of the DC motor as follows:
[0066] (1)
[0067] (2)
[0068] in It represents the armature voltage value calculated by the motor electrical model; Calculate the armature voltage function of the DC motor; The motor speed value calculated by the motor electrical model; It is the DC motor speed calculation function; Calculation function for friction and load torque of DC motor; It represents the armature current of DC motor; Indicates the number of sampled data.
[0069] The motor electrical model calculation unit is responsible for collecting the real-time DC motor current obtained by the data acquisition module. , The motor center voltage calculation value is obtained by using the above formula (1) and formula (2): .Further calculate the deviation value:
[0070] (3)
[0071] The quality of the motor armature current signal is determined by using the residual statistics of the calculated armature voltage output by the motor electrical model and the motor armature voltage value collected by the data acquisition module. The motor electrical model is as follows:
[0072] (6)
[0073] in , The DC motor current and voltage signals collected by the data acquisition module; , is the motor armature resistance and inductance; ( is the potential constant, is the magnetic flux), ( is the torque constant), is the friction and load torque; is the speed inertia.
[0074] Discretize formula (6) into:
[0075] (7)
[0076] in Indicates the residual of motor center voltage calculation and motor speed calculation.
[0077] The first confidence calculation unit is responsible for comprehensively judging the output results of the data detection unit and the output results of the motor electrical model calculation unit. The statistical confidence theory is used to give the data detection conclusion collected by the data acquisition module. The data detection conclusion is divided into two parts: the corrected motor sample data and the confidence value of the data. The output conclusions of the data detection calculation unit and the motor electrical model calculation unit are normalized. And the fuzzy matrix under statistics (such as Figure 2 As shown in the figure, the fuzzy judgment level of the data detection decision module for the quality of the collected data is given, and its confidence value is set according to the fuzzy judgment level of the quality of the collected data (such as Figure 3 ), and according to the following formula, calculate the corrected collected sample value output by the data detection decision module.
[0078] (8)
[0079] (9)
[0080] (10)
[0081] (11)
[0082] in , They represent the credible probability of the model estimated data and the credible probability of the collected data respectively; is the confidence value, based on Figure 2 The fuzzy matrix level is determined; Indicates the corrected data; , Represent the collected data value and the estimated data value respectively.
[0083] The output end of the confidence calculation unit in the data detection decision module is connected to the logic decision unit of the motor speed soft measurement module and the motor parameter identification unit in the motor model parameter dynamic identification module. The final data detection calculation result (corrected collected data and confidence value) of the data detection decision module is transmitted to the logic decision unit and the motor parameter identification unit.
[0084] The motor speed soft measurement module contains four calculation units, namely: logic decision unit, motor speed soft measurement calculation unit, motor speed model calculation unit and confidence calculation unit.
[0085] Logical decision unit: responsible for giving the preliminary fusion weight values of the two motor speed calculation units (motor speed soft measurement calculation unit and motor speed model calculation unit) through the fuzzy logic matrix according to the output conclusion of the data detection decision module; performing fuzzy matrix lookup on the confidence of the data detection conclusion according to the two channels (data detection calculation unit and motor electrical model calculation unit) given by the data detection decision module (such as Figure 4 As shown in FIG. 1 ), the initial weight values of the two channels of the motor speed soft measurement model (the motor speed soft measurement calculation unit and the motor speed model calculation unit) for estimating the motor speed are given.
[0086] The output end of the logic decision unit is connected to the motor speed soft measurement calculation unit and the motor speed model calculation unit respectively, so the motor speed soft measurement calculation unit and the motor speed model calculation unit respectively estimate the motor speed according to two methods;
[0087] The motor speed soft measurement calculation unit uses the parameter self-adjusting unscented Kalman filter algorithm to realize the motor speed state estimation calculation based on the state equation. The motor speed state equation is as follows:
[0088] (4)
[0089] (5)
[0090] Wherein formula (4) is the state equation, is the state equation function, represents the state error; formula (5) is the observation equation, is the observation equation function, represents the observation error.
[0091] According to the corrected collected data given by the confidence calculation unit in the data detection decision module, the adaptive unscented Kalman filter algorithm is used to realize the soft measurement of the motor speed. The state equation of the motor speed is shown in formula (7), and the prediction result is expressed as .
[0092] Motor speed model calculation unit: According to the motor speed model formula (2), the motor speed prediction value is obtained. ; Based on the corrected collected data given by the confidence calculation unit in the data detection decision model, the motor speed model formula (12) is used to calculate the model calculation result of the motor speed. The prediction result is expressed as .
[0093] (12)
[0094] The second confidence calculation unit: according to the observation value deviation during the calculation process of the motor speed soft measurement calculation unit , and variance , The initial fusion weight value set by the logic decision unit is adjusted. The second confidence calculation unit: further, the motor speed estimated by the motor speed soft measurement calculation unit based on the adaptive unscented Kalman filter algorithm And the motor speed estimated by the motor speed model calculation unit The confidence calculation unit in the motor speed soft measurement module performs confidence adjustment and weighted calculation to obtain the final motor speed soft measurement result. First, adjust the initial weight value set by the logical decision unit according to the following formula:
[0095]
[0096] (13)
[0097]
[0098] Further, according to the adjusted weight value , calculate the motor speed soft measurement result finally estimated by the present invention :
[0099] (14)
[0100] The motor parameter identification unit uses the output conclusions of the data detection decision module and the output conclusions of the motor speed soft measurement module to update the motor model parameters online. The parameters that need to be updated online are: , respectively represent the motor armature resistance, motor armature inductance, ( is the potential constant, is the magnetic flux), ( is the torque constant), is the speed inertia. The motor parameter identification unit uses an improved swarm intelligence algorithm that can quickly determine the search range to achieve accurate parameter identification. The identification results are applied to the motor electrical model calculation unit in the data detection module and the motor speed model calculation unit in the motor speed soft measurement module to update the corresponding model parameters.
[0101] Finally, it is displayed through the motor speed estimation display unit.
[0102] Different from the prior art, the present invention proposes a set of online soft measurement architecture of DC motor speed with closed-loop self-correction function, which includes the acquisition data preprocessing and detection function, the dynamic identification function of DC motor parameters and the soft measurement function of DC motor speed, which fully guarantees the accuracy of each link of soft measurement (data quality, model accuracy, etc.), thereby improving the soft measurement accuracy of the motor. In both the data detection decision module and the motor speed soft measurement module, the "dual-path parallel" method is used for multiple calculations, and after the calculation, the fuzzy logic theory and statistical theory are used to give a reasonable confidence to ensure the correctness and optimality of the output results.
[0103] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A soft measurement method for motor speed, It is characterized in that The following steps are involved: a. Connect the data acquisition module to the DC motor, collect the armature current and armature voltage signals of the DC motor in real time, and output the collected signals to the data detection and decision module. First, the data detection calculation unit of the data detection and decision module realizes the abnormal detection and denoising of the DC motor current and voltage signals through the linear AR model or online iterative wavelet decomposition and maximum principle. The motor armature current is regarded as a time series, and the autoregressive AR model is first used to regress and fit it. The AR model is as follows: where a j , j = 1, 2, ... p are AR model coefficients, and the residual sequence ω is realized by wavelet decomposition and modulus maximum principle. ar The detection is used to judge the quality of the motor central current signal collected by the data acquisition module; i a Indicates the armature current of the DC motor; k=1,2,…indicates the number of sampling data; Then the motor electrical model calculation unit of the data detection decision module uses the residual statistics of the armature voltage calculated value output by the motor electrical model and the motor armature voltage value collected by the data acquisition module to judge the quality of the motor armature current signal; The electrical model of a DC motor is as follows: in represents the armature voltage value calculated by the motor electrical model; f(·) is the DC motor armature voltage calculation function; is the motor speed value calculated by the motor electrical model; g[·] is the DC motor speed calculation function; T L (·) is the calculation function of friction and load torque of DC motor; The motor electrical model calculation unit is responsible for using the real-time DC motor current i collected by the data acquisition module a (k), k=1,2,…The above formula is used to calculate the motor central voltage value Further calculation of the deviation value: The motor electrical model is as follows: where i a , U a The DC motor current and voltage signals collected by the data acquisition module; R a , L a is the motor armature resistance and inductance; C e =k e Φ, k e is the potential constant, Φ is the magnetic flux, C T =k T Φ, k T is the torque constant, T L is the friction and load torque; J G =GD 2 / 375 is the speed inertia; Discretize the formula into: U a (k+1)=(L a +R a )i a (k+1)-L a ×i a (k)+C e n(k+1)+ω u where ω u Indicates the residuals of the motor center voltage calculation and the motor speed calculation; Finally, the first confidence calculation unit of the data detection decision module normalizes the results of the above two calculation outputs, and uses the fuzzy matrix under statistics to give the fuzzy judgment level of the data detection decision module for the quality of the collected data. According to the fuzzy judgment level of the quality of the collected data, its confidence value is set. At the same time, according to the following formula, the corrected collected data and confidence output by the data detection decision module are calculated: α=(1-β) in p 采集 They represent the credible probability of the model estimated data and the credible probability of the collected data respectively; β is the confidence value, which is determined according to the fuzzy matrix level; χ 数据 represents the corrected data; X(t), Respectively represent the collected data value and the estimated data value; b. The data detection decision module obtains the current and voltage signals according to the data acquisition module, performs abnormal detection and denoising on the input current and voltage signals, calculates the motor central voltage calculation value and judges the quality of the motor central current signal with the residual statistics of the motor armature voltage value collected by the data acquisition module, and finally makes a decision on the quality of the final collected data, and transmits the decision result to the motor speed soft measurement module. The logic decision unit of the motor speed soft measurement module performs fuzzy matrix lookup according to the confidence of the data detection conclusion of the data detection calculation unit and the motor electrical model calculation unit, and gives the initial weight value of the motor speed estimation by the motor speed soft measurement calculation unit and the motor speed model calculation unit; The motor speed soft measurement calculation unit of the motor speed soft measurement module uses the adaptive unscented Kalman filter algorithm to realize the soft measurement of the motor speed according to the corrected collected data given by the confidence calculation unit in the data detection decision module. The motor speed state equation is as follows: n(k+1)=X(n(k))+ω x , the formula is the state equation, X(·) is the state equation function, ω x Indicates state error; i a (k+1)=G(n,i a ,U a )+ω y , this formula is the observation equation, G(·) is the observation equation function, ω y represents the observation error, and the prediction result is expressed as The motor speed model calculation unit of the motor speed soft measurement module uses the motor speed model formula based on the corrected collected data given by the first confidence calculation unit in the data detection decision model The model calculation results of the motor speed are expressed as follows: The second confidence calculation unit of the motor speed soft measurement module is based on and Confidence adjustment and weighted calculation are performed to obtain the final motor speed soft measurement result. Adjust the initial weight value set by the logical decision unit according to the following formula: Further, according to the adjusted weight value Calculate the final estimated motor speed soft measurement result c. The motor speed soft measurement module performs a fuzzy matrix lookup on the confidence of the data detection conclusion according to the data of the data detection decision module, and obtains the initial weight value of the motor speed estimation. The motor speed soft measurement value is obtained by using the adaptive unscented Kalman filter algorithm through the data of the data detection decision module, and then the motor speed prediction value is calculated by the motor speed model formula. The confidence adjustment and calculation weighted calculation are performed according to the above two values to obtain the final motor speed soft measurement result, and the result is output to the motor model parameter dynamic identification module; d. The motor model parameter dynamic identification module updates the motor model parameters online according to the output conclusion of the data detection decision module and the output result of the motor speed soft measurement module.
2. The motor speed soft measurement method according to claim 1, It is characterized in that The motor parameter identification unit of the motor model parameter dynamic identification module uses the output conclusion of the data detection decision module and the output conclusion of the motor speed soft measurement module to update the motor model parameters online. The parameters that need to be updated online are: a ,L a ,C e ,C T ,J G }, representing the motor armature resistance, motor armature inductance, C e =k e Φ, k e is the potential constant, Φ is the magnetic flux, C T =k T Φ, k T is the torque constant, J G =GD 2 / 375 is the speed inertia.
3. A motor speed soft measurement system for realizing the motor speed soft measurement method according to claim 1, It is characterized in that It includes data acquisition module, data detection and decision module, motor speed soft measurement module and motor model parameter dynamic identification module; The input end of the data acquisition module is connected to the DC motor, and the output end is connected to the input end of the data detection module, so as to collect the current and voltage signals of the DC motor in real time, and output the collected signals to the data detection decision module; The output end of the data detection decision module is connected to the input end of the motor speed soft measurement module and the motor model parameter dynamic identification module. The data detection decision module includes a data detection calculation unit, a motor electrical model calculation unit and a first confidence calculation unit. The data detection calculation unit performs abnormal detection and denoising on the input current and voltage signals and then outputs the data to the confidence calculation unit. The motor electrical model calculation unit calculates the motor central voltage calculation value based on the real-time input current signal and then outputs the data to the confidence calculation unit. The first confidence calculation unit obtains the corrected motor acquisition sample data and the confidence value of the data through the statistical confidence theory according to the data input by the data detection calculation unit and the motor electrical model calculation unit, and then sends the above two data to the motor speed soft measurement module and the motor model parameter dynamic identification module; The output end of the motor speed soft measurement module is connected to the input end of the motor model parameter dynamic identification module, the motor speed soft measurement module includes a logic decision unit, a motor speed soft measurement calculation unit, a motor speed model calculation unit and a second confidence calculation unit, the logic decision unit gives a preliminary fusion weight value of the motor speed soft measurement calculation unit and the motor speed model calculation unit through a fuzzy logic matrix according to the structure output by the first confidence calculation unit, the motor speed soft measurement calculation unit uses a parameter self-adjusting unscented Kalman filter algorithm to realize the motor speed state estimation calculation based on the state state equation, the motor speed model calculation unit calculates the motor speed prediction value, and the second confidence calculation unit adjusts the initial fusion weight value set by the logic decision unit according to the relevant parameters in the motor speed soft measurement calculation unit; The output end of the motor model parameter dynamic identification module is connected to the input end of the data detection module. The motor model parameter dynamic identification module includes a motor parameter identification unit. The motor parameter identification unit performs motor model parameter identification calculation according to the structure output by the data detection decision module and the motor speed soft measurement module, and updates the motor electrical model in the data detection decision module and the motor speed model in the motor speed soft measurement module according to the result calculated by the motor parameter identification unit.
4. The motor speed soft measurement system according to claim 3, It is characterized in that The data acquisition module comprises a current acquisition unit and a voltage acquisition unit, and the output end of the data acquisition module is connected to the input end of the motor speed soft measurement module and the motor model parameter dynamic identification module.
5. The motor speed soft measurement system according to claim 3, It is characterized in that The output end of the data detection calculation unit and the output end of the motor electrical model calculation unit are connected to the input end of the first confidence calculation unit, and the output end of the first confidence calculation unit is respectively connected to the input end of the logic decision unit and the motor parameter identification unit.
6. The motor speed soft measurement system according to claim 3, It is characterized in that The output end of the logic decision unit is connected to the input end of the motor speed soft measurement calculation unit and the motor speed model calculation unit respectively, the output end of the motor speed soft measurement calculation unit and the motor speed model calculation unit are connected to the input end of the second confidence calculation unit, and the output end of the second confidence calculation unit is connected to the input end of the motor parameter identification unit.
7. The motor speed soft measurement system according to claim 3, It is characterized in that The output end of the motor parameter identification unit is connected to the input end of the motor speed model calculation unit and the input end of the motor electrical model calculation unit respectively.
8. The motor speed soft measurement system according to claim 3, It is characterized in that The motor speed soft measurement module is also connected to the motor speed estimation and display unit.
