Load current detection circuit and detection method

By setting multiple detection sub-circuits in the load current detection circuit and using the detection control unit to identify the load type and select the appropriate sub-circuit for detection, the problem of inconsistent current sampling in the prior art is solved, and accurate current detection and protection for different load types are realized.

CN115951111BActive Publication Date: 2025-12-02TIANKE INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310065072.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-13
Publication Date
2025-12-02
Estimated Expiration
2043-01-13

AI Technical Summary

Technical Problem

Existing current sampling circuits can only sample either small or large currents, which cannot be balanced. This leads to a mismatch between the load size and the sampling resistor, making it impossible to accurately detect the load current or potentially burning out the sampling resistor.

Method used

Design a load current detection circuit, which includes at least two detection sub-circuits. The detection control unit identifies the load type based on the start-up parameters of the accessory under test and selects the corresponding target detection sub-circuit for current detection.

Benefits of technology

It enables accurate current detection for different load types, avoids damage to the sampling resistor, and is compatible with various load types of test accessories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115951111B_ABST
    Figure CN115951111B_ABST
Patent Text Reader

Abstract

This manual provides a load current detection circuit and detection method. The load current detection circuit includes: a detection control unit, a device under test (DUT), and at least two detection sub-circuits, each detecting a different load type. The DUT provides startup parameters to the detection control unit upon startup. The detection control unit determines the load type of the DUT based on the startup parameters and, based on the load type, activates the corresponding target detection sub-circuit from the at least two detection sub-circuits to detect the load current of the DUT. Thus, the detection control unit can automatically identify the load type of the DUT, matching the load type with the activated target detection sub-circuit, enabling the activated target detection sub-circuit to accurately detect the load current of the DUT. The load current detection circuit is adaptable to DUTs with various load types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of circuit control technology, and in particular to a load current detection circuit. This specification also relates to a load current detection method, a computing device, and a computer-readable storage medium. Background Technology

[0002] With the rapid development of electronic circuit technology, in the fields of home appliances and industrial control, it is often necessary to detect the load current and determine whether the load is working properly based on the load current information in order to achieve corresponding functions, such as load overcurrent limiting, fast load step response, and dual current loop control.

[0003] In existing technologies, load current is often detected using a series resistance method. This method introduces a sampling resistor connected in series with the load, and the voltage drop across the sampling resistor represents the load current. However, due to the limited power of the sampling resistor, existing current sampling circuits can only sample either small or large currents, making them suitable only for either type of load. They cannot accommodate both types of loads. A mismatch between the load size and the sampling resistor can lead to inaccurate load current detection or even damage to the sampling resistor, causing a malfunction. Summary of the Invention

[0004] In view of this, embodiments of this specification provide a load current detection circuit. This specification also relates to a load current detection method, a computing device, and a computer-readable storage medium to address the technical deficiencies existing in the prior art.

[0005] According to a first aspect of the embodiments of this specification, a load current detection circuit is provided. The load current detection circuit includes a detection control unit, a device under test, and at least two detection sub-circuits, wherein the at least two detection sub-circuits detect different load types.

[0006] The accessory under test is used to feed back startup parameters to the detection and control unit during startup;

[0007] The detection control unit is used to determine the load type of the accessory under test based on the startup parameters; and based on the load type, to start the corresponding target detection sub-circuit from at least two detection sub-circuits to detect the load current of the accessory under test.

[0008] According to a second aspect of the embodiments of this specification, a load current detection method is provided, applied to a detection control unit in a load current detection circuit, the load current detection circuit further including a device under test and at least two detection sub-circuits, the at least two detection sub-circuits detecting different load types; the method includes:

[0009] Obtain the startup parameters returned when the attachment under test starts;

[0010] Determine the load type of the accessory to be tested based on the startup parameters;

[0011] Depending on the load type, the corresponding target detection sub-circuit is activated from at least two detection sub-circuits to detect the load current of the accessory under test.

[0012] According to a third aspect of the embodiments of this specification, a computing device is provided, comprising:

[0013] Memory and processor;

[0014] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the above-described load current detection method.

[0015] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the steps of the above-described load current detection method.

[0016] The load current detection circuit provided in this specification includes a detection control unit, a device under test (DUT), and at least two detection sub-circuits, wherein the at least two detection sub-circuits detect different load types. The DUT is used to feed back startup parameters to the detection control unit upon startup. The detection control unit is used to determine the load type of the DUT based on the startup parameters and to start the corresponding target detection sub-circuit from the at least two detection sub-circuits according to the load type to detect the load current of the DUT.

[0017] In this configuration, the load current detection circuit incorporates at least two detection sub-circuits. These sub-circuits detect different load types. The detection control unit determines the load type of the accessory under test (DUT) based on the startup parameters fed back during startup. It then selects a target detection sub-circuit from the two sub-circuits capable of detecting the corresponding load type. This target detection sub-circuit then detects the load current of the DUT. In this way, the detection control unit automatically identifies the load type of the DUT, ensuring a match between the load type and the target detection sub-circuit. This allows the target detection sub-circuit to accurately detect the load current of the DUT, making the load current detection circuit adaptable to various load types of DUTs. Attached Figure Description

[0018] Figure 1 This is a structural block diagram of a load current detection circuit provided in one embodiment of this specification;

[0019] Figure 2a This is a schematic diagram of the structure of a fabric cleaning machine provided in one embodiment of this specification;

[0020] Figure 2b This is a schematic diagram of a load current detection process provided in one embodiment of this specification;

[0021] Figure 2c This is a circuit diagram of a load current detection circuit provided in one embodiment of this specification;

