Inductance nonlinearity polarity discrimination method of motor and related device

Through the polarity discrimination method of inductor nonlinearity, the estimation angle is used to correct the current rate of change and calculate the initial angle with the rotation angle, which solves the problem of misjudgment of the initial angle identification of the motor and improves the accuracy and safety of the motor operation.

CN118944499APending Publication Date: 2024-11-12WEICHAI POWER CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410999027.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing motor initial angle identification technology has the risk of misjudgment, especially when the rotor position is different, two possible initial angles may be identified, resulting in insufficient output force of the motor or inability to work normally, which poses safety risks.

Method used

The polarity discrimination method of inductor nonlinearity is used to inject positive voltage, negative voltage and 0 voltage into the d-axis of the stator, and the rate of change of the response current is obtained, the angle of estimation is corrected, and the initial angle is calculated based on the rotation angle.

Benefits of technology

It improves the accuracy of initial angle recognition, reduces the impact of sensor measurement errors, and ensures stable operation and safety of the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944499A_ABST
    Figure CN118944499A_ABST
Patent Text Reader

Abstract

The invention provides an inductance non-linear polarity discrimination method and a related device, and the method comprises the steps: injecting positive and negative sequence voltages into a d axis of a stator based on a d-axis stator flux linkage saturation principle, judging the polarity through analyzing and comparing the change rates of corresponding response currents when the positive and negative voltages are injected, and correcting an estimated angle based on a judgment result, thereby achieving the purpose of discriminating the polarity of the stator. The initial angle of the rotor is calculated based on the corrected estimated angle and the rotor position angle measured by the rotary transformer, the estimated angle is corrected according to the judgment result based on the change rate of the response current, and the reliability of the initial angle obtained through final calculation is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of motor control, and in particular to a polarity determination method of inductance nonlinearity and a related device. Background Art

[0002] During the motor operation, initial angle identification is performed to ensure that the motor can operate correctly and efficiently.

[0003] Motors, especially permanent magnet brushless DC motors and permanent magnet synchronous motors, must perform initial angle identification when starting or repositioning. This is because the motor's control strategy, such as FOC (field vector control), relies on accurate information about the initial angle of the rotor poles relative to the stator windings. This identification is critical to achieving precise field-oriented control, a smooth transition during the startup process, and subsequent efficient and stable motor operation. If the initial position of the rotor is not correctly identified, the controller may generate incorrect current commands, resulting in insufficient motor output or even failure to work properly.

[0004] In the field of motor control, the initial angle identification technology based on high-frequency voltage signals can achieve accurate identification when the motor is stationary, but the method itself has defects. The identification result may have two possibilities depending on the position of the rotor. It is either the true initial angle or a 180° electrical angle difference from the true initial angle. If the initial angle is incorrect, it may cause the vehicle to move backward, posing a certain safety hazard. In addition, the relevant algorithms for voltage injection and current response judgment rely on parameter settings and sensor detection accuracy. If the order and time of voltage injection are inappropriate, or there are errors in response current collection, problems will occur in polarity judgment.

[0005] Therefore, providing a solution that can accurately identify the initial angle is one of the technical problems that technical personnel in this field need to solve urgently. Summary of the invention

[0006] In view of this, an embodiment of the present invention provides a polarity determination method and a related device of inductance nonlinearity to achieve accurate identification of the initial angle of the motor.

[0007] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0008] A method for determining the polarity of nonlinear inductance of a motor, comprising:

[0009] Based on the magnetic saturation effect, positive voltage and negative voltage are sequentially and cyclically injected into the stator d-axis, and 0 voltage is injected between the positive and negative voltages;

[0010] Obtaining a change rate of a response current when a positive voltage is injected into the stator d-axis, recorded as a first current change rate;

[0011] Obtaining a change rate of a response current when a negative voltage is injected into the stator d-axis, recorded as a second current change rate;

[0012] Obtain an estimated value of the rotor angle, recorded as estimated angle;

[0013] Correcting the estimated angle based on a comparison result of the first current change rate and the second current change rate to obtain a corrected estimated angle;

[0014] The resolver measures the rotor position angle, recorded as the resolver angle;

[0015] An initial angle of the rotor is calculated based on the resolver angle and the corrected estimated angle.

[0016] Optionally, in the above-mentioned method for determining the polarity of the nonlinear inductance of the motor, obtaining the rate of change of the response current when a positive voltage is injected into the motor winding includes:

[0017] After injecting positive voltage into the motor winding, wait for a set time and obtain the rate of change of the response current;

[0018] Obtain the rate of change of the response current when a negative voltage is injected into the motor winding, including:

[0019] After injecting negative voltage into the motor winding, wait for a set time and obtain the rate of change of the response current.

[0020] Optionally, in the polarity determination method of the nonlinear inductance of the above-mentioned motor, positive voltage and negative voltage are sequentially and cyclically injected into the stator d-axis based on the magnetic saturation effect, and when 0 voltage is injected between the positive and negative voltages, the injection time of the positive voltage is t: 0≤t≤t1;

[0021] The injection time of 0 voltage after the positive voltage injection is completed is t: t1≤t≤t1+t2;

[0022] The injection time t of the negative voltage after the 0 voltage injection is completed: t1+t2≤t≤2t1+t2;

[0023] The injection time of 0 voltage after the negative voltage injection is completed is t: 2t1+t2≤t≤2t1+2t2;

[0024] Among them, t1 and t2 are set durations.

[0025] Optionally, in the polarity determination method of the nonlinear inductance of the motor, the estimated angle is corrected based on a comparison result of the first current change rate and the second current change rate to obtain a corrected estimated angle, including:

[0026] When the first current change rate is greater than the second current change rate, the corrected estimated angle is equal to the estimated angle;

[0027] When the first current change rate is not greater than the second current change rate, the corrected estimated angle is equal to the sum of the estimated angle and π.

[0028] Optionally, in the polarity determination method of the nonlinear inductance of the motor, the initial angle of the rotor is calculated based on the resolver angle and the corrected estimated angle, including:

[0029] Based on the formula The initial angle θ of the rotor is calculated ini ;

[0030] Among them, θ x is the rotation angle, is the estimated angle after correction.

[0031] Optionally, in the polarity determination method of the nonlinear inductance of the above-mentioned motor, positive voltage and negative voltage are injected into the stator d-axis sequentially and cyclically based on the magnetic saturation effect, and when 0 voltage is injected between the positive and negative voltages, the duration of the entire injection process does not exceed the target threshold, and the size of the target threshold satisfies the condition: during the voltage injection process, the temperature change of the motor does not exceed the set temperature.

[0032] A device for determining the polarity of nonlinear inductance of a motor, comprising:

[0033] A high frequency injection unit is used to sequentially and cyclically inject positive voltage and negative voltage into the stator d-axis based on the magnetic saturation effect, and inject 0 voltage between the positive and negative voltages;

[0034] A response current acquisition unit is used to obtain the change rate of the response current when a positive voltage is injected into the stator d-axis, recorded as a first current change rate; and obtain the change rate of the response current when a negative voltage is injected into the stator d-axis, recorded as a second current change rate;

[0035] An estimated angle acquisition unit, used to acquire an estimated value of a rotor angle, recorded as an estimated angle;

[0036] an estimated angle correction unit, configured to correct the estimated angle based on a comparison result of the first current change rate and the second current change rate to obtain a corrected estimated angle;

[0037] The resolver angle measurement unit is used to resolver the rotor position angle, which is recorded as the resolver angle;

[0038] An initial angle calculation unit is used to calculate an initial angle of the rotor based on the resolver angle and the corrected estimated angle.

[0039] An electronic device comprises at least one processor and a memory connected to the processor, wherein:

[0040] The memory is used to store computer programs;

[0041] The processor is used to execute the computer program so that the electronic device can implement any one of the above-mentioned methods for determining the polarity of the nonlinear inductance of the motor.

[0042] A computer storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the polarity determination method of the nonlinear inductance of a motor as described in any one of the above.

[0043] A motor comprises the electronic device mentioned above.

[0044] Based on the above technical scheme, the above scheme provided by the embodiment of the present invention injects positive and negative sequence voltages into the stator d-axis based on the principle of d-axis stator magnetic flux saturation, and judges its polarity by analyzing and comparing the change rate of the response current corresponding to the injected positive and negative voltages, and then corrects the estimated angle based on the judgment result, and then calculates the initial angle of the rotor based on the corrected estimated angle and the rotor position angle measured by the resolver. The present application corrects the estimated angle based on the judgment result based on the change rate of the response current, thereby ensuring the reliability of the initial angle finally calculated. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0046] Figure 1 A schematic diagram of the structure of a terminal disclosed in an embodiment of the present application;

