CN114337467A - Method for adjusting motor rotation speed and computer storage medium - Google Patents

Method for adjusting motor rotation speed and computer storage medium Download PDF

Info

Publication number
CN114337467A
CN114337467A CN202111592532.5A CN202111592532A CN114337467A CN 114337467 A CN114337467 A CN 114337467A CN 202111592532 A CN202111592532 A CN 202111592532A CN 114337467 A CN114337467 A CN 114337467A
Authority
CN
China
Prior art keywords
voltage
threshold value
voltage signal
speed regulating
speed
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.)
Granted
Application number
CN202111592532.5A
Other languages
Chinese (zh)
Other versions
CN114337467B (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.)
On Bright Electronics Shanghai Co Ltd
Original Assignee
On Bright Electronics Shanghai 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 On Bright Electronics Shanghai Co Ltd filed Critical On Bright Electronics Shanghai Co Ltd
Priority to CN202111592532.5A priority Critical patent/CN114337467B/en
Priority to TW111105476A priority patent/TWI784880B/en
Publication of CN114337467A publication Critical patent/CN114337467A/en
Application granted granted Critical
Publication of CN114337467B publication Critical patent/CN114337467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

The embodiment of the invention discloses a method for adjusting the rotating speed of a motor and a computer storage medium, wherein the method comprises the following steps: acquiring a starting point voltage initial threshold and an end point voltage initial threshold for a speed regulating mechanism; acquiring a speed regulation voltage signal from a speed regulation mechanism; determining a starting point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the minimum value of the speed regulating voltage signal and the starting point voltage initial threshold value; determining an end point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the maximum value of the speed regulating voltage signal and the initial threshold value of the end point voltage; and controlling the speed regulating mechanism to regulate the rotating speed of the motor according to the starting voltage updating threshold and the end voltage updating threshold. Through the technical scheme, the judgment threshold value can be automatically adjusted, the conditions that the motor cannot be shut down or the motor cannot reach the maximum rotating speed and the like caused by the abnormity of the speed regulation voltage signal are prevented, and the service life of the electric tool is prolonged.

Description

Method for adjusting motor rotation speed and computer storage medium
Technical Field
The present invention generally relates to a method and computer storage medium for adjusting the rotational speed of a motor.
Background
Generally, a user of the electric tool adjusts the rotating speed of the motor through the speed adjusting mechanism, and the mechanical movement of the speed adjusting mechanism brings about the change of an electric signal, so that the electric signal can be converted into a speed adjusting voltage signal.
Wherein, speed adjusting mechanism has following characteristics: (1) comprises a mechanical moving part and an electronic part; (2) the speed regulation voltage signal is affected by both mechanical and electronic components. After a long period of use of the power tool, the mechanical moving parts and the electronic parts of the governor mechanism are subject to degradation. These aging components can produce abnormal regulated voltage signals; these abnormal speed-regulating voltage signals can cause the motor to fail to meet the expectations of users, thereby affecting the overall function of the electric tool.
Disclosure of Invention
The embodiment of the invention provides a method for adjusting the rotating speed of a motor and a computer storage medium, wherein a speed-adjusting voltage signal is sampled in real time, so that a judgment threshold value is automatically adjusted based on the relation between the minimum value and the maximum value of the speed-adjusting voltage signal and the initial threshold value of a starting voltage and the initial threshold value of an end voltage, the complete machine failure caused by the abnormal speed-adjusting signal is avoided, and the service life of an electric tool is effectively prolonged.
A first embodiment of the present invention provides a method for adjusting a rotational speed of a motor, the method comprising: acquiring a starting point voltage initial threshold and an end point voltage initial threshold for a speed regulating mechanism; acquiring a speed regulation voltage signal from the speed regulation mechanism; determining a starting point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the minimum value of the speed regulating voltage signal and the starting point voltage initial threshold value; determining an end point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the maximum value of the speed regulating voltage signal and the end point voltage initial threshold value; and controlling the speed regulating mechanism to regulate the rotating speed of the motor according to the starting voltage updating threshold and the end voltage updating threshold.
According to the method provided by the first embodiment of the present invention, determining the starting voltage update threshold for the governor mechanism according to the magnitude comparison relationship between the minimum value of the governor voltage signal and the starting voltage initial threshold comprises: when the minimum value of the speed regulating voltage signal is smaller than the initial threshold value of the starting voltage, taking the initial threshold value of the starting voltage as the updating threshold value of the starting voltage; and when the minimum value of the speed regulating voltage signal is greater than or equal to the initial threshold value of the starting voltage, taking the minimum value of the speed regulating voltage signal as the updating threshold value of the starting voltage.
According to the method provided by the first embodiment of the invention, determining the end point voltage update threshold value for the speed regulating mechanism according to the magnitude comparison relationship between the maximum value of the speed regulating voltage signal and the end point voltage initial threshold value comprises: when the maximum value of the speed regulating voltage signal is larger than the initial threshold value of the terminal voltage, taking the initial threshold value of the terminal voltage as the updated threshold value of the terminal voltage; and when the maximum value of the speed regulating voltage signal is smaller than or equal to the initial threshold value of the end point voltage, taking the maximum value of the speed regulating voltage signal as the update threshold value of the end point voltage.
According to a first embodiment of the present invention, there is provided a method further comprising: updating the initial threshold value of the starting point voltage to the updated threshold value of the starting point voltage, and storing the updated initial threshold value of the starting point voltage; and updating the initial threshold value of the end point voltage to the updated threshold value of the end point voltage, and storing the updated initial threshold value of the end point voltage.
According to the method provided by the first embodiment of the invention, acquiring the speed regulating voltage signal from the speed regulating mechanism comprises: and acquiring the speed regulating voltage when the speed regulating mechanism displaces from the initial position so as to be used as the minimum value of the speed regulating voltage signal.
According to the method provided by the first embodiment of the present invention, acquiring the throttle voltage signal from the throttle mechanism further comprises: and carrying out noise elimination processing on the speed regulation voltage when the speed regulation mechanism displaces from the initial position.
According to the method provided by the first embodiment of the invention, acquiring the speed regulating voltage signal from the speed regulating mechanism comprises: and after the minimum value of the speed regulating voltage signal is greater than or equal to the initial threshold value of the starting voltage, acquiring the speed regulating voltage when the slope change of the speed regulating voltage signal meets a preset condition so as to be used as the maximum value of the speed regulating voltage signal.
According to the method provided by the first embodiment of the present invention, acquiring the throttle voltage signal from the throttle mechanism further comprises: and carrying out noise elimination processing on the speed regulating voltage when the slope change of the speed regulating voltage signal meets the preset condition.
According to the method provided by the first embodiment of the invention, determining the end point voltage update threshold value for the speed regulating mechanism according to the magnitude comparison relationship between the maximum value of the speed regulating voltage signal and the end point voltage initial threshold value comprises: and when the frequency that the maximum value of the speed regulating voltage signal is less than or equal to the initial threshold value of the terminal voltage exceeds a preset threshold value, taking the maximum value of the speed regulating voltage signal as the updated threshold value of the terminal voltage.
A second embodiment of the invention provides a computer storage medium having instructions stored thereon, which, when executed by one or more processors, cause the one or more processors to perform the method for adjusting a rotational speed of a motor as described in the first aspect.
The method for adjusting the rotating speed of the motor and the computer storage medium provided by the embodiment of the invention can automatically adjust the judgment threshold value, and prevent the conditions that the motor cannot be shut down or the motor cannot reach the maximum rotating speed and the like caused by the abnormity of the speed regulation voltage signal, thereby prolonging the service life of the electric tool.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates a prior art method of adjusting the rotational speed of a motor;
fig. 2 is a schematic structural diagram showing a sliding varistor type governor mechanism according to an embodiment of the present invention;
fig. 3 is a schematic structural view showing a hall sensor type governor according to another embodiment of the present invention;
FIG. 4 is a schematic diagram showing the relationship between the initial threshold voltage and the displacement distance of the governor mechanism;
FIG. 5 is a schematic diagram showing the relationship between an abnormal throttle voltage signal and an initial threshold voltage;
FIG. 6 is a schematic diagram showing the relationship between an abnormal speed regulation voltage signal and an initial threshold voltage;
FIG. 7 is a schematic diagram showing the relationship between an abnormal throttle voltage signal and an initial threshold voltage;
FIG. 8 is a flow chart illustrating a method for adjusting a rotational speed of a motor according to an embodiment of the present invention; and
fig. 9 shows a specific flowchart of a method for adjusting a rotation speed of a motor according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the prior art, with the development of semiconductor technology, many power tools use a Micro Controller Unit (MCU) to adjust the motor speed. The specific flow is shown in fig. 1, and fig. 1 shows a method for adjusting the rotation speed of a motor provided by the prior art, which includes the following steps: s110, mechanically moving a speed regulating mechanism; s112, the mechanical movement of the speed regulating mechanism brings about the change of a speed regulating voltage signal; s114, sampling a speed-regulating voltage signal by using the MCU; s116, adjusting the output voltage of the execution circuit through the MCU according to the change of the sampled speed regulation voltage signal; and S118, based on the adjustment of the output voltage, realizing the change of the motor rotating speed.
However, since both the mechanical moving parts and the electronic parts of the governor mechanism are subject to degradation after the electric power tool has been used for a long period of time. These aging components can produce abnormal regulated voltage signals; these abnormal speed-regulating voltage signals can cause the motor to fail to meet the expectations of users, thereby affecting the overall function of the electric tool.
In order to solve the problems of the prior art, embodiments of the present invention provide a sliding rheostat type speed regulating mechanism and a hall sensor type speed regulating mechanism. The following first describes a sliding varistor type governor mechanism according to an embodiment of the present invention.
As an example, fig. 2 shows a schematic structural diagram of a sliding varistor type governor mechanism according to an embodiment of the present invention. As shown in fig. 2, the sliding rheostat type governor mechanism may include a resistor R1, a sliding rheostat and a trigger switch, wherein the switch is closed when the governor mechanism is displaced from an initial position, and the closed switch may supply power to a motor control circuit or an MCU circuit, or wake up the MCU in a standby state.
In some embodiments, when the speed adjusting mechanism moves mechanically, the mechanical moving rod drives the conductive brush to move synchronously, and since different moving positions correspond to different resistances, a variable modulation voltage signal Vsp can be obtained after voltage division by the variable resistance.
As an example, fig. 3 shows a schematic structural diagram of a hall sensor type governor mechanism provided in another embodiment of the present invention. As shown in fig. 3, the hall sensor type speed regulating mechanism may include a resistor R1, a hall sensor, and a trigger switch, wherein the switch is closed after the speed regulating mechanism is displaced from an initial position, and the closed switch may supply power to a motor control circuit or an MCU circuit, or wake up the MCU in a standby state.
When the speed regulating mechanism moves mechanically, the mechanical moving rod of the speed regulating mechanism can synchronously change the relative position between the permanent magnet and the Hall sensor, so that the magnetic flux density at the Hall sensor is changed, and the output voltage Vsp of the Hall sensor is changed.
It should be noted that in the embodiment shown in fig. 2 and 3, the displacement distance of the governor mechanism is denoted as L, and the governor voltage signal of the governor mechanism is denoted as Vsp, and there is a certain correspondence therebetween, for example, fig. 4 shows a schematic diagram of the relationship between the voltage initial threshold value of the governor mechanism and the displacement distance.
As shown in fig. 4, the abscissa represents the displacement distance L and the ordinate represents the speed regulation voltage signal Vsp, and the correspondence between the two is represented by a curve S0Curve S0Usually monotonically increasing, and for simplicity in fig. 4, curve S0Shown as a straight line, where the trigger point refers to the point at which the switch is closed after the governor mechanism has been displaced from the initial position.
As an example, when the MCU detects that the speed regulation voltage signal Vsp is greater than V1When the motor starts to work, the motor drives the motor to rotate1Referred to as the onset voltage initial threshold; when the MCU detects that the Vsp of the speed regulation voltage signal is greater than V2In time, the motor is in the highest speed working condition, and V is set2Referred to as the end point voltage initial threshold. And starting point voltage initial threshold value V1And an end point voltage initial threshold value V2The corresponding displacement distance therebetween can be considered as the effective stroke of the governor mechanism.
As shown in FIG. 4, the starting point voltage initial threshold V1Corresponding to the distance L1Initial threshold value V of end point voltage2Corresponding to the distance L2From a distance L1To a distance L2Is considered to be the effective travel of the governor mechanism.
The reasons for the common ageing of the governor mechanism can be as follows: (1) during the use of the electric tool, the vibration of the whole machine can cause the aging of the sealing structure of the speed regulating switch and can cause the generation of dust in the environment, and the dust can generate accumulation in the electric components, thereby introducing parasitic impedance; (2) due to the long-term reciprocating motion of the speed regulating switch, the impedance of a contact point is increased; (3) the insulation skin, the welding spot and the like of the electric signal connecting line can generate impedance change or generate dust accumulation in the long-term use process, thereby causing the deviation of the connecting impedance. These factors all contribute to deviations in the throttle voltage signal that may result in the motor failing to stop, or the motor failing to reach the maximum set speed during the active stroke, or the motor failing to neither stop nor reach the maximum set speed during the active stroke, as will be described in more detail below.
Because the variety of speed governing mechanism and the variety of trouble, for the convenience of analysis, the change characteristics of following main speed governing voltage signal divide into following several types with the deviation of common speed governing voltage signal:
first, fig. 5 shows a schematic diagram of the relationship between the abnormal speed regulation voltage signal and the voltage initial threshold (e.g., the start point voltage initial threshold and the end point voltage initial threshold).
In the embodiment shown in fig. 5, the regulation voltage signal Vsp is higher overall, for example the curve S1Deviating from curve S in the y-axis direction0Minimum value V of the regulation voltage signal1Greater than initial threshold V of starting voltage1. As depicted in FIG. 4, when the MCU detects that the speed regulation voltage signal Vsp is greater than V1When the motor starts to work, the MCU detects that the Vsp of the speed regulation voltage signal is more than V2And meanwhile, the motor is in the highest-speed working condition. In the embodiment shown in fig. 5, the speed-regulating voltage signal Vsp is always greater than V1For example, the minimum value of the regulation voltage signal is greater than V1Therefore, the MCU judges that the speed regulating mechanism is not reset, and in this case, the motor does not stopThe whole machine is not shut down.
Next, fig. 6 shows a schematic diagram of the relationship between the abnormal speed regulation voltage signal and the voltage initial threshold (e.g., the starting point voltage initial threshold and the ending point voltage initial threshold).
In the embodiment shown in fig. 6, the regulation voltage signal Vsp is lower overall, for example the curve S2Deviating curve S downwards along y-axis0Maximum value V of the speed-regulating voltage signal2Less than initial threshold V of terminal voltage2. As depicted in FIG. 4, when the MCU detects that the speed regulation voltage signal Vsp is greater than V1When the motor starts to work, the MCU detects that the Vsp of the speed regulation voltage signal is more than V2And meanwhile, the motor is in the highest-speed working condition. In the embodiment shown in fig. 6, the speed-regulating voltage signal Vsp is always smaller than V2For example, the maximum value of the regulation voltage signal is less than V2Therefore, the MCU judges that the speed regulating mechanism does not reach the maximum stroke, the motor does not work at the maximum set rotating speed, and the whole machine shows that the maximum set rotating speed cannot be reached in the effective stroke.
Again, fig. 7 shows a schematic diagram of the relationship between the abnormal speed regulation voltage signal and the voltage initial threshold (e.g., the starting point voltage initial threshold and the ending point voltage initial threshold).
In the embodiment shown in fig. 7, the regulation voltage signal Vsp maintains a monotonically increasing relationship, e.g. curve S3Deviating from curve S in the y-axis direction0Unlike the embodiment shown in fig. 6, the minimum value and the maximum value of the speed regulation voltage signal Vsp in the embodiment shown in fig. 6 are respectively greater than V1And V2Whereas the minimum value of the regulation voltage signal Vsp in the embodiment shown in fig. 7 is greater than V1And the maximum value is less than V2The fault of the whole machine is represented as that in the effective stroke, the motor can not be stopped and can not reach the maximum set rotating speed.
In order to solve one or more of the above situations, such as the situation that the motor cannot be shut down or cannot reach the maximum set rotation speed, caused by an abnormal situation of the speed regulation signal, an embodiment of the present invention provides a method for adjusting the rotation speed of the motor, as shown in fig. 8, fig. 8 shows a flowchart of the method for adjusting the rotation speed of the motor provided by the embodiment of the present invention, and the method includes: s810, acquiring a starting point voltage initial threshold and a terminal point voltage initial threshold for the speed regulating mechanism; s812, acquiring a speed regulation voltage signal from a speed regulation mechanism; s814, determining a starting point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the minimum value of the speed regulating voltage signal and the starting point voltage initial threshold value; s816, determining an end point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the maximum value of the speed regulating voltage signal and the initial threshold value of the end point voltage; and S818, controlling the speed regulating mechanism to regulate the rotating speed of the motor according to the starting voltage updating threshold and the end voltage updating threshold.
As an example, in S810, after the MCU is started, an initial threshold V is applied to a start voltage in a non-volatile Memory (e.g., a Read-Only Memory (ROM)) to obtain a start voltage1And an end point voltage initial threshold value V2And reading the abnormal zone bit of the speed regulation signal.
As an example, in S812, the MCU may sample the speed regulating voltage signal of the speed regulating mechanism and determine the minimum value V of the speed regulating voltage signalSP_MINAnd maximum value VSP_MAX
As an example, in S814, the minimum value V of the speed regulation voltage signal is setSP_MINAnd starting point voltage initial threshold value V1And comparing to determine a starting point voltage updating threshold value for the speed regulating mechanism.
Specifically, S814 may include: if the minimum value V of the speed-regulating voltage signalSP_MINLess than the initial threshold V of the starting voltage1Then, the updating program is not started, and the program runs normally, for example, the starting point voltage is set to the initial threshold value V1Updating the threshold as a starting voltage; if the minimum value V of the speed-regulating voltage signalSP_MINGreater than or equal to the starting point voltage initial threshold V1Setting the abnormal flag bit of the speed regulating signal, entering a threshold updating program, and setting the minimum value V of the speed regulating voltage signalSP_MINUpdating the threshold as the starting voltage, that is, initializing the starting voltage to the threshold V1Updated to speed-regulating voltage signalMinimum value of number VSP_MIN
As an example, in S816, the maximum value V of the speed regulation voltage signal is setSP_MAXAnd an initial threshold value V of the end point voltage2And comparing to determine the updating threshold of the terminal voltage of the speed regulating mechanism.
Specifically, S816 may include: if the maximum value V of the speed-regulating voltage signalSP_MAXGreater than the initial threshold value V of the end point voltage2Then, the updating program is not started, and the program runs normally, for example, the end point voltage is set to the initial threshold value V2Updating the threshold value as the end point voltage; if the maximum value V of the speed-regulating voltage signalSP_MAXLess than or equal to the initial threshold V of the end point voltage2Then entering a threshold updating program to update the maximum value V of the speed-regulating voltage signalSP_MAXUpdating the threshold as the end point voltage, i.e. starting the end point voltage by the threshold V2Updated to the maximum value V of the speed-regulating voltage signalSP_MAX. In other embodiments, when the maximum value V of the throttle voltage signal isSP_MAXLess than or equal to the initial threshold V of the end point voltage2After the number of times exceeds a preset threshold (e.g., N), a threshold updating procedure is entered to adjust the maximum value V of the voltage signalSP_MAXThe threshold is updated as the end point voltage.
In some embodiments, the method further comprises: at the initial threshold V of the starting point voltage1After updating the initial threshold to the starting voltage, the updated initial threshold to the starting voltage is stored in the nonvolatile memory, and the initial threshold to the ending voltage is set to V2After updating to the end point voltage updated threshold, the updated end point voltage initial threshold is saved in the nonvolatile memory.
In some embodiments, the method further comprises: after the MCU is started up, reading the updated initial threshold value of the starting point voltage and the updated initial threshold value of the ending point voltage stored in the nonvolatile memory, and repeating the steps.
In some embodiments, after the MCU detects the trigger point, the throttle voltage signal at that time is recorded to serve as the minimum value V of the throttle voltage signalSP_MINWherein the trigger point isThe point at which the governor mechanism is displaced from the initial position. In other embodiments, the noise elimination processing is carried out on the speed regulating voltage when the speed regulating mechanism is displaced from the initial position, and the speed regulating voltage signal subjected to the noise elimination processing is taken as the minimum value V of the speed regulating voltage signalSP_MIN
In some embodiments, after the abnormal flag bit of the speed regulation signal is set, the relationship between the slope change of the speed regulation voltage signal and the preset condition is judged, and the speed regulation voltage signal when the slope change meets the preset condition is recorded to be used as the maximum value V of the speed regulation voltage signalSP_MAX. In other embodiments, the noise elimination processing is performed on the speed regulation voltage signal when the slope change meets the preset condition, and the speed regulation voltage signal subjected to the noise elimination processing is taken as the maximum value V of the speed regulation voltage signalSP_MAX
The above process may be performed in an iterative manner, and the voltage determination threshold is updated and stored. And reading the last recorded threshold value after the MCU is reset, and enabling the motor to normally run when the threshold value condition is met.
Fig. 9 shows a specific flowchart of a method for adjusting a rotation speed of a motor according to an embodiment of the present invention. As shown in fig. 9, the method may include the steps of: s910, initializing the MCU; s912, after the MCU is initialized, the initial threshold value V of the starting point voltage stored in the nonvolatile memory1Initial threshold value V of end point voltage2Reading the abnormal zone bit of the speed regulation signal; s914, sampling the regulation voltage signal Vsp; s916, detecting whether the trigger signal occurs, if the trigger signal is detected, the flow goes to S918, and if the trigger signal is not detected, the flow goes to S924: s918, when the trigger signal is detected, carrying out noise elimination processing on the speed regulation voltage signal at the moment so as to use the speed regulation voltage signal subjected to the noise elimination processing as the minimum value V of the speed regulation voltage signalSP_MIN(ii) a S920, judging the minimum value V of the speed regulation voltage signalSP_MINWhether or not it is less than the initial threshold V of the starting voltage1If yes, go to S922, if no, go to S932; s922, the program runs normally(ii) a S932, setting the abnormal flag bit of the speed regulation signal, entering a threshold updating program, and setting the initial threshold V of the starting voltage1Updated to the minimum value V of the speed-regulating voltage signalSP_MIN(ii) a S924, when the trigger signal is not detected, judging whether the abnormal flag bit of the speed regulating signal is 1, if so, the process goes to S926, and if not, the process goes to S922; s922, if the abnormal flag bit of the speed regulation signal is not 1, the program normally runs; s926, if the abnormal flag bit of the speed regulation signal is 1, judging whether the slope change of the speed regulation voltage signal meets a preset condition, if so, the process goes to S928, and if not, the process goes to S922; s928, when the slope change of the speed regulation voltage signal meets the preset condition, the noise elimination processing is carried out on the speed regulation voltage signal at the moment, and the speed regulation signal subjected to the noise elimination processing is taken as the maximum value V of the speed regulation voltage signalSP_MAX(ii) a S930, judging the maximum value V of the speed regulation voltage signalSP_MAXWhether it is greater than the initial threshold value V of the terminal voltage2If yes, the flow proceeds to S922, and if no, the flow proceeds to S932; s932, if the maximum value V of the speed regulation voltage signalSP_MAXLess than or equal to the initial threshold V of the end point voltage2Entering a threshold updating program to start the end point voltage to be a threshold V2Updated to the maximum value V of the speed-regulating voltage signalSP_MAX
Embodiments of the present invention also provide a computer storage medium having instructions stored thereon, which, when executed by one or more processors, cause the one or more processors to perform a method for adjusting a rotational speed of a motor as described above.
To sum up, the method for adjusting the rotational speed of the motor and the computer storage medium provided in the embodiments of the present invention can determine whether the initial threshold of the starting voltage and the initial threshold of the ending voltage need to be updated according to the relationship between the minimum value and the maximum value of the speed-adjusting voltage signal and the initial threshold of the starting voltage and the initial threshold of the ending voltage, so as to prevent situations such as the motor cannot be shut down and/or the motor cannot reach the maximum rotational speed.
By analyzing the abnormal condition of the speed regulating voltage signal and updating the initial threshold value of the starting voltage and the initial threshold value of the end voltage, the service lives of the speed regulating mechanism and the whole machine can be prolonged.
It should be noted that the above embodiments are described with respect to a motor as an example, however, the above methods are equally applicable to speed regulation applications for other electric tools than motors without departing from the spirit and scope of the present invention.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A method for adjusting the speed of a motor, comprising:
acquiring a starting point voltage initial threshold and an end point voltage initial threshold for a speed regulating mechanism;
acquiring a speed regulation voltage signal from the speed regulation mechanism;
determining a starting point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the minimum value of the speed regulating voltage signal and the starting point voltage initial threshold value;
determining an end point voltage updating threshold value for the speed regulating mechanism according to the magnitude comparison relation between the maximum value of the speed regulating voltage signal and the end point voltage initial threshold value; and
and controlling the speed regulating mechanism to regulate the rotating speed of the motor according to the starting voltage updating threshold and the end voltage updating threshold.
2. The method of claim 1, wherein determining a threshold update for the throttle mechanism based on a magnitude comparison between a minimum value of the throttle voltage signal and the initial threshold of the starting voltage comprises:
when the minimum value of the speed regulating voltage signal is smaller than the initial threshold value of the starting voltage, taking the initial threshold value of the starting voltage as the updating threshold value of the starting voltage; and
and when the minimum value of the speed regulating voltage signal is greater than or equal to the initial threshold value of the starting voltage, taking the minimum value of the speed regulating voltage signal as the updating threshold value of the starting voltage.
3. The method of claim 1, wherein determining an end voltage update threshold for the throttle mechanism based on a magnitude comparison between a maximum value of the throttle voltage signal and the end voltage initial threshold comprises:
when the maximum value of the speed regulating voltage signal is larger than the initial threshold value of the terminal voltage, taking the initial threshold value of the terminal voltage as the updated threshold value of the terminal voltage; and
and when the maximum value of the speed regulating voltage signal is smaller than or equal to the initial threshold value of the end point voltage, taking the maximum value of the speed regulating voltage signal as the update threshold value of the end point voltage.
4. The method of claim 1, further comprising:
updating the initial threshold value of the starting point voltage to the updated threshold value of the starting point voltage, and storing the updated initial threshold value of the starting point voltage;
and updating the initial threshold value of the end point voltage to the updated threshold value of the end point voltage, and storing the updated initial threshold value of the end point voltage.
5. The method of claim 1, wherein obtaining a throttle voltage signal from the throttle mechanism comprises:
and acquiring the speed regulating voltage when the speed regulating mechanism displaces from the initial position so as to be used as the minimum value of the speed regulating voltage signal.
6. The method of claim 5, wherein obtaining a throttle voltage signal from the throttle mechanism further comprises:
and carrying out noise elimination processing on the speed regulation voltage when the speed regulation mechanism displaces from the initial position.
7. The governor method of claim 1, wherein obtaining a governor voltage signal from the governor mechanism comprises:
and after the minimum value of the speed regulating voltage signal is greater than or equal to the initial threshold value of the starting voltage, acquiring the speed regulating voltage when the slope change of the speed regulating voltage signal meets a preset condition so as to be used as the maximum value of the speed regulating voltage signal.
8. The method of claim 7, wherein obtaining a throttle voltage signal from the throttle mechanism further comprises:
and carrying out noise elimination processing on the speed regulating voltage when the slope change of the speed regulating voltage signal meets the preset condition.
9. The method of claim 1, wherein determining an end voltage update threshold for the throttle mechanism based on a magnitude comparison between a maximum value of the throttle voltage signal and the end voltage initial threshold comprises:
and when the frequency that the maximum value of the speed regulating voltage signal is less than or equal to the initial threshold value of the terminal voltage exceeds a preset threshold value, taking the maximum value of the speed regulating voltage signal as the updated threshold value of the terminal voltage.
10. A computer storage medium having instructions stored thereon that, when executed by one or more processors, cause the one or more processors to perform the method for adjusting a rotational speed of a motor of any one of claims 1 to 9.
CN202111592532.5A 2021-12-23 2021-12-23 Method for adjusting motor rotation speed and computer storage medium Active CN114337467B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111592532.5A CN114337467B (en) 2021-12-23 2021-12-23 Method for adjusting motor rotation speed and computer storage medium
TW111105476A TWI784880B (en) 2021-12-23 2022-02-15 Method and computer storage medium for adjusting motor speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111592532.5A CN114337467B (en) 2021-12-23 2021-12-23 Method for adjusting motor rotation speed and computer storage medium

Publications (2)

Publication Number Publication Date
CN114337467A true CN114337467A (en) 2022-04-12
CN114337467B CN114337467B (en) 2024-01-12

Family

ID=81054396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111592532.5A Active CN114337467B (en) 2021-12-23 2021-12-23 Method for adjusting motor rotation speed and computer storage medium

Country Status (2)

Country Link
CN (1) CN114337467B (en)
TW (1) TWI784880B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6518719B1 (en) * 1999-11-16 2003-02-11 Makita Corporation Power tools with operating speed control circuit
US20050002135A1 (en) * 2003-05-30 2005-01-06 Koichi Kokubo Pump drive motor control apparatus
US20050043873A1 (en) * 2003-08-21 2005-02-24 Mir Sayeed A. Current limit for an electric machine
US20090295313A1 (en) * 2008-05-30 2009-12-03 Makita Corporation Rechargeable power tool, control unit and recording medium
JP2011200058A (en) * 2010-03-23 2011-10-06 Hitachi Automotive Systems Ltd Driving device for brushless motor
US20120262101A1 (en) * 2011-03-15 2012-10-18 Johnson Controls Technology Company Control systems and methods for electronically commutated motors
JP2014045654A (en) * 2013-12-12 2014-03-13 Hitachi Automotive Systems Ltd Drive unit of brushless motor
CN106020131A (en) * 2015-03-31 2016-10-12 德马吉森精机株式会社 System and method for fine-tuning speed selection for reducing machine chatter
JP2017192207A (en) * 2016-04-13 2017-10-19 株式会社日立製作所 Dynamo-electric machine system and control method of dynamo-electric machine system
WO2018102872A1 (en) * 2016-12-08 2018-06-14 University Of Technology Sydney Sensorless ac motor controller
JP2018182786A (en) * 2017-04-03 2018-11-15 株式会社島津製作所 Motor abnormality detector of vacuum pump and vacuum pump system
JP2019158315A (en) * 2018-03-16 2019-09-19 三菱重工サーマルシステムズ株式会社 Step-out detection device, duct type air conditioner with the same, step-out detection method and step-out detection program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2530273B1 (en) * 2011-06-01 2020-04-08 Joseph Vögele AG Construction machine with automatic ventilator rotation speed regulator
TW201445870A (en) * 2012-09-21 2014-12-01 Ya De Li Technology Inc Intelligent motor controller, control method, tag-on circuit and remote control thereof
CN111211715B (en) * 2018-11-22 2023-04-25 杭州先途电子有限公司 Motor control method and system and controller
CN112737422B (en) * 2021-01-20 2022-11-29 河南城建学院 Cloud computing-based motor equipment speed regulation control method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6518719B1 (en) * 1999-11-16 2003-02-11 Makita Corporation Power tools with operating speed control circuit
US20050002135A1 (en) * 2003-05-30 2005-01-06 Koichi Kokubo Pump drive motor control apparatus
US20050043873A1 (en) * 2003-08-21 2005-02-24 Mir Sayeed A. Current limit for an electric machine
US20090295313A1 (en) * 2008-05-30 2009-12-03 Makita Corporation Rechargeable power tool, control unit and recording medium
JP2011200058A (en) * 2010-03-23 2011-10-06 Hitachi Automotive Systems Ltd Driving device for brushless motor
US20120262101A1 (en) * 2011-03-15 2012-10-18 Johnson Controls Technology Company Control systems and methods for electronically commutated motors
JP2014045654A (en) * 2013-12-12 2014-03-13 Hitachi Automotive Systems Ltd Drive unit of brushless motor
CN106020131A (en) * 2015-03-31 2016-10-12 德马吉森精机株式会社 System and method for fine-tuning speed selection for reducing machine chatter
JP2017192207A (en) * 2016-04-13 2017-10-19 株式会社日立製作所 Dynamo-electric machine system and control method of dynamo-electric machine system
WO2018102872A1 (en) * 2016-12-08 2018-06-14 University Of Technology Sydney Sensorless ac motor controller
JP2018182786A (en) * 2017-04-03 2018-11-15 株式会社島津製作所 Motor abnormality detector of vacuum pump and vacuum pump system
JP2019158315A (en) * 2018-03-16 2019-09-19 三菱重工サーマルシステムズ株式会社 Step-out detection device, duct type air conditioner with the same, step-out detection method and step-out detection program

Also Published As

Publication number Publication date
CN114337467B (en) 2024-01-12
TW202327254A (en) 2023-07-01
TWI784880B (en) 2022-11-21

Similar Documents

Publication Publication Date Title
US6426604B1 (en) Power window controlling device
US9473056B2 (en) Motor control device and control method of stepping motor
US9257928B2 (en) Control device for stepping motor and control method for stepping motor
KR102060218B1 (en) Method and apparatus for determining the position of a motor-driven actuating part
US20220090431A1 (en) Open/close control device, open/close control system, open/close control method, and program
CN114337467A (en) Method for adjusting motor rotation speed and computer storage medium
DK2339416T3 (en) System and method of operating a machine
US20220268081A1 (en) Method for carrying out a closing operation, closing device, server apparatus and communication terminal for carrying out a method of this type
JP4339489B2 (en) ENGINE GENERATOR VOLTAGE CONTROL DEVICE AND ITS CONTROL METHOD
JP2004527199A (en) Method for correcting identification of rotational position of drive shaft of commutator DC motor
CN108350820B (en) Engine control device for construction machine
CN112787566A (en) Control method and system
JP6862275B2 (en) Open / close control device, open / close operation control method and program
US11970896B2 (en) Opening/closing control device and opening/closing control method
JPWO2019216119A1 (en) Vehicle opening / closing body control device
CN112787567B (en) Control method and system
CN115219769A (en) Current detection method, electric tool and computer readable medium
EP3794722B1 (en) Mechatronic assembly for driving or positioning an external member
CN108631655B (en) Intelligent power module of motor control device
JPH06141513A (en) Brush monitor of rotating motor
JP5495442B2 (en) Engine control device
US20140062539A1 (en) Current controlled actuator driver with improved accuracy at low current
JP7472577B2 (en) Current control device, switch control device, current control method, and computer program
CN111271309B (en) Linear control circuit and method thereof
US11139761B2 (en) Control apparatus and motor

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