Electrical equipment, gear calibration method and device thereof and storage medium

By changing gear positions in electrical equipment and performing real-time calibration, the problem of cumbersome disassembly operation under the phenomenon of serial gears is solved, and the equipment's user experience and production efficiency are improved.

CN120236927APending Publication Date: 2025-07-01GUANGDONG MIDEA CONSUMER ELECTRICS MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311871524.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

When existing electrical equipment is serialized, they need to disassemble the machine and replace the circuit board or refresh the program. The steps are cumbersome and affect the user experience, production efficiency and yield rate.

Method used

By changing the gear position of the electrical equipment, entering the real-time calibration mode, using the voltage difference between the first preset gear position and the second preset gear position, each gear position of the electrical equipment is calibrated to avoid disassembly operation.

Benefits of technology

Real-time calibration of the entire electrical equipment is realized, unnecessary repairs, rework or scrapping are reduced, and user experience, production efficiency and yield rate are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120236927A_ABST
    Figure CN120236927A_ABST
Patent Text Reader

Abstract

The invention discloses electrical equipment, a gear calibration method and device thereof and a storage medium. The method comprises the steps that under the condition that it is determined that the gear position of the electrical equipment is inaccurate, the gear position of the electrical equipment is a first preset gear position, and a first voltage value under the first preset gear position is acquired; controlling the electrical equipment to enter a calibration mode; in the calibration mode, the electrical equipment is controlled to operate at a first preset rotating speed, the gear position of the electrical equipment is set as a second preset gear position, a second voltage value under the second preset gear position is obtained, and the second preset gear position is smaller than the first preset gear position; and carrying out gear calibration on the electrical equipment according to the first voltage value and the second voltage value. Thus, in the production or use process of the electrical equipment, the complete machine can be calibrated in real time by changing the gears of the electrical equipment, the tedious steps of disassembling and replacing a circuit board or disassembling and refreshing a program again are avoided, reworking or scrapping is reduced, and the use experience, the production efficiency and the yield of the electrical equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical equipment, and in particular to a gear calibration method for an electrical equipment, a gear calibration device for an electrical equipment, a computer-readable storage medium, and an electrical equipment. Background Art

[0002] In the related art, during the production or use of an electrical equipment with a rotary switch, such as a chef machine, when it is detected that the current gear of the chef machine does not match the actual rotation speed, that is, there is a gear cross phenomenon, it is necessary to disassemble the machine to replace the circuit board or re-disassemble the machine to refresh the program. This method has cumbersome steps and affects the user experience, production efficiency, and yield rate of the product. Summary of the Invention

[0003] The present invention aims to solve at least one of the technical problems in the related art to some extent. For this purpose, an object of the present invention is to provide an electrical equipment and its gear calibration method, device, and storage medium. During the production or use of the electrical equipment, the gear of the electrical equipment can be changed to perform real-time calibration of the whole machine, avoiding the cumbersome steps of disassembling the machine to replace the circuit board or re-disassembling the machine to re-refresh the program, reducing unnecessary repairs, rework, or scrapping, and improving the user experience, production efficiency, and yield rate of the electrical equipment.

[0004] To achieve the above object, a gear calibration method for an electrical equipment according to a first aspect embodiment of the present invention includes: when it is determined that the gear of the electrical equipment is inaccurate, setting the gear of the electrical equipment to a first preset gear, and obtaining a first voltage value at the first preset gear; controlling the electrical equipment to enter a calibration mode; in the calibration mode, controlling the electrical equipment to operate at a first preset rotation speed, setting the gear of the electrical equipment to a second preset gear, and obtaining a second voltage value at the second preset gear, where the second preset gear is less than the first preset gear; and calibrating the gear of the electrical equipment according to the first voltage value and the second voltage value.

[0005] According to an embodiment of the present invention, calibrating the gear of the electrical equipment according to the first voltage value and the second voltage value includes: obtaining the number of gears between the second preset gear and the first preset gear; determining the voltage difference between adjacent gears according to the voltage difference between the first voltage value and the second voltage value and the number of gears; and calibrating each gear of the electrical equipment according to the voltage difference.

