CN112787557A - Driving method and system of stepping motor and storage medium - Google Patents

Driving method and system of stepping motor and storage medium Download PDF

Info

Publication number
CN112787557A
CN112787557A CN202110033356.5A CN202110033356A CN112787557A CN 112787557 A CN112787557 A CN 112787557A CN 202110033356 A CN202110033356 A CN 202110033356A CN 112787557 A CN112787557 A CN 112787557A
Authority
CN
China
Prior art keywords
stepping motor
winding
rotor
driving
current
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
CN202110033356.5A
Other languages
Chinese (zh)
Other versions
CN112787557B (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.)
Hangzhou Weijia Quantum Technology Co ltd
Original Assignee
Hangzhou Weijia Quantum 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 Hangzhou Weijia Quantum Technology Co ltd filed Critical Hangzhou Weijia Quantum Technology Co ltd
Publication of CN112787557A publication Critical patent/CN112787557A/en
Application granted granted Critical
Publication of CN112787557B publication Critical patent/CN112787557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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 rotating step by step
    • H02P8/04Arrangements for starting
    • 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 rotating step by step
    • H02P8/12Control or stabilisation of current
    • 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 rotating step by step
    • H02P8/14Arrangements for controlling speed or speed and torque
    • H02P8/20Arrangements for controlling speed or speed and torque characterised by bidirectional operation
    • 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 rotating step by step
    • H02P8/24Arrangements for stopping
    • H02P8/30Holding position when stopped

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

The invention discloses a driving method, a system and a storage medium of a stepping motor, wherein the method comprises the following steps: presetting the rotation stroke of a stepping motor according to an application scene; responding to a forward rotation command, starting from a start position, driving the stepping motor to accelerate to a middle position of a rotation stroke in a two-phase mode, and then driving the stepping motor to decelerate in the two-phase mode to a holding position to stop; holding the single coil in a holding position; and responding to a reverse rotation command, driving the stepping motor to accelerate to the middle position of the rotation stroke in a two-phase mode, and driving the stepping motor to decelerate to the initial position in the two-phase mode again to stop. By adopting the method, the stepping motor can be started and stopped quickly and stably in a fixed stroke.

Description