[0047] Figure 2 A schematic diagram of the structure of a server disclosed in an embodiment of the present application;

[0048] Figure 3 A schematic flow chart of a method for determining the polarity of the nonlinear inductance of a motor disclosed in an embodiment of the present application;

[0049] Figure 4 A schematic diagram of a response current collection method in a specific scenario disclosed in this application;

[0050] Figure 5A schematic diagram of the structure of a device for determining the polarity of nonlinear inductance of a motor disclosed in an embodiment of the present application;

[0051] Figure 6 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0053] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0054] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0055] First, the professional and technical terms in this application are explained:

[0056] Initial angle: Deviations in the installation process of the motor resolver sensor may cause a constant static error between the electrical angle obtained by the resolver and the actual electrical angle of the motor, which is usually called the initial angle.

[0057] Polarity determination: Use certain means to determine the north and south pole information of the rotor.

[0058] High-frequency square wave injection: An algorithm that injects a high-frequency voltage into the motor and obtains the initial angle through its current response.

[0059] The applicant has found through research that, assuming the current rotor real electrical angle is θ r , the estimated rotor angle is The rotor angle obtained by the resolver is θ x , initial angle θ ini Through θ x -θ r Calculate. Where the real electrical angle θ rIt cannot be obtained directly, so it is first necessary to estimate it by injecting a high-frequency square wave. The process is as follows:

[0060] First, a high-frequency square wave voltage is injected into the d-axis rotor coordinate system. In this process, a negative voltage may be injected first, and then a positive voltage may be injected. The high-frequency square wave voltage is injected alternately in each carrier cycle.

[0061] That is, the injected square wave voltage is: The n is the number of injection cycles, U inj is the amplitude of the injected square wave.

[0062] Then, under the action of high-frequency voltage, the high-frequency current of the q-axis response is detected: It can be found that the high-frequency current of the q-axis response The estimated angle error θ err For approaches zero, the angle estimation error approaches zero, where L q is the q-axis inductance, L d is the d-axis inductance.

[0063] Finally, The error signal is input into the phase-locked loop to automatically estimate the initial angle of the rotor. When it approaches 0, θ err It may be 0 or π. When θ err When it is 0, When θ err When π is Therefore, the recognition result may be the true value or may differ from the true value by 180°.

[0064]

[0065] Based on the above problems, the polarity discrimination method of inductance nonlinearity disclosed in the present invention corrects the identification results by adding a polarity discrimination strategy that considers inductance saturation, solves the problem of two angles, and ensures that the identification results are all real electrical angles. Specifically, the scheme mainly includes two parts: first, high-frequency square wave injection is used for initial angle identification, and then a method that considers inductance nonlinearity is used for polarity discrimination, and the angle identification result is corrected according to the discrimination result.

[0066] The method for determining the polarity of the nonlinear inductance of a motor provided in the present application can be applied to Figure 1 in the terminal shown. Figure 1 FIG. 1 shows an optional hardware structure diagram of a terminal. Figure 1As shown, the terminal may include components such as a memory 120, an input unit 130, a display unit 140 (optional), a processor 150, an external interface 160, and a power supply 170. Those skilled in the art will appreciate that Figure 1 These are merely examples of terminals or multi-function devices and do not constitute limitations on the terminals or multi-function devices, which may include more or fewer components than those shown in the figures, or combinations of certain components, or different components.

[0067] The input unit 130 can be used to receive input digital or character information, and generate key signal input related to the user settings and function control of the portable multifunctional device. Specifically, the input unit 130 may include a touch screen 131 (optional) and / or other input devices 132. The touch screen 131 can collect the user's touch operations on or near it (such as the user's operation on or near the touch screen using any suitable object such as fingers, joints, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch screen can detect the user's touch action on the touch screen, convert the touch action into a touch signal and send it to the processor 150, and can receive and execute the command sent by the processor 150; the touch signal at least includes the touch point coordinate information. The touch screen 131 can provide an input interface and an output interface between the terminal and the user. In addition, the touch screen can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch screen 131, the input unit 130 can also include other input devices. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a joystick, and the like.

[0068] Among them, the input device 132 can receive input data and the like.

[0069] The display unit 140 may be used to display information input by the user or provided to the user, various menus of the terminal 100, interactive interfaces, file display and / or playback of any multimedia file. In the embodiment of the present application, the display unit 140 may be used to display an interface of multi-speaker speech recognition results, processing results, etc.

[0070] The memory 120 can be used to store instructions and data. The memory 120 can mainly include an instruction storage area and a data storage area. The data storage area can store various data, such as text, etc.; the instruction storage area can store software units such as operating systems, applications, instructions required for at least one function, or their subsets and extensions. It can also include non-volatile random access memory; provide the processor 150 with hardware, software and data resources including management of computing and processing equipment, and support control software and applications. It is also used for the storage of multimedia files, as well as the storage of running programs and applications.

[0071] The processor 150 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing instructions stored in the memory 120 and calling data stored in the memory 120, it executes various functions of the terminal 100 and processes data, thereby controlling the terminal device as a whole. Optionally, the processor 150 may include one or more processing units; preferably, the processor 170 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 150. In some embodiments, the processor and memory can be implemented on a single chip, and in some embodiments, they can also be implemented separately on independent chips. The processor 150 can also be used to generate corresponding operation control signals, send them to the corresponding components of the computing and processing device, read and process data in the software, especially read and process data and programs in the memory 120, so that each functional module therein performs corresponding functions, thereby controlling the corresponding components to act according to the requirements of the instructions.

[0072] The memory 120 may be used to store software codes related to the multi-speaker speech recognition method, and the processor 150 may execute the steps of the multi-speaker speech recognition method and may also schedule other units (such as the input unit 130 and the display unit 140) to implement corresponding functions.

[0073] The terminal also includes a power supply 170 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 150 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0074] The terminal also includes an external interface 160, which may be a standard Micro USB interface or a multi-pin connector, and may be used to connect the terminal to communicate with other devices, or to connect a charger to charge the terminal.

[0075] Although not shown, the terminal may also include a flashlight, sensors with different functions, etc., which will not be described in detail here. Part or all of the methods described below may be applied in the following embodiments. Figure 1 in the terminal shown.

[0076] Of course, the polarity determination method of the nonlinear inductance of the motor can also be applied to Figure 2 In the product of server 200 shown. Figure 2 A schematic diagram of the structure of a server is provided, such as Figure 2As shown, the server includes a bus 201, a processor 202, a communication interface 203 and a memory 204. The processor 202, the memory 204 and the communication interface 203 communicate with each other via the bus 201.

[0077] The bus 201 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.

[0078] The processor 202 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0079] The memory 204 may include a volatile memory, such as a random access memory (RAM). The memory 204 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard drive (HDD), or a solid state drive (SSD).

[0080] The memory 204 may be used to store software codes related to the multi-speaker speech recognition method, and the processor 202 may execute the steps of the multi-speaker speech recognition method, and may also schedule other units to implement corresponding functions.

[0081] For details, see Figure 3 The vehicle air conditioning detection method disclosed in the embodiment of the present application may include:

[0082] Step S301: Based on the magnetic saturation effect, positive voltage, 0 voltage, negative voltage, and 0 voltage are injected into the stator d-axis sequentially and cyclically.

[0083] Based on the principle of d-axis stator flux saturation, polarity discrimination can be completed by injecting voltage into the stator d-axis and analyzing the performance of the response current. Therefore, in this scheme, it is first necessary to inject high-frequency voltage into the stator d-axis. During the voltage injection process, in order to make the response current more accurate, a 0 voltage injection link is added to ensure the independence of the current response.

[0084] During the injection process, the voltage signal is injected into the stator d axis in a cycle based on the positive voltage-0 voltage-negative voltage-0 voltage-positive voltage-0 voltage-negative voltage-0 voltage... The positive voltage is U P , negative voltage is U N , U P >0 and U P =-U N .

[0085] Step S302: Obtain the change rate of the response current when a positive voltage is injected into the stator d-axis, and record it as the first current change rate.

[0086] Combined with the previous analysis process, there are two possible identification results. When the injected voltage +u d (U P ) According to the magnetic saturation effect, the inductance becomes smaller and the current response is faster. d (U N ) the inductance becomes larger and the current response becomes slower. When the performance is opposite, that is: the injected voltage +u d (U P ) When the inductance increases due to the magnetic saturation effect, the current response is slow, and the injection of -u d (U N ) the inductance becomes smaller and the current response is faster.

[0087] In this scheme, based on the response speed of the current response, we can reversely deduce With θ r Therefore, it is necessary to obtain the rate of change of the response current when a positive voltage is injected into the stator d-axis, which is recorded as the first current change rate.

