Motor control method and device, electronic equipment and storage medium

By obtaining vehicle information and determining the pulse modulation frequency and frequency multiplication coefficient to control the motor, the difficulty of improving the motor control effect caused by the limitation of clock frequency in the prior art is solved, and the motor control is improved without increasing the complexity of the algorithm Effects and noise reduction effects.

CN119448876APending Publication Date: 2025-02-14GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411619409.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

With the limited clock frequency of the microcontroller unit, it is difficult to improve the control effect of the motor without using a complex magnetic field directional control algorithm.

Method used

By acquiring vehicle information, the pulse modulation frequency and frequency multiplication coefficient are determined for controlling the motor, and the motor is then controlled. This method does not rely on high-performance microcontroller units, and can improve the control effect of the motor when the performance of the controller unit is limited.

Benefits of technology

It realizes that without increasing the complexity of the magnetic field directional control algorithm, improves the motor control effect, enhances the heating capacity and heating efficiency of the vehicle, and reduces the noise during the motor rotation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119448876A_ABST
    Figure CN119448876A_ABST
Patent Text Reader

Abstract

The invention provides a motor control method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining vehicle information; pulse modulation frequency used for controlling a motor and a frequency multiplication coefficient of the pulse modulation frequency are determined based on the vehicle information, the pulse modulation frequency is used for determining a control period of the motor, and the frequency multiplication coefficient is used for determining the number of modulation periods in the control period; the frequency multiplication coefficient is a positive integer greater than or equal to 1; and controlling the motor based on the pulse modulation frequency and the frequency multiplication coefficient. The motor can be controlled on the basis of the pulse modulation frequency and the frequency multiplication coefficient, the control effect can be achieved in some scenes by controlling the motor on the basis of the pulse modulation frequency, and the control effect of the motor can be improved on the basis of controlling the motor on the basis of the pulse modulation frequency through the frequency multiplication coefficient in some scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] The motor controller is used as a control system for the motor, wherein a microcontroller is provided inside the motor controller, and the microcontroller provides a fixed clock frequency or control cycle, so that the motor controller executes a magnetic field oriented control algorithm under the clock frequency or control cycle, thereby achieving control of the motor. Furthermore, the control effect of the motor controller is related to the performance of the microcontroller. For example, the more powerful the performance of the microcontroller is, the higher the clock frequency provided, the faster the motor controller executes the magnetic field oriented control algorithm, and thus the faster the response speed of the motor controller is.

[0003] Based on this, the relevant technology usually improves the control effect of the motor controller by enhancing the performance of the microcontroller unit, and then improving the control effect based on the higher clock frequency provided by the microcontroller unit. This method cannot improve the control effect when the clock frequency of the microcontroller unit is limited. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a motor control method, device, electronic device and storage medium for controlling the motor based on the pulse modulation frequency and the frequency multiplication coefficient, wherein controlling the motor based on the pulse modulation frequency can achieve control effects in some scenarios, and in some scenarios, the frequency multiplication coefficient can be used to improve the control effect of the motor on the basis of controlling the motor based on the pulse modulation frequency.

[0005] In a first aspect, the present invention provides a motor control method, the method comprising:

[0006] Get vehicle information;

[0007] Determine a pulse modulation frequency for controlling the motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine a control period of the motor, the frequency multiplication factor is used to determine the number of modulation periods within the control period, and the frequency multiplication factor is a positive integer greater than or equal to 1;

[0008] The motor is controlled based on the pulse modulation frequency and the frequency multiplication factor.

[0009] The method of the present application obtains vehicle information, and then can determine the pulse modulation frequency used to control the motor and the frequency multiplication coefficient of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, and the frequency multiplication coefficient is used to determine the number of modulation periods within the control period, and the frequency multiplication coefficient is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the frequency multiplication coefficient, wherein controlling the motor based on the pulse modulation frequency can achieve control effects in some scenarios, and in some scenarios, the frequency multiplication coefficient can be used to improve the control effect of the motor on the basis of controlling the motor based on the pulse modulation frequency. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and can still improve the control effect of the motor under the premise that the performance of the controller unit is limited.

