Signal processing method, signal processing device, and computer program

The conversion of type 1 signals into type 2 signals through difference processing and noise addition, combined with Pelt algorithms, addresses the challenge of accurately detecting changes in irregular signals, enhancing detection precision.

JP7625882B2Active Publication Date: 2025-02-04SEIKO EPSON CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021019570
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-10
Publication Date
2025-02-04
Estimated Expiration
2041-02-10

AI Technical Summary

Technical Problem

Conventional signal processing methods struggle to accurately detect changes in time-series data for signals lacking regularity.

Method used

A signal processing method and device that converts type 1 signals, which may have irregularities, into type 2 signals by performing first and second difference processing and adding noise signals, followed by change point detection using algorithms like Pelt, to maintain information about change points.

Benefits of technology

Enhances the accuracy of change point detection in signals with irregular distributions by utilizing type 2 signals, improving detection precision and maintaining signal integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007625882000001
    Figure 0007625882000001
  • Figure 0007625882000002
    Figure 0007625882000002
  • Figure 0007625882000003
    Figure 0007625882000003
Patent Text Reader

Abstract

To provide a technique that can accurately detect a point of change for various signals including a signal not having regularity.SOLUTION: A signal processing method includes: performing signal processing on a first type signal being time-series data having a point of change to convert the first type signal into a second type signal having maintained information on the point of change; and detecting the point of change by using at least one of the first type signal and the second type signal. The conversion into the second type signal includes at least any one of generating a first differential signal, and when the first type signal has a discrete distribution, adding a noise signal generated from normal random numbers to the first type signal.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a signal processing method, a signal processing device, and a computer program technology. [Background technology]

[0002] Conventionally, a technique for detecting change points in a signal that is time-series data is known (Non-Patent Document 1). In the conventional technique, a change point is detected using an algorithm called PLET (Pruned Exact Linear Time). In an algorithm for detecting a change point such as PELT, a point where at least one of a change in the average value and a change in the variance of a signal that is time-series data occurs is assumed to be a change point. In the conventional technique, a change point is detected by comparing the likelihood between a case where it is assumed that there is a change point and a case where it is assumed that there is no change point. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Optimal detection of changepoints with a linear computational cost; Killick,R., Fearnhead, P. and Eckley, I. A; October 10, 2012 Summary of the Invention [Problem to be solved by the invention]

[0004] In the conventional technology, it is possible to accurately detect a change point for a signal having normality, but there may be cases where it is not possible to accurately detect a change point for a signal having no normality. Therefore, there has been a demand for a technology that can accurately detect a change point for various signals, including signals having no normality. [Means for solving the problem]

[0005] According to a first aspect of the present disclosure, there is provided a signal processing method, which includes: converting a first type signal, which is time-series data having a change point, into a second type signal that maintains information about the change point by performing signal processing on the first type signal, and detecting the change point using at least one of the first type signal and the second type signal, and the converting into the second type signal includes at least one of generating a first difference signal that is a set of differences in signal values ​​at two first time points in the first type signal, and adding a noise signal generated by normal random numbers to the first type signal when the first type signal has a discrete distribution.

[0006] According to a second aspect of the present disclosure, there is provided a signal processing device, comprising: a conversion unit that performs signal processing on a first type signal, which is time-series data having a change point, to convert the first type signal into a second type signal that maintains information about the change point, and a detection unit that detects the change point using at least one of the first type signal and the second type signal, wherein the conversion unit executes at least one of generating a first difference signal that is a set of differences in signal values ​​at two first time points in the first type signal, and adding a noise signal generated by normal random numbers to the first type signal when the first type signal has a discrete distribution.

