Protection method for sampling resistor in cleaning equipment and cleaning equipment

By collecting the attribute parameters of the sampling resistor in the cleaning equipment, determining that the protection strategy is invalid and sending a shutdown command, the problem of easy damage to the sampling resistor is solved and the safety is improved.

CN119498720APending Publication Date: 2025-02-25TIANKE INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311075262.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-24
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The sampling resistors in existing cleaning equipment lack effective protection methods, which leads to the sampling resistors being easily damaged or even caught fire when the software protection fails or the control switch is abnormal, and the safety is poor.

Method used

By collecting the attribute parameters of the sampling resistor in the cleaning equipment, we judge whether its protection strategy is invalid, and sending a shutdown command to the battery pack in the event of failure, cutting off the discharge of the battery pack, and achieving bottom-line protection of the sampling resistor.

Benefits of technology

It effectively increases the protection of sampling resistors, avoids excessive damage to the sampling resistors or catch fire when the protection strategy fails, and improves safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119498720A_ABST
    Figure CN119498720A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a protection method for a sampling resistor in cleaning equipment and the cleaning equipment. The protection method for the sampling resistor in the cleaning equipment comprises the steps that attribute parameters of the sampling resistor in the cleaning equipment are collected; according to the attribute parameters, whether a protection strategy of the sampling resistor fails is determined, and the protection strategy is a software and hardware strategy for protecting the sampling resistor when the sampling resistor is abnormal; and under the condition that the protection strategy of the sampling resistor fails, a shutdown instruction is sent to the battery pack of the cleaning equipment. Thus, protection on the sampling resistor is added, under the condition that the protection strategy of the sampling resistor fails, a bottom-holding strategy can be started, a shutdown instruction can be directly sent to the battery pack of the cleaning equipment, discharging of the battery pack is cut off, the whole cleaning equipment is powered off, and under the condition that the protection strategy fails, the sampling resistor can still be protected against damage. Open fire caused by heating of the sampling resistor due to continuous large current is avoided, and the safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of smart home technology, and in particular to a protection method for a sampling resistor in a cleaning device and the cleaning device. Background Art

[0002] With the rapid development of computer technology, Internet technology and artificial intelligence technology, various smart home devices have gradually been applied to all aspects of work and life. After years of development, cleaning equipment has shown a trend of automation, functionality, diversification and specialization, and the cleaning scenarios of cleaning equipment have also increased.

[0003] In the circuits of existing cleaning products, the sampling of load currents such as motors is mostly monitored through sampling resistors, and there is no separate protection for the sampling resistors. The only way to protect them is to disconnect the load power supply. Specifically, the current collected by the sampling resistor is compared with the set value in the software protection. When the protection condition is met, the main control board turns off the control switch corresponding to the sampling resistor to prevent damage to the sampling resistor. However, if the software protection fails or the control switch is abnormal at this time, the sampling resistor has no protection. In this case, the sampling resistor is very easy to be damaged or even catch fire, and the safety is poor. Summary of the invention

[0004] In view of this, an embodiment of this specification provides a method for protecting a sampling resistor in a cleaning device. One or more embodiments of this specification also relate to a method for protecting a circuit device in a cleaning device, a cleaning device, an electronic device, a computer-readable storage medium, and a computer program to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a method for protecting a sampling resistor in a cleaning device is provided, comprising:

[0006] Collecting property parameters of a sampling resistor in the cleaning device;

[0007] Determine whether a protection strategy of the sampling resistor is invalid according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the sampling resistor when an abnormality occurs to the sampling resistor;

[0008] When the protection strategy of the sampling resistor fails, a shutdown instruction is sent to the battery pack of the cleaning device.

[0009] According to a second aspect of an embodiment of this specification, a method for protecting a circuit device in a cleaning device is provided, comprising:

[0010] Collecting property parameters of circuit components in the cleaning device;

[0011] Determining whether a protection strategy of the circuit device fails according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the circuit device when an abnormality occurs in the circuit device;

[0012] In the event that the protection strategy of the circuit device fails, a shutdown command is sent to the battery pack of the cleaning device.

[0013] According to a third aspect of the embodiments of this specification, a cleaning device is provided, having a main control board, including:

[0014] A first acquisition module is configured to acquire attribute parameters of a sampling resistor in the cleaning device;

[0015] A first determination module is configured to determine whether a protection strategy of the sampling resistor is invalid according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the sampling resistor when an abnormality occurs to the sampling resistor;

[0016] The first sending module is configured to send a shutdown instruction to the battery pack of the cleaning device when the protection strategy of the sampling resistor fails.

[0017] According to a fourth aspect of the embodiments of this specification, an electronic device is provided, including:

[0018] Memory and processor;

[0019] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the protection method of the sampling resistor in the above-mentioned cleaning device or the steps of the protection method of the circuit device in the above-mentioned cleaning device are implemented.

[0020] According to the fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, which, when executed by a processor, implement the steps of the method for protecting the sampling resistor in the above-mentioned cleaning device, or the steps of the method for protecting the circuit device in the above-mentioned cleaning device.

[0021] According to the sixth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the protection method of the sampling resistor in the above-mentioned cleaning device, or the steps of the protection method of the circuit device in the above-mentioned cleaning device.

[0022] An embodiment of the present specification provides a method for protecting a sampling resistor in a cleaning device, which collects property parameters of the sampling resistor in the cleaning device; determines whether a protection strategy of the sampling resistor fails based on the property parameters, wherein the protection strategy is a software and hardware strategy for protecting the sampling resistor when an abnormality occurs in the sampling resistor; and sends a shutdown command to a battery pack of the cleaning device when the protection strategy of the sampling resistor fails.

[0023] An embodiment of the present specification implements monitoring of the property parameters of the sampling resistor to determine whether the protection strategy of the sampling resistor fails. In the event that the protection strategy fails, a shutdown command can be sent to the battery pack of the cleaning device, which increases the protection of the sampling resistor. In the event that the protection strategy of the sampling resistor fails, a fallback strategy can be initiated to directly send a shutdown command to the battery pack of the cleaning device to cut off the discharge of the battery pack and power off the entire cleaning device. In the event that the protection strategy fails, the sampling resistor can still be protected from damage, thereby preventing the sampling resistor from heating up and generating open flames due to continuous large current, thereby improving safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flow chart of a method for protecting a sampling resistor in a cleaning device provided in an embodiment of this specification;

[0025] Figure 2 It is a flow chart of a method for protecting a circuit device in a cleaning device provided in an embodiment of this specification;

[0026] Figure 3 It is a processing flow chart of a method for protecting a sampling resistor applied to a vacuum cleaner floor brush stall, provided in an embodiment of the present specification;

[0027] Figure 4 It is a structural schematic diagram of a cleaning device provided by an embodiment of this specification;