Driving method and system of stepping motor and storage medium
Technical Field
The present invention relates to a method for driving a stepping motor, and more particularly, to a method for driving a stepping motor applied to an optical path switch, a driving system for implementing the method, and a storage medium storing the method.
Background
The light path switch is generally applied to the on-off control of laser beams, and the beams can be completely turned off by rotating the blocking piece to a specified position, so that the controllable switching of the beams in the light path is achieved. With the miniaturization of the optical path, the mechanical shutter generally needs to have the characteristics of small volume, small noise, fast response, fast and accurate turn-off and the like.
The light path switch is generally mainly composed of three parts, namely a light blocking sheet, a stepping motor and a driving circuit. The light blocking sheet is used for blocking light, and is fixed on the rotor of the stepping motor, so that when the rotor of the stepping motor rotates, the light blocking sheet is driven to rotate together, and the opening and closing of the light path are realized. The process is controlled by a driving circuit, and the control of the stepping motor is realized by adjusting the magnitude and the direction of the current flowing through the stepping motor.
The current common stepping motor driving circuit is a subdivision step driving method, and is widely applied to various scenes and can basically meet the use requirements at present. The driving circuit of the stepping motor adopts pulse control signals to control the rotating angle and speed, and the forward and reverse rotation of the stepping motor is realized through direction control signals, so that the opening and closing of a light path are realized. When a subdivision step driving method is adopted to drive the stepping motor to rotate forwards or backwards, only the stepping speed can be controlled by changing the pulse frequency, and when a slower pulse frequency is given to the stepping motor, the baffle can stably rotate for a certain angle without the step loss conditions such as jitter or overshoot, but the requirement of quick turn-off cannot be met in time. After the pulse frequency is increased, the barrier sheet has a certain speed when reaching the light blocking position, so that the barrier sheet finally shakes back and forth near the light blocking position to influence the light blocking effect. Although this jitter can be adjusted by adjusting the fine dial switch, for example, increasing the fine fraction to reduce the jitter, this solution increases the turn-off time of the optical path, and is not suitable for application scenarios requiring fast switching.
In addition, in a miniaturized optical path requiring a fast optical switch, a diameter of a stepping motor is generally required to be not more than 15mm, a length of the stepping motor is required to be not more than 20mm, and meanwhile, a light spot with a maximum of 10mm is required to be switched off. The rotational inertia of the rotor of the stepping motor with the common volume is less than 10 gm ^2, and the rotational inertia of the light blocking sheet is greater than the rotational inertia of the rotor of the stepping motor, so that when the rotational inertia of the light blocking sheet is too large, the conventional subdivision step driving method can cause shaking caused by the fact that the light blocking sheet continuously moves forwards due to inertia after reaching a specified position. For example: after a common 20-step motor (one step is 18 degrees, the torque is about 1 mNm), which meets the volume requirement, after the light blocking sheet is installed, the step time of one step is about 4ms, and the time from two steps to 36 degrees is about 6ms, but because the inertia can swing back and forth around the angle, the final stop time is about 100ms, the maximum angle of the initial overshoot can reach more than 18 degrees, the overshoot can affect the light blocking effect, generally, in order to achieve quick response of a mechanical shutter, the shape of the designed light blocking sheet is slightly larger than the size of a light spot, once the overshoot exceeds about 2-3 degrees, the light blocking sheet can not be turned off, so the traditional subdivision driving step can not be applied to a miniaturized light path needing a quick optical switch.
The quantum absolute gravimeter is one of main application scenes of a miniaturized light path switch, and the existing novel high-precision absolute gravimeter generally utilizes microscopic atoms as a test mass body and realizes precise gravity acceleration measurement based on a cold atom substance wave interference method. Cold atoms are used as a unique group of quantum substances, the atomic substance wave interference similar to the optical wave interference can be realized by utilizing the cold atoms, the beam splitting, the deflection and the beam combination of an atomic wave packet are realized through laser pulses, so that the atomic interference fringes are realized, and the falling path of microscopic atoms can be changed by the gravity acceleration, so that the phase of the interference fringes is changed. And extracting the phase of the atomic interference fringes to obtain the information of the gravity acceleration. In the instrument, the rapid opening and closing of the optical path is crucial in the processes of capturing, cooling, interfering and detecting atoms, and directly influences the final measurement precision.
Therefore, how to realize quick turn-off and avoid the jitter near the stop position is one of the main difficulties in the research field of the current optical path switch.
Disclosure of Invention
In view of the above technical problems, a first object of the present invention is to provide a method for driving a stepping motor, by which a stable start-stop of the stepping motor at the shortest speed in a fixed stroke can be achieved.
The second objective of the present invention is to provide a driving system of a stepping motor, which can be used to execute the above driving method.
It is a third object of the present invention to provide a computer-readable storage medium having stored therein a computer program for executing the above-described driving method.
In order to achieve the above object, the present invention provides a driving method of a stepping motor, wherein the stepping motor for implementing the driving method has a rotor having at least four magnetic poles distributed along a rotational circumferential direction thereof and adjacent magnetic poles having different polarities, and a stator including at least a first winding and a second winding, the second winding yoke being opposed to a gap of two adjacent magnetic poles of the rotor when the first winding yoke is opposed to one magnetic pole of the rotor; the method comprises the following steps:
presetting the rotation stroke of a stepping motor according to an application scene;
when a forward rotation command is received, the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the current magnitude and direction in the first winding and the second winding, so that the rotor of the stepping motor rotates in the forward direction: starting from the initial position, firstly accelerating in two phases to the middle position of the rotation stroke, and then driving the rotor to decelerate in two phases to the holding position to stop;
holding the single coil in a holding position;
when a reverse rotation command is received, the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the magnitude and the direction of the current in the first winding and the second winding, so that the rotor of the stepping motor rotates reversely: the rotor is driven to accelerate to the middle position of the rotation stroke in a two-phase mode from the holding position, and then the rotor is driven to decelerate to the starting position in the two-phase mode to stop.
Preferably, the specific method for driving the stepping motor to hold the single coil at the holding position includes: when the stepping motor is positioned at the holding position, the magnetic pole direction of one winding opposite to the rotor magnetic pole is adjusted to be opposite to the rotor magnetic pole, other windings are powered off, and the stepping motor is limited at the holding position through the attraction between the energized winding and the magnetic pole opposite to the energized winding.
Preferably, the specific method for driving the two-phase acceleration of the stepping motor is as follows: the magnitude and direction of the stepping motor winding current are adjusted to make the magnetic poles of each winding opposite to the magnetic poles of the rotor closest to the winding and positioned on the upstream side of the stepping motor in the rotating direction, so that the rotor is positively rotated by the magnetic field attraction force.
Preferably, the specific method for driving the two-phase deceleration of the stepping motor is as follows: the current magnitude and direction of the stepping motor winding are adjusted to make the magnetic poles of each winding be the same as the magnetic poles of the rotor which is closest to the winding and is positioned on the upstream side of the stepping motor in the rotating direction, so that the rotor is applied with reverse acceleration through the magnetic field repulsive force.
Preferably, the driving method further comprises disconnecting the current of the winding opposite to a certain magnetic pole of the rotor and maintaining the time T at the starting moment of the two-phase acceleration of the stepping motor, wherein the maintaining time period of T is not more than the two-phase acceleration time period T 11/3 of (1).
Preferably, the driving method further includes obtaining an optimal acceleration time T according to the rotational stroke1And at the time of optimum decelerationInter T2
Preferably, the optimal acceleration time T is obtained according to the rotation stroke1And an optimum deceleration time T2The method comprises the following steps: driving the stepping motor to accelerate to the middle position of the rotation stroke in the whole course at the initial position, and collecting the time T required by driving the stepping motor to accelerate1(ii) a When the stepping motor rotates to the middle position, the stepping motor is driven to decelerate to stop in the whole process, the time required for driving the stepping motor to decelerate is collected, the process is repeated, the deceleration time is finely adjusted until the output end of the stepping motor just stops when rotating to the holding position, and the time T required for decelerating the stepping motor is obtained2
In another aspect of the present invention, there is provided a driving system of a stepping motor, the system including: the control component is connected with the driving module, and the driving module is connected with the stepping motor;
the control module is used for sending a forward rotation command or a reverse rotation command;
the driving module responds to a forward rotation command and drives the stepping motor to execute the following actions: the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the current magnitude and direction in the first winding and the second winding, so that the rotor of the stepping motor rotates positively: starting from the initial position, firstly accelerating in two phases to the middle position of the rotation stroke, and then driving the rotor to decelerate in two phases to the holding position to stop; holding the single coil in a holding position; responding to a reverse rotation command, and controlling the magnitude and the direction of current in the first winding and the second winding to enable the first winding and the second winding to apply equidirectional magnetic force to the rotor so as to enable the rotor of the stepping motor to rotate reversely: the rotor is driven to accelerate to the middle position of the rotation stroke in a two-phase mode from the holding position, and then the rotor is driven to decelerate to the starting position in the two-phase mode to stop.
Preferably, the stepping motor includes a rotor having at least four magnetic poles distributed along a rotational circumferential direction thereof and adjacent magnetic poles have different polarities, and a stator including at least a first winding and a second winding, the second winding being opposed to a gap between two adjacent magnetic poles of the rotor when the first winding yoke is opposed to one magnetic pole of the rotor; when the first winding drives the rotor to rotate, the rotor is driven to accelerate and then decelerate by adjusting the current direction, and meanwhile, the second winding applies equidirectional magnetic force to the rotor.
In still another aspect of the present invention, there is provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the stepping motor driving method as described above.
Compared with the prior art, the invention has the beneficial effects that:
the method can realize the quick and stable start-stop of the stepping motor in a fixed stroke, and particularly, the method can realize the driving of the front half-way two-phase acceleration and the rear half-way two-phase deceleration of the stepping motor by controlling the current magnitude and the direction of a stator winding of the stepping motor, effectively improve the action speed of an optical path switch, and meet the quick switching requirement of a miniaturized optical path (particularly precise instruments such as a quantum absolute gravimeter and the like); in addition, the single coil maintenance is adopted in the holding position, the power consumption is small (compared with the traditional two-phase maintenance, the power consumption is reduced by half), meanwhile, the electronic reversing times are reduced during the light blocking action, and the light blocking time is shortened.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application.
Fig. 1 is a schematic perspective view of an optical switch actuator according to an embodiment of the present invention;
FIG. 2 is a schematic side view of an optical switch actuator assembly according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a light blocking structure of the optical path switch actuator according to an embodiment of the present invention;
FIG. 4 is a flow chart of a stepper motor driving method in an embodiment of the present invention;
FIG. 5 is a schematic diagram of the electrical connections of the stepper motor driver circuit in an embodiment of the present invention;
FIG. 6 is a circuit connection structure diagram of a stepping motor driving circuit in the embodiment of the invention;
FIG. 7 is a diagram of the internal logic of the driver module in an embodiment of the present invention;
FIG. 8 is a schematic diagram of a method for controlling attenuation in an H-bridge circuit according to an embodiment of the present invention;
FIG. 9(a) is a schematic diagram illustrating the positional relationship between the stator winding and the rotor when the stepping motor is in the start position according to the embodiment of the present invention;
fig. 9(b) is a schematic diagram of the position relationship between the stator winding and the rotor at a certain moment during the forward acceleration of the stepping motor in the embodiment of the present invention;
fig. 9(c) is a schematic diagram of the position relationship between the stator winding and the rotor at a certain moment during the forward deceleration process of the stepping motor in the embodiment of the present invention;
FIG. 9(d) is a schematic diagram illustrating the positional relationship between the stator winding and the rotor when the stepping motor is in the holding position according to the embodiment of the present invention;
fig. 10 is a control timing chart of the stepping motor in the embodiment of the present invention.
Wherein, 1, a supporting seat; 2. a sleeve; 3. an output end of the stepping motor; 4. a light-blocking member;
11. a first limit member; 12. a second limiting component;
41. a fixed end; 42. a movable end.
Detailed Description
The invention is further described with reference to the following figures and examples.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. 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.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, unless otherwise specified, "a plurality" means two or more unless explicitly defined otherwise.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
Specific terms in the present embodiment are explained below: in general, in the optical path switch, when the light blocking component is located at a position at one side of the light blocking path, the position of the corresponding stepping motor is set as the start position of the stepping motor, and when the light blocking component is located at one side of the light blocking path, the position of the corresponding motor is set as the holding position of the stepping motor.
The present embodiment provides an optical switch, which includes a power supply, a control component and an execution component, the power supply, the control component and the execution component are connected with each other, specifically,
the executing component is arranged at one side of the optical path, as shown in fig. 1 and fig. 2, and includes a light blocking component 4 and a stepping motor connected with the light blocking component for driving the light blocking component to rotate so as to turn on or off the optical path,
the stepping motor comprises a rotor and a stator, wherein the rotor is provided with at least four magnetic poles distributed along the rotation circumferential direction of the rotor, the polarities of the adjacent magnetic poles are different, the stator at least comprises a first winding and a second winding, and when a magnetic yoke of the first winding is opposite to one magnetic pole of the rotor, a gap between the magnetic yoke of the second winding and the two adjacent magnetic poles of the rotor is opposite; when the first winding drives the rotor to rotate, the rotor is driven to accelerate and then decelerate by adjusting the current direction, and meanwhile, the second winding applies equidirectional magnetic force to the rotor;
as shown in fig. 3, the light blocking member 4 has a fixed end 41 and a movable end 42, the fixed end 41 is connected to the output end 3 of the stepping motor, and the movable end 42 extends outward along a certain radial direction of the stepping motor to form a light blocking portion;
the control assembly is respectively connected with the first winding and the second winding, and the stepping motor is driven to rotate by controlling the current direction and the current magnitude in the first winding and the second winding, so that the light blocking part 4 is driven to rotate to enable the light blocking part to block or avoid the light beam 5 (see fig. 3: light blocking state).
Preferably, when the first winding magnetic yoke is opposite to one magnetic pole of the rotor, the second winding magnetic yoke is opposite to the middle of the gap between two adjacent magnetic poles of the rotor. Therefore, on one hand, when the stepping motor starts, one winding which is opposite to the middle part of the gap between two adjacent magnetic poles of the rotor can be used for guiding the rotor to start and rotate, so that the stepping motor is prevented from being out of step at the starting moment; on the other hand, when the stepping motor drives the light blocking member 4 to rotate, by adjusting the directions of the currents in the first winding and the second winding, synchronous acceleration or synchronous deceleration of the rotor is more easily achieved.
As a preferred embodiment, the single step of the stepper motor is 18 °.
In a preferred embodiment, the light blocking member 4 is a sector structure extending gradually from the fixed end 41 to both sides of the movable end 42, and the light blocking portion is disposed inside an arc-shaped edge of the sector structure, and in some cases, the arc-shaped outer edge of the sector structure may be adjusted to be a straight edge perpendicular to the radial direction of the rotor.
As a preferred embodiment, the fixed end 41 and the movable end 42 of the light blocking member 4 are connected by a connecting component, and the light blocking portion is a plate-shaped structure that is formed at the movable end 42 of the light blocking member 4, is perpendicular to the extending direction of the light path, and can completely block light when necessary; preferably, the fixed end 41, the connecting member and the movable end 42 are fixedly connected or integrally formed. Further preferably, the connection structure between the light blocking part 4 and the output end of the stepping motor is as follows: the fixed end 41 of the light-blocking part 4 is formed with a connecting groove which is in interference fit with the output end of the stepping motor; further preferably, the connecting structure may further include a plurality of longitudinally extending tooth grooves formed in an inner wall of the connecting groove, and the tooth grooves are engaged with the output end of the stepping motor, so that the light blocking member 4 is effectively prevented from being displaced relative to the output end of the stepping motor during the rotation.
As a preferred embodiment, the optical path switch further comprises a support component for fixing and supporting the stepping motor.
As a preferred embodiment, the supporting assembly includes a supporting seat 1 and a sleeve 2, the stepping motor is fixed in the sleeve 2, and the sleeve 2 is fixed on the supporting seat 1.
As a preferred embodiment, a first limiting member 11 and a second limiting member 12 are disposed at one end of the supporting seat 1 close to the light blocking member 4, and the first limiting member 11 and the second limiting member 12 are disposed at two sides of the light blocking member 4, respectively, wherein a limited range between the first limiting member 11 and the second limiting member 12 does not limit a rotation range of the movable end 42 of the light blocking member 4, and both are present to prevent the stepping motor from stepping out and overshooting, when the light blocking member 4 rotates to an end close to the first limiting member 11, the light blocking portion is far away from and completely avoids light, and the light path switch is opened; when the light blocking member 4 rotates to a position close to one end of the second limiting member 12, the light blocking portion completely blocks light, and the light path switch is closed.
As a preferred implementation mode, the control assembly comprises a control module and a driving module connected with the control module, the control module preferably comprises an STM32 series single chip microcomputer, the specific model can be STM32F103 and the like, and the driving module preferably comprises a DRV8812 integrated chip.
The embodiment further provides a light source device comprising the above light path switch, and the light source device further comprises a light emitting component, the light path switch is arranged on a light emitting path of the light emitting component, and the light blocking component 4 of the light path switch can be controlled to rotate so as to block or avoid the light emitting path, so that the light source device is turned on or turned off.
The embodiment also provides a quantum absolute gravimeter comprising the optical path switch, which comprises a control system, a laser system and a probe system which are connected with each other through an electric wire and/or an optical fiber; the control system comprises a main controller, a control assembly and a plurality of light path switches, wherein the main controller and the control assembly are mutually connected; wherein, the light path is opened light and is set up on laser system's light outgoing path, and it includes power, control module and executive component, power, control module and executive component interconnect specifically:
the executing component is arranged at one side of the light-emitting path of the laser system, the executing component comprises a light-blocking component 4 and a stepping motor which is connected with the light-blocking component and is used for driving the light-blocking component to rotate so as to open or close the light path,
the light blocking part 4 is provided with a fixed end 41 and a movable end 42, the fixed end 41 is connected with the output end of the stepping motor, and the movable end 42 extends outwards along a certain radial direction of the stepping motor to form a light blocking part;
the stepping motor comprises a rotor and a stator, wherein the rotor is provided with at least four magnetic poles distributed along the rotation circumferential direction of the rotor, the polarities of the adjacent magnetic poles are different, the stator at least comprises a first winding and a second winding, and when a magnetic yoke of the first winding is opposite to one magnetic pole of the rotor, a gap between the magnetic yoke of the second winding and the two adjacent magnetic poles of the rotor is opposite; when the first winding drives the rotor to rotate, the rotor is driven to accelerate and then decelerate by adjusting the current direction, and meanwhile, the second winding applies equidirectional magnetic force to the rotor;
the control assembly is respectively connected with the first winding and the second winding, and the stepping motor is driven to rotate by controlling the current direction and the current magnitude in the first winding and the second winding, so that the light blocking part 4 is driven to rotate to enable the light blocking part to block or avoid light rays.
In a preferred embodiment, when the first winding is aligned with a magnetic pole yoke of the rotor, the second winding yoke is aligned with the middle of a gap between two adjacent magnetic poles of the rotor. Therefore, on one hand, when the stepping motor starts, one winding which is opposite to the middle part of the gap between two adjacent magnetic poles of the rotor can be used for guiding the rotor to start and rotate, so that the stepping motor is prevented from being out of step at the starting moment; on the other hand, when the stepping motor drives the light blocking member 4 to rotate, synchronous acceleration or synchronous deceleration of the rotor can be realized by adjusting the current directions in the a-phase winding and the B-phase winding.
In a preferred embodiment, the rotation stroke of the stepping motor is not less than the diameter of the laser system light spot.
In a preferred embodiment, the step motor is a 20-step motor, the step of which is 18 °, and preferably, the first winding and the second winding of the step motor are arranged perpendicular to each other.
As a preferred embodiment, when the spot diameter is 1-5mm, the stroke of the stepping motor is preferably rotated by one step, and when the spot diameter is 5-10mm, the stroke of the stepping motor is preferably rotated by two steps.
In a preferred embodiment, the light blocking member 4 is a sector structure extending gradually from the fixed end 41 to both sides of the movable end 42, and the light blocking portion is disposed inside an arc-shaped edge of the sector structure, and in some cases, the arc-shaped outer edge of the sector structure may be adjusted to be a straight edge perpendicular to the radial direction of the rotor.
As a preferred embodiment, the fixed end 41 and the movable end 42 of the light blocking member 4 are connected by a connecting component, and the light blocking portion is a plate-shaped structure that is formed at the movable end 42 of the light blocking member 4, is perpendicular to the extending direction of the light path, and can completely block light when necessary; preferably, the fixed end 41, the connecting member and the movable end 42 are fixedly connected or integrally formed. Further preferably, the connection structure between the light blocking part 4 and the output end of the stepping motor is as follows: the fixed end 41 of the light-blocking part 4 is formed with a connecting groove which is in interference fit with the output end of the stepping motor; further preferably, the fixing end 41 of the light blocking member 4 may be further fixed to the output shaft 3 of the stepping motor by a screw, and still further preferably, the connecting structure may further include a plurality of longitudinally extending tooth grooves formed on an inner wall of the connecting groove, and the tooth grooves are engaged with the output end of the stepping motor, so that the light blocking member 4 and the output end of the stepping motor are effectively prevented from being displaced relative to each other during the rotation.
As a preferred embodiment, the optical path switch further comprises a support component for fixing and supporting the stepping motor. Preferably, the supporting component comprises a supporting seat 1 and a sleeve 2, the stepping motor is fixed in the sleeve 2, and the sleeve 2 is fixed on the supporting seat 1. Preferably, a first limiting part 11 and a second limiting part 12 are arranged at one end of the support base 1 close to the light blocking part 4, the first limiting part 11 and the second limiting part 12 are respectively arranged at two sides of the light blocking part 4, wherein a limited range between the first limiting part 11 and the second limiting part 12 does not limit a rotation range of the movable end 42 of the light blocking part 4, the first limiting part and the second limiting part exist for preventing the stepping motor from step-out overshoot, when the light blocking part 4 rotates to the end close to the first limiting part 11, the light blocking part is far away from and completely avoids light, and the light path switch is opened; when the light blocking member 4 rotates to a position close to one end of the second limiting member 12, the light blocking portion completely blocks light, and the light path switch is closed.
As a preferred embodiment, the probe system comprises a measuring part and a support frame, wherein the measuring part comprises an ultra-vacuum unit for capturing atoms and providing free falling space for the atoms, and the periphery of the ultra-vacuum unit is provided with a light path structure which is connected with the laser system and guides to generate a plurality of laser bands and a magnetic field unit which is matched with the light path structure to generate a three-dimensional magnetic light trap for cooling and capturing the atoms; the light path switch is arranged between the laser system and the light path structure, and when gravity measurement is carried out, the control system carries out instantaneous realization or elimination of the laser band by controlling the opening or closing of the light path switch.
As a preferred implementation mode, the control system comprises a main controller and a control assembly connected with the main controller, the control assembly is provided with a control module and a driving module connected with the control module, the control module preferably comprises an STM32 series single chip microcomputer, the specific model can be STM32F103 and the like, and the driving module preferably is a DRV8812 integrated chip.
The present embodiment further provides a driving method of a stepping motor applicable to the above optical path switch, as shown in fig. 4, including the following steps:
presetting the rotation stroke of a stepping motor according to an application scene;
when a forward rotation command is received, the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the current magnitude and direction in the first winding and the second winding, so that the rotor of the stepping motor rotates in the forward direction: starting from the initial position, firstly accelerating in two phases to the middle position of the rotation stroke, and then driving the rotor to decelerate in two phases to the holding position to stop;
holding the single coil in a holding position;
when a reverse rotation command is received, the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the magnitude and the direction of the current in the first winding and the second winding, so that the rotor of the stepping motor rotates reversely: the rotor is driven to accelerate to the middle position of the rotation stroke in a two-phase mode from the holding position, and then the rotor is driven to decelerate to the starting position in the two-phase mode to stop.
As a preferred embodiment, the specific method for driving the stepping motor to hold the single coil in the holding position includes: when the stepping motor is positioned at the holding position, the magnetic pole direction of one winding opposite to the rotor magnetic pole is adjusted to be opposite to the rotor magnetic pole, other windings are powered off, and the stepping motor is limited at the holding position through the attraction between the energized winding and the magnetic pole opposite to the energized winding. Therefore, the holding position is maintained by adopting the single coil, the power consumption is low (the power consumption is reduced by at least half compared with the power consumption of the traditional two-phase maintenance), and meanwhile, the electronic reversing times during the light blocking action are reduced, and the light blocking time is shortened.
As a preferred embodiment, the specific method for driving the two-phase acceleration of the stepping motor is as follows: the magnitude and direction of the stepping motor winding current are adjusted to make the magnetic poles of each winding opposite to the magnetic poles of the rotor closest to the winding and positioned on the upstream side of the stepping motor in the rotating direction, so that the rotor is positively rotated by the magnetic field attraction force.
As a preferred embodiment, the specific method for driving the two-phase deceleration of the stepping motor is as follows: the current magnitude and direction of the stepping motor winding are adjusted to make the magnetic poles of each winding be the same as the magnetic poles of the rotor which is closest to the winding and is positioned on the upstream side of the stepping motor in the rotating direction, so that the rotor is applied with reverse acceleration through the magnetic field repulsive force.
As a preferred embodiment, at the starting time of the two-phase acceleration of the stepping motor, the current of the winding opposite to a certain magnetic pole of the rotor is cut off and maintained for a time T, so that the starting process is smoother, wherein the maintaining time duration of the time T is not more than 1/3 of the two-phase acceleration time duration T1, and ideally, the time T should be a minimum value, namely, the smaller the time T is, the better the starting process is.
As a preferred embodiment, the method further includes obtaining an optimal acceleration time T1 and an optimal deceleration time T2 according to the rotation stroke.
As a preferred embodiment, the method for obtaining the optimal acceleration time T1 and the optimal deceleration time T2 according to the rotation stroke includes: driving the stepping motor to accelerate to the middle position of the rotation stroke in the whole course at the initial position, and collecting the time T1 required by driving the stepping motor to accelerate; when the stepping motor rotates to the middle position, the stepping motor is driven to decelerate to stop in the whole process, the time required by the deceleration of the stepping motor is collected, the process is repeated, the deceleration time is finely adjusted until the output end of the stepping motor just stops when rotating to the holding position, and the time T2 required by the deceleration of the stepping motor is obtained.
The present embodiment also provides a driving system of a stepping motor, including: the control component is connected with the driving module, and the driving module is connected with the stepping motor;
the control module is used for sending a forward rotation command or a reverse rotation command;
the driving module responds to a forward rotation command and drives the stepping motor to execute the following actions: the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the current magnitude and direction in the first winding and the second winding, so that the rotor of the stepping motor rotates positively: starting from the initial position, firstly accelerating in two phases to the middle position of the rotation stroke, and then driving the rotor to decelerate in two phases to the holding position to stop; holding the single coil in a holding position; responding to a reverse rotation command, and controlling the magnitude and the direction of current in the first winding and the second winding to enable the first winding and the second winding to apply equidirectional magnetic force to the rotor so as to enable the rotor of the stepping motor to rotate reversely: the rotor is driven to accelerate to the middle position of the rotation stroke in a two-phase mode from the holding position, and then the rotor is driven to decelerate to the starting position in the two-phase mode to stop.
As a preferred embodiment, the stepping motor includes a rotor having at least four magnetic poles distributed along a circumferential direction of rotation thereof and adjacent magnetic poles having different polarities, and a stator including at least a first winding and a second winding, the second winding being opposed to a gap between two adjacent magnetic poles of the rotor when the first winding yoke is opposed to one magnetic pole of the rotor; when the first winding drives the rotor to rotate, the rotor is driven to accelerate and then decelerate by adjusting the current direction, and meanwhile, the second winding applies equidirectional magnetic force to the rotor. Preferably, when the first winding is aligned with a certain magnetic pole of the rotor, the second winding is aligned with the middle part of the gap between two adjacent magnetic poles of the rotor, so that, on one hand, when the stepping motor starts, one winding aligned with the middle part of the gap between two adjacent magnetic poles of the rotor can be used for guiding the rotor to start and rotate, and step loss of the stepping motor at the starting moment is avoided; on the other hand, when the stepping motor drives the light blocking part 4 to rotate, synchronous acceleration or synchronous deceleration of the rotor can be realized by adjusting the current directions in the first winding and the second winding.
The present embodiment also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is processed and executed, the stepping motor driving method described above is implemented.
The stepping motor driving method, system, optical path switch, and the like described above will be described in detail based on the application to the quantum absolute gravimeter:
according to the driving method, the realization process is attached to the following circuit: control module and drive module specifically: as shown in fig. 5, the control component preferably includes a single chip and the driving component includes an H-bridge module. The DC power supply supplies power to the singlechip and the H bridge circuit module, the output end of the control signal is connected with the input end of the singlechip, the output end of the singlechip is connected with the H bridge circuit module, the output end of the H bridge circuit module is connected with the positive end of a winding coil of the stepping motor, and the negative end of the winding coil is connected with the sampling resistor and finally grounded.
The singlechip is mainly used for receiving an external trigger signal, and after receiving the trigger signal, the singlechip controls the opening and closing of the H bridge module according to a preset program, so that the optimal motion process of the stepping motor is realized.
The H-bridge module is mainly used for controlling the magnitude and direction of the current of a winding coil of the stepping motor, wherein the single phase comprises 8 field effect transistors, and the adjustment of the current direction is realized by controlling the on and off of different field effect transistors. The current is adjusted by a chopping modulation method, the sampled current value is compared with a set value, the current is turned off when the sampled current value exceeds the set value, and the current is turned on when the sampled current value is lower than the set value.
Fig. 9(a) is a schematic diagram of a positional relationship between a stator winding and a rotor, which is suitable for a start bit or a hold bit (a single-coil hold bit) of a stepping motor, and it should be noted that if stepping by other steps is required, the timing sequence needs to be modified accordingly, but the roles of the control signals are consistent. Referring to fig. 5 and 6, the control signals of the stepping motor mainly include TTL control signals, DECAY signals, winding coil current ENABLE control signals ENABLE x, winding coil current direction control signals PHASE x, and winding coil current magnitude control signals xI0 and xI 1. Wherein x represents phase A or phase B. When the single-chip microcomputer U1 receives the TTL control signal (in this embodiment, the signal comes from the main controller of the quantum absolute gravimeter), it controls U2 according to the timing sequence shown in fig. 10, so as to complete the rotation of the stepping motor.
The form and function of each control signal will be described in detail below:
the TTL control signal described in this embodiment is a square wave signal and is used to control the forward and reverse rotation of the stepping motor, and when the signal jumps from a high level to a low level, the single chip controls the H-bridge module to drive the stepping motor to complete forward rotation through a series of timings, and when the low level jumps to the high level, the single chip completes reverse rotation of the stepping motor.
The delay signal described in this embodiment is a square wave signal, and is used to control the current attenuation mode of the H-bridge module, and includes both fast attenuation and slow attenuation. When the stepper motor is rotating, the current through the two phases changes rapidly, where it is desirable to change the current as fast as possible, so DECAY is set high, which is a fast DECAY mode. When the stepping motor is in a static state, the fast attenuation causes the current to generate huge ripples, so that the baffle of the stepping motor shakes back and forth near the maintaining position, and the DECAY signal is set to be low when the baffle is in a static maintaining state, and the slow attenuation mode is adopted.
The winding coil current ENABLE control signal ENABLE x described in this embodiment is a square wave signal. The control signal is used for controlling the on and off of the winding coil current. Because the mode of single coil maintenance is selected when the rotor is at the holding position, if the current direction of the winding coil is directly reversed when the stepping motor starts to move, the stepping motor is possibly in an out-of-control state, namely the stepping motor can rotate in the forward direction and the reverse direction, and step loss is easy to occur, the current direction in the corresponding winding coil can be adjusted through the ENABLE x so as to guide the stepping motor to rotate in the correct direction.
Referring to fig. 10, the timing chart shows phase B as an example of the holding phase, and when stationary, the first winding is energized, so that phase B is enabled, phase a is disabled, and the rotor position is maintained to be opposite to phase B. When the stepping motor moves forwards, the B phase is enabled, the A phase is disabled, the stepping motor slowly moves for a small angle according to the designated direction, the B phase is enabled again, the two winding coils apply force simultaneously to accelerate, the speed is reduced after the rotation angle is over half, and finally the B phase is enabled to be maintained after the designated position is reached, and the A phase is disabled. Therefore, phase B plays a role in maintaining acceleration and deceleration, and phase A only plays a role in acceleration and deceleration. Of course, the A phase may be used as the maintenance phase.
The winding coil current direction control signal PHASE x described in this embodiment is a square wave signal. The control signal is used for controlling the direction of the current of the winding coil, thereby controlling the acceleration and deceleration of the stepping motor. Taking phase B as the holding phase for example, when in the rest position, phase B is enabled and gives forward current. The positive and negative directions of the phase A current do not influence the stress of the stepping motor because the phase A is not enabled. When the stepping motor starts to rotate forwards, the phase A supplies reverse current, the phase A enables, the stepping motor starts to rotate forwards, and after the stepping motor rotates for a small angle, the phase B supplies reverse current to accelerate the rotor of the stepping motor together with the phase A. When the stepping motor rotates to reach the position 1 in one step, the phase A can decelerate the rotor without changing the phase A current, the phase B current direction needs to be changed to decelerate the stepping motor, and finally the stepping two steps reach the position 2.
The winding coil current magnitude control signals xI0 and xI1 described in this embodiment are square wave signals. When the logic level of xI0 is 1 and the logic level of xI1 is 0, the current is output at 38% of full current, when the logic level of xI0 is 0 and the logic level of xI1 is 1, the current is output at 71% of full current, when the logic level of xI0 is 0 and the logic level of xI1 is 0, the current is output at 100% of full current, when the stepping motor is at rest, 38% of current is selected for maintaining, when the stepping motor is rotating at acceleration, 71% of current is supplied, and when the rotation frequency of the stepping motor is not high, 100% of current can be selected. The turn-off time, while faster, reduces the stepper motor life and increases the amount of heat generated by the stepper motor.
The circuit for implementing the driving method of the stepping motor provided by the embodiment mainly comprises a direct-current power supply, a control signal, a single chip microcomputer and an H bridge circuit module, and the circuit principle is shown in fig. 5 and 6. U1 is the singlechip, and the specific model is STM32F030F4P 6. The power supply terminal is connected to U1-5 and U1-16 and is connected to the ground by a decoupling capacitor C10; a resistor R9 pulls die U1-1 down to ground. A reset circuit consisting of a resistor R11, a capacitor C11 and a switch S1 is connected to U1-4; the control signal BPHASE is connected to U1-6; control signal APHASE is connected to U1-9; control signal BENBL is connected to U1-7; the control signal AENBL is connected to U1-8; the control signal DECAY is connected to U1-10; the control signal BI1 is connected to U1-11; the control signal BI0 is connected to U1-12; control signal AI1 is connected to U1-13; control signal AI0 is connected to U1-18;
u2 is H bridge circuit integrated module, using integrated chip DRV8812, its internal logic is shown in FIG. 7, at the same time, FIG. 8 shows its attenuation control method, in FIG. 8, firstly shows the flow direction of driving current, secondly shows the reverse fast attenuation process, and thirdly shows the slow attenuation process. The power supply end is connected to U2-4 and U2-11; the control signal BPHASE is connected to U2-23; control signal APHASE is connected to U2-20; control signal BENBL is connected to U2-22; the control signal AENBL is connected to U2-21; control signal DECAY is connected to U2-19; the control signal BI1 is connected to U2-27; the control signal BI0 is connected to U2-26; control signal AI1 is connected to U2-25; control signal AI0 is connected to U2-24; a capacitor C5 is connected between U2-1 and U2-2; u2-3 connects a resistor R1 and a capacitor R2 to the power supply terminal; the U2-15 reference voltage output terminal is connected to U2-12 and U2-13; u2-28 and U2-14 are connected directly to ground; u2-5 is connected to the positive terminal of the A phase winding coil; u2-7 is connected to the negative terminal of the A phase winding coil; u2-8 is connected to the positive terminal of the B phase winding coil; u2-10 is connected to the negative terminal of the B phase winding coil; u2-6 connects a sampling resistor R3 to ground; u2-9 connects a sampling resistor R4 to ground, the full current is finally determined by the sampling resistor, the current is calculated by IA = 3.3/(5R 3), IB = 3.3/(5R 4);
the direct-current power supply adopted by the embodiment is a common linear stabilized power supply or a switching power supply, the power supply voltage is 9-30V, the rated voltage is 24V, the rated current in a maintaining state is about 0.1A, the peak current in rotation is about 0.5A, and the specific current is determined by the power supply voltage and the specific motor model.
Fig. 9(a) is a schematic diagram of the positional relationship between the rotor and the stator winding of the stepping motor at the start position. When the default current control signal is low, the current direction is positive and the phase polarity is N. After power-on, the TTL control level is default to high, and the mechanical shutter is in an open state (if it is low, it is in a closed position, and the sequence will be described below with the open state as an initial position). At the moment, the single chip microcomputer receives the TTL control signal and is in a high level state, and the stepping motor is controlled to be in a static maintaining state. The specific control sequence is as follows:
firstly, setting DECAY to be low, and keeping current in slow attenuation;
enabling A is set low, phase A has no current, and no force is generated on a rotor of the stepping motor;
thirdly, enabling B is set high, and current passes through the B phase;
PHASE A is set to be low by default, and the PHASE A has no current at the moment, so the positive and negative are not influenced;
PHASE B is set high, the polarity of B PHASE is S, and the PHASE is attracted with rotor N, so that the stepping motor is maintained at the position shown in figure 1;
and sixthly, setting AI1 BI1 to be high and AI0 BI0 to be low, wherein the current flowing through the stepping motor is 38% of the full current.
Fig. 9(b) is a schematic diagram of a positional relationship between a rotor and a stator winding of a stepping motor at a certain time in a forward rotation dual-phase acceleration process of the stepping motor, if the stepping motor in a stationary state needs to be turned off (default clockwise and reverse rotation of the stepping motor is changed to forward turn-off operation of the stepping motor), only the TTL control high level needs to be set low, and when the single chip detects that the TTL control signal is low, the single chip outputs the following control timing sequence to start accelerated rotation of the stepping motor, where the specific control timing sequence is:
firstly, setting DECAY high, and keeping current in fast attenuation;
secondly, enabling A is set high, and current passes through the A phase;
thirdly, enabling B is set to be low for time t and then is set to be high immediately;
fourthly, the PHASE A is set low, the polarity of the PHASE A is N, and the positive acceleration force is provided for the stepping motor;
PHASE B is set low, the polarity of the B PHASE is N, and positive acceleration force is given to the stepping motor;
and sixthly, setting AI1 BI1 to be low and AI0 BI0 to be high, wherein the current flowing through the stepping motor is 71 percent of the full current.
And step three, firstly setting the time t to be low, and then immediately setting the time t to be high. Because the polarity of the B phase is N and the polarity of the B phase is repellent to the polarity of the rotor, the stepping motor can rotate in the forward direction or in the reverse direction. When the rotor rotates a small angle under the action of the phase A, the rotor is immediately raised, and the phase B gives positive acceleration force to the stepping motor due to polarity repulsion.
Fig. 9(c) is a schematic diagram of a position relationship between a rotor and a stator winding of a stepping motor at a certain time in a forward rotation two-phase deceleration process of the stepping motor, and it should be noted that, since a rotation process of the stepping motor is divided into an acceleration process and a deceleration process, a phase a and a phase B both give a forward acceleration force to the rotor in the acceleration process, and a reverse deceleration force needs to be given to the rotor in the deceleration process, in application, a phase a and a phase B polarity are determined according to a polarity of a magnetic pole of the rotor, and a current direction is finally determined, where a specific control timing sequence is:
firstly, setting DECAY high, and keeping current in fast attenuation;
secondly, enabling A is set high, and current passes through the A phase;
thirdly, enabling B is set high, and current passes through the B phase;
the PHASE A is still set low without changing the level logic, the polarity of the PHASE A is N, and the positive deceleration force is provided for the stepping motor;
PHASE B is set high, the polarity of the B PHASE is S, and positive deceleration force is given to the stepping motor;
and sixthly, setting AI1 BI1 to be low and AI0 BI0 to be high, wherein the current flowing through the stepping motor is 71 percent of the full current.
The advantage of the single coil maintaining position is that besides reducing power consumption, the coil A does not need to change the direction of the passing current, namely, the first half-way (0-18 degrees) acceleration and the second half-way deceleration (18-36 degrees) can be realized, compared with the double coil maintaining position, the electronic commutation time is reduced by 3-5 times, and the turn-off time can be shortened by more than 1 ms.
Fig. 9(d) is a schematic diagram of a positional relationship between the rotor and the stator winding of the stepping motor when the stepping motor is in the holding position, and the specific control timing sequence is as follows:
firstly, setting DECAY to be low, and keeping current in slow attenuation;
enabling A is set to be low, and no current passes through phase A;
thirdly, enabling B is set high, and current passes through the B phase;
PHASE A is set to be low by default, and the PHASE A has no current at the moment, so the positive and negative are not influenced;
PHASE B is set low, the polarity of the B PHASE is N, and the force is maintained for the stepping motor;
and sixthly, setting AI1 BI1 to be high and AI0 BI0 to be low, wherein the current flowing through the stepping motor is 38% of the full current.
In addition, the reverse acceleration and deceleration process is basically consistent with the forward direction and is not repeatedThe whole control logic diagram for controlling the stepping motor from the on state, the off state and the on state is shown as follows: time T represents the entire switching-off or switching-on process, T1Indicating an acceleration process during the shut-down, T2Indicating a deceleration process during shutdown.
When light blocking operation is carried out aiming at small light spots (3 mm), in the prior art, the turn-off time of a light path switch of a quantum absolute gravimeter is about 4.5ms, and the turn-off time is about 3ms by adopting the driving method and the circuit. Through tests, under the condition that other test conditions are consistent, the same light blocking sheet is adopted, the rotational inertia is about 12 (gram) square millimeter), the 20-step motor (single step of 18 degrees) is adopted, the diameter of the stepping motor is 8mm, the rotational inertia of the rotor is 2.75 (gram) square millimeter), and through the tests, the small light spot test is turned off and turned on only by one step of stepping of the stepping motor.
When light blocking operation is carried out on a large light spot (9 mm), in the prior art, a light path switch of the quantum absolute gravimeter can only carry out single-step back and forth movement, so that the method cannot be applied to the scene. With the traditional subdivision step driving method, the turn-off time is about 6ms, but the turn-off process can cause the stepping motor to shake back and forth at the turn-off position due to the fact that a deceleration process is not introduced, and the final stop time is about 100ms-200 ms. Since the design size of the light blocking sheet is generally slightly larger than the size of the light spot, the light blocking sheet can not block light in the period of time and cannot be applied. Under the same condition, the driving method and the circuit are adopted, the stepping process of the whole stepping motor is about 5ms, the stepping speed is increased by 2.5ms, the stepping speed is reduced by 2.5ms, the stepping motor is stepped to the turn-off position, and the requirement of quick turn-off can be met without shaking basically. The other test conditions were identical, using the same gobos, with a moment of inertia of about 20 (grams per square millimeter), using a 20-step motor (single step 18 degrees), a stepper motor diameter of 8mm, and a rotor moment of inertia of 2.75 (grams per square millimeter). Through experiments, when the light blocking operation is carried out on the large light spot, two steps of stepping of a stepping motor are needed for testing turn-off and turn-on; therefore, the mechanical shutter designed based on the driving method enables the stepping motor (taking a stepping motor with a single step stepping angle of 18 degrees as an example) to perform double-phase acceleration in the first half of the movement and perform double-phase deceleration in the second half (stepping two steps to 36 degrees) by analyzing the internal structure of the motor, enables the single-step stepping time to be about 2.5ms and the stepping two steps to be about 5ms, basically keeps still, has good light blocking efficiency and small vibration, and meets the requirement of a rapid optical switch of a miniaturized optical path. And the single coil is used as a maintaining position, the power consumption is small when the single coil is maintained statically (at least half of the power consumption is reduced compared with that of double-phase maintenance), the electronic reversing times are few when the light blocking moves, and the light blocking time is shortened. The driving method is not only suitable for two-step stepping, but also can be used for single-step stepping or multi-step stepping, and the more complicated the stepping number and the more complicated the time sequence, the greater the difficulty in parameter adjustment. In the case of a stepping motor with 18 ° single step, a single step drive procedure is generally applied to a 1-5mm spot, and a two step procedure is applied to a 5-10mm spot.
To sum up, for the control of the stepping motor of the optical switch, the present embodiment adopts a driving method for directly controlling the current of the winding coil, and adopts the single coil as the maintaining position, which reduces the power consumption of the motor by the first half compared with the double-coil maintaining. In addition, because the single coil is maintained in the position stepping two steps, only the phase B needs to be electronically commutated once in the motor deceleration process, and the phase A does not need to be commutated in the acceleration and deceleration process. The coils are all provided with inductance, each commutation needs a certain time, and the more the commutation times are, the longer the motor stepping time is. If the holding position of the double coils is adopted to start moving, the double-phase coils need to be electronically commutated for 5 times, the inductance of the coils of the commonly used small-size stepping motors is large, and the turn-off time can be increased by 1-2ms due to the fact that the coils are commutated for multiple times, and therefore the use requirement of the rapid optical switch cannot be met.
Further, it should be noted that:
in the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean 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 invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although the embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and not to be construed as limiting the present invention, and those skilled in the art can make changes, modifications, substitutions and alterations to the above embodiments without departing from the principle and spirit of the present invention, and any simple modification, equivalent change and modification made to the above embodiments according to the technical spirit of the present invention still fall within the technical scope of the present invention.