[0007] According to a third aspect of the present disclosure, a computer program to be executed by a computer is executed. The computer program includes a conversion function for converting a first type signal, which is time-series data having a change point, into a second type signal that maintains information about the change point by performing signal processing on the first type signal, and a detection function for detecting the change point using at least one of the first type signal and the second type signal, the conversion function including at least one of a function for generating a first difference signal, which is a set of differences in signal values ​​at two first time points as two time points in the first type signal, and a function for adding a noise signal generated by normal random numbers to the first type signal when the first type signal has a discrete distribution. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram for explaining a signal processing device according to an embodiment of the present invention. [Diagram 2] FIG. 4 is a diagram showing an example of a first type signal. [Diagram 3] 13 is a first flowchart of a detection process. [Figure 4] 11 is a second flowchart of the detection process. [Diagram 5] FIG. 4 is a diagram showing an example of a first type signal. [Figure 6] FIG. 4 is a diagram showing a second kind of signal generated by performing a first difference processing. [Figure 7] 7 is a diagram showing the positions of transition points detected in the second type signal of FIG. 6; [Figure 8] FIG. 11 is a diagram showing an example of change point information displayed on a display unit. [Figure 9] A diagram showing a first type signal. [Figure 10] 4 is a diagram showing a second kind of signal generated by performing a first difference processing on a first kind of signal; FIG. [Figure 11] 11 is a diagram showing the positions of transition points detected in the second type signal of FIG. 10; [Figure 12] A diagram showing a first type signal. [Figure 13] 4 is a diagram showing a second kind of signal generated by performing a first difference processing on a first kind of signal; FIG. [Figure 14] 14 is a diagram showing the positions of transition points detected in the second type signal of FIG. 13; [Figure 15] A diagram showing the second difference process performed on a section with a slope. [Figure 16] A diagram showing a first type signal. [Figure 17] FIG. 4 is a diagram showing a noise signal added to a first type signal. [Figure 18] FIG. 4 is a diagram showing a second type signal generated by adding a noise signal to a first type signal. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. Embodiment: FIG. 1 is a diagram for explaining a signal processing device 10 of this embodiment. FIG. 2 is a diagram showing an example of a first kind of signal FS. In FIG. 2, the horizontal X-axis represents an element corresponding to time, and the vertical Y-axis represents a signal value Va. Note that the X-axis is not limited to time as long as it is an index representing time. For example, the X-axis may be a data number for identifying each detection value when a detection value is obtained from a sensor at a predetermined time interval. In this embodiment, the number of data items in the first kind of signal FS is 200.

[0010] 1, the signal processing device 10 is configured by an electronic calculator such as a personal computer. The signal processing device 10 includes a processor 20, a storage device 30, a display unit 40, an input unit 50, and a communication unit 60.

[0011] The storage device 30 is composed of a ROM, a RAM, a HDD, and the like. Various programs for controlling the operation of the signal processing device 10 are stored in the storage device 30. The storage device 30 also stores a first kind of signal FS input to the signal processing device 10 via the input unit 50 and the communication unit 60. As shown in FIG. 2, the first kind of signal FS is time series data having a change point CP. The change point CP is a time point at which the degree of change in at least one of the mean value and the variance change occurs in the time series signal by a predetermined value or more. The predetermined value may be the same for the mean value change and the variance change, or may be different. In FIG. 2, the mean value changes by a predetermined value or more before and after the change point CP. The first kind of signal FS may or may not have normality. The first kind of signal FS is, for example, a detection signal output from a sensor that detects a physical quantity, such as an external voltage sensor or current sensor.

[0012] 1, the processor 20 executes various programs stored in the storage device 30 to function as a conversion unit 22 and a detection unit 24. The processor 20 is configured with one or more processors. At least a part of the functions executed by the processor 20 may be realized by a hardware circuit.

[0013] The conversion unit 22 performs predetermined signal processing on the first kind signal FS stored in the storage device 30, thereby converting the first kind signal FS into a second kind signal SS while maintaining information about the change point CP. Specifically, the conversion unit 22 performs at least one of signal processing including a first difference processing, a second difference processing, and an overdetection suppression processing, thereby converting the first kind signal FS into a second kind signal SS.

[0014] In the first difference processing, the conversion unit 22 generates a first difference signal, which is a set of differences between signal values ​​at two first time points as two time points in the first kind signal FS, as the second kind signal SS. The two first time points are separated by Δt1 in the time series. In other words, the first difference processing is a process of differentiating the first kind signal FS arranged in a time series, and when the signal value Va at time t in the first kind signal FS is x(t), the second kind signal SS is generated by the following formula (1). The generated second kind signal SS is stored in the storage device 30. In this embodiment, Δt1 corresponds to a time interval of 1 / 10 of the total number of data, which is the number of plots of the first kind signal FS. Signal value of second type signal SS = x(t+Δt1)-x(t) (1)

[0015] In the second difference processing, when a specific condition is satisfied, the conversion unit 22 generates a second difference signal, which is a set of differences between signal values ​​Va at two second time points as the first kind signal FS, as the second kind signal SS. The specific condition will be described in detail later. The two second time points are separated by Δt2, which is a time interval smaller than the time interval Δt1 between the two first time points used in the first difference processing. In this embodiment, Δt2 is half of Δt1. In other words, the second difference processing is a process of differentiating the first kind signal FS arranged in a time series, and when the signal value Va at time t in the first kind signal FS is x(t), the second kind signal SS is generated by the following formula (2). The generated second kind signal SS is stored in the storage device 30. Signal value of second type signal SS = x(t + Δt2) - x(t) (2)

[0016] In the overdetection suppression process, when the signal value Va of the first kind signal FS has a discrete distribution taking a finite number of values, such as two or three, the conversion unit 22 generates a second kind signal SS by adding a noise signal NS generated by normal random numbers to the first kind signal FS. The generated second kind signal SS is stored in the storage device 30. The noise signal NS may be generated by the conversion unit 22 according to the first kind signal FS to which the noise signal NS is to be added, or may be stored in advance in the storage device 30.