[0028] Figure 5 is a schematic diagram of the structure of another cleaning device provided by an embodiment of this specification;

[0029] Figure 6 It is a structural block diagram of an electronic device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0030] Many specific details are described in the following description to facilitate 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 generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0031] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" 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.

[0032] 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, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0033] In this specification, a method for protecting a sampling resistor in a cleaning device is provided. This specification also relates to a method for protecting a circuit device in a cleaning device, a cleaning device, an electronic device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0034] See also Figure 1 , Figure 1 A flow chart of a method for protecting a sampling resistor in a cleaning device according to an embodiment of the present specification is shown, which is applied to a main control board of the cleaning device and specifically includes the following steps 102-106.

[0035] Step 102: Collect property parameters of a sampling resistor in a cleaning device.

[0036] It should be noted that the sampling of load currents such as motors in the circuits of cleaning equipment is mostly monitored through sampling resistors. In order to protect the sampling resistors, the property parameters of the sampling resistors can be collected, and the property parameters can reflect the current working status of the sampling resistors. When the sampling resistors are working normally or in abnormal states for a long time, the current, voltage, power consumption, temperature, appearance, etc. of the sampling resistors will change greatly, and they may also emit smoke and produce corresponding gases. Therefore, the property parameters of the sampling resistors can be collected to monitor the current working status of the sampling resistors. For example, the property parameters may include at least one of the current, voltage, power consumption, temperature, appearance, and generated gases.

[0037] In specific implementation, different attribute parameters can be collected in different ways.

[0038] In an optional implementation of this embodiment, when the attribute parameter includes the appearance characteristics of the sampling resistor, collecting the attribute parameters of the sampling resistor in the cleaning device includes:

[0039] Capturing an appearance image of the sampling resistor by an image acquisition device;

[0040] Perform image analysis on the appearance image to obtain the appearance characteristics of the sampling resistor.

[0041] It should be noted that if the protection strategy fails and causes the sampling resistor to be abnormal for a long time, the sampling resistor may change in color or shape, such as turning black or bulging. Therefore, the appearance characteristics of the sampling resistor can also be used as attribute parameters to determine whether the protection strategy has failed.

[0042] In practical applications, if the attribute parameters include appearance features, the circuit of the cleaning equipment must also be equipped with an image acquisition device, which can be a miniature camera. The image acquisition device is arranged around the sampling resistor to capture the appearance image of the sampling resistor and send it to the main control board. The main control board performs image analysis on the collected appearance image to obtain the appearance features of the sampling resistor. The appearance features refer to features that can reflect whether the sampling resistor is currently abnormal, such as color, shape, etc.

[0043] In actual implementation, image analysis is performed on the appearance image to obtain the appearance features of the sampling resistor. An existing image analysis and recognition model or algorithm can be used to recognize the appearance features such as color and shape of the sampling resistor in the image, such as neural network / convolutional neural network, deep learning, etc.

[0044] In the embodiments of the present specification, an image acquisition device can be configured in the circuit of the cleaning equipment to obtain the appearance characteristics of the sampling resistor. The appearance characteristics can reflect whether the sampling resistor has been in an abnormal state for a long time and the protection strategy has not been effective, thereby determining whether it is necessary to activate the backup strategy to avoid excessive damage to the sampling resistor or even fire.

[0045] In an optional implementation of this embodiment, when the attribute parameter includes the current of the sampling resistor, the current flowing through the sampling resistor can be directly measured by a measuring device, and the current reflects whether the sampling resistor is in an abnormal state for a long time and the protection strategy is not effective.

[0046] In an optional implementation of this embodiment, when the attribute parameter includes the power consumption of the sampling resistor, the current flowing through the sampling resistor and the voltage of the sampling resistor can be measured by a measuring device, and then the power consumption of the sampling resistor can be obtained based on the current and voltage. The power consumption can be used to reflect whether the sampling resistor is in an abnormal state for a long time and the protection strategy is not effective.

[0047] In an optional implementation of the present embodiment, when the attribute parameter includes the temperature of the sampling resistor, a temperature sensor needs to be configured in the circuit of the cleaning device. The temperature sensor is arranged close to the sampling resistor so that the temperature sensor can detect the temperature of the sampling resistor and reflect through the temperature whether the sampling resistor is in an abnormal state for a long time and the protection strategy is not effective.

[0048] In an optional implementation of the present embodiment, when the attribute parameter includes the gas generated by the sampling resistor, a gas sensor needs to be configured in the circuit of the cleaning device. The gas sensor is arranged around the sampling resistor so that the gas sensor can detect abnormal gas generated by the sampling resistor. Whether the abnormal gas is detected reflects whether the sampling resistor is in an abnormal state for a long time and the protection strategy is not effective.

[0049] It should be noted that the above-mentioned various attribute parameters can be collected separately to facilitate the subsequent judgment of whether the protection strategy is invalid based on the collected attribute parameters, or they can be combined for judgment, that is, multiple attribute parameters can be collected at the same time, and then combined with multiple attribute parameters to comprehensively judge whether the protection strategy is invalid and whether it is necessary to activate the backup strategy.

[0050] In the embodiments of the present specification, at least one of current, voltage, power consumption, temperature, appearance, and generated gas can be used as the attribute parameter of the sampling resistor to reflect the current working state of the sampling resistor. Subsequently, it can be determined whether the sampling resistor is in an abnormal state for a long time based on the collected attribute parameters, thereby determining whether the protection strategy of the sampling resistor is invalid.

[0051] Step 104: determining whether a protection strategy of the sampling resistor is invalid according to the attribute parameters, wherein the protection strategy is a software and hardware strategy for protecting the sampling resistor when an abnormality occurs in the sampling resistor.

[0052] It should be noted that in order to protect the sampling resistor, a protection strategy for the sampling resistor will be set. When the protection condition of the protection strategy is met, the load power supply will be turned off to protect the sampling resistor. That is, the protection strategy of the sampling resistor is to disconnect the load power supply when an abnormality occurs in the sampling resistor to protect the sampling resistor. Specifically, the protection strategy can be a software and hardware strategy, including software strategy and / or hardware strategy, and a combination of software strategy and hardware strategy. For example, when the protection strategy is that the current of the sampling resistor exceeds the limited current value and continues for a limited time, it means that the protection condition is met. At this time, the main control board can turn off the control switch corresponding to the sampling resistor to disconnect the load power supply. Among them, the control switch is used to control the load power supply, such as the control switch can be a control MOS to prevent damage to the sampling resistor.

