Detection circuit and detection system of base station

By using the mode control and voltage divider module in the base station detection circuit to determine the presence status of the target device when it is not powered on, the problem that traditional detection methods cannot identify the presence of the target device is solved, power consumption is reduced, and battery life is extended.

CN121978760APending Publication Date: 2026-05-05YUANJIE SHARP (SHANGHAI) LIVING APPLIANCES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
YUANJIE SHARP (SHANGHAI) LIVING APPLIANCES CO LTD
Filing Date
2026-01-15
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Traditional in-situ detection methods cannot identify the location of target devices in a deep fault or shutdown state, resulting in the inability to provide intelligent services. Furthermore, high-frequency communication increases the standby power consumption of target devices and shortens battery life.

Method used

A base station detection circuit is adopted. The mode control module and voltage divider module determine the on-site status of the target device when it is not powered on. The voltage detection module identifies voltage changes and reduces power consumption.

Benefits of technology

It enables accurate determination of the on-site status of the target device when it is not powered on, reducing power consumption and improving battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121978760A_ABST
    Figure CN121978760A_ABST
Patent Text Reader

Abstract

The invention relates to a detection circuit and a detection system of a base station. The detection circuit is applied to the base station and comprises a mode control module, a first voltage division module and a voltage detection module, the mode control module is used for being connected with a first power supply voltage, receiving a first mode signal from the base station controller and outputting the first power supply voltage; the first voltage division module is provided with an in-situ detection node and is used for inputting a first power supply voltage from the mode control module, and under the condition that the first connection terminal is connected to the target appliance, a part of circuits in the first voltage division module are connected in parallel with a circuit in a second voltage division module in the target appliance and then are connected to the ground so as to divide the power supply voltage; the voltage detection module is used for detecting first voltage detection values of the in-place detection node, and the first voltage detection values are different in the in-place state and the out-of-place state of the target appliance. The detection circuit can carry out in-place detection without a target appliance feedback signal, and can reduce the detection power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of detection technology, and in particular to a detection circuit and detection system for a base station. Background Technology

[0002] Base stations are used to provide intelligent services to target devices, and device presence is fundamental to providing these services. Traditional presence detection methods require the target device's controller to be powered on or operational. These methods cannot detect device presence when the battery is completely depleted, the device is in a deep fault state, or the device is powered off, thus preventing the provision of intelligent services. Furthermore, to ensure real-time connectivity, traditional presence detection methods involve periodic communication between the base station and the target device, preventing the device from entering a true deep sleep mode, resulting in high standby power consumption and shortened battery life. Summary of the Invention

[0003] Therefore, it is necessary to provide a detection circuit and detection system for a base station that can reduce in-situ detection power consumption.

[0004] In a first aspect, this application provides a detection circuit for a base station, applied to a base station, the base station being configured with a first connection terminal for connecting a target device; the detection circuit includes:

[0005] The mode control module is used to connect to the first power supply voltage, receive the first mode signal from the base station controller, and output the first power supply voltage when the first mode signal is in the first level state.

[0006] A first voltage divider module is connected to the mode control module and to the first connection terminal. The first voltage divider module has an in-situ detection node. The first voltage divider module is used to input a first power supply voltage from the mode control module. When the first connection terminal is connected to the target device, a portion of the circuit in the first voltage divider module is connected in parallel with the circuit in the second voltage divider module in the target device and then connected to ground to divide the power supply voltage.

[0007] A voltage detection module is used to detect a first voltage detection value of the in-situ detection node and transmit the first voltage detection value to the base station controller, so that the base station controller can determine whether the target device is in place based on the first voltage detection value. The first voltage detection value is different when the target device is in place and when the target device is out of place.

[0008] In one embodiment, the mode control module includes: a first resistor, a second resistor, and a first field-effect transistor;

[0009] The source of the first field-effect transistor is connected to the first power supply, the gate of the first field-effect transistor is connected to one end of the first resistor, the other end of the first resistor is connected to the first transmit pin of the base station controller, the two ends of the second resistor are respectively connected to the source and the gate of the first field-effect transistor, and the drain of the first field-effect transistor is connected to the first voltage divider module.

[0010] In one embodiment, the first voltage divider module includes: a third resistor, a first diode, a fourth resistor, and a fifth resistor;

[0011] One end of the third resistor is connected to the mode control module, the other end of the third resistor is connected to the anode of the first diode, the cathode of the first diode is connected to one end of the fourth resistor, the other end of the fourth resistor is grounded through the fifth resistor, and the common connection point of the cathode of the first diode and the fourth resistor is connected to the first connection terminal.

[0012] In one embodiment, the detection circuit further includes a first communication transmitting module;

[0013] The first communication transmitting module includes: a sixth resistor, a seventh resistor, an eighth resistor, and a second field-effect transistor;

[0014] One end of the sixth resistor is connected to the second transmit pin of the base station controller, the other end of the sixth resistor is connected to the gate of the second field-effect transistor, the drain of the second field-effect transistor is grounded, the two ends of the seventh resistor are respectively connected to the gate and drain of the second field-effect transistor, the source of the second field-effect transistor is connected to one end of the eighth resistor, and the other end of the eighth resistor is connected to the first connection terminal.

[0015] In one embodiment, the detection circuit further includes a first communication receiving module;

[0016] The first communication receiving module includes: a ninth resistor, a tenth resistor, an eleventh resistor, and a first transistor;

