The present invention relates to a material tester having a digital filter configured to remove noise of data input from a sensor.
A material tester for evaluating a material property has a sensor for measuring a physical amount. In order to process a measurement signal obtained from the sensor, a digital filter in which a window function such as the Blackman-Harris window is set as a coefficient of the filter has been proposed. Note that, in the digital filter using the window function, a convolution for computing a filter output is performed by calculating a total sum of delay data while multiplying the delay data stored in a delay element by the filter coefficient (see JP-A-10-145185).
Meanwhile, in order to employ a digital filter using a window function in the material tester, it is necessary to provide a memory for storing the filter coefficient and a multiplier for multiplying the delay data stored in the delay element by the filter coefficient in a filter circuit. If the multiplier and the filter coefficient memory are provided in the filter circuit, the circuit size increases. For this reason, a digital filter capable of simplifying a circuit configuration by repeating a moving average calculation across four stages instead of using the window function has been proposed (see Japanese Patent No. 5,724,161).
As illustrated in
As the digital filter that performs a moving average calculation of the related art, a digital filter of
As indicated in the column of average values in the table, in all examples, a difference between a calculated value obtained by dividing the input value by “n” and a value obtained by rounding this calculated value to an integer becomes one digit or smaller in every calculation process. When the input value is an integer multiple of “n” (multiple of “8”) as in Example 1 or 5, the calculated value obtained by dividing the input value by “n” is equal to the value obtained by rounding, and no rounding error is generated. Therefore, an error is not generated in the integrated value subjected to the filter circuit and the input integrated value. Meanwhile, when the input value is not the integer multiple of “n” as in Examples 2 to 4, that is, when the input value is not divided by “8” without a remainder, a difference between the integrated value obtained by eight calculations after the filter circuit and the integrated value of the input value before the filter circuit becomes one digit or greater. That is, the error generated through the rounding calculation is integrated, so that the input integrated value and the output integrated value of the digital filter do not match each other. In this case, a value obtained by simply integrating the input value of the digital filter and an output value of the integrator obtained by integrating the values subjected to the filtering do not match each other, and an error is generated in the data displayed on the display unit.
In order to prevent an error generated by the rounding calculation, the calculation may be performed with higher accuracy by increasing a resolution (bit number) of the calculation. In the table of
The digital filter discussed in Patent Literature 2 is reasonable to obtain a result close to a calculation result of the Blackman-Harris window with a simple configuration. However, the error generated by the rounding calculation is integrated as described, so that a problem is generated in accuracy of display when the data is displayed on the display unit. In addition, even when the calculation accuracy is improved so as not to generate an error of the rounding calculation by increasing the bit number of the filter, a large-sized circuit is necessary.
In view of the aforementioned problems, an object of the invention is to provide a material tester having a digital filter capable of high-accuracy filtering without integrating an error caused by a rounding calculation using a simple configuration even when an integrated value obtained by inputting a differential signal obtained on a regular basis to the digital filter and inputting its output to an integrator is displayed on a display unit.
According to the invention, there is provided a material tester including: a noise removal filter to which data on a variation of a physical amount output from a sensor is input; an integrator configured to integrate data subjected to filtering of the filter; and a display unit configured to display the data, in which a filter circuit of the filter has “n” data delay elements cascaded to sequentially accumulate input data from the sensor, an adder configured to obtain a total sum of the data output from each of the “n” delay elements, a divider configured to output a quotient obtained by dividing the output of the adder by the number “n” of the delay elements as averaged data and output a remainder to a remainder delay element, and a circuit configured to add an output of the remainder delay element to the adder.
According to the invention, it is preferable that the remainder output from the divider has an absolute value equal to or smaller than “½” of a divisor “n.”
According to the invention, it is preferable that the filter is configured by cascading filter circuits having a similar configuration across four stages.
According to the invention, it is preferable that the sensor is a displacement gauge having a rotary encoder or a linear encoder.
According to the invention, the remainder output from the divider of the filter circuit is returned to the adder via the remainder delay element. Therefore, unlike the related art, a rounding error generated in every calculation is not rounded off. For this reason, in terms of time as a whole, no error is generated between a value obtained by directly integrating the input value of the digital filter and an integrated value of the integrator obtained by integrating the averaged value after the filtering. Therefore, it is possible to improve accuracy of display of the display unit, compared to the related art. In addition, since there is no need to increase the bit number of the filter in order to prevent integration of the error, it is not necessary to increase the size of the circuit in order to embed the digital filter.
According to the invention, since the remainder output from the divider has an absolute value equal to or smaller than “½” of “n,” a negative value is also allowable. When only a positive remainder is returned to the adder, an offset is generated, so that the output may be boosted as a whole. According to the invention, since a negative remainder is allowed as a value applied to the adder that outputs a total sum, it is possible to suppress such a phenomenon. Therefore, it is possible to improve accuracy of the number displayed on the display unit.
According to the invention, the filter is configured by cascading filter circuits having a similar configuration across four stages to repeat the moving average calculation across four stages. Therefore, it is possible to obtain a calculation result close to that of the Blackman-Harris window.
According to the invention, since an output of the displacement gauge is processed using a digital filter, it is possible to improve measurement accuracy of the displacement.
Embodiments of the invention will now be described with reference to the accompanying drawings.
The material tester includes a table 16, a pair of threaded rods 11 vertically and rotatably erected on the table 16, a crosshead 13 movable along the threaded rods 11, and a loading mechanism 30 for applying a test force to a test sample 10 by moving the crosshead 13. The pair of threaded rods 11 are covered by a pair of covers 19. However,
The crosshead 13 is connected to the pair of threaded rods 11 such as a ball screw with a nut (not shown). A lower end of each threaded rod 11 is connected to the loading mechanism 30, so that power from a motor as a power source of the loading mechanism 30 is transmitted to the pair of threaded rods 11. As a pair of threaded rods 11 are rotated in synchronization, the crosshead 13 is lifted or lowered along a pair of threaded rods 11.
The crosshead 13 is provided with an upper clamp 21 for clamping an upper end of the test sample 10. Meanwhile, the table 16 is provided with a lower clamp 22 for clamping a lower end of the test sample 10. In the case of a tension test, a test force (tensile load) is applied to the test sample 10 by lifting the crosshead 13 while both ends of the test sample 10 are clamped by the upper and lower clamps 21 and 22. In this case, the test force applied to the test sample 10 is detected by a load cell 14 and is input to a controller 23. In addition, extension of the test sample 10 is measured by a displacement gauge 40 provided in the table 16.
The controller 23 includes a computer or a sequencer provided with a central processing unit (CPU) or the like. As illustrated in
The displacement gauge 40 is a linear encoder type displacement gauge having an incremental output. The displacement gauge 40 as a sensor for measuring a displacement has the upper and lower arms 56 and 57 moving as the test sample 10 extends. The upper and lower arms 56 and 57 are held by a guide rail 42 erected on a base 43 to be lifted or lowered. The upper and lower arms 56 and 57 are straightly guided by actuating a roller 45 rolling on the surface of the guide rail 42. In addition, a post 44 is erected on the base 43. Furthermore, a support plate 47 that supports a plurality of circuit boards 48 is connected to the base 43 and the post 44.
The locations of the upper and lower arms 56 and 57 are detected by a linear scale 41. A scale coil serving as a scale is arranged inside the linear scale 41 at a constant pitch. In addition, a sensor unit 46 is provided in each of the upper and lower arms 56 and 57. A variation of the distance between the upper and lower arms 56 and 57 is obtained on the basis of a distance from a reference position before and after movement of the upper and lower arms 56 and 57 detected by the sensor unit 46. The movement distance of the upper or lower arms 56 or 57 is a displacement, and a variation of the distance between both arms is an extension length of the test sample 10. The displacement gauge 40 outputs a signal corresponding to its variation to the controller 23 depending on the displacements of the upper and lower arms 56 and 57.
A support 51 is connected to the upper ends of the linear scale 41 and the post 44, and the support 51 is provided with pulleys 53a and 53b and a pair of stepping motors 52 connected to the pulleys 53a and 53b. A wire 58a is wound around the pulley 53a, and a wire 58b is wound around the pulley 53b. The upper arm 56 is connected to one end of the wire 58a, and a balance weight 59a is suspended from the other end of the wire 58a. Similarly, the lower arm 57 is connected to one end of the wire 58b, and a balance weight 59b is suspended from the other end of the wire 58b. The balance weights 59a and 59b are lifted or lowered inside the post 44. The balance weights 59a and 59b allow the upper and lower arms 56 and 57 to stop at any position when an external load is zero.
Each stepping motor 52 is connected to each of the pulleys 53a and 53b by interposing a clutch. When a test is prepared, the upper and lower arms 56 and 57 are spaced from each other by a predetermined length in order to make contact with the test sample 10 having both ends clamped by the upper and lower clamps 21 and 22. In order to move the upper and lower arms 56 and 57 to a test start position, the clutch is set to ON to rotate the pulleys 53a and 53b by driving the stepping motors 52. Then, the wires 58a and 58b move, so that each of the upper and lower arms 56 and 57 is lifted or lowered along each guide rail 42. Note that the upper and lower arms 56 and 57 are a pair of members whose arm tips approach each other and recede from each other in the left-right direction on the paper plane of
The displacement detected by the displacement gauge 40 is displayed on the display unit 24 via a counter 27, a digital filter 60, and an integrator 28. Note that each block of the counter 27, the digital filter 60, and the integrator 28 is arranged inside the controller 23. In addition, each block receives a synchronization signal transmitted at a constant interval in order to advance the processing at the same time in synchronization with input/output timings of the data between the blocks.
As the upper arm 56 or the lower arm 57 moves, a pulse signal output from the displacement gauge 40 is input to the counter 27 and is counted. A value integrated by the counter 27 is transmitted to the digital filter 60 in synchronization with the timing of the synchronization signal and is reset to zero in every calculation. The synchronization signal is a signal applied on a regular basis such as 1 millisecond. A value of the counter 27 transmitted to the next stage corresponds to a displacement obtained at a time interval of the synchronization signal (a variation of the displacement, that is, differential data). A variation thereof is subjected to a predetermined filtering calculation with the digital filter 60 as described below, and a calculation result is transmitted to the integrator 28. The integrator 28 adds the calculation result transmitted from the digital filter 60 to a current integrated value to obtain a new integrated value. Then, the new integrated value is transmitted to the display unit 24, and a value of the displacement displayed on the display unit 24 is updated to the new integrated value. This integrated value corresponds to a value (displacement) indicating a current position of the arm of the displacement gauge 40.
The digital filter 60 as a noise removal filter has a cascaded connection of four filter circuits. The filter circuit includes “n” data delay elements D1 to Dn cascaded to sequentially accumulate the input data, an adder ADD that adds the data output from each delay element D1 to Dn, a divider DIV that divides a result of the addition output from the adder ADD, and a remainder delay element Dre for delaying a timing for receiving a value of the remainder out of the division result output from the divider DIV and returning it to the adder ADD. A single filter circuit serves as a digital filter by itself. However, according to this embodiment, it is assumed that the same filter circuit is repeated across multiple stages (four stages) in a single digital filter 60.
The digital data to be filtered is converted into data counted by the counter 27 on a regular basis and is sequentially input to an input terminal IN at the timing of the synchronization signal. In a single calculation, the input data is shifted to the right one by one across the “n” delay elements D1 to Dn. In every calculation, an addition process for obtaining a total sum of the data output from each of the “n” delay elements D1 to Dn, and a division process for dividing the total sum output from the adder ADD by “n” are executed, and a calculation result is output from the divider DIV.
A remainder obtained by dividing the total sum by “n” out of the output of the divider DIV is input to the adder ADD via the delay element Dre and is added. Since the delay element Dre delays the input of the remainder to the adder ADD by one clock, the remainder subjected to the division process is incorporated into the next calculation at all times. That is, in the calculations subsequent to the first calculation, the remainder output from the divider DIV in the previous calculation is incorporated into the total sum output from the adder ADD. A quotient of the output of the divider DIV is input to the second stage filter circuit as averaged data of the first stage filter circuit.
The second stage filter circuit has the same configuration as that of the first stage filter circuit. The averaged data output from the second stage filter circuit is input to the third stage filter circuit. The third stage filter circuit has the same configuration as that of the first stage filter circuit. The averaged data output from the third stage filter circuit is input to the fourth stage filter circuit. In addition, the fourth stage filter circuit has the same configuration as that of the first stage filter circuit. The averaged data output from the fourth stage filter circuit becomes a final output OUT of the digital filter 60. In this manner, in the digital filter 60 having the number of taps multiplied by four stages (n×4), the filtering calculation is executed by setting the moving averaged data of each filter circuit as the input data of the next stage filter circuit.
Next, the remainder output from the divider DIV will be further described.
The divider DIV of the filter circuit of each stage in the digital filter 60 divides the total sum input from the adder ADD and outputs a quotient and a remainder as a calculation result. Here, the remainder output from the divider DIV is set to a value having an absolute value equal to or smaller than “½” of the divisor “n.” That is, a negative value is allowed as the remainder value output from the divider DIV. In the table of
Since the remainder output from the divider DIV of the filter circuit is returned to the adder ADD via the delay element Dre, a rounding error generated in each calculation is not rounded off, but is incorporated into a total sum output from the adder ADD in the next calculation unlike the related art. For this reason, in terms of time as a whole, a value obtained by directly integrating the input value of the digital filter 60 matches the integrated value of the integrator 28 obtained by integrating the averaged value subjected to filtering. That is, display accuracy of the display unit 24 is improved, compared to the related art.
In this filter circuit, since the remainder is incorporated into the total sum of the next calculation, it is possible to perform the calculation with higher accuracy by improving performance of the digital filter using the same bit number as that of the related art. For this reason, it is possible to suppress an increase of the size of the filter circuit.
Note that, although a case where the signal processed by the digital filter 60 is a signal from the linear encoder type displacement gauge 40 has been described by way of example in this embodiment, a signal source of the signal input to the digital filter 60 is not limited to a detection signal of the linear encoder. That is, any signal source, such as a sensor having a rotary encoder, capable of outputting a variation (difference) of the physical amount such as a movement distance or a displacement during a material test may also be employed.
According to this embodiment, the digital filter 60 is configured to repeat the moving average calculation across four stages, it is possible to obtain a calculation result close to that of the Blackman-Harris window. Using this digital filter 60, it is possible to provide a filter similar to the digital filter based on a window function with a simple configuration.
Note that, although the moving average calculation is repeated across four stages in this embodiment, the invention is not limited to the number of stages. The invention is applicable to all cases of multiples stages including one stage which is a simple moving average calculation.
Number | Date | Country | Kind |
---|---|---|---|
2017-015061 | Jan 2017 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4337518 | Ohnishi | Jun 1982 | A |
5128891 | Lynch et al. | Jul 1992 | A |
5304908 | Oh | Apr 1994 | A |
5764557 | Hara | Jun 1998 | A |
20030063662 | Uchino | Apr 2003 | A1 |
20080120356 | Watanabe | May 2008 | A1 |
20080205563 | Simpson | Aug 2008 | A1 |
20110068961 | Hashimoto | Mar 2011 | A1 |
Number | Date | Country |
---|---|---|
H04-227535 | Aug 1992 | JP |
H06-230938 | Aug 1994 | JP |
H10-145185 | May 1998 | JP |
2011044772 | Mar 2011 | JP |
5724161 | May 2015 | JP |
Entry |
---|
Search Report dated Jun. 7, 2018 in corresponding European Application No. 18151244.3; 9 pages. |
Office Action dated Jun. 30, 2020 in corresponding Japanese Application No. 2017-015061; 6 pages including English-language translation. |
Number | Date | Country | |
---|---|---|---|
20180216962 A1 | Aug 2018 | US |