[0053] For example, taking the cleaning equipment as a vacuum cleaner, the pre-configured protection strategy of the sampling resistor is triple protection of stall current 3A / 30S, 4.5A / 3S, and 6A / 128ms. That is, if the current of the sampling resistor reaches 3A and lasts for 30S, 4.5A and lasts for 3S, or 6A and lasts for 128ms, it is determined that the sampling resistor needs to be protected. At this time, the main control board will send a shutdown command to the control MOS, the control MOS will be turned off, and the load power supply will be disconnected to protect the sampling resistor.

[0054] However, in actual applications, the protection strategy may fail, resulting in failure to disconnect the load power supply in time, causing the sampling resistor to be in an abnormal state of high current for a long time. At this time, the property parameters of the sampling resistor will change significantly. That is, the collected property parameters can reflect whether the sampling resistor is in an abnormal state for a long time. Therefore, it can be determined based on the property parameters whether the protection strategy of the sampling resistor has failed, so as to determine whether it is necessary to start the backup strategy.

[0055] In an optional implementation of this embodiment, when the attribute parameter includes the current of the sampling resistor, whether the protection strategy of the sampling resistor is invalid is determined according to the attribute parameter. The specific implementation process may be as follows:

[0056] Determine whether the collected current exceeds the current threshold and lasts for a set time, wherein the current threshold is greater than or equal to the limited current of the protection strategy, and the set time is greater than the limited time of the protection strategy;

[0057] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0058] Specifically, the current of the sampling resistor can be obtained by dividing the voltage of the sampling resistor by the resistance value of the sampling resistor.

[0059] In actual applications, if there are multiple limited currents and limited times in the protection strategy, the current threshold configured here should be greater than or equal to the maximum limited current in the protection strategy, and the set duration should be greater than the limited time corresponding to the limited current in the protection strategy.

[0060] Using the above example, the protection strategy is triple protection of 3A / 30S, 4.5A / 3S, and 6A / 128ms. In this case, the configured current threshold should be greater than or equal to 6A, and the set duration should be greater than 128ms.

[0061] It should be noted that if the current of the sampling resistor is greater than the limited current of the protection strategy and continues for the corresponding limited time, it means that the conditions of the protection strategy have been met, and the corresponding protection strategy should be started to protect the sampling resistor. The current of the sampling resistor will no longer continue to maintain this large current or continue to increase. Therefore, if the collected current exceeds the current threshold and continues for the set time, it means that the conditions of the protection strategy have been met, but the current of the sampling resistor has not been effectively controlled, which means that the protection strategy has failed.

[0062] Using the above example, the current threshold can be configured as 6A and the duration can be set as 3S. Then, if the current of the sampling resistor is detected to be greater than or equal to 6A and lasts for 3S, the protection strategy of the sampling resistor is determined to be invalid.

[0063] In the embodiments of the present specification, it is possible to determine whether the current of the sampling resistor exceeds a certain current threshold and lasts for a certain set time to determine whether the corresponding protection strategy is executed when the sampling resistor meets the conditions of the protection strategy, thereby determining whether the protection strategy of the sampling resistor is invalid. By monitoring the current of the sampling resistor, a large current can be detected in time, and if it lasts for too long, it can be determined in time that the protection strategy is invalid, thereby avoiding excessive damage to the sampling resistor or even fire.

[0064] In an optional implementation of this embodiment, a withstand voltage test may be performed in advance to configure a current threshold and a set duration, that is, to determine whether the collected current exceeds the current threshold and lasts for a set duration, and may also include:

[0065] Perform a withstand voltage test on the test resistor to determine the maximum load current and the maximum duration of the test resistor, wherein the test resistor is a resistor of the same model as the sampling resistor;

[0066] Configure the current threshold and setting time according to the maximum load current and the maximum time.

[0067] In practical applications, a resistor of the same model as the sampling resistor can be used as a test resistor and installed in the same position as the sampling resistor. Then, a larger current is output to the test resistor through the main control board to test how long the test resistor will be damaged. Then, other different current values ​​are output to test how long it will be damaged. Similarly, the sampling resistor is subjected to a withstand voltage test to determine the maximum load current and maximum duration of the test resistor. Then, based on the maximum load current and maximum duration, the current threshold and set duration are configured.

[0068] In specific implementation, the current threshold can be configured to be smaller than the maximum load current and larger than the current limit of the protection strategy; the set time length can be configured to be smaller than the maximum time length and larger than the time limit of the protection strategy.

[0069] It should be noted that the same type of test resistors can be continuously subjected to withstand voltage tests to determine the tolerance range of the sampling resistor, and then the corresponding current threshold and set time can be configured, so that the failure of the protection strategy can be detected before the sampling resistor is damaged, and a backup strategy can be adopted in time.

[0070] In an optional implementation of this embodiment, when the attribute parameter includes the temperature of the sampling resistor, whether the protection strategy of the sampling resistor is invalid is determined according to the attribute parameter. The specific implementation process may be as follows:

[0071] Determine whether the collected temperature exceeds a temperature threshold, wherein the temperature threshold is based on a temperature configuration reached by the sampling resistor when the protection strategy fails;

[0072] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0073] It should be noted that if the protection strategy fails and the sampling resistor is in an abnormal state of high current for a long time, the temperature of the sampling resistor may increase abnormally. Therefore, whether the protection strategy of the sampling resistor fails can be determined by the temperature of the sampling resistor.

[0074] In actual implementation, a resistor of the same model as the sampling resistor can be used as the test resistor and installed at the same position as the sampling resistor. A large current is first output to the test resistor through the main control board. When the protection strategy is effective, the first maximum temperature that the test resistor can reach is monitored. Then, a large current is output to the test resistor through the main control board. When the protection strategy is removed, the test resistor is damaged until the test resistor is damaged. The second maximum temperature reached before the test resistor is damaged is monitored. The temperature threshold is configured according to the first maximum temperature and the second maximum temperature. Specifically, the temperature threshold can be configured to be greater than the first maximum temperature and less than the second maximum temperature. That is, the protection strategy can be identified to fail through temperature, thereby avoiding damage to the sampling resistor.

[0075] In the embodiments of this specification, a temperature sensor can be configured in the circuit of the cleaning device. The temperature sensor is set close to the sampling resistor. The temperature of the sampling resistor can be detected by the temperature sensor. The main control board can determine whether the collected temperature exceeds the temperature threshold. The temperature threshold is the temperature that the sampling resistor can reach only when the protection strategy fails. If the collected temperature of the sampling resistor exceeds the temperature threshold, it means that the protection strategy of the sampling resistor has failed. In this way, the sampling resistor temperature is detected in time, and by monitoring the temperature of the sampling resistor, it can be determined whether the protection strategy of the sampling resistor has failed, so as to facilitate the timely activation of the bottom-up strategy, thereby avoiding excessive damage to the sampling resistor or even fire.