[0088] Step S303: Obtain the change rate of the response current when a negative voltage is injected into the stator d-axis, and record it as the second current change rate.

[0089] Step S304: Obtain an estimated value of the rotor angle, recorded as the estimated angle.

[0090] Estimating the rotor angle is an important part of the motor control and closed-loop feedback system. This application can estimate the rotor angle at the current moment through the following methods:

[0091] 1. Use a position sensor

[0092] Use position sensors to directly measure the position of the motor rotor. Common position sensors include photoelectric encoders, magnetic encoders, Hall sensors, etc. These sensors can provide high-precision position feedback and are particularly suitable for closed-loop control systems.

[0093] 2. Back EMF estimation

[0094] The back EMF generated in the motor windings is used to estimate the rotor position. By measuring the voltage and current in the motor windings, combined with a motor model and mathematical algorithms, the rotor position can be inferred.

[0095] 3. Angle Estimator

[0096] The rotor angle is estimated using a mathematical model of the motor and an observer algorithm. This method infers the rotor position through calculation and filtering based on the motor dynamic equations and measurement data.

[0097] 4. Current observation method

[0098] By measuring the current waveform of the motor winding, combined with the motor model and the phase relationship of the phase current, the position of the motor rotor can be inferred. This method is often used for electrical angle identification of induction motors (such as three-phase asynchronous motors).

[0099] 5. Voltage waveform based method

[0100] By analyzing the waveform of the motor drive voltage, combined with the motor parameters and motor model, the position of the motor rotor can be inferred. This method is applicable to some brushless DC motors (BLDC) or permanent magnet synchronous motors (PMSM).

[0101] 6. Switching transient method

[0102] Method description: The switching transient response of the motor drive is used to estimate the position of the motor rotor. The estimated value of the rotor position is derived by analyzing the voltage and current changes during the switching transient.

[0103] 7. Frequency Identification Method

[0104] Based on the frequency characteristics of the motor when it is working, the position of the motor rotor is inferred by analyzing the spectrum of the motor drive signal. This method is suitable for some application scenarios with specific frequency signals.

[0105] 8. Motor rotor angle deviation estimation method

[0106] The measured angle and observed angle of the motor rotor at multiple working points are obtained, the observed angle deviation is calculated, and the actual angle deviation is obtained using the pre-created rotor angle deviation compensation model. This method can effectively compensate for the inaccurate angle observation results caused by the motor parameter deviation.

[0107] Step S305: correcting the estimated angle based on a comparison result between the first current change rate and the second current change rate to obtain a corrected estimated angle.

[0108] In this step, the first current change rate is recorded as The second current change rate is recorded as like This indicates that the current polarity is correct and the estimated angle after correction like This indicates that the current polarity is wrong and the estimated angle needs to be corrected. where i P To inject U P The response current, i N To inject U N The response current at is the estimated angle value after correction.

[0109] Step S306: The resolver measures the rotor position angle, which is recorded as the resolver angle.

[0110] The specific process of measuring the rotor position angle by a resolver mainly involves the working principle of the resolver (resolver for short), signal demodulation, and angle calculation. The following is a detailed description of the process:

[0111] 1. Working principle of rotary transformer

[0112] A resolver is an angle sensor that detects the position of the rotor using the principle of electromagnetic induction. When a high-frequency excitation signal (usually a high-frequency sinusoidal signal emitted by a power device) is applied to the excitation winding of the resolver, the return winding will induce a voltage signal of a certain amplitude and frequency. These voltage signals are in a sine and cosine relationship with the rotor's position angle.

[0113] 2. Signal Demodulation

[0114] The signal output by the resolver is a high-frequency modulated signal, which needs to be demodulated to extract the low-frequency signal containing the rotor position information. The demodulation process usually includes the following steps:

[0115] Filtering: First, the high-frequency modulated signal output by the resolver is filtered to remove the high-frequency carrier component and retain the low-frequency envelope containing the rotor position information.

[0116] Rectification: The filtered signal is then rectified to convert the AC signal into a DC signal for subsequent processing.

[0117] Integration: Finally, the rectified signal is integrated to recover the original low-frequency sine and cosine signals.

[0118] 3. Angle calculation

[0119] After obtaining the low-frequency sine and cosine signals containing the rotor position information, it is necessary to calculate the specific angle of the rotor. This process usually involves the following steps:

[0120] Envelope extraction: First, extract the envelope of the sine and cosine signals from the demodulated signal. This can be achieved by methods such as extreme value method or integration method.

