CN113565779B - Calibration method, device, fan and storage medium - Google Patents

Calibration method, device, fan and storage medium Download PDF

Info

Publication number
CN113565779B
CN113565779B CN202010347682.9A CN202010347682A CN113565779B CN 113565779 B CN113565779 B CN 113565779B CN 202010347682 A CN202010347682 A CN 202010347682A CN 113565779 B CN113565779 B CN 113565779B
Authority
CN
China
Prior art keywords
sensor
fan
angle
stepping motor
rotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010347682.9A
Other languages
Chinese (zh)
Other versions
CN113565779A (en
Inventor
向延钊
阳雷
翟元义
陈必东
王思宇
龙永文
周宗旭
肖文渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GD Midea Environment Appliances Manufacturing Co Ltd
Original Assignee
GD Midea Environment Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GD Midea Environment Appliances Manufacturing Co Ltd filed Critical GD Midea Environment Appliances Manufacturing Co Ltd
Priority to CN202010347682.9A priority Critical patent/CN113565779B/en
Publication of CN113565779A publication Critical patent/CN113565779A/en
Application granted granted Critical
Publication of CN113565779B publication Critical patent/CN113565779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/001Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/70Wind energy
    • Y02E10/72Wind turbines with rotation axis in wind direction

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Stepping Motors (AREA)
  • Structures Of Non-Positive Displacement Pumps (AREA)

Abstract

The application provides a calibration method, a device, a fan and a storage medium, wherein the calibration method comprises the following steps: and when the target object is detected to leave the coupling area, acquiring the time length of the target object leaving the coupling area, and when the time length is larger than a time threshold or the target object is detected to enter the coupling area, performing angle offset calibration on the stepping motor by using the sensor and the sensor. By performing angle offset calibration on the stepper motor, the accuracy of fan rotation can be improved, thereby improving the satisfaction of users in using the fan.

Description

Calibration method, device, fan and storage medium
Technical Field
The embodiment of the application relates to the technical field of household appliances, in particular to a calibration method, a device, a fan and a storage medium.
Background
Along with the development of technology, intelligent home appliances are becoming more and more common. Conventional fans typically perform a rotation of a fixed symmetrical angle, such as the usual 60 °, 90 ° or 120 °, only in a fixed region, centered at an intermediate angle. With the increasing popularity of intelligent home appliances, fans are proposed following the concept of intelligent scenes such as blowing by users. The fan can position the distance and angle between the person and the fan by loading the human body identification module, and the requirement on the rotating precision of the fan is higher. The lack of calibration of the stepper motor of the fan in the conventional technology results in low accuracy of the intelligent fan following the rotation of the user, which affects the satisfaction of the user in using the intelligent fan.
Disclosure of Invention
The embodiment of the application provides a calibration method, a device, a fan and a storage medium, which can improve the rotation accuracy of an intelligent fan and the satisfaction degree of a user using the intelligent fan.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a calibration method applied to a fan, where the method includes:
when the fact that the target object leaves the coupling area is monitored, acquiring the time length of the target object leaving the coupling area, wherein the coupling area is a space area corresponding to the start-stop position of the sensor of the fan, and the sensor of the fan can sense the start-stop position of the sensor of the fan;
and when the time period is longer than a time threshold or the target object is detected to enter the coupling area, the sensor and the sensor are utilized to calibrate the angle offset of the stepping motor.
In a second aspect, an embodiment of the present application provides a calibration device applied to a fan, the device including:
the first acquisition module is used for acquiring the time length of the target object leaving the coupling area when the target object leaving the coupling area is monitored, wherein the coupling area is a space area corresponding to the start-stop position of the sensor of the fan, and the sensor of the fan can sense the start-stop position of the sensor of the fan;
And the first calibration module is used for calibrating the angle offset of the stepping motor by using the sensor and the sensor when the duration is greater than a time threshold or the target object is detected to enter the coupling area.
In a third aspect, an embodiment of the present application provides a fan, including:
the chassis is provided with an inductor;
the turntable is connected with the chassis, and a sensor is arranged on the turntable;
the stepping motor is connected with the turntable;
a processor; and
a memory for storing a computer program executable on the processor;
wherein the computer program when executed by a processor implements the steps of the calibration method described above.
In a fourth aspect, embodiments of the present application provide a storage medium having stored therein computer executable instructions configured to perform the steps of the calibration method described above.
The calibration method provided by the embodiment of the application is applied to a fan, when the fact that a target object leaves a coupling area is monitored, the time length of the target object leaving the coupling area is obtained, and when the time length is larger than a time threshold or the fact that the target object enters the coupling area is monitored, the sensor and the sensor are utilized to calibrate the angle offset of the stepping motor; therefore, the angle offset calibration of the stepping motor can be realized, the accuracy of the rotation of the fan is improved, and the satisfaction degree of a user in using the fan is improved.
Drawings
FIG. 1 is a schematic diagram of a fan according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of an implementation of the calibration method according to the embodiment of the present application;
FIG. 3 is a schematic flow chart of another implementation of the calibration method according to the embodiment of the present application;
FIG. 4 is a schematic structural diagram of a calibration device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another structure of a calibration device according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of another implementation of the calibration method according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of a fan according to an embodiment of the present application.
Detailed Description
The present application will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present application more apparent, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the terms "first", "second", "third" and the like are merely used to distinguish similar objects and do not represent a specific ordering of the objects, it being understood that the "first", "second", "third" may be interchanged with a specific order or sequence, as permitted, to enable embodiments of the application described herein to be practiced otherwise than as illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
For a better understanding of the embodiments of the present application, first, drawbacks existing in the related art will be described.
The intelligent fan is used for positioning the distance and the angle between the user and the fan by loading the human body identification module, and when the user moves, the intelligent fan rotates along with the moving position of the user so as to realize the wind following. The intelligent fan rotates along with the movement of a user, the ground is not smooth enough, external force is imposed, and the like, so that the rotation of the stepping motor can be deviated. In the related art, lack of calibration of the intelligent fan stepping motor causes precision deviation when the intelligent fan follows the rotation of a user, which affects the satisfaction degree of the user using the intelligent fan.
Based on the above problems, in the embodiment of the application, a calibration method is provided, when the sensor cannot sense the sensor, the duration exceeds the set time threshold, or when the sensor senses the sensor again, the calibration device calculates and calibrates the current angle position through the rotating direction of the stepping motor, so that the stepping motor of the intelligent fan is calibrated, the rotating accuracy of the intelligent fan can be improved, and the satisfaction degree of a user using the intelligent fan is improved.
The calibration method provided by the embodiment of the present application will be described below in connection with exemplary applications and implementations of the fan provided by the embodiment of the present application. The calibration method provided by the embodiment of the application can be implemented based on the calibration device in the fan.
Fig. 1 is a schematic structural diagram of a fan according to an embodiment of the present application, as shown in fig. 1, where the fan at least includes: chassis 101, turntable 103, and stepper motor 105; the chassis 101 is provided with an inductor 102 for sensing the position of a user; a sensor 104 is arranged on the turntable 103; the stepper motor 105 is connected with the turntable 103; the turntable 103 is connected with the chassis 101 through a bearing, the stepping motor 105 is positioned on the turntable 103, and the stepping motor is in contact with a gear of the chassis 101 through a gear to realize rotation.
In fig. 1, the angle AOB is the range of rotation angles of the stepper motor of the fan, in which the fan head can rotate to blow. The O point is the rotation center of the stepper motor 105, the COD is the coupling area between the sensor 102 and the sensor 104, i.e. the sensor 104 can sense the spatial area corresponding to the start-stop position of the sensor 102, for example, when the stepper motor 105 rotates clockwise, the sensor 104 also rotates clockwise, and when the sensor 104 rotates from OB to OD, the sensor 104 starts to sense the position of the sensor 102; the sensor 104 continues to rotate and when rotated to the OC position, the sensor 104 is no longer able to sense the position of the sensor 102. If no deviation occurs when the stepper motor 105 rotates, the angle by which the sensor 104 rotates is equal to the angle by which the stepper motor 105 rotates. If the stepping motor 105 is biased in rotation, the angle of rotation of the sensor 104 is not equal to the angle of rotation of the stepping motor 105.
Referring to fig. 2, fig. 2 is a schematic flow chart of an implementation of a calibration method according to an embodiment of the present application, which is applied to the fan shown in fig. 1, and the calibration method provided by the embodiment includes the following steps:
step S201, when the fact that the target object leaves the coupling area is monitored, the time length that the target object leaves the coupling area is acquired.
Here, the target object is an object that the fan blows, such as a user using the fan, an object, or the like. The coupling area is a space area corresponding to a start-stop position of a sensor of the fan, wherein the sensor of the fan can sense the start-stop position of the sensor of the fan. The sensor of the fan can sense the start-stop position of the sensor of the fan and comprises a start position and an end position, wherein the start position is a position where the sensor rotates clockwise around the rotation center and can sense the sensor when approaching the sensor, such as a position where a sensor rotation arc line intersects with an OD line in FIG. 1; the end position is a position where the sensor rotates anticlockwise around the rotation center and can sense the sensor when approaching to the sensor, such as a position where the sensor rotation arc line intersects with the OC line in fig. 1. Alternatively, the start position may be a position where the sensor rotation arc intersects the OC line, and the end position is a position where the sensor rotation arc intersects the OD line.
When a user moves within the coupling area < COD range, the rotation angle of the stepping motor is not deviated, and calibration is not needed. When the condition that the target object leaves the coupling area and enters the BOD or the AOC is monitored, if the target object does not return to the coupling area for a long time, the rotation angle of the stepping motor is deviated due to uneven friction resistance of gears or other reasons in the operation process of the stepping motor, and at the moment, the angle deviation calibration of the stepping motor is needed. Based on the above, when the target object is detected to leave the coupling area, the time of leaving the coupling area by the target object is counted, and the time of leaving the coupling area by the target object is obtained.
And step S202, when the time period is longer than a time threshold or the target object is detected to enter the coupling area, performing angle offset calibration on the stepping motor by using the sensor and the sensor.
When the time length of the target object leaving the coupling area is larger than a preset time threshold, the target object is indicated to be located in the BOD or AOC area for a long time, at this time, deviation of the rotation angle of the stepping motor is likely to occur, the fan is determined to meet the calibration condition, and the calibration device performs angle offset calibration on the stepping motor by using the sensor and the sensor.
Here, the time threshold may be preset by the user, for example, 30 minutes, or a default value set by the fan factory, for example, 10 minutes, which is not limited in the embodiment of the present application.
Or when the target object is monitored to enter the coupling area, namely, the target object is monitored to enter the angle area of the angle COD from the outside of the angle area of the angle COD, the stepping motor correspondingly enters the angle area of the angle COD from the outside of the angle area of the angle COD, at the moment, the sensor senses the sensor, the level changes, the generated level changes are informed to the calibration device, and the calibration device calibrates the angle offset of the stepping motor by using the sensor and the sensor.
In this embodiment, a calibration mode in which the calibration device performs angular offset calibration on the stepper motor due to the target object leaving the coupling region being longer than the time threshold is referred to as active calibration, and a calibration mode in which the calibration device performs angular offset calibration on the stepper motor due to the target object entering the coupling region is referred to as passive calibration.
In this embodiment, the sensor may be an inductive magnetic sheet, and the sensor may be a hall sensor.
The calibration method provided by the embodiment is applied to a fan, and comprises the following steps: when the fact that the target object leaves the coupling area is monitored, acquiring the time length of the target object leaving the coupling area, wherein the coupling area is a space area corresponding to the start-stop position of the sensor of the fan, and the sensor of the fan can sense the start-stop position of the sensor of the fan; and when the time period is longer than a time threshold or the target object is detected to enter the coupling area, the sensor and the sensor are utilized to calibrate the angle offset of the stepping motor. Through carrying out the angle offset calibration to step motor, can improve intelligent fan rotation accuracy to improve the satisfaction that the user used intelligent fan.
On the basis of the embodiment shown in fig. 2, the embodiment of the present application further provides a calibration method, fig. 3 is a schematic flow chart of another implementation of the calibration method provided by the embodiment of the present application, and as shown in fig. 3, the calibration method provided by the embodiment of the present application includes the following steps:
step S301, when it is detected that the target object leaves the coupling area, acquiring a time period for the target object to leave the coupling area, where the coupling area is a spatial area corresponding to a start-stop position of a sensor of the fan capable of sensing the fan.
And step S302, when the time period is longer than a time threshold or the target object is detected to enter the coupling area, the sensor and the sensor are utilized to calibrate the angle offset of the stepping motor.
Step S301 and step S302 in the present embodiment are referred to as step S201 and step S202 in the embodiment shown in fig. 2 described above, respectively.
Step S303, when the target object is located in the coupling area, the rotation times of the stepping motor for changing the rotation direction are obtained.
Because of uneven friction resistance of the gear or other reasons such as external acting force, angular deviation of the stepper motor can also occur, the number of times of changing the rotation direction of the stepper motor is counted to obtain the number of times of changing the rotation direction of the stepper motor when the target object is detected to be located in the coupling area on the basis of the embodiment shown in fig. 2. And further determining whether the angle offset calibration of the stepping motor is required according to the obtained rotation times.
The number of times threshold may be preset by a user, for example, 100 times, or a default value set by a fan in factory, for example, 50 times.
And step S304, when the rotation times are larger than a time threshold, performing angle offset calibration on the stepping motor by using the sensor and the sensor.
When the rotation times of the direction change of the stepping motor is larger than a preset time threshold, determining that the angle deviation calibration is needed for the stepping motor, and at the moment, using the sensor and the sensor to calibrate the angle deviation of the stepping motor.
The calibration method provided by the embodiment is applied to a fan, and comprises the following steps: when the time length of the target object leaving the coupling area is larger than a time threshold, or when the target object entering the coupling area is monitored, or when the target object is located in the coupling area and the rotation frequency of the stepping motor changing the rotation direction is larger than a frequency threshold, the sensor and the sensor are utilized to calibrate the angle offset of the stepping motor. By performing angle offset calibration on the stepper motor, the accuracy of fan rotation can be improved, thereby improving the satisfaction of users in using the fan.
In some embodiments, the step of "calibrating the angular offset of the stepper motor using the sensor and the sensor" in the embodiment shown in fig. 2 or fig. 3 may be implemented by the following step S2021 and step S2022, which are described below in connection with the respective steps.
Step S2021, determining an angular offset of the stepper motor based on the sensor and the sensor.
In the embodiment of the application, the fan determines the angle offset of the stepping motor by measuring the rotation angle of the stepping motor and the rotation angle of the turntable. The rotation angle of the turntable is measured by the positions of a sensor arranged on the turntable and a sensor on the chassis, and when the sensor on the turntable rotates to an OD or OC position, the calibration device can determine the rotation angle of the sensor based on the interaction of the sensor and determine the angle offset of the stepping motor based on the rotation angle of the stepping motor. The rotation angle of the stepping motor, which is generated by the influence of factors such as resistance on the stepping motor, is calibrated through the angle offset, and the rotation angle of the turntable is inconsistent.
Step S2022, calibrating the angular offset of the stepper motor according to the angular offset.
In an example, the angular offset may include a magnitude of the angle. And after the angular offset is determined, calibrating the angular position of the stepping motor according to the angle.
Such as: the angle is 5 degrees, and the current angle position of the stepping motor is adjusted by 5 degrees, so that the angle position of the stepping motor is calibrated.
In an example, the angular offset may include a magnitude of the angle and a direction of the angle. And after the angular offset is determined, calibrating the angular position of the stepping motor according to the size of the angle and the direction of the angle.
Such as: the angle is 5 degrees, the direction of the angle is leftwards, and the current angle position of the stepping motor is leftwards adjusted by 5 degrees, so that the angle position of the stepping motor is calibrated.
In this embodiment, at least one sensor is provided. The calibration device provided by the embodiment of the application can also comprise a plurality of sensors and/or a plurality of sensors, wherein the plurality of sensors or the plurality of sensors are distributed in the rotation angle range of the stepping motor according to the set positions, so that the angle position of the stepping motor can be further calibrated.
According to the calibration method provided by the embodiment of the application, the angle offset of the stepping motor is detected based on the sensor and the sensor; calibrating the angle position of the stepping motor according to the angle offset; therefore, the angle position of the stepping motor in the fan can be accurately calibrated, the accuracy of rotation of the fan is improved, and the satisfaction degree of a user in using the fan is improved.
In some embodiments, the step S2021 "determining the angular offset of the stepper motor based on the sensor and the sensor" may be implemented by the following steps S0211 and S0212, which are described below in connection with the respective steps.
Step S0211, keeping the sensor still, and controlling the stepper motor and the sensor to rotate around the rotation center of the stepper motor.
Here, when the angular offset amount of the stepping motor is detected based on the sensor and the sensor, the sensor is kept stationary, and the stepping motor and the sensor are controlled to rotate around the rotation center of the stepping motor.
As shown in fig. 1, the sensor 102 is located on the chassis 101, and keeps the chassis 101 stationary, and the sensor 102 provided on the chassis 101 is also stationary; the stepping motor 105 and the sensor 104 provided on the turntable 103 rotate around the rotation center O of the stepping motor 105.
During rotation of the turntable 103, the rotation angle of the sensor 104 is detected based on the mutual coupling of the sensor 102 and the sensor 104, and the angular offset of the stepping motor 105 is determined based on the rotation angle of the stepping motor 105, and the angular position of the stepping motor 105 is further calibrated according to the angular offset.
The region corresponding to the < COD is a spatial region where the sensor 102 and the sensor 104 are coupled to each other.
Step S0212, determining the angle offset of the stepping motor according to the rotation angle of the sensor and the rotation angle of the stepping motor.
In one example, a difference between the rotation angle of the sensor and the rotation angle of the stepper motor is determined as an angular offset of the stepper motor.
Here, in the process of rotating the stepping motor and the sensor, when the sensor is determined to enter the coupling area, initial positions of the sensor and the stepping motor are recorded, and when the sensor is determined to rotate to the calibration position, end positions of the sensor and the stepping motor are recorded, a rotation angle of the sensor is determined according to the recorded initial positions and end positions of the sensor, and a rotation angle of the stepping motor is determined according to the recorded initial positions and end positions of the stepping motor.
In some embodiments, the determining the angular offset of the stepper motor based on the rotation angle of the sensor and the rotation angle of the stepper motor includes: acquiring a first angle of rotation of the sensor and a second angle of rotation of the stepping motor when the sensor rotates from the boundary of the coupling area to the central line of the coupling area; and taking the angle difference between the first angle and the second angle as the angle offset.
Here, whether the sensor enters the coupling region may be determined by a change in the sensor level. In one example, when the sensor does not enter the coupling region, the level of the sensor is low; when the sensor enters the coupling area, the level of the sensor is changed from low level to high level, so when the level of the sensor is changed from low level to high level, the sensor is determined to enter the coupling area, as in the sensor in the figure 1, the sensor enters the ++BOD or the ++AOC area. The calibration position is a fixed position, such as the calibration position shown in fig. 1, in which the sensor rotates to a position intermediate the O point and the sensor 102, and the O, 102, 104 are located on the same straight line.
In some embodiments, the determining the angular offset of the stepper motor based on the rotation angle of the sensor and the rotation angle of the stepper motor includes: acquiring a third angle of rotation of the sensor and a fourth angle of rotation of the stepping motor when the sensor rotates from a first position of the coupling area to a second position of the coupling area; and taking the angle difference between the third angle and the fourth angle as the angle offset.
As shown in fig. 1, when the sensor is rotated from the first position OD of the coupling area to the second position OC of the coupling area, the rotation angle of the sensor is 50 degrees, the rotation angle of the stepping motor is 45 degrees, and the angle difference between the rotation angle of the sensor and the rotation angle of the stepping motor is 5 degrees as the angle offset.
The calibration method provided by the embodiment of the application can determine the rotation angle of the sensor and the rotation angle of the stepping motor based on the sensor and the sensor, thereby determining the angle offset of the stepping motor and calibrating the angle position of the stepping motor by utilizing the angle offset; therefore, the angle position of the stepping motor in the fan can be accurately calibrated, the accuracy of rotation of the fan is improved, and the satisfaction degree of a user in using the fan is improved.
An exemplary application of an apparatus implementing an embodiment of the present application is described below, and the apparatus provided by the embodiment of the present application may be implemented as a calibration apparatus. The modules, the units and the subunits included in the units included in the modules and the units included in the calibration device provided in the embodiment can be realized by a processor of the calibration device; of course, the method can also be realized by a specific logic circuit; in practice, the processor may be a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, central Processing Unit), a digital signal processor (DSP, digital Signal Processing), or a field programmable gate array (FPGA, field Programmable Gate Array), or the like.
Fig. 4 is a schematic structural diagram of a calibration device according to an embodiment of the present application, where the calibration device is applied to a fan, and as shown in fig. 4, the calibration device 40 may include:
the first obtaining module 41 is configured to obtain, when it is detected that a target object leaves a coupling area, a duration of the target object leaving the coupling area, where the coupling area is a spatial area corresponding to a start-stop position of a sensor of the fan capable of sensing the fan;
a first calibration module 42 is configured to calibrate the angular offset of the stepper motor using the sensor and the sensor when the duration is greater than a time threshold or when it is detected that the target object enters the coupling region.
In some embodiments, the calibration device 40 may further include:
the second acquisition module is used for acquiring the rotation times of the stepping motor for changing the rotation direction when the target object is located in the coupling area;
and the second calibration module is used for calibrating the angle offset of the stepping motor by using the sensor and the sensor when the rotation times are larger than the times threshold.
In some embodiments, the first calibration module or the second calibration module may further include:
A determining sub-module for determining an angular offset of the stepper motor based on the sensor and the sensor;
and the calibration sub-module is used for calibrating the angle offset of the stepping motor according to the angle offset.
In some embodiments, the determining submodule may further include:
a control unit for holding the sensor stationary and controlling the stepping motor and the sensor to rotate around a rotation center of the stepping motor;
and the determining unit is used for determining the angle offset of the stepping motor according to the rotation angle of the sensor and the rotation angle of the stepping motor.
In some embodiments, the determining unit may further include:
an acquisition subunit, configured to acquire a first angle at which the sensor rotates and a second angle at which the stepper motor rotates when the sensor rotates from a boundary of the coupling region to a center line of the coupling region;
and the determining subunit is used for taking the angle difference between the first angle and the second angle as the angle offset.
In some embodiments, the calibration device 40 has at least one sensor;
the sensor of the fan can sense the start-stop position of the sensor of the fan, and the start-stop position comprises a starting position and a termination position;
The starting position is a position where the sensor can sense the sensor when rotating clockwise around the rotation center and approaching the sensor;
the end position is the position where the sensor rotates anticlockwise around the rotation center and can sense when approaching to the sensor.
It should be noted that: in the calibration device provided in the above embodiment, only the division of each program module is used for illustration, and in practical application, the process allocation may be performed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processes described above. In addition, the calibration device and the calibration method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiment.
The calibration method provided by the embodiment of the application is described below through a specific scene.
Fig. 5 is another schematic structural diagram of the calibration device according to the embodiment of the present application, as shown in fig. 5, where the calibration device according to the embodiment of the present application includes: a control module 501, a hall sensing module 502, a position sensing module 503 and a stepper motor 504.
The control module 501 is configured to control the hall sensor module 502, the position sensing module 503, and the stepper motor 504.
The hall sensor module 502 is configured to send the generated level signal to the control module through interaction with the induction magnetic sheet.
The location sensing module 503 is configured to detect location information of the target object, and notify the control module when the target object enters the target area.
A stepper motor 504 for pushing the fan to swing.
Fig. 6 is a schematic flow chart of another implementation of the calibration method according to the embodiment of the present application, as shown in fig. 6, the method includes the following steps:
step S601: the calibration device detects whether the uncalibrated time exceeds the set time;
here, after step S601 is performed, if the time for detecting the misalignment exceeds the set time, active calibration of the stepper motor is required, and step S602 is performed; otherwise, the step motor is passively calibrated, and step S603 is performed.
Step S602: the calibration device performs active calibration;
here, when the stepping motor is not calibrated for a long time during operation, angular deviation occurs due to uneven gear friction resistance or other reasons, which requires active calibration. When the control module actively forces the Hall sensing module to approach the induction magnetic sheet in active calibration, when the Hall sensing module reaches a target area, the Hall sensing module generates level change and informs the control module based on interaction of the Hall sensing module and the induction magnetic sheet, and the control module calculates the angle offset of the stepping motor according to the level change and calibrates the angle position of the stepping motor according to the angle offset.
Step S603: the calibration device performs passive calibration;
here, if the target object enters the target area from outside the target area, when the position sensing module senses that the target object enters the target area, the position sensing module sends the position information of the target object to the control module, and the control module controls the stepping motor and the hall sensing module to enter the target area from outside the target area. At this time, based on the interaction of the hall sensor module and the induction magnetic sheet, the hall sensor module generates level change and notifies the control module, and the control module calculates the angular offset of the stepper motor according to the level change and calibrates the angular position of the stepper motor according to the angular offset. The above calibration process is called passive calibration.
For example, when a person enters the target area from outside the target area, the level of the hall sensor module changes, the angular offset of the stepper motor can be calculated according to the level change, and the angular position of the stepper motor can be calibrated according to the angular offset, so that the passive calibration can be calculated.
Step S604: the calibrating device clears the timing after the active calibration or the passive calibration, and restarts the timing.
In the calibration process of the stepping motor, the embodiment of the application can realize active calibration or passive calibration, thereby improving the accuracy of calibration and improving the user experience.
Fig. 7 is a schematic structural diagram of a fan according to an embodiment of the present application, and as shown in fig. 7, a fan 70 according to the present embodiment includes: at least one processor 71, memory 74, user interface 73, sensor 76, sensor 77, and stepper motor 78. The various components in the fan 70 are coupled together by a bus system 75. It is understood that bus system 75 is used to effect connected communication between these components. The bus system 75 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 75 in fig. 7.
The fan 70 provided by the embodiment of the present application may further include: at least one network interface 72.
The user interface 73 may include a display, a trackball, a click wheel, keys, buttons, a touch pad or screen, or the like.
The memory 74 may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM). The volatile memory may be random access memory (RAM, random Access Memory). The memory 74 described in embodiments of the present application is intended to comprise any suitable type of memory.
The memory 74 in embodiments of the present application is capable of storing data to support the operation of the fan 70. Examples of such data include: any computer programs for operating on the fan 70, such as an operating system and application programs. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application may comprise various applications.
Wherein the processor 71 is arranged to execute said computer program for carrying out the steps of the calibration method provided in the above-described embodiments.
As an example of implementation of the method provided by the embodiment of the present application by combining software and hardware, the method provided by the embodiment of the present application may be directly embodied as a combination of software modules executed by the processor 71, for example, the calibration device provided by the embodiment of the present application, the software modules of the calibration device may be stored in the memory 74, the processor 71 reads executable instructions included in the software modules in the memory 74, and the necessary hardware (for example, including the processor 71 and other components connected to the bus 75) is used to complete the calibration method provided by the embodiment of the present application.
By way of example, the processor 71 may be an integrated circuit chip having signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, a DSP, or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
It should be noted here that: the description of the fan embodiment items above is similar to the description of the method above, and has the same advantageous effects as the method embodiment, and thus will not be described in detail. For details not disclosed in the fan embodiments of the present application, those skilled in the art will understand with reference to the description of the method embodiments of the present application, and the details are not repeated here for the sake of brevity.
The embodiment of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when processed by a processor, implements the steps of the calibration method provided in the above embodiment.
It should be noted here that: the description of the embodiment items of the computer medium, similar to the description of the method described above, has the same advantageous effects as those of the embodiment of the method, and thus will not be repeated. For technical details not disclosed in the storage medium embodiments of the present application, those skilled in the art should understand with reference to the description of the method embodiments of the present application, and the details are not repeated herein for the sake of brevity.
The method disclosed by the embodiment of the application can be applied to the processor or realized by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor or an instruction in a software form. The processor described above may be a general purpose processor, DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the application can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium having memory, the processor reading information in the memory and performing the steps of the method in combination with hardware.
It will be appreciated that the memory (storage) of embodiments of the application can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be ROM, programmable read-Only Memory (PROM, programmable Read-Only Memory), erasable programmable read-Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable read-Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk read-Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described by embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be understood by those skilled in the art that other configurations and functions of the calibration method according to the embodiments of the present application are known to those skilled in the art, and in order to reduce redundancy, the embodiments of the present application are not described in detail.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps of implementing the above method embodiments may be implemented by hardware associated with program instructions, and the foregoing program may be stored in a computer readable storage medium, which when executed, performs steps including the above method embodiments.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied essentially or in part in the form of a software product stored in a storage medium, including instructions for causing a product to perform all or part of the methods described in the various embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A calibration method applied to a fan, the fan comprising at least: the method comprises the steps of:
when the fact that the target object leaves the coupling area is monitored, acquiring the time length of the target object leaving the coupling area, wherein the coupling area is a space area corresponding to the start-stop position of the sensor of the fan, and the sensor of the fan can sense the start-stop position of the sensor of the fan;
and when the time period is longer than a time threshold or the target object is detected to enter the coupling area, the sensor and the sensor are utilized to calibrate the angle offset of the stepping motor.
2. The method according to claim 1, wherein the method further comprises:
when the target object is located in the coupling area, acquiring the rotation times of the stepping motor for changing the rotation direction;
And when the rotation times are larger than a times threshold, the sensor and the sensor are utilized to calibrate the angle offset of the stepping motor.
3. The method according to claim 1 or 2, wherein said calibrating the angular offset of the stepper motor using the sensor and the sensor comprises:
determining an angular offset of the stepper motor based on the sensor and the sensor;
and calibrating the angle offset of the stepping motor according to the angle offset.
4. The method of claim 3, wherein the determining an angular offset of the stepper motor based on the sensor and the sensor comprises:
holding the sensor stationary, controlling the stepper motor and the sensor to rotate about a center of rotation of the stepper motor;
and determining the angle offset of the stepping motor according to the rotation angle of the sensor and the rotation angle of the stepping motor.
5. The method of claim 4, wherein determining the angular offset of the stepper motor based on the angle of rotation of the sensor and the angle of rotation of the stepper motor comprises:
Acquiring a first angle of rotation of the sensor and a second angle of rotation of the stepping motor when the sensor rotates from the boundary of the coupling area to the central line of the coupling area;
and taking the angle difference between the first angle and the second angle as the angle offset.
6. A method according to claim 3, wherein the sensor is at least one.
7. The method of claim 4, wherein the sensor of the fan is capable of sensing a start-stop position of the sensor of the fan, including a start position and an end position;
the starting position is a position where the sensor can sense the sensor when rotating clockwise around the rotation center and approaching the sensor;
the end position is the position where the sensor rotates anticlockwise around the rotation center and can sense when approaching to the sensor.
8. A calibration device for a fan, the fan comprising at least: base, carousel and step motor, its characterized in that, the device includes:
the first acquisition module is used for acquiring the time length of the target object leaving the coupling area when the target object leaving the coupling area is monitored, wherein the coupling area is a space area corresponding to the start-stop position of the sensor of the fan, and the sensor of the fan can sense the start-stop position of the sensor of the fan;
And the first calibration module is used for calibrating the angle offset of the stepping motor by using the sensor and the sensor when the duration is greater than a time threshold or the target object is detected to enter the coupling area.
9. A fan, the fan comprising:
the chassis is provided with an inductor;
the turntable is connected with the chassis, and a sensor is arranged on the turntable;
the stepping motor is connected with the turntable;
a processor; and
a memory for storing a computer program executable on the processor;
wherein the computer program when executed by a processor implements the steps of the calibration method of any one of claims 1 to 7.
10. A storage medium having stored therein computer executable instructions configured to perform the steps of the calibration method of any one of claims 1 to 7.
CN202010347682.9A 2020-04-28 2020-04-28 Calibration method, device, fan and storage medium Active CN113565779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010347682.9A CN113565779B (en) 2020-04-28 2020-04-28 Calibration method, device, fan and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010347682.9A CN113565779B (en) 2020-04-28 2020-04-28 Calibration method, device, fan and storage medium