[0006] According to an embodiment of the present invention, before obtaining the second voltage value at the second preset gear, the method further includes: when it is determined that the electrical equipment is operating stably, controlling the electrical equipment to stop operating.

[0007] According to an embodiment of the present invention, controlling an electrical device to enter a calibration mode includes: when the gear position of the electrical device is set to a first preset gear position, controlling the electrical device to be powered on for a first preset time; after setting the gear position of the electrical device to a third preset gear position, setting the gear position of the electrical device to the first preset gear position, and repeating this cycle more than a first preset number of times to determine that the electrical device enters the calibration mode.

[0008] According to an embodiment of the present invention, the third preset gear position is less than the first preset gear position, and the number of gear positions between the first preset gear position and the third preset gear position is greater than a preset number.

[0009] According to an embodiment of the present invention, determining that the gear position of the electrical device is inaccurate includes: obtaining the actual rotation speed and the current gear position of the electrical device; when the rotation speed corresponding to the current gear position is different from the actual rotation speed, determining that the gear position of the electrical device is inaccurate.

[0010] According to an embodiment of the present invention, after performing gear position calibration on the electrical device, the method further includes: setting the gear position of the electrical device to a second preset gear position; when the rotation speed at the second preset gear position is the same as the first preset rotation speed, determining that the gear position calibration is successful.

[0011] To achieve the above object, an embodiment of the second aspect of the present invention provides a gear position calibration device for an electrical device, including: a control module, configured to, when determining that the gear position of the electrical device is inaccurate, set the gear position of the electrical device to a first preset gear position, and obtain a first voltage value at the first preset gear position; the control module is further configured to control the electrical device to enter a calibration mode, and in the calibration mode, control the electrical device to operate at a first preset rotation speed, and set the gear position of the electrical device to a second preset gear position, and obtain a second voltage value at the second preset gear position, where the second preset gear position is less than the first preset gear position; a calibration module, configured to perform gear position calibration on the electrical device according to the first voltage value and the second voltage value.

[0012] To achieve the above object, an embodiment of the third aspect of the present invention provides a computer-readable storage medium, on which a gear position calibration program for an electrical device is stored, and when the gear position calibration program for the electrical device is executed by a processor, the foregoing gear position calibration method for the electrical device is implemented.

[0013] To achieve the above object, an embodiment of the fourth aspect of the present invention provides an electrical device, including a memory, a processor, and a gear position calibration program for the electrical device stored in the memory and executable on the processor. When the processor executes the gear position calibration program for the electrical device, the foregoing gear position calibration method for the electrical device is implemented.

[0014] An electrical device according to an embodiment of the present invention, and its gear calibration method, device, and storage medium. During the production or use of the electrical device, the whole machine can be calibrated in real time by changing the gear of the electrical device, avoiding the cumbersome steps of disassembling the machine to replace the circuit board or re-disassembling the machine to re-flash the program, reducing unnecessary repairs, rework, or scrapping, and improving the user experience, production efficiency, and yield rate of the electrical device. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 FIG. is a schematic diagram of an electrical device according to an embodiment of the present invention.

[0016] Figure 2 FIG. is a schematic diagram of a gear knob according to an embodiment of the present invention.

[0017] Figure 3 FIG. is a flowchart of a gear calibration method for an electrical device according to an embodiment of the present invention.

[0018] Figure 4 FIG. is a flowchart of a gear calibration method for an electrical device according to another embodiment of the present invention.

[0019] Figure 5 FIG. is a schematic structural diagram of a gear calibration device for an electrical device according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0020] Embodiments of the present invention will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present invention, and should not be construed as limiting the present invention.

[0021] The electrical device according to an embodiment of the present invention, and its gear calibration method, device, and storage medium will be described in detail below with reference to the accompanying drawings.

