Floor brush type identification method and device, cleaning equipment and storage medium

By obtaining the detection voltage and calculation impedance of the ground brush motor in the cleaning equipment and identifying the ground brush type, the problem of low identification accuracy in the prior art is solved, and the safety and identification accuracy of the equipment are improved.

CN119024161APending Publication Date: 2024-11-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310603680.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2024-11-26

Smart Images

  • Figure CN119024161A_ABST
    Figure CN119024161A_ABST
Patent Text Reader

Abstract

The invention provides a floor brush type identification method and device, cleaning equipment and a storage medium, and the method comprises the steps: obtaining the detection voltage of a floor brush motor, and enabling the detection voltage to be smaller than the starting voltage of the floor brush motor; in response to inputting the detection voltage into the ground brush motor, acquiring first impedance of the ground brush motor; and determining the ground brush type corresponding to the ground brush motor based on the first impedance, the stored impedance and the corresponding relation of the ground brush type. According to the embodiment, the ground brush type is determined through the first impedance of the power supply loop, the accuracy of the ground brush type can be improved, and the safety of the ground brush can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of control technology, and in particular to a method and device for identifying the type of floor brush, a cleaning device, and a storage medium. Background Art

[0002] Cleaning equipment has gradually entered people's daily lives, such as vacuum cleaners, window cleaning robots, cleaning machines, etc., bringing great convenience to people's lives.

[0003] In actual applications, existing cleaning equipment is usually equipped with various types of electric floor brushes, such as mattress brushes, sofa brushes, floor brushes, carpet brushes, mite removal brushes or filter cleaning brushes, etc., to meet the cleaning needs of different scenarios.

[0004] Since different types of floor brushes have different stall currents and require different fault protection currents and / or voltages, it is necessary to identify the type of floor brush in advance when using the cleaning equipment so that timely protection operations can be performed when the floor brush fails.

[0005] However, the accuracy of existing solutions in identifying the type of floor brushes is low, resulting in certain safety hazards during the use of floor brushes. Summary of the invention

[0006] The present disclosure provides a floor brush type identification method and device, a cleaning device, and a storage medium to solve the above-mentioned technical problems.

[0007] According to a first aspect of the present disclosure, a method for identifying a floor brush type is provided, which is applicable to a cleaning device, and the method comprises:

[0008] Acquire a detection voltage of a floor brush motor of the cleaning device, wherein the detection voltage is less than a starting voltage of the floor brush motor;

[0009] In response to inputting the detection voltage into the floor brush motor, obtaining a first impedance of the floor brush motor;

[0010] Based on the correspondence between the first impedance, the stored impedance and the floor brush type, the floor brush type corresponding to the floor brush motor is determined.

[0011] Optionally, obtaining a detection voltage of a floor brush motor of the cleaning device includes:

[0012] Obtaining the starting voltage of each floor brush motor of the cleaning device to obtain an initial detection voltage; the initial detection voltage is smaller than the minimum starting voltage by at least one voltage adjustment step;

[0013] determining a duty cycle of the driving signal based on the initial detection voltage and the battery voltage;

[0014] The floor brush motor is controlled to operate according to the duty cycle to obtain a detection voltage of the floor brush motor.

[0015] Optionally, obtaining a first impedance of the floor brush motor includes:

[0016] Obtaining the working current of the floor brush motor to obtain the detection current;

[0017] An impedance value is calculated according to the detection voltage and the detection current to obtain a first impedance of the floor brush motor.

[0018] Optionally, the method further comprises:

[0019] Based on the preset correspondence between the floor brush type and the motor control parameter, determine the motor control parameter corresponding to the floor brush type, the motor control parameter including at least one of the following: driving voltage, protection current, and protection voltage of the electric floor brush;

[0020] The electric floor brush is controlled to operate according to the motor control parameters.

[0021] According to a second aspect of the present disclosure, a floor brush type identification device is provided, which is applicable to a cleaning device, and the device comprises:

[0022] A detection voltage acquisition module, used to acquire a detection voltage of a floor brush motor of the cleaning device, wherein the detection voltage is less than a starting voltage of the floor brush motor;

[0023] A first impedance acquisition module, configured to acquire a first impedance of the floor brush motor in response to inputting the detection voltage into the floor brush motor;

[0024] The floor brush type determination module is used to determine the floor brush type corresponding to the floor brush motor based on the corresponding relationship between the first impedance, the stored impedance and the floor brush type.

[0025] Optionally, the detection voltage acquisition module includes:

[0026] An initial voltage acquisition unit, used to acquire the starting voltage of each floor brush motor of the cleaning device to obtain an initial detection voltage; the initial detection voltage is smaller than the minimum starting voltage by at least one voltage adjustment step;

[0027] a duty ratio determination unit, configured to determine a duty ratio of a driving signal based on an initial detection voltage and a battery voltage;

[0028] A detection voltage acquisition unit is used to control the operation of the floor brush motor according to the duty cycle to obtain the detection voltage of the floor brush motor.

[0029] Optionally, the first impedance acquisition module includes:

[0030] A detection current acquisition unit, used to acquire the working current of the floor brush motor to obtain a detection current;

[0031] The first impedance calculation unit is used to calculate the impedance value according to the detection voltage and the detection current to obtain the first impedance of the floor brush motor.

[0032] Optionally, the device further comprises:

[0033] A motor parameter determination module, for determining the motor control parameter corresponding to the floor brush type based on the preset correspondence between the floor brush type and the motor control parameter, wherein the motor control parameter includes at least one of the following: a driving voltage, a protection current, and a protection voltage of the electric floor brush;

[0034] The electric floor brush control module is used to control the operation of the electric floor brush according to the motor control parameters.

