A method, system, device, apparatus and storage medium for calculating spring force

By using the standard hysteresis curve and two-dimensional transformation matrix to calculate the spring force when the spring deformation direction changes, and combining it with vehicle motion state correction, the problem of inaccurate spring force calculation in the existing technology is solved, and the simulation accuracy and stability are improved.

CN115712967BActive Publication Date: 2025-10-03BEIJING SAIMO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211512136.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2025-10-03
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

Existing technologies make it difficult to accurately calculate the spring force in a hysteresis state, resulting in calculation errors and logic failures during the simulation process, affecting the correctness and accuracy of vehicle suspension simulation.

Method used

By determining whether the deformation direction of the spring has changed, the spring deformation is calculated using the preset standard hysteresis curve expression and the two-dimensional transformation matrix to obtain a predicted hysteresis curve, thereby accurately calculating the spring force and making corrections based on the vehicle's motion state.

Benefits of technology

The accurate spring force calculation of the spring in the hysteresis state is achieved, which improves the stability and accuracy of the simulation process and ensures the correctness of the vehicle suspension simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115712967B_ABST
    Figure CN115712967B_ABST
Patent Text Reader

Abstract

The present application provides a method, system, apparatus, device, and storage medium for calculating spring force. The method includes determining whether the deformation direction of a spring to be tested has changed; if the deformation direction of the spring to be tested has changed, calculating current spring parameters using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, wherein the spring parameters include the spring deformation; and determining the spring force of the spring to be tested in the current hysteresis state using the predicted hysteresis curve. This method can accurately calculate the spring force of a spring in the hysteresis state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of spring simulation, and in particular to a method, system, device, equipment and storage medium for calculating spring force. Background Art

[0002] Currently, the algorithms used to calculate spring force in vehicle suspension simulations primarily determine the spring force under spring hysteresis based on the length of time, and use signals from devices attached to the current spring to provide feedback on the spring's status.

[0003] The above method has great limitations. Due to the limitations of materials and physical laws, the deformation and force exhibited by the spring are non-ideal, and it is difficult to calculate the spring force in the hysteresis state in real time.

[0004] Therefore, how to accurately calculate the spring force of the spring in the hysteresis state is a technical problem that needs to be solved. Summary of the Invention

[0005] The purpose of the embodiments of the present application is to provide a method for calculating spring force. Through the technical solution of the embodiments of the present application, the spring force of the spring in the hysteresis state can be accurately calculated.

[0006] In a first aspect, an embodiment of the present application provides a method for calculating spring force, including determining whether the deformation direction of the spring to be tested has changed; when it is determined that the deformation direction of the spring to be tested has changed, calculating the current spring parameters through a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, wherein the spring parameters include the deformation amount of the spring; and determining the spring force of the spring to be tested in the current hysteresis state through the predicted hysteresis curve.

[0007] In the above-mentioned embodiment of the present application, when hysteresis occurs in the spring and it is determined that the deformation direction of the spring has changed, the predicted hysteresis curve of the current spring can be determined based on the deformation amount of the spring, and the spring force of the current spring can be accurately predicted based on the size of the deformation amount, so as to achieve the effect of accurately calculating the spring force of the spring in the hysteresis state.

[0008] In some embodiments, after determining the spring force of the spring to be tested in the current hysteresis state by predicting the hysteresis curve, the method further includes:

[0009] When it is determined that the deformation direction of the spring to be tested has not changed, the spring parameters of the spring to be tested in the current state are calculated using a standard linear expression or the spring force corresponding to the spring parameters in the spring force table is matched according to the spring parameters to obtain the current spring force of the spring to be tested in the normal state.

[0010] In the above embodiment of the present application, when the deformation direction of the spring does not change, the spring force at this time can be directly calculated according to the standard linear expression, or the spring force of the current spring can be directly obtained from the table, which reduces the time used in the calculation process.

[0011] In some embodiments, the current spring parameters are calculated using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, including:

[0012] Determine a two-dimensional transformation matrix based on the current deformation of the spring to be tested and the spring parameters set by the user, wherein the parameters of the two-dimensional transformation matrix include multiple deformation directions and multiple deformation ratios corresponding to the multiple deformation directions;

[0013] The two-dimensional transformation matrix is ​​cross-multiplied with the preset standard hysteresis curve expression to obtain the predicted hysteresis curve.

[0014] In the above embodiment of the present application, the predicted hysteresis curve obtained by the two-dimensional matrix can accurately predict the spring force of the spring according to the deformation of the spring at that time.

[0015] In some embodiments, when the spring is applied to a vehicle, after determining the spring force of the spring under the current hysteresis state by predicting the hysteresis curve, the method further includes:

[0016] The spring force is corrected in real time according to the vehicle's motion state to obtain the final predicted spring force.

[0017] In the above embodiment of the present application, when the spring force of the spring is predicted, the spring force can be further corrected according to the influence of the vehicle's operating state on the spring, so that the final predicted spring force is more accurate.

[0018] In some embodiments, determining whether the deformation direction of the spring to be tested has changed includes:

[0019] Record the change trend of the current spring to be tested and the keywords corresponding to the change trend;

[0020] Determine whether the keyword meets the trigger condition, wherein if the keyword meets the trigger condition, it is determined that the deformation direction of the spring to be tested has changed; if the keyword does not meet the trigger condition, it is determined that the deformation direction of the spring to be tested has not changed.

[0021] In the above embodiment of the present application, when the spring changes, by recording the keywords corresponding to the trend of the change, it is possible to accurately determine whether the deformation direction of the spring has changed.

[0022] In some embodiments, determining the spring force of the spring to be tested in the current hysteresis state by predicting the hysteresis curve includes:

[0023] Determine the deformation of the spring to be tested in the current state;

[0024] The spring force of the spring under the current hysteresis state is determined from the predicted hysteresis curve according to the deformation.

[0025] In the above embodiment of the present application, the spring force corresponding to the current deformation magnitude can be directly obtained from the predicted hysteresis curve through the current spring deformation magnitude, thereby achieving the effect of accurately predicting the spring force.

[0026] In a second aspect, an embodiment of the present application provides a device for calculating spring force, comprising:

[0027] A first determining module is used to determine whether the deformation direction of the spring to be tested changes;

[0028] A calculation module is used to calculate the current spring parameters using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve when it is determined that the deformation direction of the spring to be tested has changed, wherein the spring parameters include the deformation amount of the spring;

[0029] The second determination module is used to determine the spring force of the spring to be tested in the current hysteresis state by predicting the hysteresis curve.

[0030] Optionally, the device further includes:

[0031] The second calculation module is used for calculating the spring parameters of the spring to be tested in the current state by using a standard linear expression or matching the spring force corresponding to the spring parameters in the spring force table according to the spring parameters after the first determination module determines the spring force in the current hysteresis state of the spring to be tested by predicting the hysteresis curve and determining that the deformation direction of the spring to be tested has not changed, so as to obtain the current spring force of the spring to be tested in the normal state.

[0032] Optionally, the computing module is specifically used for:

[0033] The current deformation of the spring to be tested and the slope of the curve are calculated using a preset standard hysteresis curve expression to obtain a two-dimensional transformation matrix, wherein the two-dimensional transformation matrix includes multiple deformation values ​​and multiple spring forces corresponding to the multiple deformation values;

[0034] The parameters in the two-dimensional transformation matrix are expressed in the form of coordinates and connected to obtain the predicted hysteresis curve.

[0035] Optionally, when the spring is applied to a vehicle, the device further comprises:

[0036] The correction module is used for the second determination module to correct the spring force in real time according to the movement state of the vehicle after determining the spring force in the current hysteresis state of the spring to be tested by predicting the hysteresis curve to obtain the final predicted spring force.

[0037] Optionally, the first determining module is specifically configured to:

[0038] Record the change trend of the current spring to be tested and the keywords corresponding to the change trend;

[0039] Determine whether the keyword meets the trigger condition, wherein if the keyword meets the trigger condition, it is determined that the deformation direction of the spring to be tested has changed; if the keyword does not meet the trigger condition, it is determined that the deformation direction of the spring to be tested has not changed.

[0040] Optionally, the second determining module is specifically configured to:

[0041] Determine the deformation of the spring to be tested in the current state;

[0042] The spring force of the spring under the current hysteresis state is determined from the predicted hysteresis curve according to the deformation.

[0043] In a third aspect, an embodiment of the present application provides a system for calculating spring force, comprising:

[0044] Spring state recording module, spring input parameter preprocessing module, hysteresis curve transformation matrix module and spring initial offset correction module;

