Method and apparatus for eliminating output jitter of sensor, and sensor

By comparing the current and historical digital temperature signals to update the output signal, the sensor jitter problem caused by the temperature calibration circuit is solved, and cost-effective jitter elimination is achieved.

WO2025148375A1PCT designated stage expired Publication Date: 2025-07-17SEMIMENT TECH (SHANGHAI) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/118660
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-11
Filing Date
2024-09-13
Publication Date
2025-07-17

AI Technical Summary

Technical Problem

In prior art, in high-performance sensors, output jitter caused by temperature calibration circuits cannot be completely eliminated, and the method of improving ADC resolution is relatively expensive.

Method used

By comparing the current digital temperature signal with the digital temperature signal at the previous preset time interval, obtain the change amount and determine whether it is greater than the preset threshold value, and update the output signal to eliminate jitter.

Benefits of technology

Without increasing the ADC resolution, the sensor output jitter is effectively eliminated and the cost is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024118660_17072025_PF_FP_ABST
    Figure CN2024118660_17072025_PF_FP_ABST
Patent Text Reader

Abstract

A method and apparatus (4) for eliminating an output jitter of a sensor, and a sensor (1). The method comprises: acquiring a current digital temperature signal and a digital temperature signal stored at a previous time at an interval of a preset time (S1); comparing the current digital temperature signal with the digital temperature signal stored at the previous time at an interval of a preset time to obtain a digital temperature signal variation (S2); and determining whether the digital temperature signal variation is greater than a preset threshold, and when the digital temperature signal variation is greater than the preset threshold, updating and outputting the current digital temperature signal (S3). The apparatus (4) comprises a register (11), an absolute value operator (12), and a digital comparator (13). The sensor (1) comprises a main sensor (2), a temperature calibration circuit (3), and the apparatus (4). Without increasing the resolution of an ADC, the output jitter of the sensor (1) is effectively eliminated, and costs are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and sensor for eliminating sensor output jitter Technical Field

[0001] The present invention relates to the field of sensor technology, and in particular to a method, device and sensor for eliminating sensor output jitter. Background Art

[0002] In high-performance sensors, temperature calibration circuits are integrated to ensure that the sensor's output is temperature-independent or exhibits a specific temperature relationship. This circuit senses the sensor's analog temperature signal and converts it into a binary digital signal using an ADC (analog-to-digital converter). The sensor's output signal is then calibrated and compensated using an internal digital algorithm.

[0003] Due to the limited accuracy of the ADC used in the temperature calibration circuit, even without considering any non-ideal factors of the ADC, even slight temperature fluctuations between adjacent ADC settings will cause the ADC output to fluctuate by at least 1LSB. However, this fluctuation cannot be completely eliminated through filtering, and it will eventually be reflected in the sensor output through the temperature calibration circuit, manifesting as jitter in the sensor output, which directly affects the accuracy of the sensor output signal.

[0004] Currently, the solution to sensor output jitter is to increase the ADC resolution. This ensures that even if there is jitter in the ADC output, the jitter is so small that it is hardly noticeable. However, this method of increasing ADC resolution is costly, and in actual applications, high accuracy is not required, resulting in over-design. Summary of the Invention

[0005] The present invention addresses the shortcomings of existing technologies by providing a method, device, and sensor for eliminating sensor output jitter caused by a digital temperature calibration circuit. By comparing the change in the digital temperature signal output by the ADC with a preset threshold, the method ensures that the current digital temperature signal output does not continuously fluctuate at a certain temperature point, effectively eliminating sensor output jitter without increasing the ADC resolution.

[0006] In one aspect, the present invention provides a method for eliminating sensor output jitter caused by a digital temperature calibration circuit, wherein the specific method includes:

[0007] Obtain the current digital temperature signal and the digital temperature signal stored at the last preset time interval;

[0008] Comparing the current digital temperature signal with the digital temperature signal stored at a previous preset time interval to obtain a change in the digital temperature signal;

[0009] It is determined whether the change amount of the digital temperature signal is greater than a preset threshold value, and when the change amount of the digital temperature signal is greater than the preset threshold value, the current digital temperature signal is updated and output.

