A Sound Generation Method, Device, Storage Medium and Automotive Motor of an Automotive Motor

By obtaining sound data, generating AC current commands, controlling the stator of the car motor to generate AC current, solving the motor noise problem, realizing motor sound and pedestrian prompt sound, improving user experience.

CN115158032BActive Publication Date: 2025-07-11GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210762821.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2025-07-11
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

Existing automotive motors produce harsh noise when AC current is sent into the stator winding, affecting the user experience. At the same time, the motor cannot simulate the sound waves of the internal combustion engine to increase driving pleasure or provide pedestrian prompt sounds.

Method used

By obtaining the frequency and amplitude data of the sound data, an alternating current command is generated, the stator of the automobile motor is controlled to generate alternating current, so that the motor can generate sound, and the oscillation trajectory of the alternating current is controlled by the rotor coordinate system to avoid torque generation.

Benefits of technology

The motor sound is realized, which improves the noise problems during battery AC heating and motor winding heating, increases driving fun or provides pedestrian prompt sound, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115158032B_ABST
    Figure CN115158032B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a method, device, storage medium, and automotive motor for generating sound by the automotive motor. The method includes: obtaining frequency data and amplitude data in sound data; obtaining an alternating current command corresponding to the frequency data and the amplitude data; and controlling the stator of the automotive motor to generate an alternating current according to the alternating current command so that the automotive motor generates sound. Implementing the embodiments of the present application can generate sound through the automotive motor without relying on audio devices such as speakers, reducing costs. It can be used to simulate the engine sound wave or generate pedestrian warning sounds. At the same time, it can make the motor actively generate heat or make the battery heated by alternating current, improving the noise of the automotive motor under the conditions of the motor actively generating heat or the battery being heated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automotive motors. Specifically, it relates to a sound generation method, device, computer-readable storage medium, and automotive motor for an automotive motor. Background Art

[0002] When an alternating current is passed through the stator winding of an existing automotive motor to achieve heat generation in the stator winding or battery alternating current heating, harsh noises are often generated, and these noises usually cannot be eliminated, affecting the user experience. At the same time, if the motor itself can emit sounds, it can make the drive motor simulate the engine sound wave, thereby increasing the driving pleasure of electric vehicles or providing a pedestrian warning sound. Summary of the Invention

[0003] The purpose of the embodiments of the present application is to provide a sound generation method, device, computer-readable storage medium, and automotive motor for an automotive motor, which can emit sounds through the automotive motor, improve the sharp noises generated by motor current oscillations such as battery alternating current heating and motor winding heating, or specifically make the drive motor emit sounds simulating the engine sound wave, or emit a pedestrian warning sound.

[0004] In a first aspect, the embodiments of the present application provide a sound generation method for an automotive motor, and the method includes:

[0005] Obtain frequency data and amplitude data in the sound data;

[0006] Obtain an alternating current command corresponding to the frequency data and the amplitude data;

[0007] Control the stator of the automotive motor to generate an alternating current according to the alternating current command, so that the automotive motor emits a sound.

[0008] In the above implementation process, by injecting an alternating current corresponding to the frequency data and amplitude data into the automotive motor, the automotive motor emits a sound, realizing the function of emitting sounds through the automotive motor. It does not need to rely on other audio devices, and can make the motor simulate the engine sound wave to increase driving pleasure, or generate a pedestrian warning sound to remind pedestrians that a vehicle is passing by. Because when using the motor to generate an alternating current for battery alternating current heating or passing an alternating current through the motor winding to generate heat, there are noises generated by the alternating current. Therefore, the above method can also be used to improve the noises generated by the alternating current in the case of battery alternating current heating and motor winding heat generation, and change the noises into music, thereby improving the user experience.

[0009] Further, the step of controlling the stator of the automotive motor to generate an alternating current according to the alternating current command, so that the automotive motor emits a sound includes:

[0010] Obtain the oscillation trajectory of the alternating current;

[0011] Control the alternating current generated in the stator of the vehicle motor to generate the required oscillation trajectory for control according to the oscillation trajectory of the alternating current, so that the vehicle motor makes a sound.

[0012] In the above implementation process, by controlling the oscillation trajectory of the alternating current and then injecting it into the vehicle motor, the generation of torque when the alternating current is injected into the vehicle motor is avoided.