[0076] In an optional implementation of this embodiment, when the attribute parameter includes the appearance characteristics of the sampling resistor, whether the protection strategy of the sampling resistor is invalid is determined according to the attribute parameter. The specific implementation process may be as follows:

[0077] Determine whether the appearance characteristics of the sampling resistor have changed relative to the initial characteristics;

[0078] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0079] Specifically, the initial feature is a pre-configured feature of the appearance of the sampling resistor when nothing abnormal occurs, such as the initial feature of the sampling resistor being a flat and smooth block in blue color.

[0080] In actual applications, if the protection strategy fails and causes the sampling resistor to be in an abnormal state of high current for a long time, the appearance of the sampling resistor will often change significantly, which is different from the appearance of the sampling resistor in a normal state, such as blackening, bulging, etc. Therefore, an image acquisition device can be configured in the circuit of the cleaning equipment to collect the appearance image of the sampling resistor, and then the current appearance characteristics of the sampling resistor are obtained through an image analysis algorithm or model, and the current appearance characteristics are compared with the initial characteristics of the sampling resistor to determine whether the appearance characteristics of the sampling resistor have changed relative to the initial characteristics. If so, it means that the sampling resistor has been deformed, the protection strategy has not protected the sampling resistor in time, and the protection strategy has failed.

[0081] In a specific implementation, an image analysis is performed on the appearance image of the sampling resistor, and the appearance feature obtained may be text information, such as the appearance feature being "black, block-shaped, and having protrusions on the surface". At this time, the configured initial feature may also be text information, such as the initial feature being "blue, flat and smooth block-shaped". At this time, the appearance feature obtained by the collection is different from the initial feature, that is, the appearance feature of the sampling resistor has changed relative to the initial feature.

[0082] In addition, after the appearance image of the sampling resistor is collected by the image acquisition device, the appearance image can also be directly used as the appearance feature of the sampling resistor. The initial feature is the image of the sampling resistor when no abnormality occurs. At this time, the collected appearance image and the image of the sampling resistor when no abnormality occurs can be compared to determine the similarity of the two images. If the similarity is lower than the similarity threshold, it means that the appearance feature of the sampling resistor has changed relative to the initial feature.

[0083] In the embodiments of the present specification, the circuit of the cleaning device can be equipped with an image acquisition device, through which the appearance image of the sampling resistor can be acquired, and the main control board can analyze the appearance image to obtain the appearance characteristics of the sampling resistor, and then determine whether the appearance characteristics of the sampling resistor have changed relative to the initial characteristics. If changed, it means that the sampling resistor has deformed, and the protection strategy has not played a protective role in time, indicating that the protection strategy of the sampling resistor has failed. In this way, the change in the appearance of the sampling resistor is detected in time, and the appearance characteristics of the sampling resistor can be used to determine whether the protection strategy of the sampling resistor has failed, and then the bottom-up strategy can be activated in time to avoid excessive damage to the sampling resistor or even fire.

[0084] In an optional implementation of this embodiment, the attribute parameter includes gas information collected by the gas sensor. At this time, according to the attribute parameter, it is determined whether the protection strategy of the sampling resistor is invalid. The specific implementation process can be as follows:

[0085] Determine whether the gas collected by the gas sensor includes the target gas, wherein the target gas is the gas generated when the sampling resistor is abnormal;

[0086] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0087] It should be noted that if the protection strategy fails and the sampling resistor is in an abnormal state of high current for a long time, a chemical reaction may occur before the sampling resistor catches fire, producing certain abnormal gases, such as the sampling resistor starting to emit black smoke, which may include special target gases. Therefore, it is possible to determine whether the protection strategy of the sampling resistor has failed by monitoring whether special target gases appear around the sampling resistor. The target gas may be an abnormal gas that may be generated by the sampling resistor under the influence of high temperature, such as harmful gases generated by chemical changes in the paint on the surface of the sampling resistor, or harmful gases generated by damage to the substrate of the sampling resistor.

[0088] In actual implementation, the abnormal gas generated by high temperature when the sampling resistor is under high current for a long time can be determined in advance through experiments. Then, when it is applied, the gas sensor can be used to monitor the gas near the sampling resistor in the cleaning equipment. If the abnormal gas is detected near the sampling resistor, it means that the sampling resistor has begun to be damaged and the protection strategy has not effectively protected the sampling resistor in time, indicating that the protection strategy of the sampling resistor has failed. In this way, by monitoring the abnormal gas around the sampling resistor, it can be determined whether the protection strategy of the sampling resistor has failed, so as to facilitate the timely activation of the bottom-up strategy, thereby avoiding excessive damage to the sampling resistor or even fire.

[0089] In addition, due to the failure of the protection strategy, when the sampling resistor is in an abnormal state of high current for a long time, the sampling resistor may start to emit black smoke before the sampling resistor catches fire. Therefore, it is also possible to monitor whether the sampling resistor produces black smoke through video analysis or smoke alarms to determine whether the protection strategy of the sampling resistor has failed.

[0090] In one possible implementation, the attribute parameters may also include a smoke alarm signal emitted by a smoke sensor. In a specific implementation, a smoke alarm may be configured in the circuit of the cleaning equipment. The smoke alarm may be arranged around the sampling resistor. If the sampling resistor generates black smoke, the smoke alarm may send out a smoke alarm signal. When the main control board detects the smoke alarm signal, it indicates that the sampling resistor has begun to emit black smoke and has been severely damaged. However, the protection strategy has not effectively protected the sampling resistor in a timely manner, indicating that the protection strategy of the sampling resistor has failed.

[0091] In another possible implementation, the attribute parameters may also include a smoke signal obtained by video analysis. In a specific implementation, a camera device may be configured in the circuit of the cleaning equipment. The camera device may be a miniature camera. The camera device may be arranged around the sampling resistor. If the sampling resistor generates black smoke, the camera device may capture the corresponding video image. The main control board analyzes the video image to obtain the smoke signal. That is, if the main control board analyzes the video image captured by the camera device and obtains the smoke signal, it means that the sampling resistor has begun to emit black smoke and has been severely damaged, but the protection strategy has not effectively protected the sampling resistor in a timely manner, indicating that the protection strategy of the sampling resistor has failed.

[0092] It should be noted that the above-mentioned method for determining whether the protection strategy is invalid can be based on a single judgment of a certain attribute parameter, or it can be combined with multiple attribute parameters for joint judgment. When combining multiple attribute parameters for joint judgment, it can be first based on each parameter, according to the above method, to determine whether the protection strategy is invalid, and then the judgment results of each attribute parameter can be combined. Specifically, the judgment results of each attribute parameter can be combined in proportion to finally determine whether the protection strategy is effective. For example, based on current, temperature, and gas, the judgment results are respectively: protection strategy failure, protection strategy failure, and protection strategy is not invalid. At this time, due to the large proportion of protection strategy failure, the final judgment result is protection strategy failure; or, according to the set priority, the judgment results of each attribute parameter can be combined to finally determine whether the protection strategy is effective. For example, based on current, temperature, and gas, the judgment results are respectively: protection strategy failure, protection strategy failure, and protection strategy is not invalid. Since the priority of temperature is higher than that of current and higher than that of gas, it can be finally determined that the protection strategy is invalid.

