Co-simulation method of servo mechanism performance and reliability based on Simulink
Combining Monte Carlo sampling and Weibull distribution through the Simulink platform solves the problem of disconnection between reliability and performance analysis in servo mechanism design, realizes joint simulation of servo mechanism performance and reliability, and provides scientific reliability evaluation results to ensure Improve the safety and performance of the servo mechanism.
Patent Information
- Application Number
- CN202210941617.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-08-08
AI Technical Summary
There is a disconnect between reliability and performance analysis of existing servo mechanisms during the design stage, which results in the inability to effectively guarantee reliability during product use, which may lead to performance degradation, serious failures, and even safety accidents.
Using the servo mechanism performance and reliability joint simulation method based on Simulink, by establishing the performance model and reliability simulation model of the servo mechanism, combined with Monte Carlo sampling and Weibull distribution, the joint simulation and evaluation of the performance and reliability of the servo mechanism are realized .
It achieves joint simulation of servo mechanism performance and reliability, provides more scientific results, can effectively ensure the reliability of servo mechanisms, reduce safety hazards, and provide a basic model for optimizing the performance and reliability of electromechanical products.
Smart Images

Figure CN115390476B
Abstract
Description
Technical Field
[0001] In the existing research on the simulation of servo mechanism working performance, there is a common problem of disconnection between reliability analysis and performance design analysis. By using the existing performance model and based on the technical extensibility of Matlab, the reliability principle and performance analysis are integrated to carry out joint simulation and evaluation of the servo mechanism performance and reliability. Firstly, the motor drive module, motor-screw module and control algorithm module are established based on Simulink to form a servo mechanism performance model; then reliability modeling is carried out for the functional circuit part of the servo mechanism, and the life distribution parameters of the functional circuit are obtained based on Monte Carlo sampling; based on the logical relationship between the servo mechanism structure, the functional circuit life distribution is injected into the performance simulation model, and the performance and reliability joint simulation model of the servo mechanism is established, and the reliability evaluation result is obtained based on the reliability principle. Background Art
[0002] The servo mechanism is a control system that controls the motion state of the controlled object so that its motion state can change with the system command. Under normal circumstances, the servo mechanism controls the position, speed, etc. of the mechanical system through a closed loop. The servo mechanism can be divided into many types according to its driving motor. It involves the knowledge system of multiple disciplines such as electrical, electronic and automatic control. It requires the design and control of servo loops, information measurement and structural design. It is mainly composed of servo control drivers, electromechanical actuators and position sensors.
[0003] In the design stage of the servo mechanism, simulation is generally used to study whether the product has good performance during operation. However, during the simulation operation of the servo mechanism, there is a common phenomenon of disconnection between reliability and performance analysis. Although a lot of resources are invested in the development of the servo mechanism, its reliability cannot be effectively guaranteed during the use of the product. Therefore, due to design defects, disturbances and other reasons, the servo mechanism has problems such as performance degradation or even serious failures, which may cause serious economic losses and even major safety accidents. In the study of simulation modeling, Xu et al. proposed a long-cycle simulation modeling method for jet tube servo valves, and Wang proposed a performance simulation method based on radar mechanism wear degradation. However, these modelings are only analyzed from the performance level for a single hydraulic mechanism or mechanical structure, and the modeling lacks comprehensive reliability simulation considerations. Therefore, this paper comprehensively considers the mechanical and electrical structures of the servo system and conducts research on the joint simulation modeling method of performance and reliability. Summary of the invention
[0004] 1. Purpose: The present invention provides a performance and reliability joint simulation method with a typical servo mechanism as the research object, which is a modeling method based on Simulink simulation. First, a performance model of the servo mechanism under a fault-free interference state is established. Secondly, reliability simulation of the key components of the servo mechanism is performed based on ANSYS and Flotherm, and reliability prediction is performed to obtain the life distribution of key components. The life distribution is injected into the performance model to truly and accurately characterize the failure logic of key components and obtain the life situation of the overall model. The joint simulation of the performance and reliability of the servo mechanism is realized to provide a basic model for the performance and reliability optimization of electromechanical products.
[0005] 2. Technical solution: The present invention is implemented through the following technical solution.
[0006] First, some definitions are introduced.
[0007] Definition 1: Servo mechanism: Servo mechanism is mainly composed of servo control driver and electromechanical actuator. It is a typical electromechanical system. Its working principle is as follows Figure 1 As shown: The servo control driver includes a control board combination and a power amplifier board combination. The two parts are responsible for the control algorithm and motor drive. After receiving the control command from the control system and the feedback signal from the electromechanical actuator, it generates a pulse width modulation (PWM) signal according to the established control law, and drives the motor to rotate after power amplification by the power circuit. The electromechanical actuator is a motion pair composed of a motor and a lead screw. The motor drives the lead screw pair to move after deceleration through the gear pair, pushing the lead screw nut to output a linear position, thereby realizing the angle and torque output of the controlled object.
[0008] Definition 2: PWM signal: Pulse width modulation (PWM) technology controls the on and off of the switching devices of the inverter circuit so that the output end obtains a series of pulses with equal amplitude but inconsistent width, and uses these pulses to replace the sine wave or the required waveform. That is, multiple pulses are generated in half a cycle of the output waveform, so that the equivalent voltage of each pulse is a sine waveform, and the obtained output is smooth and has few low-order harmonics. By modulating the width of each pulse according to certain rules, the output voltage of the inverter circuit can be changed, and the output frequency can also be changed.
[0009] Definition 3: Weibull distribution: It is the theoretical basis of reliability analysis and life test. Weibull distribution is widely used in reliability engineering, especially for the distribution of wear-accumulated failure of electromechanical products. It can describe both the failure process with increasing failure rate and the failure process with decreasing failure rate. It can easily infer the distribution parameters using probability values, so it is widely used in data processing of various life tests. The unreliable function is: Among them, g1, g2, and g3 are shape parameters, scale parameters, and location parameters respectively.
[0010] The present invention provides a servo mechanism performance and reliability simulation method based on Simulink, which specifically comprises the following steps:
[0011] Step 1: Servo mechanism performance simulation method research
[0012] In Simulink modeling and simulation, the servo mechanism is divided into a motor drive module, a motor-screw module and a control algorithm module and a model is established. The motor drive module converts the PWM signal into a sine wave signal; the motor-screw module drives the load to move after the three-phase signal passes through the motor model and outputs information such as stator current, rotor speed, rotor angle, and electromagnetic torque; the control algorithm module reduces the displacement, electromagnetic torque, and speed error of the screw pair through negative feedback. The modeling steps are detailed in the specific implementation method.
[0013] Step 2: Research on the reliability simulation method of servo control drive
[0014] Failure of any component in the servo mechanism may cause the system mission to fail. Compared with the frequent failure of functional circuits, the probability of failure of system mechanical components is lower, and the failure of any key circuit will cause the performance level of the entire system to drop sharply, paralyze, and even pose serious safety hazards. Therefore, reliability simulation is performed on the functional circuits in the servo mechanism. Historical data shows that more than 75% of the causes of electronic equipment failures are caused by temperature and vibration. Reliability research on electronic products at home and abroad focuses on the effects of temperature and vibration. Therefore, the reliability simulation method of typical servo mechanism functional circuits under the influence of temperature and vibration is studied.
[0015] Based on the thermal simulation software Flotherm, the CFD digital prototype, CFD digital prototype modification and thermal stress simulation of the product were established; based on the ANSYS software, a simplified model was established, parameter setting and meshing were performed, modal analysis, modal testing and model modification were performed, and random loads were added to carry out random vibration analysis. Based on the CalcePWA software, a PCB board model was established, and the Flotherm thermal simulation results, ANSYS vibration simulation results and environmental profiles were used as input conditions to carry out failure prediction analysis based on failure physics for each PCB board. The fault matrix of the servo control drive was obtained through fault prediction, and the fault data was fitted-sampled-fitted and solved. It was found that the life of each functional circuit conforms to the Weibull distribution and its distribution parameters were obtained.
[0016] Step 3: Joint simulation study of servo mechanism performance and reliability
[0017] The joint simulation method of the performance and reliability of the servo mechanism is studied. First, a reliability mathematical model is established in Simulink: Based on the life distribution of the functional circuits in the servo control drive in step 2, a Monte Carlo sampling module is established. A fault trigger module is established based on the first fault time obtained in step 2. Since there are multiple functional circuits such as A / D circuits and secondary power supply circuits in the servo control drive, fault trigger modules are established respectively, and connections are established according to the functional logical relationship of each circuit in the servo mechanism to obtain a reliability mathematical simulation model.
[0018] The final reliability simulation model is injected into the performance model by the multi-point breakpoint module. The multi-point breakpoint module of a single servo mechanism is as follows: Figure 2 As shown: breakpoints are set at the output of the motor module (stator current, rotor speed, rotor angle, electromagnetic torque), and the fault trigger output signal is added for judgment. Therefore, when a functional circuit fails, the fault trigger module output signal will cause the motor module to interrupt output, otherwise it will not affect the output signal of the motor module and continue to enter the next feedback.
[0019] After the joint simulation is realized, the performance and reliability are jointly evaluated by establishing a simulation termination module, and the ideal signal is compared with the feedback signal. If it is lower than the error threshold, it is considered that the performance level meets the system instructions. Otherwise, it exceeds the system instructions and the simulation is terminated. Based on the joint simulation model of performance and reliability, N simulations are carried out, and the number of fault-free operations of the servo mechanism and the number of times the servo mechanism performance level meets the system instructions are recorded. The reliability of the servo mechanism within time T and the probability that the three performance levels of position, speed and torque meet the system instructions are calculated based on the basic principle of reliability.
[0020] 3. Compared with the prior art, the present invention has the following advantages:
[0021] With the complexity of the servo mechanism structure, the traditional design scheme that focuses on its performance design and ignores reliability not only makes the reliability of the servo mechanism unable to be effectively guaranteed, but also poses a huge safety hazard. The present invention proposes an improvement method for the drawbacks such as interface limitations in the current joint analysis process of performance and reliability, and proposes a servo mechanism performance and reliability joint simulation method based on Simulink. Taking the servo mechanism as the research object, according to the structural composition, working principle and specific functions of each component of the servo mechanism, a servo mechanism performance and reliability simulation method based on Simulink is proposed. The joint simulation of the servo mechanism performance and reliability is realized, and the simulation results and analysis results of the servo mechanism performance and reliability are obtained based on various software platforms, and the results are more practical and scientific. This method provides new research ideas for other scholars to carry out joint analysis of performance and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is the working principle diagram of the servo mechanism.
[0023] Figure 2 It is a multi-breakpoint module diagram.
[0024] Figure 3 It is composed of a typical servo mechanism.
[0025] Figure 4 It is a motor drive module.
[0026] Figure 5 It is a motor-screw module.
[0027] Figure 6 It is the control algorithm module.
[0028] Figure 7 It is a performance simulation model.
[0029] Figure 8a It is the simulation result of current performance.
[0030] Figure 8b It is the position performance simulation result.
[0031] Fig. 9 It is the reliability simulation method process.
[0032] Fig.10a It is the simplified model of the CFD digital prototype.
[0033] Fig.10b It is a simplified model of the CFD digital prototype.
[0034] Fig.11 It is a fault trigger module.
[0035] Fig.12a It is the logical combination of the control board functional circuit trigger module.
[0036] Figure 12b It is the logical combination of the functional circuit trigger module of the swing spray power amplifier board.
[0037] Fig.12c It is the logical combination of the air rudder amplifier board function circuit trigger module.
[0038] Fig.12d It is the logical combination of the current detection circuit trigger module.
[0039] Fig.13 This is a schematic diagram of fault injection.
[0040] Fig.14 It is the system simulation termination logic diagram. DETAILED DESCRIPTION
[0041] The present invention takes a typical servo mechanism as an example, based on its performance model and reliability simulation analysis results, uses a performance and reliability joint simulation method to carry out simulation analysis on it, and obtains the servo mechanism reliability evaluation result. The above technical solution is now further described in detail.
[0042] Step 1: Establish the servo mechanism performance model. Establish the performance model based on Simulink, taking a typical servo mechanism as an example. Figure 3 As shown: the servo mechanism consists of a servo control driver and six electromechanical actuators, wherein the servo control driver consists of a control board and six power amplifier boards, and the power amplifier boards are divided into two swing-jet power amplifier boards and four air rudder power amplifier boards. The air rudder power amplifier board has the same structure as the swing-jet power amplifier board, and the six electromechanical actuators have the same structure.
[0043] First, a simulation model of a single servo control driver-electromechanical actuator is established. It is divided into a motor drive module, a motor-screw module, and a control algorithm module. Figure 4 As shown: The signal is converted in the motor drive module, from the PWM signal g to the three-phase voltage signal A, B, C. The motor-screw module is as follows: Figure 5 As shown: The permanent magnet synchronous motor receives three-phase voltage and provides the three-phase voltage to the stator. Under the action of the three-phase current of the stator, a rotating magnetic field is generated. Under the action of the electromagnetic field, the rotor rotates. At this time, the permanent magnet synchronous motor can drive the load screw pair to make linear motion. The permanent magnet synchronous motor sub-model outputs the stator current, rotor speed, rotor angle, electromagnetic torque and other information of the electromechanical actuator. Among them, the electromagnetic torque:
[0044]
[0045] ψ d , q are the d-axis and q-axis magnetic flux, respectively, and i q 、i d is the d and q axis current. If we can control i d =0, the torque equation can be simplified to:
[0046]
[0047] At this time, only control i q We can control the torque, and the d-axis voltage is only related to i q It is equivalent to a typical separately excited DC motor. The stator has only quadrature axis components, and the space vector of the stator magnetomotive force is orthogonal to the space vector of the permanent magnet magnetic field. Therefore, in order to reduce losses, it is completely possible to d =0, reducing loss.
[0048] In addition, the rotor angle θ is converted into the screw displacement s through the screw module through the gear ratio k between the reducer and the screw, where c is the initial position of the screw.
[0049] s=k*θ+c (3)
[0050] The control algorithm module consists of three closed loops: position, speed and current. Figure 6 As shown in the figure: the simulated screw displacement parameter s and the ideal position parameter s1 are used as model inputs, and the position parameter reduces the error through negative feedback; since position control does not allow overshoot, a proportional regulator is set to set the difference between the ideal position signal and the simulated position detection signal as the speed of the control module, compare it with the rotor speed, and reduce the error through negative feedback; the q-axis stator current (i.e., electromagnetic torque) reduces the error through proportional integral control and negative feedback, and controls id=0 to generate the maximum electromagnetic torque on the d-axis. The three-loop negative feedback system outputs voltage Ud, voltage Uq, and rotor angle θ. The output signal generates a PWM signal through the SVPWM (Space Vector Pulse Width Modulation) algorithm, and the PWM signal returns to the motor drive module to generate three-phase voltage signals A, B, and C again for the next correction and feedback. Compared with the traditional pulse width modulation algorithm, the SVPWM has a smaller harmonic component in the winding current waveform, which reduces the motor torque pulsation, makes the rotating magnetic field closer to a circle, and greatly improves the utilization rate of the DC bus voltage.
[0051] Establish the overall servo mechanism model. Since the servo mechanism consists of one servo control driver and six electromechanical actuators, and the servo control driver consists of one control board and six power amplifier boards, six motor drive modules, control algorithm modules and motor screw modules are established during the performance model simulation process. The model is as follows: Figure 7 shown.
[0052] Based on the servo mechanism performance model, simulations of different durations are carried out, with the simulation duration of the performance model set to 0.08s and the ideal position set to 1mm. The current and position output change waveforms are used to determine whether the performance design meets the expected standards. Figure 8a Indicates the current output result: when the speed loop speed is lower than the given speed in the early stage, the maximum current that the output motor can bear is 40A, which makes the motor increase the speed with the maximum torque. After reaching the given speed, the motor quickly outputs the reverse torque and reduces the speed to the given speed. Figure 8b Represents the motor position waveform: Due to the hysteresis of sinusoidal wave tracking, the step signal reaches a stable output state after 0.05s of adjustment time. The output response meets the given position, and the performance design of the servo mechanism meets the expected standards.
[0053] Step 2: Research on the reliability simulation method of servo control drive. The reliability simulation method of the functional circuit of a typical servo control drive under the influence of temperature and vibration is studied. Fig. 9 Display reliability simulation method flow: Flotherm is used to carry out thermal stress simulation for typical electronic products, and ANSYS is used to carry out vibration stress simulation. The simulation results of thermal stress and vibration stress are injected into the CalcePWA platform to carry out fault prediction, and finally data distribution is obtained by data fitting based on the fault prediction results.
[0054] (1) Thermal stress simulation: Based on numerical heat transfer and computational fluid dynamics methods, Flotherm was used to carry out thermal stress simulation of the servo control drive. The servo control drive has five PCB boards. According to the environmental profile requirements, thermal simulation was carried out at temperature environments of -45℃, -20℃, 35℃, and 70℃.
[0055] Establish CFD digital prototype: Fig.10a and Fig.10b By importing CAD models or manually building models as shown Fig.10a Delete the smaller holes, bosses, fillets, thermal analysis irrelevant connectors, and components with lower power consumption in the product. Fig.10b , improve the efficiency of solution calculation. Then mesh division and boundary environment setting are carried out to determine the accuracy of finite element analysis. Referring to the solid model, the key parts are meshed, and the meshes of other positions are automatically divided. The total number of meshes is 2567604.
[0056] Launch CFD digital prototype verification: Conduct thermal measurement tests on the product, use temperature sensors, thermostats and other equipment to measure the temperature of components and other parts when the product is in working condition. During the thermal measurement test, set 28 temperature test points, of which 24 points are key components and 4 are chassis shells. When the servo control drive is powered on and in a stable state, measure the temperature values of the measurement points at 25°C and 45°C. Due to simplification and other reasons in the process of establishing the CFD digital prototype model, the specific parameters, grids and other contents in the simulation model are adjusted, so that the error between the results of the thermal measurement test and the results of the thermal simulation is low, ensuring that the thermal stress simulation results are more accurate.
[0057] Thermal stress simulation analysis is performed, and according to the environmental profile requirements of the servo control drive, the CFD digital prototype model is simulated under -45℃, -20℃, 35℃, and 70℃ environments. The high-temperature components and temperature distribution cloud map of the servo control drive are obtained to provide input conditions for fault prediction.
[0058] (2) Vibration stress simulation: Based on the finite element analysis method, vibration stress simulation analysis is carried out, and ANSYS is used to carry out vibration stress simulation analysis on the servo control drive.
[0059] Establish FEA digital prototype: inject material property parameters such as elastic modulus, Poisson's ratio, etc., and mesh the digital prototype to increase the accuracy of model solution.
[0060] Conduct modal analysis: form a discrete mathematical model of the digital prototype, set the number of modes to be solved to the first three orders, the frequency range is 10 to 2000 Hz, solve the characteristic values to obtain the product's natural frequency and vibration mode and other results, and provide input conditions for random vibration analysis.
[0061] Modify the FEA digital prototype: Carry out modal tests based on the physical entity of the servo mechanism to solve the natural frequency and vibration mode of the product. Since there are three PCB boards that cannot be disassembled and the equipment conditions are limited, it is impossible to conduct modal tests on the entire machine. Therefore, only the swing jet power amplifier board combination 2 and the air rudder power amplifier board combination 1 are subjected to modal tests using the knocking method. Based on the modal test results, the parameters and grids are adjusted to ensure that the error of the modal test and modal analysis results is within 10%.
[0062] Vibration stress analysis: According to the actual working environment profile of the product, the random vibration spectrum of the product in the three directions of X, Y, and Z, as well as the acceleration spectrum and random vibration parameters are set. When measuring the output response of the product, the position and speed of the product in the three directions of X, Y, and Z are selected. Random vibration analysis is performed on the servo control driver. Taking the control board combination board as an example, the response results are analyzed to obtain the displacement and acceleration cloud diagrams, providing input conditions for fault prediction.
[0063] (3) Fault prediction: Fault prediction of servo control drives is carried out based on the CalcePWA platform. Fault prediction model establishment: Different from the establishment of digital prototypes in thermal and vibration stress simulations, all components are modeled when conditions permit. The model includes the size and location distribution of all components in the control board assembly.
[0064] Thermal simulation: Set the heat dissipation mode and temperature profile. Select natural cooling according to the characteristics of the driver. The upper and lower board spacings are 12mm and 10mm respectively. Set the ambient temperature to -45℃, -20℃, 35℃, and 70℃ according to the temperature profile. Fill the boundary temperature of the control board assembly board in CalcePWA according to the thermal simulation results in Flotherm, and then perform thermal simulation. Adjust the thermal simulation results in CalcePWA based on the thermal simulation results of Flotherm to obtain its thermal stress simulation results, which are presented in the form of thermal stress cloud diagrams.
[0065] Vibration simulation: Add fixation to the control panel assembly according to its fixation condition, and select random vibration mode to input the response PSD spectrum of the maximum acceleration point exported after ANSYS vibration simulation. According to the simulation results in ANSYS, adjust the mesh and fixation mode of the control panel assembly in CalcePWA. The vibration simulation results of the control panel assembly are obtained through simulation analysis, and the results are presented in the form of vibration stress cloud diagram.
[0066] Fault prediction: Using the thermal and vibration stress simulation in CalcePWA as input, 1000 Monte Carlo samplings were performed to obtain the first failure time and various failure modes of components. Data preprocessing was performed on the first failure time of the components according to their failure modes to obtain the failure data of a single device, which was then fitted to obtain the single-point failure distribution. The 10 components with the lowest first failure time for each functional circuit were selected, and the fitting process was performed on their failure data to obtain the life distribution of each functional circuit:
[0067] (1) For each functional circuit, 10 periods are selected, the failure data of each device caused by two failure mechanisms are coupled, and a set of failure data of the device is obtained based on the assumption that the device life follows an exponential distribution:
[0068]
[0069] Among them, λ1 and λ2 are the failure rates of the two failure modes of the components, MTTF1 and MTTF2 are the first failure times corresponding to the two failure modes, and the failure rate of the components is obtained by the above preprocessing formula. The preprocessed data of each component is fitted to obtain the life distribution of each component.
[0070] (2) Based on the 10 single-point distributions obtained, the failure times of the 10 devices are obtained using Monte Carlo sampling. The sampling is performed 1000 times in total, so a 10*1000 failure time matrix can be obtained.
[0071] (3) The failure time of the entire functional circuit in a sampling is identified as the earliest failure time among the 10 devices, thereby obtaining the failure time of 1000 functional circuits. MATLAB is then used to perform distribution fitting to obtain the fault distribution of the entire module.
[0072] The lifetime distribution of each functional circuit obtained by the final fitting solution obeys the three-parameter Weibull distribution. Table 1 is the lifetime distribution table of each functional circuit.
[0073] Table 1 Lifetime distribution of each functional circuit
[0074]
[0075]
[0076] It can be seen from Table 1 that the probability of failure of the functional circuit on the air rudder amplifier board is relatively high, and the probability of failure of other circuits in the control board combination except the secondary power supply is relatively low. According to the above analysis results, the components on the air rudder amplifier board can be paid special attention, which is also the focus of the servo control driver design improvement.
[0077] Step 3: Study on the simulation method of servo mechanism performance and reliability
[0078] The present invention establishes a circuit reliability model based on the life distribution of the servo control driver functional circuit, injects it into the performance model of the servo mechanism, conducts a joint simulation of the servo mechanism performance and reliability, and evaluates the performance and reliability according to performance and reliability evaluation rules.
[0079] (1) Construction of joint simulation model of servo mechanism performance and reliability
[0080] Based on Monte Carlo sampling data, a fault trigger module of a single functional circuit is established in Simulink, such as Fig.11 Description: Take the life distribution parameters g1, g2, and g3 of each functional circuit obtained in step 2 as the input of the Monte Carlo sampling module, and output the fault time according to formula 3.1, and compare it with the set first fault time of 9000h to determine whether the functional circuit can operate normally. When the output value of the sampling module is less than the set value, the functional circuit triggers a fault at this time, otherwise the functional circuit operates normally, so the final fault trigger module outputs a Boolean logic value.
[0081] T=g3+g2τ(1+1 / g1) (5)
[0082] There are multiple functional circuits in the servo mechanism. Monte Carlo sampling models and fault trigger models are established respectively. According to the impact of functional circuit faults on the performance of the servo mechanism, the logical relationship between the fault trigger modules is described, as shown in Table 2. The fault trigger modules are connected according to the description, as described in Figure 12: Since any circuit failure of the CAN bus, DSP circuit, A / D circuit, signal acquisition circuit, and secondary power supply circuit in the control board combination will cause the servo mechanism system performance model to fail, the above five single circuit fault trigger modules are connected with logic, as shown in Figure 12. Fig.12a As shown in the figure, any circuit failure of the gate drive circuit, logic processing circuit, secondary power supply circuit (power amplifier board combination), and power drive circuit in the swing jet power amplifier board combination and the air rudder power amplifier board combination will cause the failure of the electromechanical actuator controlled by the corresponding power amplifier board, affecting the ideal position parameters of the lead screw. Therefore, the four single circuit fault trigger modules of the power amplifier board are connected with logic, and the output of the combined logic module will affect the ideal position signal of the lead screw, such as Figure 12b ,12c The current monitoring circuit fault has no effect on the ideal position of the lead screw, but affects the feedback signal of the electromechanical actuator. Therefore, the single circuit fault trigger module is maintained, and its output will affect the feedback signal, such as Fig.12d shown.
[0083] Table 2 The influence of functional circuit failure on servo mechanism performance model
[0084] Control board circuit Impact on servo mechanism performance model Power amplifier board circuit Impact on servo mechanism performance model CAN bus No signal input, fault occurs Logic processing circuit No signal input for electromechanical actuators DSP Circuit No signal output, fault occurs Current monitoring circuit No corresponding electromechanical actuator feedback signal A / D Circuit No feedback signal, fault occurs Secondary power supply circuit The corresponding motor has no signal input Signal acquisition circuit No feedback signal, fault occurs Power drive circuit The corresponding motor has no signal input Secondary power supply circuit No signal, malfunction Gate drive circuit No signal input for electromechanical actuators
[0085] A breakpoint module is established, and finally the reliability simulation model and the performance model are combined through multiple breakpoints.
[0086] A single servo mechanism with multiple breakpoint modules such as Figure 2 As shown: breakpoints are set at the output of the motor module (stator current, rotor speed, rotor angle, electromagnetic torque), and the fault trigger output signal is added for judgment: when a functional circuit fails, the fault trigger module output signal will cause the motor module to interrupt the output, otherwise it will have no effect on the output signal of the motor module and continue to enter the next feedback.
[0087] Establish a multi-point breakpoint module for the overall servo mechanism. It is known that the overall servo mechanism consists of a servo control driver and six electromechanical actuators, where the servo control driver consists of a control board and six power amplifier boards. Inject the breakpoint model into the servo control driver:
[0088] The screw position is first judged by the fault trigger module of the control board through a single-point breakpoint, and the output position quantity is then judged by the fault trigger module of the power amplifier board. The screw position quantity is obtained through the dual judgment of the control board and the power amplifier board and input into the performance model. If any component of the control board or the power amplifier board fails, the fault trigger module outputs a signal causing an interruption, and the screw position quantity is 0.
[0089] At the same time, the output of the motor module (stator current, rotor speed, rotor angle, electromagnetic torque) and the current detection trigger module are used to make fault judgments through multiple breakpoints, and the final result is input into the performance model as the motor parameter m, such as Fig.13 shown.
[0090] Finally, a simulation termination module is established for reliability evaluation. The three ideal signals of position, current and speed of the six motors are compared with the feedback signals respectively. If the error is lower than the error threshold, it is considered that the performance level meets the system instruction and the simulation continues. Otherwise, the simulation is terminated. Fig.14 The error rates between the simulation values of position, speed and torque and the system command are defined as 1%, 0.5% and 0.5% respectively.
[0091] (2) Joint evaluation of performance and reliability
[0092] Based on the joint simulation model of performance and reliability, N simulations are carried out, and the number of servo mechanism failure-free operations and the number of servo mechanism performance levels that meet system instructions are recorded. Set the running time to T, carry out joint simulation analysis, and according to formulas (3.2) to (3.10), calculate the reliability of the servo mechanism within time T and the probability that the three performance levels of position, speed and torque meet system instructions.
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102] Where N is the total number of simulations; i =1 means the system runs without any fault in the ith simulation, otherwise the system fails; N k =1 means that the system did not fail in the kth simulation because the position error was lower than the threshold, otherwise the system failed because the position error exceeded the threshold; N d =1 means that the system did not fail in the dth simulation because the speed error was lower than the threshold, otherwise the system failed because the speed error exceeded the threshold; N s =1 means that the system did not fail in the sth simulation because the torque error was lower than the threshold, otherwise the system failed because the torque error exceeded the threshold. P is the error rate between the system command and feedback value, P k , P d , P s Respectively refer to the error rate between position, speed and torque feedback values and system instructions, The error rate threshold between position, speed and torque feedback values and system instructions, R, They respectively refer to the reliability of the system at time T and the probability that the three performance levels of position, speed and torque meet the system instructions. By statistically analyzing the results of N simulations, the reliability of the servo mechanism and the probability that the performance level meets the system instructions can be obtained.
[0103] Here, the first failure time of each functional circuit is set to 9000h. Under different simulation durations, the servo mechanism performance and reliability joint simulation model is jointly simulated and analyzed. When there is no fault in the functional circuit, there is no obvious difference in the simulation results. Therefore, in order to simplify the simulation process, the simulation duration is set to 0.08s and the number of loop simulations is set to 1000. From the simulation results, it can be found that the failure of each functional circuit will cause large errors in the position, speed and torque under its control circuit. This situation leads to the same probability that the three performance levels of position, speed and torque meet the system instructions. According to the statistics of the joint simulation data and formulas (3.2) to (3.10), the reliability of the servo mechanism within 9000h and the probability that the three performance levels of position, speed and torque meet the system instructions are all 0.765.
Claims
1. A servo mechanism performance and reliability joint simulation method based on Simulink, characterized by: The specific steps include: Step 1: Servo mechanism performance simulation method In Simulink modeling and simulation, the servo mechanism is divided into motor drive module, motor-screw module and control algorithm module and the model is established; the motor drive module converts the PWM signal into a sine wave signal; the motor-screw module drives the load to move after the three-phase signal passes through the motor model and outputs the stator current, rotor speed, rotor angle and electromagnetic torque; the control algorithm module reduces the displacement of the motion output, the electromagnetic torque and the speed error of the screw pair through negative feedback; Step 2: Servo control driver reliability simulation method Based on the thermal simulation software Flotherm, the product's CFD digital prototype, CFD digital prototype modification and thermal stress simulation were established; based on the ANSYS software, a simplified model was established, parameter setting and meshing were performed, modal analysis, modal testing and model modification were performed, and random loads were added to conduct random vibration analysis; The PCB model is established based on CalcePWA software, and the failure prediction analysis based on failure physics is carried out on each PCB board with Flotherm thermal simulation results, ANSYS vibration simulation results and environmental profile as input conditions; the fault prediction obtains the fault matrix of the servo control drive, and the fitting-sampling-fitting solution process is carried out on the fault data, and it is found that the life of each functional circuit conforms to the Weibull distribution and its distribution parameters are obtained; Step 3: Co-simulation of servo mechanism performance and reliability Establish a reliability mathematical model in Simulink: Based on the life distribution of the functional circuit in the servo control drive in step 2, establish a Monte Carlo sampling module; establish a fault trigger module based on the first fault time obtained in step 2; since there are A / D circuits and secondary power supply circuits in the servo control drive, establish fault trigger modules respectively, establish connections according to the functional logical relationship of each circuit in the servo mechanism, and obtain a reliability mathematical simulation model; Among them, the reliability simulation model is injected into the performance model, which is realized by a multi-point breakpoint module. Breakpoints are set at the output of the motor module, and the fault trigger output signal is added for judgment; therefore, when a fault occurs in the functional circuit, the output signal of the fault trigger module will cause the motor module to interrupt the output, otherwise it will not affect the output signal of the motor module and continue to enter the next feedback; after the joint simulation is realized, a joint evaluation of performance and reliability is carried out by establishing a simulation termination module, and the ideal signal is compared with the feedback signal. If it is lower than the error threshold, it is considered that the performance level meets the system instructions, otherwise it exceeds the system instructions, and the simulation is terminated at this time; based on the performance and reliability joint simulation model, N simulations are carried out, and the number of fault-free operations of the servo mechanism and the number of times the performance level of the servo mechanism meets the system instructions are recorded, and the reliability basic principle is used to calculate the reliability of the servo mechanism within time T and the probability that the three performance levels of position, speed and torque meet the system instructions; In step three, performance and reliability are evaluated jointly: Based on the joint simulation model of performance and reliability, N simulations are carried out, and the number of fault-free operations of the servo mechanism and the number of times the performance level of the servo mechanism meets the system instructions are recorded; the running time is set to T, and joint simulation analysis is carried out. According to formulas (2) to (10), the reliability of the servo mechanism within time T and the probability that the three performance levels of position, speed and torque meet the system instructions are calculated; Where N is the total number of simulations; i =1 means the system runs without any fault in the ith simulation, otherwise the system fails; N k =1 means that the system did not fail in the kth simulation because the position error was lower than the threshold, otherwise the system failed because the position error exceeded the threshold; N d =1 means that the system did not fail in the dth simulation because the speed error was lower than the threshold, otherwise the system failed because the speed error exceeded the threshold; N s =1 means that the system did not fail in the sth simulation because the torque error was lower than the threshold, otherwise the system failed because the torque error exceeded the threshold; P is the error rate between the system command and the feedback value, P k , P d , P s Respectively refer to the error rate between position, speed and torque feedback values and system instructions, The error rate threshold between position, speed and torque feedback values and system instructions, R, They respectively refer to the reliability of the system at time T and the probability that the three performance levels of position, speed and torque meet the system instructions. By statistically analyzing the results of N simulations, the reliability of the servo mechanism and the probability that the performance level meets the system instructions can be obtained.
2. The servo mechanism performance and reliability joint simulation method based on Simulink according to claim 1, characterized in that: In step 1, a performance model is established based on Simulink. The servo mechanism consists of one servo control driver and six electromechanical actuators. The servo control driver consists of one control board and six power amplifier boards. The power amplifier boards are divided into two swing-jet power amplifier boards and four air rudder power amplifier boards. The air rudder power amplifier board has the same structure as the swing-jet power amplifier board, and the six electromechanical actuators have the same structure. Establish a simulation model of a single servo control driver-electromechanical actuator; divide it into a motor drive module, a motor-screw module and a control algorithm module; the signal is converted in the motor drive module, and the PWM signal g is converted into three-phase voltage signals A, B, and C; the permanent magnet synchronous motor receives the three-phase voltage and provides the three-phase voltage to the stator; a rotating magnetic field is generated under the action of the stator three-phase current, and the rotor rotates under the action of the electromagnetic field. At this time, the permanent magnet synchronous motor drives the load screw pair to make linear motion, and the permanent magnet synchronous motor sub-model outputs the stator current, rotor speed, rotor angle and electromagnetic torque of the electromechanical actuator; Among them, the electromagnetic torque is: ψ d , q are the d-axis and q-axis magnetic flux, respectively, and i Q 、i s is the d and q axis current; if i s =0, the torque equation is simplified to: At this time, only control i q The torque can be controlled by the d-axis voltage and i q It is equivalent to a separately excited DC motor. The stator has only a quadrature axis component, and the space vector of the stator magnetomotive force is just orthogonal to the space vector of the permanent magnet magnetic field. In order to reduce losses, the i d =0, reduce loss; The rotor angle θ is converted into the screw displacement s through the screw module through the gear ratio k between the reducer and the screw, where c is the initial position of the screw; s=k*θ+c (3) The control algorithm module consists of three closed loops of position, speed and current. The simulated screw displacement parameter s and the ideal position parameter s1 are used as model inputs, and the position parameter reduces the error through negative feedback. Since overshoot is not allowed in position control, a proportional regulator is set to adjust the difference between the ideal position signal and the simulated position detection signal to the speed of the control module, which is compared with the rotor speed and the error is reduced through negative feedback. The q-axis stator current, i.e., the electromagnetic torque, is controlled through proportional-integral control and negative feedback to reduce the error. d =0, the maximum electromagnetic torque is generated on the d-axis; the three-closed-loop negative feedback system outputs voltage Ud, voltage Uq and rotor angle θ; the output signal generates a PWM signal through the space vector pulse width modulation SVPWM algorithm, and the PWM signal returns to the motor drive module to generate three-phase voltage signals A, B, and C again for the next correction and feedback; An overall servo mechanism model is established. Since the servo mechanism consists of one servo control driver and six electromechanical actuators, and the servo control driver consists of a control board and six power amplifier boards, six motor drive modules, control algorithm modules and motor screw modules are established during the performance model simulation process.
3. The servo mechanism performance and reliability joint simulation method based on Simulink according to claim 1, characterized in that: In step 2, thermal stress simulation: Based on numerical heat transfer and computational fluid dynamics methods, Flotherm is used to simulate the thermal stress of the servo control drive. The servo control drive has five PCB boards, and thermal simulations are carried out at -45℃, -20℃, 35℃, and 70℃ according to the environmental profile requirements. Establish CFD digital prototype: Import CAD model or establish model manually, and delete small holes, bosses, fillets, connectors irrelevant to thermal analysis and low-power components in the product to improve solution calculation efficiency; then perform meshing and boundary environment setting to determine the accuracy of finite element analysis; Carry out CFD digital prototype verification: conduct thermal measurement tests on the product, use temperature sensors and constant temperature chambers to measure the temperature of components when the product is in working condition. During the thermal measurement test, set up 28 temperature test points, of which 24 points are key components and 4 are chassis shells. When the servo control drive is powered on and in a stable state, measure the temperature values of the measurement points at 25°C and 45°C. Thermal stress simulation analysis is carried out. According to the environmental profile requirements of the servo control drive, the CFD digital prototype model is simulated under -45℃, -20℃, 35℃, and 70℃ environments. The high-temperature components and temperature distribution cloud map of the servo control drive are obtained to provide input conditions for fault prediction.
4. The servo mechanism performance and reliability joint simulation method based on Simulink according to claim 1, characterized in that: In step 2, vibration stress simulation is performed; based on the finite element analysis method, vibration stress simulation analysis is performed on it, and ANSYS is used to perform vibration stress simulation analysis on the servo control drive; Establish FEA digital prototype: inject material property parameters and mesh the digital prototype to increase the model solution accuracy; Conduct modal analysis: form a discrete mathematical model of the digital prototype, set the number of modes to be solved to the first three orders, the frequency range is 10-2000Hz, solve the characteristic value to obtain the natural frequency and vibration mode results of the product, and provide input conditions for random vibration analysis; Modify the FEA digital prototype: conduct modal tests based on the physical entity of the servo mechanism to solve the natural frequency and vibration mode of the product; because there are three PCB boards that cannot be disassembled and the equipment conditions are limited, it is impossible to conduct modal tests on the entire machine, so only the swing jet power amplifier board combination 2 and the air rudder power amplifier board combination 1 are subjected to modal tests using a knocking method, and the parameters and grids are adjusted based on the modal test results to ensure that the error between the modal test and modal analysis results is within 10%; Vibration stress analysis: Based on the actual working environment profile of the product, the random vibration spectrum of the product in the X, Y, and Z directions, as well as the acceleration spectrum and random vibration parameters are set. When measuring the output response of the product, the position and speed of the product in the X, Y, and Z directions are selected; random vibration analysis is performed on the servo control driver, and the response results are analyzed to obtain displacement and acceleration cloud maps, providing input conditions for fault prediction.
5. The servo mechanism performance and reliability joint simulation method based on Simulink according to claim 1, characterized in that: In step 2, fault prediction: Fault prediction of the servo control drive is carried out based on the CalcePWA platform; Fault prediction model establishment: Different from the establishment of digital prototypes in thermal and vibration stress simulations, all components are modeled when conditions permit, and the model includes the size and location distribution of all components in the control board assembly; Thermal simulation: Set the heat dissipation mode and temperature profile. Select natural cooling according to the characteristics of the driver. The distance between the upper and lower plates is 12mm and 10mm respectively. Set the ambient temperature to -45℃, -20℃, 35℃ and 70℃ according to the temperature profile. Fill the boundary temperature of the control board assembly board in CalcePWA according to the thermal simulation results in Flotherm, and then perform thermal simulation. Adjust the thermal simulation results in CalcePWA based on the thermal simulation results of Flotherm to obtain the thermal stress simulation results. The results are presented in the form of thermal stress cloud diagrams. Vibration simulation: Add fixation to the control panel assembly according to its fixation condition, and select random vibration mode to input the response PSD spectrum of the maximum acceleration point derived from ANSYS vibration simulation. Adjust the mesh and fixation mode of the control panel assembly in CalcePWA according to the simulation results in ANSYS. The vibration simulation results of the control panel assembly are obtained through simulation analysis, and the results are presented in the form of vibration stress cloud diagram; Fault prediction: Using the thermal and vibration stress simulation in CalcePWA as input, 1,000 Monte Carlo samplings are performed to obtain the first failure time and multiple failure modes of components. Data preprocessing is performed on the first failure time of components according to their failure modes to obtain the failure data of a single device, which is then fitted to obtain the single-point failure distribution. The 10 components with the lowest first failure time for each functional circuit are selected, and the fitting process is performed on their failure data to obtain the life distribution of each functional circuit.
6. The servo mechanism performance and reliability joint simulation method based on Simulink according to claim 5, characterized in that: In step 2, (1) for each functional circuit, 10 periods are selected, the failure data of each device caused by two failure mechanisms are coupled, and a set of failure data of the device is obtained based on the assumption that the device life follows an exponential distribution: Among them, λ1 and λ2 are the failure rates of the two failure modes of the components, MTTF1 and MTTF2 are the first failure times corresponding to the two failure modes, and the failure rate of the components is obtained by the above preprocessing formula; the preprocessed data of each component is fitted to obtain the life distribution of each component; (2) Based on the 10 single-point distributions obtained, the failure times of the 10 devices are obtained using Monte Carlo sampling. The sampling is performed 1000 times in total, so a 10*1000 failure time matrix is obtained. (3) The failure time of the entire functional circuit in a sampling is identified as the earliest failure time among the 10 devices, thereby obtaining the failure time of 1000 functional circuits. MATLAB is then used to perform distribution fitting to obtain the fault distribution of the entire module.
7. The servo mechanism performance and reliability joint simulation method based on Simulink according to claim 1, characterized in that: In step three, a joint simulation model of servo mechanism performance and reliability is constructed: Based on the Monte Carlo sampling data, a fault trigger module of a single functional circuit is established in Simulink. The life distribution parameters g1, g2, and g3 of each functional circuit obtained in step 2 are used as the input of the Monte Carlo sampling module. The fault time is obtained according to the output of formula (1) and compared with the set first fault time of 9000h to determine whether the functional circuit can operate normally. When the output value of the sampling module is less than the set value, the functional circuit triggers a fault. Otherwise, the functional circuit operates normally. Therefore, the final fault trigger module outputs a Boolean logic value. T=g3+g2τ(1+1 / g1) (5) There are multiple functional circuits in the servo mechanism. Monte Carlo sampling models and fault trigger models are established respectively. According to the influence of functional circuit faults on the performance of the servo mechanism, the logical relationship between fault trigger modules is described; the fault trigger modules are connected according to the description. Since any circuit failure of the CAN bus, DSP circuit, A / D circuit, signal acquisition circuit, and secondary power supply circuit in the control board combination will cause the servo mechanism system performance model to fail, the above five single circuit fault trigger modules are connected using logic; any circuit failure of the gate drive circuit, logic processing circuit, secondary power supply circuit, and power drive circuit in the swing spray power amplifier board combination and the air rudder power amplifier board combination will cause the electromechanical actuator controlled by the corresponding power amplifier board to fail, affecting the ideal position parameters of the lead screw. Therefore, the four single circuit fault trigger modules of the power amplifier board are connected using logic, and the output of the combined logic module will affect the ideal position signal of the lead screw; the current monitoring circuit failure has no effect on the ideal position of the lead screw, but affects the feedback signal of the electromechanical actuator. Therefore, the single circuit fault trigger module is maintained, and its output will affect the feedback signal; a breakpoint module is established, and finally the reliability simulation model and the performance model are combined through multiple breakpoints.
8. The servo mechanism performance and reliability joint simulation method based on Simulink according to claim 7, characterized in that: In step 3, the multi-point breakpoint module of a single servo mechanism sets a breakpoint at the output of the motor module, and adds the fault trigger output signal for judgment: when a functional circuit fails, the output signal of the fault trigger module will cause the motor module to interrupt the output, otherwise it will not affect the output signal of the motor module and continue to enter the next feedback; Establish a multi-point breakpoint module for the overall servo mechanism; it is known that the overall servo mechanism consists of 1 servo control driver and six electromechanical actuators, wherein the servo control driver consists of a control board and six power amplifier boards; inject the breakpoint model into the servo control driver: The screw position is first judged by the fault trigger module of the control board through a single-point breakpoint, and the output position is judged by the fault trigger module of the power amplifier board. The screw position is obtained through the double judgment of the control board and the power amplifier board and input into the performance model. If any component of the control board or the power amplifier board fails, the fault trigger module outputs a signal to cause an interruption, and the screw position is 0; at the same time, the output of the motor module and the current detection trigger module are judged by multiple breakpoints, and the final result is input into the performance model as the motor parameter m; Finally, a simulation termination module is established for reliability evaluation. The three ideal signals of position, current and speed of the six motors are compared with the feedback signals respectively. If the error is lower than the threshold, it is considered that the performance level meets the system instructions and the simulation continues. Otherwise, the simulation is terminated.
Citation Information
Patent Citations
Servo actuator system simulator and simulation method thereof
CN102945001A
In-the-loop simulation test and control system of wind generating set and test method thereof
CN103064299A
