Configuration management method of low-power-consumption Bluetooth penetration module and related device

By dynamically switching operating modes and using non-volatile storage, the energy consumption and configuration management issues of traditional low-power Bluetooth modules are solved, resulting in a high-efficiency and reliable low-power Bluetooth penetration module suitable for IoT applications.

CN121815226APending Publication Date: 2026-04-07BEIJING HUIXINTONG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-25
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Traditional low-power Bluetooth modules have shortcomings in power management and configuration management, resulting in short battery life, high configuration complexity, and parameter volatility, which cannot meet the needs of long-term unattended operation and convenient configuration in IoT applications.

Method used

By dynamically switching operating modes, seamless switching between AT command configuration and data pass-through is achieved. Combined with non-volatile storage and deep sleep mode, the real-time effectiveness and persistence of parameters are ensured, and average power consumption is reduced.

Benefits of technology

It significantly extends the device's battery life, improves the reliability and efficiency of the configuration, reduces energy consumption and maintenance costs, and is suitable for battery-powered scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121815226A_ABST
    Figure CN121815226A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication of the Internet of Things, in particular to a configuration management method of a low-power-consumption Bluetooth penetration module and a related device. According to the method, the working modes are dynamically switched according to the Bluetooth connection state. In the AT instruction configuration mode, receiving, analyzing and verifying an AT instruction through a serial communication interface; for the parameter setting instruction, immediately applying the modified parameters to the module and storing the modified parameters to the nonvolatile storage unit; in the AT instruction configuration mode, a real-time clock timer is configured by judging the idle state of the module and combining the preset task period, so that the module periodically enters the deep sleep mode until the timer is triggered and awakened, the deep sleep time of the module is prolonged to the maximum extent, the overall average power consumption is remarkably reduced, and the service life of the module is prolonged. And the cruising ability of the equipment in a battery power supply scene is greatly prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things (IoT) wireless communication technology, and in particular to a configuration management method and related apparatus for a low-power Bluetooth pass-through module. Background Technology

[0002] With the rapid development of IoT technology, Bluetooth Low Energy (BLE) technology, due to its inherent advantages of low power consumption, low cost, and short-range communication, has become a key technology in applications such as smart homes, wearable devices, and industrial automation. In the IoT field, there are increasingly higher requirements for device battery life and configuration management. Especially in battery-powered or remotely deployed IoT applications, devices need ultra-long battery life, as well as convenient and reliable configuration management methods to meet different usage needs and environmental conditions. This is of great significance for promoting the widespread application and development of IoT technology, enabling IoT devices to operate more efficiently and stably, and providing users with better services and experiences.

[0003] Traditional Bluetooth Low Energy (BLE) module designs typically employ simple hardware architectures and basic control logic, primarily focusing on basic data transmission via serial interfaces (such as UART) to simplify design and reduce costs. This design approach results in modules lacking sophisticated energy efficiency management and functional flexibility, failing to meet the demands of complex and diverse IoT application scenarios. Regarding configuration management, traditional modules generally lack support for standard AT command sets, forcing users to rely on complex, customized protocols or dedicated programming tools during device development, debugging, and field configuration. Furthermore, if the configuration information is not stored in non-volatile memory after parameter configuration, modified parameters are lost upon power failure.

[0004] However, the relevant technologies have significant drawbacks. In terms of energy management, traditional modules lack precise energy efficiency management. In inactive or sleep modes, the module's energy consumption fails to reach ultra-low levels, resulting in significantly shortened battery life in battery-powered scenarios. This fails to meet the requirements of long-term unattended operation in IoT applications and increases maintenance costs. Regarding configuration management, the lack of AT command support increases configuration complexity, leads to lengthy debugging cycles, increased development difficulty, and high subsequent maintenance costs. Furthermore, parameter volatility severely impacts user experience and the reliability of field deployments. Summary of the Invention

[0005] In order to at least partially solve the above-mentioned technical problems in the related technologies, this application provides a configuration management method and related apparatus for a low-power Bluetooth penetration module.

[0006] On the one hand, the configuration management method for a low-power Bluetooth penetration module provided in this application adopts the following technical solution: A configuration management method for a low-power Bluetooth pass-through module includes the following steps: S1. Dynamically switch the working mode of the low-power Bluetooth penetration module according to the Bluetooth connection status of the low-power Bluetooth penetration module. The working mode includes AT command configuration mode and data pass-through mode. S2. In the AT command configuration mode, AT command input is monitored through the serial communication interface; S3. After receiving the AT command, parse the AT command and perform parameter validity verification; S4. If the AT command is a parameter setting command and the parameter validity verification passes, the modified parameter is applied to the low-power Bluetooth penetration module and the modified parameter is stored in the non-volatile memory of the low-power Bluetooth penetration module. S5. In the AT command configuration mode, determine whether the low-power Bluetooth penetration module is idle after the task processing is completed; S6. If the low-power Bluetooth penetration module is idle, calculate the next wake-up time according to the preset task cycle and configure a real-time clock timer. S7. Put the low-power Bluetooth penetration module into deep sleep mode until the RTC timer triggers an interrupt. S8. When the RTC timer triggers an interrupt, the module low-power Bluetooth penetration module is woken up to resume task processing and start the next task cycle.

[0007] By adopting the above technical solution, this method achieves flexibility in module operation by dynamically switching the working mode according to the Bluetooth connection status, enabling seamless switching between configuration and data pass-through as needed. In AT command configuration mode, AT commands are received, parsed, and verified through a serial communication interface, allowing users to conveniently and efficiently configure module parameters while ensuring the accuracy and validity of the configuration. For parameter setting commands, the modified parameters are immediately applied to the module and stored in a non-volatile storage unit, ensuring the real-time effectiveness and persistence of parameter modifications and avoiding the risk of data loss during power outages. Simultaneously, in AT command configuration mode, this method determines the module's idle state and combines it with a preset task cycle to configure a real-time clock timer, causing the module to periodically enter a deep sleep mode until the timer triggers wake-up, thereby maximizing the module's deep sleep time, significantly reducing overall average power consumption, and greatly extending the device's battery life in battery-powered scenarios.

[0008] Optionally, in step S4, storing the modified parameters into the non-volatile storage unit of the low-power Bluetooth pass-through module includes writing to on-chip flash memory or static random access memory.

[0009] By using the above technical solution, and storing AT commands in non-volatile storage units such as on-chip flash memory or static random access memory, it is possible to ensure that all key configuration parameters are fully retained even after the module is powered off, thus avoiding parameter loss and significantly improving the reliability and stability of the module configuration.

[0010] Optionally, in step S4, applying the modified parameters to the low-power Bluetooth pass-through module includes calling the Bluetooth protocol stack API or peripheral API.

[0011] By adopting the above technical solution, the modified parameters are applied by calling the Bluetooth protocol stack API or peripheral API, which ensures the module's immediate response to the new configuration parameters and the adjustment of functions, realizes the real-time effect of parameter settings, and improves the efficiency and effectiveness of module configuration.

[0012] Optionally, in step S6, the preset task cycle is dynamically adjusted using the Bluetooth broadcast interval configured by AT commands.

[0013] By adopting the above technical solution, the preset task cycle is dynamically adjusted through the Bluetooth broadcast interval configured by AT commands, so that the deep sleep scheduling of the module can be closely integrated with the actual Bluetooth broadcast behavior. This not only meets the communication requirements, but also further optimizes the sleep and wake-up strategies, and achieves more precise low power management.

[0014] Optionally, in step S7, the sleep current of the deep sleep mode is less than 0.5uA; in step S8, the average operating current of the low-power Bluetooth penetration module during the task cycle is less than 20uA.

[0015] By adopting the above technical solution, the sleep current of the deep sleep mode is less than 0.5uA, which significantly reduces the energy consumption of the module in the inactive state; the average operating current of the module during the task cycle is less than 20uA, which further ensures the ultra-low power consumption performance of the module throughout the entire working cycle and greatly extends the battery life of the device.

[0016] Optionally, during the power-on initialization of the low-power Bluetooth pass-through module, the modified parameters are loaded from the non-volatile storage unit to configure the module's serial communication interface and Bluetooth protocol stack.

[0017] By adopting the above technical solution, when the module is powered on and initialized, the modified parameters are automatically loaded from the non-volatile storage unit, and the serial communication interface and Bluetooth protocol stack are configured accordingly. This ensures that the module can quickly restore to the working state set by the user each time it starts up, without the need for reconfiguration, thus improving the user experience and the convenience of device deployment.

[0018] On the other hand, this application also provides a configuration management device for a low-power Bluetooth penetration module, which adopts the following technical solution: A configuration management device for a low-power Bluetooth pass-through module, comprising: The dynamic scheduling module is used to dynamically switch the working mode of the low-power Bluetooth penetration module according to the Bluetooth connection status of the low-power Bluetooth penetration module. The working mode includes AT command configuration mode and data pass-through mode. The dynamic scheduling module is further configured to, in the AT command configuration mode, according to a preset task cycle, cause the low-power Bluetooth penetration module to periodically enter and exit deep sleep mode to maximize the proportion of deep sleep time of the low-power Bluetooth penetration module. The AT command parsing module is used to parse AT commands received through the serial communication interface in order to query or configure the parameters of the low-power Bluetooth penetration module. The non-volatile parameter management module is used to store the modified module parameters in a non-volatile memory after the AT command parsing module successfully modifies the module parameters, and to load the modified parameters from the non-volatile memory to configure the low-power Bluetooth penetration module when it is powered on and initialized.