[0022] In an embodiment of the present invention, refer to Figure 1, the electrical device may include a household electrical appliance with a potentiometer adjustment gear. For example, the electrical device can be a planetary mixer. Taking the planetary mixer as an example, the planetary mixer may include a gear knob 100, and the gear knob 100 is a potentiometer. When rotating the gear knob, the circuit board determines the actual gear where the gear knob is currently located by detecting the AD (Analog Digital) value of the voltage division of the potentiometer, and then controls the output speed of the electrical device. Exemplarily, the electrical device may include N working gears, which are gear 0, gear 1, gear 2,..., gear N respectively. Among them, gear 0 is the stop gear, corresponding to the working speed of the electrical device being 0; gear 1 is the lowest working gear, corresponding to the lowest working speed of the electrical device, and gear N is the highest working gear, corresponding to the highest working speed of the electrical device. Hereinafter, taking the electrical device including 7 working gears as an example for illustration, but it is not a specific limitation to this application.

[0023] Exemplarily, referring to Figure 2 , the gear knob altogether includes 7 working gears, which are gear 0, gear 1, gear 2,..., gear 7 respectively. During the working process of the electrical device, the electrical device can be controlled to work in a specified gear by rotating the gear knob to a specified position. Among them, gear 0 is the stop gear, corresponding to the working speed of the electrical device being 0; gear 1 is the lowest working gear, corresponding to the lowest working speed of the electrical device, and gear 7 is the highest gear, corresponding to the highest working speed of the electrical device. During the production or use process of the electrical device, due to factors such as the resistance value accuracy fluctuation of the potentiometer itself, the resistance value linearity deviation of the potentiometer, and the assembly gap between the gear knob and the potentiometer device, there is a deviation between the voltage AD value originally set for each stepped gear by the main control chip and the gear relationship where the actual gear knob position is located, thus resulting in the gear shifting phenomenon of the electrical device. For example, the gear knob shows gear 3, while the actual working speed is gear 2 or gear 4. Based on this, in the embodiments of the present invention, during the production or use process of the electrical device, the gear of the electrical device can be changed to perform real-time calibration of the whole machine, avoiding the cumbersome steps of disassembling the machine to replace the circuit board or re-disassembling the machine to re-flash the program, reducing unnecessary repairs, rework or scrapping, and improving the use experience, production efficiency and yield rate of the electrical device.

[0024] Figure 3 is a schematic flowchart of a gear calibration method for an electrical device according to an embodiment of the present invention. Referring to Figure 3 , the gear calibration method for the electrical device may include:

[0025] S110, when it is determined that the gear of the electrical device is inaccurate, set the gear of the electrical device to a first preset gear, and obtain a first voltage value at the first preset gear.

[0026] Specifically, when it is determined that the gear position of the electrical device is inaccurate, the gear position of the electrical device is set to the first preset gear position, and the first preset gear position is designated as a relatively high gear position, such as gear 7 or gear 6. At this time, power is supplied to the electrical device, the main control chip receives the data under the first preset gear position and detects the corresponding AD value, and simultaneously obtains the first voltage value based on the AD value.

[0027] Exemplarily, it is assumed that the ADC (Analog-to-Digital Converter) peripheral accuracy of the main control chip in the electrical device is n bits, and the reference voltage is U V. When the main control chip detects that the AD value is 2 n at this time, the corresponding first voltage value obtained is U V. Then, the voltage value corresponding to each AD value is U / 2 n V. Thus, when it is determined that the gear position of the electrical device is inaccurate, the gear position of the electrical device is set to the first preset gear position, such as gear 7 or gear 6. The main control chip receives the data under the first preset gear position and detects that the corresponding AD value is m, then the obtained first voltage value is m×U / 2 n V.

[0028] S120, control the electrical device to enter the calibration mode.

[0029] Specifically, after obtaining the first voltage value under the first preset gear position, it is necessary to rotate the gear knob in accordance with a preset method within a short period of time to control the electrical device to enter the calibration mode, otherwise the electrical device will still be in the normal working mode.

[0030] S130, in the calibration mode, control the electrical device to operate at the first preset speed, set the gear position of the electrical device to the second preset gear position, and obtain the second voltage value under the second preset gear position, where the second preset gear position is less than the first preset gear position.