[0010] Further, determining whether the change amount of the digital temperature signal is greater than a preset threshold, and updating and outputting the current digital temperature signal when the change amount of the digital temperature signal is greater than the preset threshold, further includes:

[0011] When the change in the digital temperature signal is less than or equal to the preset threshold, obtaining a subsequent digital temperature signal after the next preset time interval;

[0012] The subsequent digital temperature signal is compared with the current digital temperature signal to obtain a new digital temperature signal change, and it is determined whether the new digital temperature signal change is greater than a preset threshold. When the new digital temperature signal change is greater than the preset threshold, the subsequent digital temperature signal is updated and output, and the cycle is repeated.

[0013] Furthermore, the current digital temperature signal is compared with the digital temperature signal stored at the last preset time interval to obtain a change in the digital temperature signal, including:

[0014] Subtracting the current digital temperature signal from the digital temperature signal stored at a previous preset time interval to obtain a digital temperature signal difference;

[0015] The absolute value of the digital temperature signal difference is obtained to obtain the digital temperature signal change.

[0016] On the other hand, the present invention also provides a device for eliminating sensor output jitter, comprising:

[0017] a register connected to the analog-to-digital conversion module for outputting the current digital temperature signal, the register being used to store the digital temperature signal output by the analog-to-digital conversion module at a previous preset time interval;

[0018] an absolute value operator, connected to the analog-to-digital conversion module for outputting the current digital temperature signal and the register, for calculating the absolute value of the difference between the current digital temperature signal and the digital temperature signal output at the previous preset time interval to output a change in the digital temperature signal;

[0019] A digital comparator is connected between the absolute value operator and the register, and is used to determine whether the change in the digital temperature signal is greater than a preset threshold. When the change in the digital temperature signal is greater than the preset threshold, the current digital temperature signal is updated and transmitted to the register output.

[0020] Furthermore, the absolute value operator includes a difference operator and an absolute value operator;

[0021] The input end of the difference operator is connected to the analog-to-digital conversion module for outputting the current digital temperature signal and the register, and the output end of the difference operator is connected to the input end of the absolute value operator, for performing a difference between the current digital temperature signal and the digital temperature signal output at the last preset time interval to output a digital temperature signal difference;

[0022] The output end of the absolute value operator is connected to the input end of the digital comparator, and is used to obtain the absolute value of the digital temperature signal difference to output the digital temperature signal change.

[0023] On the other hand, the present invention also provides a sensor, which includes a main sensor and a temperature calibration circuit connected to each other, and the device for eliminating sensor output jitter as described above, and the device is used to perform the method for eliminating sensor output jitter as described above.

[0024] Furthermore, the temperature calibration circuit includes: a temperature sensor and an analog-to-digital conversion module; wherein the temperature sensor is used to detect the analog temperature signal of the main sensor; the input end of the analog-to-digital conversion module is connected to the output end of the temperature sensor, and is used to output a digital temperature signal according to the analog temperature signal;

[0025] The device for eliminating sensor output jitter is connected to the analog-to-digital conversion module, and is used to obtain a change in the digital temperature signal based on the current digital temperature signal output by the analog-to-digital conversion module and the digital temperature signal output at the previous preset time interval, and output the current digital temperature signal when the change in the digital temperature signal is greater than a preset threshold.

[0026] Furthermore, the temperature calibration circuit also includes a calibration sub-circuit, which includes a first input terminal and a second input terminal, the first input terminal is connected to the output terminal of the main sensor, and the second input terminal is connected to the output terminal of the device for eliminating sensor output jitter; the calibration sub-circuit is used to perform temperature calibration on the output of the main sensor through the current digital temperature signal.

[0027] Furthermore, the preset threshold is greater than or equal to the jitter amplitude value of the analog-to-digital conversion module.

[0028] Furthermore, the preset time is greater than or equal to a refresh time of the temperature sensor.