[0017] One end of the ninth resistor is connected to the second power supply, and the other end of the ninth resistor is connected to the collector of the first transistor. The common connection point of the ninth resistor and the collector of the first transistor is connected to the first receiving pin. The emitter of the first transistor is grounded. The two ends of the tenth resistor are respectively connected to the base and emitter of the first transistor. The base of the first transistor is also connected to one end of the eleventh resistor, and the other end of the eleventh resistor is connected to the first connection terminal.

[0018] In one embodiment, the first voltage divider module further includes a charging detection node, and the detection circuit further includes a charging module and a charging detection module;

[0019] The charging module is used to connect to a third power source, receive the charging signal from the base station controller, and output the third power supply voltage to the target device when the charging signal is in a second level state.

[0020] The charging detection module is connected to the charging module and is used to detect the second voltage detection value of the charging detection node and transmit the second voltage detection value to the base station controller, so that the base station controller can determine whether the target device is fully charged based on the second voltage detection value. The second voltage detection value is different when the target device is fully charged and not fully charged.

[0021] In one embodiment, the charging module includes a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a third field-effect transistor, and a second transistor;

[0022] One end of the twelfth resistor is connected to the third transmit pin of the base station controller, and the other end of the twelfth resistor is connected to the base of the second transistor. The two ends of the thirteenth resistor are respectively connected to the base and emitter of the second transistor. The emitter of the second transistor is grounded. The collector of the second transistor is connected to one end of the fourteenth resistor. The other end of the fourteenth resistor is connected to one end of the fifteenth resistor. The other end of the fifteenth resistor is connected to the third power supply. The source of the third field-effect transistor is connected to the third power supply. The gate of the third field-effect transistor is connected to the common connection point of the fourteenth and fifteenth resistors. The drain of the third field-effect transistor is connected to the first connection terminal.

[0023] In one embodiment, the charging detection module includes a sixteenth resistor and a first capacitor;

[0024] One end of the sixteenth resistor is connected to the charging detection node, and the other end of the sixteenth resistor is connected to one end of the first capacitor. The other end of the first capacitor is grounded. The node between the sixteenth resistor and the first capacitor is used to output a charging detection signal carrying the second voltage detection value information to the base station controller.

[0025] In one embodiment, the voltage detection module includes: a seventeenth resistor and a second capacitor;

[0026] One end of the seventeenth resistor is connected to the in-situ detection node, and the other end of the seventeenth resistor is connected to one end of the second capacitor. The other end of the second capacitor is grounded. The node between the seventeenth resistor and the second capacitor is used to output an in-situ detection signal carrying the first voltage detection value information to the base station controller.

[0027] Secondly, this application provides a base station detection system, including the detection circuit of the base station and a target device; the target device is configured with a second connection terminal for connecting to the base station, and the target device includes a second communication transmission module and a second voltage divider;

[0028] The second communication transmitting module is connected to the first connection terminal of the base station through the first connection terminal of the target device, and is used to send a feedback signal to the first communication receiving module based on the feedback command of the target device controller;

[0029] The second voltage divider module is used to connect in parallel with a portion of the circuit in the first voltage divider module and ground it when the first connection terminal and the second connection terminal are connected. It is also used to receive the task signal sent by the first communication transmission module and transmit the task signal to the target device controller.

[0030] The detection circuit and system of the aforementioned base station input a first power supply voltage to the first voltage divider module through the mode control module. The first power supply voltage is divided by the first voltage divider module and detected by the voltage detection module to obtain a first voltage detection value that can identify whether the target device is in place. The entire process of obtaining the first voltage detection value does not require the target device to be powered on, which can reduce the power consumption of the target device in place detection. Attached Figure Description

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

[0032] Figure 1 This is a schematic diagram of the detection circuit structure of a base station according to an embodiment of this application.

[0033] Figure 2 This is a circuit diagram of a base station detection circuit according to an embodiment of this application.

[0034] Figure 3 This is a schematic diagram of the detection circuit structure of a base station according to another embodiment of this application.

[0035] Figure 4This is a schematic diagram of the detection circuit structure of a base station according to another embodiment of this application.

[0036] Figure 5 This is a schematic diagram of the detection circuit structure of a base station according to another embodiment of this application.

[0037] Figure 6 This is a schematic diagram of the base station detection system structure according to an embodiment of this application.

[0038] Figure 7 This is a circuit diagram of a base station detection system according to an embodiment of this application.

[0039] Explanation of reference numerals in the attached figures:

[0040] 100 - Detection circuit; 102 - Mode control module; 104 - First voltage divider module; 106 - Voltage detection module; 108 - First communication transmitting module; 110 - First communication receiving module; 112 - Charging module; 114 - Charging detection module; 600 - Detection system; 602 - Second communication transmitting module; 604 - Second voltage divider module. Detailed Implementation

[0041] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0043] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0044] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0045] It is understandable that "at least one" refers to one or more, and "multiple" refers to two or more. "At least a part of an element" refers to part or all of an element.

[0046] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0047] All existing on-site detection methods require the target device to be powered on and operational, resulting in high power consumption and preventing the device from entering deep sleep mode continuously. While existing technologies utilize mechanical contact detection and photoelectric non-contact detection for on-site determination, mechanical contact detection requires additional mechanical components, has a limited number of uses, and is susceptible to poor contact due to moisture corrosion or dust, rendering it unusable for data transmission. Photoelectric non-contact detection is easily affected by ambient light interference, and cannot accurately determine on-site status when the sensor window is obstructed.