[0022] Figure 3 This is a flowchart of a load current detection method provided in one embodiment of this specification;

[0023] Figure 4 This is a flowchart illustrating a load current detection method for a floor scrubber, provided in one embodiment of this specification.

[0024] Figure 5 This is a schematic diagram of the structure of a detection control unit provided in one embodiment of this specification;

[0025] Figure 6 This is a structural block diagram of a computing device provided in one embodiment of this specification. Detailed Implementation

[0026] Many specific details are set forth in the following description to provide a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.

[0027] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of this specification. The singular forms “a” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0028] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this specification, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0029] It should be noted that due to the power limitation of the sampling resistor, the existing current sampling circuit can only sample a single current, such as a small current or a large current. This means it can only be applied to either a small current load or a large current load, and cannot accommodate both. The load size of the motor and the sampling resistor are not matched. Considering only one method will increase the protection settings on the load or lack the corresponding protection, which may lead to inaccurate detection of the load current or may burn out the sampling resistor, causing a malfunction.

[0030] Therefore, this embodiment of the specification provides a load current detection circuit, which includes at least two detection sub-circuits. Different detection sub-circuits detect different load types. The detection control unit can determine the load type of the accessory under test (DUT) based on the startup parameters fed back when the DUT is started. Then, it selects a target detection sub-circuit from the at least two detection sub-circuits that can detect the corresponding load type. Through this target detection sub-circuit, the load current of the DUT is detected. In this case, the detection control unit can automatically identify the load type of the DUT. When the load type of the DUT is low current, the corresponding target detection sub-circuit can be activated to obtain a stable current sampling value; when the load type of the DUT is high current, the corresponding target detection sub-circuit can also be activated to obtain a stable current sampling value, and the temperature rise of the sampling resistor is within the normal range, avoiding damage to the sampling resistor. Thus, the load type of the DUT and the activated target detection sub-circuit are matched, enabling the activated target detection sub-circuit to accurately detect the load current of the DUT. The load current detection circuit can be adapted to DUTs with various load types.

[0031] This specification provides a load current detection circuit, a load current detection method, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments.

[0032] Figure 1 A structural block diagram of a load current detection circuit according to an embodiment of this specification is shown, such as... Figure 1 As shown, the load current detection circuit includes a detection control unit 102, a test accessory 106, and at least two detection sub-circuits 104, wherein the at least two detection sub-circuits 104 detect different load types.

[0033] The accessory 106 to be tested is used to feed back startup parameters to the detection control unit 102 during startup;

[0034] The detection control unit 102 is used to determine the load type of the accessory under test 102 according to the start-up parameters; and according to the load type, to start the corresponding target detection sub-circuit from at least two detection sub-circuits 102 to detect the load current of the accessory under test 106.

[0035] Specifically, the load detection circuit refers to a circuit structure that can detect the load current of the accessory under test plugged into the host. The detection control unit refers to a unit that can control the switching of the detection sub-circuit based on the start-up parameters fed back by the accessory under test. For example, the detection control unit can be an MCU (Microcontroller Unit). The detection sub-circuit is equipped with a sampling resistor or sampling chip, which can output the load voltage of the accessory under test, thereby detecting the load current of the accessory under test. The accessory under test can be a working accessory plugged into the host, such as a motor used to drive a cleaning roller brush; or a heating component used to output hot water or steam to soften stains.

[0036] Additionally, load type refers to the classification of the load size of the accessory under test. For example, load type can include a first load type and a second load type. The first load type is a motor load between 500 mA and 6 A, while the second load type is a motor load above 6 A. As an example, when the accessory under test is a motor driving a cleaning roller brush, it is a first load type, i.e., low current; when the accessory under test is a heating element outputting hot water or steam to soften stains, it is a first load type, i.e., high current.

[0037] Furthermore, the startup parameter can be any parameter generated when the accessory under test (DUT) starts up, reflecting the load size of the DUT. For example, if the DUT is plugged into the host, it is considered to be started. The host can have two types of interfaces. If the DUT is plugged into the first type of interface, it can generate the startup parameter corresponding to the first type of interface and feed it back to the detection control unit. If the DUT is plugged into the second type of interface, it can generate the startup parameter corresponding to the second type of interface and feed it back to the detection control unit. Alternatively, if the DUT is powered on, it is considered to be started. In this case, after the DUT is powered on, it can generate a corresponding electrical signal, i.e., startup parameter, which is fed back to the detection control unit to identify the load type.

[0038] Taking the motor driving the cleaning roller brush as an example, the motor being powered on is considered as starting. At this time, the starting parameter can be the overshoot, which is one of the dynamic performance indicators of the control system. It is the response curve of the linear control system under a step signal input, which is an indicator value for analyzing the dynamic performance of the step response curve. Alternatively, the starting parameter can also be the starting current, which refers to the inrush current of the electrical equipment (inductive load) when it is just started. It is the amount of current change in the short time from the moment the motor or inductive load is powered on to the moment it runs smoothly. Or, the starting parameter can also be the starting signal, which carries the load size or load type.

[0039] For example, taking a fabric cleaning machine as an example, the accessory to be tested is a working accessory that plugs into the fabric cleaning machine, and the load current detection circuit can be set on the body of the fabric cleaning machine. Figure 2a A schematic diagram of a fabric cleaning machine according to an embodiment of this specification is shown, such as... Figure 2a As shown, the fabric cleaning machine includes a motor-driven cleaning roller brush 1, which is the accessory to be tested. This accessory can also be other types of cleaning brushes, or a heating element plugged into the main unit to output hot water or steam to soften stains on the fabric; a clean water tank 2; a wastewater tank 3; a clean water pipe 4, which is wrapped inside the wastewater pipe and transports water from the clean water tank 2 to the motor-driven roller brush 1; a wastewater pipe 5, through which dirty wastewater from the motor-driven cleaning roller brush 1 is sucked into the wastewater tank 3; and a wiring pipe 6, which supplies power to the cleaning roller brush 1 and controls the movement of the motor-driven cleaning roller brush 1.