[0029] The beneficial effects of the present invention are as follows: by comparing the current digital temperature signal with the digital temperature signal stored at the last preset interval, the change in the digital temperature signal is obtained. The change in the digital temperature signal is compared with a preset threshold. When the change in the digital temperature signal exceeds the preset threshold, the current digital temperature signal is updated and output, ensuring that the output digital temperature signal does not continuously fluctuate at a certain temperature point. The current digital temperature signal is used for sensor output calibration, thereby effectively eliminating sensor output jitter caused by the limited accuracy of the sensor's ADC. Compared to the prior art, the present invention effectively eliminates sensor output jitter without increasing ADC resolution and reduces costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] FIG1 is a diagram showing steps of a method for eliminating sensor output jitter according to an embodiment of the present invention;

[0031] FIG2 is a flow chart of a method for eliminating sensor output jitter according to an embodiment of the present invention;

[0032] FIG3 is a diagram of step S3 of the method for eliminating sensor output jitter according to the embodiment of the present invention shown in FIG1 ;

[0033] FIG4 is a diagram illustrating specific steps of S2 of the method for eliminating sensor output jitter according to the embodiment of the present invention shown in FIG1 ;

[0034] FIG5 is a structural block diagram of a sensor according to an embodiment of the present invention;

[0035] FIG6 is a structural block diagram of a sensor according to another embodiment of the present invention;

[0036] FIG. 7 is a schematic structural diagram of the device for eliminating sensor output jitter shown in FIG. 6 connected to an analog-to-digital conversion module according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The principles and features of the present invention are described below with reference to the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0038] An embodiment of the present invention provides a method for eliminating sensor output jitter, which is applied to sensors, such as Hall effect sensors. In such sensors, a temperature calibration method is typically used to calibrate and compensate the sensor output to ensure that the sensor output is temperature-independent or exhibits a specific relationship with temperature. However, the ADC used in the temperature calibration method has limited accuracy, which causes output fluctuations, indirectly leading to sensor output jitter. Therefore, the method for eliminating sensor output jitter of this embodiment can be used to address the problem of sensor output jitter.

[0039] Specifically, with reference to FIG1 and FIG2 , the method includes:

[0040] Step S1, obtaining the current digital temperature signal and the digital temperature signal stored at the previous preset time interval;

[0041] Step S2: comparing the current digital temperature signal with the digital temperature signal stored at a previous preset time interval to obtain a change in the digital temperature signal;

[0042] Step S3: determining whether the variation of the digital temperature signal is greater than a preset threshold; if the variation of the digital temperature signal is greater than the preset threshold, updating and outputting the current digital temperature signal.

[0043] In this embodiment, the current digital temperature signal is compared with the digital temperature signal stored at the previous preset time interval—that is, the digital temperature signal acquired at the preset time interval—to determine the change in the digital temperature signal. Only when the change in the digital temperature signal is determined to be greater than a preset threshold is the current digital temperature signal updated and output. This processing method ensures that the output digital temperature signal does not continuously fluctuate at a certain temperature point and is the true temperature signal used for sensor output calibration. This effectively eliminates jitter in the sensor output caused by the limited accuracy of the ADC. Compared to existing technologies that eliminate jitter by increasing the ADC's resolution, this invention significantly reduces costs.

[0044] In some embodiments, the preset threshold is greater than or equal to the jitter amplitude of the sensor's analog-to-digital conversion module. The analog-to-digital conversion module in this embodiment is an ADC. Specifically, the preset threshold functions similarly to the comparison threshold of a comparator. The ADC's own jitter amplitude is at least 1 LSB. In other words, the preset threshold must be at least 1 LSB. Otherwise, if the preset threshold is set too low, the comparison result with the change in the digital temperature signal will be inaccurate.

[0045] In some embodiments, the preset time is greater than or equal to the refresh time of the temperature sensor used in the temperature calibration method. Specifically, the preset time needs to be greater than or equal to the refresh time of the temperature sensor, and a reasonable range is between a few milliseconds and a few seconds.

[0046] In some embodiments, determining whether the change in the digital temperature signal is greater than a preset threshold, and updating and outputting the current digital temperature signal when the change in the digital temperature signal is greater than the preset threshold, as shown in FIG3 , further includes:

[0047] Step S3: when the change in the digital temperature signal is less than or equal to the preset threshold, obtaining the next digital temperature signal after the next preset time interval;