[0093] Step 106: When the protection strategy of the sampling resistor fails, a shutdown command is sent to the battery pack of the cleaning device.

[0094] It should be noted that the protection strategy is generally to disconnect the load power supply of the sampling resistor to protect the sampling resistor from damage. For example, when the floor brush of a vacuum cleaner is blocked, the power supply of the floor brush motor is disconnected to stop the floor brush motor from working, thereby protecting the sampling resistor. In the embodiment of this specification, when it is determined that the protection strategy of the sampling resistor has failed, it means that the load power supply of the sampling resistor cannot be successfully disconnected, and the sampling resistor is still in a continuous high current abnormal state. At this time, a shutdown command is directly sent to the battery pack of the cleaning device to cut off the discharge of the battery pack, that is, directly shut down the power supply of the entire cleaning device, so that the entire cleaning device is powered off, thereby providing a bottom-up protection for the sampling resistor.

[0095] In actual implementation, the main control board can send a shutdown command to the battery pack of the cleaning equipment through the serial port. The battery pack turns off the discharge switch (also known as the discharge MOS), thereby cutting off the power to the entire cleaning equipment system and protecting the sampling resistor from damage. That is, when the protection strategy fails, a backup strategy is added to prevent the sampling resistor from being seriously damaged or catching fire.

[0096] In an optional implementation of this embodiment, after the fallback strategy is started and the battery pack of the entire cleaning device is shut down, the cause of the failure of the protection strategy can be further located. That is, when the protection strategy of the sampling resistor fails, after sending a shutdown instruction to the battery pack, the following steps can also be included:

[0097] The failure cause of the protection strategy of the sampling resistor is located, and alarm information is fed back according to the failure cause.

[0098] It should be noted that when the fallback strategy is activated, a shutdown command will be sent to the battery pack of the cleaning device, directly shutting down the power of the entire cleaning device, cutting off the power to the entire cleaning device. However, after the user turns it on again, the sampling resistor will continue to run. If an abnormality occurs, the protection strategy will still be invalid and cannot protect the sampling resistor. The fallback strategy will still be directly activated, directly shutting down the power of the entire cleaning device, causing the cleaning device to shut down frequently and reducing the user experience.

[0099] Therefore, in the embodiment of the present specification, after the backup strategy is initiated to cut off the power to the entire cleaning equipment, the cause of failure of the protection strategy can be further located, and alarm information can be fed back based on the cause of failure, so that the staff can repair the failed protection strategy in time, thereby protecting the sampling resistor through the protection strategy and avoiding frequent shutdown of the cleaning equipment.

[0100] In an optional implementation of this embodiment, the failure cause of the protection strategy of the sampling resistor is located, and the specific implementation process may be as follows:

[0101] Detecting whether a closing instruction is issued to the switch unit, wherein the switch unit is a switch for controlling a load power supply that disconnects the sampling resistor;

[0102] If so, it is determined that the failure cause is hardware protection failure;

[0103] If not, it is determined that the failure cause is software protection failure.

[0104] It should be noted that the protection strategy is generally that the main control board sends a shutdown command to the control switch (i.e., control MOS) of the load power supply of the sampling resistor. After receiving the shutdown command, the control switch will be closed to disconnect the load power supply of the sampling resistor, thereby protecting the sampling resistor. Therefore, one reason for the failure of the protection strategy is that the main control board did not issue a shutdown command; another reason is that the main control board issued a shutdown command, but the control switch was not closed. If the main control board did not issue a shutdown command, it means that the software protection failed, and the main control board did not detect the need to issue a shutdown command to the switch unit; if the main control board issued a shutdown command, but the control switch was not closed, it means that there is an abnormality in the control switch, that is, the hardware protection failed.

[0105] In actual applications, by checking the work log, system records, etc., it can be detected whether the main control board has issued a shutdown command to the switch unit. If so, it means that the software protection is normal, the main control board can identify that the sampling resistor meets the protection strategy, and the sampling resistor needs to be protected at present, and it has issued a command to the switch unit, but the switch unit has not successfully executed the execution and disconnected the load power supply of the sampling resistor. Therefore, it can be determined that the hardware protection has failed at this time; and if the main control board has not issued a shutdown command to the switch unit, it means that the software protection of the main control board has not identified that the sampling resistor meets the protection strategy, that is, it has not successfully identified that the sampling resistor needs to be protected at present, so it can be determined that the software protection has failed at this time. In this way, by checking whether the main control board has issued a shutdown command to the switch unit, the cause of the failure of the protection strategy can be efficiently and quickly located, and then the corresponding alarm information is issued, carrying the located cause of failure, so that the staff can quickly investigate and repair it.

[0106] An embodiment of the present specification provides a method for protecting a sampling resistor in a cleaning device, which realizes monitoring of the property parameters of the sampling resistor to determine whether the protection strategy of the sampling resistor fails. When the protection strategy fails, a shutdown command can be sent to the battery pack of the cleaning device, which increases the protection of the sampling resistor. When the protection strategy of the sampling resistor fails, a backup strategy can be initiated to directly send a shutdown command to the battery pack of the cleaning device to cut off the discharge of the battery pack and power off the entire cleaning device. When the protection strategy fails, the sampling resistor can still be protected from damage, avoiding continuous large current from causing the sampling resistor to heat up and produce open flames, thereby improving safety.

[0107] Figure 2A flow chart of a method for protecting a circuit device in a cleaning device provided in an embodiment of the present specification is shown, and the method is applied to a main control board of the cleaning device. The method comprises the following steps:

[0108] Step 202: Collecting property parameters of circuit components in the cleaning device.

[0109] It should be noted that the circuit device may be a component that needs to be protected in the cleaning equipment, such as a sampling resistor or a drive motor, or various circuit modules, such as a drive module, a switch circuit module, and the like.

[0110] In the embodiments of this specification, at least one of current, voltage, power consumption, temperature, appearance, and generated gas can be used as the attribute parameter of the circuit device to reflect the current working state of the circuit device. Subsequently, it can be determined whether the circuit device is in an abnormal state for a long time based on the collected attribute parameters, thereby determining whether the protection strategy of the circuit device has failed.

[0111] Step 204: Determine whether the protection strategy of the circuit device is invalid according to the attribute parameters, wherein the protection strategy is a software or hardware strategy for protecting the circuit device when an abnormality occurs in the circuit device.