[0035] According to a third aspect of the present disclosure, there is provided a cleaning device, comprising: at least one electric floor brush, a processor, and a memory;

[0036] The memory is used to store a computer program executable by the processor;

[0037] The processor is used to obtain the detection data output by the detection sensor;

[0038] The processor is used to execute the computer program in the memory to implement the method as described in any one of the first aspects.

[0039] Optionally, a current detection module is further included, which is electrically connected to the processor and is used to detect the working current of the floor brush motor to obtain the detection current, so that the processor obtains the first impedance of the floor brush motor according to the detection current.

[0040] Optionally, the electric floor brush includes a floor brush motor and a motor drive module; the motor drive module is electrically connected to the processor and the floor brush motor respectively;

[0041] The motor driving module is used to drive the floor brush motor to operate according to the control signal of the processor.

[0042] Optionally, the motor drive module includes a first filter circuit, a second filter circuit, a motor interface and a ground control circuit; the first filter circuit is electrically connected to the motor interface, the second filter circuit and the battery respectively; the second filter circuit is electrically connected to the motor interface; the ground control circuit is electrically connected to the second filter circuit and the ground terminal of the motor interface;

[0043] The grounding control circuit is used to ground the grounding end of the motor interface when the control signal is at a first level, so that the battery of the cleaning device, the power supply end of the motor interface, the floor brush motor, the grounding end of the motor interface and the grounding control circuit form a power supply loop;

[0044] The grounding control circuit is used to disconnect the grounding terminal of the motor interface from the ground when the control signal is at the second level, so that the battery of the cleaning device does not supply power to the floor brush motor.

[0045] Optionally, the first filtering circuit includes a first capacitor, a second capacitor and a third capacitor;

[0046] A first end of the first capacitor is electrically connected to the battery, and a second end of the first capacitor is grounded;

[0047] A first end of the second capacitor is electrically connected to the battery, and a second end of the second capacitor is grounded;

[0048] A first end of the third capacitor is electrically connected to the battery, and a second end of the third capacitor is grounded.

[0049] Optionally, the second filtering circuit includes a fourth capacitor, a fifth capacitor, a sixth capacitor and a voltage regulator tube;

[0050] The first end of the voltage regulator tube is electrically connected to the battery, and the second end of the voltage regulator tube is electrically connected to the second end of the fourth capacitor, the first end of the fifth capacitor and the ground terminal of the motor interface respectively;

[0051] The first end of the fourth capacitor is electrically connected to the battery; the second end of the fifth capacitor is grounded;

[0052] A first end of the sixth capacitor is electrically connected to the battery, and a second end of the sixth capacitor is grounded.

[0053] Optionally, the ground control circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a first switch device, a second switch device and a seventh capacitor;

[0054] The first end of the first resistor is electrically connected to the processor, and the second end of the first resistor is electrically connected to the second end of the second resistor and the control end of the first switch device respectively;

[0055] The first end of the second resistor is electrically connected to the second power supply;

[0056] The first end of the first switch device is electrically connected to the second end of the third resistor and the first end of the fourth resistor respectively; the second end of the first switch device is grounded;

[0057] The first end of the third resistor is electrically connected to the battery;

[0058] The second end of the fourth resistor is electrically connected to the first end of the fifth resistor and the first end of the seventh capacitor respectively; the second end of the fifth resistor is grounded, and the second end of the seventh capacitor is grounded;

[0059] The control end of the second switching device is electrically connected to the first end of the seventh capacitor, the first end of the second switching device is electrically connected to the second end of the voltage regulator in the second filtering circuit; the second end of the second switching device is electrically connected to the first end of the sixth resistor; the second end of the sixth resistor is grounded.

[0060] Optionally, the second filtering circuit further includes a seventh resistor, a first end of the seventh resistor is electrically connected to the ground terminal of the motor interface, and a second end of the seventh resistor is grounded.

[0061] Optionally, the ground control circuit includes a first resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a third switch device, a fourth switch device, a fifth switch device and a sixth switch device;

[0062] The first end of the first resistor is electrically connected to the processor, and the second end of the first resistor is electrically connected to the first end of the eighth resistor and the control end of the third switch device respectively; the second end of the eighth resistor is grounded, and the second end of the third switch device is grounded;

[0063] The first end of the third switch device is electrically connected to the second end of the ninth resistor; the first end of the ninth resistor is electrically connected to the second end of the tenth resistor, the control end of the fourth switch device and the control end of the fifth switch device respectively;

[0064] A first end of the tenth resistor is electrically connected to the battery;

[0065] A first terminal of the fourth switch device is electrically connected to the battery, and a second terminal of the fifth switch device is grounded;

[0066] The first end of the eleventh resistor is electrically connected to the second end of the fourth switch device and the first end of the fifth switch device respectively; the second end of the eleventh resistor is electrically connected to the control end of the sixth switch device;

[0067] The first terminal of the sixth switch device is electrically connected to the battery,

[0068] The second end of the sixth switch device is electrically connected to the power supply end of the motor interface.

[0069] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, and when an executable computer program in the storage medium is executed by a processor, the method described in any one of the first aspects can be implemented.

[0070] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0071] The solution of this embodiment can obtain the detection voltage of the floor brush motor of the cleaning device, and the detection voltage is less than the starting voltage of the floor brush motor; then, in response to inputting the detection voltage into the floor brush motor, the first impedance of the floor brush motor is obtained; thereafter, based on the correspondence between the first impedance, the stored impedance and the floor brush type, the first corresponding floor brush type is determined. In this way, in this embodiment, determining the floor brush type by the first impedance of the power supply circuit can improve the accuracy of the floor brush type, which is conducive to improving the safety of the floor brush.

[0072] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 The present invention is a circuit diagram of a motor drive module according to an embodiment of the present invention.