[0048] The subsequent digital temperature signal is compared with the current temperature digital signal to obtain a new digital temperature signal change, and it is determined whether the new digital temperature signal change is greater than a preset threshold. When the new digital temperature signal change is greater than the preset threshold, the subsequent digital temperature signal is updated and output, and the cycle is repeated.

[0049] As shown in Figures 2 and 3 , in this embodiment, when the digital temperature signal change is determined to be less than or equal to the preset threshold, the current digital temperature signal is not updated and output. Instead, the system waits for the next digital temperature signal output after a preset time interval. The next digital temperature signal after the preset time interval is then compared with the current digital temperature signal to obtain a new digital temperature signal change. At this point, the current digital temperature signal becomes the digital temperature signal stored during the previous preset time interval, and the subsequent digital temperature signal becomes the current digital temperature signal. If the new digital temperature signal change is further determined to be greater than the preset threshold, the next digital temperature signal is updated and output, and this cycle repeats. In the present invention, only the current digital temperature signal corresponding to the time when the digital temperature signal change is determined to be greater than the preset threshold is updated and output, ensuring that the output current digital temperature signal does not continuously fluctuate at a certain temperature point, thus providing a temperature signal for sensor output calibration. This effectively eliminates sensor output jitter caused by limited ADC accuracy. Compared to existing technologies, the present invention effectively eliminates sensor output jitter without increasing ADC resolution and reduces costs.

[0050] In some embodiments, the current digital temperature signal is compared with the digital temperature signal stored at a previous preset time interval to obtain a change in the digital temperature signal, as shown in FIG4 , including:

[0051] Step S21: Subtract the current digital temperature signal from the digital temperature signal stored at a previous preset time interval to obtain a digital temperature signal difference;

[0052] Step S22: Obtain the absolute value of the digital temperature signal difference to obtain the digital temperature signal change.

[0053] In this embodiment, the absolute value of the difference between two digital temperature signals corresponding to a preset time interval is calculated to obtain the digital temperature signal change. The digital temperature signal change reflects the fluctuation change of the output digital temperature signal. In this way, the method of obtaining the digital temperature signal change is simple and reliable.

[0054] As shown in Figure 5, an embodiment of the present invention provides a sensor 1. The sensor 1 includes a main sensor 2 and a temperature calibration circuit 3 connected to each other, and a device 4 for eliminating sensor output jitter, the device being used to execute the method for eliminating sensor output jitter as described above.

[0055] In this embodiment, the temperature calibration circuit 3 is used to calibrate the temperature of the main sensor 2, so that the output of the main sensor 2 is independent of temperature or exhibits a specific relationship with temperature. Furthermore, a sensor output jitter elimination device 4 is provided to eliminate jitter in the output of the main sensor 2 caused by slight temperature fluctuations between adjacent ADC settings in the temperature calibration circuit 3, thereby eliminating jitter in the output of the sensor 1.

[0056] As shown in FIG6 , in some embodiments, the temperature calibration circuit 3 includes a temperature sensor 5 and an analog-to-digital conversion module 6. The temperature sensor 5 is used to detect the analog temperature signal of the main sensor 2. The input end of the analog-to-digital conversion module 6 is connected to the output end of the temperature sensor 5, and is used to output a digital temperature signal based on the analog temperature signal. The device 4 for eliminating sensor output jitter is connected to the analog-to-digital conversion module 6, and is used to obtain the change in the digital temperature signal based on the current digital temperature signal output by the analog-to-digital conversion module 6 and the digital temperature signal output at the previous preset time interval, and output the current digital temperature signal when the change in the digital temperature signal is greater than a preset threshold, to ensure that the output current digital temperature signal does not continue to jump at a certain temperature point, so as to achieve the purpose of suppressing the output jitter of the main sensor 2.

