Heat-not-burn equipment and master-slave communication identification circuit thereof

By introducing a master-slave communication identification circuit into the heating-non-combustion device, and using a resistor network and level signal acquisition to identify the slave connection status, the problem of the master being unable to identify the slave connection under low power consumption is solved. This achieves reliable identification of the connection status and safe power supply control under low power consumption, improving the stability and safety of the device.

CN121966795APending Publication Date: 2026-05-01GUANGDONG QISITECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG QISITECH CO LTD
Filing Date
2025-12-30
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In heated non-combustible devices, when the host is in a low-power state, it is difficult to reliably identify the connection status of the slave device, which may lead to safety hazards and the risk of accidental contact or short circuit.

Method used

The system employs a master-slave communication identification circuit, which includes a host interface module, a status acquisition module, and a control module. It identifies the connection status by acquiring serial port level signals in a low-power state, uses a resistor network to generate different level signals to distinguish between connection and disconnection states, and controls the switching module of the power supply path when necessary.

Benefits of technology

Accurately identify slave connection status in low-power mode, reduce system power consumption, improve the security and reliability of the device in standby and hibernation modes, and avoid the problem of connection status being unable to be determined due to the communication module being turned off.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121966795A_ABST
    Figure CN121966795A_ABST
Patent Text Reader

Abstract

The invention discloses a heat-not-burn device and a master-slave communication identification circuit thereof, the master-slave communication identification circuit comprises a host interface module, a state acquisition module and a control module, the state acquisition module acquires a level signal formed on a serial port sending end, and the control module sends the level signal to the host interface module when a host is in a normal power consumption working state. Detecting the connection state of the host and the slave through the serial port sending end and / or the serial port receiving end, and detecting the connection state of the host and the slave through the state acquisition module when the host is in a low-power-consumption working state; according to the technical scheme, a special detection pin or a complex detection circuit does not need to be additionally arranged, the overall power consumption of the system is effectively reduced while the connection recognition accuracy is guaranteed, the safety and reliability of the equipment in the standby and dormant states are improved, and the method is suitable for heating non-combustion equipment with high requirements for power consumption and stability.
Need to check novelty before this filing date? Find Prior Art

Description

Heating-not-burning equipment and its master-slave communication identification circuit Technical Field

[0001] This invention relates to the field of heating non-combustion equipment technology, and in particular to a heating non-combustion equipment and its master-slave communication identification circuit. Background Technology

[0002] Heated non-burning (HNB) devices typically employ a separate structure consisting of a main unit and a heating element module. The main unit provides power and control functions, while the slave unit carries the cigarette and performs the heating operation. The main unit and slave unit are generally connected for power and communication via electrical terminals. The main unit needs to control the power supply, communication, and operating mode according to the connection status of the slave unit.

[0003] In existing technologies, the master device typically determines whether the slave device is connected to the master by checking the status of serial communication. When the master device is operating normally and the communication module remains active, this method can reliably identify the master-slave connection. However, as HNB devices increasingly demand higher battery life and standby power consumption, the master device often needs to enter a low-power or sleep state when not in operation, disabling high-power modules such as serial communication. In this situation, it becomes difficult for the master device to continue determining the master-slave connection status through communication.

[0004] To enable functions such as insertion detection and status monitoring, some HNB devices require the slave unit to maintain power supply even when the master unit is in a low-power state. This means the master unit must still be able to identify whether the slave unit is connected or disconnected even in sleep mode. If the master unit cannot promptly identify the disconnection status of the slave unit in a low-power state, the master unit interface may remain powered, potentially causing short circuits, accidental touches, or safety hazards after the slave unit is disconnected. Summary of the Invention

[0005] This invention provides a heating circuit and a heating non-combustible device to solve the above-mentioned technical problems.

[0006] The first aspect of this invention provides a master-slave communication identification circuit for a heating-not-burning device. The master-slave communication identification circuit includes: a master interface module connected to a slave device, the master interface module including a power connection terminal, a ground connection terminal, a serial port transmitting terminal, and a serial port receiving terminal; the power connection terminal is configured to provide operating power to the slave device; the serial port transmitting terminal is configured to send communication data to the slave device; and the serial port receiving terminal is configured to receive the communication data sent by the slave device; and a status acquisition module connected to the power supply voltage corresponding to the power connection terminal and the serial port transmitting terminal, configured to: acquire the status... The level signal generated on the serial port transmitter; the control module, connected to the status acquisition module, is configured to: detect the connection status between the host and the slave device through the serial port transmitter and / or the serial port receiver when the host is in a normal power consumption operating state, and detect the connection status between the host and the slave device through the status acquisition module when the host is in a low power consumption operating state; wherein, the normal power consumption operating state means that the output power of the host is within a preset output power range, and the low power consumption operating state means that the output power of the host is lower than the lower limit of the preset output power range.

