CN116760322A - Pulse frequency adjusting method, device and equipment for stepping motor and storage medium - Google Patents

Pulse frequency adjusting method, device and equipment for stepping motor and storage medium Download PDF

Info

Publication number
CN116760322A
CN116760322A CN202310985366.8A CN202310985366A CN116760322A CN 116760322 A CN116760322 A CN 116760322A CN 202310985366 A CN202310985366 A CN 202310985366A CN 116760322 A CN116760322 A CN 116760322A
Authority
CN
China
Prior art keywords
stepping motor
pulse frequency
motor
stepper motor
frequency adjusting
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.)
Pending
Application number
CN202310985366.8A
Other languages
Chinese (zh)
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.)
Hunan Beyond Medical Technology Co ltd
Original Assignee
Hunan Beyond Medical Technology 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 Hunan Beyond Medical Technology Co ltd filed Critical Hunan Beyond Medical Technology Co ltd
Priority to CN202310985366.8A priority Critical patent/CN116760322A/en
Publication of CN116760322A publication Critical patent/CN116760322A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors of the kind having motors rotating step by step
    • H02P8/14Arrangements for controlling speed or speed and torque
    • H02P8/18Shaping of pulses, e.g. to reduce torque ripple
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K11/00Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection
    • H02K11/02Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection for suppression of electromagnetic interference
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K11/00Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection
    • H02K11/20Structural association of dynamo-electric machines with electric components or with devices for shielding, monitoring or protection for measuring, monitoring, testing, protecting or switching
    • H02K11/21Devices for sensing speed or position, or actuated thereby
    • H02K11/215Magnetic effect devices, e.g. Hall-effect or magneto-resistive elements

Abstract

The application relates to the technical field of motor control, and discloses a pulse frequency adjusting method, a pulse frequency adjusting device, pulse frequency adjusting equipment and a pulse frequency adjusting storage medium of a stepping motor. The method is applied to a pulse frequency adjusting system of a stepping motor, wherein the pulse frequency adjusting system of the stepping motor comprises a motor driving chip, the stepping motor and a plurality of Hall sensors, and comprises the following steps: when the pulse frequency adjusting system of the stepping motor is electrified, a target control instruction is sent to a motor driving chip for driving the stepping motor so as to drive the stepping motor to operate; when the stepping motor is in an operating state, collecting a plurality of electric signals output by each Hall sensor, and recording the time for generating each electric signal; and determining the running speed of the stepping motor according to the time interval between two adjacent electric signals, and dynamically adjusting the pulse frequency of the stepping motor according to the running speed. By adopting the mode of detecting by the Hall sensor, signal sampling errors caused by electromagnetic interference can be effectively avoided, and thus the adjustment precision of the pulse frequency of the stepping motor is improved.

Description

Pulse frequency adjusting method, device and equipment for stepping motor and storage medium
Technical Field
The present application relates to the field of motor control technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting a pulse frequency of a stepper motor.
Background
The stepping motor is an executive device for converting pulse signals into angular displacement, the rotating speed of the motor is in direct proportion to the pulse frequency, and the rotating speed of the motor can be adjusted by changing the pulse frequency. Therefore, when the stepping motor is frequently started and stopped and the frequency is suddenly changed, the stepping motor is out of step, so that the stepping motor cannot normally operate and even the problem of locked rotor is caused.
The prior art mainly adopts a reverse electromotive force sampling method, and the method is easy to be interfered by external complex electromagnetic environment when the acquired electromotive force is converted into frequency spectrum, and is easy to cause misjudgment when running in the environment of a strong magnetic field.
Disclosure of Invention
In view of the above, the present application aims to overcome the defects in the prior art, and provides a method, a device, an apparatus and a storage medium for adjusting a pulse frequency of a stepper motor.
The application provides the following technical scheme:
in a first aspect, an embodiment of the present disclosure provides a pulse frequency adjustment method of a stepper motor, which is applied to a pulse frequency adjustment system of the stepper motor, where the pulse frequency adjustment system of the stepper motor includes a motor driving chip, the stepper motor and a plurality of hall sensors, and the method includes:
when the pulse frequency adjusting system of the stepping motor is electrified, a target control instruction is sent to a motor driving chip for driving the stepping motor so as to drive the stepping motor to operate;
when the stepping motor is in an operating state, collecting a plurality of electric signals output by each Hall sensor, and recording the time generated by each electric signal;
and determining the running speed of the stepping motor according to the time interval between two adjacent electric signals, and dynamically adjusting the pulse frequency of the stepping motor according to the running speed.
Further, the sending a target control command to a motor driving chip for driving the stepper motor to drive the stepper motor to operate includes:
and sending a target control instruction with fixed pulse frequency to the motor driving chip so as to drive the stepping motor to perform uniform speed operation.
Further, the pulse frequency adjusting system of the stepper motor further comprises an MCU micro-control unit, and the acquisition of a plurality of electrical signals output by the hall sensors comprises:
and acquiring a plurality of electric signals output by each Hall sensor in real time through the MCU micro-control unit.
Further, the determining the operation speed of the stepper motor according to the time interval between the adjacent two electric signals includes:
acquiring the rotated angular displacement of the stepping motor when two adjacent electric signals are generated;
calculating the quotient of the angular displacement and the time interval between the corresponding adjacent two electric signals, and determining the quotient as the running speed of the stepping motor.
Further, after determining the operation speed of the stepper motor, the method further includes:
judging whether the running speed of the stepping motor is zero or not;
and when the running speed of the stepping motor is zero, judging that the stepping motor is blocked.
Further, after determining the operation speed of the stepper motor, the method further includes:
judging whether the running speed of the stepping motor exceeds a rotating speed threshold value;
and when the running speed of the stepping motor exceeds the rotating speed threshold value, judging that the rotating speed of the stepping motor is overlarge.
Further, the method further comprises:
and when the step motor is judged to be blocked or the rotating speed of the step motor is judged to be overlarge, sending a driving stopping instruction to the motor driving chip so as to stop the operation of the step motor.
In a second aspect, in an embodiment of the present disclosure, a pulse frequency adjustment device for a stepper motor is provided, where the pulse frequency adjustment system for a stepper motor includes a motor driving chip, a stepper motor and a plurality of hall sensors, and the device includes:
the driving module is used for sending a target control instruction to a motor driving chip for driving the stepping motor when the pulse frequency adjusting system of the stepping motor is electrified so as to drive the stepping motor to operate;
the acquisition module is used for acquiring a plurality of electric signals output by each Hall sensor when the stepping motor is in an operating state and recording the time generated by each electric signal;
and the adjusting module is used for determining the running speed of the stepping motor according to the time interval between two adjacent electric signals and dynamically adjusting the pulse frequency of the stepping motor according to the running speed.
In a third aspect, in an embodiment of the present disclosure, there is provided a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the pulse frequency adjustment method of the stepper motor described in the first aspect when the computer program is executed.
In a fourth aspect, in an embodiment of the present disclosure, there is provided a computer readable storage medium storing a computer program, which when executed by a processor, implements the steps of the pulse frequency adjustment method of a stepper motor described in the first aspect.
Embodiments of the present application have the following advantages:
the pulse frequency adjusting method of the stepping motor provided by the embodiment of the application is applied to a pulse frequency adjusting system of the stepping motor, wherein the pulse frequency adjusting system of the stepping motor comprises a motor driving chip, the stepping motor and a plurality of Hall sensors, and the method comprises the following steps: when the pulse frequency adjusting system of the stepping motor is electrified, a target control instruction is sent to a motor driving chip for driving the stepping motor so as to drive the stepping motor to operate; when the stepping motor is in an operating state, collecting a plurality of electric signals output by each Hall sensor, and recording the time generated by each electric signal; and determining the running speed of the stepping motor according to the time interval between two adjacent electric signals, and dynamically adjusting the pulse frequency of the stepping motor according to the running speed. By adopting the mode of detecting the rotating speed of the stepping motor by the Hall sensor, signal sampling errors caused by electromagnetic interference can be effectively avoided, and the detection accuracy is improved, so that the adjustment precision of the pulse frequency of the stepping motor is improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Like elements are numbered alike in the various figures.
Fig. 1 shows a flowchart of a pulse frequency adjustment method of a stepper motor according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a pulse frequency adjustment system of a stepper motor according to an embodiment of the present application;
fig. 3 is a schematic diagram of a pulse frequency adjustment system of another stepper motor according to an embodiment of the present application;
fig. 4 shows a schematic structural diagram of a pulse frequency adjusting device of a stepper motor according to an embodiment of the present application.
Description of main reference numerals:
1-a motor driving chip; 2-a stepper motor; a 3-hall sensor; 4-MCU micro-control unit.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
It will be understood that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly on" another element, there are no intervening elements present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
In the present application, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
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 in the description of the templates herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
As shown in fig. 1, a flowchart of a pulse frequency adjustment method of a stepper motor according to an embodiment of the present application is shown, and the pulse frequency adjustment method of a stepper motor according to the embodiment of the present application is applied to a pulse frequency adjustment system of a stepper motor, as shown in fig. 2, where the pulse frequency adjustment system of a stepper motor includes a motor driving chip 1, a stepper motor 2 and a plurality of hall sensors 3, and specifically includes the following steps:
step S110, when the pulse frequency adjustment system of the stepper motor is powered on, a target control command is sent to the motor driving chip 1 for driving the stepper motor 2, so as to drive the stepper motor 2 to operate.
In this embodiment, in order to improve the accuracy of pulse frequency adjustment of the stepper motor 2 during operation, in the pulse frequency adjustment system of the stepper motor, a plurality of hall sensors 3 are provided on the stepper motor 2 for detecting the operation condition of the stepper motor 2 by the electrical signal output in real time.
It should be noted that, in the pulse frequency adjustment system of the present embodiment, six hall sensors 3 are included, each two sets of hall sensors are three sets, or three sets of hall sensors are two sets, and the hall sensors 3 may be disposed on a stator or a rotating shaft of the stepper motor 2, and the number and the specific disposition positions of the hall sensors 3 may be determined according to practical situations, which is not limited in the embodiment of the present application.
Specifically, when the pulse frequency adjusting system of the stepper motor is powered on, a target control instruction with fixed pulse frequency is sent to the motor driving chip 1 for driving the stepper motor 2, and the stepper motor 2 is driven to perform uniform speed operation.
In this state, the hall sensor 3 disposed on the stepper motor 2 will detect a relatively stable electrical signal, and no large jitter will occur, thereby effectively avoiding signal sampling errors caused by electromagnetic interference. And meanwhile, a mode that a plurality of Hall sensors are connected in series is adopted, so that misjudgment caused by single Hall sensor faults is avoided.
Step S120, when the stepper motor 2 is in an operation state, collecting a plurality of electrical signals output by each hall sensor 3, and recording the time of generating each electrical signal.
Further, as shown in fig. 3, the pulse frequency adjusting system of the stepper motor further includes a MCU (Micro Controller Unit) micro-control unit 4, when the stepper motor 2 is in an operating state, the MCU micro-control unit 4 collects several electrical signals output by the hall sensors 3 in real time, and records the time of each electrical signal.
Step S130, determining the operation speed of the stepper motor 2 according to the time interval between two adjacent electric signals, and dynamically adjusting the pulse frequency of the stepper motor 2 according to the operation speed.
The angular displacement of the stepper motor 2, through which the electrical signals are generated, is collected, it being understood that in this embodiment the hall sensor 3 outputs an electrical signal each time the stepper motor 2 is rotated 120 degrees. The quotient of the angular displacement 120 degrees and the time interval between the corresponding adjacent two electrical signals is thus calculated, which quotient is determined as the operating speed of the stepper motor 2.
For example, when the stepper motor 2 rotates 120 degrees, and the time interval between the corresponding adjacent two electrical signals is 0.3 seconds, 120/0.3=400 degrees/second is determined as the operation speed of the stepper motor 2.
Since the operation speed of the stepper motor 2 is proportional to the pulse frequency, the pulse frequency of the stepper motor 2 can be dynamically adjusted by adjusting the operation speed after the operation speed of the stepper motor 2 is determined, thereby improving the accuracy of the stepper motor 2.
In an alternative embodiment, after determining the operation speed of the stepper motor 2, it further comprises:
judging whether the running speed of the stepping motor 2 is zero, and judging that the stepping motor 2 is blocked when the running speed of the stepping motor 2 is zero; judging whether the operation speed of the stepper motor 2 exceeds a rotation speed threshold, and judging that the rotation speed of the stepper motor 2 is overlarge when the operation speed of the stepper motor 2 exceeds the rotation speed threshold.
It will be appreciated that the magnitude of the rotation speed threshold may be altered according to the user's need for sensitivity, e.g. the user wants to make the detection more sensitive, the rotation speed threshold setting is reduced, i.e. the rotation speed threshold setting is smaller when the need for detection sensitivity is higher.
Further, when it is determined that the stepping motor 2 is locked or the rotation speed of the stepping motor 2 is too high, a stop driving instruction is sent to the motor driving chip 1, so that the stepping motor 2 is stopped, and the stepping motor 2 is protected from being damaged. When no stalling or excessive rotating speed of the stepping motor 2 is detected, the situation that the stepping motor 2 is not stalled and the rotating speed is normal is indicated, and at the moment, a target control instruction is continuously sent to the motor driving chip 1 so as to enable the stepping motor 2 to keep running.
The method judges whether the stepping motor 2 is blocked or the rotating speed is too high based on the calculated running speed of the stepping motor 2, so that the method simply and conveniently realizes effective detection on whether the stepping motor 2 is blocked or the rotating speed is too high, has low cost, makes up the defects of the prior art, and has strong practicability and high safety and reliability.
The pulse frequency adjusting method of the stepping motor provided by the embodiment of the application is applied to a pulse frequency adjusting system of the stepping motor, wherein the pulse frequency adjusting system of the stepping motor comprises a motor driving chip, the stepping motor and a plurality of Hall sensors, and the method comprises the following steps: when the pulse frequency adjusting system of the stepping motor is electrified, a target control instruction is sent to a motor driving chip for driving the stepping motor so as to drive the stepping motor to operate; when the stepping motor is in an operating state, collecting a plurality of electric signals output by each Hall sensor, and recording the time generated by each electric signal; and determining the running speed of the stepping motor according to the time interval between two adjacent electric signals, and dynamically adjusting the pulse frequency of the stepping motor according to the running speed. The application can effectively avoid signal sampling errors caused by electromagnetic interference by adopting a mode of detecting the rotating speed of the stepping motor by adopting the Hall sensor, and improves the detection accuracy, thereby improving the adjustment precision of the pulse frequency of the stepping motor.
Example 2
Fig. 4 is a schematic structural diagram of a pulse frequency adjusting device 400 of a stepper motor according to an embodiment of the present application, where the device is applied to a pulse frequency adjusting system of the stepper motor, and the pulse frequency adjusting system of the stepper motor includes a motor driving chip, the stepper motor and a plurality of hall sensors, and specifically includes:
the driving module 410 is configured to send a target control instruction to a motor driving chip that drives the stepper motor to drive the stepper motor to operate when the pulse frequency adjustment system of the stepper motor is powered on;
the acquisition module 420 is configured to acquire a plurality of electrical signals output by each hall sensor when the stepper motor is in an operating state, and record time for generating each electrical signal;
the adjusting module 430 is configured to determine an operation speed of the stepper motor according to a time interval between two adjacent electrical signals, and dynamically adjust a pulse frequency of the stepper motor according to the operation speed.
Optionally, the pulse frequency adjusting device of the stepper motor further includes:
and the driving sub-module is used for sending a target control instruction with fixed pulse frequency to the motor driving chip so as to drive the stepping motor to perform uniform speed operation.
Optionally, the pulse frequency adjusting device of the stepper motor further includes:
the first acquisition submodule is used for acquiring a plurality of electric signals output by each Hall sensor in real time through the MCU micro-control unit.
Optionally, the pulse frequency adjusting device of the stepper motor further includes:
the second acquisition submodule is used for acquiring the angular displacement of the stepping motor when two adjacent electric signals are generated;
and the calculating module is used for calculating the quotient of the angular displacement and the time interval between the corresponding adjacent two electric signals and determining the quotient as the running speed of the stepping motor.
Optionally, the pulse frequency adjusting device of the stepper motor further includes:
the first judging module is used for judging whether the running speed of the stepping motor is zero or not;
and the first judging module is used for judging that the stepping motor is blocked when the running speed of the stepping motor is zero.
Optionally, the pulse frequency adjusting device of the stepper motor further includes:
the second judging module is used for judging whether the running speed of the stepping motor exceeds a rotating speed threshold value;
and the second judging module is used for judging that the rotating speed of the stepping motor is overlarge when the operating speed of the stepping motor exceeds the rotating speed threshold value.
Optionally, the pulse frequency adjusting device of the stepper motor further includes:
and the sending module is used for sending a stop driving instruction to the motor driving chip when the stepping motor is judged to be blocked or the rotating speed of the stepping motor is judged to be overlarge, so that the stepping motor stops running.
According to the pulse frequency adjusting device for the stepping motor, provided by the embodiment of the application, the signal sampling error caused by electromagnetic interference can be effectively avoided by adopting the mode of detecting the rotating speed of the stepping motor by the Hall sensor, and the detection accuracy is improved, so that the adjusting precision of the pulse frequency of the stepping motor is improved.
In an embodiment of the present disclosure, there is further provided a computer device including a memory storing a computer program and a processor implementing the steps of the pulse frequency adjustment method of the stepping motor described in embodiment 1 when the computer program is executed by the processor.
Also provided in the embodiments of the present disclosure is a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the pulse frequency adjustment method of the stepping motor described in embodiment 1.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in various embodiments of the application may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application.

Claims (10)

1. The pulse frequency adjusting method for the stepper motor is characterized by being applied to a pulse frequency adjusting system of the stepper motor, wherein the pulse frequency adjusting system of the stepper motor comprises a motor driving chip, the stepper motor and a plurality of Hall sensors, and the method comprises the following steps of:
when the pulse frequency adjusting system of the stepping motor is electrified, a target control instruction is sent to a motor driving chip for driving the stepping motor so as to drive the stepping motor to operate;
when the stepping motor is in an operating state, collecting a plurality of electric signals output by each Hall sensor, and recording the time generated by each electric signal;
and determining the running speed of the stepping motor according to the time interval between two adjacent electric signals, and dynamically adjusting the pulse frequency of the stepping motor according to the running speed.
2. The pulse frequency adjustment method of a stepping motor according to claim 1, wherein the sending a target control command to a motor driving chip that drives the stepping motor to drive the stepping motor to operate, comprises:
and sending a target control instruction with fixed pulse frequency to the motor driving chip so as to drive the stepping motor to perform uniform speed operation.
3. The pulse frequency adjustment method of a stepper motor according to claim 1, wherein the pulse frequency adjustment system of the stepper motor further comprises an MCU micro-control unit, the collecting a plurality of electrical signals output by each hall sensor comprises:
and acquiring a plurality of electric signals output by each Hall sensor in real time through the MCU micro-control unit.
4. The method of claim 1, wherein determining the operation speed of the stepping motor based on the time interval between the adjacent two electric signals comprises:
acquiring the rotated angular displacement of the stepping motor when two adjacent electric signals are generated;
calculating the quotient of the angular displacement and the time interval between the corresponding adjacent two electric signals, and determining the quotient as the running speed of the stepping motor.
5. The method of claim 1, wherein after determining the operation speed of the stepper motor, further comprising:
judging whether the running speed of the stepping motor is zero or not;
and when the running speed of the stepping motor is zero, judging that the stepping motor is blocked.
6. The method of claim 5, further comprising, after determining the operation speed of the stepper motor:
judging whether the running speed of the stepping motor exceeds a rotating speed threshold value;
and when the running speed of the stepping motor exceeds the rotating speed threshold value, judging that the rotating speed of the stepping motor is overlarge.
7. The method of claim 6, further comprising:
and when the step motor is judged to be blocked or the rotating speed of the step motor is judged to be overlarge, sending a driving stopping instruction to the motor driving chip so as to stop the operation of the step motor.
8. A pulse frequency adjusting device of a stepper motor, characterized in that the pulse frequency adjusting device is applied to a pulse frequency adjusting system of the stepper motor, the pulse frequency adjusting system of the stepper motor comprises a motor driving chip, the stepper motor and a plurality of hall sensors, and the device comprises:
the driving module is used for sending a target control instruction to a motor driving chip for driving the stepping motor when the pulse frequency adjusting system of the stepping motor is electrified so as to drive the stepping motor to operate;
the acquisition module is used for acquiring a plurality of electric signals output by each Hall sensor when the stepping motor is in an operating state and recording the time generated by each electric signal;
and the adjusting module is used for determining the running speed of the stepping motor according to the time interval between two adjacent electric signals and dynamically adjusting the pulse frequency of the stepping motor according to the running speed.
9. A computer device comprising a memory storing a computer program and a processor implementing the steps of the pulse frequency adjustment method of a stepper motor according to any one of claims 1-7 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the steps of the pulse frequency adjustment method of a stepper motor according to any one of claims 1-7.
CN202310985366.8A 2023-08-07 2023-08-07 Pulse frequency adjusting method, device and equipment for stepping motor and storage medium Pending CN116760322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310985366.8A CN116760322A (en) 2023-08-07 2023-08-07 Pulse frequency adjusting method, device and equipment for stepping motor and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310985366.8A CN116760322A (en) 2023-08-07 2023-08-07 Pulse frequency adjusting method, device and equipment for stepping motor and storage medium

Publications (1)

Publication Number Publication Date
CN116760322A true CN116760322A (en) 2023-09-15

Family

ID=87957375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310985366.8A Pending CN116760322A (en) 2023-08-07 2023-08-07 Pulse frequency adjusting method, device and equipment for stepping motor and storage medium

Country Status (1)

Country Link
CN (1) CN116760322A (en)

Similar Documents

Publication Publication Date Title
US8847529B2 (en) Electric motor control
CN106470002B (en) Motor control method and system
US7385365B2 (en) Method for the detection of abnormalities of electric motors
US10960922B2 (en) Fault tolerant field oriented control for electric power steering
US6112156A (en) Apparatus and method for detecting abnormality of motor
JP2008508528A (en) Encoder failure detection
KR20010022674A (en) Position sensing in brushless motor systems
CN108061854B (en) Steering engine locked rotor detection method and detection device
EP2224298B1 (en) Apparatus and method for determining a camera's required motor holding current
CN108111082B (en) IF control stall detection method and system for permanent magnet synchronous motor
CN115021632A (en) Motor operation detection method and device, computer equipment and motor control device
CN110932616B (en) Method and device for determining angle position of rotor of permanent magnet synchronous motor and motor
US7460030B2 (en) System and method for encoder failure detection
CN116760322A (en) Pulse frequency adjusting method, device and equipment for stepping motor and storage medium
KR20170002759A (en) Failure diagnosis method for hall sensor
CN112803870B (en) Diagnostic device, motor driving device, and diagnostic method
US7058537B2 (en) Method and device for detecting a rotational speed comprising an estimation of a measured value at low rotational speeds
US10619591B2 (en) Method for regulating a fuel feed pump
KR101260552B1 (en) Method and Apparatus for Providing Interlock Function
CN101267175A (en) Feed motor lock detection device
KR20140048581A (en) Device for detecting error of sensorless motor using bemf signal
CN114646103B (en) Control method and control device for outdoor fan of air conditioner and air conditioner
JP2001333589A (en) Overload state detector for motor
CN116803443A (en) Infusion pump flow detection system and method
CN117927658A (en) Method, device, equipment and storage medium for activating gear shift protection mechanism

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