Permanent magnet synchronous motor random frequency conversion optimization processing method and device
By comparing and analyzing the spectrum signals of permanent magnet synchronous motors and random frequency conversion processing, the problem of low optimization processing efficiency in the prior art is solved, more efficient electromagnetic compatibility optimization is achieved, and hardware costs are reduced.
Patent Information
- Application Number
- CN202411706602.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, the random frequency conversion optimization treatment solution of permanent magnet synchronous motors has high limitations, resulting in poor actual optimization processing efficiency.
By obtaining the spectrum signal amplitude of the permanent magnet synchronous motor, comparing and analyzing it based on the amplitude and the defined amplitude, if there is a spectrum signal exceeding the defined amplitude, random frequency conversion is performed and the frequency conversion is converted to the middle position with the largest neighborhood radius in the unused spectrum interval.
It effectively improves the efficiency of random frequency conversion optimization processing of permanent magnet synchronous motors, and reduces the hardware implementation cost.
Smart Images

Figure CN119727466A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to a method and device for optimizing random frequency conversion of a permanent magnet synchronous motor, and also to an electronic device, a non-transient computer-readable storage medium and a computer program product. Background Art
[0002] In recent years, with the rapid development of electronic technology, permanent magnet synchronous motors have been widely used in various fields, such as drones, robots, automobiles, and medical treatment. These devices and systems often need to work in complex electromagnetic environments, and electromagnetic compatibility is crucial for the normal operation of permanent magnet synchronous motors. Therefore, ensuring the electromagnetic compatibility between them and avoiding mutual interference is the key to ensuring the normal operation of the permanent magnet synchronous motor control system and the stability of the system. The electromagnetic compatibility interference of permanent magnet synchronous motors is mainly affected by the pulse width modulation frequency. The existing technology mainly optimizes electromagnetic compatibility through hardware filters, electromagnetic shielding covers, grounding shielding and other measures to improve electromagnetic compatibility. However, this method has limitations and high hardware implementation costs, resulting in poor optimization processing efficiency. Therefore, how to design a more efficient random frequency conversion optimization processing solution for permanent magnet synchronous motors has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The present invention provides a method for optimizing the random frequency conversion of a permanent magnet synchronous motor, which is used to solve the defect that the optimization scheme for optimizing the random frequency conversion of a permanent magnet synchronous motor in the prior art has high limitations, resulting in poor actual optimization processing efficiency.
[0004] The present invention provides a method for optimizing random frequency conversion of a permanent magnet synchronous motor, comprising: Obtaining the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; wherein the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor is obtained by obtaining the target original spectrum signal in the random frequency conversion area output by the permanent magnet synchronous motor, and performing Fourier transform processing on the target original spectrum signal; A spectrum analysis result is obtained by comparing and analyzing the amplitude of the spectrum signal and the limited amplitude; wherein the limited amplitude is obtained by statistically analyzing the historical amplitudes of the spectrum signal corresponding to the permanent magnet synchronous motor under different interference environments; When the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing; wherein, the random frequency conversion processing is to convert the target spectrum signal exceeding the limited amplitude to the midpoint with the largest neighborhood radius in an unused spectrum interval within the random frequency conversion area.
[0005] According to the method for random frequency conversion optimization processing of a permanent magnet synchronous motor provided by the present invention, when the spectrum analysis result indicates that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing, specifically comprising: When the spectrum analysis result indicates that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, the target spectrum signal and spectrum signals not exceeding the limited amplitude in the spectrum signal are obtained; and random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain the target spectrum signal after random frequency conversion processing; Based on the target spectrum signal after the random frequency conversion processing and the spectrum signal of the spectrum signal that does not exceed the limited amplitude, an optimized spectrum signal after the random frequency conversion processing is obtained.
[0006] According to the method for optimizing the random frequency conversion of a permanent magnet synchronous motor provided by the present invention, the target frequency spectrum signal exceeding the limited amplitude is subjected to random frequency conversion processing to obtain the target frequency spectrum signal after random frequency conversion processing, specifically comprising: Determine the number of sampling frequency points within the random frequency variation region; Based on the number of sampling frequency points in the random frequency conversion area, the midpoint with the largest neighborhood radius in the unused spectrum interval is determined, and the target spectrum signal is moved to the midpoint with the largest neighborhood radius to obtain the target spectrum signal after random frequency conversion processing.
[0007] According to the method for optimizing the random frequency conversion of a permanent magnet synchronous motor provided by the present invention, obtaining the amplitude of a frequency spectrum signal corresponding to the permanent magnet synchronous motor specifically includes: Obtain the original spectrum signal corresponding to the permanent magnet synchronous motor; Determine a random frequency conversion region corresponding to the original spectrum signal; The target original frequency spectrum signal in the random frequency conversion area is subjected to detection processing to obtain the amplitude of the frequency spectrum signal corresponding to the permanent magnet synchronous motor.
[0008] According to the method for optimizing the random frequency conversion of a permanent magnet synchronous motor provided by the present invention, the detection processing of the target original spectrum signal in the random frequency conversion area to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor specifically includes: Fourier transform processing is performed on the target original frequency spectrum signal in the random frequency conversion area to obtain the amplitude of the frequency spectrum signal corresponding to the permanent magnet synchronous motor.
[0009] According to the permanent magnet synchronous motor random frequency conversion optimization processing method provided by the present invention, after obtaining the optimized spectrum signal after random frequency conversion processing, it also includes: using the optimized spectrum signal after random frequency conversion processing as a new original spectrum signal; iteratively detecting the new original spectrum signal again to obtain the amplitude of the new spectrum signal; and performing iterative spectrum comparison analysis based on the amplitude of the new spectrum signal and the limited amplitude to obtain a new spectrum analysis result; when the new spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the new spectrum signal, continue to perform random frequency conversion processing on the target spectrum signal until the new spectrum signal meets the preset signal output condition, and obtain a new optimized spectrum signal after random frequency conversion processing.
[0010] The present invention also provides a permanent magnet synchronous motor random frequency conversion optimization processing device, comprising: A spectrum signal acquisition module, used to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; wherein the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor is obtained by acquiring the target original spectrum signal in the random frequency conversion area output by the permanent magnet synchronous motor, and performing Fourier transform processing on the target original spectrum signal; A comparison module, used for performing comparison analysis based on the amplitude of the spectrum signal and the limited amplitude to obtain a spectrum analysis result; wherein the limited amplitude is obtained by performing statistical analysis on the historical amplitudes of the spectrum signal corresponding to the permanent magnet synchronous motor under different interference environments; A random frequency conversion calculation module is used to perform random frequency conversion processing on the target spectrum signal that exceeds the limited amplitude when the spectrum analysis result is that the spectrum signal contains a target spectrum signal that exceeds the limited amplitude, so as to obtain an optimized spectrum signal after the random frequency conversion processing; wherein the random frequency conversion processing is to convert the target spectrum signal that exceeds the limited amplitude to the midpoint with the largest neighborhood radius in an unused spectrum interval within the random frequency conversion area.
[0011] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the random frequency conversion calculation module is specifically used for: When the spectrum analysis result indicates that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, the target spectrum signal and spectrum signals not exceeding the limited amplitude in the spectrum signal are obtained; and random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain the target spectrum signal after random frequency conversion processing; Based on the target spectrum signal after the random frequency conversion processing and the spectrum signal of the spectrum signal that does not exceed the limited amplitude, an optimized spectrum signal after the random frequency conversion processing is obtained.
[0012] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the target spectrum signal exceeding the limited amplitude is subjected to random frequency conversion processing to obtain the target spectrum signal after random frequency conversion processing, specifically comprising: Determine the number of sampling frequency points within the random frequency variation region; Based on the number of sampling frequency points in the random frequency conversion area, the midpoint with the largest neighborhood radius in the unused spectrum interval is determined, and the target spectrum signal is moved to the midpoint with the largest neighborhood radius to obtain the target spectrum signal after random frequency conversion processing.
[0013] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the spectrum signal acquisition module specifically includes: The original spectrum signal acquisition module is used to obtain the original spectrum signal corresponding to the permanent magnet synchronous motor; A random frequency conversion region selection module, used to determine the random frequency conversion region corresponding to the original spectrum signal; The detection module is used to perform detection processing on the target original spectrum signal in the random frequency conversion area to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor.
[0014] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the detection processing of the target original spectrum signal in the random frequency conversion area to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor specifically includes: Fourier transform processing is performed on the target original frequency spectrum signal in the random frequency conversion area to obtain the amplitude of the frequency spectrum signal corresponding to the permanent magnet synchronous motor.
[0015] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, after obtaining the optimized spectrum signal after random frequency conversion processing, it also includes: an iterative optimization processing module for: using the optimized spectrum signal after random frequency conversion processing as a new original spectrum signal; iteratively detecting the new original spectrum signal again to obtain the amplitude of the new spectrum signal; and performing iterative spectrum comparison analysis based on the amplitude of the new spectrum signal and the limited amplitude to obtain a new spectrum analysis result; when the new spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the new spectrum signal, continue to perform random frequency conversion processing on the target spectrum signal until the new spectrum signal meets the preset signal output condition, and obtain a new optimized spectrum signal after random frequency conversion processing.
[0016] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for optimizing the random frequency conversion of a permanent magnet synchronous motor as described in any one of the above items is implemented.
[0017] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for optimizing the random frequency conversion of a permanent magnet synchronous motor as described in any one of the above items is implemented.
[0018] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method for optimizing the random frequency conversion of a permanent magnet synchronous motor as described in any one of the above items.
[0019] The method for random frequency conversion optimization processing of a permanent magnet synchronous motor provided by the present invention obtains the amplitude of a spectrum signal corresponding to the permanent magnet synchronous motor; performs comparison analysis based on the amplitude of the spectrum signal and a limited amplitude to obtain a spectrum analysis result; when the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing, which effectively improves the efficiency of random frequency conversion optimization processing of the permanent magnet synchronous motor and reduces the hardware implementation cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 This is one of the flow charts of the method for optimizing the random frequency conversion of a permanent magnet synchronous motor provided by the present invention.
[0022] Figure 2 This is the second flow chart of the method for optimizing the random frequency conversion of a permanent magnet synchronous motor provided by the present invention.
[0023] Figure 3 It is a schematic diagram of a frequency spectrum signal in the random frequency conversion optimization processing method of a permanent magnet synchronous motor provided by the present invention.
[0024] Figure 4 It is a structural schematic diagram of the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention.
[0025] Figure 5It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Combine the following Figure 1-Figure 5 The present invention describes a method and device for optimizing the random frequency conversion of a permanent magnet synchronous motor, and describes an embodiment of the method and device in detail.
[0028] Based on the method for optimizing the random frequency conversion of a permanent magnet synchronous motor according to the present invention, an embodiment of the method is described in detail below. Figure 1 As shown, it is one of the flow charts of the random frequency conversion optimization processing method of the permanent magnet synchronous motor provided by the present invention, and the specific implementation process includes the following steps: Step 101, obtaining the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; wherein the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor is obtained by acquiring the target original spectrum signal within the random frequency conversion area output by the permanent magnet synchronous motor, and performing Fourier transform processing on the target original spectrum signal.
[0029] In an embodiment of the present invention, it is first necessary to obtain the original spectrum signal corresponding to the permanent magnet synchronous motor, and then determine the random frequency conversion area corresponding to the original spectrum signal, and then perform detection processing on the target original spectrum signal in the random frequency conversion area to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor, that is, perform Fourier transform processing on the target original spectrum signal in the random frequency conversion area to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor. The original spectrum signal includes the feedback signal and the output signal corresponding to the permanent magnet synchronous motor. Specifically, the random frequency conversion area can be determined by setting, such as setting the random frequency conversion area [fa, fb], assuming that the random frequency conversion area is ±5%-±10% of the given frequency. Define the random frequency conversion area: F={f|fa≤f≤fb}. Fourier transform (FFT) is a linear integral transform used for transforming signals between time domain and frequency domain. The feedback signal and the output signal are Fourier transformed as follows: in, Indicates the strength of the signal at the nth sampling frequency point; Indicates that the signal has a frequency The amplitude on ; is an imaginary number; represents the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor obtained by calculation; N is the total sampling frequency points; F is the random frequency conversion area; e represents the exponential function.
[0030] It should be noted that the permanent magnet synchronous motor (PMSM) is a synchronous motor that uses permanent magnets to establish an excitation magnetic field. It is widely used in various fields, such as drones, robots, automobiles, medical treatment, etc. Therefore, it often needs to work in a complex electromagnetic environment, and electromagnetic compatibility (EMC) is crucial for the normal operation of permanent magnet synchronous motors. Electromagnetic compatibility refers to the ability of a device or system to operate in accordance with requirements in its electromagnetic environment and not to produce intolerable electromagnetic interference to any device in its environment.
[0031] Step 102: performing a comparison analysis based on the amplitude of the spectrum signal and the limited amplitude to obtain a spectrum analysis result; wherein the limited amplitude is obtained by performing a statistical analysis on the historical amplitudes of the spectrum signal corresponding to the permanent magnet synchronous motor under different interference environments.
[0032] In the embodiment of the present invention, the amplitude of the output signal frequency is obtained by performing Fourier transform calculation processing on the feedback signal and the output signal. (i.e., the amplitude of the spectrum signal). If Greater than the specified amplitude (i.e. limited amplitude), random frequency conversion processing is performed. At the same time, the amplitude of the output signal frequency is less than or equal to the limited amplitude. The frequency collection S (i.e., the spectrum signals in the spectrum signals that do not exceed the limited amplitude) is: S={f∈F| < } Step 103: When the spectrum analysis result indicates that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, perform random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after the random frequency conversion processing; wherein the random frequency conversion processing is to convert the target spectrum signal exceeding the limited amplitude to the midpoint with the largest neighborhood radius in an unused spectrum interval within the random frequency conversion area.
[0033] In an embodiment of the present invention, when the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, the target spectrum signal exceeding the limited amplitude and the spectrum signal not exceeding the limited amplitude in the spectrum signal can be obtained, and the target spectrum signal after random frequency conversion processing is obtained by performing random frequency conversion calculation processing on the target spectrum signal exceeding the limited amplitude, and then based on the target spectrum signal after random frequency conversion processing and the spectrum signal not exceeding the limited amplitude in the spectrum signal, an optimized spectrum signal after random frequency conversion processing is obtained. Among them, in the process of performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain the target spectrum signal after random frequency conversion processing, it is first necessary to determine the number of sampling frequency points in the random frequency conversion area, and then based on the number of sampling frequency points in the random frequency conversion area, determine the midpoint with the largest neighborhood radius in the unused spectrum interval, move the target spectrum signal to the midpoint with the largest neighborhood radius, and obtain the target spectrum signal after random frequency conversion processing. In the process of obtaining the optimized spectrum signal after random frequency conversion based on the target spectrum signal after random frequency conversion and the spectrum signal in the spectrum signal that does not exceed the limited amplitude, the optimized spectrum signal after random frequency conversion can be obtained by merging the target spectrum signal after random frequency conversion and the spectrum signal in the spectrum signal that does not exceed the limited amplitude. It should be noted that, if Figure 3 As shown in the c and h coordinate axes, the random frequency change area may include multiple unused spectrum intervals. Each time the random frequency change is processed, the unused spectrum interval with the largest neighborhood radius (for example, the interval with the largest neighborhood radius is shown on the h coordinate axis) can be determined from the multiple unused spectrum intervals, and the middle point of the unused spectrum interval with the largest neighborhood radius can be determined as the midpoint.
[0034] In the embodiment of the present invention, the midpoint of the unused spectrum interval is searched during random frequency conversion processing to ensure that the neighborhood radius of the midpoint is the largest. Specifically, assuming the sampling frequency fs, the number of sampling frequency points is N, the determined random frequency conversion area needs to be less than or equal to the sampling frequency fs, and the frequency resolution is fs / N. According to the set random frequency conversion area [fa, fb], the number of sampling frequency points within the interval of the random frequency conversion area can be calculated: Ns=(fb-fa) / (fs / N) When performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain the optimized spectrum signal after random frequency conversion processing, the following calculation is performed from fa to fb: (1) For each frequency fo∈S of the spectrum signal, its neighborhood Y(fo,r) is defined as the set of frequencies within the frequency range that differ from fo by no more than a radius r, that is: Y (fo,r) = {f∈F| |f-fo|≤r} (2) By comparing and analyzing the neighborhood radii in the frequency set, the maximum neighborhood radius is determined to be R, and the set of all neighborhoods Z can be selected: Z = { Y (fo,R)|fo∈S} The set of all neighborhoods Z includes at least one maximum neighborhood radius Y(fo,R).
[0035] (3) If |X(f)|> , then the spectrum signal S that does not exceed the limited amplitude in the spectrum signal and the target spectrum signal after random frequency conversion processing are obtained, and the output is the spectrum signal S that does not exceed the limited amplitude in the spectrum signal and the spectrum signal moved to the midpoint corresponding to the maximum neighborhood radius Y(fo,R), so as to finally obtain the optimized spectrum signal after random frequency conversion processing. Wherein, X(f) represents the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor obtained by calculation.
[0036] In addition, after obtaining the optimized spectrum signal after random frequency conversion processing, the present invention can also perform multiple random frequency conversion iterative optimization processing on the optimized spectrum signal. Specifically, the optimized spectrum signal after random frequency conversion processing can be used as a new original spectrum signal; the new original spectrum signal is iteratively detected again to obtain the amplitude of the new spectrum signal; and iterative spectrum comparison analysis is performed based on the amplitude of the new spectrum signal and the limited amplitude to obtain a new spectrum analysis result; when the new spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the new spectrum signal, the target spectrum signal continues to be subjected to random frequency conversion processing until the new spectrum signal meets the preset signal output condition, and the random frequency conversion iterative optimization processing is stopped to obtain a new optimized spectrum signal after random frequency conversion processing. The signal output condition is that there is no target spectrum signal exceeding the limited amplitude.
[0037] Since the prior art is a hardware solution, there are problems of high material cost and large filter size. Moreover, for electromagnetic compatibility interference in one frequency band, a hardware filter is required; for interference of different frequencies, multiple filters are required. The present invention provides a method for optimizing the random frequency conversion of a permanent magnet synchronous motor, designs a special random frequency conversion calculation module, and evenly distributes the electromagnetic interference of the pulse width modulation frequency band in the random frequency conversion area, thereby improving the frequency spectrum of the control system and optimizing the electromagnetic compatibility performance of the system. The present invention has wide applicability and does not require increasing hardware costs.
[0038] The hardware architecture used in the random frequency conversion optimization processing method of the permanent magnet synchronous motor described in the present invention is as follows: Figure 2As shown. The present invention includes a detection module, a random frequency conversion area selection module, a comparison module, and a random frequency conversion calculation module. The detection module detects the feedback signal and the output signal respectively, and mainly performs Fourier transform calculation to obtain the corresponding original spectrum signal. The frequency conversion area is selected by the random frequency conversion area selection module to limit the domain of the original spectrum signal. The comparison module compares whether the modulus of the Fourier transform exceeds the limited amplitude at a given frequency. After calculation by the comparison module, if the modulus exceeds the limited amplitude, the random frequency conversion calculation module is turned on to perform random frequency conversion processing, and the interference amplitude is weakened by changing the control frequency. The random frequency conversion calculation module calculates the frequency neighborhood of the blank area in the current random frequency conversion area, and the frequency output corresponding to the maximum neighborhood radius is the set frequency.
[0039] In addition, it should be noted that, affected by the conducted disturbance, the disturbance signal will affect each feedback signal. The feedback signal is generally a bus voltage, bus current, phase current and other signals, which are sampled at high frequency and Fourier transformed to obtain the original spectrum signal of the feedback signal. The functional flow chart of the present invention is as follows Figure 3 As shown, Figure a is the original spectrum signal (i.e., the original spectrum), and Figure b is the optimized spectrum signal after random frequency conversion processing of the present invention (i.e., the processed spectrum). The two points on the coordinates in Figure c show the random frequency conversion area, Figures d and e show the waveforms output after the feedback signal and the output signal pass through the detection module (i.e., the feedback signal detection corresponding to the feedback signal and the output signal detection corresponding to the output signal), Figures f and g show the spectrum comparison analysis principle of the feedback signal and the output signal in the comparison module, and Figure h shows the midpoint of the unused spectrum interval and the neighborhood radius h of the midpoint. Among them, the dotted lines in Figures f and g can represent the preset limited amplitude.
[0040] The method for random frequency conversion optimization processing of a permanent magnet synchronous motor provided by the present invention obtains the amplitude of a spectrum signal corresponding to the permanent magnet synchronous motor; performs comparison analysis based on the amplitude of the spectrum signal and a limited amplitude to obtain a spectrum analysis result; when the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing, which effectively improves the efficiency of random frequency conversion optimization processing of the permanent magnet synchronous motor and reduces the hardware implementation cost.
[0041] The following is a description of the random frequency conversion optimization processing device for a permanent magnet synchronous motor provided by the present invention. The random frequency conversion optimization processing device for a permanent magnet synchronous motor described below and the random frequency conversion optimization processing method for a permanent magnet synchronous motor described above can be referred to in correspondence with each other. Figure 4As shown, it is a structural schematic diagram of the random frequency conversion optimization processing device for a permanent magnet synchronous motor provided by the present invention. The random frequency conversion optimization processing device for a permanent magnet synchronous motor provided by the present invention specifically includes the following parts: The spectrum signal acquisition module 401 is used to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; wherein the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor is obtained by acquiring the target original spectrum signal in the random frequency conversion area output by the permanent magnet synchronous motor, and performing Fourier transform processing on the target original spectrum signal.
[0042] The comparison module 402 is used to compare and analyze the amplitude of the spectrum signal and the limited amplitude to obtain a spectrum analysis result; wherein the limited amplitude is obtained by statistically analyzing the historical amplitudes of the spectrum signal corresponding to the permanent magnet synchronous motor under different interference environments.
[0043] The random frequency conversion calculation module 403 is used to perform random frequency conversion processing on the target spectrum signal exceeding the limited amplitude when the spectrum analysis result is that the spectrum signal contains a target spectrum signal exceeding the limited amplitude, so as to obtain an optimized spectrum signal after the random frequency conversion processing; wherein the random frequency conversion processing is to convert the target spectrum signal exceeding the limited amplitude to the midpoint with the largest neighborhood radius in an unused spectrum interval within the random frequency conversion area.
[0044] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the random frequency conversion calculation module is specifically used for: When the spectrum analysis result indicates that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, the target spectrum signal and spectrum signals not exceeding the limited amplitude in the spectrum signal are obtained; and random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain the target spectrum signal after random frequency conversion processing; Based on the target spectrum signal after the random frequency conversion processing and the spectrum signal of the spectrum signal that does not exceed the limited amplitude, an optimized spectrum signal after the random frequency conversion processing is obtained.
[0045] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the target spectrum signal exceeding the limited amplitude is subjected to random frequency conversion processing to obtain the target spectrum signal after random frequency conversion processing, specifically comprising: Determine the number of sampling frequency points within the random frequency variation region; Based on the number of sampling frequency points in the random frequency conversion area, the midpoint with the largest neighborhood radius in the unused spectrum interval is determined, and the target spectrum signal is moved to the midpoint with the largest neighborhood radius to obtain the target spectrum signal after random frequency conversion processing.
[0046] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the spectrum signal acquisition module specifically includes: The original spectrum signal acquisition module is used to obtain the original spectrum signal corresponding to the permanent magnet synchronous motor; A random frequency conversion region selection module, used to determine the random frequency conversion region corresponding to the original spectrum signal; The detection module is used to perform detection processing on the target original spectrum signal in the random frequency conversion area to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor.
[0047] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, the detection processing of the target original spectrum signal in the random frequency conversion area to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor specifically includes: Fourier transform processing is performed on the target original frequency spectrum signal in the random frequency conversion area to obtain the amplitude of the frequency spectrum signal corresponding to the permanent magnet synchronous motor.
[0048] According to the permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention, after obtaining the optimized spectrum signal after random frequency conversion processing, it also includes: an iterative optimization processing module for: using the optimized spectrum signal after random frequency conversion processing as a new original spectrum signal; iteratively detecting the new original spectrum signal again to obtain the amplitude of the new spectrum signal; and performing iterative spectrum comparison analysis based on the amplitude of the new spectrum signal and the limited amplitude to obtain a new spectrum analysis result; when the new spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the new spectrum signal, continue to perform random frequency conversion processing on the target spectrum signal until the new spectrum signal meets the preset signal output condition, and obtain a new optimized spectrum signal after random frequency conversion processing.
[0049] The permanent magnet synchronous motor random frequency conversion optimization processing device provided by the present invention obtains the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; performs comparison analysis based on the amplitude of the spectrum signal and the limited amplitude to obtain the spectrum analysis result; when the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, the target spectrum signal exceeding the limited amplitude is subjected to random frequency conversion processing to obtain the optimized spectrum signal after the random frequency conversion processing, which effectively improves the efficiency of the random frequency conversion optimization processing of the permanent magnet synchronous motor and reduces the hardware implementation cost.
[0050] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5As shown, the electronic device (i.e., a real-time monitoring system for a power grid or a real-time monitoring device for a power grid) may include: a processor 501, a communication interface 504, a memory 502, and a communication bus 503, wherein the processor 501, the communication interface 504, and the memory 502 communicate with each other through the communication bus 503. The processor 501 may call the logic instructions in the memory 502 to execute a random frequency conversion optimization processing method for a permanent magnet synchronous motor, the method comprising: obtaining the amplitude of a spectrum signal corresponding to the permanent magnet synchronous motor; performing a comparison analysis based on the amplitude of the spectrum signal and a limited amplitude to obtain a spectrum analysis result; when the spectrum analysis result indicates that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing.
[0051] In addition, the logic instructions in the above-mentioned memory 502 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0052] On the other hand, the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the permanent magnet synchronous motor random frequency conversion optimization processing method provided by the above methods, and the method includes: obtaining the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; performing comparison analysis based on the amplitude of the spectrum signal and the limited amplitude to obtain a spectrum analysis result; when the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing.
[0053] On the other hand, the present application also provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the permanent magnet synchronous motor random frequency conversion optimization processing method provided by the above methods is executed, and the method includes: obtaining the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; performing comparison analysis based on the amplitude of the spectrum signal and the limited amplitude to obtain a spectrum analysis result; when the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing.
[0054] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0055] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0056] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for optimizing the random frequency conversion of a permanent magnet synchronous motor, characterized in that: include: Obtaining the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; wherein the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor is obtained by obtaining the target original spectrum signal in the random frequency conversion area output by the permanent magnet synchronous motor, and performing Fourier transform processing on the target original spectrum signal; A spectrum analysis result is obtained by comparing and analyzing the amplitude of the spectrum signal and the limited amplitude; wherein the limited amplitude is obtained by statistically analyzing the historical amplitudes of the spectrum signal corresponding to the permanent magnet synchronous motor under different interference environments; When the spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, random frequency conversion processing is performed on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing; wherein, the random frequency conversion processing is to convert the target spectrum signal exceeding the limited amplitude to the midpoint with the largest neighborhood radius in an unused spectrum interval within the random frequency conversion area.
2. The method for optimizing the random frequency conversion of a permanent magnet synchronous motor according to claim 1, characterized in that: When the spectrum analysis result indicates that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain an optimized spectrum signal after random frequency conversion processing, specifically comprising: In the case where the spectrum analysis result shows that there is a target spectrum signal exceeding the limited amplitude in the spectrum signal, obtaining the target spectrum signal exceeding the limited amplitude and the spectrum signal not exceeding the limited amplitude in the spectrum signal; and performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain the target spectrum signal after random frequency conversion processing; Based on the target spectrum signal after the random frequency conversion processing and the spectrum signal of the spectrum signal that does not exceed the limited amplitude, an optimized spectrum signal after the random frequency conversion processing is obtained.
3. The method for optimizing the random frequency conversion of a permanent magnet synchronous motor according to claim 2, characterized in that: The step of performing random frequency conversion processing on the target spectrum signal exceeding the limited amplitude to obtain the target spectrum signal after random frequency conversion processing specifically includes: Determine the number of sampling frequency points within the random frequency variation region; Based on the number of sampling frequency points in the random frequency conversion area, the midpoint with the largest neighborhood radius in the unused spectrum interval is determined, and the target spectrum signal is moved to the midpoint with the largest neighborhood radius to obtain the target spectrum signal after random frequency conversion processing.
4. The method for optimizing the random frequency conversion of a permanent magnet synchronous motor according to claim 1, characterized in that: The obtaining of the amplitude of the frequency spectrum signal corresponding to the permanent magnet synchronous motor specifically includes: Obtain the original spectrum signal corresponding to the permanent magnet synchronous motor; Determine a random frequency conversion region corresponding to the original spectrum signal; The target original frequency spectrum signal in the random frequency conversion area is subjected to detection processing to obtain the amplitude of the frequency spectrum signal corresponding to the permanent magnet synchronous motor.
5. The method for optimizing the random frequency conversion of a permanent magnet synchronous motor according to claim 4, characterized in that: The detecting process of the target original spectrum signal in the random frequency conversion region to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor specifically includes: Fourier transform processing is performed on the target original frequency spectrum signal in the random frequency conversion area to obtain the amplitude of the frequency spectrum signal corresponding to the permanent magnet synchronous motor.
6. The method for optimizing the random frequency conversion of a permanent magnet synchronous motor according to claim 1, characterized in that: After obtaining the optimized spectrum signal after random frequency conversion processing, it also includes: using the optimized spectrum signal after random frequency conversion processing as a new original spectrum signal; iteratively detecting the new original spectrum signal again to obtain the amplitude of the new spectrum signal; and performing iterative spectrum comparison analysis based on the amplitude of the new spectrum signal and the limited amplitude to obtain a new spectrum analysis result; when the new spectrum analysis result is that there is a target spectrum signal exceeding the limited amplitude in the new spectrum signal, continue to perform random frequency conversion processing on the target spectrum signal to obtain a new optimized spectrum signal after random frequency conversion processing.
7. A permanent magnet synchronous motor random frequency conversion optimization processing device, characterized in that: include: A spectrum signal acquisition module, used to obtain the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor; wherein the amplitude of the spectrum signal corresponding to the permanent magnet synchronous motor is obtained by acquiring the target original spectrum signal in the random frequency conversion area output by the permanent magnet synchronous motor, and performing Fourier transform processing on the target original spectrum signal; A comparison module, used for performing comparison analysis based on the amplitude of the spectrum signal and the limited amplitude to obtain a spectrum analysis result; wherein the limited amplitude is obtained by performing statistical analysis on the historical amplitudes of the spectrum signal corresponding to the permanent magnet synchronous motor under different interference environments; A random frequency conversion calculation module is used to perform random frequency conversion processing on the target spectrum signal that exceeds the limited amplitude when the spectrum analysis result is that the spectrum signal contains a target spectrum signal that exceeds the limited amplitude, so as to obtain an optimized spectrum signal after the random frequency conversion processing; wherein the random frequency conversion processing is to convert the target spectrum signal that exceeds the limited amplitude to the midpoint with the largest neighborhood radius in an unused spectrum interval within the random frequency conversion area.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the permanent magnet synchronous motor random frequency conversion optimization processing method as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for optimizing the random frequency conversion of a permanent magnet synchronous motor as claimed in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for optimizing the random frequency conversion of a permanent magnet synchronous motor as claimed in any one of claims 1 to 6 is implemented.