[0007] Optionally, when the host is in a low-power operating state and the host and the slave are connected, the status acquisition module outputs a first level signal; when the host is in a low-power operating state and the host and the slave are disconnected, the status acquisition module outputs a second level signal; of the first level signal and the second level signal, one is a high level signal and the other is a low level signal.

[0008] Optionally, the status acquisition module includes a first resistor and a second resistor. One end of the first resistor is connected to the power supply voltage, and the other end of the first resistor is connected to the serial port transmitter, serving as the signal output terminal of the status acquisition module. One end of the second resistor is connected to the serial port receiver of the slave device, and the other end of the second resistor is connected to ground. The first resistor is configured to generate a high-level signal at the signal output terminal when the master and slave devices are disconnected. The second resistor is configured to generate a low-level signal at the signal output terminal when the master and slave devices are connected.

[0009] Optionally, the host includes a switch module, one end of which is connected to the power supply voltage, and the other end of which is connected to the power connection terminal; the control module is connected to the control terminal of the switch module and is configured to: control the switch module to turn on when receiving a first level signal output by the status acquisition module to output operating power to the slave device; and control the switch module to turn off when receiving a second level signal output by the status acquisition module to stop outputting operating power to the slave device.

[0010] Optionally, when the host is in normal power consumption operation, the control module is configured to communicate with the slave through the serial port transmitter and / or the serial port receiver, and when normal communication is detected, determine that the host and the slave are in a connected state, and when an abnormal communication is detected, determine that the host and the slave are in a disconnected state.

[0011] Optionally, the control module is further configured to record the connection status change when a change in the connection status between the master and slave is detected; wherein the recorded content includes the number of connections, the number of disconnections, or the connection duration.

[0012] Optionally, when the host is in a low-power operating state, the control module is configured to periodically wake up and detect the status acquisition module according to a preset detection cycle.

[0013] Optionally, the control module is configured to dynamically adjust the preset detection period based on the historical records of the connection status.

[0014] Optionally, when the connection state remains stable within a preset time, the detection period is extended; when an abnormal change in the connection state is detected, the detection period is shortened.

[0015] A second aspect of the present invention provides a heating non-combustible device, the heating non-combustible device including the master-slave communication identification circuit described in the first aspect.

[0016] The technical advantages of this invention are as follows: the host can reliably identify the connection status of the slave device using serial communication under normal power consumption conditions, and complete the connection identification through level sampling under low power consumption conditions, thereby avoiding the problem of connection status being undetermined due to the communication module being turned off. This solution does not require additional dedicated detection pins or complex detection circuits, effectively reducing the overall power consumption of the system while ensuring the accuracy of connection identification, and improving the safety and reliability of the device in standby and sleep states. It is suitable for heating and non-combustion devices with high requirements for power consumption and stability. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 is a schematic diagram of the master-slave communication identification circuit of a heating non-combustible device provided in Embodiment 1 of the present invention; Figure 2 is a circuit diagram of the master-slave communication identification circuit of a heating non-combustible device provided in Embodiment 1 of the present invention; Figure 3 is another circuit diagram of the master-slave communication identification circuit of a heating non-combustible device provided in Embodiment 1 of the present invention; In the figures: 100, master; 101, master interface module; 102, status acquisition module; 103, control module; 104, slave; 105, switch module. Detailed Implementation

[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] It should be understood that the invention can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, for clarity, the dimensions and relative dimensions of layers and regions may be exaggerated. The same reference numerals denote the same elements throughout.

[0021] It should be understood that when an element or layer is referred to as "on," "adjacent to," "connected to," or "coupled to" other elements or layers, it may be directly on, adjacent to, connected to, or coupled to other elements or layers, or there may be intervening elements or layers. Conversely, when an element is referred to as "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" other elements or layers, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc., may be used to describe various elements, components, areas, layers, and / or portions, these elements, components, areas, layers, and / or portions should not be limited by these terms. These terms are only used to distinguish one element, component, area, layer, or portion from another element, component, area, layer, or portion. Therefore, without departing from the teachings of this invention, the first element, component, area, layer, or portion discussed below may be referred to as the second element, component, area, layer, or portion.

[0022] To fully understand this invention, detailed structures and steps will be presented in the following description to illustrate the technical solution proposed by this invention. Preferred embodiments of the invention are described in detail below; however, in addition to these detailed descriptions, the invention may have other embodiments.

[0023] Example 1 provides a master-slave communication identification circuit for a heated non-combustible device, as shown in Figure 1. The master-slave communication identification circuit includes: a master interface module 101, connected to a slave device 104. The master interface module 101 includes a power connection terminal, a ground connection terminal, a serial port transmitter terminal, and a serial port receiver terminal. The power connection terminal is configured to provide operating power to the slave device 104, the serial port transmitter terminal is configured to send communication data to the slave device 104, and the serial port receiver terminal is configured to receive communication data sent by the slave device 104; a status acquisition module 102, connected to the power supply voltage corresponding to the power connection terminal and the serial port transmitter terminal respectively, and configured to: acquire... The system collects the level signal generated on the serial port transmitter; the control module 103, connected to the status acquisition module 102, is configured to: detect the connection status between the host 100 and the slave 104 through the serial port transmitter and / or serial port receiver when the host 100 is in a normal power consumption operating state; and detect the connection status between the host 100 and the slave 104 through the status acquisition module 102 when the host 100 is in a low power consumption operating state; wherein, the normal power consumption operating state means that the output power of the host 100 is within a preset output power range, and the low power consumption operating state means that the output power of the host 100 is lower than the lower limit of the preset output power range.

[0024] The host interface module 101 is used to establish electrical and communication connections between the host 100 and the slave 104. Specifically, the host interface module 101 includes a power connection terminal, a ground connection terminal, a serial port transmitter terminal, and a serial port receiver terminal. The power connection terminal outputs operating power to the slave 104, enabling it to operate normally in the connected state. The ground connection terminal provides a unified reference ground for both the host 100 and the slave 104. The serial port transmitter terminal sends communication data from the host 100 to the slave 104. The serial port receiver terminal receives communication data returned by the slave 104. Through these interface settings, the host 100 can establish a stable power supply and communication channel with the slave 104 under normal operating conditions, thereby supporting the heating control and status interaction of the slave 104. The status acquisition module 102 is connected to the power supply voltage corresponding to the power connection terminal and the serial port transmitter terminal, respectively, and is used to acquire the level signals generated on the serial port transmitter terminal. The status acquisition module 102 can generate different voltage levels at the serial port transmitter based on whether the host 100 and slave 104 are connected, and output the corresponding voltage signals to the control module 103. When the host 100 is in a low-power operating state, the serial communication function can be turned off. The status acquisition module 102 can determine the connection status between the host 100 and slave 104 by acquiring the voltage signals at the serial port transmitter, without relying on continuous communication. The control module 103 is connected to the status acquisition module 102 and is used to select the corresponding connection identification method based on the current operating state of the host 100. When the host 100 is in a normal power consumption operating state, the control module 103 communicates with the slave 104 through the serial port transmitter and / or serial port receiver, and determines whether the host 100 and slave 104 are connected based on whether the communication is normal. When the host 100 is in a low-power operating state, the control module 103 no longer relies on serial communication. Instead, it determines the connection status between the host 100 and the slave 104 based on the level signal acquired by the status acquisition module 102, thereby achieving connection identification under low-power conditions. Normal power consumption operating state means that the output power of the host 100 is within a preset output power range; low-power operating state means that the output power of the host 100 is below the lower limit of the preset output power range. The control module 103 can automatically identify the current operating state based on the output power of the host 100 and switch the corresponding identification strategy between different states.

[0025] Through the master-slave communication identification circuit provided in this embodiment, the master unit 100 can reliably identify the connection status of the slave unit 104 via serial communication under normal power consumption operation, and complete the connection identification through level acquisition under low power consumption operation, thereby avoiding the problem of connection status being undetermined due to the communication module being turned off. This solution does not require additional dedicated detection pins or complex detection circuits, effectively reducing the overall power consumption of the system while ensuring the accuracy of connection identification, and improving the safety and reliability of the device in standby and hibernation states. It is suitable for heating and non-combustion devices with high requirements for power consumption and stability.

[0026] In one implementation, when the host 100 is in a low-power operating state and the host 100 and slave 104 are connected, the status acquisition module 102 outputs a first level signal; when the host 100 is in a low-power operating state and the host 100 and slave 104 are disconnected, the status acquisition module 102 outputs a second level signal; of the first level signal and the second level signal, one is a high level signal and the other is a low level signal.

[0027] When the host 100 is in a low-power operating state, the status acquisition module 102 identifies the connection relationship between the host 100 and the slave 104. Specifically, when the host 100 and the slave 104 are connected, the status acquisition module 102 generates and outputs a first-level signal at the serial port transmitter. This first-level signal reflects the existence of a valid electrical connection between the host 100 and the slave 104. When the host 100 and the slave 104 are separated and in an open state, due to the change in the connection path, the status acquisition module 102 generates a level change at the corresponding position that differs from the connected state and outputs a second-level signal. The second-level signal is clearly distinguishable from the first-level signal in terms of level attributes, enabling the control module 103 to identify the open state of the host 100 and the slave 104. In this embodiment, one of the first-level signal and the second-level signal is a high-level signal, and the other is a low-level signal. The specific level correspondence can be set according to the actual circuit design needs and is not limited to a fixed configuration, as long as a distinguishable level output can be generated in the connected and open states.

[0028] This embodiment uses different level signals to represent the connection and disconnection status of the host 100 and the slave 104 in a low-power operating state. This embodiment allows the host 100 to reliably identify the connection status without maintaining serial communication functionality. This method has a simple structure and clear judgment, which can effectively reduce system energy consumption in a low-power state, while providing accurate basis for subsequent power supply control and safety protection, thereby improving the safety and stability of the heated non-combustible device in standby or sleep states.

[0029] As one implementation, as shown in Figure 2, the status acquisition module 102 includes a first resistor R1 and a second resistor R2. One end of the first resistor R1 is connected to the power supply voltage, and the other end of the first resistor R1 is connected to the serial port transmitter and serves as the signal output terminal of the status acquisition module 102. One end of the second resistor R2 is connected to the serial port receiver of the slave device 104, and the other end of the second resistor R2 is connected to ground. The first resistor R1 is configured to generate a high-level signal at the signal output terminal when the master device 100 and the slave device 104 are disconnected. The second resistor R2 is configured to generate a low-level signal at the signal output terminal when the master device 100 and the slave device 104 are connected.

[0030] The status acquisition module 102 employs a resistor network structure to acquire the connection level of the host 100 and slave 104. Specifically, when the host 100 and slave 104 are disconnected, since the slave 104 no longer provides effective electrical support to the serial port transmitter, the first resistor R1, connected to the power supply voltage, keeps the signal output at a high level, indicating that there is no effective connection between the host 100 and slave 104. When the host 100 and slave 104 are connected, the serial port receiver of the slave 104 pulls down the serial port transmitter via the second resistor R2, causing the potential of the signal output to change and become low. Through the above resistor connection relationship, the status acquisition module 102 can generate a clearly distinguishable level signal at the same signal output terminal under different connection states of the host 100 and slave 104. It should be noted that the resistance values ​​of the first resistor R1 and the second resistor R2 can be selected according to the actual circuit requirements. As long as a stable and distinguishable high and low level signal can be formed in the connected and disconnected states, the functional purpose of this embodiment can be achieved.

[0031] The technical advantage of this embodiment is that by introducing a level-forming structure composed of a first resistor and a second resistor into the status acquisition module 102, the connection status between the host 100 and the slave 104 can be identified using a simple and reliable resistor network without relying on serial communication. This solution has a simple circuit structure and low implementation cost. In low-power operation, detection can be completed without additional communication modules, effectively reducing system power consumption. Simultaneously, it provides a stable and clear basis for the host 100's power supply control and safety management of the slave 104, which is beneficial to improving the overall safety and reliability of the heating-non-combustion equipment.

[0032] As one implementation, as shown in FIG3, the host 100 includes a switch module 105, one end of which is connected to a power supply voltage, and the other end of which is connected to a power connection terminal. The control module 103 is connected to the control terminal of the switch module 105 and is configured to: control the switch module 105 to conduct when a first level signal output by the status acquisition module 102 is received, so as to output working power to the slave 104; and control the switch module 105 to deactivate when a second level signal output by the status acquisition module 102 is received, so as to stop outputting working power to the slave 104.

[0033] The host 100 is equipped with a switch module 105 for controlling the power supply of the slave 104. One end of the switch module 105 is connected to the power supply voltage of the host 100, and the other end is connected to the power connection terminal in the host interface module 101, thereby forming a controlled path for the host 100 to output working power to the slave 104.

[0034] The control module 103 is electrically connected to the control terminal of the switch module 105 and is used to control the operating state of the switch module 105 according to the level signal output by the status acquisition module 102. When the status acquisition module 102 outputs the first level signal, the control module 103 determines that the master 100 and the slave 104 are in a connected state, and outputs a corresponding control signal to the switch module 105, causing the switch module 105 to enter the conduction state, thereby allowing the master 100 to provide operating power to the slave 104.

[0035] When the status acquisition module 102 outputs the second level signal, the control module 103 determines that the host 100 and the slave 104 are in a disconnected state, and adjusts the control of the switch module 105, causing the switch module 105 to switch from the on state to the off state, thereby interrupting the power output from the host 100 to the slave 104. Through the above control method, the host 100 can dynamically adjust the power supply state according to the host-slave connection status.