[0013] Further, the step of obtaining the oscillation trajectory of the alternating current includes:

[0014] Establish a rotor coordinate system of the vehicle motor;

[0015] Control the oscillation trajectory of the alternating current according to the rotor coordinate system.

[0016] In the above implementation process, controlling the oscillation trajectory of the alternating current according to the rotor coordinate system of the vehicle motor ensures that the alternating current does not generate torque in the motor, avoiding or suppressing body jitter or affecting normal torque output.

[0017] Further, the method for controlling the oscillation trajectory of the alternating current according to the rotor coordinate system includes any one of the following:

[0018] Make the alternating current on the D-axis with a DC bias in the rotor coordinate system oscillate, where the bias can be positive, negative, or zero;

[0019] Or, make the alternating current on the Q-axis with a DC bias on the D-axis in the rotor coordinate system oscillate symmetrically about the D-axis, where the bias can be positive, negative, or zero;

[0020] Or, make the alternating currents on the D-axis and Q-axis in the rotor coordinate system oscillate simultaneously, where the amplitudes and frequencies of the alternating currents on the D-axis and Q-axis are the same, the phase difference is 90°, and the oscillation trajectory is a circle, an ellipse, or a line segment;

[0021] Or, make the alternating currents on the D-axis and Q-axis in the rotor coordinate system oscillate simultaneously, where the current offsets on the D-axis and Q-axis are both zero, the phase difference is 0° or 180°, and the oscillation trajectory is a line segment.

[0022] In the above implementation process, by controlling the oscillation trajectory of the alternating current in several ways, the alternating current can be injected into the vehicle motor according to different selections in different situations, and other functions besides making a sound can be matched. For example, the stator winding heating of the motor is more suitable for the trajectory of the D-axis current oscillation superimposed with the positive DC bias of the D-axis current.

[0023] In a second aspect, the embodiments of the present application also provide a sound generating device for a vehicle motor, and the device includes:

[0024] An acquisition module, configured to acquire frequency data and amplitude data in sound data; and also acquire an alternating current command corresponding to the frequency data and the amplitude data.

[0025] A control module, configured to control an automotive motor stator to generate an alternating current according to the alternating current command, so that the automotive motor generates sound.

[0026] In the above implementation process, by injecting an alternating current corresponding to frequency data and amplitude data into an automotive motor, the automotive motor generates sound, realizing the function of generating sound through the automotive motor. It does not need to rely on other audio devices, and can allow the motor to simulate the engine sound wave to increase driving pleasure, or generate a pedestrian reminder sound to remind pedestrians that a vehicle is passing by. Because when using the motor to generate an alternating current for AC heating of the battery, or when an alternating current passes through the motor winding to generate heat, there is noise generated by the alternating current. Therefore, the above method can also be used to improve the noise generated by the alternating current in the cases of AC heating of the battery and heat generation of the motor winding, and change the noise into music, thereby improving the user experience.

[0027] Further, the control module is further configured to:

[0028] Acquire the oscillation trajectory of the alternating current;

[0029] Control the alternating current in the automotive motor stator to generate the alternating current with the required oscillation trajectory according to the oscillation trajectory of the alternating current, so that the automotive motor generates sound.

[0030] In the above implementation process, by controlling the oscillation trajectory of the alternating current and then injecting it into the automotive motor, torque generation during the injection of the alternating current into the automotive motor is avoided.

[0031] Further, the control module is further configured to:

[0032] Establish a rotor coordinate system of the automotive motor;

[0033] Control the oscillation trajectory of the alternating current according to the rotor coordinate system.

[0034] In the above implementation process, controlling the oscillation trajectory of the alternating current according to the rotor coordinate system of the automotive motor enables the alternating current not to generate torque on the motor, avoiding or suppressing vehicle body vibration or affecting normal torque output.

[0035] Further, the control module is further configured to control the oscillation trajectory of the alternating current according to the rotor coordinate system:

[0036] Enable the alternating current on the D-axis with a DC bias in the rotor coordinate system to oscillate, where the bias can be positive, negative, or zero.

