Motor zero position diagnosis method, device, electronic device, readable storage medium, motor and vehicle for synchronous motor
By calculating the error rates of the first and second torque responses of the synchronous motor, the problem that zero-position diagnosis is limited by the motor torque state in the existing technology is solved, and accurate zero-position diagnosis is achieved while maintaining the torque state, thereby improving the motor control accuracy and stability.
Patent Information
- Application Number
- CN202411112126.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-14
AI Technical Summary
In the existing technology, the zero-position diagnosis method for permanent magnet synchronous motors needs to be performed when the motor torque is zero, which cannot meet the diagnosis requirements of maintaining a certain torque in practical applications.
By acquiring the operating parameters of the synchronous motor, calculating the first torque and the second torque, estimating the motor torque using the current signal and power conservation method, calculating the torque response error rate to diagnose the motor's zero-position state, and determining whether the torque response error rate is greater than the reference value to determine the zero-position diagnosis result.
It enables zero-position diagnosis while the motor maintains a certain torque, improving the accuracy and stability of motor control and ensuring efficient and stable motor operation.
Smart Images

Figure CN118677300B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of synchronous motors, and more specifically, to a motor zero-position diagnosis method, device, electronic equipment, readable storage medium, motor, and vehicle for a synchronous motor. Background Art
[0002] With the continuous advancement of industrial technology and the increasing degree of automation, permanent magnet synchronous motors (PMSM) have been widely used in industrial production, daily life, transportation and other fields due to their advantages such as high efficiency, high power density and high torque control accuracy.
[0003] With the deepening of the application of permanent magnet synchronous motors, people's requirements for their control accuracy and stability are also increasing. Among them, the importance of motor zero position diagnosis as a basic link to ensure precise motor control is self-evident. Accurate diagnosis of motor zero position directly affects the torque, speed control accuracy and dynamic performance of the motor, and is the key to ensuring efficient and stable operation of the motor. There are many methods for diagnosing motor zero position in related technologies. However, the above methods need to be performed when the motor torque is zero. This type of method has many limitations in practical applications, and in reality there are objective application scenarios that require zero position diagnosis when the motor is in a torque state.
[0004] Therefore, how to achieve zero-position diagnosis while the motor maintains a certain torque has become a problem that people urgently need to solve. Summary of the invention
[0005] In order to solve the technical problem in the related art that zero-position diagnosis is limited by the motor torque state, the present application provides a method, device, electronic device, readable storage medium, motor and vehicle for zero-position diagnosis of a synchronous motor.
[0006] In a first aspect, an embodiment of the present application provides a motor zero position diagnosis method for a synchronous motor, comprising:
[0007] Obtain the operating parameters of the synchronous motor;
[0008] Calculating a first torque based on the operating parameters, the first torque being an estimated torque of the motor calculated by a current signal calculation method;
[0009] Calculating a second torque based on the operating parameters, where the second torque is an estimated torque of the motor calculated by a power conservation method;
[0010] Calculating a torque response error rate of the synchronous motor according to the first torque and the second torque;
[0011] Determine the torque response error rate. If the torque response error rate is greater than the reference value, determine that the motor zero position diagnosis check has failed. If the torque response error rate is less than or equal to the reference value, repeat the above steps of obtaining the operating parameters of the synchronous motor, calculating the first torque based on the operating parameters, calculating the second torque based on the operating parameters, calculating the torque response error rate, and determining the torque response error rate.
[0012] Optionally, the motor zero position diagnosis method of the synchronous motor further includes:
[0013] After the step of "calculating the first torque based on the operating parameters, the first torque being the estimated torque of the motor calculated by the current signal calculation method" is completed, it is determined whether the absolute value of the first torque is greater than or equal to the first threshold; if the absolute value of the first torque is less than the first threshold, returning to the step of "obtaining the operating parameters of the synchronous motor";
[0014] If the absolute value of the first torque is greater than or equal to the first threshold, the subsequent steps are continued.
[0015] Optionally, the first threshold is equal to 1 Nm.
[0016] Optionally, after executing the step of “obtaining the operating parameters of the synchronous motor”, the method further includes:
[0017] Obtain the rotation speed of the synchronous motor, and determine whether the rotation speed of the synchronous motor is less than a second threshold; if the rotation speed of the synchronous motor is less than the second threshold, return to execute the step of "obtaining the operating parameters of the synchronous motor";
[0018] If the rotation speed of the synchronous motor is greater than or equal to the second threshold, the subsequent steps are continued.
[0019] Optionally, the second threshold is equal to 500 revolutions per minute.
[0020] Optionally, the reference value is 0.2.
[0021] Optionally, the calculation relationship of the first torque is:
[0022] ,
[0023] Among them, T e is the first torque, n p is the number of motor pole pairs, ψ f is the motor flux, i q is the quadrature axis current, i d is the direct axis current, L q is the quadrature-axis inductance, L d is the direct-axis inductor.
[0024] Optionally, the calculation relationship of the second torque is:
[0025] When the first torque T e When greater than or equal to 0,
[0026] ;
[0027] When the first torque T e When it is less than 0,
[0028] ;
[0029] in, is the second torque, U dc is the bus voltage, I dc is the bus current, n rpm is the motor speed, η eff is the motor efficiency.
[0030] Optionally, the torque response error rate also satisfies:
[0031] ,
[0032] in, is the torque response error rate, T e is the first torque, is the second torque.
[0033] In a second aspect, an embodiment of the present application provides a motor zero position diagnosis device for a synchronous motor, which is applied to a motor zero position diagnosis method for a synchronous motor in any of the above technical solutions, including:
[0034] Parameter acquisition module, first torque acquisition module, second torque acquisition module, central control module; the parameter acquisition module is connected to the synchronous motor, the central control module is connected to the parameter acquisition module, the first torque acquisition module, and the second torque acquisition module, wherein,
[0035] A parameter acquisition module is configured to obtain operating parameters of the synchronous motor;
[0036] A first torque acquisition module is configured to acquire a first torque, where the first torque is an estimated torque of the motor calculated by a current signal calculation method;
[0037] A second torque acquisition module is configured to acquire a second torque, where the second torque is an estimated torque of the motor calculated by a power conservation method;
[0038] The central control module is configured to obtain the operating parameters of the synchronous motor from the parameter acquisition module, obtain the first torque from the first torque acquisition module, obtain the second torque from the second torque acquisition module, calculate the torque response error rate according to the first torque and the second torque, and determine whether the torque response error rate is greater than a reference value; if the torque response error rate is greater than the reference value, it is determined that the motor zero position diagnosis check fails; if the error rate is less than or equal to the reference value, the above diagnostic steps are re-executed.
[0039] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0040] processor;
[0041] a memory for storing processor-executable instructions;
[0042] Among them, the processor is configured to execute instructions to implement the synchronous motor zero-position diagnosis method in the above-mentioned first aspect technical solution and any one of its optional solutions.
[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which, when the instructions in the storage medium are executed by a processor, enables the execution of a synchronous motor zero-position diagnosis method as described in the above-mentioned first aspect technical solution and any of its optional solutions.
[0044] In a fifth aspect, an embodiment of the present application provides a motor, including the synchronous motor zero-position diagnostic device in the above-mentioned second aspect technical solution and any one of its optional solutions.
[0045] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising the synchronous motor zero-position diagnostic device in the above-mentioned second aspect technical solution and any one of its optional solutions.
[0046] In the technical solution of the present application, the zero-position state of the motor is diagnosed by obtaining the first torque and the second torque, calculating the torque response error rate, and judging whether the torque response error rate is greater than a reference value. This enables zero-position diagnosis when the motor maintains a certain torque. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.
[0048] Figure 1 A flow chart of a motor zero position diagnosis method for a synchronous motor provided in an embodiment of the present application is shown.
[0049] Figure 2 A motor zero position diagnosis flow chart for adding a first torque determination provided in an embodiment of the present application is shown.
[0050] Figure 3 Another motor zero position diagnosis flowchart for adding a first torque determination provided in an embodiment of the present application is shown.
[0051] Figure 4 A motor zero position diagnosis flow chart for increasing motor speed determination provided in an embodiment of the present application is shown.
[0052] Figure 5 Another motor zero position diagnosis flow chart for increasing motor speed determination provided in an embodiment of the present application is shown.
[0053] Figure 6 The structure diagram of the motor zero position diagnosis device provided in the embodiment of the present application is shown.
[0054] Figure 7 A schematic diagram of the structure of an electronic device for executing a motor zero-position diagnosis method provided in an embodiment of the present application is shown.
[0055] Figure 8 A schematic diagram of operating parameters of a synchronous motor in Example 1 of the present application is shown.
[0056] Fig. 9 A schematic diagram of operating parameters of a synchronous motor in Example 2 of the present application is shown.
[0057] The reference numerals in the figure represent respectively:
[0058] 601: synchronous motor; 602: parameter acquisition module; 603: first torque acquisition module;
[0059] 604: a second torque acquisition module; 605: a central control module;
[0060] 1110: bus; 1120: processor; 1130: transceiver;
[0061] 1140: bus interface; 1150: memory; 1151: operating system;
[0062] 1152: application program; 1160: user interface. DETAILED DESCRIPTION
[0063] In the description of the embodiments of the present invention, those skilled in the art should know that the embodiments of the present invention can be implemented as methods, devices, electronic devices, computer-readable storage media, synchronous motors, and automotive products containing synchronous motors. Therefore, the embodiments of the present invention can be specifically implemented in the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), and a combination of hardware and software. In addition, in some embodiments, the embodiments of the present invention can also be implemented in the form of a computer program product in one or more computer-readable storage media, and the computer-readable storage medium contains computer program code.
[0064] The above-mentioned computer-readable storage medium may adopt any combination of one or more computer-readable storage media. Computer-readable storage media include: electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media include: portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM), flash memories, optical fibers, compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices or any combination of the above. In an embodiment of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device, or device.
[0065] The computer program code contained in the above-mentioned computer-readable storage medium can be transmitted by any appropriate medium, including: wireless, wire, optical cable, radio frequency (RF) or any suitable combination thereof.
[0066] The computer program code for performing the operation of the embodiment of the present invention can be written in assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or in one or more programming languages or a combination thereof, wherein the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and also includes a conventional procedural programming language, such as C language or a similar programming language. The computer program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, and completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer or to an external computer through any type of network, including a local area network (LAN) or a wide area network (WAN).
[0067] The embodiments of the present invention describe the provided methods, devices, and electronic devices through flowcharts and / or block diagrams.
[0068] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer-readable program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified by the boxes in the flowchart and / or block diagram.
[0069] These computer-readable program instructions may also be stored in a computer-readable storage medium that enables a computer or other programmable data processing device to work in a specific manner. In this way, the instructions stored in the computer-readable storage medium produce an instruction device product including functions / operations specified in the blocks in the flowchart and / or block diagram.
[0070] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable data processing apparatus to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0071] The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0072] Figure 1 FIG. 2 is a flow chart showing a method for diagnosing zero position of a synchronous motor provided by an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0073] The operating parameters of the synchronous motor are obtained; the operating parameters include the structural parameters of the motor and the dynamic parameters of the synchronous motor in the operating state, such as: the number of pole pairs of the motor, the magnetic flux of the motor, the quadrature axis current of the motor, the direct axis current of the motor, the quadrature axis inductance of the motor, the direct axis inductance of the motor, the bus voltage of the motor, the bus current of the motor, the motor speed, the motor efficiency, etc. It should be understood that the above parameters are only a list of operating parameters, and other motor parameters that can be used to calculate the estimated torque of the motor are also included in the range of the operating parameters.
[0074] The first torque is calculated based on the operating parameters, and the first torque is the estimated torque of the motor calculated by the method of calculating the current signal; when the current signal is used to estimate the torque of the motor, it mainly depends on the electromagnetic characteristics of the motor and the control theory of the motor. The generation of the motor torque is closely related to its current, magnetic field and structural parameters of the motor. In order to estimate the torque, it is necessary to accurately measure the current of the motor, which is usually achieved by a current sensor installed in the motor controller. The current sensor can measure the motor phase current or the d-axis or q-axis current after a certain transformation (such as Clarke coordinate transformation or Park coordinate transformation), and then the first torque of the synchronous motor can be estimated by obtaining the current value and other necessary motor parameters (such as pole pairs, flux linkage, inductance, etc.). It should be understood that the present application does not limit the specific estimation method of the first torque of the motor. Any estimated torque that can be calculated by the method of calculating the current signal through the motor structural parameters and operating parameters is the first torque described in this application and is within the scope of protection of this application.
[0075] The second torque is calculated based on the operating parameters, and the second torque is the estimated torque of the motor calculated by the method of power conservation; using the method of power conservation to estimate the torque of the motor is an indirect method based on the principle of energy conversion. During the operation of the motor, the input electrical energy is mainly converted into mechanical energy (i.e., the product of torque and speed) and heat energy generated by resistance, friction, etc. In an ideal situation or a simplified model, only the conversion of electrical energy to mechanical energy is concerned. The input power (electrical power) of the motor is equal to its output power (mechanical power) plus the power loss. Through experiments or estimates, the efficiency of the synchronous motor can be calculated, so that the second torque can be estimated by the motor speed, voltage, current and other parameters at the same time point. It should be understood that the present application is not limited to a specific method for calculating the second torque, and other motor estimated torques calculated by the method of power conservation are within the scope of protection of the present application.
[0076] The torque response error rate of the synchronous motor is calculated according to the first torque and the second torque; after the first torque and the second torque are calculated, the torque response error rate is further calculated. Preferably, the acquisition time of the relevant operating parameters used to calculate the first torque and the second torque is the same time. It should be understood that the same time is a time period with an interval of less than 20 milliseconds, rather than a time point.
[0077] Determine the torque response error rate. If the torque response error rate is greater than the reference value, determine that the motor zero position diagnosis check has failed. If the torque response error rate is less than or equal to the reference value, repeat the above steps of obtaining the operating parameters of the synchronous motor, calculating the first torque based on the operating parameters, calculating the second torque based on the operating parameters, calculating the torque response error rate, and determining the torque response error rate.
[0078] When the zero angular position of the synchronous motor deviates, the error in the motor electrical angle will cause errors in the calculation of the direct-axis current and the quadrature-axis current, thereby causing a certain error between the estimated first torque value and the actual torque value of the motor. Therefore, the torque response error rate can be used to determine whether the motor has a zero-position deviation.
[0079] In some embodiments, optionally, Figure 2 The motor zero position diagnosis flow chart with the first torque determination is shown as follows: Figure 2 As shown, the motor zero position diagnosis method of the synchronous motor also includes:
[0080] After the step of "calculating the first torque based on the operating parameters, the first torque being the estimated torque of the motor calculated by the current signal calculation method" is completed, it is determined whether the absolute value of the first torque is greater than or equal to the first threshold; if the absolute value of the first torque is less than the first threshold, returning to the step of "obtaining the operating parameters of the synchronous motor";
[0081] If the absolute value of the first torque is greater than or equal to the first threshold, the subsequent steps are continued.
[0082] Figure 3 Another motor zero position diagnosis flow chart with an additional first torque determination is shown. Figure 2 In comparison, the difference lies in that the step of calculating and determining whether the first torque is less than the first threshold value can be executed after the step of calculating the second torque is completed.
[0083] In some embodiments, optionally, the first threshold is equal to 1 Nm. When calculating the torque response error rate, the first torque will be used as the denominator item, so when the first threshold is greater than or equal to 1, the accuracy of the torque response error rate can be effectively guaranteed.
[0084] In some embodiments, optionally, after executing the step of “obtaining the operating parameters of the synchronous motor”, the method further includes:
[0085] Obtain the rotation speed of the synchronous motor, and determine whether the rotation speed of the synchronous motor is less than a second threshold; if the rotation speed of the synchronous motor is less than the second threshold, return to execute the step of "obtaining the operating parameters of the synchronous motor";
[0086] If the rotation speed of the synchronous motor is greater than or equal to the second threshold, the subsequent steps are continued.
[0087] like Figure 4As shown, the step of "determining whether the speed of the synchronous motor is less than the second threshold value" is performed after the step of calculating the first torque and the second torque is completed. It should be understood that the speed of the synchronous motor can be obtained only after the step of "obtaining the operating parameters of the synchronous motor" is completed. Therefore, as long as the above judgment step is performed after the step of "obtaining the operating parameters of the synchronous motor" and before the step of "calculating the torque response error rate of the synchronous motor based on the first torque and the second torque", it is within the protection scope of this application. Figure 5 As shown, the step of "determining whether the rotation speed of the synchronous motor is less than the second threshold value" is executed immediately after the step of "obtaining the operating parameters of the synchronous motor" is completed.
[0088] Preferably, the second threshold is equal to 500 rpm. Since the motor estimated torque calculated according to the power conservation method has low accuracy at low speeds, setting the second threshold to 500 rpm is beneficial to improving the diagnostic accuracy of the zero position diagnosis method in the present application. Preferably, the reference value is 0.2.
[0089] In some embodiments, optionally, the calculation relationship of the first torque is:
[0090] ; (1)
[0091] In formula (1), T e is the first torque, n p is the number of motor pole pairs, ψ f is the motor flux, i q is the quadrature axis current, i d is the direct axis current, L q is the quadrature-axis inductance, L d is the direct-axis inductor.
[0092] First, use the current sensor to measure the three-phase current of the motor in real time, and then transform the three-phase current from the ABC coordinate system (natural coordinate system) to the dq0 coordinate system (synchronous rotating coordinate system). The coordinate system transformation includes Clarke transformation (from ABC coordinate system to αβ0 coordinate system) and Park transformation (from αβ0 coordinate system to dq0 coordinate system). In the dq0 coordinate system, the d-axis is aligned with the magnetic field direction of the permanent magnet, and the q-axis leads the d-axis by 90 degrees. After the coordinate transformation, the current components i on the d-axis (direct axis) and the q-axis (cross axis) are obtained. d with i q , number of motor pole pairs n p 、Motor flux ψ f , quadrature axis inductance L q , direct axis inductance L d is the motor system parameter. Substituting the above values into the formula, the first torque T can be calculated. e The value of .
[0093] In some embodiments, optionally, the calculation relationship of the second torque is:
[0094] When the first torque T e When greater than or equal to 0,
[0095] ; (2)
[0096] When the first torque T e When it is less than 0,
[0097] ; (3)
[0098] In formula (2) and formula (3), is the second torque, U dc is the bus voltage, I dc is the bus current, n rpm is the motor speed, η eff is the motor efficiency. The estimated torque of the synchronous motor is calculated based on the power conservation method, which is based on the principle that the motor input power is equal to the output power (ignoring losses). This method mainly relies on the motor's voltage, current, speed and other parameters for calculation. The electromagnetic power of the synchronous motor (i.e., input power minus losses) is roughly equal to its mechanical power, where the electromagnetic power can be calculated through the motor bus voltage U dc , bus current I dc and motor efficiency η eff To calculate, the mechanical power is related to the motor torque and motor speed n rpm When the first torque T e When the first torque T is greater than or equal to 0, the above value is substituted into formula (2) to calculate the value of the second torque. e When it is less than 0, the above value is substituted into formula (3) to calculate the value of the second torque.
[0099] In some embodiments, optionally, the torque response error rate also satisfies:
[0100] ; (4)
[0101] In formula (4), is the torque response error rate, T e is the first torque, is the second torque.
[0102] Figure 6 A motor zero position diagnosis device for a synchronous motor provided by an embodiment of the present invention is shown, which is applied to a motor zero position diagnosis method for a synchronous motor in any of the above technical solutions, comprising:
[0103] Parameter acquisition module 602, first torque acquisition module 603, second torque acquisition module 604, central control module 605; parameter acquisition module 602 is connected to synchronous motor 601, central control module 605 is connected to parameter acquisition module 602, first torque acquisition module 603, second torque acquisition module 604, wherein,
[0104] The parameter acquisition module 602 is configured to obtain the operating parameters of the synchronous motor 601;
[0105] A first torque acquisition module 603 is configured to acquire a first torque, where the first torque is an estimated torque of the motor calculated by a current signal calculation method;
[0106] A second torque acquisition module 604 is configured to acquire a second torque, where the second torque is an estimated torque of the motor calculated by a power conservation method;
[0107] The central control module 605 is configured to obtain the operating parameters of the synchronous motor 601 from the parameter acquisition module 602, obtain the first torque from the first torque acquisition module 603, and obtain the second torque from the second torque acquisition module 604. In the central control module 605, the torque response error rate is calculated based on the first torque and the second torque, and it is determined whether the torque response error rate is greater than a reference value; if the torque response error rate is greater than the reference value, it is determined that the motor zero position diagnosis check fails; if the error rate is less than or equal to the reference value, the above diagnostic steps are re-executed.
[0108] Preferably, the first torque acquisition module 603 and the second torque acquisition module 604 are one module, and the same module function is responsible for the acquisition tasks of the first torque and the second torque.
[0109] In addition, an embodiment of the present invention further provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of the above-mentioned embodiment of the motor zero position diagnosis method for the synchronous motor is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0110] For details, see Figure 7 As shown, an embodiment of the present invention further provides an electronic device, which includes a bus 1110 , a processor 1120 , a transceiver 1130 , a bus interface 1140 , a memory 1150 and a user interface 1160 .
[0111] In the embodiment of the present invention, the electronic device further includes: a computer program stored in the memory 1150 and executable on the processor 1120, and when the computer program is executed by the processor 1120, the following steps are implemented:
[0112] Obtain the operating parameters of the synchronous motor;
[0113] Calculating a first torque based on the operating parameters, the first torque being an estimated torque of the motor calculated by a current signal calculation method;
[0114] Calculating a second torque based on the operating parameters, where the second torque is an estimated torque of the motor calculated by a power conservation method;
[0115] Calculating a torque response error rate of the synchronous motor according to the first torque and the second torque;
[0116] Determine the torque response error rate. If the torque response error rate is greater than the reference value, determine that the motor zero position diagnosis check has failed. If the torque response error rate is less than or equal to the reference value, repeat the above steps of obtaining the operating parameters of the synchronous motor, calculating the first torque based on the operating parameters, calculating the second torque based on the operating parameters, calculating the torque response error rate, and determining the torque response error rate.
[0117] Optionally, when the computer program is executed by the processor 1120 to perform the first torque verification step, the processor specifically implements the following steps:
[0118] After the step of "calculating the first torque based on the operating parameters, the first torque being the estimated torque of the motor calculated by the current signal calculation method" is completed, it is determined whether the absolute value of the first torque is greater than or equal to the first threshold; if the absolute value of the first torque is less than the first threshold, returning to the step of "obtaining the operating parameters of the synchronous motor";
[0119] If the absolute value of the first torque is greater than or equal to the first threshold, the subsequent steps are continued.
[0120] Optionally, when the computer program is executed by the processor 1120 to check the speed of the synchronous motor, the processor specifically implements the following steps:
[0121] Obtain the rotation speed of the synchronous motor, and determine whether the rotation speed of the synchronous motor is less than a second threshold; if the rotation speed of the synchronous motor is less than the second threshold, return to execute the step of "obtaining the operating parameters of the synchronous motor";
[0122] If the rotation speed of the synchronous motor is greater than or equal to the second threshold, the subsequent steps are continued.
[0123] The transceiver 1130 is configured to receive and send data under the control of the processor 1120 .
[0124] In an embodiment of the present invention, a bus architecture (represented by bus 1110 ) may include any number of interconnected buses and bridges, and bus 1110 connects various circuits including one or more processors represented by processor 1120 and a memory represented by memory 1150 .
[0125] Bus 1110 represents one or more of any of several types of bus structures, including a memory bus and memory controller, a peripheral bus, an Accelerate Graphical Port (AGP), a processor, or a local bus using any of a variety of bus architectures. By way of example and not limitation, such architectures include: Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA), Peripheral Component Interconnect (PCI) bus.
[0126] The processor 1120 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processors include: a general processor, a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), a programmable logic array (PLA), a microcontroller unit (MCU) or other programmable logic devices, discrete gates, transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. For example, the processor may be a single-core processor or a multi-core processor, and the processor may be integrated into a single chip or located on multiple different chips.
[0127] Processor 1120 can be a microprocessor or any conventional processor. The method steps disclosed in the embodiment of the present invention can be directly executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a readable storage medium known in the art, such as a random access memory (RAM), a flash memory (FlashMemory), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a register, etc. The readable storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0128] The bus 1110 may also connect various other circuits such as peripheral devices, voltage regulators or power management circuits, and the bus interface 1140 provides an interface between the bus 1110 and the transceiver 1130, which are well known in the art. Therefore, the embodiments of the present invention will not be further described.
[0129] The transceiver 1130 may be one element or multiple elements, such as multiple receivers and transmitters, and provides a unit for communicating with various other devices on a transmission medium. For example, the transceiver 1130 receives external data from other devices, and the transceiver 1130 is used to send data processed by the processor 1120 to other devices. Depending on the nature of the computer system, a user interface 1160 may also be provided, such as a touch screen, a physical keyboard, a display, a mouse, a speaker, a microphone, a trackball, a joystick, and a stylus.
[0130] It should be understood that in an embodiment of the present invention, the memory 1150 may further include a memory remotely arranged relative to the processor 1120, and these remotely arranged memories may be connected to the server through a network. One or more parts of the above-mentioned network may be an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless local area network (WLAN), a wide area network (WAN), a wireless wide area network (WWAN), a metropolitan area network (MAN), the Internet, a public switched telephone network (PSTN), a plain old telephone service network (POTS), a cellular telephone network, a wireless network, a wireless fidelity (Wi-Fi) network, and a combination of two or more of the above-mentioned networks. For example, the cellular telephone network and the wireless network can be a Global System for Mobile Communications (GSM) system, a Code Division Multiple Access (CDMA) system, a Worldwide Interoperability for Microwave Access (WiMAX) system, a General Packet Radio Service (GPRS) system, a Wideband Code Division Multiple Access (WCDMA) system, a Long Term Evolution (LTE) system, a LTE Frequency Division Duplex (FDD) system, a LTE Time Division Duplex (TDD) system, an Advanced Long Term Evolution (LTE-A) system, a Universal Mobile Telecommunications (UMTS) system, an Enhanced Mobile Broadband (eMBB) system, a Massive Machine Type of Communication (mMTC) system, an Ultra Reliable Low Latency Communications (uRLLC) system, etc.
[0131] It should be understood that the memory 1150 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory includes: a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0132] Volatile memory may include random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 1150 of the electronic device described in the embodiment of the present invention includes but is not limited to the above and any other suitable types of memory.
[0133] In the embodiment of the present invention, the memory 1150 stores the following elements of the operating system 1151 and the application program 1152: executable modules, data structures, or subsets thereof, or extended sets thereof.
[0134] Specifically, the operating system 1151 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 1152 includes various applications, such as a media player (Media Player) and a browser (Browser), which are used to implement various application services. The program for implementing the method of the embodiment of the present invention may be included in the application 1152. The application 1152 includes applets, objects, components, logic, data structures, and other computer system executable instructions that perform specific tasks or implement specific abstract data types.
[0135] In addition, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned motor zero-position diagnosis method embodiment of the synchronous motor are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0136] Computer readable storage media include: transient and non-transient, permanent and non-permanent, removable and non-removable media, which are tangible devices that can retain and store instructions for use by instruction execution devices. Computer readable storage media include: electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, and any suitable combination of the above. Computer readable storage media include: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassette storage, magnetic tape disk storage or other magnetic storage devices, memory sticks, mechanical encoding devices (such as punched cards or raised structures in grooves with instructions recorded thereon) or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined in the embodiments of the present invention, computer-readable storage media do not include temporary signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (such as light pulses passing through fiber optic cables), or electrical signals transmitted through wires.
[0137] In the several embodiments provided in the present application, it should be understood that the disclosed devices, electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0138] 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, and may be located in one location or distributed on multiple network units. Some or all of the units may be selected according to actual needs to solve the problem to be solved by the embodiments of the present invention.
[0139] 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.
[0140] 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 embodiment of the present invention is essentially 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 program product, and the computer program product is stored in a storage medium, including several instructions for a computer device (including: a personal computer, a server, a data center or other network device) to perform all or part of the steps of the method described in each embodiment of the present invention. The above-mentioned storage medium includes various media that can store program codes as listed above.
[0141] In addition, an embodiment of the present invention provides a motor, including a computer program. When the computer program is executed by a processor, it implements the various processes of the above-mentioned motor zero position diagnosis method embodiment of the synchronous motor and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0142] In addition, an embodiment of the present invention provides a vehicle, including a computer program, which, when executed by a processor, implements the various processes of the above-mentioned motor zero-position diagnosis method embodiment of the synchronous motor and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0143] Embodiment 1:
[0144] like Figure 8 As shown, the synchronous motor operating parameters are obtained, specifically:
[0145] Number of electrode pairs: n p =4;
[0146] Motor flux: ψ f =0.0064Wb;
[0147] Cross-axis current: i q =-262.0A;
[0148] Direct axis current: i d =0A;
[0149] Cross-axis inductance: L q =0.000018H;
[0150] Direct axis inductance: L d =0.000018H;
[0151] Bus voltage: U dc =48.3V;
[0152] Bus current: I dc =-34.0A;
[0153] Motor efficiency: η eff =0.8;
[0154] Motor speed: n rpm =2000;
[0155] Substitute the above values into formula (1) to calculate the first torque T e :
[0156] T e =1.5×4×[0.0064×(-262)+(0.000018-0.000018)×0×(-262)×0]
[0157] ≈-10.1Nm;
[0158] Since the first torque T e Substituting the above values into formula (3), the second torque is calculated :
[0159] ;
[0160] Substitute the calculated values of the first torque and the second torque into formula (4) to calculate the torque response error rate:
[0161] ;
[0162] Torque response error rate If it is less than the first threshold value 1, the diagnosis is passed.
[0163] Embodiment 2:
[0164] like Fig. 9 As shown, the synchronous motor operating parameters are obtained, specifically:
[0165] Number of electrode pairs: n p =4;
[0166] Motor flux: ψ f =0.0064Wb;
[0167] Cross-axis current: i q =-256.8A;
[0168] Direct axis current: i d =0A;
[0169] Cross-axis inductance: L q =0.000018H;
[0170] Direct axis inductance: L d =0.000018H;
[0171] Bus voltage: U dc =47.3V;
[0172] Bus current: I dc =8.0A;
[0173] Motor efficiency: η eff =0.8;
[0174] Motor speed: n rpm =2000;
[0175] Substitute the above values into formula (1) to calculate the first torque T e :
[0176] T e =1.5×4×[0.0064×(-256.8)+(0.000018-0.000018)×0×(-256.8)×0]
[0177] ≈-9.9Nm;
[0178] Since the first torque T e Substituting the above values into formula (3), the second torque is calculated :
[0179] ;
[0180] Substitute the calculated values of the first torque and the second torque into formula (4) to calculate the torque response error rate:
[0181] ;
[0182] Torque response error rate If it is greater than the first threshold 1, the diagnosis fails.
[0183] The above is only a specific implementation of the embodiment of the present invention, but the protection scope of the embodiment of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the embodiment of the present invention, which should be included in the protection scope of the embodiment of the present invention. Therefore, the protection scope of the embodiment of the present invention should be based on the protection scope of the claims.
Claims
1. A motor zero position diagnosis method for a synchronous motor, It is characterized in that include: Obtain the operating parameters of the synchronous motor; Acquire the rotation speed of the synchronous motor, and determine whether the rotation speed of the synchronous motor is less than a second threshold; If the speed of the synchronous motor is less than the second threshold, return to the step of obtaining the operating parameters of the synchronous motor; if the speed of the synchronous motor is greater than or equal to the second threshold, continue to perform subsequent steps; wherein the second threshold is equal to 500 rpm; A first torque is calculated based on the operating parameters, where the first torque is an estimated torque of the motor calculated by a current signal calculation method; the calculation relationship of the first torque is: , Among them, T e is the first torque, n p is the number of motor pole pairs, ψ f is the motor flux, i q is the quadrature axis current, i d is the direct axis current, L q is the quadrature-axis inductance, L d is the direct-axis inductance; Determine whether the absolute value of the first torque is greater than or equal to a first threshold; if the absolute value of the first torque is less than the first threshold, return to the step of obtaining the operating parameters of the synchronous motor; A second torque is calculated based on the operating parameters, where the second torque is an estimated torque of the motor calculated by a power conservation method; the calculation relationship of the second torque is: When the first torque is greater than or equal to 0, , When the first torque is less than 0, , in, is the second torque, U dc is the bus voltage, I dc is the bus current, n rpm is the motor speed, η eff is the motor efficiency; Calculating a torque response error rate of the synchronous motor according to the first torque and the second torque; The torque response error rate satisfies: , in, is the torque response error rate, T e is the first torque, is the second torque; Determine the torque response error rate. If the torque response error rate is greater than a reference value, determine that the motor zero position diagnostic check has failed. If the torque response error rate is less than or equal to the reference value, repeat the steps of obtaining the operating parameters of the synchronous motor, calculating the first torque based on the operating parameters, calculating the second torque based on the operating parameters, calculating the torque response error rate, and determining the torque response error rate.
2. The motor zero position diagnosis method according to claim 1, It is characterized in that The first threshold is equal to 1 Nm.
3. The motor zero position diagnosis method according to any one of claims 1 to 2, It is characterized in that The reference value is 0.
2.
4. A motor zero position diagnosis device for a synchronous motor, applied to the motor zero position diagnosis method for a synchronous motor according to any one of claims 1 to 3, It is characterized in that include: A parameter acquisition module, a first torque acquisition module, a second torque acquisition module, and a central control module; the parameter acquisition module is connected to the synchronous motor, and the central control module is connected to the parameter acquisition module, the first torque acquisition module, and the second torque acquisition module, wherein: A parameter acquisition module is configured to obtain operating parameters of the synchronous motor; A first torque acquisition module is configured to acquire a first torque, where the first torque is an estimated torque of the motor calculated by a current signal calculation method; A second torque acquisition module is configured to acquire a second torque, where the second torque is an estimated torque of the motor calculated by a power conservation method; The central control module is configured to obtain the operating parameters of the synchronous motor from the parameter acquisition module, obtain the first torque from the first torque acquisition module, obtain the second torque from the second torque acquisition module, calculate the torque response error rate according to the first torque and the second torque, and determine whether the torque response error rate is greater than a reference value; if the torque response error rate is greater than the reference value, determine that the motor zero position diagnosis check fails; if the error rate is less than or equal to the reference value, re-execute the steps of obtaining the operating parameters of the synchronous motor, calculating the first torque based on the operating parameters, calculating the second torque based on the operating parameters, calculating the torque response error rate and determining the torque response error rate.
5. An electronic device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the instructions to implement the motor zero-position diagnosis method for a synchronous motor according to any one of claims 1 to 3.
6. A computer-readable storage medium, It is characterized in that When the instructions in the storage medium are executed by a processor, the motor zero-position diagnosis method for a synchronous motor according to any one of claims 1 to 3 can be performed.
7. A motor, It is characterized in that It includes the motor zero position diagnostic device for a synchronous motor as described in claim 4.
8. A vehicle, It is characterized in that It includes the motor zero position diagnostic device for a synchronous motor as described in claim 4.
