Method for counting knocks, control method for clothes treatment device, and related device
By detecting the comparison of the high and low level duration of the vibration detection pulse of the laundry processing equipment and the threshold range, the misjudgment problem is solved, and more accurate knocking number identification and safety control are achieved.
Patent Information
- Application Number
- PCT/CN2024/140529
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-22
- Filing Date
- 2024-12-19
- Publication Date
- 2025-07-31
AI Technical Summary
The vibration detection methods of existing clothing processing equipment are prone to misjudgment of strike signals due to accidental contact, which affects control accuracy and safety.
By collecting the high-level duration and low-level duration of the vibration detection pulse, and determining the number of hits based on the preset threshold range, the error judgment rate is reduced.
Effectively filtering of the error touching action improves the accuracy of the detection of the knocking signal and ensures the safe control of the clothing processing equipment.
Smart Images

Figure CN2024140529_31072025_PF_FP_ABST
Abstract
Description
Knocking number detection method, clothing processing equipment control method and related equipment Technical Field
[0001] The present invention relates to the technical field of clothing processing equipment, and in particular to a method and device for detecting the number of knocks, a control method for clothing processing equipment, and a readable storage medium. Background Art
[0002] In the field of clothing processing equipment, setting up a variety of control methods can help improve the control experience of clothing processing equipment. For example, by setting up a gesture sensing function, users can control the clothing processing equipment when their hands are wet or it is inconvenient to control buttons and knobs; or by using voice recognition technology, the clothing processing equipment can be quickly controlled through one or more voice commands; for example, setting up a vibration detection device can help achieve a larger control range and a tapping control method that is in line with the user's intuition.
[0003] Currently, a common method is to mount a vibration detection device on a circuit board to detect knocking signals on specific parts of the clothing processing device.
[0004] However, in daily life, vibrations caused by users accidentally touching specific parts or other parts of the clothing processing device often occur, resulting in misjudgment of the knocking signal.
[0005] In view of this, the present invention is proposed. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to at least overcome some of the shortcomings of the existing technology and provide a method for detecting the number of knocks, by collecting the high-level duration and low-level duration within one cycle of the vibration detection pulse, and determining the number of knocks of the knocked component based on the relationship between the collected high-level duration and low-level duration and the preset threshold range, thereby reducing the misjudgment rate of the knock signal.
[0007] To solve the above technical problems, the first aspect of the present invention is to provide a method for detecting the number of taps, comprising:
[0008] collecting the high-level duration and the low-level duration within one cycle of the vibration detection pulse; and
[0009] The number of times the struck component is struck is determined according to the relationship between the collected high-level duration and low-level duration and a preset threshold range.
[0010] In some embodiments, the tap count detection method further includes:
[0011] Collect the high level duration within one cycle of the vibration detection pulse;
[0012] When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one cycle of the vibration detection pulse;
[0013] When it is determined that the collected high-level duration does not meet the first threshold range, the number of times the struck component is struck is counted as zero.
[0014] In some embodiments, the tap count detection method further comprises:
[0015] Collect the high level duration within one cycle of the vibration detection pulse;
[0016] When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one cycle of the vibration detection pulse;
[0017] When it is determined that the collected low-level duration meets the second threshold range, the number of times the struck component is struck is counted once.
[0018] In some embodiments, the tap count detection method further comprises:
[0019] Collect the high level duration within one cycle of the vibration detection pulse;
[0020] When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one cycle of the vibration detection pulse;
[0021] When it is determined that the collected low-level duration does not meet the second threshold range, the number of tapping of the tapped component is counted as zero.
[0022] A second aspect of the present invention provides a tapping number detection device, comprising:
[0023] a vibration sensor system configured to be mounted on a struck component and configured to emit a vibration detection pulse;
[0024] a timer configured to time a high-level duration and a low-level duration within one cycle of the vibration detection pulse;
[0025] The control unit determines the number of times the struck component is struck according to a relationship between the high-level duration, the low-level duration, and a preset threshold range.
[0026] In some embodiments, the control unit is configured to:
[0027] When it is determined that the high-level duration collected by the timer meets the first threshold range, controlling the timer to time the low-level duration within one cycle of the vibration detection pulse;
[0028] When it is determined that the high level duration collected by the timer does not meet the first threshold range, the number of times the struck component is struck is counted as zero.
[0029] In some embodiments, the control unit is configured to:
[0030] When it is determined that the high-level duration collected by the timer meets the first threshold range, controlling the timer to time the low-level duration within one cycle of the vibration detection pulse;
[0031] When it is determined that the low-level duration collected by the timer meets the second threshold range, the number of times the struck component is struck is counted once.
[0032] In some embodiments, the control unit is configured to:
[0033] When it is determined that the high-level duration collected by the timer meets the first threshold range, controlling the timer to time the low-level duration within one cycle of the vibration detection pulse;
[0034] When it is determined that the low-level duration collected by the timer does not meet the second threshold range, the number of tapping of the tapped component is counted as zero.
[0035] A third aspect of the present invention provides a method for controlling a clothes processing device, comprising:
[0036] The knocking frequency detection method as described above is used to detect the knocking frequency of the knocked component of the clothing processing device;
[0037] An action instruction corresponding to the number of tapping times is generated.
[0038] A fourth aspect of the present invention is to provide a method for controlling a clothes processing device, comprising:
[0039] In response to detecting a valid knocking signal for knocking on a clothes treating device, obtaining a current state of the clothes treating device; and
[0040] Whether to execute a control instruction corresponding to the valid knocking signal is determined according to the current state of the clothes processing device.
[0041] In some embodiments, the step of detecting whether the knocking signal of the clothes treating device is a valid knocking signal includes:
[0042] detecting the number of times a struck component of a laundry processing device is struck;
[0043] It is determined whether the knocking signal for knocking the clothes treating device is a valid knocking signal according to the detected number of knocking times.
[0044] In some embodiments, the step of detecting the number of times a struck component of the laundry treatment device is struck includes:
[0045] collecting a high-level duration within one cycle of a vibration detection pulse triggered by striking a struck component of the laundry processing device;
[0046] When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one cycle of the vibration detection pulse;
[0047] When it is determined that the collected high-level duration does not meet the first threshold range, the number of times the struck component is struck is counted as zero.
[0048] In some embodiments, the step of detecting the number of times a struck component of the laundry treatment device is struck includes:
[0049] collecting a high-level duration within one cycle of a vibration detection pulse triggered by striking a struck component of the clothing processing device;
[0050] When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one cycle of the vibration detection pulse;
[0051] When it is determined that the collected low-level duration meets the second threshold range, the number of times the struck component is struck is counted once.
[0052] In some embodiments, a high-level duration within one cycle of a vibration detection pulse triggered by striking a struck component of the laundry treating device is collected;
[0053] When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one cycle of the vibration detection pulse;
[0054] When it is determined that the collected low-level duration does not meet the second threshold range, the number of tapping of the tapped component is counted as zero.
[0055] In some embodiments, the step of determining whether the knocking signal of the laundry treatment device is a valid knocking signal according to the detected number of knocking times includes:
[0056] When it is detected that the knocking number of the knocked component is counted as at least two times in succession, the knocking signal for knocking the clothes treating apparatus is determined to be a valid knocking signal.
[0057] In some embodiments, the step of obtaining the current state of the laundry processing device includes:
[0058] Acquire the current status of the child lock of the laundry processing device, and / or acquire the current status of the door cover of the laundry processing device.
[0059] In some embodiments, the step of determining whether to execute a control instruction corresponding to the valid knocking signal according to the current state of the laundry processing device includes:
[0060] When the child lock of the laundry processing device is currently in the on state, and / or the door cover of the laundry processing device is currently in the open state, ignoring the control instruction corresponding to the valid knocking signal;
[0061] When the child lock of the clothes processing device is currently in the closed state and the door cover of the clothes processing device is currently in the closed state, a control instruction corresponding to the valid knocking signal is executed.
[0062] A fifth aspect of the present invention provides an electronic device, comprising:
[0063] processor; and
[0064] a memory, communicatively connected to the processor;
[0065] The memory stores a program that can be executed by the processor. When the program is executed by the processor, the processor can execute the above-mentioned method for detecting the number of knocks or the above-mentioned method for controlling the clothing processing device.
[0066] A sixth aspect of the present invention provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for detecting the number of knocks or the method for controlling the clothing processing device described above are implemented.
[0067] After adopting the above technical solution, the present invention has the following beneficial effects compared with the prior art.
[0068] (1) The knock count detection method provided by the present invention collects the high-level duration and low-level duration within one cycle of the vibration detection pulse, and determines the knock count of the knocked component based on the relationship between the collected high-level duration and low-level duration and a preset threshold range, thereby reducing the misjudgment rate of the knock signal.
[0069] (2) The tapping number detection method provided by the present invention effectively filters out false touch actions by limiting the first threshold range corresponding to the high level duration and the second threshold range corresponding to the low level duration to a reasonable range, thereby further reducing the misjudgment rate of the tapping signal.
[0070] (3) The control method of the clothing processing device provided by the present invention obtains the current state of the clothing processing device upon detecting an effective knocking signal for knocking on the clothing processing device, and determines whether to execute the control instruction corresponding to the effective knocking signal according to the current state of the clothing processing device, thereby realizing safe control of the clothing processing device and preventing safety hazards to the user caused by immediately executing the control instruction corresponding to the effective knocking signal when the clothing processing device is in the current state. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] The accompanying drawings are part of the present invention and are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but do not constitute an undue limitation of the present invention. Obviously, the drawings described below are only some embodiments. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without inventive effort. In the accompanying drawings:
[0072] FIG1 is a schematic flow chart of a method for detecting the number of taps according to an exemplary embodiment of the present invention;
[0073] FIG2 is a schematic diagram of a tapping number detection device provided according to an exemplary embodiment of the present invention;
[0074] 3 is a schematic diagram of a location of a vibration sensor system provided on a struck component according to an exemplary embodiment of the present invention;
[0075] 4A and 4B are schematic diagrams of vibration detection pulses according to an exemplary embodiment of the present invention;
[0076] 5A and 5B are schematic diagrams showing a configuration of a vibration sensor according to an exemplary embodiment of the present invention;
[0077] 6 is a schematic diagram of a vibration detection pulse when the number of times a struck component is struck is counted twice consecutively according to an exemplary embodiment of the present invention;
[0078] 7 is a schematic diagram of a vibration detection pulse triggered when a door cover of a washing machine is closed once according to an exemplary embodiment of the present invention;
[0079] 8 is a schematic diagram of a vibration detection pulse triggered when a door cover of a washing machine is closed twice according to an exemplary embodiment of the present invention;
[0080] 9 is a schematic diagram of a vibration detection pulse triggered when a laundry basket is placed on a door cover of a vertical washing machine according to an exemplary embodiment of the present invention;
[0081] 10 is a schematic diagram of a vibration detection pulse triggered by two consecutive impacts on a washing machine cabinet according to an exemplary embodiment of the present invention;
[0082] FIG11 is a schematic flow chart of a method for controlling a laundry processing apparatus according to an exemplary embodiment of the present invention;
[0083] FIG12 is a flow chart of step S410 according to an exemplary embodiment of the present invention;
[0084] FIG13 is a schematic structural diagram of an electronic device provided according to an exemplary embodiment of the present invention;
[0085] In the figure: 200, knock detection device; 210, control unit; 220, vibration sensor system; 2201, vibration detection module; 22011, vibration sensor; 2202, signal processing unit; 230, timer; 240, counter;
[0086] 300. Washing machine;
[0087] 500, electronic device; 501, processor; 502, memory; 503, bus; 504, communication interface.
[0088] It should be noted that these drawings and textual descriptions are not intended to limit the conceptual scope of the present invention in any way, but rather to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0089] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The following embodiments are used to illustrate the present invention but are not used to limit the scope of the present invention.
[0090] 1 shows a process of a knock count detection method 100 according to an exemplary embodiment of the present invention. The knock count detection method 100 can be used in various existing clothing processing appliances, such as washing machines, dryers, washer-dryers, care machines, and shoe washers.
[0091] As shown in FIG1 , the execution of the tapping number detection method 100 includes the following steps:
[0092] S110, collecting the high level duration and low level duration within one cycle of the vibration detection pulse; and
[0093] S120 : Determine the number of times the struck component is struck based on the relationship between the collected high-level duration and low-level duration and a preset threshold range.
[0094] It should be understood that the steps shown in the number of tap detection method 100 are not exclusive, and the number of tap detection method 100 may also include additional steps not shown and / or may omit the steps shown, and the scope of the present invention is not limited in this respect. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. In addition, unless explicitly limited or contradicted by the context, the specific steps included in the method described in the present invention are not necessarily limited to the order described, but can be performed in any order or in parallel.
[0095] 2 to 5B , the terms used in the present invention will be described in detail in conjunction with the tapping number detection device provided by the present invention.
[0096] As shown in FIG. 2 , the tap detection device 200 includes a control unit 210 , a vibration sensor system 220 , a timer 230 , and a counter 240 .
[0097] The vibration sensor system 220 is configured to be mounted on the struck component of the clothing processing device, and is used to emit a vibration detection pulse. For example, as shown in Figure 3, for a washing machine 300, the vibration sensor system 220 is configured to be mounted on the back side of the display panel of the washing machine 300, and is used to emit a vibration detection pulse when a user strikes the display panel.
[0098] It should be noted that the location of the vibration sensor system 220 can be adaptively adjusted according to the tapping control mode. Taking the washing machine 300 as an example, the tapping control mode can be tapping to start / pause washing, tapping to select a washing mode, tapping to control door opening, etc.
[0099] Specifically, vibration sensor system 220 detects the vibration of the struck component and, when the detected vibration exceeds a vibration threshold, issues a signal indicating that a vibration detection pulse has been triggered, e.g., a high level. If the detected vibration does not exceed the vibration threshold, the vibration detection pulse is not triggered and is at a low level, as shown in FIG4A . It should be noted that the vibration here refers to the amplitude of the vibration wave.
[0100] In other words, one cycle of the vibration detection pulse includes a high-level duration and a low-level duration. The high-level duration refers to the duration when the vibration amount detected in one cycle exceeds the vibration amount threshold, and the low-level duration refers to the duration when the vibration amount detected does not exceed the vibration amount threshold.
[0101] It can be understood that when the detected vibration amount does not exceed the vibration amount threshold, for example, the vibration wave attenuates so that the vibration amount does not exceed the vibration amount threshold, the vibration detection pulse emitted by the vibration sensor system 220 remains in a low level state, as shown in Figure 4B.
[0102] In some embodiments, referring again to FIG. 3 , the vibration sensor system 220 includes a vibration detection module 2201 and a signal processing unit 2202 .
[0103] Among them, the vibration detection module 2201 is configured to detect the vibration amount of the struck component; the signal processing unit 2202 is connected to the vibration detection module 2201 to receive the vibration amount, and the signal processing unit 2202 is configured to send a signal to the control unit 210 indicating that a vibration detection pulse is triggered when the vibration amount exceeds the vibration amount threshold.
[0104] In some embodiments, the vibration detection module 2201 includes at least one vibration sensor 22011. When there are two or more vibration sensors 22011, at least two vibration sensors 22011 can be arranged in parallel, as shown in FIG5A , or at least two vibration sensors 22011 can be arranged in series, as shown in FIG5B , depending on the vibration sensitivity requirement of the struck component.
[0105] As an example, as shown in Figure 5A, when at least one vibration sensor 22011 of at least two vibration sensors 22011 senses that the vibration amount of the struck component exceeds the vibration amount threshold, the signal processing unit 2202 can send a signal that the vibration detection pulse is triggered, thereby improving the sensitivity of detecting vibration of the struck component.
[0106] As shown in Figure 5B, the signal processing unit 2202 sends a signal indicating that the vibration detection pulse is triggered only when all vibration sensors 22011 among at least two vibration sensors 22011 sense that the vibration amount of the struck component exceeds the vibration amount threshold, thereby reducing the sensitivity of detecting vibration of the struck component.
[0107] The timer 230 is configured to count the high-level duration and the low-level duration of the vibration detection pulse.
[0108] The control unit 210 is configured to determine the number of times the struck component is struck according to the relationship between the high level duration, the low level duration and a preset threshold range, and control the counter 240 to count the number of times of striking.
[0109] The implementation process of method 100 is described in detail below with reference to FIG. 2 and FIG. 4A .
[0110] When the control unit 210 determines that the high-level duration t1 collected by the timer 230 meets the first threshold range, the control unit 210 controls the timer 230 to time the low-level duration t2 within one cycle of the vibration detection pulse; when the control unit 210 determines that the high-level duration t1 collected by the timer 230 does not meet the first threshold range, the number of taps on the tapped component is counted as zero. When the control unit 210 determines that the low-level duration t2 collected by the timer 230 meets the second threshold range, the number of taps on the tapped component is counted as one. When the control unit 210 determines that the low-level duration t2 collected by the timer 230 does not meet the second threshold range, the number of taps on the tapped component is counted as zero.
[0111] To sum up, in the above scheme of the present invention, the number of knocks on the knocked component can only be counted once when the high-level duration and the low-level duration within one cycle of the vibration detection pulse simultaneously meet the corresponding threshold range. Otherwise, when at least one of the high-level duration and the low-level duration within one cycle of the vibration detection pulse does not meet the corresponding threshold range, the number of knocks on the knocked component is counted as zero.
[0112] In other words, when at least one of the high-level duration and the low-level duration within one cycle of the vibration detection pulse does not meet the corresponding threshold range, the vibration action that causes the vibration detection pulse to be triggered can be considered as an accidental touch action.
[0113] An exemplary embodiment of the present invention further provides a method for controlling a laundry processing device, comprising: detecting the number of knocks on a knocked component of the laundry processing device using the knock number detection method 100 described above; and generating an action instruction corresponding to the number of knocks.
[0114] For example, if the control unit 210 determines that the struck component has been struck once, it generates an action instruction corresponding to a single strike, such as a light display on the display panel of the laundry processing device. If the control unit 210 determines that the struck component has been struck twice in a row, it generates an action instruction corresponding to continuous strikes, such as the washing machine 300 receiving a washing program selected by the user or the washing machine 300 starting a washing program. If the control unit 210 determines that the struck component has been struck three times in a row, it generates an action instruction corresponding to three strikes, such as opening the door of the washing machine 300.
[0115] It should be noted that after generating the action instruction corresponding to the number of knocks, it is also necessary to obtain the child lock status and door cover status of the washing machine 300 at the current moment. If the child lock status of the washing machine 300 is currently on and / or the door cover is open, then even if the action instruction corresponding to the number of knocks is generated, the action instruction will not be executed, thereby ensuring user safety and preventing the execution of the action instruction from posing a safety hazard to the user.
[0116] 6 , the control unit 210 determines that the number of knocks on the knocked component is two consecutive times as an example to illustrate the process of detecting the number of knocks on the knocked component of the laundry processing device using the knock number detection method 100 as described above.
[0117] When the control unit 210 determines that the high-level duration t1 collected by the timer 230 meets the first threshold range, it controls the timer 230 to time the low-level duration t2 within one cycle of the vibration detection pulse; when the control unit 210 determines that the high-level duration t1 collected by the timer 230 does not meet the first threshold range, the number of tapping of the tapped component is counted as zero.
[0118] When the control unit 210 determines that the low-level duration t2 collected by the timer 230 meets the second threshold range, the number of tapping of the tapped component is counted once, and the timer 230 is controlled to time the high-level duration t3 in the next adjacent cycle of the vibration detection pulse.
[0119] When the control unit 210 determines that the low-level duration t2 collected by the timer 230 does not meet the second threshold range, the number of tapping of the tapped component is counted as zero.
[0120] When the control unit 210 determines that the high-level duration t3 in the next adjacent cycle collected by the timer 230 meets the first threshold range, the timer 230 is controlled to time the low-level duration t4 of the vibration detection pulse in the cycle.
[0121] When the control unit 210 determines that the low-level duration t4 collected by the timer 230 does not meet the second threshold range, the number of tapping of the tapped component is counted as zero.
[0122] When the control unit 210 determines that the low-level duration t4 collected by the timer 230 meets the second threshold range, the number of times the struck component is struck is counted as two consecutive times.
[0123] In other words, only when the high-level durations t1 and t3 and the low-level durations t2 and t4 simultaneously meet the corresponding threshold ranges can the number of taps on the tapped component be counted as two consecutive times. Otherwise, when at least one of the high-level durations and the low-level durations within two adjacent cycles of the vibration detection pulse does not meet the corresponding threshold range, the number of taps on the tapped component is counted as zero. That is, when at least one of the high-level durations and the low-level durations within two adjacent cycles of the vibration detection pulse does not meet the corresponding threshold range, the vibration action that caused the vibration detection pulse to be triggered can be considered an accidental touch action.
[0124] It should be noted that, according to the above principle, three or more consecutive taps can be detected, which will not be described in detail in the present invention.
[0125] Taking a washing machine 300 as an example, the vibration detection pulse triggered by a possible accidental touch action is described below with reference to Figures 7 to 10. In this embodiment, the present invention limits the first threshold range to 2ms to 40ms, and the second threshold range to 100ms to 500ms.
[0126] Figure 7 shows the vibration detection pulse triggered when the door of washing machine 300 is closed once. It can be seen that the high-level duration t1 of the vibration detection pulse triggered when the door of washing machine 300 is closed once is approximately 250ms, while the low-level duration t2 is approximately less than 50ms. Therefore, the first and second threshold ranges defined by the knock count detection method of the present invention can effectively filter out the single door closing action of washing machine 300, further reducing the false positive rate of knock signals.
[0127] Figure 8 shows the vibration detection pulses triggered when the washing machine 300 door is closed twice. It can be seen that the high-level durations t1 and t3 of the vibration detection pulses triggered during two adjacent cycles are approximately 50 ms, while the low-level durations t2 and t4 are approximately 300 ms. This indicates that the first and second threshold ranges defined by the knock count detection method of the present invention effectively filter out the double-closing action of the washing machine 300 door, further reducing the false positive rate of knock signals.
[0128] FIG9 illustrates the vibration detection pulses triggered when a laundry basket is placed on the door of a vertical washing machine 300. When a laundry basket is placed on the door of the vertical washing machine 300, the high-level duration t1 of the vibration detection pulse within one cycle is approximately 400 ms, while the low-level duration t2 is approximately 50 ms. This indicates that the first and second threshold ranges defined by the knock count detection method of the present invention effectively filter the action of placing a laundry basket on the door of the vertical washing machine 300, further reducing the false positive rate of knock signals.
[0129] Figure 10 shows the vibration detection pulses triggered by two consecutive impacts on the washing machine 300. It can be seen that when the washing machine 300 is impacted twice, the high-level durations t1 and t3 of the vibration detection pulses triggered within two adjacent cycles are approximately 100 ms, while the low-level durations t2 and t4 are approximately 200 ms. This shows that the first and second threshold ranges defined by the impact detection method of the present invention can effectively filter out the impact of two consecutive impacts on the washing machine 300, further reducing the false positive rate of impact signals.
[0130] It should be noted that the first and second threshold ranges defined by the tap count detection method of the present invention can be set according to different clothing processing devices. Specifically, R&D personnel conduct extensive testing and research before the clothing processing device leaves the factory to determine feasible threshold ranges, and store the threshold ranges in the control unit 210 for easy access.
[0131] 11 shows a flow chart of a control method 400 for a laundry processing device according to an exemplary embodiment of the present invention. The control method 400 for a laundry processing device can be applied to various existing laundry processing devices, such as washing machines, dryers, washer-dryers, care machines, and shoe washers.
[0132] As shown in FIG11 , the execution of the control method 400 of the laundry processing apparatus includes the following steps:
[0133] S410, in response to detecting a valid knocking signal for knocking on a clothes treating device, obtaining a current state of the clothes treating device; and
[0134] S420: Determine whether to execute a control instruction corresponding to the valid knocking signal according to the current state of the clothes processing device.
[0135] It should be understood that the steps shown in the control method 400 of the clothing processing device are not exclusive, and the control method 400 of the clothing processing device may also include additional steps not shown and / or may omit the steps shown, and the scope of the present invention is not limited in this respect. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other. In addition, unless explicitly limited or inconsistent with the context, the specific steps included in the method described in the present invention are not necessarily limited to the order described, but may be executed in any order or in parallel. The above-mentioned steps S410 to S420 are described in detail below with reference to Figures 1 to 12.
[0136] S410
[0137] In step S410, when the control unit detects a valid knock signal on the clothing processing device, the current state of the clothing processing device is obtained. The current state of the clothing processing device may include the current state of the child lock of the clothing processing device and / or the current state of the door cover of the clothing processing device. Optionally, the clothing processing device includes a door switch module that can be used to detect the open, closed, or locked state of the door cover. The door switch module can adopt a structure commonly used in the art, and the present invention is not limited to this.
[0138] As shown in FIG12 , the step of detecting whether the knocking signal of the clothes processing device is a valid knocking signal includes:
[0139] S411, detecting the number of times a knocked component of the clothes processing device is knocked;
[0140] S412: Determine whether the knocking signal of the clothes processing device is a valid knocking signal according to the detected number of knocking times.
[0141] 2 to 5B , the terms used in the present invention will be described in detail in conjunction with the tapping number detection device provided by the present invention.
[0142] As shown in FIG. 2 , the tap detection device 200 includes a control unit 210 , a vibration sensor system 220 , a timer 230 , and a counter 240 .
[0143] The vibration sensor system 220 is configured to be mounted on the struck component of the clothing processing device, and is used to emit a vibration detection pulse. For example, as shown in Figure 3, for a washing machine 300, the vibration sensor system 220 is configured to be mounted on the back side of the display panel of the washing machine 300, and is used to emit a vibration detection pulse when a user strikes the display panel.
[0144] It should be noted that the location of the vibration sensor system 220 can be adaptively adjusted according to the tapping control mode. Taking the washing machine 300 as an example, the tapping control mode can be tapping to start / pause washing, tapping to select a washing mode, tapping to control door opening, etc.
[0145] Specifically, vibration sensor system 220 detects the vibration of the struck component and, when the detected vibration exceeds a vibration threshold, issues a signal indicating a vibration detection pulse has been triggered, e.g., a high level. If the detected vibration does not exceed the vibration threshold, the vibration detection pulse is not triggered and is at a low level, as shown in FIG5A . It should be noted that the vibration here refers to the amplitude of the vibration wave.
[0146] In other words, one cycle of the vibration detection pulse includes a high-level duration and a low-level duration. The high-level duration refers to the duration when the vibration amount detected in one cycle exceeds the vibration amount threshold, and the low-level duration refers to the duration when the vibration amount detected does not exceed the vibration amount threshold.
[0147] It can be understood that when the detected vibration amount does not exceed the vibration amount threshold, for example, the vibration wave attenuates so that the vibration amount does not exceed the vibration amount threshold, the vibration detection pulse emitted by the vibration sensor system 220 remains in a low level state, as shown in Figure 4B.
[0148] In some embodiments, referring again to FIG. 3 , the vibration sensor system 220 includes a vibration detection module 2201 and a signal processing unit 2202 .
[0149] Among them, the vibration detection module 2201 is configured to detect the vibration amount of the struck component; the signal processing unit 2202 is connected to the vibration detection module 2201 to receive the vibration amount, and the signal processing unit 2202 is configured to send a signal to the control unit 210 indicating that a vibration detection pulse is triggered when the vibration amount exceeds the vibration amount threshold.
[0150] In some embodiments, the vibration detection module 2201 includes at least one vibration sensor 22011. When there are two or more vibration sensors 22011, at least two vibration sensors 22011 can be arranged in parallel, as shown in FIG5A , or at least two vibration sensors 22011 can be arranged in series, as shown in FIG5B , depending on the vibration sensitivity requirement of the struck component.
[0151] As an example, as shown in Figure 5A, when at least one vibration sensor 22011 of at least two vibration sensors 22011 senses that the vibration amount of the struck component exceeds the vibration amount threshold, the signal processing unit 2202 can send a signal that the vibration detection pulse is triggered, thereby improving the sensitivity of detecting vibration of the struck component.
[0152] As shown in Figure 5B, the signal processing unit 2202 sends a signal indicating that the vibration detection pulse is triggered only when all vibration sensors 22011 among at least two vibration sensors 22011 sense that the vibration amount of the struck component exceeds the vibration amount threshold, thereby reducing the sensitivity of detecting vibration of the struck component.
[0153] The timer 230 is configured to count the high-level duration and the low-level duration of the vibration detection pulse.
[0154] The control unit 210 is configured to determine the number of times the struck component is struck based on the relationship between the high-level duration and the low-level duration and a preset threshold range, and to control the counter 240 to count the number of strikes. The control unit 210 may be a main controller of the laundry processing apparatus, or a controller electrically connected to the main controller of the laundry processing apparatus.
[0155] The implementation process of step S411 will be described in detail below with reference to FIG. 2 and FIG. 5A .
[0156] When the control unit 210 determines that the high-level duration t1 collected by the timer 230 meets the first threshold range, the control unit 210 controls the timer 230 to time the low-level duration t2 within one cycle of the vibration detection pulse; when the control unit 210 determines that the high-level duration t1 collected by the timer 230 does not meet the first threshold range, the number of taps on the tapped component is counted as zero. When the control unit 210 determines that the low-level duration t2 collected by the timer 230 meets the second threshold range, the number of taps on the tapped component is counted as one. When the control unit 210 determines that the low-level duration t2 collected by the timer 230 does not meet the second threshold range, the number of taps on the tapped component is counted as zero.
[0157] To sum up, in the above scheme of the present invention, the number of knocks on the knocked component can only be counted once when the high-level duration and the low-level duration within one cycle of the vibration detection pulse simultaneously meet the corresponding threshold range. Otherwise, when at least one of the high-level duration and the low-level duration within one cycle of the vibration detection pulse does not meet the corresponding threshold range, the number of knocks on the knocked component is counted as zero.
[0158] In other words, when at least one of the high-level duration and the low-level duration within one cycle of the vibration detection pulse does not meet the corresponding threshold range, the vibration action that causes the vibration detection pulse to be triggered can be considered as an accidental touch action.
[0159] In some embodiments, in step S412, when the number of knocks on the knocked component is detected to be at least two consecutive times, the knock signal for knocking on the laundry processing device is determined to be a valid knock signal. As an example, if the control unit 210 determines that the number of knocks on the knocked component is two consecutive times, the action instruction corresponding to the valid knock signal may include, for example, the washing machine 300 receiving a washing program selected by the user, or the washing machine 300 starting a washing program. If the control unit 210 determines that the number of knocks on the knocked component is three consecutive times, the action instruction corresponding to the valid knock signal may include, for example, opening the door of the washing machine 300.
[0160] 6 , the process of detecting the number of times the struck component of the laundry processing apparatus is struck is described below using the example where the control unit 210 determines that the number of times the struck component is struck is two consecutive times.
[0161] When the control unit 210 determines that the high-level duration t1 collected by the timer 230 meets the first threshold range, it controls the timer 230 to time the low-level duration t2 within one cycle of the vibration detection pulse; when the control unit 210 determines that the high-level duration t1 collected by the timer 230 does not meet the first threshold range, the number of tapping of the tapped component is counted as zero.
[0162] When the control unit 210 determines that the low-level duration t2 collected by the timer 230 meets the second threshold range, the number of tapping of the tapped component is counted once, and the timer 230 is controlled to time the high-level duration t3 in the next adjacent cycle of the vibration detection pulse.
[0163] When the control unit 210 determines that the low-level duration t2 collected by the timer 230 does not meet the second threshold range, the number of tapping of the tapped component is counted as zero.
[0164] When the control unit 210 determines that the high-level duration t3 in the next adjacent cycle collected by the timer 230 meets the first threshold range, the timer 230 is controlled to time the low-level duration t4 of the vibration detection pulse in the cycle.
[0165] When the control unit 210 determines that the low-level duration t4 collected by the timer 230 does not meet the second threshold range, the number of tapping of the tapped component is counted as zero.
[0166] When the control unit 210 determines that the low-level duration t4 collected by the timer 230 meets the second threshold range, the number of times the struck component is struck is counted as two consecutive times.
[0167] In other words, only when the high-level durations t1 and t3 and the low-level durations t2 and t4 simultaneously meet the corresponding threshold ranges can the number of taps on the tapped component be counted as two consecutive times. Otherwise, when at least one of the high-level durations and the low-level durations within two adjacent cycles of the vibration detection pulse does not meet the corresponding threshold range, the number of taps on the tapped component is counted as zero. That is, when at least one of the high-level durations and the low-level durations within two adjacent cycles of the vibration detection pulse does not meet the corresponding threshold range, the vibration action that caused the vibration detection pulse to be triggered can be considered an accidental touch action.
[0168] It should be noted that, according to the above principle, three or more consecutive taps can be detected, which will not be described in detail in the present invention.
[0169] Taking a washing machine 300 as an example, the vibration detection pulse triggered by a possible accidental touch action is described below with reference to Figures 7 to 10. In this embodiment, the present invention limits the first threshold range to 2ms to 40ms, and the second threshold range to 100ms to 500ms.
[0170] Figure 7 shows the vibration detection pulse triggered when the door of washing machine 300 is closed once. It can be seen that when the door of washing machine 300 is closed once, the high-level duration t1 within one cycle of the vibration detection pulse is approximately 250ms, while the low-level duration t2 is approximately less than 50ms. Therefore, the first and second threshold ranges defined by the control method for a laundry processing device of the present invention can effectively filter out the single closing action of the door of washing machine 300, further reducing the false positive rate of knock signals.
[0171] Figure 8 shows the vibration detection pulses triggered when the door of washing machine 300 is closed twice. It can be seen that the high-level durations t1 and t3 of the vibration detection pulses triggered during the two adjacent cycles of the vibration detection pulses are approximately 50ms, while the low-level durations t2 and t4 are approximately 300ms. This indicates that the first and second threshold ranges defined by the control method for a laundry processing device of the present invention can effectively filter out the double closing of the door of washing machine 300, further reducing the false positive rate of knock signals.
[0172] FIG9 illustrates the vibration detection pulses triggered when a laundry basket is placed on the door of a vertical washing machine 300. When a laundry basket is placed on the door of the vertical washing machine 300, the high-level duration t1 of the vibration detection pulse within one cycle is approximately 400 ms, while the low-level duration t2 is approximately 50 ms. This indicates that the first and second threshold ranges defined by the control method for a laundry processing device of the present invention effectively filter out the action of placing a laundry basket on the door of the vertical washing machine 300, further reducing the false positive rate of knock signals.
[0173] Figure 10 shows the vibration detection pulses triggered by two consecutive impacts on the washing machine 300. It can be seen that when the washing machine 300 is impacted twice, the high-level durations t1 and t3 of the vibration detection pulses triggered within two adjacent cycles are approximately 100ms, while the low-level durations t2 and t4 are approximately 200ms. This shows that the first and second threshold ranges defined by the control method for the laundry processing device of the present invention can effectively filter out the action of two consecutive impacts on the washing machine 300, further reducing the misjudgment rate of the impact signal.
[0174] It should be noted that the first and second threshold ranges defined by the control method for a laundry processing device of the present invention can be set according to different laundry processing devices. Specifically, R&D personnel conduct extensive testing and research before the laundry processing device leaves the factory to determine feasible threshold ranges, and store the threshold ranges in the control unit 210 for easy access.
[0175] S420
[0176] In step S420, when it is determined that the child lock of the laundry processing device is currently in the on state and / or the door cover of the laundry processing device is currently in the open state, the control instruction corresponding to the valid knocking signal is ignored to avoid executing the control instruction corresponding to the valid knocking signal and causing certain safety hazards to the user. When it is determined that the child lock of the laundry processing device is currently in the off state and the door cover of the laundry processing device is currently in the closed state, the control instruction corresponding to the valid knocking signal is executed.
[0177] As an example, taking the washing machine 300 shown in Figure 3, the control instruction corresponding to the valid knocking signal is to directly start the washing machine program or the wake-up function when the washing machine is in the off state. Then, when the child lock is turned on, even if the knocking signal triggered by the action of knocking on the washing machine is a valid knocking signal, the control instruction corresponding to the valid knocking signal is still not allowed to take effect. Only when the child lock is released can the control instruction corresponding to the valid knocking signal be started.
[0178] Similarly, when the detection door cover is open, it is not allowed to directly start the program. Therefore, when the door cover is detected to be open, the control instruction corresponding to the valid knock signal will be ignored. Only when the detection door is closed for a certain period of time, the control instruction corresponding to the valid knock signal will be allowed to take effect.
[0179] FIG. 13 shows a structure of an electronic device according to an exemplary embodiment of the present invention.
[0180] As shown in Figure 13, the electronic device 500 includes a processor 501 and a memory 502. The processor 501 is connected to the vibration sensor system 220 and receives a signal that the vibration detection pulse is triggered. The memory 502 is in communication with the processor 501. The memory 502 stores a program that can be executed by the processor. When the program is executed by the processor, the processor 501 can execute the above-mentioned method 100 for detecting the number of taps and the control method for a clothing processing device. As an example, the electronic device can be the control unit 210 of the clothing processing device.
[0181] The electronic device 500 shown in FIG13 further includes a bus 503 and a communication interface 504 , and the processor 501 , the communication interface 504 and the memory 502 are connected via the bus 503 .
[0182] The memory 502 may include high-speed random access memory (RAM) and may also include non-volatile memory 502 (Non-Volatile Memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is achieved through at least one communication interface 504 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 503 may be an ISA bus, a PCI bus, or an EISA bus. The bus 503 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bidirectional arrow is used in Figure 13, but this does not mean that there is only one bus 503 or only one type of bus 503.
[0183] The processor 501 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 501 or by software instructions. The above processor 501 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor, or the processor 501 may be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is located in memory 502, and processor 501 reads information in memory 502 and, in conjunction with its hardware, completes the steps of the method of the aforementioned embodiment.
[0184] An exemplary embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is called and executed by the processor 501, the computer executable instructions prompt the processor 501 to implement the above-mentioned number of knock detection method 100 and clothing processing device control method 400. The specific implementation can be found in the method embodiment and will not be repeated here.
[0185] The computer program product of the knock count detection method 100, the clothing processing device control method 400, and the electronic device 500 provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the previous method embodiments. For specific implementation, please refer to the method embodiments and will not be repeated here.
[0186] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0187] The above description is merely a preferred embodiment of the present invention and does not constitute any form of limitation to the present invention. Although the present invention has been disclosed as above in terms of a preferred embodiment, it is not intended to limit the present invention. Any technician familiar with this patent can make slight changes or modifications to equivalent embodiments using the above technical content without departing from the scope of the technical solution of the present invention. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the solution of the present invention.
Claims
1. A method for detecting the number of taps, characterized in that Including: Collecting the high-level duration and the low-level duration within one period of the vibration detection pulse; And Determining the number of knocks on the component being knocked according to the relationship between the collected high-level duration and low-level duration and a preset threshold range.
2. The tapping frequency detection method according to claim 1, wherein It also includes: Collecting the high-level duration within one period of the vibration detection pulse; When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one period of the vibration detection pulse; When it is determined that the collected high-level duration does not meet the first threshold range, counting the number of knocks on the component being knocked as zero times.
3. The tapping frequency detection method according to claim 1, wherein It also includes; Collecting the high-level duration within one period of the vibration detection pulse; When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one period of the vibration detection pulse; When it is determined that the collected low-level duration meets the second threshold range, counting the number of knocks on the component being knocked as one time.
4. The tapping count detection method according to claim 1, characterized in that, It also includes; Collecting the high-level duration within one period of the vibration detection pulse; When it is determined that the collected high-level duration meets the first threshold range, collecting the low-level duration within one period of the vibration detection pulse; When it is determined that the collected low-level duration does not meet the second threshold range, counting the number of knocks on the component being knocked as zero times.
5. A tapping times detection device, characterized in that, Including: A vibration sensor system configured to be mounted on the component being knocked for emitting vibration detection pulses; A timer configured to time the high-level duration and the low-level duration within one period of the vibration detection pulse; A control unit for determining the number of knocks on the component being knocked according to the relationship between the high-level duration and the low-level duration and a preset threshold range.
6. The knock number detection device according to claim 5, wherein The control unit is configured such that When it is determined that the high-level duration collected by the timer meets the first threshold range, controlling the timer to time the low-level duration within one period of the vibration detection pulse; When it is determined that the high-level duration collected by the timer does not meet the first threshold range, counting the number of knocks on the component being knocked as zero times.
7. The knock number detection device according to claim 5, wherein The control unit is configured such that When it is determined that the high-level duration collected by the timer meets the first threshold range, controlling the timer to time the low-level duration within one period of the vibration detection pulse; When it is determined that the low-level duration collected by the timer meets the second threshold range, counting the number of knocks on the component being knocked as one time.
8. The knock number detection device according to claim 5, wherein The control unit is configured such that When it is determined that the high-level duration collected by the timer meets the first threshold range, controlling the timer to time the low-level duration within one period of the vibration detection pulse; When it is determined that the low-level duration collected by the timer does not meet the second threshold range, the number of taps on the tapped component is counted as zero times.
9. A control method for a laundry treatment device, characterized in that, Comprising: Detecting the number of taps on the tapped component of the laundry treatment device by using the tap number detection method according to any one of claims 1 to 4; Generating an action instruction corresponding to the number of taps.
10. A control method for a laundry treatment device, characterized in that, Comprising: Detecting the number of taps on the tapped component of the laundry treatment device by using the tap number detection method according to any one of claims 1 to 4; Determining whether the tap signal for tapping the laundry treatment device is a valid tap signal according to the detected number of taps; In response to determining that a valid tap signal for tapping the laundry treatment device is detected, obtaining the state of the laundry treatment device at the current moment; and Determining whether to execute a control instruction corresponding to the valid tap signal according to the state of the laundry treatment device at the current moment.
11. The control method of the laundry treatment device according to claim 10, wherein The step of determining whether the tap signal for tapping the laundry treatment device is a valid tap signal according to the detected number of taps comprises: When it is detected that the number of taps on the tapped component is counted as at least two consecutive times, determining that the tap signal for tapping the laundry treatment device is a valid tap signal.
12. The control method of the laundry treatment device according to claim 10 or 11, wherein The step of obtaining the state of the laundry treatment device at the current moment comprises: Obtaining the state of the child lock of the laundry treatment device at the current moment, and / or obtaining the state of the door cover of the laundry treatment device at the current moment.
13. The control method of the laundry treatment device according to claim 12, wherein The step of determining whether to execute a control instruction corresponding to the valid tap signal according to the state of the laundry treatment device at the current moment comprises: When the state of the child lock of the laundry treatment device at the current moment is in the open state, and / or the state of the door cover of the laundry treatment device at the current moment is in the open state, ignoring the control instruction corresponding to the valid tap signal; When the state of the child lock of the laundry treatment device at the current moment is in the closed state, and the state of the door cover of the laundry treatment device at the current moment is in the closed state, executing the control instruction corresponding to the valid tap signal.
14. An electronic device, characterized in that, Comprising: A processor; And A memory, communicatively connected to the processor; Wherein, the memory stores a program executable by the processor, and when the program is executed by the processor, the processor can execute the tap number detection method according to any one of claims 1 to 4 or the control method of the laundry treatment device according to any one of claims 9 to 13.
15. A readable storage medium, characterized in that, A computer program is stored on a readable storage medium, and when the computer program is executed by a processor, the tap number detection method according to any one of claims 1 to 4 or the control method of the laundry treatment device according to any one of claims 9 to 13 is implemented.
Citation Information
Patent Citations
Clothes treating equipment capable of controlling machine door by knocking and control method thereof
CN111809357A
Washing machine control method and device, storage medium and washing machine
CN112760904A
Equipment control method and device based on knocking and storage medium
CN116795318A
Laundry treating apparatus that knocks control door
CN210420610U
Washing machine, method for operation of the same, and program
JP2011156244A