[0037] Or, enabling the AC current of the Q-axis with a DC offset on the D-axis in the rotor coordinate system to oscillate symmetrically about the D-axis, where the offset can be positive, negative, or zero;

[0038] Or, enabling the AC currents of the D-axis and the Q-axis in the rotor coordinate system to oscillate simultaneously, where the amplitudes and frequencies of the AC currents of the D-axis and the Q-axis are the same, the phase difference is 90°, and the oscillation trajectory is a circle, an ellipse, or a line segment;

[0039] Or, enabling the AC currents of the D-axis and the Q-axis in the rotor coordinate system to oscillate simultaneously, where the current offsets of both the D-axis and the Q-axis are zero, the phase difference is 0° or 180°, and the oscillation trajectory is a line segment.

[0040] In the above implementation process, the oscillation trajectory of the AC current is controlled in several ways, so that the AC current can be injected into the automotive motor according to different selections in different situations, and other functions except sound generation can be matched. For example, the stator winding heating of the motor is more suitable for the trajectory of the D-axis current oscillation superimposed with the positive DC offset of the D-axis current.

[0041] In a third aspect, an automotive motor provided by an embodiment of the present application includes the sound generating device of the automotive motor in the second aspect.

[0042] In a fourth aspect, an electronic device provided by an embodiment of the present application includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the processor executes the computer program, the steps of the method described in any item of the first aspect are implemented.

[0043] In a fifth aspect, a computer-readable storage medium provided by an embodiment of the present application has instructions stored thereon, and when the instructions are run on a computer, the computer is caused to execute the method described in any item of the first aspect.

[0044] In a sixth aspect, a computer program product provided by an embodiment of the present application, when run on a computer, causes the computer to execute the method described in any item of the first aspect.

[0045] Other features and advantages of the present disclosure will be described in the subsequent description, or some features and advantages can be inferred from the description or determined without doubt, or can be learned by implementing the above technologies of the present disclosure.

[0046] And can be implemented according to the content of the description. The following will be described in detail with reference to the preferred embodiments of the present application and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments of the present application. 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 those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0048] Figure 1 It is a schematic flow chart of the sound generation method of the automotive motor provided by the embodiment of the present application;

[0049] Figure 2 It is a schematic structural composition diagram of the sound generation device of the automotive motor provided by the embodiment of the present application;

[0050] Figure 3 It is a schematic structural composition diagram of the electronic device provided by the embodiment of the present application. Specific Embodiments

[0051] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application.

[0052] It should be noted that similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of the present application, terms such as "first", "second", etc. are only used for differential description and cannot be understood as indicating or implying relative importance.

[0053] The following will further describe in detail the specific embodiments of the present application in conjunction with the drawings and embodiments. The following embodiments are used to illustrate the present application but are not used to limit the scope of the present application.

[0054] Embodiment 1

[0055] Figure 1 It is a schematic flow chart of the sound generation method of the automotive motor provided by the embodiment of the present application. As Figure 1 shown, the method includes:

[0056] S1. Obtain the frequency data and amplitude data in the sound data;

[0057] S2. Obtain the alternating current command corresponding to the frequency data and amplitude data;

[0058] S3. Control the stator of the automotive motor to generate alternating current according to the alternating current command so that the automotive motor generates sound.

[0059] In the above implementation process, by injecting alternating current corresponding to frequency data and amplitude data into the automotive motor, the automotive motor makes a sound, realizing the function of making a sound through the automotive motor. It does not need to rely on other audio devices, and the motor can simulate the engine sound wave to increase the driving pleasure, or generate a pedestrian warning sound to remind pedestrians that a vehicle is passing by. Because there is noise generated by the alternating current when using the motor to generate alternating current for battery AC heating or when passing alternating current through the motor winding to generate heat, the above method can also be used to improve the noise generated by the alternating current in the case of battery AC heating and motor winding heat generation, changing the noise into music, thereby improving the user experience.

[0060] In an embodiment of the present application, when the vehicle is stationary, by injecting alternating current with a frequency corresponding to sound data (such as music, songs, etc.) into the automotive motor winding, mechanical vibration of the automotive motor is caused to make a sound.

[0061] The sound data includes frequency data and amplitude data, and can be pre-stored in the control chip of the controller of the automotive motor, or can be downloaded through the network.