[0040] It should be noted that "at least two detection sub-circuits detect different load types" means that at least two detection sub-circuits can detect load currents of different load ranges. As an example, the load current detection circuit has two detection sub-circuits: detection sub-circuit 1 can detect loads between 500 mA and 6 A, and detection sub-circuit 2 can detect loads above 6 A.

[0041] In practical applications, the accessory under test (DUT) is connected to the detection control unit. When the DUT is started, it generates corresponding startup parameters. These startup parameters reflect the load size of the DUT. The DUT can feed back these startup parameters to the control unit. The control unit can analyze these startup parameters to determine the load type of the DUT, and then start a matching target detection subcircuit from at least two detection subcircuits to realize the load current detection of the DUT. The target detection subcircuit refers to a detection loop that can meet the load type of the DUT.

[0042] It should be noted that since a single detection sub-circuit can only detect the load current within its corresponding load range, for example, for a detection sub-circuit with a large load, due to the limited resistance range of its sampling resistor or sampling chip, there may be small currents that it cannot cover, which may cause some small load currents to go undetected; for a detection sub-circuit with a small load, due to the limited resistance range of its sampling resistor or sampling chip, there may be large currents that exceed the tolerance range of the sampling resistor or sampling chip, which may burn out the sampling resistor or sampling chip.

[0043] Therefore, in the embodiments of this specification, the detection control unit can automatically identify the load type of the accessory under test when it is started, and select the target detection sub-circuit corresponding to the load type from at least two detection sub-circuits included in the load current detection circuit. The load type of the accessory under test and the target detection sub-circuit being started match, so that the target detection sub-circuit being started meets the load requirements of the accessory under test and can accurately detect the load current of the accessory under test. That is, the load current detection circuit can be adapted to accessories under test with various load types.

[0044] In one optional implementation of this embodiment, at least two detection sub-circuits include a first detection sub-circuit and a second detection sub-circuit, wherein the first detection sub-circuit detects a first load type and the second detection sub-circuit detects a second load type.

[0045] The detection control unit is further configured to, when the load type of the accessory under test is a first load type, output a first conduction signal to the first detection sub-circuit to start the first detection sub-circuit to detect the load current of the accessory under test; and when the load type of the accessory under test is a second load type, output a second conduction signal to the second detection sub-circuit to start the second detection sub-circuit to detect the load current of the accessory under test.

[0046] The first activation signal is used to activate the first detection sub-circuit, and the second activation signal is used to activate the second detection sub-circuit.

[0047] It should be noted that the detection control unit can pre-store the correspondence between load types and detection sub-circuits. After determining the load type of the accessory under test based on the start parameters of the accessory under test, the detection control unit can determine the corresponding detection sub-circuit based on the correspondence.

[0048] In this embodiment of the specification, at least two detection sub-circuits, including a first detection sub-circuit and a second detection sub-circuit, are used as an example. The first detection sub-circuit detects a first load type, and the second detection sub-circuit detects a second load type. The load detection range corresponding to the first load type is greater than the load detection range corresponding to the second load type. That is to say, the first load type can detect a large current, and the second load type can detect a small current.

[0049] In practical applications, if the detection control unit determines that the load type of the accessory under test is the first load type based on the start parameters of the accessory under test, it can determine the first detection sub-circuit corresponding to the first load type based on the correspondence between the locally stored load type and the detection sub-circuit, and output a first conduction signal to the first detection sub-circuit. This first conduction signal can conduct the first detection sub-circuit, so that the first detection sub-circuit forms a loop, thereby starting the first detection sub-circuit to detect the load current of the accessory under test.

[0050] Since the load current of the accessory under test needs to be detected through the first detection sub-circuit, in addition to turning on the first detection sub-circuit, it is also necessary to cut off other detection sub-circuits, such as cutting off the second detection sub-circuit. If each detection sub-circuit needs to be turned on based on a conduction signal and cut off when no conduction signal is received, then it is only necessary to output a first conduction signal to the first detection sub-circuit. If it needs to be cut off only when a cutoff signal is received, then the detection control unit outputs a first conduction signal to the first detection sub-circuit to start the first detection sub-circuit to detect the load current of the accessory under test. At the same time, it can also output a first cutoff signal to the second detection sub-circuit to cut off the first detection sub-circuit.

[0051] If the detection control unit determines that the load type of the accessory under test (DUT) is the second load type based on the start-up parameters of the DUT, it can then determine the second detection sub-circuit corresponding to the second load type based on the locally stored correspondence between load types and detection sub-circuits. The control unit then outputs a second activation signal to the second detection sub-circuit, which activates the second detection sub-circuit, forming a loop and thus initiating the detection of the load current of the DUT. The process of activating the second detection sub-circuit and deactivating the first detection sub-circuit is the same as described above and will not be repeated here.

[0052] In the embodiments described in this specification, the detection control unit can automatically identify the load type of the accessory under test. When the load type of the accessory under test is low current, the corresponding first detection sub-circuit can be activated to obtain a stable current sampling value. When the load type of the accessory under test is high current, the corresponding second detection sub-circuit can also be activated to obtain a stable current sampling value, and the temperature rise of the sampling resistor is within the normal range to avoid burning out the sampling resistor. In this way, the load type of the accessory under test and the activated detection sub-circuit are matched, so that the activated detection sub-circuit can accurately detect the load current of the accessory under test. The load current detection circuit can be adapted to accessories under test with various load types.