Claims (10)

1. A stepping motor driving method is characterized in that the stepping motor for implementing the driving method has a rotor and a stator, the rotor has at least four magnetic poles distributed along the circumferential direction of the rotor and the polarities of the adjacent magnetic poles are different, the stator comprises at least a first winding and a second winding, when a first winding yoke is opposite to one magnetic pole of the rotor, a second winding yoke is opposite to the gap of the two adjacent magnetic poles of the rotor; the method comprises the following steps:
presetting the rotation stroke of a stepping motor according to an application scene;
when a forward rotation command is received, the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the current magnitude and direction in the first winding and the second winding, so that the rotor of the stepping motor rotates in the forward direction: starting from the initial position, firstly accelerating in two phases to the middle position of the rotation stroke, and then driving the rotor to decelerate in two phases to the holding position to stop;
holding the single coil in a holding position;
when a reverse rotation command is received, the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the magnitude and the direction of the current in the first winding and the second winding, so that the rotor of the stepping motor rotates reversely: the rotor is driven to accelerate to the middle position of the rotation stroke in a two-phase mode from the holding position, and then the rotor is driven to decelerate to the starting position in the two-phase mode to stop.
2. The method for driving the stepping motor according to claim 1, wherein the specific method for driving the stepping motor to hold the single coil at the holding position comprises: when the stepping motor is positioned at the holding position, the magnetic pole direction of one winding opposite to the rotor magnetic pole is adjusted to be opposite to the rotor magnetic pole, other windings are powered off, and the stepping motor is limited at the holding position through the attraction between the energized winding and the magnetic pole opposite to the energized winding.
3. The driving method of the stepping motor according to claim 1, wherein the specific method of driving the stepping motor to accelerate in two phases is: the magnitude and direction of the stepping motor winding current are adjusted to make the magnetic poles of each winding opposite to the magnetic poles of the rotor closest to the winding and positioned on the upstream side of the stepping motor in the rotating direction, so that the rotor is positively rotated by the magnetic field attraction force.
4. The driving method of the stepping motor according to claim 1, wherein the specific method for driving the two-phase deceleration of the stepping motor is as follows: the current magnitude and direction of the stepping motor winding are adjusted to make the magnetic poles of each winding be the same as the magnetic poles of the rotor which is closest to the winding and is positioned on the upstream side of the stepping motor in the rotating direction, so that the rotor is applied with reverse acceleration through the magnetic field repulsive force.
5. The driving method of a stepping motor according to claim 1, further comprising interrupting the current to the winding facing a certain magnetic pole of the rotor at the starting time of the two-phase acceleration of the stepping motor for a time T, wherein the time T is not longer than the two-phase acceleration time T11/3 of (1).
6. The driving method of a stepping motor according to claim 1, further comprising obtaining an optimum acceleration time T according to the rotational stroke1And an optimum deceleration time T2
7. A stepping motor according to claim 6Is characterized in that the optimum acceleration time T is obtained based on the rotational stroke1And an optimum deceleration time T2The method comprises the following steps: driving the stepping motor to accelerate to the middle position of the rotation stroke in the whole course at the initial position, and collecting the time T required by driving the stepping motor to accelerate1(ii) a When the stepping motor rotates to the middle position, the stepping motor is driven to decelerate to stop in the whole process, the time required for driving the stepping motor to decelerate is collected, the process is repeated, the deceleration time is finely adjusted until the output end of the stepping motor just stops when rotating to the holding position, and the time T required for decelerating the stepping motor is obtained2
8. A drive system for a stepper motor, the system comprising: the control component is connected with the driving module, and the driving module is connected with the stepping motor;
the control module is used for sending a forward rotation command or a reverse rotation command;
the driving module responds to a forward rotation command and drives the stepping motor to execute the following actions: the first winding and the second winding apply equidirectional magnetic force to the rotor by controlling the current magnitude and direction in the first winding and the second winding, so that the rotor of the stepping motor rotates positively: starting from the initial position, firstly accelerating in two phases to the middle position of the rotation stroke, and then driving the rotor to decelerate in two phases to the holding position to stop; holding the single coil in a holding position; responding to a reverse rotation command, and controlling the magnitude and the direction of current in the first winding and the second winding to enable the first winding and the second winding to apply equidirectional magnetic force to the rotor so as to enable the rotor of the stepping motor to rotate reversely: the rotor is driven to accelerate to the middle position of the rotation stroke in a two-phase mode from the holding position, and then the rotor is driven to decelerate to the starting position in the two-phase mode to stop.
9. The stepping motor driving system according to claim 8, wherein said stepping motor comprises a rotor having at least four magnetic poles circumferentially distributed along a rotation thereof and adjacent magnetic poles having different polarities, and a stator comprising at least a first winding and a second winding, the second winding being opposed to a gap between two adjacent magnetic poles of the rotor when the first winding yoke is opposed to one magnetic pole of the rotor; when the first winding drives the rotor to rotate, the rotor is driven to accelerate and then decelerate by adjusting the current direction, and meanwhile, the second winding applies equidirectional magnetic force to the rotor.
10. A computer-readable storage medium in which a computer program is stored, the computer program, when being processed and executed, implementing a stepping motor driving method according to any one of claims 1 to 7.
CN202110033356.5A 2020-12-29 2021-01-11 Driving method and system of stepping motor and storage medium Active CN112787557B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011604731 2020-12-29
CN2020116047319 2020-12-29

