Solid stress measurement method and system, electronic equipment and storage medium
By coating a photonic crystal gel onto a solid surface and calculating the force value using its refractive index and spacing changes, the problem of low efficiency and high cost in traditional solid force measurement is solved, achieving efficient and accurate force measurement, which is applicable to fields such as automobile manufacturing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-06
- Publication Date
- 2026-03-31
AI Technical Summary
Traditional methods for measuring the force on solids are inefficient and costly, especially in large-scale applications or real-time monitoring scenarios where they are cumbersome to operate and cannot meet the high-efficiency and economical needs of fields such as automobile manufacturing.
By coating a solid surface with photonic crystal gel, and utilizing the changes in the refractive index and spacing of the photonic crystal gel, combined with the elastic modulus of the solid, the stress value of the solid can be calculated, achieving efficient and accurate stress measurement.
It enables efficient and accurate measurement of solid forces without the need for expensive equipment, reducing costs and improving measurement efficiency, and is applicable to fields such as automobile manufacturing.
Smart Images

Figure CN121762083A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of solid mechanics and measurement technology, and more specifically, to a method, system, electronic device, and storage medium for measuring the force on a solid. Background Technology
[0002] Solid mechanics measurement technology plays an important role in engineering applications, especially in the fields of automobile manufacturing, bridge construction and aerospace, where the measurement of tensile and compressive forces of solid materials is crucial.
[0003] Traditional methods, such as using mechanical sensors or strain gauges to measure the force on solids, while providing accurate values, suffer from drawbacks such as cumbersome operation, high cost, and low efficiency in large-scale applications or real-time monitoring scenarios. For example, in automobile manufacturing, the tightening process of cooling system clamps requires precise control to ensure the system's effectiveness and safety; however, measuring the force on each clamp individually using instruments is neither economical nor efficient. Therefore, improving the efficiency and reducing the cost of solid force measurement is one of the important technical challenges in related fields.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a method, system, electronic device, and storage medium for measuring solid forces, thereby addressing at least the technical problems of low efficiency and high cost in solid force measurement in related technologies.
[0006] According to one aspect of the present invention, a method for measuring the force on a solid is provided, comprising: in response to the solid being in a first state, acquiring a first refractive index and a first photonic crystal spacing of a photonic crystal gel, wherein the first state is used to characterize the solid maintaining its original state, and the photonic crystal gel is uniformly applied to the surface of the solid to be subjected to force; in response to the solid being in a second state, acquiring a second refractive index and a second photonic crystal spacing of the photonic crystal gel, wherein the second state is used to characterize the solid being subjected to an external force; and determining the force value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force application, and the elastic modulus of the solid.
[0007] Optionally, determining the stress value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force application, and the elastic modulus of the solid includes: determining the first reflected light wavelength based on the first refractive index and the first photonic crystal spacing, wherein the first reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a first state; determining the second reflected light wavelength based on the second refractive index and the second photonic crystal spacing, wherein the second reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a second state; and determining the stress value of the solid based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force application, and the elastic modulus of the solid, wherein the elastic modulus of the solid is determined based on the material properties of the solid.
[0008] Optionally, determining the force value of the solid based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid includes: determining a first calculated value based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid; determining a second calculated value based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid; and determining the force value of the solid based on the first calculated value and the second calculated value.
[0009] Optionally, the first calculated value is determined based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, including: calculating the ratio of the first reflected light wavelength and the second reflected light wavelength to obtain the wavelength ratio; and calculating the product of the wavelength ratio, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid to obtain the first calculated value.
[0010] Optionally, the second calculated value is determined based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid, including: calculating the product of the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid to obtain the second calculated value.
[0011] Optionally, determining the force value of the solid based on the first calculated value and the second calculated value includes: calculating the difference between the first calculated value and the second calculated value to obtain the force value of the solid.
[0012] Optionally, the solid force measurement method further includes: recording the initial color of the photonic crystal gel in response to the solid being in a first state; continuously monitoring the color of the photonic crystal gel, and determining that the solid is under external force in response to the color of the photonic crystal gel being inconsistent with the initial color.
[0013] According to another aspect of the present invention, a solid force measurement system is also provided, comprising: a first acquisition module, configured to acquire a first refractive index and a first photonic crystal spacing of a photonic crystal gel in response to the solid being in a first state, wherein the first state is used to characterize the solid maintaining its original state and the photonic crystal gel being uniformly coated on the surface of the solid to be subjected to force; a second acquisition module, configured to acquire a second refractive index and a second photonic crystal spacing of the photonic crystal gel in response to the solid being in a second state, wherein the second state is used to characterize the solid being subjected to an external force; and a determination module, configured to determine the force value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the force direction, and the elastic modulus of the solid.
[0014] According to another aspect of the present invention, an electronic device is also provided, comprising: a memory storing an executable program; and a processor for running the executable program, wherein the executable program executes any of the above-described solid force measurement methods during runtime.
[0015] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device where the computer-readable storage medium is located to perform the solid force measurement method described in any of the above embodiments.
[0016] In this embodiment of the invention, in response to the solid being in a first state, the first refractive index and the first photonic crystal spacing of the photonic crystal gel are obtained, wherein the first state is used to characterize the solid maintaining its original state, and the photonic crystal gel is uniformly coated on the surface of the solid to be subjected to force; in response to the solid being in a second state, the second refractive index and the second photonic crystal spacing of the photonic crystal gel are obtained, wherein the second state is used to characterize the solid being subjected to external force; the force value of the solid is determined based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid. In this invention, when the solid maintains its original unforced state, the refractive index and the photonic crystal spacing of the photonic crystal gel are obtained. This step ensures that reliable initial data is available for comparison when subsequently quantifying the force value, thereby achieving accurate capture of the solid's state before force is applied, laying the foundation for the accuracy of the measurement process. When a solid is subjected to external force, the photonic crystal gel undergoes corresponding deformation, resulting in changes in its refractive index and photonic crystal spacing. By obtaining the second refractive index and second photonic crystal spacing of the photonic crystal gel, key parameters are provided for subsequent force calculations. Finally, using the obtained first refractive index, first photonic crystal spacing, second refractive index, second photonic crystal spacing, the cross-sectional area of the solid in the force direction, and the elastic modulus of the solid, the actual force value of the solid is calculated. This method is not only highly efficient but also achieves high-precision force measurement without the need for expensive equipment, overcoming the cost and efficiency limitations of traditional measurement methods. In summary, this invention achieves the technical effects of improving the efficiency and reducing the cost of solid force measurement, thereby solving the technical problems of low efficiency and high cost in related technologies. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0018] Figure 1 This is a flowchart of a solid force measurement method according to one embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram of the structure of the solid to be measured according to one embodiment of the present invention;
[0020] Figure 3 This is a microscopic magnified schematic diagram of a photonic crystal gel according to one embodiment of the present invention;
[0021] Figure 4 This is a structural block diagram of a solid force measurement system according to one embodiment of the present invention. Detailed Implementation
[0022] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0024] According to an embodiment of the present invention, an embodiment of a method for measuring the force on a solid is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system containing at least one set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0025] This invention provides a method for measuring the force on a solid. Figure 1 This is a flowchart of a solid force measurement method according to one embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:
[0026] Step S101: In response to the solid being in the first state, the first refractive index and the first photonic crystal spacing of the photonic crystal gel are obtained, wherein the first state is used to characterize the solid maintaining its original state, and the photonic crystal gel is uniformly coated on the surface of the solid to be subjected to force.
[0027] Step S102: In response to the solid being in the second state, the second refractive index and the second photonic crystal spacing of the photonic crystal gel are obtained, wherein the second state is used to characterize the state of the solid being subjected to external force.
[0028] Step S103: Determine the force value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid.
[0029] The first state mentioned above refers to the original state of a solid that is not disturbed by any external forces.
[0030] Optionally, when the solid is in its original state free from any external forces, the photonic crystal gel is uniformly applied to a specific surface of the solid to be subjected to stress, with the aim of creating a stable optical environment for subsequent stress analysis.
[0031] Alternatively, photonic crystal gels are materials with periodic microstructures that can significantly influence light propagation, particularly causing light interference and diffraction phenomena. Photonic crystal gels possess a highly ordered photonic crystal structure, enabling them to adjust their optical properties, such as color, according to changes in external conditions.
[0032] The aforementioned first refractive index refers to the refractive index of the photonic crystal gel when the solid is in its original state without any external interference.
[0033] The aforementioned first photonic crystal spacing refers to the distance between periodic structural units inside the photonic crystal when the solid is in its original state without any external interference.
[0034] In one optional embodiment, when the solid is in its original state free from any external force interference, a photonic crystal gel is uniformly applied to a specific surface of the solid to be subjected to force. Simultaneously, high-precision optical measurement equipment and microscopic observation methods are used to measure the surface of the solid coated with the photonic crystal gel, obtaining the first refractive index and the first photonic crystal spacing of the photonic crystal gel.
[0035] The second state mentioned above refers to the state in which a solid is subjected to external forces.
[0036] The aforementioned second refractive index refers to the refractive index of the photonic crystal gel when the solid is under the action of an external force.
[0037] The aforementioned second photonic crystal spacing refers to the distance between periodic structural units inside a photonic crystal when the solid is under the influence of external forces.
[0038] When a solid is subjected to external forces, i.e., when the solid is in its second state, the microstructure of the photonic crystal gel changes accordingly. This process leads to dynamic adjustments in the refractive index and the photonic crystal spacing, thus affecting its optical properties. By monitoring and recording these changes in real time, the second refractive index and the second photonic crystal spacing of the photonic crystal gel under stress can be obtained, providing crucial data for calculating the actual stress value on the solid.
[0039] In one alternative embodiment, when the solid is under external force, a high-precision optical measurement device and a microscopic observation method are used to obtain the second refractive index and the second photonic crystal spacing of the photonic crystal gel.
[0040] In one alternative embodiment, the refractive index of the photonic crystal gel changes very little, and the refractive index of the photonic crystal gel can be regarded as a constant, that is, the first refractive index of the photonic crystal gel is equal to the second refractive index of the photonic crystal gel.
[0041] The cross-sectional area of the solid in the direction of force refers to the cross-sectional area of the solid in the direction in which it is subjected to external force.
[0042] The elastic modulus mentioned above refers to the ratio of stress to strain in a solid material during the elastic deformation stage. It reflects the solid material's ability to resist elastic deformation and is an important constant in solid mechanics analysis.
[0043] Furthermore, based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, the force value of the solid is determined using a preset force calculation formula.
[0044] In this embodiment of the invention, in response to the solid being in a first state, the first refractive index and the first photonic crystal spacing of the photonic crystal gel are obtained, wherein the first state is used to characterize the solid maintaining its original state, and the photonic crystal gel is uniformly coated on the surface of the solid to be subjected to force; in response to the solid being in a second state, the second refractive index and the second photonic crystal spacing of the photonic crystal gel are obtained, wherein the second state is used to characterize the solid being subjected to external force; the force value of the solid is determined based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid. In this invention, when the solid maintains its original unforced state, the refractive index and the photonic crystal spacing of the photonic crystal gel are obtained. This step ensures that reliable initial data is available for comparison when subsequently quantifying the force value, thereby achieving accurate capture of the solid's state before force is applied, laying the foundation for the accuracy of the measurement process. When a solid is subjected to external force, the photonic crystal gel undergoes corresponding deformation, resulting in changes in its refractive index and photonic crystal spacing. By obtaining the second refractive index and second photonic crystal spacing of the photonic crystal gel, key parameters are provided for subsequent force calculations. Finally, using the obtained first refractive index, first photonic crystal spacing, second refractive index, second photonic crystal spacing, the cross-sectional area of the solid in the force direction, and the elastic modulus of the solid, the actual force value of the solid is calculated. This method is not only highly efficient but also achieves high-precision force measurement without the need for expensive equipment, overcoming the cost and efficiency limitations of traditional measurement methods. In summary, this invention achieves the technical effects of improving the efficiency and reducing the cost of solid force measurement, thereby solving the technical problems of low efficiency and high cost in related technologies.
[0045] The solid force measurement method in the embodiments of this application will be further described below.
[0046] Optionally, the force value of the solid is determined based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force application, and the elastic modulus of the solid, including the following steps:
[0047] Step S1031: Determine the first reflected light wavelength based on the first refractive index and the first photonic crystal spacing, wherein the first reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in the first state;
[0048] Step S1032: Determine the second reflected light wavelength based on the second refractive index and the second photonic crystal spacing, wherein the second reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in the second state;
[0049] Step S1033: Determine the stress value of the solid based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, wherein the elastic modulus of the solid is determined based on the material properties of the solid.
[0050] Optionally, when the solid is in its original state free from any external disturbance, the first refractive index and the first photonic crystal spacing of the photonic crystal gel are obtained. The first reflected light wavelength is calculated using the following formula.
[0051] (1)
[0052] in, Represents the wavelength of the first reflected light. The first refractive index represents the photonic crystal gel. This represents the first photonic crystal spacing.
[0053] Optionally, when the solid is under external disturbance, the second refractive index and the second photonic crystal spacing of the photonic crystal gel are obtained. The second reflected light wavelength is calculated using the following formula.
[0054] (2)
[0055] in, Represents the wavelength of the second reflected light. The second refractive index represents the photonic crystal gel. This represents the spacing between the second photonic crystals.
[0056] Alternatively, since the refractive index change of the photonic crystal gel is small, the first refractive index of the photonic crystal gel can be considered equal to the second refractive index of the photonic crystal gel.
[0057] The elastic modulus of the solid mentioned above is determined based on the material properties of the solid and reflects the ability of the solid material to resist deformation within the elastic range. It can usually be found in material databases.
[0058] The cross-sectional area of the solid in the direction of force is related to the size and shape of the solid material.
[0059] Furthermore, based on the determined first reflected light wavelength, second reflected light wavelength, cross-sectional area of the solid in the direction of force, and elastic modulus of the solid, the force value of the solid is determined.
[0060] Optionally, the force value of the solid is determined based on the wavelength of the first reflected light, the wavelength of the second reflected light, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, including the following steps:
[0061] Step S10331: Determine the first calculated value based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid.
[0062] Step S10332: Determine the second calculated value based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid;
[0063] Step S10333: Determine the force value of the solid based on the first calculated value and the second calculated value.
[0064] In one optional embodiment, the ratio of the first reflected light wavelength to the second reflected light wavelength is calculated, and simultaneously, the product of the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid is calculated. Based on the aforementioned ratio and product, a first calculated value is determined.
[0065] In one optional embodiment, the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid are multiplied to obtain a second calculated value.
[0066] Furthermore, based on the first and second calculated values, the force values of the solid are determined.
[0067] Optionally, the first calculated value is determined based on the wavelength of the first reflected light, the wavelength of the second reflected light, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, including the following steps:
[0068] Step S103311: Calculate the ratio of the wavelength of the first reflected light to the wavelength of the second reflected light to obtain the wavelength ratio.
[0069] Step S103312: Calculate the product of the wavelength ratio, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid to obtain the first calculated value.
[0070] In one alternative embodiment, the wavelength ratio is obtained by dividing the second reflected light wavelength by the first reflected light wavelength, thereby visually reflecting the degree of change in the photonic crystal structure.
[0071] In one alternative embodiment, the product of the wavelength ratio, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid is calculated, and the product result is used as the first calculated value.
[0072] Optionally, the second calculated value is determined based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid, including: calculating the product of the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid to obtain the second calculated value.
[0073] In one optional embodiment, the product of the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid is calculated, and the product result is used as a second calculated value.
[0074] Optionally, determining the force value of the solid based on the first calculated value and the second calculated value includes: calculating the difference between the first calculated value and the second calculated value to obtain the force value of the solid.
[0075] In one alternative embodiment, the first calculated value is subtracted from the second calculated value, and the difference is used as the force value of the solid.
[0076] In one alternative embodiment, the force value of the solid is calculated using the following formula.
[0077] (3)
[0078] in, Represents the force value experienced by a solid. Represents the first calculated value. Represents the second calculated value. The cross-sectional area representing the direction of force on a solid. Represents the elastic modulus of a solid. Represents the wavelength of the second reflected light. This represents the wavelength of the first reflected light.
[0079] In one alternative embodiment, the basic formula for calculating the wavelength of the reflected light is shown below.
[0080] (4)
[0081] Here, m represents the diffraction order, and what is usually observed is the strongest diffraction, i.e., m=1. λ represents the wavelength of the reflected light, neff represents the effective refractive index, which changes by an extremely small amount and can be considered a constant. d represents the spacing between the microstructures of the photonic crystal. Represents the angle between the incident light and the sample normal, when viewed perpendicularly. , .
[0082] In one alternative embodiment, the basic formulas used to solve for the force values of a solid are shown below.
[0083] (5)
[0084] = (6)
[0085] in, Represents the strain experienced by a solid. The spacing of the microstructure of a photonic crystal after it has been subjected to force. Represents the spacing of the microstructure of a photonic crystal when it is not under stress. The stress represents the cross-section of a solid. Represents the elastic modulus of a solid. Represents the tensile and compressive forces acting on a solid. It represents the cross-sectional area of a solid in the direction of the force.
[0086] Optionally, the method for measuring the force on a solid also includes the following steps:
[0087] Step S104: In response to the solid being in the first state, record the initial color corresponding to the photonic crystal gel;
[0088] Step S105: Continuously monitor the color of the photonic crystal gel. If the color of the photonic crystal gel is inconsistent with the initial color, determine that the solid is under the action of external force.
[0089] The initial color mentioned above refers to the color exhibited by the photonic crystal gel when it is not subjected to external force. This color is produced by the light diffraction effect caused by the internal photonic crystal structure of the photonic crystal gel in its natural state.
[0090] Photonic crystal gel is a composite material with a polymer network structure and embedded photonic crystals. The spacing of its photonic crystal structure determines its reflection of light of a specific wavelength, thus exhibiting a specific color.
[0091] In one alternative embodiment, the solid under test is first ensured to be in a stable first state, i.e., a natural state unaffected by any external forces. Then, using a high-precision spectrometer or other color recognition device, the color exhibited by the photonic crystal gel covering the solid surface is carefully recorded. This step is crucial because it provides the basis for subsequent comparisons to determine whether changes in the gel's color are caused by stress variations induced by external forces.
[0092] In addition, to improve the accuracy of the measurement, the initial color needs to be recorded repeatedly under the same light source conditions, and the average value is taken as the final reference standard.
[0093] When a solid is subjected to external force, the photonic crystal gel on its surface will deform due to stress. This deformation will cause changes in the spacing of the photonic crystal structure, thereby causing changes in the wavelength of the reflected light, which will eventually manifest as a color change visible to the naked eye.
[0094] The aforementioned state under external force refers to the stress change state of a solid material due to mechanical loading (such as tension or compression). This state can be confirmed by the degree to which the color of the photonic crystal gel deviates from its initial color.
[0095] In one alternative embodiment, the color change of the photonic crystal gel can be continuously monitored using a camera or a dedicated color sensor installed near the solid. Once a difference is detected between the gel color and the initially recorded color, it can be preliminarily determined that the solid has been subjected to external force. To accurately quantify the magnitude of the force, further analysis of the degree of color change is required. For example, a standard database of color changes corresponding to stress can be pre-established to facilitate rapid comparison and assessment of stress levels.
[0096] The above steps demonstrate the magnitude of tensile and compressive stress through intuitive color changes, allowing engineers or researchers to quickly determine the stress state of a solid without the need for specialized equipment. Furthermore, due to the sensitivity of photonic crystal gels to force, this method can also be used for early warning systems to promptly detect overloads or damage to solid materials, which is crucial for ensuring the safe operation of mechanical equipment.
[0097] In one alternative embodiment, Figure 2 This is a schematic diagram of the structure of the solid to be measured according to one embodiment of the present invention, such as... Figure 2 As shown, the solid to be measured includes: solid 1, photonic crystal gel 2, and photonic crystal 3. Photonic crystal gel 2 is coated on the surface of solid 1. When solid 1 is subjected to force and deforms, the deformation of solid 1 affects the thickness of photonic crystal gel 2. The change in the thickness of photonic crystal gel 2 affects the spacing d of photonic crystal 3. The change in the spacing d of photonic crystal 3 causes a change in the diffraction wavelength of light, and from an external macroscopic perspective, the color changes (red shift or blue shift).
[0098] In one alternative embodiment, Figure 3 This is a microscopic magnified schematic diagram of a photonic crystal gel according to one embodiment of the present invention, as shown below. Figure 3 The image shows a microscopic view of a photonic crystal gel, with the spacing between the two black arrows indicating the distance between the photonic crystals. Optionally, this spacing can be taken as the average spacing between the photonic crystals.
[0099] This invention also provides a solid force measurement system for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the systems described in the following embodiments are preferably implemented in software, hardware implementations, or a combination of software and hardware, are also possible and contemplated.
[0100] According to another aspect of the present invention, a solid force measurement system is also provided. Figure 4 This is a structural block diagram of a solid force measurement system according to one embodiment of the present invention, such as... Figure 4As shown, the solid force measurement system 400 includes: a first acquisition module 401, used to acquire the first refractive index and the first photonic crystal spacing of the photonic crystal gel in response to the solid being in a first state, wherein the first state is used to characterize the solid maintaining its original state and the photonic crystal gel being uniformly coated on the surface of the solid to be subjected to force; a second acquisition module 402, used to acquire the second refractive index and the second photonic crystal spacing of the photonic crystal gel in response to the solid being in a second state, wherein the second state is used to characterize the solid being subjected to external force; and a determination module 403, used to determine the force value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the force direction, and the elastic modulus of the solid.
[0101] Optionally, the determining module 403 is further configured to: determine a first reflected light wavelength based on a first refractive index and a first photonic crystal spacing, wherein the first reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a first state; determine a second reflected light wavelength based on a second refractive index and a second photonic crystal spacing, wherein the second reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a second state; and determine the stress value of the solid based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, wherein the elastic modulus of the solid is determined based on the material properties of the solid.
[0102] Optionally, the determining module 403 is further configured to: determine a first calculated value based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid; determine a second calculated value based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid; and determine the force value of the solid based on the first calculated value and the second calculated value.
[0103] Optionally, the determining module 403 is further configured to: calculate the ratio of the wavelength of the first reflected light to the wavelength of the second reflected light to obtain the wavelength ratio; calculate the product of the wavelength ratio, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid to obtain the first calculated value.
[0104] Optionally, the determining module 403 is also used to: calculate the product of the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid to obtain a second calculated value.
[0105] Optionally, the determining module 403 is also used to: calculate the difference between the first calculated value and the second calculated value to obtain the force value of the solid.
[0106] Optionally, the solid force measurement system also includes a monitoring module, which is used to: record the initial color of the photonic crystal gel in response to the solid being in a first state; continuously monitor the color of the photonic crystal gel; and determine that the solid is under external force in response to the color of the photonic crystal gel being inconsistent with the initial color.
[0107] According to another aspect of the present invention, an electronic device is also provided, comprising: a memory storing an executable program; and a processor for running the executable program, wherein the executable program executes any of the above-described solid force measurement methods during runtime.
[0108] Optionally, in this embodiment, the executable program performs the following steps when it runs:
[0109] Step S101: In response to the solid being in the first state, the first refractive index and the first photonic crystal spacing of the photonic crystal gel are obtained, wherein the first state is used to characterize the solid maintaining its original state, and the photonic crystal gel is uniformly coated on the surface of the solid to be subjected to force.
[0110] Step S102: In response to the solid being in the second state, the second refractive index and the second photonic crystal spacing of the photonic crystal gel are obtained, wherein the second state is used to characterize the state of the solid being subjected to external force.
[0111] Step S103: Determine the force value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid.
[0112] Optionally, the executable program executes the following steps during runtime: determining a first reflected light wavelength based on a first refractive index and a first photonic crystal spacing, wherein the first reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a first state; determining a second reflected light wavelength based on a second refractive index and a second photonic crystal spacing, wherein the second reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a second state; and determining the stress value of the solid based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, wherein the elastic modulus of the solid is determined based on the material properties of the solid.
[0113] Optionally, the executable program executes the following steps when running: determining a first calculated value based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid; determining a second calculated value based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid; and determining the force value of the solid based on the first and second calculated values.
[0114] Optionally, the executable program performs the following steps when it runs: calculates the ratio of the wavelength of the first reflected light to the wavelength of the second reflected light to obtain the wavelength ratio; calculates the product of the wavelength ratio, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid to obtain the first calculated value.
[0115] Optionally, when the above executable program runs, it performs the following steps: calculates the product of the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid to obtain a second calculated value.
[0116] Optionally, when the above executable program runs, it performs the following steps: calculates the difference between the first calculated value and the second calculated value to obtain the force value of the solid.
[0117] Optionally, the executable program performs the following steps when it runs: in response to the solid being in the first state, it records the initial color corresponding to the photonic crystal gel; it continuously monitors the color of the photonic crystal gel, and in response to the color of the photonic crystal gel being inconsistent with the initial color, it determines that the solid is in a state under external force.
[0118] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, it controls the device where the computer-readable storage medium is located to perform the solid force measurement method described in any of the above embodiments.
[0119] Optionally, in this embodiment, the executable program can be configured to store an executable program for performing the following steps:
[0120] Step S101: In response to the solid being in the first state, the first refractive index and the first photonic crystal spacing of the photonic crystal gel are obtained, wherein the first state is used to characterize the solid maintaining its original state, and the photonic crystal gel is uniformly coated on the surface of the solid to be subjected to force.
[0121] Step S102: In response to the solid being in the second state, the second refractive index and the second photonic crystal spacing of the photonic crystal gel are obtained, wherein the second state is used to characterize the state of the solid being subjected to external force.
[0122] Step S103: Determine the force value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid.
[0123] Optionally, the executable program described above can be configured to store an executable program for performing the following steps: determining a first reflected light wavelength based on a first refractive index and a first photonic crystal spacing, wherein the first reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a first state; determining a second reflected light wavelength based on a second refractive index and a second photonic crystal spacing, wherein the second reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in a second state; determining the stress value of the solid based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, wherein the elastic modulus of the solid is determined based on the material properties of the solid.
[0124] Optionally, the executable program can be configured to store an executable program for performing the following steps: determining a first calculated value based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid; determining a second calculated value based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid; and determining the force value of the solid based on the first calculated value and the second calculated value.
[0125] Optionally, the executable program described above can be configured to store an executable program for performing the following steps: calculating the ratio of the wavelength of the first reflected light to the wavelength of the second reflected light to obtain a wavelength ratio; calculating the product of the wavelength ratio, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid to obtain a first calculated value.
[0126] Optionally, the executable program described above can be configured to store an executable program for performing the following steps: calculating the product of the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid to obtain a second calculated value.
[0127] Optionally, the executable program described above can be configured to store an executable program for performing the following steps: calculating the difference between a first calculated value and a second calculated value to obtain the force value of the solid.
[0128] Optionally, the executable program can be configured to store an executable program for performing the following steps: in response to the solid being in a first state, recording the initial color corresponding to the photonic crystal gel; continuously monitoring the color of the photonic crystal gel, and in response to the color of the photonic crystal gel being inconsistent with the initial color, determining that the solid is in a state under external force.
[0129] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0130] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0131] In the embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The system embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0132] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0133] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0134] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0135] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for measuring the force on a solid, characterized in that, include: In response to the solid being in a first state, the first refractive index and the first photonic crystal spacing of the photonic crystal gel are obtained, wherein the first state is used to characterize that the solid retains its original state, and the photonic crystal gel is uniformly coated on the surface of the solid to be subjected to force; In response to the solid being in a second state, the second refractive index and the second photonic crystal spacing of the photonic crystal gel are obtained, wherein the second state is used to characterize the solid being under the action of an external force; The force value of the solid is determined based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force application, and the elastic modulus of the solid.
2. The method for measuring the force on a solid according to claim 1, characterized in that, The stress value of the solid is determined based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force application, and the elastic modulus of the solid, including: The first reflected light wavelength is determined based on the first refractive index and the first photonic crystal spacing, wherein the first reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in the first state; The second reflected light wavelength is determined based on the second refractive index and the second photonic crystal spacing, wherein the second reflected light wavelength is used to characterize the reflected light wavelength of the photonic crystal gel when the solid is in the second state; The stress value of the solid is determined based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, wherein the elastic modulus of the solid is determined based on the material properties of the solid.
3. The method for measuring the force on a solid according to claim 2, characterized in that, The force value of the solid is determined based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force application, and the elastic modulus of the solid, including: The first calculated value is determined based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid. The second calculated value is determined based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid; The force value of the solid is determined based on the first calculated value and the second calculated value.
4. The method for measuring the force on a solid according to claim 3, characterized in that, The first calculated value is determined based on the first reflected light wavelength, the second reflected light wavelength, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid, including: Calculate the ratio of the wavelength of the first reflected light to the wavelength of the second reflected light to obtain the wavelength ratio; The first calculated value is obtained by multiplying the wavelength ratio, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid.
5. The method for measuring the force on a solid according to claim 3, characterized in that, The second calculated value is determined based on the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid, including: The second calculated value is obtained by multiplying the cross-sectional area of the solid in the direction of force and the elastic modulus of the solid.
6. The method for measuring the force on a solid according to claim 3, characterized in that, Based on the first calculated value and the second calculated value, the force value of the solid is determined, including: The difference between the first calculated value and the second calculated value is used to obtain the force value of the solid.
7. The method for measuring the force on a solid according to claim 1, characterized in that, The solid force measurement method further includes: In response to the solid being in the first state, the initial color corresponding to the photonic crystal gel is recorded; The color of the photonic crystal gel is continuously monitored, and if the color of the photonic crystal gel is inconsistent with the initial color, it is determined that the solid is under the action of an external force.
8. A solid force measurement system, characterized in that, include: The first acquisition module is used to acquire the first refractive index and the first photonic crystal spacing of the photonic crystal gel in response to the solid being in a first state, wherein the first state is used to characterize that the solid is in its original state, and the photonic crystal gel is uniformly coated on the surface of the solid to be subjected to force. The second acquisition module is used to acquire the second refractive index and the second photonic crystal spacing of the photonic crystal gel in response to the solid being in the second state, wherein the second state is used to characterize the solid being in a state under the action of an external force; The determination module is used to determine the force value of the solid based on the first refractive index, the first photonic crystal spacing, the second refractive index, the second photonic crystal spacing, the cross-sectional area of the solid in the direction of force, and the elastic modulus of the solid.
9. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the executable program, wherein the executable program, when running, performs the solid force measurement method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device containing the computer-readable storage medium to perform the solid force measurement method according to any one of claims 1 to 7.