Methods, systems, equipment, media, and programs for multi-level threshold detection of burst signals.
By employing a multi-level amplitude threshold step-by-step detection method, the problems of detection delay and weak anti-interference capability of sudden signals are solved, enabling rapid response and reliability detection in low-power operation scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-22
- Publication Date
- 2026-04-03
AI Technical Summary
Existing burst signal detection schemes suffer from high detection delays, weak anti-interference capabilities, and a tendency to misjudge when dealing with gradual amplitude changes, making it difficult to effectively identify different amplitude stages of the signal.
A multi-level amplitude threshold step-by-step detection method is adopted. The signal sample value is progressively detected by preset multi-level amplitude thresholds. Based on the judgment result of the signal sample value and the current level amplitude threshold, the detection process is controlled to advance or retreat step by step to ensure accurate judgment during the process of signal amplitude change.
It significantly improves anti-interference capability, achieves synergistic optimization of low-latency wake-up and low false alarm rate, and is suitable for signal detection in low-power operation scenarios.
Smart Images

Figure CN121547373B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication signal detection technology, and in particular to a method, system, device, medium and program product for step-by-step detection of multi-level thresholds for burst signals. Background Technology
[0002] As communication systems evolve towards higher speeds and lower power consumption, burst signals are increasingly used in communication links, especially in scenarios such as state switching and link wake-up in low-power communication systems. The detection result of burst signals directly determines whether the system switches from a low-power state to a normal operating state. Therefore, burst signal detection schemes typically need to meet strict requirements on detection response time while ensuring high detection accuracy, in order to avoid system wake-up delays or abnormal power consumption.
[0003] Existing burst signal detection schemes mostly employ a fixed threshold method, comparing the received signal amplitude with a preset threshold. A burst signal is detected when the amplitude exceeds the threshold. However, in actual communication systems, burst signals transmitted by the receiving device are easily affected by signal attenuation, link noise, and interference in the transmission link. This causes the burst signal to exhibit a clear amplitude gradient at the receiving end; that is, in the initial stage of the burst signal, its amplitude is small, gradually increasing until it reaches a normal stable amplitude during transmission. In this situation, if the fixed threshold is set to match the normal stable amplitude of the burst signal, the weak signal in the initial stage of the burst signal is often below this threshold. This causes the detection logic to fail to respond in the early stage of the burst signal, thus missing the initial valid signal, increasing the burst signal detection delay, and even failing to meet the strict wake-up time requirements of relevant communication protocols in low-power mode. Conversely, if the fixed threshold is set too low to capture the weak signal in the initial stage early, ineffective signals such as link noise and transient interference are more likely to exceed the threshold and be misjudged as burst signals. This leads to erroneous wake-up in low-power mode, reducing the system's anti-interference capability and causing unnecessary power consumption increases.
[0004] In summary, existing detection schemes typically rely on a single fixed threshold for judgment, failing to fully consider the objective fact that burst signals exhibit different amplitude characteristics at different stages. This makes it difficult to effectively distinguish the gradual change process of the signal, leading to a contradiction between detection delay, anti-interference capability, and false wake-up control. Therefore, how to effectively identify different amplitude stages of a burst signal when it exhibits gradual amplitude changes has become a pressing technical problem that needs to be solved in existing burst signal detection technologies. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this application provides a method, system, device, medium, and program product for step-by-step detection of multi-level thresholds for burst signals, which at least solves the problems of high detection delay, weak anti-interference ability, and easy misjudgment in existing burst signal detection schemes when facing gradual amplitude changes.
[0006] To achieve the above objectives and other advantages, some embodiments of this application provide the following aspects:
[0007] In a first aspect, some embodiments of this application provide a method for step-by-step detection of multi-level thresholds for burst signals, including:
[0008] Acquire the burst signal to be detected, and sample the burst signal to obtain the signal sample value;
[0009] Based on preset multi-level amplitude thresholds, the signal sample values are progressively detected according to a step-by-step triggering detection logic. The multi-level amplitude thresholds correspond to different amplitude stages of the burst signal from weak to strong. The progressive detection is used to control the detection process to advance or retreat step by step according to the multi-level amplitude thresholds based on the judgment result of the signal sample value and the current level amplitude threshold. When the signal sample value sequentially meets the detection conditions corresponding to each level amplitude threshold, a valid burst signal is determined to have been detected.
[0010] Secondly, some embodiments of this application provide a multi-level threshold step-by-step detection system for burst signals, including:
[0011] The sampling module is used to acquire the burst signal to be detected and to sample the burst signal to obtain the signal sampling value;
[0012] The step-by-step detection module is used to progressively detect the signal sample value based on a preset multi-level amplitude threshold and according to a step-by-step triggering detection logic. The multi-level amplitude thresholds correspond to different amplitude stages of the burst signal from weak to strong.
[0013] The state control module is used to control the step-by-step detection module to advance or retreat step by step according to the multi-level amplitude threshold based on the determination result of the signal sampling value and the current level amplitude threshold, and to determine that a valid burst signal has been detected when the signal sampling value successively meets the detection conditions corresponding to each level amplitude threshold.
[0014] Thirdly, some embodiments of this application also provide an electronic device, the electronic device comprising:
[0015] One or more processors; and a memory storing computer program instructions that, when executed, cause the processors to perform the burst signal multi-level threshold step-by-step detection method as described above.
[0016] Fourthly, some embodiments of this application also provide a computer-readable storage medium having a computer program and / or instructions stored thereon, wherein the computer program and / or instructions, when executed by a processor, implement the burst signal multi-level threshold step-by-step detection method as described above.
[0017] Fifthly, some embodiments of this application also provide a computer program product, including a computer program and / or instructions, which, when executed by a processor, implement the burst signal multi-level threshold step-by-step detection method as described above.
[0018] Compared with existing technologies, the solution provided in this application no longer uses a burst signal determination method based on a single fixed threshold. Instead, it introduces multi-level amplitude thresholds and combines them with step-by-step triggering detection logic to address the gradual amplitude change characteristics of burst signals that are common in actual link transmissions. This allows for phased and progressive detection of signal sample values, enabling the detection process to cover the initial weak phase of the burst signal and continuously track its amplitude evolution. This fundamentally avoids the problems of missed initial signal detection and increased detection delay caused by excessively high threshold settings in existing technologies. At the same time, by controlling the step-by-step advancement or retreat of the detection process based on the determination results of each level of thresholds, the detection has clear stage constraints. When the signal amplitude fails to continuously meet the conditions of higher-level thresholds, it can retreat in time, effectively suppressing false triggering caused by noise spikes or transient interference, thereby significantly improving anti-interference capabilities. Therefore, the solution proposed in this application takes into account both rapid response and reliable judgment when detecting sudden signals. It can achieve coordinated optimization of low-latency wake-up and low false judgment rate in low-power operation scenarios. It is suitable for application scenarios that rely on low-power mode operation, such as Ethernet physical layer chips, network switching equipment and industrial Ethernet nodes, and is especially suitable for signal wake-up requirements in low-power idle mode. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other implementation methods can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating a method for step-by-step detection of multi-level thresholds for burst signals provided in an embodiment of this application.
[0021] Figure 2 This is a flowchart illustrating a method for step-by-step detection of multi-level amplitude thresholds for burst signals based on a state machine, as provided in an embodiment of this application.
[0022] Figure 3This is a schematic diagram of the structure of a multi-level threshold step-by-step detection system for burst signals provided in an embodiment of this application;
[0023] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] Some embodiments of this application relate to a method for step-by-step detection of multi-level thresholds for burst signals, see reference... Figure 1 As shown, the method may include the following steps:
[0026] Step S1: Acquire the burst signal to be detected and sample the burst signal to obtain the signal sample value.
[0027] The burst signal to be detected refers to a signal sent by the peer device through the physical communication link when the communication system is in a low-power operation state, triggering the receiver to exit the low-power state. This burst signal typically appears as a short-lived, rapidly changing signal segment in time, and its amplitude gradually increases from weak to strong, which is different from the background noise or low-amplitude interference signals that only exist in the link when the system is in an idle state.
[0028] At the hardware implementation level, burst signals are acquired by the receiver of a low-power system, such as the receiving module responsible for link monitoring in a network switch, network interface card, or industrial Ethernet node; or the signal receiving side in a communication terminal device that supports Low Power Idle (LPI) mode. The receiver receives electrical signals sent by the peer device through an analog front-end circuit connected to the communication link, and the sampling circuit performs periodic sampling processing on the received signals, converting the analog signals in the continuous time domain into a corresponding sequence of digital signal sample values.
[0029] In a typical application environment, this embodiment is applied to wired or wireless communication systems that comply with low-power communication mechanisms, such as the Low Power Idle (LPI) mode in an Ethernet physical layer communication system. Taking an Ethernet system conforming to the IEEE 802.3 Clause 78 protocol as an example, after the local device enters LPI mode, its transmitting and receiving circuits operate in a low-power state, but the receiving end still maintains the ability to continuously monitor the communication link signal. When the peer device needs to resume data transmission, it sends a burst signal to wake up the peer device through the communication link. This burst signal is sudden in time and typically exhibits a gradual increase in amplitude from weak to strong. During this process, the receiving end of the local device collects and samples the received burst signal through a sampling circuit connected to the communication link, generating continuous signal sample values. The receiving end performs burst signal detection processing based on the signal sample values. When the detection result indicates that the burst signal is a valid burst signal that meets the preset detection conditions, it outputs a wake-up command to the low-power control module, thereby controlling the local device to exit LPI mode and return to normal communication state.
[0030] Step S2: Based on the preset multi-level amplitude thresholds, the signal sample values are progressively detected according to the step-by-step triggering detection logic. The multi-level amplitude thresholds correspond to different amplitude stages of the burst signal from weak to strong. The progressive detection is used to control the detection process to advance or retreat step by step according to the multi-level amplitude thresholds based on the judgment result of the signal sample value and the current level amplitude threshold. When the signal sample value successively meets the detection conditions corresponding to each level amplitude threshold, it is determined that a valid burst signal has been detected.
[0031] In a preferred embodiment, the multi-level amplitude threshold includes multiple threshold intervals set in ascending order of amplitude. The threshold intervals are used to cover different amplitude ranges of the burst signal as it changes from weak to strong. Each threshold interval is configured according to a preset proportional range based on the normal amplitude of the burst signal.
[0032] Specifically, because burst signals are typically affected by factors such as signal source activation characteristics, transmission link attenuation, and noise interference in their initial stages, their amplitude does not reach a stable value instantaneously, but rather exhibits a gradual upward change. This embodiment divides the amplitude range of burst signals into multiple distinct threshold intervals, enabling the detection process to perform corresponding detection and judgment based on the amplitude stage of the burst signal. Each threshold interval is not set with a fixed absolute amplitude value, but rather configured according to a preset proportional relationship based on the reference amplitude level of the burst signal under normal communication conditions. This allows the multi-level amplitude thresholds to adapt to the signal amplitude variation characteristics under different communication link conditions.
[0033] In one exemplary embodiment, the normal amplitude of the burst signal can be recorded as a reference amplitude value, and multiple amplitude threshold intervals can be set based on this reference amplitude value. For example, the first threshold interval corresponds to 30% to 50% of the reference amplitude value, used to characterize the weak amplitude stage at the initial stage of the burst signal; the second threshold interval corresponds to 60% to 80% of the reference amplitude value, used to characterize the intermediate stage during the amplitude rise of the burst signal; and the third threshold interval corresponds to 90% to 100% of the reference amplitude value, used to characterize the stage when the burst signal reaches an effective communication amplitude. It should be noted that the number, proportion range, and specific configuration of the above threshold intervals are only examples and can be adjusted according to specific application scenarios, link characteristics, or system design requirements. This embodiment does not limit these aspects.
[0034] It should be noted that the threshold intervals mentioned above do not continuously cover the entire amplitude range, but rather have amplitude transition intervals reserved between adjacent threshold intervals. These transition intervals are used to buffer fluctuations, jitters, or noise disturbances in sudden signals during amplitude increases, thereby avoiding frequent switching of detection states or misjudgments when the signal amplitude changes near the threshold critical position.
[0035] When the signal sample values obtained by the receiving end fall into the above threshold range in time, the detection logic can determine that the burst signal has gradually evolved from the initial appearance stage to the effective burst signal stage, and trigger the corresponding subsequent detection or wake-up processing.
[0036] In a preferred embodiment, the multi-level amplitude thresholds are dynamically updated based on the attenuation state of the communication link, including:
[0037] Step A1: Monitor the change in communication link attenuation parameters and compare the change with a preset change threshold.
[0038] Communication link attenuation parameters characterize the degree of signal amplitude attenuation caused by a communication link. They can be understood as a quantitative representation of the reduction ratio of the received signal amplitude relative to a reference amplitude, or the level of link loss, at the receiving end. For example, link attenuation parameters can be generated by a link attenuation monitoring circuit in a low-power system. This monitoring circuit can calculate a parameter value reflecting the degree of link attenuation based on the statistical amplitude, root mean square amplitude, peak amplitude, or amplitude measurement results based on physical layer training / calibration sequences of the sampled signal. In different implementations, link attenuation parameters can also be expressed as a dimensionless attenuation coefficient, an attenuation amount in dB, or a normalized amplitude ratio.
[0039] Link attenuation is susceptible to drift or abrupt changes due to various factors, such as variations in the contact state between the transmission medium and connector, noise changes caused by electromagnetic environment variations, or changes in the operating point of the analog front-end during device switching from low-power mode. These factors cause the signal amplitude level measured at the receiver to change relative to the reference amplitude, resulting in fluctuations in the link attenuation parameter over time. Since the multi-level amplitude thresholds are closely related to the amplitude level of burst signals, when link attenuation increases, the overall sampling amplitude of the same burst signal at the receiver decreases. If the old threshold configuration is still used, the sampling value of the burst signal in the initial or rising phase may fail to reach the corresponding threshold level, thus affecting the progress of the step-by-step detection process. Conversely, when link attenuation decreases, the overall sampling amplitude at the receiver increases. If the threshold remains at a low level, link noise or transient spikes are more likely to cross the threshold condition, thus changing the trigger probability of detection. Therefore, by continuously monitoring changes in the link attenuation parameter, the amplitude threshold can be updated synchronously in a timely manner when the link conditions change significantly, maintaining a constraint relationship between the multi-level amplitude thresholds and the current link conditions.
[0040] The preset change threshold is used to define the normal fluctuation range and the significant change range of the link attenuation parameter. When the change amplitude does not exceed the preset change threshold, the change of the link attenuation parameter is considered to be within the tolerable fluctuation range. At this time, the threshold update is not triggered to avoid unnecessary disturbances caused by frequent recalculation of the threshold due to small fluctuations. When the change amplitude exceeds the preset change threshold, the link attenuation state is considered to have changed significantly. At this time, the threshold generation parameter set is updated and the multi-level amplitude threshold is recalculated.
[0041] Step A2: When the change amplitude exceeds the preset change threshold, the update process of the threshold generation parameter set corresponding to the multi-level amplitude threshold is triggered.
[0042] In an exemplary implementation, the link attenuation parameter can be represented as a normalized attenuation coefficient α, with a value ranging from 0 to 1, where a smaller α indicates greater attenuation. The receiving end acquires two consecutive monitoring results α(t1) and α(t2) at a fixed monitoring period and calculates the change amplitude |α(t2)-α(t1)|; the preset change threshold can be set to 0.1 (corresponding to a 10% change threshold). When |α(t2)-α(t1)|>0.1, threshold update processing is triggered; when |α(t2)-α(t1)|≤0.1, the current multi-level amplitude threshold remains unchanged. Through the above processing, threshold updates can be triggered when the link attenuation state drifts significantly, while frequent updates are avoided when the link state is stable or only has minor fluctuations.
[0043] It should be noted that when triggering the update process, the multi-level amplitude thresholds are not adjusted one by one directly. Instead, the threshold generation parameter set used to generate the multi-level amplitude thresholds is updated first. The threshold generation parameter set describes the inherent relationship and calculation rules between the multi-level amplitude thresholds. It may include a proportional parameter to determine the proportional relationship between each level of threshold, an amplitude interval parameter to limit the interval between adjacent thresholds, and a reference amplitude parameter to determine the reference amplitude level. By updating the threshold generation parameter set, coordinated adjustment of all thresholds can be achieved while maintaining the consistency of the hierarchical relationship of the multi-level amplitude thresholds. This update process can be understood as triggering a parameter recalculation process, enabling the recalculation of the multi-level amplitude thresholds based on the updated threshold generation parameter set. This provides threshold inputs corresponding to the current link attenuation state for subsequent burst signal detection at each level.
[0044] Step A3: Generate a parameter set based on the updated threshold and determine the multi-level amplitude threshold.
[0045] In a preferred embodiment, step A3 specifically includes:
[0046] Step A301: Based on the reference amplitude parameter, determine the reference amplitude value used to characterize the reference amplitude level of the burst signal;
[0047] Step A302: Based on the scaling parameter, perform scaling calculations on the baseline amplitude value to generate candidate threshold amplitude values corresponding to different amplitude levels;
[0048] Step A303: Based on the amplitude interval parameter, perform hierarchical constraint processing on the candidate threshold amplitude values to obtain the threshold calculation results that satisfy the preset hierarchical relationship;
[0049] Step A304: Based on the threshold calculation results, determine the multi-level amplitude threshold.
[0050] Specifically, the receiving end acquires a continuous sequence of signal sample values within a preset statistical window. And based on the signal sample value sequence, a reference amplitude value for characterizing the reference amplitude level of the burst signal is calculated. .
[0051] In one implementation, the reference amplitude value can be calculated as an average amplitude, and can be expressed as:
[0052]
[0053] in, Let N be the amplitude value of the i-th sampling point, and N be the number of sampling points participating in the statistics.
[0054] In another embodiment, the reference amplitude value can also be calculated as the root mean square amplitude, which can be expressed as:
[0055]
[0056] In the presence of a calibration reference amplitude and link attenuation parameters In this case, the reference amplitude value can also be calculated from the calibration amplitude and the link attenuation parameter, and can be expressed as:
[0057]
[0058] Based on the set of proportional parameters { } For the reference amplitude value Perform proportional calculations to generate a set of candidate threshold amplitude values corresponding to different amplitude levels. The number of amplitude levels is M, corresponding to indices j=1,2,…,M.
[0059] The candidate threshold amplitude value can be expressed as:
[0060]
[0061] in, Let j be the candidate threshold amplitude value for the j-th amplitude level. is the scaling parameter for the j-th amplitude level.
[0062] The amplitude interval parameter is used to compare the amplitude values of each candidate threshold in order of their corresponding amplitude levels. When the amplitude values of the candidate thresholds do not meet the preset amplitude interval relationship, the corresponding candidate threshold amplitude values are adjusted or corrected to ensure that the thresholds corresponding to different amplitude levels maintain an increasing hierarchical relationship in terms of numerical values, and to avoid overlapping, inversion or excessively small intervals between adjacent thresholds.
[0063] In one implementation, an absolute amplitude interval parameter is used. Constraints are applied to the set of candidate threshold amplitude values { Perform hierarchical constraint processing to output the threshold calculation result that satisfies the preset hierarchical relationship. The threshold calculation result can be expressed as:
[0064]
[0065] in, Characterizing the threshold of the j-th amplitude level Compared to the ( Amplitude level threshold The minimum amplitude interval.
[0066] In another embodiment, a relative amplitude interval ratio parameter is used. To impose constraints, hierarchical constraints can be expressed as follows:
[0067]
[0068] In a further implementation, the absolute interval and the relative interval can be combined into a unified constraint form, for example:
[0069]
[0070] in, This is the preset minimum absolute amplitude interval parameter.
[0071] Output threshold calculation results { } as a set of multi-level amplitude thresholds for step-by-step detection And based on the amplitude level index j, the final threshold configuration is formed.
[0072] The multi-level amplitude threshold set can be represented as:
[0073]
[0074] And satisfy the following hierarchical relationship:
[0075]
[0076] By introducing a parameter cascade update and hierarchical constraint calculation mechanism, multi-level amplitude thresholds can be adaptively recalculated at the parameter level when the attenuation state of the communication link changes. This enables reliable detection of different amplitude stages of burst signals while maintaining the stability of the threshold hierarchy relationship.
[0077] Through steps A1-A3, the variation amplitude of communication link attenuation parameters can be continuously monitored. Based on the comparison between the variation amplitude and preset variation thresholds, significant changes in the link attenuation state are identified, triggering an update of the threshold generation parameter set corresponding to the multi-level amplitude thresholds. This transforms the threshold adjustment process from a step-by-step correction of individual amplitude thresholds to a parameter-level overall update based on threshold generation rules. Furthermore, the multi-level amplitude thresholds are redefined based on the updated threshold generation parameter set, ensuring that the generated amplitude thresholds at each level are structurally compatible with the current communication link attenuation state and maintain a stable and consistent hierarchical relationship between the multi-level amplitude thresholds. Therefore, even when communication link conditions change, it can still provide an accurate and effective amplitude determination benchmark for the step-by-step detection process of sudden signals.
[0078] In a preferred embodiment, in step S2, the progressive detection is used to control the detection process to advance or retreat step by step according to the determination result of the signal sample value and the current level amplitude threshold, and to determine that a valid burst signal has been detected when the signal sample value successively meets the detection conditions corresponding to each level amplitude threshold, including:
[0079] A state machine is used to control the state of the detection process corresponding to multiple amplitude thresholds. The state machine includes multiple detection states corresponding to different amplitude stages. Among them, the detection state corresponding to the lowest amplitude threshold is the initial detection state.
[0080] When the state machine is in any detection state, determine whether the signal sample value falls within the amplitude range corresponding to the current level amplitude threshold;
[0081] If the signal sample value falls within the amplitude range corresponding to the current level amplitude threshold, the signal sample value is judged based on the detection conditions of the corresponding level amplitude threshold;
[0082] When the judgment result meets the detection conditions, the control state machine switches to the detection state corresponding to the next level amplitude threshold, and when the signal sample value meets the detection conditions corresponding to each level amplitude threshold in the order of the multi-level amplitude threshold, it is determined that a valid burst signal has been detected.
[0083] When the signal sample value does not meet the detection condition corresponding to the next level amplitude threshold or the signal sample value does not fall within the amplitude range corresponding to the current level amplitude threshold, the control state machine returns to the initial detection state.
[0084] Reference Figure 2 As shown, the multi-level amplitude threshold step-by-step detection process based on a state machine may include the following steps:
[0085] Step S201: Initialize the state machine to put it in the initial detection state corresponding to the lowest level amplitude threshold;
[0086] Step S202: When the state machine is in any detection state, determine whether the signal sample value falls within the amplitude range corresponding to the current level amplitude threshold;
[0087] Step S203: If the signal sample value falls within the amplitude range corresponding to the current level amplitude threshold, the signal sample value is determined based on the detection conditions of the corresponding level amplitude threshold;
[0088] Step S204: When the judgment result meets the detection condition corresponding to the current level amplitude threshold, the control state machine switches to the detection state corresponding to the next level amplitude threshold;
[0089] Step S205: When the signal sampled values sequentially meet the detection conditions corresponding to each level of amplitude threshold according to the order of the multi-level amplitude threshold, it is determined that a valid burst signal has been detected;
[0090] Step S206: When the signal sample value does not meet the detection condition corresponding to the next level amplitude threshold, or the signal sample value does not fall within the amplitude range corresponding to the current level amplitude threshold, the control state machine returns to the initial detection state.
[0091] Specifically, the burst signal detection module at the receiving end uses a state machine to uniformly control the detection process corresponding to multiple amplitude thresholds. The state machine includes multiple detection states, each corresponding to a different amplitude stage in the multiple amplitude thresholds. The detection state corresponding to the lowest amplitude threshold is defined as the initial detection state.
[0092] Upon system startup, when the device transitions from low-power mode to listening mode, or after a detection cycle concludes, the state machine is initialized to the initial detection state. At this point, the detection module configures detection conditions only for the lowest amplitude threshold to monitor the slight amplitude changes in the initial stage of a burst signal, without determining the next amplitude threshold, thus avoiding unnecessary misjudgments before the signal has stabilized.
[0093] When the state machine is in any detection state, the detection module, based on the amplitude threshold corresponding to that detection state, determines the amplitude range of the signal sampled value output by the receiving end sampling circuit to ascertain whether the signal sampled value falls within the amplitude range corresponding to the current level amplitude threshold. After confirming that the signal sampled value falls within the amplitude range corresponding to the current level amplitude threshold, the detection module judges the signal sampled value based on the detection conditions of the corresponding level amplitude threshold. The detection conditions may include the amplitude comparison relationship between the signal sampled value and the corresponding amplitude threshold, and may further combine continuous sampling counts, time windows, or counting conditions for comprehensive judgment. For example, in a certain detection state, the detection module can determine whether the current sampled value is greater than or equal to the amplitude threshold corresponding to that state, and count the number of samples that meet the condition to distinguish between continuous valid signals and transient noise or glitches.
[0094] When the judgment result meets the detection conditions corresponding to the current level amplitude threshold, the state machine is controlled to switch to the detection state corresponding to the next level amplitude threshold. After the state machine switches, the detection module stops judging the current level amplitude threshold and starts configuring the detection conditions for the next level amplitude threshold, thereby realizing the detection process advancing step by step from low to high along multiple amplitude thresholds.
[0095] When the state machine sequentially completes the judgment of each detection state according to the multi-level amplitude threshold, and the signal sample value meets the detection condition corresponding to the highest level amplitude threshold, the detection module determines that the current burst signal is a valid burst signal. After determining that a valid burst signal has been detected, the detection module can output a valid signal indication to the low-power control module or the upper-level control unit to trigger the device to exit the low-power mode, resume normal communication, or execute subsequent processing procedures.
[0096] During the detection process, if, in any detection state, the signal sample value fails to meet the detection conditions corresponding to the next level amplitude threshold, or if the signal sample value does not fall within the amplitude range corresponding to the current level amplitude threshold (e.g., signal amplitude drops, or the continuous or counting conditions are not met within the preset detection time range), then the current detection process is deemed to have failed. At this point, the state machine is controlled to return to the initial detection state and re-monitor the lowest level amplitude threshold to wait for a new burst signal to appear. This backoff mechanism effectively avoids misjudging transient interference, short-term noise, or incomplete amplitude fluctuations as valid burst signals.
[0097] Through the aforementioned state switching mechanism, the detection process can proceed step by step according to the multi-level amplitude threshold from low to high, so that the detection process matches the gradual increase of the amplitude of the sudden signal, thereby improving the ability to suppress noise interference and glitch signals while ensuring detection sensitivity.
[0098] In a preferred embodiment, the detection conditions corresponding to the level amplitude threshold include:
[0099] Within a preset detection time range, the signal sample value is continuously sampled. Based on the continuous sampling results, the number of times the signal sample value exceeds the corresponding level amplitude threshold is counted. When the number of occurrences meets the preset number condition, the detection condition of the corresponding level amplitude threshold is determined to be valid. When the number of occurrences does not meet the preset number condition, the detection condition of the corresponding level amplitude threshold is determined to be invalid.
[0100] The detection conditions for the corresponding amplitude threshold can be implemented using a joint determination method based on time windows and the number of occurrences. Specifically, during the step-by-step detection process, when the state machine is in the detection state corresponding to a certain amplitude level, the detection module continuously samples the signal sample value output by the receiving end sampling circuit within a preset detection time range. The preset detection time range can be limited by the number of system clock cycles, the number of sampling points, or a combination thereof.
[0101] During continuous sampling, instances where sampled values exceed amplitude thresholds are recorded and statistically analyzed to obtain the number of times the signal sampled value exceeds the corresponding amplitude threshold within the detection time range. This frequency reflects the sustained characteristics of the signal at the current amplitude level, rather than a single instantaneous amplitude change.
[0102] The statistically obtained occurrence count is compared with a preset count condition. When the occurrence count reaches or exceeds the preset count condition, the signal is considered to continuously meet the requirements of the corresponding level amplitude threshold within the current detection time range, thus determining that the detection condition of the corresponding level amplitude threshold is valid. When the occurrence count does not reach the preset count condition, the detection condition of the corresponding level amplitude threshold is determined to be invalid. In the case of invalid detection conditions, the step-by-step detection process does not enter the detection state corresponding to a higher level amplitude threshold, but instead returns to the initial detection state or maintains the current state according to the established detection logic.
[0103] By introducing a frequency statistics mechanism within a preset detection time range, the system performs cumulative judgment within a time window when the signal sample value exceeds the corresponding level amplitude threshold. This ensures that the amplitude judgment process is simultaneously constrained by time continuity, thereby avoiding detection and judgment based solely on the instantaneous amplitude change of a single sampling point.
[0104] In one exemplary embodiment, the multi-level amplitude thresholds include a first-level amplitude threshold T1, a second-level amplitude threshold T2, and a third-level amplitude threshold T3, which are set in ascending order of amplitude magnitude, corresponding to the initial weak phase, the amplitude rising phase, and the effective amplitude phase of the burst signal, respectively. The state set of the state machine includes multiple detection states, each of which corresponds one-to-one with a multi-level amplitude threshold.
[0105] In the initial detection state (first-level detection state), the state machine only uses the first-level amplitude threshold T1 to monitor the signal sample value. That is, the signal sample value V output by the sampling circuit. n If the signal falls within the amplitude range corresponding to the first-level amplitude threshold T1, the frequency of the signal sample value is further counted to see if it exceeds the number set by the first-level amplitude threshold T1. When the frequency exceeds the number set by T1 within the preset detection time range, the detection condition corresponding to the first-level amplitude threshold is determined to be met, and the state machine is controlled to switch to the detection state corresponding to the second-level amplitude threshold T2. In this stage, the trigger result is only regarded as an indication that the signal has entered the rising phase, and is not directly judged as a valid burst signal, so as to avoid misjudging the initial weak interference or transient noise.
[0106] In the second-level detection state, the state machine, within a preset detection time range after switching from the first-level detection state, uses the second-level amplitude threshold T2 to detect the signal sample value. When the signal sample value falls within the amplitude range corresponding to the second-level amplitude threshold T2, a statistical determination is made within this time range as to whether the signal sample value continuously exceeds the second-level amplitude threshold T2. That is, the signal sample value V... n When the number of occurrences within this time range reaches the number set for the second-level amplitude threshold T2, the detection condition corresponding to the second-level amplitude threshold is determined to be met, and the state machine is controlled to switch to the detection state corresponding to the third-level amplitude threshold T3. During this stage, by setting this detection state, it can be confirmed that the burst signal has entered a continuously rising and relatively stable amplitude phase, thereby further eliminating transient interference or incomplete amplitude fluctuations.
[0107] In the third-level detection state, the state machine uses the third-level amplitude threshold T3 to perform final detection on the signal sample value. When the signal sample value V... n (n represents the sampling point index, V) n The signal amplitude value corresponding to the nth sampling point falls within the amplitude range corresponding to the third-level amplitude threshold T3. Within this time range, a statistical determination is made as to whether the signal sampling value exceeds the third-level amplitude threshold T3, i.e., the signal sampling value V n When the number of occurrences within this time frame reaches the number set by the third-level amplitude threshold T3, the detection condition corresponding to the third-level amplitude threshold is determined to be met. At this point, the state machine no longer switches to higher-level detection states, confirming that a valid burst signal has been detected and marking it as a valid signal.
[0108] After confirming the detection of a valid burst signal, the detection module can output a valid signal indication to the low-power control module or the upper-level control unit to trigger the device to exit low-power mode, resume normal communication, or execute subsequent data reception and processing procedures. Subsequently, the state machine is reset after completing the valid burst signal determination, returning to the initial detection state to perform a new round of detection for any subsequent burst signals.
[0109] If, under any detection state, the signal sample value fails to remain within the amplitude range corresponding to the current amplitude threshold, for example, if the sample value falls below the corresponding threshold under the first or second level detection state, or if the number of times the current level amplitude threshold is not reached within the preset detection time range, then the current detection process is determined to be invalid, the state machine returns to the initial detection state, and the burst signal is re-monitored, thereby avoiding misjudging short-term amplitude jitter or incomplete bursts as valid signals.
[0110] In other exemplary embodiments, the multi-level amplitude threshold may also include more than three levels of amplitude thresholds, such as a fourth-level amplitude threshold T4, a fifth-level amplitude threshold T5, etc. Each level of amplitude threshold is also set in ascending order of amplitude size to further subdivide the different stages of change of the burst signal during the amplitude rise process.
[0111] In summary, the multi-level threshold progressive detection method for burst signals provided in this application no longer adopts a burst signal judgment method based on a single fixed threshold. Instead, it addresses the gradual amplitude change characteristic of burst signals from weak to strong, which is common in actual link transmission. By introducing multi-level amplitude thresholds and combining them with progressively triggered detection logic, the signal sample values are detected in stages and progressively. This allows the detection process to cover the initial weak stage of the burst signal and continuously track its amplitude evolution, fundamentally avoiding the problems of missed initial signal detection and increased detection delay caused by excessively high threshold settings in existing technologies. At the same time, by controlling the progressive advancement or retreat of the detection process based on the judgment results of each level of threshold, the detection has clear stage constraints. When the signal amplitude fails to continuously meet the conditions of higher-level thresholds, it can retreat in time, effectively suppressing false triggering caused by noise spikes or transient interference, thereby significantly improving anti-interference capability. Therefore, the solution proposed in this application takes into account both rapid response and reliable judgment when detecting sudden signals. It can achieve coordinated optimization of low-latency wake-up and low false judgment rate in low-power operation scenarios. It is suitable for application scenarios that rely on low-power mode operation, such as Ethernet physical layer chips, network switching equipment and industrial Ethernet nodes, and is especially suitable for signal wake-up requirements in low-power idle mode.
[0112] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this application. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this application.
[0113] Some embodiments of this application also relate to a multi-level threshold progressive detection system for burst signals, see reference Figure 3 As shown, it includes:
[0114] The sampling module is used to acquire the burst signal to be detected and to sample the burst signal to obtain the signal sample value;
[0115] The step-by-step detection module is used to progressively detect the signal sample value based on preset multi-level amplitude thresholds and according to the step-by-step triggering detection logic. The multi-level amplitude thresholds correspond to different amplitude stages of the burst signal from weak to strong.
[0116] The state control module is used to control the step-by-step detection module to advance or retreat step by step according to the multi-level amplitude threshold based on the judgment result of the signal sampling value and the current level amplitude threshold, and to determine that a valid burst signal has been detected when the signal sampling value successively meets the detection conditions corresponding to each level amplitude threshold.
[0117] This system can be deployed at the receiving end of a low-power communication device to detect sudden wake-up signals on the communication link when the device is in a low-power monitoring state, and trigger the device to exit low-power mode when a valid sudden signal is detected. The system includes at least a sampling module, a step-by-step detection module, and a state control module, and may further include a threshold configuration module and a threshold dynamic calibration module. The modules can communicate and work together through on-chip bus, register interface, or signal connection.
[0118] Specifically, the sampling module may include analog front-end circuitry and analog-to-digital conversion circuitry, used to sample the amplitude of the received signal on the communication link and output a discrete sequence of digital sampled values according to a preset sampling frequency. Burst signals can be wake-up signals sent by the peer device under low-power communication mechanisms, and their amplitude typically exhibits a gradual change from weak to strong. The sampling module maintains its monitoring capability even when the system is in low-power mode, continuously acquiring link signals with low power consumption.
[0119] The threshold configuration module stores and provides multiple configurable amplitude threshold parameters to form a multi-level amplitude threshold set for step-by-step detection of burst signals. The multi-level amplitude thresholds are set in ascending order of amplitude magnitude, corresponding to different amplitude stages in the process of burst signal change from weak to strong.
[0120] In one exemplary embodiment, the multi-level amplitude threshold may include at least three levels of amplitude thresholds, such as a first-level amplitude threshold T1, a second-level amplitude threshold T2, and a third-level amplitude threshold T3. The first-level amplitude threshold is used to adapt to the initial weak phase of the burst signal, and its value can be configured based on a first preset proportion range of the normal amplitude of the burst signal. The second-level amplitude threshold is used to adapt to the amplitude rising phase of the burst signal, and its value can be configured based on a second preset proportion range of the normal amplitude of the burst signal. The third-level amplitude threshold is used to adapt to the phase where the burst signal reaches an effective amplitude, and its value can be configured based on a third preset proportion range of the normal amplitude of the burst signal. It should be noted that the number of amplitude thresholds, their proportion ranges, and the intervals between adjacent thresholds can all be configured according to system design requirements and are not limited to specific example values.
[0121] The step-by-step detection module is used to progressively detect signal sample values based on multi-level amplitude thresholds provided by the threshold configuration module, following a step-by-step triggering detection logic. During the detection process, the step-by-step detection module only activates the amplitude threshold corresponding to the current detection stage, determining whether the signal sample value falls within the amplitude range corresponding to that level's threshold, and performing detection processing in conjunction with the corresponding detection conditions. This step-by-step detection method matches the detection process to the gradually increasing amplitude characteristics of sudden signals, thereby reducing the probability of misjudging transient noise or weak interference signals.
[0122] The state control module controls the detection process of the step-by-step detection module based on the judgment result of the signal sample value and the current level amplitude threshold. The state control module can be implemented using a state machine, whose state set includes multiple detection states corresponding to different amplitude stages. The detection state corresponding to the lowest level amplitude threshold is the initial detection state. Based on the judgment result output by the step-by-step detection module, the state control module controls the detection process to advance or retreat step-by-step between different detection states: when the signal sample value meets the detection condition of the corresponding level amplitude threshold in the current detection state, the step-by-step detection module switches to the detection state corresponding to the next level amplitude threshold; when the signal sample value does not meet the detection condition of the next level amplitude threshold, or the signal sample value does not fall within the amplitude range corresponding to the current level amplitude threshold, the detection process returns to the initial detection state.
[0123] The threshold dynamic calibration module dynamically updates and calibrates the multi-level amplitude thresholds stored in the threshold configuration module based on the attenuation status of the communication link. The module has a built-in link attenuation monitoring interface and connects to the link attenuation detection circuit in the low-power system to acquire link attenuation parameters characterizing the current signal attenuation level in real time. During system operation, the threshold dynamic calibration module continuously monitors the change amplitude of the link attenuation parameters and compares it with a preset change threshold. When the change amplitude of the link attenuation parameters exceeds the preset change threshold, the multi-level amplitude threshold update process is triggered.
[0124] In one exemplary implementation, when an increase in link attenuation is detected, the threshold dynamic calibration module can coordinately adjust the amplitude thresholds at each level according to the proportion of the link attenuation change, so that the overall amplitude thresholds match the actual amplitude level of the received signal under the current link. When updating, the threshold dynamic calibration module can prioritize adjusting the threshold generation parameters used to generate the multi-level amplitude thresholds, rather than modifying each level of amplitude threshold in isolation, thereby maintaining a stable and consistent hierarchical relationship between the multi-level amplitude thresholds when link conditions change.
[0125] When the status control module detects that the signal sample value meets the detection conditions corresponding to each level of amplitude threshold in the order of the multi-level amplitude threshold, it determines that a valid burst signal has been detected and outputs a valid burst signal indication to the low-power control module or the upper-level control unit to trigger the device to exit the low-power mode, resume normal communication, or execute subsequent processing procedures.
[0126] The content described in the above embodiments of the multi-level threshold step-by-step detection method for burst signals is applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those in the above embodiments of the multi-level threshold step-by-step detection method for burst signals, and the beneficial effects achieved are also the same as those achieved in the above embodiments of the multi-level threshold step-by-step detection method for burst signals. To reduce repetition, further details are omitted here.
[0127] Furthermore, some embodiments of this application also provide an electronic device. The electronic device can be various forms of digital computer, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, etc. The electronic device can also be various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices.
[0128] The electronic device includes: one or more processors; and a memory storing computer program instructions, which, when executed, cause the processor to perform a burst signal multi-level threshold step-by-step detection method as provided in any one or more of the above embodiments. Figure 4 An exemplary structural diagram of the electronic device is disclosed. The electronic device includes one or more processors 1101, a memory 1102, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components are interconnected via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some other embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple electronic devices can be connected, each providing some of the necessary operations. The components, their connections and relationships, and their functions shown herein are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0129] The electronic device may further include an input device 1103 and an output device 1104. The processor 1101, memory 1102, input device 1103, and output device 1104 may be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0130] Input device 1103 can receive input numerical or character information, and generate key signal inputs related to user settings and function control of the electronic device, such as a touch screen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 1104 may include a display device, auxiliary lighting device (e.g., LED), and haptic feedback device (e.g., vibration motor). The display device may include, but is not limited to, a liquid crystal display, a light-emitting diode display, and a plasma display. In some embodiments, the display device may be a touch screen.
[0131] To provide interaction with the user, the electronic device can be a computer. The computer has: a display device (e.g., a cathode ray tube or LCD monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback); and input from the user can be received in any form (e.g., voice input or tactile input).
[0132] In this embodiment, a computer-readable medium stores a computer program / instruction, which, when executed by a processor, implements a burst signal multi-level threshold step-by-step detection method provided in any one or more of the above embodiments. The computer-readable medium may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more computer-readable instructions.
[0133] The memory 1102 can serve as a non-transitory computer-readable storage medium, used to store non-transitory software programs, non-transitory computer-executable programs, and modules. The processor 1101 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions, and modules stored in the memory 1102, thereby implementing the program instructions / modules corresponding to the methods provided in any one or more of the embodiments described above in this application.
[0134] The memory 1102 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the electronic device. Furthermore, the memory 1102 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1102 may optionally include memory remotely located relative to the processor 1101, and these remote memories can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0135] It should be noted that the computer-readable medium described in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0136] Computer-readable media include permanent and non-permanent, removable and non-removable media, which can store information by any method or technology. 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, static random access memory, dynamic random access memory, other types of random access memory, read-only memory, electrically erasable programmable read-only memory, flash memory or other memory technologies, read-only optical discs, digital versatile optical discs or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0137] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including local area networks (LANs) or wide area networks (WANs), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0138] In the above embodiments, all or part of the implementation can be achieved through software, hardware, firmware, or any combination thereof. For example, it can be implemented using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In some embodiments, the software program of this application can be executed by a processor to implement the above steps or functions. Similarly, the software program of this application (including related data structures) can be stored in a computer-readable recording medium, such as RAM memory, magnetic or optical drives, floppy disks, and similar devices. In addition, some steps or functions of this application can be implemented in hardware, for example, as circuitry that cooperates with a processor to perform the various steps or functions.
[0139] The computer program product provided in this application includes one or more computer programs / instructions. When executed by a processor, these computer programs / instructions generate, in whole or in part, the processes or functions described in this application. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0140] The flowcharts or block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-specific system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0141] The scope of this application is defined by the appended claims rather than the foregoing description, and is therefore intended to encompass all variations falling within the meaning and scope of equivalents of the claims. No reference numerals in the claims should be construed as limiting the scope of the claims. Furthermore, it is clear that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Terms such as "first," "second," etc., are used only to distinguish descriptions and do not indicate any particular order, nor should they be construed as indicating or implying relative importance.
[0142] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily made by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims, and the above embodiments should be regarded as exemplary and non-limiting.
Claims
1. A method for step-by-step detection of burst signals using multi-level thresholds, characterized in that, include: Acquire the burst signal to be detected, and sample the burst signal to obtain the signal sample value; Based on preset multi-level amplitude thresholds, the signal sample value is progressively detected according to the detection logic triggered step by step. The multi-level amplitude thresholds correspond to different amplitude stages of the burst signal from weak to strong. The progressive detection is used to control the detection process to advance or retreat step by step according to the determination result of the signal sample value and the current level amplitude threshold. When the signal sample value successively meets the detection conditions corresponding to each level amplitude threshold, it is determined that a valid burst signal has been detected. The multi-level amplitude threshold is dynamically updated based on the attenuation state of the communication link, specifically including: Monitor the magnitude of change in communication link attenuation parameters and compare the magnitude of change with a preset change threshold; When the change amplitude exceeds the preset change threshold, an update process is triggered for the threshold generation parameter set corresponding to the multi-level amplitude threshold. The threshold generation parameter set includes a ratio parameter, an amplitude interval parameter, and a reference amplitude parameter. Based on the updated threshold, a parameter set is generated, and the multi-level amplitude threshold is determined, including: Based on the aforementioned reference amplitude parameter, a reference amplitude value is determined to characterize the reference amplitude level of the burst signal; Based on the ratio parameter, the baseline amplitude value is proportionally calculated to generate candidate threshold amplitude values corresponding to different amplitude levels; Based on the amplitude interval parameter, the candidate threshold amplitude values are subjected to hierarchical constraint processing to obtain the threshold calculation result that satisfies the preset hierarchical relationship; Based on the threshold calculation results, the multi-level amplitude threshold is determined.
2. The method for step-by-step detection of burst signals at multiple thresholds according to claim 1, characterized in that, The multi-level amplitude threshold includes multiple threshold intervals set in ascending order of amplitude. The threshold intervals are used to cover different amplitude ranges in the process of the burst signal changing from weak to strong, and each threshold interval is configured according to a preset ratio range based on the normal amplitude of the burst signal.
3. The method for step-by-step detection of burst signals at multiple thresholds according to claim 1, characterized in that, The step of controlling the detection process to advance or retreat step by step according to the determination result of the signal sample value and the current level amplitude threshold, and determining that a valid burst signal has been detected when the signal sample value successively meets the detection conditions corresponding to each level amplitude threshold, includes: A state machine is used to control the state of the detection process corresponding to multiple amplitude thresholds. The state machine includes multiple detection states corresponding to different amplitude stages, wherein the detection state corresponding to the lowest amplitude threshold is the initial detection state. When the state machine is in any detection state, it is determined whether the signal sample value falls within the amplitude range corresponding to the current level amplitude threshold. If the signal sample value falls within the amplitude range corresponding to the current level amplitude threshold, the signal sample value is determined based on the detection conditions of the corresponding level amplitude threshold; When the determination result meets the detection conditions, the state machine is controlled to switch to the detection state corresponding to the next level amplitude threshold. When the signal sample value meets the detection conditions corresponding to each level amplitude threshold in the order of the multi-level amplitude threshold, it is determined that a valid burst signal has been detected. If the signal sample value does not meet the detection condition corresponding to the next level amplitude threshold or the signal sample value does not fall within the amplitude range corresponding to the current level amplitude threshold, the state machine is controlled to return to the initial detection state.
4. The method for step-by-step detection of burst signals at multiple thresholds according to claim 3, characterized in that, The detection conditions for the corresponding level amplitude threshold include: Within a preset detection time range, the signal sample value is continuously sampled. Based on the continuous sampling results, the number of times the signal sample value exceeds the corresponding level amplitude threshold is counted. When the number of occurrences meets the preset number condition, the detection condition of the corresponding level amplitude threshold is determined to be valid. When the number of occurrences does not meet the preset number condition, the detection condition of the corresponding level amplitude threshold is determined to be invalid.
5. A multi-level threshold step-by-step detection system for burst signals, characterized in that, include: The sampling module is used to acquire the burst signal to be detected and to sample the burst signal to obtain the signal sampling value; The step-by-step detection module is used to progressively detect the signal sample value based on a preset multi-level amplitude threshold and according to a step-by-step triggering detection logic. The multi-level amplitude thresholds correspond to different amplitude stages of the burst signal from weak to strong. The state control module is used to control the step-by-step detection module to advance or retreat step by step according to the multi-level amplitude threshold based on the determination result of the signal sampling value and the current level amplitude threshold, and to determine that a valid burst signal has been detected when the signal sampling value successively meets the detection conditions corresponding to each level amplitude threshold. The multi-level amplitude threshold is dynamically updated based on the attenuation state of the communication link, specifically including: Monitor the magnitude of change in communication link attenuation parameters and compare the magnitude of change with a preset change threshold; When the change amplitude exceeds the preset change threshold, an update process is triggered for the threshold generation parameter set corresponding to the multi-level amplitude threshold. The threshold generation parameter set includes a ratio parameter, an amplitude interval parameter, and a reference amplitude parameter. Based on the updated threshold, a parameter set is generated, and the multi-level amplitude threshold is determined, including: Based on the aforementioned reference amplitude parameter, a reference amplitude value is determined to characterize the reference amplitude level of the burst signal; Based on the ratio parameter, the baseline amplitude value is proportionally calculated to generate candidate threshold amplitude values corresponding to different amplitude levels; Based on the amplitude interval parameter, the candidate threshold amplitude values are subjected to hierarchical constraint processing to obtain the threshold calculation result that satisfies the preset hierarchical relationship; Based on the threshold calculation results, the multi-level amplitude threshold is determined.
6. An electronic device, characterized in that, The electronic device includes: One or more processors; and a memory storing computer program instructions, which, when executed, cause the processors to perform the burst signal multi-level threshold step-by-step detection method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program and / or instructions stored thereon, characterized in that, When the computer program and / or instructions are executed by the processor, they implement the multi-level threshold step-by-step detection method for burst signals as described in any one of claims 1-4.
8. A computer program product, comprising a computer program and / or instructions, characterized in that, When the computer program and / or instructions are executed by the processor, they implement the burst signal multi-level threshold step-by-step detection method as described in any one of claims 1-4.
Citation Information
Patent Citations
Active safety control system and method
CN115079607A
Control method and system of energy storage PCS with AC / DC circuit breaker, and storage medium
CN120896209A