[0057] In this embodiment, the temperature signal of the main sensor 2 detected by the temperature sensor 5 is an analog temperature signal, which is converted into a binary digital temperature signal by the analog-to-digital conversion module 6 for processing by subsequent modules. However, due to the limited accuracy of the analog-to-digital conversion module 6, even without considering any non-ideal factors of the analog-to-digital conversion module 6, when the temperature signal fluctuates slightly between adjacent gears of the analog-to-digital conversion module 6, it will cause the output of the analog-to-digital conversion module 6 to fluctuate by at least 1 LSB. This fluctuation cannot be completely eliminated by filtering and will be reflected in the final output of the sensor, resulting in inaccurate sensor output. Therefore, by connecting a sensor output jitter elimination device 4 to the output of the analog-to-digital conversion module 6, the current digital temperature signal output by the analog-to-digital conversion module 6 is compared with the digital temperature signal output at the previous preset interval, and the corresponding digital temperature change is further compared with a preset threshold. When the digital temperature change exceeds the preset threshold, the current digital temperature signal is output. This current digital temperature signal does not continuously fluctuate at a certain temperature point and is used to calibrate the temperature signal output by the main sensor 2. In this way, jitter in the output of the main sensor 2 caused by the limited accuracy of the analog-to-digital conversion module 6 is effectively eliminated. Compared to the existing technology that eliminates jitter by increasing the resolution of the analog-to-digital conversion module 6, the device 4 of the present invention effectively reduces costs.

[0058] In some embodiments, the temperature calibration circuit 3 also includes a calibration sub-circuit 7, which includes a first input terminal 8 and a second input terminal 9, the first input terminal 8 is connected to the output terminal of the main sensor 2, and the second input terminal 9 is connected to the output terminal of the device for eliminating sensor output jitter 4; the calibration sub-circuit 7 is used to perform temperature calibration on the output of the main sensor 2 through the current digital temperature signal.

[0059] In this embodiment of the present invention, after the sensor output jitter elimination device 4 updates and outputs the current digital temperature signal, it is transmitted to the calibration sub-circuit 7. Based on this current digital temperature signal and using a digital algorithm, the calibration sub-circuit 7 performs temperature calibration and compensation on the output of the main sensor 2. This ensures that the output of the main sensor 2 is either temperature-independent or exhibits a specific relationship with temperature. Furthermore, jitter in the output of the main sensor 2 caused by the limited accuracy of the analog-to-digital conversion module 6 is effectively eliminated.

[0060] As shown in FIG6 , in some embodiments, the sensor 1 further includes an amplifier 10 and a sensor output terminal (Output). The amplifier 10 is connected between the output terminal of the calibration sub-circuit 7 and the sensor output terminal (Output). The amplifier 10 is configured to amplify the signal output by the main sensor 2 after calibration by the calibration sub-circuit 7 and output the signal through the sensor output terminal (Output).

[0061] As shown in FIG7 , in some embodiments, the device 4 for eliminating sensor output jitter provided by the present invention includes a register 11, an absolute value operator 12, and a digital comparator 13. The register 11 is connected to the analog-to-digital conversion module 6 for outputting the current digital temperature signal, and the register is used to store the digital temperature signal output by the analog-to-digital conversion module 6 at the last preset time interval. The absolute value operator 12 is connected to the analog-to-digital conversion module 6 for outputting the current digital temperature signal and the register 11, and is used to calculate the absolute value of the difference between the current digital temperature signal and the digital temperature signal output at the last preset time interval to output the change in the digital temperature signal. The digital comparator 13 is connected between the absolute value operator 12 and the register 11, and is used to determine whether the change in the digital temperature signal is greater than a preset threshold. If the change in the digital temperature signal is greater than the preset threshold, the current digital temperature signal is updated and transmitted to the register output.

[0062] In this embodiment, register 11 is used to store the digital temperature signal output at the last preset interval compared to the current digital temperature signal. When the change between the current digital temperature signal and the digital temperature signal output at the last preset interval exceeds a preset threshold, register 11 is used to output the current digital temperature signal, which serves as the actual temperature signal used for calibrating the output of main sensor 2. Furthermore, because register 11 updates its output only when the change in digital temperature exceeds the preset threshold, its output does not continuously fluctuate around a certain temperature point, unlike the output of analog-to-digital conversion module 6, thereby suppressing jitter in the output of main sensor 2.