[0010] In an optional implementation, the vehicle information includes motor characteristic parameters, control requirement information and system information.

[0011] This optional implementation may use motor characteristic parameters, control requirement information and system information as vehicle information.

[0012] In an optional implementation manner, determining the pulse modulation frequency for controlling the motor and the frequency multiplication factor of the pulse modulation frequency based on the vehicle information includes:

[0013] When the vehicle information indicates that the vehicle is in a stationary state and there is a heating request, the pulse modulation frequency is set to a first modulation frequency, and the multiplication factor of the first modulation frequency is a first factor, wherein the first modulation frequency is used to make the stator and rotor of the motor generate heat in a stationary state, and the first factor is used to increase the switching frequency.

[0014] This optional implementation can set the pulse modulation frequency to a first modulation frequency when the vehicle information indicates that the vehicle is stationary and there is a heating request, and the multiplication factor of the first modulation frequency is a first factor, wherein the first modulation frequency is used to generate heat in the stator and rotor of the motor in a stationary state, and the first factor is used to increase the switching frequency. Increasing the switching frequency can lead to an increase in switching losses, resulting in an increase in overall heat generation, thereby enhancing the overall heating capacity and heating efficiency of the vehicle.

[0015] In an optional implementation manner, determining the pulse modulation frequency for controlling the motor and the frequency multiplication factor of the pulse modulation frequency based on the vehicle information includes:

[0016] When the vehicle information indicates that the vehicle is in boost charging, the pulse modulation frequency is set to a second modulation frequency, and the multiplication factor of the second modulation frequency is a second factor, wherein the second modulation frequency is used to drive the motor to increase the input voltage of the BOOST converter, and the second factor is used to expand the voltage gain of the BOOST converter.

[0017] This optional implementation can set the pulse modulation frequency to a second modulation frequency when the vehicle information indicates that the vehicle is in boost charging, the multiplication factor of the second modulation frequency is a second factor, the second modulation frequency is used to drive the motor to increase the input voltage of the BOOST converter, and the second factor is used to expand the voltage gain of the BOOST converter, wherein a higher switching frequency can reduce the delay in the energy transfer process, thereby improving the response speed and stability of the output voltage, thereby improving the voltage gain of the BOOST converter. At the same time, the frequency-doubled PWM can provide a better voltage smoothing effect in the filter design at the output end, reduce output ripple, and improve the stability and quality of the output voltage. Frequency-doubled PWM allows the use of smaller inductor and capacitor components, because under the same energy conversion, the charging and discharging process can be completed in a shorter time, which can reduce the overall size of the system.

[0018] In an optional implementation manner, determining the pulse modulation frequency for controlling the motor and the frequency multiplication factor of the pulse modulation frequency based on the vehicle information includes:

[0019] When the vehicle information indicates that the vehicle is in a driving state, the pulse modulation frequency is set to a third modulation frequency, and the multiplication coefficient of the third modulation frequency is a third coefficient, wherein the third modulation frequency is used to drive the motor to rotate, and the third coefficient is used to reduce the noise during the motor rotation process.

[0020] This optional implementation can set the pulse modulation frequency to a third modulation frequency when the vehicle information indicates that the vehicle is in a driving state, and the frequency multiplication coefficient of the third modulation frequency is a third coefficient, and the third modulation frequency is used to drive the motor to rotate, and the third coefficient is used to reduce the noise during the motor rotation process, wherein the frequency multiplication PWM can make the noise generated by the motor operation closer to the high frequency band, which is easier to be ignored by the human ear, thereby reducing the noise and vibration of the car during operation.

[0021] In an optional embodiment, the control requirement information includes control accuracy parameters, the system information includes noise and vibration parameters, thermal management parameters, switching loss parameters, controller performance parameters, and the motor characteristic parameters include motor type and motor speed range.

