Indicator, digital load cell, and measurement calculation program
By employing an AD converter and interquartile range calculation to identify and remove outliers, the indicator and digital load cell effectively address the challenge of impulse noise, ensuring rapid and accurate measured value determination.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2026-04-01
AI Technical Summary
Existing indicators and digital load cells struggle to quickly and effectively remove abnormal values from data affected by impulse noise, such as those caused by lightning surges or static electricity, which can affect calculation processing speed and responsiveness.
The solution involves using an AD converter to convert analog signals into digital signals, followed by a control unit that calculates the interquartile range to identify and remove outliers from the sampling data, allowing for quick and simple removal of abnormal values.
This approach enables rapid and accurate removal of outliers, maintaining calculation processing speed and responsiveness, even in the presence of impulse noise, thereby improving the accuracy of measured value calculations.
Smart Images

Figure 2026056393000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an indicator, a digital load cell, and a measured value calculation program.
Background Art
[0002] Generally, an indicator and a digital load cell that remove abnormal values or outliers and calculate the measured value of the physical quantity of the measurement object are known. For example, Patent Document 1 discloses a weighing device including a determination unit that determines normal weight data from a plurality of weight data sampled by a sampling unit, and a calculation unit that calculates the weight of an article based on the normal weight data . Patent Document 1 discloses an example in which, out of six weight data sampled by the sampling unit, a predetermined number (for example, two) of weight data in order from the heaviest weight data and a predetermined number (for example, two) of weight data in order from the lightest weight data are removed, and then the average weight value of the remaining two normal weight data is calculated.
[0003] However, when data affected by impulse noise caused by lightning surges or static electricity is input to a control unit such as a CPU (Central Processing Unit), the control unit cannot remove abnormal values from the data affected by impulse noise and may be affected by impulse noise. Furthermore, the control unit will necessarily remove the maximum and minimum values, which are not necessarily abnormal values. Also, even when the control unit can remove abnormal values by executing complex calculations, there is a risk that the calculation processing speed and responsiveness will decrease.
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0005] This invention has been made in view of the above circumstances, and aims to provide an indicator, a digital load cell, and a measurement value calculation program that can remove abnormal values simply and quickly. [Means for solving the problem]
[0006] A first aspect of the present invention is an indicator that receives a signal from a detector for detecting a physical quantity and displays a measured value of the physical quantity, comprising: an AD converter that converts an analog signal output from the detector into a digital signal; and a control unit that receives the digital signal output from the AD converter and calculates the measured value, wherein the control unit calculates the interquartile range using first sampling data output from the AD converter, removes outliers from the first sampling data using the interquartile range, and performs control to calculate the measured value based on second sampling data from which the outliers have been removed.
[0007] A second aspect of the present invention is a digital load cell comprising: a detector for detecting a physical quantity; an AD converter for converting an analog signal output from the detector into a digital signal; and a control unit for receiving the digital signal output from the AD converter and calculating a measured value of the physical quantity, wherein the control unit calculates an interquartile range using first sampled data output from the AD converter, removes outliers from the first sampled data using the interquartile range, and performs control to calculate the measured value based on second sampled data from which the outliers have been removed.
[0008] A third aspect of the present invention is a measurement value calculation program executed by a computer of an indicator or digital load cell that calculates the measured value of a physical quantity, characterized in that the computer is made to perform the steps of: receiving first sampling data output from an AD converter provided in the indicator or digital load cell; calculating the interquartile range using the received first sampling data; removing outliers from the first sampling data using the interquartile range; and calculating the measured value based on second sampling data obtained by removing the outliers from the first sampling data. [Effects of the Invention]
[0009] According to the present invention, it is possible to provide an indicator, a digital load cell, and a measurement value calculation program that can remove abnormal values simply and quickly. [Brief explanation of the drawing]
[0010] [Figure 1] This is a block diagram representing a measuring device according to the first embodiment of the present invention. [Figure 2] This is a block diagram showing a measuring device according to a second embodiment of the present invention. [Figure 3] This is a block diagram representing the storage device of this embodiment. [Figure 4] This is a flowchart illustrating the control scheme for calculating the mass value in this embodiment. [Figure 5] This flowchart illustrates a specific example of the control method for calculating the mass value in this embodiment. [Figure 6] This flowchart illustrates a specific example of control related to the calculation of the interquartile range in this embodiment. [Figure 7] This is a table describing the second address stored in the memory device of this embodiment. [Figure 8] This is a table describing the second address stored in the memory device of this embodiment. [Modes for carrying out the invention]
[0011] Embodiments of the present invention will be described below with reference to the drawings. The embodiments described below are preferred examples of the present invention and are subject to various technically preferred limitations. However, the scope of the present invention is not limited to these embodiments unless otherwise specified in the following description. In addition, similar components are denoted by the same reference numerals in the drawings, and detailed descriptions are omitted as appropriate.
[0012] Figure 1 is a block diagram representing a measuring device according to the first embodiment of the present invention. The measuring device 2 according to this embodiment comprises a detector 3 and an indicator 4. The detector 3 detects physical quantities such as mass, flow rate, pressure, temperature, voltage, and current, and outputs a weak analog signal to the indicator 4. In the measuring device 2 shown in Figure 1, the detector 3 is a so-called analog load cell, and an example is shown where it has a strain gauge 51 or the like as a sensor for detecting physical quantities such as mass, flow rate, and pressure. The indicator 4 receives a signal from the detector 3 regarding the measured value of the physical quantity of the object to be measured, calculates the measured value of the object, and displays it. In the following description, the case in which the detector 3 detects the mass of the object to be measured is given. In other words, "mass" in this embodiment is an example of a "physical quantity" in the present invention.
[0013] The indicator 4 includes a protection circuit 52, a noise filter 53, an amplifier 54, an analog filter 55, and an AD converter 56. The signal output from the detector 3 passes through the protection circuit 52 and the noise filter 53, is amplified by the amplifier 54, and is input to the analog filter 55. The analog filter 55 is, for example, a low-pass filter, which removes peak values as abnormal values from the signal amplified by the amplifier 54 and outputs it to the AD converter 56.
[0014] The AD converter 56 converts the analog signal output from the analog filter 55 into a digital signal at a predetermined sampling rate and outputs it as sampling data. At this time, the reference voltage and temperature are input to the AD converter 56 as a reference.
[0015] The indicator 4 further includes a control unit 41, a storage device 42, a display controller 43, a display device 44, operation components 45 such as switches, and an actuator 46. The control unit 41 is, for example, a CPU (central processing unit), etc., and reads out the programs stored in the storage device 42 and executes various calculations and processes.
[0016] For example, the control unit 41 transmits an instruction signal regarding the detection of the mass (physical quantity) of the measurement object to the detector 3 based on the control signal input by the user or the like in response to the operation of the user or the like on the operation component 45. Alternatively, the control unit 41 receives a signal regarding the sampling data output from the AD converter 56, calculates the mass value of the measurement object (that is, the measurement value of the physical quantity), or executes a process of causing the display device 44 to display the mass value (measurement value) of the measurement object via the display controller 43. The details of the control regarding the calculation of the mass value (measurement value) executed by the control unit 41 will be described later.
[0017] The storage device 42 is, for example, a semiconductor memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory), or a hard disk drive (HDD: Hard Disk Drive), etc., and stores the result values of the operations and processes executed by the control unit 41 and various information regarding measurement.
[0018] The display device 44 is, for example, a liquid crystal panel and an organic EL panel, etc., receives the signal output from the control unit 41 via the display controller 43, and displays various information such as the mass value of the measurement object. The user or the like can visually recognize various information such as the mass value (measurement value) of the measurement object displayed by the display device 44.
[0019] The "computer" of the present invention has a control unit 41 and a storage device 42, reads out the programs stored in the storage device 42, and executes various operations and processes. The "computer" referred to here is not limited to a personal computer, but also includes an arithmetic processing unit, a microcomputer, etc. included in an information processing device, and generically refers to devices and apparatuses capable of realizing the functions of the present invention by programs.
[0020] Also, the "program" referred to here includes a measurement value calculation program 421 (see FIG. 3) for calculating the mass value (measurement value) of the measurement object, and a display processing program for displaying various information such as the mass value of the measurement object (i.e., the measurement value of a physical quantity) on the display device 44. The program is not limited to being stored in the storage device 42, and may be stored in advance in a computer-readable storage medium and distributed, or may be downloaded to the measuring device 2 via a network.
[0021] Next, a second embodiment of the present invention will be described. In the case where the components of the measuring device 2A according to the second embodiment are the same as the components of the measuring device 2 according to the first embodiment described above with respect to FIG. 1, duplicate explanations will be omitted as appropriate, and the following will focus on the differences.
[0022] FIG. 2 is a block diagram showing a measuring device according to a second embodiment of the present invention. The measuring device 2A according to the present embodiment includes a digital load cell 3A and an indicator 4A. The digital load cell 3A detects physical quantities such as mass, flow rate, pressure, and reference temperature and voltage, converts a weak analog signal into a digital signal, calculates the measurement value of the physical quantity of the measurement object, and outputs a signal regarding the measurement value of the measurement object to the indicator 4A. The indicator 4A receives a signal regarding the measurement value of the physical quantity of the measurement object from the digital load cell 3A and displays the measurement value of the measurement object. Similar to the description regarding FIG. 1, in the following description, the case where the digital load cell 3A detects the mass of the measurement object will be given. That is, the "mass" in the present embodiment is an example of the "physical quantity" of the present invention.
[0023] The digital load cell 3A includes a strain gauge 51, a protection circuit 52, a noise filter 53, an amplifier 54, an analog filter 55, and an AD converter 56. The strain gauge 51, protection circuit 52, noise filter 53, amplifier 54, analog filter 55, and AD converter 56 are as described above with respect to Figure 1. The strain gauge 51 in this embodiment is an example of the "detector" of the present invention, and detects physical quantities such as mass, flow rate, pressure, and reference temperature and voltage.
[0024] The digital load cell 3A further includes a control unit 57. The control unit 57 is, for example, a CPU (central processing unit), and reads the program stored in the storage device 42 of the indicator 4A and performs various calculations and processes. The control unit 57 has some of the functions of the control unit 41 described above with respect to Figure 1.
[0025] For example, the control unit 57 receives a signal related to the sampling data output from the AD converter 56 and calculates the mass value (i.e., the measured value) of the object to be measured. The control unit 57 then outputs a signal related to the mass value of the object to the indicator 4A. Details of the control related to the calculation of the mass value performed by the control unit 57 will be described later.
[0026] The indicator 4A includes a control unit 41A, a storage device 42, a display controller 43, a display device 44, an operating component 45 such as a switch, and an actuator 46. The control unit 41A, storage device 42, display controller 43, display device 44, and operating component 45 are as described above with respect to Figure 1. For example, the control unit 41A receives a signal regarding the mass value of the object to be measured from the digital load cell 3A and executes a process to display the mass value of the object to be measured on the display device 44 via the display controller 43.
[0027] Figure 3 is a block diagram representing the storage device of this embodiment. As shown in Figure 3, the storage device 42 of this embodiment stores (i.e., stores) the measurement value calculation program 421, the first sampling data 422, and the second address 423.
[0028] The measurement value calculation program 421 is a program for calculating the mass value of the object to be measured. The first sampling data 422 is sampling data output from the AD converter 56, and is sampling data before abnormal values are removed. The second address 423 is the address of the storage device 42 in which the sampling data is stored. Specifically, the second address 423 is the address of the storage device 42 after the first address of the storage device 42 in which the first sampling data 422 is stored has been rearranged in a predetermined order. Details of the second address 423 will be described later.
[0029] Figure 4 is a flowchart illustrating the overview of the control related to the calculation of the mass value in this embodiment. Regarding Figure 2, the control of the control unit 57 of the digital load cell 3A, as described above, for calculating the mass value, based on the measurement value calculation program 421, is the same as the control of the control unit 41 of the indicator 4, as described above, for calculating the mass value, based on the measurement value calculation program 421, as described above, for Figure 1. Therefore, in the following explanation, we will use the case in which the control unit 41 of the indicator 4, as described above, calculates the mass value of the object to be measured based on the measurement value calculation program 421, as an example.
[0030] In step S1, the value output from the AD converter 56 (i.e., the first sampling data 422) is input to the control unit 41. That is, in step S1, the control unit 41 receives the first sampling data 422 output from the AD converter 56.
[0031] Here, if impulse noise caused by, for example, lightning surges or static electricity is applied to the first sampled data 422, the control unit 41 may be affected by the impulse noise.
[0032] In contrast, in step S2, the control unit 41 of the measuring device 2 according to this embodiment detects abnormal values contained in the first sampling data 422 as a primary filter and removes the abnormal values from the first sampling data 422. Specifically, the control unit 41 calculates the interquartile range using the first sampling data 422 and removes the abnormal values from the first sampling data 422 using the interquartile range. The details of this will be described later.
[0033] Next, in step S3, the control unit 41 calculates, for example, a moving average using the second sampling data obtained by removing outliers from the first sampling data 422 as a secondary filter, and performs smoothing of the second sampling data.
[0034] Next, in step S4, the control unit 41 calculates the mass value of the object to be measured based on the smoothed second sampling data.
[0035] Figure 5 is a flowchart illustrating a specific example of the control related to the calculation of the mass value in this embodiment. Figure 6 is a flowchart illustrating a specific example of control related to the calculation of the interquartile range in this embodiment. Figures 7 and 8 are tables illustrating the second addresses stored in the storage device of this embodiment.
[0036] As shown in Figure 5, first, in step S11, the control unit 41 receives the first sampling data 422 output from the AD converter 56. Next, in step S12, the control unit 41 stores the first sampling data 422 in the storage device 42 and calculates the interquartile range using the first sampling data 422. When calculating the interquartile range, the control unit 41 first sorts the first sampling data 422 in a predetermined order (for example, ascending or descending).
[0037] Herein, according to the findings of the present inventors, when the control unit 41 sorts the first sampled data 422 in a predetermined order (e.g., ascending or descending order) using, for example, a general ring buffer and bubble sort and calculates the interquartile range, the calculation processing speed and responsiveness may decrease.
[0038] For example, as shown in Figure 7, when the control unit 41 uses a general ring buffer, upon receiving new first sampling data "11" from the AD converter 56, it overwrites the oldest first sampling data stored at the first address "0xf0" of the memory device 42 with the new first sampling data "11". Subsequently, the control unit 41 updates the first address where the oldest first sampling data is stored by moving it one position to the right. That is, the control unit 41 updates the first address "0xf1", where the first sampling data "3" is stored, as the first address where the oldest first sampling data is stored. Subsequently, the control unit 41 updates the first address "0xf0", where the new first sampling data "11" is stored, as the first address where the latest first sampling data is stored.
[0039] Furthermore, as shown in Figure 8, for example, when the control unit 41 receives new first sampling data "13" from the AD converter 56, it overwrites the oldest first sampling data "3" stored at the first address "0xf1" of the memory device 42 with the new first sampling data "13". Subsequently, the control unit 41 updates the first address where the oldest first sampling data is stored by moving it one position to the right. That is, the control unit 41 updates the first address "0xf2", where the first sampling data "5" is stored, as the first address where the oldest first sampling data is stored. Subsequently, the control unit 41 updates the first address "0xf1", where the new first sampling data "13" is stored, as the first address where the latest first sampling data is stored.
[0040] The control unit 41 then uses a general bubble sort to rearrange the first sampled data 422 in a predetermined order (for example, ascending or descending). However, if this is done, when the control unit 41 receives the next new first sample data 422 from the AD converter 56, it needs to store the positions of the latest first sample data 422 and the oldest first sample data 422 for the sorted first sample data 422 in order to overwrite the oldest first sample data 422 with the next new first sample data 422. Therefore, if the control unit 41 uses a general ring buffer and bubble sort, the processing speed and responsiveness of the sorting and interquartile range calculations of the first sample data 422 may decrease.
[0041] In contrast, as shown in Figure 6, when the control unit 41 of the measuring device 2 according to this embodiment calculates the interquartile range using the first sampling data 422, first, in step S121, rearranges the first sampling data 422 stored in the storage device 42 in a predetermined order (for example, ascending or descending order). At this time, the control unit 41 does not store the first sampling data rearranged in the predetermined order in the storage device 42.
[0042] Next, in step S122, the control unit 41 rearranges the first address of the storage device 42 in which the first sampling data 422 is stored in a predetermined order and stores it in the storage device 42 as the second address 423. The "predetermined order" here refers to the predetermined order in which the first sampling data is rearranged. In other words, the control unit 41 rearranges the first address of the storage device 42 according to the predetermined order in which the first sampling data is rearranged and stores it in the storage device 42 as the second address 423.
[0043] For example, as shown in Figure 7, when storing sampling data at addresses such as "0xf0" to "0xf9", the control unit 41, upon receiving new first sampling data "11" from the AD converter 56, overwrites the oldest first sampling data stored at the first address "0xf0" of the storage device 42 with the new first sampling data "11", and rearranges the first sampling data 422 stored in the storage device 42 in ascending order. Then, according to the rearranged order of the first sampling data 422 (i.e., ascending order), the control unit 41 stores the first address "0xf9", where the first sampling data "0" is stored, as the second address 423 in the array P[0] of the storage device 42, and stores the first address "0xf5", where the first sampling data "2" is stored, as the second address 423 in the array P[1] of the storage device 42. Similarly, the control unit 41 performs a control to rearrange the first addresses in a predetermined order and store them in the storage device 42 as second addresses 423. The first address "0xf4" where the first sampling data "9" is stored is stored as second address 423 in array P[8] of the storage device 42, and the first address "0xf0" where the first sampling data "11" is stored is stored as second address 423 in array P[9] of the storage device 42.
[0044] Furthermore, as shown in Figure 8, for example, when the control unit 41 receives new first sampling data "13" from the AD converter 56, the control unit 41 overwrites the oldest first sampling data "3" stored at the first address "0xf1" of the memory device 42 with the new first sampling data "13", and rearranges the first sampling data 422 stored in the memory device 42 in ascending order. At this time, each time the control unit 41 receives new first sampling data 422, it rearranges the first sampling data 422 stored in the memory device 42 in ascending order, for example, using a binary search tree.
[0045] When using a binary search tree, the control unit 41 inserts a new first sample data 422 as the center value into the first sample data 422 already stored in the memory device 42, and repeatedly performs a greater-than / less-than comparison ("value of the left child < value of the parent < value of the right child") to quickly rearrange the first sample data 422 into a predetermined order.
[0046] Then, the control unit 41 stores the first address "0xf9", where the first sampling data "0" is stored, as the second address 423 in the array P[0] of the storage device 42, according to the order in which the first sampling data 422 was rearranged (i.e., ascending order), and stores the first address "0xf5", where the first sampling data "2" is stored, as the second address 423 in the array P[1] of the storage device 42. Similarly thereafter, the control unit 41 performs control to rearrange the first addresses in a predetermined order and store them in the storage device 42 as the second address 423, storing the first address "0xf0", where the first sampling data "11" is stored, as the second address 423 in the array P[8] of the storage device 42, and storing the first address "0xf1", where the first sampling data "13" is stored, as the second address 423 in the array P[9] of the storage device 42.
[0047] Thus, the control unit 41 does not store the first sampled data sorted in a predetermined order in the storage device 42. Instead, it rearranges the first address of the storage device 42 where the first sampled data sorted in a predetermined order is stored, and stores it in the storage device 42 as the second address 423. Therefore, the control unit 41 does not need to store the location of the most recent first sampled data 422 and the location of the oldest first sampled data 422 after the first sampled data 422 has been sorted in a predetermined order.
[0048] Next, in step S123, the control unit 41 calculates the interquartile range using the first sampling data 422 corresponding to the second address 423, which has been rearranged in a predetermined order and stored in the storage device 42.
[0049] Next, in step S13 shown in Figure 5, the control unit 41 detects outliers in the first sampled data 422 using the interquartile range and removes them from the first sampled data 422. Specifically, the control unit 41 removes values smaller than the lower internal boundary point and values larger than the upper internal boundary point as outliers from the first sampled data 422. For example, by setting "first quartile - 1.5 × interquartile range" as the lower internal boundary point and "third quartile + 1.5 × interquartile range" as the upper internal boundary point, the control unit 41 can remove values that fall outside the range equivalent to "mean ± 3σ (σ: standard deviation)" in a normal distribution as outliers from the first sampled data 422. In other words, assuming that the sampled data follows a normal distribution in this example, values that fall outside approximately 99% of the total sampled data can be removed as outliers. Therefore, the control unit 41 can remove impulse noise caused by lightning surges, static electricity, etc., as outliers with high accuracy.
[0050] In contrast, the weighing device described in Patent Document 1 removes four weight data points from the six weight data points arranged in descending order of weight: the top two heaviest weight data points and the bottom two lightest weight data points. Therefore, even if the heaviest weight data point is an abnormal value, the weighing device described in Patent Document 1 also removes the other three normal values. Consequently, the accuracy with which the weighing device described in Patent Document 1 removes abnormal values is lower than the accuracy with which the measuring device 2 according to this embodiment removes abnormal values.
[0051] Furthermore, the criteria (i.e., boundary points) for when the control unit 41 removes a value as an outlier from the first sampled data 422 are not limited to "first quartile - 1.5 × interquartile range" and "third quartile + 1.5 × interquartile range". The control unit 41 can appropriately change the coefficient "1.5" depending on the physical quantity detected by the detector (e.g., mass, flow rate, pressure, temperature, voltage, and current) and the noise level.
[0052] Next, in step S14, the control unit 41 calculates the mass value (measured value) of the object to be measured based on the second sampling data obtained by removing abnormal values from the first sampling data 422.
[0053] According to the indicator 4 of the measuring device 2 in this embodiment, the control unit 41 calculates the interquartile range using the first sampling data 422 output from the AD converter 56, and removes outliers from the first sampling data 422 using the interquartile range. As a result, even if impulse noise is applied to a weak analog signal such as the signal output from the strain gauge 51, the control unit 41 can remove outliers from the first sampling data 422 without reducing the calculation processing speed or responsiveness. The control unit 41 then calculates the mass value (measured value) of the object to be measured based on the second sampling data from which outliers have been removed from the first sampling data 422. Therefore, the control unit 41 can remove outliers from the first sampling data 422 simply and quickly, and can suppress the influence of outliers on the calculation of the mass value (measured value).
[0054] Furthermore, the control unit 41 rearranges the first sampled data 422 stored in the memory device 42 in a predetermined order (ascending or descending). Subsequently, the control unit 41 rearranges the first address of the memory device 42 where the first sampled data 422 is stored in the memory device 42 to match the predetermined order in which the first sampled data 422 was rearranged, and stores it in the memory device 42 as the second address 423. In other words, the control unit 41 does not store the first sampled data 422 rearranged in the predetermined order in the memory device 42, but rather stores the first address of the memory device 42 where the first sampled data 422 rearranged in the predetermined order is stored as the second address 423 in the memory device 42. At this time, the control unit 41 rearranges the first address of the memory device 42 according to the predetermined order in which the first sampled data 422 was rearranged, and stores it in the memory device 42 as the second address 423. Then, the control unit 41 calculates the interquartile range using the first sampled data 422 corresponding to the second address 423 stored in the memory device 42 after being rearranged in the predetermined order. As a result, the control unit 41 does not need to store the position of the most recent first sample data 422 and the position of the oldest first sample data 422 for the first sample data 422 that have been sorted in a predetermined order, and can perform the interquartile range calculation even faster.
[0055] Furthermore, each time the control unit 41 receives new first sample data 422 from the AD converter 56, it rearranges the first sample data 422 stored in the memory device 42 into a predetermined order, for example, using a binary search tree. Here, when the control unit 41 receives new first sample data 422 from the AD converter 56, the first address of the memory device 42 is already stored in the memory device 42 as the second address 423, having rearranged the first sample data 422 into a predetermined order. Therefore, even when the control unit 41 rearranges the first sample data 422 stored in the memory device 42 into a predetermined order each time it receives new first sample data 422 from the AD converter 56, it can rearrange the first sample data 422 into a predetermined order even faster by using, for example, a binary search tree.
[0056] As mentioned above, the control of the control unit 57 of the digital load cell 3A described above in Figure 2, which is performed based on the measurement value calculation program 421, is the same as the control of the control unit 41 of the indicator 4 described above in Figure 1, which is performed based on the measurement value calculation program 421, which is performed based on the measurement value calculation program 421. Therefore, the same effects as described above can be obtained in the digital load cell 3A described above in Figure 2.
[0057] Embodiments of the present invention have been described above. However, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the scope of the claims. The configurations of the above embodiments can be partially omitted or combined in any way different from those described above. [Explanation of Symbols]
[0058] 2: Measuring device, 2A: Measuring device, 3: Detector, 3A: Digital load cell, 4: Indicator, 4A: Indicator, 41: Control unit, 41A: Control unit, 42: Memory device, 43: Display controller, 44: Display device, 45: Operating component, 46: Actuator, 51: Strain gauge, 52: Protection circuit, 53: Noise filter, 54: Amplifier, 55: Analog filter, 56: AD converter, 57: Control unit, 421: Measurement value calculation program, 422: First sampling data, 423: Second address
Claims
1. An indicator that receives a signal from a detector that detects a physical quantity and displays the measured value of the physical quantity, An AD converter that converts the analog signal output from the detector into a digital signal, A control unit that receives the digital signal output from the AD converter and calculates the measured value, Equipped with, The indicator is characterized in that the control unit calculates the interquartile range using the first sampling data output from the AD converter, removes outliers from the first sampling data using the interquartile range, and performs control to calculate the measured value based on the second sampling data obtained by removing the outliers from the first sampling data.
2. The device further comprises a storage device for storing the first sampling data, The indicator according to claim 1, characterized in that the control unit rearranges the first sampling data stored in the storage device in a predetermined order, and rearranges the first addresses of the storage device in which the first sampling data is stored in the predetermined order and stores them in the storage device as second addresses.
3. The indicator according to claim 2, characterized in that the control unit calculates the interquartile range using the first sampling data corresponding to the second address stored in the storage device after being rearranged in the predetermined order.
4. The indicator according to claim 2, characterized in that each time the control unit receives new first sampling data from the AD converter, it performs control to rearrange the first sampling data stored in the storage device in a predetermined order using a binary search tree.
5. A detector that detects physical quantities, An AD converter that converts the analog signal output from the detector into a digital signal, A control unit that receives the digital signal output from the AD converter and calculates the measured value of the physical quantity, Equipped with, The control unit is characterized by performing control to calculate the interquartile range using first sample data output from the AD converter, remove outliers from the first sample data using the interquartile range, and calculate the measured value based on the second sample data obtained by removing the outliers from the first sample data.
6. A measurement value calculation program executed by the computer of an indicator or digital load cell that calculates the measured value of a physical quantity, To the aforementioned computer, The steps include receiving first sampling data output from an AD converter provided in the indicator or the digital load cell, A step of calculating the interquartile range using the received first sampling data, A step of removing outliers from the first sampling data using the aforementioned interquartile range, The steps include: calculating the measured value based on the second sampling data obtained by removing the outliers from the first sampling data; A measurement value calculation program characterized by causing the execution of a specific action.
Citation Information
Patent Citations
Weighing apparatus
JP1993010812A