[0063] In this embodiment, an absolute value operator 12 is used to calculate the difference between the current digital temperature signal output by the analog-to-digital conversion module 6 and the value stored in the register 11, and the absolute value is taken to obtain the digital temperature change. Furthermore, a digital comparator 13 is used to compare the digital temperature change with a preset threshold value. When the digital temperature change is greater than the preset threshold value, the corresponding current digital temperature signal is transmitted to the register 11, and then output by the register 11. This current digital temperature signal is output through the register 11 and does not continuously jump at a certain temperature point like the output of the analog-to-digital conversion module 6. It is a temperature signal that is truly used for sensor 1 output calibration. In this way, the jitter of the sensor output caused by the limited accuracy of the analog-to-digital conversion module 6 is effectively eliminated. Compared with the prior art, the present invention effectively eliminates the jitter of the sensor 1 output without increasing the resolution of the analog-to-digital conversion module 6, and reduces costs.

[0064] In some embodiments, the preset threshold value may be set via register 11 .

[0065] In some embodiments, the absolute value operator 12 includes a difference operator 14 and an absolute value operator 15. The input end of the difference operator 14 is connected to the analog-to-digital conversion module 6 for outputting the current digital temperature signal and the register 11. The output end of the difference operator 14 is connected to the input end of the absolute value operator 15, which is used to perform a difference between the current digital temperature signal and the digital temperature signal output at the previous preset time interval to output the digital temperature signal difference. Since the digital temperature signal difference can be positive or negative, an absolute value operator 15 is required. The output end of the absolute value operator 15 is connected to the input end of the digital comparator 13, which is used to obtain the absolute value of the digital temperature signal difference to output the digital temperature signal change. The digital temperature signal change is a positive number, which is used to reflect the change in the digital temperature signal output before and after the analog-to-digital conversion module 6.

[0066] For example, at the previous preset time interval T0, the detected temperature of the analog-to-digital conversion module 6 is C0 (i.e., the digital temperature signal output at the previous preset time interval), and at the current preset time T1, the detected temperature of the analog-to-digital conversion module 6 is C1 (i.e., the current digital temperature signal). The difference between the temperature C0 and the temperature C1 is calculated, and the absolute value of the difference calculation result is performed to obtain the absolute value of the temperature change, which is the above-mentioned digital temperature signal change.

[0067] In this embodiment, the digital temperature signal's change over time within a preset interval is calculated. As long as the change is not greater than a preset threshold, the current digital temperature signal is not updated. Otherwise, the output is updated. This process is repeated in a loop. The updated current digital temperature signal is used for sensor output calibration, effectively eliminating jitter in the sensor output caused by the limited accuracy of analog-to-digital converter module 6. Compared to existing techniques that eliminate jitter by increasing the resolution of analog-to-digital converter module 6, this invention offers a more moderate design and effectively reduces costs.

[0068] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprise," "include," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus.

[0069] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0070] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is merely a logical functional division. In actual implementation, other division methods may be used, such as combining or integrating multiple units or components into another system, or ignoring or not implementing certain features.

[0071] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected based on actual needs to achieve the objectives of the embodiments of the present invention.

[0072] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0073] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0074] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for eliminating sensor output jitter, characterized in that, The method includes: Obtaining the current digital temperature signal and the digital temperature signal stored at a preset time in the previous interval; Comparing the current digital temperature signal with the digital temperature signal stored at a preset time in the previous interval to obtain the change amount of the digital temperature signal; Judging whether the change amount of the digital temperature signal is greater than a preset threshold. When the change amount of the digital temperature signal is greater than the preset threshold, updating and outputting the current digital temperature signal.

2. The method for eliminating sensor output jitter according to claim 1, wherein Judging whether the change amount of the digital temperature signal is greater than a preset threshold. When the change amount of the digital temperature signal is greater than the preset threshold, updating and outputting the current digital temperature signal further includes: When the change amount of the digital temperature signal is less than or equal to the preset threshold, obtaining the subsequent digital temperature signal after the preset time in the next interval; Comparing the subsequent digital temperature signal with the current digital temperature signal to obtain a new change amount of the digital temperature signal, and judging whether the new change amount of the digital temperature signal is greater than the preset threshold. When the new change amount of the digital temperature signal is greater than the preset threshold, updating and outputting the subsequent digital temperature signal, and so on in a loop.