[0053] In one optional implementation of this embodiment, the first detection sub-circuit includes a first conduction control module and a first sampling detection module;

[0054] The detection control unit is further configured to output a first conduction signal to the first conduction control module to conduct the first conduction control module;

[0055] The first sampling and detection module is used to output load voltage to the detection and control unit when the first conduction control module is turned on;

[0056] The detection control unit is further used to determine the load current of the accessory under test based on the load voltage and the sampling resistance value of the first sampling detection module.

[0057] It should be noted that the first detection sub-circuit may include a first conduction control module and a first sampling detection module. The first conduction control module can control the conduction and cutoff of the first detection sub-circuit; that is, the first conduction control module is a switch that controls the opening and closing of the first detection sub-circuit loop. When the first conduction control module is on, the first detection sub-circuit forms a loop, and current flows through the first sampling detection module. The first sampling detection module can detect the load voltage of the accessory under test, and this load voltage can be output to the detection control unit so that the detection control unit can determine the load current of the accessory under test based on the load voltage and the sampling resistance value of the first sampling detection module.

[0058] When the first conduction control module is cut off, the first detection sub-circuit cannot form a loop, and no current flows through the first sampling detection module. At this time, the first sampling detection module cannot detect the load voltage of the accessory under test, but it can be detected through other conducting detection sub-circuits.

[0059] In practical applications, the first conduction control module can be a MOSFET. The gate (G) of the MOSFET is connected to the control signal output pin of the detection control unit, the source (S) of the MOSFET is grounded, and the drain (D) of the MOSFET is connected to the first sampling detection module. The other end of the first sampling detection module is connected to the detection voltage input pin of the detection control unit. Of course, in specific implementations, the first conduction control module can also be other components with both conduction and cutoff states, such as transistors, etc. This application does not impose any restrictions on this.

[0060] In this embodiment, the detection control unit can output a first conduction signal through a control signal output pin. The voltage value of this first conduction signal can activate the first conduction control module, causing the first detection sub-circuit to form a loop. Current flows through the first sampling detection module, which can output a load voltage to the detection voltage input pin of the detection control unit, allowing the detection control unit to calculate the corresponding load current. Thus, the first conduction control module can control the on / off state of the first detection sub-circuit loop, enabling the detection control unit to switch the detection circuit as needed. This ensures that the load type of the device under test matches the activated detection sub-circuit, and the activated detection sub-circuit can accurately detect the load current of the device under test.

[0061] It should be noted that the second detection sub-circuit and the first detection sub-circuit have the same structure, but the specific sampling resistance values ​​are different to adapt to different load types. Therefore, the connection relationship and conduction process of the second detection sub-circuit can be referred to the connection relationship and conduction process of the first detection sub-circuit described above, and will not be repeated here in the embodiments of this specification.

[0062] In one optional embodiment of this example, the first sampling and detection module includes a first sampling submodule and a first detection output pin; one end of the first sampling submodule is connected to the first conduction control module, and the other end is connected to the first detection output pin; the other end of the first detection output pin is connected to the detection pin of the detection control unit, and outputs the load voltage to the detection control unit.

[0063] It should be noted that the first sampling and detection module includes a first sampling submodule and a first detection output pin. The first sampling submodule is the component part that specifically implements sampling and detection. The first detection output pin is used to output the load voltage to the detection control unit so that the detection control unit can calculate the corresponding load current based on the load voltage divided by the sampling resistance value of the first sampling and detection module.

[0064] In practical applications, the first detection sub-circuit includes a first conduction control module, a first sampling sub-module, and a first detection output pin. These three modules can be connected in series, with their two ends connected to the detection control unit to form a loop. Specifically, one end of the first conduction control module is connected to the control signal output pin of the detection control unit, and the other end is connected to the first sampling sub-module. The other end of the first sampling sub-module is connected to the first detection output pin, and the other end of the first detection output pin is connected to the detection voltage input pin of the detection control unit.

[0065] In the embodiments described in this specification, the first conduction control module, the first sampling submodule, and the first detection output pin are connected in series. When the first conduction control module is turned on, current flows through the first sampling submodule, and the first detection output pin can output the load voltage to the detection control unit, so that the detection control module can realize load current detection and improve the accuracy of load current detection.

[0066] In one optional implementation of this embodiment, the first sampling submodule is a sampling resistor or a sampling chip.

[0067] It should be noted that the first sampling submodule in the first detection subcircuit can be a sampling resistor or a sampling chip, that is, the first detection subcircuit can realize load current detection through a sampling resistor or a sampling chip; similarly, the second sampling submodule in the second detection subcircuit can also be a sampling resistor or a sampling chip, that is, the second detection subcircuit can also realize load current detection through a sampling resistor or a sampling chip.

[0068] In other words, each detection sub-circuit can detect the load current through a sampling resistor or a sampling chip. That is, each detection circuit can be configured with a sampling resistor or a sampling chip to detect the load current. The specific configuration can be based on the requirements, which improves flexibility and makes it more adaptable to different load current detection scenarios.

[0069] In one optional implementation of this embodiment, the circuit parameters of at least two detection sub-circuits are set based on the attributes of the detection control unit and / or the load parameters of the device under test.

[0070] It should be noted that this circuit parameter can be a sampling resistance value, which determines the range of load current that the detection sub-circuit can detect, that is, it determines the type of load that the detection sub-circuit can detect.