[0017] The detection unit 24 executes a change point detection process to detect a change point CP using at least one of the first type signal FS and the second type signal SS. The detection unit 24 detects the change point CP by applying an algorithm for detecting the change point CP to at least one of the first type signal FS and the second type signal SS. Examples of the algorithm for detecting the change point CP include PELT, Segment Neighbourhood, and The optimal partitioning method. In this embodiment, the detection unit 24 uses PELT as the algorithm.

[0018] The display unit 40 is, for example, a liquid crystal monitor, and displays change point information IM related to the change point CP. The change point information IM is, for example, an image obtained by combining position information indicating the position of the change point CP in the first kind of signal FS, and an image indicating the position of the change point CP.

[0019] The input unit 50 is an input interface such as a keyboard or a mouse, and receives input information from a user. The communication unit 60 is a communication interface capable of transmitting and receiving data to and from an external device via a wired or wireless connection.

[0020] FIG. 3 is a first flowchart of the detection process for detecting the change point CP executed by the signal processing device 10. FIG. 4 is a second flowchart of the detection process. FIG. 5 is a diagram showing an example of the first kind of signal FS. FIG. 6 is a diagram showing the second kind of signal SS generated by performing the first difference process on the first kind of signal FS of FIG. 5. FIG. 7 is a diagram showing the position of the change point CP detected in the second kind of signal SSa of FIG. 6. The first kind of signal FS shown in FIG. 5 has an actual change point CP at a time point 100 on the X-axis, and the average values ​​AV1 and AV2 of the signal value Va before and after the change point CP change by a predetermined value or more. That is, in the first kind of signal FS shown in FIG. 5, the change point CP is detected at the time point 100 by PELT. The first kind of signal FS shown in FIG. 5 is also called the first kind of signal FSa, and the second kind of signal SS shown in FIG. 6 and FIG. 7 is also called the second kind of signal SSa. In the following, when the first kind of signal FS and the second kind of signal SS are used to be distinguished from each other, different symbols are added to the end of the names. The vertical axis in FIG. 6 indicates the degree of inclination, which is the value IVa after the first differential processing of the first kind signal FS.

[0021] As shown in FIG. 3, in step S10, the conversion unit 22 performs first differential processing, which is signal processing, on the first kind signal FSa to generate a first differential signal SSa as the second kind signal SSa shown in FIG.

[0022] As shown in Fig. 3, in step S12, the detection unit 24 executes a change-point detection process on the generated first differential signal SSa. The detection unit 24 detects two change points CP1 and CP2 by executing the change-point detection process on the first differential signal SSa shown in Fig. 6. The positions of the two change points CP1 and CP2 are time 80, which is Δt1 before time 100 on the X axis, and time 100.

[0023] As shown in Fig. 3, in step S14 following step S12, the detection unit 24 performs a division process on the first differential signal SSa, which is the second type signal SSa. In the division process, as shown in Fig. 7, the detection unit 24 divides the first differential signal SSa at the positions of the change points CP1 and CP2 to divide the first differential signal SSa into a plurality of sections It. The first differential signal SSa shown in Fig. 7 is divided into three sections Ita1, Ita2, and Ita3.

[0024] As shown in FIG. 3, in step 16, the detection unit 24 detects whether or not there is a slope of the second kind signal SSa in each of the multiple sections Ita1, Ita2, and Ita3. In this embodiment, the detection unit 24 calculates an average value AV of the second kind signal SSa in each of the multiple sections Ita1, Ita2, and Ita3, and sets the calculated average value as the slope of each section Ita1, Ita2, and Ita3 of the second kind signal SSa. In the second kind signal SSa shown in FIG. 7, the average value AV as the slope is a value AVa1 in the section Ita1, a value AVa2 in the section Ita2, and a value AVa3 in the section Ita3. The values ​​AVa1 and AV4 are "0", and the value AVa2 is "2.2".

[0025] In the gradient detection process of step S16, the detection unit 24 detects whether or not there is a gradient in each of the sections Ita1 to Ita3 based on the average value AV. Specifically, the detection unit 24 detects that there is no gradient when the average value AV is within a reference range, and detects that there is a gradient when the average value AV is outside the reference range. In this embodiment, the reference range is "0". That is, the sections Ita1 and Ita3 in which the average value is "0" are detected as having no gradient, and the section Ita2 in which the average value is "2.2" is detected as having a gradient. Here, as shown in FIG. 7, when the detection unit 24 satisfies a specific condition that the interval, which is the width of the section Ita2 in which there is a gradient, on the X-axis is equal to or less than the interval Δt1 between the two first time points used to generate the first difference signal SSa, the detection unit 24 regards the section Ita2 that satisfies the specific condition as a section without a gradient. In this embodiment, the interval of the section Ita2 is smaller than the interval Δt1, so that the section Ita2 is regarded as a section without a gradient.

[0026] Next, as shown in FIG. 3, in step S22, the detection unit 24 detects a change point CP for a first type section that has no slope among the multiple sections It by using the first type signal FSa, which is an original signal. That is, the detection unit 24 detects a change point CP for the first type section by using PELT for the first type signal FSa. In this way, if the interval between sections Ita2 that have a slope is equal to or less than the interval between two first time points, there is a high possibility that the first type signal FSa is a section that has no slope. Therefore, by regarding a section that satisfies a specific condition as a section that has no slope and applying PELT to the first type signal FS, which is an original signal, the change point CP can be detected with higher accuracy.

[0027] On the other hand, in step S18, the conversion unit 22 performs a second difference process on the second type of interval that satisfies the specific condition that there is a slope among the multiple intervals It to generate a second type signal SSa that is a second difference signal. Then, in step S20, the detection unit 24 performs a change point detection process using the second type signal SSa that is the second difference signal. That is, the detection unit 24 detects a change point CP for the second type of interval by using PELT on the second type signal SS. Note that, when the detection unit 24 detects a change point CP of the second type signal SS that is a difference signal, it may perform a correction process for the position of the change point CP. In the correction process, a correction value equivalent to Δt2 used in the second difference process is added to the position of the detected change point CP, and the position after the addition is regarded as the position of the change point CP. In this embodiment, the correction value is 10 points in time, which is the number of data present during Δt2. That is, when the time point 90 is detected as the change point CP in step S20, the correction value of 10 is added and the time point 100 is regarded as the change point CP. This correction process allows the position of the change point CP to be detected with higher accuracy. Note that, in the second type signal SSa shown in Figures 5 and 6, since there is no second type section, only the process of step S22 is executed.

[0028] As shown in Fig. 4, in step S24, the detection unit 24 judges whether the detection result of the change points CP is overdetection or not. For example, the detection unit 24 judges that the detection result of the change points CP detected in steps S18 to S22 shown in Fig. 3 is overdetection when the number of change points CP detected in steps S18 to S22 shown in Fig. 3 is equal to or greater than a predetermined ratio to the number of data of the first type signal FSa. The predetermined ratio is set to a value that allows the first type signal FSa to be judged to have a discrete distribution, and is, for example, any value between 40% and 100%.

[0029] If it is determined in step S24 that overdetection has not occurred, the detection unit 24 outputs in step S30 the results of the change point CP detected in steps S18 to S22 to the display unit 40 as change point information IM.

[0030] 8 is a diagram showing an example of the change point information IM displayed on the display unit 40. The change point information IM has an image IM1 in which the first type signal FSa, which is time-series data, is combined with first position information IMa indicating the position of the change point CP, and second position information IM2 indicating the position of the change point CP. The first position information IMa includes, for example, a vertical line for indicating the position of the change point CP, and a numerical value on the X-axis indicating the position of the change point CP. The second position information IM2 includes a numerical value on the X-axis indicating the position of the change point CP.

[0031] On the other hand, as shown in Fig. 4, if it is determined in step S24 that there is overdetection, that is, if it is determined that the first type signal FS has a discrete distribution, the conversion unit 22 executes an overdetection suppression process in step S26. A specific example of the overdetection suppression process will be described in detail later. Next, in step S28, the detection unit 24 executes a change point detection process on the second type signal SS generated by the overdetection suppression process. The detection result in step S28 is displayed on the display unit 40 as change point information IM.

[0032] Next, the steps of the detection process shown in FIGS. 3 and 4 will be described using first kind signals FSb to FSd of a type different from the first kind signal FSa shown in FIG.

[0033] FIG. 9 is a diagram showing a first kind signal FSb. FIG. 10 is a diagram showing a second kind signal SSb generated by performing a first difference process on the first kind signal FSb of FIG. 9. FIG. 11 is a diagram showing the position of a change point CP detected in the second kind signal SSa of FIG. 10. The first kind signal FSb shown in FIG. 9 has a change point CP at a time point 100 on the time axis, which is the X-axis, and the variance of the signal value Va changes by a predetermined value or more before and after the change point CP. That is, the change point CP of the first kind signal FSb shown in FIG. 9 is detected at the time point 100 by PELT. In this embodiment, the number of data of the first kind signal FSb is 200.

[0034] The signal processing device 10 performs the detection process shown in Fig. 3 and Fig. 4 on the first type signal FSb, similarly to the first type signal FSa shown in Fig. 5. By performing step S10, a first differential signal SSb is generated as the second type signal SSb shown in Fig. 10. The detection unit 24 performs the change point detection process of step S12 on the first differential signal SSb, thereby detecting a change point CP as shown in Fig. 11. Due to the additivity of variance, the position of the detected change point CP of the first differential signal SSb is a time point Δt1 earlier than the position of the change point CP of the first type signal FSb, which is the original signal.