3. The method for eliminating sensor output jitter according to claim 1, characterized in that, Comparing the current digital temperature signal with the digital temperature signal stored at a preset time in the previous interval to obtain the change amount of the digital temperature signal includes: Subtracting the digital temperature signal stored at a preset time in the previous interval from the current digital temperature signal to obtain the difference amount of the digital temperature signal; Obtaining the absolute value of the difference amount of the digital temperature signal to obtain the change amount of the digital temperature signal.

4. A device for eliminating sensor output jitter, characterized in that, Includes: A register, connected to an analog-to-digital conversion module for outputting the current digital temperature signal, and the register is used to store the digital temperature signal output by the analog-to-digital conversion module at a preset time in the previous interval; An absolute value calculator, connected to the analog-to-digital conversion module for outputting the current digital temperature signal and the register, and is used to calculate the absolute value of the difference between the current digital temperature signal and the digital temperature signal output at a preset time in the previous interval to output the change amount of the digital temperature signal; A digital comparator, connected between the absolute value calculator and the register, and is used to judge whether the change amount of the digital temperature signal is greater than a preset threshold. When the change amount of the digital temperature signal is greater than the preset threshold, updating and transmitting the current digital temperature signal to the register for output.

5. The device for eliminating sensor output jitter according to claim 4, wherein, The absolute value calculator includes a difference calculator and an absolute value taking calculator; Wherein, the input end of the difference calculator is connected to the analog-to-digital conversion module for outputting the current digital temperature signal and the register, and the output end of the difference calculator is connected to the input end of the absolute value taking calculator, and is used to subtract the digital temperature signal output at a preset time in the previous interval from the current digital temperature signal to output the difference amount of the digital temperature signal; The output end of the absolute value taking calculator is connected to the input end of the digital comparator, and is used to obtain the absolute value of the difference amount of the digital temperature signal to output the change amount of the digital temperature signal.

6. A sensor, characterized in that, It includes a main sensor and a temperature calibration circuit which are connected to each other, and a device for eliminating sensor output jitter as described in any one of claims 4-5, and the device is used to perform the method for eliminating sensor output jitter as described in any one of claims 1-3.

7. The sensor according to claim 6, characterized in that, The temperature calibration circuit includes: a temperature sensor and an analog-to-digital conversion module; wherein, the temperature sensor is used to detect the analog temperature signal of the main sensor; the input end of the analog-to-digital conversion module is connected to the output end of the temperature sensor and is used to output a digital temperature signal according to the analog temperature signal; The device for eliminating sensor output jitter is connected to the analog-to-digital conversion module and is used to obtain the change amount of the digital temperature signal according to the current digital temperature signal output by the analog-to-digital conversion module and the digital temperature signal output at the previous interval of a preset time, and output the current digital temperature signal when the change amount of the digital temperature signal is greater than a preset threshold.

8. The sensor according to claim 7, wherein The temperature calibration circuit further includes a calibration sub-circuit, the calibration sub-circuit includes a first input end and a second input end, the first input end is connected to the output end of the main sensor, and the second input end is connected to the output end of the device for eliminating sensor output jitter; the calibration sub-circuit is used to perform temperature calibration on the output of the main sensor through the current digital temperature signal.

9. The sensor according to claim 7, wherein The preset threshold is greater than or equal to the jitter amplitude value of the analog-to-digital conversion module.

10. The sensor according to claim 7, characterized in that, The preset time is greater than or equal to the refresh time of the temperature sensor.

Citation Information

Patent Citations

  • Temperature measurement and correction circuit, passive radio frequency identification label and temperature measurement method

    CN102840925A

  • Analog-to-digital converter digital calibration circuit based on dynamic unit matching

    CN112234989A

  • Digital temperature sensor, chip temperature detection system and chip temperature detection method

    CN114636484A

  • Temperature measuring method and temperature measuring device

    CN115704717A

  • Method and device for eliminating output jitter of sensor and sensor

    CN117571163A