[0121] Inverse tangent solution: Then, the extracted sine and cosine signals are subjected to inverse tangent calculation to obtain the rotor angle value. It should be noted that since the output range of the inverse tangent function is between -π / 2 and π / 2, it may be necessary to perform period expansion or compensation processing of the angle to obtain the complete rotor angle information.

[0122] Angle correction: Due to mechanical installation, manufacturing process and other reasons, the angle measured by the resolver may have a fixed angle difference from the actual rotor position. Therefore, in practical applications, this angle difference needs to be calibrated and corrected to ensure the accuracy of the measurement.

[0123] 4. Software decoding and hardware decoding

[0124] The decoding process of the resolver can be achieved through software decoding or hardware decoding. The software decoding is completed by the motor controller (MCU), which performs envelope extraction, arc tangent solution, phase-locked loop filtering and other calculations based on the sine and cosine signals returned by the resolver to obtain the rotor position information, which is the resolver angle θ in this application. x .

[0125] Step S307: Calculate the initial angle of the rotor based on the resolver angle and the corrected estimated angle.

[0126] Since the initial angle θ has been introduced in the previous article ini Through θ x -θ r Calculate, because the real electrical angle θ r Cannot be obtained directly, the estimated angle needs to be After the estimated angle is corrected based on the comparison result of the first current change rate and the second current change rate, the initial angle of the rotor can be calculated based on the resolver angle and the corrected estimated angle.

[0127] In this embodiment, the calculated rotation angle θ can be x and the corrected estimated angle Substitute into the formula Then the initial angle θ of the rotor is calculated ini .

[0128] The present invention discloses a method for determining the polarity of the nonlinear inductance of a motor. Based on the principle of d-axis stator flux saturation, positive and negative sequence voltages are injected into the stator d-axis, and the polarity is determined by analyzing and comparing the change rates of the corresponding response currents when the positive and negative voltages are injected. The estimated angle is corrected based on the judgment result, and the initial angle of the rotor is calculated based on the corrected estimated angle and the rotor position angle measured by the resolver. The present application corrects the estimated angle based on the judgment result based on the change rate of the response current, thereby ensuring the reliability of the initial angle finally calculated.

[0129] And the above scheme also has the following advantages:

[0130] First, the basic principle of the present invention is relatively mature, concise and reliable, without complicated derivation and calculation;

[0131] Secondly, the current accumulation method is improved by considering the nonlinear characteristics of the inductor, which greatly reduces the impact of sensor measurement errors;

[0132] Finally, the voltage injection method polarity discrimination strategy of the present invention can realize the identification of the motor rotor in a stationary state, is suitable for vehicle-loaded working conditions, and has great engineering application value.

[0133] In the technical solution disclosed in this embodiment, when positive voltage and negative voltage are injected into the stator d-axis sequentially and cyclically based on the magnetic saturation effect, it is necessary to ensure that the injection time of the non-zero voltage is consistent. The present application also sets a first time length t1 and a second time length t2. Based on the first time length t1 and the second time length t2, the injection time lengths of the positive voltage, the negative voltage, and the zero voltage of the positive and negative voltage are limited. Specifically, in the technical solution disclosed in this embodiment, it is: That is, the positive voltage U P The injection time is t: 0≤t≤t1; the positive voltage U P The injection time of the 0 voltage after the injection is completed is t: t1≤t≤t1+t2; the negative voltage U after the 0 voltage injection is completed N Injection time t: t1+t2≤t≤2t1+t2; negative voltage U N The injection time of the 0 voltage after the injection is completed is t: 2t1+t2≤t≤2t1+2t2.

[0134] Considering the nonlinearity of inductance change, only when the current is larger, the inductance change is more obvious, and the response current difference is more obvious at this time, and the judgment result is more reliable. Considering that the current is small and the inductance change is small when the voltage is just injected into the d-axis, the difference in current response when positive electricity is injected and negative voltage is injected is not obvious. In order to improve the accuracy of the judgment, you can wait for a set time and then collect the response current when positive electricity and negative voltage are injected. By integrating the response current, the rate of change of the response current when a positive voltage is injected into the motor winding and the rate of change of the response current when a negative voltage is injected into the motor winding are obtained. That is, in the above scheme, obtaining the rate of change of the response current when a positive voltage is injected into the motor winding includes: after injecting a positive voltage into the motor winding, wait for a set time, and obtain the rate of change of the response current. Obtain the change rate of the response current when a negative voltage is injected into the motor winding, including: after injecting a negative voltage into the motor winding, wait for a set time and then obtain the change rate of the response current

