Event detection controller and method
By detecting specific patterns of pulse modulation signals through an event detection controller, the security and signal reliability of the circuit system are guaranteed. This solves the security problem of the circuit system when the pulse modulation signal is attacked. It also enables external device control in low-power mode, achieving the effect of system security and low power consumption.
Patent Information
- Application Number
- CN202210228276.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-30
- Filing Date
- 2022-03-08
- Publication Date
- 2026-03-03
- Estimated Expiration
- 2042-03-08
AI Technical Summary
Existing circuit systems cannot effectively guarantee security and signal reliability when pulse-modulated signals are attacked by hackers or affected by environmental changes, leading to operational errors.
An event detection controller, including a pulse detector, an event discrimination module, and an event response module, is adopted. By detecting the specific pattern of the pulse modulation signal, internal and external synchronous control is performed to meet safety requirements. It can also output various waveforms and connect to external devices to achieve low power consumption.
It enables the detection and control of specific events in the circuit system, ensuring safety and signal reliability. At the same time, it enables the control of external devices in a low-power mode, avoiding the wake-up of the processing unit, thus achieving the requirements of system safety and low power consumption.
Smart Images

Figure CN116414100B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an event detection controller and method for a circuit system controlled by pulse modulation signals, and in particular, to an event detection controller and method that can perform internal and external synchronous control to achieve safety requirements, perform internal control to achieve diverse waveform outputs, and / or perform external control to connect to external peripheral devices to achieve low power consumption requirements when a specific event is detected. Background Technology
[0002] Most existing circuit systems employ pulse modulation devices for control purposes, such as power supply control or logic circuit control. These devices typically include counters and comparators, which determine the waveform of the pulse-modulated signal. Hackers may use methods such as temperature attacks to influence the waveform of the pulse-modulated signal. Changes in the operating environment and circuit aging can also affect the waveform. If the pulse-modulated signal output by the device is faulty, the entire circuit system will malfunction, failing to meet basic security requirements and signal reliability. Summary of the Invention
[0003] This invention provides an event detection controller. This event detection controller is used in a circuit system controlled by a pulse modulation signal, and includes a pulse detector, an event discrimination module, and an event response module. The event discrimination module is electrically connected to the pulse detector, and the event response module is electrically connected to the event discrimination module. The pulse detector receives a set detection configuration and a pulse modulation signal from a pulse modulation device to detect whether the pulse modulation signal has a specific pattern corresponding to the detection configuration, and generates a detection result signal, wherein the specific pattern includes a specific duty cycle, a specific edge, and / or a specific level. The event discrimination module receives the detection result signal, updates the cumulative occurrence count of the specific pattern based on the detection result signal, and generates a specific event signal based on the cumulative occurrence count of the specific pattern. The event response module receives a specific event signal and a specific event state corresponding to the detection state, and performs specific event handling defined according to the specific event signal and the specific event state. The specific event handling includes stopping the pulse modulation device, starting the stopped pulse modulation device, controlling the pulse modulation device to change the pulse modulation signal, outputting a wake-up signal to wake up the circuit system, controlling the pulse detector to change the detection state, changing the cumulative occurrence number of specific patterns of the event discrimination module, outputting a control signal or a first data signal to peripheral devices through the bus connected to it, and / or requesting the transmission of a second data signal to peripheral devices through the bus connected to it.
[0004] This invention also provides a circuit system including the event detection controller, the pulse modulation device, and the load circuit described above. Furthermore, this invention also provides a method for using the event detection controller described above.
[0005] In summary, the event detection controller and method of the present invention can detect specific events of the circuit system, and can perform internal and external synchronous control to achieve safety requirements, perform internal control to achieve diverse waveform outputs, and / or perform external control to connect external peripheral devices to achieve low power consumption requirements when a specific event is detected.
[0006] To further understand the technology, means, and effects of the present invention, reference can be made to the following detailed description and accompanying drawings, which will provide a thorough and concrete understanding of the purpose, features, and concepts of the present invention. However, the following detailed description and accompanying drawings are for reference and illustration only and are not intended to limit the present invention. Attached Figure Description
[0007] The accompanying drawings are provided to enable those skilled in the art to further understand the invention and are incorporated in and constitute a part of the specification of the invention. The drawings illustrate exemplary embodiments of the invention and are used together with the specification to explain the principles of the invention.
[0008] Figure 1 This is a block diagram of an event detection controller for a circuit system controlled by a pulse-modulated signal according to an embodiment of the present invention.
[0009] Figure 2A This is a waveform diagram of an event detection controller for a circuit system controlled by a pulse-modulated signal according to an embodiment of the present invention, showing the specific event handling performed by the controller for a specific event.
[0010] Figure 2B This is a waveform diagram of an event detection controller for a circuit system controlled by a pulse-modulated signal according to an embodiment of the present invention, showing the specific event handling performed by the controller for another specific event.
[0011] Figure 2C This is a waveform diagram of an event detection controller for a circuit system controlled by a pulse-modulated signal according to an embodiment of the present invention, showing the specific event handling performed by the controller for another specific event.
[0012] Figure 3 This is a flowchart of an event detection control method for a circuit system controlled by a pulse modulation signal, according to an embodiment of the present invention.
[0013] The reference numerals in the attached figures are explained as follows: 1: Circuit system; 10: Pulse modulation device; 11: Event detection controller; 103: Pulse output controller; 101, 1121: Counter; 102, 1122: Comparator; 111: Pulse detector; 112: Event discrimination module; 113: Event response module; 1131: Event responder; 1132: Value modifier; 104, 105, 114-117: Buffer; WAK: Wake-up signal; PEP: Peripheral device; BRK: Stop signal; CLK: Clock signal; PWM_OUT: Output pulse modulation signal; S31-S35: Steps. Detailed Implementation
[0014] Reference will now be made in detail to exemplary embodiments of the invention, which are illustrated in the accompanying drawings. Where possible, the same component reference numerals are used in the drawings and description to refer to the same or similar parts. Furthermore, the exemplary embodiments are merely one way of implementing the design concept of the invention, and the following examples are not intended to limit the invention.
[0015] This invention provides an event detection controller and method for a circuit system controlled by pulse modulation signals. It can detect specific events of the circuit system and can perform internal and external synchronous control to achieve safety requirements, perform internal control to achieve diverse waveform outputs, and / or perform external control to connect to external peripheral devices to achieve low power consumption requirements when a specific event is detected.
[0016] The aforementioned internal and external synchronization control to achieve security requirements includes, for example, the ability to feedback-modulate the detection state and the cumulative occurrence count of a specific pattern for a specific event, and to transmit specific data to external peripheral devices when necessary. This allows for the detection of multiple consecutive specific events, establishing connections between them, and enabling external peripheral devices to record specific data (e.g., modulation parameters, reports, or other circuit system parameters) when the pulse modulation equipment is stopped, thereby achieving overall system security protection. For example, under a temperature attack, there might be clock signal drift issues, such as a temperature rise attack. To counter such an attack, one can first detect whether the cumulative occurrence count of a specific pattern with a pulse modulation signal's duty period below 70% exceeds twice. If the cumulative occurrence count exceeds twice, then the cumulative occurrence count is reset, and the detection method changes to detecting whether the cumulative occurrence count exceeds twice for a specific pattern with a pulse modulation signal's duty period below 50%. If the cumulative occurrence count exceeds twice for a specific pattern with a pulse modulation signal's duty period below 50%, the clock signal modulation equipment can be stopped to prevent the aforementioned attack. Meanwhile, reports of multiple consecutive specific events can be transmitted to external peripheral devices for subsequent debugging or review.
[0017] Furthermore, the aforementioned internal control to achieve diverse waveform outputs refers to the method of feedback control of the pulse modulation device to modulate the pulse based on specific events (the waveform of the pulse modulation signal used to represent internal state events). When the circuit system operates in a low-power mode such as standby, the event detection controller remains electrically connected to the pulse modulation device, and the aforementioned internal control can determine whether to modify the values of the comparators and / or counters in the pulse modulation device to output more varied pulse modulation signal waveforms based on internal state events, without the need for intervention from the processing unit in the circuit system. The aforementioned external control refers to accessing and controlling peripheral devices based on specific events when the circuit system is in a low-power mode (the processing unit is in sleep mode, but other components are also in low-power mode), without needing to wake up the processing unit of the circuit system for control.
[0018] Further details are as follows Figure 1 As shown, Figure 1 This is a block diagram of an event detection controller for a circuit system controlled by a pulse-modulated signal, according to an embodiment of the present invention. The circuit system 1 includes a pulse modulation device 10, an event detection controller 11, and a load circuit (not shown). Figure 1 (In the middle), and the pulse modulation device 10 is electrically connected to the event detection controller 11 and the load circuit. The load circuit is, for example, a power management circuit, a digital processing circuit, or a control circuit, and is controlled by the pulse modulation signal.
[0019] The pulse modulation device 10 is a pulse width modulation device, and the pulse modulation signal is a pulse width modulation signal. The pulse modulation device 10 receives a clock signal CLK and generates a pulse modulation signal from the clock signal CLK. As mentioned above, the pulse modulation signal can be the pulse modulation signal during the modulation process, or it can be the output pulse modulation signal PWM_OUT finally sent to the circuit system 1. Broadly speaking, whether it is the pulse modulation signal during the modulation process or the output pulse modulation signal PWM_OUT, it will ultimately affect the control of the circuit system 1. Therefore, detecting the pulse modulation signal can be detecting the pulse modulation signal during the modulation process or the output pulse modulation signal PWM_OUT, and this invention is not limited thereto.
[0020] The pulse modulation device 10 includes a counter 101, a comparator 102, and a pulse output controller 103. The counter 101 is electrically connected to the comparator 102, the comparator 102 is electrically connected to the pulse output controller 103, and the pulse output controller 103 is electrically connected to an event detection controller 11 and a load circuit. The counter 101 receives a clock signal CLK and updates its count value according to the clock signal CLK. The comparator 102 receives a comparison reference value and the count value of the counter 101, compares them, and generates a comparison signal. The pulse output controller 103 receives the comparison signal output by the comparator 102 and generates a pulse modulation signal and outputs a pulse modulation signal PWM_OUT. The pulse output controller 103 can be implemented using multiple delay circuits and multiple logic circuits, but this invention is not limited thereto. The pulse modulation device 10 also includes buffers 104 and 105, which are electrically connected to counter 101 and comparator 102 respectively, and temporarily store the initial value of the count value of counter 101 and the initial value of the comparison reference value received by comparator 102 respectively.
[0021] The event detection controller 11 includes a pulse detector 111, an event discrimination module 112, and an event response module 113. The event discrimination module 112 is electrically connected to the pulse detector 111, and the event response module 113 is electrically connected to the event discrimination module 112. The pulse detector 111 receives a set detection configuration and a pulse modulation signal from the pulse output controller 103, such as, but not limited to, the pulse modulation signal during the modulation process of the pulse output controller 103 or the output pulse modulation signal PWM_OUT, to detect whether the pulse modulation signal has a specific pattern corresponding to the detection configuration and generate a detection result signal. The specific pattern includes a specific duty cycle, a specific edge, and / or a specific level. The duty cycle refers to the ratio between the continuous duration of the logic high level and the period of the pulse modulation signal. The specific edge includes rising edges and falling edges, and the specific level includes, for example, logic high level and logic low level.
[0022] The event discrimination module 112 receives the detection result signal, updates the cumulative occurrence count of a specific pattern based on the detection result signal, and generates a specific event signal based on the cumulative occurrence count of the specific pattern. The event response module 113 receives the specific event signal and the specific event state corresponding to the detection state, and performs specific event handling defined according to the specific event state based on the specific event signal. The specific event handling includes stopping the pulse modulation device 10 (via the transmission of the stop signal BRK), starting the stopped pulse modulation device 10, controlling the pulse modulation device 10 to change the pulse modulation signal, outputting a wake-up signal WAK to wake up the circuit system 1, controlling the pulse detector 111 to change the detection state, changing the cumulative occurrence count of the specific pattern of the event discrimination module 112, outputting a control signal or a first data signal to the peripheral device PERP through the bus connected to it, and / or requesting the peripheral device PERP to transmit a second data signal through the bus connected to it.
[0023] The event discrimination module 112 includes a counter 1121 and a comparator 1122, with the counter 1121 electrically connected to the comparator 1122. The counter 1121 counts based on the detection result signal to update the cumulative occurrence count of a specific pattern, and the comparator 1122 compares the cumulative occurrence count of the specific pattern with a comparison reference value, thereby generating a specific event signal.
[0024] The event response module 113 includes an event responder 1131 and a value modifier 1132, with the event responder 1131 electrically connected to the value modifier 1132. The event responder 1131 receives a specific event signal and, based on the specific event signal, generates a value control signal, stops the pulse modulation device 10, starts the stopped pulse modulation device 10, outputs a wake-up signal WAK to wake up the circuit system 1, controls the pulse detector 111 to change its detection state, changes the cumulative occurrence count of a specific pattern in the event discrimination module 1121, and outputs a control signal or a first data signal to peripheral devices and PERP via its connected bus, / or requests the peripheral device PERP to transmit a second data signal via its connected bus. The value modifier 1132 receives the value control signal and generates a value modification signal for the pulse modulation device 10 to change the count value of the counter 101 of the pulse modulation device 10 and / or the comparison reference value received by the comparator 102.
[0025] The event detection controller 11 further includes multiple buffers 114-118, which are electrically connected to the pulse detector 111, the counter 1121 of the event discrimination module 112, the comparator 1122 of the event discrimination module 112, the event responder 1131 of the event response module 113, and the value modifier 1132 of the event response module 113, respectively. The buffers 114-118 are used to temporarily store the initial value of the detection state, the initial value of the cumulative occurrence of a specific pattern, the initial value of the comparison reference value of the comparator 1122, the initial value of the specific event state, and the initial value of the value modification signal, respectively.
[0026] Please refer to Figure 1 and Figure 2A , Figure 2A This is a waveform diagram of an event detection controller in an embodiment of the present invention, used for controlling a circuit system via pulse modulation signals, performing specific event handling for a specific event. In this embodiment, the specific pattern of the detected state is set to a falling edge, the comparison reference value of comparator 1122 is set to 1, the specific event handling is set to stop the pulse modulation device 10 (via the transmission of the stop signal BRK), and the detected pulse modulation signal is the output pulse modulation signal PWM_OUT. Figure 2A In the process, after the second falling edge of the output pulse modulation signal PWM_OUT is detected, the event response module 113 will be triggered to perform specific processing. After the third falling edge of the output pulse modulation signal PWM_OUT, the pulse modulation device 10 is stopped. Therefore, the subsequent output pulse modulation signal PWM_OUT is a continuously unchanged logic low level.
[0027] In simple terms, in an embodiment where internal controls are implemented to meet security requirements, a specific pattern of the detected state is a falling edge, and when the cumulative number of occurrences of the specific pattern of the falling edge of the pulse modulation signal exceeds the comparison reference value of comparator 1122, the event response module 113 stops the pulse modulation device 10.
[0028] Please refer to Figure 1 Please refer to Figure 2B , Figure 2BThis is a waveform diagram of an event detection controller for a circuit system controlled by a pulse modulation signal according to an embodiment of the present invention, showing the specific event handling for another specific event. In this embodiment, the specific pattern of the detected state is set to 50% of the working range, the comparison reference value of comparator 1122 is set to 1, and the specific event handling is set to change the specific pattern of the detected state to 30% of the working range, control the pulse modulation device 10 to change the working range of the output pulse modulation signal PWM_OUT to 30%, and change the cumulative occurrence number of the specific pattern to 0, and the detected pulse modulation signal is the output pulse modulation signal PWM_OUT. After detecting two 50% operating intervals of the output pulse modulation signal PWM_OUT, the specific pattern of the detected state is set to a 30% operating interval, the cumulative occurrence of the specific pattern is changed to 0, and the pulse modulation device 10 is controlled to change the operating interval of the output pulse modulation signal PWM_OUT to 30%. The specific event handling is set to change the specific pattern of the detected state to a 10% operating interval, change the cumulative occurrence of the specific pattern to 0, and control the pulse modulation device 10 to change the operating interval of the output pulse modulation signal PWM_OUT to 10%. After detecting two 30% operating intervals of the output pulse modulation signal PWM_OUT, the specific pattern of the detected state is set to a 10% operating interval, the cumulative occurrence of the specific pattern is changed to 0, and the pulse modulation device 10 is controlled to change the operating interval of the output pulse modulation signal PWM_OUT to 10%.
[0029] In simple terms, in an embodiment where internal control is performed to achieve diverse waveform output, a specific pattern of the detected state is a first working interval, and when the cumulative occurrence of the specific pattern in the first working interval of the detected pulse modulation signal exceeds the comparison reference value of the comparator 1122, the event response module 113 controls the pulse detector 111 to change the specific pattern of the detected state to a second working interval, changes the cumulative occurrence of the specific pattern, and controls the pulse modulation device 10 to change the pulse modulation signal.
[0030] Please refer to Figure 1 and Figure 2C , Figure 2C This is a waveform diagram of an event detection controller for a circuit system controlled by a pulse-modulated signal, according to an embodiment of the present invention, performing specific event handling for a specific event. In this embodiment, the specific pattern of the detected state is set to a falling edge, the comparison reference value of comparator 1122 is set to 1, the specific event handling is set to change the cumulative occurrence count of the specific pattern to 0 and request the transmission of a second data signal to the peripheral device PERP, and the detected pulse-modulated signal is the output pulse-modulated signal PWM_OUT, and the bus can be a Serial Peripheral Interface (SPI). Figure 2CIn the process, after detecting two falling edges of the output pulse modulation signal PWM_OUT, the event response module 113 will be triggered to perform specific actions, namely, changing the cumulative occurrence of a specific pattern to 0 and requesting the transmission of a second data signal to the peripheral device PERP.
[0031] In simple terms, in an embodiment of controlling external peripheral devices to achieve low power consumption, the specific pattern of the detected state is a falling edge, and when the cumulative occurrence of the specific pattern of the falling edge of the pulse modulation signal exceeds the comparison reference value of the comparator 1122, the event response module 113 changes the cumulative occurrence of the specific pattern of the event discrimination module 112 and requests the transmission of a second data signal to the peripheral device PERP.
[0032] Please refer to Figure 3 , Figure 3 This is a flowchart of an event detection control method for a circuit system controlled by a pulse-modulated signal, according to an embodiment of the present invention. First, in step S31, a detection state is set. Then, in step S32, it is detected whether the pulse-modulated signal from the pulse-modulated device corresponds to a specific pattern of the set detection state, and a detection result signal is generated. The specific pattern includes a specific working range, a specific edge, and / or a specific calibration. If a pulse-modulated signal is detected to have a specific pattern corresponding to the set detection state, then in step S33, the cumulative occurrence count of the specific pattern is updated according to the detection result signal, typically by increasing the count value. If no pulse-modulated signal is detected to correspond to a specific pattern of the set detection state, then step S32 continues.
[0033] In step S34, a specific event signal is generated based on the cumulative occurrence count of a specific pattern (e.g., comparing the cumulative occurrence count of a specific pattern with a comparison reference value), i.e., determining whether a specific event has occurred. If the specific event has not occurred, the process returns to step S32. If the specific event has occurred, in step S35, specific event handling defined by the specific event state related to the detection state is performed based on the specific event signal. The specific event handling includes stopping the pulse modulation device, starting the stopped pulse modulation device, controlling the pulse modulation device to change the pulse modulation signal, outputting a wake-up signal to wake up the circuit system, changing the detection state, changing the cumulative occurrence count of the specific pattern, outputting a control signal or a first data signal to peripheral devices via the bus, and / or requesting the transmission of a second data signal to peripheral devices via the bus.
[0034] In summary, the event detection controller and method provided in this embodiment of the invention can detect specific events in the circuit system. Upon detecting a specific event, they can perform internal and external synchronous control to achieve safety requirements, perform internal control to achieve diverse waveform outputs, and / or perform external control to connect to external peripheral devices to achieve low power consumption requirements. Furthermore, in the low-power mode of the circuit system, the pulse modulation device and peripheral devices can be directly controlled without needing to wake up the dormant processing unit.
[0035] It should be understood that the examples and embodiments described herein are for illustrative purposes only, and various modifications or changes thereto will be suggested to those skilled in the art and will be included within the spirit and scope of this application and the scope of the appended claims.
Claims
1. An event detection controller for a circuit system controlled by a pulse-modulated signal, characterized in that, The event detection controller includes: A pulse detector receives a set detection sample and a pulse modulation signal from a pulse modulation device to detect whether the pulse modulation signal has a specific pattern corresponding to the detection sample, and generates a detection result signal. The specific pattern includes a working range, edges, and / or levels. The working range refers to the ratio between the continuous time of a logic high level and the period of the pulse modulation signal. The edges include rising edges and falling edges. The levels include logic high levels and logic low levels. An event discrimination module, electrically connected to the pulse detector, receives the detection result signal, updates the cumulative occurrence count of a specific pattern based on the detection result signal, and generates an event signal corresponding to an event based on the cumulative occurrence count of the specific pattern, wherein the event refers to the waveform of the pulse modulation signal used to represent an internal state event; and An event response module, electrically connected to the event discrimination module, receives the event signal and the event state corresponding to the detection state, and performs event handling defined according to the event signal and the event state. The event handling includes stopping the pulse modulation device, starting the stopped pulse modulation device, controlling the pulse modulation device to change the pulse modulation signal, outputting a wake-up signal to wake up the circuit system, controlling the pulse detector to change the detection state, changing the cumulative occurrence count of the specific pattern of the event discrimination module, outputting a control signal or a first data signal to peripheral devices through the bus connected to it, and / or requesting the peripheral devices to transmit a second data signal through the bus connected to it.
2. The event detection controller as described in claim 1, characterized in that, The event discrimination module includes a counter and a comparator. The counter is electrically connected to the comparator. The counter counts according to the detection result signal to update the cumulative occurrence count of the specific pattern. The comparator compares the cumulative occurrence count of the specific pattern with a comparison reference value and generates the event signal accordingly.
3. The event detection controller as described in claim 1, characterized in that, The event response module includes an event responder and a value modifier. The event responder is electrically connected to the value modifier. The event responder receives the event signal and generates a value control signal based on the event signal, stops the pulse modulation device, starts the stopped pulse modulation device, outputs the wake-up signal to wake up the circuit system, controls the pulse detector to change the detection state, changes the cumulative occurrence count of the specific pattern of the event discrimination module, outputs the control signal or the first data signal to the peripheral device through the bus connected to it and / or requests the peripheral device to transmit the second data signal through the bus connected to it, and the value modifier receives the value control signal and generates a value modification signal to the pulse modulation device to change the count value of the counter of the pulse modulation device and / or the comparison reference value received by the comparator.
4. The event detection controller as described in claim 3, characterized in that, The event detection controller also includes multiple buffers, which are electrically connected to the pulse detector, the counter and comparator of the event discrimination module, and the event responder and value modifier of the event response module, respectively, and are used to temporarily store the initial value of the detection state, the initial value of the cumulative occurrence of the specific pattern, the initial value of the comparison reference value, the initial value of the event state, and the initial value of the value modification signal.
5. The event detection controller as described in claim 1, characterized in that, The specific pattern of the detected state is a falling edge, and when the cumulative number of occurrences of the specific pattern of the falling edge of the pulse modulation signal exceeds a comparison reference value, the event response module stops the pulse modulation device.
6. The event detection controller as described in claim 1, characterized in that, The specific pattern of the detected state is a first working interval, and when the cumulative occurrence number of the specific pattern in the first working interval of the pulse modulation signal exceeds the comparison reference value, the event response module controls the pulse detector to change the specific pattern of the detected state to a second working interval, changes the cumulative occurrence number of the specific pattern of the event discrimination module, and controls the pulse modulation device to change the pulse modulation signal.
7. The event detection controller as described in claim 1, characterized in that, The specific pattern of the detected state is a falling edge, and when the cumulative occurrence of the specific pattern of the falling edge of the pulse modulation signal exceeds the comparison reference value, the event response module changes the cumulative occurrence of the specific pattern of the event discrimination module and requests the transmission of a second data signal to the peripheral device.
8. A circuit system, characterized in that, The circuit system includes: The event detection controller as described in any one of claims 1 to 7; The pulse modulation device; and The load circuit is electrically connected to the pulse modulation device and is controlled by the pulse modulation signal.
9. The circuit system as described in claim 8, characterized in that, The pulse modulation device is a pulse width modulation device, and the pulse modulation signal is a pulse width modulation signal.
10. An event detection and control method, characterized in that, The event detection and control method is used for circuit systems controlled by pulse modulation signals, including: The pulse modulation signal from the pulse modulation device is detected to have a specific pattern corresponding to a set detection state, and a detection result signal is generated. The specific pattern includes a working range, edges and / or levels. The working range refers to the ratio between the continuous time of the logic high level and the period of the pulse modulation signal. The edges include rising edges and falling edges. The levels include logic high level and logic low level. Update the cumulative occurrence count of a specific pattern based on the detection result signal; An event signal corresponding to an event is generated based on the cumulative occurrence count of the specific pattern, where the event refers to the waveform of the pulse-modulated signal used to represent an internal state event; and Based on the event signal, perform event handling defined by the event state pattern related to the detection state pattern, wherein the event handling includes stopping the pulse modulation device, starting the stopped pulse modulation device, controlling the pulse modulation device to change the pulse modulation signal, outputting a wake-up signal to wake up the circuit system, changing the detection state pattern, changing the cumulative occurrence count of the specific pattern, outputting a control signal or a first data signal to peripheral devices via the bus and / or requesting the transmission of a second data signal to the peripheral devices via the bus.
Citation Information
Patent Citations
Transient event detector circuit and method
CN109964396A
Oscillation frequency control system and method
CN111106831A