[0035] Next, the detection unit 24 divides the first differential signal SSb into a plurality of sections Itb1, Itb2 by performing a division process on the first differential signal SSb in Fig. 11 at the change point CP. In step S16, the detection unit 24 detects whether or not the second type signal SSb has a slope in each of the plurality of sections Itb1, Itb2. In the second type signal SSb shown in Fig. 11, the average values ​​AVb1, AVb2 are "0" in both sections Itb1, Itb2, so it is determined that there is no slope.

[0036] Therefore, in step S22 in Fig. 3, the detection unit 24 executes a change point detection process on the first kind of signal FSb shown in Fig. 9. As a result, a change point CP is detected at the time point 100 shown in Fig. 9. Note that, since it is determined that the detection result of the first kind of signal FSb is not an overdetection, step S30 is executed to output the detection result detected in step S22.

[0037] FIG. 12 is a diagram showing a first kind signal FSc. FIG. 13 is a diagram showing a second kind signal SSc generated by performing a first difference processing on the first kind signal FSc of FIG. 12. FIG. 14 is a diagram showing the position of a change point CP detected in the second kind signal SSc of FIG. 13. FIG. 15 is a diagram showing the second difference processing performed on a section with a slope in the first kind signal FSc of FIG. 12. The number of data of the first kind signal FSc is 200. When the change point CP is detected by PELT in the first kind signal FSc shown in FIG. 12, a plurality of change points CP1, CP2, CP3, CP4, and CP5 are detected on the time axis, which is the X-axis. The average values ​​AV1 to AV6 change by a predetermined value or more before and after each of the change points CP1 to CP5. On the other hand, in the first kind signal FSc, the average value AVc1 of the signal value Va is "0" before the change point CP1, and the signal value Va starts to tend to increase after the change point CP1. Therefore, the change point CP that the user actually wants to detect is only the change point CP1.

[0038] The signal processing device 10 executes the detection process shown in Fig. 3 and Fig. 4 on the first kind signal FSc, similarly to the first kind signal FSa shown in Fig. 5. By executing step S10, a first difference signal SSc is generated as the second kind signal SSc shown in Fig. 13. The detection unit 24 executes a change point detection process on the first difference signal SSc to detect a change point CP as shown in Fig. 14. Before and after the change point CP shown in Fig. 14, the average values ​​AVc1 and AVc2 change by a predetermined value or more. The change point CP shown in Fig. 14 is also called a change point CPc. The position of the change point CPc is a time point 90 that is Δt1 before the time point 110 of the change point CP1 of the first kind signal FSc, which is the original signal.

[0039] Next, in step S14, the detection unit 24 divides the first differential signal SSc in Fig. 14 into a plurality of intervals Itc1, Itc2 by performing an interval dividing process at the change point CPc. In step S16, the detection unit 24 determines that the interval Itc1 has no slope because the average value AVc1 is "0", and determines that the interval Itc2 has a slope because the average value AVc2 is "2" and the interval of the interval Itc2 is greater than Δt1.

[0040] In the section from time 0 to time 90, which is the first type section Itc1 that is a section with no gradient, a change point CP is detected using the first type signal FSc, which is the original signal, in step S22. That is, the detection unit 24 detects a change point in the first type section Itc1 by using PELT. No change point CP is detected in the section from time 0 to time 90 of the first type signal FSc in FIG.

[0041] In the section from time 90 to time 200, which is the second type section Itc2 having a slope, in step S18, the conversion unit 22 performs a second difference process on the first type signal FSc to generate a second type signal SSca, which is the second difference signal shown in FIG. 15. Then, in step S20, the detection unit 24 detects a change point CP using the second type signal SSca. The change point CP detected in FIG. 15 is also called a change point CPca. The detection unit 24 considers the time point 110 to be the position of the change point CPca by adding "10" corresponding to Δt2 by correction processing to the time point 100, which is the position of the change point CPca. Note that, since it is determined that the detection result is not overdetection in the first type signal FSc, step S30 is executed to output the detection result detected in step S20 or step S22. That is, the display unit 40 displays change point information IM including the time point 110, which is the position of the change point CPca after correction processing, on the display unit 40 in response to a command from the processor 20.

[0042] FIG. 16 is a diagram showing a first kind of signal FSd. FIG. 17 is a diagram showing a noise signal NS added to the first kind of signal FSd. FIG. 18 is a diagram showing a second kind of signal SSd generated by adding a noise signal NS to the first kind of signal FSd. The number of data of the first kind of signal FSd is 300. The first kind of signal FSd shown in FIG. 16 has a discrete distribution. In addition, the average of the first kind of signal FSd changes by a predetermined value or more before and after the time point 100, and the variance changes by a predetermined value or more before and after the time point 200. When a change point CP is detected for the first kind of signal FSd using PELT, each of the discrete change points is detected as a plurality of change points CP. Note that FIG. 16 shows only a part of the detected change points CP. On the other hand, the change points CP that the user wants to detect are only the change points CPd1 and CPd2 located at the time points 100 and 200 where the variance changes.