[0112] It should be noted that in order to protect the circuit device, a protection strategy for the circuit device will be set. When the protection condition of the protection strategy is met, the power supply of the circuit device will be turned off to protect the circuit device. However, the protection strategy may fail, resulting in failure to disconnect the power supply of the circuit device in time, causing the circuit device to be in an abnormal state of high current for a long time, which will cause the attribute parameters of the circuit device to change significantly. That is, the collected attribute parameters can reflect whether the circuit device is in an abnormal state for a long time. Therefore, it can be determined whether the protection strategy of the circuit device is invalid based on the attribute parameters, so as to determine whether it is necessary to start the fallback strategy.

[0113] Step 206: When the protection strategy of the circuit device fails, a shutdown command is sent to the battery pack of the cleaning device.

[0114] An embodiment of the present specification provides a method for protecting circuit devices in a cleaning device, which monitors the property parameters of the circuit devices to determine whether the protection strategy of the circuit devices has failed. When the protection strategy fails, a shutdown command can be sent to the battery pack of the cleaning device, thereby increasing the protection of the circuit devices. When the protection strategy of the circuit devices fails, a fallback strategy can be initiated to directly send a shutdown command to the battery pack of the cleaning device to cut off the discharge of the battery pack and power off the entire cleaning device. When the protection strategy fails, the circuit devices can still be protected from damage, thereby preventing continuous large currents from causing the circuit devices to heat up and produce open flames, thereby improving safety.

[0115] The above is a schematic scheme of a method for protecting a circuit device in a cleaning device of this embodiment. It should be noted that the technical scheme of the method for protecting a circuit device in the cleaning device and the technical scheme of the method for protecting a sampling resistor in the cleaning device described above are of the same concept, and the details of the technical scheme of the method for protecting a circuit device in the cleaning device that are not described in detail can all be referred to the description of the technical scheme of the method for protecting a sampling resistor in the cleaning device described above.

[0116] The following combination Figure 3 Taking the application of the protection method of the sampling resistor in the cleaning equipment provided in this specification in the case of a vacuum cleaner brush stall as an example, the protection method of the sampling resistor in the cleaning equipment is further described. Figure 3 A processing flow chart of a method for protecting a sampling resistor applied to a vacuum cleaner floor brush stall provided by an embodiment of the present specification is shown, which specifically includes the following steps.

[0117] Step 302: Collect the current of the floor brush motor. If the current exceeds the current threshold and lasts for a set time, it is determined that the protection strategy of the floor brush motor has failed. The current threshold is greater than or equal to the limited current of the protection strategy, and the set time is greater than the limited time of the protection strategy.

[0118] Step 304: collecting the temperature of the floor brush motor. If the temperature exceeds a temperature threshold, determining that the protection strategy of the floor brush motor fails. The temperature threshold is based on the temperature configuration reached by the sampling resistor when the protection strategy fails.

[0119] Step 306: Collect appearance features of the floor brush motor. If the appearance features are changed relative to the initial features, it is determined that the protection strategy of the floor brush motor is invalid.

[0120] Step 308: Collect gas information around the floor brush motor. If the gas collected by the gas sensor includes the target gas, it is determined that the protection strategy of the floor brush motor is invalid. The target gas is the gas generated when the sampling resistor is abnormal.

[0121] It should be noted that the above steps 302-308 can be executed separately or in combination with multiple steps, that is, any step can be executed or not, but at least one of the above steps is executed. In addition, the above steps 302-308 are only examples of an execution order, and do not limit the execution order of the above steps in the embodiments of this specification. In actual applications, they can also be executed in other orders. Figure 3 It is shown that steps 302-308 are executed one by one.

[0122] In the case where at least two steps are executed in the above steps 302-308, it is finally determined whether the protection strategy of the floor brush motor fails according to the at least two steps executed.

[0123] Step 310: When the protection strategy of the floor brush motor fails, a shutdown command is sent to the battery pack of the vacuum cleaner.

[0124] Step 312: If the main control board has sent a shutdown command to the control MOS of the floor brush motor, the failure cause is determined to be a control MOS abnormality; if the main control board has not sent a shutdown command to the control MOS of the floor brush motor, the failure cause is determined to be a software protection abnormality.

[0125] Step 314: Feedback warning information based on the failure cause.

[0126] An embodiment of the present specification provides a protection method for a sampling resistor in a cleaning device, which monitors the current, temperature, appearance characteristics, and one or more attribute parameters in the gas of the floor brush motor to determine whether the protection strategy of the floor brush motor fails. In the event that the protection strategy fails, a shutdown command can be sent to the battery pack of the vacuum cleaner, which increases the protection of the floor brush motor. In the event that the protection strategy of the floor brush motor fails, a backup strategy can be initiated to directly send a shutdown command to the battery pack of the vacuum cleaner to cut off the discharge of the battery pack and cut off the power to the entire vacuum cleaner. In the event that the protection strategy fails, the floor brush motor can still be protected from damage, thereby avoiding continuous high current causing the floor brush motor to heat up and produce open flames, thereby improving safety.

[0127] The following describes the protection method of the sampling resistor in the cleaning device provided by the embodiment of the present invention in combination with a specific application scenario:

[0128] Application scenario 1:

[0129] The main control board of the sweeping robot is configured with a protection strategy. If the current of the floor brush motor exceeds 3A and lasts for 30s, exceeds 4.5A and lasts for 3s, or exceeds 6A and lasts for 128ms, the software protection is activated and a shutdown command is sent to the control MOS of the floor brush motor; when the control MOS of the floor brush motor receives the shutdown command, the power of the floor brush motor is turned off.

[0130] The sweeping robot cleans the floor of the room. During the cleaning process, the main control board of the sweeping robot continuously detects the voltage of the floor brush motor, calculates the current flowing through the floor brush motor based on the voltage and the resistance of the floor brush motor, and continuously monitors whether the current of the floor brush motor exceeds 6A and lasts for 3s. If so, it means that the floor brush may be entangled in hair and cause stalling, and the power supply of the floor brush motor is not turned off through the protection strategy of the floor brush motor, resulting in the continuous increase of the current of the floor brush motor and the long duration of high current. At this time, it is determined that the protection strategy of the floor brush motor has failed, and the backup strategy is activated. The main control board directly sends a shutdown command to the battery pack of the sweeping robot through the serial port to disconnect the power supply of the entire sweeping robot to protect the floor brush motor of the sweeping robot.

[0131] Application scenario 2:

[0132] A temperature sensor is provided near the driving motor of the floor scrubber to collect the temperature of the driving motor.

