Pressure detection device and method

By using the pressure detection device in server testing, the pressure values ​​of the controller, light emitting devices and receiver computer box ears are solved, and the problem of deformation and pressure cannot be determined is ensured, ensuring the stability and security of the server structure.

CN118961014APending Publication Date: 2024-11-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411216110.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

During server testing, it is impossible to determine whether the chassis ears are deformed and the pressure the chassis is under, making it difficult to ensure design strength and precision.

Method used

Design a pressure detection device, including a controller, a light emitting device and a receiver, evacuate the directional beam and receive the signal, calculate the target distance and apply a preset algorithm to determine the pressure value, calculate the pressure value using the parameters of the spring, and determine whether it exceeds the limit. .

Benefits of technology

It realizes accurate determination of whether the chassis ears are deformed and under pressure during server testing, providing a design basis and ensuring the stability and security of the server structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118961014A_ABST
    Figure CN118961014A_ABST
Patent Text Reader

Abstract

The invention discloses a pressure detection device and method, and relates to the technical field of pressure detection. The pressure detection device is composed of a controller, a light-emitting device and a receiver. A light emitting device is arranged on a first detection part, a receiver is arranged on a second detection part, when the first detection part and the second detection part are close to each other, the receiver can sequentially receive directional light beams emitted by the light emitting device through receiving units, and meanwhile the receiver transmits corresponding target electric signals to a controller; determining that pressure exists between the first detection component and the second detection component; furthermore, the controller determines the target distance between the first detection part and the second detection part according to the target electric signal, and realizes the determination of the pressure value between the two detection parts according to the target distance and a preset algorithm. And when the two detection parts are the server module cross beam and the bottom plate respectively, whether the case lug is deformed or not can be determined in a server test, so that a design basis is provided for research and development.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pressure detection, and in particular to a pressure detection device and method. Background Art

[0002] The server chassis ear is an important structure on the server chassis. It firmly mounts the server chassis on the cabinet or rack through screws or other fixing methods to ensure the stability and safety of the server during operation. At the same time, it also provides expansion space for installing additional devices or expansion cards, such as expansion slots or device brackets, so that users can expand and upgrade the server hardware as needed.

[0003] With the development and changes of servers, the weight of single servers is getting heavier; the design process requires higher and higher strength and precision of server structures. Currently, after the server test is completed, the appearance of the server chassis ears can only be checked visually, and it is impossible to determine whether the ear structure is deformed, and it is impossible to confirm the impact force borne by the chassis.

[0004] In view of the above problems, how to solve the problem that it is currently impossible to determine whether the chassis ears are deformed and the pressure on the chassis during server testing is an urgent problem to be solved by technicians in this field. Summary of the invention

[0005] The purpose of the present invention is to provide a pressure detection device and method to solve the problem that it is currently impossible to determine whether the chassis ears are deformed and the pressure the chassis is subjected to during server testing.

[0006] In order to solve the above technical problems, the present invention provides a pressure detection device, comprising: a controller, a light emitting device and a receiver; wherein the receiver comprises a plurality of receiving units linearly distributed at a preset interval; the controller is communicatively connected with the receiver;

[0007] The light emitting device is arranged on the first detection component and is used to emit a directional light beam;

[0008] The receiver is arranged on the second detection component, and is used for receiving the directional light beams in sequence through each of the receiving units when the first detection component and the second detection component are close to each other, and transmitting the corresponding target electrical signals to the controller;

[0009] The controller determines a target distance between the first detection component and the second detection component according to a target electrical signal, and determines a pressure value between the first detection component and the second detection component according to the target distance and a preset algorithm.

[0010] In one aspect, the receiving unit comprises: a receiving circuit and a comparator circuit;

[0011] The output end of the receiving circuit is connected to the input end of the comparator circuit, and is used to convert the received directional light beam into an initial electrical signal, and send the initial electrical signal to the comparator circuit;

[0012] The comparator circuit is used to amplify the initial electrical signal to obtain a target electrical signal, and send the target electrical signal to the controller;

[0013] The output end of the comparator circuit is connected to the controller as the output end of the receiving unit.

[0014] On the other hand, the receiving circuit includes: a photodiode and a first pull-up resistor;

[0015] The anode of the photosensitive diode is grounded, the cathode of the photosensitive diode is connected to the first end of the first pull-up resistor, and the second end of the first pull-up resistor is connected to a power supply;

[0016] Wherein, the second end of the first pull-up resistor serves as the output end of the receiving circuit.

