Loudspeaker structure parameter optimization method and system, electronic equipment and storage medium
By establishing a finite element model and simulation analysis, the elastic strain energy and kinetic energy ratio of speaker components are calculated, the target components are determined and their structural parameters are updated, which solves the problems of low efficiency and high cost in speaker design, and achieves efficient and economical optimization effects.
Patent Information
- Application Number
- CN202510438149.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-07-25
AI Technical Summary
There are problems in existing speaker designs such as low design efficiency, high cost and difficulty in targeted improvement, especially in complex structures, which are difficult to effectively judge and optimize natural frequencies through traditional methods.
By establishing a finite element model, dividing speaker components into multiple units, setting boundary conditions, performing simulation analysis, calculating the elastic strain energy and kinetic energy ratio of each unit, determining the target components and updating their structural parameters to increase the natural frequency.
Efficient and rapid identification of components that need to be optimized reduces the difficulty and time of speaker optimization, improves design efficiency, and saves costs, especially for speakers with complex structures.
Smart Images

Figure CN120373015A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of loudspeakers, and particularly to a method, a system, an electronic device, and a storage medium for optimizing the structural parameters of a loudspeaker. Background Art
[0002] Resonance refers to the phenomenon that the vibration amplitude of a system increases significantly at a specific frequency. When the frequency of an external driving force (excitation frequency) is close to or equal to the natural frequency of the system, the energy transfer efficiency reaches the highest, resulting in a sharp amplification of the amplitude. Resonance in a loudspeaker during operation generally harms the sound quality and mechanical structure. Increasing the natural frequency is often an effective method in structural design. In existing methods, during design, the structure is usually strengthened only by relying on experience through material stacking, or the structural design parameters are changed by combining dynamic observation of the deformation amplitude of components. The main defects are as follows:
[0003] (1) Limited application. Only by the method of material stacking, such as increasing the thickness or adding ribs to components without specific targeting under the premise of unchanged materials, will gradually become difficult to apply in the trend of increasingly complex and compact loudspeaker design;
[0004] (2) Low design efficiency. For a loudspeaker with a complex structure, when there are many components, observing each component one by one will lead to a reduction in design efficiency. At the same time, it may be difficult to directly and effectively judge only by the vibration mode;
[0005] (3) The defect of high cost. Making indiscriminate improvements by selecting expensive materials and spending a lot of time in the screening process will lead to unnecessary cost waste. Summary of the Invention
[0006] In order to solve the above defects existing in the prior art, the present invention provides a method for optimizing the structural parameters of a loudspeaker.
[0007] In a first aspect, the present invention provides a method for optimizing the structural parameters of a loudspeaker, including:
[0008] Establishing a finite element model for the loudspeaker, dividing the components of the loudspeaker into multiple units in the finite element model, and the types of components include support components and magnetic circuit components;
[0009] Setting the boundary conditions of the finite element model;
[0010] Simulating the first N modes of the loudspeaker and obtaining the elastic strain energy and kinetic energy of each unit in each mode;
[0011] For each component, calculating the proportion of the elastic strain energy and the proportion of the kinetic energy of the component in the Nth mode according to the elastic strain energy and kinetic energy of the units included in the component;
[0012] Determine the target component to be corrected according to the proportion of elastic strain energy and kinetic energy of each component in the Nth-order mode;
[0013] Update the structural parameters of the target component according to the proportion of elastic strain energy, and / or kinetic energy of the target component in the Nth-order mode, and the change of the structural parameters affects the stiffness and mass of the target component.
[0014] In a second aspect, the present invention provides a system for optimizing the structural parameters of a loudspeaker, including:
[0015] A model construction module for establishing a finite element model for the loudspeaker, dividing the components of the loudspeaker into multiple units in the finite element model, and the types of components include support components and magnetic circuit components;
[0016] A condition setting module for setting the boundary conditions of the finite element model;
[0017] A simulation solution module for simulating the first N orders of modes of the loudspeaker and obtaining the elastic strain energy and kinetic energy of each unit in each order of mode;
[0018] A data analysis module for calculating the proportion of elastic strain energy and kinetic energy of a component in the Nth-order mode according to the elastic strain energy and kinetic energy of the units included in the component for each component;
[0019] A target component determination module for determining the target component to be corrected according to the proportion of elastic strain energy and kinetic energy of each component in the Nth-order mode;
[0020] An optimization module for updating the structural parameters of the target component according to the proportion of elastic strain energy, and / or kinetic energy of the target component in the Nth-order mode, and the change of the structural parameters affects the stiffness and mass of the target component.
[0021] In a third aspect, the present invention provides an electronic device, and the electronic device includes:
[0022] At least one processor; and
[0023] A memory communicatively connected to the at least one processor; wherein,
[0024] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for optimizing the structural parameters of the loudspeaker according to the first aspect of the present invention.
[0025] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a processor to implement the method for optimizing the structural parameters of a speaker according to the first aspect of the present invention when executed.
[0026] The beneficial effects of the present invention are as follows:
[0027] By simulation, the present invention obtains the proportion of elastic strain energy and kinetic energy of each component in the Nth-order mode. The larger the proportion of elastic strain energy and kinetic energy, the greater the influence of the target component on the natural frequency of the speaker in the Nth order. Therefore, the target components that need to update the structural parameters can be determined efficiently and quickly, providing the improvement direction of the speaker, reducing the optimization difficulty of the speaker and shortening the optimization time. Especially for speakers with complex structures, there is no need to observe each component to correct the structural parameters, which greatly improves the optimization efficiency of the speaker. Also, there is no need to use expensive materials for multiple improvements, saving costs.
[0028] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0030] Figure 1 is a flowchart of a method for optimizing the structural parameters of a speaker provided by an embodiment of the present invention;
[0031] Figure 2 is a schematic structural diagram of a conventional speaker provided by an embodiment of the present invention;
[0032] Figure 3 is a distribution diagram of elastic strain energy of each component in each order mode in the original scheme provided by an embodiment of the present invention;
[0033] Figure 4 is a distribution diagram of kinetic energy of each component in each order mode in the original scheme provided by an embodiment of the present invention;
[0034] Figure 5 is a schematic structural diagram of a system for optimizing the structural parameters of a speaker provided by an embodiment of the present invention;
[0035] Figure 6It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0036] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0037] Figure 1 It is a flowchart of a method for optimizing the structural parameters of a loudspeaker provided by an embodiment of the present invention. This embodiment is applicable to the situation of optimizing the structural parameters of a loudspeaker. This method can be executed by a loudspeaker structural parameter optimization system. The loudspeaker structural parameter optimization system can be implemented in the form of hardware and / or software, and the loudspeaker structural parameter optimization system can be configured in an electronic device. As Figure 1 shown, the method for optimizing the structural parameters of the loudspeaker includes:
[0038] S101. Establish a finite element model for the loudspeaker, and divide the components of the loudspeaker into multiple units in the finite element model. The types of components include support components and magnetic circuit components.
[0039] When establishing the finite element model, first check the original geometric model of the loudspeaker, and remove unnecessary details on the premise of not affecting the structural performance and analysis results, such as small chamfers and fillets, because these details may increase the complexity of mesh generation and contribute little to the overall structural analysis. In addition, for some symmetric structures, if only one side needs to be analyzed to infer the overall performance, the model can be symmetrically simplified to reduce the amount of calculation.
[0040] Figure 2 It is a schematic diagram of a conventional loudspeaker structure. As Figure 2 shown, the overall composed of the diaphragm 1, the speaker cone 2, the dust cap 3, the spider 4, the voice coil 5, the voice coil former 6 and the glue 7 is called the vibration system component. The design of the radiation resonance frequency generally meets the requirements by changing the design and materials of the vibration system. The speaker frame 8 and the top plate 9 are support components, mainly used to provide support for the loudspeaker system. The magnet 10 and the magnetic bowl 11 are magnetic circuit components, mainly used to provide driving force for the loudspeaker system. The design of the natural frequency of the loudspeaker is generally adjusted by changing the structural parameters of the vibration system components, the support and the magnetic circuit components. Generally, it is required that the hardware system has sufficient rigidity, that is, the hardware system has a sufficiently high natural frequency. Therefore, the weak parts in the support components and the magnetic circuit components can be detected through simulation.
[0041] The structural parameters may specifically include structural shape, structural volume, material density, etc.
[0042] When dividing a component into multiple (finite number of) elements, select appropriate element types and mesh densities. For complex structures or stress concentration areas, finer mesh division should be adopted to improve calculation accuracy; while for the secondary parts of the structure, coarser meshes can be used to reduce calculation time, and the mesh quality should be checked to ensure that the shape, size, etc. of the elements meet the requirements and avoid the occurrence of deformed elements. It should be noted that the component may not be divided or may be divided into multiple elements. Generally speaking, the same mesh division is used when locally refining the mesh of the same component.
[0043] S102. Set the boundary conditions of the finite element model.
[0044] In finite element analysis, boundary conditions are key descriptions used to define the constraints or external actions of the model in space. They simulate the interaction between the structure or component and the external environment in the actual physical system. The correct setting of boundary conditions is the core factor to ensure the accuracy of the analysis results.
[0045] Exemplarily, simple support constraints can be applied to the components in the model. For example, some shaft systems supported by bearings need to use simple support constraints, which only restrict translation but not rotation.
[0046] S103. Simulate the first N natural modes of the speaker and obtain the elastic strain energy and kinetic energy of each element in each natural mode.
[0047] The Nth natural mode is the target natural mode for adjusting the natural frequency. N can take values of 1, 2, 3... Generally speaking, adjusting the natural frequencies of the first 3 natural modes already meets the requirements of most speaker products.
[0048] When N is equal to 1, only the first natural mode can be simulated. When N is greater than 1, it is impossible to only simulate the Nth natural mode. Therefore, it is necessary to simulate all the natural modes from 1 to N, that is, simulate the first N natural modes of the speaker, and then the elastic strain energy and kinetic energy of each element in each natural mode can be obtained.
[0049] S104. For each component, calculate the proportion of the elastic strain energy and the proportion of the kinetic energy of the component in the Nth natural mode according to the elastic strain energy and kinetic energy of the elements included in the component.
[0050] Specifically, for each component, determine the elastic strain energy and kinetic energy of the units included in the component in the Nth mode; calculate the sum of the elastic strain energies of the included units in the Nth mode to obtain the elastic strain energy of the component in the Nth mode, and calculate the sum of the kinetic energies of the included units in the current mode to obtain the kinetic energy of the component in the Nth mode; in each mode, calculate the ratio of the elastic strain energy of each component in the Nth mode to the total elastic strain energy of all components to obtain the proportion of the elastic strain energy of each component in the Nth mode; calculate the ratio of the kinetic energy of each component to the total kinetic energy of all components to obtain the proportion of the kinetic energy of the component in the Nth mode.
[0051] Among them, the calculation formula for the elastic strain energy of each unit is:
[0052]
[0053] The calculation formula for the elastic strain energy of each component is:
[0054]
[0055] Among them, is the elastic strain energy of the ith unit in the Nth mode, SENE N is the elastic strain energy of the component in the Nth mode, are respectively the displacement vector and stiffness matrix of the ith unit in the Nth mode, is transpose vector of, and n is the number of units included in the component.
[0056] The calculation formula for the kinetic energy of each unit is:
[0057]
[0058] The calculation formula for the kinetic energy of each component is:
[0059]
[0060] Among them, is the kinetic energy of the ith unit in the Nth mode, KENE N is the kinetic energy of the component in the Nth mode, are respectively the nodal velocity vector and mass matrix of the ith unit in the Nth mode, is transpose vector of, and n is the number of units included in the component.
[0061] S105. Determine the target component to be corrected according to the proportion of the elastic strain energy and the proportion of the kinetic energy of each component in the Nth mode.
[0062] Specifically, the target components include a first target component and a second target component. Determining the target component to be corrected according to the proportion of elastic strain energy and kinetic energy of each component in the Nth-order mode includes taking the component with the largest proportion of elastic strain energy in the Nth-order mode as the first target component to be corrected; taking the component with the largest proportion of kinetic energy in the Nth-order mode as the second target component to be corrected.
[0063] The calculation formula for the natural frequency of a mechanical structure is:
[0064]
[0065] Where f is the natural frequency to be obtained or required, k is the (equivalent) structural stiffness, and m is the (equivalent) structural mass.
[0066] According to the calculation formula of the natural frequency, the greater the material stiffness of the component, the higher its natural frequency. And the greater the proportion of elastic strain energy, the smaller the material stiffness of the component. Therefore, when determining the target component to be corrected, the component with the largest proportion of elastic strain energy in the Nth-order mode can be taken as the first target component to be corrected.
[0067] The smaller the material mass of the component, the higher its natural frequency. And the greater the proportion of kinetic energy, the greater the material mass of the component. Therefore, when determining the target component to be corrected, the component with the largest proportion of kinetic energy in the Nth-order mode can be taken as the second target component to be corrected.
[0068] S106. Update the structural parameters of the target component according to the proportion of target elastic strain energy and / or kinetic energy in the Nth-order mode. The change of the structural parameters affects the stiffness and mass of the target component.
[0069] It can be seen from the calculation formula of the natural frequency that to increase the natural frequency of the target component, it can be achieved by increasing the structural stiffness or reducing the structural mass.
[0070] Optionally, updating the structural parameters of the target component according to the proportion of elastic strain energy and / or kinetic energy of the target component in the Nth-order mode includes:
[0071] For each of the first target components, determine the corrected stiffness of the first target component based on the proportion of elastic strain energy of the first target component in the Nth-order mode. The corrected stiffness is proportional to the proportion of elastic strain energy of the first target component in the Nth-order mode;
[0072] For each of the second target components, determine the corrected mass of the second target component based on the proportion of kinetic energy of the second target component in the Nth-order mode. The corrected mass is inversely proportional to the kinetic energy distribution ratio of the first target component in the Nth-order mode;
[0073] Update the structural parameters of the first target component according to the corrected stiffness;
[0074] Update the structural parameters of the second target component according to the corrected mass.
[0075] When the proportion of the elastic strain energy of the first target component is larger, it indicates that the stiffness of the first target component is smaller and the natural frequency is lower, so a larger corrected stiffness needs to be set; when the proportion of the kinetic energy of the second target component is larger, it also indicates that the natural frequency of the second target component is lower, so a smaller corrected mass needs to be set.
[0076] It can be known that the stiffness is related to the material type. When updating the stiffness, it can be achieved by changing the material type. The mass is the product of the volume and the density. Therefore, when updating the mass, it can be achieved by updating the volume or the density. The present invention does not limit this.
[0077] In the present invention, through simulation, the proportion of the elastic strain energy and the proportion of the kinetic energy of each component in the Nth mode are obtained. The larger the proportion of the elastic strain energy and the kinetic energy, the greater the influence of the target component on the natural frequency of the speaker in the Nth order. Therefore, the target components that need to update the structural parameters can be determined efficiently and quickly, providing an improvement direction for the speaker, reducing the optimization difficulty of the speaker and shortening the optimization time. Especially for a speaker with a complex structure, there is no need to observe each component attentively to correct the structural parameters, greatly improving the optimization efficiency of the speaker, and there is no need to use expensive materials for improvement multiple times, saving costs.
[0078] In an optional embodiment, after updating the structural parameters of the target component according to the proportion of the elastic strain energy and / or the proportion of the kinetic energy of the target component in the Nth mode, it further includes: obtaining the natural frequency of the device installed with the speaker in the Nth mode to obtain a first natural frequency; obtaining the natural frequency of the speaker with updated structural parameters in the Nth mode to obtain a second natural frequency; determining whether the ratio of the second natural frequency to the first natural frequency is greater than a preset ratio threshold, where the ratio threshold is greater than 1.25; if so, determining that the speaker structure optimization is completed; if not, returning to execute the step of establishing a finite element model for the speaker and dividing the components of the speaker into multiple units in the finite element model.
[0079] The Nth-order mode is the target mode to be optimized. The device on which the speaker is installed, such as a horn, etc., also has a certain natural frequency. If the natural frequency of the speaker is the same as that of the device on which it is installed, resonance is likely to occur, resulting in problems such as poor sound quality and device damage. Therefore, the natural frequencies of the speaker and the installation device in the Nth-order mode can be compared. When the ratio of the second natural frequency to the first natural frequency is greater than a preset proportional threshold, it indicates that the speaker and the installation device will not resonate, and thus it can be determined that the speaker structure optimization is completed. Otherwise, the structure still needs to be optimized.
[0080] To prove the technical effects brought by the solution of the embodiment of the present invention, the speaker structure shown in Figure 2 is now used for simulation verification. The specific steps are as follows:
[0081] ① Establishment of the finite element model: For the speaker structure shown in Figure 2 in the simulation software, the chassis 8, the top plate 9, the magnet 10, and the magnetic bowl 11 are respectively named S1, S2, S3, and S4.
[0082] ② Mesh generation.
[0083] ③ Application of boundary conditions: According to the actual situation, boundary conditions are applied to the model. In this embodiment, fixed constraints are applied to the mounting holes of the speaker chassis.
[0084] ④ Solving eigenvalues and eigenvectors: Use a suitable numerical algorithm (such as the subspace iteration method, the Lanczos method, etc.) to solve the eigenvalue equation to obtain the natural frequency of the structure and the corresponding vibration mode vector. The natural frequency reflects the speed of the structure vibration, and the vibration mode vector describes the vibration form of the structure in each order mode.
[0085] ⑤ Data extraction: In this embodiment, the first 6 natural frequencies of the magnetic circuit and the support system are calculated, and the elastic strain energy and kinetic energy of each component are extracted.
[0086] Analyze and statistically process the above data. Name the initial scheme as the original scheme, and name the first 6 modes of the components as Mode1 to Mode6. The first 6 frequencies are shown in Table 1.
[0087] Table 1. Frequency table corresponding to the first 6 modes of the speaker in the original scheme
[0088]
[0089] Figure 3 is the elastic strain energy distribution diagram of each component in each order mode in the original scheme, Figure 4 is the kinetic energy distribution diagram of each component in each order mode in the original scheme. From Figure 3It can be seen that among the first six modes, the elastic strain energy of the S1 component (the speaker frame 8) accounts for the largest proportion, approaching 100%. Therefore, starting from modifying the stiffness of the speaker frame 8 is a relatively effective method to increase the modal frequency.
[0090] It can be seen from Figure 4 that among the first six modes, the kinetic energy of the S3 component (the magnet 10) accounts for the largest proportion, exceeding 40% in each case. Therefore, starting from modifying the mass of the magnet 10 is a relatively effective method to increase the modal frequency.
[0091] Based on the above analysis, the following verifications are carried out for the above analysis. In each verification scheme, only a single variable is changed, that is, only the mass or stiffness is changed, and the following four schemes are obtained:
[0092] Scheme A: Change the material elastic modulus of the speaker frame 8, that is, the S1 component, to increase the structural stiffness k to improve its natural frequency. The principle is that when the rigidity is increased, the frequency is increased;
[0093] Scheme B: Change the material density of the magnet 10, that is, the S3 component (with the volume unchanged), to reduce the structural mass m to improve its natural frequency. The principle is that when the material density is reduced, the frequency is increased;
[0094] To verify the results synchronously, the simulations of the following Schemes C / D are carried out. From the analysis of the energy distribution, the influence degree of Schemes C / D should be less than that of Schemes A / B:
[0095] Scheme C: Change the material density of the speaker frame 8, that is, the S1 component, to reduce the structural mass m. The principle is that when the material density is reduced, its mass is reduced, and the frequency is increased;
[0096] Scheme D: Change the material elastic modulus of the magnet 10, that is, the S3 component, to increase the structural stiffness. The principle is that when the rigidity is increased, the frequency is increased.
[0097] The first six natural frequencies of the original design and four improved designs are summarized in Table 2. Taking the first natural frequency as an example, the frequencies of Design A / B / C / D are 950.62 / 400.46 / 312.56 / 303.3 Hz respectively, and the improvement ratios compared with the original design of 303.24 Hz are 213.5%, 32.1%, 3.1%, 0.02% respectively. Taking the second natural frequency as an example, the frequencies of Design A / B / C / D are 951.06 / 400.65 / 312.69 / 303.43 Hz respectively, and the improvement ratios compared with the original design of 303.37 Hz are 213.5%, 32.1%, 3.1%, 0.02% respectively. Taking the third natural frequency as an example, the frequencies of Design A / B / C / D are 1369.8 / 569.53 / 455.09 / 436.91 Hz respectively, and the improvement ratios compared with the original design frequency of 436.86 Hz are 213.6%, 30.4%, 4.2%, 0.01% respectively. From the comparison of the results, the effect of Design D is the worst. This is because, as can be seen from Figure 3 it is known that the elastic strain energy of the magnet 10, i.e., the S3 component, accounts for almost 0 in the speaker support and magnetic circuit system. Design D aims to increase its stiffness by increasing the elastic modulus of the material, so it is difficult to show the improvement effect, which is consistent with the actual situation. Therefore, the changed results are completely consistent with the analysis conclusions obtained from the energy distribution. Similarly, the results of Designs B and C can be explained.
[0098] However, if judged by traditional methods, it can only be determined that the weak mode is caused by the entire system composed of the top plate 9, the magnet 10, and the magnetic bowl 11. The optimization direction may be similar to Designs C and D, and this misjudgment will lead to the inability to carry out the optimization work or the effect will be very small, thus resulting in the inability to effectively carry out the design work. Therefore, it is very effective to find out the components that most need to be improved from the complex system and carry out targeted improvements according to the speaker structure optimization method shown in the present invention, which can greatly improve the efficiency of speaker structure optimization.
[0099] Table 2. Summary list of the first six natural frequencies of the original design and four improved designs
[0100]
[0101]
[0102] Generally speaking, the advantages of this design are as follows:
[0103] 1. The traditional methods for observing and analyzing the modal vibration modes of speakers and speaker systems mainly focus on the relative vibration amplitudes at various points of the structure. However, due to the increasingly complex design of speakers and speaker systems, with numerous components and mutual coupling, the vibration modes become very complex, showing complex spatial distributions, and the vibrations of different components are intertwined. It is difficult to accurately determine which component is the actual weak link that needs improvement solely based on the vibration modes. The energy distribution method, on the other hand, starts directly from the energy perspective. This method has a clear physical meaning. It reflects the energy magnitudes of various components in the structure during vibration, can more comprehensively evaluate the performance of each component in the mode, clearly shows the distribution of energy on each component under a specific weak mode, and the components with concentrated energy are often the weak components that are most prone to problems such as fatigue and damage. It can more accurately locate the object that needs improvement, thereby determining it as the component to be preferentially improved, and its application is more extensive and convenient.
[0104] 2. Comprehensiveness of factor consideration: Traditional modal vibration mode analysis mainly focuses on the geometric vibration forms of the structure, and rarely considers the influence of factors such as the material properties and damping of the structure on vibration. These factors play an important role in the dynamic response of the structure and the formation of weak links in actual engineering. The energy distribution method comprehensively considers the influence of various factors on the vibration energy of the structure. Components made of different materials have different energy storage and dissipation capabilities during vibration. Energy distribution analysis can take these factors into account, more comprehensively evaluate the performance of each component in the mode, and thus more accurately determine the weak components, which can provide necessary reference and help for design optimization.
[0105] 3. Guidance for improvement direction: Although modal vibration mode analysis can generally point out the parts of the structure with larger vibrations, it lacks clear guidance on how to improve these parts to enhance the dynamic performance of the system. It can only provide information about the vibration form and cannot directly give the direction of improvement measures. The energy distribution method can not only locate the weak components but also provide directions for improving these components. The method based on energy distribution can greatly improve the design efficiency, avoid waste of time, and save costs to a certain extent.
[0106] The present invention also provides a system for optimizing the structural parameters of a speaker. Figure 5 It is a schematic structural diagram of a system for optimizing the structural parameters of a speaker provided by an embodiment of the present invention. As Figure 5 shown, the system for optimizing the structural parameters of a speaker includes:
[0107] A model construction module 100, configured to establish a finite element model for the speaker, and divide the components of the speaker into multiple units in the finite element model. The types of components include support components and magnetic circuit components.
[0108] The condition setting module 200 is used to set the boundary conditions of the finite element model;
[0109] The simulation solving module 300 is used to simulate the first N modes of the speaker and obtain the elastic strain energy and kinetic energy of each unit in each mode;
[0110] The data analysis module 400 is used to calculate the proportion of the elastic strain energy and the proportion of the kinetic energy of each component in the Nth mode according to the elastic strain energy and kinetic energy of the units included in the component for each component;
[0111] The target component determination module 500 is used to determine the target component to be corrected according to the proportion of the elastic strain energy and the proportion of the kinetic energy of each component in the Nth mode;
[0112] The optimization module 600 is used to update the structural parameters of the target component according to the proportion of the elastic strain energy and / or the kinetic energy of the target component in the Nth mode, and the change of the structural parameters affects the stiffness and mass of the target component.
[0113] Optionally, the data analysis module 400 includes:
[0114] The unit data determination sub-module is used to determine the elastic strain energy and kinetic energy of the units included in the component in the Nth mode for each component;
[0115] The component data calculation sub-module is used to calculate the sum value of the elastic strain energy of the included units in the Nth mode to obtain the elastic strain energy of the component in the Nth mode, and calculate the sum value of the kinetic energy of the included units in the current mode to obtain the kinetic energy of the component in the Nth mode;
[0116] The component energy proportion calculation sub-module is used to calculate the ratio of the elastic strain energy of each component in the Nth mode to the total elastic strain energy of all components in each mode to obtain the proportion of the elastic strain energy of each component in the Nth mode; calculate the ratio of the kinetic energy of each component to the total kinetic energy of all components to obtain the proportion of the kinetic energy of the component in the Nth mode.
[0117] Optionally, the calculation formula for the elastic strain energy of each unit is:
[0118]
[0119] The calculation formula for the elastic strain energy of each component is:
[0120]
[0121] Wherein, is the elastic strain energy of the i-th unit in the Nth mode, SENE Nis the elastic strain energy of the component in the Nth mode, are respectively the displacement vector and stiffness matrix of the ith element in the Nth mode, is the transposed vector of, and n is the number of elements included in the component.
[0122] Optionally, the kinetic energy calculation formula for each element is:
[0123]
[0124] The kinetic energy calculation formula for each component is:
[0125]
[0126] Wherein, is the kinetic energy of the ith element in the Nth mode, and KENE N is the kinetic energy of the component in the Nth mode, are respectively the nodal velocity vector and mass matrix of the ith element in the Nth mode, is the transposed vector of, and n is the number of elements included in the component.
[0127] Optionally, the target component includes a first target component and a second target component, and the target component determination module 500 includes:
[0128] A first target component determination sub-module, configured to use the component with the largest proportion of elastic strain energy in the Nth mode as the first target component to be corrected;
[0129] A second target component determination sub-module, configured to use the component with the largest proportion of kinetic energy in the Nth mode as the second target component to be corrected.
[0130] Optionally, the optimization module 600 includes:
[0131] A corrected stiffness determination sub-module, configured to, for each of the first target components, determine the corrected stiffness of the first target component based on the proportion of the elastic strain energy of the first target component in the Nth mode, and the corrected stiffness is proportional to the proportion of the elastic strain energy of the first target component in the Nth mode;
[0132] A corrected mass determination sub-module, configured to, for each of the second target components, determine the corrected mass of the second target component based on the proportion of the kinetic energy of the second target component in the Nth mode, and the corrected mass is inversely proportional to the kinetic energy distribution ratio of the first target component in the Nth mode;
[0133] A stiffness update sub-module, configured to update the structural parameters of the first target component according to the corrected stiffness;
[0134] A mass update sub-module, configured to update the structural parameters of the second target component according to the corrected mass.
[0135] Optionally, the system further includes:
[0136] A first natural frequency determination module, configured to obtain the natural frequency of the device where the speaker is installed in the Nth mode to obtain a first natural frequency;
[0137] A second natural frequency determination module, configured to obtain the natural frequency of the speaker after the structural parameters are updated in the Nth mode to obtain a second natural frequency;
[0138] A frequency comparison module, configured to determine whether the ratio of the second natural frequency to the first natural frequency is greater than a preset ratio threshold, where the ratio threshold is greater than 1.25; if so, execute the content of the optimization completion module, and if not, execute the content of the model construction module 100;
[0139] An optimization completion module, configured to determine that the optimization of the speaker structure is completed.
[0140] The speaker structure parameter optimization system provided by the embodiments of the present invention can execute the speaker structure parameter optimization method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0141] Figure 6 FIG. shows a schematic structural diagram of an electronic device 40 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described herein and / or claimed.
[0142] As Figure 6As shown, the electronic device 40 includes at least one processor 41 and a memory communicatively connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc. The memory stores a computer program executable by the at least one processor. The processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 into the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0143] Multiple components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a magnetic disk, an optical disc, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0144] The processor 41 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as the speaker structure parameter optimization method.
[0145] In some embodiments, the speaker structure parameter optimization method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the speaker structure parameter optimization method described above can be executed. Alternatively, in other embodiments, the processor 41 can be configured to execute the speaker structure parameter optimization method by any other appropriate means (e.g., by means of firmware).
[0146] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.
[0147] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
[0148] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0149] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0150] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0151] A computing system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The relationship between the client and the server is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0152] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.
[0153] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for optimizing the structural parameters of a speaker, characterized in that, Including: Establish a finite element model for the speaker, and divide the components of the speaker into multiple elements in the finite element model. The types of components include support components and magnetic circuit components; Set the boundary conditions of the finite element model; Simulate the first N modes of the speaker and obtain the elastic strain energy and kinetic energy of each element in each mode; For each component, calculate the proportion of elastic strain energy and the proportion of kinetic energy of the component in the Nth mode according to the elastic strain energy and kinetic energy of the elements included in the component; Determine the target component to be corrected according to the proportion of elastic strain energy and the proportion of kinetic energy of each component in the Nth mode; Update the structural parameters of the target component according to the proportion of elastic strain energy, and / or, the proportion of kinetic energy of the target component in the Nth mode. The change of the structural parameters affects the stiffness and mass of the target component.
2. The method according to claim 1, wherein For each component, calculating the proportion of elastic strain energy and the proportion of kinetic energy of the component in the Nth mode according to the elastic strain energy and kinetic energy of the elements included in the component includes: For each component, determine the elastic strain energy and kinetic energy of the elements included in the component in the Nth mode; Calculate the sum of the elastic strain energy of the included elements in the Nth mode to obtain the elastic strain energy of the component in the Nth mode, and calculate the sum of the kinetic energy of the included elements in the current mode to obtain the kinetic energy of the component in the Nth mode; In each mode, calculate the ratio of the elastic strain energy of each component in the Nth mode to the total elastic strain energy of all components to obtain the proportion of elastic strain energy of each component in the Nth mode; calculate the ratio of the kinetic energy of each component to the total kinetic energy of all components to obtain the proportion of kinetic energy of the component in the Nth mode.
3. The method according to claim 2, wherein The calculation formula for the elastic strain energy of each element is: The calculation formula for the elastic strain energy of each component is: Among them, is the elastic strain energy of the i-th element in the N-th mode, SENE N is the elastic strain energy of the component in the N-th mode, are the displacement vector and stiffness matrix of the i-th element in the N-th mode, respectively, is the transposed vector of, and n is the number of elements included in the component.
4. The method according to claim 2, wherein The calculation formula for the kinetic energy of each element is: The calculation formula for the kinetic energy of each component is: Among them, is the kinetic energy of the i-th element in the N-th mode, KENE N is the kinetic energy of the component in the N-th mode, are respectively the nodal velocity vector and the mass matrix of the i-th element in the N-th mode, is the transposed vector of, and n is the number of elements included in the component.
5. The method according to claim 1, characterized in that, The target component includes a first target component and a second target component. Determining the target component to be corrected according to the proportion of elastic strain energy and the proportion of kinetic energy of each component in the Nth mode includes: Taking the component with the largest proportion of elastic strain energy in the Nth mode as the first target component to be corrected; Taking the component with the largest proportion of kinetic energy in the Nth mode as the second target component to be corrected.
6. The method according to claim 5, characterized in that, Updating the structural parameters of the target component according to the proportion of elastic strain energy, and / or, the proportion of kinetic energy of the target component in the Nth mode includes: For each of the first target components, determine the corrected stiffness of the first target component based on the proportion of elastic strain energy of the first target component in the Nth mode. The corrected stiffness is proportional to the proportion of elastic strain energy of the first target component in the Nth mode; For each of the second target components, determine the corrected mass of the second target component based on the proportion of kinetic energy of the second target component in the Nth mode. The corrected mass is inversely proportional to the proportion of kinetic energy distribution of the first target component in the Nth mode; Update the structural parameters of the first target component according to the corrected stiffness; Update the structural parameters of the second target component according to the corrected mass.
7. The method according to any one of claims 1-6, characterized in that After updating the structural parameters of the target component according to the proportion of elastic strain energy and / or kinetic energy of the target component in the Nth-order mode, the following steps are further included: Obtain the natural frequency of the device on which the speaker is installed in the Nth-order mode to get the first natural frequency; Obtain the natural frequency of the speaker with updated structural parameters in the Nth-order mode to get the second natural frequency; Determine whether the ratio of the second natural frequency to the first natural frequency is greater than a preset ratio threshold, where the ratio threshold is greater than 1.25; If so, determine that the speaker structure optimization is completed; If not, return to execute the step of establishing a finite element model for the speaker and dividing the components of the speaker into multiple units in the finite element model.
8. A loudspeaker structure parameter optimization system, characterized in that It includes: A model construction module for establishing a finite element model for the speaker, dividing the components of the speaker into multiple units in the finite element model, and the types of components include support components and magnetic circuit components; A condition setting module for setting the boundary conditions of the finite element model; A simulation solution module for simulating the first N modes of the speaker and obtaining the elastic strain energy and kinetic energy of each unit in each mode; A data analysis module for calculating, for each component, the proportion of elastic strain energy and kinetic energy of the component in the Nth-order mode according to the elastic strain energy and kinetic energy of the units included in the component; A target component determination module for determining the target component to be corrected according to the proportion of elastic strain energy and kinetic energy of each component in the Nth-order mode; An optimization module for updating the structural parameters of the target component according to the proportion of elastic strain energy and / or kinetic energy of the target component in the Nth-order mode, and the change of the structural parameters affects the stiffness and mass of the target component.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the speaker structure parameter optimization method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to execute the speaker structure parameter optimization method according to any one of claims 1-7 when executed.
Citation Information
Cited By
Flexible body rendering method, system and device, medium and product
CN121213748A