[0031] Specifically, after the electrical device enters the calibration mode, it operates at the first preset speed, and the first preset speed is the speed corresponding to the second preset gear position of the electrical device. At this time, the gear position of the electrical device is set to the second preset gear position, and the second preset gear position is less than the first preset gear position and is designated as a relatively low gear position, such as gear 1 or gear 2. That is to say, when the second preset gear position is gear 1, the first preset speed is the speed corresponding to gear 1, that is, the lowest working speed of the electrical device; when the second preset gear position is gear 2, the first preset speed is the speed corresponding to gear 2. The main control chip receives the data under the second preset gear position and detects the corresponding AD value, and obtains the second voltage value based on the AD value.

[0032] Exemplarily, after the electrical device enters the calibration mode and runs stably at the first preset speed, set the gear position of the electrical device to the second preset gear, for example, gear 1. The main control chip receives the data at the second preset gear and detects that the corresponding AD value is x. Then, obtain the second voltage value as x×U / 2 n V.

[0033] S140, perform gear calibration on the electrical device according to the first voltage value and the second voltage value.

[0034] Specifically, the first preset gear is a higher gear, corresponding to the first voltage value; the second preset gear is a lower gear, corresponding to the second voltage value. Since the span between the first preset gear and the second preset gear is relatively large, the first voltage value and the second voltage value can almost represent the voltage values at both ends of the gear of the electrical device. According to the voltage values at both ends of the gear, re-distribute the voltage values of each gear, and the gear calibration of the electrical device can be completed.

[0035] In this way, during the production or use of the electrical device, the whole machine can be calibrated in real time by changing the gear of the electrical device, avoiding the cumbersome steps of disassembling the machine to replace the circuit board or re-disassembling the machine to re-flash the program, reducing unnecessary repairs, rework or scrapping, and improving the use experience, production efficiency and yield rate of the electrical device.

[0036] In some embodiments, performing gear calibration on the electrical device according to the first voltage value and the second voltage value includes: obtaining the number of gears between the second preset gear and the first preset gear; determining the voltage difference between adjacent gears according to the voltage difference between the first voltage value and the second voltage value, and the number of gears; calibrating each gear of the electrical device according to the voltage difference.

[0037] Specifically, the first preset gear is selected as a higher working gear, and the first voltage value is obtained when the electrical device works at the first preset gear; the second preset gear is selected as a lower working gear, and the second voltage value is obtained when the electrical device works at the second preset gear. Obtain the number of gears between the first preset gear and the second preset gear and the voltage difference between the first voltage value and the second voltage value, and re-distribute the voltage difference between the first voltage value and the second voltage value according to the number of gears, and the voltage difference between adjacent gears can be determined. For example, the voltage difference between adjacent gears = (first voltage value - second voltage value) ÷ (first preset gear - second preset gear). Re-distribute the voltage value of each gear of the electrical device according to the voltage difference, and the gear calibration of the electrical device is completed.

[0038] As a first example, when the first preset gear is gear 7, the first voltage value obtained when the electrical device operates at the first preset gear is 10V; when the second preset gear is gear 1, the second voltage value obtained when the electrical device operates at the second preset gear is 1V. The voltage difference between adjacent gears = (10 - 1) ÷ (7 - 1) = 1.5V. After reassigning the voltage values to each gear of the electrical device according to the voltage difference, the voltage value corresponding to gear 1 is 1V, the voltage value corresponding to gear 2 is 2.5V, the voltage value corresponding to gear 3 is 4V, …, the voltage value corresponding to gear 7 is 10V. In this way, the gear calibration of the electrical device is completed.

[0039] As a second example, when the first preset gear is gear 6, the first voltage value obtained when the electrical device operates at the first preset gear is 8.5V; when the second preset gear is gear 2, the second voltage value obtained when the electrical device operates at the second preset gear is 2.5V. The voltage difference between adjacent gears = (8.5 - 2.5) ÷ (6 - 2) = 1.5V. After reassigning the voltage values to each gear of the electrical device according to the voltage difference, the voltage value corresponding to gear 2 is 2.5V, the voltage value corresponding to gear 3 is 4V, …, the voltage value corresponding to gear 6 is 8.5V. Then the voltage value corresponding to gear 1 should be 2.5 - 1.5 = 1V, and the voltage value corresponding to gear 7 should be 8.5 + 1.5 = 10V. In this way, the gear calibration of the electrical device is completed.