[0017] On the other hand, the comparator circuit includes: a voltage comparator, a second pull-up resistor and a third pull-up resistor;

[0018] The positive power supply terminal of the voltage comparator is connected to the power supply, and the negative power supply terminal of the voltage comparator is grounded;

[0019] A first end of the second pull-up resistor is grounded, a second end of the second pull-up resistor is connected to a power supply, and an active end of the second pull-up resistor is connected to an inverting input end of the voltage comparator;

[0020] A first end of the third pull-up resistor is connected to the positive power supply end of the voltage comparator, and a second end of the third pull-up resistor is connected to the output end of the voltage comparator;

[0021] The non-inverting input terminal of the voltage comparator serves as the input terminal of the comparator circuit, and the output terminal of the voltage comparator serves as the output terminal of the comparator circuit.

[0022] On the other hand, the number of the receiving units is 5, and the preset spacing between the receiving units distributed in a straight line is 1 mm.

[0023] On the other hand, it also includes: latches and seven-segment digital tubes;

[0024] The input end of the latch is connected to the signal output end of the controller, and the output end of the latch is connected to the input end of the seven-segment digital tube, for receiving the digital signal sent by the controller and sending the digital signal to the seven-segment digital tube; wherein the digital signal corresponds to the target electrical signal;

[0025] The seven-segment digital tube is used to display the target distance between the first detection component and the second detection component according to the digital signal.

[0026] On the other hand, the first detection component is a server module beam, and the second detection component is a server module bottom plate;

[0027] Wherein, the server module bottom plate and the server box ear are an integrated structure.

[0028] On the other hand, a plurality of springs are provided between the first detection component and the second detection component;

[0029] The spring is used to limit the first detection component and the second detection component from moving toward each other.

[0030] In order to solve the above technical problems, the present invention further provides a pressure detection method, which is applied to the above pressure detection device; the method comprises:

[0031] monitoring the target electrical signal transmitted by the receiver;

[0032] When the target electrical signal is received, determining the target distance between the first detection component and the second detection component according to the target electrical signal;

[0033] The pressure value between the first detection component and the second detection component is determined according to the target distance and a preset algorithm.

[0034] On the other hand, the determining the pressure value between the first detection component and the second detection component according to the target distance and a preset algorithm includes:

[0035] Obtaining the rigidity modulus of the wire material of the spring, the wire diameter of the spring, the outer diameter of the spring, and the inner diameter of the spring, and obtaining the total number of turns of the spring;

[0036] Determining the median diameter of the spring according to the outer diameter of the spring and the inner diameter of the spring;

[0037] Determining the effective number of turns of the spring according to the total number of turns of the spring;

[0038] Determine the spring constant of the spring according to the rigidity modulus of the spring, the wire diameter of the spring, the median diameter of the spring and the effective number of turns of the spring;

[0039] determining a product of a target distance and a spring constant of the spring to determine a pressure value between the first detection component and the second detection component;

[0040] Correspondingly, after determining the pressure value between the first detection component and the second detection component, the method further includes:

[0041] determining whether a pressure value between the first detection component and the second detection component is greater than a threshold;

[0042] If the pressure value between the first detection component and the second detection component is not greater than a threshold value, outputting prompt information indicating that there is pressure between the first detection component and the second detection component;

[0043] If the pressure value between the first detection component and the second detection component is greater than a threshold, an alarm message indicating that the pressure between the first detection component and the second detection component exceeds a limit is output.

[0044] The pressure detection device provided by the present invention includes a controller, a light-emitting device and a receiver; wherein the receiver includes a plurality of receiving units distributed in a straight line at a preset interval; the controller is communicatively connected with the receiver; the light-emitting device is arranged on the first detection component for emitting a directional light beam; the receiver is arranged on the second detection component for receiving the directional light beam in sequence through each receiving unit when the first detection component and the second detection component are close to each other, and transmitting the corresponding target electrical signal to the controller; the controller determines the target distance between the first detection component and the second detection component according to the target electrical signal, and determines the pressure value between the first detection component and the second detection component according to the target distance and a preset algorithm.

[0045] The beneficial effect of the present invention is that the pressure detection device is composed of a controller, a light emitting device and a receiver; by setting the light emitting device on the first detection component and the receiver on the second detection component, when the first detection component and the second detection component are close to each other, the receiver can sequentially receive the directional light beam emitted by the light emitting device through each receiving unit, and at the same time, the receiver transmits the corresponding target electrical signal to the controller, thereby determining the pressure between the first detection component and the second detection component; the controller further determines the target distance between the first detection component and the second detection component according to the target electrical signal, and determines the pressure value between the two detection components according to the target distance and the preset algorithm. When the two detection components are the server module crossbeam and the bottom plate, the above-mentioned pressure detection device can determine whether the chassis ear is deformed in the server test, thereby providing a design basis for research and development.

