Wake-up circuit, wake-up method, slave device and interaction system

Through the asynchronous wake-up mechanism of the dual-channel signal detection matching circuit, the problems of false wake-up and high power consumption in the existing wake-up circuit in low-power mode are solved, and accurate wake-up and low-power wake-up circuit design are realized.

CN120276775APending Publication Date: 2025-07-08BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510360097.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

Existing wake-up circuits are prone to error wake-up or high power consumption in low power mode.

Method used

The dual signal detection matching circuit is adopted, and the serial operation of the first detection matching circuit and the second detection matching circuit is carried out, and the wake-up signal is generated using the asynchronous matching sequence of the two signals to ensure that the wake-up signal is generated only when both signals match.

Benefits of technology

Accurate wake-up is achieved, avoiding false wake-up, reducing the power consumption of the wake-up circuit, with a simple circuit structure and low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276775A_ABST
    Figure CN120276775A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a wake-up circuit, a wake-up method, slave equipment and an interaction system. The wake-up circuit comprises at least two signal ends, a first detection matching circuit and a second detection matching circuit. The first detection matching circuit is connected with at least two signal ends. The first detection matching circuit is used for sampling one path of signals, comparing the sampling value of one path of signals with a configured first matching sequence, and outputting a first comparison result. The second detection matching circuit is connected with at least two signal ends. And the second detection matching circuit is used for sampling the other path of signal, comparing the sampling value of the other path of signal with a configured second matching sequence, and outputting a second comparison result. And when the first comparison result output by the first detection matching circuit indicates matching, the second detection matching circuit is started to work. And when the second comparison result output by the second detection matching circuit indicates matching, a wake-up signal is generated. The wake-up circuit is simple in structure, can avoid false wake-up, and is low in power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit technologies, and in particular, to a wake-up circuit, a wake-up method, a slave device, and an interaction system. Background Art

[0002] In recent years, with the development of integrated circuits, power consumption has increasingly become a factor that has attracted much attention in the chip design industry. To reduce power consumption, various low-power technologies have flourished, among which the power-off technology has become a widely used and effective technology.

[0003] The power-off technology refers to dividing a chip into multiple power domains, each of which can be powered off separately, and selecting to turn off or on certain power domains according to application scenarios and power consumption modes to achieve the purpose of reducing power consumption.

[0004] In the process of implementing the present application, the inventors found that the above power-off technology has at least the following problems: Usually, a low-power mode is set. In this mode, only one power domain is retained to save the minimum necessary information, and other power domains are powered off to achieve the minimum power consumption. In the low-power mode, the main functions are unavailable, and normal operation can only be carried out after waking up and exiting the low-power mode. There are a large number of false wake-up situations in common wake-up circuits, or the power consumption of the wake-up circuit is relatively high. Summary of the Invention

[0005] The present application provides an improved wake-up circuit, a wake-up method, a slave device, and an interaction system.

[0006] An embodiment of the present application provides a wake-up circuit, including:

[0007] At least two signal terminals for receiving at least two paths of signals;

[0008] A first detection and matching circuit connected to the at least two signal terminals; the first detection and matching circuit is used to sample one of the signals and compare the sampled value of one of the signals with a configured first matching sequence, and output a first comparison result;

[0009] A second detection and matching circuit connected to the at least two signal terminals; the second detection and matching circuit is used to sample another one of the signals and compare the sampled value of the other signal with a configured second matching sequence, and output a second comparison result;

[0010] Wherein, when the first comparison result output by the first detection and matching circuit indicates a match, the second detection and matching circuit is started to work; when the second comparison result output by the second detection and matching circuit indicates a match, a wake-up signal is generated.

[0011] Preferably, the at least two signals include a first signal and a second signal; the at least two signal terminals include a first signal terminal and a second signal terminal, the first signal terminal is used to receive the first signal, and the second signal terminal is used to receive the second signal;

[0012] For the first detection and matching circuit, the first signal serves as a clock signal, and the second signal serves as a data signal; the first detection and matching circuit uses the first signal as a clock, samples the second signal, and compares the sampled value of the second signal with a configured first matching sequence, and outputs the first comparison result;

[0013] For the second detection and matching circuit, the first signal serves as a data signal, and the second signal serves as a clock signal; the second detection and matching circuit uses the second signal as a clock, samples the first signal, and compares the sampled value of the first signal with a configured second matching sequence, and outputs the second comparison result.

[0014] Preferably, the first detection and matching circuit includes a first sampling module and a first matching module connected to the first sampling module, and the first sampling module is connected to the first signal terminal and the second signal terminal; the first sampling module is used to sample the second signal; the first matching sequence is in the first matching module, and the first matching module is used to compare the sampled value of the second signal serving as the data signal with the first matching sequence, and outputs the first comparison result.