[0040] In this way, by selecting the first preset gear and the second preset gear with a relatively large gear interval, the calibration accuracy of the electrical device can be improved.

[0041] In some embodiments, before obtaining the second voltage value at the second preset gear, the method further includes: controlling the electrical device to stop operating when it is determined that the electrical device is operating stably.

[0042] Specifically, after the electrical device enters the calibration mode, it operates at the first preset speed. At this time, the gear of the electrical device is set to the second preset gear. When it is detected that the electrical device is operating stably at the second preset gear, the electrical device is controlled to stop operating, the second voltage value at the second preset gear is obtained, and the gear calibration of the electrical device is performed based on the first voltage value and the second voltage value to improve the calibration accuracy.

[0043] In some embodiments, controlling the electrical device to enter the calibration mode includes: when the gear of the electrical device is set to the first preset gear, controlling the electrical device to be powered on for the first preset time. After setting the gear of the electrical device to the third preset gear, the gear of the electrical device is set to the first preset gear, and this cycle is repeated more than the first preset number of times to determine that the electrical device enters the calibration mode.

[0044] Specifically, when it is determined that the gear position of the electrical device is inaccurate, set the gear position of the electrical device to the first preset gear position, obtain the first voltage value at the first preset gear position, and then rotate the gear knob according to a preset method to control the electrical device to enter the calibration mode.

[0045] Exemplarily, after setting the gear position of the electrical device to the first preset gear position, power on the electrical device and set the gear position of the electrical device to the third preset gear position within the first preset time. The first preset time is set to a relatively short value, such as 5 s, and the third preset gear position is designated as a relatively low gear position, such as gear position 1. Subsequently, immediately set the gear position of the electrical device to the first preset gear position, and repeat this cycle more than the first preset number of times. The first preset number of times is usually two or more times, and the electrical device will enter the calibration mode; otherwise, the electrical device remains in the normal working mode.

[0046] In this way, by setting a relatively short first preset time and a relatively large first preset number of times, it is possible to avoid the user accidentally touching and entering the calibration mode during normal use to a certain extent.

[0047] In some embodiments, the third preset gear position is less than the first preset gear position, and the number of gear positions between the first preset gear position and the third preset gear position is greater than the preset number.

[0048] Specifically, the first preset gear position is designated as a relatively high gear position, such as gear position 7, and the second preset gear position is designated as a relatively low gear position, such as gear position 1. It is necessary to ensure that the third preset gear position is less than the first preset gear position, and the number of gear positions between the first preset gear position and the third preset gear position is greater than the preset number, that is to say, the interval between the first preset gear position and the third preset gear position should be wide enough, so as to avoid the user accidentally touching and entering the calibration mode during normal use to a certain extent.

[0049] In some embodiments, determining that the gear position of the electrical device is inaccurate includes: obtaining the actual rotation speed and the current gear position of the electrical device; when the rotation speed corresponding to the current gear position is different from the actual rotation speed, determining that the gear position of the electrical device is inaccurate.

[0050] Specifically, during the production process of the electrical device, it is necessary to determine whether the gear position of the electrical device is accurate according to whether the rotation speed corresponding to the current gear position is the same as the actual rotation speed. When it is determined that the gear position of the electrical device is inaccurate, calibrate the gear position of the electrical device.

[0051] Exemplarily, when powering on the electrical device, sequentially set the gear positions of the electrical device to gear 1, gear 2, …, gear 7. When the current gear is gear 1, detect and obtain the actual rotation speed of the electrical device through an externally connected rotation speed sensor. If the rotation speed corresponding to the current gear is different from the actual rotation speed, it is determined that the gear of the electrical device is inaccurate and the gear of the electrical device needs to be calibrated; if the rotation speed corresponding to the current gear is the same as the actual rotation speed, continue to set the gear position of the electrical device to gear 2, …, gear 7. If the rotation speeds corresponding to gear 1, gear 2, …, gear 7 are all the same as the actual rotation speed, it is determined that the gear of the electrical device is accurate and there is no need to calibrate the gear of the electrical device.

