Motor control method and device, storage medium and processor

By using the superposition method of static coordinate system and rotating high-frequency voltage signal in electric vehicles, the three-phase current signal of the motor is detected to determine the rotation speed and current signal, and the operating parameters of the motor are adjusted, which solves the problem that electric vehicles cannot drive safely at low speed when the resolver fails. problem, achieving high-precision rotary transformer-free motor control.

CN118694246APending Publication Date: 2024-09-24ZHUHAI GUANGTONG AUTOMOBILE +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410701350.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

When the resolver fails, the electric vehicle cannot safely drive to the repair location at low speed, resulting in traffic jams and the vehicle being unable to provide limp power.

Method used

By acquiring the fundamental voltage signal in the stationary coordinate system and the preset rotating high-frequency voltage signal, a voltage superposition signal is generated and applied to the three-phase windings of the motor, and the three-phase current signal is detected to determine the estimated speed and low-frequency current signal, thereby generating The target control instruction adjusts the motor operating parameters to achieve motor control without a rotary transformer.

Benefits of technology

It achieves high control accuracy for low-speed driving when the motor fails, avoids the need to use a resolver to obtain rotor position and speed information, and ensures that the car can safely drive to the repair site at low speed without blocking traffic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694246A
    Figure CN118694246A
Patent Text Reader

Abstract

The invention discloses a motor control method and device, a storage medium and a processor. The method comprises the steps that a first voltage signal is acquired, and the first voltage signal is a fundamental wave voltage signal under a static coordinate system; acquiring a preset rotating high-frequency voltage signal; generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal; applying the voltage superposition signal to a three-phase winding of the motor, and detecting to obtain a three-phase current signal of the motor; determining an estimated rotating speed signal of the motor based on the three-phase current signal; determining a first current signal based on the three-phase current signal, wherein the first current signal is a low-frequency current signal in a synchronous rotating coordinate system; generating a target control instruction based on the estimated rotating speed signal and the first current signal; and adjusting working parameters of the motor based on the target control instruction. The technical problem that in the prior art, a motor cannot provide limping power for a vehicle when a rotary transformer breaks down is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor control technology, and in particular to a motor control method, a control device, a storage medium and a processor. Background Art

[0002] When an electric vehicle breaks down, it is hoped that the vehicle can be moved to the maintenance site as safely as possible to avoid affecting road traffic and vehicle maintenance. Electric vehicles mainly use permanent magnet synchronous motors. In order to achieve high-performance permanent magnet synchronous motor vector control, a rotary transformer is generally used to obtain accurate motor rotor position and speed information. Usually, when a rotary transformer failure occurs in the motor, it will be stopped according to the highest fault level, causing the vehicle to break down and affect road traffic. How to provide a motor control method without a rotary transformer with high control accuracy at low speed, so that electric vehicles can drive safely and reliably at low speed to the maintenance site when a failure occurs, has become a technical problem that urgently needs to be solved in the industry.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a control method, a control device, a storage medium and a processor of a motor, so as to at least solve the technical problem in the prior art that the motor cannot provide limp home power for the vehicle when the rotary transformer fails.

[0005] According to one aspect of an embodiment of the present invention, a method for controlling a motor is provided, the method comprising: obtaining a first voltage signal, the first voltage signal being a fundamental voltage signal in a stationary coordinate system; obtaining a preset rotating high-frequency voltage signal; generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal; applying the voltage superposition signal to the three-phase winding of the motor to detect and obtain a three-phase current signal of the motor; determining an estimated speed signal of the motor based on the three-phase current signal; determining a first current signal based on the three-phase current signal, the first current signal being a low-frequency current signal in a synchronously rotating coordinate system; generating a target control instruction based on the estimated speed signal and the first current signal; and adjusting the operating parameters of the motor based on the target control instruction, the operating parameters comprising at least one of the following: actual speed, torque.

[0006] Optionally, obtaining the first voltage signal includes: obtaining a second voltage signal, where the second voltage signal is a fundamental voltage signal in a synchronously rotating coordinate system; and generating the first voltage signal based on the second voltage signal.

[0007] Optionally, generating the first voltage signal based on the second voltage signal includes: performing orthogonal-to-alternating conversion on the second voltage signal to obtain the first voltage signal.