[0048] To this end, the inventors of this application propose a detection circuit 100 for a base station that does not require powering on the target device, does not require adding mechanical structures, and is not easily affected by ambient light interference, in order to reduce the overall power consumption required for in-situ detection.

[0049] In one embodiment, see [reference] Figure 1 This application provides a detection circuit 100 for a base station, which is applied to a base station. The base station is configured with a first connection terminal for connecting a target device. The detection circuit 100 includes a mode control module 102, a first voltage divider module 104, and a voltage detection module 106.

[0050] The first connection terminal is a connection port between the base station and the target device. In this embodiment, the first connection terminal may include a first connection port of the base station and a second connection port of the base station. When the device is in place, the first connection port of the base station is connected to the first connection port of the target device through a data multiplexing line, and the second connection port of the base station is connected to the second connection port of the target device through a ground wire.

[0051] Understandably, the three-wire connection method requires complex multi-pin connectors, which increases costs and reduces reliability in humid environments due to the large number of contact points. By using a two-wire connection between the base station and the target device, costs can be reduced and reliability can be improved.

[0052] The mode control module 102 is used to connect to the first power supply voltage, receive the first mode signal from the base station controller, and output the first power supply voltage when the first mode signal is at a first level. That is, when the base station controller outputs the first mode signal to the mode control module 102, the mode control module 102 is used to output the first power supply voltage to the first voltage divider module 104. When the first mode signal is at a third level, the first power supply voltage is not output.

[0053] The first voltage divider module 104 is connected to the mode control module 102 and to the first connection terminal. The first voltage divider module 104 has an in-situ detection node. The first voltage divider module 104 is used to input the first power supply voltage from the mode control module 102. When the first connection terminal is connected to the target device, a portion of the circuit in the first voltage divider module 104 is connected in parallel with the circuit in the second voltage divider module in the target device and then connected to ground to divide the power supply voltage.

[0054] That is, the first voltage divider module is connected to the first connection port of the base station, and through the connection relationship between the first connection port of the base station and the first connection port of the target device, a part of the circuit is connected in parallel with the second voltage divider module. When the first connection terminal is not connected to the target device, that is, when the first connection port of the base station is not connected to the first connection port of the target device, the first power supply voltage is connected to ground after passing through the first voltage divider module 104.

[0055] By changing the connection state between the first connection terminal and the target device, the voltage of different nodes in the path of the first voltage divider module 104 can be changed, thereby changing the voltage of the in-situ detection node. This allows the target device to be determined as in-situ based on the different voltages of the in-situ detection node without the target device being powered on.

[0056] The voltage detection module 106 is used to detect the first voltage detection value of the in-situ detection node and transmit the first voltage detection value to the base station controller so that the base station controller can determine whether the target device is in place based on the first voltage detection value. The first voltage detection value is different when the target device is in place and when the target device is out of place.

[0057] For example, if the first voltage detection value is greater than the lower limit of the in-situ voltage value and less than the upper limit of the in-situ voltage value, the target device is determined to be in place; if the first voltage detection value is greater than the lower limit of the out-of-situ voltage value, the target device is determined to be out of place. The lower limit of the in-situ voltage value, the upper limit of the in-situ voltage value, and the lower limit of the out-of-situ voltage value can be determined based on the parameters in the circuit components, and can be obtained through simulation. No specific values ​​are limited here.

[0058] The detection circuit 100 of the aforementioned base station inputs a first power supply voltage to the first voltage divider module 104 through the mode control module 102. The first power supply voltage is divided by the first voltage divider module 104 and detected by the voltage detection module 106 to obtain a first voltage detection value that can identify whether the target device is in place. The entire process of obtaining the first voltage detection value does not require the target device to be powered on, which can reduce the power consumption of the target device in place detection.

[0059] In one embodiment, see [reference] Figure 2 The mode control module 102 includes a first resistor R1, a second resistor R2, and a first field-effect transistor Q1.

[0060] The source of the first field-effect transistor Q1 is connected to the first power supply VCC1. The gate of the first field-effect transistor Q1 is connected to one end of the first resistor R1. The other end of the first resistor R1 is connected to the first transmit pin TX0A of the base station controller. The two ends of the second resistor R2 are respectively connected to the source and the gate of the first field-effect transistor Q1. The drain of the first field-effect transistor Q1 is connected to the first voltage divider module 104.

[0061] For example, the first field-effect transistor Q1 is a PMOS (P-Channel Metal Oxide Semiconductor Field-Effect Transistor), the first resistor R1 has a resistance of 100 ohms, and the second resistor R2 has a resistance of 1 kΩ. The first resistor R1 receives a first mode signal from the base station controller. The first level state corresponding to the first mode signal is a low level state. At this time, the first field-effect transistor Q1 is turned on, and the mode control module 102 outputs a first power supply voltage.

[0062] When the first resistor R1 receives the second mode signal from the base station controller, the third level state corresponding to the second mode signal is high. At this time, the first field-effect transistor Q1 is turned off, and the mode control module 102 stops outputting the first power supply voltage. The mode control module 102 can control whether the base station performs presence detection.

[0063] In one embodiment, see [reference] Figure 2 The first voltage divider module 104 includes a third resistor R3, a first diode D1, a fourth resistor R4, and a fifth resistor R5.

[0064] One end of the third resistor R3 is connected to the mode control module 102, and the other end of the third resistor R3 is connected to the anode of the first diode D1. The cathode of the first diode D1 is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is grounded through the fifth resistor R5. The common connection point of the cathode of the first diode D1 and the fourth resistor R4 is connected to the first connection terminal, that is, the common connection point of the cathode of the first diode D1 and the fourth resistor R4 is connected to the first connection port of the base station.

[0065] The connection of one end of the third resistor R3 to the mode control module 102 indicates that one end of the third resistor R3 is connected to the drain of the first field-effect transistor Q1, and the in-situ detection node is located between the third resistor R3 and the anode of the first diode D1.

[0066] When the mode control module 102 outputs the first power supply voltage, the first voltage divider module 104 divides the first power supply voltage.

[0067] For example, the third resistor R3 is 10 kΩ, the fourth resistor is 10 kΩ, and the fifth resistor is 500 mΩ. When the first connection terminal is not connected to the target device, the first power supply voltage passes sequentially through the third resistor R3, the first diode D1, the fourth resistor R4, and the fifth resistor R5 before being grounded.

[0068] With the first connection terminal connected to the target device, the fourth resistor R4 and the fifth resistor R5 are connected in parallel with the circuit in the second voltage divider module of the target device and then grounded. It is understood that after being connected in parallel, the total resistance of the circuit connected to the third resistor R3 decreases, which in turn leads to a decrease in the voltage value of the in-situ detection node.

[0069] By changing whether or not the target device is connected, the transmission path is altered, thereby changing the total resistance in the transmission path and ultimately changing the voltage at the in-situ detection node. This enables the measurement of the target device's presence without requiring a feedback signal from the target device.

[0070] In one embodiment, see [reference] Figure 3 The detection circuit 100 also includes a first communication transmission module 108. The first communication transmission module 108 is used to send a task signal to the target device. For example, the first communication transmission module 108 can send high and low levels to the target device based on the base station controller, thereby achieving signal transmission.

[0071] See Figure 2 The first communication transmitting module 108 includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, and a second field-effect transistor Q2.

[0072] One end of the sixth resistor R6 is connected to the second transmit pin TX0B of the base station controller, and the other end of the sixth resistor R6 is connected to the gate of the second field-effect transistor Q2. The drain of the second field-effect transistor Q2 is grounded. The two ends of the seventh resistor R7 are connected to the gate and drain of the second field-effect transistor Q2, respectively. The source of the second field-effect transistor Q2 is connected to one end of the eighth resistor R8, and the other end of the eighth resistor R8 is connected to the first connection terminal, that is, the other end of the eighth resistor R8 is connected to the first connection port of the base station.

[0073] It is understandable that the first communication transmission module 108 requires power from the mode control module 102. Therefore, during the communication of the first communication transmission module 108, the first field-effect transistor Q1 is always in the on state.

[0074] For example, the resistance of the sixth resistor R6 can be 1 kΩ, the second field-effect transistor Q2 can be an NMOS (N-Channel Metal Oxide Semiconductor Field-Effect Transistor), the resistance of the seventh resistor R7 can be 10 kΩ, and the resistance of the eighth resistor can be 100 Ω. Specifically, when the base station sends logic 0 to the target device, it can first send a 3-millisecond low level followed by a 5-millisecond high level; when sending logic 1 to the target device, it can first send a 5-millisecond low level followed by a 3-millisecond high level. When the second transmit pin TX0B of the base station controller sends a high level to the gate of the second field-effect transistor Q2, Q2 is turned on. The turn-on of Q2 pulls down the first power supply voltage output by the mode control module 102, thereby controlling the base station to output a low level to the target device. When the base station controller sends a low level to the gate of the second field-effect transistor Q2, the second field-effect transistor Q2 is turned off. The turn-off of the second field-effect transistor Q2 will not pull down the first power supply voltage output by the mode control module 102, thereby controlling the base station to output a high level to the target device.

[0075] In one embodiment, see [reference] Figure 4 The detection circuit 100 also includes a first communication receiving module 110. The first communication receiving module 110 is used to receive feedback signals sent by the target device.

[0076] See Figure 2 The first communication receiving module 110 includes a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, and a first transistor Q3.

[0077] One end of the ninth resistor R9 is connected to the second power supply VCC2, and the other end of the ninth resistor R9 is connected to the collector of the first transistor Q3. The common connection point of the ninth resistor R9 and the collector of the first transistor Q3 is connected to the first receive pin RX0. The emitter of the first transistor Q3 is grounded. The two ends of the tenth resistor R10 are connected to the base and emitter of the first transistor Q3, respectively. The base of the first transistor Q3 is also connected to one end of the eleventh resistor R11. The other end of the eleventh resistor R11 is connected to the first connection terminal, that is, the other end of the eleventh resistor R11 is connected to the first connection port of the base station.

[0078] For example, the first transistor Q3 is an NPN type, the resistance of the ninth resistor R9 can be 100 kΩ, the resistance of the tenth resistor R10 can be 20 kΩ, and the resistance of the eleventh resistor R11 can be 10 kΩ. The target device changes the input voltage of the first transistor Q3 by changing the input, thereby turning the first transistor Q3 on or off. When the first transistor Q3 is on, the voltage at the connection of the first receiving pin RX0 is pulled low, and the first receiving pin RX0 receives a low level. When the first transistor Q3 is off, the voltage at the connection of the first receiving pin RX0 is not pulled low, and the first receiving pin RX0 receives a high level. The first receiving pin RX0 transmits the received signal to the base station controller, which can decode the low level as logic 0 and the high level as logic 1.

