Method for adjusting touch sensitivity of touch screen, electronic device, touch device, and laundry treating apparatus
By dynamically adjusting the touchscreen trigger threshold based on power ripple in the garment processing equipment, the problem of button failure or accidental touch caused by changes in touch button sensitivity is solved, improving the accuracy of equipment operation and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2026-03-17
- Publication Date
- 2026-07-07
AI Technical Summary
The sensitivity of the touch buttons on the garment processing equipment varies at different stages of operation, leading to button malfunction or accidental touches, which affects the accuracy of equipment operation.
Based on the current working stage of the garment processing equipment and the motor speed, the power ripple is obtained, and the trigger threshold of the touch screen is dynamically adjusted to match the current power ripple, ensuring the sensitivity stability of the touch screen in different working stages.
The touch sensitivity of the touchscreen has been improved, avoiding button malfunctions or accidental touches, thus enhancing the reliability of human-computer interaction and user satisfaction.
Smart Images

Figure CN121857997B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of clothing processing technology, and in particular to a method for adjusting the touch sensitivity of a touch screen, an electronic device, a touch device, and a clothing processing device. Background Technology
[0002] During the operation of the garment processing equipment, the sensitivity of the touch buttons on the touch screen may change. In severe cases, the buttons may become malfunctioning or accidentally pressed, causing the garment processing equipment to fail to perform the corresponding operation according to the user's touch intentions. Summary of the Invention
[0003] This disclosure provides a method for adjusting the touch sensitivity of a touchscreen, an electronic device, a touch device, and a garment processing device to solve or alleviate one or more technical problems in the prior art.
[0004] As a first aspect of this disclosure, this disclosure provides a method for adjusting the touch sensitivity of a touchscreen, applied to a garment processing device, the method comprising:
[0005] In response to the current working stage of the garment processing equipment being a first preset working stage, the current motor speed is obtained, wherein the first preset working stage includes at least one of a washing stage, a rinsing stage, a spin-drying stage, and a drying stage;
[0006] Under the condition of meeting the preset conditions, the first power ripple generated by the clothing processing device in the first preset working stage and at the current motor speed is obtained. The preset conditions indicate that the trigger threshold of the touch screen in the first preset working stage and at the current motor speed is less than or equal to the initial trigger threshold. The initial trigger threshold is the trigger threshold of the touch screen in the second preset working stage. The second preset working stage includes at least one of the following: power-on non-operation stage, standby stage, and pause stage.
[0007] In response to the first power ripple being greater than the second power ripple, the trigger threshold of the touch screen is dynamically adjusted at least according to the first power ripple, so that the trigger threshold of the touch screen at the first preset working stage and the current motor speed is greater than the initial trigger threshold, and the second power ripple is the power ripple generated by the clothing processing device in the second preset working stage.
[0008] In some embodiments, dynamically adjusting the trigger threshold of the touchscreen based at least on the first power ripple includes:
[0009] The adjusted power ripple is obtained based on the first power ripple and the first adjustment coefficient, wherein the adjusted power ripple is smaller than the first power ripple.
[0010] Based on the initial trigger threshold and the second adjustment coefficient, an adjusted trigger threshold is obtained, wherein the adjusted trigger threshold is greater than the initial trigger threshold.
[0011] If the adjusted power ripple is greater than the second power ripple, the steps of adjusting the power ripple and adjusting the trigger threshold are executed repeatedly until the adjusted power ripple is less than or equal to the second power ripple.
[0012] If the adjusted power ripple is less than or equal to the second power ripple, the adjusted trigger threshold will be used as the trigger threshold of the touch screen in the first preset working stage and at the current motor speed.
[0013] In some embodiments, the first adjustment factor is the same as the second adjustment factor.
[0014] In some embodiments, dynamically adjusting the trigger threshold of the touchscreen based at least on the first power ripple includes:
[0015] Based on the first power supply ripple and the preset mapping relationship between power supply ripple and trigger threshold, the target trigger threshold corresponding to the first power supply ripple is determined. The preset mapping relationship between power supply ripple and trigger threshold represents the trigger threshold corresponding to different power supply ripples.
[0016] The trigger threshold of the touch screen at the first preset working stage and the current motor speed is adjusted to the target trigger threshold.
[0017] In some embodiments, it also includes:
[0018] Query the historical data of the garment processing equipment;
[0019] If the historical data does not contain any records of adjusting the touchscreen trigger threshold in the historical working state, it is determined that the preset conditions are met. The historical working state includes the historical working stage and the historical motor speed under the historical working stage. The historical working stage is the same as the first preset working stage, and the historical motor speed is the same as the current motor speed.
[0020] In some embodiments, it also includes:
[0021] Obtain the current trigger threshold of the touch screen at the current motor speed during the first preset working stage;
[0022] If the current trigger threshold is less than or equal to the initial trigger threshold, the preset condition is determined to be met.
[0023] In some embodiments, it also includes:
[0024] In response to the current working stage of the clothing processing device being the second preset working stage, the initial trigger threshold of the touch screen is maintained in the second preset working stage;
[0025] Alternatively, in response to the touch screen's current trigger threshold being greater than the initial trigger threshold during the first preset working phase and at the current motor speed, the current trigger threshold is maintained.
[0026] Alternatively, in response to the first power supply ripple being less than or equal to the second power supply ripple, the trigger threshold of the touchscreen at the first preset working stage and the current motor speed is maintained as the initial trigger threshold.
[0027] In some embodiments,
[0028] The trigger threshold of the touch screen during the drying stage is greater than the trigger threshold during the washing and / or rinsing stages.
[0029] The trigger threshold of the touchscreen during the washing or rinsing stage is greater than the trigger threshold during the dehydration stage.
[0030] As a second aspect of this disclosure, an electronic device is provided, including:
[0031] At least one processor; and
[0032] A memory communicatively connected to the at least one processor; wherein,
[0033] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform any of the methods described in this disclosure.
[0034] As a third aspect of the present disclosure, the present disclosure provides a touch device including a touch screen and a controller or an electronic device described in the present disclosure, the controller being configured to perform the method described in any one of the present disclosures.
[0035] As a second aspect of the present disclosure, the present disclosure provides a garment processing device, including the electronic device described in the present disclosure, or including the touch device described in the present disclosure.
[0036] The technical solution of this disclosure embodiment obtains the current motor speed when the garment processing device is in a first preset working stage; under preset conditions, it obtains the first power ripple generated at the current motor speed during the first preset working stage; when the first power ripple is greater than the second power ripple, the current state of the garment processing device has a significant impact on touch sensitivity. Therefore, based on the first power ripple, the trigger threshold of the touch screen is dynamically adjusted so that the trigger threshold of the touch screen at the current motor speed during the first preset working stage is greater than the initial trigger threshold, thereby improving the touch sensitivity of the touch screen, mitigating the problem of touch button failure or accidental touch caused by the first power ripple, ensuring effective operation of the garment processing device by the user through the touch screen, improving the reliability of human-computer interaction, and increasing user satisfaction.
[0037] The above overview is for illustrative purposes only and is not intended to be limiting in any way. Further aspects, embodiments, and features of this disclosure will become readily apparent from the accompanying drawings and the following detailed description, in addition to the illustrative aspects, embodiments, and features described above. Attached Figure Description
[0038] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn according to coefficients. It should be understood that these drawings depict only some embodiments according to this disclosure and should not be construed as limiting the scope of this disclosure.
[0039] Figure 1 This is a flowchart illustrating a method for adjusting touch sensitivity of a touchscreen according to an embodiment of this disclosure;
[0040] Figure 2 This is a schematic diagram illustrating the process of adjusting the touch sensitivity of a touchscreen in one embodiment of this disclosure. Detailed Implementation
[0041] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of this disclosure, and different embodiments can be combined arbitrarily without conflict. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.
[0042] It is understandable that garment processing equipment has different working stages, such as standby stage, washing stage, rinsing stage, dehydration stage, and drying stage. Furthermore, the working states of electrical components in garment processing equipment, such as motors, fans, and compressors (in heat pump dryers), are different in different working stages.
[0043] In related technologies, garment processing equipment typically uses a touchscreen for control. The touchscreen may employ capacitive sensing technology, and each touch button has a trigger threshold, reflecting its sensitivity. When the capacitance generated by a touch action exceeds the trigger threshold, the touch button is activated, and the garment processing equipment performs the corresponding operation.
[0044] In related technologies, the trigger threshold for each touch button is the same at different working stages, all using an initial trigger threshold. However, the sensitivity of the touch buttons can change. The inventors of this case have studied and analyzed the reasons for the changes in touch button sensitivity and found that: at different working stages, the operation of electrical components such as motors and fans in the garment processing equipment generates power ripple. This power ripple couples to the sensor electrodes of the touch screen, forming false electrical signals, which leads to changes in the sensitivity of the touch buttons.
[0045] The electrical components of a garment processing device operate at different stages of operation, and the water level in the processing tank also varies. These factors result in differences in the power ripple interference generated at different stages of operation. This difference in power ripple interference affects the sensitivity of touch buttons differently, potentially leading to button malfunction or accidental button presses, preventing the garment processing device from responding to the user's touch input.
[0046] While there are solutions in the relevant patents for adjusting the sensitivity of touch buttons, these solutions only consider the impact of the frequency of use of the garment processing equipment on the sensitivity and cannot effectively address button malfunctions or accidental button presses.
[0047] This disclosure discloses a method for adjusting the touch sensitivity of a touchscreen, applied in a garment processing device. When it is determined that the current working stage of the garment processing device is one of a first preset working stage, such as a washing stage, a rinsing stage, a spin-drying stage, or a drying stage, the current motor speed is obtained. If the trigger threshold of the touchscreen under the first preset working stage and the current motor speed is less than or equal to an initial trigger threshold, a first power ripple generated by the garment processing device under the first preset working stage and the current motor speed is obtained. If the first power ripple is greater than a second power ripple, the trigger threshold of the touchscreen is dynamically adjusted so that the trigger threshold of the touchscreen under the first preset working stage and the current motor speed is greater than the initial trigger threshold. The second power ripple is the power ripple generated by the garment processing device under the second preset working stage, which includes at least one of a power-on inactive stage, a standby stage, and a pause stage. This solution dynamically adjusts the touchscreen's trigger threshold based on the first power supply ripple, ensuring that the touchscreen's trigger threshold at the first preset working stage and the current motor speed is greater than the initial trigger threshold. This matches the touchscreen's trigger threshold with the first power supply ripple, eliminating the need for a constant initial trigger threshold. This improves the accuracy of user control of the garment processing equipment via the touchscreen at different working stages, avoids touch button sensitivity failure or accidental touches caused by power supply ripple, guarantees effective user control of the garment processing equipment via the touchscreen, and enhances the reliability of human-computer interaction.
[0048] The technical solutions of this disclosure are described in detail below through examples.
[0049] Figure 1 This is a flowchart illustrating a method for adjusting the touch sensitivity of a touchscreen in one embodiment of the present disclosure. The method is applied to a garment processing device and includes steps S11 to S13.
[0050] In step S11, in response to the current working stage of the garment processing equipment being a first preset working stage, the current motor speed is obtained. The first preset working stage includes at least one of the washing stage, rinsing stage, dehydration stage, and drying stage.
[0051] Clothing processing equipment can include washing machines, washer-dryer combos, or dryers. Based on the workflow, the operating states of clothing processing equipment can be divided into stages such as a start-up and inactive phase, a standby phase, a pause phase, a washing phase, a rinsing phase, a spin-drying phase, and a drying phase. The first preset working phase includes at least one of the washing, rinsing, spin-drying, and drying phases.
[0052] Typically, during the washing stage, the motor speed is ≤60 rpm; during the rinsing stage, the motor speed is ≤40 rpm; during the spin-drying stage, the motor speed is 600-1200 rpm; and during the drying stage, the motor speed is ≤20 rpm. Furthermore, the fan operates during the drying stage. For clothing processing equipment using heat pump drying, the compressor also operates during the drying stage. During the start-up, standby, and pause stages, the motor speed is 0.
[0053] During the first preset operating phase, the electrical components operate, causing greater power ripple in the garment processing equipment, which affects the sensitivity of the touch buttons. Therefore, during the operation of the garment processing equipment, it is necessary to determine whether the current operating phase is the first preset operating phase. When it is in the first preset operating phase, it may be necessary to adjust the touch sensitivity of the touch screen. At this time, the current motor speed can be obtained.
[0054] It is understandable that different garment processing devices may have different motor speeds for the same working stage. Therefore, in this embodiment, it is necessary to obtain the current motor speed in the first preset working stage, as the power ripple may be different for different motor speeds.
[0055] In step S12, under the condition that the preset conditions are met, the first power ripple generated by the clothing processing device in the first preset working stage at the current motor speed is obtained.
[0056] Understandably, the trigger thresholds for the touchscreen in each working stage can be stored. The second preset working stage includes at least one of the following: a power-on inactive stage, a standby stage, and a pause stage. The power-on inactive stage can be understood as the garment processing device being powered on, but not operating, or the motor not rotating. In the second preset working stage, the motor speed of the garment processing device is 0. Therefore, the power ripple generated by the garment processing device is relatively small in this stage. Furthermore, the trigger threshold of the touchscreen in the garment processing device is typically set based on the power ripple of the second preset working stage. Therefore, the trigger threshold of the touchscreen in the second preset working stage is called the initial trigger threshold, which can be the lowest trigger threshold for the touchscreen in the garment processing device.
[0057] The preset condition indicates that the trigger threshold of the touchscreen in the first preset working stage and at the current motor speed is less than or equal to the initial trigger threshold. If the garment processing device meets the preset condition, it indicates that the trigger threshold of the touchscreen in the first preset working stage may be too low. In this case, the first power ripple generated by the garment processing device in the first preset working stage and at the current motor speed can be obtained.
[0058] For example, the garment processing equipment can store the correspondence between different working stages, different motor speeds, and power ripple, and this correspondence can be stored in the form of a relational table. After determining the first preset working stage and the current motor speed, the relational table is queried to obtain the first power ripple.
[0059] In another embodiment, the garment processing equipment may be equipped with a power ripple detection module to acquire the first power ripple generated at the current motor speed during the first preset working stage. The specific method for acquiring the first power ripple is not limited here; those skilled in the art can acquire the first power ripple using an appropriate method according to actual needs.
[0060] In step S13, in response to the first power supply ripple being greater than the second power supply ripple, the trigger threshold of the touch screen is dynamically adjusted at least according to the first power supply ripple, so that the trigger threshold of the touch screen in the first preset working stage and at the current motor speed is greater than the initial trigger threshold.
[0061] The second power ripple is the power ripple generated by the garment processing device during a second preset operating phase. Typically, the initial trigger threshold is set based on the second power ripple.
[0062] In this article, "the first power supply ripple is greater than the second power supply ripple" should be understood as "the amplitude of the first power supply ripple is greater than the amplitude of the second power supply ripple". "The first power supply ripple is less than or equal to the second power supply ripple" should be understood as "the amplitude of the first power supply ripple is less than or equal to the amplitude of the second power supply ripple".
[0063] When the first power ripple is greater than the second power ripple, it indicates that the current state of the garment processing equipment generates a large power ripple, which has a significant impact on touch sensitivity. If the touch screen still uses the previously set trigger threshold, it may cause touch failure or accidental touch. Therefore, it is necessary to dynamically adjust the trigger threshold of the touch screen according to the first power ripple, so that the trigger threshold of the touch screen in the first preset working stage and at the current motor speed is greater than the initial trigger threshold, so as to reduce the sensitivity of the garment processing equipment in the first preset working stage and avoid touch failure or accidental touch caused by the first power ripple.
[0064] The technical solution disclosed herein obtains the current motor speed when the garment processing equipment is in the first preset working stage; under preset conditions, it obtains the first power ripple generated at the current motor speed during the first preset working stage; when the first power ripple is greater than the second power ripple, the current state of the garment processing equipment has a significant impact on touch sensitivity. Therefore, based on the first power ripple, the trigger threshold of the touchscreen is dynamically adjusted so that the trigger threshold of the touchscreen at the current motor speed during the first preset working stage is greater than the initial trigger threshold. This improves the touch sensitivity of the touchscreen, mitigates the problem of touch button failure or accidental touch caused by the first power ripple, ensures effective operation of the garment processing equipment by the user through the touchscreen, enhances the reliability of human-computer interaction, and increases user satisfaction.
[0065] In one embodiment, dynamically adjusting the trigger threshold of the touchscreen based at least on a first power ripple may include: step S131, obtaining an adjusted power ripple based on the first power ripple and a first adjustment coefficient, wherein the adjusted power ripple is less than the first power ripple; step S132, obtaining an adjusted trigger threshold based on the initial trigger threshold and a second adjustment coefficient, wherein the adjusted trigger threshold is greater than the initial trigger threshold; if the adjusted power ripple is greater than the second power ripple, repeatedly executing the steps of adjusting the power ripple and adjusting the trigger threshold until the adjusted power ripple is less than or equal to the second power ripple; if the adjusted power ripple is less than or equal to the second power ripple, using the adjusted trigger threshold as the trigger threshold of the touchscreen in the first preset working stage at the current motor speed.
[0066] A first adjustment factor and a second adjustment factor can be set, both of which are coefficients greater than 0 and less than 1. The first adjustment factor and the second adjustment factor can be the same or different. For example, the first adjustment factor and the second adjustment factor can be the same.
[0067] The adjusted power ripple can be obtained based on the first power supply ripple and the first adjustment coefficient. For example, if the first power supply ripple is denoted as Wd and the first adjustment coefficient is denoted as η1, the adjusted power supply ripple can be calculated using formula (1):
[0068] Adjusted power supply ripple = Wd × (1-η1), formula (1)
[0069] The adjusted trigger threshold is obtained based on the initial trigger threshold and the second adjustment coefficient. For example, if the initial trigger threshold is denoted as C0 and the second adjustment coefficient is denoted as η2, the adjusted trigger threshold can be calculated using formula (2):
[0070] The adjusted trigger threshold = C0 × (1 + η2), formula (2)
[0071] The relationship between the adjusted power ripple and the second power ripple is determined. If the adjusted power ripple is greater than the second power ripple Wk, it indicates that the adjusted trigger threshold still cannot eliminate the influence of the first power ripple on the touch button sensitivity. Therefore, the steps of adjusting the power ripple and adjusting the trigger threshold need to be executed repeatedly. That is, if after executing steps S131 and S132 in the first round, the adjusted power ripple is greater than the second power ripple, then the adjusted power ripple is used as the first power ripple and the adjusted trigger threshold is used as the initial trigger threshold to execute steps S131 and S132 in the next round. This process is repeated until the adjusted power ripple is less than or equal to the second power ripple.
[0072] When the adjusted power ripple is less than or equal to the second power ripple, it indicates that the adjusted trigger threshold can eliminate the influence of the first power ripple on the touch button sensitivity. Therefore, the adjusted trigger threshold can be used as the trigger threshold of the touch screen in the first preset working stage and at the current motor speed. In other words, the trigger threshold of the touch screen in the first preset working stage and at the current motor speed can be adjusted to the adjusted trigger threshold.
[0073] For example, after executing steps S131 and S132 in the i-th round, when the adjusted power ripple is less than or equal to the second power ripple, the corresponding adjusted trigger threshold is Ci. Therefore, the trigger threshold of the touchscreen in the first preset working stage at the current motor speed is adjusted to Ci. Thus, when the touch capacitance of the touch button is greater than or equal to Ci, the touch button can respond, controlling the clothing processing device to perform the corresponding operation.
[0074] The above embodiments use a step-by-step adjustment method to gradually adjust the trigger threshold, which can improve the accuracy of the adjustment process and reduce adjustment errors.
[0075] In another embodiment, the trigger threshold of the touchscreen is dynamically adjusted based at least on the first power ripple, including: determining a target trigger threshold corresponding to the first power ripple based on the first power ripple and a preset mapping relationship between power ripple and trigger threshold, wherein the preset mapping relationship between power ripple and trigger threshold represents the trigger threshold corresponding to different power ripples; and adjusting the trigger threshold of the touchscreen at the first preset working stage and the current motor speed to the target trigger threshold.
[0076] A mapping relationship between each working stage of the garment processing equipment and the motor speed can be established in advance, as well as a mapping relationship between power ripple and trigger threshold. For example, the mapping relationship between power ripple and trigger threshold can be stored in a relational table. Table 1 is a mapping relationship table between each working stage of the garment processing equipment and the motor speed in one embodiment, and Table 2 is a mapping relationship table between power ripple and trigger threshold in one embodiment. Tables 1 and 2 are as follows.
[0077] Table 2 shows the mapping relationship between power supply ripple and trigger threshold in one embodiment.
[0078]
[0079] Table 2 shows the mapping relationship between power supply ripple and trigger threshold in one embodiment.
[0080]
[0081] Table 1 shows the actual motor speed of the garment processing equipment at different working stages. During the washing stage, the motor speed is ≤60 rpm; during the rinsing stage, the motor speed is ≤40 rpm; during the spin-drying stage, the motor speed is 600~1200 rpm; during the drying stage, the motor speed is ≤20 rpm; during the start-up, standby, and pause stages, the motor speed is 0.
[0082] In the embodiment shown in Table 2, the power supply voltage of the display panel of the garment processing equipment is 12VDC. The power supply ripple in Table 2 was detected under the conditions of amplitude ≥50mVp-p and frequency ≥500Hz. Therefore, all ripples in Table 2 meet the requirements of amplitude ≥50mVp-p and frequency ≥500Hz.
[0083] The "fan working" stage in Table 2 corresponds to the drying stage of the hot air type equipment. During the drying stage, the fan and motor are working, and the first power ripple generated is about 127mV. The "compressor working" stage corresponds to the drying stage of the heat pump type equipment. During this drying stage, the compressor and motor are working. Due to the greater electromagnetic interference of the compressor, the first power ripple generated is about 308mV.
[0084] For example, when the motor speed is between 600 and 1200 rpm, it indicates that the garment processing equipment is in the high-speed / extreme-speed dehydration stage. In this case, the motor rotates smoothly and has a certain inertia, generating an initial power supply ripple of approximately 96 mV. When the motor speed is ≤100 rpm, it indicates that the motor is in a medium / low-speed rotation state, and the garment processing equipment may be in the washing, rinsing, or drying stage. Due to the low speed, the motor rotation is unstable, and the generated initial power supply ripple is larger than that at medium / low speeds, at approximately 112 mV.
[0085] As shown in Table 2, during the start-up, standby, and pause phases of the garment processing equipment, when the motor is not working, the first power ripple generated by other electrical components is approximately 45mV~55mV.
[0086] Table 2 also shows the mapping relationship between each power supply ripple and the trigger threshold. It is understood that the data given in Table 2 are merely exemplary data. In actual implementation, each data point can be detected or measured according to actual needs to obtain the mapping relationship between power supply ripple and trigger threshold at different motor speeds.
[0087] Based on the first power supply ripple, a mapping table between power supply ripple and trigger threshold can be consulted to determine the target trigger threshold corresponding to the first power supply ripple. After determining the target trigger threshold, the trigger threshold of the touchscreen at the first preset working stage and the current motor speed is adjusted to the target trigger threshold. For example, if the first preset working stage is the dehydration stage and the current motor speed is 800 rpm, by consulting Tables 1 and 2, the target trigger threshold is determined to be 14 pF. Therefore, the trigger threshold at the current motor speed is adjusted from the initial trigger threshold of 10 pF to 14 pF.
[0088] Typically, before adjusting the trigger threshold for the first preset working stage, the trigger threshold for the touch screen is the initial trigger threshold for each working stage of the garment processing equipment.
[0089] As can be seen from Table 2, the trigger threshold of the touchscreen during the drying stage is greater than the trigger threshold during the washing and / or rinsing stages. The trigger threshold of the touchscreen during the washing or rinsing stage is greater than the trigger threshold during the dehydration stage.
[0090] Before acquiring the first power ripple, it is necessary to determine whether the clothing processing equipment meets the preset conditions. If the preset conditions are not met, it is not necessary to acquire the first power ripple, and therefore there is no need to adjust the trigger threshold.
[0091] In one embodiment, the clothing processing device saves the data from each processing cycle after completion. If the touchscreen trigger threshold for the first preset working stage and the current motor speed was adjusted during previous operation, then no further adjustment is needed.
[0092] Therefore, the method of querying historical data can be used to determine whether the preset conditions are met. The method disclosed herein may include: querying the historical data of the clothing processing equipment; if there is no record of adjusting the trigger threshold of the touch screen in the historical working state in the historical data, it is determined that the preset conditions are met. The historical working state includes the historical working stage and the historical motor speed under the historical working stage. The historical working stage is the same as the first preset working stage, and the historical motor speed is the same as the current motor speed.
[0093] In other words, by querying the historical data of the clothing processing equipment, if a historical working state exists in the historical data, where the historical working stage is the same as the first preset working stage, and the historical motor speed is the same as the current motor speed, but the touchscreen trigger threshold was not adjusted in the historical working state, then the preset condition is met. If the touchscreen trigger threshold in the historical working state is greater than the initial trigger threshold, then it is considered that there is a record of adjusting the touchscreen trigger threshold; if the touchscreen trigger threshold is less than or equal to the initial trigger threshold, then it is considered that there is no record of adjusting the touchscreen trigger threshold. In another example, if the historical data of the clothing processing equipment is queried and no such historical working state is found, then the preset condition is met, i.e., the touchscreen trigger threshold under the first preset working stage and the current motor speed has not been adjusted, and there is no record of adjusting the touchscreen trigger threshold.
[0094] If the historical data of the garment processing equipment is queried, and if there is a historical working state in the historical data, the historical working stage is the same as the first preset working stage, the historical motor speed is the same as the current motor speed, and the trigger threshold of the touch screen has been adjusted in the historical working state (i.e., the trigger threshold corresponding to the touch screen is greater than the initial trigger threshold), it indicates that the trigger threshold of the garment processing equipment under the first preset working stage and the current motor speed has been adjusted. In this case, it is determined that the preset conditions are not met, the first power ripple does not need to be obtained, and the trigger threshold under the first preset working stage and the current motor speed does not need to be repeatedly adjusted.
[0095] It is understandable that the garment processing equipment stores the touch screen trigger thresholds at the corresponding rotation speeds for each working stage. If the trigger thresholds are adjusted, the corresponding trigger thresholds will be updated. The touch screen trigger thresholds at the corresponding rotation speeds for each working stage currently stored in the garment processing equipment can be called the corresponding current trigger thresholds.
[0096] In one embodiment, the method of this disclosure may further include: obtaining the current trigger threshold of the touch screen at the first preset working stage and the current motor speed; if the current trigger threshold is less than or equal to the initial trigger threshold, determining that the preset condition is met.
[0097] Typically, before any adjustment to the trigger threshold, the trigger threshold is stored as the initial trigger threshold. To determine whether the preset conditions are met, the current trigger threshold of the touchscreen at the first preset working stage and the current motor speed can be obtained; that is, the trigger threshold currently stored in the clothing processing device at the first preset working stage and the current motor speed. If the current trigger threshold is less than or equal to the initial trigger threshold, it indicates that the trigger threshold has not been adjusted, and the preset conditions are confirmed to be met. This determination method is more efficient, as it can directly read the current trigger threshold from the storage module of the clothing processing device, thereby efficiently determining whether the preset conditions are met.
[0098] The method disclosed herein may further include: in response to the current operating stage of the garment processing device being the second preset operating stage, maintaining the initial trigger threshold of the touchscreen in the second preset operating stage. If it is determined that the current operating stage of the garment processing device is the second preset operating stage, the power ripple generated by such an operating stage corresponds to the initial trigger threshold, and there is no need to adjust the initial trigger threshold of this operating stage; maintaining the initial trigger threshold of the touchscreen is sufficient.
[0099] In another embodiment, the method of this disclosure may further include: maintaining the current trigger threshold in response to the touchscreen being greater than the initial trigger threshold at the current motor speed during the first preset working phase. As can be seen from the above, this situation indicates that the trigger threshold of the touchscreen has been adjusted in a historical working state and no longer meets the preset conditions. Therefore, it is not necessary to repeat the adjustment; maintaining the adjusted trigger threshold (i.e., the current trigger threshold) is sufficient.
[0100] In another embodiment, the method of this disclosure may further include: in response to a first power supply ripple being less than or equal to a second power supply ripple, maintaining the trigger threshold of the touch screen at the current motor speed in a first preset operating phase as the initial trigger threshold.
[0101] It is understandable that when the garment processing equipment is in the first preset working stage, the first power supply ripple may be less than or equal to the second power supply ripple due to the motor stopping or the water level in the garment processing tank being too high. In this case, the first power supply ripple will not affect the touch sensitivity of the touchscreen, or its impact on touch sensitivity is very small and can be ignored. Therefore, in this case, it is sufficient to maintain the touchscreen trigger threshold at the initial trigger threshold, and there is no need to adjust the trigger threshold.
[0102] Figure 2 This is a schematic diagram of the touch sensitivity adjustment process of a touch screen in one embodiment of the present disclosure. See below for reference. Figure 2 The technical solution of this disclosure is illustrated by way of example, wherein the clothing processing equipment is a washing machine, and the first adjustment coefficient and the second adjustment coefficient are both 5%.
[0103] When the washing machine reaches a certain stage, it first acquires the data for the current working stage and determines whether the current working stage is the washing machine's first preset working stage (washing, rinsing, spin-drying, or drying stage). If not, there is no need to dynamically adjust the touchscreen trigger threshold. If the current working stage is the start-up or pause stage, it waits for the next working stage data acquisition. If the current working stage is the first preset working stage, it acquires the current motor speed (low, medium, high, and high speed) for the current working stage. Then, it determines whether the preset conditions are met, i.e., whether there is a dynamic adjustment record for the touchscreen button sensitivity at this speed during this stage. If the preset conditions are not met (i.e., a dynamic adjustment record exists), no dynamic adjustment is needed, and it waits for the next working stage data acquisition. If the preset conditions are met (i.e., no dynamic adjustment records are recorded), the first power ripple Wd at the current motor speed during the current working stage is obtained. Then, it is determined whether the amplitude of the first power ripple Wd is greater than the second power ripple Wk when the washing machine is turned on. If not, no dynamic adjustment is needed, and the process waits for the data acquisition of the next working stage. If so, it is determined that the first power ripple Wd affects the sensitivity of the touch buttons on the washing machine's touchscreen. Then, the amplitude of the first power ripple is reduced by 5%, and the trigger threshold of the touch buttons is increased by 5%. Then, it is determined whether the amplitude of the adjusted power ripple Wd is greater than the second power ripple Wk. This process is repeated until the amplitude of the adjusted power ripple is less than or equal to the second power ripple, at which point the dynamic adjustment stops, and the process waits for the data acquisition of the next working stage.
[0104] According to embodiments of this disclosure, an electronic device is also provided. The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform the methods of any embodiment of this disclosure.
[0105] One embodiment of this disclosure also provides a touch device, including a touch screen and the electronic device or controller of this disclosure, the controller being used to execute the methods of this disclosure. This disclosure also provides a garment processing device, including the electronic device of this disclosure, or including the touch device of this disclosure.
[0106] This disclosure also provides a readable storage medium storing a computer program that, when executed by a processor, implements the methods as described in any embodiment of this disclosure.
[0107] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0108] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0109] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0110] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0111] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0112] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0113] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
Claims
1. A method for adjusting the touch sensitivity of a touchscreen, characterized in that, Applied to garment processing equipment, the method includes: In response to the current working stage of the garment processing equipment being a first preset working stage, the current motor speed is obtained, wherein the first preset working stage includes at least one of a washing stage, a rinsing stage, a spin-drying stage, and a drying stage; Determine whether the current motor speed meets the preset conditions; Under the condition of meeting the preset conditions, the first power ripple generated by the clothing processing device in the first preset working stage and at the current motor speed is obtained. The preset conditions indicate that the trigger threshold of the touch screen in the first preset working stage and at the current motor speed is less than or equal to the initial trigger threshold. The initial trigger threshold is the trigger threshold of the touch screen in the second preset working stage. The second preset working stage includes at least one of the following: power-on non-operation stage, standby stage, and pause stage. In response to the first power ripple being greater than the second power ripple, the trigger threshold of the touch screen is dynamically adjusted at least according to the first power ripple, so that the trigger threshold of the touch screen at the first preset working stage and the current motor speed is greater than the initial trigger threshold, and the second power ripple is the power ripple generated by the clothing processing device in the second preset working stage.
2. The method according to claim 1, characterized in that, The step of dynamically adjusting the trigger threshold of the touchscreen based at least on the first power supply ripple includes: The adjusted power ripple is obtained based on the first power ripple and the first adjustment coefficient, wherein the adjusted power ripple is smaller than the first power ripple. Based on the initial trigger threshold and the second adjustment coefficient, an adjusted trigger threshold is obtained, wherein the adjusted trigger threshold is greater than the initial trigger threshold. If the adjusted power ripple is greater than the second power ripple, the steps of adjusting the power ripple and adjusting the trigger threshold are executed repeatedly until the adjusted power ripple is less than or equal to the second power ripple. If the adjusted power ripple is less than or equal to the second power ripple, the adjusted trigger threshold will be used as the trigger threshold of the touch screen in the first preset working stage and at the current motor speed.
3. The method according to claim 2, characterized in that, The first adjustment factor is the same as the second adjustment factor.
4. The method according to claim 1, characterized in that, The step of dynamically adjusting the trigger threshold of the touchscreen based at least on the first power supply ripple includes: Based on the first power supply ripple and the preset mapping relationship between power supply ripple and trigger threshold, the target trigger threshold corresponding to the first power supply ripple is determined. The preset mapping relationship between power supply ripple and trigger threshold represents the trigger threshold corresponding to different power supply ripples. The trigger threshold of the touch screen at the first preset working stage and the current motor speed is adjusted to the target trigger threshold.
5. The method according to any one of claims 1-4, characterized in that, Also includes: Query the historical data of the garment processing equipment; If the historical data does not contain any records of adjusting the touchscreen trigger threshold in the historical working state, it is determined that the preset conditions are met. The historical working state includes the historical working stage and the historical motor speed under the historical working stage. The historical working stage is the same as the first preset working stage, and the historical motor speed is the same as the current motor speed.
6. The method according to any one of claims 1-4, characterized in that, Also includes: Obtain the current trigger threshold of the touch screen at the current motor speed during the first preset working stage; If the current trigger threshold is less than or equal to the initial trigger threshold, the preset condition is determined to be met.
7. The method according to claim 1, characterized in that, Also includes: In response to the current working stage of the clothing processing device being the second preset working stage, the initial trigger threshold of the touch screen is maintained in the second preset working stage; Alternatively, in response to the touch screen's current trigger threshold being greater than the initial trigger threshold during the first preset working phase and at the current motor speed, the current trigger threshold is maintained. Alternatively, in response to the first power supply ripple being less than or equal to the second power supply ripple, the trigger threshold of the touchscreen at the first preset working stage and the current motor speed is maintained as the initial trigger threshold.
8. The method according to claim 1, characterized in that, The trigger threshold of the touch screen during the drying stage is greater than the trigger threshold during the washing and / or rinsing stages. The trigger threshold of the touchscreen during the washing or rinsing stage is greater than the trigger threshold during the dehydration stage.
9. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
10. A touch device, characterized in that, It includes a touchscreen and a controller or the electronic device of claim 9, the controller being used to perform the method of any one of claims 1-8.
11. A garment processing device, characterized in that, It includes the electronic device of claim 9, or the touch device of claim 10.