[0135] Wait for a while before proceeding with this application The judgment is an improvement made to address the problems of magnetic saturation effect in engineering applications. Since the current response takes time, when the voltage is just injected, the current is small and cannot cause magnetic saturation, so this section of current data needs to be discarded; after waiting for the set time, as the current increases, the magnetic saturation effect gradually becomes obvious, and the current performance also differs. This moment is used as the start of integration until the voltage injection ends. The reason for analyzing this section of response current is to amplify the differences caused by the magnetic saturation effect and avoid measurement errors due to sensors. Figure 4 As shown, after the voltage is injected, the current difference caused by magnetic saturation is not obvious until the set time (t3), and then the two currents are integrated separately until the integration ends (the end time of integration is t4, that is, the end time of the injected voltage). The areas of the two currents are obtained by integration, and finally the difference is made to determine the size of the current. This measure can maximize the influence of the magnetic saturation effect on the current.

[0136] In the technical solution disclosed in this embodiment, in order to prevent the motor from heating up during the voltage injection process, the application also limits the duration of the entire injection process, that is, the duration of the entire injection process does not exceed the target threshold, and the size of the target threshold satisfies the condition: during the voltage injection process, the temperature change of the motor does not exceed the set temperature. The entire injection process includes positive voltage, 0 voltage, and negative voltage injection. The injection process ends only when no voltage injection is performed. Specifically, in an embodiment disclosed in the present application, the maintenance time of the injection of positive voltage, 0 voltage, and negative voltage is only at the ms level, for example, within 10ms. By limiting the maintenance time of the injection, the maximum response current is limited to about 200A (peak current 400A), and the entire judgment process of continuous injection does not exceed 3s, thereby preventing the motor from heating up.

[0137] This embodiment also discloses a device for determining the polarity of the nonlinear inductance of a motor. For the specific working contents of each unit in the device, please refer to the contents of the above method embodiment.

[0138] The following is a description of a polarity determination device for the nonlinear inductance of a motor provided by an embodiment of the present invention. The polarity determination device for the nonlinear inductance of a motor described below and the polarity determination method for the nonlinear inductance of a motor described above can be referred to each other.

[0139] See also Figure 5 , the polarity discrimination device of the nonlinear inductance of the motor may include:

[0140] The high frequency injection unit 10 is used to sequentially and cyclically inject positive voltage and negative voltage into the stator d-axis based on the magnetic saturation effect, and inject 0 voltage between the positive and negative voltages;

[0141] The response current acquisition unit 20 is used to obtain the change rate of the response current when a positive voltage is injected into the stator d-axis, which is recorded as the first current change rate; and obtain the change rate of the response current when a negative voltage is injected into the stator d-axis, which is recorded as the second current change rate;

[0142] An estimated angle acquisition unit 30 is used to acquire an estimated value of a rotor angle, which is recorded as an estimated angle;

[0143] an estimated angle correction unit 40, configured to correct the estimated angle based on a comparison result of the first current change rate and the second current change rate to obtain a corrected estimated angle;

[0144] A resolver angle measurement unit 50 is used to resolver the rotor position angle, which is recorded as a resolver angle;

[0145] The initial angle calculation unit 60 is used to calculate the initial angle of the rotor based on the resolver angle and the corrected estimated angle.

[0146] The present application also provides an electronic device in an embodiment. Figure 6 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to terminals such as a motor controller, an engine controller, and a driving computer. Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0147] like Figure 6 As shown, the electronic device may include a processing device (such as a central processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603, and the read program is used to implement the polarity discrimination method of the inductor nonlinearity disclosed in any of the above embodiments. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0148] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a memory card, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0149] Also provided in an embodiment of the present application is a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the polarity determination method of the nonlinear inductance of any motor provided in an embodiment of the present application.

[0150] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any method for determining the polarity of the nonlinear inductance of a motor provided in an embodiment of the present application.