[0079] Understandably, when the first connection terminal is not connected to the target device, the first power supply voltage will pass through the first field-effect transistor Q1, the third resistor R3, the first diode D1, the eleventh resistor R11, the tenth resistor R10, the first transistor Q3, the fourth resistor R4, and the fifth resistor R5 before reaching ground. Taking a first power supply of 5V as an example, the voltage at the in-situ detection node is approximately 2.3V.

[0080] In one embodiment, see [reference] Figure 5 The first voltage divider module 104 also has a charging detection node, and the detection circuit 100 also includes a charging module 112 and a charging detection module 114.

[0081] The charging module 112 is used to connect to a third power source, receive the charging signal from the base station controller, and output the third power supply voltage to the target device when the charging signal is in the second level state.

[0082] When the charging signal is in the fourth level state, the output of the third power supply voltage to the target device stops. When the second level state is high, the fourth level state is low. When the second level state is low, the fourth level state is high.

[0083] The charging detection module 114 is connected to the charging module 112 and is used to detect the second voltage detection value of the charging detection node and transmit the second voltage detection value to the base station controller so that the base station controller can determine whether the target device is fully charged based on the second voltage detection value. The second voltage detection value is different when the target device is fully charged and not fully charged.

[0084] For example, if the second voltage detection value is less than or equal to a preset value, the target appliance is determined to be fully charged; if the second voltage detection value is greater than the preset value, the target appliance is determined to be not fully charged. The specific preset value is set according to the parameters of the components and the connection situation, and is not limited here.

[0085] By setting up the charging module 112 and the charging detection module 114, the target device can be charged adaptively according to its power status, thus preventing the target device from being unable to receive task signals due to a depleted battery.

[0086] In one embodiment, see [reference] Figure 2 The charging module 112 includes a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a third field-effect transistor Q4, and a second transistor Q5.

[0087] One end of the twelfth resistor R12 is connected to the third transmit pin TX0C of the base station controller, and the other end of the twelfth resistor R12 is connected to the base of the second transistor Q5. The two ends of the thirteenth resistor R13 are connected to the base and emitter of the second transistor Q5, respectively. The emitter of the second transistor Q5 is grounded. The collector of the second transistor Q5 is connected to one end of the fourteenth resistor R14. The other end of the fourteenth resistor R14 is connected to one end of the fifteenth resistor R15. The other end of the fifteenth resistor R15 is connected to the third power supply VCC3. The source of the third field-effect transistor Q4 is connected to the third power supply VCC3. The gate of the third field-effect transistor Q4 is connected to the common connection point of the fourteenth resistor R14 and the fifteenth resistor R15. The drain of the third field-effect transistor Q4 is connected to the first connection terminal, that is, the drain of the third field-effect transistor Q4 is connected to the first connection port of the base station.

[0088] For example, the third field-effect transistor Q4 can be a PMOS transistor, the second transistor Q5 can be an NPN transistor, the resistance of the twelfth resistor R12 can be 1 kΩ, the resistance of the thirteenth resistor R13 can be 10 kΩ, the resistance of the fourteenth resistor R14 can be 100 Ω, and the resistance of the fifteenth resistor R15 can be 1 kΩ. When charging the target device is required, the base station controller sends a high-level signal to the base of the second transistor Q5 through the third transmit pin TX0C, thereby turning on the second transistor Q5. The turn-on of the second transistor Q5 pulls down the gate voltage of the third field-effect transistor Q4, thereby turning on the third field-effect transistor Q4, so that the charging module 112 outputs a third power supply voltage to the target device through the first connection terminal. When the charging module 112 outputs the third power supply voltage, the input mode selection module is at a high level, and the input first communication transmission module 108 is at a low level. When charging the target device is not required, the base station controller sends a low-level signal to the base of the second transistor Q5, thereby turning off the second transistor Q5. The turning off of the second transistor Q5 will not pull down the gate voltage of the third field-effect transistor Q4, thereby turning off the third field-effect transistor Q4, and the charging module 112 will not output the third power supply voltage.

[0089] In one embodiment, see [reference] Figure 2 The charging detection module 114 includes a sixteenth resistor R16 and a first capacitor C1.

[0090] One end of the sixteenth resistor R16 is connected to the charging detection node, and the other end of the sixteenth resistor R16 is connected to one end of the first capacitor C1. The other end of the first capacitor C1 is grounded. The node VX2 between the sixteenth resistor R16 and the first capacitor C1 is used to output a charging detection signal carrying the second voltage detection value information to the base station controller.

[0091] For example, the resistance of the sixteenth resistor R16 can be 10 kΩ, the first capacitor C1 can be 100 nanofarads, the charging detection node can be the common connection point between the fourth resistor R4 and the fifth resistor R5, and one end of the sixteenth resistor R16 connected to the charging detection node can also be connected to the second connection port of the base station.

[0092] In one embodiment, the voltage detection module 106 includes a seventeenth resistor R17 and a second capacitor C2.

[0093] One end of the seventeenth resistor R17 is connected to the in-situ detection node, and the other end of the seventeenth resistor R17 is connected to one end of the second capacitor C2. The other end of the second capacitor C2 is grounded. The node VX1 between the seventeenth resistor R17 and the second capacitor C2 is used to output an in-situ detection signal carrying the first voltage detection value information to the base station controller.

[0094] For example, the resistance of the seventeenth resistor R17 can be 1 kΩ, and the second capacitor C2 can be 100 nanofarads. A portion of the circuitry in the first voltage divider module 104 is connected in parallel with the circuitry in the second voltage divider module of the target device and then grounded. This changes the voltage at the in-situ detection node. The change in this node voltage allows the determination of whether the circuitry of the first voltage divider module 104 is connected in parallel with the second voltage divider module, thus inferring the connection status between the first connection terminal of the base station and the target device. If the first connection terminal is connected to the target device, the target device is in place; if the first connection terminal is not connected to the target device, the target device is out of place. This achieves the detection of the in-situ / out-of-situ status of the target device without requiring a power-on feedback signal, reducing the power consumption of the in-situ detection.

[0095] In one embodiment, see [reference] Figure 6 This application provides a base station detection system 600, including the base station detection circuit 100 and target device in the above embodiments. The target device is configured with a second connection terminal for connecting to the base station. The target device includes a second communication transmission module 602 and a second voltage divider module 604.

[0096] The second connection terminal includes a first connection port of the target device and a second connection port of the target device. The first connection port of the target device is connected to the first connection port of the base station through a data multiplexing line, and the second connection port of the target device is connected to the second connection port of the base station through a ground wire. The second connection port of the target device is grounded.

[0097] The second communication transmitting module 602 is connected to the first connection terminal of the base station through the first connection terminal of the target device. The second communication transmitting module 602 is used to send feedback signals to the first communication receiving module 110 based on the feedback instructions of the target device controller.

[0098] The second voltage divider module 604 is used to connect in parallel with a portion of the circuit in the first voltage divider module 104 and ground when the first connection terminal and the second connection terminal are connected. It is also used to receive the task signal sent by the first communication sending module 108 and transmit the task signal to the target device controller.

[0099] The target device also includes other modules, which are connected to the second connection terminal of the target device via the second diode D2. More specifically, the second diode D2 is connected to the second connection port of the target device. The anode of the second diode D2 is connected to the second connection port of the target device, and the cathode of the second diode D2 is connected to other modules. These other modules may include a battery module. When the battery does not need to be charged, the target device controller can control the connection path to be disconnected. No specific circuit structure is limited here.

[0100] The detection system 600 of the aforementioned base station inputs a first power supply voltage to the first voltage divider module 104 through the mode control module 102. The first power supply voltage is divided by the first voltage divider module 104 and detected by the voltage detection module 106 to obtain a first voltage detection value that can identify whether the target device is in place. The entire process of obtaining the first voltage detection value does not require the target device to be powered on, which can reduce the power consumption of the target device in place detection.

[0101] In one embodiment, see [reference] Figure 7 The second communication transmitting module 602 includes an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R20, and a third transistor Q6.

[0102] One end of the eighteenth resistor R18 is connected to the first transmit pin of the target device controller, and the other end of the eighteenth resistor R18 is connected to the base of the third transistor Q6. The emitter of the third transistor Q6 is grounded. The two ends of the nineteenth resistor R19 are connected to the base and emitter of the third transistor Q6, respectively. The collector of the third transistor Q6 is connected to one end of the twentieth resistor R20, and the other end of the twentieth resistor R20 is connected to the second connection terminal.

[0103] For example, the third transistor Q6 is an NPN type, the eighteenth resistor R18 can have a resistance of 1 kΩ, the nineteenth resistor R19 can have a resistance of 10 kΩ, and the twentieth resistor R20 can have a resistance of 1 kΩ. When the target device controller outputs a high level to the base of the third transistor Q6 through the first transmit pin TX1, the third transistor Q6 conducts, which pulls down the voltage at the base of the first transistor Q3, causing the first transistor Q3 to turn off. When the first transistor Q3 is off, the first receive pin RX0 in the first communication receiving module 110 is at a high level, and the base station controller recognizes the logic 1 transmitted by the target device. When the target device controller outputs a low level to the base of the third transistor Q6, the third transistor Q6 is off, which in turn causes the first transistor Q3 to conduct. When the first transistor Q3 is on, the first receive pin RX0 in the first communication receiving module 110 is at a low level, and the base station controller recognizes the logic 0 transmitted by the target device.

[0104] In another embodiment, the signal transmitted by the target device can also be determined by the voltage at the detection point in place.

[0105] When the third transistor Q6 is turned on, it significantly lowers the voltage at the in-situ detection point. In this case, the base station controller decodes the signal sent by the target device as 1. When the third transistor Q6 is turned off, the voltage at the in-situ detection point remains constant. In this case, the base station controller decodes the signal sent by the target device as 0.

[0106] In one embodiment, see [reference] Figure 7 The second voltage divider module 604 includes a twenty-first resistor R21, a twenty-second resistor R22, and a fourth transistor Q7.

[0107] One end of the twenty-first resistor R21 is connected to the common connection point of the twenty-second resistor R20 and the second connection terminal. The other end of the twenty-first resistor R21 is connected to the base of the fourth transistor Q7. The emitter of the fourth transistor Q7 is grounded. The collector of the fourth transistor Q7 is connected to one end of the twenty-second resistor R22. The other end of the twenty-second resistor R22 is connected to the fourth power supply. The first receiving pin RX1 of the target device is connected to the common connection point of the collector of the fourth transistor Q7 and the twenty-second resistor R22.

[0108] For example, the fourth transistor Q7 is an NPN type, the twenty-first resistor R21 has a resistance of 10 kΩ, and the twenty-second resistor R22 has a resistance of 100 kΩ. When the signal emitted by the second transmit pin TX0B of the base station is high, the base station outputs a low level to the target device, causing the base of the fourth transistor Q7 to receive a low level, which in turn causes the fourth transistor Q7 to be turned off, and the first receive pin RX1 of the target device to receive a high level. When the signal emitted by the second transmit pin TX0B of the base station is low, the base station outputs a high level to the target device, causing the base of the fourth transistor Q7 to receive a high level, which in turn causes the fourth transistor Q7 to be turned on, pulling down the level at the first receive pin RX1 of the target device, that is, the first receive pin RX1 of the target device receives a low level. As mentioned above, when the base station sends logic 0 to the target device, it can first send a 3-millisecond low level, followed by a 5-millisecond high level; when sending logic 1 to the target device, it can first send a 5-millisecond low level, followed by a 3-millisecond high level. Correspondingly, when the first receiving pin RX1 receives a 3-millisecond low level and a 5-millisecond high level, the target device controller decodes it as logic 0; when the first receiving pin RX1 receives a 5-millisecond low level and a 3-millisecond high level, the target device controller decodes it as logic 1.

[0109] When charging the target device is required, the base station controller can control the first transmit pin TXOA of the base station to output a high level, the first field-effect transistor Q1 to be cut off, and the power supply of the first power supply to be disconnected. The third transmit pin TXOC of the base station controller outputs a high level, the second transistor Q5 is turned on, and then the third field-effect transistor Q4 is turned on. The charging module 112 outputs the third power supply voltage. At the same time, the second transmit pin TXOB of the base station controller outputs a low level, the second field-effect transistor Q2 is cut off, and the output third power supply voltage is prevented from being pulled low. The target device is charged through the third power supply voltage. Since the fourth resistor R4 and the fifth resistor R5 are connected in parallel with part of the circuit in the target device, the charging detection node between the fourth resistor R4 and the fifth resistor R5 can detect the voltage during the charging process. When fully charged, no current flows through the charging detection node between the fourth resistor R4 and the fifth resistor R5, and the voltage of the charging detection node is 0. Similarly, when the device is removed, the voltage of the charging detection node is also 0. By the voltage of the charging detection node, it can be determined whether the base station needs to charge the target device.

[0110] During in-situ detection, the base station controller controls the first transmit pin TXOA to output a low level, turning on the first field-effect transistor Q1 and supplying power to the first power supply. The third transmit pin TXOC outputs a low level, turning off the second transistor Q5, which in turn turns off the third field-effect transistor Q4, disconnecting the output of the third power supply voltage. The second transmit pin TXOB outputs a low level, turning off the second field-effect transistor Q2 to prevent pulling down the first power supply voltage output by the mode control module 102. When the device is in-situ, the current flows sequentially through the first field-effect transistor Q1, the third resistor R3, the first diode D1, the fourth resistor R4, the fifth resistor R5, the twenty-first resistor R21, and the fourth transistor Q7, and is grounded through the fifth resistor R5 and the fourth transistor Q7 respectively. As mentioned earlier, the resistance of the fifth resistor R5 is small and can be ignored. Taking a first power supply voltage of 5V as an example, the voltage detected by the in-position detection node is approximately 2.1V. Here, RL represents the resistance value of the fourth resistor R4, the fifth resistor R5, and the twenty-first resistor R21 connected in parallel (the fifth resistor R5 is negligible). As mentioned earlier, when the target device is off-position, the voltage of the in-position detection node is approximately 2.3V, which will not be repeated here. By comparison, it can be seen that the voltage of the in-position detection node is different when the target device is in-position and off-position. The voltage of this node can be used to determine whether the target device is in-position, and no feedback signal from the target device is required.

[0111] To further divide the voltage and make the difference between the voltage values ​​detected by the in-position detection node more obvious in the in-position and out-of-position states, a 23rd resistor R23 can be connected to the cathode of the second diode D2, and the other end of the 23rd resistor R23 can be grounded.

[0112] For example, the resistance of the twenty-third resistor R23 can be 6.8 kΩ. With the first and second connection terminals connected, as previously described, the components through which the first power supply passes will not be repeated here. In this case, the first power supply will also be grounded after passing through the second diode D2 and the twenty-third resistor R23. At this time, the voltage at the in-position detection node is approximately 1.6V, which is significantly different from the 2.3V detected when the target device is removed.

[0113] When the base station needs to communicate with the target device, it can be started by the first power supply voltage or the third power supply voltage. However, during signal transmission, it needs to be powered by the first power supply voltage. The base station controller can control the first connection terminal to send high and low levels to the target device according to the signal to be sent. The specific control process has been described in detail in the foregoing embodiments and will not be repeated here.

[0114] When the target device needs to communicate with the base station, it can also be powered by the first power supply voltage, and the target device controller outputs high and low levels to realize signal transmission. The specific control transmission process has been described in detail in the foregoing embodiments and will not be repeated here.

[0115] In the description of this specification, references to terms such as "some embodiments," "other embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative descriptions of the above terms do not necessarily refer to the same embodiments or examples.

[0116] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0117] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A detection circuit for a base station, characterized in that, Applied to a base station, the base station is configured with a first connection terminal for connecting a target device; The detection circuit includes: The mode control module is used to connect to the first power supply voltage, receive the first mode signal from the base station controller, and output the first power supply voltage when the first mode signal is in the first level state. A first voltage divider module is connected to the mode control module and to the first connection terminal. The first voltage divider module has an in-situ detection node. The first voltage divider module is used to input a first power supply voltage from the mode control module. When the first connection terminal is connected to the target device, a portion of the circuit in the first voltage divider module is connected in parallel with the circuit in the second voltage divider module in the target device and then connected to ground to divide the power supply voltage. A voltage detection module is used to detect a first voltage detection value of the in-situ detection node and transmit the first voltage detection value to the base station controller, so that the base station controller can determine whether the target device is in place based on the first voltage detection value. The first voltage detection value is different when the target device is in place and when the target device is out of place.