Publications (2)

Publication Number Publication Date
CN113565779A CN113565779A (en) 2021-10-29
CN113565779B true CN113565779B (en) 2023-08-11

Family

ID=78157841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010347682.9A Active CN113565779B (en) 2020-04-28 2020-04-28 Calibration method, device, fan and storage medium

Country Status (1)

Country Link
CN (1) CN113565779B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101498251A (en) * 2008-01-31 2009-08-05 华夏龙晖(北京)汽车电子科技有限公司 Control method for idle speed step motor
CN103534659A (en) * 2010-12-30 2014-01-22 美国iRobot公司 Coverage robot navigation
CN105090082A (en) * 2015-07-17 2015-11-25 小米科技有限责任公司 Control method and device for fan
CN106571758A (en) * 2016-11-03 2017-04-19 深圳开立生物医疗科技股份有限公司 Stepper motor out-of-step compensation method and device
US9966885B1 (en) * 2017-01-05 2018-05-08 Honeywell International Inc. Methods and systems for calibration of a motor
CN109655083A (en) * 2019-02-15 2019-04-19 广州极飞科技有限公司 Magnetic coder and its calibration method and calibrating installation, motor and unmanned vehicle
CN110113528A (en) * 2019-04-26 2019-08-09 维沃移动通信有限公司 A kind of parameter acquiring method and terminal device
CN110631474A (en) * 2019-11-04 2019-12-31 重庆市亿飞智联科技有限公司 Motor calibration system, method and device, controller and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101655548B1 (en) * 2014-10-17 2016-09-07 현대자동차주식회사 Offset compensation method of hall sensor in motor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101498251A (en) * 2008-01-31 2009-08-05 华夏龙晖(北京)汽车电子科技有限公司 Control method for idle speed step motor
CN103534659A (en) * 2010-12-30 2014-01-22 美国iRobot公司 Coverage robot navigation
CN105090082A (en) * 2015-07-17 2015-11-25 小米科技有限责任公司 Control method and device for fan
CN106571758A (en) * 2016-11-03 2017-04-19 深圳开立生物医疗科技股份有限公司 Stepper motor out-of-step compensation method and device
US9966885B1 (en) * 2017-01-05 2018-05-08 Honeywell International Inc. Methods and systems for calibration of a motor
CN109655083A (en) * 2019-02-15 2019-04-19 广州极飞科技有限公司 Magnetic coder and its calibration method and calibrating installation, motor and unmanned vehicle
CN110113528A (en) * 2019-04-26 2019-08-09 维沃移动通信有限公司 A kind of parameter acquiring method and terminal device
CN110631474A (en) * 2019-11-04 2019-12-31 重庆市亿飞智联科技有限公司 Motor calibration system, method and device, controller and storage medium