[0019] By adopting the above technical solution, the device uses a dynamic scheduling module to flexibly switch working modes according to the Bluetooth connection status, enabling the module to efficiently switch between AT command configuration and data pass-through functions, thus improving operational efficiency. The AT command parsing module enables convenient parsing of commands, allowing users to easily query and configure module parameters. The non-volatile parameter management module ensures persistent storage of modified parameters and automatic loading upon power-up, solving the problem of parameter volatility in traditional modules. The dynamic scheduling module maximizes the proportion of deep sleep time by periodically putting the module into and out of deep sleep mode, thereby achieving ultra-low average power consumption of the module and significantly extending the battery life of battery-powered devices.

[0020] Optionally, the preset task cycle can be dynamically adjusted using the Bluetooth broadcast interval configured by AT commands.

[0021] By adopting the above technical solution, the preset task cycle is dynamically adjusted through the Bluetooth broadcast interval configured by AT commands, so that the low-power scheduling strategy of the device can be more accurately synchronized with the Bluetooth broadcast behavior, further optimizing the energy efficiency of the module.

[0022] Optionally, the sleep current of the deep sleep mode is less than 0.5uA; and the average operating current of the low-power Bluetooth penetration module during the task cycle is less than 20uA.

[0023] By adopting the above technical solution, the sleep current of the deep sleep mode is less than 0.5uA, which greatly reduces the energy consumption of the module when it is idle; during the task cycle, the average operating current of the module is less than 20uA, which ensures the ultra-low power consumption of the device throughout the entire operation process, thereby significantly extending the service life of the device.

[0024] On the other hand, this application also provides a low-power Bluetooth pass-through module that supports AT commands, using the following technical solution: A low-power Bluetooth penetration module supporting AT commands includes a main control chip U1, a DC-DC power management circuit, a clock circuit, and an RF antenna module, wherein the main control chip U1 is configured to execute the configuration management method of the low-power Bluetooth penetration module.

[0025] By adopting the above technical solution, the module integrates a main control chip, a DC-DC power management circuit, a clock circuit, and an RF antenna module. The configuration management method is executed by the main control chip, which enables the module to have flexible AT command configuration capabilities and excellent ultra-low power consumption characteristics. It realizes non-volatile storage of parameters, efficient power consumption management, and stable Bluetooth pass-through function, providing a highly reliable, long-lasting, and easy-to-configure wireless communication solution for IoT applications.

[0026] In summary, this application includes at least one of the following beneficial technical effects: 1. By dynamically switching the working mode based on the Bluetooth connection status, the module achieves operational flexibility, enabling seamless switching between configuration and data pass-through according to actual needs. In AT command configuration mode, AT commands are received, parsed, and verified through a serial communication interface, allowing users to conveniently and efficiently configure module parameters while ensuring the accuracy and validity of the configuration. For parameter setting commands, the modified parameters are immediately applied to the module and stored in a non-volatile storage unit, ensuring the real-time effectiveness and persistence of parameter modifications and avoiding the risk of data loss during power outages. Simultaneously, in AT command configuration mode, this method determines the module's idle state and combines it with a preset task cycle to configure a real-time clock timer, causing the module to periodically enter a deep sleep mode until the timer triggers wake-up, thereby maximizing the module's deep sleep time, significantly reducing overall average power consumption, and greatly extending the device's battery life in battery-powered scenarios.

[0027] 2. The sleep current in deep sleep mode is less than 0.5uA, which significantly reduces the power consumption of the module in the inactive state; the average operating current of the module during the task cycle is less than 20uA, which further ensures the ultra-low power consumption performance of the module throughout the entire working cycle and greatly extends the battery life of the device.

[0028] 3. This module integrates a main control chip, a DC-DC power management circuit, a clock circuit, and an RF antenna module. Through configuration management methods executed by the main control chip, the module possesses flexible AT command configuration capabilities and excellent ultra-low power consumption characteristics. It achieves non-volatile parameter storage, efficient power management, and stable Bluetooth pass-through functionality, providing a highly reliable, long-lasting, and easily configurable wireless communication solution for IoT applications. Attached Figure Description