[0074] Figure 2 FIG. 4 is a circuit diagram of another motor driving module according to an embodiment of the present disclosure.

[0075] Figure 3 The present invention is a flowchart of a method for identifying a floor brush type according to an embodiment of the present invention.

[0076] Figure 4 The present invention is a block diagram of a floor brush type identification device according to an embodiment of the present invention.

[0077] Figure 5 The present invention is a block diagram of a cleaning device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0078] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.

[0079] In order to solve the above technical problems, the embodiments of the present disclosure provide a method and device for identifying the type of floor brush, a cleaning device, and a storage medium. The above method for identifying the type of floor brush is applicable to a cleaning device, which includes at least one electric floor brush and a processor, each electric floor brush includes a floor brush motor and an electric drive module, and the motor drive module is electrically connected to the processor and the floor brush motor respectively; the motor drive module is used to drive the above floor brush motor to work according to the control signal of the processor.

[0080] In one embodiment, the cleaning device further includes a current detection module. The current detection module is electrically connected to the processor and is used to detect the working current of the floor brush motor and obtain the detection current, so that the processor obtains the first impedance of the floor brush motor according to the detection current. In this embodiment, the current detection module can be implemented by a current sampling resistor.

[0081] In one embodiment, the motor drive module includes a first filter circuit, a second filter circuit, a motor interface and a grounding control circuit. The first filter circuit is electrically connected to the motor interface, the second filter circuit and the battery respectively; the second filter circuit is electrically connected to the motor interface; the grounding control circuit is electrically connected to the second filter circuit and the grounding terminal of the motor interface; the grounding control circuit is used to ground the grounding terminal of the motor interface when the control signal is at a first level, so that the battery of the cleaning device, the power supply terminal of the motor interface, the floor brush motor, the grounding terminal of the motor interface and the grounding control circuit constitute a power supply circuit; the grounding control circuit is used to disconnect the grounding terminal of the motor interface when the control signal is at a second level, so that the battery of the cleaning device does not supply power to the floor brush motor.

[0082] In this embodiment, see Figure 1 , the first filter circuit 11 includes a first capacitor C1, a second capacitor C2 and a third capacitor C3; wherein,

[0083] A first end of the first capacitor C1 is electrically connected to a battery (denoted by VBAT), and a second end of the first capacitor C1 is grounded GND;

[0084] A first end of the second capacitor C2 is electrically connected to a battery (denoted by VBAT), and a second end of the second capacitor C2 is grounded GND;

[0085] A first end of the third capacitor C3 is electrically connected to a battery (denoted by VBAT), and a second end of the third capacitor C3 is grounded GND.

[0086] In one example, the first capacitor C1 can be implemented with a 4.7uF capacitor, the second capacitor C2 can be implemented with a 100nF capacitor, and the third capacitor C3 can be implemented with a 4.7uF capacitor. The technician can select a suitable capacitance value according to the specific scenario. If the first filter circuit 11 can filter out the voltage ripple, the corresponding solution falls within the protection scope of the present disclosure.

[0087] In this embodiment, continue to refer to Figure 1 , the second filter circuit 12 includes a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6 and a voltage regulator tube D1;

[0088] The first end of the voltage regulator tube D1 is electrically connected to the battery (labeled as VBAT), and the second end of the voltage regulator tube D1 is electrically connected to the second end of the fourth capacitor C4, the first end of the fifth capacitor C5 and the ground end of the motor interface J respectively;

[0089] A first end of the fourth capacitor C4 is electrically connected to a battery (labeled as VBAT); a second end of the fifth capacitor C5 is grounded GND;

[0090] A first end of the sixth capacitor C6 is electrically connected to a battery (denoted by VBAT), and a second end of the sixth capacitor C6 is grounded GND.

[0091] In one example, the voltage regulator D1 is used to clamp the voltage difference between the power terminal 1 and the ground terminal 3 of the motor interface J to ensure that the floor brush motor of the electric floor brush can work normally. The fourth capacitor C4 can be implemented with a 1nF capacitor; the fifth capacitor C5 can be implemented with a 100nF capacitor; the sixth capacitor C6 can be implemented with a 100nF capacitor. The technician can select the capacitive reactance value of the capacitor according to the specific scenario. If the ripple in the input voltage of the motor interface can be filtered out, the corresponding solution falls within the protection scope of this disclosure.

[0092] In this embodiment, continue to refer to Figure 1 The ground control circuit 13 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a first switch device Q1, a second switch device Q2 and a seventh capacitor C7.

[0093] A first end of the first resistor R1 is electrically connected to the processor, and a second end of the first resistor R1 is electrically connected to a second end of the second resistor R2 and a control end of the first switch device Q1 respectively;

[0094] A first end of the second resistor R2 is electrically connected to a second power supply (denoted by P3V3);

[0095] A first end of the first switch device Q1 is electrically connected to a second end of the third resistor R3 and a first end of the fourth resistor R4 respectively; a second end of the first switch device Q1 is grounded to GND;

[0096] A first end of the third resistor R3 is electrically connected to a battery (labeled as VBAT);

[0097] The second end of the fourth resistor R4 is electrically connected to the first end of the fifth resistor R5 and the first end of the seventh capacitor C7 respectively; the second end of the fifth resistor R5 is grounded, and the second end of the seventh capacitor C7 is grounded;

[0098] The control end of the second switch device Q2 is electrically connected to the first end of the seventh capacitor C7 and the first end of the sixth resistor R6 respectively, and the first end of the second switch device Q2 is electrically connected to the second end of the voltage regulator D1 in the second filter circuit 22; the second end of the second switch device Q2 is electrically connected to the control end of the second switch device.