[0052] In addition, during the use of the electrical device, if the electrical device is controlled to work at a certain gear and the working duration is longer or shorter than the standard duration at this gear, it can be determined that the gear of the electrical device is inaccurate and the gear of the electrical device can be calibrated by itself.

[0053] In some embodiments, after calibrating the gear of the electrical device, the method further includes: setting the gear position of the electrical device to a second preset gear; when the rotation speed at the second preset gear is the same as the first preset rotation speed, determining that the gear calibration is successful.

[0054] Specifically, during the production process of the electrical device, after completing the gear calibration of the electrical device, obtain the actual rotation speed corresponding to the second preset gear and determine whether the actual rotation speed at the second preset gear is the same as the first preset rotation speed to determine whether the gear of the electrical device is calibrated successfully. Among them, the first preset rotation speed is the rotation speed corresponding to the second preset gear of the electrical device. Exemplarily, if the actual rotation speed at the second preset gear is the same as the first preset rotation speed, it is determined that the gear calibration is successful; if the actual rotation speed at the second preset gear is different from the first preset rotation speed, it is determined that the gear calibration fails and the gear calibration needs to be performed again.

[0055] In addition, during the use of the electrical device, after the user completes the gear calibration of the electrical device by himself, the working duration when the electrical device works at a certain gear can be compared with the standard duration at this gear to determine whether the gear of the electrical device is calibrated successfully. If the working duration is the same as the standard duration, it can be determined that the gear calibration of the electrical device is successful; otherwise, it is determined that the gear calibration of the electrical device fails.

[0056] As a specific example, referring to Figure 4 , the gear calibration method of the electrical device may include:

[0057] S201, checking the gear of the electrical device.

[0058] During the production or use of electrical equipment, gear inspection can be carried out. For example, during the production of electrical equipment, the actual speed of the electrical equipment can be detected and obtained through an externally connected speed sensor, and it can be determined whether the gear of the electrical equipment is accurate by judging whether the speed corresponding to the current gear is the same as the actual speed; during the use of electrical equipment, it can be determined whether the gear of the electrical equipment is accurate by judging whether the working duration of the electrical equipment at a certain gear is the same as the standard duration at this gear.

[0059] S202, during the production of electrical equipment, judge whether the detected speed corresponding to the current gear is the same as the actual speed. If so, execute S203; if not, execute S204.

[0060] During the use of electrical equipment, judge whether the working duration of the electrical equipment at a certain gear is the same as the standard duration at this gear. If so, execute S203; if not, execute S204.

[0061] S203, the gear of the electrical equipment is normal and no calibration is required.

[0062] During the production of electrical equipment, if the speeds corresponding to each gear are the same as the actual speed, it is determined that the gear of the electrical equipment is normal and no calibration is required; during the use of electrical equipment, if the working durations corresponding to each gear are the same as the standard duration, it is determined that the gear of the electrical equipment is normal and no calibration is required.

[0063] S204, rotate the gear knob to the first preset gear and power on to obtain the first voltage value at the first preset gear.

[0064] S205, judge whether to control the electrical equipment to power on for the first preset time, rotate the gear knob to the third preset gear, and then rotate it back to the first preset gear, repeating this two or more times. If so, execute S207; if not, execute S206.

[0065] S206, the electrical equipment is in the normal working mode.

[0066] S207, control the electrical equipment to enter the calibration mode.

[0067] S208, control the electrical equipment to run at the first preset speed and rotate the gear knob to the second preset gear.

[0068] S209, when the electrical equipment runs stably at the second preset gear, control the electrical equipment to stop running, obtain the second voltage value at the second preset gear, and start calibration, redistributing the voltage difference between the first voltage value and the second voltage value between the first preset gear and the second preset gear.