[0036] By incorporating a switch module 105 controlled by a control module 103 within the host 100, and linking the power supply status of the slave 104 with the connection identification result, this implementation can promptly cut off the power output when the slave 104 is disconnected from the host 100, preventing continuous power supply at the host 100 interface. This solution ensures stable power supply to the slave 104 during normal connection while improving the safety and reliability of the device in low-power or non-operating states, effectively reducing the possibility of risks caused by accidental contact or short circuits.

[0037] In one implementation, when the host 100 is in normal power consumption operation, the control module 103 is configured to communicate with the slave 104 through a serial port transmitter and / or a serial port receiver. When normal communication is detected, the host 100 and the slave 104 are determined to be in a connected state, and when an abnormal communication is detected, the host 100 and the slave 104 are determined to be in a disconnected state.

[0038] When the host 100 is operating at normal power consumption, the control module 103 initiates serial communication and sends communication data to the slave 104 via the serial port transmitter, or receives response data from the slave 104 via the serial port receiver. During communication, the control module 103 monitors the data interaction results, such as whether data was successfully sent and whether a valid response was received within a preset time. If the communication process meets the preset normal communication conditions, a valid connection is established between the host 100 and the slave 104; if communication is abnormal or no valid response is received within the preset time, the connection between the host 100 and the slave 104 is determined to be disconnected or in an abnormal connection state. Through this method, the control module 103 can dynamically determine the connection status between the host 100 and the slave 104 during normal operation of the host 100.

[0039] The technical advantages of this implementation are as follows: By using the serial port transmitter and / or receiver for communication detection under normal power consumption conditions of the host 100, this implementation can achieve real-time judgment of the master-slave connection status without the need for an additional dedicated connection detection circuit, effectively reducing system hardware complexity and power consumption. Furthermore, determining the connection status based on the communication results improves the accuracy and real-time performance of connection detection, avoiding misjudgments caused by physical interface abnormalities or slave device 104 failure, thereby enhancing the reliability and stability of the entire system.

[0040] In one implementation, the control module 103 is also configured to record the connection status change when a change in the connection status between the host 100 and the slave 104 is detected; wherein the recorded content includes the number of connections, the number of disconnections, or the connection duration.

[0041] During operation, the control module 103 continuously monitors the connection status between the host 100 and the slave 104. When it is determined that the connection between the host 100 and the slave 104 changes from an established state to a disconnected state, or from a disconnected state to an established state, the control module 103 triggers a state change recording mechanism and stores the corresponding state change information in a preset data storage unit. The state change information may include, but is not limited to, the number of successful connections between the host 100 and the slave 104, the number of connection interruptions, and the duration of a single connection or the cumulative connection duration. By collecting and storing the above data, the control module 103 can form a historical record reflecting the connection behavior characteristics of the host 100 and the slave 104.

[0042] The technical advantages of this implementation are as follows: by recording relevant information when a change in the master-slave connection status is detected, a quantitative assessment of connection stability and reliability can be achieved, providing data support for subsequent fault analysis, anomaly warning, or maintenance decisions. Simultaneously, statistical analysis based on parameters such as the number of connections, disconnections, and connection duration helps to promptly identify potential communication anomalies or interface aging issues, thereby improving system maintainability and overall reliability, and enhancing the long-term monitoring capability of the master-slave communication status.

[0043] As one implementation, when the host 100 is in a low-power operating state, the control module 103 is configured to periodically wake up the status acquisition module 102 according to a preset detection cycle.

[0044] When the host 100 enters a low-power operating mode, the control module 103 manages the power consumption of system functions and puts the status acquisition module 102 into a sleep or standby state. In this low-power mode, the control module 103 periodically sends wake-up commands to the status acquisition module 102 according to a pre-set detection cycle, causing the status acquisition module 102 to briefly enter a working state at the corresponding detection time to complete the acquisition of status information. After completing the status detection, the control module 103 further controls the status acquisition module 102 to re-enter the low-power state, thereby reducing overall energy consumption while ensuring status monitoring requirements are met.

[0045] The technical advantages of this embodiment are as follows: By periodically waking up the status acquisition module 102 during the low-power operation of the host 100, the continuous working time of the status acquisition module 102 is effectively reduced while maintaining necessary status monitoring functions, significantly lowering the overall system power consumption. Simultaneously, waking up based on a preset detection cycle achieves a balance between power consumption control and status response speed, avoiding energy waste caused by frequent wake-ups, thereby improving the device's battery life and operational stability in low-power mode.

[0046] In one implementation, the control module 103 is configured to dynamically adjust the preset detection cycle based on the historical records of the connection status.