[0062] The inverter of the automotive motor controls the operation of 6 switching tubes, and can generate the required alternating current in the automotive motor winding, thereby making a sound.

[0063] Further, S3 includes:

[0064] Obtain the oscillation trajectory of the alternating current;

[0065] According to the oscillation trajectory of the alternating current, control the alternating current generated in the stator of the automotive motor to generate the required oscillation trajectory, so that the automotive motor makes a sound.

[0066] In the above implementation process, by controlling the oscillation trajectory of the alternating current and then injecting it into the automotive motor, the generation of torque when the alternating current is injected into the automotive motor is avoided.

[0067] Optionally, the frequency and amplitude of the alternating current can be adjusted. The purpose of frequency adjustment is to adjust the frequency of the sound to a frequency at which the automotive motor is easy to make a sound, or to make the frequency match the requirements of motor winding heating and the automotive motor for battery AC heating. The purpose of amplitude adjustment is to convert the loudness into the effective value of the alternating current oscillating in the automotive motor winding. Amplitude adjustment can also further compensate for the resonance magnitude of the alternating current according to the sound generation ability of the automotive motor at different frequencies, so as to restore the audio as much as possible.

[0068] Further, the step of obtaining the oscillation trajectory of the alternating current includes:

[0069] Establish a rotor coordinate system of the automotive motor;

[0070] Control the oscillation trajectory of the alternating current according to the rotor coordinate system.

[0071] In the above implementation process, control the oscillation trajectory of the alternating current according to the rotor coordinate system of the automotive motor, so that the alternating current will not cause torque on the motor, avoiding or suppressing body jitter or affecting the normal torque output.

[0072] Furthermore, the method for controlling the oscillation trajectory of the alternating current according to the rotor coordinate system includes any one of the following:

[0073] Make the alternating current of the D-axis with a DC bias in the D-axis of the rotor coordinate system oscillate, where the bias can be positive, negative or zero;

[0074] Or, make the alternating current of the Q-axis with a DC bias in the D-axis of the rotor coordinate system oscillate symmetrically about the D-axis, where the bias can be positive, negative or zero;

[0075] Or, make the alternating currents of the D-axis and the Q-axis in the rotor coordinate system oscillate simultaneously, where the amplitudes and frequencies of the alternating currents of the D-axis and the Q-axis are the same, the phase difference is 90°, and the oscillation trajectory is a circle, an ellipse or a line segment;

[0076] Or, make the alternating currents of the D-axis and the Q-axis in the rotor coordinate system oscillate simultaneously, where the current offsets of the D-axis and the Q-axis are both zero, the phase difference is 0° or 180°, and the oscillation trajectory is a line segment.

[0077] In the above implementation process, control the oscillation trajectory of the alternating current in several ways, so that the alternating current can be injected into the automotive motor according to different selections in different situations, and other functions except sound generation can be matched. For example, the stator winding heating of the motor is more suitable for the trajectory of the D-axis current oscillation superimposed with the positive DC bias of the D-axis current.

[0078] For a permanent magnet synchronous motor, make the alternating current of the D-axis with a DC bias in the D-axis oscillate. At this time, there is:

[0079]

[0080] Since ferromagnetic materials all have a saturation effect, and the magnetic field of the permanent magnet of the permanent magnet synchronous motor is oriented in the positive direction of the D-axis, therefore I d The positive DC bias of the current will cause the D-axis magnetic field to approach saturation. At this time, the vibration of the D-axis alternating current with the same amplitude will cause less D-axis magnetic field fluctuation, thereby reducing the eddy current loss of the permanent magnet and avoiding heating of the permanent magnet.

[0081] At the same time, the inductance of the D-axis is inherently smaller than that of the Q-axis. After the magnetic field of the D-axis saturates, the inductance becomes even smaller. Therefore, for an alternating current with the same amplitude, the required alternating drive voltage is smaller, which allows for a larger vibration frequency (higher-frequency sound) and also allows for a larger oscillation current (the loudness of the sound).

[0082] When injecting high-frequency current into the automotive motor, both the rotor and stator of the motor will generate heat (usually the stator generates heat). This heat can be used to heat the coolant at low temperatures, which is then used to heat the power battery subsequently to improve the charge and discharge capabilities of the battery at low temperatures, or to provide a heat source for the heat pump to heat the cabin.

