Mode switching control circuit and battery charging case
Patent Information
- Application Number
- CN202522173747.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-14
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2035-10-14
AI Technical Summary
[0005]本实用新型的主要目的是提出一种模式切换控制电路,旨在解决现有电子设备容易误入厂测模式的问题
Smart Images

Figure CN224745301U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of power electronics technology, and in particular to a mode switching control circuit and a battery charging box. Background Technology
[0002] To ensure the quality and functional integrity of products before they leave the factory, electronic devices typically undergo comprehensive functional testing. Given the numerous functions of these devices, testing each function individually under normal usage scenarios would be extremely time-consuming and costly. Therefore, many electronic devices have developed dedicated factory testing modes, which allow for centralized and efficient testing and verification of most functions.
[0003] In related technologies, for electronic devices without a display screen and equipped with only one physical button and one external interface, a specific button operation method is typically used to trigger entry into the factory test mode. For example, the factory test mode is activated by pressing and holding the button (e.g., pressing continuously for 5 or 10 seconds) or by pressing the button several times consecutively (e.g., pressing continuously 3 or 5 times). The starting point of this design approach is to achieve trigger control of the factory test mode without increasing additional hardware costs by using a special button combination that differs from daily operation, thereby providing testers with a convenient way to enter the factory testing phase.
[0004] However, the aforementioned entry method employed by the relevant technology has significant technical flaws. Because it relies solely on a single button press or continuous pressing operation, the trigger threshold for entering the factory test mode is low, making it easy for users to accidentally enter this mode during daily device use. For example, a user might unintentionally press a button for an extended period while carrying the device, or press the button repeatedly while trying certain functions, thus inadvertently entering factory test mode. Utility Model Content
[0005] The main purpose of this invention is to propose a mode switching control circuit, which aims to solve the problem that existing electronic devices are prone to accidentally entering factory test mode.
[0006] To achieve the above objectives, this utility model proposes a mode switching control circuit, which includes: An interface module is used for electrical connection to external devices; The main controller includes a receiver and a trigger, the receiver being electrically connected to the interface module, and the main controller acquiring a first level signal through the receiver. The control module has one end electrically connected to a power source and the other end grounded. The trigger terminal is electrically connected to the control module, and the main controller receives a second-level signal through the trigger terminal.
[0007] In some embodiments, the interface module includes a first pin, which is electrically connected to the receiving end, and the main controller obtains a first level signal through the trigger end and the first pin.
[0008] In some embodiments, the interface module further includes a first resistor, and the receiving end is electrically connected to the first pin via the first resistor.
[0009] In some embodiments, the control module includes a switch, which includes a first end and a second end. The first end is electrically connected to a power supply, the second end is grounded, and the trigger end is electrically connected between the power supply and the first end.
[0010] In some embodiments, the control module further includes a second resistor, and the first end of the switch is electrically connected to a power source via the second resistor.
[0011] In some embodiments, the interface module is a Type-C interface.
[0012] In some embodiments, the main controller is an N32G435CBL7 controller.
[0013] This utility model further proposes a battery charging box, including a housing and a circuit board disposed within the housing. The circuit board is provided with a mode switching control circuit, which is the mode switching control circuit of the aforementioned embodiment.
[0014] In some embodiments, a button for user operation is provided on the outer surface of the housing, and the button is connected to the switch.
[0015] In some embodiments, the outer surface of the housing is provided with a charging port adapted to the shape of the interface module, the charging port being used by an external connector to be plugged into the interface module.
[0016] The beneficial effects of this utility model's technical solution are as follows: By setting an interface module for electrical connection to external devices, the main controller can obtain a first-level signal from the interface module through the receiving end. Simultaneously, by setting a control module, the main controller can obtain a second-level signal through the trigger end. Only when the main controller detects both the first-level signal from the interface module and the second-level signal from the control module within a preset time will it trigger entry into the factory test mode. This dual trigger condition requires the user to operate the control module while connecting to the external device to enter the factory test mode. Compared to related technologies where entering the factory test mode is achieved simply by pressing and holding a single button, this raises the trigger threshold for entering the factory test mode, effectively reducing the problem of accidental entry due to a single operation and lowering the probability of misoperation. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the electrical connections of the mode switching control circuit module in one embodiment of the present invention; Figure 2 This is a circuit diagram of the interface module in one embodiment of the present invention; Figure 3 This is a circuit diagram of the main controller in one embodiment of the present invention; Figure 4 This is a circuit diagram of the control module in one embodiment of the present invention.
[0018] Explanation of icon numbers: 100. Interface module; 101. First pin; R1. First resistor; U1, Main controller; A1, Receiver; A2, Trigger; 200, Control module; SW1, Switch; B1, First terminal; B2, Second terminal; R2, Second resistor.
[0019] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] The solutions in the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this utility model, and not all of them. Based on the embodiments of this utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this utility model.
[0021] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in this utility model embodiment are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.
[0022] It should also be noted that when a component is described as "fixed to" or "set on" another component, it can be directly on the other component or there may be an intervening component present. When a component is described as "connected to" another component, it can be directly connected to the other component or there may be an intervening component present.
[0023] Furthermore, the use of terms such as "first" and "second" in this utility model is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this utility model.
[0024] In related technologies, electronic devices without displays (such as battery charging cases, wireless earphone charging cases, portable speakers, etc.) have significant shortcomings when entering factory testing mode. Taking a charging case as an example, existing charging cases typically have a button on the shell. During daily use, this button can be operated by the user to activate or light up an indicator light on the charging case, which uses different numbers of bars and colors to indicate the battery status inside the charging case. During the factory testing phase, existing technologies usually use a specific button operation method to trigger entry into factory testing mode, such as setting it to be activated by pressing and holding the button (e.g., pressing continuously for 5 or 10 seconds) or pressing the button several times consecutively (e.g., pressing continuously 3 or 5 times). However, this method of relying solely on a single button for long press or continuous press has a low threshold for triggering factory testing mode. Users can easily trigger factory testing mode accidentally during daily use, causing the device to enter an abnormal working state and affecting the user experience. Therefore, this utility model embodiment proposes a mode switching control circuit. By setting dual trigger conditions, the user is required to operate the control module while connecting to an external device in order to enter the factory test mode, thereby effectively raising the threshold for entering the factory test mode and avoiding misoperation.
[0025] This utility model embodiment proposes a mode switching control circuit, referring to... Figure 1 , Figure 1 This is a schematic diagram of the electrical connections of a mode switching control circuit module in one embodiment of the present invention. The mode switching control circuit includes: Interface module 100, which is used for electrical connection to external devices; The main controller U1 includes a receiver A1 and a trigger A2. The receiver A1 is electrically connected to the interface module 100. The main controller U1 obtains the first level signal through the receiver A1. The control module 200 has one end electrically connected to the power supply and the other end grounded. The trigger terminal A2 is electrically connected to the control module 200, and the main controller U1 receives the second level signal through the trigger terminal A2.
[0026] In this embodiment, the interface module 100 primarily serves as the basic interface for connecting to external devices. It can be various standard interfaces such as Type-C, Lightning (Apple interface), Micro-USB, and USB-A. The external devices connected to the interface module 100 can be various electronic devices with power supply capabilities, such as smartphones, laptops, desktop computers, power banks, and tablets. These external devices are electrically connected to the interface module 100 via corresponding data cables; alternatively, the interface module 100 can be directly connected to a charging head (such as a USB charging adapter) via a data cable. The interface module 100 not only has power connection functionality but also data communication functionality, generating corresponding level change signals when connecting to external devices.
[0027] In this embodiment, the main controller U1 is the core control unit of the entire mode switching control circuit. It is mainly used to acquire the first level signal and the second level signal, and execute the corresponding control program to achieve the mode switching function. The main controller U1 can be implemented using a microcontroller (MCU), such as the STM32 series, 51 series microcontrollers, or other types of microcontroller chips. The main controller U1 includes two signal input ports: a receiving end A1 and a trigger end A2. The receiving end A1 is electrically connected to the interface module 100 to receive the first level signal from the interface module 100; the trigger end A2 is electrically connected to the control module 200 to receive the second level signal from the control module 200. The main controller U1 can pre-store the control program for the factory test mode. Its specific execution logic is as follows: only after simultaneously detecting the first level signal and the second level signal within a preset time (e.g., a settable time window of 1 second, 2 seconds, or 3 seconds) will the program instruction to enter the factory test mode be executed; otherwise, it remains in the normal operating mode.
[0028] The mechanism for generating the first level signal is as follows: When the interface module 100 establishes an electrical connection with an external device, the corresponding pin of the interface module 100 will generate a level change. This level change signal is transmitted to the main controller U1 through the receiving terminal A1 and is recognized by the main controller U1 as the first level signal. The second level signal is generated by the control module 200 after the user performs a specific operation. This signal is transmitted to the main controller U1 through the trigger terminal A2 and is recognized by the main controller U1 as the second level signal.
[0029] In this embodiment, the control module 200 is configured to generate a second-level signal under the active control of the user. One end of the control module 200 is electrically connected to a power source (which can be battery-powered or externally powered), and the other end is grounded, forming a complete circuit loop. The control module 200 can be implemented using physical buttons, touch buttons, toggle switches, or other types of human-machine interface elements. When the user operates the control module 200 (e.g., presses a button, touches the sensing area, or toggles a switch), the circuit state of the control module 200 changes, thereby generating a level change at the trigger terminal A2. This level change is the second-level signal.
[0030] It is important to note that the first and second level signals must be detected simultaneously by the main controller U1 within a preset time period for the main controller U1 to execute the program to enter the factory test mode. For example, the preset time can be set to 1 second. Within this 1-second time window, the main controller U1 needs to determine whether the following two conditions are met simultaneously: First, whether the receiving end A1 detects the first level signal from the interface module 100; second, whether the trigger end A2 detects the second level signal from the control module 200. Only when these two conditions are met simultaneously within the preset time period does the main controller U1 consider the trigger condition for entering the factory test mode to be met, and then execute the corresponding factory test program. If only one level signal is detected, or if the time interval between the occurrence of the two level signals exceeds the preset time, the main controller U1 will not trigger the entry into the factory test mode and will continue to remain in the normal operating mode.
[0031] In the actual operation process where it is necessary to enter the factory test mode, the working principle of the entire mode switching control circuit is as follows: In the initial state, the receiver A1 of the main controller U1 can be set to a low level. At this time, the interface module 100 is not connected to an external device, and the receiver A1 remains at a low level. When an electrical connection is established between the interface module 100 and an external electronic device (for example, connecting one end of a Type-C data cable to the interface module 100 of the charging case and the other end to the USB port of a laptop) via a data cable, the interface module 100 detects the access of the external device, and its internal circuit state changes, thereby outputting a high-level signal to the receiver A1. This high-level signal is the first level signal. At this time, the main controller U1 obtains the first level signal through the receiver A1 and starts timing to wait for the arrival of the second level signal.
[0032] Meanwhile, the trigger terminal A2 of the main controller U1 can be initially set to a high level using a pull-up resistor. One end of the control module 200 is connected to the power supply, and the other end is grounded. When the user does not operate the control module 200, the trigger terminal A2 remains at a high level. After the interface module 100 is connected to an external device, the control module 200 is operated within a preset time (e.g., within 1 second), for example, by pressing a button on the control module 200. When the button is pressed, the circuit of the control module 200 is turned on, causing the level of the trigger terminal A2 to be pulled down to a low level. This level change (from high level to low level) is the second level signal. The main controller U1 detects this level change through the trigger terminal A2 and obtains the second level signal.
[0033] The specific operating procedure is as follows: First, the operator connects the interface module 100 to an external electronic device (e.g., connecting the charging case to a computer via a Type-C data cable) using a data cable. At this time, the main controller U1 obtains the first level signal through the receiver A1 and starts timing. Immediately afterwards, within a preset time (e.g., 1 second), the operator presses the button on the control module 200, causing the control module 200 to generate a second level signal. The main controller U1 obtains the second level signal through the trigger A2. Since both level signals are detected by the main controller U1 within the preset time window, the dual triggering conditions are met. The main controller U1 determines that the conditions for entering the factory test mode are met and then executes the control program to enter the factory test mode, switching the device to the factory test mode. At this time, the device can perform various factory test items, such as button function test, LED indicator test, charging function test, Bluetooth connection test, etc.
[0034] Conversely, if an external device is connected but the control module 200 is not operated within the preset time, or if the control module 200 is operated but the external device is not connected, or if both operations are performed but the time interval exceeds the preset time, the main controller U1 will not detect the simultaneous fulfillment of the dual triggering conditions. Therefore, it will not enter the factory test mode, and the device will continue to remain in the normal working mode, thereby effectively avoiding the occurrence of false triggering.
[0035] The beneficial effects of this utility model's technical solution are as follows: By setting up an interface module 100 for electrical connection to external devices, the main controller U1 can obtain a first-level signal from the interface module 100 through the receiving terminal A1. Simultaneously, by setting up a control module 200, the main controller U1 can obtain a second-level signal through the trigger terminal A2. Only when the main controller U1 simultaneously detects the first-level signal from the interface module 100 and the second-level signal from the control module 200 within a preset time will it trigger entry into the factory test mode. This dual-trigger design requires the user to operate the control module 200 while connecting to the external device; both operations are indispensable and must be completed within the preset time to successfully enter the factory test mode.
[0036] Compared to existing technologies that rely on a single button press (e.g., a long press for 5 or 10 seconds) or repeated presses (e.g., 3 or 5 consecutive presses) to enter factory test mode, this invention significantly raises the trigger threshold for entering factory test mode. Even if a user accidentally presses and holds a button or presses it multiple times during daily use, the device will not accidentally enter factory test mode because it is not connected to an external device at that time, thus not meeting the dual trigger conditions. This effectively reduces the problem of users accidentally entering factory test mode due to a single operation.
[0037] See Figure 2 , Figure 2 This is a circuit diagram of the interface module 100 in one embodiment of the present invention. In a preferred embodiment, the interface module 100 includes a first pin 101, which is electrically connected to the receiver A1. The main controller U1 obtains a first level signal through the receiver A1 and the first pin 101. Specifically, the first pin 101 is the SBU1 pin (Sideband Use 1). The SBU1 pin is an auxiliary signal pin defined in the Type-C interface standard, mainly used to transmit signals of non-USB communication protocols, such as analog audio signals, debugging signals, or other custom-purpose signals. In the 24 pin definitions of the Type-C interface, the SBU1 pin is located in a specific position and appears in pairs with the SBU2 pin; both can be used to implement manufacturer-defined signal transmission functions.
[0038] In this embodiment, the SBU1 pin is configured as a dedicated detection pin for detecting the connection status of an external device. When the interface module 100 establishes an electrical connection with an external device via a Type-C data line, the external device can apply a specific level signal to the SBU1 pin through the data line. For example, the external device can be a dedicated test device or computer with factory testing capabilities. After connecting to the interface module 100, the external device will actively output a high-level signal (such as 3.3V or 5V) to the SBU1 pin, causing the level state of the SBU1 pin to jump from the initial low level (0V or ground state) to a high level state.
[0039] The receiver A1 of the main controller U1 is directly electrically connected to the SBU1 pin, forming a signal transmission path. In the initial state, when the interface module 100 is not connected to an external device, the SBU1 pin can be grounded through a pull-down resistor, keeping it at a low level. At this time, the main controller U1 detects a low-level signal through receiver A1. Once the interface module 100 establishes a connection with an external device (a dedicated device with factory testing capabilities) via a Type-C data cable, the external device outputs a high level to the SBU1 pin. This high-level signal is directly transmitted to receiver A1 of the main controller U1 through the electrical connection between the SBU1 pin and receiver A1. The main controller U1 can then obtain the first-level signal through receiver A1, thereby determining that an external device meeting the conditions for entering factory testing mode has been connected.
[0040] Continue reading Figure 2 Furthermore, the interface module 100 also includes a first resistor R1, through which the receiving end A1 is electrically connected to the first pin 101. Specifically, in this embodiment, the first resistor R1 serves as current limiting protection and signal conditioning. The resistance value of the first resistor R1 can be selected according to actual application requirements, for example, a resistor with specifications such as 1 kΩ, 4.7 kΩ, or 10 kΩ can be selected.
[0041] From the perspective of current limiting protection, when an external device outputs a level signal to the receiver A1 of the main controller U1 through the SBU1 pin, if the voltage output by the external device rises abnormally or a transient spike occurs, the first resistor R1 can limit the current flowing into the receiver A1 of the main controller U1, preventing excessive current from damaging the input port of the main controller U1. Simultaneously, the first resistor R1 can also protect the SBU1 pin to a certain extent. When the receiver A1 experiences an abnormal state (such as a short circuit or abnormal voltage), the first resistor R1 can limit the current flowing back from the receiver A1 to the SBU1 pin, preventing damage to the interface module 100.
[0042] From a signal conditioning perspective, the first resistor R1, together with the input impedance of the receiver A1 of the main controller U1 and any parasitic capacitances present in the circuit, constitutes an RC circuit. This circuit can appropriately filter the signal, suppressing high-frequency interference and noise, making the first-level signal transmitted to the receiver A1 more stable and reliable. Furthermore, the first resistor R1 can also be used in conjunction with a pull-down resistor or a pull-up resistor to form a voltage divider circuit, adjusting the level signal of the SBU1 pin to the appropriate voltage range required by the receiver A1 of the main controller U1, ensuring that the main controller U1 can accurately identify the high and low level states of the first-level signal.
[0043] By setting a first resistor R1 between the receiving end A1 and the first pin 101, not only is the reliability and anti-interference capability of the circuit enhanced, but the safety protection level of the main controller U1 and the interface module 100 is also improved, making the entire mode switching control circuit more stable and durable during long-term use.
[0044] See Figure 3 and Figure 4 , Figure 3 This is a circuit diagram of the main controller U1 in one embodiment of the present invention. Figure 4 This is a circuit diagram of the control module 200 in one embodiment of the present invention. In a preferred embodiment, the control module 200 includes a switch SW1, which includes a first terminal B1 and a second terminal B2. The first terminal B1 is electrically connected to a power supply terminal, the second terminal B2 is grounded, and the trigger terminal A2 is electrically connected between the power supply and the first terminal B1.
[0045] In this embodiment, the switch SW1 can be implemented using common switching elements such as tactile buttons, mechanical buttons, membrane buttons, or micro switches. The first terminal B1 of the switch SW1 is electrically connected to a power supply terminal via a wire or circuit board trace. This power supply terminal can be the positive terminal of a battery or a regulated power output terminal (such as a 3.3V or 5V power supply). The second terminal B2 of the switch SW1 is connected to a ground wire via a wire or circuit board trace, forming a ground connection. The trigger terminal A2 of the main controller U1 is electrically connected to the circuit path between the power supply terminal and the first terminal B1 of the switch SW1 through a node. This node position allows the trigger terminal A2 to detect changes in the open / closed state of the switch SW1.
[0046] In the initial state, when the user does not press the switch SW1, the switch SW1 is in the open state, and there is an open circuit between the first terminal B1 and the second terminal B2. At this time, since the trigger terminal A2 is connected to the power supply terminal through a pull-up resistor (this pull-up resistor can be integrated inside the main controller U1 or set as an external resistor in the circuit), the trigger terminal A2 is pulled up to a high level, and the level value is close to the power supply voltage (such as 3.3V or 5V).
[0047] When the user presses switch SW1, the first terminal B1 and the second terminal B2 of switch SW1 are connected, forming a complete circuit from the power supply terminal through the trigger terminal A2 connection point, the first terminal B1 of switch SW1, the internal conductive path of switch SW1, the second terminal B2 of switch SW1, to the ground wire. Since the second terminal B2 is directly grounded, it is equivalent to pulling the trigger terminal A2 down to ground potential through the low impedance path of switch SW1, causing the level of trigger terminal A2 to quickly jump from a high level state to a low level state (close to 0V). This transition from high level to low level is the second level signal. The main controller U1 detects this level change in real time through trigger terminal A2, thereby acquiring the second level signal.
[0048] In actual working scenarios, when the main controller U1 detects the first level signal from the receiver A1 and the second level signal from the trigger A2 simultaneously within a preset time (e.g., 1 second), the main controller U1 determines that the dual triggering conditions for entering the factory test mode are met, and then executes the control program to enter the factory test mode, switching the device to the factory test mode. At this time, the device can perform various factory test items.
[0049] It's worth noting that if the main controller U1 only detects the second-level signal but not the first-level signal (i.e., the interface module 100 is not connected to an external device), the main controller U1 determines this to be a normal user operation, not an operation to enter factory test mode. In this case, the main controller U1 will execute normal user interaction functions, such as activating and lighting the LED indicator on the device, using different numbers of light bars and colors to indicate the battery status. Specifically, the LED display can be set as follows: 4 green bars indicate sufficient power (80%-100%), 3 green bars indicate good power (60%-80%), 2 yellow bars indicate moderate power (30%-60%), 1 red bar indicates low power (10%-30%), and a flashing red light indicates insufficient power (below 10%), thus enabling the device to function normally during daily use.
[0050] Continue reading Figure 4 Furthermore, the control module 200 also includes a second resistor R2, through which the first terminal B1 of the switch SW1 is electrically connected to the power supply. By setting the second resistor R2, the current flowing through the switch SW1 when the button is pressed can be effectively limited, keeping the current within a safe range (typically a few milliamps to tens of milliamps), thereby protecting the contacts of the switch SW1 from excessive current surges and extending the service life of the switch SW1. Simultaneously, the second resistor R2 also protects the power supply circuit, preventing the transient large current generated when the switch SW1 is turned on from adversely affecting the power supply regulator circuit or the battery.
[0051] Furthermore, the second resistor R2, together with the pull-up resistor of the trigger terminal A2, forms a reasonable voltage division relationship when the switch SW1 is pressed, ensuring that the level of the trigger terminal A2 can reliably transition from high to low, enabling the main controller U1 to accurately identify the second level signal. By appropriately selecting the resistance ratio of the second resistor R2 and the pull-up resistor, the power consumption performance and signal quality of the circuit can be optimized, improving the reliability and stability of the entire control module 200.
[0052] In another preferred embodiment, the main controller U1 is an N32G435CBL7 controller.
[0053] The present invention further proposes a battery charging box, including a housing and a circuit board (not shown) disposed inside the housing. The circuit board is provided with a mode switching control circuit. The specific structure of the mode switching control circuit is as described in the above embodiments. Since the present battery charging box adopts all the technical solutions of all the above embodiments, it has at least all the technical effects brought about by the technical solutions of the above embodiments, which will not be described in detail here.
[0054] Specifically, the housing is the outer shell structure of the battery charging case, used to house and protect internal electronic components such as circuit boards and batteries. The housing can be made of plastic, metal, or composite materials, and has a certain degree of mechanical strength and protective performance. The housing typically has a storage cavity for placing wireless headphones or other electronic devices, as well as an interface opening for connecting external devices. This interface opening corresponds to the interface module 100 on the circuit board, allowing the interface module 100 to establish an electrical connection with external devices through the interface opening.
[0055] The circuit board is located inside the housing and integrates the various components of the mode switching control circuit, including the interface module 100, the main controller U1, the control module 200, and related electronic components such as resistors and capacitors. The switch SW1 in the control module 200 can be located on the outer surface or side of the housing, allowing the user to easily perform a pressing operation. The interface module 100 communicates with the external environment through the interface opening in the housing, facilitating the insertion of a data cable for connection.
[0056] In practical applications, this battery charging case can provide charging and storage for wireless earphones, smart bracelets, or other small electronic devices. During daily use, users can activate the LED indicator by pressing the switch SW1 to check the battery status inside the charging case. When factory testing is required, testers connect the interface module 100 to external testing equipment or a computer via a data cable and simultaneously press the switch SW1 within a preset time. After meeting both trigger conditions, the charging case enters factory testing mode, allowing for various quality inspection items such as charging function testing, battery capacity testing, and communication function testing.
[0057] Since this battery charging box adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, including raising the trigger threshold for entering the factory test mode, effectively reducing the probability of misoperation, improving the user experience, and enhancing the circuit protection function, etc., which will not be elaborated here.
[0058] In a preferred embodiment, a button for user operation is provided on the outer surface of the housing, and the button is connected to the switch SW1. Specifically, the button is located on the outer surface of the housing, and can be located in a position convenient for user operation, such as the front, side, or top of the housing. The button can be made of materials such as plastic or silicone, and has a certain degree of elasticity and tactile feel, making it easy for the user to press. The exposed part of the button is usually designed with raised or recessed textures to enhance the user's tactile feedback, making it easy for the user to accurately locate the button without looking at the device.
[0059] The button and the switch SW1 are linked by a mechanical connection. When the user presses the button, the pressing force is transmitted to the switch SW1 through a mechanical transmission structure (such as a pressing rod, spring plate, or direct contact), causing the contacts of the switch SW1 to close and conduct. When the user releases the button, the button returns to its initial position under its own elasticity or the action of the return spring, and at the same time, it causes the contacts of the switch SW1 to open, returning to the open circuit state.
[0060] By setting buttons on the outer surface of the casing, users are provided with an intuitive and convenient operating interface, enabling them to easily check the battery level and perform other daily operations. At the same time, the trigger operation requirements in the factory test mode are also met.
[0061] In a preferred embodiment, the outer surface of the housing is provided with a charging port adapted to the shape of the interface module 100, and the charging port allows an external connector to pass through for insertion into the interface module 100.
[0062] The charging port is located on the outer surface of the housing, and can be situated at the bottom, side, or end of the housing for easy insertion and removal of the data cable. The shape and size of the charging port opening match the shape of the interface module 100. For example, when the interface module 100 uses a Type-C interface, the charging port is constructed as an oval opening corresponding to the Type-C interface; when the interface module 100 uses a Lightning interface, the charging port is constructed as a corresponding rectangular opening. The internal space of the charging port precisely corresponds to the position of the interface module 100, ensuring that the external connector can be accurately inserted and establish a reliable electrical connection with the interface module 100.
[0063] The charging port not only provides a channel for the interface module 100 to communicate with the external environment, but also serves a positioning and protection function. The edges of the charging port can be designed with guide chamfers or limiting structures to ensure that users can easily align the data cable with the interface module 100 when inserting it, preventing damage to the pins of the interface module 100 due to improper insertion angle. At the same time, the opening size of the charging port is designed to only allow standard connectors to be inserted, effectively preventing foreign objects from entering the housing and providing a certain degree of protection for the interface module 100 and the circuit board.
[0064] The above description is only a part or preferred embodiment of this utility model. Neither the text nor the drawings should limit the scope of protection of this utility model. All equivalent structural transformations made using the content of this utility model specification and drawings under the overall concept of this utility model, or direct / indirect applications in other related technical fields, are included within the scope of protection of this utility model.
Claims
1. A mode switching control circuit, characterized by comprising: include: An interface module is used for electrical connection to external devices; The main controller includes a receiver and a trigger, the receiver being electrically connected to the interface module, and the main controller acquiring a first level signal through the receiver. The control module has one end electrically connected to a power source and the other end grounded. The trigger terminal is electrically connected to the control module, and the main controller receives a second-level signal through the trigger terminal.
2. The mode switching control circuit according to claim 1, characterized by The interface module includes a first pin, which is electrically connected to the receiving end. The main controller obtains a first level signal through the trigger end and the first pin.
3. The mode switching control circuit according to claim 2, characterized by The interface module further includes a first resistor, and the receiving end is electrically connected to the first pin via the first resistor.
4. The mode switching control circuit according to claim 2 or 3, characterized by The control module includes a switch, which has a first end and a second end. The first end is electrically connected to a power supply, the second end is grounded, and the trigger end is electrically connected between the power supply and the first end.
5. The mode switching control circuit according to claim 4, characterized by The control module also includes a second resistor, and the first end of the switch is electrically connected to a power source via the second resistor.
6. The mode switching control circuit according to claim 1, characterized by The interface module is a Type-C interface.
7. The mode switching control circuit according to claim 1, characterized by The main controller is an N32G435CBL7 controller.
8. A battery charging case characterized by, The device includes a housing and a circuit board disposed within the housing. The circuit board is provided with a mode switching control circuit, which is the mode switching control circuit according to any one of claims 1 to 7.
9. The battery charging case of claim 8, wherein, The outer surface of the housing is provided with a button for user operation, and the button is connected to the switch.
10. The battery charging case of claim 9, wherein, The outer surface of the housing is provided with a charging port that is adapted to the shape of the interface module, and the charging port allows an external connector to pass through for insertion into the interface module.