[0046] On the other hand, the receiving unit in the present invention specifically includes a receiving circuit and a comparator circuit, which realizes the reception of the directional light beam and the transmission of the corresponding target electrical signal, so that the controller determines the distance between the two detection components according to the target electrical signal. The comparator circuit specifically includes a voltage comparator, a second pull-up resistor and a third pull-up resistor. The comparator circuit can amplify and shape the initial electrical signal to obtain the target electrical signal, so that the controller can better receive the target electrical signal.

[0047] In addition, the present invention also provides a pressure detection method, which is applied to the above-mentioned pressure detection device and has the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 A schematic diagram of a pressure detection device provided by an embodiment of the present invention;

[0050] Figure 2 A schematic diagram of a receiving unit provided by an embodiment of the present invention;

[0051] Figure 3 A circuit diagram of a comparator circuit provided by an embodiment of the present invention;

[0052] Figure 4 A schematic diagram of an installation position of a pressure detection device provided by an embodiment of the present invention;

[0053] Figure 5 A schematic diagram of another installation position of a pressure detection device provided by an embodiment of the present invention;

[0054] Figure 6 A schematic diagram of a receiver provided by an embodiment of the present invention;

[0055] Figure 7 A schematic diagram of another pressure detection device provided by an embodiment of the present invention;

[0056] Figure 8 A flow chart of a pressure detection method provided by an embodiment of the present invention;

[0057] Fig. 9 A schematic diagram of a pressure detection system provided by an embodiment of the present invention;

[0058] Fig.10 A schematic diagram of a pressure detection device provided in an embodiment of the present invention.

[0059] Among them, 10 is a controller, 11 is a light-emitting device, 12 is a receiver, 13 is a receiving unit, 14 is a first detection component, 15 is a second detection component, 131 is a receiving circuit, 132 is a comparator circuit, 161 is a spring, 162 is a latch, and 163 is a seven-segment digital tube. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] The core of the present invention is to provide a pressure detection device and method to solve the current problem that it is impossible to determine whether the chassis ears are deformed and the pressure borne by the chassis during server testing.

[0062] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0063] With the development and changes of servers, the weight of single servers is getting heavier; the design strength and precision requirements of server structures are getting higher and higher during the design process. At present, after the server test is completed, the appearance of the server chassis ears can only be visually inspected, and it is impossible to determine whether the chassis ear structure is deformed, and it is impossible to confirm the magnitude of the impact force borne by the chassis. In order to solve the above problems, the present invention provides a pressure detection device.

[0064] Figure 1 Schematic diagram of a pressure detection device provided by an embodiment of the present invention. Figure 1 As shown, the device includes: a controller 10, a light emitting device 11 and a receiver 12; wherein the receiver 12 includes a plurality of receiving units 13 linearly distributed at a preset interval; the controller 10 is in communication connection with the receiver 12;

[0065] The light emitting device 11 is arranged on the first detecting component 14 and is used to emit a directional light beam;

[0066] The receiver 12 is disposed on the second detection component 15, and is used to sequentially receive the directional light beams through each receiving unit 13 when the first detection component 14 and the second detection component 15 are close to each other, and transmit the corresponding target electrical signal to the controller 10;

[0067] The controller 10 determines a target distance between the first detection component 14 and the second detection component 15 according to the target electrical signal, and determines a pressure value between the first detection component 14 and the second detection component 15 according to the target distance and a preset algorithm.

[0068] Specifically, the pressure detection device provided by the present invention is composed of a controller 10, a light emitting device 11 and a receiver 12. Among them, the light emitting device 11 is a device that can emit a directional light beam and is arranged on the first detection component 14; when the light emitting device 11 is running, it emits a directional light beam to the receiver 12. It should be noted that the specific type of the light emitting device 11 is not limited in this embodiment, for example, it can be a laser transmitter or an infrared transmitter. In addition, the first detection component 14 is a component structure of the server, and the specific position of the first detection component 14 on the server is not limited in this embodiment.

