Motor driver
The motor driver with an internal pulse generator addresses the need for host controller reliance by enabling independent stopping and smooth transitions, enhancing device flexibility and emergency response.
Patent Information
- Application Number
- JP2023058276
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing motor drivers rely on host controllers for stopping operations, requiring reimplementation of stop programs for each device design and lacking flexibility in emergency stops.
A motor driver with an internal pulse generator that generates stop mode pulse signals independently, allowing it to stop without relying on a host controller, and includes a drive mode and a stop mode with smooth transitions.
Enables motor stopping without host controller dependency, facilitating flexible device design and immediate emergency stops with reduced sudden behavior changes.
Smart Images

Figure 2024145781000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a motor driver. [Background technology]
[0002] Patent Document 1 discloses an apparatus and a method for driving a step motor that realizes the fastest fast-forward operation of the step motor and also enables low-power driving. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP2018-169410A Summary of the Invention [Problem to be solved by the invention]
[0004] The object of the present invention is to provide a motor driver that can stop the motor without relying on a host controller. [Means for solving the problem]
[0005] A motor driver according to one aspect of the present invention includes: A motor driver that outputs an excitation current to a stepping motor based on a pulse signal, A drive mode in which an excitation current for driving a motor is output based on a drive pulse signal output by a host controller; When a stop signal is input, the motor operates in a stop mode in which the motor is stopped without depending on the drive pulse signal. Effect of the Invention
[0006] According to the present invention, it is possible to provide a motor driver that can stop the motor without relying on a host controller. [Brief description of the drawings]
[0007] [Figure 1] 1 is an example of a device equipped with a motor driver according to the present disclosure. [Diagram 2] FIG. 2 is a block diagram of a motor driver according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. For the sake of convenience, the description of the members having the same reference numbers as those already described in the description of the embodiment will be omitted.
[0009] FIG. 1 shows an example of a device M equipped with a motor driver 1 according to the present disclosure. In this embodiment, the device M is a conveying device that conveys an article G from a first position A to a second position B. The device M includes a motor 101, an endless belt 102 driven by the motor 101, a driving pulley 103 and a driven pulley 104 around which the endless belt 102 is stretched, a control unit 100 that controls the motor 101, and a stop sensor 105. In this embodiment, the motor 101 is a stepping motor such as a VR type, PM type, or HB type. The control unit 100 includes a motor driver 1 and a host controller 2.
[0010] The control unit 100 includes, for example, a general-purpose memory and a general-purpose microprocessor. The general-purpose microprocessor operates in cooperation with the general-purpose memory. Examples of the general-purpose microprocessor include a CPU, an MPU, and a GPU. Examples of the general-purpose memory include a ROM and a RAM. In this case, the ROM may store a computer program that executes a process for controlling the operation of each unit. The general-purpose microprocessor specifies at least a part of the computer program stored on the ROM, expands it on the RAM, and executes the process in cooperation with the RAM.
[0011] The upper controller 2 generates a drive pulse signal with a predetermined number of pulses based on the desired direction of rotation of the motor 101 and the target rotation angle of the motor 101. This causes the motor 101 to rotate by the desired rotation angle. The rotation of the motor 101 causes the drive pulley 103 to rotate by the predetermined rotation angle, and the article G is transported to a desired position via the endless belt 102. In the present disclosure, the upper controller 2 controls the motor 101 to transport the article G from a first position A to a second position B.
[0012] The stop sensor 105 is provided at a third position C farther away (farther from the first position A) than the second position B. In the unlikely event that the article cannot be stopped at the second position B and reaches the third position C, the stop sensor 105 is a sensor that detects the article G. When the stop sensor 105 detects the article G, it outputs a stop signal. The motor driver 1 generates an excitation current in response to a drive pulse signal output from a host controller 2, and supplies the excitation current to a motor 101.
[0013] FIG. 2 is a block diagram of device M according to an embodiment of the present disclosure. 2, the motor driver 1 is connected to an upper controller 2, a power supply 3, a motor 101, and a stop sensor 105. The upper controller 2 transmits a drive pulse signal to the motor driver 1. The power supply 3 supplies power to the motor driver 1.
[0014] The motor driver 1 of the present disclosure receives a drive pulse signal from a host controller 2, and supplies to a motor 101 an excitation current corresponding to the drive pulse signal. The motor driver 1 according to the present disclosure has at least a drive mode for driving the motor 101 and a stop mode for stopping the motor 101. Each mode will be described in detail below.
[0015] (Drive mode) The drive modes for driving the motor 101 will now be described. As shown in Fig. 2, the motor driver 1 has an external drive pulse receiving unit 10, a motor excitation phase determination counter 11, a phase current output circuit 12, and a switching unit 50. When driving the motor 101, a drive pulse signal is transmitted from the upper controller 2 to the motor driver 1. The external drive pulse receiving unit 10 receives the drive pulse signal and transmits it to the switching unit 50 and a frequency detector 21. The frequency detector 21 detects the frequency of the drive pulse signal. The frequency of the drive pulse signal is not used in this drive mode but is used in the stop mode, but the frequency detector 21 continues to detect the frequency even in the drive mode.
[0016] The drive pulse signal is transmitted to the motor excitation phase determination counter 11 through the switching unit 50. The switching unit 50 can switch between a mode in which a signal is received from the external drive pulse receiving unit 10 and a mode in which a signal is received from the internal pulse generating unit 22, which will be described later. In the drive mode, the switching unit 50 is set to a mode in which a signal is received from the external drive pulse receiving unit 10, and transmits a pulse signal from the upper controller 2 to the motor excitation phase determination counter 11.
[0017] The motor exciting phase determination counter 11 calculates a current command based on the drive pulse signal and outputs it to the phase current output circuit 12 .
[0018] The number of phase current output circuits 12 provided is the same as the number of phases of the stepping motor. For example, a motor driver 1 that drives a five-phase stepping motor has five phase current output circuits 12. The motor excitation phase determination counter 11 outputs a current command corresponding to each phase current output circuit 12 based on a pulse signal. For example, the motor excitation phase determination counter 11 determines the phase of a reference phase (e.g., phase A) and outputs a current command to the phase current output circuit 12 that outputs to phase A. The motor excitation phase determination counter 11 outputs a current command with a predetermined phase difference (72 degrees or 144 degrees in electrical angle) from the reference phase to the phase current output circuit 12 that outputs to phase B.
[0019] (Stop mode) Next, the stop mode of the motor driver 1 will be described. 2, the motor driver 1 further includes a stop signal receiving unit 20, a frequency detector 21, an internal pulse generating unit 22, and an abnormality detecting unit 23. The stop signal receiving unit 20 receives a stop signal transmitted from outside or inside the motor driver 1. The abnormality detecting unit 23 detects an abnormality (such as overheating) inside the motor driver 1, and transmits a stop signal to the stop signal receiving unit 20.
[0020] As described above, the frequency detector 21 constantly detects the frequency of the drive pulse signal. The frequency detector 21 transmits the detected frequency to the internal pulse generator 22. The internal pulse generator 22 generates a stop mode pulse signal used to stop the motor 101 based on the received frequency.
[0021] The stop signal receiving unit 20 receives a stop signal transmitted from the stop sensor 105 or the abnormality detection unit 23. When the stop signal receiving unit 20 receives the stop signal, it outputs a switching signal to the switching unit 50. When the switching unit 50 receives the switching signal, it stops the mode of transmitting the external drive pulse to the motor excitation phase determination counter 11, and transitions to a mode of transmitting the internal drive pulse output from the internal pulse generating unit 22 to the motor excitation phase determination counter 11. The internal pulse generating section 22 generates an internal drive pulse based on the frequency of the external drive pulse detected by the frequency detector 21 immediately before switching by the switching section 50 .
[0022] The internal pulse generating unit 22 generates a stop mode pulse signal such that a current command for stopping the motor 101 is output to the phase current output circuit 12. At this time, the internal pulse generating unit 22 determines the frequency of the stop mode pulse signal based on the frequency data received from the frequency detector 21. This makes it possible to prevent abrupt changes in the behavior of the motor 101, such as a sudden stop or jerky movement, when the motor driver 1 transitions from the drive mode to the stop mode.
[0023] The internal pulse generating unit 22 may be configured to generate a stop mode pulse signal not only in the stop mode but also in the drive mode. In this case, the switching unit 50 does not transmit the stop mode pulse signal to the motor exciting phase determination counter 11.
[0024] Also, the stop mode pulse signal may be generated so as to gradually attenuate the frequency. In this case, the motor excitation phase determination counter 11 that receives the stop mode pulse signal can output an excitation current that gradually stops the motor 101.
[0025] Conventionally, the behavior of a stepping motor, including stopping the stepping motor, has been controlled by a host controller. However, in the above configuration, every time a device equipped with a different motor is designed, a stopping program suitable for the motor to be installed must be reimplemented in the host controller.
[0026] Therefore, the motor driver 1 according to the present disclosure has a drive mode and a stop mode, and has an internal pulse generating unit 22 that generates a stop mode pulse signal that stops the motor 101 inside the motor driver 1 in the stop mode. This makes it possible to provide a motor driver 1 that can stop the motor without relying on the upper controller 2 when stopping the motor.
[0027] Depending on the program, the host controller can determine various stopping behaviors, such as a smooth stop. However, in situations where it is necessary to stop the motor urgently, such as when a stop sensor or anomaly detection unit is activated, it is necessary to stop the motor immediately. In such situations where it is necessary to stop the motor urgently, it would be sufficient to realize the function to stop the motor immediately, but in the past, a stop program to be used in emergency stopping situations had to be built into the host controller every time a device equipped with a different motor was designed.
[0028] However, since the motor driver 1 according to the present disclosure can supply to the motor 101 an excitation current that will cause the motor driver 1 itself to make an emergency stop in the event of an emergency, there is no need to install an emergency stop program in the upper controller 2.
[0029] Furthermore, in the motor driver 1 according to the present disclosure, in the stop mode, a stop mode pulse signal is generated based on the frequency of the drive pulse signal when a stop signal is received. This allows the initial frequencies of the drive pulse signal and the stop mode pulse signal to be matched, thereby suppressing a sudden change in behavior when the motor driver 1 transitions from the drive mode to the stop mode.
[0030] Furthermore, in the motor driver 1 according to the present disclosure, in the stop mode, the initial frequency of the stop mode pulse signal is determined based on the frequency of the drive pulse signal when the stop signal is received, and the stop mode pulse signal is generated so as to attenuate the initial frequency at a predetermined rate. This makes it possible to prevent sudden deceleration and sudden stopping even when the motor driver 1 transitions from the drive mode to the stop mode.
[0031] Although the motor driver 1 has been described in detail so far, the motor driver 1 according to the present disclosure is not limited to the above-mentioned form. For example, the motor driver 1 may have a storage unit (not shown), and a stop mode pulse signal may be stored in the storage unit. In the above-mentioned form, when the motor driver 1 transitions from the drive mode to the stop mode, the switching unit 50 switches the source of the pulse signal to the storage unit. This makes it possible to provide a motor driver 1 that can perform stopping without relying on the upper controller 2 with a simple configuration.
[0032] The drive mode and stop mode described above do not refer to modes that are explicitly set in the motor driver 1. The term "mode" is used simply to express that the motor driver 1 has two types of states that behave differently from each other.
[0033] Although the embodiment of the present disclosure has been described above, it goes without saying that the technical scope of the present disclosure should not be interpreted as being limited by the description of the present embodiment. The present embodiment is merely an example, and it is understood by those skilled in the art that various modifications of the embodiment are possible within the scope of the invention described in the claims. The technical scope of the present disclosure should be determined based on the scope of the invention described in the claims and its equivalents. [Explanation of symbols]
[0034] 1 Motor driver 2 Upper controller 3 Power supply 10 External drive pulse receiver 11 Motor excitation phase determination counter 12 phase current output circuit 20 Stop signal receiver 21 Frequency Detector 22 Internal pulse generator 23 Anomaly detection unit 50 Switching section 100 Control section 101 Motor 102 Endless Belt 103 Drive pulley 104 Driven pulley 105 Stop sensor
Claims
1. A motor driver that outputs an excitation current to a stepping motor based on a pulse signal, A motor driver that operates in a drive mode that outputs an excitation current to drive a motor based on a drive pulse signal output by a host controller, and in a stop mode that stops the motor without relying on the drive pulse signal when a stop signal is input.
2. The motor driver according to claim 1 , wherein in the stop mode, a stop mode pulse signal is generated based on a frequency of the drive pulse signal when the stop signal is received.
3. 3. The motor driver according to claim 2, wherein, in the stop mode, an initial frequency of the stop mode pulse signal is determined based on a frequency of the drive pulse signal when the stop signal is received, and the stop mode pulse signal is generated so as to attenuate the initial frequency at a predetermined rate.
4. 2. The motor driver according to claim 1, wherein in the stop mode, a stop mode pulse signal recorded in a recording section is output.
5. 2. A motor device comprising: a motor; a controller that outputs a motor command value; and the motor driver according to claim 1 that controls an output current based on the motor command value.
6. A motor driver that outputs an excitation current to a stepping motor based on a pulse signal, The motor driver includes: A drive pulse receiving unit that receives a drive pulse signal output from a host controller; a pulse signal generating unit that generates a stop mode pulse signal when the motor is stopped; a motor excitation phase determination counter that determines an excitation current to be output to the stepping motor based on either a drive pulse or a stop mode pulse; a switching unit that switches a pulse input source to the motor exciting phase determination counter from the drive pulse receiving unit to the pulse signal generating unit in the event of an emergency stop; A motor driver having a
Citation Information
Patent Citations
Device and step motor driving method
JP2018169410A