[0099] The control end of the second switch device Q2 is electrically connected to the first end of the seventh capacitor C7, and the first end of the second switch device Q2 is electrically connected to the second end of the voltage regulator D1 in the second filter circuit 22; the second end of the second switch device Q2 is electrically connected to the first end of the sixth resistor R6; the second end of the sixth resistor R6 is grounded GND.

[0100] In an example, the first resistor R1 can be implemented by a 100 ohm resistor, the second resistor R2 can be implemented by a 10k ohm resistor, the third resistor R3 can be implemented by a 2.2k ohm resistor, the fourth resistor R4 can be implemented by a 22 ohm resistor, the fifth resistor R5 can be implemented by a 10k ohm resistor, the sixth resistor can be implemented by a 0.1 ohm resistor, and the seventh capacitor C7 can be implemented by a 100nF capacitor. The technician can select the impedance value of each component in the ground control circuit 23 according to the specific scenario, and the corresponding solution falls within the protection scope of the present disclosure.

[0101] Continue to see Figure 1 When the first switch device Q1 is implemented by an N-type switch device and the second switch device Q2 is implemented by an N-type switch device, the N-type switch device may include an NPN transistor or an NMOS transistor. The working principle of the motor drive module is as follows:

[0102] The processor outputs a control signal, which may be a PWM (Pulse Width Modulation) signal. For each PWM cycle, the control signal may include a first level and a second level.

[0103] When the control signal is at the first level (such as a high level), the first switch device Q1 is disconnected, and the third resistor R3, the fourth resistor R4 and the fifth resistor R5 form a discharge loop. At this time, the first end of the fifth resistor R5 is at a high level; since the second switch device Q2 is an N-type switch device, the second switch device Q2 is turned on at this time, that is, a power supply loop is formed between the battery, the power end of the power interface J, the ground brush motor (not shown in the figure), the ground end of the power interface J, the second switch device Q2, the sixth resistor R6 and the ground GND.

[0104] In this example, the sixth resistor R6 is a current sampling resistor, and a first end of the sixth resistor R6 can be electrically connected to the processor to obtain the working current corresponding to the electric floor brush, that is, the detection current. In other words, the sixth resistor R6 is used as the above-mentioned current detection module.

[0105] When the control signal is at the second level (such as a low level), the first switch device Q1 is turned on, and the fourth resistor R4 is grounded, that is, the first end of the fifth resistor R5 is at a low level; since the second switch device Q2 is an N-type switch device, the second switch device Q2 is disconnected at this time, that is, the ground terminal of the power interface J cannot be grounded, thereby failing to form a power supply loop from the battery to the ground. In other words, during this stage, the electric floor brush cannot receive input voltage. In one embodiment, the duty cycle of the PWM signal can be adjusted. In this embodiment, the setting of the above-mentioned duty cycle needs to ensure that the floor brush motor of the electric floor brush cannot rotate, thereby ensuring that no abnormal sound is generated during the detection period. The above-mentioned duty cycle setting process may include:

[0106] The processor can obtain the starting voltage of the floor brush motor in at least one electric floor brush of the cleaning device to obtain the minimum starting voltage; then, the processor can set the detection voltage to a maximum value less than the above minimum starting voltage. For example, if the minimum starting voltage is 2.1V, the detection voltage can be set to 2V. The technician can determine the detection voltage based on the starting voltage and the detection voltage and the minimum adjustment granularity of the voltage, such as selecting an integer voltage value less than the minimum starting voltage, etc. In the case where the detection voltage is less than the minimum starting voltage, the corresponding solution falls within the protection scope of the present disclosure.

[0107] It should be noted that the cleaning device stores the starting voltage of the floor brush motor of each electric floor brush, such as a starting voltage table. The starting voltage table can be a memory pre-written into the cleaning device. In this case, the starting voltage table may include the starting voltage of all floor brush motors adapted to the cleaning device, or the starting voltage of the floor brush voltage included in each model of cleaning equipment. The above-mentioned starting voltage table can also be generated based on user configuration. For example, when the cleaning device is used for the first time, the cleaning device can generate and display configuration suggestions, which allow the user to insert each floor brush into the floor brush port in turn for the cleaning device to detect the type of floor brush. When it is detected that the configuration operation is completed, the cleaning device can write the starting voltage table according to the starting voltage of each type of floor brush motor detected during the configuration process; the starting voltage in the updated starting voltage table can be used in the subsequent detection process.

[0108] The processor can obtain the battery voltage of the battery, and then calculate the ratio of the detection voltage and the battery voltage to obtain the duty cycle of each PWM signal. For example, if the battery voltage is 20V and the detection voltage is 2V, the duty cycle of each PWM signal is 2 / 20*100%=10%. In this way, the processor can output a voltage of 20V for 10% of the time in each PWM cycle and output a voltage of 0V for the remaining 90% of the time, so that the average voltage in each PWM cycle is 2V, that is, the effect of outputting a detection voltage of 2V is achieved.

[0109] It should be noted that in order to ensure that the high level in each PWM cycle cannot start the floor brush motor, the frequency of the PWM signal needs to be high enough. In one example, the frequency of the PWM signal is 1kHz to 10kHz, so that the high level time in each PWM cycle is short enough to prevent the floor brush motor from starting. Technicians can select the frequency of the PWM signal according to the selection of the floor brush motor, and the corresponding solution falls within the protection scope of this disclosure.

[0110] In one embodiment, see Figure 2 The motor drive module includes a first filter circuit 21, a second filter circuit 22 and a ground control circuit 23.

[0111] The circuit structure of the first filter circuit 21 is the same as that of the first filter circuit 11 , and will not be described in detail herein.