[0015] Preferably, the second detection and matching circuit includes a second sampling module and a second matching module connected to the second sampling module, and the second sampling module is connected to the first signal terminal and the second signal terminal; the second sampling module is used to sample the first signal; the second matching sequence is in the second matching module, and the second matching module is used to compare the sampled value of the first signal serving as the data signal with the second matching sequence, and outputs the second comparison result.

[0016] Preferably, the first detection and matching circuit and the second detection and matching circuit work serially.

[0017] Preferably, the state switching times of the sampled at least two signals are different.

[0018] Preferably, the first matching sequence and the second matching sequence are different.

[0019] Preferably, the sequence lengths of the first matching sequence and the second matching sequence are configurable.

[0020] The embodiment of the present application also provides a wake-up method, including:

[0021] Sample at least two signals;

[0022] Compare the sampled value of one of the signals with a configured first matching sequence and output a first comparison result; and

[0023] When the first comparison result indicates a match, compare the sampled value of the other signal with a configured second matching sequence and output a second comparison result; when the second comparison result indicates a match, generate a wake-up signal.

[0024] Preferably, the at least two signals include a first signal and a second signal;

[0025] The first signal serves as a clock signal and the second signal serves as a data signal; the comparing the sampled value of one of the signals with a configured first matching sequence and outputting a first comparison result includes: comparing the sampled value of the second signal serving as the data signal with the configured first matching sequence and outputting the first comparison result;

[0026] The second signal serves as the clock signal and the first signal serves as the data signal; the comparing the sampled value of the other signal with a configured second matching sequence and outputting a second comparison result includes: comparing the sampled value of the first signal serving as the data signal with the configured second matching sequence and outputting the second comparison result.

[0027] An embodiment of the present application further provides a slave device, including the wake-up circuit as described in any one of the above embodiments.

[0028] An embodiment of the present application further provides an interaction system, including:

[0029] A host device; and

[0030] At least one slave device as described in the above embodiments, and the host device is communicatively connected to at least one of the slave devices respectively.

[0031] The wake-up circuit, wake-up method, slave device and interaction system according to the embodiments of the present application. The wake-up circuit includes at least two signal terminals, and a first detection and matching circuit and a second detection and matching circuit connected to the at least two signal terminals. The first detection and matching circuit is used to sample one of the signals, compare the sampled value of one of the signals with a configured first matching sequence, and output a first comparison result. The second detection and matching circuit is used to sample the other signal, compare the sampled value of the other signal with a configured second matching sequence, and output a second comparison result. When the first comparison result output by the first detection and matching circuit indicates a match, the second detection and matching circuit is started to work. When the second comparison result output by the second detection and matching circuit indicates a match, a wake-up signal is generated. The wake-up circuit of the present application has a simple structure, and by configuring two matching sequences to match the sampled values of the two sampled signals, asynchronous wake-up is realized, the detection accuracy is improved, false wake-up can be avoided, and the power consumption is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The principle block diagram of an embodiment of the wake-up circuit according to the embodiment of the present application is shown.

[0033] Figure 2 Shown as Figure 1 The principle block diagram of another embodiment of the wake-up circuit shown.

[0034] Figure 3 The step flow chart of an embodiment of the wake-up method according to the embodiment of the present application is shown.

[0035] Figure 4 Shown as Figure 3 The step flow chart of another embodiment of the wake-up method shown.

[0036] Figure 5 The principle block diagram of an embodiment of the interaction system according to the embodiment of the present application is shown. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0037] The wake-up circuit, wake-up method, slave device and interaction system according to the embodiments of the present application will be described in detail below with reference to the accompanying drawings. Without conflict, the features in the following embodiments and implementation manners can be combined with each other.

[0038] A wake-up circuit is generally a circuit used to restore a device or system from a low-power state or a sleep state to a working state under specific conditions. There are two commonly used wake-up circuits: one is port wake-up, where the host device raises or lowers a port signal to generate a wake-up condition. This kind of wake-up circuit is simple to implement. However, for a master-slave interactive system, once the host device raises or lowers the wake-up port, all slave devices in the interactive system will be woken up, resulting in a large number of false wake-ups. The other is address matching wake-up, which usually requires two or more port signals to form a bus. All slave devices are connected to the bus. The host device sends a wake-up request and a wake-up address through the bus, and each slave device on the bus listens to the bus. This solution does not generate false wake-ups, but a high-frequency clock is required on the wake-up circuit. The frequency of this clock must be much higher than the data inversion rate on the bus. Based on this clock, the data and address information on the bus are sampled and processed. Due to the existence of the high-frequency clock in this wake-up solution, the power consumption of the wake-up circuit is relatively high.