[0069] The receiver 12 is a device that can receive optical signals and convert them into electrical signals. It is composed of a plurality of receiving units 13 and is disposed on the second detection component 15. The operation of the receiver 12 is controlled by the controller 10; when the receiver 12 is in operation, it can receive the directional light beam through each receiving unit 13, generate the corresponding target electrical signal, and finally transmit the target electrical signal to the controller 10. It should be noted that in this embodiment, there is no restriction on the specific number of receiving units 13 in the receiver 12, and there is no restriction on the specific structure of the receiving unit 13, which depends on the specific implementation situation. In addition, the second detection component 15 is a component structure of the server, and in this embodiment, there is no restriction on the specific position of the second detection component 15 on the server.

[0070] Since the multiple receiving units 13 in the receiver 12 are linearly distributed according to the preset spacing, when two adjacent receiving units 13 receive the directional light beams in sequence, it is confirmed that the first detection component 14 and the second detection component 15 are close to the preset spacing. Based on this principle, the controller 10 can determine the target distance between the first detection component 14 and the second detection component 15 according to the received target electrical signal. Finally, the controller 10 determines the pressure value between the first detection component 14 and the second detection component 15 according to the target distance and the preset algorithm. It should be noted that the preset algorithm is not limited in this embodiment, and it depends on the specific implementation situation.

[0071] In this embodiment, the pressure detection device is composed of a controller, a light emitting device and a receiver; by setting the light emitting device on the first detection component and the receiver on the second detection component, when the first detection component and the second detection component are close to each other, the receiver can sequentially receive the directional light beam emitted by the light emitting device through each receiving unit, and at the same time, the receiver transmits the corresponding target electrical signal to the controller, thereby determining the pressure between the first detection component and the second detection component; the controller further determines the target distance between the first detection component and the second detection component according to the target electrical signal, and determines the pressure value between the two detection components according to the target distance and the preset algorithm. When the two detection components are the crossbeam and the bottom plate of the server module, the above-mentioned pressure detection device can determine whether the chassis ear is deformed in the server test, thereby providing a design basis for research and development.

[0072] Figure 2 A schematic diagram of a receiving unit provided in an embodiment of the present invention. Based on the above embodiments, in some embodiments, such as Figure 2 As shown, the receiving unit 13 includes: a receiving circuit 131 and a comparator circuit 132;

[0073] The output end of the receiving circuit 131 is connected to the input end of the comparator circuit 132, and is used to convert the received directional light beam into an initial electrical signal, and send the initial electrical signal to the comparator circuit 132;

[0074] The comparator circuit 132 is used to amplify the initial electrical signal to obtain a target electrical signal, and send the target electrical signal to the controller 10;

[0075] The output end of the comparator circuit 132 is connected to the controller 10 as the output end of the receiving unit 13 .

[0076] In a specific implementation, the receiving unit 13 is composed of a receiving circuit 131 and a comparator circuit 132. The receiving circuit 131 can receive a directional light beam, and convert the optical signal into an initial electrical signal and send it to the comparator circuit 132. The comparator circuit 132 can amplify the initial electrical signal to obtain a target electrical signal, and send the target electrical signal to the controller 10.

[0077] It should be noted that in this embodiment, there is no limitation on the specific circuit structures of the receiving circuit 131 and the comparator circuit 132 , which depend on the specific implementation situation.

[0078] In this embodiment, the receiving unit 13 includes a receiving circuit 131 and a comparator circuit 132, which realizes the reception of the directional light beam and the transmission of the corresponding target electrical signal, so that the controller 10 determines the distance between the two detection components according to the target electrical signal.

[0079] Based on the above embodiments, in some embodiments, such as Figure 2 As shown, the receiving circuit 131 includes: a photosensitive diode D1 and a first pull-up resistor R1;

[0080] An anode of the photosensitive diode D1 is grounded, a cathode of the photosensitive diode D1 is connected to a first end of a first pull-up resistor R1, and a second end of the first pull-up resistor R1 is connected to a power source;

[0081] The second end of the first pull-up resistor R1 serves as the output end of the receiving circuit 131 .

[0082] In this embodiment, the working principle of the photodiode D1 is based on the internal photoelectric effect. When light is irradiated on the PN junction, electron-hole pairs are generated, and they are moved by applying an external voltage to form a current, thereby realizing the sensing of the directional light beam. It should be noted that in this embodiment, there is no restriction on the specific models and parameters of each electronic device in the receiving circuit 131, which depends on the specific implementation situation.

[0083] Figure 3 A circuit diagram of a comparator circuit provided by an embodiment of the present invention. Based on the above embodiments, in some embodiments, such as Figure 3 As shown, the comparator circuit 132 includes: a voltage comparator U1, a second pull-up resistor R2 and a third pull-up resistor R3;