Publications (2)

Publication Number Publication Date
CN112787557A true CN112787557A (en) 2021-05-11
CN112787557B CN112787557B (en) 2022-05-10

Family

ID=75756546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110033356.5A Active CN112787557B (en) 2020-12-29 2021-01-11 Driving method and system of stepping motor and storage medium

Country Status (1)

Country Link
CN (1) CN112787557B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113809962A (en) * 2021-11-18 2021-12-17 杭州瑞盟科技有限公司 Stepping motor driving system and motor system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL7900589A (en) * 1978-01-26 1979-07-30 Motion Control Corp SYSTEM FOR CONTROLLING STEPPER MOTORS, METHOD FOR ACTIVATING STEPPER MOTORS AND A METHOD FOR SELECTING ELECTRICAL CURRENT PATTERNS FOR STEPPER MOTORS.
WO2001033710A1 (en) * 1999-10-29 2001-05-10 Abbott Laboratories Method and apparatus for driving step motors without overshoot
CN111735481A (en) * 2020-07-15 2020-10-02 合肥知常光电科技有限公司 Synchronous and rapid switching control system and control method for multi-path optical switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL7900589A (en) * 1978-01-26 1979-07-30 Motion Control Corp SYSTEM FOR CONTROLLING STEPPER MOTORS, METHOD FOR ACTIVATING STEPPER MOTORS AND A METHOD FOR SELECTING ELECTRICAL CURRENT PATTERNS FOR STEPPER MOTORS.
WO2001033710A1 (en) * 1999-10-29 2001-05-10 Abbott Laboratories Method and apparatus for driving step motors without overshoot
CN111735481A (en) * 2020-07-15 2020-10-02 合肥知常光电科技有限公司 Synchronous and rapid switching control system and control method for multi-path optical switch

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱武等: "基于L6506/k298芯片细分步进电机驱动系统设计", 《电工文摘》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113809962A (en) * 2021-11-18 2021-12-17 杭州瑞盟科技有限公司 Stepping motor driving system and motor system
CN113809962B (en) * 2021-11-18 2022-06-17 杭州瑞盟科技股份有限公司 Stepping motor driving system and motor system