[0047] During operation, the control module 103 continuously records the connection status between the host 100 and the slave 104, storing information such as connection establishment, connection interruption, and connection duration as historical status data. When the host 100 is in a low-power operating state or needs to perform status detection, the control module 103 evaluates the current connection stability based on the historical status data and adjusts the time interval of subsequent status detections according to the evaluation results. When the historical record indicates that the connection relationship between the host 100 and the slave 104 remains stable for a long period, the control module 103 increases the time interval between two adjacent status detections accordingly; when the historical record shows frequent changes in the connection status or abnormal interruptions, the control module 103 shortens the detection interval to improve the timeliness of status detection.

[0048] The technical advantages of this implementation are as follows: By dynamically adjusting the detection cycle based on the historical connection status, unnecessary frequent detections can be reduced while ensuring the accuracy of connection status identification, thereby effectively reducing system power consumption. Simultaneously, promptly increasing the detection frequency when the connection status is unstable or exhibits abnormal trends helps to quickly detect connection anomalies, improving the reliability of master-slave communication identification and the stability of system operation.

[0049] As one implementation method, the detection cycle is extended when the connection status remains stable within a preset time; the detection cycle is shortened when an abnormal change in the connection status is detected.

[0050] In this process, the control module 103 continuously monitors the connection status between the host 100 and the slave 104, and statistically analyzes the changes in the connection status within a preset time period. When the analysis results show that the connection between the host 100 and the slave 104 remains stable within the preset time period without any abnormal disconnection or communication anomalies, the control module 103 extends the time interval for the next status detection, thereby reducing the detection frequency. Conversely, when unexpected switching of the connection status, frequent disconnections, or abnormal communication characteristics are detected, the control module 103 correspondingly compresses the time interval between adjacent detections to improve the response speed of connection status monitoring.

[0051] The technical effect of this embodiment is as follows: By reducing the detection frequency when the connection state is stable and increasing the detection frequency when the connection state is abnormal, an adaptive balance can be achieved between power consumption control and the timeliness of state recognition, effectively reducing the energy consumption overhead in stable operation scenarios, and quickly obtaining connection change information when an abnormality occurs, thereby improving the reliability of master-slave communication recognition and the stability of the overall system operation.

[0052] As an embodiment, when the host is in the low-power working state, when the control module 103 makes a connection determination on the output of the state acquisition module 102, it not only makes a judgment based on the binary result of high level / low level, but can also introduce a multi-threshold interval determination mechanism to distinguish more fine-grained connection states such as stable connection, stable disconnection, poor contact / jitter, port floating, or abnormal interference, so as to improve the recognition accuracy and anti-interference ability in low-power scenarios.

[0053] In this embodiment, the control module 103 pre-stores at least three voltage thresholds, namely the first threshold Vth1, the second threshold Vth2, and the third threshold Vth3, where: Vth1 < Vth2 < Vth3; Vth1, Vth2, and Vth3 can be determined according to the power supply voltage, interface resistance network parameters, and port input characteristics, or can be fixed as constants after factory calibration.

[0054] The signal output end of the state acquisition module 102 (such as the sampling node associated with the serial port sending end) outputs a sampling voltage Vs each time it is woken up for detection. The control module 103 compares Vs with each threshold and maps the connection state to different determination results accordingly. For example, it can be optionally set as: Disconnected stable state: Vs ≥ Vth3; Connected stable state: Vs ≤ Vth1; Transition / uncertain state: Vth1 < Vs < Vth3; Among them, in order to further subdivide the uncertain state, it can also be divided into two categories by Vth2: Bias connection transition area: Vth1 < Vs ≤ Vth2; Bias disconnection transition area: Vth2 < Vs < Vth3.

[0055] It should be noted that the above threshold intervals are only for illustrative purposes. Those skilled in the art can select to correspond the "connected stable state" and the "disconnected stable state" to the opposite high and low intervals according to the pull-up / pull-down structure of the actual circuit, as long as stable distinction in different connection situations can be achieved.

[0056] As an optional implementation, the control module 103 wakes up the status acquisition module 102 according to a preset detection cycle in a low-power operating state (compatible with existing periodic wake-up logic), and performs the following steps each time it is woken up: Step S11: Wake up and establish sampling window. The control module 103 outputs wake-up control to the status acquisition module 102, so that it completes level formation and stabilization within the preset sampling window (e.g., waiting for port RC stabilization time) to reduce the impact of transient disturbances on the measurement.

[0057] Step S12: Acquire the sampling voltage Vs. The control module 103 obtains the sampling voltage Vs at the output of the status acquisition module 102 through internal sampling resources (such as ADC sampling or comparator input). To reduce sampling error, multiple samples can be taken within the same window, and the mean / median value can be used as Vs.

[0058] Step S13: Threshold interval judgment and state mapping. The control module 103 compares Vs with Vth1, Vth2, and Vth3, and outputs the connection state judgment result according to the interval it falls into, including but not limited to: stable connection, stable disconnection, partial connection transition, partial disconnection transition, or abnormal floating.

