A bidirectional interrupt wake-up system based on a controller and a Bluetooth module, a control method and a smart cooker
Patent Information
- Application Number
- CN202611004456.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-07
- Publication Date
- 2026-10-09
AI Technical Summary
现阶段模块间的中断信号交互需要配置专用缓冲芯片完成信号整形与传输,这样的设计一方面会增加PCB板元器件数量,既会抬高采购成本和生产焊接成本,还会占用设备内部有限的布局空间;另一方面缓冲芯片会产生固定的信号传输延迟,叠加燃气灶高温环境下的信号干扰,会延长蓝牙唤醒、指令响应的耗时,降低人机交互的实时性
[0030]1、本方案提供基于控制器与蓝牙模块的双向中断唤醒系统通过在供电单元与控制器单元和蓝牙模块单元之间设置功耗隔离单元,功耗隔离单元内置两路独立的供电支路,分别为控制器单元和蓝牙模块单元进行独立供电,实现控制器单元和蓝牙模块单元之间不存在故障扩散,提高系统运行的稳定性。
Smart Images

Figure CN122883683A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of kitchen appliance technology, specifically relating to a bidirectional interrupt wake-up system, control method, and smart stove based on a controller and Bluetooth module. Background Technology
[0002] Against the backdrop of the rapid upgrading of the smart home industry, household cooktops (such as gas stoves) are gradually moving away from their traditional, single cooking function and undergoing a profound transformation towards intelligence, wireless connectivity, and convenient management. Currently, Bluetooth wireless communication has become a standard feature in smart gas stoves. By integrating a main control module and a Bluetooth module into the device, it is possible to achieve diverse intelligent functions such as remote flame control via mobile app, real-time data synchronization, intelligent fault reporting, and timed start / stop, effectively improving the user experience and facilitating intelligent maintenance for manufacturers. Therefore, the integrated solution of main control module and Bluetooth module is gradually appearing in the smart gas stove industry.
[0003] Currently available smart gas stove solutions still suffer from numerous technical deficiencies in the circuit design, power supply control, and signal interaction of the main control module and Bluetooth module. These deficiencies make them unsuitable for the complex operating conditions of gas stoves and the characteristics of battery-powered products, resulting in an overall product experience and operational reliability that need improvement. For example, one issue is the unreasonable power supply architecture design. Existing designs use a shared single-path boost power supply circuit for both modules, lacking independent power supply isolation and overload protection. During long-term operation, whether the main control chip malfunctions due to program errors or load short circuits, or the Bluetooth module experiences abnormalities due to radio frequency interference or circuit breakdown, the fault current and voltage fluctuations will propagate directly to the other functional module along the shared power supply circuit, causing cascading damage. This not only leads to superficial faults such as Bluetooth disconnection and device malfunction, but in severe cases, it can even directly burn out core components.
[0004] Secondly, the external interrupt signal transmission scheme is redundant and lagging. At present, the interrupt signal interaction between modules requires the configuration of a dedicated buffer chip to complete signal shaping and transmission. This design increases the number of components on the PCB board, which will increase procurement and production soldering costs, and will also occupy the limited layout space inside the equipment. On the other hand, the buffer chip will generate a fixed signal transmission delay, which, combined with the signal interference in the high-temperature environment of the gas stove, will prolong the time for Bluetooth wake-up and command response, and reduce the real-time performance of human-machine interaction.
[0005] To solve the above problems, it is necessary to design a system and control method based on a controller and Bluetooth module that can be adapted to cooktops. Summary of the Invention
[0006] In view of this, the purpose of the present invention is to provide a bidirectional interrupt wake-up system, control method and smart stove based on a controller and a Bluetooth module that has high stability and fast wake-up response.
[0007] This invention provides a bidirectional interrupt wake-up system based on a controller and a Bluetooth module, which includes a power supply unit, a power consumption isolation unit, a controller unit, and a Bluetooth module unit;
[0008] The power supply unit is electrically connected to the power consumption isolation unit, and the power consumption isolation unit is electrically connected to the controller unit and the Bluetooth module unit respectively, so that the power supply unit provides independent power to the controller unit and the Bluetooth module unit respectively;
[0009] The controller unit is bidirectionally connected to the Bluetooth module unit.
[0010] Preferably, it further includes an interrupt interface unit, which is disposed between the controller unit and the Bluetooth module unit and is signal-connected to both the controller unit and the Bluetooth module unit respectively;
[0011] The interrupt interface unit has two independent current-limiting connection branches. The first current-limiting connection branch is used for the Bluetooth module unit to output signals to the controller unit, and the second current-limiting connection branch is used for the controller unit to output signals to the Bluetooth module unit.
[0012] Preferably, the Bluetooth module unit is provided with a first external interrupt port, the controller unit is provided with a second external interrupt port, and current-limiting resistors are respectively provided on the first current-limiting connection branch and the second current-limiting connection branch; the output signal of the Bluetooth module unit is transmitted to the second external interrupt port of the controller unit after passing through the first current-limiting connection branch and the current-limiting resistor, and the output signal of the controller unit is transmitted to the first external interrupt port of the Bluetooth module unit after passing through the second current-limiting connection branch and the current-limiting resistor.
[0013] Preferably, the first external interrupt port of the Bluetooth module unit is in internal pull-up mode or external pull-up mode; the second external interrupt port of the controller unit is in external pull-up mode or internal pull-up mode.
[0014] Preferably, the power consumption isolation unit is provided with a DC-DC boost chip unit. The input terminal of the DC-DC boost chip unit is electrically connected to the power supply unit, and the output terminal of the DC-DC boost chip unit is connected to two independent power supply branches. The first independent power supply branch is electrically connected to the Bluetooth module unit, and the second independent power supply branch is electrically connected to the controller unit.
[0015] Preferably, the Bluetooth module unit includes a Bluetooth chip module and a link layer sleep module. The Bluetooth chip module is electrically connected to the link layer sleep module, and the link layer sleep module is used to control the Bluetooth chip module to enter a deep sleep state under normal conditions.
[0016] Preferably, the Bluetooth chip module is provided with a first interrupt receive pin, a first interrupt output pin, and a first communication pin. The controller unit module includes a main control MCU module, which includes a second interrupt output pin, a second interrupt input pin, and a second communication pin. The first interrupt receive pin is connected to the second interrupt output pin, the first interrupt output pin is connected to the second interrupt input pin, and the first communication pin is connected to the second communication pin. The Bluetooth chip module establishes a UART communication link with the main control MCU module for data interaction between the controller unit module and the Bluetooth module unit.
[0017] The present invention also provides a control method based on bidirectional communication and sleep coordination between a controller and a Bluetooth module, applying the bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in any of the above claims, comprising the following steps:
[0018] S1: System Initialization: Power is supplied to the bidirectional interrupt wake-up system based on the controller and Bluetooth module. The power supply unit supplies power to the power isolation unit, which boosts the voltage to 3.3V or 5V to power the controller unit and the Bluetooth module unit respectively. The controller unit enters a light sleep state, and the Bluetooth module unit enters a deep sleep state. The controller unit and the Bluetooth module unit establish a UART communication link and an interrupt dual-mode communication link, configure emergency parameters for communication anomalies, and synchronously configure the external interrupt port of the controller unit and the Bluetooth module unit to pull-up mode. After initialization, the system enters a normal sleep cooperative working condition.
[0019] S2: Normal Sleep Co-control: The controller unit wakes up every 1-5 seconds to perform function detection, and returns to light sleep after the detection is completed; the Bluetooth module unit maintains deep sleep under normal conditions, retains interrupt reception and link layer handshake functions, and remains in sleep when there is no wake-up signal; the power supply unit and the functional isolation unit continuously output a stable voltage, and two independent power supply branches maintain power supply to the controller unit and the Bluetooth module unit.
[0020] S3: Bidirectional interrupt wake-up and communication: Based on the source of the wake-up signal, the corresponding wake-up and communication steps are triggered. The interrupt signal is transmitted through the current-limited connection branch of the interrupt interface unit. After the communication is completed, the controller unit and the Bluetooth module unit return to normal sleep mode.
[0021] S4: Communication Anomaly Emergency Control: During communication, the system detects the communication status, interrupt signal transmission status, power supply status of the power isolation unit, and power supply status of the power supply unit. If a communication anomaly is detected, the system performs 3-5 interrupt wake-up retry operations. If the retry is successful, normal communication and sleep coordination are restored. If the retry fails, the controller unit enters a light sleep state, the Bluetooth module unit enters a deep sleep state, and an anomaly log is recorded. Communication will be retried after the next wake-up.
[0022] S5: Loop control: Repeatedly execute S2-S4.
[0023] Preferably, the wake-up and communication steps triggered in step S3 include the following wake-up methods:
[0024] S31: Touch wake-up: The touch wake-up hardware receives a touch signal, triggers the controller unit to wake up, the controller unit sends an interrupt signal to the Bluetooth module unit through the current limiting connection branch and wakes up the Bluetooth module unit and data interaction. After the data interaction is completed, the controller unit sends a sleep command to control the controller unit and the Bluetooth module unit to sleep and enter the normal sleep state.
[0025] S32: Remote wake-up: The Bluetooth module unit receives the remote control command and triggers its own wake-up. The Bluetooth module unit sends an interrupt signal to the controller unit through the current limiting connection branch and wakes up the controller unit to perform the corresponding operation. After the controller unit completes the operation, it sends the execution result data to the Bluetooth module unit. The Bluetooth module unit uploads the execution result data to the remote terminal. The controller unit and the Bluetooth module unit enter the normal sleep state.
[0026] S33: Controller unit wake-up upon reaching operating conditions: The controller unit periodically checks its own preset operating conditions. When the operating conditions are met, the controller unit triggers its own wake-up. If the Bluetooth module unit needs to cooperate in execution, the controller unit sends an interrupt signal to the Bluetooth module unit through the current limiting connection branch and wakes up the Bluetooth module unit. The Bluetooth module unit cooperates in executing the task. After the task is completed, the controller unit sends a sleep command to control the Bluetooth module unit and itself to enter sleep mode.
[0027] S34: Abnormal Wake-up: If the controller unit detects an abnormal operating condition, it triggers its own wake-up and sends an interrupt signal to the Bluetooth module unit via the current-limiting connection branch to wake up the Bluetooth module unit. The Bluetooth module unit uploads the abnormal information, and the controller unit performs emergency processing. When the abnormal operating condition is resolved, the controller unit and the Bluetooth module unit enter sleep mode.
[0028] The present invention also provides an intelligent stove, which applies the control method described above based on bidirectional communication and sleep mode coordination between the controller and the Bluetooth module.
[0029] Compared with existing technologies, the bidirectional interrupt wake-up system and control method based on the controller and Bluetooth module in this solution have at least the following advantages:
[0030] 1. This solution provides a bidirectional interrupt wake-up system based on the controller and Bluetooth module. By setting up a power isolation unit between the power supply unit and the controller unit and Bluetooth module unit, the power isolation unit has two independent power supply branches built in, which provide independent power supply to the controller unit and the Bluetooth module unit respectively. This ensures that there is no fault propagation between the controller unit and the Bluetooth module unit, and improves the stability of system operation.
[0031] 2. In a further solution, an interrupt interface unit is set between the Bluetooth module unit and the controller unit, and two independent current-limiting connection branches are built in. The buffer chip design in the traditional solution is eliminated, which significantly reduces the interrupt wake-up response time and can quickly respond to wake-up needs such as touch and remote.
[0032] 3. The control method provided in this solution, which is based on bidirectional communication and sleep mode coordination between the controller and the Bluetooth module, adopts a coordinated control of light sleep mode of the control unit and deep sleep mode of the Bluetooth module unit, replacing the traditional software polling mode. Combined with the interrupt interface unit design of the controller unit and the Bluetooth module unit without buffer chip, the system power consumption is greatly reduced, which is suitable for the scenario of dry battery power supply in stove application and greatly extends the standby time. Attached Figure Description
[0033] The above and other objects, features, and advantages of the invention will become clearer through a more detailed description of the preferred embodiments illustrated in the accompanying drawings. The same reference numerals denote the same parts throughout the drawings, and the drawings are not intentionally drawn to scale with actual dimensions; the focus is on illustrating the gist of the invention.
[0034] Figure 1 A schematic diagram of a bidirectional interrupt wake-up system based on a controller and a Bluetooth module provided in an embodiment of the present invention;
[0035] Figure 2 This is a flowchart illustrating the control method based on bidirectional communication and sleep mode coordination between the controller and Bluetooth module, provided in an embodiment of the present invention. Detailed Implementation
[0036] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand the present invention and implement it. However, the embodiments are not intended to limit the present invention. In this embodiment, it should be understood that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the present invention and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting the present invention.
[0037] It should be noted that when one element is considered to be "connected" to another element, it can be directly connected to and integrated with the other element, or there may be an intervening element present. The terms "mounted," "one end," "the other end," and similar expressions used in this invention are for illustrative purposes only.
[0038] Please refer to Figure 1 This invention provides a bidirectional interrupt wake-up system based on a controller and a Bluetooth module, comprising a power supply unit, a power consumption isolation unit, a controller unit, and a Bluetooth module unit. The power supply unit is electrically connected to the power consumption isolation unit, which is also electrically connected to both the controller unit and the Bluetooth module unit, enabling the power supply unit to independently power both units. The controller unit and the Bluetooth module unit have a bidirectional signal connection. The power supply unit provides power to the entire system and is also connected to the pulse ignition circuit and the gas valve drive circuit to directly supply power to them. The power consumption isolation unit is positioned between the power supply unit and the controller unit and Bluetooth module unit. The power supplied by the power supply unit is first branched through the power consumption isolation unit, forming separate power supply branches with the controller unit and the Bluetooth module unit. When either the controller unit or the Bluetooth module unit malfunctions, the fault current or fluctuating voltage is shielded by the power consumption isolation unit, preventing mutual interference and thus preventing fault propagation between the two units, significantly improving system stability. The controller unit and the Bluetooth module unit are connected bidirectionally for bidirectional communication.
[0039] In this embodiment, the system further includes an interrupt interface unit, which is disposed between the controller unit and the Bluetooth module unit and is signal-connected to the controller unit and the Bluetooth module unit respectively.
[0040] The interrupt interface unit has two independent current-limited connection branches. The first current-limited connection branch is used for the Bluetooth module unit to output signals to the controller unit, and the second current-limited connection branch is used for the controller unit to output signals to the Bluetooth module unit. Understandably, the interrupt interface unit adopts a direct connection structure without a buffer chip. By setting up two independent current-limited connection branches, including the first and second current-limited connection branches, the transmission speed from the controller unit to the Bluetooth module unit and from the Bluetooth module unit to the controller unit is improved. The controller unit and the Bluetooth module unit use bidirectional interrupt communication, i.e., interrupt-receive mode. Data transmission and processing only occur when the controller unit has data to transmit to the Bluetooth module unit or when the Bluetooth module unit has data to transmit to the controller unit. When there is no data transmission, the controller unit does not repeatedly poll, thus allowing both the controller unit and the Bluetooth module unit to remain in a sleep state instead of continuously running, significantly reducing power consumption.
[0041] Furthermore, the Bluetooth module unit is equipped with a first external interrupt port, and the controller unit is equipped with a second external interrupt port. Current-limiting resistors are respectively installed on the first and second current-limiting connection branches. The output signal of the Bluetooth module unit is transmitted to the second external interrupt port of the controller unit after passing through the first current-limiting connection branch and the current-limiting resistors. The output signal of the controller unit is transmitted to the first external interrupt port of the Bluetooth module unit after passing through the second current-limiting connection branch and the current-limiting resistors. It is understandable that both the controller unit and the Bluetooth module unit have built-in chips. When the pin levels of the two units are inconsistent, the power-on timing is asynchronous, or electrostatic discharge occurs, a large instantaneous current will be generated. By setting current-limiting resistors on both the first and second current-limiting connection branches between the Bluetooth module unit and the controller unit, the loop current can be clamped, preventing the internal driver units of the dual-unit chips from being burned out by overcurrent. Secondly, the Bluetooth module unit and the controller unit use interrupt signal transmission. The interrupt signal is a high-speed digital signal, which is prone to signal reflection and ringing problems in conventional PCB traces. The current limiting resistor can achieve a certain impedance matching effect, smooth the edge signal, avoid false interrupt triggering and serial port garbled characters, and ensure the reliability of communication and interrupt wake-up.
[0042] In this embodiment, the first external interrupt port of the Bluetooth module unit is in either internal pull-up mode or external pull-up mode; the second external interrupt port of the controller unit is in either external pull-up mode or internal pull-up mode. It can be understood that a pull-up resistor is a component that connects a pin to a high-level circuit through a resistor. A pull-up means the pin is high by default and only goes low when pulled low externally; without a pull-up, the pin is in a high-impedance state, and the level is determined by the external circuit. An internal pull-up means the chip pin has an integrated pull-up resistor, which can be enabled / disabled via software configuration without external components; an external pull-up means the chip does not have an internal pull-up, but an additional resistor is soldered onto the circuit board and connected to the pin to achieve pull-up. Specifically, in this embodiment, the first external interrupt port of the Bluetooth module unit being in internal pull-up mode means that the pull-up resistor integrated inside the chip pin of the Bluetooth module unit is enabled, eliminating the need for external components; the first external interrupt port of the Bluetooth module unit being in external pull-up mode means that the internal pull-up of the built-in chip of the Bluetooth module unit is disabled, and pull-up is achieved through an external resistor. The external pull-up mode of the controller unit is similar to that of the Bluetooth module unit. It uses an external pull-up resistor to pull the second external interrupt interface high by default. When an external device pulls the pin low, an external interrupt is triggered. The internal pull-up mode of the controller unit, on the other hand, integrates an internal pull-up resistor. In this embodiment, the Bluetooth module unit and the controller unit need to be configured together. Essentially, this unifies the interrupt triggering logic of the Bluetooth module unit and the controller unit. The first and second external interrupt ports are configured to be high under normal conditions. When an external signal pulls either the first or second external interrupt port low, a level transition can be detected, triggering an external interrupt for subsequent communication and instruction execution.
[0043] In this embodiment, a DC-DC boost converter chip unit is installed within the power isolation unit. The input terminal of the DC-DC boost converter chip unit is electrically connected to the power supply unit, and the output terminal of the DC-DC boost converter chip unit is connected to two independent power supply branches. The first independent power supply branch is electrically connected to the Bluetooth module unit, and the second independent power supply branch is electrically connected to the controller unit. It is understood that DC-DC boost refers to direct current to direct current conversion, which stably converts a lower DC voltage into a higher DC voltage. In gas stove products, dry cell batteries are generally used as the starting power source. However, the voltage of dry cell batteries is typically a low 1.5V. When power is needed for components such as chips, display modules, or relays, the voltage needs to be boosted to 3.3V or 5V to meet normal operating conditions. The input terminal of the DC-DC boost converter chip unit in the power isolation unit is electrically connected to the power supply unit, while the output terminal is configured as two branches, forming a first independent power supply branch and a second independent power supply branch. This ensures that the Bluetooth module unit and the controller unit have isolated power supply conditions, so that even if one end malfunctions, it will not affect the other end.
[0044] In this embodiment, the Bluetooth module unit includes a Bluetooth chip module and a link layer sleep module. The Bluetooth chip module and the link layer sleep module are electrically connected. The link layer sleep module is used to control the Bluetooth chip module to enter a deep sleep state under normal conditions. It can be understood that when the link layer sleep module controls the Bluetooth module unit to enter a deep sleep state under normal conditions, the Bluetooth chip module only retains interrupt reception and link layer handshake functions. Interrupt reception means that under normal conditions, the Bluetooth chip module does not need to repeatedly poll; it only processes data when it is available. The link layer handshake function refers to the communication interaction logic of the Bluetooth module unit's basic connection verification, status interaction, and keep-alive interaction. After the Bluetooth chip module enters deep sleep and disables data transmission, reception, and radio frequency broadcasting, it is woken up by an external interrupt. The link layer handshake only performs lightweight, low-power low-level link interaction and does not handle service data transmission. When the controller unit initiates a wake-up or connection request, the Bluetooth module unit's link layer sleep module completes the simplest response interaction, that is, confirms that it can respond normally and that the link channel is valid, completes the initial docking, and paves the way for subsequent communication; or in the sleep state, it periodically or as needed performs a very simple response to detect whether the link layer is in a normal connectivity state, to avoid the link being dead or disconnected without being detected, and only transmits very short low-level status frames throughout the process, with very low power consumption.
[0045] In this embodiment, the Bluetooth chip module is equipped with a first interrupt receive pin, a first interrupt output pin, and a first communication pin. The controller unit module includes a main control MCU module, which includes a second interrupt output pin, a second interrupt input pin, and a second communication pin. The first interrupt receive pin is connected to the second interrupt output pin, the first interrupt output pin is connected to the second interrupt input pin, and the first communication pin is connected to the second communication pin. The Bluetooth chip module and the main control MCU module establish a UART communication link for data interaction between the controller unit module and the Bluetooth module. The main control MCU is a microcontroller that integrates computation, I / O control, serial communication, interrupt handling, and logic judgment. The controller unit module also includes a low-power control module, which is electrically connected to the main control MCU module to supply power. The low-power control module is used to wake up the main control MCU module every 1-5 seconds to perform core function checks when it enters a light sleep state, and then return to light sleep after the checks are completed. By setting a first interrupt receive pin, a first interrupt output pin, and a first communication pin in the Bluetooth chip module, and a second interrupt output pin, a second interrupt input pin, and a second communication pin in the main control MCU module, normal interrupt wake-up communication is ensured when the Bluetooth chip module and the controller unit module are in sleep mode. The UART communication link refers to a connection method for bidirectional, asynchronous, serial data transmission between two devices via the UART serial port protocol. UART stands for Universal Asynchronous Receiver / Transmitter.
[0046] Compared with the prior art, the bidirectional interrupt wake-up system based on the controller and Bluetooth module in this embodiment has at least the following advantages:
[0047] Significantly low power consumption advantages. It adopts a collaborative strategy of light sleep mode for the controller unit module and deep sleep mode for the Bluetooth module unit, replacing the traditional software polling mode. At the same time, it also adopts an interrupt interface design without buffered chips, which greatly reduces system power consumption and is suitable for battery-powered applications such as gas stoves, extending standby time by more than 30%.
[0048] Fast wake-up response. The interrupt interface adopts a direct connection method, eliminating the need for a buffer chip. The interrupt wake-up response time is less than or equal to 1ms, which is 50% faster than the traditional buffer chip design. It can quickly respond to wake-up needs such as touch and remote wake-up.
[0049] The system boasts high stability. Independent power supply for both modules is achieved through a power isolation unit, preventing fault propagation between them. Furthermore, the elimination of the buffer chip in the interrupt interface effectively reduces potential failure points, further enhancing system stability.
[0050] Please refer to Figure 2 A preferred embodiment of the present invention also provides a control method based on bidirectional communication and sleep coordination between a controller and a Bluetooth module, applying the bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described above, comprising the following steps:
[0051] S1: System Initialization: Power is supplied to the bidirectional interrupt wake-up system based on the controller and Bluetooth module. The power supply unit supplies power to the power isolation unit, which boosts the voltage to 3.3V or 5V to supply power to the controller unit and Bluetooth module unit respectively, cutting off electrical crosstalk between the power supply circuits of the modules and preventing a single module failure from spreading to another module through the power supply link. The controller unit enters a light sleep state, and the Bluetooth module unit enters a deep sleep state. The controller unit and Bluetooth module unit establish a UART communication link and an interrupt dual-mode communication link, configure emergency parameters for communication abnormalities, and synchronously configure the external interrupt port of the controller unit and Bluetooth module unit to pull-up mode. After initialization, they enter the normal sleep cooperative working condition. It is understandable that after the system is powered on, the power supply unit also directly supplies power to the pulse ignition circuit and the gas valve drive circuit.
[0052] S2: Normal Sleep Co-control: The controller unit wakes up every 1-5 seconds to perform functional tests such as ignition and temperature detection. After the tests are completed, it returns to light sleep. The Bluetooth module unit maintains deep sleep under normal conditions, retains interrupt reception and link layer handshake functions, and remains in sleep when there is no wake-up signal. The power supply unit and the functional isolation unit continuously output a stable voltage, and two independent power supply branches maintain power supply to the controller unit and the Bluetooth module unit.
[0053] S3: Bidirectional interrupt wake-up and communication: Based on the source of the wake-up signal, the corresponding wake-up and communication steps are triggered. The interrupt signal is transmitted through the current-limited connection branch of the interrupt interface unit. After the communication is completed, the controller unit and the Bluetooth module unit return to normal sleep mode.
[0054] S4: Communication Anomaly Emergency Control: During communication, the system detects the communication status, interrupt signal transmission status, power supply status of the power isolation unit, and power supply status of the power supply unit. If a communication anomaly is detected, the system performs 3-5 interrupt wake-up retry operations. If the retry is successful, normal communication and sleep coordination are restored. If the retry fails, the controller unit enters a light sleep state, the Bluetooth module unit enters a deep sleep state, and an anomaly log is recorded. Communication will be retried after the next wake-up.
[0055] S5: Loop Control: Repeatedly execute S2-S4 to form a closed-loop control of "sleep-wake-communication-emergency-sleep", without software polling throughout, reducing system power consumption and ensuring control continuity and stability.
[0056] Furthermore, the wake-up and communication steps triggered in step S3 include the following wake-up methods:
[0057] S31: Touch wake-up: The touch wake-up hardware receives a touch signal, triggers the controller unit to wake up, the controller unit sends an interrupt signal to the Bluetooth module unit through the current limiting connection branch and wakes up the Bluetooth module unit and data interaction. After the data interaction is completed, the controller unit sends a sleep command to control the controller unit and the Bluetooth module unit to sleep and enter the normal sleep state.
[0058] S32: Remote wake-up: The Bluetooth module unit receives the remote control command and triggers its own wake-up. The Bluetooth module unit sends an interrupt signal to the controller unit through the current limiting connection branch and wakes up the controller unit to perform the corresponding operation. After the controller unit completes the operation, it sends the execution result data to the Bluetooth module unit. The Bluetooth module unit uploads the execution result data to the remote terminal. The controller unit and the Bluetooth module unit enter the normal sleep state.
[0059] S33: Controller unit wake-up upon reaching operating conditions: The controller unit periodically checks its own preset operating conditions. When the operating conditions are met, the controller unit triggers its own wake-up. If the Bluetooth module unit needs to cooperate in execution, the controller unit sends an interrupt signal to the Bluetooth module unit through the current limiting connection branch and wakes up the Bluetooth module unit. The Bluetooth module unit cooperates in executing the task. After the task is completed, the controller unit sends a sleep command to control the Bluetooth module unit and itself to enter sleep mode.
[0060] S34: Abnormal Wake-up: If the controller unit detects an abnormal operating condition, it triggers its own wake-up and sends an interrupt signal to the Bluetooth module unit via the current-limiting connection branch to wake up the Bluetooth module unit. The Bluetooth module unit uploads the abnormal information, and the controller unit performs emergency processing. When the abnormal operating condition is resolved, the controller unit and the Bluetooth module unit enter sleep mode.
[0061] This invention also provides a smart cooktop, which utilizes the aforementioned control method based on bidirectional communication and sleep mode coordination between the controller and Bluetooth module. It is understood that the smart cooktop can be a smart gas stove, a range hood and cooktop combo, etc. In this embodiment, after the smart cooktop is powered on and initialized, it begins configuring the bidirectional interrupt wake-up system parameters and loading the parameters for the bidirectional communication and sleep mode coordination control method. The controller unit and Bluetooth module unit enter a synchronous sleep state; the controller unit is in light sleep mode, and the Bluetooth module unit is in deep sleep mode. Both modules await event-driven wake-up, such as touch, remote, abnormal wake-up, or condition-triggered wake-up. The current-limited connection branch directly interrupts the corresponding module for wake-up, with a response time ≤1ms. Then, the controller unit and Bluetooth module unit work collaboratively. If the data communication between the controller unit and Bluetooth module unit is normal, the operation is completed according to the preset procedure; if the data communication is abnormal, communication is automatically retried; if the retry still fails, a protective sleep mode is entered and an exception log is recorded.
[0062] In this specification, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0063] In the description of this specification, the references to terms such as "preferred embodiment," "another embodiment," "other embodiment," or "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0064] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A bidirectional interrupt wake-up system based on a controller and a Bluetooth module, characterized in that, It includes a power supply unit, a power consumption isolation unit, a controller unit, and a Bluetooth module unit; The power supply unit is electrically connected to the power consumption isolation unit, and the power consumption isolation unit is electrically connected to the controller unit and the Bluetooth module unit respectively, so that the power supply unit provides independent power to the controller unit and the Bluetooth module unit respectively; The controller unit is bidirectionally connected to the Bluetooth module unit.
2. The bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in claim 1, characterized in that, It also includes an interrupt interface unit, which is disposed between the controller unit and the Bluetooth module unit and is signal-connected to the controller unit and the Bluetooth module unit respectively; The interrupt interface unit has two independent current-limiting connection branches. The first current-limiting connection branch is used for the Bluetooth module unit to output signals to the controller unit, and the second current-limiting connection branch is used for the controller unit to output signals to the Bluetooth module unit.
3. The bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in claim 2, characterized in that, The Bluetooth module unit is provided with a first external interrupt port, and the controller unit is provided with a second external interrupt port. Current-limiting resistors are respectively provided on the first current-limiting connection branch and the second current-limiting connection branch. The output signal of the Bluetooth module unit is transmitted to the second external interrupt port of the controller unit after passing through the first current-limiting connection branch and the current-limiting resistor. The output signal of the controller unit is transmitted to the first external interrupt port of the Bluetooth module unit after passing through the second current-limiting connection branch and the current-limiting resistor.
4. The bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in claim 3, characterized in that, The first external interrupt port of the Bluetooth module unit is either an internal pull-up mode or an external pull-up mode; the second external interrupt port of the controller unit is either an external pull-up mode or an internal pull-up mode.
5. The bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in claim 1, characterized in that, The power consumption isolation unit is equipped with a DC-DC boost chip unit. The input terminal of the DC-DC boost chip unit is electrically connected to the power supply unit. The output terminal of the DC-DC boost chip unit is connected to two independent power supply branches. The first independent power supply branch is electrically connected to the Bluetooth module unit, and the second independent power supply branch is electrically connected to the controller unit.
6. The bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in claim 1, characterized in that, The Bluetooth module unit includes a Bluetooth chip module and a link layer sleep module. The Bluetooth chip module is electrically connected to the link layer sleep module, and the link layer sleep module is used to control the Bluetooth chip module to enter a deep sleep state under normal conditions.
7. The bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in claim 6, characterized in that, The Bluetooth chip module is provided with a first interrupt receive pin, a first interrupt output pin, and a first communication pin. The controller unit module includes a main control MCU module, which includes a second interrupt output pin, a second interrupt input pin, and a second communication pin. The first interrupt receive pin is connected to the second interrupt output pin, the first interrupt output pin is connected to the second interrupt input pin, and the first communication pin is connected to the second communication pin. The Bluetooth chip module and the main control MCU module establish a UART communication link for data interaction between the controller unit module and the Bluetooth module unit.
8. A control method based on bidirectional communication and sleep mode coordination between a controller and a Bluetooth module, characterized in that, The application of the bidirectional interrupt wake-up system based on a controller and a Bluetooth module as described in any one of claims 1-7 includes the following steps: S1: System Initialization: Power is supplied to the bidirectional interrupt wake-up system based on the controller and Bluetooth module. The power supply unit supplies power to the power isolation unit, which boosts the voltage to 3.3V or 5V to power the controller unit and the Bluetooth module unit respectively. The controller unit enters a light sleep state, and the Bluetooth module unit enters a deep sleep state. The controller unit and the Bluetooth module unit establish a UART communication link and an interrupt dual-mode communication link, configure emergency parameters for communication anomalies, and synchronously configure the external interrupt port of the controller unit and the Bluetooth module unit to pull-up mode. After initialization, the system enters a normal sleep cooperative working condition. S2: Normal Sleep Co-control: The controller unit wakes up every 1-5 seconds to perform function detection, and returns to light sleep after the detection is completed; the Bluetooth module unit maintains deep sleep under normal conditions, retains interrupt reception and link layer handshake functions, and remains in sleep when there is no wake-up signal; the power supply unit and the functional isolation unit continuously output a stable voltage, and two independent power supply branches maintain power supply to the controller unit and the Bluetooth module unit. S3: Bidirectional interrupt wake-up and communication: Based on the source of the wake-up signal, the corresponding wake-up and communication steps are triggered. The interrupt signal is transmitted through the current-limited connection branch of the interrupt interface unit. After the communication is completed, the controller unit and the Bluetooth module unit return to normal sleep mode. S4: Communication Anomaly Emergency Control: During communication, the system detects the communication status, interrupt signal transmission status, power supply status of the power isolation unit, and power supply status of the power supply unit. If a communication anomaly is detected, the system performs 3-5 interrupt wake-up retry operations. If the retry is successful, normal communication and sleep coordination are restored. If the retry fails, the controller unit enters a light sleep state, the Bluetooth module unit enters a deep sleep state, and an anomaly log is recorded. Communication will be retried after the next wake-up. S5: Loop control: Repeatedly execute S2-S4.
9. The control method based on bidirectional communication and sleep mode coordination between the controller and Bluetooth module as described in claim 8, characterized in that, The wake-up and communication steps triggered in step S3 include the following wake-up methods: S31: Touch wake-up: The touch wake-up hardware receives a touch signal, triggers the controller unit to wake up, the controller unit sends an interrupt signal to the Bluetooth module unit through the current limiting connection branch and wakes up the Bluetooth module unit and data interaction. After the data interaction is completed, the controller unit sends a sleep command to control the controller unit and the Bluetooth module unit to sleep and enter the normal sleep state. S32: Remote wake-up: The Bluetooth module unit receives the remote control command and triggers its own wake-up. The Bluetooth module unit sends an interrupt signal to the controller unit through the current limiting connection branch and wakes up the controller unit to perform the corresponding operation. After the controller unit completes the operation, it sends the execution result data to the Bluetooth module unit. The Bluetooth module unit uploads the execution result data to the remote terminal. The controller unit and the Bluetooth module unit enter the normal sleep state. S33: Controller unit wake-up upon reaching operating conditions: The controller unit periodically checks its own preset operating conditions. When the operating conditions are met, the controller unit triggers its own wake-up. If the Bluetooth module unit needs to cooperate in execution, the controller unit sends an interrupt signal to the Bluetooth module unit through the current limiting connection branch and wakes up the Bluetooth module unit. The Bluetooth module unit cooperates in executing the task. After the task is completed, the controller unit sends a sleep command to control the Bluetooth module unit and itself to enter sleep mode. S34: Abnormal Wake-up: If the controller unit detects an abnormal operating condition, it triggers its own wake-up and sends an interrupt signal to the Bluetooth module unit via the current-limiting connection branch to wake up the Bluetooth module unit. The Bluetooth module unit uploads the abnormal information, and the controller unit performs emergency processing. When the abnormal operating condition is resolved, the controller unit and the Bluetooth module unit enter sleep mode.
10. A smart stove, characterized in that, The control method based on bidirectional communication and sleep mode coordination between the controller and Bluetooth module as described in claim 8 or 9 is applied.