[0008] Optionally, generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal includes: summing the first voltage signal and the rotating high-frequency voltage signal to obtain the voltage superposition signal.

[0009] Optionally, determining the estimated speed signal of the motor based on the three-phase current signal includes: performing coordinate transformation on the three-phase current signal to obtain a second current signal, the second current signal being a two-phase stator current in a stationary coordinate system; performing high-frequency filtering on the two-phase stator current to obtain a high-frequency response current signal; filtering out the positive-sequence current component of the high-frequency response current signal to obtain a negative-sequence high-frequency current component; performing heterodyne processing on the negative-sequence high-frequency current component to obtain a position deviation signal; and determining the estimated speed signal based on the position deviation signal.

[0010] Optionally, determining the first current signal based on the three-phase current signal includes: performing coordinate transformation on the three-phase current signal to obtain a second current signal, the second current signal being a two-phase stator current in a stationary coordinate system; performing low-frequency filtering on the two-phase stator current to obtain a low-frequency response current signal; and performing AC-DC conversion on the low-frequency response current signal to obtain the first current signal.

[0011] Optionally, a target control instruction is generated based on the estimated speed signal and the first current signal, including: inputting the estimated speed signal into the speed loop for PI processing to obtain a speed loop response signal; inputting the first current signal into the current loop for PI processing to obtain a current loop response signal; and generating the target control instruction based on the speed loop response signal and the current loop response signal.

[0012] According to another aspect of an embodiment of the present invention, a control device for a motor is also provided, including: a first acquisition module, used to acquire a first voltage signal, the first voltage signal being a fundamental voltage signal in a stationary coordinate system; a second acquisition module, used to acquire a preset rotating high-frequency voltage signal; a first generation module, used to generate a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal; a detection module, used to apply the voltage superposition signal to the three-phase winding of the motor, and detect the three-phase current signal of the motor; a first determination module, used to determine an estimated speed signal of the motor based on the three-phase current signal; a second determination module, used to determine a first current signal based on the three-phase current signal, the first current signal being a low-frequency current signal in a synchronously rotating coordinate system; a second generation module, used to generate a target control instruction based on the estimated speed signal and the first current signal; a control module, used to adjust the working parameters of the motor based on the target control instruction, the working parameters including at least one of the following: actual speed, torque.

[0013] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above method when running.

[0014] According to another aspect of an embodiment of the present invention, a vehicle is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method through the computer program.

[0015] In an embodiment of the present invention, a voltage superposition signal is generated based on a first voltage signal and a rotating high-frequency voltage signal, and a three-phase current signal of the motor is detected. By determining an estimated speed signal of the motor based on the three-phase current signal and determining the first current signal based on the three-phase current signal, the purpose of adjusting the working parameters of the motor based on the estimated speed signal and the first current signal is achieved, thereby achieving the technical effect of providing a motor control method without a rotating transformer with very high control accuracy. There is no need to use a rotating transformer to obtain accurate motor rotor position and speed information, thereby solving the technical problem in the prior art that the motor cannot provide limping power for the vehicle when the rotating transformer fails. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0017] Figure 1 is a hardware structure block diagram of a computer terminal of a motor control method according to one optional embodiment of the present invention;

[0018] Figure 2 is a flow chart of a method for controlling a motor according to one optional embodiment of the present invention;

[0019] Figure 3 is a flow chart of a method for controlling a motor according to one optional embodiment of the present invention;

[0020] Figure 4 It is a structural block diagram of a limp home control system according to one optional embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] According to an embodiment of the present invention, a method embodiment of a motor control method is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal (or mobile device) for implementing a motor control method. Figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, ..., 102n in the figure) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0025] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As involved in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0026] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the motor control method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the motor control method described above. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0027] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0028] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0029] It should be noted that, in some optional embodiments, the above Figure 1 The computer device (or mobile device) shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the above-described computer device (or mobile device).

[0030] The dq-axis coordinate system and the stationary coordinate system are two commonly used coordinate systems, which are essential for simplifying the mathematical model of the motor and improving the performance of the control strategy.