[0084] The positive power supply terminal of the voltage comparator U1 is connected to the power supply, and the negative power supply terminal of the voltage comparator U1 is grounded;

[0085] A first end of the second pull-up resistor R2 is grounded, a second end of the second pull-up resistor R2 is connected to a power supply, and an active end of the second pull-up resistor R2 is connected to an inverting input end of the voltage comparator U1;

[0086] A first end of the third pull-up resistor R3 is connected to the positive power supply end of the voltage comparator U1, and a second end of the third pull-up resistor R3 is connected to the output end of the voltage comparator U1;

[0087] The non-inverting input terminal of the voltage comparator U1 serves as the input terminal of the comparator circuit 132 , and the output terminal of the voltage comparator U1 serves as the output terminal of the comparator circuit 132 .

[0088] Specifically, in the comparator circuit 132, the voltage comparator U1 is used to compare the input voltage with the reference voltage. The second pull-up resistor R2 and the third pull-up resistor R3 form a voltage divider circuit, whose output voltage is used as the reference voltage of the comparator. When the input voltage is higher than the reference voltage, the output terminal outputs a high-level signal; when the input voltage is lower than the reference voltage, the output terminal outputs a low-level signal. Therefore, in this embodiment, the comparator circuit 132 can output a corresponding target electrical signal according to the initial electrical signal sent by the receiving circuit 131.

[0089] It should be noted that in this embodiment, there is no limitation on the specific models and parameters of the electronic components in the comparator circuit 132, which depend on the specific implementation situation.

[0090] In this embodiment, the comparator circuit specifically includes a voltage comparator, a second pull-up resistor and a third pull-up resistor. The comparator circuit can amplify and reshape the initial electrical signal to obtain a target electrical signal, so that the controller can better receive the target electrical signal.

[0091] Figure 4 A schematic diagram of the installation position of a pressure detection device provided by an embodiment of the present invention. Figure 4 As shown, the first detection component 14 is the server module beam, and the second detection component 15 is the server module bottom plate. Among them, the server module bottom plate and the server box ear are an integrated structure. Therefore, in this embodiment, the light emitting device 11 is specifically set on the server module beam, and the receiver 12 is set on the server module bottom plate. When the server module beam and the server module bottom plate are close to each other, the receiver 12 can sequentially receive the directional light beam emitted by the light emitting device 11 through each receiving unit 13, and at the same time, the receiver 12 transmits the corresponding target electrical signal to the controller 10, so as to determine the pressure between the server module beam and the server module bottom plate; further, the controller 10 determines the target distance between the server module beam and the server module bottom plate according to the target electrical signal, and realizes the determination of the pressure value between the server module beam and the server module bottom plate according to the target distance and the preset algorithm. Since the server module bottom plate and the server box ear are an integrated structure, it is possible to determine whether the chassis box ear is deformed during the server test.

[0092] Figure 5 A schematic diagram of another installation position of a pressure detection device provided by an embodiment of the present invention. Figure 5 As shown, a plurality of springs 161 are disposed between the first detecting component 14 and the second detecting component 15 ; the springs 161 are used to limit the first detecting component 14 and the second detecting component 15 from moving toward each other.

[0093] In a specific implementation, once the ear of the server chassis is deformed, the server module beam and the server module bottom plate will approach each other, and the spring 161 arranged between the two will be compressed, thereby limiting the relative movement between the server module beam and the server module bottom plate to prevent damage to the server structure.

[0094] In addition, in order to prevent the first detection component 14 and the second detection component 15 from being damaged by collision, other buffer materials or structures, such as rubber pads, airbags, etc., can be added between the two components to absorb and disperse the impact force generated during the collision and reduce direct contact and damage between the components. It is also possible to ensure that there is enough safety clearance between the two components through gap design, install special anti-collision devices such as protective covers, baffles, limit switches, etc., use flexible connectors such as hinges and universal joints to allow components to have room to move when under force, and introduce sensors and control systems to monitor the position and movement status of components in real time, and take measures to avoid collision when potential collision is detected. The specific setting method can be combined and optimized according to the specific application scenario and requirements to achieve the best anti-collision effect.

[0095] Figure 6 A schematic diagram of a receiver provided by an embodiment of the present invention. Based on the above embodiment, Figure 6 As shown, the number of receiving units 13 is 5, and the preset spacing between the receiving units 13 distributed in a straight line is 1 mm. Therefore, the receiver 12 supports 0-5 mm displacement detection, and when two adjacent receiving units 13 receive the directional light beam in sequence, it is confirmed that the first detection component 14 and the second detection component 15 are close to each other by 1 mm.