[0151] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0152] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0153] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0154] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A method for determining the polarity of nonlinear inductance of a motor. It is characterized in that include: Based on the magnetic saturation effect, positive voltage and negative voltage are sequentially and cyclically injected into the stator d-axis, and 0 voltage is injected between the positive and negative voltages; Obtaining a change rate of a response current when a positive voltage is injected into the stator d-axis, recorded as a first current change rate; Obtaining a change rate of a response current when a negative voltage is injected into the stator d-axis, recorded as a second current change rate; Obtain an estimated value of the rotor angle, recorded as estimated angle; Correcting the estimated angle based on a comparison result of the first current change rate and the second current change rate to obtain a corrected estimated angle; The resolver measures the rotor position angle, recorded as the resolver angle; An initial angle of the rotor is calculated based on the resolver angle and the corrected estimated angle.

2. The method for determining the polarity of the nonlinear inductance of a motor according to claim 1, It is characterized in that Get the rate of change of the current in response to a positive voltage being injected into the motor winding, including: After injecting positive voltage into the motor winding, wait for a set time and obtain the rate of change of the response current; Obtain the rate of change of the response current when a negative voltage is injected into the motor winding, including: After injecting negative voltage into the motor winding, wait for a set time and obtain the rate of change of the response current.

3. The method for determining the polarity of the nonlinear inductance of a motor according to claim 1, It is characterized in that Based on the magnetic saturation effect, positive voltage and negative voltage are injected into the stator d axis sequentially and cyclically, and when 0 voltage is injected between the positive and negative voltages, the injection duration of the positive voltage is t: 0≤t≤t 1 ; The injection time of 0 voltage after the positive voltage injection is completed is t: t 1 ≤t≤t 1 +t 2 ; The injection time of negative voltage after the 0 voltage injection is completed: t 1 +t 2 ≤t≤2t 1 +t 2 ; The injection time of 0 voltage after the negative voltage injection is completed is t: 2t 1 +t 2 ≤t≤2t 1 +2t 2 ; Among them, t 1 and t 2 To set the duration.

4. The method for determining the polarity of the nonlinear inductance of a motor according to claim 1, It is characterized in that Correcting the estimated angle based on a comparison result of the first current change rate and the second current change rate to obtain a corrected estimated angle includes: When the first current change rate is greater than the second current change rate, the corrected estimated angle is equal to the estimated angle; When the first current change rate is not greater than the second current change rate, the corrected estimated angle is equal to the sum of the estimated angle and π.

5. The method for determining the polarity of the nonlinear inductance of a motor according to claim 4, It is characterized in that Calculating an initial angle of the rotor based on the resolver angle and the corrected estimated angle includes: Based on the formula The initial angle θ of the rotor is calculated ini ; Among them, θ x is the rotation angle, is the estimated angle after correction.

6. The method for determining the polarity of the nonlinear inductance of a motor according to claim 1, It is characterized in that Based on the magnetic saturation effect, positive voltage and negative voltage are injected into the stator d-axis sequentially and cyclically, and when 0 voltage is injected between the positive and negative voltages, the duration of the entire injection process does not exceed the target threshold, and the size of the target threshold satisfies the condition: during the voltage injection process, the temperature change of the motor does not exceed the set temperature.

7. A device for determining the polarity of nonlinear inductance of a motor, It is characterized in that include: A high frequency injection unit is used to sequentially and cyclically inject positive voltage and negative voltage into the stator d-axis based on the magnetic saturation effect, and inject 0 voltage between the positive and negative voltages; A response current acquisition unit, used to obtain a change rate of the response current when a positive voltage is injected into the stator d-axis, recorded as a first current change rate; Obtaining a change rate of a response current when a negative voltage is injected into the stator d-axis, recorded as a second current change rate; An estimated angle acquisition unit, used to acquire an estimated value of a rotor angle, recorded as an estimated angle; an estimated angle correction unit, configured to correct the estimated angle based on a comparison result of the first current change rate and the second current change rate to obtain a corrected estimated angle; The resolver angle measurement unit is used to resolver the rotor position angle, which is recorded as the resolver angle; An initial angle calculation unit is used to calculate an initial angle of the rotor based on the resolver angle and the corrected estimated angle.

8. An electronic device, It is characterized in that The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the polarity determination method of the nonlinear inductance of the motor as described in any one of claims 1 to 6.

9. A computer storage medium, It is characterized in that The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the method for determining the polarity of the nonlinear inductance of a motor as described in any one of claims 1 to 6.

10. A motor, It is characterized in that The electronic device comprising the electronic device described in claim 8.

Citation Information

Cited By

  • Brushless wiper motor control method, system and device based on sine and cosine position signals

    CN119945211A

  • Position data acquisition method and device, electronic equipment and storage medium

    CN121297641A