[0112] The circuit structure of the second filter circuit 22 is mostly the same as that of the second filter circuit 12, except that the second filter circuit 22 further includes a seventh resistor R7. The first end of the seventh resistor R7 is electrically connected to the ground terminal 3 of the motor interface, and the second end of the seventh resistor R7 is grounded GND. In this way, the second filter circuit 22 can always ground the ground terminal 3 of the motor interface by setting the seventh resistor R7.

[0113] The ground control circuit 23 includes a first resistor R1, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a third switch device Q3, a fourth switch device Q4, a fifth switch device Q5 and a sixth switch device Q6.

[0114] The first end of the first resistor R1 is electrically connected to the processor, and the second end of the first resistor R1 is electrically connected to the first end of the eighth resistor R8 and the control end of the third switch device Q3 respectively; the second end of the eighth resistor R8 is grounded, and the second end of the third switch device Q3 is grounded GND;

[0115] The first end of the third switch device Q3 is electrically connected to the second end of the ninth resistor R9; the first end of the ninth resistor R9 is electrically connected to the second end of the tenth resistor R10, the control end of the fourth switch device Q4 and the control end of the fifth switch device Q5 respectively; the first end of the tenth resistor R10 is electrically connected to the battery (labeled as VBAT);

[0116] A first terminal of the fourth switch device Q4 is electrically connected to a battery (labeled as VBAT), and a second terminal of the fifth switch device Q5 is grounded GND;

[0117] The first end of the eleventh resistor R11 is electrically connected to the second end of the fourth switch device Q4 and the first end of the fifth switch device Q5 respectively; the second end of the eleventh resistor R11 is electrically connected to the control end of the sixth switch device Q6;

[0118] A first terminal of the sixth switch device Q6 is electrically connected to a battery (labeled as VBAT).

[0119] A second terminal of the sixth switching device Q6 is electrically connected to the power terminal 1 of the motor interface J.

[0120] It should be noted that the eighth resistor can be implemented by a 10k ohm resistor, the ninth resistor R9 can be implemented by a 1k ohm resistor, the tenth resistor R10 can be implemented by a 2.2k ohm resistor, the eleventh resistor R11 can be implemented by a 100 ohm resistor, and the seventh resistor can be implemented by a 0.1 ohm resistor. The technician can select a suitable resistor according to the specific scenario, and the corresponding solution falls within the protection scope of the present disclosure.

[0121] Continue to see Figure 2 When the third switch device Q3 and the fourth switch device Q4 are implemented by N-type switch devices, the fifth switch device Q5 is implemented by P-type switch devices, and the sixth switch device Q6 is implemented by P-type switch devices, the N-type switch device may include an NPN transistor or an NMOS transistor, and the P-type switch device may include a PNP transistor or a PMOS transistor, the working principle of the motor drive module is:

[0122] When the control signal is at the first level (such as a high level), the third switch device Q3 is turned on to ground the second end of the ninth resistor R9, or the first end of the ninth resistor R9 is at a low level. The fifth switch device Q5 is turned on and the fourth switch device Q4 is turned off, and the battery, the tenth resistor R10 and the fifth switch device Q5 form a current loop, or the second end of the eleventh resistor R11 is at a low level.

[0123] When the second end of the eleventh resistor R11 is at a low level, the sixth switch device Q6 is turned on. At this time, the battery, the sixth switch device Q6, the power supply terminal 1 of the motor interface J, the ground brush motor, the ground terminal 3 of the motor interface J and the seventh resistor R7 form a power supply circuit, and the ground brush motor can receive the detection voltage.

[0124] It is understandable that, in this embodiment, the seventh resistor R7 can be used as a current sampling resistor, with a resistance value of 0.1 ohm, and a first end thereof is electrically connected to the processor, so that the detection current can be input to the processor. In other words, the seventh resistor R7 is used as the above-mentioned current detection module.

[0125] When the control signal is at the second level (such as a low level), the third switch device Q3 is disconnected. At this time, the control end of the fourth switch device Q4 is at the battery voltage, i.e., a high level, and the fifth switch device Q5 is disconnected; the control end of the sixth switch device Q6 is at a high level, and the sixth switch device Q6 disconnects the connection between the battery and the power supply terminal 1 of the motor interface J, so that the battery cannot power the floor brush motor.

[0126] Based on the above cleaning device, the present disclosure also provides a floor brush type identification method, which is applicable to a cleaning device, wherein the cleaning device includes a battery and at least one electric floor brush, see Figure 3 , the method comprises steps 31 to 33:

[0127] In step 31, a detection voltage of a floor brush motor of the cleaning device is obtained, and the detection voltage is less than a starting voltage of the floor brush motor.

[0128] In this step, the processor may obtain a detection voltage of the floor brush motor, which detection voltage is less than the minimum starting voltage of at least one floor brush motor. The detection voltage may be pre-stored in a specified location of the cleaning device, such as a local memory or cache. Alternatively, the processor may obtain a list of electric floor brushes, and then determine the minimum starting voltage of each electric floor brush in the electric floor brush list.

[0129] In one example, the processor can obtain the starting voltage of each floor brush motor (matched with the cleaning equipment) to obtain the minimum starting voltage. It should be noted that the starting voltage of the above-mentioned floor brush motor can be determined after the motor selection is determined, and can be stored in the specified position of the cleaning equipment. Then, the processor can obtain the voltage adjustment step, and the value range of the voltage adjustment step is [0.1, 1V]; the processor can determine a voltage value that is at least one voltage adjustment step smaller than the minimum starting voltage as the initial detection voltage. For example, the minimum starting voltage is 2.1V, and the voltage adjustment step is 0.1V, then the initial detection voltage can be 2.1-0.1=2V. Afterwards, the processor can determine the duty cycle of the drive signal based on the initial detection voltage and the battery voltage; for example, the initial detection voltage is 2V and the battery voltage is 20V, then the duty cycle is 2 / 20*100%=10%. Finally, the processor can control the floor brush motor to work according to the above duty cycle, and obtain the detection voltage of the floor brush motor, that is, the average voltage in one PWM cycle is 2V, so as to achieve the effect of outputting a 2V detection voltage.