[0031] The stationary coordinate system, also known as the αβ coordinate system, is a two-dimensional rectangular coordinate system established on the stator side of the motor. In this coordinate system, the α axis and the β axis are perpendicular to each other and fixed, corresponding to the physical structure of the motor. The stationary coordinate system is usually used to convert the three-phase current or voltage of the motor (usually asymmetric three-phase variables) into two orthogonal components, which can simplify the mathematical processing of the motor model. The conversion from the three-phase coordinate system to the stationary αβ coordinate system can be achieved using the Clarke transformation.

[0032] The dq-axis coordinate system, also known as the rotating coordinate system or synchronous rotating coordinate system, is a coordinate system that rotates relative to the motor rotor, in which the d-axis and q-axis are perpendicular to each other. In a permanent magnet synchronous motor (PMSM), the d-axis is usually aligned with the magnetic pole axis of the permanent magnets of the rotor; while in an induction motor, the d-axis corresponds to the direction of the rotor magnetic field. This coordinate system rotates as the motor rotor rotates, so the dynamic performance of the motor can be expressed as a DC quantity in the dq-axis coordinate system, greatly simplifying the control algorithm of the motor. The conversion from the stationary αβ coordinate system to the rotating dq-axis coordinate system can be achieved using the Park transform.

[0033] When an electric vehicle has a motor resolver failure, it will generally stop driving according to the highest fault level, and the vehicle will break down and cause traffic jams. The limp home control method of the present invention can automatically switch to a speed sensorless limp home control mode without powering off and restarting when a resolver failure occurs in the vehicle; common permanent magnet synchronous motor speed sensorless control methods include: back-EMF method, sliding mode observer method, extended Kalman filter method, interference observer method, etc. The problem with these methods is that in the low-speed section of the motor, due to the small amplitude of the back-EMF, the signal-to-noise ratio of the useful signal is very low, and it is usually difficult to extract, resulting in failure to detect the rotor position and speed.

[0034] When an electric vehicle breaks down, it needs to travel safely and reliably at a low speed to a repair site, so it needs to have high control accuracy at low speed. The limp home control method of the present invention superimposes a high-frequency rotating voltage signal that is significantly different from the fundamental wave signal onto the fundamental wave signal, and obtains the motor rotor position and speed estimation value through corresponding algorithm processing, thereby realizing the motor control without a rotary transformer at low speed. In this control mode, the car travels at a low speed to the repair site to ensure that it does not hinder traffic;

[0035] Under the above operating environment, this application provides Figure 2The control method of the motor shown. Figure 2 is a flow chart of a method for controlling a motor according to an embodiment of the present invention.

[0036] The control methods of the motor include:

[0037] Step S10, obtaining a first voltage signal, where the first voltage signal is a fundamental voltage signal in a stationary coordinate system;

[0038] Step S20, obtaining a preset rotating high-frequency voltage signal;

[0039] Step S30, generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal;

[0040] Step S40, applying the voltage superposition signal to the three-phase winding of the motor to detect and obtain the three-phase current signal of the motor;

[0041] Step S50, determining an estimated speed signal of the motor based on the three-phase current signal;

[0042] Step S60, determining a first current signal based on the three-phase current signal, the first current signal being a low-frequency current signal in a synchronous rotating coordinate system;

[0043] Step S70, generating a target control instruction based on the estimated speed signal and the first current signal;

[0044] Step S80: adjusting the working parameters of the motor based on the target control instruction, where the working parameters include at least one of the following: actual speed and torque.

[0045] In an embodiment of the present invention, a voltage superposition signal is generated based on a first voltage signal and a rotating high-frequency voltage signal, and a three-phase current signal of the motor is detected. By determining the estimated speed signal of the motor based on the three-phase current signal and determining the first current signal based on the three-phase current signal, the purpose of adjusting the working parameters of the motor based on the estimated speed signal and the first current signal is achieved, thereby achieving the technical effect of providing a motor control method without a rotary transformer with very high control accuracy, without using a rotary transformer to obtain accurate motor rotor position and speed information, thereby solving the technical problem in the prior art that the motor cannot provide limping power for the vehicle when the rotary transformer fails. In an embodiment of the present invention, by adding a high-frequency voltage, the motor output can be controlled without using a rotary transformer.