[0071] In practical applications, the load current detection circuit can be configured to include several detection sub-circuits based on actual needs, specifying the sampling resistance value of each detection sub-circuit and thus configuring the load types that each detection sub-circuit can detect.

[0072] In practical applications, the attributes of the detection control unit and the load parameters of the accessory under test may affect the number of detection sub-circuits and the sampling resistance value of each detection sub-circuit. Therefore, the number of detection sub-circuits and the sampling resistance value of each detection sub-circuit can be determined based on the attributes of the detection control unit and / or the load parameters of the accessory under test.

[0073] The detection control unit is actually a microcontroller, and its attributes can be the microcontroller's AD / DA resolution. The accessory under test refers to a common working accessory that requires load voltage detection. The load parameters of the accessory under test can include rated current and / or rated power, etc.

[0074] For example, suppose that common load-to-test accessories that require load voltage detection are divided into two categories: small loads with low rated current and large loads with high rated current. Therefore, two detection sub-circuits can be set in the load current detection circuit. The sampling resistance of detection sub-circuit 1 is set to a smaller value to be responsible for high current load detection, and the sampling resistance of detection sub-circuit 2 is set to a larger value to be responsible for low current load detection.

[0075] In the embodiments described in this specification, the circuit parameters of each detection sub-circuit can be set based on the attributes of the detection control unit and / or the load parameters of the accessory under test (DUT). This allows different detection sub-circuits to detect load currents within different ranges, thereby adapting to DUTs with different load types. Subsequently, when the DUT is activated, the detection control unit can determine the corresponding load type based on the DUT's activation parameters, and then activate the target detection sub-circuit that meets the load type requirements to achieve load current detection. This ensures that the load type of the DUT matches the activated target detection sub-circuit, improving the accuracy of load current detection and preventing damage to components.

[0076] In an optional embodiment of this example, the detection control unit is further configured to:

[0077] Determine whether the load current exceeds the rated load of the accessory under test;

[0078] If the limit is exceeded, the device under test will be stopped from running.

[0079] It should be noted that after detecting the load current of the accessory under test, the detection control unit can determine whether the load current exceeds the rated load of the accessory. If it does, it controls the accessory to stop operating, i.e., stops the accessory from working. In this way, it is possible to determine whether the load is working normally based on the load current information, limit the load overcurrent, and stop working in time when the load is abnormal, thus ensuring safety.

[0080] Example, Figure 2b This is a schematic diagram of a load current detection process provided in one embodiment of this specification, as shown below. Figure 2b As shown, when a large load accessory starts, it can send startup parameter 1 back to the host (i.e., the detection and control unit). The host recognizes that startup parameter 1 corresponds to a large load, and at this time, it can control the startup of the large load detection sub-circuit. When a small load accessory starts, it can send startup parameter 2 back to the host (i.e., the detection and control unit). The host recognizes that startup parameter 2 corresponds to a small load, and at this time, it can control the startup of the small load detection sub-circuit.

[0081] The load current detection circuit provided in this embodiment includes at least two detection sub-circuits. Different detection sub-circuits detect different load types. The detection control unit can determine the load type of the accessory under test (DUT) based on the startup parameters fed back when the DUT is started. Then, it selects a target detection sub-circuit from the at least two sub-circuits that can detect the corresponding load type. The load current of the DUT is then detected through this target detection sub-circuit. In this way, the detection control unit can automatically identify the load type of the DUT, ensuring that the load type matches the started target detection sub-circuit, allowing the started target detection sub-circuit to accurately detect the load current of the DUT. The load current detection circuit is adaptable to DUTs with various load types.

[0082] Figure 2c This is a circuit diagram of a load current detection circuit provided in one embodiment of this specification, such as... Figure 2c As shown, the detection control unit is an MCU, and there are at least two detection sub-circuits, including a first detection sub-circuit and a second detection sub-circuit.

[0083] The first detection sub-circuit includes a first conduction control module, a first sampling sub-module, and a first detection output pin. The first conduction control module is a MOSFET Q1. The gate (G) of the MOSFET Q1 is connected to the control signal output pin "Ctrl1" of the MCU. The source (S) of the MOSFET Q1 is grounded, and the drain (D) of the MOSFET Q1 is connected to the first sampling sub-module. The first sampling sub-module includes sampling resistors R9 and R10 connected in parallel. The other end of the first sampling sub-module is connected to two branches. One branch is connected to the first detection output pin "AD pin," which is connected to the detection voltage input pin of the MCU (not shown in the figure); the other branch is connected to the accessory under test.

[0084] In addition, the first detection sub-circuit also includes filter capacitors C7, C8 and C9, which are used to filter out noise.

[0085] The second detection sub-circuit includes a second conduction control module, a second sampling sub-module, and a second detection output pin. The second conduction control module is a MOSFET Q2. The gate (G) of the MOSFET Q2 is connected to the control signal output pin "Ctrl2" of the MCU. The source (S) of the MOSFET Q2 is grounded, and the drain (D) of the MOSFET Q2 is connected to the second sampling sub-module. The second sampling sub-module is a sampling chip. The other end of the sampling chip is also connected to two branches. One branch is connected to the second detection output pin, which can be the same as the first detection output pin, both of which are "AD pins" in the figure. The other branch is connected to the load under test.

[0086] Furthermore, current-limiting resistors R3 and R4 can be set between the first sampling submodule or the second sampling submodule and the "AD pin" to limit the current input to the MCU and prevent the MCU from burning out.

[0087] Furthermore, the load current detection circuit also includes a battery, with one end of the battery grounded and the other end connected to the accessory under test as a power source to supply power to the accessory under test.