[0130] In step 32 , in response to inputting the detection voltage into the floor brush motor, a first impedance of the floor brush motor is acquired.

[0131] In this step, the processor can obtain the first impedance of the floor brush motor in response to the detection voltage being input to the electric floor brush. It should be noted that after the detection voltage is input to the electric floor brush, the floor brush motor is not started because it is less than the starting voltage of the floor brush motor. In one example, the processor obtains the working current of the floor brush motor to obtain the detection current. The detection circuit acquisition method can be referred to in Figure 1 and Figure 2 The scheme of setting the current sampling resistor in is obtained. Then, the processor can calculate the impedance value according to the detection voltage and the detection current to obtain the first impedance of the ground brush motor. That is, the detection voltage divided by the detection current is equal to the first impedance.

[0132] In step 33, based on the correspondence between the first impedance, the stored impedance and the floor brush type, the floor brush type corresponding to the floor brush motor is determined.

[0133] In this step, the cleaning device stores the corresponding relationship between impedance and floor brush type, which includes the impedance value corresponding to each floor brush type. For example, when the impedance is 1 ohm, it corresponds to a floor brush; when the impedance is 2 ohms, it corresponds to a carpet brush; when the impedance is 3 ohms, it corresponds to a sofa brush, and so on. In this way, the processor can determine the floor brush type corresponding to the floor brush motor obtained in step 32 based on the first impedance and the corresponding relationship between the impedance and the floor brush type.

[0134] In one embodiment, the floor brush type identification method provided by the embodiment of the present disclosure further includes: determining the motor control parameters corresponding to the floor brush type based on the stored correspondence between the floor brush type and the motor control parameters.

[0135] It is understandable that the cleaning machine stores a correspondence between preset floor brush types and motor control parameters, and the correspondence includes motor control parameters corresponding to each floor brush type. In one example, the motor control parameters include at least one of the following: driving voltage, protection current, and protection voltage of the electric floor brush. For example, when the floor brush type is a floor brush, the driving voltage of the electric floor brush is 5V, the protection current is 2A, the protection voltage is 6V, etc., which can be set according to the specific scenario. In this way, the processor can control the operation of the electric floor brush according to the motor control parameters to achieve the effect of accurately controlling the electric floor brush.

[0136] At this point, the solution of this embodiment can obtain the detection voltage of the floor brush motor of the cleaning device, and the detection voltage is less than the starting voltage of the floor brush motor; then, in response to inputting the detection voltage into the floor brush motor, the first impedance of the floor brush motor is obtained; thereafter, based on the correspondence between the first impedance, the stored impedance and the floor brush type, the floor brush type corresponding to the floor brush motor is determined. In this way, in this embodiment, determining the floor brush type by the first impedance of the power supply circuit can improve the accuracy of the floor brush type, which is conducive to improving the safety of the floor brush.

[0137] In this embodiment, different floor brush types are identified by detecting the first impedance of the floor brush motor. After the power is turned on, the floor brush motor is checked with a smaller detection voltage, and the current of the motor is detected to calculate the first impedance of the motor, and the first impedance is used to match the floor brush motor type, thereby intelligently identifying different floor brush motors. The solution of this embodiment can be applied to a handheld vacuum cleaner to automatically determine the type of floor brush motor before the power is turned on and the floor brush does not rotate. On the one hand, a suitable stall current can be set to avoid the problem of unstable operation of the whole machine and eliminate safety hazards. On the other hand, a suitable operating voltage can be set to allow the motor to reach the best working state, improve motor efficiency, and increase battery life.

[0138] The present disclosure provides a method for identifying the type of floor brush, and the present disclosure also provides a device for identifying the type of floor brush, which is applicable to a cleaning device, wherein the cleaning device includes a battery and at least one electric floor brush, Figure 4 , the device comprises:

[0139] A detection voltage acquisition module 41 is used to acquire a detection voltage of a floor brush motor of the cleaning device, wherein the detection voltage is less than a starting voltage of the floor brush motor;

[0140] A first impedance acquisition module 42, configured to acquire a first impedance of the floor brush motor in response to inputting the detection voltage into the floor brush motor;

[0141] The floor brush type determination module 43 is used to determine the floor brush type corresponding to the floor brush motor based on the corresponding relationship between the first impedance, the stored impedance and the floor brush type.

[0142] In one embodiment, the detection voltage acquisition module includes:

[0143] An initial voltage acquisition unit, used to acquire the starting voltage of each floor brush motor of the cleaning device to obtain an initial detection voltage; the initial detection voltage is smaller than the minimum starting voltage by at least one voltage adjustment step;

[0144] a duty ratio determination unit, configured to determine a duty ratio of a driving signal based on an initial detection voltage and a battery voltage;

[0145] A detection voltage acquisition unit is used to control the operation of the floor brush motor according to the duty cycle to obtain the detection voltage of the floor brush motor.

[0146] In one embodiment, the first impedance acquisition module includes:

[0147] A detection current acquisition unit, used to acquire the working current of the floor brush motor to obtain a detection current;

[0148] The first impedance calculation unit is used to calculate the impedance value according to the detection voltage and the detection current to obtain the first impedance of the floor brush motor.

[0149] In one embodiment, the device further comprises:

[0150] A motor parameter determination module, for determining the motor control parameter corresponding to the floor brush type based on the preset correspondence between the floor brush type and the motor control parameter, wherein the motor control parameter includes at least one of the following: a driving voltage, a protection current, and a protection voltage of the electric floor brush;

[0151] The electric floor brush control module is used to control the operation of the electric floor brush according to the motor control parameters.

[0152] It should be noted that the device shown in this embodiment matches the contents of the method embodiment, and reference may be made to the contents of the above method embodiment, which will not be repeated here.

[0153] The present disclosure also provides a cleaning device, see Figure 5 , including a control module (i.e. the above-mentioned processor), a floor brush motor drive module (i.e. the above-mentioned motor drive module), a floor brush motor, a floor brush motor current detection module (i.e. the current sampling resistor), a fan and a UI display module. Among them,

[0154] The control module, i.e. the above-mentioned processor, is used to control the floor brush motor driving module to drive different types of floor brush motors, drive the fan to rotate quickly to extract dust, send messages or instructions to the UI display module, monitor the current information detected by the current detection module to determine the type of floor brush motor, and store the first impedance of different types of floor brush motors.

[0155] The floor brush motor drive module can be implemented by a voltage-type drive circuit of a high-frequency switch, and different output voltages can be achieved by configuring different duty cycles to drive the floor brush motor to work.

[0156] The floor brush motor rotates quickly when working, and drives the floor brush to rotate on the ground through the gear box to achieve a certain cleaning effect. Different floor brush motors are used in different scenarios.

[0157] The control module drives different floor brush motors through the floor brush motor driving module and sets different protection currents.

[0158] The current detection module is used to detect the working current of the floor brush motor, that is, the detection current, and send the detection current to the control module.

[0159] The fan is used to suck dirt and dust on the ground into the dust cup. The fan power and vacuum degree can be controlled by the control module to achieve different cleaning effects.

[0160] The UI display module communicates with the control module through a bus for human-computer interaction, displaying the current machine status and providing an interactive interface.

[0161] The present disclosure also provides a non-transitory computer-readable storage medium, which, when an executable computer program in the storage medium is executed by a processor, can achieve the following Figure 4 The method described.

[0162] The terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the disclosure. Unless otherwise defined, the technical terms or scientific terms used in this disclosure should be understood by people with ordinary skills in the field to which the disclosure belongs. Similar words such as "one" or "one" used in this disclosure specification and claims do not indicate a quantitative limitation, but indicate that there is at least one. "Multiple" means at least two. Similar words such as "include" or "include" mean that the elements or objects appearing in front of "include" or "include" include the elements or objects listed after "include" or "include" and their equivalents, and do not exclude other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, and can include electrical connections, whether direct or indirect. The singular forms of "one", "" and "the" used in this disclosure specification and the attached 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 herein refers to and includes any or all possible combinations of one or more associated listed items.

[0163] As for the method embodiment, since it basically corresponds to the device embodiment, the relevant parts can be referred to the partial description of the device embodiment. The method embodiment and the device embodiment complement each other.

[0164] The above are only preferred embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A method for identifying floor brush types, It is characterized in that Suitable for cleaning equipment, the method comprises: Acquire a detection voltage of a floor brush motor of the cleaning device, wherein the detection voltage is less than a starting voltage of the floor brush motor; In response to inputting the detection voltage into the floor brush motor, obtaining a first impedance of the floor brush motor; Based on the correspondence between the first impedance, the stored impedance and the floor brush type, the floor brush type corresponding to the floor brush motor is determined.

2. The method according to claim 1, It is characterized in that Obtaining a detection voltage of a floor brush motor of the cleaning device, including: Obtaining the starting voltage of each floor brush motor of the cleaning device to obtain an initial detection voltage; the initial detection voltage is smaller than the minimum starting voltage by at least one voltage adjustment step; determining a duty cycle of the driving signal based on the initial detection voltage and the battery voltage; The floor brush motor is controlled to operate according to the duty cycle to obtain a detection voltage of the floor brush motor.

3. The method according to claim 1, It is characterized in that Obtaining the first impedance of the floor brush motor includes: Obtaining the working current of the floor brush motor to obtain the detection current; An impedance value is calculated according to the detection voltage and the detection current to obtain a first impedance of the floor brush motor.

4. The method according to claim 1, It is characterized in that The method further comprises: Based on the stored correspondence between the floor brush type and the motor control parameter, determine the motor control parameter corresponding to the floor brush type, wherein the motor control parameter includes at least one of the following: a driving voltage, a protection current, and a protection voltage of the electric floor brush; The electric floor brush is controlled to operate according to the motor control parameters.

5. A floor brush type identification device, It is characterized in that Suitable for cleaning equipment, the device comprises: A detection voltage acquisition module, used to acquire a detection voltage of a floor brush motor of the cleaning device, wherein the detection voltage is less than a starting voltage of the floor brush motor; A first impedance acquisition module, configured to acquire a first impedance of the floor brush motor in response to inputting the detection voltage into the floor brush motor; The floor brush type determination module is used to determine the floor brush type corresponding to the floor brush motor based on the corresponding relationship between the first impedance, the stored impedance and the floor brush type.

6. The device according to claim 5, It is characterized in that The detection voltage acquisition module comprises: An initial voltage acquisition unit, used to acquire the starting voltage of each floor brush motor of the cleaning device to obtain an initial detection voltage; the initial detection voltage is smaller than the minimum starting voltage by at least one voltage adjustment step; a duty ratio determination unit, configured to determine a duty ratio of a driving signal based on an initial detection voltage and a battery voltage; A detection voltage acquisition unit is used to control the operation of the floor brush motor according to the duty cycle to obtain the detection voltage of the floor brush motor.