[0046] Due to the adoption of the limp home control method of the present invention, the vehicle switches to a speed sensorless limp home control mode when a resolver failure occurs. This control mode has high rotor position accuracy when the vehicle is traveling at a low speed, ensuring that the vehicle safely travels at a low speed to the maintenance location without obstructing traffic.

[0047] Further, obtaining a first voltage signal includes:

[0048] Acquire a second voltage signal, where the second voltage signal is a fundamental voltage signal in a synchronously rotating coordinate system;

[0049] The first voltage signal is generated based on the second voltage signal. That is, in the inverse park transformation module of the motor controller, the synchronous rotating coordinate system is transformed into the stationary coordinate system α-β.

[0050] Further, generating the first voltage signal based on the second voltage signal includes:

[0051] The second voltage signal is orthogonal-to-alternative converted to obtain a first voltage signal.

[0052] Further, generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal includes:

[0053] The first voltage signal and the rotating high-frequency voltage signal are added to obtain a voltage superposition signal. That is, the rotating high-frequency voltage signal module in the machine controller injects a frequency of ω into the stationary coordinate system. h , the amplitude is V h , the high frequency voltage signal U αh and U βh .

[0054] Further, determining an estimated speed signal of the motor based on the three-phase current signal includes:

[0055] The three-phase current signal is transformed into a coordinate system to obtain a second current signal, which is a two-phase stator current in a stationary coordinate system; that is, the three-phase current I of the permanent magnet synchronous motor is detected by the current sensor. a ,I b and I c , I a ,I b and I c That is, the three-phase current signal converts the three-phase current I a ,I b and I c Perform Clarke transformation to obtain the two-phase stator current i under the two-phase stationary coordinate α-β α0 and i β0 (ie the second current signal).

[0056] Perform high-frequency filtering on the two-phase stator current to obtain a high-frequency response current signal;

[0057] The positive sequence current component of the high frequency response current signal is filtered out to obtain the negative sequence high frequency current component;

[0058] The negative sequence high frequency current component is processed by heterodyne method to obtain the position deviation signal;

[0059] The estimated speed signal is determined based on the position deviation signal. αβh_in The heterodyne method is used to process and demodulate the estimated position deviation signal, and the position deviation signal ε is processed by PI loop to obtain the final position estimation value θ. The position speed estimation module estimates the motor speed n based on the position change △θ and the interval time △t.

[0060] Further, determining the first current signal based on the three-phase current signal includes:

[0061] Performing coordinate transformation on the three-phase current signal to obtain a second current signal, where the second current signal is a two-phase stator current in a stationary coordinate system;

[0062] Perform low-frequency filtering on the two-phase stator current to obtain a low-frequency response current signal;

[0063] The low frequency response current signal is converted from AC to DC to obtain a first current signal.

[0064] Further, generating a target control instruction based on the estimated speed signal and the first current signal includes:

[0065] The estimated speed signal is input into the speed loop for PI processing to obtain a speed loop response signal;

[0066] Inputting the first current signal into the current loop for PI processing to obtain a current loop response signal;

[0067] A target control instruction is generated based on the speed loop response signal and the current loop response signal.

[0068] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0069] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention 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 storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0070] According to an embodiment of the present invention, a limp home control system for implementing the above motor control method is also provided. Figure 4 As shown, the limp home control system includes a vehicle controller, a motor controller, a motor and a battery management system.

[0071] The motor controller includes: a speed loop, a current loop, an inverse park conversion module, a high-frequency voltage signal module, a vector modulation module, a power module, a resolver position detection module, a communication module, a clark conversion module, an LPF low-pass filter module, a BPF band-pass filter module, an SFF high-pass filter module, a position and speed estimation module and a park conversion module.

[0072] When an electric vehicle fails under certain conditions, it enters the limp home control mode. In this control mode, the vehicle drives to the maintenance location at a low speed to ensure that it does not hinder traffic.

[0073] Motor resolver faults include motor resolver faults and wiring harness faults connecting the motor resolver.

[0074] When the motor resolver fails, the limp home control mode is the speed sensorless control mode.

[0075] Specifically, combined Figure 3 As shown, the speed sensorless control mode is:

[0076] The motor controller reports the resolver fault to the vehicle controller, and the motor torque is linearly reduced to zero at the same time as the resolver fault is reported. If the battery management system does not report serious fault information, the vehicle controller sends a limp home control mode command to the motor controller through CAN communication when the motor speed drops to zero, and the motor controller executes the speed sensorless limp home control mode.

[0077] In an optional embodiment, the motor control method is as follows:

[0078] (1) In the inverse park transformation module of the motor controller, the synchronous rotating coordinate system is transformed into the stationary coordinate system α-β.

[0079] In the permanent magnet synchronous motor rotor synchronous coordinate system, the fundamental wave d-axis and q-axis voltage equations are as follows:

[0080]

[0081] Among them U d is the d-axis voltage, U q is the q-axis voltage (U d and U q is the second voltage signal), R is the resistance of the three-phase winding, i d is the d-axis current, i q is the q-axis current, L d is the d-axis inductance, L q is the q-axis inductance, ω e is the motor fundamental frequency, φ f is the stator winding flux.

[0082] The synchronous rotating coordinate system voltage U d and U q Transformed into the stationary coordinate system voltage U α and U β .U α and U β That is, the first voltage signal.

[0083]

[0084] (2) The rotating high-frequency voltage signal module in the motor controller injects a frequency of ω into the stationary coordinate system. h , the amplitude is V h , the high frequency voltage signal U αh and U βh , U αh and U βh That is the rotating high-frequency voltage signal, and its calculation formula is as follows;

[0085]

[0086] Where t is time, U αh , U βh Respectively with the U output by the inverse park transform module α , U β The voltage superposition signal is obtained by adding them, and the output voltage U is modulated by the vector modulation module. abc , U abc and torque command T m After being processed by the power module, it is applied to the three-phase windings of the motor.

[0087] (3) The three-phase current I of the permanent magnet synchronous motor is detected by the current sensor a ,Ib and I c , I a ,I b and I c That is, the three-phase current signal converts the three-phase current I a ,I b and I c Perform Clarke transformation to obtain the two-phase stator current i under the two-phase stationary coordinate α-β α0 and i β0 (i.e., the second current signal), the stator current includes the fundamental current signal and the current signal generated by injecting high-frequency voltage. α0 and i β0 The high-frequency response current signal i is obtained by filtering through the bandpass filter BPF αβh (that is, the high-frequency response current signal), and then the positive sequence current component is filtered out by the synchronous shaft system high-pass filter SFF to obtain the angular frequency -ω h (t) The negative sequence high frequency current component i αβh_in And pass it to the position and speed estimation module. The calculation formula is as follows:

[0088] i αβh_in =SFF[BPF[i α0 ,i β0 ] (4)

[0089] In the position and velocity estimation module, i αβh_in After heterodyning, the estimated position deviation signal is obtained after demodulation. The calculation formula is as follows:

[0090]

[0091] The position deviation signal ε is processed by PI loop to obtain the final position estimation value θ. The position speed estimation module estimates the motor speed n based on the position change △θ and the interval time △t.

[0092]

[0093] (4) For the two-phase stator current i α0 and i β0 The low-pass filter LPF is used to filter out the high-frequency current signal and obtain the low-frequency current signal i α and i β (that is, the low-frequency response current signal), and then perform park transformation to obtain the synchronous rotating coordinate system current i d and i q . (That is, the first current signal), the calculation formula is as follows:

[0094]

[0095] (5) The speed n is output to the speed loop for PI processing, and the current i d and i q The output is sent to the current loop for PI processing, and U is obtained according to formula (1). d and U q , the position θ and U d and U q The output is sent to the anti-park transformation module, and step (1) is executed to control the motor at a low speed, drive the car to limp home at a low speed (no more than 20 km / h) and drive to the maintenance site.

[0096] The embodiment of the present invention further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the motor control method provided by the above embodiment.

[0097] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0098] The embodiment of the present invention also provides a storage medium. A control device for a motor includes: a first acquisition module for acquiring a first voltage signal, the first voltage signal being a fundamental voltage signal in a stationary coordinate system; a second acquisition module for acquiring a preset rotating high-frequency voltage signal; a first generation module for generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal; a detection module for applying the voltage superposition signal to the three-phase winding of the motor to detect and obtain the three-phase current signal of the motor; a first determination module for determining an estimated speed signal of the motor based on the three-phase current signal; a second determination module for determining a first current signal based on the three-phase current signal, the first current signal being a low-frequency current signal in a synchronous rotating coordinate system; a second generation module for generating a target control instruction based on the estimated speed signal and the first current signal; a control module for adjusting the working parameters of the motor based on the target control instruction, the working parameters including at least one of the following: actual speed, torque.

