Sensor data processing method, system, equipment and medium
By establishing a mapping relationship between sensor range intervals and a method for adjusting output parameters, the problem of inefficient parameter setting after sensor replacement is solved, and rapid parameter adjustment and efficiency improvement are achieved.
Patent Information
- Application Number
- CN202511212651.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-28
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2045-08-28
AI Technical Summary
After replacing a sensor in a PLC, a lot of time is required to re-set the correspondence between the range interval of the sensor parameters and the current interval of the current signal, resulting in low efficiency.
By establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement, the output parameters of the sensor after replacement are obtained and adjusted to generate adjusted output parameters.
It enables rapid adjustment of relevant parameters after replacing the sensor, improves debugging efficiency and reduces resetting time.
Smart Images

Figure CN120722833A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial signal processing, and in particular to a sensor data processing method, system, device and medium. Background Art
[0002] In existing programmable logic controllers (PLCs), the correspondence between the sensor parameter ranges and the current signal ranges must be pre-set. This allows the sensor's output current signal to be received and the sensor's detected (collected) parameter values to be generated. However, when a sensor fails and is replaced with a different one, the PLC requires a significant amount of time to re-set the correspondence between the sensor parameter ranges and the current signal ranges, resulting in significant inefficiencies. Therefore, there is room for improvement. Summary of the Invention
[0003] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a sensor data processing method, system, device and medium for solving the problem in the prior art that it takes a lot of time to replace a sensor.
[0004] To achieve the above objectives and other related objectives, the present invention provides a method for processing sensor data, comprising: Obtain the range interval of the sensor before replacement and the range interval of the sensor after replacement; Establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement; The output parameters of the sensor after replacement within the range interval of the sensor before replacement are acquired, and the output parameters are adjusted according to the range mapping relationship to generate adjusted output parameters.
[0005] In one embodiment of the present invention, the step of establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement includes: The range interval of the sensor before replacement is mapped in ascending order with the range interval of the sensor after replacement, to obtain a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement.
[0006] In one embodiment of the present invention, the step of mapping the range interval of the sensor before replacement in ascending order with the range interval of the sensor after replacement in ascending order includes: Select a percentage value, calculate the parameter value corresponding to the range interval of the sensor before replacement under the percentage value, and record it as the first parameter; Calculate the parameter value corresponding to the range interval of the replaced sensor at the percentage value, and record it as the second parameter; Select percentage values in ascending order, and map the corresponding first parameter to the second parameter at any percentage value.
[0007] In one embodiment of the present invention, the step of establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement includes: Comparing the interval difference of the range interval of the sensor before replacement with the interval difference of the range interval of the sensor after replacement; When the interval difference between the range intervals of the sensor before replacement is the same as the interval difference between the range intervals of the sensor after replacement, establishing a range mapping relationship in which the range intervals of the sensor before replacement are mapped one-to-one with the range intervals of the sensor after replacement; When the interval difference between the range intervals of the sensor before replacement is different from the interval difference between the range intervals of the sensor after replacement, a range mapping relationship of linear mapping between the range intervals of the sensor before replacement and the range intervals of the sensor after replacement is established.
[0008] In one embodiment of the present invention, the step of obtaining the output parameter of the sensor after replacement within the range of the sensor before replacement includes: receiving a current signal output by the sensor after replacement, subtracting the value of the current signal from a minimum value of a preset current interval, and dividing the subtraction result by the difference between the maximum value and the minimum value of the current interval to obtain a division ratio; wherein the value of the current interval is linearly correlated with the value of the range interval of the sensor before replacement; Multiply the split ratio by the difference between the maximum and minimum values of the range interval of the sensor before replacement, add the multiplication result to the minimum value of the range interval of the sensor before replacement, and use the addition result as the output parameter of the sensor after replacement in the range interval of the sensor before replacement.
[0009] In one embodiment of the present invention, the output parameter of the replaced sensor corresponding to the adjustment ,satisfy: ; in, It is represented by the output parameter of the sensor after replacement in the range of the sensor before replacement, It is expressed as the maximum value of the sensor range before replacement. It is expressed as the minimum value of the sensor range before replacement, It is expressed as the maximum value of the sensor range after replacement. It is expressed as the minimum value of the sensor range after replacement.
[0010] In one embodiment of the present invention, after the steps of obtaining the output parameter of the replaced sensor within the range interval of the pre-replacement sensor, adjusting the output parameter according to the range mapping relationship, and generating the adjusted output parameter, the method includes: Comparing the detection object of the sensor before replacement with the detection object of the sensor after replacement: When the two are the same, the adjusted output parameter of the sensor after replacement and the output parameter of the sensor before replacement are combined and recorded; When the two are different, the adjusted output parameter of the sensor after replacement and the output parameter of the sensor before replacement are recorded separately.
[0011] The present invention also provides a sensor data processing system, comprising: An acquisition unit, used to acquire the range interval of the sensor before replacement and the range interval of the sensor after replacement; An establishing unit, configured to establish a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement; A generating unit is used to obtain the output parameter of the replaced sensor in the range interval of the replaced sensor, adjust the output parameter according to the range mapping relationship, and generate the adjusted output parameter The present invention further provides an electronic device, comprising: one or more processors; A storage device is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the sensor data processing method as described in any one of the above items.
[0012] The present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer is caused to execute any of the above-mentioned sensor data processing methods.
[0013] As described above, the sensor data processing method, system, device, and medium of the present invention can quickly adjust the relevant parameters of the replaced sensor after the sensor is replaced, thereby improving debugging efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be derived from these drawings without inventive effort.
[0015] In the attached figure: Figure 1 A flowchart of a method for processing sensor data provided by an embodiment of the present invention.
[0016] Figure 2 This is a structural block diagram of a sensor data processing system provided by one embodiment of the present invention.
[0017] Figure 3 FIG. 1 is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following describes the embodiments of the present invention through specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.
[0019] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the embodiments of the present invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring the embodiments of the present invention.
[0020] See also Figures 1 to 3 The present invention provides a sensor data processing method, system, device, and medium that can be applied to industrial signal processing, such as sensor parameter acquisition. After replacing a sensor, the present invention eliminates the need to reconfigure the correspondence between the replaced sensor and the current signal, allowing rapid acquisition of relevant parameters for the replaced sensor, thereby improving debugging efficiency. This is described in detail below using specific embodiments.
[0021] See also Figure 1 In one embodiment of the present invention, the present invention provides a method for processing sensor data, which may include the following steps.
[0022] Step S10 acquires the range interval of the sensor before replacement and the range interval of the sensor after replacement.
[0023] Specifically, different manufacturers produce the same type of sensor with different ranges. In addition, in industrial parks, as factories are upgraded and renovated, some equipment will be upgraded, and therefore the relevant sensors need to be replaced to meet production needs.
[0024] Therefore, sensor replacement is a common occurrence in actual production. Different sensors have many differences. For example, based on the output signal type, some sensors output a standard current signal of 4mA to 20mA, while others output a standard voltage signal of 1V to 5V.
[0025] Specifically, the sensor before replacement is recorded as the pre-replacement sensor, and the sensor after replacement is recorded as the post-replacement sensor.
[0026] Step S20: establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement.
[0027] Specifically, if the output signal type of the pre-replacement sensor is the same as the output signal type of the post-replacement sensor, this indicates that both the pre-replacement sensor and the post-replacement sensor are transmitting data based on the same signal type. Therefore, a mapping relationship can be established between the range intervals of the pre-replacement sensor and the range intervals of the post-replacement sensor. Based on this mapping relationship, the relationship between the range intervals of the pre-replacement sensor and the range intervals of the post-replacement sensor can be reflected.
[0028] In one embodiment of the present invention, in step S20, the range interval of the sensor before replacement is mapped in ascending order with the range interval of the sensor after replacement in ascending order to obtain a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement.
[0029] Specifically, step S20 may include step S210, step S220 and step S230.
[0030] Step S210: Select a percentage value, calculate the parameter value corresponding to the range of the sensor before replacement under the percentage value, and record it as the first parameter.
[0031] Step S220: Calculate the parameter value corresponding to the range interval of the replaced sensor at the percentage value, and record it as the second parameter.
[0032] Step S230: Select percentage values in ascending order, and map the corresponding first parameter to the second parameter at any percentage value.
[0033] By setting step S210, step S220 and step S230, a linear mapping relationship between the measuring range interval of the sensor before replacement and the measuring range interval of the sensor after replacement can be established.
[0034] Specifically, step S20 may further include step S240, step S250 and step S260.
[0035] Step S240: Compare the interval difference between the range intervals of the sensor before replacement with the interval difference between the range intervals of the sensor after replacement.
[0036] Step S250: When the interval difference between the range intervals of the sensor before replacement is the same as the interval difference between the range intervals of the sensor after replacement, a one-to-one range mapping relationship between the range intervals of the sensor before replacement and the range intervals of the sensor after replacement is established.
[0037] Step S260: When the interval difference between the range intervals of the sensor before replacement is different from the interval difference between the range intervals of the sensor after replacement, a range mapping relationship of linear mapping between the range intervals of the sensor before replacement and the range intervals of the sensor after replacement is established.
[0038] By setting step S240 , step S250 and step S260 , a corresponding range mapping relationship can be established according to the range interval of the sensor before replacement and the range interval of the sensor after replacement.
[0039] In one embodiment of the present invention, step S20 may include the following steps: obtaining a first mapping relationship between the range interval of the sensor before replacement and the current interval of the corresponding current signal, and a second mapping relationship between the range interval of the sensor after replacement and the current interval of the corresponding current signal. When the first mapping relationship and the second mapping relationship are linear relationships, a linear mapping relationship is established between the range interval of the sensor before replacement and the range interval of the sensor after replacement. When the first mapping relationship and / or the second mapping relationship are nonlinear relationships, a nonlinear mapping relationship is established between the range interval of the sensor before replacement and the range interval of the sensor after replacement.
[0040] Specifically, the current signal can have a current range of 4mA to 20mA, and the voltage signal can have a voltage range of 1V to 5V. For example, using the current signal range of 4mA to 20mA as an example, the pressure transmitter in a power plant can have a range of 0Mpa to 10Mpa, which is linearly related to the current signal. For example, 0Mpa corresponds to 4mA, and 10Mpa corresponds to 20mA. If the sensor is replaced, it can be replaced with a 0Mpa to 16Mpa pressure transmitter, which also has a linear relationship with the current signal.
[0041] For example, for a differential pressure flowmeter, the relationship between the current signal and the differential pressure flowmeter is nonlinear. For example, for a differential pressure flowmeter, the following conditions are met: ,in, Expressed as differential pressure value, Expressed as flow value.
[0042] Step S30: obtaining output parameters of the sensor after replacement within the range interval of the sensor before replacement, adjusting the output parameters according to the range mapping relationship, and generating adjusted output parameters.
[0043] In one embodiment of the present invention, in step S30, the step of obtaining the output parameter of the sensor after replacement within the range of the sensor before replacement may include the following steps.
[0044] Step S310, receiving the current signal output by the replaced sensor, subtracting the value of the current signal from the minimum value of the preset current interval, and dividing the subtraction result by the difference between the maximum and minimum values of the current interval to obtain a division ratio; wherein, the value of the current interval is linearly correlated with the value of the range interval of the sensor before replacement.
[0045] Specifically, the output signal is any value between 4mA and 20mA, and the output signal corresponds to a current signal range of 4mA to 20mA. As described above, the pre-replacement sensor can be a pressure transmitter, and the corresponding range can be 0Mpa to 10Mpa. In other words, 4mA to 20mA corresponds to 0Mpa to 10Mpa.
[0046] Based on the output signal value, the output signal's current range can be calculated. For example, if the output signal is 12mA, the current range between 4mA and 20mA is (12mA - 4mA) / (20mA - 4mA) = 1 / 2.
[0047] Step S320: multiply the segmentation ratio by the difference between the maximum and minimum values of the range interval of the sensor before replacement, add the multiplication result to the minimum value of the range interval of the sensor before replacement, and use the addition result as the output parameter of the sensor after replacement in the range interval of the sensor before replacement.
[0048] For example, if the output signal is 12mA, the division ratio between 4mA and 20mA is (12mA-4mA) / (20mA-4mA)=1 / 2. Therefore, when the output signal is 12mA, the pressure on the corresponding pressure transmitter is 5Mpa.
[0049] It should be understood that if the replaced sensor and the pre-replacement sensor are identical, i.e., they have the same range and the same parameter units, then the calculated output parameters of the replaced sensor are the actual parameters required and no adjustment is required.
[0050] However, since the sensor after replacement is different from the sensor before replacement, adjustments need to be made. In order to avoid adjusting the internal program of the Programmable Logic Controller (PLC), the output parameters of the replaced sensor can be used to directly obtain the corresponding actual parameter values on the pressure transmitter, that is, the observed values on the pressure transmitter instrument.
[0051] In one embodiment of the present invention, in step S30, the adjusted output parameter corresponding to the replaced sensor is ,satisfy: .
[0052] in, It is expressed as the output parameter of the sensor after replacement in the range of the sensor before replacement, It is represented as the maximum value of the range interval of the sensor before replacement, It is represented as the minimum value of the range interval of the sensor before replacement, It is expressed as the maximum value of the range of the sensor after replacement. It is expressed as the minimum value of the measuring range of the sensor after replacement.
[0053] See also Figure 1 In one embodiment of the present invention, after step S30, that is, after the step of obtaining the output parameters of the replaced sensor, adjusting the output parameters according to the mapping relationship, and generating the adjusted output parameters, the method further includes steps S401, S402, and S403. Step S401: Compare the detection object of the sensor before replacement with the detection object of the sensor after replacement.
[0054] Step S402: When the two are the same, the adjusted output parameters corresponding to the replaced sensor and the output parameters corresponding to the pre-replacement sensor are combined and recorded.
[0055] Specifically, when the two are the same, that is, the sensor after replacement and the sensor before replacement are sensors that detect the same parameters, but their range intervals are different, the parameter unit of the sensor before replacement can be retained as the parameter unit of the adjusted output parameter.
[0056] Specifically, when the two are the same, that is, the sensor after replacement and the sensor before replacement are sensors that detect the same parameters, but their measuring ranges are different, the adjusted output parameters corresponding to the sensor after replacement and the adjusted output parameters corresponding to the sensor before replacement can be combined and recorded.
[0057] Step S403: When the two are different, the adjusted output parameter corresponding to the replaced sensor and the output parameter corresponding to the pre-replacement sensor are recorded separately.
[0058] Specifically, when the two are different, that is, the replaced sensor and the pre-replacement sensor are sensors detecting different parameters, since the parameter units corresponding to the replaced sensor are different from the parameter units corresponding to the pre-replacement sensor, the parameter units of the replaced sensor are set to the parameter units of the adjusted output parameter.
[0059] Specifically, if the two are different, that is, the replaced sensor and the pre-replacement sensor are sensors detecting different parameters, since the parameter units corresponding to the replaced sensor are different from the parameter units corresponding to the pre-replacement sensor, the adjusted output parameters corresponding to the replaced sensor and the adjusted output parameters corresponding to the pre-replacement sensor can be recorded separately.
[0060] In one embodiment of the present invention, after step S30, that is, after the step of obtaining the output parameters of the replaced sensor, adjusting the output parameters according to the mapping relationship, and generating the adjusted output parameters, the following steps may be included.
[0061] Save the mapping relationship between the range interval of each sensor and the range interval of the sensor before replacement. Whenever a sensor is replaced, compare the range interval and parameter unit of the replaced sensor with the range interval and parameter unit of other saved sensors to see if they are the same; and if they are the same, call the mapping relationship between the range interval of other corresponding sensors and the range interval of the sensor before replacement as the mapping relationship between the range interval of the replaced sensor and the range interval of the sensor before replacement. If they are different, establish a mapping relationship between the range interval of the replaced sensor and the range interval of the sensor before replacement. Obtain the output parameters of the replaced sensor, adjust the output parameters according to the mapping relationship between the range interval of the replaced sensor and the range interval of the sensor before replacement, and generate adjusted output parameters.
[0062] Specifically, when the range interval and parameter unit of the next sensor are the same as the range interval and parameter unit of a previously saved sensor, it means that the sensor and the sensor are sensors of the same type and the same range. The corresponding mapping relationship between the sensor and the sensor before replacement can be directly called without re-establishing the mapping relationship between the range interval of the sensor and the range interval of the sensor before replacement.
[0063] See also Figure 2 In one embodiment of the present invention, a sensor data processing system 100 is provided, which may include an acquiring unit 110 , an establishing unit 120 , and a generating unit 130 .
[0064] The acquiring unit 110 is configured to acquire the measuring range of the sensor before replacement and the measuring range of the sensor after replacement.
[0065] The establishing unit 120 is configured to establish a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement.
[0066] The generating unit 130 is configured to obtain an output parameter of the sensor after replacement within the range interval of the sensor before replacement, adjust the output parameter according to the range mapping relationship, and generate an adjusted output parameter.
[0067] See also Figure 3 In one embodiment of the present invention, an electronic device 10 is proposed. The electronic device 10 may include a memory 11, a processor 12 and a bus. It may also include a computer program stored in the memory 11 and executable on the processor 12, such as a sensor data processing program.
[0068] The memory 11 includes at least one type of readable storage medium, including flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 10, such as a mobile hard disk of the electronic device 10. In other embodiments, the memory 11 may also be an external storage device of the electronic device 10, such as a plug-in mobile hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 10. Furthermore, the memory 11 may include both an internal storage unit of the electronic device 10 and an external storage device. The memory 11 can be used not only to store application software installed in the electronic device 10 and various types of data, such as code for processing sensor data, but also to temporarily store data that has been output or is about to be output.
[0069] In some embodiments, the processor 12 may be comprised of an integrated circuit, such as a single packaged integrated circuit or multiple packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor 12 is the control core (control unit) of the electronic device 10, connecting the various components of the electronic device 10 using various interfaces and circuits. It executes programs or modules stored in the memory 11 (e.g., sensor data processing programs) and accesses data stored in the memory 11 to perform various functions and process data.
[0070] The processor 12 executes the operating system and various installed applications of the electronic device 10. The processor 12 executes the applications to implement the steps in the above-mentioned sensor data processing method.
[0071] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 11 and executed by the processor 12 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the electronic device 10. For example, the computer program may be divided into an acquisition unit 110, an establishment unit 120, and a generation unit 130.
[0072] The above-mentioned integrated unit implemented in the form of a software functional module can be stored in a computer-readable storage medium, which can be either non-volatile or volatile. The above-mentioned software functional module is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, computer device, or network device, etc.) or a processor to perform part of the functions of the sensor data processing method described in various embodiments of this application.
[0073] In summary, the sensor data processing method, system, device, and medium disclosed herein can quickly adjust relevant parameters of a replaced sensor after it is replaced, improving debugging efficiency. Therefore, the present invention effectively overcomes the shortcomings of the prior art and possesses high industrial value.
[0074] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical principles disclosed herein are intended to be covered by the claims of the present invention.
Claims
1. A method for processing sensor data, characterized in that: include: Obtain the range interval of the sensor before replacement and the range interval of the sensor after replacement; Establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement; The output parameters of the sensor after replacement within the range interval of the sensor before replacement are acquired, and the output parameters are adjusted according to the range mapping relationship to generate adjusted output parameters.
2. The sensor data processing method according to claim 1, characterized in that: In the step of establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement: The range interval of the sensor before replacement is mapped in ascending order with the range interval of the sensor after replacement, to obtain a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement.
3. The sensor data processing method according to claim 2, characterized in that: The step of mapping the range interval of the sensor before replacement in ascending order with the range interval of the sensor after replacement in ascending order includes: Select a percentage value, calculate the parameter value corresponding to the range interval of the sensor before replacement under the percentage value, and record it as the first parameter; Calculate the parameter value corresponding to the range interval of the replaced sensor at the percentage value, and record it as the second parameter; Select percentage values in ascending order, and map the corresponding first parameter to the second parameter at any percentage value.
4. The method for processing sensor data according to claim 1, wherein: The step of establishing a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement includes: Comparing the interval difference of the range interval of the sensor before replacement with the interval difference of the range interval of the sensor after replacement; When the interval difference between the range intervals of the sensor before replacement is the same as the interval difference between the range intervals of the sensor after replacement, a range mapping relationship is established in which the range intervals of the sensor before replacement correspond to the range intervals of the sensor after replacement; When the interval difference between the range intervals of the sensor before replacement is different from the interval difference between the range intervals of the sensor after replacement, a range mapping relationship of linear mapping between the range intervals of the sensor before replacement and the range intervals of the sensor after replacement is established.
5. The sensor data processing method according to claim 1, characterized in that: The step of obtaining the output parameter of the sensor after replacement within the range of the sensor before replacement includes: receiving a current signal output by the sensor after replacement, subtracting the value of the current signal from a minimum value of a preset current interval, and dividing the subtraction result by the difference between the maximum value and the minimum value of the current interval to obtain a division ratio; wherein the value of the current interval is linearly correlated with the value of the range interval of the sensor before replacement; Multiply the split ratio by the difference between the maximum and minimum values of the range interval of the sensor before replacement, add the multiplication result to the minimum value of the range interval of the sensor before replacement, and use the addition result as the output parameter of the sensor after replacement in the range interval of the sensor before replacement.
6. The sensor data processing method according to claim 1, characterized in that: The output parameters of the replaced sensor corresponding to the adjustment ,satisfy: ; in, It is represented by the output parameter of the sensor after replacement in the range of the sensor before replacement, It is expressed as the maximum value of the sensor range before replacement. It is expressed as the minimum value of the sensor range before replacement, It is expressed as the maximum value of the sensor range after replacement. It is expressed as the minimum value of the sensor range after replacement.
7. The sensor data processing method according to claim 1, characterized in that: After the steps of obtaining the output parameter of the replaced sensor within the range of the pre-replacement sensor, adjusting the output parameter according to the range mapping relationship, and generating the adjusted output parameter, the method includes: Comparing the detection object of the sensor before replacement with the detection object of the sensor after replacement: When the two are the same, the adjusted output parameter of the sensor after replacement and the output parameter of the sensor before replacement are combined and recorded; When the two are different, the adjusted output parameter of the sensor after replacement and the output parameter of the sensor before replacement are recorded separately.
8. A sensor data processing system, characterized in that: include: An acquisition unit, used to acquire the range interval of the sensor before replacement and the range interval of the sensor after replacement; An establishing unit, configured to establish a range mapping relationship between the range interval of the sensor before replacement and the range interval of the sensor after replacement; The generating unit is configured to obtain an output parameter of the sensor after replacement within the measuring range of the sensor before replacement, adjust the output parameter according to the measuring range mapping relationship, and generate an adjusted output parameter.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the sensor data processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the sensor data processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Isolated high-precision wide-range voltage measurement system and measurement method
CN112730970A
Parameter detection method and device of electronic circuit, electronic equipment and storage medium
CN116990662A
Control network and confiquration method thereof
CN1173258A
Pump station working condition monitoring method and system based on digital twinning and storage medium
CN120195983A
Sensor regulation and control method and contact type equipment
CN120523015A