Sensor signal value processing method and device, equipment and storage medium
By detecting and processing inconsistent sensor signal values during the rotation of large rotating components, and using sensor signal processing algorithms to determine monotonic change signal values, the problem of inaccurate restricted position caused by the sensor signal is solved, and safe reduction buffer control is achieved.
Patent Information
- Application Number
- CN202510475378.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, due to sensor structure differences and installation position errors, the angle signal detected by large rotating components during rotation does not change monotonically, and the limited position cannot be accurately determined, resulting in impact phenomena and affecting life and property safety.
When the rotation angle of the rotating component is detected to be inconsistent with the preset angular displacement sensor signal value within the preset current sampling period, the current detection sensor signal value is obtained, and processed according to the current rotation direction, and the monotonic change sensor signal value is obtained by using the sensor signal processing algorithm for output feedback.
It improves the accuracy of the determination of limited positions, ensures that large rotating components can be slowed down and buffered in a timely manner, and ensures the safety of life and property.
Smart Images

Figure CN120408030A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sensor signal processing for large rotating components, and particularly to a method, device, equipment and storage medium for processing sensor signal values. Background Art
[0002] Due to the large moment of inertia of large rotating components, if no deceleration buffering is performed when rotating to the limit position, a large impact will be generated. Therefore, an angular displacement sensor is generally used to detect the rotation angle of the rotating component, and the rotating component is controlled to decelerate in advance for buffering before moving to the limit position. For example, the buffer control of the boom of a loader and an excavator when it is lifted to the limit.
[0003] In the process of implementing the present invention, the inventors found that the prior art has the following defects: At present, when performing deceleration buffering control on a rotating component, the characteristic of the angle signal detected by the sensor needs to be monotonically increasing or decreasing, so as to linearly decelerate and buffer before approaching the limit according to the increase of the rotation angle of the rotating component to ensure the smoothness of the action. However, due to the structural differences of the sensors and the installation position errors, the detected angle signal during the rotation of the rotating component is not monotonically changing, which leads to the inability to accurately determine the limit position, resulting in a large impact, and the life safety and property safety cannot be effectively guaranteed. Summary of the Invention
[0004] The present invention provides a method, device, equipment and storage medium for processing sensor signal values to improve the accuracy of determining the limit position and effectively guarantee life safety and property safety.
[0005] According to an aspect of the present invention, a method for processing sensor signal values is provided, which includes:
[0006] During the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detected sensor signal value corresponding to the pre-set angular displacement sensor, obtain the current detected sensor signal value;
[0007] Obtain the current rotation direction of the target large rotating component;
[0008] Wherein, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the direction of not rotating;
[0009] Through a pre-set sensor signal processing algorithm, process the current detected sensor signal value according to the current rotation direction to obtain a current monotonically changing sensor signal value, and output and feedback the current monotonically changing sensor signal value.
[0010] According to another aspect of the present invention, there is provided a sensor signal value processing device, which includes:
[0011] A current detected sensor signal value acquisition module, configured to acquire a current detected sensor signal value when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the monotonicity of the detected sensor signal value corresponding to the pre-set angular displacement sensor within a pre-set current sampling period during the rotation of the target large rotating component;
[0012] A current rotation direction acquisition module, configured to acquire the current rotation direction corresponding to the target large rotating component;
[0013] Wherein, the current rotation direction includes any one of a direction in which the rotation angle increases, a direction in which the rotation angle decreases, or a non-rotation direction;
[0014] A current monotonically changing sensor signal value determination and output feedback module, configured to process the current detected sensor signal value according to the current rotation direction through a pre-set sensor signal processing algorithm to obtain a current monotonically changing sensor signal value, and output and feedback the current monotonically changing sensor signal value.
[0015] According to another aspect of the present invention, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the sensor signal value processing method according to any embodiment of the present invention is implemented.
[0016] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the sensor signal value processing method according to any embodiment of the present invention when executed.
[0017] In the technical solution of the embodiment of the present invention, during the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detected sensor signal value corresponding to the pre-set angular displacement sensor, the current detected sensor signal value is obtained; the current rotation direction corresponding to the target large rotating component is obtained; wherein, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotating direction; through a pre-set sensor signal processing algorithm, according to the current rotation direction, the current detected sensor signal value is processed to obtain a current monotonically changing sensor signal value, and the current monotonically changing sensor signal value is output and fed back. This solves the problem that the current detected sensor signal value is not monotonically changing, so that the limit position cannot be accurately determined, and the current detected sensor signal value can be better processed, so that the target large rotating component can be decelerated and buffered in time, effectively ensuring life safety and property safety.
[0018] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0020] Figure 1 is a flowchart of a method for processing sensor signal values according to Embodiment 1 of the present invention;
[0021] Figure 2a is a detailed flowchart for determining the current monotonically changing sensor signal value in the method according to Embodiment 2 of the present invention;
[0022] Figure 2b is a schematic structural diagram in the method according to Embodiment 2 of the present invention where the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value gradually increases and then gradually decreases;
[0023] Figure 2c is a schematic structural diagram in the method according to Embodiment 2 of the present invention where the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value gradually decreases and then gradually increases;
[0024] Figure 3It is a schematic structural diagram of a sensor signal value processing device provided in Embodiment 3 of the present invention;
[0025] Figure 4 It is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present invention. Specific embodiments
[0026] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
[0027] It should be noted that the terms "target", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0028] Embodiment 1
[0029] Figure 1 This is a flowchart of a sensor signal value processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation where during the rotation of a target large rotating component, the current detected sensor signal value is processed to further determine the limit position. This method can be executed by a sensor signal value processing device, and the sensor signal value processing device can be implemented in the form of hardware and / or software.
[0030] Correspondingly, as Figure 1 shown, the method includes:
[0031] S110. During the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detected sensor signal value corresponding to the pre-set angular displacement sensor, obtain the current detected sensor signal value.
[0032] In this embodiment, when the target large rotating component is rotating, it has a large moment of inertia. Therefore, deceleration and buffering processing operations need to be performed at a specified position. Otherwise, a large impact will be generated, causing losses to life and property.
[0033] Generally speaking, when performing deceleration and buffering control on the target large rotating component, the characteristic of the detection sensor signal value detected by the sensor needs to be monotonically increasing or decreasing, so as to linearly decelerate and buffer before approaching the specified position according to the rotation angle of the rotating component to ensure the smoothness of the action.
[0034] However, in a certain current sampling period, if it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detection sensor signal value corresponding to the pre-set angular displacement sensor, it is necessary to perform a signal processing operation with consistent monotonicity on the currently obtained detection sensor signal value to better determine the specified position, so as to implement the deceleration and buffering processing operation on the target large rotating component according to the specified position.
[0035] Optionally, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detection sensor signal value corresponding to the pre-set angular displacement sensor within the preset current sampling period, obtaining the current detection sensor signal value includes: within the current sampling period, when it is detected that the rotation angle of the rotating component is monotonically increasing, but the detection sensor signal value corresponding to the pre-set angular displacement sensor is not monotonically increasing, obtaining the current detection sensor signal value; or within the current sampling period, when it is detected that the rotation angle of the rotating component is monotonically decreasing, but the detection sensor signal value corresponding to the pre-set angular displacement sensor is not monotonically decreasing, obtaining the current detection sensor signal value.
[0036] In this embodiment, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detection sensor signal value, the following four situations may be included:
[0037] 1) If it is detected that the rotation angle of the rotating component is monotonically increasing, but the detection sensor signal value changes from gradually increasing to gradually decreasing;
[0038] 2) If it is detected that the rotation angle of the rotating component is monotonically increasing, but the detection sensor signal value changes from gradually decreasing to gradually increasing;
[0039] 3) If it is detected that the rotation angle of the rotating component is monotonically decreasing, but the detection sensor signal value changes from gradually increasing to gradually decreasing;
[0040] 4) If it is detected that the rotation angle of the rotating component is monotonically decreasing, but the detection sensor signal value changes from gradually decreasing to gradually increasing.
[0041] In summary, when monotonicity inconsistency is detected, the current detected sensor signal value needs to be obtained.
[0042] The advantage of this setting is that when monotonicity inconsistency is detected, the obtained current detected sensor signal value needs to be processed, so as to better determine the limit position.
[0043] S120. Obtain the current rotation direction corresponding to the target large rotating component.
[0044] Wherein, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotation direction.
[0045] In this embodiment, the current rotation direction is determined according to the handle operation direction of the target large rotating component.
[0046] Specifically, for the current rotation direction corresponding to the target large rotating component, it may include any one of the direction of increasing the rotation angle of the rotating component, the direction of decreasing the rotation angle, or the non-rotation direction. Different rotation directions match different sensor signal processing algorithms, and different processing operations need to be performed on the current detected sensor signal value.
[0047] S130. Through a pre-set sensor signal processing algorithm, according to the current rotation direction, process the current detected sensor signal value to obtain a current monotonically changing sensor signal value, and output and feedback the current monotonically changing sensor signal value.
[0048] Wherein, the sensor signal processing algorithm can be an algorithm that performs different processing operations on the current detected sensor signal value according to different rotation directions.
[0049] In this embodiment, when the monotonicity of the rotation angle of the rotating component is inconsistent with the detected sensor signal value corresponding to the angular displacement sensor, different processing operations can be performed on the current detected sensor signal value according to different rotation directions, so as to obtain a current monotonically changing sensor signal value.
[0050] In addition, the recognition operation of the signal change trend of the current detected sensor signal value within the current sampling period can be performed, and then the change trend type in the pre-trained sensor signal classification processing algorithm can be matched, and different processing operations of the current monotonically changing sensor signal value can be performed in combination with the current rotation direction.
[0051] In the technical solution of the embodiment of the present invention, during the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the rotation angle of the rotating component is inconsistent with the monotonicity of the detection sensor signal value corresponding to the pre-set angular displacement sensor, the current detection sensor signal value is obtained; the current rotation direction corresponding to the target large rotating component is obtained; wherein, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotating direction; through a pre-set sensor signal processing algorithm, according to the current rotation direction, the current detection sensor signal value is processed to obtain a current monotonically changing sensor signal value, and the current monotonically changing sensor signal value is output and fed back. This solves the problem that the current detection sensor signal value is not monotonically changing, so that the limited position cannot be accurately determined, and the current detection sensor signal value can be better processed, so that the target large rotating component can be decelerated and buffered in time, effectively ensuring life safety and property safety.
[0052] Embodiment 2
[0053] Figure 2a FIG. is a flowchart of different change trends of the detection sensor signal value in a sensor signal value processing method provided by Embodiment 2 of the present invention. This embodiment is refined on the basis of the above embodiments. In this embodiment, the processing of obtaining the current monotonically changing sensor signal value by processing the current detection sensor signal value according to the current rotation direction through a pre-set sensor signal processing algorithm is further refined.
[0054] Correspondingly, as Figure 2a shown, the method includes:
[0055] S210. During the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the rotation angle of the rotating component is inconsistent with the monotonicity of the detection sensor signal value corresponding to the pre-set angular displacement sensor, the current detection sensor signal value is obtained.
[0056] S220. Obtain the current rotation direction corresponding to the target large rotating component, and execute S230 or S240.
[0057] Wherein, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotating direction.
[0058] S230. If it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value first increases gradually and then decreases gradually, obtain the maximum value of the current detected sensor signal in the current sampling period; according to the preset sensor signal processing algorithm, process the current detected sensor signal value based on the current rotation direction and the maximum value of the current detected sensor signal to obtain the current monotonically changing sensor signal value, and execute S250.
[0059] As Figure 2b shown in the schematic structural diagram where the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value first increases gradually and then decreases gradually. In Figure 2b , it can be determined that the extreme point, which is also the maximum value point, is S max , and the limit position point A can also be determined. As the rotation angle of the rotating component increases, the detected sensor signal value first increases gradually and then decreases gradually, that is, from the rotation angle of the rotating component being 0 degrees to w1 degrees, the detected sensor signal value increases gradually, and the detected sensor signal value increases to S max ; from the rotation angle of the rotating component being w1 degrees to w2 degrees, the detected sensor signal value decreases gradually, that is, the detected sensor signal value decreases from S max to A.
[0060] Optionally, the process of processing the current detected sensor signal value based on the current rotation direction and the maximum value of the current detected sensor signal according to the preset sensor signal processing algorithm to obtain the current monotonically changing sensor signal value includes: if the current rotation direction is the direction of increasing rotation angle, determine whether the current detected sensor signal value S in is greater than or equal to the maximum value of the current detected sensor signal S max ; if S in ≥ S max , then the obtained current monotonically changing sensor signal value S is S = S in ; if S in < S max , and S max + (S max - S in ) < ΔS1, then the obtained current monotonically changing sensor signal value is S = S max + (S max - S in ); where ΔS1 is a preset first set threshold; if S in < S max , and S max + (S max - S in ) ≥ ΔS1, then the obtained current monotonically changing sensor signal value is S = S in .
[0061] In this embodiment, the current rotation direction is the direction in which the rotation angle increases. Assume that the current detected sensor signal value S in is 130, S max is 120, and ΔS1 is 150. Since S in > S max , it can be determined that the current monotonically changing sensor signal value S is 130.
[0062] Assume that S in is 100, S max is 120, and ΔS1 is 150. Since S in < S max , and S max +(S max - S in ) < ΔS1, the current monotonically changing sensor signal value can be 140.
[0063] Assume that S in is 100, S max is 120, and ΔS1 is 110. Since S in < S max , and S max +(S max - S in ) > ΔS1, the current monotonically changing sensor signal value is 100.
[0064] It can be understood that when S in > S max , it can be determined that the current detected sensor signal value has not reached the maximum value (that is, in Figure 2b , the detected sensor signal value is gradually increasing), so there is no need to process the current detected sensor signal value, that is, the current detected sensor signal value is the current monotonically changing sensor signal value; the current detected sensor signal value also needs to be assigned to the maximum value. When S in = S max , it can be determined that the current detected sensor signal value is equal to the maximum value, that is, there is no need to process the current detected sensor signal value, that is, the current detected sensor signal value is the current monotonically changing sensor signal value.
[0065] However, when S in < S max , it indicates that in Figure 2b , the detected sensor signal value is gradually decreasing. Therefore, it is necessary to continue to judge whether S max +(S max - S in ) < ΔS1. If so, then S = S max +(S max - Sin ); otherwise, S = S in .
[0066] Optionally, through a pre-set sensor signal processing algorithm, based on the current rotation direction and the maximum value of the current detected sensor signal, processing the current detected sensor signal value to obtain a current monotonically changing sensor signal value, including: if the current rotation direction is the direction of decreasing rotation angle, obtaining the detected sensor signal value S corresponding to the previous sampling period lst ; if S lst > S max , and S lst - S max > ΔS2, then the current monotonically changing sensor signal value is obtained as S = S max + (S max - S in ); where ΔS2 is a preset second set threshold; if S lst > S max , and S lst - S max ≤ΔS2, then the current monotonically changing sensor signal value is obtained as S = S in .
[0067] In this embodiment, specifically, assume that S lst is 150, S max is 120, S in is 100, and ΔS2 is 20. Since S lst > S max , and S lst - S max > ΔS2, then the current monotonically changing sensor signal value is 140.
[0068] Assume that S lst is 150, S max is 120, S in is 100, and ΔS2 is 30. Since S lst > S max , and S lst - S max = ΔS2, then the current monotonically changing sensor signal value can be calculated as 100.
[0069] Optionally, through a pre-set sensor signal processing algorithm, based on the current rotation direction and the maximum value of the current detected sensor signal, processing the current detected sensor signal value to obtain a current monotonically changing sensor signal value, including: if the current rotation direction is the non-rotation direction, if then the current monotonically changing sensor signal value is obtained as S = S max + (Smax -S in ); where ΔS3 is a preset third set threshold; if the current rotation direction is the non-rotating direction, if then the current monotonically changing sensor signal value is obtained as S = S in .
[0070] Exemplarily, assume S max is 120, S lst is 150, S in is 100, and ΔS3 is 20, then it can be determined that the above parameters satisfy this condition, and the current monotonically changing sensor signal value can be further determined to be 100. Further, assume S max is 120, S lst is 150, S in is 100, and ΔS3 is -20, then it can be determined that the above parameters satisfy this condition, and the current monotonically changing sensor signal value can be further determined to be 140.
[0071] S240. If it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value changes from gradually decreasing to gradually increasing, then obtain the minimum value of the current detected sensor signal in the current sampling period; through a pre-set sensor signal processing algorithm, according to the current rotation direction and the minimum value of the current detected sensor signal, process the current detected sensor signal value to obtain the current monotonically changing sensor signal value, and execute S250.
[0072] As Figure 2c shown is a schematic structural diagram of the rotation angle of the rotating component being monotonically increasing, but the detected sensor signal value changes from gradually decreasing to gradually increasing. In Figure 2c , it can be determined that the extreme value point, which is also the minimum value point, is S min , and the limiting position point A can also be determined. As the rotation angle of the rotating component increases, the detected sensor signal value changes from gradually decreasing to gradually increasing, that is, from the rotation angle of the rotating component being 0 degrees to w3 degrees, the detected sensor signal value gradually decreases, and the detected sensor signal value decreases to S min ; from the rotation angle of the rotating component being w3 degrees to w4 degrees, the detected sensor signal value gradually increases, that is, the detected sensor signal value increases from S min to A.
[0073] Optionally, through a preset sensor signal processing algorithm, based on the current rotation direction and the minimum value of the current detected sensor signal, the current detected sensor signal value is processed to obtain a current monotonically changing sensor signal value, including: if the current rotation direction is any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotating direction, through a preset sensor signal processing algorithm, based on the minimum value of the current detected sensor signal, the current detected sensor signal value is processed to obtain a current monotonically changing sensor signal value.
[0074] In this embodiment, when it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value changes from gradually decreasing to gradually increasing, it is necessary to perform a sensor signal processing operation based on the obtained minimum value of the sensor signal and the current rotation direction. The processing method is similar to the above-mentioned "when it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value changes from gradually increasing to gradually decreasing", and will not be elaborated here.
[0075] S250. Output and feedback the current monotonically changing sensor signal value.
[0076] The technical solution of the embodiment of the present invention, for the two cases of if it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value changes from gradually increasing to gradually decreasing; and if it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value changes from gradually decreasing to gradually increasing, respectively obtains the specific current monotonically changing sensor signal value through the sensor signal processing algorithm, so that the determination of the limited position can be better carried out according to the determined current monotonically changing sensor signal value, thereby timely performing deceleration and buffering operations on the target large rotating component, effectively ensuring life safety and property safety.
[0077] Embodiment III
[0078] Figure 3 FIG. is a schematic structural diagram of a sensor signal value processing device provided in Embodiment III of the present invention. The sensor signal value processing device provided in this embodiment can be implemented by software and / or hardware, and can be configured in a terminal device or a server to implement a sensor signal value processing method in the embodiment of the present invention. As Figure 3 shown, the device includes: a current detected sensor signal value acquisition module 310, a current rotation direction acquisition module 320, and a current monotonically changing sensor signal value determination and output feedback module 330.
[0079] Among them, the current detection sensor signal value acquisition module 310 is configured to, during the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the monotonicity of the detection sensor signal value corresponding to the pre-set angular displacement sensor, acquire the current detection sensor signal value;
[0080] The current rotation direction acquisition module 320 is configured to acquire the current rotation direction corresponding to the target large rotating component;
[0081] Among them, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotation direction;
[0082] The current monotonically changing sensor signal value determination and output feedback module 330 is configured to, through a pre-set sensor signal processing algorithm, process the current detection sensor signal value according to the current rotation direction to obtain the current monotonically changing sensor signal value, and output and feedback the current monotonically changing sensor signal value.
[0083] The technical solution of the embodiment of the present invention is as follows: during the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the monotonicity of the detection sensor signal value corresponding to the pre-set angular displacement sensor, acquire the current detection sensor signal value; acquire the current rotation direction corresponding to the target large rotating component; among them, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotation direction; through a pre-set sensor signal processing algorithm, process the current detection sensor signal value according to the current rotation direction to obtain the current monotonically changing sensor signal value, and output and feedback the current monotonically changing sensor signal value. This solves the problem that the current detection sensor signal value is not monotonically changing, so that the limit position cannot be accurately determined, and can better process the current detection sensor signal value, so as to perform deceleration buffering operations on the target large rotating component in a timely manner, effectively ensuring life safety and property safety.
[0084] Based on the above embodiments, the current detection sensor signal value acquisition module 310 may specifically be configured to: within the current sampling period, when it is detected that the rotation angle of the rotating component is monotonically increasing, but the detection sensor signal value corresponding to the pre-set angular displacement sensor is not monotonically increasing, acquire the current detection sensor signal value; or within the current sampling period, when it is detected that the rotation angle of the rotating component is monotonically decreasing, but the detection sensor signal value corresponding to the pre-set angular displacement sensor is not monotonically decreasing, acquire the current detection sensor signal value.
[0085] Based on the above embodiments, the current monotonically changing sensor signal value determination and output feedback module 330 includes:
[0086] A current detected sensor signal maximum value acquisition unit, which can specifically be used for: if it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value changes from gradually increasing to gradually decreasing, then acquire the current detected sensor signal maximum value in the current sampling period; through a pre-set sensor signal processing algorithm, process the current detected sensor signal value according to the current rotation direction and the current detected sensor signal maximum value to obtain the current monotonically changing sensor signal value.
[0087] A current detected sensor signal minimum value acquisition unit, which can specifically be used for: if it is detected that the rotation angle of the rotating component is monotonically increasing, but the detected sensor signal value changes from gradually decreasing to gradually increasing, then acquire the current detected sensor signal minimum value in the current sampling period; through a pre-set sensor signal processing algorithm, process the current detected sensor signal value according to the current rotation direction and the current detected sensor signal minimum value to obtain the current monotonically changing sensor signal value.
[0088] Based on the above embodiments, the current detected sensor signal maximum value acquisition unit can specifically be used for:
[0089] If the current rotation direction is the direction in which the rotation angle increases, determine whether the current detected sensor signal value S in is greater than or equal to the current detected sensor signal maximum value S max ; if S in ≥S max , then obtain the current monotonically changing sensor signal value S as S = S in ; if S in <S max , and S max +(S max -S in )<ΔS1, then the obtained current monotonically changing sensor signal value is S = S max +(S max -S in ); where ΔS1 is a preset first set threshold; if S in <S max , and S max +(S max -S in )≥ΔS1, then the obtained current monotonically changing sensor signal value is S = S in .
[0090] Based on the above embodiments, the current detected sensor signal maximum value obtaining unit may specifically be further configured to:
[0091] If the current rotation direction is the direction of decreasing rotation angle, obtain the detected sensor signal value S corresponding to the previous sampling period lst ; if S lst > S max , and S lst - S max > ΔS2, then obtain the current monotonically changing sensor signal value as S = S max + (S max - S in ); where, ΔS2 is a preset second set threshold; if S lst > S max , and S lst - S max ≤ΔS2, then obtain the current monotonically changing sensor signal value as S = S in .
[0092] Based on the above embodiments, the current detected sensor signal maximum value obtaining unit may specifically be further configured to:
[0093] If the current rotation direction is the non - rotation direction, if then obtain the current monotonically changing sensor signal value as S = S max + (S max - S in ); where, ΔS3 is a preset third set threshold; if the current rotation direction is the non - rotation direction, if then obtain the current monotonically changing sensor signal value as S = S in .
[0094] Based on the above embodiments, the current detected sensor signal minimum value obtaining unit may specifically be configured to: If the current rotation direction is any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non - rotation direction, process the current detected sensor signal value according to the current detected sensor signal minimum value through a pre - set sensor signal processing algorithm to obtain the current monotonically changing sensor signal value.
[0095] The sensor signal value processing device provided by the embodiments of the present invention can execute the sensor signal value processing method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0096] Embodiment 4
[0097] Figure 4FIG. 0 shows a schematic structural diagram of an electronic device 10 that can be used to implement Embodiment 4 of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0098] As Figure 4 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0099] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0100] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor urchases the various methods and processes described above, such as the sensor signal value processing method.
[0101] In some embodiments, the method for processing sensor signal values may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for processing sensor signal values described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for processing sensor signal values in any other suitable manner (e.g., by means of firmware).
[0102] The method includes: during the rotation of a target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detected sensor signal value corresponding to a pre-set angular displacement sensor, obtaining the current detected sensor signal value; obtaining the current rotation direction of the target large rotating component; where the current rotation direction includes any one of a direction in which the rotation angle increases, a direction in which the rotation angle decreases, or a non-rotation direction; and processing the current detected sensor signal value according to the current rotation direction through a pre-set sensor signal processing algorithm to obtain a current monotonically changing sensor signal value, and outputting and feeding back the current monotonically changing sensor signal value.
[0103] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, where the programmable processor can be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0104] A computer program for implementing the method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer program may be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
[0105] In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0106] In order to provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0107] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0108] A computing system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client - server relationship is created by computer programs running on respective computers and having a client - server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0109] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and this is not limited herein.
[0110] The above - described specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub - combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
[0111] Example Five
[0112] Embodiment 5 of the present invention further provides a computer-readable storage medium. The computer-readable instructions are used to execute a method for processing sensor signal values when executed by a computer processor. The method includes: during the rotation of a target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detection sensor signal value corresponding to a pre-set angular displacement sensor, obtaining the current detection sensor signal value; obtaining the current rotation direction of the target large rotating component; where the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotating direction; through a pre-set sensor signal processing algorithm, according to the current rotation direction, processing the current detection sensor signal value to obtain a current monotonically changing sensor signal value, and outputting and feeding back the current monotonically changing sensor signal value.
[0113] Certainly, the computer-executable instructions of a computer-readable storage medium provided by the embodiments of the present invention are not limited to the method operations as described above, and can also execute related operations in the processing of sensor signal values provided by any embodiment of the present invention.
[0114] Through the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software and necessary general hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk, or optical disc of a computer, etc., including several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
[0115] It should be noted that in the above embodiments of the processing of sensor signal values, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.
[0116] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for processing sensor signal values, characterized in that, Including: During the rotation of the target large rotating component, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detection sensor signal value corresponding to the pre-set angular displacement sensor, obtain the current detection sensor signal value; Obtain the current rotation direction corresponding to the target large rotating component; Wherein, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the non-rotation direction; Through a pre-set sensor signal processing algorithm, according to the current rotation direction, process the current detection sensor signal value to obtain a current monotonically changing sensor signal value, and output and feedback the current monotonically changing sensor signal value.
2. The method according to claim 1, characterized in that, The step of, within a preset current sampling period, when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detection sensor signal value corresponding to the pre-set angular displacement sensor, obtaining the current detection sensor signal value includes: Within the current sampling period, when it is detected that the rotation angle of the rotating component is monotonically increasing, but the detection sensor signal value corresponding to the pre-set angular displacement sensor is not monotonically increasing, obtain the current detection sensor signal value; Or Within the current sampling period, when it is detected that the rotation angle of the rotating component is monotonically decreasing, but the detection sensor signal value corresponding to the pre-set angular displacement sensor is not monotonically decreasing, obtain the current detection sensor signal value.
3. The method according to claim 2, wherein The step of, through a pre-set sensor signal processing algorithm, according to the current rotation direction, processing the current detection sensor signal value to obtain a current monotonically changing sensor signal value includes: If it is detected that the rotation angle of the rotating component is monotonically increasing, but the detection sensor signal value changes from gradually increasing to gradually decreasing, obtain the maximum value of the current detection sensor signal in the current sampling period; through a pre-set sensor signal processing algorithm, according to the current rotation direction and the maximum value of the current detection sensor signal, process the current detection sensor signal value to obtain a current monotonically changing sensor signal value; If it is detected that the rotation angle of the rotating component is monotonically increasing, but the detection sensor signal value changes from gradually decreasing to gradually increasing, obtain the minimum value of the current detection sensor signal in the current sampling period; through a pre-set sensor signal processing algorithm, according to the current rotation direction and the minimum value of the current detection sensor signal, process the current detection sensor signal value to obtain a current monotonically changing sensor signal value.
4. The method according to claim 3, wherein The step of, through a pre-set sensor signal processing algorithm, according to the current rotation direction and the maximum value of the current detection sensor signal, processing the current detection sensor signal value to obtain a current monotonically changing sensor signal value includes: If the current rotation direction is the direction of increasing rotation angle, determine whether the current detected sensor signal value S in is greater than or equal to the maximum value S max ; If S in ≥ S max , then the current monotonically changing sensor signal value S is S = S in ; If S in <S max , and S max +(S max -S in ) < ΔS1, then the obtained current monotonically changing sensor signal value is S = S max +(S max -S in ); where ΔS1 is a preset first setting threshold value; If S in <S max , and S max +(S max -S in )≥ΔS1, then the obtained current monotonically changing sensor signal value is S = S in .
5. The method according to claim 3, characterized in that, The step of, through a pre-set sensor signal processing algorithm, according to the current rotation direction and the maximum value of the current detection sensor signal, processing the current detection sensor signal value to obtain a current monotonically changing sensor signal value includes: If the current rotation direction is the direction of decreasing rotation angle, obtain the detection sensor signal value S corresponding to the previous sampling period lst ; If S lst > S max , and S lst - S max > ΔS2, then the current monotonically changing sensor signal value is S = S max + (S max - S in ); where ΔS2 is a preset second setting threshold value; If S lst > S max , and S lst - S max ≤ ΔS2, then the current monotonically changing sensor signal value is S = S in .
6. The method according to claim 3, wherein Processing the current detected sensor signal value according to the current rotation direction and the maximum value of the current detected sensor signal through a preset sensor signal processing algorithm to obtain a current monotonically changing sensor signal value, including: If the current rotation direction is the non-rotation direction, if then the current monotonically changing sensor signal value is obtained as S = S max +(S max - S in ); where ΔS3 is a preset third set threshold; If the current rotation direction is the non-rotation direction, if then the current monotonically changing sensor signal value is obtained as S = S in .
7. The method according to claim 3, characterized in that, Processing the current detected sensor signal value according to the current rotation direction and the minimum value of the current detected sensor signal through a preset sensor signal processing algorithm to obtain a current monotonically changing sensor signal value, including: If the current rotation direction is any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the direction of no rotation, processing the current detected sensor signal value according to the minimum value of the current detected sensor signal through a preset sensor signal processing algorithm to obtain a current monotonically changing sensor signal value.
8. A sensor signal value processing device, characterized in that, Including: A current detected sensor signal value acquisition module, configured to acquire a current detected sensor signal value when it is detected that the monotonicity of the rotation angle of the rotating component is inconsistent with the detected sensor signal value corresponding to the preset angular displacement sensor during a preset current sampling period during the rotation of the target large rotating component; A current rotation direction acquisition module, configured to acquire the current rotation direction corresponding to the target large rotating component; Wherein, the current rotation direction includes any one of the direction of increasing rotation angle, the direction of decreasing rotation angle, or the direction of no rotation; A current monotonically changing sensor signal value determination and output feedback module, configured to process the current detected sensor signal value according to the current rotation direction through a preset sensor signal processing algorithm to obtain a current monotonically changing sensor signal value, and output and feedback the current monotonically changing sensor signal value.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements a method for processing a sensor signal value as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the processor to implement a method for processing a sensor signal value as described in any one of claims 1-7 when executed.