[0069] S210. After reassigning the voltage value, rotate the gear of the electrical device to the second preset gear.

[0070] S211. During the production process of the electrical device, determine whether the rotation speed at the second preset gear is the same as the first preset rotation speed. If so, execute S212; if not, execute S204.

[0071] During the use process of the electrical device, determine whether the working duration of the electrical device when operating at a certain gear is the same as the standard duration at this gear. If so, execute S212; if not, execute S204.

[0072] S212. Complete the gear calibration of the electrical device.

[0073] In summary, according to the gear calibration method of the electrical device in the embodiment of the present invention, by calibrating the gears of the electrical device whose actual rotation speed does not match the current gear, unnecessary repairs, rework or scrapping can be reduced, and the user experience, production efficiency and yield rate of the electrical device are improved. In addition, when entering the calibration mode, setting a shorter first preset time and a larger number of first preset times can, to a certain extent, prevent the user from accidentally triggering during normal use. And when performing calibration, select the first preset gear and the second preset gear with a larger gear interval to improve the calibration accuracy of the electrical device.

[0074] In some embodiments, a gear calibration device for an electrical device is also provided.

[0075] Refer to Figure 5 , the gear calibration device 300 of the electrical device includes: a control module 310 and a calibration module 320. Among them, the control module 310 is used to set the gear of the electrical device to the first preset gear and obtain the first voltage value at the first preset gear when it is determined that the gear of the electrical device is inaccurate; the control module 310 is also used to control the electrical device to enter the calibration mode, and in the calibration mode, control the electrical device to operate at the first preset rotation speed, and set the gear of the electrical device to the second preset gear, and obtain the second voltage value at the second preset gear, where the second preset gear is less than the first preset gear; the calibration module 320 is used to perform gear calibration on the electrical device according to the first voltage value and the second voltage value.

[0076] According to an embodiment of the present invention, the control module 310 is specifically used to control the electrical device to stop operating when it is determined that the electrical device is operating stably.

[0077] According to an embodiment of the present invention, the control module 310 is specifically configured to, when the gear position of the electrical device is set to the first preset gear position, control the electrical device to be powered on for a first preset time. After setting the gear position of the electrical device to the third preset gear position, the gear position of the electrical device is set to the first preset gear position, and this cycle is repeated more than the first preset number of times to determine that the electrical device enters the calibration mode.

[0078] According to an embodiment of the present invention, the control module 310 is specifically configured to obtain the actual rotation speed and the current gear position of the electrical device; when the rotation speed corresponding to the current gear position is different from the actual rotation speed, it is determined that the gear position of the electrical device is inaccurate.

[0079] According to an embodiment of the present invention, the calibration module 320 is specifically configured to obtain the number of gear positions between the second preset gear position and the first preset gear position; determine the voltage difference between adjacent gear positions according to the voltage difference between the first voltage value and the second voltage value and the number of gear positions; calibrate each gear position of the electrical device according to the voltage difference.

[0080] According to an embodiment of the present invention, the calibration module 320 is further configured to set the gear position of the electrical device to the second preset gear position; when the rotation speed at the second preset gear position is the same as the first preset rotation speed, it is determined that the gear calibration is successful.

[0081] It should be noted that the above explanations of the embodiments and beneficial effects of the gear calibration method for the electrical device also apply to the gear calibration device of the electrical device in the embodiments of the present invention. To avoid redundancy, no detailed elaboration is made here.

[0082] In some embodiments, a computer-readable storage medium is further provided, on which a gear calibration program for the electrical device is stored. When the gear calibration program for the electrical device is executed by a processor, the foregoing gear calibration method for the electrical device is implemented.

[0083] It should be noted that the above explanations of the embodiments and beneficial effects of the gear calibration method for the electrical device also apply to the computer-readable storage medium in the embodiments of the present invention. To avoid redundancy, no detailed elaboration is made here.

[0084] In some embodiments, an electrical device is further provided, including a memory, a processor, and a gear calibration program for the electrical device stored on the memory and executable on the processor. When the processor executes the gear calibration program for the electrical device, the foregoing gear calibration method for the electrical device is implemented.