[0043] 3 and 4 are performed on the first kind signal FSd, it is determined in step S16 that there is "no slope" in all sections divided in step S14. Therefore, in step S22, the detection unit 24 performs a change point detection process using the first kind signal FSd. In this case, a change point CP is detected at a rate equal to or greater than a predetermined rate with respect to the number of data of the first kind signal FSd, so that the determination in step S24 of FIG. 4 is "Yes." As a result, the conversion unit 22 performs an overdetection suppression process in step S26.

[0044] In the overdetection suppression process, the conversion unit 22 generates a noise signal NS according to a first kind of signal FSd to which the noise signal NS is to be added. The conversion unit 22 generates a noise signal NS having a variance of, for example, 30% to 120% of the variance of the entire first kind of signal FSd. In this embodiment, the conversion unit 22 generates a noise signal NS having the same variance as the variance of the entire first kind of signal FSd. Next, the conversion unit 22 adds the generated noise signal NS to the first kind of signal FSd to generate a second kind of signal SSd shown in FIG. 18.

[0045] Next, in step S28, the detection unit 24 executes a change point detection process on the second type signal SSd generated by the overdetection suppression process. In the change point detection process of step S28, change points CPd1 and CPd2 are detected, and other change points CP shown in Fig. 16 are not detected. The detection result of step S28 is displayed on the display unit 40 as change point information IM.

[0046] According to the above embodiment, the change point CP is detected using at least one of the first kind signals FS to FSd and the second kind signals SS to SSd which are difference signals of the first kind signals FS to FSd or signals obtained by adding a noise signal NS to the first kind signals FS to FSd. This makes it possible to detect the change point CP desired by the user with higher accuracy than when the change point CP is detected using the first kind signals FS to FSd which are the original signals. For example, even if the first kind signals FS to FSd are not normal, the change point CP can be detected with higher accuracy by converting the first kind signals FS to second kind signals SS to SSd and detecting the change point CP of the second kind signals SS to SSd. Specifically, as shown in FIG. 12, in the first kind signal FSc in which the tendency of the change in the signal value Va, i.e. the tendency of the slope, changes at the change point CP1, the change point CP is detected using the second kind signal SSca shown in FIG. 15 for the section Itc2 including the time point 100 at which the tendency of the slope changes. This makes it possible to detect the change point CPc at which the tendency of the slope changes with higher accuracy. 16, a noise signal NS is added to a first kind signal FSd having a discrete signal distribution to generate a second kind signal SSd, and a change point CP is detected using the second kind signal SSd. This makes it possible to accurately detect a change point CP even for a first kind signal FSd having a discrete distribution.

[0047] According to the above embodiment, as shown in Fig. 3, in the second type signals SS, SSa, SSb, SSc, and SSd as the first differential signals, the change point CP is detected using the first type signals FS to FSd, which are the original signals, in the first type section without a slope. In general, detection accuracy can be improved by detecting the change point CP using the first type signals FS to FSd, which are the original signals, rather than the second type signals SS to SSd. Therefore, when the change point CP can be detected with high accuracy using the first type signals FS to FSd, that is, when detecting the time point at which the average or the variance changes, the detection accuracy of the change point CP can be improved by using the first type signals FS to FSd.

[0048] According to the above embodiment, in step S18 of Fig. 3, the conversion unit 22 generates a second difference signal that is a set of differences between two second time points whose interval is shorter than the two first time points for the second type section Itc2 having a slope. Then, the detection unit 24 detects the change point CPca by PELT using the second difference signal as the second type signal SSca. Therefore, even if a change point CP cannot be detected by the first difference signal, it can be detected by the second difference signal that is a set of differences between the two second time points whose interval is shorter, and therefore the change point CP can be detected with higher accuracy.

[0049] As described above, the signal processing device 10 of the above embodiment can detect, as change points CP, not only the time points at which the average value changes and the variance changes for the first kind of signals FS to FSd, but also the time points at which the slope changes and the time points at which the average value changes and the variance changes among the signal values ​​Va having a discrete distribution. In this way, the detection of the change points CP can be executed by a single detection process shown in Fig. 3 and Fig. 4, so that the maintainability of the signal processing device 10 in which the detection process is incorporated as a program or a circuit can be improved. In other words, the maintainability of the signal processing device 10 can be improved compared to the case in which different detection process programs or circuits are incorporated into the signal processing device 10 according to the type of the first kind of signals FS to FSd.

[0050] Furthermore, by using manufacturing data related to the manufacture of the product as first type signals FS to FSd and having the detection unit 24 detect a change point CP, it is possible to estimate changes in factors that affect the quality of the product based on the change point CP. Here, the manufacturing data is data to which a time point such as date and time is added, and is data that represents the manufacturing history such as measurement data of the product, the composition ratio of the raw materials of the product, the workers, the date and time of work, and the equipment used in the manufacture. Examples of factors that affect the product include the 4Ms (Man, Machine, Method, Material).

[0051] B. Other embodiments: B-1. Alternative embodiment 1: In the above embodiment, steps S14, S16, S18, and S22 are executed as shown in Fig. 3, but these steps may be omitted. That is, the detection unit 24 may detect the change point CP by executing a change point detection process on the first difference signal regardless of the presence or absence of a slope. In this case, the detection unit 24 may perform a correction process for the position of the change point CP. The correction process is a process in which a correction value equivalent to Δt1 used in the first difference process is added to the position of the detected change point CP, and the position after the addition is regarded as the position of the change point CP.

[0052] C. Other forms: The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various configurations without departing from the spirit of the present disclosure. For example, the technical features of the embodiments corresponding to the technical features in each form described below can be appropriately replaced or combined in order to solve some or all of the above-mentioned problems or to achieve some or all of the above-mentioned effects. Furthermore, if a technical feature is not described as essential in this specification, it can be appropriately deleted.

[0053] (1) According to a first embodiment of the present disclosure, a signal processing method is provided. The signal processing method includes converting a first type signal, which is time-series data having a change point, into a second type signal that maintains information about the change point by performing signal processing on the first type signal, and detecting the change point using at least one of the first type signal and the second type signal. The conversion into the second type signal includes at least one of generating a first difference signal that is a set of differences in signal values ​​at two first time points as two time points in the first type signal, and adding a noise signal generated by normal random numbers to the first type signal when the first type signal has a discrete distribution. According to this embodiment, the second type signal is at least one of a first difference signal that is a difference signal of the first type signal, and a signal obtained by adding a noise signal to the first type signal. As a result, even if the first type signal is a signal that does not have normality, the change point can be detected with high accuracy by converting the first type signal into a second type signal and detecting the change point of the second type signal.

[0054] (2) In the above embodiment, the detecting of the change point may include, when the first differential signal is generated, detecting the change point of the second type signal using the first differential signal as the second type signal, dividing the second type signal into a plurality of sections by dividing the second type signal at the positions of the change points, detecting the presence or absence of a slope of the second type signal in each of the plurality of sections, and detecting the change point using the first type signal for the first type section without the slope among the plurality of sections. According to this embodiment, for the first type section without the slope of the second type signal, the change point can be detected more accurately by detecting the change point using the first type signal that is the original signal.

[0055] (3) In the above embodiment, converting into the second type signal further includes generating, as the second type signal, a second difference signal that is a set of differences between the signal values ​​of the first type signal at two second time points as the two time points for the second type section having the inclination among the multiple sections, and detecting the change point further includes detecting the change point using the second difference signal when the second difference signal is generated as the second type signal, and an interval between the two second time points may be smaller than an interval between the two first time points. According to this embodiment, the change point can be detected more accurately by detecting the change point using the second difference signal having a smaller difference.

[0056] (4) In the above embodiment, detecting the presence or absence of a slope of the second type signal may include, when a specific condition is satisfied that the interval between sections having the slope is equal to or less than the interval between the two first points in time, regarding the section satisfying the specific condition as a section without the slope.

[0057] (5) According to a second embodiment of the present disclosure, a signal processing device is provided. The signal processing device includes a conversion unit that performs signal processing on a first type signal, which is time-series data having a change point, to convert the first type signal into a second type signal that maintains information about the change point, and a detection unit that detects the change point using at least one of the first type signal and the second type signal, and the conversion unit executes at least one of generating a first difference signal that is a set of differences in signal values ​​at two first time points as two time points in the first type signal, and adding a noise signal generated by normal random numbers to the first type signal when the first type signal has a discrete distribution. According to this embodiment, the second type signal is at least one of a first difference signal that is a difference signal of the first type signal, and a signal obtained by adding a noise signal to the first type signal. As a result, even if the first type signal is a signal that does not have normality, the change point can be detected with high accuracy by converting the first type signal into a second type signal and detecting the change point of the second type signal.

[0058] (6) According to a third embodiment of the present disclosure, a computer program is executed to cause a computer to execute the program. The computer program includes a conversion function for converting a first type signal, which is time-series data having a change point, into a second type signal that maintains information about the change point by performing signal processing on the first type signal, and a detection function for detecting the change point using at least one of the first type signal and the second type signal, and the conversion function includes at least one of a function for generating a first difference signal, which is a set of differences in signal values ​​at two first time points as two time points in the first type signal, and a function for adding a noise signal generated by normal random numbers to the first type signal when the first type signal has a discrete distribution. According to this embodiment, the second type signal is at least one of a first difference signal, which is a difference signal of the first type signal, and a signal obtained by adding a noise signal to the first type signal. As a result, even if the first type signal is a signal that does not have normality, the change point can be detected with high accuracy by converting the first type signal into a second type signal and detecting the change point of the second type signal.