[0096] Figure 7 Schematic diagram of another pressure detection device provided by an embodiment of the present invention. In order to enable the user to better know the distance between the first detection component 14 and the second detection component 15, as shown in FIG. Figure 7 As shown, the device further includes: a latch 162 and a seven-segment digital tube 163;

[0097] The input end of the latch 162 is connected to the signal output end of the controller 10, and the output end of the latch 162 is connected to the input end of the seven-segment digital tube 163, for receiving the digital signal sent by the controller 10, and sending the digital signal to the seven-segment digital tube 163; wherein the digital signal corresponds to the target electrical signal;

[0098] The seven-segment digital tube 163 is used to display the target distance between the first detection component 14 and the second detection component 15 according to the digital signal.

[0099] Specifically, the latch 162 receives digital signals from the controller 10, and controls the on and off of the seven-segment digital tube 163 according to the state of these signals. It should be noted that the digital signal corresponds to the target electrical signal. For example, if the latch 162 receives a target electrical signal representing the number "3", it will maintain the state of this signal, and control the on and off of the seven-segment digital tube 163 according to the state of this signal, so that the number "3" is displayed on the seven-segment digital tube 163 to display the target distance between the first detection component 14 and the second detection component 15, so that the user can more conveniently know the distance between the first detection component 14 and the second detection component 15.

[0100] Figure 8 The following is a flow chart of a pressure detection method provided by an embodiment of the present invention. The method is applied to the above-mentioned pressure detection device; Figure 8 As shown, the method includes:

[0101] S10: monitoring the target electrical signal transmitted by the receiver;

[0102] S11: when a target electrical signal is received, determining a target distance between the first detection component and the second detection component according to the target electrical signal;

[0103] S12: Determine the pressure value between the first detection component and the second detection component according to the target distance and a preset algorithm.

[0104] In this embodiment, the controller monitors the target electrical signal transmitted by the receiver. When the first detection component and the second detection component are close to each other, the receiver receives the directional light beam emitted by the light-emitting device in sequence through each receiving unit, and transmits the corresponding target electrical signal to the controller at the same time. When the controller receives the target electrical signal, it determines the target distance between the first detection component and the second detection component according to the target electrical signal, and finally determines the pressure value between the first detection component and the second detection component according to the target distance and the preset algorithm. When the two detection components are the server module crossbeam and the bottom plate, the above-mentioned pressure detection device can determine whether the chassis ear is deformed during the server test, thereby providing a design basis for research and development.

[0105] Based on the above embodiments, in some embodiments, determining the pressure value between the first detection component and the second detection component according to the target distance and a preset algorithm includes:

[0106] S121: Obtain the rigidity modulus of the spring wire, the wire diameter of the spring, the outer diameter of the spring, and the inner diameter of the spring, and obtain the total number of coils of the spring;

[0107] S122: determining a mean diameter of the spring according to an outer diameter of the spring and an inner diameter of the spring;

[0108] S123: Determine the effective number of coils of the spring according to the total number of coils of the spring;

[0109] S124: determining a spring constant of the spring according to the rigidity modulus of the spring, the wire diameter of the spring, the median diameter of the spring and the effective number of coils of the spring;

[0110] S125: Determine the product of the target distance and the spring constant of the spring to determine the pressure value between the first detection component and the second detection component;

[0111] Correspondingly, after determining the pressure value between the first detection component and the second detection component, the method further includes:

[0112] S126: Determine whether the pressure value between the first detection component and the second detection component is greater than a threshold value; if the pressure value between the first detection component and the second detection component is not greater than the threshold value, proceed to step S127; if the pressure value between the first detection component and the second detection component is greater than the threshold value, proceed to step S128;

[0113] S127: outputting prompt information indicating that there is pressure between the first detection component and the second detection component;

[0114] S128: Outputting alarm information indicating that the pressure between the first detection component and the second detection component exceeds the limit.

[0115] Since the first detection component and the second detection component are provided with springs for buffering, the pressure value between the first detection component and the second detection component can be obtained by calculating the spring force value. Specifically, first obtain the rigidity modulus G of the spring wire, the wire diameter d of the spring, the outer diameter Do of the spring and the inner diameter Di of the spring, and obtain the total number of coils N of the spring. Determine the mean diameter of the spring according to the outer diameter Do of the spring and the inner diameter Di of the spring:

[0116] Dm=Do-Di;