[0022] This optional implementation may use noise and vibration parameters, thermal management parameters, switch loss parameters, and controller performance parameters as system information, and may use motor type and motor speed range as motor characteristic parameters.

[0023] In an optional implementation, the frequency multiplication factor has a value range of 1-4.

[0024] This optional implementation manner can improve the motor control effect while avoiding controlling the motor's operating frequency to be too high by setting the value range of the multiplication factor to 1-4.

[0025] In a second aspect, the present invention provides a motor control device, the device comprising:

[0026] An acquisition module, used to acquire vehicle information;

[0027] a determination module, configured to determine a pulse modulation frequency for controlling the motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine a control period of the motor, the frequency multiplication factor is used to determine the number of modulation periods within the control period, and the frequency multiplication factor is a positive integer greater than or equal to 1;

[0028] A control module is used to control the motor based on the pulse modulation frequency and the frequency multiplication factor.

[0029] The device of the present application can obtain vehicle information by executing the motor control method, and then can determine the pulse modulation frequency used to control the motor and the frequency multiplication coefficient of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, and the frequency multiplication coefficient is used to determine the number of modulation periods within the control period, and the frequency multiplication coefficient is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the frequency multiplication coefficient, wherein controlling the motor based on the pulse modulation frequency can achieve control effects in some scenarios, and in some scenarios, the frequency multiplication coefficient can be used to improve the control effect of the motor on the basis of controlling the motor based on the pulse modulation frequency. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and thus can still improve the control effect of the motor under the premise that the performance of the controller unit is limited.

[0030] In a third aspect, the present invention provides an electronic device, comprising:

[0031] Processor; and

[0032] A memory is configured to store machine-readable instructions, which, when executed by the processor, execute the motor control method as described in any of the aforementioned embodiments.

[0033] The electronic device of the present application can obtain vehicle information by executing the motor control method, and then can determine the pulse modulation frequency used to control the motor and the frequency multiplication coefficient of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, and the frequency multiplication coefficient is used to determine the number of modulation periods within the control period, and the frequency multiplication coefficient is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the frequency multiplication coefficient, wherein controlling the motor based on the pulse modulation frequency can achieve control effects in some scenarios, and in some scenarios, the frequency multiplication coefficient can be used to improve the control effect of the motor on the basis of controlling the motor based on the pulse modulation frequency. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and thus can still improve the control effect of the motor under the premise that the performance of the controller unit is limited.

[0034] In a fourth aspect, the present invention provides a storage medium storing a computer program, wherein the computer program is executed by a processor as the motor control method described in any one of the aforementioned embodiments.

[0035] The storage medium of the present application can obtain vehicle information by executing the motor control method, and then can determine the pulse modulation frequency used to control the motor and the frequency multiplication coefficient of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, and the frequency multiplication coefficient is used to determine the number of modulation periods within the control period, and the frequency multiplication coefficient is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the frequency multiplication coefficient, wherein controlling the motor based on the pulse modulation frequency can achieve control effects in some scenarios, and in some scenarios, the frequency multiplication coefficient can be used to improve the control effect of the motor on the basis of controlling the motor based on the pulse modulation frequency. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and thus can still improve the control effect of the motor under the premise that the performance of the controller unit is limited. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 It is a flowchart of a motor control method disclosed in an embodiment of the present application;

[0038] Figure 2 It is a schematic diagram of a scenario of a frequency multiplication coefficient disclosed in an embodiment of the present application;

[0039] Figure 3 is a structural schematic diagram of a motor control device disclosed in an embodiment of the present application;

[0040] Figure 4 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0042] Embodiment 1

[0043] See also Figure 1 , Figure 1 is a flow chart of a motor control method disclosed in an embodiment of the present application, such as Figure 1 As shown, the method of the embodiment of the present application includes the following steps:

[0044] 101. Obtain vehicle information;