[0039] Therefore, the embodiments of the present application provide a wake-up circuit, a wake-up method, a slave device, and an interactive system with a simple circuit structure, which can avoid false wake-ups and reduce power consumption.

[0040] In this embodiment, the wake-up circuit is disposed in the slave device and is used to wake up the slave device. In other embodiments, the wake-up circuit may be disposed in other devices or circuits to wake up the corresponding devices or circuits, which is not limited in this application. The wake-up circuit of this embodiment mainly ensures that the corresponding slave device can recover from the low-power or sleep state at an appropriate time to respond to the request of the host device (master control device or host device) or an external event. This embodiment takes the wake-up circuit disposed in the slave device as an example for illustration. For how to generate the wake-up signal specifically, please refer to the following description.

[0041] Figure 1 The following shows a schematic block diagram of an embodiment of the wake-up circuit 1 according to the embodiment of the present application. As Figure 1 shown, the wake-up circuit 1 includes at least two signal terminals 11, a first detection and matching circuit 12, and a second detection and matching circuit 13. The at least two signal terminals 11 are used to receive at least two paths of signals. In some embodiments, the at least two signal terminals 11 may be set to two or more signal terminals. In this embodiment, the at least two signal terminals 11 are set to two signal terminals, and the two signal terminals respectively receive two paths of signals. These two paths of signals may be wake-up request signals sent by the host device, etc.

[0042] The first detection and matching circuit 12 is connected to at least two signal terminals 11. In this embodiment, the first detection and matching circuit 12 is connected to two signal terminals 11. The first detection and matching circuit 12 is configured to sample one of the signals, compare the sampled value of one of the signals with the configured first matching sequence S1, and output a first comparison result. The first matching sequence S1 is stored in the first detection and matching circuit 12. After sampling the value of one of the signals, the first detection and matching circuit 12 matches it with the first matching sequence S1 and outputs a first comparison result. The first comparison result determines whether to activate the second detection and matching circuit 13. The second detection and matching circuit 13 is connected to at least two signal terminals 11. In this embodiment, the second detection and matching circuit 13 is connected to two signal terminals 11. The second detection and matching circuit 13 is configured to sample the other signal, compare the sampled value of the other signal with the configured second matching sequence S2, and output a second comparison result. The second matching sequence S2 is stored in the second detection and matching circuit 13. After sampling the value of the other signal, the second detection and matching circuit 13 matches it with the second matching sequence S2 and outputs a second comparison result. The second comparison result determines whether to generate a wake-up signal.

[0043] In this embodiment, when the first comparison result output by the first detection and matching circuit 12 indicates a match, the second detection and matching circuit 13 is activated to work. That is to say, the second detection and matching circuit 13 is activated to work only after receiving the first comparison result indicating a match. If the second detection and matching circuit 13 does not receive the information, it is in a non-working state. When the second comparison result output by the second detection and matching circuit 13 indicates a match, a wake-up signal is generated.

[0044] In practical applications, when the first comparison result output by the first detection and matching circuit 12 indicates a match, it means that the sampled value of one of the signals corresponds to the first matching sequence S1, indicating that the host device sends a wake-up request to the wake-up circuit 1 of one of the slave devices. At this time, the slave device may be woken up. When the output first comparison result indicates a match and the output second comparison result also indicates a match, it means that on the basis that the sampled value of one of the signals corresponds to the first matching sequence S1, the sampled value of the other signal also corresponds to the second matching sequence S2, indicating that the host device not only sends a wake-up request to the wake-up circuit 1 of the slave device, but also can accurately wake up the wake-up circuit 1 of the slave device and make the wake-up circuit 1 generate a wake-up signal to wake up the corresponding slave device. When the corresponding slave device receives the wake-up signal, it switches from the low-power mode to the working mode. After waking up the corresponding slave device, the wake-up circuit 1 stops working. With such a setting, by configuring two matching sequences and matching them with the sampled values of the two sampled signals, asynchronous wake-up is achieved, the detection accuracy is improved, false wake-up is avoided, the power consumption is low, and the circuit structure is simple.

[0045] In this embodiment, the sequence lengths of the first matching sequence S1 and the second matching sequence S2 are configurable. The matching sequence lengths of the first matching sequence S1 and the second matching sequence S2 can be flexibly configured according to the actual situation. For example, the configured sequence length can be 1 bit, 2 bits, 3 bits, etc., which is not limited in this application. Similarly, the matching sequence values of the first matching sequence S1 and the second matching sequence S2 can also be flexibly configured according to the actual situation. The matching sequence value can be a fixed value or not a fixed value. The user can configure these matching sequence values to achieve conditional matching wake-up. For example, configuring the matching sequence value as a specified address can achieve address matching wake-up. Also for example, it can also be configured as a special pattern to achieve specific pattern matching wake-up. In addition, the matching sequence value can also be configured as other sequence values, which is not limited in this application.

[0046] In Figure 1 In the illustrated embodiment, at least two signals include a first signal SIG1 and a second signal SIG2. At least two signal terminals 11 include a first signal terminal 111 and a second signal terminal 112. The first signal terminal 111 is used to receive the first signal SIG1, and the second signal terminal 112 is used to receive the second signal SIG2.

[0047] In Figure 1 In the illustrated embodiment, for the first detection and matching circuit 12, the first signal SIG1 serves as a clock signal, and the second signal SIG2 serves as a data signal. The first detection and matching circuit 12 samples the second signal SIG2 with the first signal SIG1 as the clock, and compares the sampled value of the second signal SIG2 with the configured first matching sequence S1, and outputs a first comparison result. Whether to activate the second detection and matching circuit 13 is determined according to the first comparison result.

[0048] In Figure 1 In the illustrated embodiment, for the second detection and matching circuit 13, the first signal SIG1 serves as a data signal, and the second signal SIG2 serves as a clock signal. The second detection and matching circuit 13 samples the first signal SIG1 with the second signal SIG2 as the clock, and compares the sampled value of the first signal SIG1 with the configured second matching sequence S2, and outputs a second comparison result. Whether to generate a wake-up signal is determined according to the second comparison result.

[0049] In this embodiment, two - level matching conditions are adopted. When the first matching sequence S1 and the second matching sequence S2 are detected successively, a wake - up signal will be generated. Among them, the first matching sequence S1 represents that a wake - up action occurs. When the first matching sequence S1 is detected, it means that a host device is initiating a wake - up action. Through the first matching sequence S1, the interference of non - wake - up actions on the first signal SIG1 and the second signal SIG2 can be effectively blocked. Before the first matching sequence S1 is detected, the second detection and matching circuit 13 does not work. Therefore, the first matching sequence S1 can also avoid the invalid flipping of the second detection and matching circuit 13, further reducing power consumption. The main purpose of the second matching sequence S2 is to achieve precise control of wake - up. In a master - slave interactive system, each slave device can specify a unique second matching sequence S2. The host device can precisely wake up the specified slave device through the second matching sequence S2, avoiding the accidental wake - up of other unexpected devices in the system. In this way, asynchronous dual wake - up is realized, which can avoid accidental wake - up, has low power consumption, and a simple circuit structure.

[0050] In Figure 1 In the embodiment shown, the state switching times of at least two sampled signals are different. In this embodiment, the at least two sampled signals can be pulse signals such as 0101.... The different state switching times of the two signals mean that the flipping moments of the rising edges or falling edges of the two signals are different. With such a setting, the first signal SIG1 and the second signal SIG2 will not flip simultaneously. During the period when the host device sends the first matching sequence S1, at this time, the second signal SIG2 flips when it is stable at 1 or 0. During the period when the host device sends the second matching sequence S2, at this time, the first signal SIG1 flips when it is stable at 1 or 0. Once the wake - up circuit 1 completes wake - up, it stops working. At this time, any state flip of the first signal SIG1 and the second signal SIG2 will no longer affect the wake - up circuit 1. If the state switching times of the two sampled signals are the same, when the host device sends the first matching sequence S1 and the second matching sequence S2, the first signal SIG1 and the second signal SIG2 will flip simultaneously, and at this time, it may affect the accidental triggering of the wake - up circuit 1, thus making it impossible to achieve precise wake - up. With such a setting, only two signal terminals are required to receive two signals, without a high - frequency clock, achieving precise wake - up, avoiding accidental wake - up, and reducing power consumption.

[0051] In Figure 1In the illustrated embodiment, the first matching sequence S1 and the second matching sequence S2 are different. The first matching sequence S1 may be a flag indicating the start of the wake-up operation, and the second matching sequence S2 may be a matching condition. In a master-slave interaction system, the first matching sequence S1 in the wake-up circuit 1 of all slave devices can be set to the same sequence, while the second matching sequences S2 are set to different sequences. When the host device wants to wake up one of the slave devices, it first sends the first matching sequence S1, and then sends the second matching sequence S2 corresponding to the target slave device to be woken up, thereby achieving targeted wake-up. With such a setting, asynchronous low-power wake-up can be achieved, which can not only reduce the power consumption of the wake-up circuit 1 but also avoid false wake-up.

[0052] Figure 2 As shown Figure 1 is a schematic block diagram of another embodiment of the illustrated wake-up circuit 1. Combining Figure 1 and Figure 2 As shown, the first detection and matching circuit 12 includes a first sampling module 121 and a first matching module 122 connected to the first sampling module 121. The first sampling module 121 is connected to the first signal terminal 111 and the second signal terminal 112. The first sampling module 121 uses the first signal SIG1 as a clock to sample the second signal SIG2. The first matching module 122 has a first matching sequence S1. The first matching module 122 is used to compare the sampled value of the second signal SIG2, which is used as a data signal, with the first matching sequence S1 and output a first comparison result. In this embodiment, the first sampling module 121 can be used as a first-level sampling module, and the first matching module 122 can be a first-level matching module. The first matching module 122 compares the sampling result of the first-level sampling module with the preset first matching sequence S1 and sends the first comparison result to the second detection and matching circuit 13. The first comparison result determines whether to activate the second detection and matching circuit 13. By using the first sampling module 121 and the first matching module 122 in combination, a first-level detection function can be achieved, with low power consumption, a simple circuit structure, and low cost.

[0053] In Figure 2In the illustrated embodiment, the second detection and matching circuit 13 includes a second sampling module 131 and a second matching module 132 connected to the second sampling module 131. The second sampling module 131 is connected to the first signal terminal 111 and the second signal terminal 112. The second sampling module 131 samples the first signal SIG1 with the second signal SIG2 as the clock. The second matching module 132 has a second matching sequence S2. The second matching module 132 is configured to compare the sampled value of the first signal SIG1, which serves as a data signal, with the second matching sequence S2 and output a second comparison result. In this embodiment, the second sampling module 131 can serve as a secondary sampling module, and the second matching module 132 can serve as a secondary matching module. The second matching module 132 compares the sampling result of the secondary sampling module with the preset second matching sequence S2 and outputs a second comparison result. The second comparison result determines whether to generate a wake-up signal.

[0054] When the first comparison result outputs a match, the second sampling module 131 and the second matching module 132 are only then activated to work, and at other times, the second sampling module 131 and the second matching module 132 do not work. That is to say, when the first sampling module 121 and the first matching module 122 are effectively awakened and effectively matched, the second sampling module 131 and the second matching module 132 are activated. When the second comparison result outputs a match, a wake-up signal is generated. After the corresponding slave device is awakened, the wake-up circuit 1 provided inside it stops working. With such a setting, by using the second sampling module 131 and the second matching module 132 in cooperation, a secondary detection and matching function is achieved, with low power consumption, a simple circuit structure, and low cost.

[0055] In practical applications, the first sampling module 121 samples the second signal SIG2 with the first signal SIG1 as the clock, and the first matching module 122 matches the sampled value of the second signal SIG2, which serves as a data signal, with the first matching sequence S1 and outputs a first matching result. When the first comparison result output by the first matching module 122 indicates a match, it means that the sampled value of the second signal SIG2 corresponds to a match with the first matching sequence S1, indicating that the host device sends a wake-up request to the wake-up circuit 1 of one of the slave devices. At this time, this slave device may be awakened.

[0056] When the output first comparison result indicates a match, the second sampling module 131 and the second matching module 132 are activated to work. At this time, the second sampling module 131 samples the first signal SIG1 with the second signal SIG2 as the clock, and the second matching module 132 matches the sampled value of the first signal SIG1, which serves as a data signal, with the second matching sequence S2 and outputs a second matching result.

[0057] When the second comparison result of the output also indicates a match, it means that on the basis of the sampling value of the second path signal SIG2 corresponding to the first matching sequence S1, the sampling value of the first path signal SIG1 also corresponds to the second matching sequence S2. This indicates that the wake-up circuit 1 of the host device for the slave device not only issues a wake-up request, but also can accurately wake up the wake-up circuit 1 of the slave device, and cause the wake-up circuit 1 to generate a wake-up signal to wake up the corresponding slave device. When the corresponding slave device receives the wake-up signal, it switches from the low-power mode to the working mode. After the slave device is woken up, the wake-up circuit 1 stops working.

[0058] By using the first sampling module 121, the first matching module 122, the second sampling module 131 and the second matching module 132 in cooperation, two signal terminals 11 are used to receive two paths of signals SIG1 and SIG2. Both the first sampling module 121 and the second sampling module 131 use the two paths of signals SIG1 and SIG2 as inputs, with one path as the clock signal and the other path as the data signal. The first matching module 122 uses the first path signal SIG1 as the clock signal and the second path signal SIG2 as the data signal, and compares the first matching sequence S1 with the sampling value of the second path signal SIG2. The second matching module 132 uses the second path signal SIG2 as the clock signal and the first path signal SIG1 as the data signal, and compares the second matching sequence S2 with the sampling value of the first path signal SIG1. The first detection and matching circuit 12 and the second detection and matching circuit 13 work serially. After the first detection and matching circuit 12 detects the first matching sequence S1, the second detection and matching circuit 13 starts to work. When the second detection and matching circuit 13 detects the second matching sequence S2, it generates a wake-up signal to wake up the corresponding slave device. With such a setting, two-stage detection modules are adopted to receive two different signals and match them with two different data signals, realizing the two-stage dual-detection function, improving the detection accuracy, reducing the power consumption, and having a simple circuit structure and low cost.

[0059] It should be noted that the above first matching sequence S1 and second matching sequence S2 can be sequences set according to actual needs, which can be pre-configured by the first matching module 122 and the second matching module 132 respectively, or signals sent by an external host device to the first matching module 122 and the second matching module 132 respectively, and are not limited in this application.

[0060] Figure 3 The following shows the step flowchart of an embodiment of the wake-up method according to an embodiment of the present application. As Figure 3 shown, the wake-up method is implemented by using the wake-up circuit 1 shown in Figures 1 to 2 the embodiment.

[0061] Combined with Figures 1 to 3As shown, it specifically includes Step 10 to Step 30. Among them,

[0062] Step 10: Sample at least two signals. In this embodiment, at least two signal terminals 11 are set as two signal terminals, and the two signal terminals 11 respectively receive two signals SIG1 and SIG2. These two signals can be wake-up request signals sent by the host device, etc.

[0063] Step 20: Compare the sampled value of one of the signals with the configured first matching sequence S1, and output the first comparison result. In this embodiment, the first detection and matching circuit 12 has the first matching sequence S1. After the first detection and matching circuit 12 samples the sampled value of one of the signals, it matches with the first matching sequence S1 and outputs the first comparison result. The first comparison result determines whether to wake up the second detection and matching circuit 13. That is to say, the second detection and matching circuit 13 is woken up to work only after receiving the first comparison result indicating a match. If the second detection and matching circuit 13 does not receive information, it is in a non-working state.

[0064] Step 30: When the first comparison result indicates a match, compare the sampled value of the other signal with the configured second matching sequence S2, and output the second comparison result. In this embodiment, the second detection and matching circuit 13 has the second matching sequence S2. The second detection and matching circuit 13 is used to match with the second matching sequence after sampling the sampled value of the other signal and output the second comparison result. The second comparison result determines whether to generate a wake-up signal. When the second comparison result indicates a match, a wake-up signal is generated. When the wake-up signal is generated, the corresponding slave device is woken up to switch from the low-power mode to the working mode.

[0065] In actual application, when the first comparison result output by the first detection and matching circuit 12 indicates a match, it means that the sampled value of one of the signals corresponds to the first matching sequence S1, indicating that the host device sends a wake-up request to the wake-up circuit 1 of one of the slave devices. At this time, this slave device may be woken up. When the output first comparison result indicates a match and the output second comparison result also indicates a match, it means that on the basis that the sampled value of one of the signals corresponds to the first matching sequence S1, the sampled value of the other signal also corresponds to the second matching sequence S2, indicating that the host device not only sends a wake-up request to the wake-up circuit 1 of this slave device, but also can accurately wake up the wake-up circuit 1 of this slave device and make the wake-up circuit 1 generate a wake-up signal to wake up the corresponding slave device. When the corresponding slave device receives the wake-up signal, it switches from the low-power mode to the working mode. With such a setting, by configuring the first matching sequence S1 and the second matching sequence S2 and matching them with the two sampled signals, the wake-up method realizes asynchronous dual wake-up, which can avoid false wake-up and reduce power consumption.

[0066] In some embodiments, at least two signals include a first signal SIG1 and a second signal SIG2. In step 20, the first signal SIG1 serves as a clock signal and the second signal SIG2 serves as a data signal. The sampled value of one of the signals is compared with a configured first matching sequence S1 to output a first comparison result, including: comparing the sampled value of the second signal SIG2 serving as the data signal with the configured first matching sequence S1 to output the first comparison result. In step 30, the second signal SIG2 serves as a clock signal and the first signal SIG1 serves as a data signal. The sampled value of the other signal is compared with a configured second matching sequence S2 to output a second comparison result, including: comparing the sampled value of the first signal SIG1 serving as the data signal with the configured second matching sequence S2 to output the second comparison result.

[0067] The wake-up method of this embodiment adopts a two-stage wake-up manner. When the first matching sequence S1 and the second matching sequence S2 are detected successively, a wake-up signal will be generated. Among them, the first matching sequence S1 represents that a wake-up action occurs. When the first matching sequence S1 is detected, it means that a host device is initiating a wake-up action. Through the first matching sequence S1, the interference of non-wake-up actions on the first signal SIG1 and the second signal SIG2 can be effectively shielded. Before the first matching sequence S1 is detected, the second detection and matching circuit 13 is not working, so the first matching sequence S1 can also avoid the invalid flipping of the second detection and matching circuit 13, further reducing power consumption. The main purpose of the second matching sequence S2 is to achieve precise control of wake-up. In a master-slave interactive system, each slave device can specify a unique second matching sequence S2. The host device can precisely wake up the specified slave device through the second matching sequence S2, avoiding the accidental wake-up of other unexpected devices in the system. With such a setting, this wake-up method can achieve asynchronous dual wake-up, avoid accidental wake-up, and has low power consumption.

[0068] Figure 4 is shown as Figure 3 The flowchart of steps of another embodiment of the wake-up method shown. The wake-up method of this embodiment is based on Figures 1 to 2 the wake-up circuit 1 shown in the embodiment. As Figure 4 shown, for the wake-up method of this embodiment, first, the first matching sequence S1 and the second matching sequence S2 in the wake-up circuit 1 are set. At this time, the wake-up circuit 1 is in a low-power mode. Then, the host device sends the first signal SIG1 and the second signal SGI2 through the first signal terminal 111 and the second signal terminal 112 respectively. In this embodiment, the host device passes through I 2The C bus issues the first signal SIG1 and the second signal SGI2. At this time, the first detection and matching circuit 12 works. The first sampling module 121 uses the first signal SIG1 as the clock signal to sample the second signal SIG2. The first sampling module 121 sends the sampling value of the sampled second signal SIG2 to the first matching module 122. Among them, the length of the sampling value of the sampled second signal SIG2 is equal to the length of the first matching sequence S1. Further, the first matching module 122 compares the sampling value of the sampled second signal SIG2 with the first matching sequence S1, and judges whether the sampling value of the second signal SIG2 matches the first matching sequence S1, and outputs the first comparison result. If the first comparison result is a mismatch, the first sampling module 121 uses the first signal SIG1 as the clock signal and continues to sample the second signal SIG2. If the first comparison result is a match, the second detection and matching circuit 13 is started to make the second detection and matching circuit 13 work.

[0069] When the second detection and matching circuit 13 works, the second sampling module 131 uses the second signal SIG2 as the clock signal to sample the first signal SIG1. The second sampling module 131 sends the sampling value of the sampled first signal SIG1 to the second matching module 132. Among them, the length of the sampling value of the sampled first signal SIG1 is equal to the length of the second matching sequence S2. Further, the second matching module 132 compares the sampling value of the sampled first signal SIG1 with the second matching sequence S2, and judges whether the sampling value of the first signal SIG1 matches the second matching sequence S2, and outputs the second comparison result. If the second comparison result is a mismatch, the first sampling module 121 uses the first signal SIG1 as the clock signal and continues to sample the second signal SIG2. If the second comparison result is a match, a wake-up signal is generated to wake up the slave device corresponding to the wake-up circuit 1. After waking up the corresponding slave device, the wake-up circuit 1 stops working.

[0070] With such a setting, the above wake-up method is implemented based on Figures 1 to 2 the wake-up circuit 1 shown in the embodiment, which can achieve two-level detection, accurate wake-up, avoid false wake-up, reduce power consumption, and has simple steps.

[0071] Figure 5 The principle block diagram of an embodiment of the interaction system 2 according to an embodiment of the present application is shown. As Figure 5 shown, the slave device 22 includes the wake-up circuit 1 shown in the above Figures 1 to 2 embodiment. A wake-up circuit 1 is provided in each slave device 22 to achieve independent wake-up, avoid false wake-up, and reduce power consumption. The interaction system 2 includes a host device 21 and at least one as described above Figures 1 to 2The slave device 22 shown in the embodiment, and the master device 21 are respectively communicatively connected to at least one slave device 22. In this embodiment, the interaction system 2 includes a master device 21 and one or more (multiple) slave devices 22, and the master device 21 is respectively communicatively connected to one or more (multiple) slave devices 22.