[0059] In addition to the above forms, the present disclosure can be realized in the form of a non-transitory recording medium for recording a computer program. [Explanation of symbols]

[0060] AV1, AVb1, AVc1, AVc2...average value, CP, CP1, CPc, CPca, CPd1...change point, FS, FSa, FSb, FSc, FSd...first type signal, IM...change point information, It, Ita1, Ita2, Ita3, Itb1, Itc1, Itc2...interval, NS...noise signal, SS, SSa, SSb, SSc, SSd...second type signal, Va...signal value, 10...signal processing device, 20...processor, 22...conversion unit, 24...detection unit, 30...storage device, 40...display unit, 50...input unit, 60...communication unit, IM...change point information, IM1...image, IMa...first position information, IM2...second position information, Ita2...interval, Ita3...interval, Itb1...interval

Claims

1. 1. A signal processing method, comprising: performing signal processing on a first type signal, which is time-series data having a change point, to convert the first type signal into a second type signal that maintains information about the change point; detecting the change point using at least one of the first type signal and the second type signal; The converting into the second type signal comprises: generating a first difference signal which is a set of differences between signal values ​​at two first time points in the first type signal, the first time points being spaced apart by a certain time interval; adding a noise signal generated by Gaussian random numbers to the first kind of signal when the first kind of signal has a discrete distribution; Detecting the change point includes: When the first differential signal is generated, the first differential signal is used as the second type signal, the change points of the second type signal are detected, and the second type signal is divided into a plurality of sections by dividing the second type signal at the positions of the change points; and detecting the presence or absence of a slope of the first type signal from an average value of the second type signal in each of the plurality of sections; detecting the change point using the first type signal for a first type section having no slope among the plurality of sections; A signal processing method comprising:

2. 2. A signal processing method according to claim 1, comprising: The converting into the second type signal further includes: generating, as the second type signal, a second difference signal which is a set of differences between the signal values ​​of the first type signal at two second time points which are two time points separated by a certain time interval, for the second type section having the inclination among the plurality of sections; Detecting the change point further comprises: detecting the change point using the second differential signal when the second differential signal is generated as the second type signal; A method of signal processing, wherein the interval between the two second time points is smaller than the interval between the two first time points.

3. 3. A signal processing method according to claim 1, further comprising: Detecting the presence or absence of a slope of the first type signal from the average value of the second type signal A signal processing method comprising: when a specific condition is satisfied that the interval between the section having the slope is equal to or less than the interval between the two first points in time, regarding the section satisfying the specific condition as a section without the slope.

4. 1. A signal processing device, comprising: a conversion unit that performs signal processing on a first kind of signal, which is time-series data having a change point, to convert the first kind of signal into a second kind of signal that maintains information about the change point; a detection unit that detects the change point using at least one of the first type signal and the second type signal, The conversion unit is generating a first difference signal which is a set of differences between signal values ​​at two first time points in the first type signal, the first time points being spaced apart by a certain time interval; and adding a noise signal generated by Gaussian random numbers to the first kind of signal when the first kind of signal has a discrete distribution. Detecting the change point includes: When the first differential signal is generated, the first differential signal is used as the second type signal, the change points of the second type signal are detected, and the second type signal is divided into a plurality of sections by dividing the second type signal at the positions of the change points; detecting the presence or absence of a slope of the first type signal from an average value of the second type signal in each of the plurality of sections; detecting the change point using the first type signal for a first type section having no slope among the plurality of sections; A signal processing device comprising:

5. A computer program to be executed by a computer, a conversion function of converting a first type signal, which is time-series data having a change point, into a second type signal that maintains information about the change point by performing signal processing on the first type signal; a detection function for detecting the change point using at least one of the first type signal and the second type signal, The conversion function is a function of generating a first difference signal which is a set of differences between signal values ​​at two first time points in the first type signal, the first time points being separated by a certain time interval; a function of adding a noise signal generated by a normal random number to the first kind of signal when the first kind of signal has a discrete distribution; The function of detecting the change point is a function of detecting the change points of the second type signal using the first difference signal as the second type signal when the first difference signal is generated, and dividing the second type signal into a plurality of sections by dividing the second type signal at the positions of the change points; detecting the presence or absence of a slope of the first type signal from an average value of the second type signal in each of the plurality of sections; a function of detecting the change point using the first type signal for a first type section having no slope among the plurality of sections; A computer program comprising:

Citation Information

Patent Citations

  • Color image processor

    JP1994162189A

  • Compression method and device, compression and expansion system, and recording medium

    JP2001136073A

  • Continuous gradation compression device and method, continuous gradation expansion device and method, data processor and device and memory medium in which programs for executing the programs

    WO1999030483A1

  • Inspection assistance apparatus and inspection assistance method

    WO2021172278A1