Also Published As

Publication number Publication date
CN112787557B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CA2387158C (en) For driving step motors without overshoot
JP4014655B2 (en) Stepping motor control device and optical head drive device
JP5100412B2 (en) Focus adjustment device and optical apparatus using the same
CN112787557B (en) Driving method and system of stepping motor and storage medium
JP6278629B2 (en) Stepping motor control device, optical apparatus, stepping motor control method, and program
RU2609606C2 (en) Motor actuating device
US6713985B2 (en) Drive control apparatus for stepping motor
US20180267388A1 (en) Shutter apparatus, image pickup apparatus, and control method for the shutter apparatus
CN112821821B (en) Light source device and light path switch thereof
JP3201522B2 (en) Camera lens barrel
CN112666624B (en) Quantum absolute gravimeter
JP2001142110A (en) Electromagnetic actuator, shutter device and diaphragm device
JP4261752B2 (en) Drive device
JP2019071028A (en) Motor control apparatus, motor control method, and imaging apparatus
JP5328187B2 (en) Blade driving device and imaging device
JP2021196581A (en) Lens unit, and camera having the same
JP2000321475A (en) Optical driving device
JP2006284803A (en) Actuator, sector driving device and camera
JP2001262938A (en) Opening/closing control device for automatic door
JP2601767Y2 (en) Target electric switching device
JP2021044961A (en) Motor drive device and control method of the same, and optical device
JP6421063B2 (en) Blade driving device, optical device, and blade driving method
JPH05207797A (en) Driving system for step motor
JPH05344791A (en) Driving method for stepping motor
JP2016177210A (en) Blade driving device, optical device, and method of driving stepping 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