[0072] In Figure 5 In the embodiment shown, the master device 21 is communicatively connected to at least one slave device 22 through at least two signal terminals 11 of the wake-up circuit 1. The master device 21 synchronously sends at least two paths of signals to at least one slave device 22 through the at least two signal terminals 11. The multiple first matching sequences S1 of the wake-up circuits 1 in the multiple slave devices 22 are the same, and the multiple second matching sequences S2 of the wake-up circuits 1 in the multiple slave devices 22 are different. In a master-slave interaction system 2, the first matching sequence S1 in the wake-up circuits 1 of all slave devices 22 can be set to the same sequence, while the second matching sequence S2 is set to different sequences. When the master device 21 wants to wake up one of the slave devices 22, it first sends the first matching sequence S1, and then sends the second matching sequence S2 corresponding to the target slave device 22 to be woken up, so as to achieve fixed-point wake-up. In this way, the master device 21 of the interaction system 2 can accurately wake up the target slave device 22, sample two-level detection, without a high-frequency clock, to achieve the purpose of reducing power consumption and avoiding false wake-up.

[0073] It should be understood that the present application is not limited to the content already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.

Claims

1. An awakening circuit, characterized in that, Comprising: At least two signal terminals for receiving at least two paths of signals; A first detection and matching circuit connected to the at least two signal terminals; the first detection and matching circuit is used for sampling one of the signals and comparing the sampling value of one of the signals with a configured first matching sequence, and outputting a first comparison result; A second detection and matching circuit connected to the at least two signal terminals; the second detection and matching circuit is used for sampling another one of the signals and comparing the sampling value of another one of the signals with a configured second matching sequence, and outputting a second comparison result; Wherein, when the first comparison result output by the first detection and matching circuit indicates a match, the second detection and matching circuit is started to work; when the second comparison result output by the second detection and matching circuit indicates a match, a wake-up signal is generated.

2. The wake-up circuit according to claim 1, wherein The at least two paths of signals include a first path of signal and a second path of signal; the at least two signal terminals include a first signal terminal and a second signal terminal, the first signal terminal is used for receiving the first path of signal, and the second signal terminal is used for receiving the second path of signal; For the first detection and matching circuit, the first path of signal serves as a clock signal, and the second path of signal serves as a data signal; the first detection and matching circuit samples the second path of signal with the first path of signal as the clock, and compares the sampling value of the second path of signal with a configured first matching sequence, and outputs the first comparison result; For the second detection and matching circuit, the first path of signal serves as a data signal, and the second path of signal serves as a clock signal; the second detection and matching circuit samples the first path of signal with the second path of signal as the clock, and compares the sampling value of the first path of signal with a configured second matching sequence, and outputs the second comparison result.

3. The wake-up circuit according to claim 2, wherein The first detection and matching circuit includes a first sampling module and a first matching module connected to the first sampling module, the first sampling module is connected to the first signal terminal and the second signal terminal; the first sampling module is used for sampling the second path of signal; the first matching sequence is in the first matching module, and the first matching module is used for comparing the sampling value of the second path of signal as the data signal with the first matching sequence, and outputting the first comparison result.

4. The wake-up circuit according to claim 2, wherein The second detection and matching circuit includes a second sampling module and a second matching module connected to the second sampling module, the second sampling module is connected to the first signal terminal and the second signal terminal; the second sampling module is used for sampling the first path of signal; the second matching sequence is in the second matching module, and the second matching module is used for comparing the sampling value of the first path of signal as the data signal with the second matching sequence, and outputting the second comparison result.

5. The wake-up circuit according to any one of claims 1-4, characterized in that The first detection and matching circuit and the second detection and matching circuit work serially; and / or The state switching times of the sampled at least two paths of signals are different.

6. The wake-up circuit according to any one of claims 1-4, characterized in that, The first matching sequence and the second matching sequence are different; and / or The sequence lengths of the first matching sequence and the second matching sequence are configurable.

7. A wake-up method, characterized in that, Comprising: Sample at least two signals; Compare the sampled value of one of the signals with a configured first matching sequence and output a first comparison result; and When the first comparison result indicates a match, compare the sampled value of the other signal with a configured second matching sequence and output a second comparison result; when the second comparison result indicates a match, generate a wake-up signal.

8. The wake-up method according to claim 7, wherein The at least two signals include a first signal and a second signal; The first signal serves as a clock signal and the second signal serves as a data signal; the comparing the sampled value of one of the signals with a configured first matching sequence and outputting a first comparison result includes: comparing the sampled value of the second signal serving as the data signal with the configured first matching sequence and outputting the first comparison result; The second signal serves as the clock signal and the first signal serves as the data signal; the comparing the sampled value of the other signal with a configured second matching sequence and outputting a second comparison result includes: comparing the sampled value of the first signal serving as the data signal with the configured second matching sequence and outputting the second comparison result.

9. A slave device, characterized in that, Comprising: The wake-up circuit according to any one of claims 1 to 6.

10. An interactive system, characterized in that, Comprising: A host device; and At least one slave device according to claim 9, wherein the host device is communicatively connected to at least one of the slave devices respectively.