[0045] Spring status recording module: used to record the change trend of the current spring to be tested and the keywords corresponding to the change trend;

[0046] Spring input parameter preprocessing module: used to determine whether the keyword meets the trigger conditions;

[0047] Hysteresis curve transformation matrix module: used to calculate the current deformation and curve slope of the spring to be tested using the preset standard hysteresis curve expression to obtain a two-dimensional transformation matrix;

[0048] Spring initial offset correction module: used to correct the spring force in real time according to the vehicle's motion state to obtain the final predicted spring force.

[0049] In a fourth aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps of the method provided in the first aspect above are executed.

[0050] In a fifth aspect, an embodiment of the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the method provided in the first aspect above are executed.

[0051] Other features and advantages of the present application will be described in the following description and, in part, will become apparent from the description or be understood by practicing the embodiments of the present application. The objectives and other advantages of the present application can be achieved and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0053] Figure 1 A flow chart of a method for calculating spring force provided in an embodiment of the present application;

[0054] Figure 2 A schematic diagram of a system for calculating spring force provided in an embodiment of the present application;

[0055] Figure 3 A schematic block diagram of a device for calculating spring force provided in an embodiment of the present application;

[0056] Figure 4 A schematic structural diagram of a device for calculating spring force provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the scope of protection of the present application.

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

[0059] First, some of the terms involved in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0060] Cross product: The vector product, also known as the outer product or cross product in mathematics and the vector product or cross product in physics, is a binary operation performed on vectors in vector space. Unlike the dot product, its result is a vector rather than a scalar. Furthermore, the cross product of two vectors is perpendicular to the sum of the two vectors. It has a wide range of applications, often found in physics, optics, and computer graphics.

[0061] This application is applied to the scenario of spring simulation, and the specific scenario is to determine the spring force of the spring by the deformation of the spring under the hysteresis state of the spring.

[0062] However, currently, the algorithms used to calculate spring force in vehicle suspension simulations primarily determine the spring force under hysteresis based on time, using signals from devices attached to the spring to provide feedback on the spring's state. Conventional hysteresis simulations typically place an integration module in the main signal path and take the difference between the integrated and pre-integrated values, using this difference as the integral input. This structure is a time-series model, simulating hysteresis based on current signal changes. This approach has significant limitations. Due to material constraints and physical laws, the deformation and force exhibited by springs are non-ideal, making it difficult to calculate the spring force under hysteresis in real time. This can lead to logical failures in the spring force calculation, resulting in erroneous data and interruptions in the hysteresis simulation process. Furthermore, this issue involves specific spring parameter settings, making it impossible to effectively identify and filter the input deformation data. This makes it impossible to guarantee a stable simulation process and accurate results.

[0063] To this end, the present application determines whether the deformation direction of the spring to be tested has changed; when it is determined that the deformation direction of the spring to be tested has changed, the current spring parameters are calculated using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, wherein the spring parameters include the deformation amount of the spring; and the spring force of the spring to be tested in the current hysteresis state is determined by predicting the hysteresis curve. When hysteresis occurs in the spring and it is determined that the deformation direction of the spring has changed, the predicted hysteresis curve of the current spring can be determined based on the deformation amount of the spring, and the spring force of the current spring can be accurately predicted based on the size of the deformation amount, thereby achieving the effect of accurately calculating the spring force of the spring in the hysteresis state.

[0064] In the embodiment of the present application, the execution entity may be a spring force calculation device in a spring force calculation system. In actual applications, the spring force calculation device may be an electronic device such as a terminal device and a server, and no limitation is made here.

[0065] The following combination Figure 1The method for calculating the spring force in the embodiment of the present application is described in detail.

[0066] Please see Figure 1 , Figure 1 A flow chart of a method for calculating spring force provided in an embodiment of the present application is shown as follows: Figure 1 The methods shown for calculating spring force include:

[0067] Step 110: Determine whether the deformation direction of the spring to be tested changes.

[0068] Determining whether the deformation direction of the spring under test has changed includes determining whether the spring under test exhibits spring hysteresis. Spring hysteresis is a phenomenon in which the spring exhibits a non-ideal ratio between deformation and force due to material and physical limitations. In vehicle suspension simulation, the spring force directly affects the vehicle's state, thereby affecting the accuracy and precision of the simulation. Therefore, including spring hysteresis in the simulation is crucial for accurate vehicle simulation.