[0099] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the program code executed by the motor control method provided in the above embodiment.

[0100] An embodiment of the present invention further provides a vehicle, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the program code executed by the motor control method provided in the above embodiment.

[0101] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0102] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0105] 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.

[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0107] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for controlling a motor, characterized in that the method include: Acquire a first voltage signal, where the first voltage signal is a fundamental voltage signal in a stationary coordinate system; Obtaining a preset rotating high-frequency voltage signal; generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal; Applying the voltage superposition signal to the three-phase winding of the motor to detect and obtain the three-phase current signal of the motor; Determining an estimated speed signal of the motor based on the three-phase current signal; Determine a first current signal based on the three-phase current signal, wherein the first current signal is a low-frequency current signal in a synchronous rotating coordinate system; generating a target control instruction based on the estimated speed signal and the first current signal; The operating parameters of the motor are adjusted based on the target control instruction, and the operating parameters include at least one of the following: actual rotation speed and torque.

2. The method according to claim 1, characterized in that Acquiring a first voltage signal includes: Acquire a second voltage signal, where the second voltage signal is a fundamental voltage signal in a synchronously rotating coordinate system; The first voltage signal is generated based on the second voltage signal.

3. The method according to claim 2, characterized in that Generating the first voltage signal based on the second voltage signal includes: Perform orthogonal-to-alternating conversion on the second voltage signal to obtain the first voltage signal.

4. The method according to claim 1, characterized in that: Generating a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal includes: The first voltage signal and the rotating high-frequency voltage signal are added to obtain the voltage superposition signal.

5. The method according to claim 1, characterized in that Determining an estimated speed signal of the motor based on the three-phase current signal includes: Performing coordinate transformation on the three-phase current signal to obtain a second current signal, where the second current signal is a two-phase stator current in the stationary coordinate system; Performing high-frequency filtering on the two-phase stator current to obtain a high-frequency response current signal; filtering the positive sequence current component of the high frequency response current signal to obtain a negative sequence high frequency current component; Performing heterodyne processing on the negative-sequence high-frequency current component to obtain a position deviation signal; The estimated speed signal is determined based on the position error signal.

6. The method according to claim 1, characterized in that Determining a first current signal based on the three-phase current signal includes: Performing coordinate transformation on the three-phase current signal to obtain a second current signal, where the second current signal is a two-phase stator current in the stationary coordinate system; Performing low-frequency filtering on the two-phase stator current to obtain a low-frequency response current signal; The low frequency response current signal is converted from AC to DC to obtain the first current signal.

7. The method according to claim 1, characterized in that Generating a target control instruction based on the estimated speed signal and the first current signal includes: Inputting the estimated speed signal into the speed loop for PI processing to obtain a speed loop response signal; Inputting the first current signal into the current loop for PI processing to obtain a current loop response signal; The target control instruction is generated based on the speed loop response signal and the current loop response signal.

8. A control device for a motor, characterized in that: include: A first acquisition module, used to acquire a first voltage signal, where the first voltage signal is a fundamental voltage signal in a stationary coordinate system; A second acquisition module, used to acquire a preset rotation high-frequency voltage signal; A first generating module, configured to generate a voltage superposition signal based on the first voltage signal and the rotating high-frequency voltage signal; A detection module, used for applying the voltage superposition signal to the three-phase winding of the motor to detect and obtain the three-phase current signal of the motor; A first determination module, configured to determine an estimated speed signal of the motor based on the three-phase current signal; A second determination module, configured to determine a first current signal based on the three-phase current signal, wherein the first current signal is a low-frequency current signal in a synchronous rotating coordinate system; A second generating module, configured to generate a target control instruction based on the estimated speed signal and the first current signal; The control module adjusts the working parameters of the motor based on the target control instruction, and the working parameters include at least one of the following: actual rotation speed and torque.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

10. A vehicle comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 7.