[0133] The floor scrubber cleans the floor of the room. During the cleaning process, the main control board of the floor scrubber continuously detects the temperature of the drive motor. If it is detected that the temperature exceeds the temperature threshold, it means that the drive motor is abnormal and the drive motor current is large. The drive motor is not effectively protected by the drive motor protection strategy, causing the drive motor to be in a high current state for a long time, resulting in a continuous increase in the temperature of the drive motor. At this time, it is determined that the protection strategy of the drive motor has failed, and the backup strategy is activated. The main control board directly sends a shutdown command to the battery pack of the sweeping robot through the serial port to disconnect the power of the entire sweeping robot to protect the drive motor of the floor scrubber.

[0134] Application scenario three:

[0135] An image acquisition device is arranged near the driving motor of the dishwasher, through which an appearance image of the driving motor can be captured.

[0136] During the operation of the dishwasher, the main control board of the dishwasher continuously collects the appearance images of the drive motor through the image acquisition device, and then performs image analysis on the appearance images to obtain the appearance characteristics of the drive motor to determine whether the drive motor has undergone blackening, bulging, or other deformations. If so, it means that the drive motor of the dishwasher is abnormal, and the drive motor is not effectively protected by the drive motor protection strategy, causing the drive motor to be in a high current state for a long time, resulting in the appearance deformation of the drive motor. At this time, it is determined that the protection strategy of the drive motor has failed, and the backup strategy is activated. The main control board directly sends a shutdown command to the battery pack of the dishwasher through the serial port to disconnect the power of the entire dishwasher to protect the drive motor of the dishwasher.

[0137] Corresponding to the above method embodiment, this specification also provides a cleaning device embodiment, the cleaning device has a main control board, Figure 4 FIG. 1 shows a schematic diagram of the structure of a cleaning device provided in an embodiment of the present specification. Figure 4 As shown, the cleaning device comprises:

[0138] The first acquisition module 402 is configured to acquire attribute parameters of a sampling resistor in a cleaning device;

[0139] The first determination module 404 is configured to determine whether the protection strategy of the sampling resistor is invalid according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the sampling resistor when an abnormality occurs in the sampling resistor;

[0140] The first sending module 406 is configured to send a shutdown instruction to the battery pack of the cleaning device when the protection strategy of the sampling resistor fails.

[0141] In an optional implementation of this embodiment, the attribute parameter includes the current of the sampling resistor; the first determination module 404 is further configured to:

[0142] Determine whether the collected current exceeds the current threshold and lasts for a set time, wherein the current threshold is greater than or equal to the limited current of the protection strategy, and the set time is greater than the limited time of the protection strategy;

[0143] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0144] In an optional implementation of this embodiment, the first determining module 404 is further configured to:

[0145] Perform a withstand voltage test on the test resistor to determine the maximum load current and the maximum duration of the test resistor, wherein the test resistor is a resistor of the same model as the sampling resistor;

[0146] Configure the current threshold and setting time according to the maximum load current and the maximum time.

[0147] In an optional implementation of this embodiment, the property parameter includes the temperature of the sampling resistor; the first determination module 404 is further configured to:

[0148] Determine whether the collected temperature exceeds a temperature threshold, wherein the temperature threshold is based on a temperature configuration reached by the sampling resistor when the protection strategy fails;

[0149] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0150] In an optional implementation of this embodiment, the property parameter includes appearance characteristics of the sampling resistor;

[0151] The first acquisition module 402 is further configured to:

[0152] Capturing an appearance image of the sampling resistor by an image acquisition device;

[0153] Perform image analysis on the appearance image to obtain the appearance characteristics of the sampling resistor;

[0154] Accordingly, the first determining module 404 is further configured to:

[0155] Determine whether the appearance characteristics of the sampling resistor have changed relative to the initial characteristics;

[0156] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0157] In an optional implementation of this embodiment, the attribute parameter includes gas information collected by the gas sensor; the first determination module 404 is further configured to:

[0158] Determine whether the gas collected by the gas sensor includes the target gas, wherein the target gas is the gas generated when the sampling resistor is abnormal;

[0159] If so, it is determined that the protection strategy of the sampling resistor has failed.

[0160] In an optional implementation of this embodiment, the main control board further includes a positioning module, which is configured as follows:

[0161] The failure cause of the protection strategy of the sampling resistor is located, and alarm information is fed back according to the failure cause.

[0162] In an optional implementation of this embodiment, the positioning module is further configured as follows:

[0163] Detecting whether a closing instruction is issued to the switch unit, wherein the switch unit is a switch for controlling a load power supply that disconnects the sampling resistor;

[0164] If so, it is determined that the failure cause is hardware protection failure;

[0165] If not, it is determined that the failure cause is software protection failure.

[0166] An embodiment of the present specification provides a cleaning device, which monitors the property parameters of the sampling resistor to determine whether the protection strategy of the sampling resistor fails. When the protection strategy fails, a shutdown command can be sent to the battery pack of the cleaning device, which increases the protection of the sampling resistor. When the protection strategy of the sampling resistor fails, a backup strategy can be activated to directly send a shutdown command to the battery pack of the cleaning device to cut off the discharge of the battery pack and power off the entire cleaning device. When the protection strategy fails, the sampling resistor can still be protected from damage, avoiding continuous large current from causing the sampling resistor to heat up and produce open flames, thereby improving safety.

[0167] Corresponding to the above method embodiment, this specification also provides another cleaning device embodiment, the cleaning device has a main control board, Figure 5 FIG. 2 shows a schematic diagram of the structure of another cleaning device provided in an embodiment of the present specification. Figure 5 As shown, the cleaning device comprises:

[0168] The second acquisition module 502 is configured to acquire property parameters of circuit components in the cleaning device;

[0169] The second determination module 504 is configured to determine whether the protection strategy of the circuit device is invalid according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the circuit device when an abnormality occurs in the circuit device;

[0170] The second sending module 506 is configured to send a shutdown instruction to the battery pack of the cleaning device when the protection strategy of the circuit device fails.

[0171] An embodiment of the present specification provides a cleaning device, which monitors the property parameters of circuit devices to determine whether the protection strategy of the circuit devices has failed. When the protection strategy fails, a shutdown command can be sent to the battery pack of the cleaning device, which increases the protection of the circuit devices. When the protection strategy of the circuit devices fails, a backup strategy can be initiated to directly send a shutdown command to the battery pack of the cleaning device to cut off the discharge of the battery pack and power off the entire cleaning device. When the protection strategy fails, the circuit devices can still be protected from damage, thus preventing continuous large current from causing the circuit devices to heat up and produce open flames, thereby improving safety.

[0172] The above is a schematic scheme of a cleaning device of this embodiment. It should be noted that the technical scheme of the cleaning device and the technical scheme of the protection method of the sampling resistor in the above cleaning device belong to the same concept, and the details not described in detail in the technical scheme of the cleaning device can be referred to the description of the technical scheme of the protection method of the sampling resistor in the above cleaning device.