[0088] As can be seen from the above, assuming that the startup parameters fed back to the MCU when the accessory under test starts indicate that the accessory under test is a small load accessory, and the first detection sub-circuit is corresponding to detecting a small load, the MCU can output a conduction signal to the "Ctrl1 pin" to turn on the MOSFET Q1. After the MOSFET Q1 is turned on, the battery can provide power. The battery, the accessory under test, the first sampling sub-module (sampling resistors R9 and R10 in parallel), the MOSFET Q1, and the MCU form a loop. The "AD pin" can output the load voltage to the MCU. Based on the load voltage, the MCU calculates the load current of the accessory under test.

[0089] Additionally, assuming that the startup parameters fed back to the MCU when the accessory under test (DUT) starts indicate that the DUT is a high-load accessory, and the second detection sub-circuit is corresponding to detecting a high load, the MCU can output a conduction signal to the "Ctrl2 pin" to turn on the MOSFET Q2. After the MOSFET Q2 is turned on, the battery can provide power. The battery, the DUT, the second sampling sub-module (sampling chip), the MOSFET Q2, and the MCU form a loop. The "AD pin" can output the load voltage to the MCU. Based on this load voltage, the MCU calculates the load current of the DUT.

[0090] The load current detection circuit provided in this embodiment includes at least two detection sub-circuits. Different detection sub-circuits detect different load types. The detection control unit can determine the load type of the accessory under test (DUT) based on the startup parameters fed back when the DUT is started. Then, it selects a target detection sub-circuit from the at least two sub-circuits that can detect the corresponding load type. The load current of the DUT is then detected through this target detection sub-circuit. In this way, the detection control unit can automatically identify the load type of the DUT, ensuring that the load type matches the started target detection sub-circuit, allowing the started target detection sub-circuit to accurately detect the load current of the DUT. The load current detection circuit is adaptable to DUTs with various load types.

[0091] Figure 3 A flowchart of a load current detection method according to an embodiment of this specification is shown. The method is applied to a detection control unit in a load current detection circuit. The load current detection circuit also includes a device under test and at least two detection sub-circuits. The at least two detection sub-circuits detect different load types. The load current detection method specifically includes the following steps 302-306:

[0092] Step 302: Obtain the startup parameters fed back when the attachment to be tested starts.

[0093] Step 304: Determine the load type of the accessory to be tested based on the startup parameters.

[0094] Step 306: Based on the load type, activate the corresponding target detection sub-circuit from at least two detection sub-circuits to detect the load current of the accessory under test.

[0095] In one optional implementation of this embodiment, at least two detection sub-circuits include a first detection sub-circuit and a second detection sub-circuit, wherein the first detection sub-circuit detects a first load type and the second detection sub-circuit detects a second load type.

[0096] Depending on the load type, the corresponding target detection sub-circuit is activated from at least two detection sub-circuits to detect the load current of the accessory under test. The specific implementation process can be as follows:

[0097] When the load type of the accessory under test is the first load type, a first conduction signal is output to the first detection sub-circuit to start the first detection sub-circuit to detect the load current of the accessory under test. The first conduction signal is used to turn on the first detection sub-circuit.

[0098] When the load type of the accessory under test is the second load type, a second conduction signal is output to the second detection sub-circuit to start the second detection sub-circuit to detect the load current of the accessory under test. The second conduction signal is used to turn on the second detection sub-circuit.

[0099] In one optional implementation of this embodiment, the first detection sub-circuit includes a first conduction control module and a first sampling detection module; a first conduction signal is output to the first detection sub-circuit to start the first detection sub-circuit to detect the load current of the accessory under test. The specific implementation process can be as follows:

[0100] Output a first conduction signal to the first conduction control module to turn on the first conduction control module;

[0101] Obtain the load voltage output by the first sampling detection module when the first conduction control module is turned on;

[0102] The load current of the accessory under test is determined based on the load voltage and the sampling resistance value of the first sampling detection module.

[0103] In one optional implementation of this embodiment, after activating the corresponding target detection sub-circuit from at least two detection sub-circuits according to the load type and detecting the load current of the accessory under test, the method further includes:

[0104] Determine whether the load current exceeds the rated load of the accessory under test;

[0105] If the limit is exceeded, the device under test will be stopped from running.

[0106] It should be noted that the accessory to be tested can refer to a working accessory plugged into the main unit, such as a motor used to drive the cleaning roller brush; or a heating component used to output hot water or steam to soften stains.

[0107] The load current detection method provided in this specification allows the detection control unit to determine the load type of the accessory under test (DUT) based on the startup parameters fed back when the DUT is started. Then, from at least two detection sub-circuits set in the load current detection circuit, a target detection sub-circuit capable of detecting the corresponding load type is selected. The load current of the DUT is then detected through this target detection sub-circuit. In this way, the detection control unit can automatically identify the load type of the DUT, ensuring a match between the load type and the started target detection sub-circuit, enabling the started target detection sub-circuit to accurately detect the load current of the DUT. The load current detection circuit can be adapted to DUTs with various load types.

[0108] The above is a schematic scheme of a load current detection method according to this embodiment. It should be noted that the technical solution of this load current detection method and the technical solution of the load current detection circuit described above belong to the same concept. For details not described in detail in the technical solution of the load current detection method, please refer to the description of the technical solution of the load current detection circuit described above.

[0109] The following is in conjunction with the appendix Figure 4 Taking the application of the load current detection method provided in this manual in a floor scrubber as an example, the load current detection method will be further explained. Figure 4 This specification illustrates a process flowchart of a load current detection method for a floor scrubber according to an embodiment of this specification. The load current detection method is applied to a detection control unit in a load current detection circuit and specifically includes the following steps:

[0110] Step 402: Obtain the startup parameters of the attachment to be tested when the floor scrubber is started, and determine the load type of the attachment to be tested based on the startup parameters.

[0111] It should be noted that the accessory under test for the floor scrubber can be a motor, which drives the cleaning roller to clean the surface; or, the accessory under test can be a heating element, which outputs hot water or steam to soften stains for easier cleaning. The accessory under test is connected to the detection sub-circuit, so that the detection control unit in the load current detection circuit activates the corresponding load detection sub-circuit to detect the load current of the accessory under test.

[0112] Step 404: When the load type of the accessory under test is a large load, send a first conduction signal to the large load detection sub-circuit to conduct the large load detection sub-circuit and detect the load current of the accessory under test through the large load detection sub-circuit.

[0113] Step 406: When the load type of the accessory under test is small load, send a second conduction signal to the small load detection sub-circuit to conduct the small load detection sub-circuit and detect the load current of the accessory under test through the small load detection sub-circuit.

[0114] Step 408: Determine whether the load current exceeds the rated load of the accessory under test. If it does, control the accessory under test to stop operating.

[0115] The load current detection method provided in this specification allows the detection control unit to determine the load type of the accessory under test (DUT) based on the startup parameters fed back when the DUT is started. Then, it selects a detection sub-circuit from the various detection sub-circuits set in the load current detection circuit that can detect the corresponding load type. Through this detection sub-circuit, the load current of the DUT is detected, thereby achieving functions such as load overcurrent limiting. In this way, the load current detection circuit can be adapted to accessories under test with various load types. The detection control unit can automatically identify the load type of the brush, matching the load type of the brush with the startup detection sub-circuit, enabling the startup detection sub-circuit to accurately detect the load current of the brush, thereby accurately monitoring whether the load current is over-limited.

[0116] Corresponding to the above method embodiments, this specification also provides embodiments of the detection control unit. Figure 5 A schematic diagram of a detection control unit according to an embodiment of this specification is shown. Figure 5 As shown, the detection control unit includes:

[0117] The acquisition module 502 is configured to acquire the startup parameters fed back when the attachment under test starts.

[0118] Module 504 is configured to determine the load type of the accessory under test based on startup parameters;

[0119] The startup module 506 is configured to start a corresponding target detection sub-circuit from at least two detection sub-circuits included in the load current detection circuit according to the load type, and detect the load current of the accessory under test, wherein the load types detected by at least two detection sub-circuits are different.

[0120] Optionally, at least two detection sub-circuits include a first detection sub-circuit and a second detection sub-circuit, wherein the first detection sub-circuit detects a first load type and the second detection sub-circuit detects a second load type; the startup module 506 is further configured to:

[0121] When the load type of the accessory under test is the first load type, a first conduction signal is output to the first detection sub-circuit to start the first detection sub-circuit to detect the load current of the accessory under test. The first conduction signal is used to turn on the first detection sub-circuit.

[0122] When the load type of the accessory under test is the second load type, a second conduction signal is output to the second detection sub-circuit to start the second detection sub-circuit to detect the load current of the accessory under test. The second conduction signal is used to turn on the second detection sub-circuit.

[0123] Optionally, the first detection sub-circuit includes a first conduction control module and a first sampling detection module; the startup module 506 is further configured to:

[0124] Output a first conduction signal to the first conduction control module to turn on the first conduction control module;

[0125] Obtain the load voltage output by the first sampling detection module when the first conduction control module is turned on;

[0126] The load current of the accessory under test is determined based on the load voltage and the sampling resistance value of the first sampling detection module.

[0127] Optionally, the detection control unit also includes a control module configured to:

[0128] Determine whether the load current exceeds the rated load of the accessory under test;

[0129] If the limit is exceeded, the device under test will be stopped from running.

[0130] The detection control unit provided in this embodiment can determine the load type of the accessory under test (DUT) based on the startup parameters fed back when the DUT is started. Then, it selects a target detection sub-circuit from at least two detection sub-circuits set in the load current detection circuit, capable of detecting the corresponding load type. The load current of the DUT is then detected through this target detection sub-circuit. In this way, the detection control unit can automatically identify the load type of the DUT, matching the load type with the started target detection sub-circuit, enabling the started target detection sub-circuit to accurately detect the load current of the DUT. The load current detection circuit can be adapted to DUTs with various load types.

[0131] The above is a schematic scheme of a detection control unit according to this embodiment. It should be noted that the technical solution of this detection control unit and the technical solution of the load current detection circuit described above belong to the same concept. For details not described in detail in the technical solution of the detection control unit, please refer to the description of the technical solution of the load current detection circuit described above.

[0132] Figure 6A structural block diagram of a computing device 600 according to an embodiment of this specification is shown. The components of the computing device 600 include, but are not limited to, a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and a database 650 is used to store data.

[0133] The computing device 600 also includes an access device 640, which enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 640 may include one or more of any type of wired or wireless network interface (e.g., a Network Interface Controller (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, a Wi-MAX (Worldwide Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.

[0134] In one embodiment of this specification, the above-described components of the computing device 600 and Figure 6 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 6 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0135] The computing device 600 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. The computing device 600 can also be a mobile or stationary server.

[0136] The processor 620 is used to execute the following computer-executable instructions to implement the steps of the above-described load current detection method.

[0137] The above is a schematic representation of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the load current detection method described above belong to the same concept. Details not described in detail in the technical solution of the computing device can be found in the description of the technical solution of the load current detection method described above.

[0138] An embodiment of this specification also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, are used to implement the steps of the above-described load current detection method.

[0139] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the load current detection method described above belong to the same concept. Details not described in detail in the technical solution of the storage medium can be found in the description of the technical solution of the load current detection method described above.

[0140] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0141] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0142] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this specification is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this specification. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this specification.