[0045] 102. Determine a pulse modulation frequency and a frequency multiplication factor of the pulse modulation frequency for controlling the motor based on the vehicle information, wherein the pulse modulation frequency is used to determine a control period of the motor, the frequency multiplication factor is used to determine the number of modulation periods within the control period, and the frequency multiplication factor is a positive integer greater than or equal to 1;

[0046] 103. Control the motor based on pulse modulation frequency and frequency multiplication factor.

[0047] The method of the embodiment of the present application obtains vehicle information, and then can determine the pulse modulation frequency and the multiplication factor of the pulse modulation frequency used to control the motor based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, the multiplication factor is used to determine the number of modulation periods within the control period, and the multiplication factor is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the multiplication factor, wherein the control effect of the motor based on the pulse modulation frequency can be achieved in some scenarios, and in some scenarios, the control effect of the motor can be improved on the basis of the control of the motor based on the pulse modulation frequency through the multiplication factor. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and can still improve the control effect of the motor under the premise that the performance of the controller unit is limited.

[0048] In the embodiment of the present application, the vehicle information refers to the information of the vehicle in which the motor to be controlled is located, wherein the vehicle refers to a vehicle equipped with a motor, for example, the vehicle may be a pure electric vehicle.

[0049] In an embodiment of the present application, a motor controller is installed in the vehicle, and the motor controller is electrically connected to the motor for controlling the motor. Furthermore, a microcontroller unit may be integrated in the motor controller, wherein the microcontroller unit may execute the method of the embodiment of the present application. Compared with the prior art, the motor controller of the prior art uses a magnetic field oriented control algorithm to control the motor. The algorithm has high complexity and high performance requirements for the microcontroller unit. For example, the magnetic field oriented algorithm usually needs to execute multiple complex calculation steps such as transformation to the motor coordinate system, Park and Clarke transformation in a short time, and therefore requires a higher control cycle frequency. In comparison, the present application does not need to execute multiple complex calculation steps such as transformation to the motor coordinate system, Park and Clarke transformation, but improves the control effect of the motor through the frequency multiplication coefficient.

[0050] In the embodiment of the present application, the pulse modulation frequency is the reference frequency for controlling the motor. For example, a pulse modulation frequency is first determined based on vehicle information as the reference frequency. In addition, the frequency multiplication factor is used to expand the reference frequency. For example, see Figure 2 As shown, in one control cycle, the frequency multiplication factor 2 corresponding to scenario 2 can amplify 2 modulation cycles, and the frequency multiplication factor 3 corresponding to scenario 3 can amplify 4 modulation cycles. It should be noted that scenario 2 and scenario 3 can be determined based on parameters such as differences in vehicle control requirements.

[0051] In the embodiment of the present application, the frequency multiplication coefficient is a positive integer greater than or equal to 1, wherein when the frequency multiplication coefficient is equal to 1, it indicates that the pulse modulation frequency does not need to be changed.

[0052] In an embodiment of the present application, as an optional implementation, the vehicle information includes motor characteristic parameters, control requirement information and system information.

[0053] This optional implementation may use motor characteristic parameters, control requirement information and system information as vehicle information.

[0054] In the embodiment of the present application, the motor characteristic parameters refer to various specific indicators or data describing the performance and characteristics of the motor, and the control demand information refers to user control demand information, such as heating demand.

[0055] In an embodiment of the present application, as an optional implementation, determining a pulse modulation frequency and a multiplication factor of the pulse modulation frequency for controlling a motor based on vehicle information includes the following steps:

[0056] When vehicle information indicates that the vehicle is in a stationary state and there is a heating request, the pulse modulation frequency is set to a first modulation frequency, and the multiplication factor of the first modulation frequency is a first factor, wherein the first modulation frequency is used to make the stator and rotor of the motor generate heat in a stationary state, and the first factor is used to increase the switching frequency.