2. The detection circuit according to claim 1, characterized in that, The mode control module includes: a first resistor, a second resistor, and a first field-effect transistor; The source of the first field-effect transistor is connected to the first power supply, the gate of the first field-effect transistor is connected to one end of the first resistor, the other end of the first resistor is connected to the first transmit pin of the base station controller, the two ends of the second resistor are respectively connected to the source and the gate of the first field-effect transistor, and the drain of the first field-effect transistor is connected to the first voltage divider module.

3. The detection circuit according to claim 1, characterized in that, The first voltage divider module includes: a third resistor, a first diode, a fourth resistor, and a fifth resistor; One end of the third resistor is connected to the mode control module, the other end of the third resistor is connected to the anode of the first diode, the cathode of the first diode is connected to one end of the fourth resistor, the other end of the fourth resistor is grounded through the fifth resistor, and the common connection point of the cathode of the first diode and the fourth resistor is connected to the first connection terminal.

4. The detection circuit according to claim 1, characterized in that, The detection circuit also includes a first communication transmission module; The first communication transmitting module includes: a sixth resistor, a seventh resistor, an eighth resistor, and a second field-effect transistor; One end of the sixth resistor is connected to the second transmit pin of the base station controller, the other end of the sixth resistor is connected to the gate of the second field-effect transistor, the drain of the second field-effect transistor is grounded, the two ends of the seventh resistor are respectively connected to the gate and drain of the second field-effect transistor, the source of the second field-effect transistor is connected to one end of the eighth resistor, and the other end of the eighth resistor is connected to the first connection terminal.

5. The detection circuit according to claim 1, characterized in that, The detection circuit also includes a first communication receiving module; The first communication receiving module includes: a ninth resistor, a tenth resistor, an eleventh resistor, and a first transistor; One end of the ninth resistor is connected to the second power supply, and the other end of the ninth resistor is connected to the collector of the first transistor. The common connection point of the ninth resistor and the collector of the first transistor is connected to the first receiving pin. The emitter of the first transistor is grounded. The two ends of the tenth resistor are respectively connected to the base and emitter of the first transistor. The base of the first transistor is also connected to one end of the eleventh resistor, and the other end of the eleventh resistor is connected to the first connection terminal.

6. The detection circuit according to claim 1, characterized in that, The first voltage divider module also has a charging detection node, and the detection circuit further includes a charging module and a charging detection module; The charging module is used to connect to a third power source, receive the charging signal from the base station controller, and output the third power supply voltage to the target device when the charging signal is in a second level state. The charging detection module is connected to the charging module and is used to detect the second voltage detection value of the charging detection node and transmit the second voltage detection value to the base station controller, so that the base station controller can determine whether the target device is fully charged based on the second voltage detection value. The second voltage detection value is different when the target device is fully charged and not fully charged.

7. The detection circuit according to claim 6, characterized in that, The charging module includes a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a third field-effect transistor, and a second transistor; One end of the twelfth resistor is connected to the third transmit pin of the base station controller, and the other end of the twelfth resistor is connected to the base of the second transistor. The two ends of the thirteenth resistor are respectively connected to the base and emitter of the second transistor. The emitter of the second transistor is grounded. The collector of the second transistor is connected to one end of the fourteenth resistor. The other end of the fourteenth resistor is connected to one end of the fifteenth resistor. The other end of the fifteenth resistor is connected to the third power supply. The source of the third field-effect transistor is connected to the third power supply. The gate of the third field-effect transistor is connected to the common connection point of the fourteenth and fifteenth resistors. The drain of the third field-effect transistor is connected to the first connection terminal.

8. The detection circuit according to claim 6, characterized in that, The charging detection module includes a sixteenth resistor and a first capacitor; One end of the sixteenth resistor is connected to the charging detection node, and the other end of the sixteenth resistor is connected to one end of the first capacitor. The other end of the first capacitor is grounded. The node between the sixteenth resistor and the first capacitor is used to output a charging detection signal carrying the second voltage detection value information to the base station controller.

9. The detection circuit according to claim 1, characterized in that, The voltage detection module includes: a seventeenth resistor and a second capacitor; One end of the seventeenth resistor is connected to the in-situ detection node, and the other end of the seventeenth resistor is connected to one end of the second capacitor. The other end of the second capacitor is grounded. The node between the seventeenth resistor and the second capacitor is used to output an in-situ detection signal carrying the first voltage detection value information to the base station controller.

10. A base station detection system, characterized in that, The base station includes a detection circuit and a target device as described in any one of claims 1-9; the target device is configured with a second connection terminal for connecting to the base station, and the target device includes a second communication transmission module and a second voltage divider; The second communication transmitting module is connected to the first connection terminal of the base station through the second connection terminal of the target device, and is used to send a feedback signal to the first communication receiving module based on the feedback command of the target device controller; The second voltage divider module is used to connect in parallel with a portion of the circuit in the first voltage divider module and ground it when the first connection terminal and the second connection terminal are connected. It is also used to receive the task signal sent by the first communication transmission module and transmit the task signal to the target device controller.