[0083] When injecting high-frequency current into the automotive motor, it will simultaneously cause the power battery to generate high-frequency charge and discharge currents. The internal resistance of the battery will generate heat due to these high-frequency charge and discharge currents, thereby heating the battery and producing the effect of "battery self-heating".

[0084] Therefore, the embodiments of the present application are suitable for use when heating the coolant and the battery at low temperatures. At this time, the original motor current noise can be turned into music, greatly improving the user's tolerance and also enhancing the fun of using electric vehicles.

[0085] Optionally, the automotive motor in the embodiments of the present application is a permanent magnet synchronous motor. For a permanent magnet synchronous motor, in order to avoid generating torque that causes the vehicle to move when injecting alternating current, it is necessary to maintain zero torque when injecting high-frequency current.

[0086] Exemplarily, the automotive motor can be an asynchronous motor. The asynchronous motor uses the stator coordinate system as the reference coordinate system. No matter at what angle the alternating current is injected, it will not cause significant torque. Therefore, with the stator coordinate system as the reference, the alternating current can be injected with any DC offset and any phase.

[0087] If the sounding frequency is not suitable, this problem can be solved by adjusting the song frequency. Exemplarily, for example, for the song "Twinkle, Twinkle, Little Star", the lowest frequency is 523 Hz (i.e., the C5 note, which is also the main note of this song). Then, after adjusting the song frequency, that is, after raising the pitch, using C6 (frequency 1047 Hz) as the main note, the frequency range changes from [523 Hz, 880 Hz] to [1047 Hz, 1760 Hz], falling within the range of the alternating current oscillation frequency where the heating power of the motor winding is greater, and thus better matching the heating requirements of the motor winding.

[0088] Optionally, if the ratio of the "highest frequency / lowest frequency" of the music data is less than the "maximum switching frequency / minimum switching frequency" of the current oscillation frequency required for a certain function, the problem of poor sounding effect can be solved by adjusting the frequency through methods such as raising or lowering the pitch.

[0089] Since the amplitude of alternating current may vary at different frequencies, and the ability of an automotive motor to generate sound due to mechanical vibration also varies at different frequencies, the amplitude of the alternating current can be adjusted according to different sound loudness requirements, so as to make the sound more faithful to the original.

[0090] Embodiment 2

[0091] In order to execute the method corresponding to the above Embodiment 1 to achieve the corresponding functions and technical effects, a sound generating device for an automotive motor is provided below, as Figure 2 shown. The device includes:

[0092] An acquisition module 1, configured to acquire frequency data and amplitude data in sound data; and also acquire an alternating current instruction corresponding to the frequency data and amplitude data;

[0093] A control module 2, configured to control the stator of the automotive motor to generate an alternating current according to the alternating current instruction, so that the automotive motor generates sound.

[0094] In the above implementation process, by injecting an alternating current corresponding to the frequency data and amplitude data into the automotive motor, the automotive motor generates sound, realizing the function of generating sound through the automotive motor. It does not need to rely on other audio devices, and can let the motor simulate the engine sound wave to increase driving pleasure, or generate a pedestrian reminder sound to remind pedestrians that a vehicle is passing by. Because there is noise generated by the alternating current when using the motor to generate alternating current for AC heating of the battery, or when passing an alternating current through the motor winding to generate heat, the above method can also be used to improve the noise generated by the alternating current in the cases of AC heating of the battery and heat generation of the motor winding, and change the noise into music, thereby improving the user experience.

[0095] Further, the control module 2 is further configured to:

[0096] Acquire the oscillation trajectory of the alternating current;

[0097] Control the stator of the automotive motor to generate an alternating current with a controlled oscillation trajectory according to the oscillation trajectory of the alternating current, so that the automotive motor generates sound.

[0098] In the above implementation process, by controlling the oscillation trajectory of the alternating current and then injecting it into the automotive motor, the generation of torque when the alternating current is injected into the automotive motor is avoided.

[0099] Further, the control module 2 is further configured to:

[0100] Establish a rotor coordinate system of the automotive motor;

[0101] Control the oscillation trajectory of the alternating current according to the rotor coordinate system.

[0102] In the above implementation process, the oscillation trajectory of the alternating current is controlled according to the rotor coordinate system of the automotive motor, so that the alternating current does not generate torque on the motor, avoiding or suppressing vehicle body vibration or affecting the normal torque output.

[0103] Further, the control module is further configured to control the oscillation trajectory of the alternating current according to the rotor coordinate system:

[0104] So that the alternating current on the D-axis with a DC offset on the D-axis in the rotor coordinate system oscillates, where the offset can be positive, negative, or zero;

[0105] Or, so that the alternating current on the Q-axis with a DC offset on the D-axis in the rotor coordinate system oscillates symmetrically about the D-axis, where the offset can be positive, negative, or zero;

[0106] Or, so that the alternating currents on the D-axis and the Q-axis in the rotor coordinate system oscillate simultaneously, where the amplitudes and frequencies of the alternating currents on the D-axis and the Q-axis are the same, and the phase difference is 90°, and the oscillation trajectory is a circle, an ellipse, or a line segment;

[0107] Or, so that the alternating currents on the D-axis and the Q-axis in the rotor coordinate system oscillate simultaneously, where the current offsets on the D-axis and the Q-axis are both zero, and the phase difference is 0° or 180°, and the oscillation trajectory is a line segment.

[0108] In the above implementation process, the oscillation trajectory of the alternating current is controlled in several ways, so that the alternating current can be injected into the automotive motor according to different selections in different situations, and other functions except sound generation can be matched. For example, the stator winding heating of the motor is more suitable for the trajectory of the D-axis current oscillation superimposed with the positive DC offset of the D-axis current.

[0109] The sound generating device of the above automotive motor can implement the method of Embodiment 1 above. The optional items in Embodiment 1 above are also applicable to this embodiment and will not be elaborated here.

[0110] The remaining content of the embodiments of the present application may refer to the content of Embodiment 1 above and will not be repeated in this embodiment.

[0111] Embodiment 3

[0112] The embodiment of the present application provides an electronic device, including a memory and a processor. The memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the sound generating method of the automotive motor in Embodiment 1.

[0113] Optionally, the above electronic device may be a server.

[0114] Please refer to Figure 3 , Figure 3Schematic diagram of the structural composition of the electronic device provided by the embodiment of the present application. The electronic device may include a processor 31, a communication interface 32, a memory 33, and at least one communication bus 34. Among them, the communication bus 34 is used to realize the direct connection and communication of these components. Among them, the communication interface 32 of the device in the embodiment of the present application is used to communicate with other node devices in terms of signaling or data. The processor 31 may be an integrated circuit chip with signal processing capabilities.

[0115] The above-mentioned processor 31 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor 31 may also be any conventional processor, etc.

[0116] The memory 33 may be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory 33 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 31, the device can execute the above Figure 1 Each step involved in the method embodiment.

[0117] Optionally, the electronic device may further include a storage controller and an input / output unit. The memory 33, the storage controller, the processor 31, the peripheral interface, and the input / output unit are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses 34. The processor 31 is used to execute the executable module stored in the memory 33, such as the software function module or computer program included in the device.

[0118] The input / output unit is used to enable the user to create tasks and create an optional start period or a preset execution time for the task, so as to realize the interaction between the user and the server. The input / output unit can be, but is not limited to, a mouse, a keyboard, etc.

[0119] It can be understood that Figure 3 The structure shown is only schematic, and the electronic device may further include more or fewer components than those shown in Figure 3 or have a different configuration from that shown in Figure 3 shown. Figure 3 Each component shown in can be implemented by hardware, software, or a combination thereof.

[0120] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the sound generation method of the automotive motor in the first embodiment is implemented.

[0121] An embodiment of the present application further provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the method described in the method embodiment.

[0122] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based device for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0123] In addition, in each embodiment of the present application, the functional modules 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.

[0124] When the above-mentioned functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0125] The above are only the embodiments of this application and are not used to limit the protection scope of this application. For those skilled in the art, this application can have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of this application shall be included in the protection scope of this application. It should be noted that similar reference numerals and letters in the following drawings represent similar items. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0126] As mentioned above, this is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by this application and should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