[0173] Figure 6 The structure block diagram of an electronic device provided according to an embodiment of the present specification is shown. The components of the electronic 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 the database 650 is used to store data.

[0174] The electronic device 600 also includes an access device 640, which enables the electronic device 600 to communicate via one or more networks 660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).

[0175] In one embodiment of the present specification, the above components of the electronic device 600 and Figure 6 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 6 The electronic device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0176] The electronic device 600 may be any type of stationary or mobile electronic device, including a mobile computer or mobile electronic device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable electronic device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary electronic device such as a desktop computer or a personal computer (PC). The electronic device 600 may also be a mobile or stationary server.

[0177] The processor 620 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the method for protecting the sampling resistor in the above-mentioned cleaning device, or the steps of the method for protecting the circuit device in the above-mentioned cleaning device.

[0178] The above is a schematic scheme of an electronic device of this embodiment. It should be noted that the technical scheme of the electronic device and the technical scheme of the protection method of the sampling resistor in the above cleaning device belong to the same concept, and the details not described in detail in the technical scheme of the electronic device can be referred to the description of the technical scheme of the protection method of the sampling resistor in the above cleaning device.

[0179] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for protecting the sampling resistor in the above-mentioned cleaning device, or the steps of the method for protecting the circuit device in the above-mentioned cleaning device.

[0180] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the protection method of the sampling resistor in the above-mentioned cleaning device belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the protection method of the sampling resistor in the above-mentioned cleaning device.

[0181] An embodiment of the present specification also provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the method for protecting the sampling resistor in the above-mentioned cleaning device, or the steps of the method for protecting the circuit device in the above-mentioned cleaning device.

[0182] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the protection method of the sampling resistor in the cleaning device described above are of the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the protection method of the sampling resistor in the cleaning device described above.

[0183] The above is a description of a specific embodiment of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0184] Computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate form, etc. Computer readable media may include: any entity or device capable of carrying computer program codes, recording media, USB flash drives, mobile hard disks, magnetic disks, optical disks, computer memories, read-only memories (ROM), random access memories (RAM), electric carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the contents of computer readable media may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer readable media do not include electric carrier signals and telecommunication signals.

[0185] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0186] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0187] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A method for protecting a sampling resistor in a cleaning device, characterized in that: include: Collecting property parameters of a sampling resistor in the cleaning device; Determine whether a protection strategy of the sampling resistor is invalid according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the sampling resistor when an abnormality occurs to the sampling resistor; When the protection strategy of the sampling resistor fails, a shutdown instruction is sent to the battery pack of the cleaning device.

2. The method for protecting the sampling resistor in the cleaning equipment according to claim 1, characterized in that: The attribute parameter includes the current of the sampling resistor; and determining whether the protection strategy of the sampling resistor fails according to the attribute parameter includes: Determine whether the collected current exceeds a current threshold and lasts for a set time, wherein the current threshold is greater than or equal to a limited current of the protection strategy, and the set time is greater than a limited time of the protection strategy; If so, it is determined that the protection strategy of the sampling resistor fails.

3. The method for protecting the sampling resistor in the cleaning equipment according to claim 2, characterized in that: The step of determining whether the collected current exceeds the current threshold and lasts for a set period of time further includes: Performing a withstand voltage test on a test resistor to determine a maximum load current and a maximum duration of the test resistor, wherein the test resistor is a resistor of the same model as the sampling resistor; The current threshold and the set time duration are configured according to the maximum load current and the longest time duration.

4. The method for protecting a sampling resistor in a cleaning device according to claim 1, characterized in that: The attribute parameter includes the temperature of the sampling resistor; and determining whether the protection strategy of the sampling resistor fails according to the attribute parameter includes: Determining whether the collected temperature exceeds a temperature threshold, wherein the temperature threshold is based on a temperature configuration reached by the sampling resistor when the protection strategy fails; If so, it is determined that the protection strategy of the sampling resistor fails.

5. The method for protecting the sampling resistor in the cleaning equipment according to claim 1, characterized in that: The attribute parameters include appearance characteristics of the sampling resistor; The collecting of the property parameters of the sampling resistor in the cleaning device includes: Capturing an appearance image of the sampling resistor by an image acquisition device; Performing image analysis on the appearance image to obtain appearance features of the sampling resistor; Accordingly, determining whether the protection strategy of the sampling resistor fails according to the property parameter includes: Determining whether the appearance characteristics of the sampling resistor have changed relative to the initial characteristics; If so, it is determined that the protection strategy of the sampling resistor fails.

6. The method for protecting a sampling resistor in a cleaning device according to claim 1, characterized in that: The attribute parameter includes gas information collected by the gas sensor; and determining whether the protection strategy of the sampling resistor fails according to the attribute parameter includes: Determining whether the gas collected by the gas sensor includes a target gas, wherein the target gas is a gas generated when the sampling resistor is abnormal; If so, it is determined that the protection strategy of the sampling resistor fails.

7. The method for protecting a sampling resistor in a cleaning device according to any one of claims 1 to 6, characterized in that: In the case where the protection strategy of the sampling resistor fails, after sending a shutdown instruction to the battery pack, the method further includes: The failure cause of the protection strategy of the sampling resistor is located, and alarm information is fed back according to the failure cause.

8. The method for protecting the sampling resistor in the cleaning equipment according to claim 7, characterized in that: The failure reason of the protection strategy for locating the sampling resistor includes: Detecting whether a closing instruction is issued to a switch unit, wherein the switch unit is a switch that controls a load power supply that disconnects the sampling resistor; If so, it is determined that the failure cause is a hardware protection failure; If not, it is determined that the failure reason is software protection failure.

9. A method for protecting circuit components in a cleaning device, characterized in that: include: Collecting property parameters of circuit components in the cleaning device; Determining whether a protection strategy of the circuit device fails according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the circuit device when an abnormality occurs in the circuit device; In the event that the protection strategy of the circuit device fails, a shutdown command is sent to the battery pack of the cleaning device.

10. A cleaning device having a main control board, characterized in that: include: A first acquisition module is configured to acquire attribute parameters of a sampling resistor in the cleaning device; A first determination module is configured to determine whether a protection strategy of the sampling resistor is invalid according to the attribute parameter, wherein the protection strategy is a software and hardware strategy for protecting the sampling resistor when an abnormality occurs to the sampling resistor; The first sending module is configured to send a shutdown instruction to the battery pack of the cleaning device when the protection strategy of the sampling resistor fails.

11. An electronic device, characterized in that: include: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for protecting the sampling resistor in the cleaning equipment according to any one of claims 1 to 8, or the steps of the method for protecting the circuit device in the cleaning equipment according to claim 9 are implemented.