7. The device according to claim 5, It is characterized in that The first impedance acquisition module includes: A detection current acquisition unit, used to acquire the working current of the floor brush motor to obtain a detection current; The first impedance calculation unit is used to calculate the impedance value according to the detection voltage and the detection current to obtain the first impedance of the floor brush motor.

8. The device according to claim 5, It is characterized in that The device also includes: A motor parameter determination module, used to determine the motor control parameters corresponding to the floor brush type based on the preset correspondence between the floor brush type and the motor control parameters; The electric floor brush control module is used to control the operation of the electric floor brush according to the motor control parameters, and the motor control parameters include at least one of the following: a driving voltage, a protection current, and a protection voltage of the electric floor brush.

9. A cleaning device, It is characterized in that include: at least one electric floor brush, a processor, and a memory; The memory is used to store a computer program executable by the processor; The processor is used to obtain the detection data output by the detection sensor; The processor is used to execute the computer program in the memory to implement the method according to any one of claims 1 to 4.

10. The cleaning device according to claim 9, It is characterized in that It also includes a current detection module, which is electrically connected to the processor and is used to detect the working current of the floor brush motor to obtain the detection current, so that the processor obtains the first impedance of the floor brush motor according to the detection current.

11. The cleaning device according to claim 9, It is characterized in that The electric floor brush comprises a floor brush motor and a motor drive module; the motor drive module is electrically connected to the processor and the floor brush motor respectively; The motor driving module is used to drive the floor brush motor to operate according to the control signal of the processor.

12. The cleaning device according to claim 11, It is characterized in that The motor drive module includes a first filter circuit, a second filter circuit, a motor interface and a ground control circuit; the first filter circuit is electrically connected to the motor interface, the second filter circuit and the battery respectively; the second filter circuit is electrically connected to the motor interface; the ground control circuit is electrically connected to the second filter circuit and the ground terminal of the motor interface; The grounding control circuit is used to ground the grounding end of the motor interface when the control signal is at a first level, so that the battery of the cleaning device, the power supply end of the motor interface, the floor brush motor, the grounding end of the motor interface and the grounding control circuit form a power supply loop; The grounding control circuit is used to disconnect the grounding terminal of the motor interface from the ground when the control signal is at the second level, so that the battery of the cleaning device does not supply power to the floor brush motor.

13. The cleaning device according to claim 12, It is characterized in that The first filtering circuit includes a first capacitor, a second capacitor and a third capacitor; A first end of the first capacitor is electrically connected to the battery, and a second end of the first capacitor is grounded; A first end of the second capacitor is electrically connected to the battery, and a second end of the second capacitor is grounded; A first end of the third capacitor is electrically connected to the battery, and a second end of the third capacitor is grounded.

14. The cleaning device according to claim 12, It is characterized in that The second filtering circuit includes a fourth capacitor, a fifth capacitor, a sixth capacitor and a voltage regulator tube; The first end of the voltage regulator tube is electrically connected to the battery, and the second end of the voltage regulator tube is electrically connected to the second end of the fourth capacitor, the first end of the fifth capacitor and the ground terminal of the motor interface respectively; The first end of the fourth capacitor is electrically connected to the battery; the second end of the fifth capacitor is grounded; A first end of the sixth capacitor is electrically connected to the battery, and a second end of the sixth capacitor is grounded.

15. The cleaning device according to claim 12, It is characterized in that The grounding control circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a first switch device, a second switch device and a seventh capacitor; The first end of the first resistor is electrically connected to the processor, and the second end of the first resistor is electrically connected to the second end of the second resistor and the control end of the first switch device respectively; The first end of the second resistor is electrically connected to the second power supply; The first end of the first switch device is electrically connected to the second end of the third resistor and the first end of the fourth resistor respectively; the second end of the first switch device is grounded; The first end of the third resistor is electrically connected to the battery; The second end of the fourth resistor is electrically connected to the first end of the fifth resistor and the first end of the seventh capacitor respectively; the second end of the fifth resistor is grounded, and the second end of the seventh capacitor is grounded; The control end of the second switching device is electrically connected to the first end of the seventh capacitor, the first end of the second switching device is electrically connected to the second end of the voltage regulator in the second filtering circuit; the second end of the second switching device is electrically connected to the first end of the sixth resistor; the second end of the sixth resistor is grounded.

16. The cleaning device according to claim 14, It is characterized in that The second filtering circuit further includes a seventh resistor, a first end of the seventh resistor is electrically connected to the ground terminal of the motor interface, and a second end of the seventh resistor is grounded.

17. The cleaning device according to claim 12, It is characterized in that The ground control circuit includes a first resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a third switch device, a fourth switch device, a fifth switch device and a sixth switch device; The first end of the first resistor is electrically connected to the processor, and the second end of the first resistor is electrically connected to the first end of the eighth resistor and the control end of the third switch device respectively; the second end of the eighth resistor is grounded, and the second end of the third switch device is grounded; The first end of the third switch device is electrically connected to the second end of the ninth resistor; the first end of the ninth resistor is electrically connected to the second end of the tenth resistor, the control end of the fourth switch device and the control end of the fifth switch device respectively; A first end of the tenth resistor is electrically connected to the battery; A first terminal of the fourth switch device is electrically connected to the battery, and a second terminal of the fifth switch device is grounded; The first end of the eleventh resistor is electrically connected to the second end of the fourth switch device and the first end of the fifth switch device respectively; the second end of the eleventh resistor is electrically connected to the control end of the sixth switch device; The first terminal of the sixth switch device is electrically connected to the battery, The second end of the sixth switch device is electrically connected to the power supply end of the motor interface.

18. A non-transitory computer-readable storage medium, It is characterized in that When the executable computer program in the storage medium is executed by a processor, the method according to any one of claims 1 to 4 can be implemented.