[0117] Where Dm is the mean diameter of the spring.

[0118] Further determine the effective number of coils of the spring based on the total number of coils of the spring:

[0119] Nc=N-2;

[0120] Where Nc is the effective number of coils of the spring;

[0121] Determine the spring constant of the spring based on the spring's rigidity modulus G, spring wire diameter d, spring median diameter Dm and the spring's effective number of coils Nc:

[0122] K = (G × d 4 ) / (8×Dm 3 ×Nc);

[0123] Where K is the spring constant of the spring.

[0124] Finally, the product of the target distance and the spring constant of the spring is determined to determine the pressure value between the first detection component and the second detection component:

[0125] F=Kx;

[0126] Wherein, F is the pressure value between the first detection component and the second detection component, and x is the target distance.

[0127] On this basis, in order to enable the user to better understand the pressure situation between the first detection component and the second detection component, after determining the pressure value between the first detection component and the second detection component, the method further includes:

[0128] S126: Determine whether the pressure value between the first detection component and the second detection component is greater than a threshold value; if the pressure value between the first detection component and the second detection component is not greater than the threshold value, proceed to step S127; if the pressure value between the first detection component and the second detection component is greater than the threshold value, proceed to step S128;

[0129] S127: outputting prompt information indicating that there is pressure between the first detection component and the second detection component;

[0130] S128: Outputting alarm information indicating that the pressure between the first detection component and the second detection component exceeds the limit.

[0131] Specifically, after determining the pressure value between the first detection component and the second detection component, determine whether the pressure value between the first detection component and the second detection component is greater than a threshold value; if the pressure value between the first detection component and the second detection component is not greater than the threshold value, it is considered that there is pressure between the current detection components, but it is within an acceptable range, and a prompt message indicating that there is pressure between the first detection component and the second detection component is output to prompt the user to check in time. If the pressure value between the first detection component and the second detection component is greater than the threshold value, it is considered that there is pressure between the current detection components and it has exceeded the acceptable range, and an alarm message indicating that the pressure between the first detection component and the second detection component exceeds the limit is output to prompt the user to handle it as soon as possible. It should be noted that in this embodiment, there is no restriction on the size of the threshold value, which depends on the specific implementation situation.

[0132] In the above embodiments, the pressure detection method is described in detail. The present invention also provides a corresponding embodiment of the pressure detection system.

[0133] Fig. 9 Schematic diagram of a pressure detection system provided by an embodiment of the present invention. Fig. 9 As shown, the system includes:

[0134] The monitoring module 17 is used to monitor the target electrical signal transmitted by the receiver.

[0135] The first determination module 18 is configured to determine the target distance between the first detection component and the second detection component according to the target electrical signal when the target electrical signal is received.

[0136] The second determining module 19 is used to determine the pressure value between the first detecting component and the second detecting component according to the target distance and a preset algorithm.

[0137] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0138] In addition, the present invention also provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned pressure detection method when executed by a processor.

[0139] Fig.10 A schematic diagram of a pressure detection device provided by an embodiment of the present invention. Fig.10 As shown, the pressure detection equipment includes:

[0140] A memory 20, used for storing computer programs;

[0141] The processor 21 is used to implement the steps of the pressure detection method mentioned in the above embodiment when executing the computer program.

[0142] The pressure detection device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0143] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0144] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the pressure detection method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. Data 203 may include but is not limited to data related to the pressure detection method.

[0145] In some embodiments, the pressure detection device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0146] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the pressure detection device, and may include more or fewer components than those shown in the figure.

[0147] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.

[0148] It is understandable that if the method in the above embodiment is implemented in the form of 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, 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, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.

[0149] The above is a detailed introduction to a pressure detection device and method provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.

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

Claims

1. A pressure detection device, It is characterized in that include: A controller (10), a light emitting device (11) and a receiver (12); wherein the receiver (12) comprises a plurality of receiving units (13) linearly distributed at a preset interval; and the controller (10) is communicatively connected to the receiver (12); The light emitting device (11) is arranged on the first detection component (14) and is used to emit a directional light beam; The receiver (12) is arranged on the second detection component (15) and is used to receive the directional light beams in sequence through each of the receiving units (13) when the first detection component (14) and the second detection component (15) are close to each other, and transmit the corresponding target electrical signal to the controller (10); The controller (10) determines a target distance between the first detection component (14) and the second detection component (15) according to a target electrical signal, and determines a pressure value between the first detection component (14) and the second detection component (15) according to the target distance and a preset algorithm.