[0127] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.

Claims

1. A method for generating sound of an automotive motor, characterized in that, The method includes: Obtaining frequency data and amplitude data in the sound data; Obtaining an alternating current command corresponding to the frequency data and the amplitude data; Controlling the stator of the vehicle motor to generate an alternating current according to the alternating current command so that the vehicle motor makes a sound; The step of controlling the stator of the vehicle motor to generate an alternating current according to the alternating current command so that the vehicle motor makes a sound includes: Obtaining the oscillation trajectory of the alternating current; Controlling the alternating current required for generating the control oscillation trajectory in the stator of the vehicle motor according to the oscillation trajectory of the alternating current so that the vehicle motor makes a sound.

2. The sound generation method of the automotive motor according to claim 1, wherein The step of obtaining the oscillation trajectory of the alternating current includes: Establishing a rotor coordinate system of the vehicle motor; Controlling the oscillation trajectory of the alternating current according to the rotor coordinate system.

3. The sound generation method of the automotive motor according to claim 2, wherein The method of controlling the oscillation trajectory of the alternating current according to the rotor coordinate system includes any one of the following: Oscillating the alternating current of the D-axis with a DC bias on the D-axis in the rotor coordinate system, where the bias can be positive, negative or zero; Or, oscillating the alternating current of the Q-axis with a DC bias on the D-axis symmetrically about the D-axis in the rotor coordinate system, where the bias can be positive, negative or zero; Or, oscillating the alternating currents of the D-axis and the Q-axis in the rotor coordinate system simultaneously, where the amplitudes and frequencies of the alternating currents of the D-axis and the Q-axis are the same, the phase difference is 90°, and the oscillation trajectory is a circle, an ellipse or a line segment; Or, oscillating the alternating currents of the D-axis and the Q-axis in the rotor coordinate system simultaneously, where the current offsets of both the D-axis and the Q-axis are zero, the phase difference is 0° or 180°, and the oscillation trajectory is a line segment.

4. A sound generating device for an automotive motor, characterized in that, The device includes: An acquisition module, configured to acquire frequency data and amplitude data in the sound data; and also acquire an alternating current command corresponding to the frequency data and the amplitude data; A control module, configured to control the stator of the vehicle motor to generate an alternating current according to the alternating current command so that the vehicle motor makes a sound; The control module is further configured to: Obtain the oscillation trajectory of the alternating current; Control the alternating current required for generating the control oscillation trajectory in the stator of the vehicle motor according to the oscillation trajectory of the alternating current so that the vehicle motor makes a sound.

5. The sound generating device for an automotive motor according to claim 4, characterized in that, The control module is further configured to: Establish a rotor coordinate system of the vehicle motor; Control the oscillation trajectory of the alternating current according to the rotor coordinate system.

6. The sound generating device of the automotive motor according to claim 5, characterized in that, The control module is further configured to control the oscillation trajectory of the alternating current according to the rotor coordinate system: Oscillate the alternating current of the D-axis with a DC bias on the D-axis in the rotor coordinate system, where the bias can be positive, negative or zero; Or, oscillate the alternating current of the Q-axis with a DC bias on the D-axis symmetrically about the D-axis in the rotor coordinate system, where the bias can be positive, negative or zero; Or, oscillate the alternating currents of the D-axis and the Q-axis in the rotor coordinate system simultaneously, where the amplitudes and frequencies of the alternating currents of the D-axis and the Q-axis are the same, the phase difference is 90°, and the oscillation trajectory is a circle, an ellipse or a line segment; Or, enabling the alternating current of the D-axis and the Q-axis in the rotor coordinate system to oscillate simultaneously, where the current offsets of both the D-axis and the Q-axis are zero, the phase difference is 0° or 180°, and the oscillation trajectory is a line segment.

7. A computer-readable storage medium, characterized in that It stores a computer program, and when the computer program is executed by a processor, it implements the sound generation method of the automotive motor according to any one of claims 1 to 3.

8. An automotive motor, characterized in that, It includes the device according to any one of claims 4-6.

Citation Information

Patent Citations

  • Active sound generation apparatus using motor

    CN112350639A

  • Vehicle electric driving system control method, electric driving system and vehicle

    CN113022326A