[0029] Figure 1 A schematic diagram illustrating the circuit principle of a low-power Bluetooth pass-through module supporting AT commands is shown in an embodiment of this application. Figure 2 A schematic diagram of the PCB architecture of a low-power Bluetooth pass-through module supporting AT commands is shown in an embodiment of this application. Figure 3 A flowchart illustrating a configuration management method for a low-power Bluetooth pass-through module according to an embodiment of this application is shown. Figure 4 A schematic diagram illustrating the Bluetooth signal strength test results of a low-power Bluetooth pass-through module supporting AT commands according to an embodiment of this application; Figures 5 to 9 A schematic diagram illustrating the power consumption test results of a low-power Bluetooth pass-through module supporting AT commands according to an embodiment of this application; Figures 10 to 13 A schematic diagram illustrating the data pass-through test results of a low-power Bluetooth pass-through module supporting AT commands according to an embodiment of this application. Detailed Implementation

[0030] The following combination Figures 1-13 This application will be described in further detail.

[0031] Figure 1 A schematic diagram illustrating the circuit principle of a low-power Bluetooth pass-through module supporting AT commands is shown in an embodiment of this application. Figure 2 This diagram illustrates a PCB architecture schematic of a low-power Bluetooth pass-through module supporting AT commands, as described in an embodiment of this application. (Refer to accompanying reference.) Figure 1 and Figure 2 This low-power Bluetooth penetration module adopts a stamp hole pin design and includes a main control chip U1, a DC-DC power management circuit, a clock circuit, and an RF antenna module.

[0032] The main control chip U1 can be the PHY6222 ultra-low power wireless communication system-on-chip (SoC). This chip integrates a high-performance, low-power Cortex-M0 microprocessor, responsible for running the configuration management methods of the low-power Bluetooth pass-through module, including the Ultra-Low Power Dynamic Scheduling (ULDSS) algorithm and the Non-Volatile Parameter Configuration Management (NVM-PCM) algorithm. The main control chip U1 supports the BLE 5.2 standard and is compatible with the BLE 5.4 protocol, providing high-speed data throughput, longer transmission distance, and stronger anti-interference capabilities to realize the module's Bluetooth pass-through function. The main control chip U1 itself supports multiple deep sleep modes. In OFF mode (IO wake-up only), the sleep current can be as low as 0.3uA; in RTC retention mode, the current is approximately 1uA; and in All SRAM Retention mode, the current is only 3.5uA. These characteristics provide a solid hardware foundation for the ULDSS algorithm to achieve ultra-low average power consumption at the module level. The PHY6222 integrates on-chip flash memory and configurable static random access memory (SRAM), including retention SRAM that supports data persistence. This module utilizes either flash memory or retention SRAM to persist key configuration parameters and implement the NVM-PCM algorithm.

[0033] The main control chip U1 also integrates peripheral modules such as a UART interface, timer, real-time clock (RTC), watchdog timer (WDT), and debug interface to support the functionality of this module. Pins P9 (RXD) and P10 (TXD) serve as the UART interface, used to receive AT commands from the external host and perform data pass-through. The timer and RTC are used for event-driven firmware, timed wake-up, and management, especially for precise control of deep sleep and wake-up cycles in the ULDSS algorithm. An external 32.768kHz crystal oscillator Y2 is connected as the RTC clock source. The watchdog timer improves system stability; pins P2 (SWDIO) and P3 (SWDCLK) serve as the SWD debug interface, facilitating development and production testing.

[0034] The DC-DC power management circuit consists of a DC-DC converter integrated within the main control chip U1 and external cooperating components. The switching output pin DCDC_SW (PIN 13) of the DC-DC converter within the main control chip U1 is connected to the input power supply VDD3.3 via an external inductor L1. Its feedback and regulated output supply power to the main control chip U1 via pin VDDDEC (PIN 5). Pin VDD3_1 (PIN 14) is another power input or reference point for the DC-DC converter. The first inductor L1 is a 10uH 680mA inductor. This inductance value works in conjunction with the DC-DC converter to efficiently convert the 3.3V external input power supply to the lower voltage required by the SoC core (typically 1.2V-1.8V), achieving high-efficiency energy conversion. This inductance value is precisely selected to ensure that the DC-DC converter maintains optimal efficiency under various load conditions (including the peak RF TX / RX current during SoC active states, approximately 4-4.6mA), especially under light load (sleep) and transient (wake-up) conditions, to minimize power consumption. The ninth capacitor, C9, is a 1uF bypass capacitor connected to ground on the DCDC_OUT (VDDDEC) pin. This capacitor filters and stabilizes the output voltage of the DC-DC converter, ensuring a clean and stable power supply to the main control chip U1. The first input filter capacitor C1 and the second input filter capacitor C2 are connected in parallel at the VDD3.3 input terminal to ground, using 4.7uF (C1) and 0.1uF (C2) capacitors respectively. This filters the external 3.3V input power supply, providing a stable power input and suppressing high-frequency noise on the power line. This DC-DC architecture significantly outperforms traditional LDOs (Low Dropout Linear Regulators) in efficiency, especially in high dropout and light load modes. Precise selection and configuration of external components ensure that the DC-DC converter maintains optimal transient efficiency during both active and sleep / wake-up states, providing a structural guarantee for achieving an average power consumption target of less than 20uA for this module.

[0035] The clock circuit includes a main crystal oscillator Y1 and an RTC crystal oscillator Y2, providing a precise clock source for the main control chip U1 through a dual-crystal design. The main crystal oscillator Y1 can be a 16MHz passive crystal oscillator connected to the XTAL pins (XTAL16M_I / XTAL16M_O, PIN 16 and PIN 17) of the PHY6222. This crystal oscillator provides a precise frequency reference for the main system clock and high-speed RF communication of the main control chip U1. The RTC crystal oscillator Y2 can be a 32.768kHz passive crystal oscillator connected to the XC1 / XC2 pins (PIN 2 and PIN 3) of the PHY6222. This low-frequency crystal oscillator provides the clock source for the PHY6222's built-in real-time clock (RTC) module, supporting the precise timing wake-up function in the ULDSS algorithm during deep sleep mode, ensuring that time counting can be maintained and the CPU can be woken up on time even with extremely low power consumption.

[0036] The RF antenna module includes an RF matching circuit and an onboard antenna ANT1. The RF matching circuit includes an OR resistor L2, a sixth capacitor C6, and a seventh capacitor C7. The RF output pin of the main control chip U1 can be connected to the onboard antenna ANT1 through the RF matching circuit. By integrating the onboard antenna into the module, miniaturization can be achieved and the complexity of the customer's PCB design can be reduced.

[0037] This Bluetooth Low Energy (BLE) pass-through module, which supports AT commands, provides the hardware foundation for the configuration management of BLE modules. While achieving a miniaturized design (size less than 20mm x 15mm), the module strictly adheres to compliance requirements at the hardware level: PCB layout, power decoupling, RF routing, and grounding are all optimized to minimize electromagnetic interference, ensuring the stability and reliability of the module in complex electromagnetic environments, and passing relevant EMC standard tests; all selected components and manufacturing processes comply with RoHS environmental requirements, ensuring the product's environmental performance.

[0038] The implementation principle of a low-power Bluetooth pass-through module supporting AT commands in this application embodiment is as follows: The module integrates a main control chip, a DC-DC power management circuit, a clock circuit, and an RF antenna module. Through the execution of the corresponding configuration management method by the main control chip, the module has flexible AT command configuration capabilities and excellent ultra-low power consumption characteristics. It realizes non-volatile storage of parameters, efficient power consumption management, and stable Bluetooth pass-through function, providing a highly reliable, long-lasting, and easy-to-configure wireless communication solution for IoT applications.

[0039] Figure 3 This diagram illustrates a flowchart of a configuration management method for a low-power Bluetooth pass-through module according to an embodiment of this application. (Refer to...) Figure 3The method includes steps S1-S9, where steps S2-S3 are the main steps of the Non-Volatile Parameter Configuration Management (NVM-PCM) algorithm, and steps S1 and S4-S8 are the main steps of the Ultra-Low Power Dynamic Scheduling (ULDSS) algorithm. Specifically: S1. Based on the Bluetooth connection status of the low-power Bluetooth penetration module, dynamically switch the working mode of the low-power Bluetooth penetration module, including AT command configuration mode and data pass-through mode.

[0040] S2. In the AT command configuration mode, AT command input is monitored through the serial communication interface.

[0041] S3. After receiving the AT command, parse the AT command and perform parameter validity verification.

[0042] S4. If the AT command is a parameter setting command and the parameter validity verification passes, then the modified parameters are applied to the low-power Bluetooth penetration module, and the modified parameters are stored in the non-volatile memory of the low-power Bluetooth penetration module. Storing the modified parameters in the non-volatile memory of the low-power Bluetooth penetration module includes writing to on-chip flash memory or static random access memory, and applying the modified parameters to the low-power Bluetooth penetration module includes calling the Bluetooth protocol stack API or peripheral API.

[0043] S5. In the AT command configuration mode, determine whether the low-power Bluetooth penetration module is idle after the task processing is completed.

[0044] S6. If the low-power Bluetooth penetration module is idle, the next wake-up time is calculated according to a preset task cycle, and a real-time clock timer is configured. The preset task cycle is dynamically adjusted using the Bluetooth broadcast interval configured by AT commands.

[0045] S7. Put the low-power Bluetooth penetration module into deep sleep mode until the RTC timer triggers an interrupt. The sleep current in deep sleep mode is less than 0.5uA. S8. When the RTC timer triggers an interrupt, the low-power Bluetooth penetration module is woken up to resume task processing and begin the next task cycle. During the task cycle, the average operating current of the low-power Bluetooth penetration module is less than 20uA.

[0046] The implementation principle of the configuration management method for a low-power Bluetooth pass-through module in this application embodiment is as follows: By dynamically switching the working mode according to the Bluetooth connection status, the flexibility of module operation is realized, and seamless switching between configuration and data pass-through can be achieved according to actual needs; in AT command configuration mode, AT commands are received, parsed and verified through the serial communication interface, enabling users to conveniently and efficiently configure module parameters and ensuring the accuracy and legality of the configuration; for parameter setting commands, the modified parameters are immediately applied to the module and stored in the non-volatile storage unit, ensuring the real-time effectiveness and persistence of parameter modifications and avoiding the risk of loss due to power failure; at the same time, in AT command configuration mode, by judging the module's idle state and combining it with a preset task cycle to configure a real-time clock timer, the module periodically enters a deep sleep mode until the timer triggers wake-up, thereby maximizing the extension of the module's deep sleep time, significantly reducing the overall average power consumption, and greatly extending the device's battery life in battery-powered scenarios.

[0047] This application also discloses a configuration management device for a low-power Bluetooth penetration module, including a dynamic scheduling module, an AT command parsing module, and a non-volatile parameter management module.

[0048] The dynamic scheduling module is used to dynamically switch the operating mode of the Bluetooth Low Energy (BLE) penetration module based on its Bluetooth connection status. The operating modes include AT command configuration mode and data pass-through mode. The dynamic scheduling module is further configured to, in AT command configuration mode, periodically enter and exit deep sleep mode according to a preset task cycle to maximize the proportion of deep sleep time for the BLE module. The AT command parsing module is used to parse AT commands received through the serial communication interface to query or configure the parameters of the BLE module. The non-volatile parameter management module is used to store the modified module parameters in non-volatile memory after the AT command parsing module successfully modifies the module parameters, and load the modified parameters from the non-volatile memory to configure the BLE module during power-on initialization.

[0049] The implementation principle of the configuration management device for a low-power Bluetooth penetration module in this application embodiment is as follows: The device uses a dynamic scheduling module to flexibly switch working modes according to the Bluetooth connection status, enabling the module to efficiently switch between AT command configuration and data pass-through functions, thus improving operational efficiency; the AT command parsing module enables convenient parsing of commands, allowing users to easily query and configure module parameters; the non-volatile parameter management module ensures persistent storage of modified parameters and automatic loading upon power-up, solving the problem of parameter volatility in traditional modules; the dynamic scheduling module maximizes the proportion of deep sleep time by periodically putting the module into and out of deep sleep mode, thereby achieving ultra-low average power consumption of the module and significantly extending the battery life of battery-powered devices.

[0050] The following specific test cases illustrate the beneficial effects of applying a configuration management method and / or device for a low-power Bluetooth penetration module according to embodiments of this application to the low-power Bluetooth penetration module that supports AT commands. The development environment used is Keil 5, the programming software is PhyPlusKit / SocKit, the debugging software is a serial port debugging assistant (PC), a BLE debugging assistant (mobile APP) / nRF CONNECT, and the testing instruments are a micro-power analyzer and a broadband radio communication tester.

[0051] Figure 4 A schematic diagram illustrating the Bluetooth signal strength test results of a low-power Bluetooth pass-through module supporting AT commands according to an embodiment of this application is shown. (Refer to...) Figure 4 The Bluetooth signal strength of this module can reach RSSI:41.

[0052] Figures 5 to 9 A schematic diagram illustrating the power consumption test results of a low-power Bluetooth pass-through module supporting AT commands according to an embodiment of this application is shown. The module's power consumption was measured by adjusting the broadcast interval under a 3.3V power supply. (Refer to...) Figure 5 The module consumed 29.5uA in actual measurements with a broadcast interval of 1 second. (Refer to...) Figure 6 With a broadcast interval of 2 seconds, the measured power consumption of this module is approximately 17.5uA. (Refer to...) Figure 7 With a broadcast interval of 3 seconds, the measured power consumption of this module is approximately 13.5uA. (Refer to...) Figure 8 With a broadcast interval of 4 seconds, the measured power consumption of this module is approximately 11.5uA. (Refer to...) Figure 9 With a broadcast interval of 5 seconds, the measured power consumption of this module is approximately 10.2uA.

[0053] The process of performing AT command testing on the low-power Bluetooth pass-through module that supports AT commands in this embodiment of the application can be as follows: [10:37:57.552] Send → ◇at [10:37:57.555] ←◆ OK [10:38:01.953] Send → ◇at+rx [10:38:01.976] Receive ←◆ Name: Slave_at Role: Slave Baudrate: 115200 BLE addr: 77:88:88:88:88:88 PIN: 000001 OK [10:38:03.125] Send → ◇at+version [10:38:03.143] ←◆ ver: 03.01.05 OK [10:38:04.219] Send → ◇at+name=? [10:38:04.231] ←◆ Slave_at OK [10:38:06.365] Send →◇at+addr=? [10:38:06.372] ←◆ 77:88:88:88:88:88 OK [10:38:08.118] Send → ◇at+baud=? [10:38:08.130] ←◆ 115200 OK First, a simple "at" command is sent to the module to confirm that the module is in AT command mode and can respond.

[0054] Then, send the "at+rx" command to query all the module's current core configuration parameters. The returned results display the module's current device name, Bluetooth role, serial port baud rate, Bluetooth MAC address (BLEaddr), and PIN code. These parameters are all read and loaded from the module's internal non-volatile memory (NVM).

[0055] Then, send the "at+version" command to obtain the module's firmware version number. This command returns the firmware version information, which helps users manage the firmware and troubleshoot problems.

[0056] Furthermore, to verify the parameter query function of the NVM-PCM algorithm, specific parameters can be queried individually. For example, sending the command "at+name=?" queries the device name, and the module returns the currently set device name "Slave_at". Sending the command "at+addr=?" queries the Bluetooth MAC address, and the module returns the currently set Bluetooth MAC address. Sending the command "at+baud=?" queries the serial port baud rate, and the module returns the currently set serial port baud rate "115200". The above AT command testing process fully demonstrates the convenience, real-time effectiveness, and parameter non-volatility of the NVM-PCM system of this invention, greatly improving the configuration flexibility and reliability of the modules. Users can manage the modules through simple AT commands without the need for special tools, effectively reducing development and maintenance costs.

[0057] Figures 10 to 13 A schematic diagram illustrating the data pass-through test results of a low-power Bluetooth pass-through module supporting AT commands according to an embodiment of this application is shown. (Refer to...) Figure 10 and Figure 11 It can be transmitted via mobile phone Bluetooth, transmitted via Bluetooth module, and received via PC serial port. (See reference...) Figure 12 and Figure 13 Alternatively, it can be transmitted via PC serial port, with Bluetooth module pass-through and mobile phone Bluetooth reception.

[0058] The embodiments of this application have at least the following beneficial effects: (1) Through sophisticated power management and innovative application of deep sleep mode, the embodiments of this application can significantly reduce the energy consumption of the device in the hibernation state. This ultra-low energy consumption feature makes the energy consumption of the device during non-working periods extremely low, thereby greatly extending the battery life of the device and reducing maintenance costs, especially suitable for occasions that require long-term unattended operation or battery power.

[0059] (2) Thanks to the support for AT commands, the embodiments of this application provide convenient parameter viewing and modification functions. In AT command mode, users can easily adjust the module parameters in real time via the serial port, and the changes take effect immediately and are not lost when power is off. This feature greatly improves the flexibility of device configuration and the efficiency of debugging, promotes rapid development and field deployment, and meets the needs of rapid device configuration in modern Internet of Things scenarios.

[0060] (3) The use of stamp hole pin design and strict size control enables the module to maintain high performance with a size of less than 20*15mm. This miniaturized design not only saves space, but also enhances the applicability of the module in various space-constrained scenarios, such as wearable devices and smart home products, providing product designers with more freedom and possibilities.

[0061] (4) The pre-reserved programming and testing interfaces of the module ensure the convenience of online programming and testing in the factory. This design simplifies the firmware upgrade process, improves production efficiency, facilitates on-site maintenance, reduces equipment downtime caused by hardware failures, and ensures stable operation of the product.

[0062] (5) It complies with EMC (electromagnetic compatibility) standards and RoHS (restriction of hazardous substances) requirements, ensuring the stable performance of the module in an electromagnetic interference environment. It also reflects the concern for environmental protection and human health, meets the high standards for international market access, and enhances the market competitiveness of the product.

[0063] (6) It realizes the communication function of data pass-through and supports bidirectional data transmission via Bluetooth and serial port. In data pass-through mode, the module can seamlessly connect Bluetooth host and serial port device to ensure accurate data transmission. It is suitable for various communication scenarios, such as industrial automation and remote monitoring systems, demonstrating its powerful communication capabilities and wide adaptability.

[0064] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A configuration management method for a low-power Bluetooth penetration module, characterized in that, Includes the following steps: S1. Dynamically switch the working mode of the low-power Bluetooth penetration module according to the Bluetooth connection status of the low-power Bluetooth penetration module. The working mode includes AT command configuration mode and data pass-through mode. S2. In the AT command configuration mode, AT command input is monitored through the serial communication interface; S3. After receiving the AT command, parse the AT command and perform parameter validity verification; S4. If the AT command is a parameter setting command and the parameter validity verification passes, the modified parameter is applied to the low-power Bluetooth penetration module and the modified parameter is stored in the non-volatile memory of the low-power Bluetooth penetration module. S5. After the task is completed, determine whether the low-power Bluetooth penetration module is idle; S6. If the low-power Bluetooth penetration module is idle, calculate the next wake-up time according to the preset task cycle and configure a real-time clock timer. S7. Put the low-power Bluetooth penetration module into deep sleep mode until the RTC timer triggers an interrupt. S8. When the RTC timer triggers an interrupt, the low-power Bluetooth penetration module is woken up to resume task processing and start the next task cycle.

2. The configuration management method for a low-power Bluetooth penetration module according to claim 1, characterized in that, In step S4, storing the modified parameters into the non-volatile storage unit of the low-power Bluetooth pass-through module includes writing to on-chip flash memory or static random access memory.

3. The configuration management method for a low-power Bluetooth penetration module according to claim 1, characterized in that, In step S4, applying the modified parameters to the low-power Bluetooth pass-through module includes calling the Bluetooth protocol stack API or peripheral API.

4. The configuration management method for a low-power Bluetooth penetration module according to claim 1, characterized in that, In step S6, the preset task cycle is dynamically adjusted by the Bluetooth broadcast interval configured by AT commands.

5. The configuration management method for a low-power Bluetooth penetration module according to claim 1, characterized in that, In step S7, the sleep current of the deep sleep mode is less than 0.5uA; in step S8, the average operating current of the low-power Bluetooth penetration module during the task cycle is less than 20uA.

6. The configuration management method for a low-power Bluetooth penetration module according to claim 1, characterized in that, When the low-power Bluetooth passthrough module is powered on and initialized, the modified parameters are loaded from the non-volatile storage unit to configure the module's serial communication interface and Bluetooth protocol stack.

7. A configuration management device for a low-power Bluetooth penetration module, characterized in that, include: The dynamic scheduling module is used to dynamically switch the working mode of the low-power Bluetooth penetration module according to the Bluetooth connection status of the low-power Bluetooth penetration module. The working mode includes AT command configuration mode and data pass-through mode. The dynamic scheduling module is further configured to, in the AT command configuration mode, according to a preset task cycle, cause the low-power Bluetooth penetration module to periodically enter and exit deep sleep mode to maximize the proportion of deep sleep time of the low-power Bluetooth penetration module. The AT command parsing module is used to parse AT commands received through the serial communication interface in order to query or configure the parameters of the low-power Bluetooth penetration module. The non-volatile parameter management module is used to store the modified module parameters in a non-volatile memory after the AT command parsing module successfully modifies the module parameters, and to load the modified parameters from the non-volatile memory to configure the low-power Bluetooth penetration module when it is powered on and initialized.

8. The configuration management device for the low-power Bluetooth penetration module according to claim 7, characterized in that, The preset task cycle is dynamically adjusted through the Bluetooth broadcast interval configured by AT commands.

9. The configuration management device for the low-power Bluetooth penetration module according to claim 7, characterized in that, The sleep current of the deep sleep mode is less than 0.5uA; the average operating current of the low-power Bluetooth penetration module during the task cycle is less than 20uA.

10. A low-power Bluetooth pass-through module supporting AT commands, characterized in that, It includes a main control chip U1, a DC-DC power management circuit, a clock circuit, and an RF antenna module, wherein the main control chip U1 is configured to execute the configuration management method of the low-power Bluetooth penetration module according to any one of claims 1-6.