A fuzzy calibration method and system for angle sensors based on ANSYS simulation
Through ANSYS simulation technology, a nonlinear feedforward compensation model was established to achieve accurate calibration of the angle sensor in the EGR system, solve the problem of inaccurate exhaust emission control, and improve the stability of the engine's working state and the achievement of emission standards.
Patent Information
- Application Number
- CN202311478597.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-11-03
AI Technical Summary
Existing technology is difficult to accurately calibrate the angle sensor in the EGR system, resulting in inaccurate exhaust emission control and affecting engine working conditions and the achievement of emission standards.
The angle sensor fuzzy calibration method based on ANSYS simulation is used to obtain the model parameters of the limited angle torque motor in the EGR valve, model it in ANSYS finite element simulation software, set up the nonlinear feedforward compensation model, and calculate the nonlinear feedforward compensation of the motor. , measure the duty cycle-relative displacement curve of the limited rotation angle torque motor after compensation as the calibration reference curve, and set the calibration points according to the curve to obtain the voltage of each calibration point.
It achieves precise calibration of the angle sensor, eliminates process and manufacturing differences, simplifies the calibration process, and improves the control accuracy of the EGR system and the controllability of exhaust emissions.
Smart Images

Figure CN117516365B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of fuzzy calibration of angle sensors, and more specifically, relates to a fuzzy calibration method and system for angle sensors based on ANSYS simulation. Background Art
[0002] As the environmental pollution caused by automobile exhaust emissions has become increasingly prominent, the country has successively promulgated relevant laws and regulations to address a series of problems caused by motor vehicle exhaust emissions. Through the promulgation of these laws and regulations, strict requirements have been imposed on the emission standards and emissions of automobile exhaust, and modern intelligent management methods have been used to monitor the exhaust emissions of motor vehicles in real time.
[0003] The use of exhaust gas recirculation technology is currently the best technical solution to achieve the National VI emission standards. In order to achieve the best working effect of the EGR system, an angle sensor is required to perform closed-loop control of the valve position, so that when the engine is in different working states, the EGR valve can always maintain a precise opening to achieve exhaust emission control. Therefore, dynamic control and accurate measurement of valve opening are the core indicators of the exhaust gas recirculation system. As a key measurement component, the accuracy of the angle sensor's output will directly affect the control of the EGR system. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a fuzzy calibration method of an angle sensor based on ANSYS simulation, comprising:
[0005] Obtain the model parameters of the limited angle torque motor in the EGR valve, and model it in the ANSYS finite element simulation software to obtain the electromagnetic torque of the motor under multiple currents obtained through ANSYS simulation;
[0006] A nonlinear feedforward compensation model is set up, and the nonlinear feedforward compensation of the motor under each current is calculated according to the electromagnetic torque obtained by ANSYS simulation of the motor under multiple currents. The duty cycle-relative displacement curve of the limited angle torque motor after compensation is measured, and the duty cycle-relative displacement curve after aggregate fitting is used as a calibration reference curve;
[0007] Set multiple calibration points, push the EGR valve from the initial point to the starting calibration point among the calibration points, measure the relative displacement of the EGR valve from the initial point to the starting calibration point, obtain the voltage corresponding to the starting calibration point, and obtain the voltage of each calibration point in turn.
[0008] Furthermore, it is characterized in that the nonlinear feedforward compensation model includes:
[0009]
[0010] Among them, T(Ik ) is the nonlinear feedforward compensation of the electromagnetic torque at the kth current of the motor, a is the adjustment factor of the influence of the cubic term of the control current on the electromagnetic torque, I k is the kth current of the motor, b is the adjustment factor for controlling the amplitude of the sine and cosine terms, c is the first frequency adjustment factor of the sine term, d is the frequency adjustment factor of the cosine term, e is the adjustment factor for controlling the square term and logarithmic term of the current, f is the frequency adjustment factor of the logarithmic term, g is the adjustment factor for controlling the influence of the square term of the current on the electromagnetic torque, h is the adjustment factor for controlling the amplitude of the sine term, and i is the second frequency adjustment factor of the sine term.
[0011] Furthermore, the adjustment factor e of the square term and the logarithmic term of the control current includes:
[0012]
[0013] Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, a′ is the first adjustment factor, and f′ is the second adjustment factor.
[0014] Furthermore, the adjustment factor b for controlling the amplitude of the sine and cosine terms includes:
[0015]
[0016] Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, T′(I k-1 ) is the electromagnetic torque obtained by ANSYS simulation at the k-1th current of the motor, c′ is the third adjustment factor, and d′ is the fourth adjustment factor.
[0017] Furthermore, the first frequency adjustment factor c of the sinusoidal term includes:
[0018]
[0019] Among them, T′(I k ) is, b′ is the fifth adjustment factor, and d′ is the fourth adjustment factor.
[0020] Furthermore, the number of the calibration points is set according to the curvature of the calibration reference curve. The greater the curvature, the denser the calibration points.
[0021] The present invention also proposes an angle sensor fuzzy calibration system based on ANSYS simulation, comprising:
[0022] A modeling module is used to obtain the model parameters of the limited angle torque motor in the EGR valve, and to perform modeling in the ANSYS finite element simulation software to obtain the electromagnetic torque of the motor under multiple currents obtained through ANSYS simulation;
[0023] A compensation module is used to set a nonlinear feedforward compensation model, calculate the nonlinear feedforward compensation of the motor under each current according to the electromagnetic torque obtained by ANSYS simulation of the motor under multiple currents, measure the duty cycle-relative displacement curve of the limited angle torque motor after compensation, and use the duty cycle-relative displacement curve after aggregate fitting as a calibration reference curve;
[0024] The calibration module is used to set multiple calibration points, push the EGR valve from the initial point to the starting calibration point among the calibration points, measure the relative displacement of the EGR valve from the initial point to the starting calibration point, obtain the voltage corresponding to the starting calibration point, and obtain the voltage of each calibration point in turn.
[0025] Furthermore, the nonlinear feedforward compensation model includes:
[0026]
[0027] Among them, T(I k ) is the nonlinear feedforward compensation of the electromagnetic torque at the kth current of the motor, a is the adjustment factor of the influence of the cubic term of the control current on the electromagnetic torque, I k is the kth current of the motor, b is the adjustment factor for controlling the amplitude of the sine and cosine terms, c is the first frequency adjustment factor of the sine term, d is the frequency adjustment factor of the cosine term, e is the adjustment factor for controlling the square term and logarithmic term of the current, f is the frequency adjustment factor of the logarithmic term, g is the adjustment factor for controlling the influence of the square term of the current on the electromagnetic torque, h is the adjustment factor for controlling the amplitude of the sine term, and i is the second frequency adjustment factor of the sine term.
[0028] Furthermore, the adjustment factor e of the square term and the logarithmic term of the control current includes:
[0029]
[0030] Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, a′ is the first adjustment factor, and f′ is the second adjustment factor.
[0031] Furthermore, the adjustment factor b for controlling the amplitude of the sine and cosine terms includes:
[0032]
[0033] Among them, T′(I k) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, T′(I k-1 ) is the electromagnetic torque obtained by ANSYS simulation at the k-1th current of the motor, c′ is the third adjustment factor, and d′ is the fourth adjustment factor.
[0034] Compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
[0035] The present invention can select different calibration points according to different samples of different models, eliminate the differences caused by process, manufacturing, etc., and complete the calibration work simply and effectively. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of Example 1;
[0037] Figure 2 is a system structure diagram of Example 2;
[0038] Figure 3 is a schematic diagram of the automated calibration workbench of Example 5;
[0039] Figure 4 is a calibration flow chart of Example 5;
[0040] Figure 5 is a first schematic block diagram of a nonlinear feedforward compensator according to Embodiment 5;
[0041] Figure 6 This is a schematic block diagram of the nonlinear feedforward compensator of Example 5. DETAILED DESCRIPTION
[0042] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0043] The method provided by the present invention can be implemented in the following terminal environment, and the terminal may include one or more of the following components: a processor, a storage medium, and a display screen. The storage medium stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method described in the following embodiment.
[0044] The processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts in the entire terminal, and executes various functions of the terminal and processes data by running or executing instructions, programs, code sets or instruction sets stored in the storage medium, and calling data stored in the storage medium.
[0045] The storage medium may include a random access memory (RAM) or a read-only memory (ROM). The storage medium may be used to store instructions, programs, codes, code sets or instructions.
[0046] The display screen is used to display the user interface of each application.
[0047] All subscripts in the formulas of the present invention are only used to distinguish parameters and have no actual meaning.
[0048] In addition, those skilled in the art can understand that the structure of the above terminal does not constitute a limitation on the terminal, and the terminal may include more or fewer components, or combine certain components, or arrange the components differently. For example, the terminal also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, and a power supply, which will not be described in detail here.
[0049] Example 1
[0050] like Figure 1 As shown, the present invention proposes a fuzzy calibration method for an angle sensor based on ANSYS simulation, comprising:
[0051] Step 101, obtaining model parameters of a limited angle torque motor in an EGR valve, and modeling it in ANSYS finite element simulation software, to obtain electromagnetic torques of the motor under multiple currents obtained through ANSYS simulation;
[0052] Step 102, setting a nonlinear feedforward compensation model, calculating the nonlinear feedforward compensation of the motor under each current according to the electromagnetic torque obtained by ANSYS simulation of the motor under multiple currents, measuring the duty cycle-relative displacement curve of the limited angle torque motor after compensation, and using the duty cycle-relative displacement curve after aggregate fitting as a calibration reference curve;
[0053] Specifically, the nonlinear feedforward compensation model includes:
[0054]
[0055] Among them, T(I k ) is the nonlinear feedforward compensation of the electromagnetic torque at the kth current of the motor, a is the adjustment factor of the influence of the cubic term of the control current on the electromagnetic torque, I kis the kth current of the motor, b is the adjustment factor for controlling the amplitude of the sine and cosine terms, c is the first frequency adjustment factor of the sine term, d is the frequency adjustment factor of the cosine term, e is the adjustment factor for controlling the square term and logarithmic term of the current, f is the frequency adjustment factor of the logarithmic term, g is the adjustment factor for controlling the influence of the square term of the current on the electromagnetic torque, h is the adjustment factor for controlling the amplitude of the sine term, and i is the second frequency adjustment factor of the sine term.
[0056] Specifically, the adjustment factor e of the square term and the logarithmic term of the control current includes:
[0057]
[0058] Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, a′ is the first adjustment factor, and f′ is the second adjustment factor.
[0059] Specifically, the adjustment factor b for controlling the amplitude of the sine and cosine terms includes:
[0060]
[0061] Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, T′(I k-1 ) is the electromagnetic torque obtained by ANSYS simulation at the k-1th current of the motor, c′ is the third adjustment factor, and d′ is the fourth adjustment factor.
[0062] Specifically, the first frequency adjustment factor c of the sinusoidal term includes:
[0063]
[0064] Among them, T′(I k ) is, b′ is the fifth adjustment factor, and d′ is the fourth adjustment factor.
[0065] Specifically, all adjustment factors in the above formula are fitted by the least square method.
[0066] Step 103, setting multiple calibration points, pushing the EGR valve from the initial point to the starting calibration point among the calibration points, measuring the relative displacement of the EGR valve from the initial point to the starting calibration point, and obtaining the voltage corresponding to the starting calibration point, and obtaining the voltage of each calibration point in turn.
[0067] Specifically, the number of the calibration points is set according to the curvature of the calibration reference curve. The greater the curvature, the denser the calibration points.
[0068] Example 2
[0069] like Figure 2 As shown, the present invention also proposes an angle sensor fuzzy calibration system based on ANSYS simulation, comprising:
[0070] A modeling module is used to obtain the model parameters of the limited angle torque motor in the EGR valve, and to perform modeling in the ANSYS finite element simulation software to obtain the electromagnetic torque of the motor under multiple currents obtained through ANSYS simulation;
[0071] A compensation module is used to set a nonlinear feedforward compensation model, calculate the nonlinear feedforward compensation of the motor under each current according to the electromagnetic torque obtained by ANSYS simulation of the motor under multiple currents, measure the duty cycle-relative displacement curve of the limited angle torque motor after compensation, and use the duty cycle-relative displacement curve after aggregate fitting as a calibration reference curve;
[0072] Specifically, the nonlinear feedforward compensation model includes:
[0073]
[0074] Among them, T(I k ) is the nonlinear feedforward compensation of the electromagnetic torque at the kth current of the motor, a is the adjustment factor of the influence of the cubic term of the control current on the electromagnetic torque, I k is the kth current of the motor, b is the adjustment factor for controlling the amplitude of the sine and cosine terms, c is the first frequency adjustment factor of the sine term, d is the frequency adjustment factor of the cosine term, e is the adjustment factor for controlling the square term and logarithmic term of the current, f is the frequency adjustment factor of the logarithmic term, g is the adjustment factor for controlling the influence of the square term of the current on the electromagnetic torque, h is the adjustment factor for controlling the amplitude of the sine term, and i is the second frequency adjustment factor of the sine term.
[0075] Specifically, the adjustment factor e of the square term and the logarithmic term of the control current includes:
[0076]
[0077] Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, a′ is the first adjustment factor, and f′ is the second adjustment factor.
[0078] Specifically, the adjustment factor b for controlling the amplitude of the sine and cosine terms includes:
[0079]
[0080] Among them, T′(I k) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, T′(I k-1 ) is the electromagnetic torque obtained by ANSYS simulation at the k-1th current of the motor, c′ is the third adjustment factor, and d′ is the fourth adjustment factor.
[0081] Specifically, the first frequency adjustment factor c of the sinusoidal term includes:
[0082]
[0083] Among them, T′(I k ) is, b′ is the fifth adjustment factor, and d′ is the fourth adjustment factor.
[0084] The calibration module is used to set multiple calibration points, push the EGR valve from the initial point to the starting calibration point among the calibration points, measure the relative displacement of the EGR valve from the initial point to the starting calibration point, obtain the voltage corresponding to the starting calibration point, and obtain the voltage of each calibration point in turn.
[0085] Specifically, the number of the calibration points is set according to the curvature of the calibration reference curve. The greater the curvature, the denser the calibration points.
[0086] Example 3
[0087] An embodiment of the present invention further provides a storage medium storing a plurality of instructions, wherein the instructions are used to implement the angle sensor fuzzy calibration method based on ANSYS simulation.
[0088] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0089] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the steps of the method of Embodiment 1.
[0090] Example 4
[0091] An embodiment of the present invention also proposes an electronic device, including a processor and a storage medium connected to the processor, wherein the storage medium stores multiple instructions, and the instructions can be loaded and executed by the processor so that the processor can execute an angle sensor fuzzy calibration method based on ANSYS simulation.
[0092] Specifically, the electronic device of this embodiment may be a computer terminal, and the computer terminal may include: one or more processors, and a storage medium.
[0093] Among them, the storage medium can be used to store software programs and modules, such as a method for fuzzy calibration of an angle sensor based on ANSYS simulation in an embodiment of the present invention, and corresponding program instructions / modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the storage medium, that is, realizing the above-mentioned method for fuzzy calibration of an angle sensor based on ANSYS simulation. The storage medium may include a high-speed random storage medium, and may also include a non-volatile storage medium, such as one or more magnetic storage systems, flash memory, or other non-volatile solid-state storage media. In some instances, the storage medium may further include a storage medium remotely arranged relative to the processor, and these remote storage media may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0094] The processor can call the information and application programs stored in the storage medium through the transmission system to execute the steps of the method in Example 1.
[0095] Example 5
[0096] The present invention proposes a method for fuzzy calibration of the output of an angle sensor based on ANSYS finite element simulation software. Figure 3 The automated calibration device shown includes a PCB probe cylinder, a servo motor, a clamping cylinder, a disturbance cylinder and a displacement sensor. The calibration method is divided into two parts. The first part is the determination of the calibration reference curve, and the second part is the implementation of the fuzzy calibration method.
[0097] The calibration reference curve plays a vital role in the calibration process of the EGR valve (exhaust gas recirculation valve). The present invention uses ANSYS finite element simulation software to perform linear simulation of the electromagnetic torque of the limited angle torque motor under a driving duty cycle of 0%-20%. Since the traditional control method believes that the output of the limited angle torque motor has a constant torque coefficient, the motor will be affected by external conditions during actual use, so that the output of its electromagnetic torque presents nonlinear characteristics.
[0098] There are two main reasons for the nonlinear output characteristics of the motor: one is the influence of the cogging torque, and the other is the influence of the armature effect.
[0099] The cogging effect mainly affects the motor when it works at a higher or lower angle. Since the distance between the stator core and the permanent magnet is too close, the output electromagnetic torque fluctuates. In order to offset the influence of the cogging effect on the electromagnetic torque of the limited angle torque motor at low angles, a nonlinear feedforward compensation controller is designed based on the ANSYS simulation results. The feedforward compensation method makes the motor output present an approximately linear characteristic. The specific operation process is as follows:
[0100] (1) The model parameters of the limited angle torque motor in the EGR valve were measured and modeled in ANSYS finite element simulation software. The specific parameters are as follows:
[0101] Table 1-1 Main parameters of the motor model
[0102]
[0103] (2) Performing finite element simulation on the model to obtain the cogging torque, electromagnetic torque, air gap flux density and angular displacement characteristics of the model motor;
[0104] (3) Design a nonlinear feedforward compensation controller and build a physical model according to the controller block diagram. Perform nonlinear compensation for the electromagnetic torque of the limited angle torque motor under different currents based on the motor electromagnetic torque results simulated by ANSYS;
[0105] (4) The duty cycle-relative displacement curve of the compensated limited angle torque motor is measured again, and the curve after aggregation fitting is used as the reference curve for angle sensor calibration.
[0106] The fuzzy calibration method is to calculate the accurate calibration point position information through the fuzzy position information of points A and B. At the same time, in order to increase the resolution of the angle sensor output voltage, the system adopts the voltage inversion calibration method. After the calibration method, the EGR valve can avoid the errors caused by the gap, stroke and shape between different parts during the production and installation of the valve. Among them, the structure with the greatest impact is the cam transmission structure in the EGR valve. The initial installation position of the cam will have a deviation of ±1.5°. If the linear fitting curve is calibrated according to the unified calibration point at this time, it will cause the EGR valve to be in low-angle closed-loop control. The feedback voltage of the angle sensor will have a 50% deviation.
[0107] The specific calibration process is as follows:
[0108] (1) Because the return spring may not be able to return to the zero position of the valve under the action of elastic force when it is reset, resulting in an error in the calibration result, it is necessary to first energize the valve and input a 5% duty cycle signal to return the valve to its original position. At the same time, the current displacement sensor data is collected as the initial displacement value X1 of the calibration point. Suppose this point is point A, the angle of this point is a1, and the voltage is Ua;
[0109] (2) After receiving the data frame, the host computer will cut off the power to the valve, press the PCB probe cylinder to power on the angle sensor and set the current point A as the sensing zero point of the angle sensor;
[0110] (3) After that, the stepper motor will descend and drive the valve to open a certain angle, and record the current displacement sensor value as the calibrated current displacement value X2. Let this point be point B, and the angle measured at this point be a2;
[0111] (4) The absolute displacement value X of the valve between two points can be obtained from X1-X2. Based on the data measured by the standard parts, the conversion curve between displacement and duty cycle is fitted:
[0112] P = Ax 3 +Bx 2 +Cx+D (1-1)
[0113] Where P is the duty cycle, x is the relative displacement, and A, B, C, and D are the coefficients of the power terms of the calibration reference curve. The standard duty cycle corresponding to point B is P b , and then according to the duty cycle-voltage conversion formula:
[0114]
[0115] Among them, P b is the standard duty cycle corresponding to point B, and the standard voltage corresponding to point B is U, where 1051.25 and -0.2225 are the proportional coefficients obtained based on the hardware parameters, and the calculated data is the system control proportional coefficient.
[0116] By determining the calibration reference curve and fuzzy calibration method, a universal, automated, fully functional, and reliable EGR valve angle sensor calibration system platform can be built. Through the automated calibration process, the internal chip of the EGR valve can finally obtain accurate valve opening information through the feedback voltage of the angle sensor, and complete the precise closed-loop control of the valve position. The relative displacement of the two calibrated EGR valves was tested, and the error was within 0.1mm compared with the standard relative displacement difference, which is much smaller than the 0.18mm standard set by the machinery industry.
[0117] Specifically, the cylinder is kept in a relaxed state before the EGR valve is placed. After the EGR valve is placed, the cylinder is opened and the EGR valve is fixed on the calibration table. The PCB probe cylinder will connect the communication between the internal angle sensor and the industrial computer. A total of 5 points are required for calibration, hereinafter referred to as 0, A, B, C, and D points. After the calibration process starts, the servo motor controls the push rod to push the EGR valve to 0 point. The displacement sensor measures the relative displacement from the initial position of the valve to 0 point, and calculates the voltage corresponding to 0 point at this time based on the relative displacement. After that, the servo motor pushes the lever to point A, and similarly calculates the relative displacement value between 0 point and point A and the voltage value corresponding to point A. The same applies to points B, C, and D. However, the range of the calibration points needs to be determined based on the nonlinearity of the calibration reference curve under the control duty cycle of 0%-100%. The greater the curvature, the denser the calibration points.
[0118] Figure 4 This is a flow chart of the voltage inversion fuzzy calibration method. The automated calibration of the calibration station depends on the host control software in the industrial computer. The main process of the host control software is based on Figure 2 The writing can not only ensure that the calibration device has the ability to calibrate various types of EGR valves, but also determine the problems that occur during the calibration of the EGR valve based on the data uploaded by the sensor.
[0119] Figure 5 and Figure 6 It is a nonlinear feedforward compensator model. The input of the limited angle torque motor is current I. The theoretical electromagnetic torque can be obtained through the torque coefficient of the theoretical value, but the actual output electromagnetic torque deviates from the theory. Through ANSYS simulation analysis of the electromagnetic torque under different currents, the specific value of the deviation is obtained, and the electromagnetic torque is compensated by the built nonlinear feedforward compensator, and finally a stable motor output torque is obtained.
[0120] In addition, the external conditions required for using the present invention are:
[0121] (1) Calibration tooling table;
[0122] (2) Angle sensor;
[0123] (3) Displacement sensor;
[0124] (4) Air pump;
[0125] (5) Servo motor;
[0126] (6) Industrial computer;
[0127] (7)PCB probe, cylinder, etc.
[0128] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0129] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0130] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0131] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0132] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0133] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only storage medium (ROM, Read-Only Memory), random access storage medium (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0134] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A fuzzy calibration method for angle sensor based on ANSYS simulation, characterized in that: include: Obtain the model parameters of the limited angle torque motor in the EGR valve, and model it in the ANSYS finite element simulation software to obtain the electromagnetic torque of the motor under multiple currents obtained through ANSYS simulation; A nonlinear feedforward compensation model is set up, and the nonlinear feedforward compensation of the motor under each current is calculated according to the electromagnetic torque obtained by ANSYS simulation of the motor under multiple currents. The duty cycle-relative displacement curve of the limited angle torque motor after compensation is measured, and the duty cycle-relative displacement curve after aggregate fitting is used as a calibration reference curve; Wherein, the nonlinear feedforward compensation model includes: Among them, T(I k ) is the nonlinear feedforward compensation of the electromagnetic torque at the kth current of the motor, a is the adjustment factor of the influence of the cubic term of the control current on the electromagnetic torque, I k is the kth current of the motor, b is the adjustment factor for controlling the amplitude of the sine and cosine terms, c is the first frequency adjustment factor of the sine term, d is the frequency adjustment factor of the cosine term, e is the adjustment factor for controlling the square term and logarithmic term of the current, f is the frequency adjustment factor of the logarithmic term, g is the adjustment factor for controlling the influence of the square term of the current on the electromagnetic torque, h is the adjustment factor for controlling the amplitude of the sine term, and i is the second frequency adjustment factor of the sine term; The adjustment factor e of the square term and the logarithmic term of the control current includes: Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, a′ is the first adjustment factor, and f′ is the second adjustment factor; The adjustment factor b that controls the amplitude of the sine and cosine terms includes: Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, T′(I k-1 ) is the electromagnetic torque obtained by ANSYS simulation at the k-1th current of the motor, c′ is the third adjustment factor, and d′ is the fourth adjustment factor; The first frequency adjustment factor c of the sinusoidal term comprises: Among them, T′(I k ) is, b′ is the fifth adjustment factor, and d′ is the fourth adjustment factor; Set multiple calibration points, push the EGR valve from the initial point to the starting calibration point among the calibration points, measure the relative displacement of the EGR valve from the initial point to the starting calibration point, obtain the voltage corresponding to the starting calibration point, and obtain the voltage of each calibration point in turn.
2. The fuzzy calibration method of an angle sensor based on ANSYS simulation as claimed in claim 1, characterized in that: The number of the calibration points is set according to the curvature of the calibration reference curve. The greater the curvature, the denser the calibration points.
3. An angle sensor fuzzy calibration system based on ANSYS simulation, characterized in that: include: A modeling module is used to obtain the model parameters of the limited angle torque motor in the EGR valve, and to perform modeling in the ANSYS finite element simulation software to obtain the electromagnetic torque of the motor under multiple currents obtained through ANSYS simulation; A compensation module is used to set a nonlinear feedforward compensation model, calculate the nonlinear feedforward compensation of the motor under each current according to the electromagnetic torque obtained by ANSYS simulation of the motor under multiple currents, measure the duty cycle-relative displacement curve of the limited angle torque motor after compensation, and use the duty cycle-relative displacement curve after aggregate fitting as a calibration reference curve; Wherein, the nonlinear feedforward compensation model includes: Among them, T(I k ) is the nonlinear feedforward compensation of the electromagnetic torque at the kth current of the motor, a is the adjustment factor of the influence of the cubic term of the control current on the electromagnetic torque, I k is the kth current of the motor, b is the adjustment factor for controlling the amplitude of the sine and cosine terms, c is the first frequency adjustment factor of the sine term, d is the frequency adjustment factor of the cosine term, e is the adjustment factor for controlling the square term and logarithmic term of the current, f is the frequency adjustment factor of the logarithmic term, g is the adjustment factor for controlling the influence of the square term of the current on the electromagnetic torque, h is the adjustment factor for controlling the amplitude of the sine term, and i is the second frequency adjustment factor of the sine term; The adjustment factor e of the square term and the logarithmic term of the control current includes: Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, a′ is the first adjustment factor, and f′ is the second adjustment factor; The adjustment factor b that controls the amplitude of the sine and cosine terms includes: Among them, T′(I k ) is the electromagnetic torque obtained by ANSYS simulation at the kth current of the motor, T′(I k-1 ) is the electromagnetic torque obtained by ANSYS simulation at the k-1th current of the motor, c′ is the third adjustment factor, and d′ is the fourth adjustment factor; The first frequency adjustment factor c of the sinusoidal term comprises: Among them, T′(I k ) is, b′ is the fifth adjustment factor, and d′ is the fourth adjustment factor; The calibration module is used to set multiple calibration points, push the EGR valve from the initial point to the starting calibration point among the calibration points, measure the relative displacement of the EGR valve from the initial point to the starting calibration point, obtain the voltage corresponding to the starting calibration point, and obtain the voltage of each calibration point in turn.