[0057] This optional implementation can set the pulse modulation frequency to the first modulation frequency when the vehicle information indicates that the vehicle is stationary and there is a heating request, and the multiplication factor of the first modulation frequency is the first factor, wherein the first modulation frequency is used to generate heat in the stator and rotor of the motor in a stationary state, and the first factor is used to increase the switching frequency. Increasing the switching frequency can lead to an increase in switching losses, resulting in an increase in overall heat generation, thereby enhancing the overall heating capacity and heating efficiency of the vehicle.

[0058] In an optional implementation manner, determining a pulse modulation frequency and a frequency multiplication factor of the pulse modulation frequency for controlling the motor based on vehicle information includes:

[0059] When the vehicle information indicates that the vehicle is in boost charging, the pulse modulation frequency is set to a second modulation frequency, and the multiplication factor of the second modulation frequency is a second factor, wherein the second modulation frequency is used to drive the motor to increase the input voltage of the BOOST converter, and the second factor is used to expand the voltage gain of the BOOST converter.

[0060] This optional implementation method can set the pulse modulation frequency to a second modulation frequency when the vehicle information indicates that the vehicle is in boost charging. The multiplication factor of the second modulation frequency is a second factor. The second modulation frequency is used to drive the motor to increase the input voltage of the BOOST converter. The second factor is used to expand the voltage gain of the BOOST converter. A higher switching frequency can reduce the delay in the energy transfer process, thereby improving the response speed and stability of the output voltage, thereby improving the voltage gain of the BOOST converter. At the same time, the frequency-doubled PWM can provide a better voltage smoothing effect in the filter design at the output end, reduce output ripple, and improve the stability and quality of the output voltage. Frequency-doubled PWM allows the use of smaller inductor and capacitor components. Under the same energy conversion, the charging and discharging process can be completed in a shorter time, which can reduce the overall size of the system.

[0061] In an embodiment of the present application, as an optional implementation, determining a pulse modulation frequency and a multiplication factor of the pulse modulation frequency for controlling a motor based on vehicle information includes the following steps:

[0062] When the vehicle information indicates that the vehicle is in a driving state, the pulse modulation frequency is set to a third modulation frequency, and the multiplication factor of the third modulation frequency is a third factor, wherein the third modulation frequency is used to drive the motor to rotate, and the third factor is used to reduce noise during the motor rotation process.

[0063] This optional implementation can set the pulse modulation frequency to the third modulation frequency when the vehicle information indicates that the vehicle is in a driving state, and the frequency multiplication coefficient of the third modulation frequency is the third coefficient. The third modulation frequency is used to drive the motor to rotate, and the third coefficient is used to reduce the noise during the motor rotation process. Among them, the frequency multiplication PWM can make the noise generated by the motor operation closer to the high frequency band, which is easier to be ignored by the human ear. The noise and vibration of the car during operation are reduced.

[0064] In an embodiment of the present application, as an optional implementation manner, the control requirement information includes control accuracy parameters, the system information includes noise and vibration parameters, thermal management parameters, switching loss parameters, controller performance parameters, and the motor characteristic parameters include motor type and motor speed range.

[0065] This optional implementation may use noise and vibration parameters, thermal management parameters, switch loss parameters, and controller performance parameters as system information, and may use motor type and motor speed range as motor characteristic parameters.

[0066] In an optional implementation, the value range of the frequency multiplication coefficient is 1-4.

[0067] This optional implementation manner can improve the motor control effect while avoiding controlling the motor's operating frequency to be too high by setting the value range of the multiplication factor to 1-4.

[0068] In the embodiment of the present application, as an example, the selection of pulse width modulation (PWM) frequency and frequency multiple is crucial to the performance and efficiency of motor control. The following are some key factors and steps for determining PWM frequency and frequency multiple:

[0069] (1) Motor characteristics:

[0070] Motor type: Different types of motors (such as permanent magnet synchronous motors, brushless DC motors, etc.) have different requirements for PWM frequency and frequency multiples.

[0071] Speed ​​range: The motor's rated speed and operating range will also affect the required PWM frequency and multiplier.

[0072] (2) Control accuracy:

[0073] Dynamic response: A higher PWM frequency can provide faster dynamic response, especially when the load changes greatly or rapid acceleration / deceleration is required.

[0074] Torque smoothness: High-frequency PWM can effectively reduce current pulsation, improve the smoothness of torque output, and thus improve the stability of motor operation.

[0075] (3) Noise and vibration

[0076] Reduce NVH: By increasing the PWM frequency, low-frequency noise can be pushed to the high-frequency band, thereby reducing the noise and vibration of the motor.

[0077] (4) Thermal management

[0078] Heat dissipation: High-frequency PWM can reduce heat build-up in the motor and inverter, improve efficiency, and extend the life of the motor.

[0079] (5) Switching loss

[0080] Loss balance: When selecting the PWM frequency, switching losses must also be considered. Too high a PWM frequency will increase switching losses, so a trade-off needs to be made between response speed and efficiency.

[0081] (6) Controller Capability

[0082] Processing power: The processing speed and power of the controller will also affect the choice of PWM frequency. You need to ensure that the controller can process high-frequency PWM signals in real time.

[0083] Furthermore, the PWM frequency is usually selected between several kilohertz and tens of kilohertz, and the specific value depends on the motor characteristics, control requirements and system limitations. Through experiments and simulations, the PWM frequency and frequency multiplication can be optimized to obtain the best motor performance and efficiency.

[0084] Embodiment 2

[0085] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a motor control device disclosed in an embodiment of the present application, such as Figure 3 As shown, the device of the embodiment of the present application includes the following functional modules:

[0086] An acquisition module 201 is used to acquire vehicle information;

[0087] A determination module 202, configured to determine a pulse modulation frequency for controlling the motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine a control period of the motor, the frequency multiplication factor is used to determine the number of modulation periods within the control period, and the frequency multiplication factor is a positive integer greater than or equal to 1;

[0088] The control module 203 is used to control the motor based on the pulse modulation frequency and the frequency multiplication factor.

[0089] The device of the embodiment of the present application can obtain vehicle information by executing the motor control method, and then can determine the pulse modulation frequency and the frequency multiplication coefficient of the pulse modulation frequency used to control the motor based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, and the frequency multiplication coefficient is used to determine the number of modulation periods within the control period, and the frequency multiplication coefficient is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the frequency multiplication coefficient, wherein the control effect of the motor based on the pulse modulation frequency can be achieved in some scenarios, and in some scenarios, the control effect of the motor can be improved on the basis of the control of the motor based on the pulse modulation frequency through the frequency multiplication coefficient. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and thus can still improve the control effect of the motor under the premise that the performance of the controller unit is limited.

[0090] Embodiment 3

[0091] See also Figure 4 , Figure 4 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application, such as Figure 4 As shown, the electronic device of the embodiment of the present application includes:

[0092] Processor 301; and

[0093] The memory 302 is configured to store machine-readable instructions, and when the instructions are executed by the processor 301, the motor control method as described in any one of the aforementioned embodiments is executed.

[0094] The electronic device of the embodiment of the present application can obtain vehicle information by executing the motor control method, and then can determine the pulse modulation frequency and the frequency multiplication coefficient of the pulse modulation frequency used to control the motor based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, and the frequency multiplication coefficient is used to determine the number of modulation periods within the control period, and the frequency multiplication coefficient is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the frequency multiplication coefficient, wherein the control effect of the motor based on the pulse modulation frequency can be achieved in some scenarios, and in some scenarios, the control effect of the motor can be improved on the basis of the control of the motor based on the pulse modulation frequency through the frequency multiplication coefficient. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and thus can still improve the control effect of the motor under the premise that the performance of the controller unit is limited.

[0095] Embodiment 4

[0096] An embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor as a motor control method such as any one of the aforementioned implementations.