[0059] Step S14: Execute linkage control based on the determination result. When the connection is determined to be stable, the control module 103 allows the power supply to the slave device to be maintained or restored, and maintains the low power consumption detection strategy. When the connection is determined to be stable, the control module 103 controls the switch module to disconnect to stop the output power supply and avoid the interface from being continuously powered. When the connection is determined to be a transitional / uncertain state, the control module 103 can enter the "confirmation strategy", such as shortening the next detection cycle, increasing the number of repeated samplings, or delaying the confirmation without immediately changing the power supply state.

[0060] In low-power scenarios, due to factors such as slight interface looseness, plug-and-play transients, and electrostatic interference, the sampled voltage Vs may briefly fall into the transition region. To avoid misjudgment causing frequent power supply switching, in this embodiment, the control module 103 may optionally adopt one or a combination of the following confirmation strategies: when Vs falls between Vth1 and Vth3, the control module 103 adds N samples (N≥2) within the same wake-up window and remaps the state based on the majority vote or median result.

[0061] When the current determination is a transitional / uncertain state, the control module 103 increases the detection frequency (shortens the detection cycle) in the next M detection cycles. If the determinations fall into the same stable range (connecting to the stable range or disconnecting from the stable range) for K consecutive times (K≤M), the final state is confirmed; if it is still fluctuating in the transitional range, the protection strategy is maintained or an abnormal flag is given.

[0062] Set the connection determination threshold and the disconnection determination threshold as different threshold pairs. For example, for the connection entry condition, use Vs ≤ Vth1_enter, and for the connection exit condition, use Vs ≥ Vth1_exit (Vth1_enter < Vth1_exit). Similarly for disconnection entry / exit, to form a voltage determination hysteresis and reduce state flips caused by critical point jitter.

[0063] As an optional implementation, Vth1, Vth2, and Vth3 can be set in the following ways: Set fixed thresholds: At the factory, set and write to the control module 103 according to parameters such as the typical power supply voltage, the resistance value ranges of the first and second resistors, and the port input threshold; Set according to the proportion of the power supply voltage: Set the thresholds as proportional values of the power supply voltage. For example, Vth1 = a·Vbat, Vth2 = b·Vbat, Vth3 = c·Vbat, where 0 < a < b < c < 1, so as to adapt to the change of the battery voltage; Set adaptive thresholds based on historical sampling: Respectively count the mean value and the fluctuation range of Vs in the stable connection / stable disconnection state, and dynamically update the threshold interval width to make the thresholds more suitable for the interface differences and aging trends of individual devices.

[0064] The technical effect of this embodiment is that by introducing multi-threshold interval determination in the low-power connection recognition process, the original binary connection judgment can be extended to multi-state recognition. Especially when the sampling level is in the critical area due to interface jitter, plugging / unplugging transients or external interference, the control module 103 can avoid misjudgment through the transition area recognition and confirmation strategy, thereby reducing the risk of frequent switching and mis-triggering of the power supply path; at the same time, when a stable disconnection is detected, the interface power supply can still be cut off in time, improving the safety and reliability in the low-power standby state, and achieving a better balance between power consumption control and recognition timeliness.

[0065] As an embodiment, while the control module 103 recognizes the connection state between the host and the slave, it is also configured to record and analyze the connection history behavior between the host and the slave to achieve the recognition and warning of abnormal connection states.

[0066] Specifically, when the control module 103 detects a change in the connection state between the host and the slave, it records the corresponding state change event and stores the recording result in a preset data storage unit. The connection history information includes but is not limited to: the number of times the host and the slave establish a connection, the number of disconnections, the duration of a single connection, and the cumulative connection duration within a preset statistical period. The control module 103 can statistically update the above connection history information according to a preset time window to form historical data reflecting the connection stability between the host and the slave.

[0067] Based on this, the control module 103 analyzes the connection behavior of the master and slave devices using connection history information. When it detects that the number of connections or disconnections within a unit of time exceeds a preset threshold, or the duration of a single connection is significantly shorter than a preset time threshold, or disconnections occur in a concentrated manner within multiple consecutive detection cycles, the control module 103 determines the current master-slave connection state as an abnormal connection state. This abnormal connection state indicates that the master-slave interface may have poor contact, loose structure, or other abnormal conditions affecting connection stability.

[0068] After determining that the master and slave devices are in an abnormal connection state, the control module 103 can perform corresponding linkage processing operations according to a preset strategy. For example, the control module 103 can generate an abnormal connection identifier to record or indicate the current connection risk; when the master device is in a low-power operating state or a non-operating state, the control module 103 can also limit or stop the output of operating power to the slave device to avoid the interface being continuously powered under unstable connection conditions; when the abnormal connection state persists or the degree of abnormality exceeds a preset level, the control module 103 can further control the system to enter a protection mode, such as disabling the heating function, delaying power output, or increasing the connection detection frequency.

