Signal processing method and device, equipment, storage medium and computer program product
By adopting signal processing methods in the electrical control system and using the front and rear signal analysis modules to identify and process interfering signals, the problem of low signal interference and manual inspection efficiency in the electrical control system is solved, and signal stability and reaction speed are improved.
Patent Information
- Application Number
- CN202510578818.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2045-05-06
AI Technical Summary
The existing electrical control system has serious signal interference problems at the input end, resulting in signal instability, and manual detection of abnormal signals is time-consuming and labor-intensive, which is inefficient.
A signal processing method is adopted to analyze the original signal at the input through the front signal analysis module to determine whether an uncontrollable interference signal appears during the processing cycle, and trigger an alarm reminder or filtering process. After the filtering process, the post-signal analysis module determines the signal type and continues the filtering process based on the updated filtering parameters and sampling period.
It realizes efficient identification and filtering of uncontrolled interference signals, reduces the time and difficulty of manual inspection, improves the stability of the signal and the response sensitivity of the control system.
Smart Images

Figure CN120110384A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a signal processing method, apparatus, device, storage medium and computer program product. Background Art
[0002] In traditional electric control systems (such as sanding machine electric control systems, injection molding machine electric control systems), the input signals at the input end are mostly low-frequency signals, and there are almost no high-frequency signals. Therefore, traditional electric control systems do not require high sensitivity of electric control hardware, and only need to capture low-frequency signals generated during work. However, low-sensitivity electric control hardware will also lead to slow response speed of the electric control system.
[0003] In recent years, with the development of related technologies, the electronic control hardware in the electric control system has been continuously updated and iterated. The new electronic control hardware after iteration (for example, high-precision sensors or analog-to-digital converters, i.e. A / D converters) can capture weaker or higher-frequency signals, greatly improving the response speed of the electric control system. However, at the same time, the highly sensitive electronic control hardware may also regard the originally ignored environmental noise (such as electromagnetic interference and thermal noise) as a valid signal, resulting in interference in the detection signal, which in turn affects the stability of the input signal. On the other hand, since strong and weak electricity coexist in the equipment, it is relatively common, which will also lead to instability in the input signal of the electric control system. Finally, due to problems such as line aging, poor contact, and unconnected ground wires, common-mode interference is introduced into the signal loop, affecting signal integrity and also causing signal interference. It can be seen that the existing electric control system may have serious signal interference problems at the input end.
[0004] However, since signal interference is random and short-lived, it is difficult to capture and analyze within the time scale observable by the human eye (ms level), which makes it very difficult to manually troubleshoot abnormal signals. In related technologies, in order to identify and analyze abnormal signals in electronic control systems, professionals are usually required to use tools such as oscilloscopes to capture signals for a long time and perform diagnosis in combination with professional knowledge, which is not only time-consuming and labor-intensive, but also inefficient. Especially when there are hundreds of points in the electronic control box, when a signal abnormality occurs, staff are required to check each signal or input point one by one to determine the specific problem, which greatly increases the maintenance cost and efficiency of the electronic control system.
[0005] It can be seen that there is an urgent need for a solution that can efficiently identify interference signals and quickly filter the identified interference signals, thereby ensuring the stability of the input signals ultimately transmitted to the electronic control system. Summary of the invention
[0006] The embodiment of the present application provides a signal processing method to solve the problem that the existing abnormal signal identification solution needs to rely on professionals for manual diagnosis, which is time-consuming and labor-intensive, and has low processing efficiency.
[0007] The embodiment of the present application also provides a signal processing device to solve the problem that the existing abnormal signal identification solution needs to rely on professionals for manual diagnosis, which is time-consuming and labor-intensive, and has low processing efficiency.
[0008] The embodiment of the present application also provides a signal processing device to solve the problem that the existing abnormal signal identification solution needs to rely on professionals for manual diagnosis, which is time-consuming and labor-intensive, and has low processing efficiency.
[0009] The embodiment of the present application also provides a computer-readable storage medium to solve the problem that the existing abnormal signal identification solution needs to rely on professionals for manual diagnosis, which is time-consuming and labor-intensive, and has low processing efficiency.
[0010] A computer program product is used to solve the problem that the existing abnormal signal identification solution needs to rely on professionals for manual diagnosis, which is time-consuming and labor-intensive and has low processing efficiency.
[0011] The present application embodiment adopts the following technical solutions: A signal processing method comprises: performing data analysis on an original signal at an input end acquired in a first sampling period according to a preset processing period, and judging whether an uncontrollable interference signal appears in the processing period; triggering an alarm reminder when the judgment result is yes; performing filtering processing on the original signal to obtain a filtered processing signal when the judgment result is no; performing data analysis on the filtered processing signal to determine the signal type corresponding to the filtered processing signal; when it is determined that the filtered processing signal is an interference signal, adjusting the filtering parameters corresponding to the filtering processing, and continuing the filtering processing according to the updated filtering parameters.
[0012] A signal processing device comprises: a first signal analysis unit, which is used to perform data analysis on an original signal at an input end acquired within a first sampling period according to a preset processing period, and determine whether an uncontrollable interference signal appears within the processing period; an alarm unit, which is used to trigger an alarm reminder when the judgment result obtained by the signal analysis unit is yes; a filtering unit, which is used to filter the original signal to obtain a filtered processing signal when the judgment result obtained by the signal analysis unit is no; a second signal analysis unit, which is used to perform data analysis on the filtered processing signal to determine the signal type corresponding to the filtered processing signal; and a parameter adjustment unit, which is used to adjust the filtering parameters corresponding to the filtering processing when it is determined that the filtered processing signal is an interference signal.
[0013] A signal processing device, comprising: A processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor performs the following operations: according to a preset processing cycle, performing data analysis on the original signal at the input end obtained in a first sampling cycle to determine whether an uncontrollable interference signal appears in the processing cycle; when the judgment result is yes, triggering an alarm reminder; when the judgment result is no, filtering the original signal to obtain a filtered processing signal; performing data analysis on the filtered processing signal to determine the signal type corresponding to the filtered processing signal; when it is determined that the filtered processing signal is an interference signal, adjusting the filtering parameters and sampling cycle corresponding to the filtering processing, and continuing the filtering processing according to the updated filtering parameters and sampling cycle.
[0014] A computer-readable storage medium stores one or more programs, which, when executed by an electronic device including multiple application programs, enable the electronic device to perform the following operations: according to a preset processing cycle, perform data analysis on an original signal at an input end acquired within a first sampling cycle to determine whether an uncontrollable interference signal appears within the processing cycle; when the judgment result is yes, trigger an alarm reminder; when the judgment result is no, perform filtering processing on the original signal to obtain a filtered processing signal; perform data analysis on the filtered processing signal to determine the signal type corresponding to the filtered processing signal; when it is determined that the filtered processing signal is an interference signal, adjust the filtering parameters and sampling cycle corresponding to the filtering processing, and continue filtering processing according to the updated filtering parameters and sampling cycle.
[0015] A computer program product comprises a computer program, which is implemented when executed by a processor: according to a preset processing cycle, data analysis is performed on an original signal at an input end obtained in a first sampling cycle to determine whether an uncontrollable interference signal appears in the processing cycle; when the judgment result is yes, an alarm is triggered; when the judgment result is no, filtering is performed on the original signal to obtain a filtered signal; data analysis is performed on the filtered signal to determine the signal type corresponding to the filtered signal; when it is determined that the filtered signal is an interference signal, the filtering parameters and sampling cycle corresponding to the filtering are adjusted, and the filtering is continued according to the updated filtering parameters and sampling cycle.
[0016] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: By adopting the signal processing method provided in the embodiment of the present application, during the operation of the electric control system, the acquisition module will collect the original input signal of the input end according to the preset sampling period, and send the original signal collected in real time to the front signal analysis module. The front signal analysis module can perform data analysis on the original signal of the input end according to the preset processing period to determine whether an uncontrollable interference signal appears in the processing period; when it is determined that an uncontrollable interference signal appears, an alarm reminder is triggered, and these uncontrollable interference signals are screened out, thereby avoiding the interference of clutter that may appear in subsequent filtering processing; and when the judgment result is no, it means that the number of clutters appearing in the processing period is low, then the original signal is sent to the filtering module, and the filtering module performs filtering processing to obtain a filtered processing signal. After the filtering processing is completed, the filtered signal is passed to the post-signal analysis module, and the post-signal analysis module performs data analysis on the filtered processing signal to determine the signal type corresponding to the filtered processing signal. When it is determined that the filtered processing signal is an interference signal, the filtering parameters and sampling period corresponding to the filtering processing are adjusted, and the filtering processing is continued according to the updated filtering parameters and sampling period. By adopting the signal processing method provided in the embodiment of the present application, on the one hand, through real-time sampling and intelligent analysis before filtering processing, uncontrollable interference signals can be eliminated and alarm prompts can be processed, so that terminal users can quickly locate and solve problems and reduce the time and difficulty of manual troubleshooting; on the other hand, through the analysis and processing of the pre-signal analysis module before filtering processing, uncontrollable interference caused by excessive number of clutter can be eliminated. At the same time, the filtering time can be reduced through the reset cycle to improve the response sensitivity of the control system; finally, through the post-signal analysis module, the signal after filtering processing can be further screened and identified, and an alarm prompt can be issued when uncontrollable interference is determined, and the filtering parameters of the filtering module can be updated and adjusted through the acquired data, thereby reducing the misjudgment that may occur in subsequent filtering processing and improving the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A schematic diagram of a specific structure of a signal processing system provided in an embodiment of the present application; Figure 2 A schematic diagram of a main control flow of a signal processing system provided in an embodiment of the present application; Figure 3 A schematic diagram of a specific flow chart of a signal processing method provided in an embodiment of the present application; Figure 4 A schematic diagram of a signal logic judgment flow of a signal processing method provided in an embodiment of the present application; Figure 5 A schematic diagram of a specific structure of a signal processing device provided in an embodiment of the present application; Figure 6 A schematic diagram of the specific structure of a signal processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0019] In order to solve the problem that the existing abnormal signal identification solution needs to rely on professionals for manual diagnosis, which is time-consuming and labor-intensive, and has low processing efficiency, the embodiment of the present application provides a signal processing system and a signal processing method based on the signal processing system.
[0020] The specific structure of the signal processing system provided in the embodiment of the present application is as follows: Figure 1 As shown, it mainly includes a signal acquisition module, a front signal analysis module, a filtering module, a rear signal analysis module and a display module. Among them, the signal acquisition module is used to collect multiple original signals at the input end in real time according to the preset sampling period, and send the collected original signals to the front signal analysis module; the front signal analysis module is used to analyze and process the received original signal, and transmit the processed signal to the filtering module; the filtering module is used to filter the high and low level signals transmitted by the front signal analysis module, and pass the filtered signal to the rear signal analysis module; the rear signal analysis module is used to determine the properties of the signal after filtering. When the rear signal analysis module receives the signal, it judges the signal type. If it is an interference signal, the filtering parameters and sampling period corresponding to the filtering process are adjusted, and the filtering process is continued according to the updated filtering parameters and sampling period. If it is an uncontrollable interference signal, an alarm is triggered and displayed on the display module, which is convenient for manual troubleshooting.
[0021] Specifically, the main control flow of the signal processing system is as follows: Figure 2 As shown, it mainly includes the following processes: S101, data acquisition, collecting the original signal of the input end through the signal acquisition module; S102, signal analysis, analyzing and processing the received original signal through the pre-signal analysis module; S103, signal filtering processing, filtering the level signal through a filtering module; S104, determining the properties of the signal after filtering, and determining the properties of the signal after filtering through a post-signal analysis module; S105, if the signal is normal, process normally; S106, if it is an interference signal, adjusting the filtering parameters and sampling period corresponding to the filtering process; S107, if it is an uncontrollable interference signal, an alarm is triggered and displayed on the display module to facilitate manual troubleshooting.
[0022] Based on the above signal processing system, the specific implementation flow chart of the signal processing method provided in this application is as follows: Figure 3 As shown, it mainly includes the following steps: Step 11: After the electronic control system starts working, the signal acquisition module starts sampling according to the preset sampling period T 0 Collect the original signal at the input end and send the collected original signal to the front signal analysis module; Specifically, in the embodiment of the present application, the electronic control system can be interrupted by time, in the sampling period T 0 The original signal at the input end is collected in real time. It should be noted here that when the signal processing system is running for the first time, the sampling period T 0 is a pre-set parameter, and in the subsequent operation of the signal processing system, the sampling period T 0 It will be adjusted according to the change of filtering time. The specific sampling period T 0 The update and adjustment process is described in detail below and will not be repeated here.
[0023] Among them, the time interrupt refers to a hardware interrupt triggered by a timer or counter in the system, which is used to execute a specific task (such as the signal acquisition task in the embodiment of the present application) at a specific time interval.
[0024] In one implementation, the electric control system can generate a periodic interrupt signal through a hardware timer (Timer / Counter) to ensure that tasks (such as signal acquisition and processing) are executed within a fixed time interval. For example, the embodiment of the present application can perform a time interrupt by means of a timer overflow interrupt. By selecting the system clock (such as the CPU main frequency) as the timer clock, the timer starts counting from 0, and after reaching the maximum value (such as 65535 for a 16-bit timer), it overflows and triggers an interrupt. It should be noted here that the above specific implementation methods of the time interrupt are only exemplary, and the embodiment of the present application does not limit the specific method used for time interrupt.
[0025] Step 12: according to the preset processing period T 1, performing data analysis on the original input signal obtained in the first sampling period to determine whether an uncontrollable interference signal appears in the processing period, and when the determination result is yes, triggering an alarm reminder, and when the determination result is no, executing step 13; It should be noted here that the processing cycle T 1 It can be set according to the conversion frequency of high and low levels in the electronic control system.
[0026] In the embodiment of the present application, the pre-signal analysis module can record each processing cycle T 1 The number of high and low level changes that occur within a period, and the low level duration t 0 (i.e. the time from when the signal changes from low level to high level until it changes to low level again), high level duration t 1 (That is, the time from when the signal changes from high level to low level until it becomes high level again).
[0027] In one implementation, the front signal analysis module can specifically determine whether an uncontrollable interference signal appears within a processing cycle according to the following method, the method comprising: performing data analysis on the original signal to determine the number of high and low level changes of the original signal within the processing cycle; determining the number of clutter that appears within the processing cycle based on the number of high and low level changes (in the embodiment of the present application, the number of high and low level changes is equal to the number of clutter); when the number of clutter is greater than or equal to a preset clutter number threshold, it is determined that an uncontrollable interference signal appears within the processing cycle.
[0028] After identifying the uncontrollable interference signal, since the uncontrollable interference signal cannot be processed by the filtering module, in order to improve the system processing efficiency, the pre-signal analysis module can identify the uncontrollable interference signal before filtering and intercept the uncontrollable interference signal. At the same time, an alarm will be issued through the display module, and the points with problems will be displayed.
[0029] When the current signal analysis module determines that the number of clutter is less than the preset clutter number threshold, the signal can be sent to the filtering module for subsequent processing.
[0030] It should also be noted here that in addition to identifying and eliminating uncontrollable interference signals that appear during the processing cycle, the pre-signal analysis module can also dynamically update and adjust the filtering time of the signal processing system through real-time analysis of the input signal within the preset reset cycle, thereby reducing the misjudgment of the signal processing system and improving system stability.
[0031] In one embodiment, the pre-signal analysis module can implement a real-time analysis of the input signal within a preset reset period by the following method, thereby realizing a dynamic update adjustment of the filtering time, including: respectively determining a first high-level filtering time and a first low-level filtering time corresponding to the current filtering process; Determine a first high-level duration corresponding to the original signal within a preset first reset cycle. When the first high-level duration is greater than or equal to the first high-level filtering time and the first high-level duration is less than the processing cycle, clear the maximum high-level duration recorded within the first reset cycle and re-time the first reset cycle; when the first high-level duration is less than the first high-level filtering time, determine the maximum high-level duration within the first reset cycle, update the first high-level filtering time according to the maximum high-level duration, and obtain a second high-level filtering time; determine a first low-level duration corresponding to the original signal within a preset second reset cycle. When the first low-level duration is greater than or equal to the first low-level filtering time and the first low-level duration is less than the processing cycle, clear the maximum low-level duration recorded within the second reset cycle and re-time the second reset cycle; when the first low-level duration is less than the first low-level filtering time, determine the maximum low-level duration within the second reset cycle, update the first low-level filtering time according to the maximum low-level duration, and obtain a second low-level filtering time.
[0032] In the embodiment of the present application, respective corresponding reset periods can be set for the high level signal and the low level signal. For example, the reset period corresponding to the high level signal can be set as the first reset period T 2 ON, set the reset period corresponding to the low level signal to the second reset period T 2 OFF. The following is the signal analysis module in the first reset period T 2 ON and the second reset period T 2 The specific analysis and processing scheme in OFF is introduced in detail: 1. First reset period T 2 ON: The signal analysis module can determine that in the set first reset period T 2 During ON, the sampling high level duration t 1 , when the high level duration t 1 ≥The first high level filter time t set by the current filter module 3 ON, and the high level lasts for t 1 <Processing cycle T 1 When the reset timer is reset, the reset timer is reset and the reset timer is cleared in the first reset cycle T2 The maximum high level time t recorded in ON 1max ; When the high level duration t 1 <The first high level filter time t3ON set by the current filter module is recorded in the first reset period T 2 High level duration t in ON 1 The maximum value is determined as the first reset period T 2 The maximum high level time t recorded in ON 1max At this time, it means that the system is in a stable state. The system can record the maximum high level time t 1max Re-adjust the filter time corresponding to the filter module. The specific adjustment method is: high-level filter time t 3 ON=t 1max At the same time, the sampling period T can be adjusted according to the adjusted high-level filter time. 0 Update, the specific sampling period is T 0 The update and adjustment process is described in detail below and will not be repeated here.
[0033] 2. Second reset period T 2 OFF: The signal analysis module can determine that in the set second reset period T 2 In OFF, the sampling low level duration is t 0 , when the low level duration t 0 ≥The first low-level filter time t set by the current filter module 3 OFF, and the low level lasts for t 0 <Processing cycle T 1 When the reset timer is reset, the reset timer is reset and the reset timer is cleared in the second reset cycle T 2 The maximum low level time t recorded in OFF 0max ; When the low level duration t 0 <The first low-level filter time t set by the current filter module 3 OFF, then record in the second reset period T 2 Low level duration t in OFF 0 The maximum value is determined as the second reset period T 2 The maximum low level time t recorded in OFF 0max At this time, it means that the system is in a stable state. The system can calculate the maximum low level time t according to the recorded value. 0max Re-adjust the filter time corresponding to the filter module. The specific adjustment method is: low-level filter time t 3 OFF=t 0max At the same time, the sampling period T can be adjusted according to the adjusted low-level filtering time. 0Update, the specific sampling period is T 0 The update and adjustment process is described in detail below and will not be repeated here.
[0034] Step 13, sending the original signal to the filtering module, filtering the original signal through the filtering module to obtain a filtered signal; In the embodiment of the present application, the filtering module can repeatedly sample the signal according to the preset parameters. 0 >Low level filter time t 3 OFF, or high level duration t 1 >High level filter time t 3 When it is ON, the signal is judged to be valid and sent to the post-signal analysis module, otherwise it is invalid.
[0035] Step 14, the post-signal analysis module performs data analysis on the received filtered signal to determine the signal type corresponding to the filtered signal; In the embodiment of the present application, the post-signal analysis module can determine the high level duration and low level duration of the signal after filtering, and calculate the high level duration, low level duration, filtering time and processing cycle T of the signal after filtering. 1 The relationship between the duration of the uncontrollable interference and the duration of the uncontrollable interference is used to determine the signal type corresponding to the filtered signal. 2 It is a value preset based on the system's historical data.
[0036] In one embodiment, the post-signal analysis module can determine the signal type corresponding to the filtered processing signal according to the following method: respectively determine the second high level duration and the second low level duration corresponding to the filtered processing signal; respectively determine the first high level filtering time and the first low level filtering time corresponding to the filtering processing; and judge whether the filtered processing signal is a normal signal based on the second high level duration, the second low level duration, the first high level filtering time, the first low level filtering time, the processing cycle and the preset uncontrollable interference duration.
[0037] Specifically, in the embodiment of the present application, the post-signal analysis module may determine the signal type corresponding to the filtered signal according to the following sub-steps, including: Sub-step 1401, determining the second low level duration and the first low level filtering time t 3 The sum of OFF is used as the first filtering cycle; The second low level duration refers to the low level duration of the signal after filtering, which is determined by calculating the duration of the low level after the filtered signal changes from a high level to a low level. For the convenience of description, the second low level duration is referred to as represents the duration of the second low level, then the duration of the second low level is equal to the first low level filtering time t 3 The sum of OFF can be expressed as .
[0038] Sub-step 1402, determining the second high level duration and the first high level filtering time t 3 The sum of ON is used as the second filtering cycle; The second high level duration refers to the high level duration of the signal after filtering, which is determined by calculating the duration of the high level after the filtered signal changes from a low level to a high level. For the convenience of description, the second high level duration is referred to as represents the duration of the second high level, then the duration of the second high level is equal to the first high level filtering time t 3 The sum of ON can be expressed as .
[0039] Sub-step 1403, determining a signal type corresponding to the filtered processed signal according to the magnitude relationship between the first filtering period, the second filtering period, the processing period, and the preset uncontrollable interference duration; Sub-step 1405, when the first filtering period is greater than the processing period or the second filtering period is greater than the processing period, determining that the filtered processed signal is a normal signal; When >T 1 ,or >T 1 , it is determined that the filtered signal is a normal signal, and then step 16 is performed subsequently.
[0040] Sub-step 1406, when the first filtering period is less than the duration of the uncontrollable interference or the second filtering period is less than the duration of the uncontrollable interference, determining that the filtered signal is an interference signal; When <t 2 ,or <t 2 , it is determined that the filtered signal is an interference signal, and then step 15 is performed subsequently.
[0041] Sub-step 1407, when the first filtering period is greater than the uncontrollable interference duration and the first filtering period is less than the processing period, or the second filtering period is greater than the uncontrollable interference duration and the second filtering period is less than the processing period, it is determined that the filtered processed signal is an uncontrollable interference signal.
[0042] When ≥t 2 and <T 1 ,or ≥t 2and <T 1 When the filtered signal is determined to be an uncontrollable interference signal, an alarm is given through the display module, and the problematic points are displayed.
[0043] Step 15, when the post-signal analysis module determines that the filtered signal is an interference signal by executing step 14, the filtering parameters and sampling period corresponding to the filtering process are adjusted, and the filtering process is continued according to the updated filtering parameters and sampling period; It should be noted here that the signal processing system can adjust the filtering parameters in the following way: according to the first filtering period, the low-level filtering time corresponding to the filtering process is updated to obtain a second low-level filtering time; according to the second filtering period, the high-level filtering time corresponding to the filtering process is adjusted to obtain a second high-level filtering time.
[0044] Specifically, the signal processing system may set the first filtering period The second low level filtering time is determined as the second filtering period. Determined as the second highest level filtering time when performing secondary filtering processing.
[0045] It should also be noted that when the filtering time is adjusted, the sampling period also needs to be adjusted accordingly. In an embodiment of the present application, the signal processing system can update the first sampling period according to the second low-level filtering time and the second high-level filtering time to obtain the second sampling period.
[0046] In one implementation, the signal processing system may update the sampling period according to the following sub-steps, including: Sub-step 1501, determining a first pre-update sampling period according to a ratio of a second low-level filtering time to the number of sampling point bits; First pre-update sampling period =Second low level filter time / M.
[0047] Sub-step 1502, determining a second pre-update sampling period according to the ratio of the second high-level filtering time to the number of sampling point bits; Second pre-update sampling period =The second highest level filter time / M.
[0048] Sub-step 1503, selecting the shorter period from the first pre-update sampling period and the second pre-update sampling period as the update sampling period, determining the update sampling period as the second sampling period, and continuing to sample the signal according to the adjusted second sampling period.
[0049] Step 16: When the post-signal analysis module determines that the filtered signal is a normal signal by executing step 14, the control system performs normal action logic processing.
[0050] In one embodiment, the signal logic judgment process when the signal processing system performs signal processing based on the above signal processing method is as follows: Figure 4 As shown, it mainly includes the following processes: The process starts: S201, set sampling period T 0 , set the input end original signal M; S202, set processing cycle T 1 ; S203, setting the first reset period T 2 ON and the second reset period T 2 OFF; S204, determine the maximum number of clutter N max , count the high level duration t 1 , low level duration t 0 , and the duration of uncontrollable interference t 2 ; S205, in the set first reset period T 2 During ON, when the high level lasts for t 1 <The first high level filter time t3ON set by the current filter module is recorded in the first reset period T 2 High level duration t in ON 1 The maximum value is determined as the first reset period T 2 The maximum high level time t recorded in ON 1max , and according to the maximum high level time t 1max , adjust the filter parameters and set the high level filter time t 3 ON is set to t 1max ; S206, in the set second reset period T 2 OFF, when the low level lasts for t 0 <The first low-level filter time t set by the current filter module 3 OFF, then record in the second reset period T 2 Low level duration t in OFF 0 The maximum value is determined as the second reset period T 2 The maximum low level time t recorded in OFF 0max , and according to the maximum high level time t 0max , adjust the filter parameters and set the low-level filter time t 3 OFF is set to t0max ; S207, according to the sampling period T 0 , real-time sampling of the original signal at the input end; S208, determine the processing period T 1 The number of high and low level changes that occur within N; S209, determine whether N is greater than or equal to N max ; S210, when the judgment result is yes, it is determined to be an uncontrollable interference signal, an alarm is given through the display module, and the point where the problem exists is displayed; S211, when the judgment result is no, perform signal filtering processing; S212, when the low level lasts for t 0 >Low level filter time t 3 OFF, or high level duration t 1 >High level filter time t 3 When it is ON, the signal is judged to be valid and sent to the post-signal analysis module, otherwise it is invalid; S213, re-determine the high level duration of the signal after filtering And the low level duration ; S214, when >T 1 ,or >T 1 When , it is determined that the filtered signal is a normal signal; S215, when <t 2 ,or <t 2 , it is determined that the filtered signal is an interference signal, the filtering parameters and sampling period corresponding to the filtering process are adjusted, and the filtering process is continued according to the updated filtering parameters and sampling period; S216, when ≥t 2 and <T 1 ,or ≥t 2 and <T 1 When the filter processing signal is determined to be an uncontrollable interference signal, an alarm is given through the display module, and the point where the problem exists is displayed; S217 . Update the first sampling period according to the second low-level filtering time and the second high-level filtering time to obtain a second sampling period, and continue to sample the signal according to the adjusted second sampling period.
[0051] By adopting the signal processing method provided in the embodiment of the present application, during the operation of the electric control system, the acquisition module will collect the original input signal of the input end according to the preset sampling period, and send the original signal collected in real time to the front signal analysis module. The front signal analysis module can perform data analysis on the original signal of the input end according to the preset processing period to determine whether an uncontrollable interference signal appears in the processing period; when it is determined that an uncontrollable interference signal appears, an alarm reminder is triggered, and these uncontrollable interference signals are screened out, thereby avoiding the interference of clutter that may appear in subsequent filtering processing; and when the judgment result is no, it means that the number of clutters appearing in the processing period is low, then the original signal is sent to the filtering module, and the filtering module performs filtering processing to obtain a filtered processing signal. After the filtering processing is completed, the filtered signal is passed to the post-signal analysis module, and the post-signal analysis module performs data analysis on the filtered processing signal to determine the signal type corresponding to the filtered processing signal. When it is determined that the filtered processing signal is an interference signal, the filtering parameters and sampling period corresponding to the filtering processing are adjusted, and the filtering processing is continued according to the updated filtering parameters and sampling period. By adopting the signal processing method provided in the embodiment of the present application, on the one hand, through real-time sampling and intelligent analysis before filtering processing, uncontrollable interference signals can be eliminated and alarm prompts can be processed, so that terminal users can quickly locate and solve problems and reduce the time and difficulty of manual troubleshooting; on the other hand, through the analysis and processing of the pre-signal analysis module before filtering processing, uncontrollable interference caused by excessive number of clutter can be eliminated. At the same time, the filtering time can be reduced through the reset cycle to improve the response sensitivity of the control system; finally, through the post-signal analysis module, the signal after filtering processing can be further screened and identified, and an alarm prompt can be issued when uncontrollable interference is determined, and the filtering parameters of the filtering module can be updated and adjusted through the acquired data, thereby reducing the misjudgment that may occur in subsequent filtering processing and improving the stability of the system.
[0052] In one embodiment, the present application also provides a signal processing device to solve the problem that the existing abnormal signal identification solution needs to rely on professionals for manual diagnosis, which is time-consuming and labor-intensive, and has low processing efficiency. Figure 5 As shown, it includes: a first signal analysis unit 51, an alarm unit 52, a filtering unit 53, a second signal analysis unit 54 and a parameter adjustment unit 55.
[0053] The first signal analysis unit 51 is used to perform data analysis on the original input signal acquired in the first sampling period according to a preset processing period, and determine whether an uncontrollable interference signal appears in the processing period; The alarm unit 52 is used to trigger an alarm reminder when the judgment result obtained by the signal analysis unit 51 is yes; The filtering unit 53 is used to filter the original signal to obtain a filtered signal when the judgment result obtained by the signal analysis unit 51 is negative; A second signal analysis unit 54, configured to perform data analysis on the filtered signal to determine a signal type corresponding to the filtered signal; The parameter adjustment unit 55 is used to adjust the filtering parameters and sampling period corresponding to the filtering process when the second signal analysis unit 54 determines that the filtered signal is an interference signal.
[0054] In one embodiment, the first signal analysis unit 51 is specifically used to: perform data analysis on the original signal to determine the number of high and low level changes of the original signal within the processing cycle; determine the number of interferences that appear within the processing cycle based on the number of high and low level changes; when the number of interferences is greater than or equal to a preset interference number threshold, it is determined that an uncontrollable interference signal appears within the processing cycle.
[0055] In one implementation, the first signal analysis unit 51 is further used to: respectively determine a first high-level filtering time and a first low-level filtering time corresponding to the current filtering process; Determine a first high-level duration corresponding to the original signal within a preset first reset cycle. When the first high-level duration is greater than or equal to the first high-level filtering time and the first high-level duration is less than the processing cycle, clear the maximum high-level duration recorded within the first reset cycle and re-time the first reset cycle; when the first high-level duration is less than the first high-level filtering time, determine the maximum high-level duration within the first reset cycle, update the first high-level filtering time according to the maximum high-level duration, and obtain a second high-level filtering time; determine a first low-level duration corresponding to the original signal within a preset second reset cycle. When the first low-level duration is greater than or equal to the first low-level filtering time and the first low-level duration is less than the processing cycle, clear the maximum low-level duration recorded within the second reset cycle and re-time the second reset cycle; when the first low-level duration is less than the first low-level filtering time, determine the maximum low-level duration within the second reset cycle, update the first low-level filtering time according to the maximum low-level duration, and obtain a second low-level filtering time.
[0056] In one embodiment, the second signal analysis unit 54 is specifically used to: respectively determine the second high level duration and the second low level duration corresponding to the filtered processing signal; respectively determine the first high level filtering time and the first low level filtering time corresponding to the filtering processing; and judge whether the filtered processing signal is a normal signal based on the second high level duration, the second low level duration, the first high level filtering time, the first low level filtering time, the processing cycle and the preset uncontrollable interference duration.
[0057] In one embodiment, the second signal analysis unit 54 is specifically used to: determine the sum of the second low-level duration and the first low-level filtering time as the first filtering period; determine the sum of the second high-level duration and the first high-level filtering time as the second filtering period; when the first filtering period is greater than the processing period or the second filtering period is greater than the processing period, determine that the filtered processing signal is a normal signal; when the first filtering period is less than the uncontrollable interference duration or the second filtering period is less than the uncontrollable interference duration, determine that the filtered processing signal is an interference signal; when the first filtering period is greater than or equal to the uncontrollable interference duration and the first filtering period is less than the processing period, or the second filtering period is greater than or equal to the uncontrollable interference duration and the second filtering period is less than the processing period, determine that the filtered processing signal is an uncontrollable interference signal, and trigger an alarm reminder.
[0058] In one implementation, the parameter adjustment unit 55 is specifically configured to: According to the first filtering cycle, the low-level filtering time corresponding to the filtering process is updated to obtain a second low-level filtering time; according to the second filtering cycle, the high-level filtering time corresponding to the filtering process is adjusted to obtain a second high-level filtering time.
[0059] In one implementation, it further includes an updating unit, which is specifically configured to update the first sampling period according to the second low-level filtering time and the second high-level filtering time to obtain a second sampling period.
[0060] In one embodiment, the update unit is specifically used to: determine the first pre-update sampling period according to the ratio of the second low-level filtering time to the number of sampling point bits; determine the second pre-update sampling period according to the ratio of the second high-level filtering time to the number of sampling point bits; from the first pre-update sampling period and the second pre-update sampling period, select the shorter period as the update sampling period, and determine the update sampling period as the second sampling period.
[0061] By using the signal processing device provided in the embodiment of the present application, during the operation of the electric control system, the acquisition module will collect the original input signal of the input end according to the preset sampling period, and send the original signal collected in real time to the front signal analysis module. The front signal analysis module can perform data analysis on the original signal of the input end according to the preset processing period to determine whether an uncontrollable interference signal appears in the processing period; when it is determined that an uncontrollable interference signal appears, an alarm reminder is triggered, and these uncontrollable interference signals are screened out, thereby avoiding the clutter interference that may appear in the subsequent filtering process; and when the judgment result is no, it means that the number of clutters appearing in the processing period is low, then the original signal is sent to the filtering module, and the filtering module performs filtering processing to obtain a filtered processing signal. After the filtering processing is completed, the filtered signal is passed to the post-signal analysis module, and the post-signal analysis module performs data analysis on the filtered processing signal to determine the signal type corresponding to the filtered processing signal. When it is determined that the filtered processing signal is an interference signal, the filtering parameters and sampling period corresponding to the filtering processing are adjusted, and the filtering processing is continued according to the updated filtering parameters and sampling period. By using the signal processing device provided in the embodiment of the present application, on the one hand, through real-time sampling and intelligent analysis before filtering processing, uncontrollable interference signals can be eliminated and alarm prompts can be processed, so that terminal users can quickly locate and solve problems and reduce the time and difficulty of manual troubleshooting; on the other hand, through the analysis and processing of the pre-signal analysis module before filtering processing, uncontrollable interference caused by excessive number of clutter can be eliminated. At the same time, the filtering time can be reduced through the reset cycle to improve the response sensitivity of the control system; finally, through the post-signal analysis module, the signal after filtering processing can be further screened and identified, and an alarm prompt can be issued when uncontrollable interference is determined, and the filtering parameters of the filtering module can be updated and adjusted through the acquired data, thereby reducing the possible misjudgment in subsequent filtering processing and improving the stability of the system.
[0062] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 6 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0063] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0064] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0065] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a signal processing device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations: According to the preset processing cycle, data analysis is performed on the original signal at the input end obtained in the first sampling cycle to determine whether an uncontrollable interference signal appears in the processing cycle; when the judgment result is yes, an alarm reminder is triggered; when the judgment result is no, the original signal is filtered to obtain a filtered signal; data analysis is performed on the filtered signal to determine the signal type corresponding to the filtered signal; when it is determined that the filtered signal is an interference signal, the filtering parameters and sampling cycle corresponding to the filtering are adjusted, and the filtering is continued according to the updated filtering parameters and sampling cycle.
[0066] The above application Figure 6The method performed by the signal processing electronic device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0067] Of course, in addition to software implementation methods, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0068] The embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 3 The method of the embodiment shown is specifically used to perform the following operations: According to the preset processing cycle, data analysis is performed on the original signal at the input end obtained in the first sampling cycle to determine whether an uncontrollable interference signal appears in the processing cycle; when the judgment result is yes, an alarm reminder is triggered; when the judgment result is no, the original signal is filtered to obtain a filtered signal; data analysis is performed on the filtered signal to determine the signal type corresponding to the filtered signal; when it is determined that the filtered signal is an interference signal, the filtering parameters and sampling cycle corresponding to the filtering are adjusted, and the filtering is continued according to the updated filtering parameters and sampling cycle.
[0069] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0070] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0071] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0072] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0073] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0074] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0075] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0076] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0077] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0078] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A signal processing method, characterized in that: include: According to a preset processing cycle, data analysis is performed on the original input signal obtained in the first sampling cycle to determine whether an uncontrollable interference signal appears in the processing cycle; When the judgment result is yes, an alarm reminder is triggered; When the judgment result is no, filtering the original signal to obtain a filtered signal; Performing data analysis on the filtered signal to determine the signal type corresponding to the filtered signal; When it is determined that the filtered signal is an interference signal, the filtering parameters and sampling period corresponding to the filtering process are adjusted, and the filtering process is continued according to the updated filtering parameters and sampling period; When it is determined that the filtered signal is a normal signal, the control system performs normal action logic processing.
2. The method according to claim 1, characterized in that: The step of performing data analysis on the acquired original input signal according to the preset processing cycle to determine whether an uncontrollable interference signal occurs during the processing cycle specifically includes: Performing data analysis on the original signal to determine the number of high and low level changes of the original signal during the processing cycle; Determining the number of clutters that occur within the processing cycle according to the number of high and low level changes; When the number of clutter is greater than or equal to a preset clutter number threshold, it is determined that an uncontrollable interference signal occurs within the processing period.
3. The method according to claim 1, characterized in that The step of performing data analysis on the acquired original input signal according to the preset processing cycle also includes: Respectively determine a first high-level filtering time and a first low-level filtering time corresponding to the current filtering process; Determine a first high-level duration corresponding to the original signal within a preset first reset cycle; when the first high-level duration is greater than or equal to the first high-level filtering time, and the first high-level duration is less than the processing cycle, clear the maximum high-level duration recorded within the first reset cycle, and re-time the first reset cycle; when the first high-level duration is less than the first high-level filtering time, determine the maximum high-level duration within the first reset cycle, update the first high-level filtering time according to the maximum high-level duration, and obtain a second high-level filtering time; Determine a first low-level duration corresponding to the original signal within a preset second reset cycle; when the first low-level duration is greater than or equal to the first low-level filtering time, and the first low-level duration is less than the processing cycle, clear the maximum low-level duration recorded in the second reset cycle, and re-time the second reset cycle; when the first low-level duration is less than the first low-level filtering time, determine the maximum low-level duration in the second reset cycle, update the first low-level filtering time according to the maximum low-level duration, and obtain a second low-level filtering time.
4. The method according to claim 1, characterized in that The performing data analysis on the filtered signal to determine the signal type corresponding to the filtered signal specifically includes: Respectively determine a second high level duration and a second low level duration corresponding to the filtered processed signal; respectively determining a first high-level filtering time and a first low-level filtering time corresponding to the filtering process; Whether the filtered signal is a normal signal is determined according to the second high level duration, the second low level duration, the first high level filtering time, the first low level filtering time, the processing cycle and a preset uncontrollable interference duration.
5. The method according to claim 4, characterized in that Determining the signal type corresponding to the filtered processed signal according to the second high level duration, the second low level duration, the first high level filtering time, the first low level filtering time, the processing cycle, and a preset uncontrollable interference duration specifically includes: Determine the sum of the second low-level duration and the first low-level filtering time as a first filtering period; Determine a sum of the second high level duration and the first high level filtering time as a second filtering period; When the first filtering period is greater than the processing period or the second filtering period is greater than the processing period, determining that the filtered processing signal is a normal signal; When the first filtering period is less than the duration of the uncontrollable interference or the second filtering period is less than the duration of the uncontrollable interference, determining that the filtered signal is an interference signal; When the first filtering period is greater than or equal to the uncontrollable interference duration and the first filtering period is less than the processing period, or when the second filtering period is greater than or equal to the uncontrollable interference duration and the second filtering period is less than the processing period, it is determined that the filtered processing signal is an uncontrollable interference signal, and an alarm is triggered.
6. The method according to claim 5, characterized in that The adjusting of the filtering parameters corresponding to the filtering process specifically includes: According to the first filtering cycle, the low-level filtering time corresponding to the filtering process is updated to obtain a second low-level filtering time; According to the second filtering period, the high-level filtering time corresponding to the filtering process is adjusted to obtain a second high-level filtering time.
7. The method according to any one of claims 3 or 6, characterized in that: Also includes: The first sampling period is updated according to the second low-level filtering time and the second high-level filtering time to obtain a second sampling period.
8. The method according to claim 7, characterized in that The updating of the first sampling period according to the second low-level filtering time and the second high-level filtering time to obtain the second sampling period specifically includes: Determining a first pre-update sampling period according to a ratio of the second low-level filtering time to the number of sampling point bits; Determining a second pre-update sampling period according to a ratio of the second high-level filtering time to the number of sampling point bits; From the first pre-update sampling period and the second pre-update sampling period, a shorter period is selected as an update sampling period, and the update sampling period is determined as the second sampling period.
9. A signal processing device, characterized in that: include: A first signal analysis unit, configured to perform data analysis on an original input signal acquired in a first sampling period according to a preset processing period, and determine whether an uncontrollable interference signal occurs in the processing period; An alarm unit, used to trigger an alarm reminder when the judgment result obtained by the signal analysis unit is yes; A filtering unit, configured to filter the original signal to obtain a filtered signal when the judgment result obtained by the signal analysis unit is negative; A second signal analysis unit, configured to perform data analysis on the filtered signal to determine a signal type corresponding to the filtered signal; A parameter adjustment unit, configured to adjust the filter parameters and sampling period corresponding to the filtering process when it is determined that the filtered signal is an interference signal; The execution unit is used to control the control system to perform normal action logic processing when it is determined that the filtered processed signal is a normal signal.
10. A signal processing device, characterized in that: include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: According to a preset processing cycle, data analysis is performed on the original input signal obtained in the first sampling cycle to determine whether an uncontrollable interference signal appears in the processing cycle; When the judgment result is yes, an alarm reminder is triggered; When the judgment result is no, filtering the original signal to obtain a filtered signal; Performing data analysis on the filtered signal to determine the signal type corresponding to the filtered signal; When it is determined that the filtered signal is an interference signal, the filtering parameters and sampling period corresponding to the filtering process are adjusted, and the filtering process is continued according to the updated filtering parameters and sampling period; When it is determined that the filtered signal is a normal signal, the control system performs normal action logic processing.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, which, when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the signal processing method according to any one of claims 1 to 8.
12. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the signal processing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Pulse anti-interference method and device
CN104320109A
Serial port signal filtering method and device
CN112202421A
Burr filtering method, device and equipment and storage medium
CN118353425A
Intelligent management method based on battery
CN118777906A
Intelligent detection system and method for consumer electronic functional device
CN118980870A