[0097] The storage medium of the embodiment of the present application can obtain vehicle information by executing the motor control method, and then can determine the pulse modulation frequency and the frequency multiplication coefficient of the pulse modulation frequency used to control the motor based on the vehicle information, wherein the pulse modulation frequency is used to determine the control period of the motor, and the frequency multiplication coefficient is used to determine the number of modulation periods within the control period, and the frequency multiplication coefficient is a positive integer greater than or equal to 1, so that the motor can be controlled based on the pulse modulation frequency and the frequency multiplication coefficient, wherein the control effect of the motor based on the pulse modulation frequency can be achieved in some scenarios, and in some scenarios, the control effect of the motor can be improved on the basis of the control of the motor based on the pulse modulation frequency through the frequency multiplication coefficient. Compared with the prior art, the present application does not need to adopt a complex magnetic field oriented control algorithm to improve the control effect of the motor, and thus can still improve the control effect of the motor under the premise that the performance of the controller unit is limited.

[0098] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of 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 communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0099] In addition, 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.

[0100] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0101] It should be noted that if the function is implemented in the form of a software function module 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 application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several 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 various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0102] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0103] The above are only embodiments of the present application and are not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.

Claims

1. A motor control method, characterized in that: The method comprises: Get vehicle information; Determine a pulse modulation frequency for controlling the motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine a control period of the motor, the frequency multiplication factor is used to determine the number of modulation periods within the control period, and the frequency multiplication factor is a positive integer greater than or equal to 1; The motor is controlled based on the pulse modulation frequency and the frequency multiplication factor.

2. The method according to claim 1, characterized in that The vehicle information includes motor characteristic parameters, control requirement information and system information.

3. The method according to claim 1, characterized in that The step of determining a pulse modulation frequency for controlling a motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information includes: When the vehicle information indicates that the vehicle is in a stationary state and there is a heating request, the pulse modulation frequency is set to a first modulation frequency, and the multiplication factor of the first modulation frequency is a first factor, wherein the first modulation frequency is used to make the stator and rotor of the motor generate heat in a stationary state, and the first factor is used to increase the switching frequency.

4. The method according to claim 1, characterized in that The step of determining a pulse modulation frequency for controlling a motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information includes: When the vehicle information indicates that the vehicle is in boost charging, the pulse modulation frequency is set to a second modulation frequency, and the multiplication factor of the second modulation frequency is a second factor, wherein the second modulation frequency is used to drive the motor to increase the input voltage of the BOOST converter, and the second factor is used to expand the voltage gain of the BOOST converter.

5. The method according to claim 1, characterized in that The step of determining a pulse modulation frequency for controlling a motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information includes: When the vehicle information indicates that the vehicle is in a driving state, the pulse modulation frequency is set to a third modulation frequency, and the multiplication coefficient of the third modulation frequency is a third coefficient, wherein the third modulation frequency is used to drive the motor to rotate, and the third coefficient is used to reduce the noise during the motor rotation process.

6. The method according to claim 2, characterized in that The control requirement information includes control accuracy parameters, the system information includes noise and vibration parameters, thermal management parameters, switch loss parameters, and controller performance parameters, and the motor characteristic parameters include motor type and motor speed range.

7. The method according to claim 1, characterized in that The value range of the frequency multiplication coefficient is 1-4.

8. A motor control device, characterized in that: The device comprises: An acquisition module, used to acquire vehicle information; a determination module, configured to determine a pulse modulation frequency for controlling the motor and a frequency multiplication factor of the pulse modulation frequency based on the vehicle information, wherein the pulse modulation frequency is used to determine a control period of the motor, the frequency multiplication factor is used to determine the number of modulation periods within the control period, and the frequency multiplication factor is a positive integer greater than or equal to 1; A control module is used to control the motor based on the pulse modulation frequency and the frequency multiplication factor.

9. An electronic device, characterized in that: include: processor; as well as A memory configured to store machine-readable instructions, which, when executed by the processor, execute the motor control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a computer program, and the computer program is executed by a processor to implement the motor control method according to any one of claims 1 to 7.