[0069] When subsequent connection history data indicates that the connection status between the master and slave devices has returned to stability, the control module 103 can automatically remove the abnormal connection flag and restore the normal connection detection and power supply control strategy.

[0070] Through the above implementation method, long-term monitoring and trend analysis of connection behavior can be carried out based on the master-slave connection history, thereby identifying potential risks and triggering corresponding early warning or protection measures in the early stage of abnormal connection, avoiding power supply failure or safety hazards caused by interface instability, and improving the safety, reliability and maintainability of heating non-combustion equipment during long-term use.

[0071] Example 2 This example provides a heating non-combustible device, which includes the master-slave communication identification circuit described in Example 1.

[0072] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A master-slave communication identification circuit for a heating-non-combustion device, characterized in that, The master-slave communication identification circuit includes: a master interface module connected to the slave device, the master interface module including a power connection terminal, a ground connection terminal, a serial port transmitter terminal, and a serial port receiver terminal, the power connection terminal being configured to provide operating power to the slave device, the serial port transmitter terminal being configured to send communication data to the slave device, and the serial port receiver terminal being configured to receive communication data sent by the slave device; a status acquisition module connected to the power supply voltage corresponding to the power connection terminal and the serial port transmitter terminal respectively, configured to: acquire the level signal formed on the serial port transmitter terminal; and a control module connected to the status acquisition module, configured to: detect the connection status between the master and the slave device through the serial port transmitter terminal and / or the serial port receiver terminal when the master is in a normal power consumption operating state, and detect the connection status between the master and the slave device through the status acquisition module when the master is in a low power consumption operating state; wherein, the normal power consumption operating state means that the output power of the master is within a preset output power range, and the low power consumption operating state means that the output power of the master is lower than the lower limit of the preset output power range.

2. The master-slave communication identification circuit as described in claim 1, characterized in that, When the host is in a low-power operating state and the host and the slave are connected, the status acquisition module outputs a first level signal; When the host is in a low-power operating state and the host and the slave are disconnected, the status acquisition module outputs a second level signal; of the first level signal and the second level signal, one is a high level signal and the other is a low level signal.

3. The master-slave communication identification circuit as described in claim 2, characterized in that, The status acquisition module includes a first resistor and a second resistor. One end of the first resistor is connected to the power supply voltage, and the other end of the first resistor is connected to the serial port transmitter, serving as the signal output terminal of the status acquisition module. One end of the second resistor is connected to the serial port receiver of the slave device, and the other end of the second resistor is connected to ground. The first resistor is configured to generate a high-level signal at the signal output terminal when the master and slave devices are disconnected. The second resistor is configured to generate a low-level signal at the signal output terminal when the master and slave devices are connected.

4. The master-slave communication identification circuit as described in claim 2, characterized in that, The host includes a switch module, one end of which is connected to the power supply voltage, and the other end of which is connected to the power connection terminal. The control module is connected to the control terminal of the switch module and is configured to: control the switch module to turn on when it receives a first level signal output by the status acquisition module, so as to output working power to the slave device; and control the switch module to turn off when it receives a second level signal output by the status acquisition module, so as to stop outputting working power to the slave device.

5. The master-slave communication identification circuit as described in any one of claims 1 to 4, characterized in that, When the host is in normal power consumption operation, the control module is configured to communicate with the slave through the serial port transmitter and / or the serial port receiver, and when normal communication is detected, determine that the host and the slave are in a connected state, and when an abnormal communication is detected, determine that the host and the slave are in a disconnected state.

6. The master-slave communication identification circuit as described in any one of claims 1 to 4, characterized in that, The control module is also configured to record the connection status change when a change in the connection status between the master and slave is detected; wherein the recorded content includes the number of connections, the number of disconnections, or the connection duration.

7. The master-slave communication identification circuit as described in any one of claims 1 to 4, characterized in that, When the host is in a low-power operating state, the control module is configured to periodically wake up and detect the status acquisition module according to a preset detection cycle.

8. The master-slave communication identification circuit according to claim 7, characterized in that, The control module is configured to dynamically adjust the preset detection cycle based on the historical records of the connection status.

9. The master-slave communication identification circuit according to claim 8, characterized in that, When the connection status remains stable within a preset time, the detection period is extended; when an abnormal change in the connection status is detected, the detection period is shortened.

10. A heating non-combustible device, characterized in that, The heated non-combustible device includes the master-slave communication identification circuit as described in any one of claims 1 to 9.