[0069] In some embodiments of the present application, determining whether the deformation direction of the spring to be tested has changed includes: recording the current change trend of the spring to be tested and the keyword corresponding to the change trend; determining whether the keyword meets the trigger condition, wherein if the keyword meets the trigger condition, it is determined that the deformation direction of the spring to be tested has changed; if the keyword does not meet the trigger condition, it is determined that the deformation direction of the spring to be tested has not changed.

[0070] In the above process, when the spring changes, the present application can accurately determine whether the deformation direction of the spring has changed by recording the keywords corresponding to the trend of the change.

[0071] Among them, the change trend includes compression and relaxation. The keywords corresponding to the change trend can be key parameter information, such as time and deformation, or key deformation direction information. For example, when it is determined that the spring is transformed from a compression trend to a relaxation trend (or vice versa), it can be determined that the deformation direction has changed.

[0072] Step 120: When it is determined that the deformation direction of the spring to be tested has changed, current spring parameters are calculated using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve.

[0073] Among them, the spring parameters include the deformation of the spring, as well as the duration of the spring hysteresis phenomenon. The preset standard hysteresis expression is a non-time domain replacement of the expression in the time domain. The modeling of the hysteresis phenomenon in the conventional time domain includes a standard time length t. This standard time length can be replaced by a standard constant s, which determines the intensity of the hysteresis phenomenon (the larger the stronger). The non-time domain expression after replacement is the standard hysteresis curve expression preset in the application.

[0074] In some embodiments of the present application, the current spring parameters are calculated using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, including: determining a two-dimensional transformation matrix using the current deformation of the spring to be measured and the spring parameters set by the user, wherein the parameters of the two-dimensional transformation matrix include multiple deformation directions and multiple deformation ratios corresponding to the multiple deformation directions; and cross-multiplying the two-dimensional transformation matrix by a preset standard hysteresis curve expression to obtain a predicted hysteresis curve.

[0075] In the above process of the present application, the predicted hysteresis curve obtained through the two-dimensional matrix can accurately predict the spring force of the spring according to the deformation of the spring at this time.

[0076] Among them, combining the current spring deformation and the slope of the curve corresponding to the spring deformation at the point of the compression (tension) curve set by the user, calculating the parameters of the two-dimensional transformation matrix (for example, 2×2), including the scaling in the x-direction and y-direction and the displacement in the y-direction, a predicted hysteresis curve can be obtained.

[0077] Step 130: Determine the spring force of the spring under the current hysteresis state by predicting the hysteresis curve.

[0078] The spring force of the spring to be tested in the current hysteresis state is determined by predicting the hysteresis curve, including obtaining the corresponding deformation from the predicted hysteresis curve according to the current spring deformation magnitude and deformation direction.

[0079] In some embodiments of the present application, the spring force of the spring to be tested in the current hysteresis state is determined by predicting the hysteresis curve, including: determining the deformation of the spring to be tested in the current state; and determining the spring force of the spring to be tested in the current hysteresis state from the predicted hysteresis curve based on the deformation.

[0080] In the above process, the present application can directly obtain the spring force corresponding to the current deformation magnitude from the predicted hysteresis curve through the current spring deformation magnitude, thereby achieving the effect of accurately predicting the spring force.

[0081] In some embodiments of the present application, after determining the spring force of the spring to be tested in the current hysteresis state by predicting the hysteresis curve, Figure 1 The method shown also includes: when it is determined that the deformation direction of the spring to be tested has not changed, calculating the spring parameters of the spring to be tested in the current state through a standard linear expression or matching the spring force corresponding to the spring parameters in the spring force table according to the spring parameters to obtain the current spring force of the spring to be tested in the normal state.

[0082] In the above process, when the deformation direction of the spring does not change, the spring force at this time can be directly calculated according to the standard linear expression, or the spring force of the current spring can be directly obtained from the table, which reduces the time used in the calculation process.

[0083] In some embodiments of the present application, when a spring is applied to a vehicle, after determining the spring force of the spring under the current hysteresis state by predicting the hysteresis curve, Figure 1 The method shown also includes: correcting the spring force in real time according to the motion state of the vehicle to obtain a final predicted spring force.

[0084] In the above process, when the spring force of the spring is predicted, the spring force can be further corrected according to the influence of the vehicle's operating state on the spring, so that the final predicted spring force is more accurate.

[0085] The vehicle's motion state may be acceleration, deceleration, or a constant speed. By comparing the effect of the current motion state and the initial motion state on the spring, the predicted spring force of the spring can be further corrected to obtain the final spring force.

[0086] In the above Figure 1 In the process shown, the present application determines whether the deformation direction of the spring to be tested has changed; when it is determined that the deformation direction of the spring to be tested has changed, the current spring parameters are calculated using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, wherein the spring parameters include the deformation amount of the spring; and the spring force of the spring to be tested in the current hysteresis state is determined by predicting the hysteresis curve. When the spring undergoes hysteresis and it is determined that the deformation direction of the spring has changed, the predicted hysteresis curve of the current spring can be determined based on the deformation amount of the spring, and the spring force of the current spring can be accurately predicted based on the size of the deformation amount, thereby achieving the effect of accurately calculating the spring force of the spring in the hysteresis state.

[0087] Previous article passed Figure 1 The method for calculating spring force is described below. Figure 2 Describe the system for calculating spring forces.

[0088] The following combination Figure 2 The system for calculating spring force according to an embodiment of the present application is described in detail.

[0089] Please see Figure 2 , Figure 2 A schematic diagram of a system for calculating spring force provided in an embodiment of the present application is shown in FIG. Figure 2 The system shown for calculating spring force consists of:

[0090] Spring state recording module, spring input parameter preprocessing module, hysteresis curve transformation matrix module and spring initial offset correction module.

[0091] Spring status recording module: used to record the change trend of the current spring to be tested and the keywords corresponding to the change trend.

[0092] Spring input parameter preprocessing module: used to determine whether the keyword meets the trigger conditions.

[0093] Hysteresis curve transformation matrix module: It is used to calculate the current deformation and curve slope of the spring to be tested using the preset standard hysteresis curve expression to obtain a two-dimensional transformation matrix.

[0094] Spring initial offset correction module: used to correct the spring force in real time according to the vehicle's motion state to obtain the final predicted spring force.

[0095] Among them, the spring input parameter preprocessing module sends the deformation of the current spring to the hysteresis curve transformation matrix module when it is determined that the keyword meets the trigger condition. The hysteresis curve transformation matrix module predicts the spring force in the current spring hysteresis state through the two-dimensional transformation matrix. When it is determined that the keyword does not meet the trigger condition, the spring force in the hysteresis state is directly sent to the spring initial offset correction module through a standard linear expression or table lookup. The spring state recording module is used to record relevant information at the transition moment of the spring change trend state, including the deformation of the spring at the current and previous moments during the discrete simulation process (the change relative to the initial state is distinguished by positive and negative, positive for tension, and negative for compression). The hysteresis curve transformation matrix module can obtain the spring force that meets the user-set parameters through the two-dimensional transformation matrix and the spring deformation.

[0096] also, Figure 2 The functions of each module in the system shown can be referred to Figure 1 The methods and steps shown are not described in detail here.

[0097] Previous article passed Figure 1-Figure 2 A method and system for calculating spring force are described below. Figure 3-Figure 4 Describe the apparatus for calculating spring force.

[0098] Please refer to Figure 3 , is a schematic block diagram of a device 300 for calculating spring force provided in an embodiment of the present application, the device 300 may be a module, program segment or code on an electronic device. Figure 1 The method embodiment corresponds to the embodiment that can be executed Figure 1 The various steps involved in the method embodiment and the specific functions of the device 300 can be found in the description below. To avoid repetition, detailed description is appropriately omitted here.

[0099] Optionally, the device 300 includes:

[0100] A first determining module 310 is used to determine whether the deformation direction of the spring to be tested has changed;

[0101] A calculation module 320 is configured to calculate the current spring parameters using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve when it is determined that the deformation direction of the spring to be tested has changed, wherein the spring parameters include the deformation amount of the spring;

[0102] The second determination module 330 is configured to determine the spring force of the spring to be tested in the current hysteresis state by predicting the hysteresis curve.

[0103] Optionally, the device further includes:

[0104] The second calculation module is used for calculating the spring parameters of the spring to be tested in the current state by using a standard linear expression or matching the spring force corresponding to the spring parameters in the spring force table according to the spring parameters after the first determination module determines the spring force in the current hysteresis state of the spring to be tested by predicting the hysteresis curve and determining that the deformation direction of the spring to be tested has not changed, so as to obtain the current spring force of the spring to be tested in the normal state.

[0105] Optionally, the computing module is specifically used for:

[0106] The current deformation variable and curve slope of the spring to be tested are calculated using a preset standard hysteresis curve expression to obtain a two-dimensional transformation matrix, wherein the two-dimensional transformation matrix includes multiple deformation variable values ​​and multiple spring forces corresponding to the multiple deformation variable values; the parameters in the two-dimensional transformation matrix are expressed in the form of coordinates and connected to obtain a predicted hysteresis curve.

[0107] Optionally, when the spring is applied to a vehicle, the device further comprises:

[0108] The correction module is used for the second determination module to correct the spring force in real time according to the movement state of the vehicle after determining the spring force in the current hysteresis state of the spring to be tested by predicting the hysteresis curve to obtain the final predicted spring force.

[0109] Optionally, the first determining module is specifically configured to:

[0110] Record the change trend of the current spring to be tested and the keyword corresponding to the change trend; determine whether the keyword meets the trigger condition, wherein if the keyword meets the trigger condition, it is determined that the deformation direction of the spring to be tested has changed; if the keyword does not meet the trigger condition, it is determined that the deformation direction of the spring to be tested has not changed.

[0111] Optionally, the second determining module is specifically configured to:

[0112] Determine the deformation of the spring to be tested in the current state; and determine the spring force of the spring to be tested in the current hysteresis state from the predicted hysteresis curve according to the deformation.

[0113] Please refer to Figure 4 This is a schematic block diagram of a structure of a device 400 for calculating spring force provided in an embodiment of the present application. The device may include a memory 410 and a processor 420. Optionally, the device may also include: a communication interface 430 and a communication bus 440. The device is similar to the above Figure 1 The method embodiment corresponds to the embodiment that can be executed Figure 1 The various steps involved in the method embodiment and the specific functions of the device can be found in the description below.

[0114] Specifically, the memory 410 is used to store computer-readable instructions.

[0115] Processor 420 is used to process the readable instructions stored in the memory and can execute Figure 1 The steps in the method.

[0116] The communication interface 430 is used for signaling or data communication with other node devices, for example, for communication with a server or terminal, or for communication with other device nodes, but the embodiments of the present application are not limited thereto.

[0117] The communication bus 440 is used to realize direct connection and communication among the above components.

[0118] Among them, the communication interface 430 of the device in the embodiment of the present application is used to communicate signaling or data with other node devices. The memory 410 can be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 410 can also be at least one storage device located away from the aforementioned processor. The memory 410 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 420, the electronic device executes the above-mentioned Figure 1The method process shown. The processor 420 can be used on the device 300 and is used to perform the functions in the present application. Exemplarily, the above-mentioned processor 420 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, but the embodiments of the present application are not limited thereto.

[0119] The embodiment of the present application further provides a readable storage medium, wherein when the computer program is executed by a processor, Figure 1 The method process in the illustrated method embodiment is performed by the electronic device.

[0120] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.

[0121] In summary, embodiments of the present application provide a method, apparatus, electronic device, and readable storage medium for calculating spring force. The method includes determining whether the deformation direction of a spring to be tested has changed; if the deformation direction of the spring to be tested has changed, calculating the current spring parameters using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, wherein the spring parameters include the spring deformation; and determining the spring force of the spring to be tested in the current hysteresis state using the predicted hysteresis curve. This method can accurately calculate the spring force of a spring in the hysteresis state.

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

[0123] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0124] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0125] The foregoing is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures.

[0126] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

[0127] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

Claims

1. A method for calculating spring force, characterized in that: include: Determine whether the deformation direction of the spring to be tested changes; When it is determined that the deformation direction of the spring to be tested has changed, the current spring parameters are calculated using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve, wherein the spring parameters include the deformation amount of the spring, and the preset standard hysteresis expression is a non-time domain replacement of the expression in the time domain; Determining the spring force of the spring to be tested in the current hysteresis state by using the predicted hysteresis curve; The method of calculating the current spring parameters using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve includes: determining a two-dimensional transformation matrix using the current deformation of the spring to be measured and the spring parameters set by the user, wherein the parameters of the two-dimensional transformation matrix include multiple deformation directions and multiple deformation ratios corresponding to the multiple deformation directions; and cross-multiplying the two-dimensional transformation matrix by the preset standard hysteresis curve expression to obtain the predicted hysteresis curve.

2. The method according to claim 1, characterized in that After determining the spring force of the spring to be tested in the current hysteresis state by using the predicted hysteresis curve, the method further includes: When it is determined that the deformation direction of the spring to be tested has not changed, the spring parameters of the spring to be tested in the current state are calculated using a standard linear expression or the spring force corresponding to the spring parameters in the spring force table is matched according to the spring parameters to obtain the current spring force of the spring to be tested in the normal state.

3. The method according to claim 1 or 2, characterized in that When the spring is applied to a vehicle, after determining the spring force of the spring under the current hysteresis state by using the predicted hysteresis curve, the method further includes: The spring force is corrected in real time according to the motion state of the vehicle to obtain the final predicted spring force.

4. The method according to claim 1 or 2, characterized in that Determining whether the deformation direction of the spring to be tested has changed includes: Recording the current change trend of the spring to be tested and the keywords corresponding to the change trend; Determine whether the keyword satisfies a trigger condition, wherein if the keyword satisfies the trigger condition, it is determined that the deformation direction of the spring to be tested has changed; if the keyword does not satisfy the trigger condition, it is determined that the deformation direction of the spring to be tested has not changed.

5. The method according to claim 1 or 2, characterized in that Determining the spring force of the spring to be tested in the current hysteresis state by using the predicted hysteresis curve includes: Determining the deformation of the spring to be tested in the current state; The spring force of the spring to be tested in the current hysteresis state is determined from the predicted hysteresis curve according to the deformation amount.

6. A system for calculating spring force, characterized in that: include: Spring state recording module, spring input parameter preprocessing module, hysteresis curve transformation matrix module and spring initial offset correction module; The spring status recording module is used to record the change trend of the current spring to be tested and the keywords corresponding to the change trend; The spring input parameter preprocessing module is used to determine whether the keyword satisfies a trigger condition, wherein if the keyword satisfies the trigger condition, it is determined that the deformation direction of the spring to be tested has changed; if the keyword does not satisfy the trigger condition, it is determined that the deformation direction of the spring to be tested has not changed; The hysteresis curve transformation matrix module is used to calculate a two-dimensional transformation matrix by combining the current spring deformation and the slope of the compression or tension curve corresponding to the spring deformation set by the user, wherein the parameters of the two-dimensional transformation matrix include multiple deformation directions and multiple deformation ratios corresponding to the multiple deformation directions; The spring initial offset correction module is used to correct the spring force in real time according to the vehicle's motion state to obtain a final predicted spring force. The correction of the spring force in real time according to the vehicle's motion state to obtain the final predicted spring force includes: cross-multiplying the two-dimensional transformation matrix by a preset standard hysteresis curve expression to obtain the predicted hysteresis curve; and determining the spring force of the spring to be tested in the current hysteresis state through the predicted hysteresis curve. The preset standard hysteresis expression is a non-time domain replacement of the expression in the time domain.

7. A device for calculating spring force, characterized in that: include: A first determining module is used to determine whether the deformation direction of the spring to be tested changes; a calculation module, configured to calculate current spring parameters using a preset standard hysteresis curve expression to obtain a predicted hysteresis curve when it is determined that the deformation direction of the spring to be tested has changed, wherein the spring parameters include the deformation amount of the spring, and the preset standard hysteresis expression is a non-time domain replacement of the expression in the time domain; A second determining module is configured to determine the spring force of the spring to be tested in a current hysteresis state by using the predicted hysteresis curve; The calculation module is specifically used to: determine a two-dimensional transformation matrix based on the current deformation of the spring to be tested and the spring parameters set by the user, wherein the parameters of the two-dimensional transformation matrix include multiple deformation directions and multiple deformation ratios corresponding to the multiple deformation directions; and cross-multiply the two-dimensional transformation matrix by the preset standard hysteresis curve expression to obtain the predicted hysteresis curve.

8. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps of the method according to any one of claims 1 to 5 are executed.

9. A computer-readable storage medium, characterized in that include: A computer program, when running on a computer, causes the computer to perform the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Dynamic simulation modeling method for railway vehicle rubber element

    CN113139293A

  • One-dimensional air spring model output force calculation method and related equipment

    CN114564830A