[0085] It should be noted that the above explanations of the embodiments and beneficial effects of the gear calibration method for the electrical device also apply to the electrical device in the embodiments of the present invention. To avoid redundancy, no detailed elaboration is made here.

[0086] Note that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in combination with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of the computer-readable medium include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.

[0087] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0088] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0089] In addition, the terms "first" and "second" are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present invention, the meaning of "a plurality of" is at least two, such as two, three, etc., unless otherwise specifically defined.

[0090] In the present invention, unless otherwise clearly defined and limited, terms such as "installed", "connected", "coupled", "fixed", etc. should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two components or the interaction relationship between two components, unless otherwise clearly limited. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0091] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

Claims

1. A gear calibration method for an electrical device, characterized in that The method includes: When it is determined that the gear position of the electrical device is inaccurate, set the gear position of the electrical device to a first preset gear position, and obtain a first voltage value at the first preset gear position; Control the electrical device to enter a calibration mode; In the calibration mode, control the electrical device to operate at a first preset speed, set the gear position of the electrical device to a second preset gear position, and obtain a second voltage value at the second preset gear position, where the second preset gear position is less than the first preset gear position; Perform gear calibration on the electrical device according to the first voltage value and the second voltage value.

2. The gear calibration method according to claim 1, wherein Performing gear calibration on the electrical device according to the first voltage value and the second voltage value includes: Obtain the number of gear positions between the second preset gear position and the first preset gear position; Determine the voltage difference between adjacent gear positions according to the voltage difference between the first voltage value and the second voltage value and the number of gear positions; Calibrate each gear position of the electrical device according to the voltage difference.

3. The gear calibration method according to claim 1, wherein Before obtaining the second voltage value at the second preset gear position, the method further includes: When it is determined that the electrical device is operating stably, control the electrical device to stop operating.

4. The gear calibration method according to claim 1, characterized in that Controlling the electrical device to enter the calibration mode includes: When the gear position of the electrical device is set to the first preset gear position, control the electrical device to be powered on for a first preset time. After setting the gear position of the electrical device to a third preset gear position, set the gear position of the electrical device to the first preset gear position, and loop more than a first preset number of times to determine that the electrical device enters the calibration mode.

5. The gear calibration method according to claim 4, characterized in that, The third preset gear position is less than the first preset gear position, and the number of gear positions between the first preset gear position and the third preset gear position is greater than a preset number.

6. The gear calibration method according to claim 1, characterized in that, Determining that the gear position of the electrical device is inaccurate includes: Obtain the actual speed and the current gear position of the electrical device; When the speed corresponding to the current gear position is different from the actual speed, determine that the gear position of the electrical device is inaccurate.

7. The gear calibration method according to any one of claims 1-6, characterized in that, After performing gear calibration on the electrical device, the method further includes: Set the gear position of the electrical device to the second preset gear position; When the speed at the second preset gear position is the same as the first preset speed, determine that the gear calibration is successful.

8. A gear calibration device for an electrical equipment, characterized in that, Includes: A control module, configured to, when it is determined that the gear position of the electrical device is inaccurate, set the gear position of the electrical device to a first preset gear position, and obtain a first voltage value at the first preset gear position; The control module is further configured to control the electrical device to enter a calibration mode, and in the calibration mode, control the electrical device to operate at a first preset speed, and set the gear position of the electrical device to a second preset gear position, and obtain a second voltage value at the second preset gear position, where the second preset gear position is less than the first preset gear position; A calibration module, configured to perform gear calibration on the electrical device according to the first voltage value and the second voltage value.

9. A computer-readable storage medium, characterized in that, A gear calibration program of an electrical device is stored thereon. When the gear calibration program of the electrical device is executed by a processor, the gear calibration method of the electrical device according to any one of claims 1-7 is implemented.

10. An electrical device, characterized in that, It includes a memory, a processor, and a gear calibration program of an electrical device stored on the memory and executable on the processor. When the processor executes the gear calibration program of the electrical device, the gear calibration method of the electrical device according to any one of claims 1-7 is implemented.