Also Published As

Publication number Publication date
CN113565779A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN109655083B (en) Magnetic encoder, calibration method and calibration device thereof, motor and unmanned aerial vehicle
CN109870177B (en) Magnetic encoder, calibration method and calibration device thereof, motor and unmanned aerial vehicle
JP6154401B2 (en) High resolution absolute encoder
US10928224B2 (en) Multi-turn absolute encoder, encoding method and robot
EP2847547B1 (en) Output switching systems and methods for magnetic field sensors
CN110987032B (en) Magnetic encoder, absolute electric angle detection method, system and readable storage medium
CN108474671B (en) Mechanical angle detection method, holder and machine-readable storage medium
US10236815B2 (en) Sensor error detection and correction
CN113565779B (en) Calibration method, device, fan and storage medium
KR19990026296A (en) Concentric Control Unit for Non-Coaxial Induction Motors
US20220066123A1 (en) Optical system
CN107371094B (en) Volume adjusting method and device and processing equipment
CN111491107A (en) Voice coil motor stroke calibration method, device and equipment
CN114076115B (en) Oscillating positioning structure, resetting method and device, electric fan and readable storage medium
CN112462177B (en) Method for positioning critical point between induction areas of Hall element
CN114487813A (en) Motor zero position detection method and device, motor controller and storage medium
CN113063345A (en) Motor zero position angle calibration method and device and computer storage medium
JP2009276128A (en) Position detection device
JP2016001544A (en) Reference position determination method of rotary input device
JP2003090741A (en) Rotary encoder
CN113763996B (en) Magnetic disk device
US8810919B2 (en) Camera module
CN217787577U (en) Motor device and projection equipment
CN113865632B (en) Method, device, system and medium for calibrating internal magnetic field of electronic equipment
US20220244078A1 (en) Capacitive differential rotary encoder

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant