4G module access detection strategy for two-turn battery switching intelligent lithium battery

By adding a weak pull-up power supply and MCU detection access signal on the BMS board of the two-wheeled battery-switched smart lithium battery, and combining module communication, using a state machine to perform 4G module access detection, the power supply fluctuations caused by instability in the access of 4G modules is solved, and the reliability of the system is improved.

CN120103230APending Publication Date: 2025-06-06ZHIXING NEW ENERGY TECH (ANHUI) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510266608.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

During market use, the 4G module of the two-wheeled battery-switched smart lithium battery may be unstable due to operating conditions such as bumps, which in turn causes 4G power supply to be fluctuated, which may cause the power supply to be pulled down.

Method used

A 4G module access detection strategy is adopted to determine the 4G module access status by adding a weak pull-up power supply on the BMS board and detecting the access signal port in the MCU. Combined with the auxiliary judgment of module communication, a state machine is used for access detection and judgment.

Benefits of technology

It improves the stability of 4G module access, avoids power supply fluctuations, and ensures the reliability and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120103230A_ABST
    Figure CN120103230A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of battery replacement, and particularly relates to a 4G module access detection strategy for a two-turn battery replacement intelligent lithium battery, which comprises the following steps: S1, starting a system for initialization, and entering a WAITPOWERON state; s2, after the WAITPOWERON state waits for Twait-start, the WAITPOWERON state quits from the state, and the WAITPOWERON state enters the ATTEMPTCONNECT state; s3, waiting for Twait-init in the ATTEMPTCONNECT state, and meanwhile, detecting whether a module has communication or not; s4, if the module has communication or quits the state after waiting for Twait-init, the module enters a STATUSCHECK state; and S5, detecting whether the access signal is TRUE or module communication exists in the STATUSCHECK state, if the access signal and the module communication do not exist, entering a WAITCONNECT state, and skipping to the step S7. According to the 4G module access detection strategy for the two-turn battery switching intelligent lithium battery, the judgment of 4G module access detection is performed through the self-developed state machine, and the complex logic can be decomposed into a plurality of simple states through the state machine, so that codes are easier to understand and maintain. And a state machine is used, so that the system can be expanded and modified more easily, and only the conversion relation between the states needs to be adjusted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery replacement technology, and in particular to a 4G module access detection strategy for a two-wheel battery replacement smart lithium battery. Background Art

[0002] In the prior art, for example, in a battery charging system for an electric two-wheeled vehicle with the announcement number CN 217545636U disclosed on a Chinese patent website, the communication line and the power line of the electric two-wheeled vehicle are superimposed together, and only a single power connector is used to simultaneously transmit power and various battery parameter signals, thereby avoiding communication failures caused by a series of communication plug-in problems such as plugging and unplugging, improper plugging, mechanical wear of the plug-in, loose plug-in, and broken communication lines; at the same time, a 4G module is used to communicate with the cloud platform through the 4G network, so that the platform can obtain corresponding data information in a timely manner.

[0003] However, the problem with the existing technology is that during the use of the market, various working conditions such as bumps may occur, which may cause the 4G module to access unstably. This may cause the 4G power supply to be in a fluctuating state. Since the 4G startup current is large, the power supply may be pulled down. Summary of the invention

[0004] Based on the existing technical problems, the present invention proposes a 4G module access detection strategy for two-wheel battery-swap smart lithium batteries.

[0005] The present invention proposes a 4G module access detection strategy for a two-wheel battery replacement smart lithium battery, including S1, system startup for initialization, and entering the WAIT_POWER_ON state;

[0006] S2, wait for T in WAIT_POWER_ON state wait-start Then exit the state and enter the ATTEMPT_CONNECT state;

[0007] S3. Wait for T in ATTEMPT_CONNECT state wait-init , and detect whether there is communication with the module;

[0008] S4: If the module has communication or is waiting for T wait-init Then exit the state and enter the STATUS_CHECK state;

[0009] S5. In the STATUS_CHECK state, check whether the access signal is TRUE or whether there is module communication. If neither is true, enter the WAIT_CONNECT state and jump to step S7. If one of the two enters the RUN state, enter step S6;

[0010] S6. In the RUN state, continuously detect the access signal. If the access signal is FALSE for Tcheck_time, exit the current state and enter the WAIT_CONNECT state, and then go to step S7.

[0011] S7. In the WAIT_CONNECT state, when the waiting access signal is TRUE, enter the ATTEMPT_CONNECT state and jump to step S3.

[0012] Preferably, the 4G module includes a 4G module detection circuit, and a weak pull-up power supply is added to the BMS board, which consists of a megohm resistor and a 3.3V power supply.

[0013] Preferably, when the 4G module is connected, the interface level is pulled down to about 0V; the MCU determines whether a 4G module is connected by detecting the access signal port, and at the same time, uses module communication to assist in the judgment.

[0014] The beneficial effects of the present invention are:

[0015] 1. A 4G module detection circuit is added to the hardware, and a weak pull-up power supply is added to the BMS board, which consists of a megohm resistor and a 3.3V power supply. The interface corresponding to the 4G module is connected to GND, so that when the 4G module is connected, the interface level will be pulled down to about 0V. The MCU can determine whether a 4G module is connected by detecting the access signal port. At the same time, module communication is used to assist in judgment, which improves the robustness of the state machine.

[0016] 2. The 4G module access detection is judged through the self-developed state machine. The state machine can decompose complex logic into multiple simple states, making the code easier to understand and maintain. And the use of the state machine can make the system easier to expand and modify, just adjust the conversion relationship between the states. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a 4G module access detection strategy for a two-wheel battery-swappable smart lithium battery proposed in the present invention;

[0018] Figure 2 A BMS port circuit diagram of a 4G module access detection strategy for a two-wheel battery swap smart lithium battery proposed by the present invention;

[0019] Figure 3 A 4G module port circuit diagram of a 4G module access detection strategy for a two-wheel battery-swap smart lithium battery proposed in the present invention. DETAILED DESCRIPTION

[0020] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0021] Reference Figure 1-Figure 3 A 4G module access detection strategy for a two-wheel battery-swap smart lithium battery. The 4G module includes a 4G module detection circuit, and a weak pull-up power supply is added on the BMS board, which consists of a megohm resistor and a 3.3V power supply. When the 4G module is connected, the interface level is pulled down to about 0V; the MCU determines whether there is a 4G module connected by detecting the access signal port, and at the same time, uses module communication to assist in judgment.

[0022] A 4G module detection circuit is added to the hardware, and a weak pull-up power supply is added to the BMS board, which consists of a megohm resistor and a 3.3V power supply. The interface corresponding to the 4G module is connected to GND, so that when the 4G module is connected, the interface level will be pulled down to about 0V. The MCU can determine whether a 4G module is connected by detecting the access signal port. At the same time, module communication is used to assist in judgment, which improves the robustness of the state machine.

[0023] Step S1: The system starts up and initializes, and enters the WAIT_POWER_ON state.

[0024] Step S2: Waiting for T in WAIT_POWER_ON state wait-start Then exit the state and enter the ATTEMPT_CONNECT state.

[0025] Step S3: Waiting for T in ATTEMPT_CONNECT state wait-init , and detect whether there is communication with the module.

[0026] Step S4: If the module has communication or waits for T wait-init Then exit the state and enter the STATUS_CHECK state

[0027] Step S5: In the STATUS_CHECK state, check whether the access signal is TRUE or whether there is module communication. If neither is true, enter the WAIT_CONNECT state and jump to step S7. If one of the two is in the RUN state, enter step S6.

[0028] Step S6: In the RUN state, continuously detect the access signal. If the access signal lasts for T wait-time If it is FALSE, the system exits the current state and enters the WAIT_CONNECT state, and then proceeds to step S7.

[0029] Step S7: In the WAIT_CONNECT state, when the waiting access signal is TRUE, enter the ATTEMPT_CONNECT state and jump to step S3.

[0030] The 4G module access detection is judged by the self-developed state machine. The state machine can decompose complex logic into multiple simple states, making the code easier to understand and maintain. And the use of the state machine can make the system easier to expand and modify, just adjust the conversion relationship between the states.

[0031] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A 4G module access detection strategy for two-wheel battery swap smart lithium battery, characterized by: Including S1, the system starts up for initialization and enters the WAIT_POWER_ON state; S2, wait for T in WAIT_POWER_ON state wait-start Then exit the state and enter the ATTEMPT_CONNECT state; S3. Wait for T in ATTEMPT_CONNECT state wait-init , and detect whether there is communication with the module; S4: If the module has communication or is waiting for T wait-init Then exit the state and enter the STATUS_CHECK state; S5. In the STATUS_CHECK state, check whether the access signal is TRUE or whether there is module communication. If neither is true, enter the WAIT_CONNECT state and jump to step S7. If one of the two is in the RUN state, enter step S6. S6. In the RUN state, continue to detect the access signal. If the access signal continues for T wait-time If it is FALSE, exit the current state and enter the WAIT_CONNECT state, and then go to step S7; S7. In the WAIT_CONNECT state, when the waiting access signal is TRUE, enter the ATTEMPT_CONNECT state and jump to step S3.

2. According to claim 1, a 4G module access detection strategy for a two-wheel battery replacement smart lithium battery is characterized in that: The 4G module includes a 4G module detection circuit, and a weak pull-up power supply is added to the BMS board, which consists of a megohm resistor and a 3.3V power supply.

3. A 4G module access detection strategy for a two-wheel battery swap smart lithium battery according to claim 2, characterized in that: When the 4G module is connected, the interface level is pulled down to about 0V; the MCU determines whether a 4G module is connected by detecting the access signal port, and at the same time, uses module communication to assist in the judgment.

Citation Information

Patent Citations

  • Battery charging system of electric two-wheeled vehicle

    CN217545636U