2. The pressure detection device according to claim 1, It is characterized in that The receiving unit (13) comprises: a receiving circuit (131) and a comparator circuit (132); The output end of the receiving circuit (131) is connected to the input end of the comparator circuit (132), and is used to convert the received directional light beam into an initial electrical signal, and send the initial electrical signal to the comparator circuit (132); The comparator circuit (132) is used to amplify the initial electrical signal to obtain a target electrical signal, and send the target electrical signal to the controller (10); The output end of the comparator circuit (132) is connected to the controller (10) as the output end of the receiving unit (13).

3. The pressure detection device according to claim 2, It is characterized in that The receiving circuit (131) comprises: a photosensitive diode and a first pull-up resistor; The anode of the photosensitive diode is grounded, the cathode of the photosensitive diode is connected to the first end of the first pull-up resistor, and the second end of the first pull-up resistor is connected to a power supply; The second end of the first pull-up resistor serves as the output end of the receiving circuit (131).

4. The pressure detection device according to claim 2, It is characterized in that The comparator circuit (132) comprises: a voltage comparator, a second pull-up resistor and a third pull-up resistor; The positive power supply terminal of the voltage comparator is connected to the power supply, and the negative power supply terminal of the voltage comparator is grounded; A first end of the second pull-up resistor is grounded, a second end of the second pull-up resistor is connected to a power supply, and an active end of the second pull-up resistor is connected to an inverting input end of the voltage comparator; A first end of the third pull-up resistor is connected to the positive power supply end of the voltage comparator, and a second end of the third pull-up resistor is connected to the output end of the voltage comparator; The non-inverting input terminal of the voltage comparator serves as the input terminal of the comparator circuit (132), and the output terminal of the voltage comparator serves as the output terminal of the comparator circuit (132).

5. The pressure detection device according to claim 2, It is characterized in that The number of the receiving units (13) is 5, and the preset spacing between the receiving units (13) distributed in a straight line is 1 mm.

6. The pressure detection device according to claim 5, It is characterized in that Also includes: Latch (162) and seven-segment digital tube (163); The input end of the latch (162) is connected to the signal output end of the controller (10), and the output end of the latch (162) is connected to the input end of the seven-segment digital tube (163), for receiving a digital signal sent by the controller (10) and sending the digital signal to the seven-segment digital tube (163); wherein the digital signal corresponds to the target electrical signal; The seven-segment digital tube (163) is used to display the target distance between the first detection component (14) and the second detection component (15) according to the digital signal.

7. The pressure detection device according to claim 1, It is characterized in that The first detection component (14) is a server module crossbeam, and the second detection component (15) is a server module bottom plate; Wherein, the server module bottom plate and the server box ear are an integrated structure.

8. The pressure detection device according to claim 7, It is characterized in that A plurality of springs (161) are arranged between the first detection component (14) and the second detection component (15); The spring (161) is used to limit the movement of the first detection component (14) and the second detection component (15) toward each other.

9. A pressure detection method, It is characterized in that Applicable to the pressure detection device of claim 8; the method comprises: monitoring the target electrical signal transmitted by the receiver; When the target electrical signal is received, determining the target distance between the first detection component and the second detection component according to the target electrical signal; The pressure value between the first detection component and the second detection component is determined according to the target distance and a preset algorithm.

10. The pressure detection method according to claim 9, It is characterized in that The step of determining the pressure value between the first detection component and the second detection component according to the target distance and a preset algorithm includes: Obtaining the rigidity modulus of the wire material of the spring, the wire diameter of the spring, the outer diameter of the spring, and the inner diameter of the spring, and obtaining the total number of turns of the spring; Determining the median diameter of the spring according to the outer diameter of the spring and the inner diameter of the spring; Determining the effective number of turns of the spring according to the total number of turns of the spring; Determine the spring constant of the spring according to the rigidity modulus of the spring, the wire diameter of the spring, the median diameter of the spring and the effective number of turns of the spring; determining a product of a target distance and a spring constant of the spring to determine a pressure value between the first detection component and the second detection component; Correspondingly, after determining the pressure value between the first detection component and the second detection component, the method further includes: determining whether a pressure value between the first detection component and the second detection component is greater than a threshold; If the pressure value between the first detection component and the second detection component is not greater than a threshold value, outputting prompt information indicating that there is pressure between the first detection component and the second detection component; If the pressure value between the first detection component and the second detection component is greater than a threshold, an alarm message indicating that the pressure between the first detection component and the second detection component exceeds a limit is output.