[0143] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0144] The preferred embodiments disclosed above are merely illustrative of this specification. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this specification. These embodiments have been selected and specifically described in this specification to better explain the principles and practical applications of this specification, thereby enabling those skilled in the art to better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.

Claims

1. A load current detection circuit, characterized in that, The load current detection circuit includes a detection control unit, an accessory under test, and at least two detection sub-circuits, wherein the at least two detection sub-circuits detect different load types. The accessory to be tested is used to feed back startup parameters to the detection and control unit upon startup. The detection control unit is used to determine the load type of the accessory under test based on the startup parameters; And according to the load type, the corresponding target detection sub-circuit is activated from the at least two detection sub-circuits to detect the load current of the accessory under test; The at least two detection sub-circuits include a first detection sub-circuit and a second detection sub-circuit, wherein the first detection sub-circuit detects a first load type and the second detection sub-circuit detects a second load type; The detection control unit is further configured to, when the load type of the accessory under test is a first load type, output a first conduction signal to the first detection sub-circuit to start the first detection sub-circuit to detect the load current of the accessory under test; and when the load type of the accessory under test is a second load type, output a second conduction signal to the second detection sub-circuit to start the second detection sub-circuit to detect the load current of the accessory under test. Wherein, the first conduction signal is used to conduct the first detection sub-circuit, and the second conduction signal is used to conduct the second detection sub-circuit.

2. The load current detection circuit according to claim 1, characterized in that, The first detection sub-circuit includes a first conduction control module and a first sampling detection module; The detection control unit is further configured to output the first conduction signal to the first conduction control module to conduct the first conduction control module; The first sampling and detection module is used to output load voltage to the detection and control unit when the first conduction control module is turned on; The detection control unit is further configured to determine the load current of the accessory under test based on the load voltage and the sampling resistance value of the first sampling detection module.

3. The load current detection circuit according to claim 2, characterized in that, The first sampling and detection module includes a first sampling submodule and a first detection output pin; one end of the first sampling submodule is connected to the first conduction control module, and the other end is connected to the first detection output pin; the other end of the first detection output pin is connected to the detection pin of the detection control unit, and outputs the load voltage to the detection control unit.

4. The load current detection circuit according to claim 3, characterized in that, The first sampling submodule is a sampling resistor or a sampling chip.

5. The load current detection circuit according to any one of claims 1-4, characterized in that, The circuit parameters of the at least two detection sub-circuits are set based on the attributes of the detection control unit and / or the load parameters of the accessory under test.

6. The load current detection circuit according to any one of claims 1-4, characterized in that, The detection and control unit is further used for: Determine whether the load current exceeds the rated load of the accessory under test; If the limit is exceeded, the device under test will be stopped from operating.

7. The load current detection circuit according to any one of claims 1-4, characterized in that, The accessory to be tested is a motor, which is used to drive the cleaning roller brush; or, the accessory to be tested is a heating component, which is used to output hot water or steam to soften stains.

8. A method for detecting load current, characterized in that, A detection control unit applied in a load current detection circuit, wherein the load current detection circuit further includes a test accessory and at least two detection sub-circuits, wherein the at least two detection sub-circuits detect different load types; the method includes: Obtain the startup parameters fed back when the accessory under test is started; Based on the startup parameters, determine the load type of the accessory to be tested; According to the load type, the corresponding target detection sub-circuit is activated from the at least two detection sub-circuits to detect the load current of the accessory under test; The at least two detection sub-circuits include a first detection sub-circuit and a second detection sub-circuit, wherein the first detection sub-circuit detects a first load type and the second detection sub-circuit detects a second load type; The step of activating the corresponding target detection sub-circuit from the at least two detection sub-circuits according to the load type, and detecting the load current of the accessory under test, includes: When the load type of the accessory under test is a first load type, a first conduction signal is output to the first detection sub-circuit to start the first detection sub-circuit to detect the load current of the accessory under test, wherein the first conduction signal is used to turn on the first detection sub-circuit. When the load type of the accessory under test is the second load type, a second conduction signal is output to the second detection sub-circuit to start the second detection sub-circuit to detect the load current of the accessory under test, wherein the second conduction signal is used to turn on the second detection sub-circuit.

9. The load current detection method according to claim 8, characterized in that, The first detection sub-circuit includes a first conduction control module and a first sampling detection module; the step of outputting a first conduction signal to the first detection sub-circuit to activate the first detection sub-circuit to detect the load current of the accessory under test includes: The first conduction signal is output to the first conduction control module to turn on the first conduction control module; Obtain the load voltage output by the first sampling and detection module when the first conduction control module is turned on; The load current of the accessory under test is determined based on the load voltage and the sampling resistance value of the first sampling and detection module.

10. The load current detection method according to any one of claims 8-9, characterized in that, After activating the corresponding target detection sub-circuit from the at least two detection sub-circuits according to the load type and detecting the load current of the accessory under test, the method further includes: Determine whether the load current exceeds the rated load of the accessory under test; If the limit is exceeded, the device under test will be stopped from operating.

11. A computing device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the load current detection method according to any one of claims 8-10.

12. A computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the load current detection method according to any one of claims 8-10.

Citation Information

Patent Citations

  • Load detection method, load detection circuit and electronic device

    CN108780123A

  • Load loop detecting method, load detecting circuit and electronic equipment

    CN109406989A